renderloom 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import * as rs from "react";
2
- import Lt, { forwardRef as tn, createElement as Gt, createContext as Pe, useRef as re, useLayoutEffect as Ra, useEffect as Ne, useId as sn, useContext as ne, useInsertionEffect as nn, useMemo as Ye, useCallback as Yt, Children as Da, isValidElement as La, useState as z, Fragment as Ti, Component as Ia } from "react";
2
+ import Lt, { forwardRef as tn, createElement as Gt, createContext as Pe, useRef as re, useLayoutEffect as Ra, useEffect as Ce, useId as sn, useContext as ne, useInsertionEffect as nn, useMemo as Ye, useCallback as Yt, Children as Da, isValidElement as La, useState as z, Fragment as Ti, Component as Ia } from "react";
3
3
  import za from "react-dom";
4
- var Nt = { exports: {} }, ot = {};
4
+ var Ct = { exports: {} }, ot = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-runtime.production.js
@@ -276,7 +276,7 @@ React keys must be passed directly to JSX without using spread:
276
276
  }
277
277
  var Bn;
278
278
  function Ba() {
279
- return Bn || (Bn = 1, process.env.NODE_ENV === "production" ? Nt.exports = Oa() : Nt.exports = Fa()), Nt.exports;
279
+ return Bn || (Bn = 1, process.env.NODE_ENV === "production" ? Ct.exports = Oa() : Ct.exports = Fa()), Ct.exports;
280
280
  }
281
281
  var l = Ba();
282
282
  /**
@@ -428,7 +428,7 @@ const Qa = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], el = Y("check",
428
428
  * This source code is licensed under the ISC license.
429
429
  * See the LICENSE file in the root directory of this source tree.
430
430
  */
431
- const tl = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Ci = Y("chevron-down", tl);
431
+ const tl = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Ni = Y("chevron-down", tl);
432
432
  /**
433
433
  * @license lucide-react v0.562.0 - ISC
434
434
  *
@@ -453,7 +453,7 @@ const rl = [
453
453
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
454
454
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
455
455
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
456
- ], Ni = Y("circle-alert", rl);
456
+ ], Ci = Y("circle-alert", rl);
457
457
  /**
458
458
  * @license lucide-react v0.562.0 - ISC
459
459
  *
@@ -628,13 +628,13 @@ const Tl = [
628
628
  * This source code is licensed under the ISC license.
629
629
  * See the LICENSE file in the root directory of this source tree.
630
630
  */
631
- const Cl = [
631
+ const Nl = [
632
632
  ["path", { d: "M10 11v6", key: "nco0om" }],
633
633
  ["path", { d: "M14 11v6", key: "outv1u" }],
634
634
  ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
635
635
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
636
636
  ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
637
- ], Nl = Y("trash-2", Cl);
637
+ ], Cl = Y("trash-2", Nl);
638
638
  /**
639
639
  * @license lucide-react v0.562.0 - ISC
640
640
  *
@@ -666,7 +666,7 @@ function ln(e) {
666
666
  const t = re(null);
667
667
  return t.current === null && (t.current = e()), t.current;
668
668
  }
669
- const Ml = typeof window < "u", Ai = Ml ? Ra : Ne, os = /* @__PURE__ */ Pe(null);
669
+ const Ml = typeof window < "u", Ai = Ml ? Ra : Ce, os = /* @__PURE__ */ Pe(null);
670
670
  function cn(e, t) {
671
671
  e.indexOf(t) === -1 && e.push(t);
672
672
  }
@@ -911,7 +911,7 @@ const Ms = {
911
911
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
912
912
  parse: parseFloat,
913
913
  transform: (t) => `${t}${e}`
914
- }), Ee = /* @__PURE__ */ wt("deg"), je = /* @__PURE__ */ wt("%"), N = /* @__PURE__ */ wt("px"), Hl = /* @__PURE__ */ wt("vh"), Xl = /* @__PURE__ */ wt("vw"), Hn = {
914
+ }), Ee = /* @__PURE__ */ wt("deg"), je = /* @__PURE__ */ wt("%"), C = /* @__PURE__ */ wt("px"), Hl = /* @__PURE__ */ wt("vh"), Xl = /* @__PURE__ */ wt("vw"), Hn = {
915
915
  ...je,
916
916
  parse: (e) => je.parse(e) / 100,
917
917
  transform: (e) => je.transform(e * 100)
@@ -1333,11 +1333,11 @@ function Sc(e, t) {
1333
1333
  e.push(W(s, 1, r));
1334
1334
  }
1335
1335
  }
