@sakaniui/react 0.12.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { A as e, C as t, D as n, E as r, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, T as f, _ as p, a as m, b as h, d as g, f as _, h as v, i as y, j as b, k as x, l as S, m as C, n as w, o as T, p as E, r as D, s as O, t as ee, u as te, v as ne, w as re, y as ie } from "./help-circle-BufsknPE.js";
1
+ import { A as e, B as t, D as n, E as r, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, S as f, T as p, a as m, b as h, d as g, f as _, h as v, i as y, j as b, k as x, l as S, m as C, n as w, o as T, p as E, r as D, s as O, t as ee, u as te, x as ne, y as re, z as ie } from "./help-circle-qEEVeIea.js";
2
2
  import k, { useEffect as ae, useState as oe } from "react";
3
3
  import { Fragment as A, jsx as j, jsxs as M } from "react/jsx-runtime";
4
4
  import { Bar as se, BarChart as ce, CartesianGrid as le, Cell as ue, Legend as de, Line as fe, LineChart as pe, Pie as me, PieChart as he, PolarAngleAxis as ge, RadialBar as _e, RadialBarChart as ve, Rectangle as ye, ResponsiveContainer as be, Tooltip as xe, XAxis as Se, YAxis as Ce } from "recharts";
@@ -348,17 +348,17 @@ var Ue = {
348
348
  hint: "_hint_3mj75_79",
349
349
  link: "_link_3mj75_88",
350
350
  input: "_input_3mj75_92"
351
- }, We = ({ src: e, alt: t, orientation: n = "vertical", accept: r = "image/jpeg,image/png", title: a = "Upload a photo", hint: o = "JPG or PNG, max 5MB.", onFileSelect: s, onRemove: c, className: l }) => {
351
+ }, We = ({ src: e, alt: t, orientation: n = "vertical", accept: r = "image/jpeg,image/png", title: i = "Upload a photo", hint: a = "JPG or PNG, max 5MB.", onFileSelect: s, onRemove: c, className: l }) => {
352
352
  let u = k.useRef(null), d = e !== void 0, [f, p] = k.useState(void 0), m = d ? e : f, h = n === "horizontal", g = !!m, _ = () => u.current?.click(), v = () => {
353
353
  c?.(), d || p(void 0);
354
354
  }, y = /* @__PURE__ */ M("div", {
355
355
  className: [Ue.textStack, h ? "" : Ue["textStack--center"]].filter(Boolean).join(" "),
356
356
  children: [/* @__PURE__ */ j("p", {
357
357
  className: Ue.title,
358
- children: a
358
+ children: i
359
359
  }), /* @__PURE__ */ j("p", {
360
360
  className: Ue.hint,
361
- children: o
361
+ children: a
362
362
  })]
363
363
  });
364
364
  return /* @__PURE__ */ M("div", {
@@ -380,7 +380,7 @@ var Ue = {
380
380
  className: Ue.badge,
381
381
  onClick: _,
382
382
  "aria-label": "Change photo",
383
- children: /* @__PURE__ */ j(i, {
383
+ children: /* @__PURE__ */ j(o, {
384
384
  size: 16,
385
385
  strokeWidth: N(16)
386
386
  })
@@ -495,21 +495,21 @@ var I = {
495
495
  })
496
496
  })
497
497
  });
498
- }, $e = ({ label: e = "Available balance", value: t, change: n, progress: r, hidden: i, onToggleHidden: a, className: o }) => {
499
- let l = i !== void 0, [d, f] = k.useState(!1), p = l ? i : d, m = r !== void 0, h = n?.direction ?? "up", g = h === "up" ? s : b, _ = () => {
500
- let e = !p;
501
- a?.(e), l || f(e);
502
- }, [v, y] = k.useState(!1), [x, S] = k.useState(0), C = k.useRef(!1);
498
+ }, $e = ({ label: e = "Available balance", value: t, change: n, progress: r, hidden: o, onToggleHidden: s, className: l }) => {
499
+ let d = o !== void 0, [f, p] = k.useState(!1), m = d ? o : f, h = r !== void 0, g = n?.direction ?? "up", _ = g === "up" ? u : c, v = () => {
500
+ let e = !m;
501
+ s?.(e), d || p(e);
502
+ }, [y, b] = k.useState(!1), [x, S] = k.useState(0), C = k.useRef(!1);
503
503
  k.useEffect(() => {
504
- if (p && !C.current) {
505
- y(!0);
504
+ if (m && !C.current) {
505
+ b(!0);
506
506
  let e = 0, t = setInterval(() => {
507
- e += 1, S((e) => e + 1), e >= Je && (clearInterval(t), y(!1));
507
+ e += 1, S((e) => e + 1), e >= Je && (clearInterval(t), b(!1));
508
508
  }, Ye);
509
509
  return C.current = !0, () => clearInterval(t);
510
510
  }
511
- C.current = p;
512
- }, [p]);
511
+ C.current = m;
512
+ }, [m]);
513
513
  let w = k.useMemo(() => Xe(t.length), [t, x]), T = k.useMemo(() => n ? Xe(n.value.length) : "", [n?.value, x]), E = /* @__PURE__ */ M("div", {
514
514
  className: I.content,
515
515
  children: [
@@ -521,9 +521,9 @@ var I = {
521
521
  }), /* @__PURE__ */ j("button", {
522
522
  type: "button",
523
523
  className: I.hideToggle,
524
- "aria-label": p ? "Show balance" : "Hide balance",
525
- onClick: _,
526
- children: j(p ? c : u, {
524
+ "aria-label": m ? "Show balance" : "Hide balance",
525
+ onClick: v,
526
+ children: j(m ? i : a, {
527
527
  size: 16,
528
528
  strokeWidth: N(16)
529
529
  })
@@ -532,22 +532,22 @@ var I = {
532
532
  /* @__PURE__ */ j("p", {
533
533
  className: [
534
534
  I.value,
535
- p ? I["value--hidden"] : "",
536
- v ? I["value--glitching"] : ""
535
+ m ? I["value--hidden"] : "",
536
+ y ? I["value--glitching"] : ""
537
537
  ].filter(Boolean).join(" "),
538
- children: p ? w : t
538
+ children: m ? w : t
539
539
  }),
540
540
  n && /* @__PURE__ */ M("div", {
541
541
  className: I.changeRow,
542
542
  children: [
543
- /* @__PURE__ */ j(g, {
543
+ /* @__PURE__ */ j(_, {
544
544
  size: 24,
545
545
  strokeWidth: 1.5,
546
- className: h === "up" ? I.trendIcon__up : I.trendIcon__down
546
+ className: g === "up" ? I.trendIcon__up : I.trendIcon__down
547
547
  }),
548
548
  /* @__PURE__ */ j("span", {
549
- className: [h === "up" ? I.changeValue__up : I.changeValue__down, v ? I["value--glitching"] : ""].filter(Boolean).join(" "),
550
- children: p ? T : n.value
549
+ className: [g === "up" ? I.changeValue__up : I.changeValue__down, y ? I["value--glitching"] : ""].filter(Boolean).join(" "),
550
+ children: m ? T : n.value
551
551
  }),
552
552
  /* @__PURE__ */ j("span", {
553
553
  className: I.changeLabel,
@@ -560,10 +560,10 @@ var I = {
560
560
  return /* @__PURE__ */ M("div", {
561
561
  className: [
562
562
  I.balance,
563
- m ? I["balance--progress"] : "",
564
- o ?? ""
563
+ h ? I["balance--progress"] : "",
564
+ l ?? ""
565
565
  ].filter(Boolean).join(" "),
566
- children: [m && /* @__PURE__ */ j(Qe, { progress: r }), E]
566
+ children: [h && /* @__PURE__ */ j(Qe, { progress: r }), E]
567
567
  });
568
568
  }, et = {
569
569
  progress: "_progress_1qaz4_11",
@@ -1147,26 +1147,26 @@ var Et = (e = "regular", t = "auto") => [
1147
1147
  "sakani-modal-card-in": "_sakani-modal-card-in_13dud_1",
1148
1148
  "card--exiting": "_card--exiting_13dud_115",
1149
1149
  "sakani-modal-card-out": "_sakani-modal-card-out_13dud_1"
1150
- }, kt = ({ open: e, onClose: t, title: n, description: r, variant: i = "default", icon: s, cancelLabel: c = "Cancel", confirmLabel: l, onCancel: u, onConfirm: d, confirmLoading: f, closeOnEscape: p = !0, closeOnBackdropClick: m = !0, children: h, hideHeader: g = !1, hideFooterDivider: _ = !1, footerJustify: v = "end", className: y }) => {
1151
- let b = i === "destructive", x = k.useRef(null), S = k.useRef(null), C = k.useRef(null), w = rt(C, e), T = it(C, e), E = T === "liquid", D = Ct(x, {
1152
- enabled: E,
1150
+ }, kt = ({ open: e, onClose: t, title: n, description: r, variant: i = "default", icon: a, cancelLabel: o = "Cancel", confirmLabel: s, onCancel: c, onConfirm: l, confirmLoading: u, closeOnEscape: f = !0, closeOnBackdropClick: p = !0, children: m, hideHeader: h = !1, hideFooterDivider: g = !1, footerJustify: _ = "end", className: v }) => {
1151
+ let y = i === "destructive", b = k.useRef(null), x = k.useRef(null), S = k.useRef(null), C = rt(S, e), w = it(S, e), T = w === "liquid", E = Ct(b, {
1152
+ enabled: T,
1153
1153
  source: !1
1154
- }), [O, ee] = k.useState(!1);
1154
+ }), [D, O] = k.useState(!1);
1155
1155
  k.useEffect(() => {
1156
- e && ee(!0);
1156
+ e && O(!0);
1157
1157
  }, [e]), k.useEffect(() => {
1158
- if (e || !O) return;
1159
- let t = setTimeout(() => ee(!1), 240);
1158
+ if (e || !D) return;
1159
+ let t = setTimeout(() => O(!1), 240);
1160
1160
  return () => clearTimeout(t);
1161
- }, [e, O]), k.useEffect(() => {
1161
+ }, [e, D]), k.useEffect(() => {
1162
1162
  if (!e) return;
1163
1163
  let n = (e) => {
1164
- if (p && e.key === "Escape") {
1164
+ if (f && e.key === "Escape") {
1165
1165
  t();
1166
1166
  return;
1167
1167
  }
1168
- if (e.key !== "Tab" || !x.current) return;
1169
- let n = x.current.querySelectorAll("button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])");
1168
+ if (e.key !== "Tab" || !b.current) return;
1169
+ let n = b.current.querySelectorAll("button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])");
1170
1170
  if (n.length === 0) return;
1171
1171
  let r = n[0], i = n[n.length - 1];
1172
1172
  e.shiftKey && document.activeElement === r ? (e.preventDefault(), i.focus()) : !e.shiftKey && document.activeElement === i && (e.preventDefault(), r.focus());
@@ -1174,58 +1174,58 @@ var Et = (e = "regular", t = "auto") => [
1174
1174
  return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
1175
1175
  }, [
1176
1176
  e,
1177
- p,
1177
+ f,
1178
1178
  t
1179
1179
  ]), k.useEffect(() => {
1180
1180
  if (!e) return;
1181
- S.current = document.activeElement;
1181
+ x.current = document.activeElement;
1182
1182
  let t = document.body.style.overflow;
1183
- return document.body.style.overflow = "hidden", x.current?.focus(), () => {
1184
- document.body.style.overflow = t, S.current?.focus();
1183
+ return document.body.style.overflow = "hidden", b.current?.focus(), () => {
1184
+ document.body.style.overflow = t, x.current?.focus();
1185
1185
  };
1186
1186
  }, [e]);
1187
- let te = () => (u ?? t)();
1187
+ let ee = () => (c ?? t)();
1188
1188
  return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("span", {
1189
- ref: C,
1189
+ ref: S,
1190
1190
  style: { display: "none" },
1191
1191
  "aria-hidden": "true"
1192
- }), O && Te(/* @__PURE__ */ j("div", {
1192
+ }), D && Te(/* @__PURE__ */ j("div", {
1193
1193
  className: [
1194
1194
  R.backdrop,
1195
- w,
1195
+ C,
1196
1196
  e ? R["backdrop--entering"] : R["backdrop--exiting"]
1197
1197
  ].filter(Boolean).join(" "),
1198
- "data-surface": T,
1198
+ "data-surface": w,
1199
1199
  onMouseDown: (e) => {
1200
- m && e.target === e.currentTarget && t();
1200
+ p && e.target === e.currentTarget && t();
1201
1201
  },
1202
1202
  children: /* @__PURE__ */ M("div", {
1203
- ref: x,
1203
+ ref: b,
1204
1204
  role: "alertdialog",
1205
1205
  "aria-modal": "true",
1206
- "aria-labelledby": g ? void 0 : "modal-title",
1207
- "aria-label": g ? n : void 0,
1206
+ "aria-labelledby": h ? void 0 : "modal-title",
1207
+ "aria-label": h ? n : void 0,
1208
1208
  tabIndex: -1,
1209
1209
  className: [
1210
1210
  R.card,
1211
- E ? Et("regular") : "",
1211
+ T ? Et("regular") : "",
1212
1212
  e ? R["card--entering"] : R["card--exiting"],
1213
- y ?? ""
1213
+ v ?? ""
1214
1214
  ].filter(Boolean).join(" "),
1215
- ...E ? D.props : {},
1215
+ ...T ? E.props : {},
1216
1216
  onAnimationEnd: (t) => {
1217
- t.target === t.currentTarget && !e && ee(!1);
1217
+ t.target === t.currentTarget && !e && O(!1);
1218
1218
  },
1219
1219
  children: [
1220
- E && D.filter,
1221
- !g && /* @__PURE__ */ M("div", {
1220
+ T && E.filter,
1221
+ !h && /* @__PURE__ */ M("div", {
1222
1222
  className: R.header,
1223
1223
  children: [/* @__PURE__ */ M("div", {
1224
1224
  className: R.titleGroup,
1225
- children: [b && /* @__PURE__ */ j("span", {
1225
+ children: [y && /* @__PURE__ */ j("span", {
1226
1226
  className: R.iconWrap,
1227
1227
  "aria-hidden": "true",
1228
- children: s ?? /* @__PURE__ */ j(o, {
1228
+ children: a ?? /* @__PURE__ */ j(ie, {
1229
1229
  size: 24,
1230
1230
  strokeWidth: N(24),
1231
1231
  className: R.icon
@@ -1236,7 +1236,7 @@ var Et = (e = "regular", t = "auto") => [
1236
1236
  children: n
1237
1237
  })]
1238
1238
  }), /* @__PURE__ */ j(Ve, {
1239
- icon: a,
1239
+ icon: d,
1240
1240
  variant: "ghost",
1241
1241
  size: "lg",
1242
1242
  "aria-label": "Close",
@@ -1247,20 +1247,20 @@ var Et = (e = "regular", t = "auto") => [
1247
1247
  className: R.description,
1248
1248
  children: r
1249
1249
  }),
1250
- h,
1251
- !_ && /* @__PURE__ */ j(Ot, {}),
1250
+ m,
1251
+ !g && /* @__PURE__ */ j(Ot, {}),
1252
1252
  /* @__PURE__ */ M("div", {
1253
- className: [R.footer, v === "between" ? R["footer--between"] : ""].filter(Boolean).join(" "),
1253
+ className: [R.footer, _ === "between" ? R["footer--between"] : ""].filter(Boolean).join(" "),
1254
1254
  children: [/* @__PURE__ */ j(F, {
1255
1255
  variant: "secondary",
1256
- onClick: te,
1256
+ onClick: ee,
1257
1257
  style: { borderColor: "transparent" },
1258
- children: c
1258
+ children: o
1259
1259
  }), /* @__PURE__ */ j(F, {
1260
- variant: b ? "destructive" : "primary",
1261
- onClick: d,
1262
- loading: f,
1263
- children: l ?? (b ? "Delete" : "Confirm")
1260
+ variant: y ? "destructive" : "primary",
1261
+ onClick: l,
1262
+ loading: u,
1263
+ children: s ?? (y ? "Delete" : "Confirm")
1264
1264
  })]
1265
1265
  })
1266
1266
  ]
@@ -1280,13 +1280,13 @@ var Et = (e = "regular", t = "auto") => [
1280
1280
  cardTop: "_cardTop_88l3n_87",
1281
1281
  description: "_description_88l3n_94",
1282
1282
  actions: "_actions_88l3n_102"
1283
- }, At = ({ icon: e, title: t, timestamp: n, read: r = !1, description: i, onDismiss: o, dismissLabel: s = "Dismiss", actionLabel: c, onAction: l, className: u }) => {
1284
- let d = i !== void 0, f = !r && !d, p = e ?? /* @__PURE__ */ j(x, {
1283
+ }, At = ({ icon: e, title: t, timestamp: n, read: r = !1, description: i, onDismiss: a, dismissLabel: o = "Dismiss", actionLabel: s, onAction: c, className: l }) => {
1284
+ let u = i !== void 0, f = !r && !u, p = e ?? /* @__PURE__ */ j(b, {
1285
1285
  size: 24,
1286
1286
  strokeWidth: N(24)
1287
1287
  });
1288
- return d ? /* @__PURE__ */ M("div", {
1289
- className: [z.card, u ?? ""].filter(Boolean).join(" "),
1288
+ return u ? /* @__PURE__ */ M("div", {
1289
+ className: [z.card, l ?? ""].filter(Boolean).join(" "),
1290
1290
  children: [/* @__PURE__ */ M("div", {
1291
1291
  className: z.cardTop,
1292
1292
  children: [
@@ -1305,27 +1305,27 @@ var Et = (e = "regular", t = "auto") => [
1305
1305
  children: i
1306
1306
  })]
1307
1307
  }),
1308
- o && /* @__PURE__ */ j(Ve, {
1309
- icon: a,
1308
+ a && /* @__PURE__ */ j(Ve, {
1309
+ icon: d,
1310
1310
  variant: "ghost",
1311
1311
  size: "sm",
1312
1312
  "aria-label": "Close",
1313
- onClick: o
1313
+ onClick: a
1314
1314
  })
1315
1315
  ]
1316
1316
  }), /* @__PURE__ */ M("div", {
1317
1317
  className: z.actions,
1318
- children: [o && /* @__PURE__ */ j(F, {
1318
+ children: [a && /* @__PURE__ */ j(F, {
1319
1319
  variant: "ghost",
1320
1320
  size: "sm",
1321
- onClick: o,
1322
- children: s
1323
- }), c && /* @__PURE__ */ j(F, {
1321
+ onClick: a,
1322
+ children: o
1323
+ }), s && /* @__PURE__ */ j(F, {
1324
1324
  variant: "secondary",
1325
1325
  size: "sm",
1326
- onClick: l,
1326
+ onClick: c,
1327
1327
  style: { borderColor: "transparent" },
1328
- children: c
1328
+ children: s
1329
1329
  })]
1330
1330
  })]
1331
1331
  }) : /* @__PURE__ */ M("div", {
@@ -1775,23 +1775,23 @@ var Lt = [
1775
1775
  children: e
1776
1776
  }, `in-${e}`)]
1777
1777
  });
1778
- }, qt = ({ quantity: e, onQuantityChange: t, min: i = 1, max: a, label: o = "Quantity", className: s }) => {
1779
- let c = e > i, l = a === void 0 || e < a, u = k.useRef(null), [d, f] = k.useState(!1), [p, m] = k.useState(String(e)), h = (e) => {
1778
+ }, qt = ({ quantity: e, onQuantityChange: t, min: n = 1, max: r, label: i = "Quantity", className: a }) => {
1779
+ let o = e > n, s = r === void 0 || e < r, c = k.useRef(null), [u, d] = k.useState(!1), [f, p] = k.useState(String(e)), m = (e) => {
1780
1780
  let t = e;
1781
- return i !== void 0 && (t = Math.max(i, t)), a !== void 0 && (t = Math.min(a, t)), t;
1781
+ return n !== void 0 && (t = Math.max(n, t)), r !== void 0 && (t = Math.min(r, t)), t;
1782
1782
  };
1783
1783
  return /* @__PURE__ */ M("div", {
1784
- className: [V.stepper, s ?? ""].filter(Boolean).join(" "),
1784
+ className: [V.stepper, a ?? ""].filter(Boolean).join(" "),
1785
1785
  role: "group",
1786
- "aria-label": o,
1786
+ "aria-label": i,
1787
1787
  children: [
1788
1788
  /* @__PURE__ */ j("button", {
1789
1789
  type: "button",
1790
1790
  className: V.stepBtn,
1791
- disabled: !c,
1792
- onClick: () => t?.(Math.max(i, e - 1)),
1791
+ disabled: !o,
1792
+ onClick: () => t?.(Math.max(n, e - 1)),
1793
1793
  "aria-label": "Decrease quantity",
1794
- children: /* @__PURE__ */ j(n, {
1794
+ children: /* @__PURE__ */ j(x, {
1795
1795
  size: 14,
1796
1796
  strokeWidth: N(14)
1797
1797
  })
@@ -1803,30 +1803,30 @@ var Lt = [
1803
1803
  /* @__PURE__ */ M("span", {
1804
1804
  className: V.stepValue,
1805
1805
  children: [/* @__PURE__ */ j("input", {
1806
- ref: u,
1806
+ ref: c,
1807
1807
  type: "text",
1808
1808
  inputMode: "numeric",
1809
- size: Math.max((d ? p : String(e)).length, 1),
1810
- className: [V.stepInput, d ? "" : V.stepInputResting].filter(Boolean).join(" "),
1811
- value: d ? p : String(e),
1812
- "aria-label": o,
1809
+ size: Math.max((u ? f : String(e)).length, 1),
1810
+ className: [V.stepInput, u ? "" : V.stepInputResting].filter(Boolean).join(" "),
1811
+ value: u ? f : String(e),
1812
+ "aria-label": i,
1813
1813
  onFocus: (t) => {
1814
- m(String(e)), f(!0), t.target.select();
1814
+ p(String(e)), d(!0), t.target.select();
1815
1815
  },
1816
- onChange: (e) => m(e.target.value.replace(/\D/g, "")),
1816
+ onChange: (e) => p(e.target.value.replace(/\D/g, "")),
1817
1817
  onBlur: () => {
1818
- f(!1);
1819
- let n = Number.parseInt(p, 10);
1818
+ d(!1);
1819
+ let n = Number.parseInt(f, 10);
1820
1820
  if (!Number.isNaN(n)) {
1821
- let r = h(n);
1821
+ let r = m(n);
1822
1822
  r !== e && t?.(r);
1823
1823
  }
1824
1824
  },
1825
1825
  onKeyDown: (t) => {
1826
- t.key === "Enter" && (t.preventDefault(), u.current?.blur()), t.key === "Escape" && (m(String(e)), u.current?.blur());
1826
+ t.key === "Enter" && (t.preventDefault(), c.current?.blur()), t.key === "Escape" && (p(String(e)), c.current?.blur());
1827
1827
  }
1828
1828
  }), /* @__PURE__ */ j("span", {
1829
- className: [V.rollOverlay, d ? V.rollOverlayHidden : ""].filter(Boolean).join(" "),
1829
+ className: [V.rollOverlay, u ? V.rollOverlayHidden : ""].filter(Boolean).join(" "),
1830
1830
  "aria-hidden": "true",
1831
1831
  children: /* @__PURE__ */ j(Kt, { value: e })
1832
1832
  })]
@@ -1838,10 +1838,10 @@ var Lt = [
1838
1838
  /* @__PURE__ */ j("button", {
1839
1839
  type: "button",
1840
1840
  className: V.stepBtn,
1841
- disabled: !l,
1842
- onClick: () => t?.(a === void 0 ? e + 1 : Math.min(a, e + 1)),
1841
+ disabled: !s,
1842
+ onClick: () => t?.(r === void 0 ? e + 1 : Math.min(r, e + 1)),
1843
1843
  "aria-label": "Increase quantity",
1844
- children: /* @__PURE__ */ j(r, {
1844
+ children: /* @__PURE__ */ j(l, {
1845
1845
  size: 14,
1846
1846
  strokeWidth: N(14)
1847
1847
  })
@@ -1862,14 +1862,14 @@ var Lt = [
1862
1862
  }, Yt = (e) => e.toLocaleString("en-US", {
1863
1863
  style: "currency",
1864
1864
  currency: "USD"
1865
- }), Xt = ({ image: e, imageAlt: t, name: r, variant: i, price: a, compareAtPrice: o, quantity: s, onQuantityChange: c, minQuantity: l = 1, maxQuantity: u, onRemove: d, removeLabel: f = "Remove item", formatPrice: p = Yt, className: m }) => {
1866
- let h = o !== void 0;
1865
+ }), Xt = ({ image: e, imageAlt: t, name: n, variant: r, price: i, compareAtPrice: a, quantity: o, onQuantityChange: s, minQuantity: c = 1, maxQuantity: l, onRemove: u, removeLabel: d = "Remove item", formatPrice: f = Yt, className: p }) => {
1866
+ let m = a !== void 0;
1867
1867
  return /* @__PURE__ */ M("div", {
1868
- className: [Jt.item, m ?? ""].filter(Boolean).join(" "),
1868
+ className: [Jt.item, p ?? ""].filter(Boolean).join(" "),
1869
1869
  children: [
1870
1870
  /* @__PURE__ */ j("img", {
1871
1871
  src: e,
1872
- alt: t ?? r,
1872
+ alt: t ?? n,
1873
1873
  className: Jt.thumb
1874
1874
  }),
1875
1875
  /* @__PURE__ */ M("div", {
@@ -1877,41 +1877,41 @@ var Lt = [
1877
1877
  children: [
1878
1878
  /* @__PURE__ */ j("p", {
1879
1879
  className: Jt.name,
1880
- children: r
1880
+ children: n
1881
1881
  }),
1882
- i && /* @__PURE__ */ j("p", {
1882
+ r && /* @__PURE__ */ j("p", {
1883
1883
  className: Jt.variant,
1884
- children: i
1884
+ children: r
1885
1885
  }),
1886
1886
  /* @__PURE__ */ j(qt, {
1887
- quantity: s,
1888
- onQuantityChange: c,
1889
- min: l,
1890
- max: u,
1891
- label: `Quantity for ${r}`
1887
+ quantity: o,
1888
+ onQuantityChange: s,
1889
+ min: c,
1890
+ max: l,
1891
+ label: `Quantity for ${n}`
1892
1892
  })
1893
1893
  ]
1894
1894
  }),
1895
1895
  /* @__PURE__ */ M("div", {
1896
1896
  className: Jt.right,
1897
- children: [h ? /* @__PURE__ */ M("div", {
1897
+ children: [m ? /* @__PURE__ */ M("div", {
1898
1898
  className: Jt.priceRow,
1899
1899
  children: [/* @__PURE__ */ j("span", {
1900
1900
  className: Jt.priceOriginal,
1901
- children: p(o)
1901
+ children: f(a)
1902
1902
  }), /* @__PURE__ */ j("span", {
1903
1903
  className: Jt.priceSale,
1904
- children: p(a)
1904
+ children: f(i)
1905
1905
  })]
1906
1906
  }) : /* @__PURE__ */ j("p", {
1907
1907
  className: Jt.price,
1908
- children: p(a)
1908
+ children: f(i)
1909
1909
  }), /* @__PURE__ */ j(Ve, {
1910
- icon: n,
1910
+ icon: x,
1911
1911
  variant: "outline",
1912
1912
  size: "sm",
1913
- "aria-label": f,
1914
- onClick: d
1913
+ "aria-label": d,
1914
+ onClick: u
1915
1915
  })]
1916
1916
  })
1917
1917
  ]
@@ -1932,39 +1932,39 @@ var Lt = [
1932
1932
  "Shipping",
1933
1933
  "Payment",
1934
1934
  "Confirmation"
1935
- ], $t = ({ steps: t = Qt, currentStep: n, className: r }) => /* @__PURE__ */ j("div", {
1936
- className: [Zt.steps, r ?? ""].filter(Boolean).join(" "),
1935
+ ], $t = ({ steps: e = Qt, currentStep: t, className: n }) => /* @__PURE__ */ j("div", {
1936
+ className: [Zt.steps, n ?? ""].filter(Boolean).join(" "),
1937
1937
  role: "list",
1938
- children: t.map((r, i) => {
1939
- let a = i < n ? "completed" : i === n ? "active" : "upcoming", o = i === t.length - 1;
1938
+ children: e.map((n, r) => {
1939
+ let i = r < t ? "completed" : r === t ? "active" : "upcoming", a = r === e.length - 1;
1940
1940
  return /* @__PURE__ */ M(k.Fragment, { children: [/* @__PURE__ */ M("div", {
1941
1941
  className: Zt.step,
1942
1942
  role: "listitem",
1943
- "aria-current": a === "active" ? "step" : void 0,
1943
+ "aria-current": i === "active" ? "step" : void 0,
1944
1944
  children: [/* @__PURE__ */ j("span", {
1945
1945
  className: [
1946
1946
  Zt.circle,
1947
- a === "completed" ? Zt.circleCompleted : "",
1948
- a === "active" ? Zt.circleActive : "",
1949
- a === "upcoming" ? Zt.circleUpcoming : ""
1947
+ i === "completed" ? Zt.circleCompleted : "",
1948
+ i === "active" ? Zt.circleActive : "",
1949
+ i === "upcoming" ? Zt.circleUpcoming : ""
1950
1950
  ].filter(Boolean).join(" "),
1951
1951
  "aria-hidden": "true",
1952
- children: /* @__PURE__ */ j(e, {
1952
+ children: /* @__PURE__ */ j(s, {
1953
1953
  size: 14,
1954
1954
  strokeWidth: N(14)
1955
1955
  })
1956
1956
  }), /* @__PURE__ */ j("span", {
1957
1957
  className: [
1958
1958
  Zt.label,
1959
- a === "active" ? Zt.labelActive : "",
1960
- a === "upcoming" ? Zt.labelUpcoming : ""
1959
+ i === "active" ? Zt.labelActive : "",
1960
+ i === "upcoming" ? Zt.labelUpcoming : ""
1961
1961
  ].filter(Boolean).join(" "),
1962
- children: r
1962
+ children: n
1963
1963
  })]
1964
- }), !o && /* @__PURE__ */ j("span", {
1964
+ }), !a && /* @__PURE__ */ j("span", {
1965
1965
  className: Zt.connector,
1966
1966
  "aria-hidden": "true"
1967
- })] }, r);
1967
+ })] }, n);
1968
1968
  })
1969
1969
  }), en = "#fafaf9", tn = "#141414", nn = (e, t, n) => {
1970
1970
  let r = (e) => {
@@ -2011,35 +2011,35 @@ var Lt = [
2011
2011
  ring: "_ring_1ykgu_41",
2012
2012
  check: "_check_1ykgu_57",
2013
2013
  strike: "_strike_1ykgu_70"
2014
- }, un = ({ color: t, label: n, selected: r = !1, available: i = !0, onSelect: a, className: o }) => {
2015
- let s = k.useMemo(() => cn(t), [t]);
2014
+ }, un = ({ color: e, label: t, selected: n = !1, available: r = !0, onSelect: i, className: a }) => {
2015
+ let o = k.useMemo(() => cn(e), [e]);
2016
2016
  return /* @__PURE__ */ M("button", {
2017
2017
  type: "button",
2018
- className: [ln.swatch, o ?? ""].filter(Boolean).join(" "),
2019
- style: { "--swatch-color": t },
2020
- disabled: !i,
2021
- "aria-pressed": i ? r : void 0,
2022
- "aria-label": i ? n : `${n} (out of stock)`,
2023
- onClick: a,
2018
+ className: [ln.swatch, a ?? ""].filter(Boolean).join(" "),
2019
+ style: { "--swatch-color": e },
2020
+ disabled: !r,
2021
+ "aria-pressed": r ? n : void 0,
2022
+ "aria-label": r ? t : `${t} (out of stock)`,
2023
+ onClick: i,
2024
2024
  children: [
2025
- r && i && /* @__PURE__ */ j("span", {
2025
+ n && r && /* @__PURE__ */ j("span", {
2026
2026
  className: ln.ring,
2027
2027
  "aria-hidden": "true"
2028
2028
  }),
2029
2029
  /* @__PURE__ */ j("span", {
2030
- className: [ln.circle, i ? "" : ln.circleUnavailable].filter(Boolean).join(" "),
2030
+ className: [ln.circle, r ? "" : ln.circleUnavailable].filter(Boolean).join(" "),
2031
2031
  "aria-hidden": "true"
2032
2032
  }),
2033
- r && i && /* @__PURE__ */ j(e, {
2033
+ n && r && /* @__PURE__ */ j(s, {
2034
2034
  size: 14,
2035
2035
  strokeWidth: N(14),
2036
2036
  className: ln.check,
2037
- style: { color: s },
2037
+ style: { color: o },
2038
2038
  "aria-hidden": "true"
2039
2039
  }),
2040
- !i && /* @__PURE__ */ j("span", {
2040
+ !r && /* @__PURE__ */ j("span", {
2041
2041
  className: ln.strike,
2042
- style: { background: s },
2042
+ style: { background: o },
2043
2043
  "aria-hidden": "true"
2044
2044
  })
2045
2045
  ]
@@ -2082,22 +2082,22 @@ var Lt = [
2082
2082
  iconSaved: "_iconSaved_58k4v_27",
2083
2083
  bounce: "_bounce_58k4v_40",
2084
2084
  "wishlist-bounce": "_wishlist-bounce_58k4v_1"
2085
- }, hn = ({ saved: e = !1, onToggle: t, label: n = "item", className: r }) => {
2086
- let [i, a] = k.useState(!1);
2085
+ }, hn = ({ saved: e = !1, onToggle: t, label: n = "item", className: i }) => {
2086
+ let [a, o] = k.useState(!1);
2087
2087
  return /* @__PURE__ */ j("button", {
2088
2088
  type: "button",
2089
- className: [mn.button, r ?? ""].filter(Boolean).join(" "),
2089
+ className: [mn.button, i ?? ""].filter(Boolean).join(" "),
2090
2090
  "aria-pressed": e,
2091
2091
  "aria-label": e ? `Remove ${n} from wishlist` : `Add ${n} to wishlist`,
2092
2092
  onClick: () => {
2093
- e || a(!0), t?.(!e);
2093
+ e || o(!0), t?.(!e);
2094
2094
  },
2095
- children: /* @__PURE__ */ j(re, {
2095
+ children: /* @__PURE__ */ j(r, {
2096
2096
  size: 16,
2097
2097
  strokeWidth: N(16),
2098
- className: [e ? mn.iconSaved : mn.icon, i ? mn.bounce : ""].filter(Boolean).join(" "),
2098
+ className: [e ? mn.iconSaved : mn.icon, a ? mn.bounce : ""].filter(Boolean).join(" "),
2099
2099
  fill: e ? "currentColor" : "none",
2100
- onAnimationEnd: () => a(!1)
2100
+ onAnimationEnd: () => o(!1)
2101
2101
  })
2102
2102
  });
2103
2103
  }, H = {
@@ -2123,8 +2123,8 @@ var Lt = [
2123
2123
  }, gn = (e) => e.toLocaleString("en-US", {
2124
2124
  style: "currency",
2125
2125
  currency: "USD"
2126
- }), _n = ({ image: e, imageAlt: t, name: n, description: r, price: i, compareAtPrice: a, rating: o, reviewCount: s, colors: c = [], onColorSelect: l, inStock: u = !0, wishlisted: d = !1, onWishlistToggle: p, onAddItem: m, addItemLabel: h = "Add Item", formatPrice: g = gn, className: _ }) => {
2127
- let v = a !== void 0, y = v ? Math.ceil((1 - i / a) * 100) : 0, b = o === void 0 ? 0 : Math.round(o);
2126
+ }), _n = ({ image: e, imageAlt: t, name: r, description: i, price: a, compareAtPrice: o, rating: s, reviewCount: c, colors: l = [], onColorSelect: u, inStock: d = !0, wishlisted: f = !1, onWishlistToggle: p, onAddItem: m, addItemLabel: h = "Add Item", formatPrice: g = gn, className: _ }) => {
2127
+ let v = o !== void 0, y = v ? Math.ceil((1 - a / o) * 100) : 0, b = s === void 0 ? 0 : Math.round(s);
2128
2128
  return /* @__PURE__ */ M("div", {
2129
2129
  className: [H.card, _ ?? ""].filter(Boolean).join(" "),
2130
2130
  children: [/* @__PURE__ */ M("div", {
@@ -2132,10 +2132,10 @@ var Lt = [
2132
2132
  children: [
2133
2133
  /* @__PURE__ */ j("img", {
2134
2134
  src: e,
2135
- alt: t ?? n,
2136
- className: [H.image, u ? "" : H.imageDimmed].filter(Boolean).join(" ")
2135
+ alt: t ?? r,
2136
+ className: [H.image, d ? "" : H.imageDimmed].filter(Boolean).join(" ")
2137
2137
  }),
2138
- v && u && /* @__PURE__ */ M(Gt, {
2138
+ v && d && /* @__PURE__ */ M(Gt, {
2139
2139
  variant: "danger",
2140
2140
  emphasis: "solid",
2141
2141
  className: H.saleBadge,
@@ -2145,13 +2145,13 @@ var Lt = [
2145
2145
  "%"
2146
2146
  ]
2147
2147
  }),
2148
- u && /* @__PURE__ */ j(hn, {
2149
- saved: d,
2150
- label: n,
2148
+ d && /* @__PURE__ */ j(hn, {
2149
+ saved: f,
2150
+ label: r,
2151
2151
  className: H.wishlistBtn,
2152
2152
  onToggle: p
2153
2153
  }),
2154
- !u && /* @__PURE__ */ j("span", {
2154
+ !d && /* @__PURE__ */ j("span", {
2155
2155
  className: H.outOfStockLabel,
2156
2156
  children: "Out of stock"
2157
2157
  })
@@ -2159,11 +2159,11 @@ var Lt = [
2159
2159
  }), /* @__PURE__ */ M("div", {
2160
2160
  className: H.body,
2161
2161
  children: [
2162
- o !== void 0 && /* @__PURE__ */ j("div", {
2162
+ s !== void 0 && /* @__PURE__ */ j("div", {
2163
2163
  className: H.rating,
2164
2164
  role: "img",
2165
- "aria-label": `Rated ${o} out of 5${s ? ` (${s} reviews)` : ""}`,
2166
- children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ j(f, {
2165
+ "aria-label": `Rated ${s} out of 5${c ? ` (${c} reviews)` : ""}`,
2166
+ children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ j(n, {
2167
2167
  size: 16,
2168
2168
  strokeWidth: N(16),
2169
2169
  className: t < b ? H.starFilled : H.starEmpty,
@@ -2174,38 +2174,38 @@ var Lt = [
2174
2174
  className: H.titleRow,
2175
2175
  children: [/* @__PURE__ */ j("p", {
2176
2176
  className: H.name,
2177
- children: n
2177
+ children: r
2178
2178
  }), /* @__PURE__ */ M("div", {
2179
2179
  className: H.priceRow,
2180
2180
  children: [v && /* @__PURE__ */ j("span", {
2181
2181
  className: H.priceOriginal,
2182
- children: g(a)
2182
+ children: g(o)
2183
2183
  }), /* @__PURE__ */ j("span", {
2184
2184
  className: H.price,
2185
- children: g(i)
2185
+ children: g(a)
2186
2186
  })]
2187
2187
  })]
2188
2188
  }),
2189
- r && /* @__PURE__ */ j("p", {
2189
+ i && /* @__PURE__ */ j("p", {
2190
2190
  className: H.description,
2191
- children: r
2191
+ children: i
2192
2192
  }),
2193
- c.length > 0 && /* @__PURE__ */ j("div", {
2193
+ l.length > 0 && /* @__PURE__ */ j("div", {
2194
2194
  className: H.swatches,
2195
2195
  role: "group",
2196
2196
  "aria-label": "Color",
2197
- children: c.map((e) => /* @__PURE__ */ j(un, {
2197
+ children: l.map((e) => /* @__PURE__ */ j(un, {
2198
2198
  ...e,
2199
- onSelect: () => l?.(e.id ?? e.label)
2199
+ onSelect: () => u?.(e.id ?? e.label)
2200
2200
  }, e.id ?? e.label))
2201
2201
  }),
2202
2202
  /* @__PURE__ */ j(F, {
2203
2203
  variant: "primary",
2204
2204
  size: "md",
2205
- disabled: !u,
2205
+ disabled: !d,
2206
2206
  className: H.addButton,
2207
2207
  onClick: m,
2208
- children: u ? h : "Out of stock"
2208
+ children: d ? h : "Out of stock"
2209
2209
  })
2210
2210
  ]
2211
2211
  })]
@@ -2310,27 +2310,27 @@ var Lt = [
2310
2310
  label: "_label_1snsi_29",
2311
2311
  value: "_value_1snsi_38",
2312
2312
  count: "_count_1snsi_43"
2313
- }, Sn = (e) => e.toLocaleString("en-US"), Cn = ({ rating: e, reviewCount: n, showLabel: r = !0, orientation: i = "horizontal", formatReviewCount: a = Sn, className: o }) => {
2314
- let s = Math.max(0, Math.min(5, e)), c = Math.round(s * 2) / 2, l = Math.floor(c), u = c - l === .5, d = 5 - l - !!u, p = /* @__PURE__ */ M("div", {
2313
+ }, Sn = (e) => e.toLocaleString("en-US"), Cn = ({ rating: e, reviewCount: t, showLabel: r = !0, orientation: i = "horizontal", formatReviewCount: a = Sn, className: o }) => {
2314
+ let s = Math.max(0, Math.min(5, e)), c = Math.round(s * 2) / 2, l = Math.floor(c), u = c - l === .5, d = 5 - l - !!u, f = /* @__PURE__ */ M("div", {
2315
2315
  className: xn.stars,
2316
2316
  role: "img",
2317
2317
  "aria-label": `${s} out of 5 stars`,
2318
2318
  children: [
2319
- Array.from({ length: l }, (e, t) => /* @__PURE__ */ j(f, {
2319
+ Array.from({ length: l }, (e, t) => /* @__PURE__ */ j(n, {
2320
2320
  size: 24,
2321
2321
  strokeWidth: N(24),
2322
2322
  className: xn.starFull,
2323
2323
  fill: "currentColor",
2324
2324
  "aria-hidden": "true"
2325
2325
  }, `full-${t}`)),
2326
- u && /* @__PURE__ */ j(t, {
2326
+ u && /* @__PURE__ */ j(p, {
2327
2327
  size: 24,
2328
2328
  strokeWidth: N(24),
2329
2329
  className: xn.starFull,
2330
2330
  fill: "currentColor",
2331
2331
  "aria-hidden": "true"
2332
2332
  }),
2333
- Array.from({ length: d }, (e, t) => /* @__PURE__ */ j(f, {
2333
+ Array.from({ length: d }, (e, t) => /* @__PURE__ */ j(n, {
2334
2334
  size: 24,
2335
2335
  strokeWidth: N(24),
2336
2336
  className: xn.starEmpty,
@@ -2342,11 +2342,11 @@ var Lt = [
2342
2342
  children: [/* @__PURE__ */ j("span", {
2343
2343
  className: xn.value,
2344
2344
  children: s.toFixed(1)
2345
- }), n !== void 0 && /* @__PURE__ */ M("span", {
2345
+ }), t !== void 0 && /* @__PURE__ */ M("span", {
2346
2346
  className: xn.count,
2347
2347
  children: [
2348
2348
  "(",
2349
- a(n),
2349
+ a(t),
2350
2350
  " reviews)"
2351
2351
  ]
2352
2352
  })]
@@ -2357,10 +2357,10 @@ var Lt = [
2357
2357
  ].filter(Boolean).join(" ");
2358
2358
  return i === "horizontal-reverse" ? /* @__PURE__ */ M("div", {
2359
2359
  className: h,
2360
- children: [m, p]
2360
+ children: [m, f]
2361
2361
  }) : /* @__PURE__ */ M("div", {
2362
2362
  className: h,
2363
- children: [p, m]
2363
+ children: [f, m]
2364
2364
  });
2365
2365
  }, wn = ({ quantity: e, lowStockThreshold: t = 5, label: n, className: r }) => {
2366
2366
  let i = e <= 0, a = !i && e <= t, o = i ? "danger" : a ? "warning" : "success", s = i ? "Out of stock" : a ? `Only ${e} left` : "In stock";
@@ -2663,7 +2663,7 @@ var Lt = [
2663
2663
  "M1.42578 22.5264C23.2117 23.2619 40.7366 40.7874 41.4727 62.5732C38.4791 63.4997 35.298 64 32 64C31.158 64 30.3237 63.9662 29.498 63.9023C29.4455 47.6871 16.3121 34.553 0.0966797 34.501C0.0328793 33.6757 0 32.8417 0 32C0 28.7018 0.499182 25.5201 1.42578 22.5264Z",
2664
2664
  "M0.889648 39.5176C13.7129 39.9753 24.0232 50.2863 24.4814 63.1094C12.8474 60.3077 3.69089 51.1518 0.889648 39.5176Z",
2665
2665
  "M32 0C49.6731 0 64 14.3269 64 32C64 44.5026 56.8286 55.3282 46.376 60.5938C44.7132 37.6274 26.3718 19.2853 3.40527 17.623C8.6709 7.17063 19.4975 0 32 0Z"
2666
- ], Ln = ({ size: e }) => /* @__PURE__ */ j("svg", {
2666
+ ], Ln = ({ size: e, color: t }) => /* @__PURE__ */ j("svg", {
2667
2667
  width: e ?? "100%",
2668
2668
  height: e ?? "100%",
2669
2669
  viewBox: "0 0 64 64",
@@ -2673,7 +2673,7 @@ var Lt = [
2673
2673
  "data-sakani-logo": "",
2674
2674
  children: In.map((e) => /* @__PURE__ */ j("path", {
2675
2675
  d: e,
2676
- fill: "var(--color-fg-default)"
2676
+ fill: t ?? "var(--color-fg-default)"
2677
2677
  }, e))
2678
2678
  }), Rn = {
2679
2679
  root: "_root_3bf2n_1",
@@ -2702,7 +2702,7 @@ var Lt = [
2702
2702
  children: n
2703
2703
  })
2704
2704
  ]
2705
- }), K = {
2705
+ }), Bn = {
2706
2706
  card: "_card_mouc6_1",
2707
2707
  imageWrap: "_imageWrap_mouc6_19",
2708
2708
  image: "_image_mouc6_19",
@@ -2715,37 +2715,37 @@ var Lt = [
2715
2715
  role: "_role_mouc6_102",
2716
2716
  social: "_social_mouc6_111",
2717
2717
  bio: "_bio_mouc6_119"
2718
- }, Bn = ({ image: e, imageAlt: t, name: n, role: r, location: i, locationStatus: a = "active", bio: o, socialLinks: s = [], className: c }) => /* @__PURE__ */ M("div", {
2719
- className: [K.card, c ?? ""].filter(Boolean).join(" "),
2718
+ }, Vn = ({ image: e, imageAlt: t, name: n, role: r, location: i, locationStatus: a = "active", bio: o, socialLinks: s = [], className: c }) => /* @__PURE__ */ M("div", {
2719
+ className: [Bn.card, c ?? ""].filter(Boolean).join(" "),
2720
2720
  children: [/* @__PURE__ */ M("div", {
2721
- className: K.imageWrap,
2721
+ className: Bn.imageWrap,
2722
2722
  children: [/* @__PURE__ */ j("img", {
2723
2723
  src: e,
2724
2724
  alt: t ?? n,
2725
- className: K.image
2725
+ className: Bn.image
2726
2726
  }), /* @__PURE__ */ j("div", {
2727
- className: K.locationBar,
2727
+ className: Bn.locationBar,
2728
2728
  children: /* @__PURE__ */ j(Nn, {
2729
2729
  location: i,
2730
2730
  status: a,
2731
- className: K.locationDot
2731
+ className: Bn.locationDot
2732
2732
  })
2733
2733
  })]
2734
2734
  }), /* @__PURE__ */ M("div", {
2735
- className: K.info,
2735
+ className: Bn.info,
2736
2736
  children: [/* @__PURE__ */ M("div", {
2737
- className: K.metaRow,
2737
+ className: Bn.metaRow,
2738
2738
  children: [/* @__PURE__ */ M("div", {
2739
- className: K.identity,
2739
+ className: Bn.identity,
2740
2740
  children: [/* @__PURE__ */ j("p", {
2741
- className: K.name,
2741
+ className: Bn.name,
2742
2742
  children: n
2743
2743
  }), /* @__PURE__ */ j("p", {
2744
- className: K.role,
2744
+ className: Bn.role,
2745
2745
  children: r
2746
2746
  })]
2747
2747
  }), s.length > 0 && /* @__PURE__ */ j("div", {
2748
- className: K.social,
2748
+ className: Bn.social,
2749
2749
  children: s.map((e, t) => /* @__PURE__ */ j("a", {
2750
2750
  href: e.href,
2751
2751
  onClick: e.onClick,
@@ -2758,11 +2758,11 @@ var Lt = [
2758
2758
  }, e.label ?? t))
2759
2759
  })]
2760
2760
  }), o && /* @__PURE__ */ j("p", {
2761
- className: K.bio,
2761
+ className: Bn.bio,
2762
2762
  children: o
2763
2763
  })]
2764
2764
  })]
2765
- }), Vn = {
2765
+ }), Hn = {
2766
2766
  alert: "_alert_1hjs5_3",
2767
2767
  alert__icon: "_alert__icon_1hjs5_12",
2768
2768
  alert__content: "_alert__content_1hjs5_13",
@@ -2773,7 +2773,7 @@ var Lt = [
2773
2773
  "alert--warning": "_alert--warning_1hjs5_24",
2774
2774
  "alert--danger": "_alert--danger_1hjs5_27",
2775
2775
  "alert--neutral": "_alert--neutral_1hjs5_30"
2776
- }, Hn = {
2776
+ }, Un = {
2777
2777
  info: /* @__PURE__ */ M(A, { children: [
2778
2778
  /* @__PURE__ */ j("circle", {
2779
2779
  cx: "12",
@@ -2847,15 +2847,15 @@ var Lt = [
2847
2847
  y2: "8"
2848
2848
  })
2849
2849
  ] })
2850
- }, Un = ({ color: e = "info", title: t, description: n, icon: r, className: i }) => /* @__PURE__ */ M("div", {
2850
+ }, Wn = ({ color: e = "info", title: t, description: n, icon: r, className: i }) => /* @__PURE__ */ M("div", {
2851
2851
  role: "alert",
2852
2852
  className: [
2853
- Vn.alert,
2854
- Vn[`alert--${e}`],
2853
+ Hn.alert,
2854
+ Hn[`alert--${e}`],
2855
2855
  i ?? ""
2856
2856
  ].filter(Boolean).join(" "),
2857
2857
  children: [/* @__PURE__ */ j("span", {
2858
- className: Vn.alert__icon,
2858
+ className: Hn.alert__icon,
2859
2859
  "aria-hidden": "true",
2860
2860
  children: /* @__PURE__ */ j("svg", {
2861
2861
  viewBox: "0 0 24 24",
@@ -2866,19 +2866,19 @@ var Lt = [
2866
2866
  strokeLinejoin: "round",
2867
2867
  width: 18,
2868
2868
  height: 18,
2869
- children: r ?? Hn[e]
2869
+ children: r ?? Un[e]
2870
2870
  })
2871
2871
  }), /* @__PURE__ */ M("div", {
2872
- className: Vn.alert__content,
2872
+ className: Hn.alert__content,
2873
2873
  children: [t && /* @__PURE__ */ j("div", {
2874
- className: Vn.alert__title,
2874
+ className: Hn.alert__title,
2875
2875
  children: t
2876
2876
  }), n && /* @__PURE__ */ j("div", {
2877
- className: Vn.alert__description,
2877
+ className: Hn.alert__description,
2878
2878
  children: n
2879
2879
  })]
2880
2880
  })]
2881
- }), q = {
2881
+ }), K = {
2882
2882
  card: "_card_6iftf_2",
2883
2883
  "card--hover": "_card--hover_6iftf_15",
2884
2884
  "card--selected": "_card--selected_6iftf_16",
@@ -2895,60 +2895,60 @@ var Lt = [
2895
2895
  card__footer: "_card__footer_6iftf_47",
2896
2896
  card__meta: "_card__meta_6iftf_48",
2897
2897
  card__assignees: "_card__assignees_6iftf_49"
2898
- }, Wn = ({ type: e = "default", state: t = "default", cover: n, leading: r, title: i, trailing: a, description: o, tags: s, meta: c, assignees: l, onClick: u, className: d }) => {
2898
+ }, Gn = ({ type: e = "default", state: t = "default", cover: n, leading: r, title: i, trailing: a, description: o, tags: s, meta: c, assignees: l, onClick: u, className: d }) => {
2899
2899
  let f = e !== "compact", p = c || l;
2900
2900
  return /* @__PURE__ */ M("div", {
2901
2901
  onClick: u,
2902
2902
  "aria-selected": t === "selected" || void 0,
2903
2903
  className: [
2904
- q.card,
2905
- q[`card--${e}`],
2906
- q[`card--${t}`],
2904
+ K.card,
2905
+ K[`card--${e}`],
2906
+ K[`card--${t}`],
2907
2907
  d ?? ""
2908
2908
  ].filter(Boolean).join(" "),
2909
2909
  children: [
2910
2910
  e === "cover" && /* @__PURE__ */ j("div", {
2911
- className: q.card__cover,
2911
+ className: K.card__cover,
2912
2912
  children: n
2913
2913
  }),
2914
2914
  /* @__PURE__ */ M("div", {
2915
- className: q.card__header,
2915
+ className: K.card__header,
2916
2916
  children: [
2917
2917
  r && /* @__PURE__ */ j("span", {
2918
- className: q.card__leading,
2918
+ className: K.card__leading,
2919
2919
  children: r
2920
2920
  }),
2921
2921
  /* @__PURE__ */ j("span", {
2922
- className: q.card__title,
2922
+ className: K.card__title,
2923
2923
  children: i
2924
2924
  }),
2925
2925
  a && /* @__PURE__ */ j("span", {
2926
- className: q.card__trailing,
2926
+ className: K.card__trailing,
2927
2927
  children: a
2928
2928
  })
2929
2929
  ]
2930
2930
  }),
2931
2931
  f && o && /* @__PURE__ */ j("p", {
2932
- className: q.card__desc,
2932
+ className: K.card__desc,
2933
2933
  children: o
2934
2934
  }),
2935
2935
  f && s && /* @__PURE__ */ j("div", {
2936
- className: q.card__tags,
2936
+ className: K.card__tags,
2937
2937
  children: s
2938
2938
  }),
2939
- p && /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("div", { className: q.card__divider }), /* @__PURE__ */ M("div", {
2940
- className: q.card__footer,
2939
+ p && /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("div", { className: K.card__divider }), /* @__PURE__ */ M("div", {
2940
+ className: K.card__footer,
2941
2941
  children: [c && /* @__PURE__ */ j("div", {
2942
- className: q.card__meta,
2942
+ className: K.card__meta,
2943
2943
  children: c
2944
2944
  }), l && /* @__PURE__ */ j("div", {
2945
- className: q.card__assignees,
2945
+ className: K.card__assignees,
2946
2946
  children: l
2947
2947
  })]
2948
2948
  })] })
2949
2949
  ]
2950
2950
  });
2951
- }, Gn = {
2951
+ }, Kn = {
2952
2952
  breadcrumb: "_breadcrumb_tszff_3",
2953
2953
  list: "_list_tszff_5",
2954
2954
  item: "_item_tszff_15",
@@ -2957,12 +2957,13 @@ var Lt = [
2957
2957
  separator: "_separator_tszff_33",
2958
2958
  "list--button": "_list--button_tszff_38",
2959
2959
  chip: "_chip_tszff_41"
2960
- }, Kn = {
2961
- highlight: "_highlight_1bp09_15",
2962
- visible: "_visible_1bp09_24",
2963
- glide: "_glide_1bp09_28"
2964
- }, qn = (e) => e.getAttribute("data-hover-item") === "off" || e.getAttribute("aria-disabled") === "true" || e.disabled === !0;
2965
- function Jn(e, t) {
2960
+ }, qn = {
2961
+ highlight: "_highlight_2b588_15",
2962
+ visible: "_visible_2b588_24",
2963
+ glide: "_glide_2b588_28",
2964
+ track: "_track_2b588_39"
2965
+ }, Jn = /height|width|grid-template|padding|margin|^(top|bottom|left|right|inset)|gap|flex/, Yn = (e) => e.getAttribute("data-hover-item") === "off" || e.getAttribute("aria-disabled") === "true" || e.disabled === !0;
2966
+ function Xn(e, t) {
2966
2967
  let n = 0, r = 0, i = e;
2967
2968
  for (; i && i !== t;) {
2968
2969
  n += i.offsetLeft, r += i.offsetTop;
@@ -2981,7 +2982,7 @@ function Jn(e, t) {
2981
2982
  tone: a.getPropertyValue("--hover-tone").trim()
2982
2983
  };
2983
2984
  }
2984
- function Yn() {
2985
+ function Zn() {
2985
2986
  let e = k.useRef(null), [t, n] = k.useState(null), r = k.useCallback((t) => {
2986
2987
  e.current = t, n(t);
2987
2988
  }, []), i = k.useRef(null), a = k.useRef(!1), o = k.useRef(null), s = k.useRef(!1), c = k.useRef(null), [l, u] = k.useState(null), [d, f] = k.useState(!1), [p, m] = k.useState(!1), h = k.useCallback(() => {
@@ -2990,7 +2991,7 @@ function Yn() {
2990
2991
  let n = e.current;
2991
2992
  if (!n) return;
2992
2993
  n !== c.current && (c.current = n, a.current = !1), i.current = t;
2993
- let r = Jn(t, n);
2994
+ let r = Xn(t, n);
2994
2995
  if (a.current) {
2995
2996
  u(r);
2996
2997
  return;
@@ -3009,7 +3010,7 @@ function Yn() {
3009
3010
  if (!n) return;
3010
3011
  let r = t.target.closest("[data-hover-item]");
3011
3012
  if (!(!r || r.closest("[data-hover-group]") !== n)) {
3012
- if (qn(r)) {
3013
+ if (Yn(r)) {
3013
3014
  h();
3014
3015
  return;
3015
3016
  }
@@ -3026,20 +3027,45 @@ function Yn() {
3026
3027
  h();
3027
3028
  return;
3028
3029
  }
3029
- u(Jn(t, e));
3030
+ u(Xn(t, e));
3030
3031
  }
3031
3032
  }, r = new ResizeObserver(n);
3032
- return r.observe(e), e.addEventListener("scroll", n, !0), () => {
3033
- r.disconnect(), e.removeEventListener("scroll", n, !0);
3033
+ r.observe(e), e.addEventListener("scroll", n, !0);
3034
+ let s = 0, c = 0, l = () => {
3035
+ c = 0;
3036
+ let t = i.current, n = o.current;
3037
+ if (!t || !n || !a.current || !e.contains(t)) {
3038
+ n?.classList.remove(qn.track);
3039
+ return;
3040
+ }
3041
+ let r = Xn(t, e);
3042
+ if (n.style.transform = `translate(${r.x}px, ${r.y}px)`, n.style.width = `${r.w}px`, n.style.height = `${r.h}px`, performance.now() < s) {
3043
+ c = requestAnimationFrame(l);
3044
+ return;
3045
+ }
3046
+ n.classList.remove(qn.track), u(r);
3047
+ }, d = (e) => Math.max(0, ...e.split(",").map((e) => (e.trim().endsWith("ms") ? parseFloat(e) : parseFloat(e) * 1e3) || 0)), f = (e, t) => {
3048
+ e === o.current || !a.current || (s = Math.max(s, performance.now() + t + 60), c ||= (o.current?.classList.add(qn.track), requestAnimationFrame(l)));
3049
+ }, p = (e) => {
3050
+ let t = e;
3051
+ if (!Jn.test(t.propertyName)) return;
3052
+ let n = getComputedStyle(t.target);
3053
+ f(t.target, d(n.transitionDuration) + d(n.transitionDelay));
3054
+ }, m = (e) => {
3055
+ let t = getComputedStyle(e.target);
3056
+ t.animationIterationCount.includes("infinite") || f(e.target, d(t.animationDuration) + d(t.animationDelay));
3057
+ };
3058
+ return e.addEventListener("transitionrun", p), e.addEventListener("animationstart", m), () => {
3059
+ r.disconnect(), e.removeEventListener("scroll", n, !0), e.removeEventListener("transitionrun", p), e.removeEventListener("animationstart", m), c && cancelAnimationFrame(c);
3034
3060
  };
3035
3061
  }, [t, h]);
3036
3062
  let v = /* @__PURE__ */ j("span", {
3037
3063
  ref: o,
3038
3064
  "aria-hidden": "true",
3039
3065
  className: [
3040
- Kn.highlight,
3041
- d ? Kn.visible : "",
3042
- p ? Kn.glide : ""
3066
+ qn.highlight,
3067
+ d ? qn.visible : "",
3068
+ p ? qn.glide : ""
3043
3069
  ].filter(Boolean).join(" "),
3044
3070
  style: l ? {
3045
3071
  transform: `translate(${l.x}px, ${l.y}px)`,
@@ -3049,7 +3075,7 @@ function Yn() {
3049
3075
  background: l.tone || void 0
3050
3076
  } : void 0
3051
3077
  }), y = k.useCallback((e) => {
3052
- e && !qn(e) ? g(e) : h();
3078
+ e && !Yn(e) ? g(e) : h();
3053
3079
  }, [h, g]);
3054
3080
  return {
3055
3081
  ref: r,
@@ -3062,8 +3088,8 @@ function Yn() {
3062
3088
  showItem: y
3063
3089
  };
3064
3090
  }
3065
- var Xn = ({ children: e, style: t, ...n }) => {
3066
- let { ref: r, groupProps: i, highlight: a } = Yn();
3091
+ var Qn = ({ children: e, style: t, ...n }) => {
3092
+ let { ref: r, groupProps: i, highlight: a } = Zn();
3067
3093
  return /* @__PURE__ */ M("div", {
3068
3094
  ref: r,
3069
3095
  ...n,
@@ -3074,8 +3100,8 @@ var Xn = ({ children: e, style: t, ...n }) => {
3074
3100
  },
3075
3101
  children: [a, e]
3076
3102
  });
3077
- }, Zn = ({ size: e }) => /* @__PURE__ */ j("span", {
3078
- className: Gn.separator,
3103
+ }, $n = ({ size: e }) => /* @__PURE__ */ j("span", {
3104
+ className: Kn.separator,
3079
3105
  "aria-hidden": "true",
3080
3106
  children: /* @__PURE__ */ j("svg", {
3081
3107
  viewBox: "0 0 24 24",
@@ -3088,23 +3114,23 @@ var Xn = ({ children: e, style: t, ...n }) => {
3088
3114
  height: e,
3089
3115
  children: /* @__PURE__ */ j("path", { d: "m9 18 6-6-6-6" })
3090
3116
  })
3091
- }), Qn = ({ items: e, variant: t = "text", className: n }) => {
3092
- let r = t === "button", i = Yn();
3117
+ }), er = ({ items: e, variant: t = "text", className: n }) => {
3118
+ let r = t === "button", i = Zn();
3093
3119
  return /* @__PURE__ */ j("nav", {
3094
3120
  "aria-label": "Breadcrumb",
3095
- className: [Gn.breadcrumb, n ?? ""].filter(Boolean).join(" "),
3121
+ className: [Kn.breadcrumb, n ?? ""].filter(Boolean).join(" "),
3096
3122
  children: /* @__PURE__ */ M("ol", {
3097
3123
  ref: i.ref,
3098
3124
  ...r ? i.groupProps : {},
3099
- className: [Gn.list, r ? Gn["list--button"] : ""].filter(Boolean).join(" "),
3125
+ className: [Kn.list, r ? Kn["list--button"] : ""].filter(Boolean).join(" "),
3100
3126
  children: [r && /* @__PURE__ */ j("li", {
3101
3127
  "aria-hidden": "true",
3102
3128
  style: { display: "contents" },
3103
3129
  children: i.highlight
3104
3130
  }), e.map((t, n) => {
3105
- let i = n === e.length - 1, a = r ? Gn.chip : i ? Gn.current : Gn.crumb;
3131
+ let i = n === e.length - 1, a = r ? Kn.chip : i ? Kn.current : Kn.crumb;
3106
3132
  return /* @__PURE__ */ M("li", {
3107
- className: Gn.item,
3133
+ className: Kn.item,
3108
3134
  children: [i || !t.href ? /* @__PURE__ */ j("span", {
3109
3135
  className: a,
3110
3136
  "data-hover-item": r ? "off" : void 0,
@@ -3115,26 +3141,43 @@ var Xn = ({ children: e, style: t, ...n }) => {
3115
3141
  "data-hover-item": "",
3116
3142
  className: a,
3117
3143
  children: t.label
3118
- }), !i && /* @__PURE__ */ j(Zn, { size: r ? 14 : 16 })]
3144
+ }), !i && /* @__PURE__ */ j($n, { size: r ? 14 : 16 })]
3119
3145
  }, n);
3120
3146
  })]
3121
3147
  })
3122
3148
  });
3123
- }, $n = {
3149
+ }, tr = {
3124
3150
  meta: "_meta_g1mpv_2",
3125
3151
  meta__icon: "_meta__icon_g1mpv_3",
3126
3152
  meta__label: "_meta__label_g1mpv_4"
3127
- }, er = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ M("span", {
3128
- className: [$n.meta, n ?? ""].filter(Boolean).join(" "),
3153
+ }, nr = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ M("span", {
3154
+ className: [tr.meta, n ?? ""].filter(Boolean).join(" "),
3129
3155
  children: [/* @__PURE__ */ j("span", {
3130
- className: $n.meta__icon,
3156
+ className: tr.meta__icon,
3131
3157
  "aria-hidden": "true",
3132
3158
  children: e
3133
3159
  }), /* @__PURE__ */ j("span", {
3134
- className: $n.meta__label,
3160
+ className: tr.meta__label,
3135
3161
  children: t
3136
3162
  })]
3137
- }), tr = {
3163
+ }), rr = {
3164
+ skeleton: "_skeleton_94hr3_9",
3165
+ "skeleton-shimmer": "_skeleton-shimmer_94hr3_1",
3166
+ "skeleton--text": "_skeleton--text_94hr3_22",
3167
+ "skeleton--rect": "_skeleton--rect_94hr3_29",
3168
+ "skeleton--circle": "_skeleton--circle_94hr3_35"
3169
+ }, ir = ({ variant: e = "text", width: t, height: n, className: r }) => {
3170
+ let i = {};
3171
+ return t !== void 0 && (i.width = typeof t == "number" ? `${t}px` : t), n !== void 0 && (i.height = typeof n == "number" ? `${n}px` : n), /* @__PURE__ */ j("span", {
3172
+ "aria-hidden": "true",
3173
+ className: [
3174
+ rr.skeleton,
3175
+ rr[`skeleton--${e}`],
3176
+ r ?? ""
3177
+ ].filter(Boolean).join(" "),
3178
+ style: i
3179
+ });
3180
+ }, ar = {
3138
3181
  composer: "_composer_1dwtx_2",
3139
3182
  "composer--typing": "_composer--typing_1dwtx_15",
3140
3183
  input: "_input_1dwtx_22",
@@ -3148,11 +3191,11 @@ var Xn = ({ children: e, style: t, ...n }) => {
3148
3191
  row: "_row_1dwtx_36",
3149
3192
  icon: "_icon_1dwtx_37",
3150
3193
  send: "_send_1dwtx_52"
3151
- }, nr = ({ state: e = "default", value: t, placeholder: n = "Message...", onChange: r, onSend: i, onAttachmentsChange: o, uploadName: s, uploadProgress: c = 0, onCancelUpload: l, className: u }) => {
3152
- let d = e === "disabled", [f, p] = k.useState(""), [m, h] = k.useState(!1), [g, y] = k.useState({
3194
+ }, or = ({ state: e = "default", value: t, placeholder: n = "Message...", onChange: r, onSend: i, onAttachmentsChange: a, uploadName: o, uploadProgress: s = 0, onCancelUpload: c, className: l }) => {
3195
+ let u = e === "disabled", [f, p] = k.useState(""), [m, h] = k.useState(!1), [g, y] = k.useState({
3153
3196
  top: 0,
3154
3197
  right: 0
3155
- }), [b, x] = k.useState([]), S = k.useRef(null), w = k.useRef(null), T = k.useRef(null), D = k.useRef(null), O = t === void 0 ? f : t, ee = !d && (O.trim().length > 0 || e === "typing" || b.length > 0), te = () => {
3198
+ }), [b, x] = k.useState([]), S = k.useRef(null), w = k.useRef(null), T = k.useRef(null), D = k.useRef(null), O = t === void 0 ? f : t, ee = !u && (O.trim().length > 0 || e === "typing" || b.length > 0), te = () => {
3156
3199
  w.current?.click();
3157
3200
  }, ne = (e) => {
3158
3201
  let t = e.target.files;
@@ -3195,41 +3238,41 @@ var Xn = ({ children: e, style: t, ...n }) => {
3195
3238
  document.removeEventListener("mousedown", e);
3196
3239
  };
3197
3240
  }, [m]), k.useEffect(() => {
3198
- o?.(b);
3199
- }, [b, o]), /* @__PURE__ */ M("div", {
3241
+ a?.(b);
3242
+ }, [b, a]), /* @__PURE__ */ M("div", {
3200
3243
  className: [
3201
- tr.composer,
3202
- tr[`composer--${e}`],
3203
- u ?? ""
3244
+ ar.composer,
3245
+ ar[`composer--${e}`],
3246
+ l ?? ""
3204
3247
  ].filter(Boolean).join(" "),
3205
3248
  children: [
3206
3249
  e === "uploading" && /* @__PURE__ */ M("div", {
3207
- className: tr.upload,
3250
+ className: ar.upload,
3208
3251
  children: [
3209
3252
  /* @__PURE__ */ j(_, {
3210
3253
  size: 16,
3211
3254
  strokeWidth: N(16),
3212
- className: tr.upload__icon,
3255
+ className: ar.upload__icon,
3213
3256
  "aria-hidden": "true"
3214
3257
  }),
3215
3258
  /* @__PURE__ */ M("div", {
3216
- className: tr.upload__body,
3259
+ className: ar.upload__body,
3217
3260
  children: [/* @__PURE__ */ j("span", {
3218
- className: tr.upload__name,
3219
- children: s
3261
+ className: ar.upload__name,
3262
+ children: o
3220
3263
  }), /* @__PURE__ */ j("div", {
3221
- className: tr.upload__track,
3264
+ className: ar.upload__track,
3222
3265
  children: /* @__PURE__ */ j("div", {
3223
- className: tr.upload__fill,
3224
- style: { width: `${c}%` }
3266
+ className: ar.upload__fill,
3267
+ style: { width: `${s}%` }
3225
3268
  })
3226
3269
  })]
3227
3270
  }),
3228
3271
  /* @__PURE__ */ j(Ve, {
3229
- icon: a,
3272
+ icon: d,
3230
3273
  variant: "ghost",
3231
3274
  size: "md",
3232
- onClick: l,
3275
+ onClick: c,
3233
3276
  "aria-label": "Cancel upload"
3234
3277
  })
3235
3278
  ]
@@ -3314,23 +3357,23 @@ var Xn = ({ children: e, style: t, ...n }) => {
3314
3357
  style: { display: "none" }
3315
3358
  }),
3316
3359
  /* @__PURE__ */ M("div", {
3317
- className: tr.row,
3360
+ className: ar.row,
3318
3361
  children: [
3319
3362
  /* @__PURE__ */ j(Ve, {
3320
3363
  icon: v,
3321
3364
  variant: "ghost",
3322
3365
  size: "sm",
3323
3366
  onClick: te,
3324
- disabled: d,
3367
+ disabled: u,
3325
3368
  "aria-label": "Attach file"
3326
3369
  }),
3327
3370
  /* @__PURE__ */ j("input", {
3328
3371
  ref: S,
3329
3372
  type: "text",
3330
- className: tr.input,
3373
+ className: ar.input,
3331
3374
  value: O,
3332
- placeholder: d ? "You can't reply to this conversation" : n,
3333
- disabled: d,
3375
+ placeholder: u ? "You can't reply to this conversation" : n,
3376
+ disabled: u,
3334
3377
  onChange: (e) => {
3335
3378
  t === void 0 && p(e.target.value), r?.(e.target.value);
3336
3379
  },
@@ -3344,10 +3387,10 @@ var Xn = ({ children: e, style: t, ...n }) => {
3344
3387
  variant: "ghost",
3345
3388
  size: "sm",
3346
3389
  onClick: ie,
3347
- disabled: d,
3390
+ disabled: u,
3348
3391
  "aria-label": "Add emoji"
3349
3392
  }),
3350
- m && !d && we.createPortal(/* @__PURE__ */ j("div", {
3393
+ m && !u && we.createPortal(/* @__PURE__ */ j("div", {
3351
3394
  ref: D,
3352
3395
  style: {
3353
3396
  position: "fixed",
@@ -3413,7 +3456,7 @@ var Xn = ({ children: e, style: t, ...n }) => {
3413
3456
  })
3414
3457
  ]
3415
3458
  });
3416
- }, rr = {
3459
+ }, sr = {
3417
3460
  wrapper: "_wrapper_1nmcn_3",
3418
3461
  "wrapper--disabled": "_wrapper--disabled_1nmcn_11",
3419
3462
  input: "_input_1nmcn_14",
@@ -3425,16 +3468,16 @@ var Xn = ({ children: e, style: t, ...n }) => {
3425
3468
  text__description: "_text__description_1nmcn_73",
3426
3469
  checkbox: "_checkbox_1nmcn_77",
3427
3470
  "wrapper--withDescription": "_wrapper--withDescription_1nmcn_81"
3428
- }, ir = k.forwardRef(({ label: e, description: t, indeterminate: n, disabled: r, id: i, className: a, ...o }, s) => {
3471
+ }, cr = k.forwardRef(({ label: e, description: t, indeterminate: n, disabled: r, id: i, className: a, ...o }, s) => {
3429
3472
  let c = k.useId(), l = i ?? c, u = k.useRef(null);
3430
3473
  return k.useImperativeHandle(s, () => u.current), k.useEffect(() => {
3431
3474
  u.current && (u.current.indeterminate = !!n);
3432
3475
  }, [n]), /* @__PURE__ */ M("label", {
3433
3476
  htmlFor: l,
3434
3477
  className: [
3435
- rr.wrapper,
3436
- t ? rr["wrapper--withDescription"] : "",
3437
- r ? rr["wrapper--disabled"] : "",
3478
+ sr.wrapper,
3479
+ t ? sr["wrapper--withDescription"] : "",
3480
+ r ? sr["wrapper--disabled"] : "",
3438
3481
  a ?? ""
3439
3482
  ].filter(Boolean).join(" "),
3440
3483
  children: [
@@ -3443,14 +3486,14 @@ var Xn = ({ children: e, style: t, ...n }) => {
3443
3486
  id: l,
3444
3487
  type: "checkbox",
3445
3488
  disabled: r,
3446
- className: rr.input,
3489
+ className: sr.input,
3447
3490
  ...o
3448
3491
  }),
3449
3492
  /* @__PURE__ */ M("span", {
3450
- className: rr.box,
3493
+ className: sr.box,
3451
3494
  "aria-hidden": "true",
3452
3495
  children: [/* @__PURE__ */ j("svg", {
3453
- className: rr.check,
3496
+ className: sr.check,
3454
3497
  width: 12,
3455
3498
  height: 12,
3456
3499
  viewBox: "0 0 24 24",
@@ -3460,23 +3503,23 @@ var Xn = ({ children: e, style: t, ...n }) => {
3460
3503
  strokeLinecap: "round",
3461
3504
  strokeLinejoin: "round",
3462
3505
  children: /* @__PURE__ */ j("polyline", { points: "20 6 9 17 4 12" })
3463
- }), /* @__PURE__ */ j("span", { className: rr.dash })]
3506
+ }), /* @__PURE__ */ j("span", { className: sr.dash })]
3464
3507
  }),
3465
3508
  (e || t) && /* @__PURE__ */ M("span", {
3466
- className: rr.text,
3509
+ className: sr.text,
3467
3510
  children: [e && /* @__PURE__ */ j("span", {
3468
- className: rr.text__label,
3511
+ className: sr.text__label,
3469
3512
  children: e
3470
3513
  }), t && /* @__PURE__ */ j("span", {
3471
- className: rr.text__description,
3514
+ className: sr.text__description,
3472
3515
  children: t
3473
3516
  })]
3474
3517
  })
3475
3518
  ]
3476
3519
  });
3477
3520
  });
3478
- ir.displayName = "Checkbox";
3479
- var J = {
3521
+ cr.displayName = "Checkbox";
3522
+ var q = {
3480
3523
  item: "_item_1bf0e_2",
3481
3524
  "item--hover": "_item--hover_1bf0e_12",
3482
3525
  "item--active": "_item--active_1bf0e_13",
@@ -3491,7 +3534,7 @@ var J = {
3491
3534
  item__preview: "_item__preview_1bf0e_31",
3492
3535
  item__typing: "_item__typing_1bf0e_36",
3493
3536
  item__badge: "_item__badge_1bf0e_37"
3494
- }, ar = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: i, unreadCount: a, onClick: o, className: s }) => /* @__PURE__ */ M("div", {
3537
+ }, lr = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: i, unreadCount: a, onClick: o, className: s }) => /* @__PURE__ */ M("div", {
3495
3538
  role: "button",
3496
3539
  "data-hover-item": "",
3497
3540
  tabIndex: 0,
@@ -3501,56 +3544,56 @@ var J = {
3501
3544
  },
3502
3545
  "aria-current": e === "active" || void 0,
3503
3546
  className: [
3504
- J.item,
3505
- J[`item--${e}`],
3547
+ q.item,
3548
+ q[`item--${e}`],
3506
3549
  s ?? ""
3507
3550
  ].filter(Boolean).join(" "),
3508
3551
  children: [/* @__PURE__ */ M("span", {
3509
- className: J.item__avatar,
3552
+ className: q.item__avatar,
3510
3553
  children: [t, e !== "muted" && /* @__PURE__ */ j("span", {
3511
- className: J.item__presence,
3554
+ className: q.item__presence,
3512
3555
  "aria-hidden": "true"
3513
3556
  })]
3514
3557
  }), /* @__PURE__ */ M("span", {
3515
- className: J.item__body,
3558
+ className: q.item__body,
3516
3559
  children: [/* @__PURE__ */ M("span", {
3517
- className: J.item__row,
3560
+ className: q.item__row,
3518
3561
  children: [
3519
3562
  /* @__PURE__ */ j("span", {
3520
- className: J.item__name,
3563
+ className: q.item__name,
3521
3564
  children: n
3522
3565
  }),
3523
3566
  e === "muted" && /* @__PURE__ */ j(g, {
3524
3567
  size: 12,
3525
3568
  strokeWidth: N(12),
3526
- className: J.item__mute,
3569
+ className: q.item__mute,
3527
3570
  "aria-hidden": "true"
3528
3571
  }),
3529
3572
  r && /* @__PURE__ */ j("span", {
3530
- className: J.item__time,
3573
+ className: q.item__time,
3531
3574
  children: r
3532
3575
  })
3533
3576
  ]
3534
3577
  }), /* @__PURE__ */ M("span", {
3535
- className: J.item__row,
3578
+ className: q.item__row,
3536
3579
  children: [e === "typing" ? /* @__PURE__ */ j("span", {
3537
- className: J.item__typing,
3580
+ className: q.item__typing,
3538
3581
  children: "typing..."
3539
3582
  }) : /* @__PURE__ */ j("span", {
3540
- className: J.item__preview,
3583
+ className: q.item__preview,
3541
3584
  children: i
3542
3585
  }), e === "unread" && a != null && /* @__PURE__ */ j("span", {
3543
- className: J.item__badge,
3586
+ className: q.item__badge,
3544
3587
  children: a
3545
3588
  })]
3546
3589
  })]
3547
3590
  })]
3548
- }), or = {
3591
+ }), ur = {
3549
3592
  chart: "_chart_aiboa_2",
3550
3593
  center: "_center_aiboa_26",
3551
3594
  center__value: "_center__value_aiboa_35",
3552
3595
  center__caption: "_center__caption_aiboa_36"
3553
- }, sr = {
3596
+ }, dr = {
3554
3597
  sm: {
3555
3598
  h: 180,
3556
3599
  inner: 50,
@@ -3571,7 +3614,7 @@ var J = {
3571
3614
  inner: 98,
3572
3615
  outer: 142
3573
3616
  }
3574
- }, cr = ({ data: e, size: t = "md", centerValue: n, centerCaption: r, height: i, className: a }) => {
3617
+ }, fr = ({ data: e, size: t = "md", centerValue: n, centerCaption: r, height: i, className: a }) => {
3575
3618
  let [o, s] = k.useState(null), [c, l] = k.useState(null), u = (e) => {
3576
3619
  let t = e.currentTarget.getBoundingClientRect();
3577
3620
  l({
@@ -3585,12 +3628,12 @@ var J = {
3585
3628
  4,
3586
3629
  5
3587
3630
  ].map((e) => f(`--color-chart-${e}`) ?? Lt[e - 1]), m = {
3588
- ...sr[t],
3589
- h: i ?? sr[t].h
3631
+ ...dr[t],
3632
+ h: i ?? dr[t].h
3590
3633
  }, h = (m.outer - m.inner) / 2 - 7;
3591
3634
  return /* @__PURE__ */ M("div", {
3592
3635
  ref: d,
3593
- className: [or.chart, a ?? ""].filter(Boolean).join(" "),
3636
+ className: [ur.chart, a ?? ""].filter(Boolean).join(" "),
3594
3637
  style: { height: m.h },
3595
3638
  onMouseMove: u,
3596
3639
  children: [/* @__PURE__ */ j(be, {
@@ -3620,24 +3663,24 @@ var J = {
3620
3663
  position: c ?? void 0
3621
3664
  })] })
3622
3665
  }), (n || r) && /* @__PURE__ */ M("div", {
3623
- className: or.center,
3666
+ className: ur.center,
3624
3667
  children: [n && /* @__PURE__ */ j("span", {
3625
- className: or.center__value,
3668
+ className: ur.center__value,
3626
3669
  children: n
3627
3670
  }), r && /* @__PURE__ */ j("span", {
3628
- className: or.center__caption,
3671
+ className: ur.center__caption,
3629
3672
  children: r
3630
3673
  })]
3631
3674
  })]
3632
3675
  });
3633
- }, lr = {
3676
+ }, pr = {
3634
3677
  empty: "_empty_1mj0f_2",
3635
3678
  empty__chip: "_empty__chip_1mj0f_12",
3636
3679
  "empty__chip--error": "_empty__chip--error_1mj0f_22",
3637
3680
  empty__title: "_empty__title_1mj0f_23",
3638
3681
  empty__desc: "_empty__desc_1mj0f_31",
3639
3682
  empty__action: "_empty__action_1mj0f_39"
3640
- }, ur = {
3683
+ }, mr = {
3641
3684
  "no-data": {
3642
3685
  icon: /* @__PURE__ */ j(te, {
3643
3686
  size: 18,
@@ -3647,7 +3690,7 @@ var J = {
3647
3690
  description: "Records will appear here once they are added."
3648
3691
  },
3649
3692
  "no-results": {
3650
- icon: /* @__PURE__ */ j(p, {
3693
+ icon: /* @__PURE__ */ j(re, {
3651
3694
  size: 18,
3652
3695
  strokeWidth: N(18)
3653
3696
  }),
@@ -3662,35 +3705,35 @@ var J = {
3662
3705
  title: "Couldn't load data",
3663
3706
  description: "Something went wrong while fetching records."
3664
3707
  }
3665
- }, dr = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: i, icon: a, className: o }) => {
3666
- let s = ur[e];
3708
+ }, hr = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: i, icon: a, className: o }) => {
3709
+ let s = mr[e];
3667
3710
  return /* @__PURE__ */ M("div", {
3668
- className: [lr.empty, o ?? ""].filter(Boolean).join(" "),
3711
+ className: [pr.empty, o ?? ""].filter(Boolean).join(" "),
3669
3712
  role: "status",
3670
3713
  children: [
3671
3714
  /* @__PURE__ */ j("span", {
3672
- className: [lr.empty__chip, lr[`empty__chip--${e}`]].join(" "),
3715
+ className: [pr.empty__chip, pr[`empty__chip--${e}`]].join(" "),
3673
3716
  "aria-hidden": "true",
3674
3717
  children: a ?? s.icon
3675
3718
  }),
3676
3719
  /* @__PURE__ */ j("p", {
3677
- className: lr.empty__title,
3720
+ className: pr.empty__title,
3678
3721
  children: t ?? s.title
3679
3722
  }),
3680
3723
  /* @__PURE__ */ j("p", {
3681
- className: lr.empty__desc,
3724
+ className: pr.empty__desc,
3682
3725
  children: n ?? s.description
3683
3726
  }),
3684
3727
  r && /* @__PURE__ */ j(F, {
3685
3728
  variant: "outline",
3686
3729
  size: "sm",
3687
- className: lr.empty__action,
3730
+ className: pr.empty__action,
3688
3731
  onClick: i,
3689
3732
  children: r
3690
3733
  })
3691
3734
  ]
3692
3735
  });
3693
- }, fr = {
3736
+ }, gr = {
3694
3737
  chip: "_chip_1qnyq_2",
3695
3738
  chip__lead: "_chip__lead_1qnyq_20",
3696
3739
  chip__trail: "_chip__trail_1qnyq_20",
@@ -3698,54 +3741,54 @@ var J = {
3698
3741
  chip__remove: "_chip__remove_1qnyq_29",
3699
3742
  "chip--add": "_chip--add_1qnyq_38",
3700
3743
  "chip--leaving": "_chip--leaving_1qnyq_45"
3701
- }, pr = 160, mr = () => typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches, hr = ({ type: e = "default", children: t, onClick: n, onRemove: i, className: o }) => {
3702
- let [s, c] = k.useState(!1), u = k.useRef(void 0);
3703
- k.useEffect(() => () => window.clearTimeout(u.current), []);
3704
- let d = () => {
3705
- if (!s) {
3706
- if (mr()) {
3744
+ }, _r = 160, vr = () => typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches, yr = ({ type: t = "default", children: n, onClick: r, onRemove: i, className: a }) => {
3745
+ let [o, s] = k.useState(!1), c = k.useRef(void 0);
3746
+ k.useEffect(() => () => window.clearTimeout(c.current), []);
3747
+ let u = () => {
3748
+ if (!o) {
3749
+ if (vr()) {
3707
3750
  i?.();
3708
3751
  return;
3709
3752
  }
3710
- c(!0), u.current = window.setTimeout(() => {
3711
- i?.(), c(!1);
3712
- }, pr);
3753
+ s(!0), c.current = window.setTimeout(() => {
3754
+ i?.(), s(!1);
3755
+ }, _r);
3713
3756
  }
3714
3757
  };
3715
3758
  return /* @__PURE__ */ M("button", {
3716
3759
  type: "button",
3717
- onClick: n,
3760
+ onClick: r,
3718
3761
  className: [
3719
- fr.chip,
3720
- fr[`chip--${e}`],
3721
- s ? fr["chip--leaving"] : "",
3722
- o ?? ""
3762
+ gr.chip,
3763
+ gr[`chip--${t}`],
3764
+ o ? gr["chip--leaving"] : "",
3765
+ a ?? ""
3723
3766
  ].filter(Boolean).join(" "),
3724
3767
  children: [
3725
- e === "add" && /* @__PURE__ */ j(r, {
3768
+ t === "add" && /* @__PURE__ */ j(l, {
3726
3769
  size: 14,
3727
3770
  strokeWidth: N(14),
3728
- className: fr.chip__lead,
3771
+ className: gr.chip__lead,
3729
3772
  "aria-hidden": "true"
3730
3773
  }),
3731
3774
  /* @__PURE__ */ j("span", {
3732
- className: fr.chip__label,
3733
- children: t
3775
+ className: gr.chip__label,
3776
+ children: n
3734
3777
  }),
3735
- e === "default" && /* @__PURE__ */ j(l, {
3778
+ t === "default" && /* @__PURE__ */ j(e, {
3736
3779
  size: 14,
3737
3780
  strokeWidth: N(14),
3738
- className: fr.chip__trail,
3781
+ className: gr.chip__trail,
3739
3782
  "aria-hidden": "true"
3740
3783
  }),
3741
- e === "active" && /* @__PURE__ */ j("span", {
3784
+ t === "active" && /* @__PURE__ */ j("span", {
3742
3785
  role: "button",
3743
3786
  "aria-label": "Remove filter",
3744
- className: fr.chip__remove,
3787
+ className: gr.chip__remove,
3745
3788
  onClick: (e) => {
3746
- e.stopPropagation(), d();
3789
+ e.stopPropagation(), u();
3747
3790
  },
3748
- children: /* @__PURE__ */ j(a, {
3791
+ children: /* @__PURE__ */ j(d, {
3749
3792
  size: 14,
3750
3793
  strokeWidth: N(14),
3751
3794
  "aria-hidden": "true"
@@ -3753,83 +3796,144 @@ var J = {
3753
3796
  })
3754
3797
  ]
3755
3798
  });
3756
- }, gr = {
3757
- field: "_field_1nyia_10",
3758
- field__label: "_field__label_1nyia_18",
3759
- field__description: "_field__description_1nyia_26",
3760
- field__error: "_field__error_1nyia_31",
3761
- input: "_input_1nyia_38",
3762
- "input--sm": "_input--sm_1nyia_51",
3763
- "input--md": "_input--md_1nyia_52",
3764
- "input--lg": "_input--lg_1nyia_53",
3765
- "input--error": "_input--error_1nyia_67",
3766
- "input--disabled": "_input--disabled_1nyia_74",
3767
- input__control: "_input__control_1nyia_81",
3768
- input__icon: "_input__icon_1nyia_110",
3769
- "input--unstyled": "_input--unstyled_1nyia_120"
3770
- }, _r = 16, vr = (e) => k.isValidElement(e) ? k.cloneElement(e, {
3771
- size: _r,
3772
- strokeWidth: N(_r)
3773
- }) : e, yr = k.forwardRef(({ label: e, description: t, error: n, size: r = "md", unstyled: i, leadingIcon: a, trailingIcon: o, disabled: s, id: c, className: l, ...u }, d) => {
3774
- let f = k.useId(), p = c ?? f, m = !!n;
3799
+ }, br = {
3800
+ glow: "_glow_1937c_6",
3801
+ ring: "_ring_1937c_7",
3802
+ glow__line: "_glow__line_1937c_30",
3803
+ glow__bloom: "_glow__bloom_1937c_31",
3804
+ glow__ring: "_glow__ring_1937c_35",
3805
+ glow__light: "_glow__light_1937c_62",
3806
+ "glow--pulse": "_glow--pulse_1937c_104",
3807
+ "ai-glow-pulse": "_ai-glow-pulse_1937c_1",
3808
+ "glow--focus": "_glow--focus_1937c_107",
3809
+ "ai-glow-once": "_ai-glow-once_1937c_1"
3810
+ }, xr = [
3811
+ 0,
3812
+ 1,
3813
+ 2,
3814
+ 3,
3815
+ 4,
3816
+ 5,
3817
+ 6,
3818
+ 7,
3819
+ 8
3820
+ ];
3821
+ function Sr() {
3822
+ return /* @__PURE__ */ j(A, { children: xr.map((e) => /* @__PURE__ */ j("span", {
3823
+ className: br.glow__light,
3824
+ style: { "--i": e }
3825
+ }, e)) });
3826
+ }
3827
+ var Cr = ({ mode: e }) => e === "off" ? null : /* @__PURE__ */ M("span", {
3828
+ className: `${br.glow} ${br[`glow--${e}`]}`,
3829
+ "aria-hidden": "true",
3830
+ children: [/* @__PURE__ */ j("span", {
3831
+ className: br.glow__bloom,
3832
+ children: /* @__PURE__ */ j("span", {
3833
+ className: br.glow__ring,
3834
+ children: /* @__PURE__ */ j(Sr, {})
3835
+ })
3836
+ }), /* @__PURE__ */ j("span", {
3837
+ className: br.glow__line,
3838
+ children: /* @__PURE__ */ j("span", {
3839
+ className: br.glow__ring,
3840
+ children: /* @__PURE__ */ j(Sr, {})
3841
+ })
3842
+ })]
3843
+ }), wr = () => /* @__PURE__ */ j("span", {
3844
+ className: br.ring,
3845
+ "aria-hidden": "true"
3846
+ }), J = {
3847
+ field: "_field_h6i7e_10",
3848
+ field__label: "_field__label_h6i7e_18",
3849
+ field__description: "_field__description_h6i7e_26",
3850
+ field__error: "_field__error_h6i7e_31",
3851
+ input: "_input_h6i7e_38",
3852
+ "input--sm": "_input--sm_h6i7e_51",
3853
+ "input--md": "_input--md_h6i7e_52",
3854
+ "input--lg": "_input--lg_h6i7e_53",
3855
+ "input--error": "_input--error_h6i7e_67",
3856
+ "input--disabled": "_input--disabled_h6i7e_74",
3857
+ input__control: "_input__control_h6i7e_81",
3858
+ input__icon: "_input__icon_h6i7e_110",
3859
+ "input--unstyled": "_input--unstyled_h6i7e_120",
3860
+ "input--ai": "_input--ai_h6i7e_134",
3861
+ "input--aiLeading": "_input--aiLeading_h6i7e_147",
3862
+ input__actions: "_input__actions_h6i7e_148"
3863
+ }, Tr = 16, Er = (e) => k.isValidElement(e) ? k.cloneElement(e, {
3864
+ size: Tr,
3865
+ strokeWidth: N(Tr)
3866
+ }) : e, Dr = k.forwardRef(({ label: e, description: t, error: n, size: r = "md", unstyled: i, leadingIcon: a, trailingIcon: o, variant: s = "default", glow: c = "pulse", leading: l, trailing: u, disabled: d, id: f, className: p, ...m }, h) => {
3867
+ let g = k.useId(), _ = f ?? g, v = !!n, y = s === "ai";
3775
3868
  return /* @__PURE__ */ M("div", {
3776
- className: [gr.field, l ?? ""].filter(Boolean).join(" "),
3869
+ className: [J.field, p ?? ""].filter(Boolean).join(" "),
3777
3870
  children: [
3778
3871
  e && /* @__PURE__ */ j("label", {
3779
- htmlFor: p,
3780
- className: gr.field__label,
3872
+ htmlFor: _,
3873
+ className: J.field__label,
3781
3874
  children: e
3782
3875
  }),
3783
3876
  /* @__PURE__ */ M("div", {
3784
3877
  className: [
3785
- gr.input,
3786
- gr[`input--${r}`],
3787
- m ? gr["input--error"] : "",
3788
- s ? gr["input--disabled"] : ""
3878
+ J.input,
3879
+ J[`input--${r}`],
3880
+ y ? J["input--ai"] : "",
3881
+ y && l ? J["input--aiLeading"] : "",
3882
+ v ? J["input--error"] : "",
3883
+ d ? J["input--disabled"] : ""
3789
3884
  ].filter(Boolean).join(" "),
3790
3885
  children: [
3886
+ y && /* @__PURE__ */ j(Cr, { mode: d ? "off" : c }),
3887
+ y && l && /* @__PURE__ */ j("span", {
3888
+ className: J.input__actions,
3889
+ children: l
3890
+ }),
3791
3891
  a && /* @__PURE__ */ j("span", {
3792
- className: gr.input__icon,
3892
+ className: J.input__icon,
3793
3893
  "aria-hidden": "true",
3794
- children: vr(a)
3894
+ children: Er(a)
3795
3895
  }),
3796
3896
  /* @__PURE__ */ j("input", {
3797
- ref: d,
3798
- id: p,
3799
- className: gr.input__control,
3800
- disabled: s,
3801
- "aria-invalid": m || void 0,
3802
- "aria-describedby": t || n ? `${p}-desc` : void 0,
3803
- ...u
3897
+ ref: h,
3898
+ id: _,
3899
+ className: J.input__control,
3900
+ disabled: d,
3901
+ "aria-invalid": v || void 0,
3902
+ "aria-describedby": t || n ? `${_}-desc` : void 0,
3903
+ ...m
3804
3904
  }),
3805
3905
  o && /* @__PURE__ */ j("span", {
3806
- className: gr.input__icon,
3906
+ className: J.input__icon,
3807
3907
  "aria-hidden": "true",
3808
- children: vr(o)
3908
+ children: Er(o)
3909
+ }),
3910
+ y && u && /* @__PURE__ */ j("span", {
3911
+ className: J.input__actions,
3912
+ children: u
3809
3913
  })
3810
3914
  ]
3811
3915
  }),
3812
3916
  (t || n) && /* @__PURE__ */ j("span", {
3813
- id: `${p}-desc`,
3814
- className: m ? gr.field__error : gr.field__description,
3917
+ id: `${_}-desc`,
3918
+ className: v ? J.field__error : J.field__description,
3815
3919
  children: n || t
3816
3920
  })
3817
3921
  ]
3818
3922
  });
3819
3923
  });
3820
- yr.displayName = "Input";
3821
- var br = { chart: "_chart_18fgd_2" }, xr = {
3924
+ Dr.displayName = "Input";
3925
+ var Or = { chart: "_chart_18fgd_2" }, kr = {
3822
3926
  sm: 180,
3823
3927
  md: 240,
3824
3928
  lg: 320,
3825
3929
  xl: 420
3826
- }, Sr = /* @__PURE__ */ new Set([
3930
+ }, Ar = /* @__PURE__ */ new Set([
3827
3931
  "dots",
3828
3932
  "custom-dots",
3829
3933
  "dots-colors",
3830
3934
  "label",
3831
3935
  "custom-label"
3832
- ]), Cr = ({ data: e, series: t, xKey: n = "label", variant: r = "default", labelKey: i, size: a = "md", height: o, showLegend: s, className: c }) => {
3936
+ ]), jr = ({ data: e, series: t, xKey: n = "label", variant: r = "default", labelKey: i, size: a = "md", height: o, showLegend: s, className: c }) => {
3833
3937
  let l = k.useRef(null), u = It(l), d = [
3834
3938
  1,
3835
3939
  2,
@@ -3840,7 +3944,7 @@ var br = { chart: "_chart_18fgd_2" }, xr = {
3840
3944
  d[1],
3841
3945
  d[0],
3842
3946
  ...d.slice(2)
3843
- ], p = u("--color-border-subtle") ?? "#e7e5e1", m = u("--color-fg-muted") ?? "#78716a", h = u("--color-bg-canvas") ?? "#fafaf9", g = u("--color-fg-default") ?? "#141414", _ = r === "linear" ? "linear" : r === "step" ? "step" : "monotone", v = Sr.has(r), y = (e) => (t) => {
3947
+ ], p = u("--color-border-subtle") ?? "#e7e5e1", m = u("--color-fg-muted") ?? "#78716a", h = u("--color-bg-canvas") ?? "#fafaf9", g = u("--color-fg-default") ?? "#141414", _ = r === "linear" ? "linear" : r === "step" ? "step" : "monotone", v = Ar.has(r), y = (e) => (t) => {
3844
3948
  let { cx: n, cy: r } = t;
3845
3949
  return /* @__PURE__ */ M("g", {
3846
3950
  stroke: e,
@@ -3893,10 +3997,10 @@ var br = { chart: "_chart_18fgd_2" }, xr = {
3893
3997
  };
3894
3998
  return /* @__PURE__ */ j("div", {
3895
3999
  ref: l,
3896
- className: [br.chart, c ?? ""].filter(Boolean).join(" "),
4000
+ className: [Or.chart, c ?? ""].filter(Boolean).join(" "),
3897
4001
  children: /* @__PURE__ */ j(be, {
3898
4002
  width: "100%",
3899
- height: o ?? xr[a],
4003
+ height: o ?? kr[a],
3900
4004
  children: /* @__PURE__ */ M(pe, {
3901
4005
  data: e,
3902
4006
  margin: {
@@ -3957,24 +4061,24 @@ var br = { chart: "_chart_18fgd_2" }, xr = {
3957
4061
  })
3958
4062
  })
3959
4063
  });
3960
- }, wr = {
4064
+ }, Mr = {
3961
4065
  menu: "_menu_1cx61_2",
3962
4066
  divider: "_divider_1cx61_26"
3963
- }, Tr = ({ children: e, minWidth: t = 208, className: n, ...r }) => {
3964
- let i = Yn();
4067
+ }, Nr = ({ children: e, minWidth: t = 208, className: n, ...r }) => {
4068
+ let i = Zn();
3965
4069
  return /* @__PURE__ */ M("div", {
3966
4070
  ref: i.ref,
3967
4071
  ...i.groupProps,
3968
4072
  role: "menu",
3969
4073
  "aria-label": r["aria-label"],
3970
4074
  style: { minWidth: t },
3971
- className: [wr.menu, n ?? ""].filter(Boolean).join(" "),
4075
+ className: [Mr.menu, n ?? ""].filter(Boolean).join(" "),
3972
4076
  children: [i.highlight, e]
3973
4077
  });
3974
- }, Er = () => /* @__PURE__ */ j("div", {
3975
- className: wr.divider,
4078
+ }, Pr = () => /* @__PURE__ */ j("div", {
4079
+ className: Mr.divider,
3976
4080
  role: "separator"
3977
- }), Dr = {
4081
+ }), Fr = {
3978
4082
  item: "_item_1ezjp_2",
3979
4083
  item__icon: "_item__icon_1ezjp_27",
3980
4084
  item__label: "_item__label_1ezjp_28",
@@ -3983,41 +4087,41 @@ var br = { chart: "_chart_18fgd_2" }, xr = {
3983
4087
  "item--checked": "_item--checked_1ezjp_38",
3984
4088
  "item--disabled": "_item--disabled_1ezjp_39",
3985
4089
  "item--destructive": "_item--destructive_1ezjp_40"
3986
- }, Or = ({ state: t = "default", icon: n, shortcut: r, children: i, onSelect: a, className: o }) => {
3987
- let s = t === "disabled";
4090
+ }, Ir = ({ state: e = "default", icon: t, shortcut: n, children: r, onSelect: i, className: a }) => {
4091
+ let o = e === "disabled";
3988
4092
  return /* @__PURE__ */ M("div", {
3989
4093
  role: "menuitem",
3990
4094
  "data-hover-item": "",
3991
- "aria-disabled": s || void 0,
3992
- "aria-checked": t === "checked" || void 0,
3993
- tabIndex: s ? -1 : 0,
3994
- onClick: s ? void 0 : a,
4095
+ "aria-disabled": o || void 0,
4096
+ "aria-checked": e === "checked" || void 0,
4097
+ tabIndex: o ? -1 : 0,
4098
+ onClick: o ? void 0 : i,
3995
4099
  onKeyDown: (e) => {
3996
- s || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), a?.());
4100
+ o || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), i?.());
3997
4101
  },
3998
4102
  className: [
3999
- Dr.item,
4000
- Dr[`item--${t}`],
4001
- o ?? ""
4103
+ Fr.item,
4104
+ Fr[`item--${e}`],
4105
+ a ?? ""
4002
4106
  ].filter(Boolean).join(" "),
4003
4107
  children: [
4004
- n && /* @__PURE__ */ j("span", {
4005
- className: Dr.item__icon,
4108
+ t && /* @__PURE__ */ j("span", {
4109
+ className: Fr.item__icon,
4006
4110
  "aria-hidden": "true",
4007
- children: n
4111
+ children: t
4008
4112
  }),
4009
4113
  /* @__PURE__ */ j("span", {
4010
- className: Dr.item__label,
4011
- children: i
4012
- }),
4013
- r && /* @__PURE__ */ j("kbd", {
4014
- className: Dr.item__shortcut,
4114
+ className: Fr.item__label,
4015
4115
  children: r
4016
4116
  }),
4017
- t === "checked" && /* @__PURE__ */ j(e, {
4117
+ n && /* @__PURE__ */ j("kbd", {
4118
+ className: Fr.item__shortcut,
4119
+ children: n
4120
+ }),
4121
+ e === "checked" && /* @__PURE__ */ j(s, {
4018
4122
  size: 16,
4019
4123
  strokeWidth: N(16),
4020
- className: Dr.item__check,
4124
+ className: Fr.item__check,
4021
4125
  "aria-hidden": "true"
4022
4126
  })
4023
4127
  ]
@@ -4046,7 +4150,7 @@ var br = { chart: "_chart_18fgd_2" }, xr = {
4046
4150
  foot__receipt: "_foot__receipt_1q1m5_32",
4047
4151
  system: "_system_1q1m5_34",
4048
4152
  system__pill: "_system__pill_1q1m5_35"
4049
- }, kr = ({ type: e = "received", content: t = "text", avatar: n, authorName: r, timestamp: i, children: a, image: o, fileName: s, fileSize: c, reactions: l, read: u, className: d }) => {
4153
+ }, Lr = ({ type: e = "received", content: t = "text", avatar: n, authorName: r, timestamp: i, children: a, image: o, fileName: s, fileSize: c, reactions: l, read: u, className: d }) => {
4050
4154
  if (e === "system") return /* @__PURE__ */ j("div", {
4051
4155
  className: [Y.system, d ?? ""].filter(Boolean).join(" "),
4052
4156
  children: /* @__PURE__ */ j("span", {
@@ -4132,19 +4236,19 @@ var br = { chart: "_chart_18fgd_2" }, xr = {
4132
4236
  ]
4133
4237
  })]
4134
4238
  });
4135
- }, Ar = {
4239
+ }, Rr = {
4136
4240
  pagination: "_pagination_e1j7r_2",
4137
4241
  page: "_page_e1j7r_9",
4138
4242
  arrow: "_arrow_e1j7r_9",
4139
4243
  "page--active": "_page--active_e1j7r_26",
4140
4244
  ellipsis: "_ellipsis_e1j7r_40"
4141
- }, jr = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
4142
- function Mr(e, t, n) {
4245
+ }, zr = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
4246
+ function Br(e, t, n) {
4143
4247
  let r = n * 2 + 5;
4144
- if (e <= r) return jr(1, e);
4248
+ if (e <= r) return zr(1, e);
4145
4249
  let i = r - 2, a = n * 2 + 1;
4146
4250
  if (t <= i) return [
4147
- ...jr(1, i),
4251
+ ...zr(1, i),
4148
4252
  "end-ellipsis",
4149
4253
  e
4150
4254
  ];
@@ -4152,19 +4256,19 @@ function Mr(e, t, n) {
4152
4256
  return s <= e - 3 ? [
4153
4257
  1,
4154
4258
  "start-ellipsis",
4155
- ...jr(o, s),
4259
+ ...zr(o, s),
4156
4260
  "end-ellipsis",
4157
4261
  e
4158
4262
  ] : [
4159
4263
  1,
4160
4264
  "start-ellipsis",
4161
- ...jr(e - i + 1, e)
4265
+ ...zr(e - i + 1, e)
4162
4266
  ];
4163
4267
  }
4164
- var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i }) => {
4268
+ var Vr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i }) => {
4165
4269
  let a = k.useRef(null);
4166
4270
  if (e < 1) return null;
4167
- let o = Math.min(Math.max(t, 1), e), s = Math.max(0, r), c = Mr(e, o, s), l = a.current;
4271
+ let o = Math.min(Math.max(t, 1), e), s = Math.max(0, r), c = Br(e, o, s), l = a.current;
4168
4272
  if (l && l.total === e && l.siblings === s) {
4169
4273
  let t = l.tokens, n = t.includes(o), r = o === 1 && t[1] === "start-ellipsis" || o === e && t[t.length - 2] === "end-ellipsis";
4170
4274
  n && !r && (c = t);
@@ -4174,53 +4278,53 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4174
4278
  siblings: s,
4175
4279
  tokens: c
4176
4280
  }, /* @__PURE__ */ M("nav", {
4177
- className: [Ar.pagination, i ?? ""].filter(Boolean).join(" "),
4281
+ className: [Rr.pagination, i ?? ""].filter(Boolean).join(" "),
4178
4282
  "aria-label": "Pagination",
4179
4283
  children: [
4180
4284
  /* @__PURE__ */ j("button", {
4181
4285
  type: "button",
4182
- className: Ar.arrow,
4286
+ className: Rr.arrow,
4183
4287
  disabled: o <= 1,
4184
4288
  onClick: () => n(o - 1),
4185
4289
  "aria-label": "Previous page",
4186
- children: /* @__PURE__ */ j(ie, {
4290
+ children: /* @__PURE__ */ j(ne, {
4187
4291
  size: 16,
4188
4292
  strokeWidth: N(16)
4189
4293
  })
4190
4294
  }),
4191
4295
  c.map((e) => typeof e == "number" ? /* @__PURE__ */ j("button", {
4192
4296
  type: "button",
4193
- className: [Ar.page, e === o ? Ar["page--active"] : ""].filter(Boolean).join(" "),
4297
+ className: [Rr.page, e === o ? Rr["page--active"] : ""].filter(Boolean).join(" "),
4194
4298
  "aria-current": e === o ? "page" : void 0,
4195
4299
  "aria-label": `Page ${e}`,
4196
4300
  onClick: () => e !== o && n(e),
4197
4301
  children: e
4198
4302
  }, e) : /* @__PURE__ */ j("span", {
4199
- className: Ar.ellipsis,
4303
+ className: Rr.ellipsis,
4200
4304
  "aria-hidden": "true",
4201
4305
  children: "…"
4202
4306
  }, e)),
4203
4307
  /* @__PURE__ */ j("button", {
4204
4308
  type: "button",
4205
- className: Ar.arrow,
4309
+ className: Rr.arrow,
4206
4310
  disabled: o >= e,
4207
4311
  onClick: () => n(o + 1),
4208
4312
  "aria-label": "Next page",
4209
- children: /* @__PURE__ */ j(ne, {
4313
+ children: /* @__PURE__ */ j(h, {
4210
4314
  size: 16,
4211
4315
  strokeWidth: N(16)
4212
4316
  })
4213
4317
  })
4214
4318
  ]
4215
4319
  });
4216
- }, Pr = {
4320
+ }, Hr = {
4217
4321
  track: "_track_1br5v_2",
4218
4322
  segment: "_segment_1br5v_12",
4219
4323
  "segment--active": "_segment--active_1br5v_38",
4220
4324
  thumb: "_thumb_1br5v_44",
4221
4325
  "thumb--animated": "_thumb--animated_1br5v_62",
4222
4326
  "track--fullWidth": "_track--fullWidth_1br5v_68"
4223
- }, Fr = ({ options: e, value: t, defaultValue: n, onChange: r, fullWidth: i, className: a }) => {
4327
+ }, Ur = ({ options: e, value: t, defaultValue: n, onChange: r, fullWidth: i, className: a }) => {
4224
4328
  let o = t !== void 0, [s, c] = k.useState(n ?? e[0]?.value), l = o ? t : s, u = (e) => {
4225
4329
  o || c(e), r?.(e);
4226
4330
  }, d = k.useRef(null), f = k.useRef({}), [p, m] = k.useState(null), [h, g] = k.useState(!1);
@@ -4241,13 +4345,13 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4241
4345
  ref: d,
4242
4346
  role: "tablist",
4243
4347
  className: [
4244
- Pr.track,
4245
- i ? Pr["track--fullWidth"] : "",
4348
+ Hr.track,
4349
+ i ? Hr["track--fullWidth"] : "",
4246
4350
  a ?? ""
4247
4351
  ].filter(Boolean).join(" "),
4248
4352
  children: [p && /* @__PURE__ */ j("span", {
4249
4353
  "aria-hidden": "true",
4250
- className: [Pr.thumb, h ? Pr["thumb--animated"] : ""].filter(Boolean).join(" "),
4354
+ className: [Hr.thumb, h ? Hr["thumb--animated"] : ""].filter(Boolean).join(" "),
4251
4355
  style: {
4252
4356
  transform: `translateX(${p.left}px)`,
4253
4357
  width: p.width
@@ -4261,7 +4365,7 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4261
4365
  role: "tab",
4262
4366
  type: "button",
4263
4367
  "aria-selected": t,
4264
- className: [Pr.segment, t ? Pr["segment--active"] : ""].filter(Boolean).join(" "),
4368
+ className: [Hr.segment, t ? Hr["segment--active"] : ""].filter(Boolean).join(" "),
4265
4369
  onClick: () => u(e.value),
4266
4370
  children: e.label
4267
4371
  }, e.value);
@@ -4297,7 +4401,7 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4297
4401
  option__check: "_option__check_1b512_179",
4298
4402
  optionHighlight: "_optionHighlight_1b512_151",
4299
4403
  "optionHighlight--animated": "_optionHighlight--animated_1b512_201"
4300
- }, Ir = ({ label: e, description: t, error: n, size: r = "md", placeholder: i = "Select an option", options: a, value: o, defaultValue: s, onChange: c, disabled: l, id: u, className: d }) => {
4404
+ }, Wr = ({ label: e, description: t, error: n, size: r = "md", placeholder: i = "Select an option", options: a, value: o, defaultValue: s, onChange: c, disabled: l, id: u, className: d }) => {
4301
4405
  let f = k.useId(), p = `${u ?? f}-trigger`, m = `${u ?? f}-panel`, h = !!n, [g, _] = k.useState(s), v = o === void 0 ? g : o, y = a.find((e) => e.value === v), [b, x] = k.useState(!1), [S, C] = k.useState(!1), [w, T] = k.useState(0), E = k.useRef(null), D = k.useRef(null), O = k.useRef(null), ee = k.useRef({}), [te, ne] = k.useState(null), [re, ie] = k.useState(!1);
4302
4406
  k.useLayoutEffect(() => {
4303
4407
  let e = ee.current[w];
@@ -4503,27 +4607,27 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4503
4607
  })
4504
4608
  ]
4505
4609
  });
4506
- }, Lr = {
4610
+ }, Gr = {
4507
4611
  sidebar: "_sidebar_alxv4_4",
4508
4612
  "sidebar--collapsed": "_sidebar--collapsed_alxv4_23"
4509
- }, Rr = ({ collapsed: e = !1, children: t, className: n }) => {
4510
- let r = Yn();
4613
+ }, Kr = ({ collapsed: e = !1, children: t, className: n }) => {
4614
+ let r = Zn();
4511
4615
  return /* @__PURE__ */ M("nav", {
4512
4616
  ref: r.ref,
4513
4617
  ...r.groupProps,
4514
4618
  className: [
4515
- Lr.sidebar,
4516
- e ? Lr["sidebar--collapsed"] : "",
4619
+ Gr.sidebar,
4620
+ e ? Gr["sidebar--collapsed"] : "",
4517
4621
  n ?? ""
4518
4622
  ].filter(Boolean).join(" "),
4519
4623
  "data-collapsed": e,
4520
4624
  children: [r.highlight, t]
4521
4625
  });
4522
- }, zr = { divider: "_divider_1oof5_1" }, Br = () => /* @__PURE__ */ j("div", {
4523
- className: zr.divider,
4626
+ }, qr = { divider: "_divider_1oof5_1" }, Jr = () => /* @__PURE__ */ j("div", {
4627
+ className: qr.divider,
4524
4628
  role: "separator"
4525
- }), Vr = { groupLabel: "_groupLabel_62q1j_2" }, Hr = ({ children: e }) => /* @__PURE__ */ j("div", {
4526
- className: Vr.groupLabel,
4629
+ }), Yr = { groupLabel: "_groupLabel_62q1j_2" }, Xr = ({ children: e }) => /* @__PURE__ */ j("div", {
4630
+ className: Yr.groupLabel,
4527
4631
  children: e
4528
4632
  }), Z = {
4529
4633
  header: "_header_wjged_2",
@@ -4539,7 +4643,7 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4539
4643
  "header__text--collapsed": "_header__text--collapsed_wjged_73",
4540
4644
  header__title: "_header__title_wjged_77",
4541
4645
  header__toggle: "_header__toggle_wjged_79"
4542
- }, Ur = ({ type: e = "brand", title: t, subtitle: n, logo: r, collapsed: i, onToggle: a, toggleIcon: o = y }) => /* @__PURE__ */ M("div", {
4646
+ }, Zr = ({ type: e = "brand", title: t, subtitle: n, logo: r, collapsed: i, onToggle: a, toggleIcon: o = y }) => /* @__PURE__ */ M("div", {
4543
4647
  className: [
4544
4648
  Z.header,
4545
4649
  e === "workspace" ? Z["header--workspace"] : "",
@@ -4602,7 +4706,7 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4602
4706
  })
4603
4707
  })
4604
4708
  ]
4605
- }), Wr = {
4709
+ }), Qr = {
4606
4710
  item: "_item_873gi_5",
4607
4711
  "item--disabled": "_item--disabled_873gi_37",
4608
4712
  "item--active": "_item--active_873gi_37",
@@ -4615,20 +4719,20 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4615
4719
  item__label: "_item__label_873gi_142",
4616
4720
  "item__label--collapsed": "_item__label--collapsed_873gi_151",
4617
4721
  "item__chevron--expanded": "_item__chevron--expanded_873gi_174"
4618
- }, Gr = ({ icon: e, label: t, active: n, activeIndicator: r = !0, disabled: i, badge: a, hasSubmenu: o, collapsed: s, expanded: c, onClick: l, href: u, nativeTooltip: d = !0 }) => {
4722
+ }, $r = ({ icon: e, label: t, active: n, activeIndicator: r = !0, disabled: i, badge: a, hasSubmenu: o, collapsed: s, expanded: c, onClick: l, href: u, nativeTooltip: d = !0 }) => {
4619
4723
  let f = n && r, p = n && !r, m = [
4620
- Wr.item,
4621
- f ? Wr["item--active"] : "",
4622
- p ? Wr["item--active-flat"] : "",
4623
- i ? Wr["item--disabled"] : "",
4624
- s ? Wr["item--collapsed"] : ""
4625
- ].filter(Boolean).join(" "), h = /* @__PURE__ */ M(A, { children: [
4724
+ Qr.item,
4725
+ f ? Qr["item--active"] : "",
4726
+ p ? Qr["item--active-flat"] : "",
4727
+ i ? Qr["item--disabled"] : "",
4728
+ s ? Qr["item--collapsed"] : ""
4729
+ ].filter(Boolean).join(" "), g = /* @__PURE__ */ M(A, { children: [
4626
4730
  /* @__PURE__ */ j("span", {
4627
- className: Wr.item__bar,
4731
+ className: Qr.item__bar,
4628
4732
  "aria-hidden": "true"
4629
4733
  }),
4630
4734
  e && /* @__PURE__ */ j("span", {
4631
- className: Wr.item__icon,
4735
+ className: Qr.item__icon,
4632
4736
  "aria-hidden": "true",
4633
4737
  children: /* @__PURE__ */ j(e, {
4634
4738
  size: 18,
@@ -4636,22 +4740,22 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4636
4740
  })
4637
4741
  }),
4638
4742
  /* @__PURE__ */ j("span", {
4639
- className: [Wr.item__label, s ? Wr["item__label--collapsed"] : ""].filter(Boolean).join(" "),
4743
+ className: [Qr.item__label, s ? Qr["item__label--collapsed"] : ""].filter(Boolean).join(" "),
4640
4744
  children: t
4641
4745
  }),
4642
4746
  !s && a && /* @__PURE__ */ j("span", {
4643
- className: Wr.item__badge,
4747
+ className: Qr.item__badge,
4644
4748
  children: a
4645
4749
  }),
4646
4750
  !s && o && /* @__PURE__ */ j("span", {
4647
- className: [Wr.item__chevron, c ? Wr["item__chevron--expanded"] : ""].filter(Boolean).join(" "),
4751
+ className: [Qr.item__chevron, c ? Qr["item__chevron--expanded"] : ""].filter(Boolean).join(" "),
4648
4752
  "aria-hidden": "true",
4649
- children: /* @__PURE__ */ j(ne, {
4753
+ children: /* @__PURE__ */ j(h, {
4650
4754
  size: 16,
4651
4755
  strokeWidth: N(16)
4652
4756
  })
4653
4757
  })
4654
- ] }), g = {
4758
+ ] }), _ = {
4655
4759
  className: m,
4656
4760
  "data-hover-item": "",
4657
4761
  title: s && d ? t : void 0,
@@ -4661,16 +4765,16 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4661
4765
  };
4662
4766
  return u && !i ? /* @__PURE__ */ j("a", {
4663
4767
  href: u,
4664
- ...g,
4665
- children: h
4768
+ ..._,
4769
+ children: g
4666
4770
  }) : /* @__PURE__ */ j("button", {
4667
4771
  type: "button",
4668
4772
  disabled: i,
4669
4773
  onClick: l,
4670
- ...g,
4671
- children: h
4774
+ ..._,
4775
+ children: g
4672
4776
  });
4673
- }, Kr = {
4777
+ }, ei = {
4674
4778
  promo: "_promo_1ou3w_4",
4675
4779
  promo__head: "_promo__head_1ou3w_20",
4676
4780
  promo__icon: "_promo__icon_1ou3w_21",
@@ -4678,14 +4782,14 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4678
4782
  promo__dismiss: "_promo__dismiss_1ou3w_23",
4679
4783
  promo__desc: "_promo__desc_1ou3w_30",
4680
4784
  promo__cta: "_promo__cta_1ou3w_33"
4681
- }, qr = ({ type: e = "upgrade", title: t, description: n, ctaLabel: r, onCta: i, onDismiss: o, icon: s = d }) => /* @__PURE__ */ M("div", {
4682
- className: [Kr.promo, Kr[`promo--${e}`]].join(" "),
4785
+ }, ti = ({ type: e = "upgrade", title: n, description: r, ctaLabel: i, onCta: a, onDismiss: o, icon: s = t }) => /* @__PURE__ */ M("div", {
4786
+ className: [ei.promo, ei[`promo--${e}`]].join(" "),
4683
4787
  children: [
4684
4788
  /* @__PURE__ */ M("div", {
4685
- className: Kr.promo__head,
4789
+ className: ei.promo__head,
4686
4790
  children: [
4687
4791
  /* @__PURE__ */ j("span", {
4688
- className: Kr.promo__icon,
4792
+ className: ei.promo__icon,
4689
4793
  "aria-hidden": "true",
4690
4794
  children: /* @__PURE__ */ j(s, {
4691
4795
  size: 16,
@@ -4693,53 +4797,53 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4693
4797
  })
4694
4798
  }),
4695
4799
  /* @__PURE__ */ j("span", {
4696
- className: Kr.promo__title,
4697
- children: t
4800
+ className: ei.promo__title,
4801
+ children: n
4698
4802
  }),
4699
4803
  o && /* @__PURE__ */ j("button", {
4700
4804
  type: "button",
4701
- className: Kr.promo__dismiss,
4805
+ className: ei.promo__dismiss,
4702
4806
  onClick: o,
4703
4807
  "aria-label": "Dismiss",
4704
- children: /* @__PURE__ */ j(a, {
4808
+ children: /* @__PURE__ */ j(d, {
4705
4809
  size: 14,
4706
4810
  strokeWidth: N(14)
4707
4811
  })
4708
4812
  })
4709
4813
  ]
4710
4814
  }),
4711
- n && /* @__PURE__ */ j("p", {
4712
- className: Kr.promo__desc,
4713
- children: n
4815
+ r && /* @__PURE__ */ j("p", {
4816
+ className: ei.promo__desc,
4817
+ children: r
4714
4818
  }),
4715
- r && /* @__PURE__ */ j(F, {
4819
+ i && /* @__PURE__ */ j(F, {
4716
4820
  variant: "primary",
4717
4821
  size: "sm",
4718
- className: Kr.promo__cta,
4719
- onClick: i,
4720
- children: r
4822
+ className: ei.promo__cta,
4823
+ onClick: a,
4824
+ children: i
4721
4825
  })
4722
4826
  ]
4723
- }), Jr = {
4827
+ }), ni = {
4724
4828
  subItem: "_subItem_1d7az_2",
4725
4829
  "subItem--disabled": "_subItem--disabled_1d7az_26",
4726
4830
  "subItem--active": "_subItem--active_1d7az_27",
4727
4831
  subItem__dot: "_subItem__dot_1d7az_31",
4728
4832
  subItem__label: "_subItem__label_1d7az_41"
4729
- }, Yr = ({ label: e, active: t, disabled: n, onClick: r, href: i }) => {
4833
+ }, ri = ({ label: e, active: t, disabled: n, onClick: r, href: i }) => {
4730
4834
  let a = {
4731
4835
  className: [
4732
- Jr.subItem,
4733
- t ? Jr["subItem--active"] : "",
4734
- n ? Jr["subItem--disabled"] : ""
4836
+ ni.subItem,
4837
+ t ? ni["subItem--active"] : "",
4838
+ n ? ni["subItem--disabled"] : ""
4735
4839
  ].filter(Boolean).join(" "),
4736
4840
  "data-hover-item": "",
4737
4841
  "aria-current": t ? "page" : void 0
4738
4842
  }, o = /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("span", {
4739
- className: Jr.subItem__dot,
4843
+ className: ni.subItem__dot,
4740
4844
  "aria-hidden": "true"
4741
4845
  }), /* @__PURE__ */ j("span", {
4742
- className: Jr.subItem__label,
4846
+ className: ni.subItem__label,
4743
4847
  children: e
4744
4848
  })] });
4745
4849
  return i && !n ? /* @__PURE__ */ j("a", {
@@ -4753,49 +4857,32 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4753
4857
  ...a,
4754
4858
  children: o
4755
4859
  });
4756
- }, Xr = {
4757
- skeleton: "_skeleton_94hr3_9",
4758
- "skeleton-shimmer": "_skeleton-shimmer_94hr3_1",
4759
- "skeleton--text": "_skeleton--text_94hr3_22",
4760
- "skeleton--rect": "_skeleton--rect_94hr3_29",
4761
- "skeleton--circle": "_skeleton--circle_94hr3_35"
4762
- }, Zr = ({ variant: e = "text", width: t, height: n, className: r }) => {
4763
- let i = {};
4764
- return t !== void 0 && (i.width = typeof t == "number" ? `${t}px` : t), n !== void 0 && (i.height = typeof n == "number" ? `${n}px` : n), /* @__PURE__ */ j("span", {
4765
- "aria-hidden": "true",
4766
- className: [
4767
- Xr.skeleton,
4768
- Xr[`skeleton--${e}`],
4769
- r ?? ""
4770
- ].filter(Boolean).join(" "),
4771
- style: i
4772
- });
4773
- }, Qr = {
4860
+ }, ii = {
4774
4861
  field: "_field_u7te8_3",
4775
4862
  header: "_header_u7te8_4",
4776
4863
  label: "_label_u7te8_5",
4777
4864
  value: "_value_u7te8_6",
4778
4865
  slider: "_slider_u7te8_8",
4779
4866
  "sakani-slider-bounce": "_sakani-slider-bounce_u7te8_1"
4780
- }, $r = 1.2, ei = 460, ti = k.forwardRef(({ label: e, showValue: t, min: n = 0, max: r = 100, value: i, defaultValue: a, disabled: o, id: s, className: c, onChange: l, ...u }, d) => {
4867
+ }, ai = 1.2, oi = 460, si = k.forwardRef(({ label: e, showValue: t, min: n = 0, max: r = 100, value: i, defaultValue: a, disabled: o, id: s, className: c, onChange: l, ...u }, d) => {
4781
4868
  let f = k.useId(), p = s ?? f, m = Number(i ?? a ?? n), [h, g] = k.useState(m), _ = i === void 0 ? h : Number(i), v = (_ - n) / (r - n) * 100, y = k.useRef(null), b = (e) => {
4782
4869
  y.current = e, typeof d == "function" ? d(e) : d && (d.current = e);
4783
4870
  }, x = k.useRef(null), S = k.useRef(void 0);
4784
4871
  k.useEffect(() => () => window.clearTimeout(S.current), []);
4785
4872
  let C = (e) => {
4786
4873
  let t = y.current;
4787
- t && (t.removeAttribute("data-bounce"), t.offsetWidth, t.style.setProperty("--bounce-dir", String(e)), t.setAttribute("data-bounce", ""), window.clearTimeout(S.current), S.current = window.setTimeout(() => t.removeAttribute("data-bounce"), ei));
4874
+ t && (t.removeAttribute("data-bounce"), t.offsetWidth, t.style.setProperty("--bounce-dir", String(e)), t.setAttribute("data-bounce", ""), window.clearTimeout(S.current), S.current = window.setTimeout(() => t.removeAttribute("data-bounce"), oi));
4788
4875
  };
4789
4876
  return /* @__PURE__ */ M("div", {
4790
- className: [Qr.field, c ?? ""].filter(Boolean).join(" "),
4877
+ className: [ii.field, c ?? ""].filter(Boolean).join(" "),
4791
4878
  children: [(e || t) && /* @__PURE__ */ M("div", {
4792
- className: Qr.header,
4879
+ className: ii.header,
4793
4880
  children: [e && /* @__PURE__ */ j("label", {
4794
4881
  htmlFor: p,
4795
- className: Qr.label,
4882
+ className: ii.label,
4796
4883
  children: e
4797
4884
  }), t && /* @__PURE__ */ j("span", {
4798
- className: Qr.value,
4885
+ className: ii.value,
4799
4886
  children: _
4800
4887
  })]
4801
4888
  }), /* @__PURE__ */ j("input", {
@@ -4809,19 +4896,19 @@ var Nr = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: i })
4809
4896
  disabled: o,
4810
4897
  onChange: (e) => {
4811
4898
  let t = Number(e.target.value), a = performance.now(), o = x.current;
4812
- o && (t === r || t === n) && o.v !== t && Math.abs(t - o.v) / (r - n) / Math.max((a - o.t) / 1e3, .001) >= $r && C(t === r ? 1 : -1), x.current = {
4899
+ o && (t === r || t === n) && o.v !== t && Math.abs(t - o.v) / (r - n) / Math.max((a - o.t) / 1e3, .001) >= ai && C(t === r ? 1 : -1), x.current = {
4813
4900
  v: t,
4814
4901
  t: a
4815
4902
  }, i === void 0 && g(t), l?.(e);
4816
4903
  },
4817
- className: Qr.slider,
4904
+ className: ii.slider,
4818
4905
  style: { "--pct": `${v}%` },
4819
4906
  ...u
4820
4907
  })]
4821
4908
  });
4822
4909
  });
4823
- ti.displayName = "Slider";
4824
- var ni = {
4910
+ si.displayName = "Slider";
4911
+ var ci = {
4825
4912
  card: "_card_1qi93_4",
4826
4913
  "card--featured": "_card--featured_1qi93_24",
4827
4914
  card__head: "_card__head_1qi93_26",
@@ -4834,19 +4921,19 @@ var ni = {
4834
4921
  "card--trend-up": "_card--trend-up_1qi93_68",
4835
4922
  "card--trend-down": "_card--trend-down_1qi93_69",
4836
4923
  card__description: "_card__description_1qi93_72"
4837
- }, ri = {
4838
- up: s,
4839
- down: b,
4840
- flat: n
4841
- }, ii = {
4924
+ }, li = {
4925
+ up: u,
4926
+ down: c,
4927
+ flat: x
4928
+ }, ui = {
4842
4929
  up: "success",
4843
4930
  down: "danger",
4844
4931
  flat: "neutral"
4845
- }, ai = ({ data: e }) => {
4932
+ }, di = ({ data: e }) => {
4846
4933
  if (e.length < 2) return null;
4847
4934
  let t = Math.min(...e), n = Math.max(...e) - t || 1;
4848
4935
  return /* @__PURE__ */ j("svg", {
4849
- className: oi,
4936
+ className: fi,
4850
4937
  viewBox: "0 0 100 32",
4851
4938
  preserveAspectRatio: "none",
4852
4939
  "aria-hidden": "true",
@@ -4859,21 +4946,21 @@ var ni = {
4859
4946
  strokeLinecap: "round"
4860
4947
  })
4861
4948
  });
4862
- }, oi = ni.card__sparkline, si = ({ title: e, value: t, description: n, sparkline: r, delta: i, trend: a = "up", badgeVariant: o, variant: s = "minimal", icon: c, showMenu: l, onMenu: u, className: d }) => {
4863
- let f = ri[a], p = (s === "icon" || s === "featured") && c;
4949
+ }, fi = ci.card__sparkline, pi = ({ title: e, value: t, description: n, sparkline: r, delta: i, trend: a = "up", badgeVariant: o, variant: s = "minimal", icon: c, showMenu: l, onMenu: u, className: d }) => {
4950
+ let p = li[a], m = (s === "icon" || s === "featured") && c;
4864
4951
  return /* @__PURE__ */ M("div", {
4865
4952
  className: [
4866
- ni.card,
4867
- ni[`card--${s}`],
4868
- ni[`card--trend-${a}`],
4953
+ ci.card,
4954
+ ci[`card--${s}`],
4955
+ ci[`card--trend-${a}`],
4869
4956
  d ?? ""
4870
4957
  ].filter(Boolean).join(" "),
4871
4958
  children: [
4872
4959
  /* @__PURE__ */ M("div", {
4873
- className: ni.card__head,
4960
+ className: ci.card__head,
4874
4961
  children: [
4875
- p && /* @__PURE__ */ j("span", {
4876
- className: ni.card__icon,
4962
+ m && /* @__PURE__ */ j("span", {
4963
+ className: ci.card__icon,
4877
4964
  "aria-hidden": "true",
4878
4965
  children: /* @__PURE__ */ j(c, {
4879
4966
  size: 18,
@@ -4881,15 +4968,15 @@ var ni = {
4881
4968
  })
4882
4969
  }),
4883
4970
  /* @__PURE__ */ j("span", {
4884
- className: ni.card__title,
4971
+ className: ci.card__title,
4885
4972
  children: e
4886
4973
  }),
4887
4974
  l && /* @__PURE__ */ j("button", {
4888
4975
  type: "button",
4889
- className: ni.card__menu,
4976
+ className: ci.card__menu,
4890
4977
  onClick: u,
4891
4978
  "aria-label": "More options",
4892
- children: /* @__PURE__ */ j(h, {
4979
+ children: /* @__PURE__ */ j(f, {
4893
4980
  size: 16,
4894
4981
  strokeWidth: N(16)
4895
4982
  })
@@ -4897,21 +4984,21 @@ var ni = {
4897
4984
  ]
4898
4985
  }),
4899
4986
  /* @__PURE__ */ j("div", {
4900
- className: ni.card__value,
4987
+ className: ci.card__value,
4901
4988
  children: t
4902
4989
  }),
4903
- r && /* @__PURE__ */ j(ai, { data: r }),
4990
+ r && /* @__PURE__ */ j(di, { data: r }),
4904
4991
  (i || n) && /* @__PURE__ */ M("div", {
4905
- className: ni.card__meta,
4992
+ className: ci.card__meta,
4906
4993
  children: [i && /* @__PURE__ */ j(Gt, {
4907
- variant: o ?? ii[a],
4908
- leftIcon: /* @__PURE__ */ j(f, {
4994
+ variant: o ?? ui[a],
4995
+ leftIcon: /* @__PURE__ */ j(p, {
4909
4996
  size: 12,
4910
4997
  strokeWidth: 2
4911
4998
  }),
4912
4999
  children: i
4913
5000
  }), n && /* @__PURE__ */ j("p", {
4914
- className: ni.card__description,
5001
+ className: ci.card__description,
4915
5002
  children: n
4916
5003
  })]
4917
5004
  })
@@ -4945,18 +5032,18 @@ var ni = {
4945
5032
  "bodyRow--dropTarget": "_bodyRow--dropTarget_9nqt2_228",
4946
5033
  dragCell: "_dragCell_9nqt2_235",
4947
5034
  dragHandle: "_dragHandle_9nqt2_251"
4948
- }, ci = 640;
4949
- function li(e) {
5035
+ }, mi = 640;
5036
+ function hi(e) {
4950
5037
  let [t, n] = k.useState(!1);
4951
5038
  return k.useEffect(() => {
4952
5039
  if (e !== "auto") return;
4953
- let t = window.matchMedia(`(max-width: ${ci}px)`);
5040
+ let t = window.matchMedia(`(max-width: ${mi}px)`);
4954
5041
  n(t.matches);
4955
5042
  let r = (e) => n(e.matches);
4956
5043
  return t.addEventListener("change", r), () => t.removeEventListener("change", r);
4957
5044
  }, [e]), e === "default" ? "default" : e === "stacked" || t ? "stacked" : "default";
4958
5045
  }
4959
- var ui = ({ checked: e, indeterminate: t, onChange: n, label: r }) => {
5046
+ var gi = ({ checked: e, indeterminate: t, onChange: n, label: r }) => {
4960
5047
  let i = k.useRef(null);
4961
5048
  return k.useEffect(() => {
4962
5049
  i.current && (i.current.indeterminate = !!t);
@@ -4987,10 +5074,10 @@ var ui = ({ checked: e, indeterminate: t, onChange: n, label: r }) => {
4987
5074
  })]
4988
5075
  });
4989
5076
  };
4990
- function di({ columns: e, rows: t, selectable: n, selectedRows: r, onSelectionChange: i, rowKey: a, reorderable: o, onReorder: s, bordered: c = !0, responsive: l = "auto", className: u }) {
4991
- let d = li(l), f = r !== void 0, [p, m] = k.useState([]), h = f ? r : p, g = (e) => {
5077
+ function _i({ columns: e, rows: t, selectable: n, selectedRows: r, onSelectionChange: i, rowKey: a, reorderable: o, onReorder: s, bordered: c = !0, responsive: l = "auto", className: u }) {
5078
+ let d = hi(l), f = r !== void 0, [p, m] = k.useState([]), h = f ? r : p, g = (e) => {
4992
5079
  f || m(e), i?.(e);
4993
- }, _ = t.length > 0 && h.length === t.length, v = h.length > 0 && !_, [y, b] = k.useState(null), [x, S] = k.useState(null), C = Yn(), w = () => {
5080
+ }, _ = t.length > 0 && h.length === t.length, v = h.length > 0 && !_, [y, b] = k.useState(null), [x, S] = k.useState(null), C = Zn(), w = () => {
4994
5081
  if (y === null || x === null || y === x) {
4995
5082
  b(null), S(null);
4996
5083
  return;
@@ -5015,7 +5102,7 @@ function di({ columns: e, rows: t, selectable: n, selectedRows: r, onSelectionCh
5015
5102
  ].filter(Boolean).join(" "),
5016
5103
  children: [n && /* @__PURE__ */ j("div", {
5017
5104
  className: Q.card__selectRow,
5018
- children: /* @__PURE__ */ j(ui, {
5105
+ children: /* @__PURE__ */ j(gi, {
5019
5106
  checked: i,
5020
5107
  onChange: () => E(r),
5021
5108
  label: `Select row ${r + 1}`
@@ -5051,7 +5138,7 @@ function di({ columns: e, rows: t, selectable: n, selectedRows: r, onSelectionCh
5051
5138
  }),
5052
5139
  n && /* @__PURE__ */ j("th", {
5053
5140
  className: Q.checkCell,
5054
- children: /* @__PURE__ */ j(ui, {
5141
+ children: /* @__PURE__ */ j(gi, {
5055
5142
  checked: _,
5056
5143
  indeterminate: v,
5057
5144
  onChange: T,
@@ -5104,7 +5191,7 @@ function di({ columns: e, rows: t, selectable: n, selectedRows: r, onSelectionCh
5104
5191
  }),
5105
5192
  n && /* @__PURE__ */ j("td", {
5106
5193
  className: Q.checkCell,
5107
- children: /* @__PURE__ */ j(ui, {
5194
+ children: /* @__PURE__ */ j(gi, {
5108
5195
  checked: i,
5109
5196
  onChange: () => E(r),
5110
5197
  label: `Select row ${r + 1}`
@@ -5121,7 +5208,7 @@ function di({ columns: e, rows: t, selectable: n, selectedRows: r, onSelectionCh
5121
5208
  })]
5122
5209
  });
5123
5210
  }
5124
- var fi = {
5211
+ var vi = {
5125
5212
  tabs: "_tabs_1122j_3",
5126
5213
  "tabs--borderless": "_tabs--borderless_1122j_16",
5127
5214
  "tabs--fill": "_tabs--fill_1122j_21",
@@ -5130,7 +5217,7 @@ var fi = {
5130
5217
  "tab--active": "_tab--active_1122j_63",
5131
5218
  indicator: "_indicator_1122j_74",
5132
5219
  "indicator--animated": "_indicator--animated_1122j_88"
5133
- }, pi = ({ items: e, value: t, defaultValue: n, onChange: r, bordered: i = !0, fill: a = !1, className: o }) => {
5220
+ }, yi = ({ items: e, value: t, defaultValue: n, onChange: r, bordered: i = !0, fill: a = !1, className: o }) => {
5134
5221
  let s = t !== void 0, [c, l] = k.useState(n ?? e[0]?.value), u = s ? t : c, d = (e) => {
5135
5222
  s || l(e), r?.(e);
5136
5223
  }, f = k.useRef(null), p = k.useRef({}), [m, h] = k.useState(null), [g, _] = k.useState(!1);
@@ -5151,9 +5238,9 @@ var fi = {
5151
5238
  ref: f,
5152
5239
  role: "tablist",
5153
5240
  className: [
5154
- fi.tabs,
5155
- i ? "" : fi["tabs--borderless"],
5156
- a ? fi["tabs--fill"] : "",
5241
+ vi.tabs,
5242
+ i ? "" : vi["tabs--borderless"],
5243
+ a ? vi["tabs--fill"] : "",
5157
5244
  o ?? ""
5158
5245
  ].filter(Boolean).join(" "),
5159
5246
  children: [e.map((e) => {
@@ -5167,9 +5254,9 @@ var fi = {
5167
5254
  "aria-selected": t,
5168
5255
  disabled: e.disabled,
5169
5256
  className: [
5170
- fi.tab,
5171
- t ? fi["tab--active"] : "",
5172
- e.disabled ? fi["tab--disabled"] : ""
5257
+ vi.tab,
5258
+ t ? vi["tab--active"] : "",
5259
+ e.disabled ? vi["tab--disabled"] : ""
5173
5260
  ].filter(Boolean).join(" "),
5174
5261
  onClick: () => d(e.value),
5175
5262
  children: [n && /* @__PURE__ */ j(n, {
@@ -5180,14 +5267,14 @@ var fi = {
5180
5267
  }, e.value);
5181
5268
  }), m && /* @__PURE__ */ j("span", {
5182
5269
  "aria-hidden": "true",
5183
- className: [fi.indicator, g ? fi["indicator--animated"] : ""].filter(Boolean).join(" "),
5270
+ className: [vi.indicator, g ? vi["indicator--animated"] : ""].filter(Boolean).join(" "),
5184
5271
  style: {
5185
5272
  transform: `translateX(${m.left}px)`,
5186
5273
  width: m.width
5187
5274
  }
5188
5275
  })]
5189
5276
  });
5190
- }, mi = {
5277
+ }, bi = {
5191
5278
  wrapper: "_wrapper_w6wtp_8",
5192
5279
  bubble: "_bubble_w6wtp_8",
5193
5280
  bubble__title: "_bubble__title_w6wtp_46",
@@ -5209,7 +5296,7 @@ var fi = {
5209
5296
  "caret--center-left": "_caret--center-left_w6wtp_121",
5210
5297
  "bubble--center-right": "_bubble--center-right_w6wtp_131",
5211
5298
  "caret--center-right": "_caret--center-right_w6wtp_139"
5212
- }, hi = ({ title: e, subtitle: t, pointer: n = "top-center", children: r, className: i }) => {
5299
+ }, xi = ({ title: e, subtitle: t, pointer: n = "top-center", children: r, className: i }) => {
5213
5300
  let [a, o] = k.useState(!1);
5214
5301
  return k.useEffect(() => {
5215
5302
  let e = (e) => {
@@ -5217,24 +5304,24 @@ var fi = {
5217
5304
  };
5218
5305
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
5219
5306
  }, []), /* @__PURE__ */ M("span", {
5220
- className: [mi.wrapper, i ?? ""].filter(Boolean).join(" "),
5307
+ className: [bi.wrapper, i ?? ""].filter(Boolean).join(" "),
5221
5308
  "data-dismissed": a || void 0,
5222
5309
  onMouseLeave: () => o(!1),
5223
5310
  onBlur: () => o(!1),
5224
5311
  children: [r, /* @__PURE__ */ M("span", {
5225
5312
  role: "tooltip",
5226
- className: [mi.bubble, mi[`bubble--${n}`]].join(" "),
5313
+ className: [bi.bubble, bi[`bubble--${n}`]].join(" "),
5227
5314
  children: [
5228
5315
  /* @__PURE__ */ j("span", {
5229
- className: mi.bubble__title,
5316
+ className: bi.bubble__title,
5230
5317
  children: e
5231
5318
  }),
5232
5319
  t && /* @__PURE__ */ j("span", {
5233
- className: mi.bubble__subtitle,
5320
+ className: bi.bubble__subtitle,
5234
5321
  children: t
5235
5322
  }),
5236
5323
  /* @__PURE__ */ j("span", {
5237
- className: [mi.caret, mi[`caret--${n}`]].join(" "),
5324
+ className: [bi.caret, bi[`caret--${n}`]].join(" "),
5238
5325
  "aria-hidden": "true"
5239
5326
  })
5240
5327
  ]
@@ -5263,16 +5350,16 @@ var fi = {
5263
5350
  "bar__left--search": "_bar__left--search_yqi1k_84",
5264
5351
  bar__accountChevron: "_bar__accountChevron_yqi1k_98",
5265
5352
  "bar__accountChevron--open": "_bar__accountChevron--open_yqi1k_104"
5266
- }, gi = ({ type: e = "search", density: t = "md", left: n, showToggle: r = !0, onToggle: i, toggleIcon: a = w, showActions: o = !0, showHelp: s = !0, hasUnread: c = !1, rightSlot: u, account: d, accountOpen: f = !1, avatar: p, title: m, subtitle: h, actions: g, className: _ }) => {
5267
- let v = Yn(), y = Yn(), b = t === "md" ? 20 : 18, S = N(b);
5353
+ }, Si = ({ type: t = "search", density: n = "md", left: r, showToggle: i = !0, onToggle: a, toggleIcon: o = w, showActions: s = !0, showHelp: c = !0, hasUnread: l = !1, rightSlot: u, account: d, accountOpen: f = !1, avatar: p, title: m, subtitle: h, actions: g, className: _ }) => {
5354
+ let v = Zn(), y = Zn(), x = n === "md" ? 20 : 18, S = N(x);
5268
5355
  return /* @__PURE__ */ j("header", {
5269
5356
  className: [
5270
5357
  $.bar,
5358
+ $[`bar--${n}`],
5271
5359
  $[`bar--${t}`],
5272
- $[`bar--${e}`],
5273
5360
  _ ?? ""
5274
5361
  ].filter(Boolean).join(" "),
5275
- children: e === "chat" ? /* @__PURE__ */ M(A, { children: [
5362
+ children: t === "chat" ? /* @__PURE__ */ M(A, { children: [
5276
5363
  p && /* @__PURE__ */ j("span", {
5277
5364
  className: $.bar__chatAvatar,
5278
5365
  children: p
@@ -5297,19 +5384,19 @@ var fi = {
5297
5384
  ] }) : /* @__PURE__ */ M(A, { children: [
5298
5385
  /* @__PURE__ */ M("div", {
5299
5386
  className: $.bar__leftGroup,
5300
- children: [r && /* @__PURE__ */ j("button", {
5387
+ children: [i && /* @__PURE__ */ j("button", {
5301
5388
  type: "button",
5302
5389
  className: $.bar__icon,
5303
- onClick: i,
5390
+ onClick: a,
5304
5391
  "aria-label": "Toggle sidebar",
5305
- children: /* @__PURE__ */ j(a, {
5306
- size: b,
5392
+ children: /* @__PURE__ */ j(o, {
5393
+ size: x,
5307
5394
  strokeWidth: S
5308
5395
  })
5309
5396
  }), /* @__PURE__ */ j("div", {
5310
- className: [$.bar__left, e === "search" ? $["bar__left--search"] : ""].filter(Boolean).join(" "),
5311
- "data-type": e,
5312
- children: n
5397
+ className: [$.bar__left, t === "search" ? $["bar__left--search"] : ""].filter(Boolean).join(" "),
5398
+ "data-type": t,
5399
+ children: r
5313
5400
  })]
5314
5401
  }),
5315
5402
  /* @__PURE__ */ j("div", { className: $.bar__spacer }),
@@ -5317,19 +5404,19 @@ var fi = {
5317
5404
  className: $.bar__right,
5318
5405
  children: [
5319
5406
  u,
5320
- o && /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M("span", {
5407
+ s && /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M("span", {
5321
5408
  ref: v.ref,
5322
5409
  ...v.groupProps,
5323
5410
  className: $.bar__iconGroup,
5324
5411
  children: [
5325
5412
  v.highlight,
5326
- s && /* @__PURE__ */ j("button", {
5413
+ c && /* @__PURE__ */ j("button", {
5327
5414
  type: "button",
5328
5415
  "data-hover-item": "",
5329
5416
  className: $.bar__icon,
5330
5417
  "aria-label": "Help",
5331
5418
  children: /* @__PURE__ */ j(ee, {
5332
- size: b,
5419
+ size: x,
5333
5420
  strokeWidth: S
5334
5421
  })
5335
5422
  }),
@@ -5340,10 +5427,10 @@ var fi = {
5340
5427
  "aria-label": "Notifications",
5341
5428
  children: /* @__PURE__ */ M("span", {
5342
5429
  className: $.bar__bell,
5343
- children: [/* @__PURE__ */ j(x, {
5344
- size: b,
5430
+ children: [/* @__PURE__ */ j(b, {
5431
+ size: x,
5345
5432
  strokeWidth: S
5346
- }), c && /* @__PURE__ */ j("span", {
5433
+ }), l && /* @__PURE__ */ j("span", {
5347
5434
  className: $.bar__dot,
5348
5435
  "aria-hidden": "true"
5349
5436
  })]
@@ -5353,7 +5440,7 @@ var fi = {
5353
5440
  }), /* @__PURE__ */ j("span", { className: $.bar__divider })] }),
5354
5441
  d && /* @__PURE__ */ M("div", {
5355
5442
  className: $.bar__account,
5356
- children: [d, /* @__PURE__ */ j(l, {
5443
+ children: [d, /* @__PURE__ */ j(e, {
5357
5444
  size: 16,
5358
5445
  strokeWidth: N(16),
5359
5446
  className: [$.bar__accountChevron, f ? $["bar__accountChevron--open"] : ""].filter(Boolean).join(" ")
@@ -5365,4 +5452,4 @@ var fi = {
5365
5452
  });
5366
5453
  };
5367
5454
  //#endregion
5368
- export { cn as $, er as A, De as At, Nn as B, yr as C, F as Ct, ar as D, Ne as Dt, cr as E, Ie as Et, Un as F, wn as G, kn as H, Bn as I, vn as J, Cn as K, zn as L, Xn as M, Yn as N, ir as O, Me as Ot, Wn as P, un as Q, Ln as R, Cr as S, We as St, dr as T, Re as Tt, En as U, jn as V, Tn as W, hn as X, _n as Y, pn as Z, Nr as _, Ct as _t, si as a, Ut as at, Tr as b, $e as bt, Yr as c, It as ct, Ur as d, At as dt, $t as et, Hr as f, kt as ft, Fr as g, _t as gt, Ir as h, Tt as ht, di as i, Gt as it, Qn as j, N as jt, nr as k, Oe as kt, qr as l, Ft as lt, Rr as m, lt as mt, hi as n, Xt as nt, ti as o, zt as ot, Br as p, Ot as pt, bn as q, pi as r, qt as rt, Zr as s, Lt as st, gi as t, Qt as tt, Gr as u, Mt as ut, kr as v, rt as vt, hr as w, Ve as wt, Er as x, Ge as xt, Or as y, tt as yt, Fn as z };
5455
+ export { pn as $, or as A, Ne as At, Ln as B, wr as C, $e as Ct, fr as D, Ve as Dt, hr as E, F as Et, Zn as F, En as G, Nn as H, Gn as I, Cn as J, Tn as K, Wn as L, nr as M, Oe as Mt, er as N, De as Nt, lr as O, Re as Ot, Qn as P, N as Pt, hn as Q, Vn as R, Dr as S, tt as St, yr as T, We as Tt, jn as U, Fn as V, kn as W, vn as X, bn as Y, _n as Z, Lr as _, Tt as _t, pi as a, qt as at, Pr as b, it as bt, ti as c, zt as ct, Xr as d, Ft as dt, un as et, Jr as f, Mt as ft, Vr as g, lt as gt, Ur as h, Ot as ht, _i as i, Xt as it, ir as j, Me as jt, cr as k, Ie as kt, $r as l, Lt as lt, Wr as m, kt as mt, xi as n, $t as nt, si as o, Gt as ot, Kr as p, At as pt, wn as q, yi as r, Qt as rt, ri as s, Ut as st, Si as t, cn as tt, Zr as u, It as ut, Ir as v, _t as vt, Cr as w, Ge as wt, jr as x, rt as xt, Nr as y, Ct as yt, zn as z };