@udixio/ui-react 2.3.2 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { jsx as u, jsxs as V, Fragment as te } from "react/jsx-runtime";
2
- import { clsx as ge } from "clsx";
3
- import { extendTailwindMerge as Ee } from "tailwind-merge";
4
- import K, { useState as S, useEffect as R, useRef as D, useLayoutEffect as ve, isValidElement as ee, cloneElement as oe, useMemo as Ie, Children as ke, Fragment as Se } from "react";
5
- import { motion as F, AnimatePresence as Q, useScroll as Me, useMotionValueEvent as fe, motionValue as $e, useTransform as me } from "motion/react";
6
- import { throttle as Ce } from "throttle-debounce";
7
- import { animate as Re } from "motion";
1
+ import { jsx as f, jsxs as A, Fragment as te } from "react/jsx-runtime";
2
+ import { clsx as ve } from "clsx";
3
+ import { extendTailwindMerge as Ie } from "tailwind-merge";
4
+ import K, { useState as S, useEffect as R, useRef as D, useLayoutEffect as we, isValidElement as ee, cloneElement as oe, useMemo as ke, Children as Se, Fragment as $e } from "react";
5
+ import { motion as F, AnimatePresence as Q, useScroll as Me, useMotionValueEvent as fe, motionValue as Ce, useTransform as me } from "motion/react";
6
+ import { throttle as Re } from "throttle-debounce";
7
+ import { animate as Be } from "motion";
8
8
  import { createPortal as xe } from "react-dom";
9
- import { loader as Be, defineConfig as De, FontPlugin as We, Variants as Pe } from "@udixio/theme";
10
- import { TailwindPlugin as we } from "@udixio/tailwind";
9
+ import { loader as De, defineConfig as We, FontPlugin as Pe, Variants as Ae } from "@udixio/theme";
10
+ import { TailwindPlugin as be } from "@udixio/tailwind";
11
11
  import Ve from "react-textarea-autosize";