1336
- function Cc(e) {
1336
+ function Nc(e) {
1337
1337
  const t = [0];
1338
1338
  return Sc(t, e.length - 1), t;
1339
1339
  }
1340
- function Nc(e, t) {
1340
+ function Cc(e, t) {
1341
1341
  return e.map((s) => s * t);
1342
1342
  }
1343
1343
  function Ac(e, t) {
@@ -1347,10 +1347,10 @@ function Ze({ duration: e = 300, keyframes: t, times: s, ease: n = "easeInOut" }
1347
1347
  const r = zl(n) ? n.map(Yn) : Yn(n), o = {
1348
1348
  done: !1,
1349
1349
  value: t[0]
1350
- }, i = Nc(
1350
+ }, i = Cc(
1351
1351
  // Only use the provided offsets if they're the correct length
1352
1352
  // TODO Maybe we should warn here if there's a length mismatch
1353
- s && s.length === t.length ? s : Cc(t),
1353
+ s && s.length === t.length ? s : Nc(t),
1354
1354
  e
1355
1355
  ), a = Tc(i, t, {
1356
1356
  ease: Array.isArray(r) ? r : Ac(t, r)
@@ -1613,7 +1613,7 @@ const rt = [
1613
1613
  "skew",
1614
1614
  "skewX",
1615
1615
  "skewY"
1616
- ], it = new Set(rt), sr = (e) => e === nt || e === N, zc = /* @__PURE__ */ new Set(["x", "y", "z"]), Oc = rt.filter((e) => !zc.has(e));
1616
+ ], it = new Set(rt), sr = (e) => e === nt || e === C, zc = /* @__PURE__ */ new Set(["x", "y", "z"]), Oc = rt.filter((e) => !zc.has(e));
1617
1617
  function Fc(e) {
1618
1618
  const t = [];
1619
1619
  return Oc.forEach((s) => {
@@ -2536,12 +2536,12 @@ function jd(e, t, s = {}) {
2536
2536
  const Td = {
2537
2537
  test: (e) => e === "auto",
2538
2538
  parse: (e) => e
2539
- }, vo = (e) => (t) => t.test(e), wo = [nt, N, je, Ee, Xl, Hl, Td], ar = (e) => wo.find(vo(e));
2539
+ }, vo = (e) => (t) => t.test(e), wo = [nt, C, je, Ee, Xl, Hl, Td], ar = (e) => wo.find(vo(e));
2540
2540
  function Sd(e) {
2541
2541
  return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || Ei(e) : !0;
2542
2542
  }
2543
- const Cd = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
2544
- function Nd(e) {
2543
+ const Nd = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
2544
+ function Cd(e) {
2545
2545
  const [t, s] = e.slice(0, -1).split("(");
2546
2546
  if (t === "drop-shadow")
2547
2547
  return e;
@@ -2549,14 +2549,14 @@ function Nd(e) {
2549
2549
  if (!n)
2550
2550
  return e;
2551
2551
  const r = s.replace(n, "");
2552
- let o = Cd.has(t) ? 1 : 0;
2552
+ let o = Nd.has(t) ? 1 : 0;
2553
2553
  return n !== s && (o *= 100), t + "(" + o + r + ")";
2554
2554
  }
2555
2555
  const Ad = /\b([a-z-]*)\(.*?\)/gu, Gs = {
2556
2556
  ...ye,
2557
2557
  getAnimatableNone: (e) => {
2558
2558
  const t = e.match(Ad);
2559
- return t ? t.map(Nd).join(" ") : e;
2559
+ return t ? t.map(Cd).join(" ") : e;
2560
2560
  }
2561
2561
  }, Ys = {
2562
2562
  ...ye,
@@ -2579,75 +2579,75 @@ const Ad = /\b([a-z-]*)\(.*?\)/gu, Gs = {
2579
2579
  skew: Ee,
2580
2580
  skewX: Ee,
2581
2581
  skewY: Ee,
2582
- distance: N,
2583
- translateX: N,
2584
- translateY: N,
2585
- translateZ: N,
2586
- x: N,
2587
- y: N,
2588
- z: N,
2589
- perspective: N,
2590
- transformPerspective: N,
2582
+ distance: C,
2583
+ translateX: C,
2584
+ translateY: C,
2585
+ translateZ: C,
2586
+ x: C,
2587
+ y: C,
2588
+ z: C,
2589
+ perspective: C,
2590
+ transformPerspective: C,
2591
2591
  opacity: pt,
2592
2592
  originX: Hn,
2593
2593
  originY: Hn,
2594
- originZ: N
2594
+ originZ: C
2595
2595
  }, Sn = {
2596
2596
  // Border props
2597
- borderWidth: N,
2598
- borderTopWidth: N,
2599
- borderRightWidth: N,
2600
- borderBottomWidth: N,
2601
- borderLeftWidth: N,
2602
- borderRadius: N,
2603
- borderTopLeftRadius: N,
2604
- borderTopRightRadius: N,
2605
- borderBottomRightRadius: N,
2606
- borderBottomLeftRadius: N,
2597
+ borderWidth: C,
2598
+ borderTopWidth: C,
2599
+ borderRightWidth: C,
2600
+ borderBottomWidth: C,
2601
+ borderLeftWidth: C,
2602
+ borderRadius: C,
2603
+ borderTopLeftRadius: C,
2604
+ borderTopRightRadius: C,
2605
+ borderBottomRightRadius: C,
2606
+ borderBottomLeftRadius: C,
2607
2607
  // Positioning props
2608
- width: N,
2609
- maxWidth: N,
2610
- height: N,
2611
- maxHeight: N,
2612
- top: N,
2613
- right: N,
2614
- bottom: N,
2615
- left: N,
2616
- inset: N,
2617
- insetBlock: N,
2618
- insetBlockStart: N,
2619
- insetBlockEnd: N,
2620
- insetInline: N,
2621
- insetInlineStart: N,
2622
- insetInlineEnd: N,
2608
+ width: C,
2609
+ maxWidth: C,
2610
+ height: C,
2611
+ maxHeight: C,
2612
+ top: C,
2613
+ right: C,
2614
+ bottom: C,
2615
+ left: C,
2616
+ inset: C,
2617
+ insetBlock: C,
2618
+ insetBlockStart: C,
2619
+ insetBlockEnd: C,
2620
+ insetInline: C,
2621
+ insetInlineStart: C,
2622
+ insetInlineEnd: C,
2623
2623
  // Spacing props
2624
- padding: N,
2625
- paddingTop: N,
2626
- paddingRight: N,
2627
- paddingBottom: N,
2628
- paddingLeft: N,
2629
- paddingBlock: N,
2630
- paddingBlockStart: N,
2631
- paddingBlockEnd: N,
2632
- paddingInline: N,
2633
- paddingInlineStart: N,
2634
- paddingInlineEnd: N,
2635
- margin: N,
2636
- marginTop: N,
2637
- marginRight: N,
2638
- marginBottom: N,
2639
- marginLeft: N,
2640
- marginBlock: N,
2641
- marginBlockStart: N,
2642
- marginBlockEnd: N,
2643
- marginInline: N,
2644
- marginInlineStart: N,
2645
- marginInlineEnd: N,
2624
+ padding: C,
2625
+ paddingTop: C,
2626
+ paddingRight: C,
2627
+ paddingBottom: C,
2628
+ paddingLeft: C,
2629
+ paddingBlock: C,
2630
+ paddingBlockStart: C,
2631
+ paddingBlockEnd: C,
2632
+ paddingInline: C,
2633
+ paddingInlineStart: C,
2634
+ paddingInlineEnd: C,
2635
+ margin: C,
2636
+ marginTop: C,
2637
+ marginRight: C,
2638
+ marginBottom: C,
2639
+ marginLeft: C,
2640
+ marginBlock: C,
2641
+ marginBlockStart: C,
2642
+ marginBlockEnd: C,
2643
+ marginInline: C,
2644
+ marginInlineStart: C,
2645
+ marginInlineEnd: C,
2646
2646
  // Typography
2647
- fontSize: N,
2647
+ fontSize: C,
2648
2648
  // Misc
2649
- backgroundPositionX: N,
2650
- backgroundPositionY: N,
2649
+ backgroundPositionX: C,
2650
+ backgroundPositionY: C,
2651
2651
  ...Pd,
2652
2652
  zIndex: lr,
2653
2653
  // SVG
@@ -2762,11 +2762,11 @@ const So = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
2762
2762
  function zt(e) {
2763
2763
  return Mi(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
2764
2764
  }
2765
- const { schedule: Cn } = /* @__PURE__ */ Ui(queueMicrotask, !1), xe = {
2765
+ const { schedule: Nn } = /* @__PURE__ */ Ui(queueMicrotask, !1), xe = {
2766
2766
  x: !1,
2767
2767
  y: !1
2768
2768
  };
2769
- function Co() {
2769
+ function No() {
2770
2770
  return xe.x || xe.y;
2771
2771
  }
2772
2772
  function Ld(e) {
@@ -2776,7 +2776,7 @@ function Ld(e) {
2776
2776
  xe.x = xe.y = !1;
2777
2777
  });
2778
2778
  }
2779
- function No(e, t) {
2779
+ function Co(e, t) {
2780
2780
  const s = To(e), n = new AbortController(), r = {
2781
2781
  passive: !0,
2782
2782
  ...t,
@@ -2785,10 +2785,10 @@ function No(e, t) {
2785
2785
  return [s, r, () => n.abort()];
2786
2786
  }
2787
2787
  function Id(e) {
2788
- return !(e.pointerType === "touch" || Co());
2788
+ return !(e.pointerType === "touch" || No());
2789
2789
  }
2790
2790
  function zd(e, t, s = {}) {
2791
- const [n, r, o] = No(e, s);
2791
+ const [n, r, o] = Co(e, s);
2792
2792
  return n.forEach((i) => {
2793
2793
  let a = !1, c = !1, d;
2794
2794
  const u = () => {
@@ -2817,7 +2817,7 @@ function zd(e, t, s = {}) {
2817
2817
  i.addEventListener("pointerenter", p, r), i.addEventListener("pointerdown", m, r);
2818
2818
  }), o;
2819
2819
  }
2820
- const Ao = (e, t) => t ? e === t ? !0 : Ao(e, t.parentElement) : !1, Nn = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Od = /* @__PURE__ */ new Set([
2820
+ const Ao = (e, t) => t ? e === t ? !0 : Ao(e, t.parentElement) : !1, Cn = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Od = /* @__PURE__ */ new Set([
2821
2821
  "BUTTON",
2822
2822
  "INPUT",
2823
2823
  "SELECT",
@@ -2856,11 +2856,11 @@ const $d = (e, t) => {
2856
2856
  s.addEventListener("keydown", n, t), s.addEventListener("blur", () => s.removeEventListener("keydown", n), t);
2857
2857
  };
2858
2858
  function dr(e) {
2859
- return Nn(e) && !Co();
2859
+ return Cn(e) && !No();
2860
2860
  }
2861
2861
  const ur = /* @__PURE__ */ new WeakSet();
2862
2862
  function Wd(e, t, s = {}) {
2863
- const [n, r, o] = No(e, s), i = (a) => {
2863
+ const [n, r, o] = Co(e, s), i = (a) => {
2864
2864
  const c = a.currentTarget;
2865
2865
  if (!dr(a) || ur.has(a))
2866
2866
  return;
@@ -3238,7 +3238,7 @@ class ou {
3238
3238
  this.events[t] && this.events[t].notify(...s);
3239
3239
  }
3240
3240
  scheduleRenderMicrotask() {
3241
- Cn.render(this.render);
3241
+ Nn.render(this.render);
3242
3242
  }
3243
3243
  }
3244
3244
  class Ro extends ou {
@@ -3423,7 +3423,7 @@ const lt = {
3423
3423
  if (!t.target)
3424
3424
  return e;
3425
3425
  if (typeof e == "string")
3426
- if (N.test(e))
3426
+ if (C.test(e))
3427
3427
  e = parseFloat(e);
3428
3428
  else
3429
3429
  return e;
@@ -3626,11 +3626,11 @@ function Go(e, t) {
3626
3626
  return !0;
3627
3627
  }
3628
3628
  const Tu = [...Pn].reverse(), Su = Pn.length;
3629
- function Cu(e) {
3629
+ function Nu(e) {
3630
3630
  return (t) => Promise.all(t.map(({ animation: s, options: n }) => jd(e, s, n)));
3631
3631
  }
3632
- function Nu(e) {
3633
- let t = Cu(e), s = jr(), n = !0, r = !1;
3632
+ function Cu(e) {
3633
+ let t = Nu(e), s = jr(), n = !0, r = !1;
3634
3634
  const o = (d) => (u, f) => {
3635
3635
  var m;
3636
3636
  const h = Ge(e, f, d === "exit" ? (m = e.presenceContext) == null ? void 0 : m.custom : void 0);
@@ -3782,19 +3782,19 @@ function Sr(e, t, s, n = 0.5) {
3782
3782
  function ft(e, t, s, n) {
3783
3783
  Sr(e.x, t.x, s.x, n ? n.originX : void 0), Sr(e.y, t.y, s.y, n ? n.originY : void 0);
3784
3784
  }
3785
- function Cr(e, t, s, n = 0) {
3785
+ function Nr(e, t, s, n = 0) {
3786
3786
  const r = n ? W(s.min, s.max, n) : s.min;
3787
3787
  e.min = r + t.min, e.max = e.min + ue(t);
3788
3788
  }
3789
3789
  function Du(e, t, s, n) {
3790
- Cr(e.x, t.x, s.x, n == null ? void 0 : n.x), Cr(e.y, t.y, s.y, n == null ? void 0 : n.y);
3790
+ Nr(e.x, t.x, s.x, n == null ? void 0 : n.x), Nr(e.y, t.y, s.y, n == null ? void 0 : n.y);
3791
3791
  }
3792
- function Nr(e, t, s, n = 0) {
3792
+ function Cr(e, t, s, n = 0) {
3793
3793
  const r = n ? W(s.min, s.max, n) : s.min;
3794
3794
  e.min = t.min - r, e.max = e.min + ue(t);
3795
3795
  }
3796
3796
  function ts(e, t, s, n) {
3797
- Nr(e.x, t.x, s.x, n == null ? void 0 : n.x), Nr(e.y, t.y, s.y, n == null ? void 0 : n.y);
3797
+ Cr(e.x, t.x, s.x, n == null ? void 0 : n.x), Cr(e.y, t.y, s.y, n == null ? void 0 : n.y);
3798
3798
  }
3799
3799
  function Ar(e, t, s, n, r) {
3800
3800
  return e -= t, e = es(e, 1 / s, n), r !== void 0 && (e = es(e, 1 / r, n)), e;
@@ -3854,7 +3854,7 @@ const qo = [
3854
3854
  "borderTopRightRadius",
3855
3855
  "borderBottomLeftRadius",
3856
3856
  "borderBottomRightRadius"
3857
- ], Bu = qo.length, Ir = (e) => typeof e == "string" ? parseFloat(e) : e, zr = (e) => typeof e == "number" || N.test(e);
3857
+ ], Bu = qo.length, Ir = (e) => typeof e == "string" ? parseFloat(e) : e, zr = (e) => typeof e == "number" || C.test(e);
3858
3858
  function _u(e, t, s, n, r, o) {
3859
3859
  r ? (e.opacity = W(0, s.opacity ?? 1, $u(n)), e.opacityExit = W(t.opacity ?? 1, 0, Wu(n))) : o && (e.opacity = W(t.opacity ?? 1, s.opacity ?? 1, n));
3860
3860
  for (let i = 0; i < Bu; i++) {
@@ -4107,7 +4107,7 @@ function Qo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
4107
4107
  ie.delta = Te(0, 1e3 / 60, a - ie.timestamp), ie.timestamp = a, ie.isProcessing = !0, fs.update.process(ie), fs.preRender.process(ie), fs.render.process(ie), ie.isProcessing = !1;
4108
4108
  }
4109
4109
  didUpdate() {
4110
- this.updateScheduled || (this.updateScheduled = !0, Cn.read(this.scheduleUpdate));
4110
+ this.updateScheduled || (this.updateScheduled = !0, Nn.read(this.scheduleUpdate));
4111
4111
  }
4112
4112
  clearAllSnapshots() {
4113
4113
  this.nodes.forEach(tf), this.sharedNodes.forEach(cf);
@@ -4703,7 +4703,7 @@ function sa(e = !0) {
4703
4703
  if (t === null)
4704
4704
  return [!0, null];
4705
4705
  const { isPresent: s, onExitComplete: n, register: r } = t, o = sn();
4706
- Ne(() => {
4706
+ Ce(() => {
4707
4707
  if (e)
4708
4708
  return r(o);
4709
4709
  }, [e]);
@@ -4839,7 +4839,7 @@ try {
4839
4839
  Sf(require("@emotion/is-prop-valid").default);
4840
4840
  } catch {
4841
4841
  }
4842
- function Cf(e, t, s) {
4842
+ function Nf(e, t, s) {
4843
4843
  const n = {};
4844
4844
  for (const r in e)
4845
4845
  r === "values" && typeof e.values == "object" || oe(e[r]) || (ia(r) || s === !0 && ss(r) || !t && !ss(r) || // If trying to use native HTML drag events, forward drag listeners
@@ -4847,7 +4847,7 @@ function Cf(e, t, s) {
4847
4847
  return n;
4848
4848
  }
4849
4849
  const ds = /* @__PURE__ */ Pe({});
4850
- function Nf(e, t) {
4850
+ function Cf(e, t) {
4851
4851
  if (cs(e)) {
4852
4852
  const { initial: s, animate: n } = e;
4853
4853
  return {
@@ -4858,7 +4858,7 @@ function Nf(e, t) {
4858
4858
  return e.inherit !== !1 ? t : {};
4859
4859
  }
4860
4860
  function Af(e) {
4861
- const { initial: t, animate: s } = Nf(e, ne(ds));
4861
+ const { initial: t, animate: s } = Cf(e, ne(ds));
4862
4862
  return Ye(() => ({ initial: t, animate: s }), [Zr(t), Zr(s)]);
4863
4863
  }
4864
4864
  function Zr(e) {
@@ -4954,7 +4954,7 @@ function Ln(e) {
4954
4954
  );
4955
4955
  }
4956
4956
  function Df(e, t, s, { latestValues: n }, r, o = !1, i) {
4957
- const c = (i ?? Ln(e) ? Vf : Ef)(t, n, r, e), d = Cf(t, typeof e == "string", o), u = e !== Ti ? { ...d, ...c, ref: s } : {}, { children: f } = t, h = Ye(() => oe(f) ? f.get() : f, [f]);
4957
+ const c = (i ?? Ln(e) ? Vf : Ef)(t, n, r, e), d = Nf(t, typeof e == "string", o), u = e !== Ti ? { ...d, ...c, ref: s } : {}, { children: f } = t, h = Ye(() => oe(f) ? f.get() : f, [f]);
4958
4958
  return Gt(e, {
4959
4959
  ...u,
4960
4960
  children: h
@@ -5052,7 +5052,7 @@ function _f(e, t, s, n, r, o) {
5052
5052
  const w = s[xo], b = re(!!w && typeof window < "u" && !((y = window.MotionHandoffIsComplete) != null && y.call(window, w)) && ((j = window.MotionHasOptimisedAnimation) == null ? void 0 : j.call(window, w)));
5053
5053
  return Ai(() => {
5054
5054
  m.current = !0, g && (x.current = !0, window.MotionIsMounted = !0, g.updateFeatures(), g.scheduleRenderMicrotask(), b.current && g.animationState && g.animationState.animateChanges());
5055
- }), Ne(() => {
5055
+ }), Ce(() => {
5056
5056
  g && (!b.current && g.animationState && g.animationState.animateChanges(), b.current && (queueMicrotask(() => {
5057
5057
  var T;
5058
5058
  (T = window.MotionHandoffMarkAsComplete) == null || T.call(window, w);
@@ -5150,7 +5150,7 @@ class Hf extends ze {
5150
5150
  * so people can optionally code split it out using the `m` component.
5151
5151
  */
5152
5152
  constructor(t) {
5153
- super(t), t.animationState || (t.animationState = Nu(t));
5153
+ super(t), t.animationState || (t.animationState = Cu(t));
5154
5154
  }
5155
5155
  updateAnimationControlsSubscription() {
5156
5156
  const { animate: t } = this.node.getProps();
@@ -5228,7 +5228,7 @@ function kt(e) {
5228
5228
  }
5229
5229
  };
5230
5230
  }
5231
- const Jf = (e) => (t) => Nn(t) && e(t, kt(t));
5231
+ const Jf = (e) => (t) => Cn(t) && e(t, kt(t));
5232
5232
  function ht(e, t, s, n) {
5233
5233
  return xt(e, t, Jf(s), n);
5234
5234
  }
@@ -5264,7 +5264,7 @@ class fa {
5264
5264
  return;
5265
5265
  const b = Ts(m.type === "pointercancel" ? this.lastMoveEventInfo : Et(g, this.transformPagePoint), this.history);
5266
5266
  this.startEvent && p && p(m, b), x && x(m, b);
5267
- }, !Nn(t))
5267
+ }, !Cn(t))
5268
5268
  return;
5269
5269
  this.dragSnapToOrigin = o, this.handlers = s, this.transformPagePoint = n, this.distanceThreshold = i, this.contextWindow = r || window;
5270
5270
  const c = kt(t), d = Et(c, this.transformPagePoint), { point: u } = d, { timestamp: f } = ie;
@@ -5717,7 +5717,7 @@ class hh extends ze {
5717
5717
  this.removePointerDownListener(), this.session && this.session.end();
5718
5718
  }
5719
5719
  }
5720
- let Cs = !1;
5720
+ let Ns = !1;
5721
5721
  class mh extends Ia {
5722
5722
  /**
5723
5723
  * This only mounts projection nodes for components that
@@ -5726,7 +5726,7 @@ class mh extends Ia {
5726
5726
  */
5727
5727
  componentDidMount() {
5728
5728
  const { visualElement: t, layoutGroup: s, switchLayoutGroup: n, layoutId: r } = this.props, { projection: o } = t;
5729
- o && (s.group && s.group.add(o), n && n.register && r && n.register(o), Cs && o.root.didUpdate(), o.addEventListener("animationComplete", () => {
5729
+ o && (s.group && s.group.add(o), n && n.register && r && n.register(o), Ns && o.root.didUpdate(), o.addEventListener("animationComplete", () => {
5730
5730
  this.safeToRemove();
5731
5731
  }), o.setOptions({
5732
5732
  ...o.options,
@@ -5739,20 +5739,20 @@ class mh extends Ia {
5739
5739
  return i && (i.isPresent = o, t.layoutDependency !== s && i.setOptions({
5740
5740
  ...i.options,
5741
5741
  layoutDependency: s
5742
- }), Cs = !0, r || t.layoutDependency !== s || s === void 0 || t.isPresent !== o ? i.willUpdate() : this.safeToRemove(), t.isPresent !== o && (o ? i.promote() : i.relegate() || F.postRender(() => {
5742
+ }), Ns = !0, r || t.layoutDependency !== s || s === void 0 || t.isPresent !== o ? i.willUpdate() : this.safeToRemove(), t.isPresent !== o && (o ? i.promote() : i.relegate() || F.postRender(() => {
5743
5743
  const a = i.getStack();
5744
5744
  (!a || !a.members.length) && this.safeToRemove();
5745
5745
  }))), null;
5746
5746
  }
5747
5747
  componentDidUpdate() {
5748
5748
  const { visualElement: t, layoutAnchor: s } = this.props, { projection: n } = t;
5749
- n && (n.options.layoutAnchor = s, n.root.didUpdate(), Cn.postRender(() => {
5749
+ n && (n.options.layoutAnchor = s, n.root.didUpdate(), Nn.postRender(() => {
5750
5750
  !n.currentAnimation && n.isLead() && this.safeToRemove();
5751
5751
  }));
5752
5752
  }
5753
5753
  componentWillUnmount() {
5754
5754
  const { visualElement: t, layoutGroup: s, switchLayoutGroup: n } = this.props, { projection: r } = t;
5755
- Cs = !0, r && (r.scheduleCheckAfterUnmount(), s && s.group && s.group.remove(r), n && n.deregister && n.deregister(r));
5755
+ Ns = !0, r && (r.scheduleCheckAfterUnmount(), s && s.group && s.group.remove(r), n && n.deregister && n.deregister(r));
5756
5756
  }
5757
5757
  safeToRemove() {
5758
5758
  const { safeToRemove: t } = this.props;
@@ -5834,7 +5834,7 @@ class yh extends ze {
5834
5834
  unmount() {
5835
5835
  }
5836
5836
  }
5837
- const Qs = /* @__PURE__ */ new WeakMap(), Ns = /* @__PURE__ */ new WeakMap(), bh = (e) => {
5837
+ const Qs = /* @__PURE__ */ new WeakMap(), Cs = /* @__PURE__ */ new WeakMap(), bh = (e) => {
5838
5838
  const t = Qs.get(e.target);
5839
5839
  t && t(e);
5840
5840
  }, vh = (e) => {
@@ -5842,8 +5842,8 @@ const Qs = /* @__PURE__ */ new WeakMap(), Ns = /* @__PURE__ */ new WeakMap(), bh
5842
5842
  };
5843
5843
  function wh({ root: e, ...t }) {
5844
5844
  const s = e || document;
5845
- Ns.has(s) || Ns.set(s, {});
5846
- const n = Ns.get(s), r = JSON.stringify(t);
5845
+ Cs.has(s) || Cs.set(s, {});
5846
+ const n = Cs.get(s), r = JSON.stringify(t);
5847
5847
  return n[r] || (n[r] = new IntersectionObserver(vh, { root: e, ...t })), n[r];
5848
5848
  }
5849
5849
  function kh(e, t, s) {
@@ -5894,7 +5894,7 @@ class Th extends ze {
5894
5894
  function Sh({ viewport: e = {} }, { viewport: t = {} } = {}) {
5895
5895
  return (s) => e[s] !== t[s];
5896
5896
  }
5897
- const Ch = {
5897
+ const Nh = {
5898
5898
  inView: {
5899
5899
  Feature: Th
5900
5900
  },
@@ -5907,16 +5907,16 @@ const Ch = {
5907
5907
  hover: {
5908
5908
  Feature: gh
5909
5909
  }
5910
- }, Nh = {
5910
+ }, Ch = {
5911
5911
  layout: {
5912
5912
  ProjectionNode: ta,
5913
5913
  MeasureLayout: ma
5914
5914
  }
5915
5915
  }, Ah = {
5916
5916
  ...Zf,
5917
- ...Ch,
5917
+ ...Nh,
5918
5918
  ...ph,
5919
- ...Nh
5919
+ ...Ch
5920
5920
  }, I = /* @__PURE__ */ Yf(Ah, Kf);
5921
5921
  function pa(e) {
5922
5922
  var t, s, n = "";
@@ -6220,18 +6220,18 @@ const Mh = (e, t) => {
6220
6220
  }, Jh = [], te = (e) => {
6221
6221
  const t = (s) => s[e] || Jh;
6222
6222
  return t.isThemeGetter = !0, t;
6223
- }, va = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, wa = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qh = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, em = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tm = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, sm = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, nm = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, rm = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Me = (e) => Qh.test(e), D = (e) => !!e && !Number.isNaN(Number(e)), be = (e) => !!e && Number.isInteger(Number(e)), As = (e) => e.endsWith("%") && D(e.slice(0, -1)), Ce = (e) => em.test(e), ka = () => !0, im = (e) => (
6223
+ }, va = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, wa = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qh = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, em = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tm = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, sm = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, nm = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, rm = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Me = (e) => Qh.test(e), D = (e) => !!e && !Number.isNaN(Number(e)), be = (e) => !!e && Number.isInteger(Number(e)), As = (e) => e.endsWith("%") && D(e.slice(0, -1)), Ne = (e) => em.test(e), ka = () => !0, im = (e) => (
6224
6224
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
6225
6225
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
6226
6226
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
6227
6227
  tm.test(e) && !sm.test(e)
6228
- ), zn = () => !1, om = (e) => nm.test(e), am = (e) => rm.test(e), lm = (e) => !S(e) && !C(e), cm = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), dm = (e) => Oe(e, Sa, zn), S = (e) => va.test(e), Be = (e) => Oe(e, Ca, im), ui = (e) => Oe(e, ym, D), um = (e) => Oe(e, Aa, ka), fm = (e) => Oe(e, Na, zn), fi = (e) => Oe(e, ja, zn), hm = (e) => Oe(e, Ta, am), Rt = (e) => Oe(e, Pa, om), C = (e) => wa.test(e), ct = (e) => Ke(e, Ca), mm = (e) => Ke(e, Na), hi = (e) => Ke(e, ja), pm = (e) => Ke(e, Sa), gm = (e) => Ke(e, Ta), Dt = (e) => Ke(e, Pa, !0), xm = (e) => Ke(e, Aa, !0), Oe = (e, t, s) => {
6228
+ ), zn = () => !1, om = (e) => nm.test(e), am = (e) => rm.test(e), lm = (e) => !S(e) && !N(e), cm = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), dm = (e) => Oe(e, Sa, zn), S = (e) => va.test(e), Be = (e) => Oe(e, Na, im), ui = (e) => Oe(e, ym, D), um = (e) => Oe(e, Aa, ka), fm = (e) => Oe(e, Ca, zn), fi = (e) => Oe(e, ja, zn), hm = (e) => Oe(e, Ta, am), Rt = (e) => Oe(e, Pa, om), N = (e) => wa.test(e), ct = (e) => Ke(e, Na), mm = (e) => Ke(e, Ca), hi = (e) => Ke(e, ja), pm = (e) => Ke(e, Sa), gm = (e) => Ke(e, Ta), Dt = (e) => Ke(e, Pa, !0), xm = (e) => Ke(e, Aa, !0), Oe = (e, t, s) => {
6229
6229
  const n = va.exec(e);
6230
6230
  return n ? n[1] ? t(n[1]) : s(n[2]) : !1;
6231
6231
  }, Ke = (e, t, s = !1) => {
6232
6232
  const n = wa.exec(e);
6233
6233
  return n ? n[1] ? t(n[1]) : s : !1;
6234
- }, ja = (e) => e === "position" || e === "percentage", Ta = (e) => e === "image" || e === "url", Sa = (e) => e === "length" || e === "size" || e === "bg-size", Ca = (e) => e === "length", ym = (e) => e === "number", Na = (e) => e === "family-name", Aa = (e) => e === "number" || e === "weight", Pa = (e) => e === "shadow", bm = () => {
6234
+ }, ja = (e) => e === "position" || e === "percentage", Ta = (e) => e === "image" || e === "url", Sa = (e) => e === "length" || e === "size" || e === "bg-size", Na = (e) => e === "length", ym = (e) => e === "number", Ca = (e) => e === "family-name", Aa = (e) => e === "number" || e === "weight", Pa = (e) => e === "shadow", bm = () => {
6235
6235
  const e = te("color"), t = te("font"), s = te("text"), n = te("font-weight"), r = te("tracking"), o = te("leading"), i = te("breakpoint"), a = te("container"), c = te("spacing"), d = te("radius"), u = te("shadow"), f = te("inset-shadow"), h = te("text-shadow"), m = te("drop-shadow"), g = te("blur"), p = te("perspective"), x = te("aspect"), w = te("ease"), b = te("animate"), y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [
6236
6236
  "center",
6237
6237
  "top",
@@ -6250,51 +6250,51 @@ const Mh = (e, t) => {
6250
6250
  "bottom-left",
6251
6251
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
6252
6252
  "left-bottom"
6253
- ], T = () => [...j(), C, S], P = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], k = () => [C, S, c], E = () => [Me, "full", "auto", ...k()], V = () => [be, "none", "subgrid", C, S], O = () => ["auto", {
6254
- span: ["full", be, C, S]
6255
- }, be, C, S], B = () => [be, "auto", C, S], ce = () => ["auto", "min", "max", "fr", C, S], ae = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], _ = () => ["auto", ...k()], pe = () => [Me, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], U = () => [Me, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...k()], Q = () => [Me, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...k()], A = () => [e, C, S], v = () => [...j(), hi, fi, {
6256
- position: [C, S]
6253
+ ], T = () => [...j(), N, S], P = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], k = () => [N, S, c], E = () => [Me, "full", "auto", ...k()], V = () => [be, "none", "subgrid", N, S], O = () => ["auto", {
6254
+ span: ["full", be, N, S]
6255
+ }, be, N, S], B = () => [be, "auto", N, S], ce = () => ["auto", "min", "max", "fr", N, S], ae = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], _ = () => ["auto", ...k()], pe = () => [Me, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], U = () => [Me, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...k()], Q = () => [Me, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...k()], A = () => [e, N, S], v = () => [...j(), hi, fi, {
6256
+ position: [N, S]
6257
6257
  }], R = () => ["no-repeat", {
6258
6258
  repeat: ["", "x", "y", "space", "round"]
6259
6259
  }], $ = () => ["auto", "cover", "contain", pm, dm, {
6260
- size: [C, S]
6260
+ size: [N, S]
6261
6261
  }], K = () => [As, ct, Be], Z = () => [
6262
6262
  // Deprecated since Tailwind CSS v4.0.0
6263
6263
  "",
6264
6264
  "none",
6265
6265
  "full",
6266
6266
  d,
6267
- C,
6267
+ N,
6268
6268
  S
6269
6269
  ], ee = () => ["", D, ct, Be], G = () => ["solid", "dashed", "dotted", "double"], Se = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], X = () => [D, As, hi, fi], jt = () => [
6270
6270
  // Deprecated since Tailwind CSS v4.0.0
6271
6271
  "",
6272
6272
  "none",
6273
6273
  g,
6274
- C,
6274
+ N,
6275
6275
  S
6276
- ], Tt = () => ["none", D, C, S], St = () => ["none", D, C, S], us = () => [D, C, S], Ct = () => [Me, "full", ...k()];
6276
+ ], Tt = () => ["none", D, N, S], St = () => ["none", D, N, S], us = () => [D, N, S], Nt = () => [Me, "full", ...k()];
6277
6277
  return {
6278
6278
  cacheSize: 500,
6279
6279
  theme: {
6280
6280
  animate: ["spin", "ping", "pulse", "bounce"],
6281
6281
  aspect: ["video"],
6282
- blur: [Ce],
6283
- breakpoint: [Ce],
6282
+ blur: [Ne],
6283
+ breakpoint: [Ne],
6284
6284
  color: [ka],
6285
- container: [Ce],
6286
- "drop-shadow": [Ce],
6285
+ container: [Ne],
6286
+ "drop-shadow": [Ne],
6287
6287
  ease: ["in", "out", "in-out"],
6288
6288
  font: [lm],
6289
6289
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
6290
- "inset-shadow": [Ce],
6290
+ "inset-shadow": [Ne],
6291
6291
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
6292
6292
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
6293
- radius: [Ce],
6294
- shadow: [Ce],
6293
+ radius: [Ne],
6294
+ shadow: [Ne],
6295
6295
  spacing: ["px", D],
6296
- text: [Ce],
6297
- "text-shadow": [Ce],
6296
+ text: [Ne],
6297
+ "text-shadow": [Ne],
6298
6298
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
6299
6299
  },
6300
6300
  classGroups: {
@@ -6306,7 +6306,7 @@ const Mh = (e, t) => {
6306
6306
  * @see https://tailwindcss.com/docs/aspect-ratio
6307
6307
  */
6308
6308
  aspect: [{
6309
- aspect: ["auto", "square", Me, S, C, x]
6309
+ aspect: ["auto", "square", Me, S, N, x]
6310
6310
  }],
6311
6311
  /**
6312
6312
  * Container
@@ -6319,7 +6319,7 @@ const Mh = (e, t) => {
6319
6319
  * @see https://tailwindcss.com/docs/responsive-design#container-queries
6320
6320
  */
6321
6321
  "container-type": [{
6322
- "@container": ["", "normal", "size", C, S]
6322
+ "@container": ["", "normal", "size", N, S]
6323
6323
  }],
6324
6324
  /**
6325
6325
  * Container Name
@@ -6331,7 +6331,7 @@ const Mh = (e, t) => {
6331
6331
  * @see https://tailwindcss.com/docs/columns
6332
6332
  */
6333
6333
  columns: [{
6334
- columns: [D, S, C, a]
6334
+ columns: [D, S, N, a]
6335
6335
  }],
6336
6336
  /**
6337
6337
  * Break After
@@ -6557,7 +6557,7 @@ const Mh = (e, t) => {
6557
6557
  * @see https://tailwindcss.com/docs/z-index
6558
6558
  */
6559
6559
  z: [{
6560
- z: [be, "auto", C, S]
6560
+ z: [be, "auto", N, S]
6561
6561
  }],
6562
6562
  // ------------------------
6563
6563
  // --- Flexbox and Grid ---
@@ -6595,21 +6595,21 @@ const Mh = (e, t) => {
6595
6595
  * @see https://tailwindcss.com/docs/flex-grow
6596
6596
  */
6597
6597
  grow: [{
6598
- grow: ["", D, C, S]
6598
+ grow: ["", D, N, S]
6599
6599
  }],
6600
6600
  /**
6601
6601
  * Flex Shrink
6602
6602
  * @see https://tailwindcss.com/docs/flex-shrink
6603
6603
  */
6604
6604
  shrink: [{
6605
- shrink: ["", D, C, S]
6605
+ shrink: ["", D, N, S]
6606
6606
  }],
6607
6607
  /**
6608
6608
  * Order
6609
6609
  * @see https://tailwindcss.com/docs/order
6610
6610
  */
6611
6611
  order: [{
6612
- order: [be, "first", "last", "none", C, S]
6612
+ order: [be, "first", "last", "none", N, S]
6613
6613
  }],
6614
6614
  /**
6615
6615
  * Grid Template Columns
@@ -7149,14 +7149,14 @@ const Mh = (e, t) => {
7149
7149
  * @see https://tailwindcss.com/docs/letter-spacing
7150
7150
  */
7151
7151
  tracking: [{
7152
- tracking: [r, C, S]
7152
+ tracking: [r, N, S]
7153
7153
  }],
7154
7154
  /**
7155
7155
  * Line Clamp
7156
7156
  * @see https://tailwindcss.com/docs/line-clamp
7157
7157
  */
7158
7158
  "line-clamp": [{
7159
- "line-clamp": [D, "none", C, ui]
7159
+ "line-clamp": [D, "none", N, ui]
7160
7160
  }],
7161
7161
  /**
7162
7162
  * Line Height
@@ -7174,7 +7174,7 @@ const Mh = (e, t) => {
7174
7174
  * @see https://tailwindcss.com/docs/list-style-image
7175
7175
  */
7176
7176
  "list-image": [{
7177
- "list-image": ["none", C, S]
7177
+ "list-image": ["none", N, S]
7178
7178
  }],
7179
7179
  /**
7180
7180
  * List Style Position
@@ -7188,7 +7188,7 @@ const Mh = (e, t) => {
7188
7188
  * @see https://tailwindcss.com/docs/list-style-type
7189
7189
  */
7190
7190
  "list-style-type": [{
7191
- list: ["disc", "decimal", "none", C, S]
7191
+ list: ["disc", "decimal", "none", N, S]
7192
7192
  }],
7193
7193
  /**
7194
7194
  * Text Alignment
@@ -7229,7 +7229,7 @@ const Mh = (e, t) => {
7229
7229
  * @see https://tailwindcss.com/docs/text-decoration-thickness
7230
7230
  */
7231
7231
  "text-decoration-thickness": [{
7232
- decoration: [D, "from-font", "auto", C, Be]
7232
+ decoration: [D, "from-font", "auto", N, Be]
7233
7233
  }],
7234
7234
  /**
7235
7235
  * Text Decoration Color
@@ -7243,7 +7243,7 @@ const Mh = (e, t) => {
7243
7243
  * @see https://tailwindcss.com/docs/text-underline-offset
7244
7244
  */
7245
7245
  "underline-offset": [{
7246
- "underline-offset": [D, "auto", C, S]
7246
+ "underline-offset": [D, "auto", N, S]
7247
7247
  }],
7248
7248
  /**
7249
7249
  * Text Transform
@@ -7274,14 +7274,14 @@ const Mh = (e, t) => {
7274
7274
  * @see https://tailwindcss.com/docs/tab-size
7275
7275
  */
7276
7276
  "tab-size": [{
7277
- tab: [be, C, S]
7277
+ tab: [be, N, S]
7278
7278
  }],
7279
7279
  /**
7280
7280
  * Vertical Alignment
7281
7281
  * @see https://tailwindcss.com/docs/vertical-align
7282
7282
  */
7283
7283
  "vertical-align": [{
7284
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", C, S]
7284
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", N, S]
7285
7285
  }],
7286
7286
  /**
7287
7287
  * Whitespace
@@ -7316,7 +7316,7 @@ const Mh = (e, t) => {
7316
7316
  * @see https://tailwindcss.com/docs/content
7317
7317
  */
7318
7318
  content: [{
7319
- content: ["none", C, S]
7319
+ content: ["none", N, S]
7320
7320
  }],
7321
7321
  // -------------------
7322
7322
  // --- Backgrounds ---
@@ -7371,9 +7371,9 @@ const Mh = (e, t) => {
7371
7371
  bg: ["none", {
7372
7372
  linear: [{
7373
7373
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
7374
- }, be, C, S],
7375
- radial: ["", C, S],
7376
- conic: [be, C, S]
7374
+ }, be, N, S],
7375
+ radial: ["", N, S],
7376
+ conic: [be, N, S]
7377
7377
  }, gm, hm]
7378
7378
  }],
7379
7379
  /**
@@ -7744,7 +7744,7 @@ const Mh = (e, t) => {
7744
7744
  * @see https://tailwindcss.com/docs/outline-offset
7745
7745
  */
7746
7746
  "outline-offset": [{
7747
- "outline-offset": [D, C, S]
7747
+ "outline-offset": [D, N, S]
7748
7748
  }],
7749
7749
  /**
7750
7750
  * Outline Width
@@ -7870,7 +7870,7 @@ const Mh = (e, t) => {
7870
7870
  * @see https://tailwindcss.com/docs/opacity
7871
7871
  */
7872
7872
  opacity: [{
7873
- opacity: [D, C, S]
7873
+ opacity: [D, N, S]
7874
7874
  }],
7875
7875
  /**
7876
7876
  * Mix Blend Mode
@@ -7992,7 +7992,7 @@ const Mh = (e, t) => {
7992
7992
  "mask-y-to": A()
7993
7993
  }],
7994
7994
  "mask-image-radial": [{
7995
- "mask-radial": [C, S]
7995
+ "mask-radial": [N, S]
7996
7996
  }],
7997
7997
  "mask-image-radial-from-pos": [{
7998
7998
  "mask-radial-from": X()
@@ -8080,7 +8080,7 @@ const Mh = (e, t) => {
8080
8080
  * @see https://tailwindcss.com/docs/mask-image
8081
8081
  */
8082
8082
  "mask-image": [{
8083
- mask: ["none", C, S]
8083
+ mask: ["none", N, S]
8084
8084
  }],
8085
8085
  // ---------------
8086
8086
  // --- Filters ---
@@ -8094,7 +8094,7 @@ const Mh = (e, t) => {
8094
8094
  // Deprecated since Tailwind CSS v3.0.0
8095
8095
  "",
8096
8096
  "none",
8097
- C,
8097
+ N,
8098
8098
  S
8099
8099
  ]
8100
8100
  }],
@@ -8110,14 +8110,14 @@ const Mh = (e, t) => {
8110
8110
  * @see https://tailwindcss.com/docs/brightness
8111
8111
  */
8112
8112
  brightness: [{
8113
- brightness: [D, C, S]
8113
+ brightness: [D, N, S]
8114
8114
  }],
8115
8115
  /**
8116
8116
  * Contrast
8117
8117
  * @see https://tailwindcss.com/docs/contrast
8118
8118
  */
8119
8119
  contrast: [{
8120
- contrast: [D, C, S]
8120
+ contrast: [D, N, S]
8121
8121
  }],
8122
8122
  /**
8123
8123
  * Drop Shadow
@@ -8145,35 +8145,35 @@ const Mh = (e, t) => {
8145
8145
  * @see https://tailwindcss.com/docs/grayscale
8146
8146
  */
8147
8147
  grayscale: [{
8148
- grayscale: ["", D, C, S]
8148
+ grayscale: ["", D, N, S]
8149
8149
  }],
8150
8150
  /**
8151
8151
  * Hue Rotate
8152
8152
  * @see https://tailwindcss.com/docs/hue-rotate
8153
8153
  */
8154
8154
  "hue-rotate": [{
8155
- "hue-rotate": [D, C, S]
8155
+ "hue-rotate": [D, N, S]
8156
8156
  }],
8157
8157
  /**
8158
8158
  * Invert
8159
8159
  * @see https://tailwindcss.com/docs/invert
8160
8160
  */
8161
8161
  invert: [{
8162
- invert: ["", D, C, S]
8162
+ invert: ["", D, N, S]
8163
8163
  }],
8164
8164
  /**
8165
8165
  * Saturate
8166
8166
  * @see https://tailwindcss.com/docs/saturate
8167
8167
  */
8168
8168
  saturate: [{
8169
- saturate: [D, C, S]
8169
+ saturate: [D, N, S]
8170
8170
  }],
8171
8171
  /**
8172
8172
  * Sepia
8173
8173
  * @see https://tailwindcss.com/docs/sepia
8174
8174
  */
8175
8175
  sepia: [{
8176
- sepia: ["", D, C, S]
8176
+ sepia: ["", D, N, S]
8177
8177
  }],
8178
8178
  /**
8179
8179
  * Backdrop Filter
@@ -8184,7 +8184,7 @@ const Mh = (e, t) => {
8184
8184
  // Deprecated since Tailwind CSS v3.0.0
8185
8185
  "",
8186
8186
  "none",
8187
- C,
8187
+ N,
8188
8188
  S
8189
8189
  ]
8190
8190
  }],
@@ -8200,56 +8200,56 @@ const Mh = (e, t) => {
8200
8200
  * @see https://tailwindcss.com/docs/backdrop-brightness
8201
8201
  */
8202
8202
  "backdrop-brightness": [{
8203
- "backdrop-brightness": [D, C, S]
8203
+ "backdrop-brightness": [D, N, S]
8204
8204
  }],
8205
8205
  /**
8206
8206
  * Backdrop Contrast
8207
8207
  * @see https://tailwindcss.com/docs/backdrop-contrast
8208
8208
  */
8209
8209
  "backdrop-contrast": [{
8210
- "backdrop-contrast": [D, C, S]
8210
+ "backdrop-contrast": [D, N, S]
8211
8211
  }],
8212
8212
  /**
8213
8213
  * Backdrop Grayscale
8214
8214
  * @see https://tailwindcss.com/docs/backdrop-grayscale
8215
8215
  */
8216
8216
  "backdrop-grayscale": [{
8217
- "backdrop-grayscale": ["", D, C, S]
8217
+ "backdrop-grayscale": ["", D, N, S]
8218
8218
  }],
8219
8219
  /**
8220
8220
  * Backdrop Hue Rotate
8221
8221
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
8222
8222
  */
8223
8223
  "backdrop-hue-rotate": [{
8224
- "backdrop-hue-rotate": [D, C, S]
8224
+ "backdrop-hue-rotate": [D, N, S]
8225
8225
  }],
8226
8226
  /**
8227
8227
  * Backdrop Invert
8228
8228
  * @see https://tailwindcss.com/docs/backdrop-invert
8229
8229
  */
8230
8230
  "backdrop-invert": [{
8231
- "backdrop-invert": ["", D, C, S]
8231
+ "backdrop-invert": ["", D, N, S]
8232
8232
  }],
8233
8233
  /**
8234
8234
  * Backdrop Opacity
8235
8235
  * @see https://tailwindcss.com/docs/backdrop-opacity
8236
8236
  */
8237
8237
  "backdrop-opacity": [{
8238
- "backdrop-opacity": [D, C, S]
8238
+ "backdrop-opacity": [D, N, S]
8239
8239
  }],
8240
8240
  /**
8241
8241
  * Backdrop Saturate
8242
8242
  * @see https://tailwindcss.com/docs/backdrop-saturate
8243
8243
  */
8244
8244
  "backdrop-saturate": [{
8245
- "backdrop-saturate": [D, C, S]
8245
+ "backdrop-saturate": [D, N, S]
8246
8246
  }],
8247
8247
  /**
8248
8248
  * Backdrop Sepia
8249
8249
  * @see https://tailwindcss.com/docs/backdrop-sepia
8250
8250
  */
8251
8251
  "backdrop-sepia": [{
8252
- "backdrop-sepia": ["", D, C, S]
8252
+ "backdrop-sepia": ["", D, N, S]
8253
8253
  }],
8254
8254
  // --------------
8255
8255
  // --- Tables ---
@@ -8304,7 +8304,7 @@ const Mh = (e, t) => {
8304
8304
  * @see https://tailwindcss.com/docs/transition-property
8305
8305
  */
8306
8306
  transition: [{
8307
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", C, S]
8307
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", N, S]
8308
8308
  }],
8309
8309
  /**
8310
8310
  * Transition Behavior
@@ -8318,28 +8318,28 @@ const Mh = (e, t) => {
8318
8318
  * @see https://tailwindcss.com/docs/transition-duration
8319
8319
  */
8320
8320
  duration: [{
8321
- duration: [D, "initial", C, S]
8321
+ duration: [D, "initial", N, S]
8322
8322
  }],
8323
8323
  /**
8324
8324
  * Transition Timing Function
8325
8325
  * @see https://tailwindcss.com/docs/transition-timing-function
8326
8326
  */
8327
8327
  ease: [{
8328
- ease: ["linear", "initial", w, C, S]
8328
+ ease: ["linear", "initial", w, N, S]
8329
8329
  }],
8330
8330
  /**
8331
8331
  * Transition Delay
8332
8332
  * @see https://tailwindcss.com/docs/transition-delay
8333
8333
  */
8334
8334
  delay: [{
8335
- delay: [D, C, S]
8335
+ delay: [D, N, S]
8336
8336
  }],
8337
8337
  /**
8338
8338
  * Animation
8339
8339
  * @see https://tailwindcss.com/docs/animation
8340
8340
  */
8341
8341
  animate: [{
8342
- animate: ["none", b, C, S]
8342
+ animate: ["none", b, N, S]
8343
8343
  }],
8344
8344
  // ------------------
8345
8345
  // --- Transforms ---
@@ -8356,7 +8356,7 @@ const Mh = (e, t) => {
8356
8356
  * @see https://tailwindcss.com/docs/perspective
8357
8357
  */
8358
8358
  perspective: [{
8359
- perspective: [p, C, S]
8359
+ perspective: [p, N, S]
8360
8360
  }],
8361
8361
  /**
8362
8362
  * Perspective Origin
@@ -8452,7 +8452,7 @@ const Mh = (e, t) => {
8452
8452
  * @see https://tailwindcss.com/docs/transform
8453
8453
  */
8454
8454
  transform: [{
8455
- transform: [C, S, "", "none", "gpu", "cpu"]
8455
+ transform: [N, S, "", "none", "gpu", "cpu"]
8456
8456
  }],
8457
8457
  /**
8458
8458
  * Transform Origin
@@ -8473,28 +8473,28 @@ const Mh = (e, t) => {
8473
8473
  * @see https://tailwindcss.com/docs/translate
8474
8474
  */
8475
8475
  translate: [{
8476
- translate: Ct()
8476
+ translate: Nt()
8477
8477
  }],
8478
8478
  /**
8479
8479
  * Translate X
8480
8480
  * @see https://tailwindcss.com/docs/translate
8481
8481
  */
8482
8482
  "translate-x": [{
8483
- "translate-x": Ct()
8483
+ "translate-x": Nt()
8484
8484
  }],
8485
8485
  /**
8486
8486
  * Translate Y
8487
8487
  * @see https://tailwindcss.com/docs/translate
8488
8488
  */
8489
8489
  "translate-y": [{
8490
- "translate-y": Ct()
8490
+ "translate-y": Nt()
8491
8491
  }],
8492
8492
  /**
8493
8493
  * Translate Z
8494
8494
  * @see https://tailwindcss.com/docs/translate
8495
8495
  */
8496
8496
  "translate-z": [{
8497
- "translate-z": Ct()
8497
+ "translate-z": Nt()
8498
8498
  }],
8499
8499
  /**
8500
8500
  * Translate None
@@ -8506,7 +8506,7 @@ const Mh = (e, t) => {
8506
8506
  * @see https://tailwindcss.com/docs/zoom
8507
8507
  */
8508
8508
  zoom: [{
8509
- zoom: [be, C, S]
8509
+ zoom: [be, N, S]
8510
8510
  }],
8511
8511
  // ---------------------
8512
8512
  // --- Interactivity ---
@@ -8544,7 +8544,7 @@ const Mh = (e, t) => {
8544
8544
  * @see https://tailwindcss.com/docs/cursor
8545
8545
  */
8546
8546
  cursor: [{
8547
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", C, S]
8547
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", N, S]
8548
8548
  }],
8549
8549
  /**
8550
8550
  * Field Sizing
@@ -8822,7 +8822,7 @@ const Mh = (e, t) => {
8822
8822
  * @see https://tailwindcss.com/docs/will-change
8823
8823
  */
8824
8824
  "will-change": [{
8825
- "will-change": ["auto", "scroll", "contents", "transform", C, S]
8825
+ "will-change": ["auto", "scroll", "contents", "transform", N, S]
8826
8826
  }],
8827
8827
  // -----------
8828
8828
  // --- SVG ---
@@ -8935,7 +8935,7 @@ const Em = ({
8935
8935
  className: "w-full px-6 py-4 flex items-center justify-between font-bold text-foreground text-left cursor-pointer hover:bg-secondary/20 transition-colors",
8936
8936
  children: [
8937
8937
  /* @__PURE__ */ l.jsx("span", { children: e }),
8938
- /* @__PURE__ */ l.jsx(Ci, { size: 18, className: M("text-muted-foreground transition-transform duration-200", n && "rotate-180") })
8938
+ /* @__PURE__ */ l.jsx(Ni, { size: 18, className: M("text-muted-foreground transition-transform duration-200", n && "rotate-180") })
8939
8939
  ]
8940
8940
  }
8941
8941
  ),
@@ -8982,7 +8982,7 @@ const Em = ({
8982
8982
  }) => {
8983
8983
  const [o, i] = z(!0), a = pi[s] || pi.info, c = {
8984
8984
  success: /* @__PURE__ */ l.jsx(is, { size: 18, style: { color: a.title } }),
8985
- error: /* @__PURE__ */ l.jsx(Ni, { size: 18, style: { color: a.title } }),
8985
+ error: /* @__PURE__ */ l.jsx(Ci, { size: 18, style: { color: a.title } }),
8986
8986
  warning: /* @__PURE__ */ l.jsx(on, { size: 18, style: { color: a.title } }),
8987
8987
  info: /* @__PURE__ */ l.jsx(Kt, { size: 18, style: { color: a.title } })
8988
8988
  };
@@ -9447,7 +9447,7 @@ const Em = ({
9447
9447
  className: o
9448
9448
  }) => {
9449
9449
  const [i, a] = z(!1), c = re(null), d = t.find((u) => u.value === s);
9450
- return Ne(() => {
9450
+ return Ce(() => {
9451
9451
  const u = (f) => {
9452
9452
  c.current && !c.current.contains(f.target) && a(!1);
9453
9453
  };
@@ -9462,7 +9462,7 @@ const Em = ({
9462
9462
  className: "glass-input w-full flex items-center justify-between cursor-pointer focus:ring-2 focus:ring-ring/10 text-left",
9463
9463
  children: [
9464
9464
  /* @__PURE__ */ l.jsx("span", { className: M(!d && "text-muted-foreground/60"), children: d ? d.label : r }),
9465
- /* @__PURE__ */ l.jsx(Ci, { size: 18, className: M("text-muted-foreground transition-transform duration-200", i && "rotate-180") })
9465
+ /* @__PURE__ */ l.jsx(Ni, { size: 18, className: M("text-muted-foreground transition-transform duration-200", i && "rotate-180") })
9466
9466
  ]
9467
9467
  }
9468
9468
  ) }),
@@ -9699,7 +9699,7 @@ const Em = ({
9699
9699
  onClick: n,
9700
9700
  className: "p-2 hover:bg-secondary rounded-xl text-muted-foreground hover:text-destructive cursor-pointer transition-colors",
9701
9701
  title: "Clear All",
9702
- children: /* @__PURE__ */ l.jsx(Nl, { size: 16 })
9702
+ children: /* @__PURE__ */ l.jsx(Cl, { size: 16 })
9703
9703
  }
9704
9704
  ),
9705
9705
  /* @__PURE__ */ l.jsx(
@@ -9870,7 +9870,7 @@ const Em = ({
9870
9870
  });
9871
9871
  }
9872
9872
  };
9873
- Ne(() => (s && (a(), window.addEventListener("scroll", a), window.addEventListener("resize", a)), () => {
9873
+ Ce(() => (s && (a(), window.addEventListener("scroll", a), window.addEventListener("resize", a)), () => {
9874
9874
  window.removeEventListener("scroll", a), window.removeEventListener("resize", a);
9875
9875
  }), [s]);
9876
9876
  const c = () => {
@@ -10007,7 +10007,7 @@ const Em = ({
10007
10007
  const a = localStorage.getItem("theme");
10008
10008
  return a ? a === "dark" : window.matchMedia("(prefers-color-scheme: dark)").matches;
10009
10009
  });
10010
- Ne(() => {
10010
+ Ce(() => {
10011
10011
  s ? (document.documentElement.classList.add("dark"), localStorage.setItem("theme", "dark")) : (document.documentElement.classList.remove("dark"), localStorage.setItem("theme", "light"));
10012
10012
  }, [s]);
10013
10013
  const r = () => n((o) => !o);
@@ -10028,9 +10028,9 @@ const Em = ({
10028
10028
  onLogout: c
10029
10029
  }) => {
10030
10030
  const [d, u] = z(!1), [f, h] = z(!e);
10031
- Ne(() => {
10031
+ Ce(() => {
10032
10032
  h(!e);
10033
- }, [e]), Ne(() => {
10033
+ }, [e]), Ce(() => {
10034
10034
  const y = () => {
10035
10035
  const j = window.innerWidth < 768;
10036
10036
  u(j), j || h(!1);
@@ -10150,32 +10150,36 @@ const Em = ({
10150
10150
  active: s = !1,
10151
10151
  onClick: n,
10152
10152
  collapsed: r = !1,
10153
- badge: o
10154
- }) => /* @__PURE__ */ l.jsxs(
10155
- "button",
10156
- {
10157
- type: "button",
10158
- onClick: n,
10159
- className: M(
10160
- "relative w-full flex items-center rounded-xl font-bold text-sm transition-all duration-250 cursor-pointer text-left select-none shrink-0 border border-transparent",
10161
- r ? "justify-center p-3" : "px-4 py-3 gap-3",
10162
- s ? "bg-primary/8 text-primary border-primary/15 shadow-[0_0_20px_rgba(var(--primary),0.02)]" : "text-muted-foreground hover:text-foreground hover:bg-secondary/35"
10163
- ),
10164
- children: [
10165
- e && /* @__PURE__ */ l.jsx(e, { size: 18, className: "shrink-0" }),
10166
- !r && /* @__PURE__ */ l.jsx("span", { className: "truncate flex-1 font-semibold text-sm whitespace-nowrap overflow-hidden animate-[fadeIn_0.2s_ease-out]", children: t }),
10167
- !r && o && !s && /* @__PURE__ */ l.jsx("span", { className: "text-[10px] px-1.5 py-0.5 rounded-full font-bold border shrink-0 bg-primary/10 text-primary border-primary/20", children: o }),
10168
- !r && s && /* @__PURE__ */ l.jsx(
10169
- I.div,
10170
- {
10171
- layoutId: "active-sidebar-indicator",
10172
- className: "w-1.5 h-1.5 rounded-full bg-primary shrink-0 ml-auto",
10173
- transition: { type: "spring", stiffness: 380, damping: 30 }
10174
- }
10175
- )
10176
- ]
10177
- }
10178
- ), Ym = ({
10153
+ badge: o,
10154
+ as: i,
10155
+ ...a
10156
+ }) => {
10157
+ const c = (u) => /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
10158
+ e && /* @__PURE__ */ l.jsx(e, { size: 18, className: "shrink-0" }),
10159
+ !r && /* @__PURE__ */ l.jsx("span", { className: "truncate flex-1 font-semibold text-sm whitespace-nowrap overflow-hidden animate-[fadeIn_0.2s_ease-out]", children: t }),
10160
+ !r && o && !u && /* @__PURE__ */ l.jsx("span", { className: "text-[10px] px-1.5 py-0.5 rounded-full font-bold border shrink-0 bg-primary/10 text-primary border-primary/20", children: o }),
10161
+ !r && u && /* @__PURE__ */ l.jsx(
10162
+ I.div,
10163
+ {
10164
+ layoutId: "active-sidebar-indicator",
10165
+ className: "w-1.5 h-1.5 rounded-full bg-primary shrink-0 ml-auto",
10166
+ transition: { type: "spring", stiffness: 380, damping: 30 }
10167
+ }
10168
+ )
10169
+ ] }), d = (u) => M(
10170
+ "relative w-full flex items-center rounded-xl font-bold text-sm transition-all duration-200 cursor-pointer text-left select-none shrink-0 border border-transparent",
10171
+ r ? "justify-center p-3" : "px-4 py-3 gap-3",
10172
+ u ? "bg-primary/10 text-primary border-primary/15" : "text-muted-foreground hover:text-foreground hover:bg-secondary/35"
10173
+ );
10174
+ return i ? /* @__PURE__ */ l.jsx(
10175
+ i,
10176
+ {
10177
+ className: ({ isActive: u }) => d(u),
10178
+ ...a,
10179
+ children: ({ isActive: u }) => c(u)
10180
+ }
10181
+ ) : /* @__PURE__ */ l.jsx("button", { type: "button", onClick: n, className: d(s), children: c(s) });
10182
+ }, Ym = ({
10179
10183
  // Avatar
10180
10184
  avatarLabel: e,
10181
10185
  // string rendered inside the circle (e.g. initials)
@@ -10527,7 +10531,7 @@ const Em = ({
10527
10531
  m.current = !1, n + 1 < t.length ? r((y) => y + 1) : i("COMPLETED");
10528
10532
  }
10529
10533
  };
10530
- Ne(() => {
10534
+ Ce(() => {
10531
10535
  o === "SYNCING" && x();
10532
10536
  }, [n, o, f]);
10533
10537
  const w = t.length > 0 ? Math.round((n + (o === "COMPLETED" ? 1 : 0)) / t.length * 100) : 0;
@@ -10541,12 +10545,12 @@ const Em = ({
10541
10545
  addToQueue: g,
10542
10546
  clearQueue: p
10543
10547
  }, children: e });
10544
- }, Cm = () => {
10548
+ }, Nm = () => {
10545
10549
  const e = ne(Ea);
10546
10550
  if (!e) throw new Error("useSync must be used within a SyncProvider");
10547
10551
  return e;
10548
10552
  }, ep = () => {
10549
- const { status: e, results: t, currentIndex: s, queue: n, progress: r, batchName: o, clearQueue: i } = Cm(), [a, c] = z(!1), [d, u] = z(!1);
10553
+ const { status: e, results: t, currentIndex: s, queue: n, progress: r, batchName: o, clearQueue: i } = Nm(), [a, c] = z(!1), [d, u] = z(!1);
10550
10554
  if (e === "IDLE") return null;
10551
10555
  const f = n[s] || {};
10552
10556
  return /* @__PURE__ */ l.jsx(le, { children: /* @__PURE__ */ l.jsx(
@@ -10853,7 +10857,7 @@ const Em = ({
10853
10857
  }) : n) });
10854
10858
  }, wi = {
10855
10859
  success: /* @__PURE__ */ l.jsx(is, { size: 20, className: "text-green-500" }),
10856
- error: /* @__PURE__ */ l.jsx(Ni, { size: 20, className: "text-red-500" }),
10860
+ error: /* @__PURE__ */ l.jsx(Ci, { size: 20, className: "text-red-500" }),
10857
10861
  warning: /* @__PURE__ */ l.jsx(on, { size: 20, className: "text-amber-500" }),
10858
10862
  info: /* @__PURE__ */ l.jsx(Kt, { size: 20, className: "text-blue-500" }),
10859
10863
  default: /* @__PURE__ */ l.jsx(Kt, { size: 20, className: "text-foreground" })
@@ -10863,7 +10867,7 @@ const Em = ({
10863
10867
  warning: "border-amber-500/20 bg-amber-500/10",
10864
10868
  info: "border-blue-500/20 bg-blue-500/10",
10865
10869
  default: "border-border bg-background"
10866
- }, Nm = ({ toasts: e, removeToast: t }) => /* @__PURE__ */ l.jsx("div", { className: "fixed bottom-4 right-4 z-[9999] flex flex-col gap-3 p-4 max-w-sm w-full pointer-events-none", children: /* @__PURE__ */ l.jsx(le, { children: e.map((s) => /* @__PURE__ */ l.jsxs(
10870
+ }, Cm = ({ toasts: e, removeToast: t }) => /* @__PURE__ */ l.jsx("div", { className: "fixed bottom-4 right-4 z-[9999] flex flex-col gap-3 p-4 max-w-sm w-full pointer-events-none", children: /* @__PURE__ */ l.jsx(le, { children: e.map((s) => /* @__PURE__ */ l.jsxs(
10867
10871
  I.div,
10868
10872
  {
10869
10873
  initial: { opacity: 0, y: 20, scale: 0.95 },
@@ -10911,7 +10915,7 @@ const Em = ({
10911
10915
  };
10912
10916
  return /* @__PURE__ */ l.jsxs(Va.Provider, { value: { toast: o }, children: [
10913
10917
  e,
10914
- /* @__PURE__ */ l.jsx(Nm, { toasts: t, removeToast: r })
10918
+ /* @__PURE__ */ l.jsx(Cm, { toasts: t, removeToast: r })
10915
10919
  ] });
10916
10920
  };
10917
10921
  export {
@@ -10952,7 +10956,7 @@ export {
10952
10956
  rp as TimelineItem,
10953
10957
  ap as ToastProvider,
10954
10958
  M as cn,
10955
- Cm as useSync,
10959
+ Nm as useSync,
10956
10960
  jm as useTheme,
10957
10961
  op as useToast
10958
10962
  };