@sakaniui/react 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -270,7 +270,7 @@ var Be = {
270
270
  })
271
271
  }));
272
272
  He.displayName = "IconButton";
273
- var Ue = {
273
+ var P = {
274
274
  button: "_button_izp70_21",
275
275
  "button--primary": "_button--primary_izp70_106",
276
276
  "button--secondary": "_button--secondary_izp70_133",
@@ -287,17 +287,17 @@ var Ue = {
287
287
  "button--loading": "_button--loading_izp70_287",
288
288
  button__spinner: "_button__spinner_izp70_291",
289
289
  "sakani-btn-spin": "_sakani-btn-spin_izp70_1"
290
- }, P = e.forwardRef(({ variant: e = "primary", size: t = "md", leftIcon: n, rightIcon: r, loading: o = !1, disabled: s, children: c, className: l, ...u }, d) => {
290
+ }, F = e.forwardRef(({ variant: e = "primary", size: t = "md", leftIcon: n, rightIcon: r, loading: o = !1, disabled: s, children: c, className: l, ...u }, d) => {
291
291
  let f = s || o;
292
292
  return /* @__PURE__ */ a("button", {
293
293
  ref: d,
294
294
  className: [
295
- Ue.button,
296
- Ue[`button--${e}`],
297
- Ue[`button--${t}`],
298
- o ? Ue["button--loading"] : "",
299
- n && !o ? Ue["button--hasLeftIcon"] : "",
300
- r && !o ? Ue["button--hasRightIcon"] : "",
295
+ P.button,
296
+ P[`button--${e}`],
297
+ P[`button--${t}`],
298
+ o ? P["button--loading"] : "",
299
+ n && !o ? P["button--hasLeftIcon"] : "",
300
+ r && !o ? P["button--hasRightIcon"] : "",
301
301
  l ?? ""
302
302
  ].filter(Boolean).join(" "),
303
303
  disabled: f,
@@ -305,7 +305,7 @@ var Ue = {
305
305
  ...u,
306
306
  children: [
307
307
  o && /* @__PURE__ */ i("span", {
308
- className: [Ue.button__icon, Ue.button__spinner].join(" "),
308
+ className: [P.button__icon, P.button__spinner].join(" "),
309
309
  "aria-hidden": "true",
310
310
  children: /* @__PURE__ */ i("svg", {
311
311
  viewBox: "0 0 24 24",
@@ -317,24 +317,24 @@ var Ue = {
317
317
  })
318
318
  }),
319
319
  n && !o && /* @__PURE__ */ i("span", {
320
- className: Ue.button__icon,
320
+ className: P.button__icon,
321
321
  "aria-hidden": "true",
322
322
  children: n
323
323
  }),
324
324
  /* @__PURE__ */ i("span", {
325
- className: Ue.button__label,
325
+ className: P.button__label,
326
326
  children: c
327
327
  }),
328
328
  r && !o && /* @__PURE__ */ i("span", {
329
- className: Ue.button__icon,
329
+ className: P.button__icon,
330
330
  "aria-hidden": "true",
331
331
  children: r
332
332
  })
333
333
  ]
334
334
  });
335
335
  });
336
- P.displayName = "Button";
337
- var F = {
336
+ F.displayName = "Button";
337
+ var I = {
338
338
  wrap: "_wrap_3mj75_1",
339
339
  "wrap--vertical": "_wrap--vertical_3mj75_7",
340
340
  "wrap--horizontal": "_wrap--horizontal_3mj75_11",
@@ -348,36 +348,36 @@ var F = {
348
348
  hint: "_hint_3mj75_79",
349
349
  link: "_link_3mj75_88",
350
350
  input: "_input_3mj75_92"
351
- }, We = ({ src: t, alt: n, orientation: r = "vertical", accept: o = "image/jpeg,image/png", title: s = "Upload a photo", hint: l = "JPG or PNG, max 5MB.", onFileSelect: u, onRemove: d, className: f }) => {
351
+ }, Ue = ({ src: t, alt: n, orientation: r = "vertical", accept: o = "image/jpeg,image/png", title: s = "Upload a photo", hint: l = "JPG or PNG, max 5MB.", onFileSelect: u, onRemove: d, className: f }) => {
352
352
  let p = e.useRef(null), m = t !== void 0, [h, g] = e.useState(void 0), _ = m ? t : h, v = r === "horizontal", y = !!_, b = () => p.current?.click(), x = () => {
353
353
  d?.(), m || g(void 0);
354
354
  }, S = /* @__PURE__ */ a("div", {
355
- className: [F.textStack, v ? "" : F["textStack--center"]].filter(Boolean).join(" "),
355
+ className: [I.textStack, v ? "" : I["textStack--center"]].filter(Boolean).join(" "),
356
356
  children: [/* @__PURE__ */ i("p", {
357
- className: F.title,
357
+ className: I.title,
358
358
  children: s
359
359
  }), /* @__PURE__ */ i("p", {
360
- className: F.hint,
360
+ className: I.hint,
361
361
  children: l
362
362
  })]
363
363
  });
364
364
  return /* @__PURE__ */ a("div", {
365
365
  className: [
366
- F.wrap,
367
- F[`wrap--${r}`],
366
+ I.wrap,
367
+ I[`wrap--${r}`],
368
368
  f ?? ""
369
369
  ].filter(Boolean).join(" "),
370
370
  children: [
371
371
  /* @__PURE__ */ a("div", {
372
- className: F.circleWrap,
372
+ className: I.circleWrap,
373
373
  children: [/* @__PURE__ */ i(Ne, {
374
374
  size: v ? "lg" : "xl",
375
375
  src: _,
376
376
  alt: n,
377
- className: v ? void 0 : F.bigAvatar
377
+ className: v ? void 0 : I.bigAvatar
378
378
  }), !v && /* @__PURE__ */ i("button", {
379
379
  type: "button",
380
- className: F.badge,
380
+ className: I.badge,
381
381
  onClick: b,
382
382
  "aria-label": "Change photo",
383
383
  children: /* @__PURE__ */ i(c, {
@@ -387,8 +387,8 @@ var F = {
387
387
  })]
388
388
  }),
389
389
  v && /* @__PURE__ */ a("div", {
390
- className: F.horizontalContent,
391
- children: [S, y ? /* @__PURE__ */ i(P, {
390
+ className: I.horizontalContent,
391
+ children: [S, y ? /* @__PURE__ */ i(F, {
392
392
  variant: "outline",
393
393
  size: "sm",
394
394
  onClick: x,
@@ -397,7 +397,7 @@ var F = {
397
397
  borderColor: "var(--color-danger-border)"
398
398
  },
399
399
  children: "Remove"
400
- }) : /* @__PURE__ */ i(P, {
400
+ }) : /* @__PURE__ */ i(F, {
401
401
  variant: "outline",
402
402
  size: "sm",
403
403
  onClick: b,
@@ -409,7 +409,7 @@ var F = {
409
409
  onClick: (e) => {
410
410
  e.preventDefault(), b();
411
411
  },
412
- className: F.link,
412
+ className: I.link,
413
413
  style: {
414
414
  color: "var(--color-brand-fg)",
415
415
  fontSize: 16,
@@ -421,7 +421,7 @@ var F = {
421
421
  ref: p,
422
422
  type: "file",
423
423
  accept: o,
424
- className: F.input,
424
+ className: I.input,
425
425
  onChange: (e) => {
426
426
  let t = e.target.files?.[0];
427
427
  t && (u?.(t), m || g(URL.createObjectURL(t))), e.target.value = "";
@@ -432,7 +432,7 @@ var F = {
432
432
  };
433
433
  //#endregion
434
434
  //#region src/lib/useThemeTick.ts
435
- function Ge() {
435
+ function We() {
436
436
  let [e, r] = n(0);
437
437
  return t(() => {
438
438
  if (typeof document > "u") return;
@@ -444,7 +444,7 @@ function Ge() {
444
444
  }), () => e.disconnect();
445
445
  }, []), e;
446
446
  }
447
- var I = {
447
+ var L = {
448
448
  balance: "_balance_kaxp5_1",
449
449
  "balance--progress": "_balance--progress_kaxp5_8",
450
450
  content: "_content_kaxp5_17",
@@ -462,14 +462,14 @@ var I = {
462
462
  changeValue__down: "_changeValue__down_kaxp5_117",
463
463
  changeLabel: "_changeLabel_kaxp5_124",
464
464
  ringCard: "_ringCard_kaxp5_132"
465
- }, Ke = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", qe = 8, Je = 6, Ye = 90, Xe = (e) => {
466
- let t = Math.min(e, qe);
467
- return Array.from({ length: t }, () => Ke[Math.floor(Math.random() * 36)]).join("");
468
- }, Ze = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Qe = ({ progress: e }) => {
469
- Ge();
470
- let t = Ze("--color-chart-1") ?? "#ff4700", n = Ze("--color-bg-subtle") ?? "#f5f4f2", r = [{ value: Math.max(0, Math.min(100, e)) }];
465
+ }, Ge = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", Ke = 8, qe = 6, Je = 90, Ye = (e) => {
466
+ let t = Math.min(e, Ke);
467
+ return Array.from({ length: t }, () => Ge[Math.floor(Math.random() * 36)]).join("");
468
+ }, Xe = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Ze = ({ progress: e }) => {
469
+ We();
470
+ let t = Xe("--color-chart-1") ?? "#ff4700", n = Xe("--color-bg-subtle") ?? "#f5f4f2", r = [{ value: Math.max(0, Math.min(100, e)) }];
471
471
  return /* @__PURE__ */ i("div", {
472
- className: I.ringCard,
472
+ className: L.ringCard,
473
473
  children: /* @__PURE__ */ i(xe, {
474
474
  width: 64,
475
475
  height: 64,
@@ -495,7 +495,7 @@ var I = {
495
495
  })
496
496
  })
497
497
  });
498
- }, $e = ({ label: t = "Available balance", value: n, change: r, progress: o, hidden: s, onToggleHidden: c, className: l }) => {
498
+ }, Qe = ({ label: t = "Available balance", value: n, change: r, progress: o, hidden: s, onToggleHidden: c, className: l }) => {
499
499
  let u = s !== void 0, [d, f] = e.useState(!1), p = u ? s : d, m = o !== void 0, h = r?.direction ?? "up", g = h === "up" ? ae : ie, _ = () => {
500
500
  let e = !p;
501
501
  c?.(e), u || f(e);
@@ -504,23 +504,23 @@ var I = {
504
504
  if (p && !w.current) {
505
505
  x(!0);
506
506
  let e = 0, t = setInterval(() => {
507
- e += 1, C((e) => e + 1), e >= Je && (clearInterval(t), x(!1));
508
- }, Ye);
507
+ e += 1, C((e) => e + 1), e >= qe && (clearInterval(t), x(!1));
508
+ }, Je);
509
509
  return w.current = !0, () => clearInterval(t);
510
510
  }
511
511
  w.current = p;
512
512
  }, [p]);
513
- let T = e.useMemo(() => Xe(n.length), [n, S]), E = e.useMemo(() => r ? Xe(r.value.length) : "", [r?.value, S]), D = /* @__PURE__ */ a("div", {
514
- className: I.content,
513
+ let T = e.useMemo(() => Ye(n.length), [n, S]), E = e.useMemo(() => r ? Ye(r.value.length) : "", [r?.value, S]), D = /* @__PURE__ */ a("div", {
514
+ className: L.content,
515
515
  children: [
516
516
  /* @__PURE__ */ a("div", {
517
- className: I.labelRow,
517
+ className: L.labelRow,
518
518
  children: [/* @__PURE__ */ i("p", {
519
- className: I.label,
519
+ className: L.label,
520
520
  children: t
521
521
  }), /* @__PURE__ */ i("button", {
522
522
  type: "button",
523
- className: I.hideToggle,
523
+ className: L.hideToggle,
524
524
  "aria-label": p ? "Show balance" : "Hide balance",
525
525
  onClick: _,
526
526
  children: i(p ? y : v, {
@@ -531,26 +531,26 @@ var I = {
531
531
  }),
532
532
  /* @__PURE__ */ i("p", {
533
533
  className: [
534
- I.value,
535
- p ? I["value--hidden"] : "",
536
- b ? I["value--glitching"] : ""
534
+ L.value,
535
+ p ? L["value--hidden"] : "",
536
+ b ? L["value--glitching"] : ""
537
537
  ].filter(Boolean).join(" "),
538
538
  children: p ? T : n
539
539
  }),
540
540
  r && /* @__PURE__ */ a("div", {
541
- className: I.changeRow,
541
+ className: L.changeRow,
542
542
  children: [
543
543
  /* @__PURE__ */ i(g, {
544
544
  size: 24,
545
545
  strokeWidth: 1.5,
546
- className: h === "up" ? I.trendIcon__up : I.trendIcon__down
546
+ className: h === "up" ? L.trendIcon__up : L.trendIcon__down
547
547
  }),
548
548
  /* @__PURE__ */ i("span", {
549
- className: [h === "up" ? I.changeValue__up : I.changeValue__down, b ? I["value--glitching"] : ""].filter(Boolean).join(" "),
549
+ className: [h === "up" ? L.changeValue__up : L.changeValue__down, b ? L["value--glitching"] : ""].filter(Boolean).join(" "),
550
550
  children: p ? E : r.value
551
551
  }),
552
552
  /* @__PURE__ */ i("span", {
553
- className: I.changeLabel,
553
+ className: L.changeLabel,
554
554
  children: r.label ?? "this month"
555
555
  })
556
556
  ]
@@ -559,13 +559,13 @@ var I = {
559
559
  });
560
560
  return /* @__PURE__ */ a("div", {
561
561
  className: [
562
- I.balance,
563
- m ? I["balance--progress"] : "",
562
+ L.balance,
563
+ m ? L["balance--progress"] : "",
564
564
  l ?? ""
565
565
  ].filter(Boolean).join(" "),
566
- children: [m && /* @__PURE__ */ i(Qe, { progress: o }), D]
566
+ children: [m && /* @__PURE__ */ i(Ze, { progress: o }), D]
567
567
  });
568
- }, et = {
568
+ }, $e = {
569
569
  progress: "_progress_1qaz4_11",
570
570
  "progress--sm": "_progress--sm_1qaz4_20",
571
571
  "progress--md": "_progress--md_1qaz4_21",
@@ -573,7 +573,7 @@ var I = {
573
573
  progress__fill: "_progress__fill_1qaz4_25",
574
574
  "progress__fill--indeterminate": "_progress__fill--indeterminate_1qaz4_33",
575
575
  "progress-scan": "_progress-scan_1qaz4_1"
576
- }, tt = ({ value: e, size: t = "md", label: n = "Progress", className: r }) => {
576
+ }, et = ({ value: e, size: t = "md", label: n = "Progress", className: r }) => {
577
577
  let a = e === void 0, o = Math.min(100, Math.max(0, e ?? 0));
578
578
  return /* @__PURE__ */ i("div", {
579
579
  role: "progressbar",
@@ -582,27 +582,27 @@ var I = {
582
582
  "aria-valuemin": 0,
583
583
  "aria-valuemax": 100,
584
584
  className: [
585
- et.progress,
586
- et[`progress--${t}`],
585
+ $e.progress,
586
+ $e[`progress--${t}`],
587
587
  r ?? ""
588
588
  ].filter(Boolean).join(" "),
589
589
  children: /* @__PURE__ */ i("div", {
590
- className: [et.progress__fill, a ? et["progress__fill--indeterminate"] : ""].filter(Boolean).join(" "),
590
+ className: [$e.progress__fill, a ? $e["progress__fill--indeterminate"] : ""].filter(Boolean).join(" "),
591
591
  style: a ? void 0 : { width: `${o}%` }
592
592
  })
593
593
  });
594
- }, nt = ["dark", "force-light"];
595
- function rt(e, r) {
594
+ }, tt = ["dark", "force-light"];
595
+ function nt(e, r) {
596
596
  let [i, a] = n("");
597
597
  return t(() => {
598
598
  if (!r || typeof document > "u") return;
599
599
  let t = e.current;
600
600
  if (!t) return;
601
- let n = t.closest(nt.map((e) => `.${e}`).join(", ")), i = n ? nt.find((e) => n.classList.contains(e)) ?? "" : "";
601
+ let n = t.closest(tt.map((e) => `.${e}`).join(", ")), i = n ? tt.find((e) => n.classList.contains(e)) ?? "" : "";
602
602
  a(i);
603
603
  }, [e, r]), i;
604
604
  }
605
- function it(e, r) {
605
+ function rt(e, r) {
606
606
  let [i, a] = n(void 0);
607
607
  return t(() => {
608
608
  if (!r || typeof document > "u") return;
@@ -610,47 +610,65 @@ function it(e, r) {
610
610
  t && a(t.closest("[data-surface]")?.getAttribute("data-surface") ?? void 0);
611
611
  }, [e, r]), i;
612
612
  }
613
- var at = {
614
- liquid: "_liquid_lq7ov_3",
615
- regular: "_regular_lq7ov_11",
616
- clear: "_clear_lq7ov_12",
617
- interactive: "_interactive_lq7ov_62",
618
- defs: "_defs_lq7ov_64"
613
+ var it = {
614
+ liquid: "_liquid_1vuvb_5",
615
+ regular: "_regular_1vuvb_5",
616
+ clear: "_clear_1vuvb_15",
617
+ "tint-regular": "_tint-regular_1vuvb_37",
618
+ "tint-clear": "_tint-clear_1vuvb_38",
619
+ "tint-subtle": "_tint-subtle_1vuvb_39",
620
+ "tint-none": "_tint-none_1vuvb_40",
621
+ interactive: "_interactive_1vuvb_90",
622
+ defs: "_defs_1vuvb_92"
619
623
  };
620
624
  //#endregion
621
625
  //#region src/lib/LiquidGlass.tsx
622
- function ot() {
626
+ function at() {
623
627
  return typeof navigator > "u" ? !1 : !!(navigator.userAgentData?.brands)?.some((e) => /Chromium/i.test(e.brand));
624
628
  }
625
- var st = /* @__PURE__ */ new Map();
626
- function ct(e, t, n, r) {
627
- let i = `${e}x${t}:${n}:${r}`, a = st.get(i);
628
- if (a) return a;
629
- let o = document.createElement("canvas");
630
- o.width = e, o.height = t;
631
- let s = o.getContext("2d");
632
- if (!s) return "";
633
- let c = s.createImageData(e, t), l = c.data, u = Math.min(n, e / 2, t / 2), d = e / 2, f = t / 2;
634
- for (let n = 0; n < t; n++) for (let i = 0; i < e; i++) {
635
- let a = i + .5, o = n + .5, s = Math.abs(a - d) - (e / 2 - u), c = Math.abs(o - f) - (t / 2 - u), p = Math.max(s, 0), m = Math.max(c, 0), h = Math.hypot(p, m), g = -(h + Math.min(Math.max(s, c), 0) - u), _ = 0, v = 0, y = 0;
636
- if (g < r) {
637
- s > 0 && c > 0 && h > 0 ? (_ = p / h, v = m / h) : s > c ? _ = 1 : v = 1, _ *= Math.sign(a - d) || 1, v *= Math.sign(o - f) || 1;
638
- let e = 1 - Math.max(g, 0) / r;
639
- y = 1 - Math.sqrt(1 - e * e);
629
+ var ot = /* @__PURE__ */ new Map();
630
+ function st(e, t, n, r, i, a, o, s, c) {
631
+ let l = `${e}x${t}:${n}:${r}:${i}:${a}:${o}:${s.toFixed(3)}:${c.toFixed(3)}`, u = ot.get(l);
632
+ if (u) return u;
633
+ let d = i + Math.abs(a), f = document.createElement("canvas");
634
+ f.width = e, f.height = t;
635
+ let p = f.getContext("2d");
636
+ if (!p) return "";
637
+ let m = p.createImageData(e, t), h = m.data, g = Math.min(n, e / 2, t / 2), _ = e / 2, v = t / 2;
638
+ for (let n = 0; n < t; n++) for (let l = 0; l < e; l++) {
639
+ let u = l + .5, f = n + .5, p = Math.abs(u - _) - (e / 2 - g), m = Math.abs(f - v) - (t / 2 - g), y = Math.max(p, 0), b = Math.max(m, 0), x = Math.hypot(y, b), S = -(x + Math.min(Math.max(p, m), 0) - g), C = 0, w = 0;
640
+ if (S < r && d > 0) {
641
+ let e = 0, t = 0;
642
+ p > 0 && m > 0 && x > 0 ? (e = y / x, t = b / x) : p > m ? e = 1 : t = 1, e *= Math.sign(u - _) || 1, t *= Math.sign(f - v) || 1;
643
+ let n = Math.min(1, Math.max(S, 0) / r), l;
644
+ if (o > 0) l = (1 - n) ** o;
645
+ else {
646
+ let e = 1 - n;
647
+ l = 1 - Math.sqrt(1 - e * e);
648
+ }
649
+ let h = e * s + t * c;
650
+ C = (-e * i + h * e * a) * l / d, w = (-t * i + h * t * a) * l / d;
640
651
  }
641
- let b = (n * e + i) * 4;
642
- l[b] = 128 - _ * y * 127, l[b + 1] = 128 - v * y * 127, l[b + 2] = 128, l[b + 3] = 255;
652
+ let T = (n * e + l) * 4;
653
+ h[T] = 128 + C * 127, h[T + 1] = 128 + w * 127, h[T + 2] = 128, h[T + 3] = 255;
643
654
  }
644
- s.putImageData(c, 0, 0);
645
- let p = o.toDataURL();
646
- return st.set(i, p), p;
655
+ p.putImageData(m, 0, 0);
656
+ let y = f.toDataURL();
657
+ return ot.set(l, y), y;
658
+ }
659
+ function ct(e) {
660
+ let t = getComputedStyle(e).getPropertyValue("--liquid-light-angle").trim(), n = parseFloat(t), r = (Number.isFinite(n) ? n : 135) * Math.PI / 180;
661
+ return {
662
+ lx: -Math.sin(r),
663
+ ly: Math.cos(r)
664
+ };
647
665
  }
648
666
  var lt = (e, t, n) => {
649
667
  let r = parseFloat(getComputedStyle(e).getPropertyValue(t));
650
668
  return Number.isFinite(r) ? r : n;
651
669
  };
652
670
  function ut(t, { enabled: n = !0, refraction: r = "auto" } = {}) {
653
- let o = `liquid-${e.useId().replace(/[^a-zA-Z0-9_-]/g, "")}`, [s, c] = e.useState(null), l = n && r !== "off" && ot();
671
+ let o = `liquid-${e.useId().replace(/[^a-zA-Z0-9_-]/g, "")}`, [s, c] = e.useState(null), l = n && r !== "off" && at();
654
672
  e.useEffect(() => {
655
673
  let e = t.current;
656
674
  if (!e || !l) {
@@ -665,10 +683,13 @@ function ut(t, { enabled: n = !0, refraction: r = "auto" } = {}) {
665
683
  h: n,
666
684
  radius: r,
667
685
  bezel: a,
668
- refraction: Math.round(lt(e, "--liquid-refraction", 30) * o),
669
- dispersion: lt(e, "--liquid-dispersion", 3) * o,
686
+ refraction: lt(e, "--liquid-refraction", 2) * o,
687
+ dispersion: lt(e, "--liquid-dispersion", 1) * o,
670
688
  frost: lt(e, "--liquid-frost", 1.5),
671
- saturate: lt(e, "--liquid-saturate", 1.5)
689
+ saturate: lt(e, "--liquid-saturate", 1.5),
690
+ shift: lt(e, "--liquid-shift", 0) * o,
691
+ profile: lt(e, "--liquid-profile", 0),
692
+ ...ct(e)
672
693
  };
673
694
  c((e) => e && Object.keys(s).every((t) => e[t] === s[t]) ? e : s);
674
695
  };
@@ -676,7 +697,7 @@ function ut(t, { enabled: n = !0, refraction: r = "auto" } = {}) {
676
697
  let r = new ResizeObserver(n);
677
698
  return r.observe(e), () => r.disconnect();
678
699
  }, [t, l]);
679
- let u = s ? ct(s.w, s.h, s.radius, s.bezel) : "", d = e.useCallback((e) => {
700
+ let u = s ? st(s.w, s.h, s.radius, s.bezel, s.refraction, s.shift, s.profile, s.lx, s.ly) : "", d = e.useCallback((e) => {
680
701
  let t = e.currentTarget, n = t.getBoundingClientRect();
681
702
  t.style.setProperty("--mx", `${e.clientX - n.left}px`), t.style.setProperty("--my", `${e.clientY - n.top}px`);
682
703
  }, []), f = l && !!s && !!u, p = (e) => {
@@ -685,7 +706,7 @@ function ut(t, { enabled: n = !0, refraction: r = "auto" } = {}) {
685
706
  };
686
707
  return {
687
708
  filter: f && s ? /* @__PURE__ */ i("svg", {
688
- className: at.defs,
709
+ className: it.defs,
689
710
  width: "0",
690
711
  height: "0",
691
712
  "aria-hidden": "true",
@@ -716,7 +737,7 @@ function ut(t, { enabled: n = !0, refraction: r = "auto" } = {}) {
716
737
  ].map((t) => /* @__PURE__ */ a(e.Fragment, { children: [/* @__PURE__ */ i("feDisplacementMap", {
717
738
  in: "SourceGraphic",
718
739
  in2: "map",
719
- scale: s.refraction + t * s.dispersion,
740
+ scale: 2 * (s.refraction + Math.abs(s.shift) + t * s.dispersion),
720
741
  xChannelSelector: "R",
721
742
  yChannelSelector: "G",
722
743
  result: `d${t}`
@@ -760,33 +781,38 @@ function ut(t, { enabled: n = !0, refraction: r = "auto" } = {}) {
760
781
  }
761
782
  };
762
783
  }
763
- var dt = e.forwardRef(({ variant: t = "regular", radius: n = 20, refraction: r = "auto", interactive: i, className: o, style: s, children: c, onPointerMove: l, ...u }, d) => {
764
- let f = e.useRef(null), p = (e) => {
765
- f.current = e, typeof d == "function" ? d(e) : d && (d.current = e);
766
- }, m = ut(f, { refraction: r });
784
+ var dt = e.forwardRef(({ variant: t = "regular", tint: n = "auto", radius: r = 20, refraction: i = "auto", interactive: o, className: s, style: c, children: l, onPointerMove: u, ...d }, f) => {
785
+ let p = e.useRef(null), m = (e) => {
786
+ p.current = e, typeof f == "function" ? f(e) : f && (f.current = e);
787
+ }, h = ut(p, { refraction: i });
767
788
  return /* @__PURE__ */ a("div", {
768
- ref: p,
769
- ...u,
770
- ...m.props,
789
+ ref: m,
790
+ ...d,
791
+ ...h.props,
771
792
  className: [
772
- at.liquid,
773
- at[t],
774
- i ? at.interactive : "",
775
- o ?? ""
793
+ it.liquid,
794
+ it[t],
795
+ n === "auto" ? "" : it[`tint-${n}`],
796
+ o ? it.interactive : "",
797
+ s ?? ""
776
798
  ].filter(Boolean).join(" "),
777
799
  style: {
778
- borderRadius: n,
779
- ...m.props.style,
780
- ...s
800
+ borderRadius: r,
801
+ ...h.props.style,
802
+ ...c
781
803
  },
782
804
  onPointerMove: (e) => {
783
- m.props.onPointerMove(e), l?.(e);
805
+ h.props.onPointerMove(e), u?.(e);
784
806
  },
785
- children: [m.filter, c]
807
+ children: [h.filter, l]
786
808
  });
787
809
  });
788
810
  dt.displayName = "LiquidGlass";
789
- var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
811
+ var ft = (e = "regular", t = "auto") => [
812
+ it.liquid,
813
+ it[e],
814
+ t === "auto" ? "" : it[`tint-${t}`]
815
+ ].filter(Boolean).join(" "), pt = {
790
816
  "divider--horizontal": "_divider--horizontal_nem37_4",
791
817
  "divider--labeled": "_divider--labeled_nem37_13",
792
818
  "divider--vertical": "_divider--vertical_nem37_27",
@@ -804,7 +830,7 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
804
830
  className: pt.divider__label,
805
831
  children: t
806
832
  })
807
- }), L = {
833
+ }), R = {
808
834
  backdrop: "_backdrop_13dud_1",
809
835
  card: "_card_13dud_12",
810
836
  header: "_header_13dud_34",
@@ -824,7 +850,7 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
824
850
  "card--exiting": "_card--exiting_13dud_115",
825
851
  "sakani-modal-card-out": "_sakani-modal-card-out_13dud_1"
826
852
  }, ht = ({ open: t, onClose: n, title: o, description: s, variant: c = "default", icon: l, cancelLabel: u = "Cancel", confirmLabel: d, onCancel: f, onConfirm: p, confirmLoading: m, closeOnEscape: h = !0, closeOnBackdropClick: g = !0, children: _, hideHeader: v = !1, hideFooterDivider: y = !1, footerJustify: b = "end", className: x }) => {
827
- let S = c === "destructive", C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), E = rt(T, t), D = it(T, t), O = D === "liquid", k = ut(C, { enabled: O }), [A, j] = e.useState(!1);
853
+ let S = c === "destructive", C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), E = nt(T, t), D = rt(T, t), O = D === "liquid", k = ut(C, { enabled: O }), [A, j] = e.useState(!1);
828
854
  e.useEffect(() => {
829
855
  t && j(!0);
830
856
  }, [t]), e.useEffect(() => {
@@ -864,9 +890,9 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
864
890
  "aria-hidden": "true"
865
891
  }), A && Ee(/* @__PURE__ */ i("div", {
866
892
  className: [
867
- L.backdrop,
893
+ R.backdrop,
868
894
  E,
869
- t ? L["backdrop--entering"] : L["backdrop--exiting"]
895
+ t ? R["backdrop--entering"] : R["backdrop--exiting"]
870
896
  ].filter(Boolean).join(" "),
871
897
  "data-surface": D,
872
898
  onMouseDown: (e) => {
@@ -880,9 +906,9 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
880
906
  "aria-label": v ? o : void 0,
881
907
  tabIndex: -1,
882
908
  className: [
883
- L.card,
909
+ R.card,
884
910
  O ? ft("regular") : "",
885
- t ? L["card--entering"] : L["card--exiting"],
911
+ t ? R["card--entering"] : R["card--exiting"],
886
912
  x ?? ""
887
913
  ].filter(Boolean).join(" "),
888
914
  ...O ? k.props : {},
@@ -892,20 +918,20 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
892
918
  children: [
893
919
  O && k.filter,
894
920
  !v && /* @__PURE__ */ a("div", {
895
- className: L.header,
921
+ className: R.header,
896
922
  children: [/* @__PURE__ */ a("div", {
897
- className: L.titleGroup,
923
+ className: R.titleGroup,
898
924
  children: [S && /* @__PURE__ */ i("span", {
899
- className: L.iconWrap,
925
+ className: R.iconWrap,
900
926
  "aria-hidden": "true",
901
927
  children: l ?? /* @__PURE__ */ i(oe, {
902
928
  size: 24,
903
929
  strokeWidth: M(24),
904
- className: L.icon
930
+ className: R.icon
905
931
  })
906
932
  }), /* @__PURE__ */ i("p", {
907
933
  id: "modal-title",
908
- className: L.title,
934
+ className: R.title,
909
935
  children: o
910
936
  })]
911
937
  }), /* @__PURE__ */ i(He, {
@@ -917,19 +943,19 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
917
943
  })]
918
944
  }),
919
945
  s && /* @__PURE__ */ i("p", {
920
- className: L.description,
946
+ className: R.description,
921
947
  children: s
922
948
  }),
923
949
  _,
924
950
  !y && /* @__PURE__ */ i(mt, {}),
925
951
  /* @__PURE__ */ a("div", {
926
- className: [L.footer, b === "between" ? L["footer--between"] : ""].filter(Boolean).join(" "),
927
- children: [/* @__PURE__ */ i(P, {
952
+ className: [R.footer, b === "between" ? R["footer--between"] : ""].filter(Boolean).join(" "),
953
+ children: [/* @__PURE__ */ i(F, {
928
954
  variant: "secondary",
929
955
  onClick: ee,
930
956
  style: { borderColor: "transparent" },
931
957
  children: u
932
- }), /* @__PURE__ */ i(P, {
958
+ }), /* @__PURE__ */ i(F, {
933
959
  variant: S ? "destructive" : "primary",
934
960
  onClick: p,
935
961
  loading: m,
@@ -939,7 +965,7 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
939
965
  ]
940
966
  })
941
967
  }), document.body)] });
942
- }, R = {
968
+ }, z = {
943
969
  row: "_row_88l3n_2",
944
970
  "row--unread": "_row--unread_88l3n_12",
945
971
  iconWrapSurface: "_iconWrapSurface_88l3n_17",
@@ -959,22 +985,22 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
959
985
  strokeWidth: M(24)
960
986
  });
961
987
  return p ? /* @__PURE__ */ a("div", {
962
- className: [R.card, f ?? ""].filter(Boolean).join(" "),
988
+ className: [z.card, f ?? ""].filter(Boolean).join(" "),
963
989
  children: [/* @__PURE__ */ a("div", {
964
- className: R.cardTop,
990
+ className: z.cardTop,
965
991
  children: [
966
992
  /* @__PURE__ */ i("span", {
967
- className: R.iconWrapCanvas,
993
+ className: z.iconWrapCanvas,
968
994
  "aria-hidden": "true",
969
995
  children: h
970
996
  }),
971
997
  /* @__PURE__ */ a("div", {
972
- className: R.content,
998
+ className: z.content,
973
999
  children: [/* @__PURE__ */ i("p", {
974
- className: R.titleBold,
1000
+ className: z.titleBold,
975
1001
  children: t
976
1002
  }), /* @__PURE__ */ i("p", {
977
- className: R.description,
1003
+ className: z.description,
978
1004
  children: s
979
1005
  })]
980
1006
  }),
@@ -987,13 +1013,13 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
987
1013
  })
988
1014
  ]
989
1015
  }), /* @__PURE__ */ a("div", {
990
- className: R.actions,
991
- children: [c && /* @__PURE__ */ i(P, {
1016
+ className: z.actions,
1017
+ children: [c && /* @__PURE__ */ i(F, {
992
1018
  variant: "ghost",
993
1019
  size: "sm",
994
1020
  onClick: c,
995
1021
  children: l
996
- }), u && /* @__PURE__ */ i(P, {
1022
+ }), u && /* @__PURE__ */ i(F, {
997
1023
  variant: "secondary",
998
1024
  size: "sm",
999
1025
  onClick: d,
@@ -1002,25 +1028,25 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
1002
1028
  })]
1003
1029
  })]
1004
1030
  }) : /* @__PURE__ */ a("div", {
1005
- className: [R.row, m ? R["row--unread"] : ""].filter(Boolean).join(" "),
1031
+ className: [z.row, m ? z["row--unread"] : ""].filter(Boolean).join(" "),
1006
1032
  children: [
1007
1033
  /* @__PURE__ */ i("span", {
1008
- className: R.iconWrapSurface,
1034
+ className: z.iconWrapSurface,
1009
1035
  "aria-hidden": "true",
1010
1036
  children: h
1011
1037
  }),
1012
1038
  /* @__PURE__ */ a("div", {
1013
- className: R.content,
1039
+ className: z.content,
1014
1040
  children: [/* @__PURE__ */ i("p", {
1015
- className: m ? R.titleBold : R.titleMuted,
1041
+ className: m ? z.titleBold : z.titleMuted,
1016
1042
  children: t
1017
1043
  }), n && /* @__PURE__ */ i("p", {
1018
- className: R.timestamp,
1044
+ className: z.timestamp,
1019
1045
  children: n
1020
1046
  })]
1021
1047
  }),
1022
1048
  m && /* @__PURE__ */ i("span", {
1023
- className: R.dot,
1049
+ className: z.dot,
1024
1050
  "aria-hidden": "true"
1025
1051
  })
1026
1052
  ]
@@ -1041,7 +1067,7 @@ var ft = (e = "regular") => [at.liquid, at[e]].join(" "), pt = {
1041
1067
  className: _t.value,
1042
1068
  children: t
1043
1069
  })]
1044
- }), /* @__PURE__ */ i(tt, {
1070
+ }), /* @__PURE__ */ i(et, {
1045
1071
  value: n,
1046
1072
  size: "lg",
1047
1073
  label: e
@@ -1168,7 +1194,7 @@ var Ct = [
1168
1194
  md: 240,
1169
1195
  lg: 320,
1170
1196
  xl: 420
1171
- }, z = 6, Ot = (e) => {
1197
+ }, B = 6, Ot = (e) => {
1172
1198
  if (e <= 0) return 1;
1173
1199
  let t = 10 ** Math.floor(Math.log10(e)), n = e / t;
1174
1200
  return (n <= 1 ? 1 : n <= 2 ? 2 : n <= 5 ? 5 : 10) * t;
@@ -1307,13 +1333,13 @@ var Ct = [
1307
1333
  radius: n === "stacked" ? [
1308
1334
  0,
1309
1335
  0,
1310
- z,
1311
- z
1336
+ B,
1337
+ B
1312
1338
  ] : [
1313
- z,
1314
- z,
1315
- z,
1316
- z
1339
+ B,
1340
+ B,
1341
+ B,
1342
+ B
1317
1343
  ],
1318
1344
  isAnimationActive: !1,
1319
1345
  activeBar: A("value"),
@@ -1329,15 +1355,15 @@ var Ct = [
1329
1355
  fill: g,
1330
1356
  stackId: n === "stacked" ? "stack" : void 0,
1331
1357
  radius: n === "stacked" ? [
1332
- z,
1333
- z,
1358
+ B,
1359
+ B,
1334
1360
  0,
1335
1361
  0
1336
1362
  ] : [
1337
- z,
1338
- z,
1339
- z,
1340
- z
1363
+ B,
1364
+ B,
1365
+ B,
1366
+ B
1341
1367
  ],
1342
1368
  isAnimationActive: !1,
1343
1369
  activeBar: A("value2"),
@@ -1352,10 +1378,10 @@ var Ct = [
1352
1378
  name: "Value",
1353
1379
  fill: l === null ? h : D(l),
1354
1380
  radius: [
1355
- z,
1356
- z,
1357
- z,
1358
- z
1381
+ B,
1382
+ B,
1383
+ B,
1384
+ B
1359
1385
  ],
1360
1386
  isAnimationActive: !1,
1361
1387
  activeBar: A("value"),
@@ -1408,7 +1434,7 @@ var Ct = [
1408
1434
  children: r
1409
1435
  })
1410
1436
  ]
1411
- }), B = {
1437
+ }), V = {
1412
1438
  stepper: "_stepper_1w3rz_1",
1413
1439
  stepBtn: "_stepBtn_1w3rz_10",
1414
1440
  stepDivider: "_stepDivider_1w3rz_27",
@@ -1437,13 +1463,13 @@ var Ct = [
1437
1463
  let e = setTimeout(() => o(null), 260);
1438
1464
  return () => clearTimeout(e);
1439
1465
  }, [r]), /* @__PURE__ */ a("span", {
1440
- className: B.roll,
1466
+ className: V.roll,
1441
1467
  children: [r && /* @__PURE__ */ i("span", {
1442
- className: [B.rollNum, r.direction === "up" ? B.rollOutUp : B.rollOutDown].join(" "),
1468
+ className: [V.rollNum, r.direction === "up" ? V.rollOutUp : V.rollOutDown].join(" "),
1443
1469
  "aria-hidden": "true",
1444
1470
  children: r.value
1445
1471
  }, `out-${r.value}`), /* @__PURE__ */ i("span", {
1446
- className: [B.rollNum, r ? r.direction === "up" ? B.rollInUp : B.rollInDown : ""].filter(Boolean).join(" "),
1472
+ className: [V.rollNum, r ? r.direction === "up" ? V.rollInUp : V.rollInDown : ""].filter(Boolean).join(" "),
1447
1473
  onAnimationEnd: () => o(null),
1448
1474
  children: t
1449
1475
  }, `in-${t}`)]
@@ -1454,13 +1480,13 @@ var Ct = [
1454
1480
  return r !== void 0 && (t = Math.max(r, t)), o !== void 0 && (t = Math.min(o, t)), t;
1455
1481
  };
1456
1482
  return /* @__PURE__ */ a("div", {
1457
- className: [B.stepper, c ?? ""].filter(Boolean).join(" "),
1483
+ className: [V.stepper, c ?? ""].filter(Boolean).join(" "),
1458
1484
  role: "group",
1459
1485
  "aria-label": s,
1460
1486
  children: [
1461
1487
  /* @__PURE__ */ i("button", {
1462
1488
  type: "button",
1463
- className: B.stepBtn,
1489
+ className: V.stepBtn,
1464
1490
  disabled: !l,
1465
1491
  onClick: () => n?.(Math.max(r, t - 1)),
1466
1492
  "aria-label": "Decrease quantity",
@@ -1470,17 +1496,17 @@ var Ct = [
1470
1496
  })
1471
1497
  }),
1472
1498
  /* @__PURE__ */ i("span", {
1473
- className: B.stepDivider,
1499
+ className: V.stepDivider,
1474
1500
  "aria-hidden": "true"
1475
1501
  }),
1476
1502
  /* @__PURE__ */ a("span", {
1477
- className: B.stepValue,
1503
+ className: V.stepValue,
1478
1504
  children: [/* @__PURE__ */ i("input", {
1479
1505
  ref: d,
1480
1506
  type: "text",
1481
1507
  inputMode: "numeric",
1482
1508
  size: Math.max((f ? m : String(t)).length, 1),
1483
- className: [B.stepInput, f ? "" : B.stepInputResting].filter(Boolean).join(" "),
1509
+ className: [V.stepInput, f ? "" : V.stepInputResting].filter(Boolean).join(" "),
1484
1510
  value: f ? m : String(t),
1485
1511
  "aria-label": s,
1486
1512
  onFocus: (e) => {
@@ -1499,18 +1525,18 @@ var Ct = [
1499
1525
  e.key === "Enter" && (e.preventDefault(), d.current?.blur()), e.key === "Escape" && (h(String(t)), d.current?.blur());
1500
1526
  }
1501
1527
  }), /* @__PURE__ */ i("span", {
1502
- className: [B.rollOverlay, f ? B.rollOverlayHidden : ""].filter(Boolean).join(" "),
1528
+ className: [V.rollOverlay, f ? V.rollOverlayHidden : ""].filter(Boolean).join(" "),
1503
1529
  "aria-hidden": "true",
1504
1530
  children: /* @__PURE__ */ i(Mt, { value: t })
1505
1531
  })]
1506
1532
  }),
1507
1533
  /* @__PURE__ */ i("span", {
1508
- className: B.stepDivider,
1534
+ className: V.stepDivider,
1509
1535
  "aria-hidden": "true"
1510
1536
  }),
1511
1537
  /* @__PURE__ */ i("button", {
1512
1538
  type: "button",
1513
- className: B.stepBtn,
1539
+ className: V.stepBtn,
1514
1540
  disabled: !u,
1515
1541
  onClick: () => n?.(o === void 0 ? t + 1 : Math.min(o, t + 1)),
1516
1542
  "aria-label": "Increase quantity",
@@ -1773,7 +1799,7 @@ var Ct = [
1773
1799
  onAnimationEnd: () => s(!1)
1774
1800
  })
1775
1801
  });
1776
- }, V = {
1802
+ }, H = {
1777
1803
  card: "_card_jlv97_1",
1778
1804
  imageWrap: "_imageWrap_jlv97_16",
1779
1805
  image: "_image_jlv97_16",
@@ -1799,19 +1825,19 @@ var Ct = [
1799
1825
  }), nn = ({ image: e, imageAlt: t, name: n, description: r, price: o, compareAtPrice: s, rating: c, reviewCount: l, colors: u = [], onColorSelect: d, inStock: f = !0, wishlisted: p = !1, onWishlistToggle: m, onAddItem: h, addItemLabel: g = "Add Item", formatPrice: _ = tn, className: v }) => {
1800
1826
  let y = s !== void 0, b = y ? Math.ceil((1 - o / s) * 100) : 0, x = c === void 0 ? 0 : Math.round(c);
1801
1827
  return /* @__PURE__ */ a("div", {
1802
- className: [V.card, v ?? ""].filter(Boolean).join(" "),
1828
+ className: [H.card, v ?? ""].filter(Boolean).join(" "),
1803
1829
  children: [/* @__PURE__ */ a("div", {
1804
- className: V.imageWrap,
1830
+ className: H.imageWrap,
1805
1831
  children: [
1806
1832
  /* @__PURE__ */ i("img", {
1807
1833
  src: e,
1808
1834
  alt: t ?? n,
1809
- className: [V.image, f ? "" : V.imageDimmed].filter(Boolean).join(" ")
1835
+ className: [H.image, f ? "" : H.imageDimmed].filter(Boolean).join(" ")
1810
1836
  }),
1811
1837
  y && f && /* @__PURE__ */ a(jt, {
1812
1838
  variant: "danger",
1813
1839
  emphasis: "solid",
1814
- className: V.saleBadge,
1840
+ className: H.saleBadge,
1815
1841
  children: [
1816
1842
  "-",
1817
1843
  b,
@@ -1821,50 +1847,50 @@ var Ct = [
1821
1847
  f && /* @__PURE__ */ i(en, {
1822
1848
  saved: p,
1823
1849
  label: n,
1824
- className: V.wishlistBtn,
1850
+ className: H.wishlistBtn,
1825
1851
  onToggle: m
1826
1852
  }),
1827
1853
  !f && /* @__PURE__ */ i("span", {
1828
- className: V.outOfStockLabel,
1854
+ className: H.outOfStockLabel,
1829
1855
  children: "Out of stock"
1830
1856
  })
1831
1857
  ]
1832
1858
  }), /* @__PURE__ */ a("div", {
1833
- className: V.body,
1859
+ className: H.body,
1834
1860
  children: [
1835
1861
  c !== void 0 && /* @__PURE__ */ i("div", {
1836
- className: V.rating,
1862
+ className: H.rating,
1837
1863
  role: "img",
1838
1864
  "aria-label": `Rated ${c} out of 5${l ? ` (${l} reviews)` : ""}`,
1839
1865
  children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ i(ne, {
1840
1866
  size: 16,
1841
1867
  strokeWidth: M(16),
1842
- className: t < x ? V.starFilled : V.starEmpty,
1868
+ className: t < x ? H.starFilled : H.starEmpty,
1843
1869
  fill: t < x ? "currentColor" : "none"
1844
1870
  }, t))
1845
1871
  }),
1846
1872
  /* @__PURE__ */ a("div", {
1847
- className: V.titleRow,
1873
+ className: H.titleRow,
1848
1874
  children: [/* @__PURE__ */ i("p", {
1849
- className: V.name,
1875
+ className: H.name,
1850
1876
  children: n
1851
1877
  }), /* @__PURE__ */ a("div", {
1852
- className: V.priceRow,
1878
+ className: H.priceRow,
1853
1879
  children: [y && /* @__PURE__ */ i("span", {
1854
- className: V.priceOriginal,
1880
+ className: H.priceOriginal,
1855
1881
  children: _(s)
1856
1882
  }), /* @__PURE__ */ i("span", {
1857
- className: V.price,
1883
+ className: H.price,
1858
1884
  children: _(o)
1859
1885
  })]
1860
1886
  })]
1861
1887
  }),
1862
1888
  r && /* @__PURE__ */ i("p", {
1863
- className: V.description,
1889
+ className: H.description,
1864
1890
  children: r
1865
1891
  }),
1866
1892
  u.length > 0 && /* @__PURE__ */ i("div", {
1867
- className: V.swatches,
1893
+ className: H.swatches,
1868
1894
  role: "group",
1869
1895
  "aria-label": "Color",
1870
1896
  children: u.map((e) => /* @__PURE__ */ i(Yt, {
@@ -1872,18 +1898,18 @@ var Ct = [
1872
1898
  onSelect: () => d?.(e.id ?? e.label)
1873
1899
  }, e.id ?? e.label))
1874
1900
  }),
1875
- /* @__PURE__ */ i(P, {
1901
+ /* @__PURE__ */ i(F, {
1876
1902
  variant: "primary",
1877
1903
  size: "md",
1878
1904
  disabled: !f,
1879
- className: V.addButton,
1905
+ className: H.addButton,
1880
1906
  onClick: h,
1881
1907
  children: f ? g : "Out of stock"
1882
1908
  })
1883
1909
  ]
1884
1910
  })]
1885
1911
  });
1886
- }, H = {
1912
+ }, U = {
1887
1913
  gallery: "_gallery_1mrk8_1",
1888
1914
  galleryBottom: "_galleryBottom_1mrk8_5",
1889
1915
  galleryLeft: "_galleryLeft_1mrk8_10",
@@ -1902,7 +1928,7 @@ var Ct = [
1902
1928
  let l = r !== void 0, [u, d] = e.useState(o), f = l ? r : u, p = (e) => {
1903
1929
  l || d(e), s?.(e);
1904
1930
  }, m = t[f] ?? t[0], h = n === "left", g = /* @__PURE__ */ i("div", {
1905
- className: [H.thumbs, h ? H.thumbsLeft : H.thumbsBottom].filter(Boolean).join(" "),
1931
+ className: [U.thumbs, h ? U.thumbsLeft : U.thumbsBottom].filter(Boolean).join(" "),
1906
1932
  role: "tablist",
1907
1933
  "aria-label": "Product images",
1908
1934
  children: t.map((e, t) => /* @__PURE__ */ i("button", {
@@ -1911,40 +1937,40 @@ var Ct = [
1911
1937
  "aria-selected": t === f,
1912
1938
  "aria-label": e.alt ?? `Image ${t + 1}`,
1913
1939
  className: [
1914
- H.thumb,
1915
- h ? H.thumbLeft : H.thumbBottom,
1916
- t === f ? H.thumbActive : ""
1940
+ U.thumb,
1941
+ h ? U.thumbLeft : U.thumbBottom,
1942
+ t === f ? U.thumbActive : ""
1917
1943
  ].filter(Boolean).join(" "),
1918
1944
  onClick: () => p(t),
1919
1945
  children: /* @__PURE__ */ i("img", {
1920
1946
  src: e.src,
1921
1947
  alt: "",
1922
- className: H.thumbImage
1948
+ className: U.thumbImage
1923
1949
  })
1924
1950
  }, e.src + t))
1925
1951
  });
1926
1952
  return /* @__PURE__ */ a("div", {
1927
1953
  className: [
1928
- H.gallery,
1929
- h ? H.galleryLeft : H.galleryBottom,
1954
+ U.gallery,
1955
+ h ? U.galleryLeft : U.galleryBottom,
1930
1956
  c ?? ""
1931
1957
  ].filter(Boolean).join(" "),
1932
1958
  children: [
1933
1959
  !h && m && /* @__PURE__ */ i("div", {
1934
- className: H.mainBottom,
1960
+ className: U.mainBottom,
1935
1961
  children: /* @__PURE__ */ i("img", {
1936
1962
  src: m.src,
1937
1963
  alt: m.alt ?? "",
1938
- className: H.mainImage
1964
+ className: U.mainImage
1939
1965
  })
1940
1966
  }),
1941
1967
  g,
1942
1968
  h && m && /* @__PURE__ */ i("div", {
1943
- className: H.mainLeft,
1969
+ className: U.mainLeft,
1944
1970
  children: /* @__PURE__ */ i("img", {
1945
1971
  src: m.src,
1946
1972
  alt: m.alt ?? "",
1947
- className: H.mainImage
1973
+ className: U.mainImage
1948
1974
  })
1949
1975
  })
1950
1976
  ]
@@ -2043,7 +2069,7 @@ var Ct = [
2043
2069
  className: r,
2044
2070
  children: n ?? c
2045
2071
  });
2046
- }, U = {
2072
+ }, W = {
2047
2073
  card: "_card_1w9hp_1",
2048
2074
  cardDefault: "_cardDefault_1w9hp_8",
2049
2075
  imageDefault: "_imageDefault_1w9hp_19",
@@ -2062,51 +2088,51 @@ var Ct = [
2062
2088
  let d = l === "horizontal";
2063
2089
  return /* @__PURE__ */ a("div", {
2064
2090
  className: [
2065
- U.card,
2066
- d ? U.cardHorizontal : U.cardDefault,
2091
+ W.card,
2092
+ d ? W.cardHorizontal : W.cardDefault,
2067
2093
  u ?? ""
2068
2094
  ].filter(Boolean).join(" "),
2069
2095
  children: [d ? /* @__PURE__ */ i("span", {
2070
- className: U.imageWrapHorizontal,
2096
+ className: W.imageWrapHorizontal,
2071
2097
  children: /* @__PURE__ */ i("img", {
2072
2098
  src: e,
2073
2099
  alt: t ?? "",
2074
- className: U.image
2100
+ className: W.image
2075
2101
  })
2076
2102
  }) : /* @__PURE__ */ i("img", {
2077
2103
  src: e,
2078
2104
  alt: t ?? "",
2079
- className: U.imageDefault
2105
+ className: W.imageDefault
2080
2106
  }), /* @__PURE__ */ a("div", {
2081
- className: d ? U.bodyHorizontal : U.bodyDefault,
2107
+ className: d ? W.bodyHorizontal : W.bodyDefault,
2082
2108
  children: [
2083
2109
  /* @__PURE__ */ a("div", {
2084
- className: U.metaRow,
2110
+ className: W.metaRow,
2085
2111
  children: [/* @__PURE__ */ i(jt, {
2086
2112
  variant: "accent",
2087
2113
  emphasis: "subtle",
2088
2114
  children: n
2089
2115
  }), /* @__PURE__ */ i("span", {
2090
- className: U.readTime,
2116
+ className: W.readTime,
2091
2117
  children: r
2092
2118
  })]
2093
2119
  }),
2094
2120
  /* @__PURE__ */ i("p", {
2095
- className: U.title,
2121
+ className: W.title,
2096
2122
  children: o
2097
2123
  }),
2098
2124
  /* @__PURE__ */ i("p", {
2099
- className: U.excerpt,
2125
+ className: W.excerpt,
2100
2126
  children: s
2101
2127
  }),
2102
2128
  /* @__PURE__ */ a("div", {
2103
- className: U.author,
2129
+ className: W.author,
2104
2130
  children: [/* @__PURE__ */ i(Ne, {
2105
2131
  size: "sm",
2106
2132
  src: c.avatarSrc,
2107
2133
  alt: c.avatarAlt ?? c.name
2108
2134
  }), /* @__PURE__ */ a("p", {
2109
- className: U.authorText,
2135
+ className: W.authorText,
2110
2136
  children: [
2111
2137
  c.name,
2112
2138
  " · ",
@@ -2117,7 +2143,7 @@ var Ct = [
2117
2143
  ]
2118
2144
  })]
2119
2145
  });
2120
- }, W = {
2146
+ }, fn = {
2121
2147
  card: "_card_8cf5b_1",
2122
2148
  cardHorizontal: "_cardHorizontal_8cf5b_12",
2123
2149
  cardVertical: "_cardVertical_8cf5b_20",
@@ -2129,20 +2155,20 @@ var Ct = [
2129
2155
  footer: "_footer_8cf5b_86",
2130
2156
  author: "_author_8cf5b_94",
2131
2157
  authorText: "_authorText_8cf5b_101"
2132
- }, fn = ({ image: e, imageAlt: t, badgeLabel: n = "Featured", title: r, excerpt: o, author: s, ctaLabel: c = "Read article", onCtaClick: l, orientation: u = "horizontal", className: d }) => {
2158
+ }, pn = ({ image: e, imageAlt: t, badgeLabel: n = "Featured", title: r, excerpt: o, author: s, ctaLabel: c = "Read article", onCtaClick: l, orientation: u = "horizontal", className: d }) => {
2133
2159
  let f = u === "vertical";
2134
2160
  return /* @__PURE__ */ a("div", {
2135
2161
  className: [
2136
- W.card,
2137
- f ? W.cardVertical : W.cardHorizontal,
2162
+ fn.card,
2163
+ f ? fn.cardVertical : fn.cardHorizontal,
2138
2164
  d ?? ""
2139
2165
  ].filter(Boolean).join(" "),
2140
2166
  children: [/* @__PURE__ */ i("img", {
2141
2167
  src: e,
2142
2168
  alt: t ?? "",
2143
- className: W.image
2169
+ className: fn.image
2144
2170
  }), /* @__PURE__ */ a("div", {
2145
- className: f ? W.bodyVertical : W.bodyHorizontal,
2171
+ className: f ? fn.bodyVertical : fn.bodyHorizontal,
2146
2172
  children: [
2147
2173
  /* @__PURE__ */ i(jt, {
2148
2174
  variant: "accent",
@@ -2150,31 +2176,31 @@ var Ct = [
2150
2176
  children: n
2151
2177
  }),
2152
2178
  /* @__PURE__ */ i("p", {
2153
- className: W.title,
2179
+ className: fn.title,
2154
2180
  children: r
2155
2181
  }),
2156
2182
  /* @__PURE__ */ i("p", {
2157
- className: W.excerpt,
2183
+ className: fn.excerpt,
2158
2184
  children: o
2159
2185
  }),
2160
2186
  /* @__PURE__ */ a("div", {
2161
- className: W.footer,
2187
+ className: fn.footer,
2162
2188
  children: [/* @__PURE__ */ a("div", {
2163
- className: W.author,
2189
+ className: fn.author,
2164
2190
  children: [/* @__PURE__ */ i(Ne, {
2165
2191
  size: "md",
2166
2192
  src: s.avatarSrc,
2167
2193
  alt: s.avatarAlt ?? s.name,
2168
2194
  initials: s.initials
2169
2195
  }), /* @__PURE__ */ a("p", {
2170
- className: W.authorText,
2196
+ className: fn.authorText,
2171
2197
  children: [
2172
2198
  s.name,
2173
2199
  " · ",
2174
2200
  s.date
2175
2201
  ]
2176
2202
  })]
2177
- }), /* @__PURE__ */ i(P, {
2203
+ }), /* @__PURE__ */ i(F, {
2178
2204
  variant: "secondary",
2179
2205
  size: "sm",
2180
2206
  onClick: l,
@@ -2184,7 +2210,7 @@ var Ct = [
2184
2210
  ]
2185
2211
  })]
2186
2212
  });
2187
- }, pn = {
2213
+ }, mn = {
2188
2214
  chip: "_chip_scl8l_1",
2189
2215
  "chip--sm": "_chip--sm_scl8l_11",
2190
2216
  "chip--md": "_chip--md_scl8l_17",
@@ -2193,26 +2219,26 @@ var Ct = [
2193
2219
  "chip--outline": "_chip--outline_scl8l_35",
2194
2220
  "chip--solid": "_chip--solid_scl8l_39",
2195
2221
  "chip--subtle": "_chip--subtle_scl8l_43"
2196
- }, mn = {
2222
+ }, hn = {
2197
2223
  sm: 16,
2198
2224
  md: 20,
2199
2225
  lg: 24
2200
- }, hn = ({ icon: t, size: n = "md", variant: r = "light", className: a }) => {
2201
- let o = mn[n], s = e.isValidElement(t) ? e.cloneElement(t, {
2226
+ }, gn = ({ icon: t, size: n = "md", variant: r = "light", className: a }) => {
2227
+ let o = hn[n], s = e.isValidElement(t) ? e.cloneElement(t, {
2202
2228
  size: o,
2203
2229
  strokeWidth: M(o)
2204
2230
  }) : t;
2205
2231
  return /* @__PURE__ */ i("div", {
2206
2232
  className: [
2207
- pn.chip,
2208
- pn[`chip--${n}`],
2209
- pn[`chip--${r}`],
2233
+ mn.chip,
2234
+ mn[`chip--${n}`],
2235
+ mn[`chip--${r}`],
2210
2236
  a ?? ""
2211
2237
  ].filter(Boolean).join(" "),
2212
2238
  "aria-hidden": "true",
2213
2239
  children: s
2214
2240
  });
2215
- }, gn = {
2241
+ }, _n = {
2216
2242
  group: "_group_mvlh4_3",
2217
2243
  group__item: "_group__item_mvlh4_6",
2218
2244
  "group--sm": "_group--sm_mvlh4_9",
@@ -2223,16 +2249,16 @@ var Ct = [
2223
2249
  "overflow--md": "_overflow--md_mvlh4_26",
2224
2250
  "overflow--lg": "_overflow--lg_mvlh4_27",
2225
2251
  "overflow--xl": "_overflow--xl_mvlh4_28"
2226
- }, _n = ({ size: e = "md", max: t = 4, avatars: n, className: r }) => {
2252
+ }, vn = ({ size: e = "md", max: t = 4, avatars: n, className: r }) => {
2227
2253
  let o = n.slice(0, t), s = n.length - o.length;
2228
2254
  return /* @__PURE__ */ a("div", {
2229
2255
  className: [
2230
- gn.group,
2231
- gn[`group--${e}`],
2256
+ _n.group,
2257
+ _n[`group--${e}`],
2232
2258
  r ?? ""
2233
2259
  ].filter(Boolean).join(" "),
2234
2260
  children: [o.map((t, n) => /* @__PURE__ */ i("span", {
2235
- className: gn.group__item,
2261
+ className: _n.group__item,
2236
2262
  children: /* @__PURE__ */ i(Ne, {
2237
2263
  size: e,
2238
2264
  src: t.src,
@@ -2240,25 +2266,25 @@ var Ct = [
2240
2266
  alt: t.alt
2241
2267
  })
2242
2268
  }, n)), s > 0 && /* @__PURE__ */ i("span", {
2243
- className: gn.group__item,
2269
+ className: _n.group__item,
2244
2270
  children: /* @__PURE__ */ a("span", {
2245
- className: [gn.overflow, gn[`overflow--${e}`]].join(" "),
2271
+ className: [_n.overflow, _n[`overflow--${e}`]].join(" "),
2246
2272
  children: ["+", s]
2247
2273
  })
2248
2274
  })]
2249
2275
  });
2250
- }, vn = {
2276
+ }, yn = {
2251
2277
  root: "_root_165je_1",
2252
2278
  dot: "_dot_165je_13",
2253
2279
  dotActive: "_dotActive_165je_21",
2254
2280
  dotRemote: "_dotRemote_165je_25"
2255
- }, yn = ({ location: e, status: t = "active", className: n }) => /* @__PURE__ */ a("span", {
2256
- className: [vn.root, n ?? ""].filter(Boolean).join(" "),
2281
+ }, bn = ({ location: e, status: t = "active", className: n }) => /* @__PURE__ */ a("span", {
2282
+ className: [yn.root, n ?? ""].filter(Boolean).join(" "),
2257
2283
  children: [/* @__PURE__ */ i("span", {
2258
- className: [vn.dot, t === "active" ? vn.dotActive : vn.dotRemote].join(" "),
2284
+ className: [yn.dot, t === "active" ? yn.dotActive : yn.dotRemote].join(" "),
2259
2285
  "aria-hidden": "true"
2260
2286
  }), e]
2261
- }), bn = {
2287
+ }), xn = {
2262
2288
  root: "_root_15jaa_1",
2263
2289
  rootCard: "_rootCard_15jaa_9",
2264
2290
  rootRow: "_rootRow_15jaa_21",
@@ -2268,18 +2294,18 @@ var Ct = [
2268
2294
  description: "_description_15jaa_56",
2269
2295
  metaRow: "_metaRow_15jaa_65",
2270
2296
  applyBtn: "_applyBtn_15jaa_72"
2271
- }, xn = ({ title: e, description: t, department: n, employmentType: o, location: s, locationStatus: c = "remote", onApply: l, applyLabel: u = "Apply now", layout: d = "card", className: f }) => {
2297
+ }, Sn = ({ title: e, description: t, department: n, employmentType: o, location: s, locationStatus: c = "remote", onApply: l, applyLabel: u = "Apply now", layout: d = "card", className: f }) => {
2272
2298
  let p = d === "row", m = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a("div", {
2273
- className: bn.titleGroup,
2299
+ className: xn.titleGroup,
2274
2300
  children: [/* @__PURE__ */ i("p", {
2275
- className: bn.title,
2301
+ className: xn.title,
2276
2302
  children: e
2277
2303
  }), /* @__PURE__ */ i("p", {
2278
- className: bn.description,
2304
+ className: xn.description,
2279
2305
  children: t
2280
2306
  })]
2281
2307
  }), /* @__PURE__ */ a("div", {
2282
- className: bn.metaRow,
2308
+ className: xn.metaRow,
2283
2309
  children: [
2284
2310
  /* @__PURE__ */ i(jt, {
2285
2311
  variant: "accent",
@@ -2291,7 +2317,7 @@ var Ct = [
2291
2317
  emphasis: "subtle",
2292
2318
  children: o
2293
2319
  }),
2294
- /* @__PURE__ */ i(yn, {
2320
+ /* @__PURE__ */ i(bn, {
2295
2321
  location: s,
2296
2322
  status: c
2297
2323
  })
@@ -2299,43 +2325,43 @@ var Ct = [
2299
2325
  })] });
2300
2326
  return p ? /* @__PURE__ */ a("div", {
2301
2327
  className: [
2302
- bn.root,
2303
- bn.rootRow,
2328
+ xn.root,
2329
+ xn.rootRow,
2304
2330
  f ?? ""
2305
2331
  ].filter(Boolean).join(" "),
2306
2332
  children: [/* @__PURE__ */ i("div", {
2307
- className: bn.rowLeft,
2333
+ className: xn.rowLeft,
2308
2334
  children: m
2309
- }), /* @__PURE__ */ i(P, {
2335
+ }), /* @__PURE__ */ i(F, {
2310
2336
  variant: "secondary",
2311
2337
  size: "sm",
2312
- className: bn.applyBtn,
2338
+ className: xn.applyBtn,
2313
2339
  onClick: l,
2314
2340
  children: u
2315
2341
  })]
2316
2342
  }) : /* @__PURE__ */ a("div", {
2317
2343
  className: [
2318
- bn.root,
2319
- bn.rootCard,
2344
+ xn.root,
2345
+ xn.rootCard,
2320
2346
  f ?? ""
2321
2347
  ].filter(Boolean).join(" "),
2322
- children: [m, /* @__PURE__ */ i(P, {
2348
+ children: [m, /* @__PURE__ */ i(F, {
2323
2349
  variant: "secondary",
2324
2350
  size: "sm",
2325
2351
  onClick: l,
2326
2352
  children: u
2327
2353
  })]
2328
2354
  });
2329
- }, Sn = {
2355
+ }, Cn = {
2330
2356
  root: "_root_3bf2n_1",
2331
2357
  rootCenter: "_rootCenter_3bf2n_9",
2332
2358
  rootLeft: "_rootLeft_3bf2n_14",
2333
2359
  title: "_title_3bf2n_19",
2334
2360
  subtitle: "_subtitle_3bf2n_28"
2335
- }, Cn = ({ eyebrow: e, title: t, subtitle: n, align: r = "center", titleAs: o = "h2", className: s }) => /* @__PURE__ */ a("div", {
2361
+ }, wn = ({ eyebrow: e, title: t, subtitle: n, align: r = "center", titleAs: o = "h2", className: s }) => /* @__PURE__ */ a("div", {
2336
2362
  className: [
2337
- Sn.root,
2338
- r === "left" ? Sn.rootLeft : Sn.rootCenter,
2363
+ Cn.root,
2364
+ r === "left" ? Cn.rootLeft : Cn.rootCenter,
2339
2365
  s ?? ""
2340
2366
  ].filter(Boolean).join(" "),
2341
2367
  children: [
@@ -2345,11 +2371,11 @@ var Ct = [
2345
2371
  children: e
2346
2372
  }),
2347
2373
  /* @__PURE__ */ i(o, {
2348
- className: Sn.title,
2374
+ className: Cn.title,
2349
2375
  children: t
2350
2376
  }),
2351
2377
  n && /* @__PURE__ */ i("p", {
2352
- className: Sn.subtitle,
2378
+ className: Cn.subtitle,
2353
2379
  children: n
2354
2380
  })
2355
2381
  ]
@@ -2366,7 +2392,7 @@ var Ct = [
2366
2392
  role: "_role_1ye9i_99",
2367
2393
  social: "_social_1ye9i_108",
2368
2394
  bio: "_bio_1ye9i_116"
2369
- }, wn = ({ image: e, imageAlt: t, name: n, role: r, location: o, locationStatus: s = "active", bio: c, socialLinks: l = [], className: u }) => /* @__PURE__ */ a("div", {
2395
+ }, Tn = ({ image: e, imageAlt: t, name: n, role: r, location: o, locationStatus: s = "active", bio: c, socialLinks: l = [], className: u }) => /* @__PURE__ */ a("div", {
2370
2396
  className: [G.card, u ?? ""].filter(Boolean).join(" "),
2371
2397
  children: [/* @__PURE__ */ a("div", {
2372
2398
  className: G.imageWrap,
@@ -2376,7 +2402,7 @@ var Ct = [
2376
2402
  className: G.image
2377
2403
  }), /* @__PURE__ */ i("div", {
2378
2404
  className: G.locationBar,
2379
- children: /* @__PURE__ */ i(yn, {
2405
+ children: /* @__PURE__ */ i(bn, {
2380
2406
  location: o,
2381
2407
  status: s,
2382
2408
  className: G.locationDot
@@ -2401,7 +2427,7 @@ var Ct = [
2401
2427
  href: e.href,
2402
2428
  onClick: e.onClick,
2403
2429
  "aria-label": e.label,
2404
- children: /* @__PURE__ */ i(hn, {
2430
+ children: /* @__PURE__ */ i(gn, {
2405
2431
  icon: e.icon,
2406
2432
  size: "sm",
2407
2433
  variant: "subtle"
@@ -2413,7 +2439,7 @@ var Ct = [
2413
2439
  children: c
2414
2440
  })]
2415
2441
  })]
2416
- }), Tn = {
2442
+ }), En = {
2417
2443
  alert: "_alert_1hjs5_3",
2418
2444
  alert__icon: "_alert__icon_1hjs5_12",
2419
2445
  alert__content: "_alert__content_1hjs5_13",
@@ -2424,7 +2450,7 @@ var Ct = [
2424
2450
  "alert--warning": "_alert--warning_1hjs5_24",
2425
2451
  "alert--danger": "_alert--danger_1hjs5_27",
2426
2452
  "alert--neutral": "_alert--neutral_1hjs5_30"
2427
- }, En = {
2453
+ }, Dn = {
2428
2454
  info: /* @__PURE__ */ a(r, { children: [
2429
2455
  /* @__PURE__ */ i("circle", {
2430
2456
  cx: "12",
@@ -2498,15 +2524,15 @@ var Ct = [
2498
2524
  y2: "8"
2499
2525
  })
2500
2526
  ] })
2501
- }, Dn = ({ color: e = "info", title: t, description: n, icon: r, className: o }) => /* @__PURE__ */ a("div", {
2527
+ }, On = ({ color: e = "info", title: t, description: n, icon: r, className: o }) => /* @__PURE__ */ a("div", {
2502
2528
  role: "alert",
2503
2529
  className: [
2504
- Tn.alert,
2505
- Tn[`alert--${e}`],
2530
+ En.alert,
2531
+ En[`alert--${e}`],
2506
2532
  o ?? ""
2507
2533
  ].filter(Boolean).join(" "),
2508
2534
  children: [/* @__PURE__ */ i("span", {
2509
- className: Tn.alert__icon,
2535
+ className: En.alert__icon,
2510
2536
  "aria-hidden": "true",
2511
2537
  children: /* @__PURE__ */ i("svg", {
2512
2538
  viewBox: "0 0 24 24",
@@ -2517,15 +2543,15 @@ var Ct = [
2517
2543
  strokeLinejoin: "round",
2518
2544
  width: 18,
2519
2545
  height: 18,
2520
- children: r ?? En[e]
2546
+ children: r ?? Dn[e]
2521
2547
  })
2522
2548
  }), /* @__PURE__ */ a("div", {
2523
- className: Tn.alert__content,
2549
+ className: En.alert__content,
2524
2550
  children: [t && /* @__PURE__ */ i("div", {
2525
- className: Tn.alert__title,
2551
+ className: En.alert__title,
2526
2552
  children: t
2527
2553
  }), n && /* @__PURE__ */ i("div", {
2528
- className: Tn.alert__description,
2554
+ className: En.alert__description,
2529
2555
  children: n
2530
2556
  })]
2531
2557
  })]
@@ -2546,7 +2572,7 @@ var Ct = [
2546
2572
  card__footer: "_card__footer_6iftf_47",
2547
2573
  card__meta: "_card__meta_6iftf_48",
2548
2574
  card__assignees: "_card__assignees_6iftf_49"
2549
- }, On = ({ type: e = "default", state: t = "default", cover: n, leading: o, title: s, trailing: c, description: l, tags: u, meta: d, assignees: f, onClick: p, className: m }) => {
2575
+ }, kn = ({ type: e = "default", state: t = "default", cover: n, leading: o, title: s, trailing: c, description: l, tags: u, meta: d, assignees: f, onClick: p, className: m }) => {
2550
2576
  let h = e !== "compact", g = d || f;
2551
2577
  return /* @__PURE__ */ a("div", {
2552
2578
  onClick: p,
@@ -2599,7 +2625,7 @@ var Ct = [
2599
2625
  })] })
2600
2626
  ]
2601
2627
  });
2602
- }, kn = {
2628
+ }, An = {
2603
2629
  breadcrumb: "_breadcrumb_tszff_3",
2604
2630
  list: "_list_tszff_5",
2605
2631
  item: "_item_tszff_15",
@@ -2608,12 +2634,12 @@ var Ct = [
2608
2634
  separator: "_separator_tszff_33",
2609
2635
  "list--button": "_list--button_tszff_38",
2610
2636
  chip: "_chip_tszff_41"
2611
- }, An = {
2637
+ }, jn = {
2612
2638
  highlight: "_highlight_1bp09_15",
2613
2639
  visible: "_visible_1bp09_24",
2614
2640
  glide: "_glide_1bp09_28"
2615
- }, jn = (e) => e.getAttribute("data-hover-item") === "off" || e.getAttribute("aria-disabled") === "true" || e.disabled === !0;
2616
- function Mn(e, t) {
2641
+ }, Mn = (e) => e.getAttribute("data-hover-item") === "off" || e.getAttribute("aria-disabled") === "true" || e.disabled === !0;
2642
+ function Nn(e, t) {
2617
2643
  let n = 0, r = 0, i = e;
2618
2644
  for (; i && i !== t;) {
2619
2645
  n += i.offsetLeft, r += i.offsetTop;
@@ -2632,7 +2658,7 @@ function Mn(e, t) {
2632
2658
  tone: a.getPropertyValue("--hover-tone").trim()
2633
2659
  };
2634
2660
  }
2635
- function Nn() {
2661
+ function Pn() {
2636
2662
  let t = e.useRef(null), [n, r] = e.useState(null), a = e.useCallback((e) => {
2637
2663
  t.current = e, r(e);
2638
2664
  }, []), o = e.useRef(null), s = e.useRef(!1), c = e.useRef(null), l = e.useRef(!1), u = e.useRef(null), [d, f] = e.useState(null), [p, m] = e.useState(!1), [h, g] = e.useState(!1), _ = e.useCallback(() => {
@@ -2641,7 +2667,7 @@ function Nn() {
2641
2667
  let n = t.current;
2642
2668
  if (!n) return;
2643
2669
  n !== u.current && (u.current = n, s.current = !1), o.current = e;
2644
- let r = Mn(e, n);
2670
+ let r = Nn(e, n);
2645
2671
  if (s.current) {
2646
2672
  f(r);
2647
2673
  return;
@@ -2660,7 +2686,7 @@ function Nn() {
2660
2686
  if (!n) return;
2661
2687
  let r = e.target.closest("[data-hover-item]");
2662
2688
  if (!(!r || r.closest("[data-hover-group]") !== n)) {
2663
- if (jn(r)) {
2689
+ if (Mn(r)) {
2664
2690
  _();
2665
2691
  return;
2666
2692
  }
@@ -2677,7 +2703,7 @@ function Nn() {
2677
2703
  _();
2678
2704
  return;
2679
2705
  }
2680
- f(Mn(t, e));
2706
+ f(Nn(t, e));
2681
2707
  }
2682
2708
  }, r = new ResizeObserver(t);
2683
2709
  return r.observe(e), e.addEventListener("scroll", t, !0), () => {
@@ -2688,9 +2714,9 @@ function Nn() {
2688
2714
  ref: c,
2689
2715
  "aria-hidden": "true",
2690
2716
  className: [
2691
- An.highlight,
2692
- p ? An.visible : "",
2693
- h ? An.glide : ""
2717
+ jn.highlight,
2718
+ p ? jn.visible : "",
2719
+ h ? jn.glide : ""
2694
2720
  ].filter(Boolean).join(" "),
2695
2721
  style: d ? {
2696
2722
  transform: `translate(${d.x}px, ${d.y}px)`,
@@ -2700,7 +2726,7 @@ function Nn() {
2700
2726
  background: d.tone || void 0
2701
2727
  } : void 0
2702
2728
  }), x = e.useCallback((e) => {
2703
- e && !jn(e) ? v(e) : _();
2729
+ e && !Mn(e) ? v(e) : _();
2704
2730
  }, [_, v]);
2705
2731
  return {
2706
2732
  ref: a,
@@ -2713,8 +2739,8 @@ function Nn() {
2713
2739
  showItem: x
2714
2740
  };
2715
2741
  }
2716
- var Pn = ({ children: e, style: t, ...n }) => {
2717
- let { ref: r, groupProps: i, highlight: o } = Nn();
2742
+ var Fn = ({ children: e, style: t, ...n }) => {
2743
+ let { ref: r, groupProps: i, highlight: o } = Pn();
2718
2744
  return /* @__PURE__ */ a("div", {
2719
2745
  ref: r,
2720
2746
  ...n,
@@ -2725,8 +2751,8 @@ var Pn = ({ children: e, style: t, ...n }) => {
2725
2751
  },
2726
2752
  children: [o, e]
2727
2753
  });
2728
- }, Fn = ({ size: e }) => /* @__PURE__ */ i("span", {
2729
- className: kn.separator,
2754
+ }, In = ({ size: e }) => /* @__PURE__ */ i("span", {
2755
+ className: An.separator,
2730
2756
  "aria-hidden": "true",
2731
2757
  children: /* @__PURE__ */ i("svg", {
2732
2758
  viewBox: "0 0 24 24",
@@ -2739,23 +2765,23 @@ var Pn = ({ children: e, style: t, ...n }) => {
2739
2765
  height: e,
2740
2766
  children: /* @__PURE__ */ i("path", { d: "m9 18 6-6-6-6" })
2741
2767
  })
2742
- }), In = ({ items: e, variant: t = "text", className: n }) => {
2743
- let r = t === "button", o = Nn();
2768
+ }), Ln = ({ items: e, variant: t = "text", className: n }) => {
2769
+ let r = t === "button", o = Pn();
2744
2770
  return /* @__PURE__ */ i("nav", {
2745
2771
  "aria-label": "Breadcrumb",
2746
- className: [kn.breadcrumb, n ?? ""].filter(Boolean).join(" "),
2772
+ className: [An.breadcrumb, n ?? ""].filter(Boolean).join(" "),
2747
2773
  children: /* @__PURE__ */ a("ol", {
2748
2774
  ref: o.ref,
2749
2775
  ...r ? o.groupProps : {},
2750
- className: [kn.list, r ? kn["list--button"] : ""].filter(Boolean).join(" "),
2776
+ className: [An.list, r ? An["list--button"] : ""].filter(Boolean).join(" "),
2751
2777
  children: [r && /* @__PURE__ */ i("li", {
2752
2778
  "aria-hidden": "true",
2753
2779
  style: { display: "contents" },
2754
2780
  children: o.highlight
2755
2781
  }), e.map((t, n) => {
2756
- let o = n === e.length - 1, s = r ? kn.chip : o ? kn.current : kn.crumb;
2782
+ let o = n === e.length - 1, s = r ? An.chip : o ? An.current : An.crumb;
2757
2783
  return /* @__PURE__ */ a("li", {
2758
- className: kn.item,
2784
+ className: An.item,
2759
2785
  children: [o || !t.href ? /* @__PURE__ */ i("span", {
2760
2786
  className: s,
2761
2787
  "data-hover-item": r ? "off" : void 0,
@@ -2766,26 +2792,26 @@ var Pn = ({ children: e, style: t, ...n }) => {
2766
2792
  "data-hover-item": "",
2767
2793
  className: s,
2768
2794
  children: t.label
2769
- }), !o && /* @__PURE__ */ i(Fn, { size: r ? 14 : 16 })]
2795
+ }), !o && /* @__PURE__ */ i(In, { size: r ? 14 : 16 })]
2770
2796
  }, n);
2771
2797
  })]
2772
2798
  })
2773
2799
  });
2774
- }, Ln = {
2800
+ }, Rn = {
2775
2801
  meta: "_meta_g1mpv_2",
2776
2802
  meta__icon: "_meta__icon_g1mpv_3",
2777
2803
  meta__label: "_meta__label_g1mpv_4"
2778
- }, Rn = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ a("span", {
2779
- className: [Ln.meta, n ?? ""].filter(Boolean).join(" "),
2804
+ }, zn = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ a("span", {
2805
+ className: [Rn.meta, n ?? ""].filter(Boolean).join(" "),
2780
2806
  children: [/* @__PURE__ */ i("span", {
2781
- className: Ln.meta__icon,
2807
+ className: Rn.meta__icon,
2782
2808
  "aria-hidden": "true",
2783
2809
  children: e
2784
2810
  }), /* @__PURE__ */ i("span", {
2785
- className: Ln.meta__label,
2811
+ className: Rn.meta__label,
2786
2812
  children: t
2787
2813
  })]
2788
- }), zn = {
2814
+ }), Bn = {
2789
2815
  composer: "_composer_1dwtx_2",
2790
2816
  "composer--typing": "_composer--typing_1dwtx_15",
2791
2817
  input: "_input_1dwtx_22",
@@ -2799,7 +2825,7 @@ var Pn = ({ children: e, style: t, ...n }) => {
2799
2825
  row: "_row_1dwtx_36",
2800
2826
  icon: "_icon_1dwtx_37",
2801
2827
  send: "_send_1dwtx_52"
2802
- }, Bn = ({ state: t = "default", value: n, placeholder: r = "Message...", onChange: o, onSend: s, onAttachmentsChange: c, uploadName: l, uploadProgress: u = 0, onCancelUpload: d, className: f }) => {
2828
+ }, Vn = ({ state: t = "default", value: n, placeholder: r = "Message...", onChange: o, onSend: s, onAttachmentsChange: c, uploadName: l, uploadProgress: u = 0, onCancelUpload: d, className: f }) => {
2803
2829
  let p = t === "disabled", [m, h] = e.useState(""), [g, _] = e.useState(!1), [v, y] = e.useState({
2804
2830
  top: 0,
2805
2831
  right: 0
@@ -2849,29 +2875,29 @@ var Pn = ({ children: e, style: t, ...n }) => {
2849
2875
  c?.(x);
2850
2876
  }, [x, c]), /* @__PURE__ */ a("div", {
2851
2877
  className: [
2852
- zn.composer,
2853
- zn[`composer--${t}`],
2878
+ Bn.composer,
2879
+ Bn[`composer--${t}`],
2854
2880
  f ?? ""
2855
2881
  ].filter(Boolean).join(" "),
2856
2882
  children: [
2857
2883
  t === "uploading" && /* @__PURE__ */ a("div", {
2858
- className: zn.upload,
2884
+ className: Bn.upload,
2859
2885
  children: [
2860
2886
  /* @__PURE__ */ i(b, {
2861
2887
  size: 16,
2862
2888
  strokeWidth: M(16),
2863
- className: zn.upload__icon,
2889
+ className: Bn.upload__icon,
2864
2890
  "aria-hidden": "true"
2865
2891
  }),
2866
2892
  /* @__PURE__ */ a("div", {
2867
- className: zn.upload__body,
2893
+ className: Bn.upload__body,
2868
2894
  children: [/* @__PURE__ */ i("span", {
2869
- className: zn.upload__name,
2895
+ className: Bn.upload__name,
2870
2896
  children: l
2871
2897
  }), /* @__PURE__ */ i("div", {
2872
- className: zn.upload__track,
2898
+ className: Bn.upload__track,
2873
2899
  children: /* @__PURE__ */ i("div", {
2874
- className: zn.upload__fill,
2900
+ className: Bn.upload__fill,
2875
2901
  style: { width: `${u}%` }
2876
2902
  })
2877
2903
  })]
@@ -2965,7 +2991,7 @@ var Pn = ({ children: e, style: t, ...n }) => {
2965
2991
  style: { display: "none" }
2966
2992
  }),
2967
2993
  /* @__PURE__ */ a("div", {
2968
- className: zn.row,
2994
+ className: Bn.row,
2969
2995
  children: [
2970
2996
  /* @__PURE__ */ i(He, {
2971
2997
  icon: O,
@@ -2978,7 +3004,7 @@ var Pn = ({ children: e, style: t, ...n }) => {
2978
3004
  /* @__PURE__ */ i("input", {
2979
3005
  ref: C,
2980
3006
  type: "text",
2981
- className: zn.input,
3007
+ className: Bn.input,
2982
3008
  value: D,
2983
3009
  placeholder: p ? "You can't reply to this conversation" : r,
2984
3010
  disabled: p,
@@ -3064,7 +3090,7 @@ var Pn = ({ children: e, style: t, ...n }) => {
3064
3090
  })
3065
3091
  ]
3066
3092
  });
3067
- }, Vn = {
3093
+ }, Hn = {
3068
3094
  wrapper: "_wrapper_1nmcn_3",
3069
3095
  "wrapper--disabled": "_wrapper--disabled_1nmcn_11",
3070
3096
  input: "_input_1nmcn_14",
@@ -3076,16 +3102,16 @@ var Pn = ({ children: e, style: t, ...n }) => {
3076
3102
  text__description: "_text__description_1nmcn_73",
3077
3103
  checkbox: "_checkbox_1nmcn_77",
3078
3104
  "wrapper--withDescription": "_wrapper--withDescription_1nmcn_81"
3079
- }, Hn = e.forwardRef(({ label: t, description: n, indeterminate: r, disabled: o, id: s, className: c, ...l }, u) => {
3105
+ }, Un = e.forwardRef(({ label: t, description: n, indeterminate: r, disabled: o, id: s, className: c, ...l }, u) => {
3080
3106
  let d = e.useId(), f = s ?? d, p = e.useRef(null);
3081
3107
  return e.useImperativeHandle(u, () => p.current), e.useEffect(() => {
3082
3108
  p.current && (p.current.indeterminate = !!r);
3083
3109
  }, [r]), /* @__PURE__ */ a("label", {
3084
3110
  htmlFor: f,
3085
3111
  className: [
3086
- Vn.wrapper,
3087
- n ? Vn["wrapper--withDescription"] : "",
3088
- o ? Vn["wrapper--disabled"] : "",
3112
+ Hn.wrapper,
3113
+ n ? Hn["wrapper--withDescription"] : "",
3114
+ o ? Hn["wrapper--disabled"] : "",
3089
3115
  c ?? ""
3090
3116
  ].filter(Boolean).join(" "),
3091
3117
  children: [
@@ -3094,14 +3120,14 @@ var Pn = ({ children: e, style: t, ...n }) => {
3094
3120
  id: f,
3095
3121
  type: "checkbox",
3096
3122
  disabled: o,
3097
- className: Vn.input,
3123
+ className: Hn.input,
3098
3124
  ...l
3099
3125
  }),
3100
3126
  /* @__PURE__ */ a("span", {
3101
- className: Vn.box,
3127
+ className: Hn.box,
3102
3128
  "aria-hidden": "true",
3103
3129
  children: [/* @__PURE__ */ i("svg", {
3104
- className: Vn.check,
3130
+ className: Hn.check,
3105
3131
  width: 12,
3106
3132
  height: 12,
3107
3133
  viewBox: "0 0 24 24",
@@ -3111,22 +3137,22 @@ var Pn = ({ children: e, style: t, ...n }) => {
3111
3137
  strokeLinecap: "round",
3112
3138
  strokeLinejoin: "round",
3113
3139
  children: /* @__PURE__ */ i("polyline", { points: "20 6 9 17 4 12" })
3114
- }), /* @__PURE__ */ i("span", { className: Vn.dash })]
3140
+ }), /* @__PURE__ */ i("span", { className: Hn.dash })]
3115
3141
  }),
3116
3142
  (t || n) && /* @__PURE__ */ a("span", {
3117
- className: Vn.text,
3143
+ className: Hn.text,
3118
3144
  children: [t && /* @__PURE__ */ i("span", {
3119
- className: Vn.text__label,
3145
+ className: Hn.text__label,
3120
3146
  children: t
3121
3147
  }), n && /* @__PURE__ */ i("span", {
3122
- className: Vn.text__description,
3148
+ className: Hn.text__description,
3123
3149
  children: n
3124
3150
  })]
3125
3151
  })
3126
3152
  ]
3127
3153
  });
3128
3154
  });
3129
- Hn.displayName = "Checkbox";
3155
+ Un.displayName = "Checkbox";
3130
3156
  var q = {
3131
3157
  item: "_item_1bf0e_2",
3132
3158
  "item--hover": "_item--hover_1bf0e_12",
@@ -3142,7 +3168,7 @@ var q = {
3142
3168
  item__preview: "_item__preview_1bf0e_31",
3143
3169
  item__typing: "_item__typing_1bf0e_36",
3144
3170
  item__badge: "_item__badge_1bf0e_37"
3145
- }, Un = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: o, unreadCount: c, onClick: l, className: u }) => /* @__PURE__ */ a("div", {
3171
+ }, Wn = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: o, unreadCount: c, onClick: l, className: u }) => /* @__PURE__ */ a("div", {
3146
3172
  role: "button",
3147
3173
  "data-hover-item": "",
3148
3174
  tabIndex: 0,
@@ -3196,12 +3222,12 @@ var q = {
3196
3222
  })]
3197
3223
  })]
3198
3224
  })]
3199
- }), Wn = {
3225
+ }), Gn = {
3200
3226
  chart: "_chart_aiboa_2",
3201
3227
  center: "_center_aiboa_26",
3202
3228
  center__value: "_center__value_aiboa_35",
3203
3229
  center__caption: "_center__caption_aiboa_36"
3204
- }, Gn = {
3230
+ }, Kn = {
3205
3231
  sm: {
3206
3232
  h: 180,
3207
3233
  inner: 50,
@@ -3222,7 +3248,7 @@ var q = {
3222
3248
  inner: 98,
3223
3249
  outer: 142
3224
3250
  }
3225
- }, Kn = ({ data: t, size: n = "md", centerValue: r, centerCaption: o, height: s, className: c }) => {
3251
+ }, qn = ({ data: t, size: n = "md", centerValue: r, centerCaption: o, height: s, className: c }) => {
3226
3252
  let [l, u] = e.useState(null), [d, f] = e.useState(null), p = (e) => {
3227
3253
  let t = e.currentTarget.getBoundingClientRect();
3228
3254
  f({
@@ -3236,12 +3262,12 @@ var q = {
3236
3262
  4,
3237
3263
  5
3238
3264
  ].map((e) => h(`--color-chart-${e}`) ?? Ct[e - 1]), _ = {
3239
- ...Gn[n],
3240
- h: s ?? Gn[n].h
3265
+ ...Kn[n],
3266
+ h: s ?? Kn[n].h
3241
3267
  }, v = (_.outer - _.inner) / 2 - 7;
3242
3268
  return /* @__PURE__ */ a("div", {
3243
3269
  ref: m,
3244
- className: [Wn.chart, c ?? ""].filter(Boolean).join(" "),
3270
+ className: [Gn.chart, c ?? ""].filter(Boolean).join(" "),
3245
3271
  style: { height: _.h },
3246
3272
  onMouseMove: p,
3247
3273
  children: [/* @__PURE__ */ i(xe, {
@@ -3271,24 +3297,24 @@ var q = {
3271
3297
  position: d ?? void 0
3272
3298
  })] })
3273
3299
  }), (r || o) && /* @__PURE__ */ a("div", {
3274
- className: Wn.center,
3300
+ className: Gn.center,
3275
3301
  children: [r && /* @__PURE__ */ i("span", {
3276
- className: Wn.center__value,
3302
+ className: Gn.center__value,
3277
3303
  children: r
3278
3304
  }), o && /* @__PURE__ */ i("span", {
3279
- className: Wn.center__caption,
3305
+ className: Gn.center__caption,
3280
3306
  children: o
3281
3307
  })]
3282
3308
  })]
3283
3309
  });
3284
- }, qn = {
3310
+ }, Jn = {
3285
3311
  empty: "_empty_1sxwx_2",
3286
3312
  empty__chip: "_empty__chip_1sxwx_12",
3287
3313
  "empty__chip--error": "_empty__chip--error_1sxwx_22",
3288
3314
  empty__title: "_empty__title_1sxwx_23",
3289
3315
  empty__desc: "_empty__desc_1sxwx_31",
3290
3316
  empty__action: "_empty__action_1sxwx_39"
3291
- }, Jn = {
3317
+ }, Yn = {
3292
3318
  "no-data": {
3293
3319
  icon: /* @__PURE__ */ i(C, {
3294
3320
  size: 18,
@@ -3313,34 +3339,34 @@ var q = {
3313
3339
  title: "Couldn't load data",
3314
3340
  description: "Something went wrong while fetching records."
3315
3341
  }
3316
- }, Yn = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: o, icon: s, className: c }) => {
3317
- let l = Jn[e];
3342
+ }, Xn = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: o, icon: s, className: c }) => {
3343
+ let l = Yn[e];
3318
3344
  return /* @__PURE__ */ a("div", {
3319
- className: [qn.empty, c ?? ""].filter(Boolean).join(" "),
3345
+ className: [Jn.empty, c ?? ""].filter(Boolean).join(" "),
3320
3346
  role: "status",
3321
3347
  children: [
3322
3348
  /* @__PURE__ */ i("span", {
3323
- className: [qn.empty__chip, qn[`empty__chip--${e}`]].join(" "),
3349
+ className: [Jn.empty__chip, Jn[`empty__chip--${e}`]].join(" "),
3324
3350
  "aria-hidden": "true",
3325
3351
  children: s ?? l.icon
3326
3352
  }),
3327
3353
  /* @__PURE__ */ i("p", {
3328
- className: qn.empty__title,
3354
+ className: Jn.empty__title,
3329
3355
  children: t ?? l.title
3330
3356
  }),
3331
3357
  /* @__PURE__ */ i("p", {
3332
- className: qn.empty__desc,
3358
+ className: Jn.empty__desc,
3333
3359
  children: n ?? l.description
3334
3360
  }),
3335
3361
  r && /* @__PURE__ */ i("button", {
3336
3362
  type: "button",
3337
- className: qn.empty__action,
3363
+ className: Jn.empty__action,
3338
3364
  onClick: o,
3339
3365
  children: r
3340
3366
  })
3341
3367
  ]
3342
3368
  });
3343
- }, Xn = {
3369
+ }, Zn = {
3344
3370
  chip: "_chip_1qnyq_2",
3345
3371
  chip__lead: "_chip__lead_1qnyq_20",
3346
3372
  chip__trail: "_chip__trail_1qnyq_20",
@@ -3348,50 +3374,50 @@ var q = {
3348
3374
  chip__remove: "_chip__remove_1qnyq_29",
3349
3375
  "chip--add": "_chip--add_1qnyq_38",
3350
3376
  "chip--leaving": "_chip--leaving_1qnyq_45"
3351
- }, Zn = 160, Qn = () => typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches, $n = ({ type: t = "default", children: n, onClick: r, onRemove: o, className: s }) => {
3377
+ }, Qn = 160, $n = () => typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches, er = ({ type: t = "default", children: n, onClick: r, onRemove: o, className: s }) => {
3352
3378
  let [c, l] = e.useState(!1), u = e.useRef(void 0);
3353
3379
  e.useEffect(() => () => window.clearTimeout(u.current), []);
3354
3380
  let f = () => {
3355
3381
  if (!c) {
3356
- if (Qn()) {
3382
+ if ($n()) {
3357
3383
  o?.();
3358
3384
  return;
3359
3385
  }
3360
3386
  l(!0), u.current = window.setTimeout(() => {
3361
3387
  o?.(), l(!1);
3362
- }, Zn);
3388
+ }, Qn);
3363
3389
  }
3364
3390
  };
3365
3391
  return /* @__PURE__ */ a("button", {
3366
3392
  type: "button",
3367
3393
  onClick: r,
3368
3394
  className: [
3369
- Xn.chip,
3370
- Xn[`chip--${t}`],
3371
- c ? Xn["chip--leaving"] : "",
3395
+ Zn.chip,
3396
+ Zn[`chip--${t}`],
3397
+ c ? Zn["chip--leaving"] : "",
3372
3398
  s ?? ""
3373
3399
  ].filter(Boolean).join(" "),
3374
3400
  children: [
3375
3401
  t === "add" && /* @__PURE__ */ i(k, {
3376
3402
  size: 14,
3377
3403
  strokeWidth: M(14),
3378
- className: Xn.chip__lead,
3404
+ className: Zn.chip__lead,
3379
3405
  "aria-hidden": "true"
3380
3406
  }),
3381
3407
  /* @__PURE__ */ i("span", {
3382
- className: Xn.chip__label,
3408
+ className: Zn.chip__label,
3383
3409
  children: n
3384
3410
  }),
3385
3411
  t === "default" && /* @__PURE__ */ i(d, {
3386
3412
  size: 14,
3387
3413
  strokeWidth: M(14),
3388
- className: Xn.chip__trail,
3414
+ className: Zn.chip__trail,
3389
3415
  "aria-hidden": "true"
3390
3416
  }),
3391
3417
  t === "active" && /* @__PURE__ */ i("span", {
3392
3418
  role: "button",
3393
3419
  "aria-label": "Remove filter",
3394
- className: Xn.chip__remove,
3420
+ className: Zn.chip__remove,
3395
3421
  onClick: (e) => {
3396
3422
  e.stopPropagation(), f();
3397
3423
  },
@@ -3403,7 +3429,7 @@ var q = {
3403
3429
  })
3404
3430
  ]
3405
3431
  });
3406
- }, er = {
3432
+ }, tr = {
3407
3433
  field: "_field_1nyia_10",
3408
3434
  field__label: "_field__label_1nyia_18",
3409
3435
  field__description: "_field__description_1nyia_26",
@@ -3417,69 +3443,69 @@ var q = {
3417
3443
  input__control: "_input__control_1nyia_81",
3418
3444
  input__icon: "_input__icon_1nyia_110",
3419
3445
  "input--unstyled": "_input--unstyled_1nyia_120"
3420
- }, tr = 16, nr = (t) => e.isValidElement(t) ? e.cloneElement(t, {
3421
- size: tr,
3422
- strokeWidth: M(tr)
3423
- }) : t, rr = e.forwardRef(({ label: t, description: n, error: r, size: o = "md", unstyled: s, leadingIcon: c, trailingIcon: l, disabled: u, id: d, className: f, ...p }, m) => {
3446
+ }, nr = 16, rr = (t) => e.isValidElement(t) ? e.cloneElement(t, {
3447
+ size: nr,
3448
+ strokeWidth: M(nr)
3449
+ }) : t, ir = e.forwardRef(({ label: t, description: n, error: r, size: o = "md", unstyled: s, leadingIcon: c, trailingIcon: l, disabled: u, id: d, className: f, ...p }, m) => {
3424
3450
  let h = e.useId(), g = d ?? h, _ = !!r;
3425
3451
  return /* @__PURE__ */ a("div", {
3426
- className: [er.field, f ?? ""].filter(Boolean).join(" "),
3452
+ className: [tr.field, f ?? ""].filter(Boolean).join(" "),
3427
3453
  children: [
3428
3454
  t && /* @__PURE__ */ i("label", {
3429
3455
  htmlFor: g,
3430
- className: er.field__label,
3456
+ className: tr.field__label,
3431
3457
  children: t
3432
3458
  }),
3433
3459
  /* @__PURE__ */ a("div", {
3434
3460
  className: [
3435
- er.input,
3436
- er[`input--${o}`],
3437
- _ ? er["input--error"] : "",
3438
- u ? er["input--disabled"] : ""
3461
+ tr.input,
3462
+ tr[`input--${o}`],
3463
+ _ ? tr["input--error"] : "",
3464
+ u ? tr["input--disabled"] : ""
3439
3465
  ].filter(Boolean).join(" "),
3440
3466
  children: [
3441
3467
  c && /* @__PURE__ */ i("span", {
3442
- className: er.input__icon,
3468
+ className: tr.input__icon,
3443
3469
  "aria-hidden": "true",
3444
- children: nr(c)
3470
+ children: rr(c)
3445
3471
  }),
3446
3472
  /* @__PURE__ */ i("input", {
3447
3473
  ref: m,
3448
3474
  id: g,
3449
- className: er.input__control,
3475
+ className: tr.input__control,
3450
3476
  disabled: u,
3451
3477
  "aria-invalid": _ || void 0,
3452
3478
  "aria-describedby": n || r ? `${g}-desc` : void 0,
3453
3479
  ...p
3454
3480
  }),
3455
3481
  l && /* @__PURE__ */ i("span", {
3456
- className: er.input__icon,
3482
+ className: tr.input__icon,
3457
3483
  "aria-hidden": "true",
3458
- children: nr(l)
3484
+ children: rr(l)
3459
3485
  })
3460
3486
  ]
3461
3487
  }),
3462
3488
  (n || r) && /* @__PURE__ */ i("span", {
3463
3489
  id: `${g}-desc`,
3464
- className: _ ? er.field__error : er.field__description,
3490
+ className: _ ? tr.field__error : tr.field__description,
3465
3491
  children: r || n
3466
3492
  })
3467
3493
  ]
3468
3494
  });
3469
3495
  });
3470
- rr.displayName = "Input";
3471
- var ir = { chart: "_chart_18fgd_2" }, ar = {
3496
+ ir.displayName = "Input";
3497
+ var ar = { chart: "_chart_18fgd_2" }, or = {
3472
3498
  sm: 180,
3473
3499
  md: 240,
3474
3500
  lg: 320,
3475
3501
  xl: 420
3476
- }, or = /* @__PURE__ */ new Set([
3502
+ }, sr = /* @__PURE__ */ new Set([
3477
3503
  "dots",
3478
3504
  "custom-dots",
3479
3505
  "dots-colors",
3480
3506
  "label",
3481
3507
  "custom-label"
3482
- ]), sr = ({ data: t, series: n, xKey: r = "label", variant: o = "default", labelKey: s, size: c = "md", height: l, showLegend: u, className: d }) => {
3508
+ ]), cr = ({ data: t, series: n, xKey: r = "label", variant: o = "default", labelKey: s, size: c = "md", height: l, showLegend: u, className: d }) => {
3483
3509
  let f = e.useRef(null), p = St(f), m = [
3484
3510
  1,
3485
3511
  2,
@@ -3490,7 +3516,7 @@ var ir = { chart: "_chart_18fgd_2" }, ar = {
3490
3516
  m[1],
3491
3517
  m[0],
3492
3518
  ...m.slice(2)
3493
- ], g = p("--color-border-subtle") ?? "#e7e5e1", _ = p("--color-fg-muted") ?? "#78716a", v = p("--color-bg-canvas") ?? "#fafaf9", y = p("--color-fg-default") ?? "#141414", b = o === "linear" ? "linear" : o === "step" ? "step" : "monotone", x = or.has(o), S = (e) => (t) => {
3519
+ ], g = p("--color-border-subtle") ?? "#e7e5e1", _ = p("--color-fg-muted") ?? "#78716a", v = p("--color-bg-canvas") ?? "#fafaf9", y = p("--color-fg-default") ?? "#141414", b = o === "linear" ? "linear" : o === "step" ? "step" : "monotone", x = sr.has(o), S = (e) => (t) => {
3494
3520
  let { cx: n, cy: r } = t;
3495
3521
  return /* @__PURE__ */ a("g", {
3496
3522
  stroke: e,
@@ -3543,10 +3569,10 @@ var ir = { chart: "_chart_18fgd_2" }, ar = {
3543
3569
  };
3544
3570
  return /* @__PURE__ */ i("div", {
3545
3571
  ref: f,
3546
- className: [ir.chart, d ?? ""].filter(Boolean).join(" "),
3572
+ className: [ar.chart, d ?? ""].filter(Boolean).join(" "),
3547
3573
  children: /* @__PURE__ */ i(xe, {
3548
3574
  width: "100%",
3549
- height: l ?? ar[c],
3575
+ height: l ?? or[c],
3550
3576
  children: /* @__PURE__ */ a(me, {
3551
3577
  data: t,
3552
3578
  margin: {
@@ -3607,24 +3633,24 @@ var ir = { chart: "_chart_18fgd_2" }, ar = {
3607
3633
  })
3608
3634
  })
3609
3635
  });
3610
- }, cr = {
3611
- menu: "_menu_15e4v_2",
3612
- divider: "_divider_15e4v_15"
3613
- }, lr = ({ children: e, minWidth: t = 208, className: n, ...r }) => {
3614
- let i = Nn();
3636
+ }, lr = {
3637
+ menu: "_menu_1cx61_2",
3638
+ divider: "_divider_1cx61_26"
3639
+ }, ur = ({ children: e, minWidth: t = 208, className: n, ...r }) => {
3640
+ let i = Pn();
3615
3641
  return /* @__PURE__ */ a("div", {
3616
3642
  ref: i.ref,
3617
3643
  ...i.groupProps,
3618
3644
  role: "menu",
3619
3645
  "aria-label": r["aria-label"],
3620
3646
  style: { minWidth: t },
3621
- className: [cr.menu, n ?? ""].filter(Boolean).join(" "),
3647
+ className: [lr.menu, n ?? ""].filter(Boolean).join(" "),
3622
3648
  children: [i.highlight, e]
3623
3649
  });
3624
- }, ur = () => /* @__PURE__ */ i("div", {
3625
- className: cr.divider,
3650
+ }, dr = () => /* @__PURE__ */ i("div", {
3651
+ className: lr.divider,
3626
3652
  role: "separator"
3627
- }), dr = {
3653
+ }), fr = {
3628
3654
  item: "_item_1ezjp_2",
3629
3655
  item__icon: "_item__icon_1ezjp_27",
3630
3656
  item__label: "_item__label_1ezjp_28",
@@ -3633,7 +3659,7 @@ var ir = { chart: "_chart_18fgd_2" }, ar = {
3633
3659
  "item--checked": "_item--checked_1ezjp_38",
3634
3660
  "item--disabled": "_item--disabled_1ezjp_39",
3635
3661
  "item--destructive": "_item--destructive_1ezjp_40"
3636
- }, fr = ({ state: e = "default", icon: t, shortcut: n, children: r, onSelect: o, className: s }) => {
3662
+ }, pr = ({ state: e = "default", icon: t, shortcut: n, children: r, onSelect: o, className: s }) => {
3637
3663
  let c = e === "disabled";
3638
3664
  return /* @__PURE__ */ a("div", {
3639
3665
  role: "menuitem",
@@ -3646,28 +3672,28 @@ var ir = { chart: "_chart_18fgd_2" }, ar = {
3646
3672
  c || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), o?.());
3647
3673
  },
3648
3674
  className: [
3649
- dr.item,
3650
- dr[`item--${e}`],
3675
+ fr.item,
3676
+ fr[`item--${e}`],
3651
3677
  s ?? ""
3652
3678
  ].filter(Boolean).join(" "),
3653
3679
  children: [
3654
3680
  t && /* @__PURE__ */ i("span", {
3655
- className: dr.item__icon,
3681
+ className: fr.item__icon,
3656
3682
  "aria-hidden": "true",
3657
3683
  children: t
3658
3684
  }),
3659
3685
  /* @__PURE__ */ i("span", {
3660
- className: dr.item__label,
3686
+ className: fr.item__label,
3661
3687
  children: r
3662
3688
  }),
3663
3689
  n && /* @__PURE__ */ i("kbd", {
3664
- className: dr.item__shortcut,
3690
+ className: fr.item__shortcut,
3665
3691
  children: n
3666
3692
  }),
3667
3693
  e === "checked" && /* @__PURE__ */ i(l, {
3668
3694
  size: 16,
3669
3695
  strokeWidth: M(16),
3670
- className: dr.item__check,
3696
+ className: fr.item__check,
3671
3697
  "aria-hidden": "true"
3672
3698
  })
3673
3699
  ]
@@ -3696,7 +3722,7 @@ var ir = { chart: "_chart_18fgd_2" }, ar = {
3696
3722
  foot__receipt: "_foot__receipt_1q1m5_32",
3697
3723
  system: "_system_1q1m5_34",
3698
3724
  system__pill: "_system__pill_1q1m5_35"
3699
- }, pr = ({ type: e = "received", content: t = "text", avatar: n, authorName: o, timestamp: s, children: c, image: l, fileName: d, fileSize: f, reactions: p, read: m, className: h }) => {
3725
+ }, mr = ({ type: e = "received", content: t = "text", avatar: n, authorName: o, timestamp: s, children: c, image: l, fileName: d, fileSize: f, reactions: p, read: m, className: h }) => {
3700
3726
  if (e === "system") return /* @__PURE__ */ i("div", {
3701
3727
  className: [J.system, h ?? ""].filter(Boolean).join(" "),
3702
3728
  children: /* @__PURE__ */ i("span", {
@@ -3782,19 +3808,19 @@ var ir = { chart: "_chart_18fgd_2" }, ar = {
3782
3808
  ]
3783
3809
  })]
3784
3810
  });
3785
- }, mr = {
3811
+ }, hr = {
3786
3812
  pagination: "_pagination_e1j7r_2",
3787
3813
  page: "_page_e1j7r_9",
3788
3814
  arrow: "_arrow_e1j7r_9",
3789
3815
  "page--active": "_page--active_e1j7r_26",
3790
3816
  ellipsis: "_ellipsis_e1j7r_40"
3791
- }, hr = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
3792
- function gr(e, t, n) {
3817
+ }, gr = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
3818
+ function _r(e, t, n) {
3793
3819
  let r = n * 2 + 5;
3794
- if (e <= r) return hr(1, e);
3820
+ if (e <= r) return gr(1, e);
3795
3821
  let i = r - 2, a = n * 2 + 1;
3796
3822
  if (t <= i) return [
3797
- ...hr(1, i),
3823
+ ...gr(1, i),
3798
3824
  "end-ellipsis",
3799
3825
  e
3800
3826
  ];
@@ -3802,19 +3828,19 @@ function gr(e, t, n) {
3802
3828
  return s <= e - 3 ? [
3803
3829
  1,
3804
3830
  "start-ellipsis",
3805
- ...hr(o, s),
3831
+ ...gr(o, s),
3806
3832
  "end-ellipsis",
3807
3833
  e
3808
3834
  ] : [
3809
3835
  1,
3810
3836
  "start-ellipsis",
3811
- ...hr(e - i + 1, e)
3837
+ ...gr(e - i + 1, e)
3812
3838
  ];
3813
3839
  }
3814
- var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s }) => {
3840
+ var vr = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s }) => {
3815
3841
  let c = e.useRef(null);
3816
3842
  if (t < 1) return null;
3817
- let l = Math.min(Math.max(n, 1), t), u = Math.max(0, o), d = gr(t, l, u), m = c.current;
3843
+ let l = Math.min(Math.max(n, 1), t), u = Math.max(0, o), d = _r(t, l, u), m = c.current;
3818
3844
  if (m && m.total === t && m.siblings === u) {
3819
3845
  let e = m.tokens, n = e.includes(l), r = l === 1 && e[1] === "start-ellipsis" || l === t && e[e.length - 2] === "end-ellipsis";
3820
3846
  n && !r && (d = e);
@@ -3824,12 +3850,12 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3824
3850
  siblings: u,
3825
3851
  tokens: d
3826
3852
  }, /* @__PURE__ */ a("nav", {
3827
- className: [mr.pagination, s ?? ""].filter(Boolean).join(" "),
3853
+ className: [hr.pagination, s ?? ""].filter(Boolean).join(" "),
3828
3854
  "aria-label": "Pagination",
3829
3855
  children: [
3830
3856
  /* @__PURE__ */ i("button", {
3831
3857
  type: "button",
3832
- className: mr.arrow,
3858
+ className: hr.arrow,
3833
3859
  disabled: l <= 1,
3834
3860
  onClick: () => r(l - 1),
3835
3861
  "aria-label": "Previous page",
@@ -3840,19 +3866,19 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3840
3866
  }),
3841
3867
  d.map((e) => typeof e == "number" ? /* @__PURE__ */ i("button", {
3842
3868
  type: "button",
3843
- className: [mr.page, e === l ? mr["page--active"] : ""].filter(Boolean).join(" "),
3869
+ className: [hr.page, e === l ? hr["page--active"] : ""].filter(Boolean).join(" "),
3844
3870
  "aria-current": e === l ? "page" : void 0,
3845
3871
  "aria-label": `Page ${e}`,
3846
3872
  onClick: () => e !== l && r(e),
3847
3873
  children: e
3848
3874
  }, e) : /* @__PURE__ */ i("span", {
3849
- className: mr.ellipsis,
3875
+ className: hr.ellipsis,
3850
3876
  "aria-hidden": "true",
3851
3877
  children: "…"
3852
3878
  }, e)),
3853
3879
  /* @__PURE__ */ i("button", {
3854
3880
  type: "button",
3855
- className: mr.arrow,
3881
+ className: hr.arrow,
3856
3882
  disabled: l >= t,
3857
3883
  onClick: () => r(l + 1),
3858
3884
  "aria-label": "Next page",
@@ -3863,14 +3889,14 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3863
3889
  })
3864
3890
  ]
3865
3891
  });
3866
- }, vr = {
3892
+ }, yr = {
3867
3893
  track: "_track_1br5v_2",
3868
3894
  segment: "_segment_1br5v_12",
3869
3895
  "segment--active": "_segment--active_1br5v_38",
3870
3896
  thumb: "_thumb_1br5v_44",
3871
3897
  "thumb--animated": "_thumb--animated_1br5v_62",
3872
3898
  "track--fullWidth": "_track--fullWidth_1br5v_68"
3873
- }, yr = ({ options: t, value: n, defaultValue: r, onChange: o, fullWidth: s, className: c }) => {
3899
+ }, br = ({ options: t, value: n, defaultValue: r, onChange: o, fullWidth: s, className: c }) => {
3874
3900
  let l = n !== void 0, [u, d] = e.useState(r ?? t[0]?.value), f = l ? n : u, p = (e) => {
3875
3901
  l || d(e), o?.(e);
3876
3902
  }, m = e.useRef(null), h = e.useRef({}), [g, _] = e.useState(null), [v, y] = e.useState(!1);
@@ -3891,13 +3917,13 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3891
3917
  ref: m,
3892
3918
  role: "tablist",
3893
3919
  className: [
3894
- vr.track,
3895
- s ? vr["track--fullWidth"] : "",
3920
+ yr.track,
3921
+ s ? yr["track--fullWidth"] : "",
3896
3922
  c ?? ""
3897
3923
  ].filter(Boolean).join(" "),
3898
3924
  children: [g && /* @__PURE__ */ i("span", {
3899
3925
  "aria-hidden": "true",
3900
- className: [vr.thumb, v ? vr["thumb--animated"] : ""].filter(Boolean).join(" "),
3926
+ className: [yr.thumb, v ? yr["thumb--animated"] : ""].filter(Boolean).join(" "),
3901
3927
  style: {
3902
3928
  transform: `translateX(${g.left}px)`,
3903
3929
  width: g.width
@@ -3911,7 +3937,7 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3911
3937
  role: "tab",
3912
3938
  type: "button",
3913
3939
  "aria-selected": t,
3914
- className: [vr.segment, t ? vr["segment--active"] : ""].filter(Boolean).join(" "),
3940
+ className: [yr.segment, t ? yr["segment--active"] : ""].filter(Boolean).join(" "),
3915
3941
  onClick: () => p(e.value),
3916
3942
  children: e.label
3917
3943
  }, e.value);
@@ -3947,7 +3973,7 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3947
3973
  option__check: "_option__check_1b512_179",
3948
3974
  optionHighlight: "_optionHighlight_1b512_151",
3949
3975
  "optionHighlight--animated": "_optionHighlight--animated_1b512_201"
3950
- }, br = ({ label: t, description: n, error: r, size: o = "md", placeholder: s = "Select an option", options: c, value: l, defaultValue: u, onChange: d, disabled: f, id: p, className: m }) => {
3976
+ }, xr = ({ label: t, description: n, error: r, size: o = "md", placeholder: s = "Select an option", options: c, value: l, defaultValue: u, onChange: d, disabled: f, id: p, className: m }) => {
3951
3977
  let h = e.useId(), g = `${p ?? h}-trigger`, _ = `${p ?? h}-panel`, v = !!r, [y, b] = e.useState(u), x = l === void 0 ? y : l, S = c.find((e) => e.value === x), [C, w] = e.useState(!1), [T, E] = e.useState(!1), [D, O] = e.useState(0), k = e.useRef(null), A = e.useRef(null), j = e.useRef(null), ee = e.useRef({}), [te, ne] = e.useState(null), [re, ie] = e.useState(!1);
3952
3978
  e.useLayoutEffect(() => {
3953
3979
  let e = ee.current[D];
@@ -3978,7 +4004,7 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3978
4004
  });
3979
4005
  return e.observe(j.current), () => e.disconnect();
3980
4006
  }, [T]);
3981
- let ae = rt(k, T), [oe, se] = e.useState(null);
4007
+ let ae = nt(k, T), [oe, se] = e.useState(null);
3982
4008
  e.useEffect(() => {
3983
4009
  C && E(!0);
3984
4010
  }, [C]), e.useLayoutEffect(() => {
@@ -4153,27 +4179,27 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
4153
4179
  })
4154
4180
  ]
4155
4181
  });
4156
- }, xr = {
4182
+ }, Sr = {
4157
4183
  sidebar: "_sidebar_alxv4_4",
4158
4184
  "sidebar--collapsed": "_sidebar--collapsed_alxv4_23"
4159
- }, Sr = ({ collapsed: e = !1, children: t, className: n }) => {
4160
- let r = Nn();
4185
+ }, Cr = ({ collapsed: e = !1, children: t, className: n }) => {
4186
+ let r = Pn();
4161
4187
  return /* @__PURE__ */ a("nav", {
4162
4188
  ref: r.ref,
4163
4189
  ...r.groupProps,
4164
4190
  className: [
4165
- xr.sidebar,
4166
- e ? xr["sidebar--collapsed"] : "",
4191
+ Sr.sidebar,
4192
+ e ? Sr["sidebar--collapsed"] : "",
4167
4193
  n ?? ""
4168
4194
  ].filter(Boolean).join(" "),
4169
4195
  "data-collapsed": e,
4170
4196
  children: [r.highlight, t]
4171
4197
  });
4172
- }, Cr = { divider: "_divider_1oof5_1" }, wr = () => /* @__PURE__ */ i("div", {
4173
- className: Cr.divider,
4198
+ }, wr = { divider: "_divider_1oof5_1" }, Tr = () => /* @__PURE__ */ i("div", {
4199
+ className: wr.divider,
4174
4200
  role: "separator"
4175
- }), Tr = { groupLabel: "_groupLabel_62q1j_2" }, Er = ({ children: e }) => /* @__PURE__ */ i("div", {
4176
- className: Tr.groupLabel,
4201
+ }), Er = { groupLabel: "_groupLabel_62q1j_2" }, Dr = ({ children: e }) => /* @__PURE__ */ i("div", {
4202
+ className: Er.groupLabel,
4177
4203
  children: e
4178
4204
  }), X = {
4179
4205
  header: "_header_6bhip_2",
@@ -4189,7 +4215,7 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
4189
4215
  "header__text--collapsed": "_header__text--collapsed_6bhip_70",
4190
4216
  header__title: "_header__title_6bhip_74",
4191
4217
  header__toggle: "_header__toggle_6bhip_76"
4192
- }, Dr = ({ type: e = "brand", title: t, subtitle: n, logo: r, collapsed: o, onToggle: s, toggleIcon: c = D }) => /* @__PURE__ */ a("div", {
4218
+ }, Or = ({ type: e = "brand", title: t, subtitle: n, logo: r, collapsed: o, onToggle: s, toggleIcon: c = D }) => /* @__PURE__ */ a("div", {
4193
4219
  className: [
4194
4220
  X.header,
4195
4221
  e === "workspace" ? X["header--workspace"] : "",
@@ -4253,19 +4279,19 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
4253
4279
  })
4254
4280
  ]
4255
4281
  }), Z = {
4256
- item: "_item_19gk3_5",
4257
- "item--disabled": "_item--disabled_19gk3_37",
4258
- "item--active": "_item--active_19gk3_37",
4259
- "item--active-flat": "_item--active-flat_19gk3_37",
4260
- item__icon: "_item__icon_19gk3_38",
4261
- item__bar: "_item__bar_19gk3_49",
4262
- item__chevron: "_item__chevron_19gk3_77",
4263
- item__badge: "_item__badge_19gk3_79",
4264
- "item--collapsed": "_item--collapsed_19gk3_98",
4265
- item__label: "_item__label_19gk3_137",
4266
- "item__label--collapsed": "_item__label--collapsed_19gk3_146",
4267
- "item__chevron--expanded": "_item__chevron--expanded_19gk3_169"
4268
- }, Or = ({ icon: e, label: t, active: n, activeIndicator: o = !0, disabled: s, badge: c, hasSubmenu: l, collapsed: u, expanded: d, onClick: f, href: m, nativeTooltip: h = !0 }) => {
4282
+ item: "_item_1arxb_5",
4283
+ "item--disabled": "_item--disabled_1arxb_37",
4284
+ "item--active": "_item--active_1arxb_37",
4285
+ "item--active-flat": "_item--active-flat_1arxb_37",
4286
+ item__icon: "_item__icon_1arxb_38",
4287
+ item__bar: "_item__bar_1arxb_49",
4288
+ item__chevron: "_item__chevron_1arxb_82",
4289
+ item__badge: "_item__badge_1arxb_84",
4290
+ "item--collapsed": "_item--collapsed_1arxb_103",
4291
+ item__label: "_item__label_1arxb_142",
4292
+ "item__label--collapsed": "_item__label--collapsed_1arxb_151",
4293
+ "item__chevron--expanded": "_item__chevron--expanded_1arxb_174"
4294
+ }, kr = ({ icon: e, label: t, active: n, activeIndicator: o = !0, disabled: s, badge: c, hasSubmenu: l, collapsed: u, expanded: d, onClick: f, href: m, nativeTooltip: h = !0 }) => {
4269
4295
  let g = n && o, _ = n && !o, v = [
4270
4296
  Z.item,
4271
4297
  g ? Z["item--active"] : "",
@@ -4320,22 +4346,22 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
4320
4346
  ...b,
4321
4347
  children: y
4322
4348
  });
4323
- }, kr = {
4324
- promo: "_promo_qzdlk_4",
4325
- promo__head: "_promo__head_qzdlk_20",
4326
- promo__icon: "_promo__icon_qzdlk_21",
4327
- promo__title: "_promo__title_qzdlk_22",
4328
- promo__dismiss: "_promo__dismiss_qzdlk_23",
4329
- promo__desc: "_promo__desc_qzdlk_30",
4330
- promo__cta: "_promo__cta_qzdlk_33"
4331
- }, Ar = ({ type: e = "upgrade", title: t, description: n, ctaLabel: r, onCta: o, onDismiss: s, icon: c = te }) => /* @__PURE__ */ a("div", {
4332
- className: [kr.promo, kr[`promo--${e}`]].join(" "),
4349
+ }, Ar = {
4350
+ promo: "_promo_1524z_4",
4351
+ promo__head: "_promo__head_1524z_20",
4352
+ promo__icon: "_promo__icon_1524z_21",
4353
+ promo__title: "_promo__title_1524z_22",
4354
+ promo__dismiss: "_promo__dismiss_1524z_23",
4355
+ promo__desc: "_promo__desc_1524z_30",
4356
+ promo__cta: "_promo__cta_1524z_33"
4357
+ }, jr = ({ type: e = "upgrade", title: t, description: n, ctaLabel: r, onCta: o, onDismiss: s, icon: c = te }) => /* @__PURE__ */ a("div", {
4358
+ className: [Ar.promo, Ar[`promo--${e}`]].join(" "),
4333
4359
  children: [
4334
4360
  /* @__PURE__ */ a("div", {
4335
- className: kr.promo__head,
4361
+ className: Ar.promo__head,
4336
4362
  children: [
4337
4363
  /* @__PURE__ */ i("span", {
4338
- className: kr.promo__icon,
4364
+ className: Ar.promo__icon,
4339
4365
  "aria-hidden": "true",
4340
4366
  children: /* @__PURE__ */ i(c, {
4341
4367
  size: 16,
@@ -4343,12 +4369,12 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
4343
4369
  })
4344
4370
  }),
4345
4371
  /* @__PURE__ */ i("span", {
4346
- className: kr.promo__title,
4372
+ className: Ar.promo__title,
4347
4373
  children: t
4348
4374
  }),
4349
4375
  s && /* @__PURE__ */ i("button", {
4350
4376
  type: "button",
4351
- className: kr.promo__dismiss,
4377
+ className: Ar.promo__dismiss,
4352
4378
  onClick: s,
4353
4379
  "aria-label": "Dismiss",
4354
4380
  children: /* @__PURE__ */ i(se, {
@@ -4359,36 +4385,36 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
4359
4385
  ]
4360
4386
  }),
4361
4387
  n && /* @__PURE__ */ i("p", {
4362
- className: kr.promo__desc,
4388
+ className: Ar.promo__desc,
4363
4389
  children: n
4364
4390
  }),
4365
4391
  r && /* @__PURE__ */ i("button", {
4366
4392
  type: "button",
4367
- className: kr.promo__cta,
4393
+ className: Ar.promo__cta,
4368
4394
  onClick: o,
4369
4395
  children: r
4370
4396
  })
4371
4397
  ]
4372
- }), jr = {
4398
+ }), Mr = {
4373
4399
  subItem: "_subItem_1sz05_2",
4374
4400
  "subItem--disabled": "_subItem--disabled_1sz05_26",
4375
4401
  "subItem--active": "_subItem--active_1sz05_27",
4376
4402
  subItem__dot: "_subItem__dot_1sz05_31",
4377
4403
  subItem__label: "_subItem__label_1sz05_41"
4378
- }, Mr = ({ label: e, active: t, disabled: n, onClick: o, href: s }) => {
4404
+ }, Nr = ({ label: e, active: t, disabled: n, onClick: o, href: s }) => {
4379
4405
  let c = {
4380
4406
  className: [
4381
- jr.subItem,
4382
- t ? jr["subItem--active"] : "",
4383
- n ? jr["subItem--disabled"] : ""
4407
+ Mr.subItem,
4408
+ t ? Mr["subItem--active"] : "",
4409
+ n ? Mr["subItem--disabled"] : ""
4384
4410
  ].filter(Boolean).join(" "),
4385
4411
  "data-hover-item": "",
4386
4412
  "aria-current": t ? "page" : void 0
4387
4413
  }, l = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("span", {
4388
- className: jr.subItem__dot,
4414
+ className: Mr.subItem__dot,
4389
4415
  "aria-hidden": "true"
4390
4416
  }), /* @__PURE__ */ i("span", {
4391
- className: jr.subItem__label,
4417
+ className: Mr.subItem__label,
4392
4418
  children: e
4393
4419
  })] });
4394
4420
  return s && !n ? /* @__PURE__ */ i("a", {
@@ -4402,49 +4428,49 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
4402
4428
  ...c,
4403
4429
  children: l
4404
4430
  });
4405
- }, Nr = {
4431
+ }, Pr = {
4406
4432
  skeleton: "_skeleton_94hr3_9",
4407
4433
  "skeleton-shimmer": "_skeleton-shimmer_94hr3_1",
4408
4434
  "skeleton--text": "_skeleton--text_94hr3_22",
4409
4435
  "skeleton--rect": "_skeleton--rect_94hr3_29",
4410
4436
  "skeleton--circle": "_skeleton--circle_94hr3_35"
4411
- }, Pr = ({ variant: e = "text", width: t, height: n, className: r }) => {
4437
+ }, Fr = ({ variant: e = "text", width: t, height: n, className: r }) => {
4412
4438
  let a = {};
4413
4439
  return t !== void 0 && (a.width = typeof t == "number" ? `${t}px` : t), n !== void 0 && (a.height = typeof n == "number" ? `${n}px` : n), /* @__PURE__ */ i("span", {
4414
4440
  "aria-hidden": "true",
4415
4441
  className: [
4416
- Nr.skeleton,
4417
- Nr[`skeleton--${e}`],
4442
+ Pr.skeleton,
4443
+ Pr[`skeleton--${e}`],
4418
4444
  r ?? ""
4419
4445
  ].filter(Boolean).join(" "),
4420
4446
  style: a
4421
4447
  });
4422
- }, Fr = {
4448
+ }, Ir = {
4423
4449
  field: "_field_u7te8_3",
4424
4450
  header: "_header_u7te8_4",
4425
4451
  label: "_label_u7te8_5",
4426
4452
  value: "_value_u7te8_6",
4427
4453
  slider: "_slider_u7te8_8",
4428
4454
  "sakani-slider-bounce": "_sakani-slider-bounce_u7te8_1"
4429
- }, Ir = 1.2, Lr = 460, Rr = e.forwardRef(({ label: t, showValue: n, min: r = 0, max: o = 100, value: s, defaultValue: c, disabled: l, id: u, className: d, onChange: f, ...p }, m) => {
4455
+ }, Lr = 1.2, Rr = 460, zr = e.forwardRef(({ label: t, showValue: n, min: r = 0, max: o = 100, value: s, defaultValue: c, disabled: l, id: u, className: d, onChange: f, ...p }, m) => {
4430
4456
  let h = e.useId(), g = u ?? h, _ = Number(s ?? c ?? r), [v, y] = e.useState(_), b = s === void 0 ? v : Number(s), x = (b - r) / (o - r) * 100, S = e.useRef(null), C = (e) => {
4431
4457
  S.current = e, typeof m == "function" ? m(e) : m && (m.current = e);
4432
4458
  }, w = e.useRef(null), T = e.useRef(void 0);
4433
4459
  e.useEffect(() => () => window.clearTimeout(T.current), []);
4434
4460
  let E = (e) => {
4435
4461
  let t = S.current;
4436
- t && (t.removeAttribute("data-bounce"), t.offsetWidth, t.style.setProperty("--bounce-dir", String(e)), t.setAttribute("data-bounce", ""), window.clearTimeout(T.current), T.current = window.setTimeout(() => t.removeAttribute("data-bounce"), Lr));
4462
+ t && (t.removeAttribute("data-bounce"), t.offsetWidth, t.style.setProperty("--bounce-dir", String(e)), t.setAttribute("data-bounce", ""), window.clearTimeout(T.current), T.current = window.setTimeout(() => t.removeAttribute("data-bounce"), Rr));
4437
4463
  };
4438
4464
  return /* @__PURE__ */ a("div", {
4439
- className: [Fr.field, d ?? ""].filter(Boolean).join(" "),
4465
+ className: [Ir.field, d ?? ""].filter(Boolean).join(" "),
4440
4466
  children: [(t || n) && /* @__PURE__ */ a("div", {
4441
- className: Fr.header,
4467
+ className: Ir.header,
4442
4468
  children: [t && /* @__PURE__ */ i("label", {
4443
4469
  htmlFor: g,
4444
- className: Fr.label,
4470
+ className: Ir.label,
4445
4471
  children: t
4446
4472
  }), n && /* @__PURE__ */ i("span", {
4447
- className: Fr.value,
4473
+ className: Ir.value,
4448
4474
  children: b
4449
4475
  })]
4450
4476
  }), /* @__PURE__ */ i("input", {
@@ -4458,19 +4484,19 @@ var _r = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
4458
4484
  disabled: l,
4459
4485
  onChange: (e) => {
4460
4486
  let t = Number(e.target.value), n = performance.now(), i = w.current;
4461
- i && (t === o || t === r) && i.v !== t && Math.abs(t - i.v) / (o - r) / Math.max((n - i.t) / 1e3, .001) >= Ir && E(t === o ? 1 : -1), w.current = {
4487
+ i && (t === o || t === r) && i.v !== t && Math.abs(t - i.v) / (o - r) / Math.max((n - i.t) / 1e3, .001) >= Lr && E(t === o ? 1 : -1), w.current = {
4462
4488
  v: t,
4463
4489
  t: n
4464
4490
  }, s === void 0 && y(t), f?.(e);
4465
4491
  },
4466
- className: Fr.slider,
4492
+ className: Ir.slider,
4467
4493
  style: { "--pct": `${x}%` },
4468
4494
  ...p
4469
4495
  })]
4470
4496
  });
4471
4497
  });
4472
- Rr.displayName = "Slider";
4473
- var zr = {
4498
+ zr.displayName = "Slider";
4499
+ var Br = {
4474
4500
  card: "_card_1qi93_4",
4475
4501
  "card--featured": "_card--featured_1qi93_24",
4476
4502
  card__head: "_card__head_1qi93_26",
@@ -4483,19 +4509,19 @@ var zr = {
4483
4509
  "card--trend-up": "_card--trend-up_1qi93_68",
4484
4510
  "card--trend-down": "_card--trend-down_1qi93_69",
4485
4511
  card__description: "_card__description_1qi93_72"
4486
- }, Br = {
4512
+ }, Vr = {
4487
4513
  up: ae,
4488
4514
  down: ie,
4489
4515
  flat: w
4490
- }, Vr = {
4516
+ }, Hr = {
4491
4517
  up: "success",
4492
4518
  down: "danger",
4493
4519
  flat: "neutral"
4494
- }, Hr = ({ data: e }) => {
4520
+ }, Ur = ({ data: e }) => {
4495
4521
  if (e.length < 2) return null;
4496
4522
  let t = Math.min(...e), n = Math.max(...e) - t || 1;
4497
4523
  return /* @__PURE__ */ i("svg", {
4498
- className: Ur,
4524
+ className: Wr,
4499
4525
  viewBox: "0 0 100 32",
4500
4526
  preserveAspectRatio: "none",
4501
4527
  "aria-hidden": "true",
@@ -4508,21 +4534,21 @@ var zr = {
4508
4534
  strokeLinecap: "round"
4509
4535
  })
4510
4536
  });
4511
- }, Ur = zr.card__sparkline, Wr = ({ title: e, value: t, description: n, sparkline: r, delta: o, trend: s = "up", badgeVariant: c, variant: l = "minimal", icon: u, showMenu: d, onMenu: f, className: p }) => {
4512
- let m = Br[s], h = (l === "icon" || l === "featured") && u;
4537
+ }, Wr = Br.card__sparkline, Gr = ({ title: e, value: t, description: n, sparkline: r, delta: o, trend: s = "up", badgeVariant: c, variant: l = "minimal", icon: u, showMenu: d, onMenu: f, className: p }) => {
4538
+ let m = Vr[s], h = (l === "icon" || l === "featured") && u;
4513
4539
  return /* @__PURE__ */ a("div", {
4514
4540
  className: [
4515
- zr.card,
4516
- zr[`card--${l}`],
4517
- zr[`card--trend-${s}`],
4541
+ Br.card,
4542
+ Br[`card--${l}`],
4543
+ Br[`card--trend-${s}`],
4518
4544
  p ?? ""
4519
4545
  ].filter(Boolean).join(" "),
4520
4546
  children: [
4521
4547
  /* @__PURE__ */ a("div", {
4522
- className: zr.card__head,
4548
+ className: Br.card__head,
4523
4549
  children: [
4524
4550
  h && /* @__PURE__ */ i("span", {
4525
- className: zr.card__icon,
4551
+ className: Br.card__icon,
4526
4552
  "aria-hidden": "true",
4527
4553
  children: /* @__PURE__ */ i(u, {
4528
4554
  size: 18,
@@ -4530,12 +4556,12 @@ var zr = {
4530
4556
  })
4531
4557
  }),
4532
4558
  /* @__PURE__ */ i("span", {
4533
- className: zr.card__title,
4559
+ className: Br.card__title,
4534
4560
  children: e
4535
4561
  }),
4536
4562
  d && /* @__PURE__ */ i("button", {
4537
4563
  type: "button",
4538
- className: zr.card__menu,
4564
+ className: Br.card__menu,
4539
4565
  onClick: f,
4540
4566
  "aria-label": "More options",
4541
4567
  children: /* @__PURE__ */ i(T, {
@@ -4546,21 +4572,21 @@ var zr = {
4546
4572
  ]
4547
4573
  }),
4548
4574
  /* @__PURE__ */ i("div", {
4549
- className: zr.card__value,
4575
+ className: Br.card__value,
4550
4576
  children: t
4551
4577
  }),
4552
- r && /* @__PURE__ */ i(Hr, { data: r }),
4578
+ r && /* @__PURE__ */ i(Ur, { data: r }),
4553
4579
  (o || n) && /* @__PURE__ */ a("div", {
4554
- className: zr.card__meta,
4580
+ className: Br.card__meta,
4555
4581
  children: [o && /* @__PURE__ */ i(jt, {
4556
- variant: c ?? Vr[s],
4582
+ variant: c ?? Hr[s],
4557
4583
  leftIcon: /* @__PURE__ */ i(m, {
4558
4584
  size: 12,
4559
4585
  strokeWidth: 2
4560
4586
  }),
4561
4587
  children: o
4562
4588
  }), n && /* @__PURE__ */ i("p", {
4563
- className: zr.card__description,
4589
+ className: Br.card__description,
4564
4590
  children: n
4565
4591
  })]
4566
4592
  })
@@ -4594,18 +4620,18 @@ var zr = {
4594
4620
  "bodyRow--dropTarget": "_bodyRow--dropTarget_9nqt2_228",
4595
4621
  dragCell: "_dragCell_9nqt2_235",
4596
4622
  dragHandle: "_dragHandle_9nqt2_251"
4597
- }, Gr = 640;
4598
- function Kr(t) {
4623
+ }, Kr = 640;
4624
+ function qr(t) {
4599
4625
  let [n, r] = e.useState(!1);
4600
4626
  return e.useEffect(() => {
4601
4627
  if (t !== "auto") return;
4602
- let e = window.matchMedia(`(max-width: ${Gr}px)`);
4628
+ let e = window.matchMedia(`(max-width: ${Kr}px)`);
4603
4629
  r(e.matches);
4604
4630
  let n = (e) => r(e.matches);
4605
4631
  return e.addEventListener("change", n), () => e.removeEventListener("change", n);
4606
4632
  }, [t]), t === "default" ? "default" : t === "stacked" || n ? "stacked" : "default";
4607
4633
  }
4608
- var qr = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
4634
+ var Jr = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
4609
4635
  let s = e.useRef(null);
4610
4636
  return e.useEffect(() => {
4611
4637
  s.current && (s.current.indeterminate = !!n);
@@ -4636,10 +4662,10 @@ var qr = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
4636
4662
  })]
4637
4663
  });
4638
4664
  };
4639
- function Jr({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionChange: s, rowKey: c, reorderable: l, onReorder: u, bordered: d = !0, responsive: f = "auto", className: p }) {
4640
- let m = Kr(f), h = o !== void 0, [g, _] = e.useState([]), v = h ? o : g, y = (e) => {
4665
+ function Yr({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionChange: s, rowKey: c, reorderable: l, onReorder: u, bordered: d = !0, responsive: f = "auto", className: p }) {
4666
+ let m = qr(f), h = o !== void 0, [g, _] = e.useState([]), v = h ? o : g, y = (e) => {
4641
4667
  h || _(e), s?.(e);
4642
- }, b = n.length > 0 && v.length === n.length, S = v.length > 0 && !b, [C, w] = e.useState(null), [T, E] = e.useState(null), D = Nn(), O = () => {
4668
+ }, b = n.length > 0 && v.length === n.length, S = v.length > 0 && !b, [C, w] = e.useState(null), [T, E] = e.useState(null), D = Pn(), O = () => {
4643
4669
  if (C === null || T === null || C === T) {
4644
4670
  w(null), E(null);
4645
4671
  return;
@@ -4664,7 +4690,7 @@ function Jr({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
4664
4690
  ].filter(Boolean).join(" "),
4665
4691
  children: [r && /* @__PURE__ */ i("div", {
4666
4692
  className: Q.card__selectRow,
4667
- children: /* @__PURE__ */ i(qr, {
4693
+ children: /* @__PURE__ */ i(Jr, {
4668
4694
  checked: o,
4669
4695
  onChange: () => A(n),
4670
4696
  label: `Select row ${n + 1}`
@@ -4700,7 +4726,7 @@ function Jr({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
4700
4726
  }),
4701
4727
  r && /* @__PURE__ */ i("th", {
4702
4728
  className: Q.checkCell,
4703
- children: /* @__PURE__ */ i(qr, {
4729
+ children: /* @__PURE__ */ i(Jr, {
4704
4730
  checked: b,
4705
4731
  indeterminate: S,
4706
4732
  onChange: k,
@@ -4753,7 +4779,7 @@ function Jr({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
4753
4779
  }),
4754
4780
  r && /* @__PURE__ */ i("td", {
4755
4781
  className: Q.checkCell,
4756
- children: /* @__PURE__ */ i(qr, {
4782
+ children: /* @__PURE__ */ i(Jr, {
4757
4783
  checked: o,
4758
4784
  onChange: () => A(n),
4759
4785
  label: `Select row ${n + 1}`
@@ -4770,7 +4796,7 @@ function Jr({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
4770
4796
  })]
4771
4797
  });
4772
4798
  }
4773
- var Yr = {
4799
+ var Xr = {
4774
4800
  tabs: "_tabs_1122j_3",
4775
4801
  "tabs--borderless": "_tabs--borderless_1122j_16",
4776
4802
  "tabs--fill": "_tabs--fill_1122j_21",
@@ -4779,7 +4805,7 @@ var Yr = {
4779
4805
  "tab--active": "_tab--active_1122j_63",
4780
4806
  indicator: "_indicator_1122j_74",
4781
4807
  "indicator--animated": "_indicator--animated_1122j_88"
4782
- }, Xr = ({ items: t, value: n, defaultValue: r, onChange: o, bordered: s = !0, fill: c = !1, className: l }) => {
4808
+ }, Zr = ({ items: t, value: n, defaultValue: r, onChange: o, bordered: s = !0, fill: c = !1, className: l }) => {
4783
4809
  let u = n !== void 0, [d, f] = e.useState(r ?? t[0]?.value), p = u ? n : d, m = (e) => {
4784
4810
  u || f(e), o?.(e);
4785
4811
  }, h = e.useRef(null), g = e.useRef({}), [_, v] = e.useState(null), [y, b] = e.useState(!1);
@@ -4800,9 +4826,9 @@ var Yr = {
4800
4826
  ref: h,
4801
4827
  role: "tablist",
4802
4828
  className: [
4803
- Yr.tabs,
4804
- s ? "" : Yr["tabs--borderless"],
4805
- c ? Yr["tabs--fill"] : "",
4829
+ Xr.tabs,
4830
+ s ? "" : Xr["tabs--borderless"],
4831
+ c ? Xr["tabs--fill"] : "",
4806
4832
  l ?? ""
4807
4833
  ].filter(Boolean).join(" "),
4808
4834
  children: [t.map((e) => {
@@ -4816,9 +4842,9 @@ var Yr = {
4816
4842
  "aria-selected": t,
4817
4843
  disabled: e.disabled,
4818
4844
  className: [
4819
- Yr.tab,
4820
- t ? Yr["tab--active"] : "",
4821
- e.disabled ? Yr["tab--disabled"] : ""
4845
+ Xr.tab,
4846
+ t ? Xr["tab--active"] : "",
4847
+ e.disabled ? Xr["tab--disabled"] : ""
4822
4848
  ].filter(Boolean).join(" "),
4823
4849
  onClick: () => m(e.value),
4824
4850
  children: [n && /* @__PURE__ */ i(n, {
@@ -4829,14 +4855,14 @@ var Yr = {
4829
4855
  }, e.value);
4830
4856
  }), _ && /* @__PURE__ */ i("span", {
4831
4857
  "aria-hidden": "true",
4832
- className: [Yr.indicator, y ? Yr["indicator--animated"] : ""].filter(Boolean).join(" "),
4858
+ className: [Xr.indicator, y ? Xr["indicator--animated"] : ""].filter(Boolean).join(" "),
4833
4859
  style: {
4834
4860
  transform: `translateX(${_.left}px)`,
4835
4861
  width: _.width
4836
4862
  }
4837
4863
  })]
4838
4864
  });
4839
- }, Zr = {
4865
+ }, Qr = {
4840
4866
  wrapper: "_wrapper_w6wtp_8",
4841
4867
  bubble: "_bubble_w6wtp_8",
4842
4868
  bubble__title: "_bubble__title_w6wtp_46",
@@ -4858,7 +4884,7 @@ var Yr = {
4858
4884
  "caret--center-left": "_caret--center-left_w6wtp_121",
4859
4885
  "bubble--center-right": "_bubble--center-right_w6wtp_131",
4860
4886
  "caret--center-right": "_caret--center-right_w6wtp_139"
4861
- }, Qr = ({ title: t, subtitle: n, pointer: r = "top-center", children: o, className: s }) => {
4887
+ }, $r = ({ title: t, subtitle: n, pointer: r = "top-center", children: o, className: s }) => {
4862
4888
  let [c, l] = e.useState(!1);
4863
4889
  return e.useEffect(() => {
4864
4890
  let e = (e) => {
@@ -4866,24 +4892,24 @@ var Yr = {
4866
4892
  };
4867
4893
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
4868
4894
  }, []), /* @__PURE__ */ a("span", {
4869
- className: [Zr.wrapper, s ?? ""].filter(Boolean).join(" "),
4895
+ className: [Qr.wrapper, s ?? ""].filter(Boolean).join(" "),
4870
4896
  "data-dismissed": c || void 0,
4871
4897
  onMouseLeave: () => l(!1),
4872
4898
  onBlur: () => l(!1),
4873
4899
  children: [o, /* @__PURE__ */ a("span", {
4874
4900
  role: "tooltip",
4875
- className: [Zr.bubble, Zr[`bubble--${r}`]].join(" "),
4901
+ className: [Qr.bubble, Qr[`bubble--${r}`]].join(" "),
4876
4902
  children: [
4877
4903
  /* @__PURE__ */ i("span", {
4878
- className: Zr.bubble__title,
4904
+ className: Qr.bubble__title,
4879
4905
  children: t
4880
4906
  }),
4881
4907
  n && /* @__PURE__ */ i("span", {
4882
- className: Zr.bubble__subtitle,
4908
+ className: Qr.bubble__subtitle,
4883
4909
  children: n
4884
4910
  }),
4885
4911
  /* @__PURE__ */ i("span", {
4886
- className: [Zr.caret, Zr[`caret--${r}`]].join(" "),
4912
+ className: [Qr.caret, Qr[`caret--${r}`]].join(" "),
4887
4913
  "aria-hidden": "true"
4888
4914
  })
4889
4915
  ]
@@ -4912,8 +4938,8 @@ var Yr = {
4912
4938
  "bar__left--search": "_bar__left--search_yqi1k_84",
4913
4939
  bar__accountChevron: "_bar__accountChevron_yqi1k_98",
4914
4940
  "bar__accountChevron--open": "_bar__accountChevron--open_yqi1k_104"
4915
- }, $r = ({ type: e = "search", density: t = "md", left: n, showToggle: s = !0, onToggle: c, toggleIcon: l = E, showActions: u = !0, showHelp: f = !0, hasUnread: p = !1, rightSlot: m, account: h, accountOpen: _ = !1, avatar: v, title: y, subtitle: b, actions: x, className: S }) => {
4916
- let C = Nn(), w = Nn(), T = t === "md" ? 20 : 18, D = M(T);
4941
+ }, ei = ({ type: e = "search", density: t = "md", left: n, showToggle: s = !0, onToggle: c, toggleIcon: l = E, showActions: u = !0, showHelp: f = !0, hasUnread: p = !1, rightSlot: m, account: h, accountOpen: _ = !1, avatar: v, title: y, subtitle: b, actions: x, className: S }) => {
4942
+ let C = Pn(), w = Pn(), T = t === "md" ? 20 : 18, D = M(T);
4917
4943
  return /* @__PURE__ */ i("header", {
4918
4944
  className: [
4919
4945
  $.bar,
@@ -5014,4 +5040,4 @@ var Yr = {
5014
5040
  });
5015
5041
  };
5016
5042
  //#endregion
5017
- export { zt as $, Rn as A, _n as B, rr as C, Ne as Ct, Un as D, Kn as E, M as Et, Dn as F, ln as G, fn as H, wn as I, nn as J, on as K, Cn as L, Pn as M, Nn as N, Hn as O, On as P, qt as Q, xn as R, sr as S, Pe as St, Yn as T, Oe as Tt, dn as U, hn as V, un as W, Qt as X, en as Y, Yt as Z, _r as _, We as _t, Wr as a, Tt as at, lr as b, ze as bt, Mr as c, xt as ct, Dr as d, ht as dt, Rt as et, Er as f, mt as ft, yr as g, $e as gt, br as h, tt as ht, Jr as i, kt as it, In as j, Bn as k, Ar as l, vt as lt, Sr as m, ut as mt, Qr as n, Nt as nt, Rr as o, Ct as ot, wr as p, dt as pt, rn as q, Xr as r, jt as rt, Pr as s, St as st, $r as t, It as tt, Or as u, gt as ut, pr as v, P as vt, $n as w, ke as wt, ur as x, Le as xt, fr as y, He as yt, yn as z };
5043
+ export { zt as $, zn as A, vn as B, ir as C, Ne as Ct, Wn as D, qn as E, M as Et, On as F, ln as G, pn as H, Tn as I, nn as J, on as K, wn as L, Fn as M, Pn as N, Un as O, kn as P, qt as Q, Sn as R, cr as S, Pe as St, Xn as T, Oe as Tt, dn as U, gn as V, un as W, Qt as X, en as Y, Yt as Z, vr as _, Ue as _t, Gr as a, Tt as at, ur as b, ze as bt, Nr as c, xt as ct, Or as d, ht as dt, Rt as et, Dr as f, mt as ft, br as g, Qe as gt, xr as h, et as ht, Yr as i, kt as it, Ln as j, Vn as k, jr as l, vt as lt, Cr as m, ut as mt, $r as n, Nt as nt, zr as o, Ct as ot, Tr as p, dt as pt, rn as q, Zr as r, jt as rt, Fr as s, St as st, ei as t, It as tt, kr as u, gt as ut, mr as v, F as vt, er as w, ke as wt, dr as x, Le as xt, pr as y, He as yt, bn as z };