12
- const be = Ee({
12
+ const Le = Ie({
13
13
  override: {
14
14
  classGroups: {
15
15
  "text-color": [
@@ -35,11 +35,11 @@ const be = Ee({
35
35
  font: ["font"]
36
36
  }
37
37
  }
38
- }), h = (...e) => be(ge(e)), Ae = (...e) => be(ge(e));
39
- function Fe(e) {
38
+ }), h = (...e) => Le(ve(e)), Fe = (...e) => Le(ve(e));
39
+ function He(e) {
40
40
  return e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
41
41
  }
42
- const He = (e) => {
42
+ const Oe = (e) => {
43
43
  const t = {};
44
44
  e.classNameList.forEach((l) => {
45
45
  var r;
@@ -49,17 +49,17 @@ const He = (e) => {
49
49
  else {
50
50
  const c = l(e.states);
51
51
  Object.entries(c).map((i) => {
52
- const [s, f] = i;
53
- (t[s] ?? (t[s] = [])).push(f);
52
+ const [s, u] = i;
53
+ (t[s] ?? (t[s] = [])).push(u);
54
54
  });
55
55
  }
56
56
  });
57
57
  const n = t;
58
58
  return Object.entries(t).map((l) => {
59
59
  let [r, c] = l;
60
- c = c.reverse(), r == e.default && c.unshift("relative"), c.unshift(Fe(r)), n[r] = Ae(...c);
60
+ c = c.reverse(), r == e.default && c.unshift("relative"), c.unshift(He(r)), n[r] = Fe(...c);
61
61
  }), n;
62
- }, j = (e, t) => (n) => He({
62
+ }, j = (e, t) => (n) => Oe({
63
63
  classNameList: [n.className, t],
64
64
  default: e,
65
65
  states: n
@@ -74,7 +74,7 @@ const He = (e) => {
74
74
  isActive: c,
75
75
  loading: i,
76
76
  shape: s,
77
- onToggle: f,
77
+ onToggle: u,
78
78
  size: a,
79
79
  allowShapeTransformation: p
80
80
  }) => ({
@@ -108,8 +108,8 @@ const He = (e) => {
108
108
  },
109
109
  e === "filled" && {
110
110
  "hover:shadow-1": !n,
111
- "bg-surface-container text-on-surface-variant": !n && !c && f,
112
- "bg-primary text-on-primary": !n && (c && f || !f),
111
+ "bg-surface-container text-on-surface-variant": !n && !c && u,
112
+ "bg-primary text-on-primary": !n && (c && u || !u),
113
113
  "text-on-surface/[38%]": n
114
114
  },
115
115
  e === "tonal" && {
@@ -157,8 +157,8 @@ const He = (e) => {
157
157
  },
158
158
  e === "filled" && {
159
159
  "bg-on-surface/[0.12]": n,
160
- "group-state-on-primary": !n && !f,
161
- "group-state-on-surface-variant": !n && f
160
+ "group-state-on-primary": !n && !u,
161
+ "group-state-on-surface-variant": !n && u
162
162
  },
163
163
  s === "rounded" && {
164
164
  "rounded-[30px]": a === "xSmall" || a == "small",
@@ -196,7 +196,7 @@ const He = (e) => {
196
196
  a === "xLarge" && "size-10"
197
197
  )
198
198
  })
199
- ), Oe = j(
199
+ ), Xe = j(
200
200
  "card",
201
201
  ({ variant: e, isInteractive: t }) => ({
202
202
  card: h(
@@ -212,12 +212,12 @@ const He = (e) => {
212
212
  }
213
213
  ])
214
214
  })
215
- ), Xe = j(
215
+ ), Ye = j(
216
216
  "carouselItem",
217
217
  () => ({
218
218
  carouselItem: h("rounded-[28px] overflow-hidden flex-none")
219
219
  })
220
- ), Ye = j(
220
+ ), je = j(
221
221
  "carousel",
222
222
  () => ({
223
223
  carousel: h(["w-full h-[400px]"]),
@@ -225,7 +225,7 @@ const He = (e) => {
225
225
  "grid grid-flow-col h-full transition-transform ease-out w-fit"
226
226
  )
227
227
  })
228
- ), je = j(
228
+ ), qe = j(
229
229
  "divider",
230
230
  ({ orientation: e }) => ({
231
231
  divider: h(
@@ -238,7 +238,7 @@ const He = (e) => {
238
238
  }
239
239
  )
240
240
  })
241
- ), qe = j(
241
+ ), _e = j(
242
242
  "fab",
243
243
  ({ size: e, variant: t, isExtended: n }) => ({
244
244
  fab: h(
@@ -275,7 +275,7 @@ const He = (e) => {
275
275
  }),
276
276
  label: h("text-title-medium text-nowrap")
277
277
  })
278
- ), _e = j(
278
+ ), Ke = j(
279
279
  "iconButton",
280
280
  ({
281
281
  variant: e,
@@ -414,7 +414,7 @@ const He = (e) => {
414
414
  !!t && "text-on-surface/[0.38]"
415
415
  )
416
416
  })
417
- ), Ke = j(
417
+ ), Ge = j(
418
418
  "progressIndicator",
419
419
  ({ variant: e, isVisible: t }) => ({
420
420
  progressIndicator: h(
@@ -446,7 +446,7 @@ const He = (e) => {
446
446
  }
447
447
  )
448
448
  })
449
- ), Ge = j(
449
+ ), Je = j(
450
450
  "slideSheet",
451
451
  ({ variant: e, position: t }) => ({
452
452
  slideSheet: h(
@@ -473,7 +473,7 @@ const He = (e) => {
473
473
  "bg-[black]/[0.32] fixed top-0 left-0 w-screen h-screen"
474
474
  )
475
475
  })
476
- ), Je = j(
476
+ ), Ze = j(
477
477
  "slider",
478
478
  ({ isChanging: e }) => ({
479
479
  slider: h([
@@ -496,7 +496,7 @@ const He = (e) => {
496
496
  "h-1 w-1 absolute transform -translate-y-1/2 -translate-x-1/2 top-1/2 rounded-full"
497
497
  ])
498
498
  })
499
- ), Ze = j(
499
+ ), Qe = j(
500
500
  "snackbar",
501
501
  () => ({
502
502
  snackbar: h(" rounded bg-inverse-surface "),
@@ -506,7 +506,7 @@ const He = (e) => {
506
506
  supportingText: h("text-body-medium text-inverse-on-surface "),
507
507
  icon: h(" ml-auto mr-0 text-inverse-on-surface block dark")
508
508
  })
509
- ), Qe = j(
509
+ ), ze = j(
510
510
  "switch",
511
511
  ({ isSelected: e, disabled: t, inactiveIcon: n }) => ({
512
512
  switch: h(
@@ -549,7 +549,7 @@ const He = (e) => {
549
549
  { "text-on-surface/[0.38]": t }
550
550
  )
551
551
  })
552
- ), ze = j(
552
+ ), Te = j(
553
553
  "tab",
554
554
  ({ isSelected: e, icon: t, label: n, variant: l }) => ({
555
555
  tab: h(
@@ -608,7 +608,7 @@ const He = (e) => {
608
608
  l === "secondary" && "h-0.5"
609
609
  )
610
610
  })
611
- ), Te = j(
611
+ ), et = j(
612
612
  "tabs",
613
613
  ({ scrollable: e }) => ({
614
614
  tabs: h(
@@ -617,7 +617,7 @@ const He = (e) => {
617
617
  { "overflow-x-auto": e }
618
618
  )
619
619
  })
620
- ), et = j(
620
+ ), tt = j(
621
621
  "textField",
622
622
  ({
623
623
  disabled: e,
@@ -628,14 +628,14 @@ const He = (e) => {
628
628
  isFocused: c,
629
629
  value: i,
630
630
  suffix: s,
631
- textLine: f
631
+ textLine: u
632
632
  }) => ({
633
633
  textField: h({
634
634
  "opacity-[.38]": e
635
635
  }),
636
636
  content: h(
637
637
  "group transition-border duration-200 relative flex items-center ",
638
- { "h-14": f == "singleLine" },
638
+ { "h-14": u == "singleLine" },
639
639
  {
640
640
  "border-on-surface-variant": !(r != null && r.length) && !c && l == "filled",
641
641
  "border-outline": !(r != null && r.length) && !c && l == "outlined",
@@ -712,7 +712,7 @@ const He = (e) => {
712
712
  l == "outlined" && "py-4 relative z-10"
713
713
  )
714
714
  })
715
- ), tt = j(
715
+ ), nt = j(
716
716
  "toolTip",
717
717
  ({ position: e, variant: t }) => ({
718
718
  toolTip: h(
@@ -752,7 +752,7 @@ const He = (e) => {
752
752
  ), a = a.replace(
753
753
  /<path([^>]*?)>/g,
754
754
  '<path$1 fill="currentColor">'
755
- )), /* @__PURE__ */ u(
755
+ )), /* @__PURE__ */ f(
756
756
  "div",
757
757
  {
758
758
  className: h(
@@ -766,7 +766,7 @@ const He = (e) => {
766
766
  }
767
767
  if (e && typeof e == "object" && "src" in e) {
768
768
  const a = e;
769
- return /* @__PURE__ */ u(
769
+ return /* @__PURE__ */ f(
770
770
  "img",
771
771
  {
772
772
  src: a.src,
@@ -784,7 +784,7 @@ const He = (e) => {
784
784
  const l = e;
785
785
  if (!(l != null && l.prefix))
786
786
  throw new Error(`Invalid icon type: ${typeof e}`);
787
- const { icon: r } = l, [c, i, , , s] = r || [], f = (a) => {
787
+ const { icon: r } = l, [c, i, , , s] = r || [], u = (a) => {
788
788
  switch (a.length) {
789
789
  case 2:
790
790
  return {
@@ -797,19 +797,19 @@ const He = (e) => {
797
797
  return {};
798
798
  }
799
799
  };
800
- return /* @__PURE__ */ u(
800
+ return /* @__PURE__ */ f(
801
801
  "svg",
802
802
  {
803
803
  className: h("size-5 box-content", n),
804
- style: { ...f(t) },
804
+ style: { ...u(t) },
805
805
  xmlns: "http://www.w3.org/2000/svg",
806
806
  viewBox: `0 0 ${c} ${i}`,
807
807
  role: "img",
808
808
  "aria-hidden": "true",
809
- children: typeof s == "string" ? /* @__PURE__ */ u("path", { className: "fill-current", d: s }) : s.map((a, p) => /* @__PURE__ */ u("path", { d: a }, p))
809
+ children: typeof s == "string" ? /* @__PURE__ */ f("path", { className: "fill-current", d: s }) : s.map((a, p) => /* @__PURE__ */ f("path", { d: a }, p))
810
810
  }
811
811
  );
812
- }, nt = ({
812
+ }, rt = ({
813
813
  variant: e = "linear-determinate",
814
814
  value: t = 0,
815
815
  transitionDuration: n = 1e3,
@@ -820,15 +820,15 @@ const He = (e) => {
820
820
  R(() => {
821
821
  t > 100 && (t = 100), t < 0 && (t = 0), i(t);
822
822
  }, [t]);
823
- const [f, a] = S(!0), p = () => f ? s : s * 0.5;
823
+ const [u, a] = S(!0), p = () => u ? s : s * 0.5;
824
824
  R(() => {
825
825
  if ((e === "circular-indeterminate" || e === "linear-indeterminate") && c !== 100) {
826
826
  const y = setInterval(() => {
827
- i(f ? 10 : 90), a(!f);
827
+ i(u ? 10 : 90), a(!u);
828
828
  }, p() * 1e3);
829
829
  return () => clearInterval(y);
830
830
  }
831
- }, [e, f, c]);
831
+ }, [e, u, c]);
832
832
  const [m, o] = S(!1);
833
833
  R(() => {
834
834
  if (c >= 100) {
@@ -841,16 +841,16 @@ const He = (e) => {
841
841
  } else
842
842
  o(!0);
843
843
  }, [c, n]);
844
- const d = Ke({
844
+ const d = Ge({
845
845
  className: l,
846
846
  variant: e,
847
847
  value: t,
848
848
  transitionDuration: n,
849
849
  isVisible: m
850
850
  });
851
- return /* @__PURE__ */ V(te, { children: [
852
- (e === "linear-determinate" || e == "linear-indeterminate") && /* @__PURE__ */ V("div", { className: d.progressIndicator, ...r, children: [
853
- /* @__PURE__ */ u(
851
+ return /* @__PURE__ */ A(te, { children: [
852
+ (e === "linear-determinate" || e == "linear-indeterminate") && /* @__PURE__ */ A("div", { className: d.progressIndicator, ...r, children: [
853
+ /* @__PURE__ */ f(
854
854
  "div",
855
855
  {
856
856
  style: {
@@ -860,7 +860,7 @@ const He = (e) => {
860
860
  className: d.track
861
861
  }
862
862
  ),
863
- /* @__PURE__ */ u(
863
+ /* @__PURE__ */ f(
864
864
  "div",
865
865
  {
866
866
  style: {
@@ -870,7 +870,7 @@ const He = (e) => {
870
870
  className: d.activeIndicator
871
871
  }
872
872
  ),
873
- /* @__PURE__ */ u(
873
+ /* @__PURE__ */ f(
874
874
  "div",
875
875
  {
876
876
  style: {
@@ -881,7 +881,7 @@ const He = (e) => {
881
881
  }
882
882
  )
883
883
  ] }),
884
- (e === "circular-determinate" || e == "circular-indeterminate") && /* @__PURE__ */ u(
884
+ (e === "circular-determinate" || e == "circular-indeterminate") && /* @__PURE__ */ f(
885
885
  F.svg,
886
886
  {
887
887
  width: "48",
@@ -896,7 +896,7 @@ const He = (e) => {
896
896
  },
897
897
  className: d.progressIndicator,
898
898
  ...r,
899
- children: /* @__PURE__ */ u(
899
+ children: /* @__PURE__ */ f(
900
900
  F.circle,
901
901
  {
902
902
  cx: "50%",
@@ -910,10 +910,10 @@ const He = (e) => {
910
910
  className: d.activeIndicator,
911
911
  variants: {
912
912
  hidden: {
913
- pathLength: f ? 10 / 100 : 90 / 100
913
+ pathLength: u ? 10 / 100 : 90 / 100
914
914
  },
915
915
  visible: {
916
- pathLength: f ? 90 / 100 : 10 / 100
916
+ pathLength: u ? 90 / 100 : 10 / 100
917
917
  }
918
918
  },
919
919
  transition: {
@@ -927,7 +927,7 @@ const He = (e) => {
927
927
  }
928
928
  )
929
929
  },
930
- f + ""
930
+ u + ""
931
931
  )
932
932
  ] });
933
933
  }, re = ({
@@ -951,7 +951,7 @@ const He = (e) => {
951
951
  borderRadius: { duration: 0.3, delay: 0.3 }
952
952
  }
953
953
  }
954
- }, [l, r] = S(!0), [c, i] = S(!1), [s, f] = S({ x: 0, y: 0 });
954
+ }, [l, r] = S(!0), [c, i] = S(!1), [s, u] = S({ x: 0, y: 0 });
955
955
  R(() => {
956
956
  c && (r(!0), r(!1));
957
957
  }, [c]), R(() => {
@@ -963,7 +963,7 @@ const He = (e) => {
963
963
  }, [t]);
964
964
  const a = (o) => {
965
965
  const d = t == null ? void 0 : t.current, y = d.getBoundingClientRect();
966
- i(!0), f({
966
+ i(!0), u({
967
967
  x: (o.clientX - y.left) / d.clientWidth * 100,
968
968
  y: (o.clientY - y.top) / d.clientHeight * 100
969
969
  });
@@ -972,7 +972,7 @@ const He = (e) => {
972
972
  }, m = (o) => {
973
973
  i(!1);
974
974
  };
975
- return /* @__PURE__ */ u(Q, { mode: "wait", children: (c || !c && !l) && /* @__PURE__ */ u(
975
+ return /* @__PURE__ */ f(Q, { mode: "wait", children: (c || !c && !l) && /* @__PURE__ */ f(
976
976
  F.div,
977
977
  {
978
978
  style: {
@@ -992,7 +992,7 @@ const He = (e) => {
992
992
  className: "transform -translate-x-1/2 -translate-y-1/2"
993
993
  }
994
994
  ) });
995
- }, rt = j(
995
+ }, ot = j(
996
996
  "customScroll",
997
997
  ({ orientation: e, draggable: t, isDragging: n }) => ({
998
998
  customScroll: h(
@@ -1020,7 +1020,7 @@ const He = (e) => {
1020
1020
  "top-0 w-full": e === "vertical"
1021
1021
  })
1022
1022
  })
1023
- ), ot = ({
1023
+ ), lt = ({
1024
1024
  children: e,
1025
1025
  orientation: t = "vertical",
1026
1026
  scrollSize: n,
@@ -1030,68 +1030,68 @@ const He = (e) => {
1030
1030
  throttleDuration: i = 75
1031
1031
  }) => {
1032
1032
  var P, H;
1033
- const s = D(null), f = D(null), [a, p] = S({
1033
+ const s = D(null), u = D(null), [a, p] = S({
1034
1034
  width: null,
1035
1035
  height: null
1036
1036
  });
1037
1037
  R(() => {
1038
1038
  if (!s.current) return;
1039
- const M = new ResizeObserver((U) => {
1040
- for (const O of U)
1041
- O.target === s.current && p({
1042
- width: O.contentRect.width,
1043
- height: O.contentRect.height
1039
+ const $ = new ResizeObserver((O) => {
1040
+ for (const U of O)
1041
+ U.target === s.current && p({
1042
+ width: U.contentRect.width,
1043
+ height: U.contentRect.height
1044
1044
  // On observe aussi la hauteur maintenant
1045
1045
  });
1046
1046
  });
1047
- return M.observe(s.current), () => {
1048
- M.disconnect();
1047
+ return $.observe(s.current), () => {
1048
+ $.disconnect();
1049
1049
  };
1050
1050
  }, [s]);
1051
1051
  const m = D(null), o = D(null), d = () => {
1052
- const M = f.current;
1053
- return M ? {
1054
- width: n ?? M.scrollWidth,
1055
- height: n ?? M.scrollHeight
1052
+ const $ = u.current;
1053
+ return $ ? {
1054
+ width: n ?? $.scrollWidth,
1055
+ height: n ?? $.scrollHeight
1056
1056
  } : null;
1057
1057
  }, y = () => {
1058
- const M = s.current;
1059
- return M ? {
1060
- width: M.clientWidth,
1061
- height: M.clientHeight
1058
+ const $ = s.current;
1059
+ return $ ? {
1060
+ width: $.clientWidth,
1061
+ height: $.clientHeight
1062
1062
  // Correction ici pour retourner la bonne hauteur
1063
1063
  } : null;
1064
- }, { scrollYProgress: v, scrollXProgress: x } = Me({
1064
+ }, { scrollYProgress: v, scrollXProgress: w } = Me({
1065
1065
  container: s
1066
1066
  }), E = D(null);
1067
- E.current || (E.current = Ce(
1067
+ E.current || (E.current = Re(
1068
1068
  i,
1069
- (M, U) => {
1070
- !o.current || !m.current || !s.current || l && (t === "horizontal" && U === "x" && l({
1071
- scrollProgress: M,
1072
- scroll: M * (m.current.width - s.current.clientWidth),
1069
+ ($, O) => {
1070
+ !o.current || !m.current || !s.current || l && (t === "horizontal" && O === "x" && l({
1071
+ scrollProgress: $,
1072
+ scroll: $ * (m.current.width - s.current.clientWidth),
1073
1073
  scrollTotal: m.current.width - s.current.clientWidth,
1074
1074
  scrollVisible: o.current.width
1075
- }), t === "vertical" && U === "y" && l({
1076
- scrollProgress: M,
1077
- scroll: M * (m.current.height - s.current.clientHeight),
1075
+ }), t === "vertical" && O === "y" && l({
1076
+ scrollProgress: $,
1077
+ scroll: $ * (m.current.height - s.current.clientHeight),
1078
1078
  scrollTotal: m.current.height - s.current.clientHeight,
1079
1079
  scrollVisible: o.current.height
1080
1080
  }));
1081
1081
  }
1082
1082
  ));
1083
- const L = (M, U) => {
1084
- E.current && E.current(M, U);
1083
+ const L = ($, O) => {
1084
+ E.current && E.current($, O);
1085
1085
  };
1086
1086
  R(() => {
1087
- a.width && L(x.get(), "x"), a.height && L(v.get(), "y");
1088
- }, [a]), fe(x, "change", (M) => {
1089
- L(M, "x");
1090
- }), fe(v, "change", (M) => {
1091
- L(M, "y");
1087
+ a.width && L(w.get(), "x"), a.height && L(v.get(), "y");
1088
+ }, [a]), fe(w, "change", ($) => {
1089
+ L($, "x");
1090
+ }), fe(v, "change", ($) => {
1091
+ L($, "y");
1092
1092
  });
1093
1093
  const [B, N] = S(!1);
1094
- ve(() => {
1094
+ we(() => {
1095
1095
  B || !o.current || !m.current || !l || (l({
1096
1096
  scrollProgress: 0,
1097
1097
  scroll: 0,
@@ -1099,7 +1099,7 @@ const He = (e) => {
1099
1099
  scrollVisible: t == "vertical" ? o.current.height : o.current.width
1100
1100
  }), N(!0));
1101
1101
  }, [o, m, l]), m.current = d(), o.current = y();
1102
- const [I, $] = S(!1), A = rt({
1102
+ const [I, M] = S(!1), V = ot({
1103
1103
  isDragging: I,
1104
1104
  children: e,
1105
1105
  className: r,
@@ -1108,53 +1108,53 @@ const He = (e) => {
1108
1108
  scrollSize: n,
1109
1109
  draggable: c,
1110
1110
  throttleDuration: i
1111
- }), [W, k] = S(0), [g, C] = S(0), X = (M) => {
1111
+ }), [W, k] = S(0), [g, C] = S(0), X = ($) => {
1112
1112
  if (!c) return;
1113
- const U = s.current;
1114
- if (!U || W == null) return;
1115
- const J = (M.pageX - U.offsetLeft - W) * 1.5;
1116
- U.scrollLeft = g - J;
1117
- }, q = (M) => {
1118
- const U = s.current;
1119
- U && ($(!0), k(M.pageX - U.offsetLeft), C(U.scrollLeft));
1120
- }, G = (M) => {
1121
- I && (M.preventDefault(), X(M));
1113
+ const O = s.current;
1114
+ if (!O || W == null) return;
1115
+ const J = ($.pageX - O.offsetLeft - W) * 1.5;
1116
+ O.scrollLeft = g - J;
1117
+ }, q = ($) => {
1118
+ const O = s.current;
1119
+ O && (M(!0), k($.pageX - O.offsetLeft), C(O.scrollLeft));
1120
+ }, G = ($) => {
1121
+ I && ($.preventDefault(), X($));
1122
1122
  }, Y = () => {
1123
- $(!1);
1123
+ M(!1);
1124
1124
  }, z = () => {
1125
- $(!1);
1126
- }, b = (M) => {
1127
- M.preventDefault();
1128
- }, w = D(null);
1125
+ M(!1);
1126
+ }, b = ($) => {
1127
+ $.preventDefault();
1128
+ }, x = D(null);
1129
1129
  return R(() => () => {
1130
- w.current && clearTimeout(w.current);
1131
- }, []), /* @__PURE__ */ V(
1130
+ x.current && clearTimeout(x.current);
1131
+ }, []), /* @__PURE__ */ A(
1132
1132
  "div",
1133
1133
  {
1134
- className: A.customScroll,
1134
+ className: V.customScroll,
1135
1135
  ref: s,
1136
1136
  onMouseDown: q,
1137
1137
  onMouseMove: G,
1138
1138
  onMouseUp: Y,
1139
1139
  onMouseLeave: z,
1140
1140
  onDragStart: b,
1141
- onScroll: (M) => {
1142
- I || (k(null), $(!0), w.current && clearTimeout(w.current), w.current = setTimeout(() => {
1143
- $(!1);
1141
+ onScroll: ($) => {
1142
+ I || (k(null), M(!0), x.current && clearTimeout(x.current), x.current = setTimeout(() => {
1143
+ M(!1);
1144
1144
  }, 1e3));
1145
1145
  },
1146
1146
  children: [
1147
- /* @__PURE__ */ u(
1147
+ /* @__PURE__ */ f(
1148
1148
  "div",
1149
1149
  {
1150
- ref: f,
1150
+ ref: u,
1151
1151
  style: t === "vertical" ? { height: ((P = o == null ? void 0 : o.current) == null ? void 0 : P.height) ?? "100%" } : { width: ((H = o == null ? void 0 : o.current) == null ? void 0 : H.width) ?? "100%" },
1152
- className: A.track,
1152
+ className: V.track,
1153
1153
  children: e
1154
1154
  }
1155
1155
  ),
1156
- o.current && m.current && /* @__PURE__ */ V(te, { children: [
1157
- t === "vertical" && m.current.height > o.current.height && /* @__PURE__ */ u(
1156
+ o.current && m.current && /* @__PURE__ */ A(te, { children: [
1157
+ t === "vertical" && m.current.height > o.current.height && /* @__PURE__ */ f(
1158
1158
  F.div,
1159
1159
  {
1160
1160
  className: "flex-none",
@@ -1163,7 +1163,7 @@ const He = (e) => {
1163
1163
  }
1164
1164
  }
1165
1165
  ),
1166
- t === "horizontal" && m.current.width > o.current.width && /* @__PURE__ */ u(
1166
+ t === "horizontal" && m.current.width > o.current.width && /* @__PURE__ */ f(
1167
1167
  F.div,
1168
1168
  {
1169
1169
  className: "flex-none",
@@ -1176,7 +1176,7 @@ const He = (e) => {
1176
1176
  ]
1177
1177
  }
1178
1178
  );
1179
- }, lt = ({
1179
+ }, at = ({
1180
1180
  onScroll: e,
1181
1181
  el: t,
1182
1182
  touch: n = !0
@@ -1195,7 +1195,7 @@ const He = (e) => {
1195
1195
  deltaY: o.deltaY,
1196
1196
  originalEvent: o
1197
1197
  });
1198
- }, f = (o) => {
1198
+ }, u = (o) => {
1199
1199
  if (!n) return;
1200
1200
  const d = o.touches[0];
1201
1201
  d && (l.current = { x: d.clientX, y: d.clientY });
@@ -1216,13 +1216,13 @@ const He = (e) => {
1216
1216
  n && (l.current = null);
1217
1217
  }, m = (o) => {
1218
1218
  const y = t.clientHeight * 0.9;
1219
- let v = 0, x = 0;
1219
+ let v = 0, w = 0;
1220
1220
  switch (o.key) {
1221
1221
  case "ArrowDown":
1222
- x = 40;
1222
+ w = 40;
1223
1223
  break;
1224
1224
  case "ArrowUp":
1225
- x = -40;
1225
+ w = -40;
1226
1226
  break;
1227
1227
  case "ArrowRight":
1228
1228
  v = 40;
@@ -1231,19 +1231,19 @@ const He = (e) => {
1231
1231
  v = -40;
1232
1232
  break;
1233
1233
  case "PageDown":
1234
- x = y;
1234
+ w = y;
1235
1235
  break;
1236
1236
  case "PageUp":
1237
- x = -y;
1237
+ w = -y;
1238
1238
  break;
1239
1239
  case "Home":
1240
- x = Number.NEGATIVE_INFINITY;
1240
+ w = Number.NEGATIVE_INFINITY;
1241
1241
  break;
1242
1242
  case "End":
1243
- x = Number.POSITIVE_INFINITY;
1243
+ w = Number.POSITIVE_INFINITY;
1244
1244
  break;
1245
1245
  case " ":
1246
- x = o.shiftKey ? -y : y;
1246
+ w = o.shiftKey ? -y : y;
1247
1247
  break;
1248
1248
  default:
1249
1249
  return;
@@ -1252,20 +1252,20 @@ const He = (e) => {
1252
1252
  type: "intent",
1253
1253
  source: "keyboard",
1254
1254
  deltaX: v,
1255
- deltaY: x,
1255
+ deltaY: w,
1256
1256
  originalEvent: o
1257
1257
  });
1258
1258
  };
1259
- return t.addEventListener("wheel", s, { passive: !1 }), t.addEventListener("touchstart", f, { passive: !0 }), t.addEventListener("touchmove", a, { passive: !1 }), t.addEventListener("touchend", p, { passive: !0 }), t.addEventListener("keydown", m), () => {
1260
- t.removeEventListener("wheel", s), t.removeEventListener("touchstart", f), t.removeEventListener("touchmove", a), t.removeEventListener("touchend", p), t.removeEventListener("keydown", m);
1259
+ return t.addEventListener("wheel", s, { passive: !1 }), t.addEventListener("touchstart", u, { passive: !0 }), t.addEventListener("touchmove", a, { passive: !1 }), t.addEventListener("touchend", p, { passive: !0 }), t.addEventListener("keydown", m), () => {
1260
+ t.removeEventListener("wheel", s), t.removeEventListener("touchstart", u), t.removeEventListener("touchmove", a), t.removeEventListener("touchend", p), t.removeEventListener("keydown", m);
1261
1261
  };
1262
1262
  }, [e]);
1263
- }, At = ({
1263
+ }, Ot = ({
1264
1264
  transition: e,
1265
1265
  orientation: t = "vertical",
1266
1266
  throttleDuration: n = 25
1267
1267
  }) => {
1268
- const [l, r] = S(0), [c, i] = S(), s = D(!1), f = D(), a = D(0);
1268
+ const [l, r] = S(0), [c, i] = S(), s = D(!1), u = D(), a = D(0);
1269
1269
  R(() => {
1270
1270
  i(document);
1271
1271
  const o = document.documentElement.scrollTop;
@@ -1275,7 +1275,7 @@ const He = (e) => {
1275
1275
  s.current || r(document.documentElement.scrollTop);
1276
1276
  };
1277
1277
  return c == null || c.addEventListener("scroll", o), () => {
1278
- f.current && clearTimeout(f.current), c == null || c.removeEventListener("scroll", o);
1278
+ u.current && clearTimeout(u.current), c == null || c.removeEventListener("scroll", o);
1279
1279
  };
1280
1280
  }, [c]);
1281
1281
  const p = D(), m = D(null);
@@ -1285,24 +1285,24 @@ const He = (e) => {
1285
1285
  p.current = o;
1286
1286
  return;
1287
1287
  }
1288
- return m.current = Re(p.current ?? o, o, {
1288
+ return m.current = Be(p.current ?? o, o, {
1289
1289
  duration: ((e == null ? void 0 : e.duration) ?? 500) / 1e3,
1290
1290
  ease: (e == null ? void 0 : e.ease) ?? "easeOut",
1291
1291
  onUpdate: (d) => {
1292
- f.current && clearTimeout(f.current), p.current = d;
1293
- const y = document.documentElement, v = Math.round(d * 1e3) / 1e3, x = a.current;
1294
- Math.abs(v - x) < 0.1 || (a.current = v, s.current && y.scrollTo({ top: v }));
1292
+ u.current && clearTimeout(u.current), p.current = d;
1293
+ const y = document.documentElement, v = Math.round(d * 1e3) / 1e3, w = a.current;
1294
+ Math.abs(v - w) < 0.1 || (a.current = v, s.current && y.scrollTo({ top: v }));
1295
1295
  },
1296
1296
  onComplete: () => {
1297
- f.current = setTimeout(() => {
1297
+ u.current = setTimeout(() => {
1298
1298
  s.current = !1;
1299
1299
  }, 300), m.current = null;
1300
1300
  }
1301
1301
  }), () => {
1302
1302
  m.current && (m.current.stop(), m.current = null);
1303
1303
  };
1304
- }, [l]), c ? /* @__PURE__ */ u(
1305
- lt,
1304
+ }, [l]), c ? /* @__PURE__ */ f(
1305
+ at,
1306
1306
  {
1307
1307
  touch: !1,
1308
1308
  el: c,
@@ -1315,7 +1315,7 @@ const He = (e) => {
1315
1315
  }
1316
1316
  }
1317
1317
  ) : null;
1318
- }, at = ({
1318
+ }, st = ({
1319
1319
  targetRef: e,
1320
1320
  children: t
1321
1321
  }) => {
@@ -1342,12 +1342,12 @@ const He = (e) => {
1342
1342
  var s;
1343
1343
  window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", c), (s = r.current) == null || s.disconnect();
1344
1344
  };
1345
- }, [e]), n ? xe(/* @__PURE__ */ u("div", { style: n, children: t }), document.body) : null;
1345
+ }, [e]), n ? xe(/* @__PURE__ */ f("div", { style: n, children: t }), document.body) : null;
1346
1346
  };
1347
- function st(e) {
1347
+ function ct(e) {
1348
1348
  return /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e);
1349
1349
  }
1350
- const Ft = ({
1350
+ const Ut = ({
1351
1351
  config: e,
1352
1352
  throttleDelay: t = 100,
1353
1353
  // Délai par défaut de 300ms
@@ -1357,47 +1357,47 @@ const Ft = ({
1357
1357
  const [r, c] = S(null);
1358
1358
  R(() => {
1359
1359
  (async () => {
1360
- const o = await Be(e, l);
1360
+ const o = await De(e, l);
1361
1361
  c(o);
1362
1362
  })();
1363
1363
  }, []);
1364
- const [i, s] = S(null), f = D(null), a = D(0), p = D(null);
1364
+ const [i, s] = S(null), u = D(null), a = D(0), p = D(null);
1365
1365
  R(() => {
1366
1366
  if (!r) return;
1367
1367
  const o = {
1368
1368
  ...e,
1369
1369
  // Assurer la compatibilité avec l'API qui attend sourceColorHex
1370
1370
  sourceColor: e.sourceColor
1371
- }, d = Date.now(), y = d - a.current, v = async (x) => {
1372
- await m(x);
1371
+ }, d = Date.now(), y = d - a.current, v = async (w) => {
1372
+ await m(w);
1373
1373
  };
1374
1374
  if (a.current === 0 || y >= t)
1375
- f.current && (clearTimeout(f.current), f.current = null), p.current = null, a.current = d, v(o);
1376
- else if (p.current = o, !f.current) {
1377
- const x = Math.max(0, t - y);
1378
- f.current = setTimeout(async () => {
1379
- f.current = null;
1375
+ u.current && (clearTimeout(u.current), u.current = null), p.current = null, a.current = d, v(o);
1376
+ else if (p.current = o, !u.current) {
1377
+ const w = Math.max(0, t - y);
1378
+ u.current = setTimeout(async () => {
1379
+ u.current = null;
1380
1380
  const E = p.current;
1381
1381
  p.current = null, E && (a.current = Date.now(), await v(E));
1382
- }, x);
1382
+ }, w);
1383
1383
  }
1384
1384
  return () => {
1385
1385
  };
1386
1386
  }, [e, t, r]);
1387
1387
  const m = async (o) => {
1388
- if (typeof o.sourceColor == "string" && !st(o.sourceColor))
1388
+ if (typeof o.sourceColor == "string" && !ct(o.sourceColor))
1389
1389
  throw new Error("Invalid hex color");
1390
1390
  if (!r)
1391
1391
  return;
1392
1392
  r.context.update(o), await r.load();
1393
- const d = r == null ? void 0 : r.plugins.getPlugin(we).getInstance().outputCss;
1393
+ const d = r == null ? void 0 : r.plugins.getPlugin(be).getInstance().outputCss;
1394
1394
  s(d), n == null || n(r);
1395
1395
  };
1396
1396
  return R(() => () => {
1397
- f.current && (clearTimeout(f.current), f.current = null);
1398
- }, []), i ? /* @__PURE__ */ u("style", { dangerouslySetInnerHTML: { __html: i } }) : null;
1397
+ u.current && (clearTimeout(u.current), u.current = null);
1398
+ }, []), i ? /* @__PURE__ */ f("style", { dangerouslySetInnerHTML: { __html: i } }) : null;
1399
1399
  };
1400
- function ct() {
1400
+ function it() {
1401
1401
  if (typeof window > "u") return !1;
1402
1402
  try {
1403
1403
  if (window.CSS && typeof window.CSS.supports == "function")
@@ -1407,10 +1407,10 @@ function ct() {
1407
1407
  }
1408
1408
  return !1;
1409
1409
  }
1410
- function it() {
1410
+ function ut() {
1411
1411
  return typeof window > "u" || !("matchMedia" in window) ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
1412
1412
  }
1413
- function le(e) {
1413
+ function ce(e) {
1414
1414
  if (!(e instanceof HTMLElement)) return !1;
1415
1415
  const t = e.classList;
1416
1416
  return Array.from(t).some(
@@ -1420,12 +1420,10 @@ function le(e) {
1420
1420
  function he(e) {
1421
1421
  if (!(e instanceof HTMLElement)) return !1;
1422
1422
  const t = e.classList;
1423
- return Array.from(t).some(
1424
- (l) => l.startsWith("anim-")
1425
- ) ? !le(e) : !1;
1423
+ return Array.from(t).some((n) => n.startsWith("anim-"));
1426
1424
  }
1427
- function ae(e, t) {
1428
- if (!le(e)) return;
1425
+ function le(e, t) {
1426
+ if (!ce(e)) return;
1429
1427
  if (e.hasAttribute(`data-${t}-scroll`)) {
1430
1428
  const i = (e.getAttribute(`data-${t}-scroll`) || "").trim().toLowerCase(), s = i === "x" || i === "inline" ? "inline" : i === "y" || i === "block" ? "block" : "auto";
1431
1429
  e.classList.contains(`${t}-timeline`) || e.classList.contains(`${t}-timeline-inline`) || e.classList.contains(`${t}-timeline-block`) || e.classList.contains(`${t}-timeline-x`) || e.classList.contains(`${t}-timeline-y`) || (s === "inline" ? e.classList.add(`${t}-timeline-inline`) : s === "block" ? e.classList.add(`${t}-timeline-block`) : e.classList.add(`${t}-scroll`));
@@ -1437,66 +1435,89 @@ function ae(e, t) {
1437
1435
  const r = e.hasAttribute(`data-${t}-paused`) || e.classList.contains(`${t}-paused`), c = e.hasAttribute(`data-${t}-run`) || e.classList.contains(`${t}-run`);
1438
1436
  !r && !c && e.setAttribute(`data-${t}-run`, "");
1439
1437
  }
1440
- function se(e = document, t) {
1438
+ function ae(e = document, t) {
1441
1439
  return Array.from(
1440
+ e.querySelectorAll(
1441
+ `[class*="${t}-"][class*="-scroll"]`
1442
+ )
1443
+ ).filter((l) => ce(l));
1444
+ }
1445
+ function dt(e = document, t) {
1446
+ const n = Array.from(
1442
1447
  e.querySelectorAll(`[class*="${t}-"]`)
1443
- ).filter((l) => le(l));
1448
+ ), l = /* @__PURE__ */ new Set([
1449
+ `${t}-run`,
1450
+ `${t}-in`,
1451
+ `${t}-out`,
1452
+ `${t}-in-run`,
1453
+ `${t}-out-run`,
1454
+ `${t}-paused`,
1455
+ `${t}-timeline`,
1456
+ `${t}-timeline-inline`,
1457
+ `${t}-timeline-block`,
1458
+ `${t}-timeline-x`,
1459
+ `${t}-timeline-y`,
1460
+ `${t}-scroll`
1461
+ ]);
1462
+ return n.filter((r) => {
1463
+ if (!(r instanceof HTMLElement)) return !1;
1464
+ const c = r.classList;
1465
+ return c.contains(`${t}-in`) || c.contains(`${t}-out`) || Array.from(c).some(
1466
+ (u) => u.startsWith(`${t}-`) && !u.includes("scroll") && !l.has(u)
1467
+ ) ? !0 : !ce(r);
1468
+ });
1444
1469
  }
1445
- function ut(e = document, t) {
1446
- return Array.from(
1447
- e.querySelectorAll('[class*="anim-"]')
1448
- ).filter((l) => !le(l));
1470
+ function pe(e, t, n) {
1471
+ e.setAttribute(`data-${t}-run`, ""), e.setAttribute(`data-${t}-${n}-run`, "");
1449
1472
  }
1450
- function Le(e = {}) {
1473
+ function ft(e, t) {
1474
+ const n = e.style.animationName;
1475
+ e.style.animationName = "none", e.removeAttribute(`data-${t}-run`), e.removeAttribute(`data-${t}-in-run`), e.removeAttribute(`data-${t}-out-run`), e.offsetWidth, e.style.animationName = n;
1476
+ }
1477
+ const mt = [0, 0.2];
1478
+ function Ne(e = {}) {
1451
1479
  const { prefix: t = "anim", once: n = !0 } = e;
1452
- if (it())
1480
+ if (ut())
1453
1481
  return () => {
1454
1482
  };
1455
- const l = ct(), r = /* @__PURE__ */ new WeakSet(), c = new IntersectionObserver(
1483
+ const l = it(), r = /* @__PURE__ */ new WeakSet(), c = new IntersectionObserver(
1456
1484
  (p) => {
1457
1485
  for (const m of p) {
1458
1486
  const o = m.target;
1459
1487
  if (!he(o)) continue;
1460
- const y = o.classList.contains(`${t}-out`);
1461
- if (!y && m.isIntersecting)
1462
- o.setAttribute(`data-${t}-in-run`, ""), n && c.unobserve(o);
1463
- else if (y && !m.isIntersecting)
1464
- o.setAttribute(`data-${t}-out-run`, ""), n && c.unobserve(o);
1465
- else if (!n) {
1466
- const x = o.style.animationName;
1467
- o.style.animationName = "none", o.removeAttribute(`data-${t}-in-run`), o.removeAttribute(`data-${t}-out-run`), o.offsetWidth, o.style.animationName = x;
1468
- }
1488
+ const d = o.classList.contains(`${t}-out`);
1489
+ !d && m.isIntersecting ? (pe(o, t, "in"), n && c.unobserve(o)) : d && !m.isIntersecting ? (pe(o, t, "out"), n && c.unobserve(o)) : n || ft(o, t);
1469
1490
  }
1470
1491
  },
1471
- { threshold: [0, 0.2] }
1492
+ { threshold: mt }
1472
1493
  ), i = (p) => {
1473
- const m = ut(p || document);
1494
+ const m = dt(p || document, t);
1474
1495
  for (const o of m)
1475
1496
  r.has(o) || (r.add(o), c.observe(o));
1476
1497
  };
1477
1498
  i();
1478
- let s, f = null, a = null;
1499
+ let s, u = null, a = null;
1479
1500
  if (l)
1480
1501
  (() => {
1481
1502
  a == null && (a = requestAnimationFrame(() => {
1482
1503
  a = null;
1483
- const m = se(void 0, t);
1484
- for (const o of m) ae(o, t);
1504
+ const m = ae(void 0, t);
1505
+ for (const o of m) le(o, t);
1485
1506
  }));
1486
- })(), f = new MutationObserver((m) => {
1507
+ })(), u = new MutationObserver((m) => {
1487
1508
  for (const o of m)
1488
1509
  if (o.type === "attributes") {
1489
1510
  const d = o.target;
1490
- d instanceof HTMLElement && (ae(d, t), he(d) && (r.has(d) || (r.add(d), c.observe(d))));
1511
+ d instanceof HTMLElement && (le(d, t), he(d) && (r.has(d) || (r.add(d), c.observe(d))));
1491
1512
  } else if (o.type === "childList" && o.addedNodes && o.addedNodes.length) {
1492
1513
  for (const d of Array.from(o.addedNodes))
1493
1514
  if (d instanceof HTMLElement) {
1494
- const y = se(d, t);
1495
- for (const v of y) ae(v, t);
1515
+ const y = ae(d, t);
1516
+ for (const v of y) le(v, t);
1496
1517
  i(d);
1497
1518
  }
1498
1519
  }
1499
- }), f.observe(document.documentElement, {
1520
+ }), u.observe(document.documentElement, {
1500
1521
  subtree: !0,
1501
1522
  childList: !0,
1502
1523
  attributes: !0,
@@ -1509,11 +1530,11 @@ function Le(e = {}) {
1509
1530
  `data-${t}-run`
1510
1531
  ]
1511
1532
  }), s = () => {
1512
- a != null && cancelAnimationFrame(a), f && f.disconnect();
1533
+ a != null && cancelAnimationFrame(a), u && u.disconnect();
1513
1534
  };
1514
1535
  else {
1515
1536
  let p;
1516
- se(void 0, t).length > 0 && import("./scrollDriven-AP2yWhzi.js").then((o) => {
1537
+ ae(void 0, t).length > 0 && import("./scrollDriven-AP2yWhzi.js").then((o) => {
1517
1538
  p = o.initScrollViewFallback({ once: n });
1518
1539
  }), s = () => {
1519
1540
  typeof p == "function" && p();
@@ -1523,7 +1544,7 @@ function Le(e = {}) {
1523
1544
  s && s(), c.disconnect();
1524
1545
  };
1525
1546
  }
1526
- const Ht = Le, Ut = Le, dt = ({
1547
+ const Xt = Ne, Yt = Ne, ht = ({
1527
1548
  variant: e = "filled",
1528
1549
  disabled: t = !1,
1529
1550
  icon: n,
@@ -1532,7 +1553,7 @@ const Ht = Le, Ut = Le, dt = ({
1532
1553
  disableTextMargins: c,
1533
1554
  className: i,
1534
1555
  iconPosition: s = "left",
1535
- loading: f = !1,
1556
+ loading: u = !1,
1536
1557
  shape: a = "rounded",
1537
1558
  onClick: p,
1538
1559
  onToggle: m,
@@ -1540,7 +1561,7 @@ const Ht = Le, Ut = Le, dt = ({
1540
1561
  ref: d,
1541
1562
  size: y = "medium",
1542
1563
  allowShapeTransformation: v = !0,
1543
- transition: x,
1564
+ transition: w,
1544
1565
  children: E,
1545
1566
  ...L
1546
1567
  }) => {
@@ -1548,15 +1569,15 @@ const Ht = Le, Ut = Le, dt = ({
1548
1569
  throw new Error(
1549
1570
  "Button component requires either a label prop or children content"
1550
1571
  );
1551
- const B = l ? "a" : "button", N = D(null), I = d || N, [$, A] = K.useState(o);
1572
+ const B = l ? "a" : "button", N = D(null), I = d || N, [M, V] = K.useState(o);
1552
1573
  R(() => {
1553
- A(o);
1554
- }, [o]), x = { duration: 0.3, ...x };
1574
+ V(o);
1575
+ }, [o]), w = { duration: 0.3, ...w };
1555
1576
  let W;
1556
1577
  m ? m && (W = (C) => {
1557
1578
  t && C.preventDefault();
1558
- const X = !$;
1559
- A(X), m(X);
1579
+ const X = !M;
1580
+ V(X), m(X);
1560
1581
  }) : W = (C) => {
1561
1582
  t && C.preventDefault(), p && p(C);
1562
1583
  };
@@ -1569,17 +1590,17 @@ const Ht = Le, Ut = Le, dt = ({
1569
1590
  disabled: t,
1570
1591
  icon: n,
1571
1592
  iconPosition: s,
1572
- loading: f,
1593
+ loading: u,
1573
1594
  variant: e,
1574
- transition: x,
1595
+ transition: w,
1575
1596
  className: i,
1576
- isActive: $ ?? !1,
1597
+ isActive: M ?? !1,
1577
1598
  onToggle: m,
1578
- activated: $,
1599
+ activated: M,
1579
1600
  label: r,
1580
1601
  children: r
1581
- }), g = n ? /* @__PURE__ */ u(Z, { icon: n, className: k.icon }) : /* @__PURE__ */ u(te, {});
1582
- return /* @__PURE__ */ V(
1602
+ }), g = n ? /* @__PURE__ */ f(Z, { icon: n, className: k.icon }) : /* @__PURE__ */ f(te, {});
1603
+ return /* @__PURE__ */ A(
1583
1604
  B,
1584
1605
  {
1585
1606
  ref: I,
@@ -1588,16 +1609,16 @@ const Ht = Le, Ut = Le, dt = ({
1588
1609
  ...L,
1589
1610
  onClick: W,
1590
1611
  disabled: t,
1591
- "aria-pressed": m ? $ : void 0,
1592
- style: { transition: x.duration + "s" },
1612
+ "aria-pressed": m ? M : void 0,
1613
+ style: { transition: w.duration + "s" },
1593
1614
  children: [
1594
- /* @__PURE__ */ u("div", { className: k.touchTarget }),
1595
- /* @__PURE__ */ u(
1615
+ /* @__PURE__ */ f("div", { className: k.touchTarget }),
1616
+ /* @__PURE__ */ f(
1596
1617
  "div",
1597
1618
  {
1598
1619
  className: k.stateLayer,
1599
- style: { transition: x.duration + "s" },
1600
- children: !t && /* @__PURE__ */ u(
1620
+ style: { transition: w.duration + "s" },
1621
+ children: !t && /* @__PURE__ */ f(
1601
1622
  re,
1602
1623
  {
1603
1624
  colorName: e === "filled" && m && "on-surface-variant" || e === "filled" && !m && "on-primary" || e === "elevated" && "primary" || e === "tonal" && "on-secondary-container" || e === "outlined" && "primary" || e === "text" && "primary" || "",
@@ -1607,12 +1628,12 @@ const Ht = Le, Ut = Le, dt = ({
1607
1628
  }
1608
1629
  ),
1609
1630
  s === "left" && g,
1610
- f && /* @__PURE__ */ u(
1631
+ u && /* @__PURE__ */ f(
1611
1632
  "div",
1612
1633
  {
1613
1634
  className: "!absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2",
1614
- children: /* @__PURE__ */ u(
1615
- nt,
1635
+ children: /* @__PURE__ */ f(
1636
+ rt,
1616
1637
  {
1617
1638
  className: () => ({
1618
1639
  progressIndicator: "h-6 w-6",
@@ -1644,12 +1665,12 @@ const Ht = Le, Ut = Le, dt = ({
1644
1665
  )
1645
1666
  }
1646
1667
  ),
1647
- /* @__PURE__ */ u("span", { className: k.label, children: r }),
1668
+ /* @__PURE__ */ f("span", { className: k.label, children: r }),
1648
1669
  s === "right" && g
1649
1670
  ]
1650
1671
  }
1651
1672
  );
1652
- }, Ot = ({
1673
+ }, jt = ({
1653
1674
  variant: e = "outlined",
1654
1675
  className: t,
1655
1676
  children: n,
@@ -1657,15 +1678,15 @@ const Ht = Le, Ut = Le, dt = ({
1657
1678
  ref: r,
1658
1679
  ...c
1659
1680
  }) => {
1660
- const i = Oe({ className: t, isInteractive: l, variant: e, children: n }), s = D(null), f = r || s;
1661
- return /* @__PURE__ */ V("div", { ...c, ref: f, className: i.card, children: [
1662
- /* @__PURE__ */ u("div", { className: i.stateLayer, children: l && /* @__PURE__ */ u(re, { colorName: "on-surface", triggerRef: f }) }),
1681
+ const i = Xe({ className: t, isInteractive: l, variant: e, children: n }), s = D(null), u = r || s;
1682
+ return /* @__PURE__ */ A("div", { ...c, ref: u, className: i.card, children: [
1683
+ /* @__PURE__ */ f("div", { className: i.stateLayer, children: l && /* @__PURE__ */ f(re, { colorName: "on-surface", triggerRef: u }) }),
1663
1684
  n
1664
1685
  ] });
1665
- }, ft = (e, t, n = [0, 1]) => {
1666
- const [l, r] = t, [c, i] = n, f = (Math.max(l, Math.min(e, r)) - l) / (r - l);
1667
- return c + f * (i - c);
1668
- }, mt = ({
1686
+ }, pt = (e, t, n = [0, 1]) => {
1687
+ const [l, r] = t, [c, i] = n, u = (Math.max(l, Math.min(e, r)) - l) / (r - l);
1688
+ return c + u * (i - c);
1689
+ }, yt = ({
1669
1690
  className: e,
1670
1691
  children: t,
1671
1692
  width: n = 1,
@@ -1673,13 +1694,13 @@ const Ht = Le, Ut = Le, dt = ({
1673
1694
  ref: r,
1674
1695
  ...c
1675
1696
  }) => {
1676
- const i = D(null), s = r || i, f = Xe({
1697
+ const i = D(null), s = r || i, u = Ye({
1677
1698
  className: e,
1678
1699
  index: l,
1679
1700
  width: n,
1680
1701
  children: t
1681
1702
  });
1682
- return /* @__PURE__ */ u(
1703
+ return /* @__PURE__ */ f(
1683
1704
  F.div,
1684
1705
  {
1685
1706
  ref: s,
@@ -1688,12 +1709,12 @@ const Ht = Le, Ut = Le, dt = ({
1688
1709
  duration: 0.5,
1689
1710
  ease: "linear"
1690
1711
  },
1691
- className: f.carouselItem,
1712
+ className: u.carouselItem,
1692
1713
  ...c,
1693
1714
  children: t
1694
1715
  }
1695
1716
  );
1696
- }, Xt = ({
1717
+ }, qt = ({
1697
1718
  variant: e = "hero",
1698
1719
  className: t,
1699
1720
  children: n,
@@ -1702,59 +1723,59 @@ const Ht = Le, Ut = Le, dt = ({
1702
1723
  inputRange: c = [0.21, 0.65],
1703
1724
  outputRange: i = [42, 300],
1704
1725
  gap: s = 8,
1705
- onChange: f,
1726
+ onChange: u,
1706
1727
  scrollSensitivity: a = 1.25,
1707
1728
  ...p
1708
1729
  }) => {
1709
1730
  var Y, z;
1710
- const m = D(null), o = l || m, d = Ye({
1731
+ const m = D(null), o = l || m, d = je({
1711
1732
  className: t,
1712
1733
  children: n,
1713
1734
  variant: e,
1714
1735
  inputRange: c,
1715
1736
  outputRange: i,
1716
1737
  marginPourcent: r,
1717
- onChange: f,
1738
+ onChange: u,
1718
1739
  gap: s,
1719
1740
  scrollSensitivity: a
1720
1741
  }), y = K.Children.toArray(n).filter(
1721
- (b) => K.isValidElement(b) && b.type === mt
1722
- ), v = D(null), [x, E] = S([]), [L, B] = S(null), N = () => {
1723
- var U;
1742
+ (b) => K.isValidElement(b) && b.type === yt
1743
+ ), v = D(null), [w, E] = S([]), [L, B] = S(null), N = () => {
1744
+ var O;
1724
1745
  if (!v.current || !o.current || !L) return [];
1725
- const { scrollVisible: b, scrollProgress: w } = L;
1726
- function P(O, J) {
1727
- return O.map(
1728
- (T) => (T - J) / Math.abs(O[1] - O[0])
1746
+ const { scrollVisible: b, scrollProgress: x } = L;
1747
+ function P(U, J) {
1748
+ return U.map(
1749
+ (T) => (T - J) / Math.abs(U[1] - U[0])
1729
1750
  );
1730
1751
  }
1731
- let H = y.map((O, J) => {
1752
+ let H = y.map((U, J) => {
1732
1753
  if (!I[J].current || !v.current) return 0;
1733
1754
  let ne = J / (y.length - 1);
1734
1755
  return ne > 1 && (ne = 1), ne < 0 && (ne = 0), ne;
1735
1756
  });
1736
- H = P(H, w);
1737
- let M = ((((U = o.current) == null ? void 0 : U.clientWidth) ?? b) - (i[0] + s)) / (i[1] + s);
1738
- return H.map((O, J) => ({ value: Math.abs(O), originalIndex: J })).sort((O, J) => O.value - J.value).forEach((O, J) => {
1739
- J === 0 && A(O.originalIndex);
1740
- let T = ft(M, [0, 1], [0, i[1]]);
1741
- T < i[0] && (T = i[0]), M--, H[O.originalIndex] = T;
1757
+ H = P(H, x);
1758
+ let $ = ((((O = o.current) == null ? void 0 : O.clientWidth) ?? b) - (i[0] + s)) / (i[1] + s);
1759
+ return H.map((U, J) => ({ value: Math.abs(U), originalIndex: J })).sort((U, J) => U.value - J.value).forEach((U, J) => {
1760
+ J === 0 && V(U.originalIndex);
1761
+ let T = pt($, [0, 1], [0, i[1]]);
1762
+ T < i[0] && (T = i[0]), $--, H[U.originalIndex] = T;
1742
1763
  }), H;
1743
- }, I = D([]).current, [$, A] = S(0);
1764
+ }, I = D([]).current, [M, V] = S(0);
1744
1765
  R(() => {
1745
- f && f($);
1746
- }, [$]), I.length !== y.length && y.forEach((b, w) => {
1747
- I[w] || (I[w] = K.createRef());
1766
+ u && u(M);
1767
+ }, [M]), I.length !== y.length && y.forEach((b, x) => {
1768
+ I[x] || (I[x] = K.createRef());
1748
1769
  });
1749
- const W = y.map((b, w) => K.cloneElement(
1770
+ const W = y.map((b, x) => K.cloneElement(
1750
1771
  b,
1751
1772
  {
1752
- width: x[w],
1753
- ref: I[w],
1754
- key: w,
1755
- index: w
1773
+ width: w[x],
1774
+ ref: I[x],
1775
+ key: x,
1776
+ index: x
1756
1777
  }
1757
- )), k = $e((L == null ? void 0 : L.scrollProgress) ?? 0), g = me(
1778
+ )), k = Ce((L == null ? void 0 : L.scrollProgress) ?? 0), g = me(
1758
1779
  k,
1759
1780
  [0, 1],
1760
1781
  [
@@ -1772,19 +1793,19 @@ const Ht = Le, Ut = Le, dt = ({
1772
1793
  E(b);
1773
1794
  }, [L]);
1774
1795
  const [q, G] = S(0);
1775
- return ve(() => {
1796
+ return we(() => {
1776
1797
  let b = i[1];
1777
1798
  L && b > L.scrollVisible && (b = L.scrollVisible);
1778
- const w = (b + s) * W.length / a;
1779
- G(w);
1780
- }, [o, I, L]), /* @__PURE__ */ u("div", { className: d.carousel, ref: o, ...p, children: /* @__PURE__ */ u(
1781
- ot,
1799
+ const x = (b + s) * W.length / a;
1800
+ G(x);
1801
+ }, [o, I, L]), /* @__PURE__ */ f("div", { className: d.carousel, ref: o, ...p, children: /* @__PURE__ */ f(
1802
+ lt,
1782
1803
  {
1783
1804
  draggable: !0,
1784
1805
  orientation: "horizontal",
1785
1806
  onScroll: X,
1786
1807
  scrollSize: q,
1787
- children: /* @__PURE__ */ u(
1808
+ children: /* @__PURE__ */ f(
1788
1809
  F.div,
1789
1810
  {
1790
1811
  className: d.track,
@@ -1800,41 +1821,41 @@ const Ht = Le, Ut = Le, dt = ({
1800
1821
  )
1801
1822
  }
1802
1823
  ) });
1803
- }, ht = ({
1824
+ }, gt = ({
1804
1825
  orientation: e = "horizontal",
1805
1826
  className: t,
1806
1827
  ...n
1807
1828
  }) => {
1808
- const l = je({ orientation: e, className: t });
1809
- return /* @__PURE__ */ u("hr", { className: l.divider, ...n });
1829
+ const l = qe({ orientation: e, className: t });
1830
+ return /* @__PURE__ */ f("hr", { className: l.divider, ...n });
1810
1831
  }, _ = [];
1811
1832
  for (let e = 0; e < 256; ++e)
1812
1833
  _.push((e + 256).toString(16).slice(1));
1813
- function pt(e, t = 0) {
1834
+ function vt(e, t = 0) {
1814
1835
  return (_[e[t + 0]] + _[e[t + 1]] + _[e[t + 2]] + _[e[t + 3]] + "-" + _[e[t + 4]] + _[e[t + 5]] + "-" + _[e[t + 6]] + _[e[t + 7]] + "-" + _[e[t + 8]] + _[e[t + 9]] + "-" + _[e[t + 10]] + _[e[t + 11]] + _[e[t + 12]] + _[e[t + 13]] + _[e[t + 14]] + _[e[t + 15]]).toLowerCase();
1815
1836
  }
1816
- let ce;
1817
- const yt = new Uint8Array(16);
1818
- function gt() {
1819
- if (!ce) {
1837
+ let se;
1838
+ const wt = new Uint8Array(16);
1839
+ function xt() {
1840
+ if (!se) {
1820
1841
  if (typeof crypto > "u" || !crypto.getRandomValues)
1821
1842
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1822
- ce = crypto.getRandomValues.bind(crypto);
1843
+ se = crypto.getRandomValues.bind(crypto);
1823
1844
  }
1824
- return ce(yt);
1845
+ return se(wt);
1825
1846
  }
1826
- const vt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), pe = { randomUUID: vt };
1847
+ const bt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ye = { randomUUID: bt };
1827
1848
  function ie(e, t, n) {
1828
1849
  var r;
1829
- if (pe.randomUUID && !e)
1830
- return pe.randomUUID();
1850
+ if (ye.randomUUID && !e)
1851
+ return ye.randomUUID();
1831
1852
  e = e || {};
1832
- const l = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? gt();
1853
+ const l = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? xt();
1833
1854
  if (l.length < 16)
1834
1855
  throw new Error("Random bytes length must be >= 16");
1835
- return l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, pt(l);
1856
+ return l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, vt(l);
1836
1857
  }
1837
- const Ne = ({
1858
+ const Ee = ({
1838
1859
  variant: e = "plain",
1839
1860
  buttons: t,
1840
1861
  className: n,
@@ -1843,14 +1864,14 @@ const Ne = ({
1843
1864
  text: c,
1844
1865
  position: i,
1845
1866
  targetRef: s,
1846
- ref: f,
1867
+ ref: u,
1847
1868
  trigger: a = ["hover", "focus"],
1848
1869
  ...p
1849
1870
  }) => {
1850
1871
  if (!l && !s)
1851
1872
  throw new Error("ToolTip must have a child or a targetRef");
1852
1873
  Array.isArray(a) || (a = [a]), t && !Array.isArray(t) && (t = [t]);
1853
- const m = D(null), o = s || m, [d, y] = S(null), [v] = S(ie()), [x, E] = S(!1), L = D(null);
1874
+ const m = D(null), o = s || m, [d, y] = S(null), [v] = S(ie()), [w, E] = S(!1), L = D(null);
1854
1875
  R(() => {
1855
1876
  const g = (C) => {
1856
1877
  y(C.detail);
@@ -1879,16 +1900,16 @@ const Ne = ({
1879
1900
  }, I = () => {
1880
1901
  if (a.includes("click")) {
1881
1902
  const g = new CustomEvent("tooltip-update", {
1882
- detail: x ? null : v
1903
+ detail: w ? null : v
1883
1904
  });
1884
1905
  document.dispatchEvent(g);
1885
1906
  }
1886
- }, $ = () => {
1907
+ }, M = () => {
1887
1908
  if (a.includes("focus")) {
1888
1909
  const g = new CustomEvent("tooltip-update", { detail: v });
1889
1910
  document.dispatchEvent(g);
1890
1911
  }
1891
- }, A = () => {
1912
+ }, V = () => {
1892
1913
  if (a.includes("focus")) {
1893
1914
  const g = new CustomEvent("tooltip-update", { detail: null });
1894
1915
  document.dispatchEvent(g);
@@ -1897,17 +1918,17 @@ const Ne = ({
1897
1918
  R(() => {
1898
1919
  if (o != null && o.current) {
1899
1920
  const g = o.current;
1900
- return g.addEventListener("mouseenter", B), g.addEventListener("mouseleave", N), g.addEventListener("click", I), g.addEventListener("focus", $), g.addEventListener("blur", A), () => {
1901
- g.removeEventListener("mouseenter", B), g.removeEventListener("mouseleave", N), g.removeEventListener("click", I), g.removeEventListener("focus", $), g.removeEventListener("blur", A);
1921
+ return g.addEventListener("mouseenter", B), g.addEventListener("mouseleave", N), g.addEventListener("click", I), g.addEventListener("focus", M), g.addEventListener("blur", V), () => {
1922
+ g.removeEventListener("mouseenter", B), g.removeEventListener("mouseleave", N), g.removeEventListener("click", I), g.removeEventListener("focus", M), g.removeEventListener("blur", V);
1902
1923
  };
1903
1924
  }
1904
- }, [o, a, v, x]);
1925
+ }, [o, a, v, w]);
1905
1926
  const W = !s && ee(l) ? oe(l, { ref: m }) : l;
1906
1927
  if (!i && typeof window < "u" && o != null && o.current && !i) {
1907
1928
  const g = o.current.getBoundingClientRect(), C = window.innerWidth, X = window.innerHeight, q = g.left / C, G = g.top / X;
1908
1929
  e === "plain" ? q < 1 / 3 ? i = "right" : q > 2 / 3 ? i = "left" : i = G > 0.5 ? "top" : "bottom" : q < 1 / 2 && G < 1 / 2 ? i = "bottom-right" : q > 1 / 2 && G < 1 / 2 ? i = "bottom-left" : q > 1 / 2 && G > 1 / 2 ? i = "top-left" : q < 1 / 2 && G > 1 / 2 && (i = "top-right");
1909
1930
  }
1910
- const k = tt({
1931
+ const k = nt({
1911
1932
  variant: e,
1912
1933
  buttons: t,
1913
1934
  className: n,
@@ -1918,9 +1939,9 @@ const Ne = ({
1918
1939
  targetRef: s,
1919
1940
  children: l
1920
1941
  });
1921
- return /* @__PURE__ */ V(te, { children: [
1942
+ return /* @__PURE__ */ A(te, { children: [
1922
1943
  W,
1923
- /* @__PURE__ */ u(Q, { children: x && /* @__PURE__ */ u(at, { targetRef: o, children: /* @__PURE__ */ u(
1944
+ /* @__PURE__ */ f(Q, { children: w && /* @__PURE__ */ f(st, { targetRef: o, children: /* @__PURE__ */ f(
1924
1945
  F.div,
1925
1946
  {
1926
1947
  initial: { opacity: d ? 1 : 0 },
@@ -1931,7 +1952,7 @@ const Ne = ({
1931
1952
  ...p,
1932
1953
  onMouseEnter: B,
1933
1954
  onMouseLeave: N,
1934
- children: /* @__PURE__ */ V(
1955
+ children: /* @__PURE__ */ A(
1935
1956
  F.div,
1936
1957
  {
1937
1958
  className: k.container,
@@ -1942,10 +1963,10 @@ const Ne = ({
1942
1963
  damping: 20
1943
1964
  },
1944
1965
  children: [
1945
- r && /* @__PURE__ */ u("div", { className: k.subHead, children: r }),
1946
- /* @__PURE__ */ u("div", { className: k.supportingText, children: c }),
1947
- t && /* @__PURE__ */ u("div", { className: k.actions, children: Array.isArray(t) && t.map((g, C) => /* @__PURE__ */ u(
1948
- dt,
1966
+ r && /* @__PURE__ */ f("div", { className: k.subHead, children: r }),
1967
+ /* @__PURE__ */ f("div", { className: k.supportingText, children: c }),
1968
+ t && /* @__PURE__ */ f("div", { className: k.actions, children: Array.isArray(t) && t.map((g, C) => /* @__PURE__ */ f(
1969
+ ht,
1949
1970
  {
1950
1971
  size: "small",
1951
1972
  variant: "text",
@@ -1959,7 +1980,7 @@ const Ne = ({
1959
1980
  }
1960
1981
  ) }) })
1961
1982
  ] });
1962
- }, ye = ({
1983
+ }, ge = ({
1963
1984
  className: e,
1964
1985
  label: t,
1965
1986
  variant: n = "primary",
@@ -1968,7 +1989,7 @@ const Ne = ({
1968
1989
  type: c,
1969
1990
  icon: i,
1970
1991
  isExtended: s = !1,
1971
- ref: f,
1992
+ ref: u,
1972
1993
  transition: a,
1973
1994
  children: p,
1974
1995
  ...m
@@ -1977,7 +1998,7 @@ const Ne = ({
1977
1998
  throw new Error(
1978
1999
  "FAB component requires either a label prop or children content"
1979
2000
  );
1980
- const o = r ? "a" : "button", d = qe({
2001
+ const o = r ? "a" : "button", d = _e({
1981
2002
  href: r,
1982
2003
  icon: i,
1983
2004
  isExtended: s,
@@ -1989,7 +2010,7 @@ const Ne = ({
1989
2010
  children: t
1990
2011
  });
1991
2012
  a = { duration: 0.3, ...a };
1992
- const y = D(null), v = f || y, x = {
2013
+ const y = D(null), v = u || y, w = {
1993
2014
  visible: {
1994
2015
  width: "auto",
1995
2016
  marginLeft: 12,
@@ -2015,7 +2036,7 @@ const Ne = ({
2015
2036
  }
2016
2037
  }
2017
2038
  };
2018
- return /* @__PURE__ */ V(
2039
+ return /* @__PURE__ */ A(
2019
2040
  o,
2020
2041
  {
2021
2042
  ...m,
@@ -2024,15 +2045,15 @@ const Ne = ({
2024
2045
  "aria-label": s ? void 0 : t,
2025
2046
  className: d.fab,
2026
2047
  children: [
2027
- /* @__PURE__ */ u(
2028
- Ne,
2048
+ /* @__PURE__ */ f(
2049
+ Ee,
2029
2050
  {
2030
2051
  trigger: s ? null : void 0,
2031
2052
  text: t,
2032
2053
  targetRef: v
2033
2054
  }
2034
2055
  ),
2035
- /* @__PURE__ */ u("span", { className: d.stateLayer, children: /* @__PURE__ */ u(
2056
+ /* @__PURE__ */ f("span", { className: d.stateLayer, children: /* @__PURE__ */ f(
2036
2057
  re,
2037
2058
  {
2038
2059
  colorName: h({
@@ -2044,11 +2065,11 @@ const Ne = ({
2044
2065
  triggerRef: v
2045
2066
  }
2046
2067
  ) }),
2047
- /* @__PURE__ */ u(Z, { icon: i, className: d.icon }),
2048
- /* @__PURE__ */ u(Q, { children: s && /* @__PURE__ */ u(
2068
+ /* @__PURE__ */ f(Z, { icon: i, className: d.icon }),
2069
+ /* @__PURE__ */ f(Q, { children: s && /* @__PURE__ */ f(
2049
2070
  F.span,
2050
2071
  {
2051
- variants: x,
2072
+ variants: w,
2052
2073
  initial: "hidden",
2053
2074
  animate: "visible",
2054
2075
  exit: "hidden",
@@ -2068,7 +2089,7 @@ const Ne = ({
2068
2089
  label: c,
2069
2090
  onToggle: i,
2070
2091
  activated: s = !1,
2071
- onClick: f,
2092
+ onClick: u,
2072
2093
  icon: a,
2073
2094
  size: p = "medium",
2074
2095
  iconSelected: m,
@@ -2076,7 +2097,7 @@ const Ne = ({
2076
2097
  ref: d,
2077
2098
  width: y = "default",
2078
2099
  shape: v = "rounded",
2079
- allowShapeTransformation: x = !0,
2100
+ allowShapeTransformation: w = !0,
2080
2101
  transition: E,
2081
2102
  children: L,
2082
2103
  ...B
@@ -2087,18 +2108,18 @@ const Ne = ({
2087
2108
  );
2088
2109
  r || (r = c);
2089
2110
  const [N, I] = K.useState(s);
2090
- let $;
2091
- i ? i && ($ = (C) => {
2111
+ let M;
2112
+ i ? i && (M = (C) => {
2092
2113
  n && C.preventDefault(), I(!N), i(!!N);
2093
- }, a = N && m || a) : $ = (C) => {
2094
- n && C.preventDefault(), f && f(C);
2114
+ }, a = N && m || a) : M = (C) => {
2115
+ n && C.preventDefault(), u && u(C);
2095
2116
  }, R(() => {
2096
2117
  I(s);
2097
2118
  }, [s]);
2098
- const A = t ? "a" : "button", W = _e({
2119
+ const V = t ? "a" : "button", W = Ke({
2099
2120
  transition: E,
2100
2121
  shape: v,
2101
- allowShapeTransformation: x,
2122
+ allowShapeTransformation: w,
2102
2123
  width: y,
2103
2124
  href: t,
2104
2125
  activated: N,
@@ -2114,8 +2135,8 @@ const Ne = ({
2114
2135
  children: c,
2115
2136
  ...B
2116
2137
  }), k = D(null), g = d || k;
2117
- return E = { duration: 0.3, ...E }, /* @__PURE__ */ V(
2118
- A,
2138
+ return E = { duration: 0.3, ...E }, /* @__PURE__ */ A(
2139
+ V,
2119
2140
  {
2120
2141
  disabled: n,
2121
2142
  href: t,
@@ -2124,24 +2145,24 @@ const Ne = ({
2124
2145
  "aria-label": c,
2125
2146
  ...B,
2126
2147
  title: void 0,
2127
- onClick: $,
2148
+ onClick: M,
2128
2149
  ref: g,
2129
2150
  children: [
2130
- /* @__PURE__ */ u(
2131
- Ne,
2151
+ /* @__PURE__ */ f(
2152
+ Ee,
2132
2153
  {
2133
2154
  targetRef: g,
2134
2155
  trigger: n ? null : void 0,
2135
2156
  text: r
2136
2157
  }
2137
2158
  ),
2138
- /* @__PURE__ */ u("div", { className: W.touchTarget }),
2139
- /* @__PURE__ */ u(
2159
+ /* @__PURE__ */ f("div", { className: W.touchTarget }),
2160
+ /* @__PURE__ */ f(
2140
2161
  "div",
2141
2162
  {
2142
2163
  className: W.stateLayer,
2143
2164
  style: { transition: E.duration + "s" },
2144
- children: !n && /* @__PURE__ */ u(
2165
+ children: !n && /* @__PURE__ */ f(
2145
2166
  re,
2146
2167
  {
2147
2168
  colorName: h(
@@ -2167,11 +2188,11 @@ const Ne = ({
2167
2188
  )
2168
2189
  }
2169
2190
  ),
2170
- a && /* @__PURE__ */ u(Z, { icon: a, className: W.icon })
2191
+ a && /* @__PURE__ */ f(Z, { icon: a, className: W.icon })
2171
2192
  ]
2172
2193
  }
2173
2194
  );
2174
- }, Yt = ({
2195
+ }, _t = ({
2175
2196
  className: e,
2176
2197
  valueFormatter: t,
2177
2198
  step: n = 10,
@@ -2189,25 +2210,25 @@ const Ne = ({
2189
2210
  label: "100"
2190
2211
  }
2191
2212
  ],
2192
- ref: f,
2213
+ ref: u,
2193
2214
  onChange: a,
2194
2215
  ...p
2195
2216
  }) => {
2196
2217
  const m = (b) => {
2197
- const w = d(), P = o();
2198
- return b === 1 / 0 ? 100 : b === -1 / 0 ? 0 : (b - w) / (P - w) * 100;
2218
+ const x = d(), P = o();
2219
+ return b === 1 / 0 ? 100 : b === -1 / 0 ? 0 : (b - x) / (P - x) * 100;
2199
2220
  }, o = (b = !1) => b ? i : i == 1 / 0 ? s[(s == null ? void 0 : s.length) - 1].value : i, d = (b = !1) => b ? c : c == -1 / 0 ? s[0].value : c, y = (b) => {
2200
- const w = d(!1);
2201
- return (o(!1) - w) * b / 100 + w;
2202
- }, [v, x] = S(!1), E = D(null), L = f || E, [B, N] = S(r), [I, $] = S(m(r)), [A, W] = S(!1), k = (b) => {
2203
- W(!0), x(!0), X(b);
2221
+ const x = d(!1);
2222
+ return (o(!1) - x) * b / 100 + x;
2223
+ }, [v, w] = S(!1), E = D(null), L = u || E, [B, N] = S(r), [I, M] = S(m(r)), [V, W] = S(!1), k = (b) => {
2224
+ W(!0), w(!0), X(b);
2204
2225
  }, g = () => {
2205
- W(!1), x(!1);
2226
+ W(!1), w(!1);
2206
2227
  };
2207
- R(() => (A ? (window.addEventListener("mouseup", g), window.addEventListener("mousemove", X), window.addEventListener("touchend", g), window.addEventListener("touchmove", X)) : (window.removeEventListener("mouseup", g), window.removeEventListener("mousemove", X), window.removeEventListener("touchend", g), window.removeEventListener("touchmove", X)), () => {
2228
+ R(() => (V ? (window.addEventListener("mouseup", g), window.addEventListener("mousemove", X), window.addEventListener("touchend", g), window.addEventListener("touchmove", X)) : (window.removeEventListener("mouseup", g), window.removeEventListener("mousemove", X), window.removeEventListener("touchend", g), window.removeEventListener("touchmove", X)), () => {
2208
2229
  window.removeEventListener("mouseup", g), window.removeEventListener("mousemove", X), window.removeEventListener("touchend", g), window.removeEventListener("touchmove", X);
2209
- }), [A]);
2210
- const C = Je({
2230
+ }), [V]);
2231
+ const C = Ze({
2211
2232
  className: e,
2212
2233
  isChanging: v,
2213
2234
  marks: s,
@@ -2219,41 +2240,41 @@ const Ne = ({
2219
2240
  valueFormatter: t,
2220
2241
  onChange: a
2221
2242
  }), X = (b) => {
2222
- const w = L == null ? void 0 : L.current;
2223
- if (w) {
2224
- const P = w.getBoundingClientRect().left, M = ((b.type === "touchmove" || b.type === "touchstart" ? b.touches[0].clientX : b.clientX) - P) / w.offsetWidth * 100;
2225
- q({ pourcent: M });
2243
+ const x = L == null ? void 0 : L.current;
2244
+ if (x) {
2245
+ const P = x.getBoundingClientRect().left, $ = ((b.type === "touchmove" || b.type === "touchstart" ? b.touches[0].clientX : b.clientX) - P) / x.offsetWidth * 100;
2246
+ q({ pourcent: $ });
2226
2247
  }
2227
2248
  }, q = ({
2228
2249
  pourcent: b,
2229
- value: w
2250
+ value: x
2230
2251
  }) => {
2231
2252
  if (b) {
2232
2253
  if (b >= 100) {
2233
- N(o(!0)), $(100);
2254
+ N(o(!0)), M(100);
2234
2255
  return;
2235
2256
  }
2236
2257
  if (b <= 0) {
2237
- N(d(!0)), $(0);
2258
+ N(d(!0)), M(0);
2238
2259
  return;
2239
2260
  }
2240
- w = y(b), w == d() && (w = d(!0)), w == o() && (w = o(!0));
2241
- } else if (w != null) {
2242
- if (w >= o()) {
2243
- N(o(!0)), $(100);
2261
+ x = y(b), x == d() && (x = d(!0)), x == o() && (x = o(!0));
2262
+ } else if (x != null) {
2263
+ if (x >= o()) {
2264
+ N(o(!0)), M(100);
2244
2265
  return;
2245
2266
  }
2246
- if (w <= d()) {
2247
- N(d(!0)), $(0);
2267
+ if (x <= d()) {
2268
+ N(d(!0)), M(0);
2248
2269
  return;
2249
2270
  }
2250
- b = m(w);
2271
+ b = m(x);
2251
2272
  } else
2252
2273
  return;
2253
- n != null ? w = Math.round((w - d()) / n) * n + d() : s && (w = s.reduce((P, H, M) => {
2254
- let U = H.value === 1 / 0 ? o() : H.value === -1 / 0 ? d() : H.value, O = P.value === 1 / 0 ? o() : P.value === -1 / 0 ? d() : P.value;
2255
- return U = Math.abs(U - w), O = Math.abs(O - w), U < O ? H : P;
2256
- }).value), w >= o() && (w = o(!0)), w <= d() && (w = d(!0)), b = m(w), N(w), $(b), a && a(w);
2274
+ n != null ? x = Math.round((x - d()) / n) * n + d() : s && (x = s.reduce((P, H, $) => {
2275
+ let O = H.value === 1 / 0 ? o() : H.value === -1 / 0 ? d() : H.value, U = P.value === 1 / 0 ? o() : P.value === -1 / 0 ? d() : P.value;
2276
+ return O = Math.abs(O - x), U = Math.abs(U - x), O < U ? H : P;
2277
+ }).value), x >= o() && (x = o(!0)), x <= d() && (x = d(!0)), b = m(x), N(x), M(b), a && a(x);
2257
2278
  }, [G, Y] = S(0);
2258
2279
  return R(() => {
2259
2280
  const b = () => {
@@ -2262,7 +2283,7 @@ const Ne = ({
2262
2283
  return b(), window.addEventListener("resize", b), () => {
2263
2284
  window.removeEventListener("resize", b);
2264
2285
  };
2265
- }, []), /* @__PURE__ */ V(
2286
+ }, []), /* @__PURE__ */ A(
2266
2287
  "div",
2267
2288
  {
2268
2289
  tabIndex: 0,
@@ -2272,16 +2293,16 @@ const Ne = ({
2272
2293
  if (n)
2273
2294
  q({ value: B + n });
2274
2295
  else if (s) {
2275
- const w = s.find((P) => P.value > B);
2276
- w && q({ value: w.value });
2296
+ const x = s.find((P) => P.value > B);
2297
+ x && q({ value: x.value });
2277
2298
  }
2278
2299
  break;
2279
2300
  case "ArrowLeft":
2280
2301
  if (n)
2281
2302
  q({ value: B - n });
2282
2303
  else if (s) {
2283
- const w = s.slice(0).reverse().find((P, H, M) => B === 1 / 0 ? H === 1 : P.value < B);
2284
- w && q({ value: w.value });
2304
+ const x = s.slice(0).reverse().find((P, H, $) => B === 1 / 0 ? H === 1 : P.value < B);
2305
+ x && q({ value: x.value });
2285
2306
  }
2286
2307
  break;
2287
2308
  default:
@@ -2301,15 +2322,15 @@ const Ne = ({
2301
2322
  onDragStart: (b) => b.preventDefault(),
2302
2323
  ...p,
2303
2324
  children: [
2304
- /* @__PURE__ */ u("input", { type: "hidden", name: l, value: B }),
2305
- /* @__PURE__ */ u(
2325
+ /* @__PURE__ */ f("input", { type: "hidden", name: l, value: B }),
2326
+ /* @__PURE__ */ f(
2306
2327
  "div",
2307
2328
  {
2308
2329
  className: C.activeTrack,
2309
2330
  style: { flex: I / 100 }
2310
2331
  }
2311
2332
  ),
2312
- /* @__PURE__ */ u("div", { className: C.handle, children: /* @__PURE__ */ u(Q, { children: v && /* @__PURE__ */ u(
2333
+ /* @__PURE__ */ f("div", { className: C.handle, children: /* @__PURE__ */ f(Q, { children: v && /* @__PURE__ */ f(
2313
2334
  F.div,
2314
2335
  {
2315
2336
  className: C.valueIndicator,
@@ -2329,21 +2350,21 @@ const Ne = ({
2329
2350
  children: t ? t(B) : B
2330
2351
  }
2331
2352
  ) }) }),
2332
- /* @__PURE__ */ u(
2353
+ /* @__PURE__ */ f(
2333
2354
  "div",
2334
2355
  {
2335
2356
  className: C.inactiveTrack,
2336
2357
  style: { flex: 1 - I / 100 }
2337
2358
  }
2338
2359
  ),
2339
- /* @__PURE__ */ u(
2360
+ /* @__PURE__ */ f(
2340
2361
  "div",
2341
2362
  {
2342
2363
  className: "w-[calc(100%-12px)] h-full absolute -translate-x-1/2 transform left-1/2",
2343
- children: s && s.map((b, w) => {
2364
+ children: s && s.map((b, x) => {
2344
2365
  let P = null;
2345
- const H = (v ? 9 : 10) / G * 100, M = m(b.value);
2346
- return M <= I - H ? P = !0 : M >= I + H && (P = !1), /* @__PURE__ */ u(
2366
+ const H = (v ? 9 : 10) / G * 100, $ = m(b.value);
2367
+ return $ <= I - H ? P = !0 : $ >= I + H && (P = !1), /* @__PURE__ */ f(
2347
2368
  "div",
2348
2369
  {
2349
2370
  className: h(C.dot, {
@@ -2354,7 +2375,7 @@ const Ne = ({
2354
2375
  left: `${m(b.value)}%`
2355
2376
  }
2356
2377
  },
2357
- w
2378
+ x
2358
2379
  );
2359
2380
  })
2360
2381
  }
@@ -2368,7 +2389,7 @@ const Ne = ({
2368
2389
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2369
2390
  * Copyright 2025 Fonticons, Inc.
2370
2391
  */
2371
- var xt = {
2392
+ var Lt = {
2372
2393
  prefix: "fas",
2373
2394
  iconName: "circle-exclamation",
2374
2395
  icon: [512, 512, ["exclamation-circle"], "f06a", "M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]
@@ -2376,12 +2397,12 @@ var xt = {
2376
2397
  prefix: "fas",
2377
2398
  iconName: "xmark",
2378
2399
  icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
2379
- }, wt = {
2400
+ }, Nt = {
2380
2401
  prefix: "fas",
2381
2402
  iconName: "bars",
2382
2403
  icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]
2383
2404
  };
2384
- const jt = ({
2405
+ const Kt = ({
2385
2406
  variant: e = "standard",
2386
2407
  className: t,
2387
2408
  children: n,
@@ -2390,16 +2411,16 @@ const jt = ({
2390
2411
  extended: c,
2391
2412
  divider: i,
2392
2413
  onExtendedChange: s,
2393
- closeIcon: f = de,
2414
+ closeIcon: u = de,
2394
2415
  transition: a,
2395
2416
  ...p
2396
2417
  }) => {
2397
2418
  a = { duration: 0.3, ...a };
2398
- const [m, o] = S(c ?? !0), d = Ge({
2419
+ const [m, o] = S(c ?? !0), d = Je({
2399
2420
  transition: a,
2400
2421
  title: l,
2401
2422
  position: r,
2402
- closeIcon: f,
2423
+ closeIcon: u,
2403
2424
  className: t,
2404
2425
  children: n,
2405
2426
  onExtendedChange: s,
@@ -2420,8 +2441,8 @@ const jt = ({
2420
2441
  open: {
2421
2442
  width: "auto"
2422
2443
  }
2423
- }, v = () => /* @__PURE__ */ V(te, { children: [
2424
- /* @__PURE__ */ u(Q, { children: e == "modal" && m && /* @__PURE__ */ u(
2444
+ }, v = () => /* @__PURE__ */ A(te, { children: [
2445
+ /* @__PURE__ */ f(Q, { children: e == "modal" && m && /* @__PURE__ */ f(
2425
2446
  F.div,
2426
2447
  {
2427
2448
  initial: { opacity: 0 },
@@ -2432,14 +2453,14 @@ const jt = ({
2432
2453
  className: d.overlay
2433
2454
  }
2434
2455
  ) }),
2435
- /* @__PURE__ */ u(Q, { children: m && /* @__PURE__ */ V(
2456
+ /* @__PURE__ */ f(Q, { children: m && /* @__PURE__ */ A(
2436
2457
  "div",
2437
2458
  {
2438
2459
  ...p,
2439
2460
  className: d.slideSheet,
2440
2461
  style: { transition: a.duration + "s" },
2441
2462
  children: [
2442
- /* @__PURE__ */ V(
2463
+ /* @__PURE__ */ A(
2443
2464
  F.div,
2444
2465
  {
2445
2466
  variants: y,
@@ -2448,20 +2469,20 @@ const jt = ({
2448
2469
  exit: "close",
2449
2470
  className: d.container,
2450
2471
  children: [
2451
- /* @__PURE__ */ V("div", { className: d.header, children: [
2452
- l && /* @__PURE__ */ u("p", { className: d.title, children: l }),
2453
- /* @__PURE__ */ u(
2472
+ /* @__PURE__ */ A("div", { className: d.header, children: [
2473
+ l && /* @__PURE__ */ f("p", { className: d.title, children: l }),
2474
+ /* @__PURE__ */ f(
2454
2475
  ue,
2455
2476
  {
2456
2477
  size: "small",
2457
2478
  label: "close",
2458
- icon: f,
2479
+ icon: u,
2459
2480
  onClick: () => o(!1),
2460
2481
  className: d.closeButton
2461
2482
  }
2462
2483
  )
2463
2484
  ] }),
2464
- /* @__PURE__ */ u(
2485
+ /* @__PURE__ */ f(
2465
2486
  "div",
2466
2487
  {
2467
2488
  className: d.content,
@@ -2472,13 +2493,13 @@ const jt = ({
2472
2493
  ]
2473
2494
  }
2474
2495
  ),
2475
- (i == null && e == "standard" ? !0 : i) && /* @__PURE__ */ u(ht, { className: d.divider, orientation: "vertical" })
2496
+ (i == null && e == "standard" ? !0 : i) && /* @__PURE__ */ f(gt, { className: d.divider, orientation: "vertical" })
2476
2497
  ]
2477
2498
  }
2478
2499
  ) })
2479
2500
  ] });
2480
2501
  return e == "modal" ? xe(v(), document.body) : v();
2481
- }, qt = ({
2502
+ }, Gt = ({
2482
2503
  message: e,
2483
2504
  className: t,
2484
2505
  duration: n,
@@ -2486,7 +2507,7 @@ const jt = ({
2486
2507
  onClose: r,
2487
2508
  ...c
2488
2509
  }) => {
2489
- const [i, s] = S(!0), f = Ze({
2510
+ const [i, s] = S(!0), u = Qe({
2490
2511
  className: t,
2491
2512
  closeIcon: l,
2492
2513
  duration: n,
@@ -2502,22 +2523,22 @@ const jt = ({
2502
2523
  const a = () => {
2503
2524
  s(!1), r == null || r();
2504
2525
  };
2505
- return /* @__PURE__ */ u(Q, { children: i && /* @__PURE__ */ u(
2526
+ return /* @__PURE__ */ f(Q, { children: i && /* @__PURE__ */ f(
2506
2527
  F.div,
2507
2528
  {
2508
2529
  initial: { height: 0 },
2509
2530
  animate: { height: "auto" },
2510
2531
  exit: { height: 0 },
2511
2532
  transition: { duration: 0.1 },
2512
- className: f.snackbar,
2533
+ className: u.snackbar,
2513
2534
  ...c,
2514
- children: /* @__PURE__ */ V("div", { className: f.container, children: [
2515
- /* @__PURE__ */ u("p", { className: f.supportingText, children: e }),
2516
- /* @__PURE__ */ u(
2535
+ children: /* @__PURE__ */ A("div", { className: u.container, children: [
2536
+ /* @__PURE__ */ f("p", { className: u.supportingText, children: e }),
2537
+ /* @__PURE__ */ f(
2517
2538
  ue,
2518
2539
  {
2519
2540
  onClick: () => a(),
2520
- className: f.icon,
2541
+ className: u.icon,
2521
2542
  icon: l,
2522
2543
  label: "close the snackbar"
2523
2544
  }
@@ -2525,7 +2546,7 @@ const jt = ({
2525
2546
  ] })
2526
2547
  }
2527
2548
  ) });
2528
- }, _t = ({
2549
+ }, Jt = ({
2529
2550
  selected: e = !1,
2530
2551
  className: t,
2531
2552
  activeIcon: n,
@@ -2534,7 +2555,7 @@ const jt = ({
2534
2555
  onChange: c,
2535
2556
  onClick: i,
2536
2557
  onKeyDown: s,
2537
- ref: f,
2558
+ ref: u,
2538
2559
  ...a
2539
2560
  }) => {
2540
2561
  const [p, m] = S(e), o = (L) => {
@@ -2543,7 +2564,7 @@ const jt = ({
2543
2564
  l || ((L.key === " " || L.key === "Enter") && (L.preventDefault(), y()), s && s(L));
2544
2565
  }, y = () => {
2545
2566
  m(!p), c == null || c(!p);
2546
- }, v = Qe({
2567
+ }, v = ze({
2547
2568
  className: t,
2548
2569
  isSelected: p,
2549
2570
  activeIcon: n,
@@ -2551,8 +2572,8 @@ const jt = ({
2551
2572
  disabled: l,
2552
2573
  selected: p,
2553
2574
  onChange: c
2554
- }), x = D(null), E = f || x;
2555
- return /* @__PURE__ */ V(
2575
+ }), w = D(null), E = u || w;
2576
+ return /* @__PURE__ */ A(
2556
2577
  F.div,
2557
2578
  {
2558
2579
  role: "switch",
@@ -2564,8 +2585,8 @@ const jt = ({
2564
2585
  className: v.switch,
2565
2586
  ...a,
2566
2587
  children: [
2567
- /* @__PURE__ */ u("input", { type: "hidden", value: p ? "1" : "0" }),
2568
- /* @__PURE__ */ V(
2588
+ /* @__PURE__ */ f("input", { type: "hidden", value: p ? "1" : "0" }),
2589
+ /* @__PURE__ */ A(
2569
2590
  F.div,
2570
2591
  {
2571
2592
  layout: !0,
@@ -2577,21 +2598,21 @@ const jt = ({
2577
2598
  },
2578
2599
  className: v.handleContainer,
2579
2600
  children: [
2580
- /* @__PURE__ */ u("div", { className: v.handle, children: (p ? n : r) && /* @__PURE__ */ u(
2601
+ /* @__PURE__ */ f("div", { className: v.handle, children: (p ? n : r) && /* @__PURE__ */ f(
2581
2602
  Z,
2582
2603
  {
2583
2604
  className: v.icon,
2584
2605
  icon: p ? n : r
2585
2606
  }
2586
2607
  ) }),
2587
- /* @__PURE__ */ u("div", { className: v.handleStateLayer })
2608
+ /* @__PURE__ */ f("div", { className: v.handleStateLayer })
2588
2609
  ]
2589
2610
  }
2590
2611
  )
2591
2612
  ]
2592
2613
  }
2593
2614
  );
2594
- }, bt = ({
2615
+ }, Et = ({
2595
2616
  className: e,
2596
2617
  onClick: t,
2597
2618
  label: n,
@@ -2600,7 +2621,7 @@ const jt = ({
2600
2621
  icon: c,
2601
2622
  selectedTab: i,
2602
2623
  setSelectedTab: s,
2603
- tabsId: f,
2624
+ tabsId: u,
2604
2625
  index: a,
2605
2626
  onTabSelected: p,
2606
2627
  scrollable: m = !1,
@@ -2608,26 +2629,26 @@ const jt = ({
2608
2629
  ref: d,
2609
2630
  ...y
2610
2631
  }) => {
2611
- const v = D(null), x = d || v, [E, L] = S(o);
2632
+ const v = D(null), w = d || v, [E, L] = S(o);
2612
2633
  R(() => {
2613
2634
  o && i == null ? L(!0) : L(i == a && a != null);
2614
2635
  }, [i]), R(() => {
2615
2636
  i == a && p && p({
2616
- ref: x,
2637
+ ref: w,
2617
2638
  index: a || 0,
2618
2639
  label: n,
2619
2640
  icon: c
2620
2641
  });
2621
2642
  }, [i]);
2622
- const B = r ? "a" : "button", N = ($) => {
2623
- s && s(a ?? null), t && t($);
2624
- }, I = ze({
2643
+ const B = r ? "a" : "button", N = (M) => {
2644
+ s && s(a ?? null), t && t(M);
2645
+ }, I = Te({
2625
2646
  className: e,
2626
2647
  onTabSelected: p,
2627
2648
  scrollable: m,
2628
2649
  selectedTab: i,
2629
2650
  index: a,
2630
- tabsId: f,
2651
+ tabsId: u,
2631
2652
  selected: E,
2632
2653
  variant: l,
2633
2654
  icon: c,
@@ -2636,32 +2657,32 @@ const jt = ({
2636
2657
  setSelectedTab: s,
2637
2658
  href: r
2638
2659
  });
2639
- return /* @__PURE__ */ V(
2660
+ return /* @__PURE__ */ A(
2640
2661
  B,
2641
2662
  {
2642
2663
  ...y,
2643
2664
  role: "tab",
2644
2665
  "aria-selected": E,
2645
- ref: x,
2666
+ ref: w,
2646
2667
  href: r,
2647
2668
  className: I.tab,
2648
2669
  onClick: N,
2649
2670
  ...y,
2650
2671
  children: [
2651
- /* @__PURE__ */ u("span", { className: I.stateLayer, children: /* @__PURE__ */ u(
2672
+ /* @__PURE__ */ f("span", { className: I.stateLayer, children: /* @__PURE__ */ f(
2652
2673
  re,
2653
2674
  {
2654
2675
  colorName: l === "primary" && E ? "primary" : "on-surface",
2655
- triggerRef: x
2676
+ triggerRef: w
2656
2677
  }
2657
2678
  ) }),
2658
- /* @__PURE__ */ V("span", { className: I.content, children: [
2659
- c && /* @__PURE__ */ u(Z, { icon: c, className: I.icon }),
2660
- /* @__PURE__ */ u("span", { className: I.label, children: n }),
2661
- E && /* @__PURE__ */ u(
2679
+ /* @__PURE__ */ A("span", { className: I.content, children: [
2680
+ c && /* @__PURE__ */ f(Z, { icon: c, className: I.icon }),
2681
+ /* @__PURE__ */ f("span", { className: I.label, children: n }),
2682
+ E && /* @__PURE__ */ f(
2662
2683
  F.span,
2663
2684
  {
2664
- layoutId: `underline-${f}`,
2685
+ layoutId: `underline-${u}`,
2665
2686
  className: I.underline,
2666
2687
  transition: { duration: 0.3 }
2667
2688
  }
@@ -2670,7 +2691,7 @@ const jt = ({
2670
2691
  ]
2671
2692
  }
2672
2693
  );
2673
- }, Kt = ({
2694
+ }, Zt = ({
2674
2695
  variant: e = "primary",
2675
2696
  onTabSelected: t,
2676
2697
  children: n,
@@ -2679,22 +2700,22 @@ const jt = ({
2679
2700
  setSelectedTab: c,
2680
2701
  scrollable: i = !1
2681
2702
  }) => {
2682
- const [s, f] = S(
2703
+ const [s, u] = S(
2683
2704
  null
2684
2705
  );
2685
2706
  let a;
2686
2707
  r == 0 || r != null ? a = r : a = s;
2687
- const p = c || f, m = K.Children.toArray(n).filter(
2688
- (x) => K.isValidElement(x) && x.type === bt
2689
- ), o = K.useRef(null), d = (x) => {
2690
- if (t == null || t(x), i) {
2691
- const E = o.current, L = x.ref.current;
2708
+ const p = c || u, m = K.Children.toArray(n).filter(
2709
+ (w) => K.isValidElement(w) && w.type === Et
2710
+ ), o = K.useRef(null), d = (w) => {
2711
+ if (t == null || t(w), i) {
2712
+ const E = o.current, L = w.ref.current;
2692
2713
  if (E && L) {
2693
2714
  const B = L.offsetLeft + L.offsetWidth / 2 - E.offsetWidth / 2;
2694
2715
  E.scrollTo({ left: B, behavior: "smooth" });
2695
2716
  }
2696
2717
  }
2697
- }, y = Ie(() => ie(), []), v = Te({
2718
+ }, y = ke(() => ie(), []), v = et({
2698
2719
  children: n,
2699
2720
  onTabSelected: t,
2700
2721
  scrollable: i,
@@ -2703,7 +2724,7 @@ const jt = ({
2703
2724
  className: l,
2704
2725
  variant: e
2705
2726
  });
2706
- return /* @__PURE__ */ u("div", { ref: o, role: "tablist", className: v.tabs, children: m.map((x, E) => K.cloneElement(x, {
2727
+ return /* @__PURE__ */ f("div", { ref: o, role: "tablist", className: v.tabs, children: m.map((w, E) => K.cloneElement(w, {
2707
2728
  key: E,
2708
2729
  index: E,
2709
2730
  variant: e,
@@ -2713,7 +2734,7 @@ const jt = ({
2713
2734
  onTabSelected: d,
2714
2735
  scrollable: i
2715
2736
  })) });
2716
- }, Gt = ({
2737
+ }, Qt = ({
2717
2738
  variant: e = "filled",
2718
2739
  disabled: t = !1,
2719
2740
  errorText: n,
@@ -2722,7 +2743,7 @@ const jt = ({
2722
2743
  name: c,
2723
2744
  label: i,
2724
2745
  className: s,
2725
- supportingText: f,
2746
+ supportingText: u,
2726
2747
  trailingIcon: a,
2727
2748
  leadingIcon: p,
2728
2749
  type: m = "text",
@@ -2730,20 +2751,20 @@ const jt = ({
2730
2751
  autoComplete: d = "on",
2731
2752
  onChange: y,
2732
2753
  value: v,
2733
- showSupportingText: x = !1,
2754
+ showSupportingText: w = !1,
2734
2755
  ...E
2735
2756
  }) => {
2736
- const [L, B] = S(v ?? ""), [N, I] = S(!1), [$, A] = S(!1), [W, k] = S(
2737
- x
2757
+ const [L, B] = S(v ?? ""), [N, I] = S(!1), [M, V] = S(!1), [W, k] = S(
2758
+ w
2738
2759
  );
2739
2760
  R(() => {
2740
2761
  B(v ?? "");
2741
2762
  }, [v]), R(() => {
2742
- n != null && n.length ? A(!0) : A(!1);
2763
+ n != null && n.length ? V(!0) : V(!1);
2743
2764
  }, [n]), R(() => {
2744
- x ? k(x) : f != null && f.length ? k(!0) : k(!1);
2745
- }, [W, f]), R(() => {
2746
- N && A(!1);
2765
+ w ? k(w) : u != null && u.length ? k(!0) : k(!1);
2766
+ }, [W, u]), R(() => {
2767
+ N && V(!1);
2747
2768
  }, [N]);
2748
2769
  const g = K.useRef(null), C = () => {
2749
2770
  g.current && !N && g.current.focus();
@@ -2751,13 +2772,13 @@ const jt = ({
2751
2772
  I(!0);
2752
2773
  }, q = (P) => {
2753
2774
  const H = P.target.value;
2754
- B(H), A(!1), typeof y == "function" && y(H);
2775
+ B(H), V(!1), typeof y == "function" && y(H);
2755
2776
  }, G = () => {
2756
2777
  I(!1);
2757
- }, Y = et({
2778
+ }, Y = tt({
2758
2779
  showSupportingText: W,
2759
2780
  isFocused: N,
2760
- showErrorIcon: $,
2781
+ showErrorIcon: M,
2761
2782
  disabled: t,
2762
2783
  name: c,
2763
2784
  label: i,
@@ -2765,7 +2786,7 @@ const jt = ({
2765
2786
  className: s,
2766
2787
  onChange: y,
2767
2788
  placeholder: l,
2768
- supportingText: f,
2789
+ supportingText: u,
2769
2790
  type: m,
2770
2791
  leadingIcon: p,
2771
2792
  trailingIcon: a,
@@ -2775,24 +2796,24 @@ const jt = ({
2775
2796
  suffix: r,
2776
2797
  textLine: o
2777
2798
  }), [z] = S(ie());
2778
- let b, w;
2799
+ let b, x;
2779
2800
  switch (o) {
2780
2801
  case "multiLine":
2781
- w = Ve, b = {};
2802
+ x = Ve, b = {};
2782
2803
  break;
2783
2804
  case "textAreas":
2784
- w = "textarea", b = {};
2805
+ x = "textarea", b = {};
2785
2806
  break;
2786
2807
  case "singleLine":
2787
2808
  default:
2788
- w = "input", b = { type: m };
2809
+ x = "input", b = { type: m };
2789
2810
  break;
2790
2811
  }
2791
- return /* @__PURE__ */ V("div", { className: Y.textField, ...E, children: [
2792
- /* @__PURE__ */ V("fieldset", { onClick: C, className: Y.content, children: [
2793
- /* @__PURE__ */ u("div", { className: Y.stateLayer }),
2794
- p && /* @__PURE__ */ u("div", { className: Y.leadingIcon, children: K.isValidElement(p) ? p : /* @__PURE__ */ u(Z, { className: "w-5 h-5", icon: p }) }),
2795
- !(!N && !L.length || e == "filled") && /* @__PURE__ */ u(
2812
+ return /* @__PURE__ */ A("div", { className: Y.textField, ...E, children: [
2813
+ /* @__PURE__ */ A("fieldset", { onClick: C, className: Y.content, children: [
2814
+ /* @__PURE__ */ f("div", { className: Y.stateLayer }),
2815
+ p && /* @__PURE__ */ f("div", { className: Y.leadingIcon, children: K.isValidElement(p) ? p : /* @__PURE__ */ f(Z, { className: "w-5 h-5", icon: p }) }),
2816
+ !(!N && !L.length || e == "filled") && /* @__PURE__ */ f(
2796
2817
  F.legend,
2797
2818
  {
2798
2819
  variants: {
@@ -2803,7 +2824,7 @@ const jt = ({
2803
2824
  animate: !N && !L.length ? "hidden" : "visible",
2804
2825
  className: "max-w-full ml-2 px-2 text-body-small h-0",
2805
2826
  transition: { duration: 0.2 },
2806
- children: /* @__PURE__ */ u("span", { className: "transform inline-flex -translate-y-1/2", children: /* @__PURE__ */ u(
2827
+ children: /* @__PURE__ */ f("span", { className: "transform inline-flex -translate-y-1/2", children: /* @__PURE__ */ f(
2807
2828
  F.span,
2808
2829
  {
2809
2830
  className: Y.label,
@@ -2814,8 +2835,8 @@ const jt = ({
2814
2835
  ) })
2815
2836
  }
2816
2837
  ),
2817
- /* @__PURE__ */ V("div", { className: "flex-1 relative", children: [
2818
- (!N && !L.length || e == "filled") && /* @__PURE__ */ u(
2838
+ /* @__PURE__ */ A("div", { className: "flex-1 relative", children: [
2839
+ (!N && !L.length || e == "filled") && /* @__PURE__ */ f(
2819
2840
  F.label,
2820
2841
  {
2821
2842
  htmlFor: c,
@@ -2827,7 +2848,7 @@ const jt = ({
2827
2848
  }
2828
2849
  ),
2829
2850
  transition: { duration: 0.3 },
2830
- children: /* @__PURE__ */ u(
2851
+ children: /* @__PURE__ */ f(
2831
2852
  F.span,
2832
2853
  {
2833
2854
  className: Y.label,
@@ -2838,8 +2859,8 @@ const jt = ({
2838
2859
  )
2839
2860
  }
2840
2861
  ),
2841
- /* @__PURE__ */ u(
2842
- w,
2862
+ /* @__PURE__ */ f(
2863
+ x,
2843
2864
  {
2844
2865
  ref: g,
2845
2866
  value: L,
@@ -2858,39 +2879,39 @@ const jt = ({
2858
2879
  }
2859
2880
  )
2860
2881
  ] }),
2861
- /* @__PURE__ */ u("div", { className: Y.activeIndicator }),
2862
- !$ && /* @__PURE__ */ V(te, { children: [
2863
- a && /* @__PURE__ */ u(
2882
+ /* @__PURE__ */ f("div", { className: Y.activeIndicator }),
2883
+ !M && /* @__PURE__ */ A(te, { children: [
2884
+ a && /* @__PURE__ */ f(
2864
2885
  "div",
2865
2886
  {
2866
2887
  onClick: (P) => {
2867
2888
  P.stopPropagation();
2868
2889
  },
2869
2890
  className: Y.trailingIcon,
2870
- children: K.isValidElement(a) ? a : /* @__PURE__ */ u(Z, { className: "h-5", icon: a })
2891
+ children: K.isValidElement(a) ? a : /* @__PURE__ */ f(Z, { className: "h-5", icon: a })
2871
2892
  }
2872
2893
  ),
2873
- !a && r && /* @__PURE__ */ u("span", { className: Y.suffix, children: r })
2894
+ !a && r && /* @__PURE__ */ f("span", { className: Y.suffix, children: r })
2874
2895
  ] }),
2875
- $ && /* @__PURE__ */ u(
2896
+ M && /* @__PURE__ */ f(
2876
2897
  "div",
2877
2898
  {
2878
2899
  className: h(Y.trailingIcon, {
2879
2900
  " absolute right-0": !a
2880
2901
  }),
2881
- children: /* @__PURE__ */ u(
2902
+ children: /* @__PURE__ */ f(
2882
2903
  Z,
2883
2904
  {
2884
2905
  className: "h-5 text-error",
2885
- icon: xt
2906
+ icon: Lt
2886
2907
  }
2887
2908
  )
2888
2909
  }
2889
2910
  )
2890
2911
  ] }),
2891
- W && /* @__PURE__ */ u("p", { className: Y.supportingText, children: n != null && n.length ? n : f != null && f.length ? f : " " })
2912
+ W && /* @__PURE__ */ f("p", { className: Y.supportingText, children: n != null && n.length ? n : u != null && u.length ? u : " " })
2892
2913
  ] });
2893
- }, Lt = j(
2914
+ }, It = j(
2894
2915
  "navigationRailItem",
2895
2916
  ({ isSelected: e, icon: t, label: n, variant: l }) => ({
2896
2917
  navigationRailItem: h(
@@ -2931,7 +2952,7 @@ const jt = ({
2931
2952
  "text-label-medium": l == "vertical"
2932
2953
  })
2933
2954
  })
2934
- ), Nt = ({ label: e }) => /* @__PURE__ */ u("div", { className: " h-9 flex items-center mx-9 mt-3", children: /* @__PURE__ */ u("p", { className: "text-label-large text-on-surface-variant", children: e }) }), Et = ({
2955
+ ), kt = ({ label: e }) => /* @__PURE__ */ f("div", { className: " h-9 flex items-center mx-9 mt-3", children: /* @__PURE__ */ f("p", { className: "text-label-large text-on-surface-variant", children: e }) }), St = ({
2935
2956
  className: e,
2936
2957
  onClick: t,
2937
2958
  label: n,
@@ -2940,7 +2961,7 @@ const jt = ({
2940
2961
  icon: c,
2941
2962
  selectedItem: i,
2942
2963
  setSelectedItem: s,
2943
- index: f,
2964
+ index: u,
2944
2965
  onItemSelected: a,
2945
2966
  selected: p = !1,
2946
2967
  ref: m,
@@ -2948,31 +2969,31 @@ const jt = ({
2948
2969
  isExtended: d,
2949
2970
  iconSelected: y,
2950
2971
  style: v,
2951
- extendedOnly: x,
2972
+ extendedOnly: w,
2952
2973
  children: E,
2953
2974
  ...L
2954
2975
  }) => {
2955
2976
  E && (n = E);
2956
- const B = D(null), N = m || B, [I, $] = S(p);
2977
+ const B = D(null), N = m || B, [I, M] = S(p);
2957
2978
  R(() => {
2958
- p && i == null ? $(!0) : $(i == f && f != null);
2979
+ p && i == null ? M(!0) : M(i == u && u != null);
2959
2980
  }, [i]), R(() => {
2960
- i == f && a && a({
2981
+ i == u && a && a({
2961
2982
  ref: N,
2962
- index: f || 0,
2983
+ index: u || 0,
2963
2984
  label: n,
2964
2985
  icon: c
2965
2986
  });
2966
2987
  }, [i]);
2967
- const A = r ? "a" : "button", W = (g) => {
2968
- s && s(f ?? null), t && t(g);
2969
- }, k = Lt({
2988
+ const V = r ? "a" : "button", W = (g) => {
2989
+ s && s(u ?? null), t && t(g);
2990
+ }, k = It({
2970
2991
  isExtended: d,
2971
- extendedOnly: x,
2992
+ extendedOnly: w,
2972
2993
  className: e,
2973
2994
  onItemSelected: a,
2974
2995
  selectedItem: i,
2975
- index: f,
2996
+ index: u,
2976
2997
  transition: o,
2977
2998
  selected: I,
2978
2999
  variant: l,
@@ -2984,11 +3005,11 @@ const jt = ({
2984
3005
  children: n,
2985
3006
  iconSelected: y
2986
3007
  });
2987
- return o = { duration: 0.3, ...o }, x && !d ? null : (
3008
+ return o = { duration: 0.3, ...o }, w && !d ? null : (
2988
3009
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2989
3010
  // @ts-expect-error
2990
- /* @__PURE__ */ V(
2991
- A,
3011
+ /* @__PURE__ */ A(
3012
+ V,
2992
3013
  {
2993
3014
  ...L,
2994
3015
  role: "tab",
@@ -2999,7 +3020,7 @@ const jt = ({
2999
3020
  onClick: W,
3000
3021
  style: { transition: o.duration + "s", ...v },
3001
3022
  children: [
3002
- /* @__PURE__ */ V(
3023
+ /* @__PURE__ */ A(
3003
3024
  F.div,
3004
3025
  {
3005
3026
  style: {
@@ -3008,15 +3029,15 @@ const jt = ({
3008
3029
  transition: o,
3009
3030
  className: k.container,
3010
3031
  children: [
3011
- /* @__PURE__ */ u(F.div, { layout: !0, className: k.stateLayer }),
3012
- c && /* @__PURE__ */ u(
3032
+ /* @__PURE__ */ f(F.div, { layout: !0, className: k.stateLayer }),
3033
+ c && /* @__PURE__ */ f(
3013
3034
  Z,
3014
3035
  {
3015
3036
  icon: I ? y : c,
3016
3037
  className: k.icon
3017
3038
  }
3018
3039
  ),
3019
- /* @__PURE__ */ u(Q, { children: l == "horizontal" && (() => {
3040
+ /* @__PURE__ */ f(Q, { children: l == "horizontal" && (() => {
3020
3041
  const g = {
3021
3042
  width: 0,
3022
3043
  opacity: 0,
@@ -3034,7 +3055,7 @@ const jt = ({
3034
3055
  }
3035
3056
  }
3036
3057
  };
3037
- return /* @__PURE__ */ u(
3058
+ return /* @__PURE__ */ f(
3038
3059
  F.span,
3039
3060
  {
3040
3061
  initial: g,
@@ -3048,7 +3069,7 @@ const jt = ({
3048
3069
  ]
3049
3070
  }
3050
3071
  ),
3051
- /* @__PURE__ */ u(Q, { children: l == "vertical" && (() => {
3072
+ /* @__PURE__ */ f(Q, { children: l == "vertical" && (() => {
3052
3073
  const g = {
3053
3074
  height: 0,
3054
3075
  opacity: 0,
@@ -3069,7 +3090,7 @@ const jt = ({
3069
3090
  }
3070
3091
  }
3071
3092
  };
3072
- return /* @__PURE__ */ u(
3093
+ return /* @__PURE__ */ f(
3073
3094
  F.span,
3074
3095
  {
3075
3096
  initial: C,
@@ -3085,7 +3106,7 @@ const jt = ({
3085
3106
  }
3086
3107
  )
3087
3108
  );
3088
- }, It = j(
3109
+ }, $t = j(
3089
3110
  "navigationRail",
3090
3111
  ({ isExtended: e, alignment: t }) => ({
3091
3112
  navigationRail: h("flex flex-col left-0 h-full top-0 pt-11", {
@@ -3101,7 +3122,7 @@ const jt = ({
3101
3122
  "w-fit items-start": e
3102
3123
  })
3103
3124
  })
3104
- ), Jt = ({
3125
+ ), zt = ({
3105
3126
  variant: e = "standard",
3106
3127
  onItemSelected: t,
3107
3128
  children: n,
@@ -3111,7 +3132,7 @@ const jt = ({
3111
3132
  alignment: i = "top",
3112
3133
  menu: s = {
3113
3134
  closed: {
3114
- icon: wt,
3135
+ icon: Nt,
3115
3136
  label: "Open menu"
3116
3137
  },
3117
3138
  opened: {
@@ -3119,29 +3140,29 @@ const jt = ({
3119
3140
  label: "Close menu"
3120
3141
  }
3121
3142
  },
3122
- style: f,
3143
+ style: u,
3123
3144
  onExtendedChange: a,
3124
3145
  transition: p,
3125
3146
  setSelectedItem: m
3126
3147
  }) => {
3127
3148
  const [o, d] = S(null), [y, v] = S(c);
3128
- let x;
3129
- r == 0 || r != null ? x = r : x = o;
3149
+ let w;
3150
+ r == 0 || r != null ? w = r : w = o;
3130
3151
  const E = m || d, L = D(null), B = (k) => {
3131
3152
  t == null || t(k);
3132
3153
  };
3133
3154
  function N(k) {
3134
3155
  const g = [];
3135
- return ke.forEach(k, (C) => {
3136
- ee(C) && C.type === Se ? g.push(...N(C.props.children)) : g.push(C);
3156
+ return Se.forEach(k, (C) => {
3157
+ ee(C) && C.type === $e ? g.push(...N(C.props.children)) : g.push(C);
3137
3158
  }), g;
3138
3159
  }
3139
- const I = N(n), $ = I.filter(
3140
- (k) => ee(k) && k.type === ye
3141
- ), A = It({
3160
+ const I = N(n), M = I.filter(
3161
+ (k) => ee(k) && k.type === ge
3162
+ ), V = $t({
3142
3163
  children: n,
3143
3164
  onItemSelected: t,
3144
- selectedItem: x,
3165
+ selectedItem: w,
3145
3166
  setSelectedItem: E,
3146
3167
  className: l,
3147
3168
  variant: e,
@@ -3156,109 +3177,109 @@ const jt = ({
3156
3177
  const W = D(!1);
3157
3178
  return W.current = !1, R(() => {
3158
3179
  a == null || a(y ?? !1);
3159
- }, [y]), /* @__PURE__ */ V(
3180
+ }, [y]), /* @__PURE__ */ A(
3160
3181
  "div",
3161
3182
  {
3162
- style: { transition: p.duration + "s", ...f },
3183
+ style: { transition: p.duration + "s", ...u },
3163
3184
  ref: L,
3164
- className: A.navigationRail,
3185
+ className: V.navigationRail,
3165
3186
  children: [
3166
- /* @__PURE__ */ V("div", { className: A.header, children: [
3167
- /* @__PURE__ */ u(
3187
+ /* @__PURE__ */ A("div", { className: V.header, children: [
3188
+ /* @__PURE__ */ f(
3168
3189
  ue,
3169
3190
  {
3170
3191
  onClick: () => v(!y),
3171
3192
  label: y ? s == null ? void 0 : s.opened.label : s == null ? void 0 : s.closed.label,
3172
- className: A.menuIcon,
3193
+ className: V.menuIcon,
3173
3194
  icon: y ? s.opened.icon : s == null ? void 0 : s.closed.icon
3174
3195
  }
3175
3196
  ),
3176
- $.length > 0 && oe($[0], {
3197
+ M.length > 0 && oe(M[0], {
3177
3198
  transition: p,
3178
3199
  isExtended: y,
3179
- className: "!shadow-none mx-5 " + $[0].props.className
3200
+ className: "!shadow-none mx-5 " + M[0].props.className
3180
3201
  })
3181
3202
  ] }),
3182
- /* @__PURE__ */ u("div", { className: A.segments, children: (() => {
3203
+ /* @__PURE__ */ f("div", { className: V.segments, children: (() => {
3183
3204
  let k = 0;
3184
- return I.map((g) => ee(g) && g.type === Et ? oe(
3205
+ return I.map((g) => ee(g) && g.type === St ? oe(
3185
3206
  g,
3186
3207
  {
3187
3208
  key: k,
3188
3209
  index: k++,
3189
3210
  // Utilise et incrémente le compteur dédié
3190
3211
  variant: y ? "horizontal" : "vertical",
3191
- selectedItem: x,
3212
+ selectedItem: w,
3192
3213
  setSelectedItem: E,
3193
3214
  onItemSelected: B,
3194
3215
  transition: p,
3195
3216
  extendedOnly: W.current,
3196
3217
  isExtended: y
3197
3218
  }
3198
- ) : ee(g) && g.type === ye ? null : ee(g) && g.type === Nt ? (W.current = !0, y ? oe(g, {}) : null) : g);
3219
+ ) : ee(g) && g.type === ge ? null : ee(g) && g.type === kt ? (W.current = !0, y ? oe(g, {}) : null) : g);
3199
3220
  })() }),
3200
- /* @__PURE__ */ u("div", { className: "flex-1 max-h-[160px]" })
3221
+ /* @__PURE__ */ f("div", { className: "flex-1 max-h-[160px]" })
3201
3222
  ]
3202
3223
  }
3203
3224
  );
3204
3225
  };
3205
- function Zt(e) {
3206
- return De({
3207
- variant: Pe.Fidelity,
3226
+ function Tt(e) {
3227
+ return We({
3228
+ variant: Ae.Fidelity,
3208
3229
  ...e,
3209
- plugins: [new We(e), new we(e)]
3230
+ plugins: [new Pe(e), new be(e)]
3210
3231
  });
3211
3232
  }
3212
3233
  export {
3213
- Ht as AnimateOnScrollInit,
3214
- dt as Button,
3215
- Ot as Card,
3216
- Xt as Carousel,
3217
- mt as CarouselItem,
3218
- ot as CustomScroll,
3219
- ht as Divider,
3220
- ye as Fab,
3234
+ Xt as AnimateOnScrollInit,
3235
+ ht as Button,
3236
+ jt as Card,
3237
+ qt as Carousel,
3238
+ yt as CarouselItem,
3239
+ lt as CustomScroll,
3240
+ gt as Divider,
3241
+ ge as Fab,
3221
3242
  Z as Icon,
3222
3243
  ue as IconButton,
3223
- Jt as NavigationRail,
3224
- Et as NavigationRailItem,
3225
- Nt as NavigationRailSection,
3226
- nt as ProgressIndicator,
3244
+ zt as NavigationRail,
3245
+ St as NavigationRailItem,
3246
+ kt as NavigationRailSection,
3247
+ rt as ProgressIndicator,
3227
3248
  re as RippleEffect,
3228
- jt as SideSheet,
3229
- Yt as Slider,
3230
- At as SmoothScroll,
3231
- qt as Snackbar,
3232
- _t as Switch,
3233
- at as SyncedFixedWrapper,
3234
- bt as Tab,
3235
- Kt as Tabs,
3236
- Gt as TextField,
3237
- Ft as ThemeProvider,
3238
- Ne as ToolTip,
3239
- Ut as animateOnScroll,
3249
+ Kt as SideSheet,
3250
+ _t as Slider,
3251
+ Ot as SmoothScroll,
3252
+ Gt as Snackbar,
3253
+ Jt as Switch,
3254
+ st as SyncedFixedWrapper,
3255
+ Et as Tab,
3256
+ Zt as Tabs,
3257
+ Qt as TextField,
3258
+ Ut as ThemeProvider,
3259
+ Ee as ToolTip,
3260
+ Yt as animateOnScroll,
3240
3261
  Ue as buttonStyle,
3241
- Oe as cardStyle,
3242
- Xe as carouselItemStyle,
3243
- Ye as carouselStyle,
3262
+ Xe as cardStyle,
3263
+ Ye as carouselItemStyle,
3264
+ je as carouselStyle,
3244
3265
  h as classNames,
3245
- Ae as classnames,
3246
- rt as customScrollStyle,
3266
+ Fe as classnames,
3267
+ ot as customScrollStyle,
3247
3268
  j as defaultClassNames,
3248
- Zt as defineConfig,
3249
- je as dividerStyle,
3250
- qe as fabStyle,
3251
- He as getClassNames,
3252
- _e as iconButtonStyle,
3253
- Le as initAnimateOnScroll,
3254
- ft as normalize,
3255
- Ke as progressIndicatorStyle,
3256
- Ge as sideSheetStyle,
3257
- Je as sliderStyle,
3258
- Ze as snackbarStyle,
3259
- Qe as switchStyle,
3260
- ze as tabStyle,
3261
- Te as tabsStyle,
3262
- et as textFieldStyle,
3263
- tt as toolStyle
3269
+ Tt as defineConfig,
3270
+ qe as dividerStyle,
3271
+ _e as fabStyle,
3272
+ Oe as getClassNames,
3273
+ Ke as iconButtonStyle,
3274
+ Ne as initAnimateOnScroll,
3275
+ pt as normalize,
3276
+ Ge as progressIndicatorStyle,
3277
+ Je as sideSheetStyle,
3278
+ Ze as sliderStyle,
3279
+ Qe as snackbarStyle,
3280
+ ze as switchStyle,
3281
+ Te as tabStyle,
3282
+ et as tabsStyle,
3283
+ tt as textFieldStyle,
3284
+ nt as toolStyle
3264
3285
  };