prisma-goat 0.7.1 → 0.7.2

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.
@@ -91,18 +91,18 @@ function St(A) {
91
91
  attr: M,
92
92
  size: D,
93
93
  title: t
94
- } = A, e = bt(A, Ft), Q = D || B.size || "1em", w;
95
- return B.className && (w = B.className), A.className && (w = (w ? w + " " : "") + A.className), /* @__PURE__ */ _.createElement("svg", Zg({
94
+ } = A, e = bt(A, Ft), w = D || B.size || "1em", Q;
95
+ return B.className && (Q = B.className), A.className && (Q = (Q ? Q + " " : "") + A.className), /* @__PURE__ */ _.createElement("svg", Zg({
96
96
  stroke: "currentColor",
97
97
  fill: "currentColor",
98
98
  strokeWidth: "0"
99
99
  }, B.attr, M, e, {
100
- className: w,
100
+ className: Q,
101
101
  style: Vg(Vg({
102
102
  color: A.color || B.color
103
103
  }, B.style), A.style),
104
- height: Q,
105
- width: Q,
104
+ height: w,
105
+ width: w,
106
106
  xmlns: "http://www.w3.org/2000/svg"
107
107
  }), t && /* @__PURE__ */ _.createElement("title", null, t), A.children);
108
108
  };
@@ -220,8 +220,8 @@ const wg = N(
220
220
  loadingPosition: D = "left",
221
221
  disabled: t = !1,
222
222
  isSubmit: e = !1,
223
- icon: Q,
224
- iconPosition: w = "left",
223
+ icon: w,
224
+ iconPosition: Q = "left",
225
225
  iconType: C,
226
226
  label: s,
227
227
  className: o,
@@ -257,7 +257,7 @@ const wg = N(
257
257
  g === "secondary" ? "border-[#1F2937]" : "border-white"
258
258
  )
259
259
  }
260
- ), Z = () => _.isValidElement(Q) ? _.cloneElement(Q, { className: "w-5 h-5" }) : c(), a = s || A;
260
+ ), Z = () => _.isValidElement(w) ? _.cloneElement(w, { className: "w-5 h-5" }) : c(), a = s || A;
261
261
  return O(() => {
262
262
  const u = (k) => {
263
263
  if (e && k.key === "Enter" && !t && I) {
@@ -292,9 +292,9 @@ const wg = N(
292
292
  ...n,
293
293
  children: [
294
294
  M && D === "left" && /* @__PURE__ */ i("span", { className: "mr-2", children: U }),
295
- w === "left" && /* @__PURE__ */ i("span", { className: "mr-2", children: Z() }),
295
+ Q === "left" && /* @__PURE__ */ i("span", { className: "mr-2", children: Z() }),
296
296
  a,
297
- w === "right" && /* @__PURE__ */ i("span", { className: "ml-2", children: Z() }),
297
+ Q === "right" && /* @__PURE__ */ i("span", { className: "ml-2", children: Z() }),
298
298
  M && D === "right" && /* @__PURE__ */ i("span", { className: "ml-2", children: U })
299
299
  ]
300
300
  }
@@ -383,7 +383,7 @@ const iA = {
383
383
  strokeWidth: D = "10",
384
384
  ...t
385
385
  }, e) => {
386
- const Q = {
386
+ const w = {
387
387
  primary: "#1F2937",
388
388
  secondary: "#ededed",
389
389
  vividPink: "#ff0145",
@@ -392,7 +392,7 @@ const iA = {
392
392
  danger: "#b91c1c",
393
393
  warning: "#f59e0b",
394
394
  success: "#047857"
395
- }, w = {
395
+ }, Q = {
396
396
  black: "bg-black",
397
397
  white: "bg-white"
398
398
  }, C = {
@@ -417,7 +417,7 @@ const iA = {
417
417
  {
418
418
  ref: e,
419
419
  ...t,
420
- className: `fixed flex justify-center items-center top-0 left-0 right-0 bottom-0 ${w[g]} bg-opacity-60 z-[1201]`,
420
+ className: `fixed flex justify-center items-center top-0 left-0 right-0 bottom-0 ${Q[g]} bg-opacity-60 z-[1201]`,
421
421
  children: [
422
422
  /* @__PURE__ */ i(
423
423
  "svg",
@@ -434,7 +434,7 @@ const iA = {
434
434
  cy: "55",
435
435
  r: "45",
436
436
  fill: "none",
437
- stroke: Q[A],
437
+ stroke: w[A],
438
438
  strokeWidth: s[D],
439
439
  strokeDasharray: "314",
440
440
  strokeDashoffset: "314",
@@ -538,8 +538,8 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
538
538
  listMenu: D = [],
539
539
  logo: t,
540
540
  heightLogo: e,
541
- widthLogo: Q,
542
- activeRoute: w,
541
+ widthLogo: w,
542
+ activeRoute: Q,
543
543
  router: C,
544
544
  toggleTheme: s,
545
545
  toggeInstallApp: o,
@@ -599,8 +599,8 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
599
599
  "img",
600
600
  {
601
601
  alt: "logo",
602
- className: "block w-auto lg:hidden",
603
- style: { height: e && e.trim() !== "" ? e : "40px", width: Q && Q.trim() !== "" ? Q : "65px" },
602
+ className: `${k ? "hidden" : "block"}`,
603
+ style: { height: e && e.trim() !== "" ? e : "40px", width: w && w.trim() !== "" ? w : "65px" },
604
604
  src: t && t.trim() !== "" ? t : g === "secondary" ? pA : Qg
605
605
  }
606
606
  ),
@@ -608,8 +608,8 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
608
608
  "img",
609
609
  {
610
610
  alt: "logo",
611
- className: "hidden lg:block",
612
- style: { height: e && e.trim() !== "" ? e : "40px", width: Q && Q.trim() !== "" ? Q : "65px" },
611
+ className: `${k ? "block" : "hidden"}`,
612
+ style: { height: e && e.trim() !== "" ? e : "40px", width: w && w.trim() !== "" ? w : "65px" },
613
613
  src: t && t.trim() !== "" ? t : g === "secondary" ? pA : Qg
614
614
  }
615
615
  ),
@@ -625,11 +625,11 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
625
625
  type: "button",
626
626
  className: R(
627
627
  "flex items-center justify-center px-4 py-2 text-sm cursor-pointer rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2",
628
- w === m.link || (tA = m.subItems) != null && tA.some((W) => W.link === w) ? eA[g] : "",
628
+ Q === m.link || (tA = m.subItems) != null && tA.some((W) => W.link === Q) ? eA[g] : "",
629
629
  T[g],
630
630
  QA[g],
631
- w === m.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
632
- w === m.link ? "font-semibold" : "font-normal"
631
+ Q === m.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
632
+ Q === m.link ? "font-semibold" : "font-normal"
633
633
  ),
634
634
  onClick: () => Hg(m, p),
635
635
  onMouseEnter: () => F(p),
@@ -670,9 +670,9 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
670
670
  className: R(
671
671
  `block px-4 py-2 text-sm cursor-pointer ${iA[g]}e`,
672
672
  T[g] && `${T[g]}`,
673
- w === W.link ? eA[g] : "",
674
- w === W.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
675
- w === W.link ? "font-semibold" : "font-normal"
673
+ Q === W.link ? eA[g] : "",
674
+ Q === W.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
675
+ Q === W.link ? "font-semibold" : "font-normal"
676
676
  ),
677
677
  onClick: () => WA(W, p),
678
678
  children: W.label
@@ -731,9 +731,9 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
731
731
  className: R(
732
732
  "block px-4 py-2 text-sm cursor-pointer",
733
733
  T[g] && `${T[g]}`,
734
- w === m.link ? eA[g] : "",
735
- w === m.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
736
- w === m.link ? "font-semibold" : "font-normal"
734
+ Q === m.link ? eA[g] : "",
735
+ Q === m.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
736
+ Q === m.link ? "font-semibold" : "font-normal"
737
737
  ),
738
738
  onClick: m.label === "Cerrar sesion" ? I : () => {
739
739
  q(m);
@@ -753,9 +753,9 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
753
753
  `items-center justify-center px-4 py-2 text-sm
754
754
  ${T[g]}
755
755
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${QA[g]} focus:ring-offset-2`,
756
- w === "/login" ? eA[g] : "",
757
- w === "/login" ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
758
- w === "/login" ? "font-semibold" : "font-normal"
756
+ Q === "/login" ? eA[g] : "",
757
+ Q === "/login" ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
758
+ Q === "/login" ? "font-semibold" : "font-normal"
759
759
  ),
760
760
  onClick: () => {
761
761
  C.push("/login"), hA();
@@ -775,9 +775,9 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
775
775
  className: R(
776
776
  `block w-full px-4 py-2 text-base ${T[g]}
777
777
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${QA[g]} focus:ring-offset-2 text-left`,
778
- w === m.link || (tA = m.subItems) != null && tA.some((W) => W.link === w) ? eA[g] : "",
779
- w === m.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
780
- w === m.link ? "font-semibold" : "font-normal"
778
+ Q === m.link || (tA = m.subItems) != null && tA.some((W) => W.link === Q) ? eA[g] : "",
779
+ Q === m.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
780
+ Q === m.link ? "font-semibold" : "font-normal"
781
781
  ),
782
782
  onClick: () => {
783
783
  ag(m, p);
@@ -791,9 +791,9 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
791
791
  className: R(
792
792
  `block w-full px-4 py-1 text-sm ${T[g]}
793
793
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${QA[g]} focus:ring-offset-2 text-left`,
794
- w === W.link ? eA[g] : "",
795
- w === W.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
796
- w === W.link ? "font-semibold" : "font-normal"
794
+ Q === W.link ? eA[g] : "",
795
+ Q === W.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
796
+ Q === W.link ? "font-semibold" : "font-normal"
797
797
  ),
798
798
  onClick: () => {
799
799
  WA(m, p), Y(!1);
@@ -843,9 +843,9 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
843
843
  className: R(
844
844
  `block w-full px-4 py-2 text-base ${T[g]}
845
845
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${QA[g]} focus:ring-offset-2 text-left`,
846
- w === m.link ? eA[g] : "",
847
- w === m.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
848
- w === m.link ? "font-semibold" : "font-normal"
846
+ Q === m.link ? eA[g] : "",
847
+ Q === m.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
848
+ Q === m.link ? "font-semibold" : "font-normal"
849
849
  ),
850
850
  onClick: m.label === "Cerrar sesion" ? I : () => P(m),
851
851
  children: m.label
@@ -859,9 +859,9 @@ const pA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
859
859
  className: R(
860
860
  `block w-full px-4 py-2 text-base ${T[g]}
861
861
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${QA[g]} focus:ring-offset-2 text-left`,
862
- w === "/login" ? eA[g] : "",
863
- w === "/login" ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
864
- w === "/login" ? "font-semibold" : "font-normal"
862
+ Q === "/login" ? eA[g] : "",
863
+ Q === "/login" ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
864
+ Q === "/login" ? "font-semibold" : "font-normal"
865
865
  ),
866
866
  onClick: () => {
867
867
  C.push("/login"), Y(!1);
@@ -893,7 +893,7 @@ const Cw = N(
893
893
  height: D = "",
894
894
  ...t
895
895
  }, e) => {
896
- const Q = {
896
+ const w = {
897
897
  primary: "#1F2937",
898
898
  secondary: "#ededed",
899
899
  vividPink: "#ff0145",
@@ -902,7 +902,7 @@ const Cw = N(
902
902
  danger: "#b91c1c",
903
903
  warning: "#f59e0b",
904
904
  success: "#047857"
905
- }, w = {
905
+ }, Q = {
906
906
  logoRed: $D,
907
907
  logoBlack: FB,
908
908
  logo6: _D,
@@ -949,7 +949,7 @@ const Cw = N(
949
949
  cy: "55",
950
950
  r: "45",
951
951
  fill: "none",
952
- stroke: Q[A],
952
+ stroke: w[A],
953
953
  strokeWidth: C[M],
954
954
  strokeDasharray: "314",
955
955
  strokeDashoffset: "314",
@@ -968,7 +968,7 @@ const Cw = N(
968
968
  style: {
969
969
  animation: "blink 1s ease-in-out infinite"
970
970
  },
971
- children: /* @__PURE__ */ i("div", { className: "ml-1", children: /* @__PURE__ */ i("img", { src: B && B.trim() !== "" ? B : w[g], alt: "logo" }) })
971
+ children: /* @__PURE__ */ i("div", { className: "ml-1", children: /* @__PURE__ */ i("img", { src: B && B.trim() !== "" ? B : Q[g], alt: "logo" }) })
972
972
  }
973
973
  )
974
974
  ]
@@ -986,8 +986,8 @@ const iw = N(
986
986
  logo: D,
987
987
  heightLogo: t,
988
988
  widthLogo: e,
989
- activeRoute: Q,
990
- router: w,
989
+ activeRoute: w,
990
+ router: Q,
991
991
  user: C,
992
992
  theme: s,
993
993
  InstallApp: o,
@@ -1005,24 +1005,24 @@ const iw = N(
1005
1005
  const [u, k] = h(!0), [V, Y] = h(null), [d, b] = h(!1), [CA, yA] = h(null), [UA, ZA] = h(!1), Gg = AA(null), F = () => b(!d), x = () => b(!1), VA = () => {
1006
1006
  k((q) => !q);
1007
1007
  }, aA = (q, P) => {
1008
- q.subItems && q.subItems.length > 0 ? Y((EA) => EA === P ? -1 : P) : q.link && w && w.push(q.link);
1008
+ q.subItems && q.subItems.length > 0 ? Y((EA) => EA === P ? -1 : P) : q.link && Q && Q.push(q.link);
1009
1009
  }, hA = (q, P) => {
1010
- Y((EA) => EA === P ? -1 : P), q.link && w && w.push(q.link);
1010
+ Y((EA) => EA === P ? -1 : P), q.link && Q && Q.push(q.link);
1011
1011
  }, Hg = (q) => {
1012
- q.link && w && (w.push(q.link), x());
1012
+ q.link && Q && (Q.push(q.link), x());
1013
1013
  };
1014
1014
  return O(() => {
1015
- if (typeof window < "u" && (w != null && w.events)) {
1015
+ if (typeof window < "u" && (Q != null && Q.events)) {
1016
1016
  const q = () => {
1017
1017
  ZA(!0);
1018
1018
  }, P = () => {
1019
1019
  ZA(!1);
1020
1020
  };
1021
- return w.events.on("routeChangeStart", q), w.events.on("routeChangeComplete", P), w.events.on("routeChangeError", P), () => {
1022
- w.events.off("routeChangeStart", q), w.events.off("routeChangeComplete", P), w.events.off("routeChangeError", P);
1021
+ return Q.events.on("routeChangeStart", q), Q.events.on("routeChangeComplete", P), Q.events.on("routeChangeError", P), () => {
1022
+ Q.events.off("routeChangeStart", q), Q.events.off("routeChangeComplete", P), Q.events.off("routeChangeError", P);
1023
1023
  };
1024
1024
  }
1025
- }, [w]), /* @__PURE__ */ y(
1025
+ }, [Q]), /* @__PURE__ */ y(
1026
1026
  "div",
1027
1027
  {
1028
1028
  ref: a,
@@ -1075,9 +1075,9 @@ const iw = N(
1075
1075
  `flex items-center justify-start w-full ${u ? "px-4" : ""} ${u ? "py-2" : ""} text-sm cursor-pointer rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2`,
1076
1076
  T[B],
1077
1077
  QA[B],
1078
- Q === q.link || (EA = q.subItems) != null && EA.some((H) => H.link === Q) ? eA[B] : "",
1079
- Q === q.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" ? "text-white" : "text-custom-blue",
1080
- Q === q.link ? "font-semibold" : "font-normal"
1078
+ w === q.link || (EA = q.subItems) != null && EA.some((H) => H.link === w) ? eA[B] : "",
1079
+ w === q.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" ? "text-white" : "text-custom-blue",
1080
+ w === q.link ? "font-semibold" : "font-normal"
1081
1081
  ),
1082
1082
  onClick: () => {
1083
1083
  aA(q, P);
@@ -1136,9 +1136,9 @@ const iw = N(
1136
1136
  className: R(
1137
1137
  `block w-full px-4 py-1 text-sm ${T[B]}
1138
1138
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${QA[B]} focus:ring-offset-2 text-left`,
1139
- Q === H.link ? eA[B] : "",
1140
- Q === H.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" ? "text-white" : "text-custom-blue",
1141
- Q === H.link ? "font-semibold" : "font-normal"
1139
+ w === H.link ? eA[B] : "",
1140
+ w === H.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" ? "text-white" : "text-custom-blue",
1141
+ w === H.link ? "font-semibold" : "font-normal"
1142
1142
  ),
1143
1143
  onClick: () => {
1144
1144
  hA(H, P);
@@ -1158,9 +1158,9 @@ const iw = N(
1158
1158
  className: R(
1159
1159
  `block px-4 py-2 text-sm cursor-pointer ${iA[B]}e`,
1160
1160
  T[B] && `${T[B]}`,
1161
- Q === H.link ? eA[B] : "",
1162
- Q === H.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" ? "text-white" : "text-custom-blue",
1163
- Q === H.link ? "font-semibold" : "font-normal"
1161
+ w === H.link ? eA[B] : "",
1162
+ w === H.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" ? "text-white" : "text-custom-blue",
1163
+ w === H.link ? "font-semibold" : "font-normal"
1164
1164
  ),
1165
1165
  onClick: () => {
1166
1166
  hA(H, P);
@@ -1216,9 +1216,9 @@ const iw = N(
1216
1216
  className: R(
1217
1217
  "block px-4 py-2 text-sm cursor-pointer",
1218
1218
  T[B] && `${T[B]}`,
1219
- Q === q.link ? eA[B] : "",
1220
- Q === q.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" ? "text-white" : "text-custom-blue",
1221
- Q === q.link ? "font-semibold" : "font-normal"
1219
+ w === q.link ? eA[B] : "",
1220
+ w === q.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" ? "text-white" : "text-custom-blue",
1221
+ w === q.link ? "font-semibold" : "font-normal"
1222
1222
  ),
1223
1223
  onClick: q.label === "Cerrar sesion" ? l : () => {
1224
1224
  Hg(q);
@@ -1252,13 +1252,13 @@ const iw = N(
1252
1252
  );
1253
1253
  iw.displayName = "Sidebar";
1254
1254
  const VM = ({ children: A, href: g, Viewport: B, colorButton: M, setIsOpen: D }) => {
1255
- const t = AA(null), [e, Q] = h(M);
1255
+ const t = AA(null), [e, w] = h(M);
1256
1256
  return O(() => {
1257
1257
  const C = () => {
1258
1258
  const s = document.getElementById(g.slice(1));
1259
1259
  if (s) {
1260
1260
  const o = s.getBoundingClientRect(), I = o.top >= 0 && o.bottom <= window.innerHeight;
1261
- Q(I ? B : M);
1261
+ w(I ? B : M);
1262
1262
  }
1263
1263
  };
1264
1264
  return C(), window.addEventListener("scroll", C), () => {
@@ -1271,7 +1271,7 @@ const VM = ({ children: A, href: g, Viewport: B, colorButton: M, setIsOpen: D })
1271
1271
  const C = document.getElementById(g.slice(1));
1272
1272
  C && (C.scrollIntoView({ behavior: "smooth" }), setTimeout(() => {
1273
1273
  const s = C.getBoundingClientRect(), o = s.top >= 0 && s.bottom <= window.innerHeight;
1274
- Q(o ? B : M), D(!1);
1274
+ w(o ? B : M), D(!1);
1275
1275
  }, 300));
1276
1276
  },
1277
1277
  ref: t,
@@ -1343,10 +1343,10 @@ function Iw(A) {
1343
1343
  timestamp: 0,
1344
1344
  isProcessing: !1
1345
1345
  };
1346
- function Q(C) {
1347
- t.has(C) && (w.schedule(C), A()), C(e);
1346
+ function w(C) {
1347
+ t.has(C) && (Q.schedule(C), A()), C(e);
1348
1348
  }
1349
- const w = {
1349
+ const Q = {
1350
1350
  /**
1351
1351
  * Schedule a process to run on the next frame.
1352
1352
  */
@@ -1368,10 +1368,10 @@ function Iw(A) {
1368
1368
  D = !0;
1369
1369
  return;
1370
1370
  }
1371
- M = !0, [g, B] = [B, g], g.forEach(Q), g.clear(), M = !1, D && (D = !1, w.process(C));
1371
+ M = !0, [g, B] = [B, g], g.forEach(w), g.clear(), M = !1, D && (D = !1, Q.process(C));
1372
1372
  }
1373
1373
  };
1374
- return w;
1374
+ return Q;
1375
1375
  }
1376
1376
  const cg = [
1377
1377
  "read",
@@ -1393,9 +1393,9 @@ function te(A, g) {
1393
1393
  delta: 0,
1394
1394
  timestamp: 0,
1395
1395
  isProcessing: !1
1396
- }, t = () => B = !0, e = cg.reduce((l, c) => (l[c] = Iw(t), l), {}), { read: Q, resolveKeyframes: w, update: C, preRender: s, render: o, postRender: I } = e, n = () => {
1396
+ }, t = () => B = !0, e = cg.reduce((l, c) => (l[c] = Iw(t), l), {}), { read: w, resolveKeyframes: Q, update: C, preRender: s, render: o, postRender: I } = e, n = () => {
1397
1397
  const l = performance.now();
1398
- B = !1, D.delta = M ? 1e3 / 60 : Math.max(Math.min(l - D.timestamp, nw), 1), D.timestamp = l, D.isProcessing = !0, Q.process(D), w.process(D), C.process(D), s.process(D), o.process(D), I.process(D), D.isProcessing = !1, B && g && (M = !1, A(n));
1398
+ B = !1, D.delta = M ? 1e3 / 60 : Math.max(Math.min(l - D.timestamp, nw), 1), D.timestamp = l, D.isProcessing = !0, w.process(D), Q.process(D), C.process(D), s.process(D), o.process(D), I.process(D), D.isProcessing = !1, B && g && (M = !1, A(n));
1399
1399
  }, E = () => {
1400
1400
  B = !0, M = !0, D.isProcessing || A(n);
1401
1401
  };
@@ -1564,10 +1564,10 @@ function mw(A, g, B) {
1564
1564
  const NB = (A) => A.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), yw = "framerAppearId", ie = "data-" + NB(yw), { schedule: xB, cancel: Bo } = te(queueMicrotask, !1), se = SA({});
1565
1565
  function Uw(A, g, B, M, D) {
1566
1566
  var t, e;
1567
- const { visualElement: Q } = $(Lg), w = $(we), C = $(jB), s = $(De).reducedMotion, o = AA(null);
1568
- M = M || w.renderer, !o.current && M && (o.current = M(A, {
1567
+ const { visualElement: w } = $(Lg), Q = $(we), C = $(jB), s = $(De).reducedMotion, o = AA(null);
1568
+ M = M || Q.renderer, !o.current && M && (o.current = M(A, {
1569
1569
  visualState: g,
1570
- parent: Q,
1570
+ parent: w,
1571
1571
  props: B,
1572
1572
  presenceContext: C,
1573
1573
  blockInitialAnimation: C ? C.initial === !1 : !1,
@@ -1590,11 +1590,11 @@ function Uw(A, g, B, M, D) {
1590
1590
  }), I;
1591
1591
  }
1592
1592
  function Zw(A, g, B, M) {
1593
- const { layoutId: D, layout: t, drag: e, dragConstraints: Q, layoutScroll: w, layoutRoot: C } = g;
1593
+ const { layoutId: D, layout: t, drag: e, dragConstraints: w, layoutScroll: Q, layoutRoot: C } = g;
1594
1594
  A.projection = new B(A.latestValues, g["data-framer-portal-id"] ? void 0 : oe(A.parent)), A.projection.setOptions({
1595
1595
  layoutId: D,
1596
1596
  layout: t,
1597
- alwaysMeasureLayout: !!e || Q && zA(Q),
1597
+ alwaysMeasureLayout: !!e || w && zA(w),
1598
1598
  visualElement: A,
1599
1599
  /**
1600
1600
  * TODO: Update options in an effect. This could be tricky as it'll be too late
@@ -1605,7 +1605,7 @@ function Zw(A, g, B, M) {
1605
1605
  */
1606
1606
  animationType: typeof t == "string" ? t : "both",
1607
1607
  initialPromotionConfig: M,
1608
- layoutScroll: w,
1608
+ layoutScroll: Q,
1609
1609
  layoutRoot: C
1610
1610
  });
1611
1611
  }
@@ -1616,7 +1616,7 @@ function oe(A) {
1616
1616
  function Vw({ preloadedFeatures: A, createVisualElement: g, useRender: B, useVisualState: M, Component: D }) {
1617
1617
  var t, e;
1618
1618
  A && Ew(A);
1619
- function Q(C, s) {
1619
+ function w(C, s) {
1620
1620
  let o;
1621
1621
  const I = {
1622
1622
  ...$(De),
@@ -1630,9 +1630,9 @@ function Vw({ preloadedFeatures: A, createVisualElement: g, useRender: B, useVis
1630
1630
  }
1631
1631
  return y(Lg.Provider, { value: E, children: [o && E.visualElement ? i(o, { visualElement: E.visualElement, ...I }) : null, B(D, C, mw(r, E.visualElement, s), r, n, E.visualElement)] });
1632
1632
  }
1633
- Q.displayName = `motion.${typeof D == "string" ? D : `create(${(e = (t = D.displayName) !== null && t !== void 0 ? t : D.name) !== null && e !== void 0 ? e : ""})`}`;
1634
- const w = N(Q);
1635
- return w[uw] = D, w;
1633
+ w.displayName = `motion.${typeof D == "string" ? D : `create(${(e = (t = D.displayName) !== null && t !== void 0 ? t : D.name) !== null && e !== void 0 ? e : ""})`}`;
1634
+ const Q = N(w);
1635
+ return Q[uw] = D, Q;
1636
1636
  }
1637
1637
  function fw({ layoutId: A }) {
1638
1638
  const g = $(Be).id;
@@ -1729,7 +1729,7 @@ function Rw({ scrapeMotionValuesFromProps: A, createRenderState: g, onUpdate: B
1729
1729
  latestValues: hw(M, D, t, A),
1730
1730
  renderState: g()
1731
1731
  };
1732
- return B && (e.onMount = (Q) => B({ props: M, current: Q, ...e }), e.onUpdate = (Q) => B(Q)), e;
1732
+ return B && (e.onMount = (w) => B({ props: M, current: w, ...e }), e.onUpdate = (w) => B(w)), e;
1733
1733
  }
1734
1734
  const Ie = (A) => (g, B) => {
1735
1735
  const M = $(Lg), D = $(jB), t = () => Rw(A, g, M, D);
@@ -1739,12 +1739,12 @@ function hw(A, g, B, M) {
1739
1739
  const D = {}, t = M(A, {});
1740
1740
  for (const I in t)
1741
1741
  D[I] = mg(t[I]);
1742
- let { initial: e, animate: Q } = A;
1743
- const w = bg(A), C = Ce(A);
1744
- g && C && !w && A.inherit !== !1 && (e === void 0 && (e = g.initial), Q === void 0 && (Q = g.animate));
1742
+ let { initial: e, animate: w } = A;
1743
+ const Q = bg(A), C = Ce(A);
1744
+ g && C && !Q && A.inherit !== !1 && (e === void 0 && (e = g.initial), w === void 0 && (w = g.animate));
1745
1745
  let s = B ? B.initial === !1 : !1;
1746
1746
  s = s || e === !1;
1747
- const o = s ? Q : e;
1747
+ const o = s ? w : e;
1748
1748
  if (o && typeof o != "boolean" && !Fg(o)) {
1749
1749
  const I = Array.isArray(o) ? o : [o];
1750
1750
  for (let n = 0; n < I.length; n++) {
@@ -1884,13 +1884,13 @@ const NA = [
1884
1884
  function jw(A, g, B) {
1885
1885
  let M = "", D = !0;
1886
1886
  for (let t = 0; t < Ow; t++) {
1887
- const e = NA[t], Q = A[e];
1888
- if (Q === void 0)
1887
+ const e = NA[t], w = A[e];
1888
+ if (w === void 0)
1889
1889
  continue;
1890
- let w = !0;
1891
- if (typeof Q == "number" ? w = Q === (e.startsWith("scale") ? 1 : 0) : w = parseFloat(Q) === 0, !w || B) {
1892
- const C = re(Q, AM[e]);
1893
- if (!w) {
1890
+ let Q = !0;
1891
+ if (typeof w == "number" ? Q = w === (e.startsWith("scale") ? 1 : 0) : Q = parseFloat(w) === 0, !Q || B) {
1892
+ const C = re(w, AM[e]);
1893
+ if (!Q) {
1894
1894
  D = !1;
1895
1895
  const s = bw[e] || e;
1896
1896
  M += `${s}(${C}) `;
@@ -1902,23 +1902,23 @@ function jw(A, g, B) {
1902
1902
  }
1903
1903
  function gM(A, g, B) {
1904
1904
  const { style: M, vars: D, transformOrigin: t } = A;
1905
- let e = !1, Q = !1;
1906
- for (const w in g) {
1907
- const C = g[w];
1908
- if (RA.has(w)) {
1905
+ let e = !1, w = !1;
1906
+ for (const Q in g) {
1907
+ const C = g[Q];
1908
+ if (RA.has(Q)) {
1909
1909
  e = !0;
1910
1910
  continue;
1911
- } else if (Ee(w)) {
1912
- D[w] = C;
1911
+ } else if (Ee(Q)) {
1912
+ D[Q] = C;
1913
1913
  continue;
1914
1914
  } else {
1915
- const s = re(C, AM[w]);
1916
- w.startsWith("origin") ? (Q = !0, t[w] = s) : M[w] = s;
1915
+ const s = re(C, AM[Q]);
1916
+ Q.startsWith("origin") ? (w = !0, t[Q] = s) : M[Q] = s;
1917
1917
  }
1918
1918
  }
1919
- if (g.transform || (e || B ? M.transform = jw(g, A.transform, B) : M.transform && (M.transform = "none")), Q) {
1920
- const { originX: w = "50%", originY: C = "50%", originZ: s = 0 } = t;
1921
- M.transformOrigin = `${w} ${C} ${s}`;
1919
+ if (g.transform || (e || B ? M.transform = jw(g, A.transform, B) : M.transform && (M.transform = "none")), w) {
1920
+ const { originX: Q = "50%", originY: C = "50%", originZ: s = 0 } = t;
1921
+ M.transformOrigin = `${Q} ${C} ${s}`;
1922
1922
  }
1923
1923
  }
1924
1924
  const Hw = {
@@ -1932,8 +1932,8 @@ function Sw(A, g, B = 1, M = 0, D = !0) {
1932
1932
  A.pathLength = 1;
1933
1933
  const t = D ? Hw : Tw;
1934
1934
  A[t.offset] = f.transform(-M);
1935
- const e = f.transform(g), Q = f.transform(B);
1936
- A[t.array] = `${e} ${Q}`;
1935
+ const e = f.transform(g), w = f.transform(B);
1936
+ A[t.array] = `${e} ${w}`;
1937
1937
  }
1938
1938
  function RM(A, g, B) {
1939
1939
  return typeof A == "string" ? A : f.transform(g + B * A);
@@ -1949,8 +1949,8 @@ function BM(A, {
1949
1949
  originX: D,
1950
1950
  originY: t,
1951
1951
  pathLength: e,
1952
- pathSpacing: Q = 1,
1953
- pathOffset: w = 0,
1952
+ pathSpacing: w = 1,
1953
+ pathOffset: Q = 0,
1954
1954
  // This is object creation, which we try to avoid per-frame.
1955
1955
  ...C
1956
1956
  }, s, o) {
@@ -1960,7 +1960,7 @@ function BM(A, {
1960
1960
  }
1961
1961
  A.attrs = A.style, A.style = {};
1962
1962
  const { attrs: I, style: n, dimensions: E } = A;
1963
- I.transform && (E && (n.transform = I.transform), delete I.transform), E && (D !== void 0 || t !== void 0 || n.transform) && (n.transformOrigin = Xw(E, D !== void 0 ? D : 0.5, t !== void 0 ? t : 0.5)), g !== void 0 && (I.x = g), B !== void 0 && (I.y = B), M !== void 0 && (I.scale = M), e !== void 0 && Sw(I, e, Q, w, !1);
1963
+ I.transform && (E && (n.transform = I.transform), delete I.transform), E && (D !== void 0 || t !== void 0 || n.transform) && (n.transformOrigin = Xw(E, D !== void 0 ? D : 0.5, t !== void 0 ? t : 0.5)), g !== void 0 && (I.x = g), B !== void 0 && (I.y = B), M !== void 0 && (I.scale = M), e !== void 0 && Sw(I, e, w, Q, !1);
1964
1964
  }
1965
1965
  const MM = () => ({
1966
1966
  style: {},
@@ -2050,8 +2050,8 @@ const hM = ["x", "y", "width", "height", "cx", "cy", "r"], Ww = {
2050
2050
  return;
2051
2051
  let t = !!A.drag;
2052
2052
  if (!t) {
2053
- for (const Q in D)
2054
- if (RA.has(Q)) {
2053
+ for (const w in D)
2054
+ if (RA.has(w)) {
2055
2055
  t = !0;
2056
2056
  break;
2057
2057
  }
@@ -2060,9 +2060,9 @@ const hM = ["x", "y", "width", "height", "cx", "cy", "r"], Ww = {
2060
2060
  return;
2061
2061
  let e = !g;
2062
2062
  if (g)
2063
- for (let Q = 0; Q < hM.length; Q++) {
2064
- const w = hM[Q];
2065
- A[w] !== g[w] && (e = !0);
2063
+ for (let w = 0; w < hM.length; w++) {
2064
+ const Q = hM[w];
2065
+ A[Q] !== g[Q] && (e = !0);
2066
2066
  }
2067
2067
  e && J.read(() => {
2068
2068
  xw(B, M), J.render(() => {
@@ -2111,7 +2111,7 @@ function BQ(A, g, B, M) {
2111
2111
  }
2112
2112
  function MQ(A = !1) {
2113
2113
  return (B, M, D, { latestValues: t }, e) => {
2114
- const w = (WB(B) ? BQ : gQ)(M, t, e, B), C = Gw(M, typeof B == "string", A), s = B !== TD ? { ...C, ...w, ref: D } : {}, { children: o } = M, I = vg(() => X(o) ? o.get() : o, [o]);
2114
+ const Q = (WB(B) ? BQ : gQ)(M, t, e, B), C = Gw(M, typeof B == "string", A), s = B !== TD ? { ...C, ...Q, ref: D } : {}, { children: o } = M, I = vg(() => X(o) ? o.get() : o, [o]);
2115
2115
  return Pt(B, {
2116
2116
  ...s,
2117
2117
  children: I
@@ -2311,19 +2311,19 @@ function zM(A) {
2311
2311
  return !(A.pointerType === "touch" || de());
2312
2312
  }
2313
2313
  function iQ(A, g, B = {}) {
2314
- const [M, D, t] = ke(A, B), e = (Q) => {
2315
- if (!zM(Q))
2314
+ const [M, D, t] = ke(A, B), e = (w) => {
2315
+ if (!zM(w))
2316
2316
  return;
2317
- const { target: w } = Q, C = g(w, Q);
2318
- if (typeof C != "function" || !w)
2317
+ const { target: Q } = w, C = g(Q, w);
2318
+ if (typeof C != "function" || !Q)
2319
2319
  return;
2320
2320
  const s = (o) => {
2321
- zM(o) && (C(o), w.removeEventListener("pointerleave", s));
2321
+ zM(o) && (C(o), Q.removeEventListener("pointerleave", s));
2322
2322
  };
2323
- w.addEventListener("pointerleave", s, D);
2323
+ Q.addEventListener("pointerleave", s, D);
2324
2324
  };
2325
- return M.forEach((Q) => {
2326
- Q.addEventListener("pointerenter", e, D);
2325
+ return M.forEach((w) => {
2326
+ w.addEventListener("pointerenter", e, D);
2327
2327
  }), t;
2328
2328
  }
2329
2329
  const Ke = (A, g) => g ? A === g ? !0 : Ke(A, g.parentElement) : !1, CM = (A) => A.pointerType === "mouse" ? typeof A.button != "number" || A.button <= 0 : A.isPrimary !== !1, sQ = /* @__PURE__ */ new Set([
@@ -2364,22 +2364,22 @@ function PM(A) {
2364
2364
  return CM(A) && !de();
2365
2365
  }
2366
2366
  function nQ(A, g, B = {}) {
2367
- const [M, D, t] = ke(A, B), e = (Q) => {
2368
- const w = Q.currentTarget;
2369
- if (!PM(Q) || Ag.has(w))
2367
+ const [M, D, t] = ke(A, B), e = (w) => {
2368
+ const Q = w.currentTarget;
2369
+ if (!PM(w) || Ag.has(Q))
2370
2370
  return;
2371
- Ag.add(w);
2372
- const C = g(w, Q), s = (n, E) => {
2373
- window.removeEventListener("pointerup", o), window.removeEventListener("pointercancel", I), !(!PM(n) || !Ag.has(w)) && (Ag.delete(w), typeof C == "function" && C(n, { success: E }));
2371
+ Ag.add(Q);
2372
+ const C = g(Q, w), s = (n, E) => {
2373
+ window.removeEventListener("pointerup", o), window.removeEventListener("pointercancel", I), !(!PM(n) || !Ag.has(Q)) && (Ag.delete(Q), typeof C == "function" && C(n, { success: E }));
2374
2374
  }, o = (n) => {
2375
- s(n, B.useGlobalTarget || Ke(w, n.target));
2375
+ s(n, B.useGlobalTarget || Ke(Q, n.target));
2376
2376
  }, I = (n) => {
2377
2377
  s(n, !1);
2378
2378
  };
2379
2379
  window.addEventListener("pointerup", o, D), window.addEventListener("pointercancel", I, D);
2380
2380
  };
2381
- return M.forEach((Q) => {
2382
- !oQ(Q) && Q.getAttribute("tabindex") === null && (Q.tabIndex = 0), (B.useGlobalTarget ? window : Q).addEventListener("pointerdown", e, D), Q.addEventListener("focus", (C) => IQ(C, D), D);
2381
+ return M.forEach((w) => {
2382
+ !oQ(w) && w.getAttribute("tabindex") === null && (w.tabIndex = 0), (B.useGlobalTarget ? window : w).addEventListener("pointerdown", e, D), w.addEventListener("focus", (C) => IQ(C, D), D);
2383
2383
  }), t;
2384
2384
  }
2385
2385
  function EQ(A) {
@@ -2649,8 +2649,8 @@ function IM(A, g) {
2649
2649
  let { transitionEnd: M = {}, transition: D = {}, ...t } = B || {};
2650
2650
  t = { ...t, ...M };
2651
2651
  for (const e in t) {
2652
- const Q = pw(t[e]);
2653
- aQ(A, e, Q);
2652
+ const w = pw(t[e]);
2653
+ aQ(A, e, w);
2654
2654
  }
2655
2655
  }
2656
2656
  function cQ(A) {
@@ -2666,10 +2666,10 @@ function he(A) {
2666
2666
  }
2667
2667
  const Je = (A, g, B) => (((1 - 3 * B + 3 * g) * A + (3 * B - 6 * g)) * A + 3 * g) * A, YQ = 1e-7, uQ = 12;
2668
2668
  function mQ(A, g, B, M, D) {
2669
- let t, e, Q = 0;
2669
+ let t, e, w = 0;
2670
2670
  do
2671
2671
  e = g + (B - g) / 2, t = Je(e, M, D) - A, t > 0 ? B = e : g = e;
2672
- while (Math.abs(t) > YQ && ++Q < uQ);
2672
+ while (Math.abs(t) > YQ && ++w < uQ);
2673
2673
  return e;
2674
2674
  }
2675
2675
  function Eg(A, g, B, M) {
@@ -2689,12 +2689,12 @@ function UQ(A) {
2689
2689
  const ZQ = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, lM = (A, g) => (B) => !!(typeof B == "string" && ZQ.test(B) && B.startsWith(A) || g && !UQ(B) && Object.prototype.hasOwnProperty.call(B, g)), He = (A, g, B) => (M) => {
2690
2690
  if (typeof M != "string")
2691
2691
  return M;
2692
- const [D, t, e, Q] = M.match(rM);
2692
+ const [D, t, e, w] = M.match(rM);
2693
2693
  return {
2694
2694
  [A]: parseFloat(D),
2695
2695
  [g]: parseFloat(t),
2696
2696
  [B]: parseFloat(e),
2697
- alpha: Q !== void 0 ? parseFloat(Q) : 1
2697
+ alpha: w !== void 0 ? parseFloat(w) : 1
2698
2698
  };
2699
2699
  }, VQ = (A) => GA(0, 255, A), Ng = {
2700
2700
  ...xA,
@@ -2738,8 +2738,8 @@ function og(A) {
2738
2738
  var: []
2739
2739
  }, D = [];
2740
2740
  let t = 0;
2741
- const Q = g.replace(pQ, (w) => (S.test(w) ? (M.color.push(t), D.push(Se), B.push(S.parse(w))) : w.startsWith(KQ) ? (M.var.push(t), D.push(kQ), B.push(w)) : (M.number.push(t), D.push(Te), B.push(parseFloat(w))), ++t, FM)).split(FM);
2742
- return { values: B, split: Q, indexes: M, types: D };
2741
+ const w = g.replace(pQ, (Q) => (S.test(Q) ? (M.color.push(t), D.push(Se), B.push(S.parse(Q))) : Q.startsWith(KQ) ? (M.var.push(t), D.push(kQ), B.push(Q)) : (M.number.push(t), D.push(Te), B.push(parseFloat(Q))), ++t, FM)).split(FM);
2742
+ return { values: B, split: w, indexes: M, types: D };
2743
2743
  }
2744
2744
  function Xe(A) {
2745
2745
  return og(A).values;
@@ -2750,8 +2750,8 @@ function Ne(A) {
2750
2750
  let t = "";
2751
2751
  for (let e = 0; e < M; e++)
2752
2752
  if (t += g[e], D[e] !== void 0) {
2753
- const Q = B[e];
2754
- Q === Te ? t += Mg(D[e]) : Q === Se ? t += S.transform(D[e]) : t += D[e];
2753
+ const w = B[e];
2754
+ w === Te ? t += Mg(D[e]) : w === Se ? t += S.transform(D[e]) : t += D[e];
2755
2755
  }
2756
2756
  return t;
2757
2757
  };
@@ -2860,8 +2860,8 @@ function We() {
2860
2860
  M.render();
2861
2861
  const D = B.get(M);
2862
2862
  D && D.forEach(([t, e]) => {
2863
- var Q;
2864
- (Q = M.getValue(t)) === null || Q === void 0 || Q.set(e);
2863
+ var w;
2864
+ (w = M.getValue(t)) === null || w === void 0 || w.set(e);
2865
2865
  });
2866
2866
  }), A.forEach((M) => M.measureEndState()), A.forEach((M) => {
2867
2867
  M.suspendedScrollY !== void 0 && window.scrollTo(0, M.suspendedScrollY);
@@ -2889,14 +2889,14 @@ class aM {
2889
2889
  for (let t = 0; t < g.length; t++)
2890
2890
  if (g[t] === null)
2891
2891
  if (t === 0) {
2892
- const e = D == null ? void 0 : D.get(), Q = g[g.length - 1];
2892
+ const e = D == null ? void 0 : D.get(), w = g[g.length - 1];
2893
2893
  if (e !== void 0)
2894
2894
  g[0] = e;
2895
2895
  else if (M && B) {
2896
- const w = M.readValue(B, Q);
2897
- w != null && (g[0] = w);
2896
+ const Q = M.readValue(B, w);
2897
+ Q != null && (g[0] = Q);
2898
2898
  }
2899
- g[0] === void 0 && (g[0] = Q), D && e === void 0 && D.set(g[0]);
2899
+ g[0] === void 0 && (g[0] = w), D && e === void 0 && D.set(g[0]);
2900
2900
  } else
2901
2901
  g[t] = g[t - 1];
2902
2902
  }
@@ -2955,21 +2955,21 @@ class Mt extends aM {
2955
2955
  if (!B || !B.current)
2956
2956
  return;
2957
2957
  super.readKeyframes();
2958
- for (let w = 0; w < g.length; w++) {
2959
- let C = g[w];
2958
+ for (let Q = 0; Q < g.length; Q++) {
2959
+ let C = g[Q];
2960
2960
  if (typeof C == "string" && (C = C.trim(), _B(C))) {
2961
2961
  const s = At(C, B.current);
2962
- s !== void 0 && (g[w] = s), w === g.length - 1 && (this.finalKeyframe = C);
2962
+ s !== void 0 && (g[Q] = s), Q === g.length - 1 && (this.finalKeyframe = C);
2963
2963
  }
2964
2964
  }
2965
2965
  if (this.resolveNoneKeyframes(), !pe.has(M) || g.length !== 2)
2966
2966
  return;
2967
- const [D, t] = g, e = HM(D), Q = HM(t);
2968
- if (e !== Q)
2969
- if (bM(e) && bM(Q))
2970
- for (let w = 0; w < g.length; w++) {
2971
- const C = g[w];
2972
- typeof C == "string" && (g[w] = parseFloat(C));
2967
+ const [D, t] = g, e = HM(D), w = HM(t);
2968
+ if (e !== w)
2969
+ if (bM(e) && bM(w))
2970
+ for (let Q = 0; Q < g.length; Q++) {
2971
+ const C = g[Q];
2972
+ typeof C == "string" && (g[Q] = parseFloat(C));
2973
2973
  }
2974
2974
  else
2975
2975
  this.needsMeasurement = !0;
@@ -2995,9 +2995,9 @@ class Mt extends aM {
2995
2995
  return;
2996
2996
  const t = B.getValue(M);
2997
2997
  t && t.jump(this.measuredOrigin, !1);
2998
- const e = D.length - 1, Q = D[e];
2999
- D[e] = TA[M](B.measureViewportBox(), window.getComputedStyle(B.current)), Q !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = Q), !((g = this.removedTransforms) === null || g === void 0) && g.length && this.removedTransforms.forEach(([w, C]) => {
3000
- B.getValue(w).set(C);
2998
+ const e = D.length - 1, w = D[e];
2999
+ D[e] = TA[M](B.measureViewportBox(), window.getComputedStyle(B.current)), w !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = w), !((g = this.removedTransforms) === null || g === void 0) && g.length && this.removedTransforms.forEach(([Q, C]) => {
3000
+ B.getValue(Q).set(C);
3001
3001
  }), this.resolveNoneKeyframes();
3002
3002
  }
3003
3003
  }
@@ -3018,8 +3018,8 @@ function WQ(A, g, B, M) {
3018
3018
  return !1;
3019
3019
  if (g === "display" || g === "visibility")
3020
3020
  return !0;
3021
- const t = A[A.length - 1], e = TM(D, g), Q = TM(t, g);
3022
- return XA(e === Q, `You are trying to animate ${g} from "${D}" to "${t}". ${D} is not an animatable value - to enable this animation set ${D} to a value animatable to ${t} via the \`style\` property.`), !e || !Q ? !1 : xQ(A) || (B === "spring" || wM(B)) && M;
3021
+ const t = A[A.length - 1], e = TM(D, g), w = TM(t, g);
3022
+ return XA(e === w, `You are trying to animate ${g} from "${D}" to "${t}". ${D} is not an animatable value - to enable this animation set ${D} to a value animatable to ${t} via the \`style\` property.`), !e || !w ? !1 : xQ(A) || (B === "spring" || wM(B)) && M;
3023
3023
  }
3024
3024
  const $Q = (A) => A !== null;
3025
3025
  function jg(A, { repeat: g, repeatType: B = "loop" }, M) {
@@ -3028,7 +3028,7 @@ function jg(A, { repeat: g, repeatType: B = "loop" }, M) {
3028
3028
  }
3029
3029
  const _Q = 40;
3030
3030
  class Dt {
3031
- constructor({ autoplay: g = !0, delay: B = 0, type: M = "keyframes", repeat: D = 0, repeatDelay: t = 0, repeatType: e = "loop", ...Q }) {
3031
+ constructor({ autoplay: g = !0, delay: B = 0, type: M = "keyframes", repeat: D = 0, repeatDelay: t = 0, repeatType: e = "loop", ...w }) {
3032
3032
  this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = IA.now(), this.options = {
3033
3033
  autoplay: g,
3034
3034
  delay: B,
@@ -3036,7 +3036,7 @@ class Dt {
3036
3036
  repeat: D,
3037
3037
  repeatDelay: t,
3038
3038
  repeatType: e,
3039
- ...Q
3039
+ ...w
3040
3040
  }, this.updateFinishedPromise();
3041
3041
  }
3042
3042
  /**
@@ -3067,12 +3067,12 @@ class Dt {
3067
3067
  */
3068
3068
  onKeyframesResolved(g, B) {
3069
3069
  this.resolvedAt = IA.now(), this.hasAttemptedResolve = !0;
3070
- const { name: M, type: D, velocity: t, delay: e, onComplete: Q, onUpdate: w, isGenerator: C } = this.options;
3070
+ const { name: M, type: D, velocity: t, delay: e, onComplete: w, onUpdate: Q, isGenerator: C } = this.options;
3071
3071
  if (!C && !WQ(g, M, D, t))
3072
3072
  if (e)
3073
3073
  this.options.duration = 0;
3074
3074
  else {
3075
- w && w(jg(g, this.options, B)), Q && Q(), this.resolveFinishedPromise();
3075
+ Q && Q(jg(g, this.options, B)), w && w(), this.resolveFinishedPromise();
3076
3076
  return;
3077
3077
  }
3078
3078
  const s = this.initPlayback(g, B);
@@ -3111,8 +3111,8 @@ function AC({ hue: A, saturation: g, lightness: B, alpha: M }) {
3111
3111
  if (!g)
3112
3112
  D = t = e = B;
3113
3113
  else {
3114
- const Q = B < 0.5 ? B * (1 + g) : B + g - B * g, w = 2 * B - Q;
3115
- D = xg(w, Q, A + 1 / 3), t = xg(w, Q, A), e = xg(w, Q, A - 1 / 3);
3114
+ const w = B < 0.5 ? B * (1 + g) : B + g - B * g, Q = 2 * B - w;
3115
+ D = xg(Q, w, A + 1 / 3), t = xg(Q, w, A), e = xg(Q, w, A - 1 / 3);
3116
3116
  }
3117
3117
  return {
3118
3118
  red: Math.round(D * 255),
@@ -3173,8 +3173,8 @@ function wC(A, g) {
3173
3173
  var B;
3174
3174
  const M = [], D = { color: 0, var: 0, number: 0 };
3175
3175
  for (let t = 0; t < g.values.length; t++) {
3176
- const e = g.types[t], Q = A.indexes[e][D[e]], w = (B = A.values[Q]) !== null && B !== void 0 ? B : 0;
3177
- M[t] = w, D[e]++;
3176
+ const e = g.types[t], w = A.indexes[e][D[e]], Q = (B = A.values[w]) !== null && B !== void 0 ? B : 0;
3177
+ M[t] = Q, D[e]++;
3178
3178
  }
3179
3179
  return M;
3180
3180
  }
@@ -3236,15 +3236,15 @@ function iC({ duration: A = z.duration, bounce: g = z.bounce, velocity: B = z.ve
3236
3236
  const s = Math.exp(-C * A), o = (B - C) * (A * A);
3237
3237
  return s * o;
3238
3238
  });
3239
- const Q = 5 / A, w = oC(D, t, Q);
3240
- if (A = /* @__PURE__ */ sA(A), isNaN(w))
3239
+ const w = 5 / A, Q = oC(D, t, w);
3240
+ if (A = /* @__PURE__ */ sA(A), isNaN(Q))
3241
3241
  return {
3242
3242
  stiffness: z.stiffness,
3243
3243
  damping: z.damping,
3244
3244
  duration: A
3245
3245
  };
3246
3246
  {
3247
- const C = Math.pow(w, 2) * M;
3247
+ const C = Math.pow(Q, 2) * M;
3248
3248
  return {
3249
3249
  stiffness: C,
3250
3250
  damping: e * 2 * Math.sqrt(M * C),
@@ -3301,10 +3301,10 @@ function Qt(A = z.visualDuration, g = z.bounce) {
3301
3301
  bounce: g
3302
3302
  } : A;
3303
3303
  let { restSpeed: M, restDelta: D } = B;
3304
- const t = B.keyframes[0], e = B.keyframes[B.keyframes.length - 1], Q = { done: !1, value: t }, { stiffness: w, damping: C, mass: s, duration: o, velocity: I, isResolvedFromDuration: n } = EC({
3304
+ const t = B.keyframes[0], e = B.keyframes[B.keyframes.length - 1], w = { done: !1, value: t }, { stiffness: Q, damping: C, mass: s, duration: o, velocity: I, isResolvedFromDuration: n } = EC({
3305
3305
  ...B,
3306
3306
  velocity: -/* @__PURE__ */ lA(B.velocity || 0)
3307
- }), E = I || 0, r = C / (2 * Math.sqrt(w * s)), G = e - t, l = /* @__PURE__ */ lA(Math.sqrt(w / s)), c = Math.abs(G) < 5;
3307
+ }), E = I || 0, r = C / (2 * Math.sqrt(Q * s)), G = e - t, l = /* @__PURE__ */ lA(Math.sqrt(Q / s)), c = Math.abs(G) < 5;
3308
3308
  M || (M = c ? z.restSpeed.granular : z.restSpeed.default), D || (D = c ? z.restDelta.granular : z.restDelta.default);
3309
3309
  let U;
3310
3310
  if (r < 1) {
@@ -3327,14 +3327,14 @@ function Qt(A = z.visualDuration, g = z.bounce) {
3327
3327
  next: (a) => {
3328
3328
  const u = U(a);
3329
3329
  if (n)
3330
- Q.done = a >= o;
3330
+ w.done = a >= o;
3331
3331
  else {
3332
3332
  let k = 0;
3333
3333
  r < 1 && (k = a === 0 ? /* @__PURE__ */ sA(E) : wt(U, a, u));
3334
3334
  const V = Math.abs(k) <= M, Y = Math.abs(e - u) <= D;
3335
- Q.done = V && Y;
3335
+ w.done = V && Y;
3336
3336
  }
3337
- return Q.value = Q.done ? e : u, Q;
3337
+ return w.value = w.done ? e : u, w;
3338
3338
  },
3339
3339
  toString: () => {
3340
3340
  const a = Math.min(Ue(Z), tB), u = Ze((k) => Z.next(a * k).value, a, 30);
@@ -3343,11 +3343,11 @@ function Qt(A = z.visualDuration, g = z.bounce) {
3343
3343
  };
3344
3344
  return Z;
3345
3345
  }
3346
- function WM({ keyframes: A, velocity: g = 0, power: B = 0.8, timeConstant: M = 325, bounceDamping: D = 10, bounceStiffness: t = 500, modifyTarget: e, min: Q, max: w, restDelta: C = 0.5, restSpeed: s }) {
3346
+ function WM({ keyframes: A, velocity: g = 0, power: B = 0.8, timeConstant: M = 325, bounceDamping: D = 10, bounceStiffness: t = 500, modifyTarget: e, min: w, max: Q, restDelta: C = 0.5, restSpeed: s }) {
3347
3347
  const o = A[0], I = {
3348
3348
  done: !1,
3349
3349
  value: o
3350
- }, n = (V) => Q !== void 0 && V < Q || w !== void 0 && V > w, E = (V) => Q === void 0 ? w : w === void 0 || Math.abs(Q - V) < Math.abs(w - V) ? Q : w;
3350
+ }, n = (V) => w !== void 0 && V < w || Q !== void 0 && V > Q, E = (V) => w === void 0 ? Q : Q === void 0 || Math.abs(w - V) < Math.abs(Q - V) ? w : Q;
3351
3351
  let r = B * g;
3352
3352
  const G = o + r, l = e === void 0 ? G : e(G);
3353
3353
  l !== G && (r = l - o);
@@ -3399,12 +3399,12 @@ const rC = /* @__PURE__ */ Eg(0.42, 0, 1, 1), lC = /* @__PURE__ */ Eg(0, 0, 0.58
3399
3399
  function aC(A, g, B) {
3400
3400
  const M = [], D = B || tt, t = A.length - 1;
3401
3401
  for (let e = 0; e < t; e++) {
3402
- let Q = D(A[e], A[e + 1]);
3402
+ let w = D(A[e], A[e + 1]);
3403
3403
  if (g) {
3404
- const w = Array.isArray(g) ? g[e] || gA : g;
3405
- Q = rg(w, Q);
3404
+ const Q = Array.isArray(g) ? g[e] || gA : g;
3405
+ w = rg(Q, w);
3406
3406
  }
3407
- M.push(Q);
3407
+ M.push(w);
3408
3408
  }
3409
3409
  return M;
3410
3410
  }
@@ -3416,15 +3416,15 @@ function cC(A, g, { clamp: B = !0, ease: M, mixer: D } = {}) {
3416
3416
  return () => g[1];
3417
3417
  const e = A[0] === A[1];
3418
3418
  A[0] > A[t - 1] && (A = [...A].reverse(), g = [...g].reverse());
3419
- const Q = aC(g, M, D), w = Q.length, C = (s) => {
3419
+ const w = aC(g, M, D), Q = w.length, C = (s) => {
3420
3420
  if (e && s < A[0])
3421
3421
  return g[0];
3422
3422
  let o = 0;
3423
- if (w > 1)
3423
+ if (Q > 1)
3424
3424
  for (; o < A.length - 2 && !(s < A[o + 1]); o++)
3425
3425
  ;
3426
3426
  const I = /* @__PURE__ */ jA(A[o], A[o + 1], s);
3427
- return Q[o](I);
3427
+ return w[o](I);
3428
3428
  };
3429
3429
  return B ? (s) => C(GA(A[0], A[t - 1], s)) : C;
3430
3430
  }
@@ -3454,12 +3454,12 @@ function pg({ duration: A = 300, keyframes: g, times: B, ease: M = "easeInOut" }
3454
3454
  // TODO Maybe we should warn here if there's a length mismatch
3455
3455
  B && B.length === g.length ? B : uC(g),
3456
3456
  A
3457
- ), Q = cC(e, g, {
3457
+ ), w = cC(e, g, {
3458
3458
  ease: Array.isArray(D) ? D : yC(g, D)
3459
3459
  });
3460
3460
  return {
3461
3461
  calculatedDuration: A,
3462
- next: (w) => (t.value = Q(w), t.done = w >= A, t)
3462
+ next: (Q) => (t.value = w(Q), t.done = Q >= A, t)
3463
3463
  };
3464
3464
  }
3465
3465
  const UC = (A) => {
@@ -3486,21 +3486,21 @@ class YM extends Dt {
3486
3486
  if (this.resolver.cancel(), this.isStopped = !0, this.state === "idle")
3487
3487
  return;
3488
3488
  this.teardown();
3489
- const { onStop: w } = this.options;
3490
- w && w();
3489
+ const { onStop: Q } = this.options;
3490
+ Q && Q();
3491
3491
  };
3492
- const { name: B, motionValue: M, element: D, keyframes: t } = this.options, e = (D == null ? void 0 : D.KeyframeResolver) || aM, Q = (w, C) => this.onKeyframesResolved(w, C);
3493
- this.resolver = new e(t, Q, B, M, D), this.resolver.scheduleResolve();
3492
+ const { name: B, motionValue: M, element: D, keyframes: t } = this.options, e = (D == null ? void 0 : D.KeyframeResolver) || aM, w = (Q, C) => this.onKeyframesResolved(Q, C);
3493
+ this.resolver = new e(t, w, B, M, D), this.resolver.scheduleResolve();
3494
3494
  }
3495
3495
  flatten() {
3496
3496
  super.flatten(), this._resolved && Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
3497
3497
  }
3498
3498
  initPlayback(g) {
3499
- const { type: B = "keyframes", repeat: M = 0, repeatDelay: D = 0, repeatType: t, velocity: e = 0 } = this.options, Q = wM(B) ? B : ZC[B] || pg;
3500
- let w, C;
3501
- Q !== pg && typeof g[0] != "number" && (process.env.NODE_ENV !== "production" && nA(g.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${g}`), w = rg(VC, tt(g[0], g[1])), g = [0, 100]);
3502
- const s = Q({ ...this.options, keyframes: g });
3503
- t === "mirror" && (C = Q({
3499
+ const { type: B = "keyframes", repeat: M = 0, repeatDelay: D = 0, repeatType: t, velocity: e = 0 } = this.options, w = wM(B) ? B : ZC[B] || pg;
3500
+ let Q, C;
3501
+ w !== pg && typeof g[0] != "number" && (process.env.NODE_ENV !== "production" && nA(g.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${g}`), Q = rg(VC, tt(g[0], g[1])), g = [0, 100]);
3502
+ const s = w({ ...this.options, keyframes: g });
3503
+ t === "mirror" && (C = w({
3504
3504
  ...this.options,
3505
3505
  keyframes: [...g].reverse(),
3506
3506
  velocity: -e
@@ -3509,7 +3509,7 @@ class YM extends Dt {
3509
3509
  return {
3510
3510
  generator: s,
3511
3511
  mirroredGenerator: C,
3512
- mapPercentToKeyframes: w,
3512
+ mapPercentToKeyframes: Q,
3513
3513
  calculatedDuration: o,
3514
3514
  resolvedDuration: I,
3515
3515
  totalDuration: n
@@ -3525,7 +3525,7 @@ class YM extends Dt {
3525
3525
  const { keyframes: V } = this.options;
3526
3526
  return { done: !0, value: V[V.length - 1] };
3527
3527
  }
3528
- const { finalKeyframe: D, generator: t, mirroredGenerator: e, mapPercentToKeyframes: Q, keyframes: w, calculatedDuration: C, totalDuration: s, resolvedDuration: o } = M;
3528
+ const { finalKeyframe: D, generator: t, mirroredGenerator: e, mapPercentToKeyframes: w, keyframes: Q, calculatedDuration: C, totalDuration: s, resolvedDuration: o } = M;
3529
3529
  if (this.startTime === null)
3530
3530
  return t.next(0);
3531
3531
  const { delay: I, repeat: n, repeatType: E, repeatDelay: r, onUpdate: G } = this.options;
@@ -3538,12 +3538,12 @@ class YM extends Dt {
3538
3538
  let Y = Math.floor(V), d = V % 1;
3539
3539
  !d && V >= 1 && (d = 1), d === 1 && Y--, Y = Math.min(Y, n + 1), !!(Y % 2) && (E === "reverse" ? (d = 1 - d, r && (d -= r / o)) : E === "mirror" && (Z = e)), U = GA(0, 1, d) * o;
3540
3540
  }
3541
- const a = c ? { done: !1, value: w[0] } : Z.next(U);
3542
- Q && (a.value = Q(a.value));
3541
+ const a = c ? { done: !1, value: Q[0] } : Z.next(U);
3542
+ w && (a.value = w(a.value));
3543
3543
  let { done: u } = a;
3544
3544
  !c && C !== null && (u = this.speed >= 0 ? this.currentTime >= s : this.currentTime <= 0);
3545
3545
  const k = this.holdTime === null && (this.state === "finished" || this.state === "running" && u);
3546
- return k && D !== void 0 && (a.value = jg(w, this.options, D)), G && G(a.value), k && this.finish(), a;
3546
+ return k && D !== void 0 && (a.value = jg(Q, this.options, D)), G && G(a.value), k && this.finish(), a;
3547
3547
  }
3548
3548
  get duration() {
3549
3549
  const { resolved: g } = this;
@@ -3612,10 +3612,10 @@ const fC = /* @__PURE__ */ new Set([
3612
3612
  // or until we implement support for linear() easing.
3613
3613
  // "background-color"
3614
3614
  ]);
3615
- function dC(A, g, B, { delay: M = 0, duration: D = 300, repeat: t = 0, repeatType: e = "loop", ease: Q = "easeInOut", times: w } = {}) {
3615
+ function dC(A, g, B, { delay: M = 0, duration: D = 300, repeat: t = 0, repeatType: e = "loop", ease: w = "easeInOut", times: Q } = {}) {
3616
3616
  const C = { [g]: B };
3617
- w && (C.offset = w);
3618
- const s = fe(Q, D);
3617
+ Q && (C.offset = Q);
3618
+ const s = fe(w, D);
3619
3619
  return Array.isArray(s) && (C.easing = s), A.animate(C, {
3620
3620
  delay: M,
3621
3621
  duration: D,
@@ -3661,20 +3661,20 @@ class AD extends Dt {
3661
3661
  constructor(g) {
3662
3662
  super(g);
3663
3663
  const { name: B, motionValue: M, element: D, keyframes: t } = this.options;
3664
- this.resolver = new Mt(t, (e, Q) => this.onKeyframesResolved(e, Q), B, M, D), this.resolver.scheduleResolve();
3664
+ this.resolver = new Mt(t, (e, w) => this.onKeyframesResolved(e, w), B, M, D), this.resolver.scheduleResolve();
3665
3665
  }
3666
3666
  initPlayback(g, B) {
3667
- let { duration: M = 300, times: D, ease: t, type: e, motionValue: Q, name: w, startTime: C } = this.options;
3668
- if (!Q.owner || !Q.owner.current)
3667
+ let { duration: M = 300, times: D, ease: t, type: e, motionValue: w, name: Q, startTime: C } = this.options;
3668
+ if (!w.owner || !w.owner.current)
3669
3669
  return !1;
3670
3670
  if (typeof t == "string" && kg() && RC(t) && (t = it[t]), KC(this.options)) {
3671
3671
  const { onComplete: o, onUpdate: I, motionValue: n, element: E, ...r } = this.options, G = pC(g, r);
3672
3672
  g = G.keyframes, g.length === 1 && (g[1] = g[0]), M = G.duration, D = G.times, t = G.ease, e = "keyframes";
3673
3673
  }
3674
- const s = dC(Q.owner.current, w, g, { ...this.options, duration: M, times: D, ease: t });
3674
+ const s = dC(w.owner.current, Q, g, { ...this.options, duration: M, times: D, ease: t });
3675
3675
  return s.startTime = C ?? this.calcStartTime(), this.pendingTimeline ? (JM(s, this.pendingTimeline), this.pendingTimeline = void 0) : s.onfinish = () => {
3676
3676
  const { onComplete: o } = this.options;
3677
- Q.set(jg(g, this.options, B)), o && o(), this.cancel(), this.resolveFinishedPromise();
3677
+ w.set(jg(g, this.options, B)), o && o(), this.cancel(), this.resolveFinishedPromise();
3678
3678
  }, {
3679
3679
  animation: s,
3680
3680
  duration: M,
@@ -3772,7 +3772,7 @@ class AD extends Dt {
3772
3772
  const { resolved: g } = this;
3773
3773
  if (!g)
3774
3774
  return;
3775
- const { animation: B, keyframes: M, duration: D, type: t, ease: e, times: Q } = g;
3775
+ const { animation: B, keyframes: M, duration: D, type: t, ease: e, times: w } = g;
3776
3776
  if (B.playState === "idle" || B.playState === "finished")
3777
3777
  return;
3778
3778
  if (this.time) {
@@ -3782,13 +3782,13 @@ class AD extends Dt {
3782
3782
  duration: D,
3783
3783
  type: t,
3784
3784
  ease: e,
3785
- times: Q,
3785
+ times: w,
3786
3786
  isGenerator: !0
3787
3787
  }), r = /* @__PURE__ */ sA(this.time);
3788
3788
  C.setWithVelocity(E.sample(r - Rg).value, E.sample(r).value, Rg);
3789
3789
  }
3790
- const { onStop: w } = this.options;
3791
- w && w(), this.cancel();
3790
+ const { onStop: Q } = this.options;
3791
+ Q && Q(), this.cancel();
3792
3792
  }
3793
3793
  complete() {
3794
3794
  const { resolved: g } = this;
@@ -3799,15 +3799,15 @@ class AD extends Dt {
3799
3799
  g && g.animation.cancel();
3800
3800
  }
3801
3801
  static supports(g) {
3802
- const { motionValue: B, name: M, repeatDelay: D, repeatType: t, damping: e, type: Q } = g;
3802
+ const { motionValue: B, name: M, repeatDelay: D, repeatType: t, damping: e, type: w } = g;
3803
3803
  if (!B || !B.owner || !(B.owner.current instanceof HTMLElement))
3804
3804
  return !1;
3805
- const { onUpdate: w, transformTemplate: C } = B.owner.getProps();
3805
+ const { onUpdate: Q, transformTemplate: C } = B.owner.getProps();
3806
3806
  return qC() && M && fC.has(M) && /**
3807
3807
  * If we're outputting values to onUpdate then we can't use WAAPI as there's
3808
3808
  * no way to read the value from WAAPI every frame.
3809
3809
  */
3810
- !w && !C && !D && t !== "mirror" && e !== 0 && Q !== "inertia";
3810
+ !Q && !C && !D && t !== "mirror" && e !== 0 && w !== "inertia";
3811
3811
  }
3812
3812
  }
3813
3813
  const hC = {
@@ -3828,36 +3828,36 @@ const hC = {
3828
3828
  ease: [0.25, 0.1, 0.35, 1],
3829
3829
  duration: 0.3
3830
3830
  }, PC = (A, { keyframes: g }) => g.length > 2 ? zC : RA.has(A) ? A.startsWith("scale") ? JC(g[1]) : hC : vC;
3831
- function LC({ when: A, delay: g, delayChildren: B, staggerChildren: M, staggerDirection: D, repeat: t, repeatType: e, repeatDelay: Q, from: w, elapsed: C, ...s }) {
3831
+ function LC({ when: A, delay: g, delayChildren: B, staggerChildren: M, staggerDirection: D, repeat: t, repeatType: e, repeatDelay: w, from: Q, elapsed: C, ...s }) {
3832
3832
  return !!Object.keys(s).length;
3833
3833
  }
3834
3834
  const uM = (A, g, B, M = {}, D, t) => (e) => {
3835
- const Q = tM(M, A) || {}, w = Q.delay || M.delay || 0;
3835
+ const w = tM(M, A) || {}, Q = w.delay || M.delay || 0;
3836
3836
  let { elapsed: C = 0 } = M;
3837
- C = C - /* @__PURE__ */ sA(w);
3837
+ C = C - /* @__PURE__ */ sA(Q);
3838
3838
  let s = {
3839
3839
  keyframes: Array.isArray(B) ? B : [null, B],
3840
3840
  ease: "easeOut",
3841
3841
  velocity: g.getVelocity(),
3842
- ...Q,
3842
+ ...w,
3843
3843
  delay: -C,
3844
3844
  onUpdate: (I) => {
3845
- g.set(I), Q.onUpdate && Q.onUpdate(I);
3845
+ g.set(I), w.onUpdate && w.onUpdate(I);
3846
3846
  },
3847
3847
  onComplete: () => {
3848
- e(), Q.onComplete && Q.onComplete();
3848
+ e(), w.onComplete && w.onComplete();
3849
3849
  },
3850
3850
  name: A,
3851
3851
  motionValue: g,
3852
3852
  element: t ? void 0 : D
3853
3853
  };
3854
- LC(Q) || (s = {
3854
+ LC(w) || (s = {
3855
3855
  ...s,
3856
3856
  ...PC(A, s)
3857
3857
  }), s.duration && (s.duration = /* @__PURE__ */ sA(s.duration)), s.repeatDelay && (s.repeatDelay = /* @__PURE__ */ sA(s.repeatDelay)), s.from !== void 0 && (s.keyframes[0] = s.from);
3858
3858
  let o = !1;
3859
3859
  if ((s.type === !1 || s.duration === 0 && !s.repeatDelay) && (s.duration = 0, s.delay === 0 && (o = !0)), o && !t && g.get() !== void 0) {
3860
- const I = jg(s.keyframes, Q);
3860
+ const I = jg(s.keyframes, w);
3861
3861
  if (I !== void 0)
3862
3862
  return J.update(() => {
3863
3863
  s.onUpdate(I), s.onComplete();
@@ -3871,11 +3871,11 @@ function FC({ protectedKeys: A, needsAnimating: g }, B) {
3871
3871
  }
3872
3872
  function st(A, g, { delay: B = 0, transitionOverride: M, type: D } = {}) {
3873
3873
  var t;
3874
- let { transition: e = A.getDefaultTransition(), transitionEnd: Q, ...w } = g;
3874
+ let { transition: e = A.getDefaultTransition(), transitionEnd: w, ...Q } = g;
3875
3875
  M && (e = M);
3876
3876
  const C = [], s = D && A.animationState && A.animationState.getState()[D];
3877
- for (const o in w) {
3878
- const I = A.getValue(o, (t = A.latestValues[o]) !== null && t !== void 0 ? t : null), n = w[o];
3877
+ for (const o in Q) {
3878
+ const I = A.getValue(o, (t = A.latestValues[o]) !== null && t !== void 0 ? t : null), n = Q[o];
3879
3879
  if (n === void 0 || s && FC(s, o))
3880
3880
  continue;
3881
3881
  const E = {
@@ -3894,9 +3894,9 @@ function st(A, g, { delay: B = 0, transitionOverride: M, type: D } = {}) {
3894
3894
  const G = I.animation;
3895
3895
  G && C.push(G);
3896
3896
  }
3897
- return Q && Promise.all(C).then(() => {
3897
+ return w && Promise.all(C).then(() => {
3898
3898
  J.update(() => {
3899
- Q && IM(A, Q);
3899
+ w && IM(A, w);
3900
3900
  });
3901
3901
  }), C;
3902
3902
  }
@@ -3905,22 +3905,22 @@ function EB(A, g, B = {}) {
3905
3905
  const D = Og(A, g, B.type === "exit" ? (M = A.presenceContext) === null || M === void 0 ? void 0 : M.custom : void 0);
3906
3906
  let { transition: t = A.getDefaultTransition() || {} } = D || {};
3907
3907
  B.transitionOverride && (t = B.transitionOverride);
3908
- const e = D ? () => Promise.all(st(A, D, B)) : () => Promise.resolve(), Q = A.variantChildren && A.variantChildren.size ? (C = 0) => {
3908
+ const e = D ? () => Promise.all(st(A, D, B)) : () => Promise.resolve(), w = A.variantChildren && A.variantChildren.size ? (C = 0) => {
3909
3909
  const { delayChildren: s = 0, staggerChildren: o, staggerDirection: I } = t;
3910
3910
  return bC(A, g, s + C, o, I, B);
3911
- } : () => Promise.resolve(), { when: w } = t;
3912
- if (w) {
3913
- const [C, s] = w === "beforeChildren" ? [e, Q] : [Q, e];
3911
+ } : () => Promise.resolve(), { when: Q } = t;
3912
+ if (Q) {
3913
+ const [C, s] = Q === "beforeChildren" ? [e, w] : [w, e];
3914
3914
  return C().then(() => s());
3915
3915
  } else
3916
- return Promise.all([e(), Q(B.delay)]);
3916
+ return Promise.all([e(), w(B.delay)]);
3917
3917
  }
3918
3918
  function bC(A, g, B = 0, M = 0, D = 1, t) {
3919
- const e = [], Q = (A.variantChildren.size - 1) * M, w = D === 1 ? (C = 0) => C * M : (C = 0) => Q - C * M;
3919
+ const e = [], w = (A.variantChildren.size - 1) * M, Q = D === 1 ? (C = 0) => C * M : (C = 0) => w - C * M;
3920
3920
  return Array.from(A.variantChildren).sort(OC).forEach((C, s) => {
3921
3921
  C.notify("AnimationStart", g), e.push(EB(C, g, {
3922
3922
  ...t,
3923
- delay: B + w(s)
3923
+ delay: B + Q(s)
3924
3924
  }).then(() => C.notify("AnimationComplete", g)));
3925
3925
  }), Promise.all(e);
3926
3926
  }
@@ -3964,23 +3964,23 @@ function SC(A) {
3964
3964
  }
3965
3965
  function XC(A) {
3966
3966
  let g = SC(A), B = gD(), M = !0;
3967
- const D = (w) => (C, s) => {
3967
+ const D = (Q) => (C, s) => {
3968
3968
  var o;
3969
- const I = Og(A, s, w === "exit" ? (o = A.presenceContext) === null || o === void 0 ? void 0 : o.custom : void 0);
3969
+ const I = Og(A, s, Q === "exit" ? (o = A.presenceContext) === null || o === void 0 ? void 0 : o.custom : void 0);
3970
3970
  if (I) {
3971
3971
  const { transition: n, transitionEnd: E, ...r } = I;
3972
3972
  C = { ...C, ...r, ...E };
3973
3973
  }
3974
3974
  return C;
3975
3975
  };
3976
- function t(w) {
3977
- g = w(A);
3976
+ function t(Q) {
3977
+ g = Q(A);
3978
3978
  }
3979
- function e(w) {
3979
+ function e(Q) {
3980
3980
  const { props: C } = A, s = It(A.parent) || {}, o = [], I = /* @__PURE__ */ new Set();
3981
3981
  let n = {}, E = 1 / 0;
3982
3982
  for (let G = 0; G < TC; G++) {
3983
- const l = HC[G], c = B[l], U = C[l] !== void 0 ? C[l] : s[l], Z = Cg(U), a = l === w ? c.isActive : null;
3983
+ const l = HC[G], c = B[l], U = C[l] !== void 0 ? C[l] : s[l], Z = Cg(U), a = l === Q ? c.isActive : null;
3984
3984
  a === !1 && (E = G);
3985
3985
  let u = U === s[l] && U !== C[l] && Z;
3986
3986
  if (u && M && A.manuallyAnimateOnMount && (u = !1), c.protectedKeys = { ...n }, // If it isn't active and hasn't *just* been set as inactive
@@ -3990,7 +3990,7 @@ function XC(A) {
3990
3990
  continue;
3991
3991
  const k = NC(c.prevProp, U);
3992
3992
  let V = k || // If we're making this variant active, we want to always make it active
3993
- l === w && c.isActive && !u && Z || // If we removed a higher-priority variant (i is in reverse order)
3993
+ l === Q && c.isActive && !u && Z || // If we removed a higher-priority variant (i is in reverse order)
3994
3994
  G > E && Z, Y = !1;
3995
3995
  const d = Array.isArray(U) ? U : [U];
3996
3996
  let b = d.reduce(D(l), {});
@@ -4025,22 +4025,22 @@ function XC(A) {
4025
4025
  let r = !!o.length;
4026
4026
  return M && (C.initial === !1 || C.initial === C.animate) && !A.manuallyAnimateOnMount && (r = !1), M = !1, r ? g(o) : Promise.resolve();
4027
4027
  }
4028
- function Q(w, C) {
4028
+ function w(Q, C) {
4029
4029
  var s;
4030
- if (B[w].isActive === C)
4030
+ if (B[Q].isActive === C)
4031
4031
  return Promise.resolve();
4032
4032
  (s = A.variantChildren) === null || s === void 0 || s.forEach((I) => {
4033
4033
  var n;
4034
- return (n = I.animationState) === null || n === void 0 ? void 0 : n.setActive(w, C);
4035
- }), B[w].isActive = C;
4036
- const o = e(w);
4034
+ return (n = I.animationState) === null || n === void 0 ? void 0 : n.setActive(Q, C);
4035
+ }), B[Q].isActive = C;
4036
+ const o = e(Q);
4037
4037
  for (const I in B)
4038
4038
  B[I].protectedKeys = {};
4039
4039
  return o;
4040
4040
  }
4041
4041
  return {
4042
4042
  animateChanges: e,
4043
- setActive: Q,
4043
+ setActive: w,
4044
4044
  setAnimateFunction: t,
4045
4045
  getState: () => B,
4046
4046
  reset: () => {
@@ -4178,10 +4178,10 @@ class nt {
4178
4178
  }, !CM(g))
4179
4179
  return;
4180
4180
  this.dragSnapToOrigin = t, this.handlers = B, this.transformPagePoint = M, this.contextWindow = D || window;
4181
- const e = lg(g), Q = $g(e, this.transformPagePoint), { point: w } = Q, { timestamp: C } = j;
4182
- this.history = [{ ...w, timestamp: C }];
4181
+ const e = lg(g), w = $g(e, this.transformPagePoint), { point: Q } = w, { timestamp: C } = j;
4182
+ this.history = [{ ...Q, timestamp: C }];
4183
4183
  const { onSessionStart: s } = B;
4184
- s && s(g, _g(Q, this.history)), this.removeListeners = rg(Dg(this.contextWindow, "pointermove", this.handlePointerMove), Dg(this.contextWindow, "pointerup", this.handlePointerUp), Dg(this.contextWindow, "pointercancel", this.handlePointerUp));
4184
+ s && s(g, _g(w, this.history)), this.removeListeners = rg(Dg(this.contextWindow, "pointermove", this.handlePointerMove), Dg(this.contextWindow, "pointerup", this.handlePointerUp), Dg(this.contextWindow, "pointercancel", this.handlePointerUp));
4185
4185
  }
4186
4186
  updateHandlers(g) {
4187
4187
  this.handlers = g;
@@ -4373,10 +4373,10 @@ function Gi(A, g, B, M = !1) {
4373
4373
  return;
4374
4374
  g.x = g.y = 1;
4375
4375
  let t, e;
4376
- for (let Q = 0; Q < D; Q++) {
4377
- t = B[Q], e = t.projectionDelta;
4378
- const { visualElement: w } = t.options;
4379
- w && w.props.style && w.props.style.display === "contents" || (M && t.options.layoutScroll && t.scroll && t !== t.root && FA(A, {
4376
+ for (let w = 0; w < D; w++) {
4377
+ t = B[w], e = t.projectionDelta;
4378
+ const { visualElement: Q } = t.options;
4379
+ Q && Q.props.style && Q.props.style.display === "contents" || (M && t.options.layoutScroll && t.scroll && t !== t.root && FA(A, {
4380
4380
  x: -t.scroll.offset.x,
4381
4381
  y: -t.scroll.offset.y
4382
4382
  }), e && (g.x *= e.x.scale, g.y *= e.y.scale, ct(A, e)), M && dA(t.latestValues) && FA(A, t.latestValues));
@@ -4439,7 +4439,7 @@ class Yi {
4439
4439
  return;
4440
4440
  }
4441
4441
  this.updateAxis("x", o.point, G), this.updateAxis("y", o.point, G), this.visualElement.render(), r && r(s, o);
4442
- }, Q = (s, o) => this.stop(s, o), w = () => DA((s) => {
4442
+ }, w = (s, o) => this.stop(s, o), Q = () => DA((s) => {
4443
4443
  var o;
4444
4444
  return this.getAnimationState(s) === "paused" && ((o = this.getAxisMotionValue(s).animation) === null || o === void 0 ? void 0 : o.play());
4445
4445
  }), { dragSnapToOrigin: C } = this.getProps();
@@ -4447,8 +4447,8 @@ class Yi {
4447
4447
  onSessionStart: D,
4448
4448
  onStart: t,
4449
4449
  onMove: e,
4450
- onSessionEnd: Q,
4451
- resumeAnimation: w
4450
+ onSessionEnd: w,
4451
+ resumeAnimation: Q
4452
4452
  }, {
4453
4453
  transformPagePoint: this.visualElement.getTransformPagePoint(),
4454
4454
  dragSnapToOrigin: C,
@@ -4498,16 +4498,16 @@ class Yi {
4498
4498
  const t = ai(M, D.root, this.visualElement.getTransformPagePoint());
4499
4499
  let e = oi(D.layout.layoutBox, t);
4500
4500
  if (B) {
4501
- const Q = B(ri(e));
4502
- this.hasMutatedConstraints = !!Q, Q && (e = Gt(Q));
4501
+ const w = B(ri(e));
4502
+ this.hasMutatedConstraints = !!w, w && (e = Gt(w));
4503
4503
  }
4504
4504
  return e;
4505
4505
  }
4506
4506
  startAnimation(g) {
4507
- const { drag: B, dragMomentum: M, dragElastic: D, dragTransition: t, dragSnapToOrigin: e, onDragTransitionEnd: Q } = this.getProps(), w = this.constraints || {}, C = DA((s) => {
4507
+ const { drag: B, dragMomentum: M, dragElastic: D, dragTransition: t, dragSnapToOrigin: e, onDragTransitionEnd: w } = this.getProps(), Q = this.constraints || {}, C = DA((s) => {
4508
4508
  if (!ug(s, B, this.currentDirection))
4509
4509
  return;
4510
- let o = w[s] || {};
4510
+ let o = Q[s] || {};
4511
4511
  e && (o = { min: 0, max: 0 });
4512
4512
  const I = D ? 200 : 1e6, n = D ? 40 : 1e7, E = {
4513
4513
  type: "inertia",
@@ -4522,7 +4522,7 @@ class Yi {
4522
4522
  };
4523
4523
  return this.startAxisValueAnimation(s, E);
4524
4524
  });
4525
- return Promise.all(C).then(Q);
4525
+ return Promise.all(C).then(w);
4526
4526
  }
4527
4527
  startAxisValueAnimation(g, B) {
4528
4528
  const M = this.getAxisMotionValue(g);
@@ -4558,8 +4558,8 @@ class Yi {
4558
4558
  return;
4559
4559
  const { projection: D } = this.visualElement, t = this.getAxisMotionValue(B);
4560
4560
  if (D && D.layout) {
4561
- const { min: e, max: Q } = D.layout.layoutBox[B];
4562
- t.set(g[B] - v(e, Q, 0.5));
4561
+ const { min: e, max: w } = D.layout.layoutBox[B];
4562
+ t.set(g[B] - v(e, w, 0.5));
4563
4563
  }
4564
4564
  });
4565
4565
  }
@@ -4577,44 +4577,44 @@ class Yi {
4577
4577
  this.stopAnimation();
4578
4578
  const D = { x: 0, y: 0 };
4579
4579
  DA((e) => {
4580
- const Q = this.getAxisMotionValue(e);
4581
- if (Q && this.constraints !== !1) {
4582
- const w = Q.get();
4583
- D[e] = Ii({ min: w, max: w }, this.constraints[e]);
4580
+ const w = this.getAxisMotionValue(e);
4581
+ if (w && this.constraints !== !1) {
4582
+ const Q = w.get();
4583
+ D[e] = Ii({ min: Q, max: Q }, this.constraints[e]);
4584
4584
  }
4585
4585
  });
4586
4586
  const { transformTemplate: t } = this.visualElement.getProps();
4587
4587
  this.visualElement.current.style.transform = t ? t({}, "") : "none", M.root && M.root.updateScroll(), M.updateLayout(), this.resolveConstraints(), DA((e) => {
4588
4588
  if (!ug(e, g, null))
4589
4589
  return;
4590
- const Q = this.getAxisMotionValue(e), { min: w, max: C } = this.constraints[e];
4591
- Q.set(v(w, C, D[e]));
4590
+ const w = this.getAxisMotionValue(e), { min: Q, max: C } = this.constraints[e];
4591
+ w.set(v(Q, C, D[e]));
4592
4592
  });
4593
4593
  }
4594
4594
  addListeners() {
4595
4595
  if (!this.visualElement.current)
4596
4596
  return;
4597
4597
  ci.set(this.visualElement, this);
4598
- const g = this.visualElement.current, B = Dg(g, "pointerdown", (w) => {
4598
+ const g = this.visualElement.current, B = Dg(g, "pointerdown", (Q) => {
4599
4599
  const { drag: C, dragListener: s = !0 } = this.getProps();
4600
- C && s && this.start(w);
4600
+ C && s && this.start(Q);
4601
4601
  }), M = () => {
4602
- const { dragConstraints: w } = this.getProps();
4603
- zA(w) && w.current && (this.constraints = this.resolveRefConstraints());
4602
+ const { dragConstraints: Q } = this.getProps();
4603
+ zA(Q) && Q.current && (this.constraints = this.resolveRefConstraints());
4604
4604
  }, { projection: D } = this.visualElement, t = D.addEventListener("measure", M);
4605
4605
  D && !D.layout && (D.root && D.root.updateScroll(), D.updateLayout()), J.read(M);
4606
- const e = Ig(window, "resize", () => this.scalePositionWithinConstraints()), Q = D.addEventListener("didUpdate", ({ delta: w, hasLayoutChanged: C }) => {
4606
+ const e = Ig(window, "resize", () => this.scalePositionWithinConstraints()), w = D.addEventListener("didUpdate", ({ delta: Q, hasLayoutChanged: C }) => {
4607
4607
  this.isDragging && C && (DA((s) => {
4608
4608
  const o = this.getAxisMotionValue(s);
4609
- o && (this.originPoint[s] += w[s].translate, o.set(o.get() + w[s].translate));
4609
+ o && (this.originPoint[s] += Q[s].translate, o.set(o.get() + Q[s].translate));
4610
4610
  }), this.visualElement.render());
4611
4611
  });
4612
4612
  return () => {
4613
- e(), B(), t(), Q && Q();
4613
+ e(), B(), t(), w && w();
4614
4614
  };
4615
4615
  }
4616
4616
  getProps() {
4617
- const g = this.visualElement.getProps(), { drag: B = !1, dragDirectionLock: M = !1, dragPropagation: D = !1, dragConstraints: t = !1, dragElastic: e = rB, dragMomentum: Q = !0 } = g;
4617
+ const g = this.visualElement.getProps(), { drag: B = !1, dragDirectionLock: M = !1, dragPropagation: D = !1, dragConstraints: t = !1, dragElastic: e = rB, dragMomentum: w = !0 } = g;
4618
4618
  return {
4619
4619
  ...g,
4620
4620
  drag: B,
@@ -4622,7 +4622,7 @@ class Yi {
4622
4622
  dragPropagation: D,
4623
4623
  dragConstraints: t,
4624
4624
  dragElastic: e,
4625
- dragMomentum: Q
4625
+ dragMomentum: w
4626
4626
  };
4627
4627
  }
4628
4628
  }
@@ -4711,9 +4711,9 @@ const $A = {
4711
4711
  const M = A, D = uA.parse(A);
4712
4712
  if (D.length > 5)
4713
4713
  return M;
4714
- const t = uA.createTransformer(A), e = typeof D[0] != "number" ? 1 : 0, Q = B.x.scale * g.x, w = B.y.scale * g.y;
4715
- D[0 + e] /= Q, D[1 + e] /= w;
4716
- const C = v(Q, w, 0.5);
4714
+ const t = uA.createTransformer(A), e = typeof D[0] != "number" ? 1 : 0, w = B.x.scale * g.x, Q = B.y.scale * g.y;
4715
+ D[0 + e] /= w, D[1 + e] /= Q;
4716
+ const C = v(w, Q, 0.5);
4717
4717
  return typeof D[2 + e] == "number" && (D[2 + e] /= C), typeof D[3 + e] == "number" && (D[3 + e] /= C), t(D);
4718
4718
  }
4719
4719
  };
@@ -4735,8 +4735,8 @@ class Zi extends Lt {
4735
4735
  getSnapshotBeforeUpdate(g) {
4736
4736
  const { layoutDependency: B, visualElement: M, drag: D, isPresent: t } = this.props, e = M.projection;
4737
4737
  return e && (e.isPresent = t, D || g.layoutDependency !== B || B === void 0 ? e.willUpdate() : this.safeToRemove(), g.isPresent !== t && (t ? e.promote() : e.relegate() || J.postRender(() => {
4738
- const Q = e.getStack();
4739
- (!Q || !Q.members.length) && this.safeToRemove();
4738
+ const w = e.getStack();
4739
+ (!w || !w.members.length) && this.safeToRemove();
4740
4740
  }))), null;
4741
4741
  }
4742
4742
  componentDidUpdate() {
@@ -4815,11 +4815,11 @@ function Ri(A, g, B, M, D, t) {
4815
4815
  hi(M)
4816
4816
  ), A.opacityExit = v(g.opacity !== void 0 ? g.opacity : 1, 0, Ji(M))) : t && (A.opacity = v(g.opacity !== void 0 ? g.opacity : 1, B.opacity !== void 0 ? B.opacity : 1, M));
4817
4817
  for (let e = 0; e < pi; e++) {
4818
- const Q = `border${yt[e]}Radius`;
4819
- let w = uD(g, Q), C = uD(B, Q);
4820
- if (w === void 0 && C === void 0)
4818
+ const w = `border${yt[e]}Radius`;
4819
+ let Q = uD(g, w), C = uD(B, w);
4820
+ if (Q === void 0 && C === void 0)
4821
4821
  continue;
4822
- w || (w = 0), C || (C = 0), w === 0 || C === 0 || YD(w) === YD(C) ? (A[Q] = Math.max(v(cD(w), cD(C), M), 0), (oA.test(C) || oA.test(w)) && (A[Q] += "%")) : A[Q] = C;
4822
+ Q || (Q = 0), C || (C = 0), Q === 0 || C === 0 || YD(Q) === YD(C) ? (A[w] = Math.max(v(cD(Q), cD(C), M), 0), (oA.test(C) || oA.test(Q)) && (A[w] += "%")) : A[w] = C;
4823
4823
  }
4824
4824
  (g.rotate || B.rotate) && (A.rotate = v(g.rotate || 0, B.rotate || 0, M));
4825
4825
  }
@@ -4845,8 +4845,8 @@ function UD(A, g, B, M, D) {
4845
4845
  function zi(A, g = 0, B = 1, M = 0.5, D, t = A, e = A) {
4846
4846
  if (oA.test(g) && (g = parseFloat(g), g = v(e.min, e.max, g / 100) - e.min), typeof g != "number")
4847
4847
  return;
4848
- let Q = v(t.min, t.max, M);
4849
- A === t && (Q -= g), A.min = UD(A.min, g, B, Q, D), A.max = UD(A.max, g, B, Q, D);
4848
+ let w = v(t.min, t.max, M);
4849
+ A === t && (w -= g), A.min = UD(A.min, g, B, w, D), A.max = UD(A.max, g, B, w, D);
4850
4850
  }
4851
4851
  function ZD(A, g, [B, M, D], t, e) {
4852
4852
  zi(A, g[B], g[M], g[D], g.scale, t, e);
@@ -4940,8 +4940,8 @@ function bi(A, g, B) {
4940
4940
  const { transformPerspective: C, rotate: s, rotateX: o, rotateY: I, skewX: n, skewY: E } = B;
4941
4941
  C && (M = `perspective(${C}px) ${M}`), s && (M += `rotate(${s}deg) `), o && (M += `rotateX(${o}deg) `), I && (M += `rotateY(${I}deg) `), n && (M += `skewX(${n}deg) `), E && (M += `skewY(${E}deg) `);
4942
4942
  }
4943
- const Q = A.x.scale * g.x, w = A.y.scale * g.y;
4944
- return (Q !== 1 || w !== 1) && (M += `scale(${Q}, ${w})`), M || "none";
4943
+ const w = A.x.scale * g.x, Q = A.y.scale * g.y;
4944
+ return (w !== 1 || Q !== 1) && (M += `scale(${w}, ${Q})`), M || "none";
4945
4945
  }
4946
4946
  const qA = {
4947
4947
  type: "projectionFrame",
@@ -4970,22 +4970,22 @@ function ft(A) {
4970
4970
  }
4971
4971
  function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, checkIsScrollRoot: M, resetTransform: D }) {
4972
4972
  return class {
4973
- constructor(e = {}, Q = g == null ? void 0 : g()) {
4973
+ constructor(e = {}, w = g == null ? void 0 : g()) {
4974
4974
  this.id = ji++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
4975
4975
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
4976
4976
  }, this.updateProjection = () => {
4977
4977
  this.projectionUpdateScheduled = !1, gg && (qA.totalNodes = qA.resolvedTargetDeltas = qA.recalculatedProjection = 0), this.nodes.forEach(Si), this.nodes.forEach($i), this.nodes.forEach(_i), this.nodes.forEach(Xi), gg && window.MotionDebug.record(qA);
4978
- }, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = Q ? Q.root || Q : this, this.path = Q ? [...Q.path, Q] : [], this.parent = Q, this.depth = Q ? Q.depth + 1 : 0;
4979
- for (let w = 0; w < this.path.length; w++)
4980
- this.path[w].shouldResetTransform = !0;
4978
+ }, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = w ? w.root || w : this, this.path = w ? [...w.path, w] : [], this.parent = w, this.depth = w ? w.depth + 1 : 0;
4979
+ for (let Q = 0; Q < this.path.length; Q++)
4980
+ this.path[Q].shouldResetTransform = !0;
4981
4981
  this.root === this && (this.nodes = new ki());
4982
4982
  }
4983
- addEventListener(e, Q) {
4984
- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new oM()), this.eventHandlers.get(e).add(Q);
4983
+ addEventListener(e, w) {
4984
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new oM()), this.eventHandlers.get(e).add(w);
4985
4985
  }
4986
- notifyListeners(e, ...Q) {
4987
- const w = this.eventHandlers.get(e);
4988
- w && w.notify(...Q);
4986
+ notifyListeners(e, ...w) {
4987
+ const Q = this.eventHandlers.get(e);
4988
+ Q && Q.notify(...w);
4989
4989
  }
4990
4990
  hasListeners(e) {
4991
4991
  return this.eventHandlers.has(e);
@@ -4993,19 +4993,19 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
4993
4993
  /**
4994
4994
  * Lifecycles
4995
4995
  */
4996
- mount(e, Q = this.root.hasTreeAnimated) {
4996
+ mount(e, w = this.root.hasTreeAnimated) {
4997
4997
  if (this.instance)
4998
4998
  return;
4999
4999
  this.isSVG = di(e), this.instance = e;
5000
- const { layoutId: w, layout: C, visualElement: s } = this.options;
5001
- if (s && !s.current && s.mount(e), this.root.nodes.add(this), this.parent && this.parent.children.add(this), Q && (C || w) && (this.isLayoutDirty = !0), A) {
5000
+ const { layoutId: Q, layout: C, visualElement: s } = this.options;
5001
+ if (s && !s.current && s.mount(e), this.root.nodes.add(this), this.parent && this.parent.children.add(this), w && (C || Q) && (this.isLayoutDirty = !0), A) {
5002
5002
  let o;
5003
5003
  const I = () => this.root.updateBlockedByResize = !1;
5004
5004
  A(e, () => {
5005
5005
  this.root.updateBlockedByResize = !0, o && o(), o = Ki(I, 250), Ug.hasAnimatedSinceResize && (Ug.hasAnimatedSinceResize = !1, this.nodes.forEach(hD));
5006
5006
  });
5007
5007
  }
5008
- w && this.root.registerSharedNode(w, this), this.options.animate !== !1 && s && (w || C) && this.addEventListener("didUpdate", ({ delta: o, hasLayoutChanged: I, hasRelativeLayoutChanged: n, layout: E }) => {
5008
+ Q && this.root.registerSharedNode(Q, this), this.options.animate !== !1 && s && (Q || C) && this.addEventListener("didUpdate", ({ delta: o, hasLayoutChanged: I, hasRelativeLayoutChanged: n, layout: E }) => {
5009
5009
  if (this.isTreeAnimationBlocked()) {
5010
5010
  this.target = void 0, this.relativeTarget = void 0;
5011
5011
  return;
@@ -5062,8 +5062,8 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5062
5062
  const o = this.path[s];
5063
5063
  o.shouldResetTransform = !0, o.updateScroll("snapshot"), o.options.layoutRoot && o.willUpdate(!1);
5064
5064
  }
5065
- const { layoutId: Q, layout: w } = this.options;
5066
- if (Q === void 0 && !w)
5065
+ const { layoutId: w, layout: Q } = this.options;
5066
+ if (w === void 0 && !Q)
5067
5067
  return;
5068
5068
  const C = this.getTransformTemplate();
5069
5069
  this.prevTransformTemplateValue = C ? C(this.latestValues, "") : void 0, this.updateSnapshot(), e && this.notifyListeners("willUpdate");
@@ -5074,8 +5074,8 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5074
5074
  return;
5075
5075
  }
5076
5076
  this.isUpdating || this.nodes.forEach(xi), this.isUpdating = !1, this.nodes.forEach(Wi), this.nodes.forEach(Hi), this.nodes.forEach(Ti), this.clearAllSnapshots();
5077
- const Q = IA.now();
5078
- j.delta = GA(0, 1e3 / 60, Q - j.timestamp), j.timestamp = Q, j.isProcessing = !0, Sg.update.process(j), Sg.preRender.process(j), Sg.render.process(j), j.isProcessing = !1;
5077
+ const w = IA.now();
5078
+ j.delta = GA(0, 1e3 / 60, w - j.timestamp), j.timestamp = w, j.isProcessing = !0, Sg.update.process(j), Sg.preRender.process(j), Sg.render.process(j), j.isProcessing = !1;
5079
5079
  }
5080
5080
  didUpdate() {
5081
5081
  this.updateScheduled || (this.updateScheduled = !0, xB.read(this.scheduleUpdate));
@@ -5101,90 +5101,90 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5101
5101
  if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty))
5102
5102
  return;
5103
5103
  if (this.resumeFrom && !this.resumeFrom.instance)
5104
- for (let w = 0; w < this.path.length; w++)
5105
- this.path[w].updateScroll();
5104
+ for (let Q = 0; Q < this.path.length; Q++)
5105
+ this.path[Q].updateScroll();
5106
5106
  const e = this.layout;
5107
5107
  this.layout = this.measure(!1), this.layoutCorrected = L(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
5108
- const { visualElement: Q } = this.options;
5109
- Q && Q.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
5108
+ const { visualElement: w } = this.options;
5109
+ w && w.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
5110
5110
  }
5111
5111
  updateScroll(e = "measure") {
5112
- let Q = !!(this.options.layoutScroll && this.instance);
5113
- if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === e && (Q = !1), Q) {
5114
- const w = M(this.instance);
5112
+ let w = !!(this.options.layoutScroll && this.instance);
5113
+ if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === e && (w = !1), w) {
5114
+ const Q = M(this.instance);
5115
5115
  this.scroll = {
5116
5116
  animationId: this.root.animationId,
5117
5117
  phase: e,
5118
- isRoot: w,
5118
+ isRoot: Q,
5119
5119
  offset: B(this.instance),
5120
- wasRoot: this.scroll ? this.scroll.isRoot : w
5120
+ wasRoot: this.scroll ? this.scroll.isRoot : Q
5121
5121
  };
5122
5122
  }
5123
5123
  }
5124
5124
  resetTransform() {
5125
5125
  if (!D)
5126
5126
  return;
5127
- const e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, Q = this.projectionDelta && !Zt(this.projectionDelta), w = this.getTransformTemplate(), C = w ? w(this.latestValues, "") : void 0, s = C !== this.prevTransformTemplateValue;
5128
- e && (Q || dA(this.latestValues) || s) && (D(this.instance, C), this.shouldResetTransform = !1, this.scheduleRender());
5127
+ const e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, w = this.projectionDelta && !Zt(this.projectionDelta), Q = this.getTransformTemplate(), C = Q ? Q(this.latestValues, "") : void 0, s = C !== this.prevTransformTemplateValue;
5128
+ e && (w || dA(this.latestValues) || s) && (D(this.instance, C), this.shouldResetTransform = !1, this.scheduleRender());
5129
5129
  }
5130
5130
  measure(e = !0) {
5131
- const Q = this.measurePageBox();
5132
- let w = this.removeElementScroll(Q);
5133
- return e && (w = this.removeTransform(w)), es(w), {
5131
+ const w = this.measurePageBox();
5132
+ let Q = this.removeElementScroll(w);
5133
+ return e && (Q = this.removeTransform(Q)), es(Q), {
5134
5134
  animationId: this.root.animationId,
5135
- measuredBox: Q,
5136
- layoutBox: w,
5135
+ measuredBox: w,
5136
+ layoutBox: Q,
5137
5137
  latestValues: {},
5138
5138
  source: this.id
5139
5139
  };
5140
5140
  }
5141
5141
  measurePageBox() {
5142
5142
  var e;
5143
- const { visualElement: Q } = this.options;
5144
- if (!Q)
5143
+ const { visualElement: w } = this.options;
5144
+ if (!w)
5145
5145
  return L();
5146
- const w = Q.measureViewportBox();
5146
+ const Q = w.measureViewportBox();
5147
5147
  if (!(((e = this.scroll) === null || e === void 0 ? void 0 : e.wasRoot) || this.path.some(ts))) {
5148
5148
  const { scroll: s } = this.root;
5149
- s && (LA(w.x, s.offset.x), LA(w.y, s.offset.y));
5149
+ s && (LA(Q.x, s.offset.x), LA(Q.y, s.offset.y));
5150
5150
  }
5151
- return w;
5151
+ return Q;
5152
5152
  }
5153
5153
  removeElementScroll(e) {
5154
- var Q;
5155
- const w = L();
5156
- if (MA(w, e), !((Q = this.scroll) === null || Q === void 0) && Q.wasRoot)
5157
- return w;
5154
+ var w;
5155
+ const Q = L();
5156
+ if (MA(Q, e), !((w = this.scroll) === null || w === void 0) && w.wasRoot)
5157
+ return Q;
5158
5158
  for (let C = 0; C < this.path.length; C++) {
5159
5159
  const s = this.path[C], { scroll: o, options: I } = s;
5160
- s !== this.root && o && I.layoutScroll && (o.wasRoot && MA(w, e), LA(w.x, o.offset.x), LA(w.y, o.offset.y));
5160
+ s !== this.root && o && I.layoutScroll && (o.wasRoot && MA(Q, e), LA(Q.x, o.offset.x), LA(Q.y, o.offset.y));
5161
5161
  }
5162
- return w;
5162
+ return Q;
5163
5163
  }
5164
- applyTransform(e, Q = !1) {
5165
- const w = L();
5166
- MA(w, e);
5164
+ applyTransform(e, w = !1) {
5165
+ const Q = L();
5166
+ MA(Q, e);
5167
5167
  for (let C = 0; C < this.path.length; C++) {
5168
5168
  const s = this.path[C];
5169
- !Q && s.options.layoutScroll && s.scroll && s !== s.root && FA(w, {
5169
+ !w && s.options.layoutScroll && s.scroll && s !== s.root && FA(Q, {
5170
5170
  x: -s.scroll.offset.x,
5171
5171
  y: -s.scroll.offset.y
5172
- }), dA(s.latestValues) && FA(w, s.latestValues);
5172
+ }), dA(s.latestValues) && FA(Q, s.latestValues);
5173
5173
  }
5174
- return dA(this.latestValues) && FA(w, this.latestValues), w;
5174
+ return dA(this.latestValues) && FA(Q, this.latestValues), Q;
5175
5175
  }
5176
5176
  removeTransform(e) {
5177
- const Q = L();
5178
- MA(Q, e);
5179
- for (let w = 0; w < this.path.length; w++) {
5180
- const C = this.path[w];
5177
+ const w = L();
5178
+ MA(w, e);
5179
+ for (let Q = 0; Q < this.path.length; Q++) {
5180
+ const C = this.path[Q];
5181
5181
  if (!C.instance || !dA(C.latestValues))
5182
5182
  continue;
5183
5183
  lB(C.latestValues) && C.updateSnapshot();
5184
5184
  const s = L(), o = C.measurePageBox();
5185
- MA(s, o), VD(Q, C.latestValues, C.snapshot ? C.snapshot.layoutBox : void 0, s);
5185
+ MA(s, o), VD(w, C.latestValues, C.snapshot ? C.snapshot.layoutBox : void 0, s);
5186
5186
  }
5187
- return dA(this.latestValues) && VD(Q, this.latestValues), Q;
5187
+ return dA(this.latestValues) && VD(w, this.latestValues), w;
5188
5188
  }
5189
5189
  setTargetDelta(e) {
5190
5190
  this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -5203,11 +5203,11 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5203
5203
  this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== j.timestamp && this.relativeParent.resolveTargetDelta(!0);
5204
5204
  }
5205
5205
  resolveTargetDelta(e = !1) {
5206
- var Q;
5207
- const w = this.getLead();
5208
- this.isProjectionDirty || (this.isProjectionDirty = w.isProjectionDirty), this.isTransformDirty || (this.isTransformDirty = w.isTransformDirty), this.isSharedProjectionDirty || (this.isSharedProjectionDirty = w.isSharedProjectionDirty);
5209
- const C = !!this.resumingFrom || this !== w;
5210
- if (!(e || C && this.isSharedProjectionDirty || this.isProjectionDirty || !((Q = this.parent) === null || Q === void 0) && Q.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize))
5206
+ var w;
5207
+ const Q = this.getLead();
5208
+ this.isProjectionDirty || (this.isProjectionDirty = Q.isProjectionDirty), this.isTransformDirty || (this.isTransformDirty = Q.isTransformDirty), this.isSharedProjectionDirty || (this.isSharedProjectionDirty = Q.isSharedProjectionDirty);
5209
+ const C = !!this.resumingFrom || this !== Q;
5210
+ if (!(e || C && this.isSharedProjectionDirty || this.isProjectionDirty || !((w = this.parent) === null || w === void 0) && w.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize))
5211
5211
  return;
5212
5212
  const { layout: o, layoutId: I } = this.options;
5213
5213
  if (!(!this.layout || !(o || I))) {
@@ -5234,17 +5234,17 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5234
5234
  }
5235
5235
  calcProjection() {
5236
5236
  var e;
5237
- const Q = this.getLead(), w = !!this.resumingFrom || this !== Q;
5237
+ const w = this.getLead(), Q = !!this.resumingFrom || this !== w;
5238
5238
  let C = !0;
5239
- if ((this.isProjectionDirty || !((e = this.parent) === null || e === void 0) && e.isProjectionDirty) && (C = !1), w && (this.isSharedProjectionDirty || this.isTransformDirty) && (C = !1), this.resolvedRelativeTargetAt === j.timestamp && (C = !1), C)
5239
+ if ((this.isProjectionDirty || !((e = this.parent) === null || e === void 0) && e.isProjectionDirty) && (C = !1), Q && (this.isSharedProjectionDirty || this.isTransformDirty) && (C = !1), this.resolvedRelativeTargetAt === j.timestamp && (C = !1), C)
5240
5240
  return;
5241
5241
  const { layout: s, layoutId: o } = this.options;
5242
5242
  if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(s || o))
5243
5243
  return;
5244
5244
  MA(this.layoutCorrected, this.layout.layoutBox);
5245
5245
  const I = this.treeScale.x, n = this.treeScale.y;
5246
- Gi(this.layoutCorrected, this.treeScale, this.path, w), Q.layout && !Q.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (Q.target = Q.layout.layoutBox, Q.targetWithTransforms = L());
5247
- const { target: E } = Q;
5246
+ Gi(this.layoutCorrected, this.treeScale, this.path, Q), w.layout && !w.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (w.target = w.layout.layoutBox, w.targetWithTransforms = L());
5247
+ const { target: E } = w;
5248
5248
  if (!E) {
5249
5249
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
5250
5250
  return;
@@ -5258,20 +5258,20 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5258
5258
  this.isVisible = !0;
5259
5259
  }
5260
5260
  scheduleRender(e = !0) {
5261
- var Q;
5262
- if ((Q = this.options.visualElement) === null || Q === void 0 || Q.scheduleRender(), e) {
5263
- const w = this.getStack();
5264
- w && w.scheduleRender();
5261
+ var w;
5262
+ if ((w = this.options.visualElement) === null || w === void 0 || w.scheduleRender(), e) {
5263
+ const Q = this.getStack();
5264
+ Q && Q.scheduleRender();
5265
5265
  }
5266
5266
  this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
5267
5267
  }
5268
5268
  createProjectionDeltas() {
5269
5269
  this.prevProjectionDelta = PA(), this.projectionDelta = PA(), this.projectionDeltaWithTransform = PA();
5270
5270
  }
5271
- setAnimationOrigin(e, Q = !1) {
5272
- const w = this.snapshot, C = w ? w.latestValues : {}, s = { ...this.latestValues }, o = PA();
5273
- (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !Q;
5274
- const I = L(), n = w ? w.source : void 0, E = this.layout ? this.layout.source : void 0, r = n !== E, G = this.getStack(), l = !G || G.members.length <= 1, c = !!(r && !l && this.options.crossfade === !0 && !this.path.some(Ms));
5271
+ setAnimationOrigin(e, w = !1) {
5272
+ const Q = this.snapshot, C = Q ? Q.latestValues : {}, s = { ...this.latestValues }, o = PA();
5273
+ (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !w;
5274
+ const I = L(), n = Q ? Q.source : void 0, E = this.layout ? this.layout.source : void 0, r = n !== E, G = this.getStack(), l = !G || G.members.length <= 1, c = !!(r && !l && this.options.crossfade === !0 && !this.path.some(Ms));
5275
5275
  this.animationProgress = 0;
5276
5276
  let U;
5277
5277
  this.mixTargetDelta = (Z) => {
@@ -5283,8 +5283,8 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5283
5283
  this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (YA(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = J.update(() => {
5284
5284
  Ug.hasAnimatedSinceResize = !0, this.currentAnimation = fi(0, pD, {
5285
5285
  ...e,
5286
- onUpdate: (Q) => {
5287
- this.mixTargetDelta(Q), e.onUpdate && e.onUpdate(Q);
5286
+ onUpdate: (w) => {
5287
+ this.mixTargetDelta(w), e.onUpdate && e.onUpdate(w);
5288
5288
  },
5289
5289
  onComplete: () => {
5290
5290
  e.onComplete && e.onComplete(), this.completeAnimation();
@@ -5302,24 +5302,24 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5302
5302
  }
5303
5303
  applyTransformsToTarget() {
5304
5304
  const e = this.getLead();
5305
- let { targetWithTransforms: Q, target: w, layout: C, latestValues: s } = e;
5306
- if (!(!Q || !w || !C)) {
5305
+ let { targetWithTransforms: w, target: Q, layout: C, latestValues: s } = e;
5306
+ if (!(!w || !Q || !C)) {
5307
5307
  if (this !== e && this.layout && C && qt(this.options.animationType, this.layout.layoutBox, C.layoutBox)) {
5308
- w = this.target || L();
5308
+ Q = this.target || L();
5309
5309
  const o = BA(this.layout.layoutBox.x);
5310
- w.x.min = e.target.x.min, w.x.max = w.x.min + o;
5310
+ Q.x.min = e.target.x.min, Q.x.max = Q.x.min + o;
5311
5311
  const I = BA(this.layout.layoutBox.y);
5312
- w.y.min = e.target.y.min, w.y.max = w.y.min + I;
5312
+ Q.y.min = e.target.y.min, Q.y.max = Q.y.min + I;
5313
5313
  }
5314
- MA(Q, w), FA(Q, s), eg(this.projectionDeltaWithTransform, this.layoutCorrected, Q, s);
5314
+ MA(w, Q), FA(w, s), eg(this.projectionDeltaWithTransform, this.layoutCorrected, w, s);
5315
5315
  }
5316
5316
  }
5317
- registerSharedNode(e, Q) {
5318
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Fi()), this.sharedNodes.get(e).add(Q);
5319
- const C = Q.options.initialPromotionConfig;
5320
- Q.promote({
5317
+ registerSharedNode(e, w) {
5318
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Fi()), this.sharedNodes.get(e).add(w);
5319
+ const C = w.options.initialPromotionConfig;
5320
+ w.promote({
5321
5321
  transition: C ? C.transition : void 0,
5322
- preserveFollowOpacity: C && C.shouldPreserveFollowOpacity ? C.shouldPreserveFollowOpacity(Q) : void 0
5322
+ preserveFollowOpacity: C && C.shouldPreserveFollowOpacity ? C.shouldPreserveFollowOpacity(w) : void 0
5323
5323
  });
5324
5324
  }
5325
5325
  isLead() {
@@ -5328,22 +5328,22 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5328
5328
  }
5329
5329
  getLead() {
5330
5330
  var e;
5331
- const { layoutId: Q } = this.options;
5332
- return Q ? ((e = this.getStack()) === null || e === void 0 ? void 0 : e.lead) || this : this;
5331
+ const { layoutId: w } = this.options;
5332
+ return w ? ((e = this.getStack()) === null || e === void 0 ? void 0 : e.lead) || this : this;
5333
5333
  }
5334
5334
  getPrevLead() {
5335
5335
  var e;
5336
- const { layoutId: Q } = this.options;
5337
- return Q ? (e = this.getStack()) === null || e === void 0 ? void 0 : e.prevLead : void 0;
5336
+ const { layoutId: w } = this.options;
5337
+ return w ? (e = this.getStack()) === null || e === void 0 ? void 0 : e.prevLead : void 0;
5338
5338
  }
5339
5339
  getStack() {
5340
5340
  const { layoutId: e } = this.options;
5341
5341
  if (e)
5342
5342
  return this.root.sharedNodes.get(e);
5343
5343
  }
5344
- promote({ needsReset: e, transition: Q, preserveFollowOpacity: w } = {}) {
5344
+ promote({ needsReset: e, transition: w, preserveFollowOpacity: Q } = {}) {
5345
5345
  const C = this.getStack();
5346
- C && C.promote(this, w), e && (this.projectionDelta = void 0, this.needsReset = !0), Q && this.setOptions({ transition: Q });
5346
+ C && C.promote(this, Q), e && (this.projectionDelta = void 0, this.needsReset = !0), w && this.setOptions({ transition: w });
5347
5347
  }
5348
5348
  relegate() {
5349
5349
  const e = this.getStack();
@@ -5353,12 +5353,12 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5353
5353
  const { visualElement: e } = this.options;
5354
5354
  if (!e)
5355
5355
  return;
5356
- let Q = !1;
5357
- const { latestValues: w } = e;
5358
- if ((w.z || w.rotate || w.rotateX || w.rotateY || w.rotateZ || w.skewX || w.skewY) && (Q = !0), !Q)
5356
+ let w = !1;
5357
+ const { latestValues: Q } = e;
5358
+ if ((Q.z || Q.rotate || Q.rotateX || Q.rotateY || Q.rotateZ || Q.skewX || Q.skewY) && (w = !0), !w)
5359
5359
  return;
5360
5360
  const C = {};
5361
- w.z && BB("z", e, C, this.animationValues);
5361
+ Q.z && BB("z", e, C, this.animationValues);
5362
5362
  for (let s = 0; s < gB.length; s++)
5363
5363
  BB(`rotate${gB[s]}`, e, C, this.animationValues), BB(`skew${gB[s]}`, e, C, this.animationValues);
5364
5364
  e.render();
@@ -5367,7 +5367,7 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5367
5367
  e.scheduleRender();
5368
5368
  }
5369
5369
  getProjectionStyles(e) {
5370
- var Q, w;
5370
+ var w, Q;
5371
5371
  if (!this.instance || this.isSVG)
5372
5372
  return;
5373
5373
  if (!this.isVisible)
@@ -5385,7 +5385,7 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5385
5385
  const I = o.animationValues || o.latestValues;
5386
5386
  this.applyTransformsToTarget(), C.transform = bi(this.projectionDeltaWithTransform, this.treeScale, I), s && (C.transform = s(I, C.transform));
5387
5387
  const { x: n, y: E } = this.projectionDelta;
5388
- C.transformOrigin = `${n.origin * 100}% ${E.origin * 100}% 0`, o.animationValues ? C.opacity = o === this ? (w = (Q = I.opacity) !== null && Q !== void 0 ? Q : this.latestValues.opacity) !== null && w !== void 0 ? w : 1 : this.preserveOpacity ? this.latestValues.opacity : I.opacityExit : C.opacity = o === this ? I.opacity !== void 0 ? I.opacity : "" : I.opacityExit !== void 0 ? I.opacityExit : 0;
5388
+ C.transformOrigin = `${n.origin * 100}% ${E.origin * 100}% 0`, o.animationValues ? C.opacity = o === this ? (Q = (w = I.opacity) !== null && w !== void 0 ? w : this.latestValues.opacity) !== null && Q !== void 0 ? Q : 1 : this.preserveOpacity ? this.latestValues.opacity : I.opacityExit : C.opacity = o === this ? I.opacity !== void 0 ? I.opacity : "" : I.opacityExit !== void 0 ? I.opacityExit : 0;
5389
5389
  for (const r in qg) {
5390
5390
  if (I[r] === void 0)
5391
5391
  continue;
@@ -5405,8 +5405,8 @@ function dt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
5405
5405
  // Only run on root
5406
5406
  resetTree() {
5407
5407
  this.root.nodes.forEach((e) => {
5408
- var Q;
5409
- return (Q = e.currentAnimation) === null || Q === void 0 ? void 0 : Q.stop();
5408
+ var w;
5409
+ return (w = e.currentAnimation) === null || w === void 0 ? void 0 : w.stop();
5410
5410
  }), this.root.nodes.forEach(RD), this.root.sharedNodes.clear();
5411
5411
  }
5412
5412
  };
@@ -5426,11 +5426,11 @@ function Ti(A) {
5426
5426
  const I = e ? B.measuredBox[o] : B.layoutBox[o], n = BA(M[o]);
5427
5427
  I.max = I.min + n, A.relativeTarget && !A.currentAnimation && (A.isProjectionDirty = !0, A.relativeTarget[o].max = A.relativeTarget[o].min + n);
5428
5428
  });
5429
- const Q = PA();
5430
- eg(Q, M, B.layoutBox);
5431
5429
  const w = PA();
5432
- e ? eg(w, A.applyTransform(D, !0), B.measuredBox) : eg(w, M, B.layoutBox);
5433
- const C = !Zt(Q);
5430
+ eg(w, M, B.layoutBox);
5431
+ const Q = PA();
5432
+ e ? eg(Q, A.applyTransform(D, !0), B.measuredBox) : eg(Q, M, B.layoutBox);
5433
+ const C = !Zt(w);
5434
5434
  let s = !1;
5435
5435
  if (!A.resumeFrom) {
5436
5436
  const o = A.getClosestProjectingParent();
@@ -5447,8 +5447,8 @@ function Ti(A) {
5447
5447
  A.notifyListeners("didUpdate", {
5448
5448
  layout: M,
5449
5449
  snapshot: B,
5450
- delta: w,
5451
- layoutDelta: Q,
5450
+ delta: Q,
5451
+ layoutDelta: w,
5452
5452
  hasLayoutChanged: C,
5453
5453
  hasRelativeLayoutChanged: s
5454
5454
  });
@@ -5638,15 +5638,15 @@ class ls extends mA {
5638
5638
  root: B ? B.current : void 0,
5639
5639
  rootMargin: M,
5640
5640
  threshold: typeof D == "number" ? D : rs[D]
5641
- }, Q = (w) => {
5642
- const { isIntersecting: C } = w;
5641
+ }, w = (Q) => {
5642
+ const { isIntersecting: C } = Q;
5643
5643
  if (this.isInView === C || (this.isInView = C, t && !C && this.hasEnteredView))
5644
5644
  return;
5645
5645
  C && (this.hasEnteredView = !0), this.node.animationState && this.node.animationState.setActive("whileInView", C);
5646
5646
  const { onViewportEnter: s, onViewportLeave: o } = this.node.getProps(), I = C ? s : o;
5647
- I && I(w);
5647
+ I && I(Q);
5648
5648
  };
5649
- return Es(this.node.current, e, Q);
5649
+ return Es(this.node.current, e, w);
5650
5650
  }
5651
5651
  mount() {
5652
5652
  this.startObserver();
@@ -5731,19 +5731,19 @@ class Us {
5731
5731
  scrapeMotionValuesFromProps(g, B, M) {
5732
5732
  return {};
5733
5733
  }
5734
- constructor({ parent: g, props: B, presenceContext: M, reducedMotionConfig: D, blockInitialAnimation: t, visualState: e }, Q = {}) {
5734
+ constructor({ parent: g, props: B, presenceContext: M, reducedMotionConfig: D, blockInitialAnimation: t, visualState: e }, w = {}) {
5735
5735
  this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = aM, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
5736
5736
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
5737
5737
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
5738
5738
  const n = IA.now();
5739
5739
  this.renderScheduledAt < n && (this.renderScheduledAt = n, J.render(this.render, !1, !0));
5740
5740
  };
5741
- const { latestValues: w, renderState: C, onUpdate: s } = e;
5742
- this.onUpdate = s, this.latestValues = w, this.baseTarget = { ...w }, this.initialValues = B.initial ? { ...w } : {}, this.renderState = C, this.parent = g, this.props = B, this.presenceContext = M, this.depth = g ? g.depth + 1 : 0, this.reducedMotionConfig = D, this.options = Q, this.blockInitialAnimation = !!t, this.isControllingVariants = bg(B), this.isVariantNode = Ce(B), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(g && g.current);
5741
+ const { latestValues: Q, renderState: C, onUpdate: s } = e;
5742
+ this.onUpdate = s, this.latestValues = Q, this.baseTarget = { ...Q }, this.initialValues = B.initial ? { ...Q } : {}, this.renderState = C, this.parent = g, this.props = B, this.presenceContext = M, this.depth = g ? g.depth + 1 : 0, this.reducedMotionConfig = D, this.options = w, this.blockInitialAnimation = !!t, this.isControllingVariants = bg(B), this.isVariantNode = Ce(B), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(g && g.current);
5743
5743
  const { willChange: o, ...I } = this.scrapeMotionValuesFromProps(B, {}, this);
5744
5744
  for (const n in I) {
5745
5745
  const E = I[n];
5746
- w[n] !== void 0 && X(E) && E.set(w[n], !1);
5746
+ Q[n] !== void 0 && X(E) && E.set(Q[n], !1);
5747
5747
  }
5748
5748
  }
5749
5749
  mount(g) {
@@ -5761,8 +5761,8 @@ class Us {
5761
5761
  }
5762
5762
  bindToMotionValue(g, B) {
5763
5763
  this.valueSubscriptions.has(g) && this.valueSubscriptions.get(g)();
5764
- const M = RA.has(g), D = B.on("change", (Q) => {
5765
- this.latestValues[g] = Q, this.props.onUpdate && J.preRender(this.notifyUpdate), M && this.projection && (this.projection.isTransformDirty = !0);
5764
+ const M = RA.has(g), D = B.on("change", (w) => {
5765
+ this.latestValues[g] = w, this.props.onUpdate && J.preRender(this.notifyUpdate), M && this.projection && (this.projection.isTransformDirty = !0);
5766
5766
  }), t = B.on("renderRequest", this.scheduleRender);
5767
5767
  let e;
5768
5768
  window.MotionCheckAppearSync && (e = window.MotionCheckAppearSync(this, g, B)), this.valueSubscriptions.set(g, () => {
@@ -6055,33 +6055,33 @@ const zg = Rs, hs = {
6055
6055
  all: 1
6056
6056
  };
6057
6057
  function Js(A, g, { root: B, margin: M, amount: D = "some" } = {}) {
6058
- const t = qe(A), e = /* @__PURE__ */ new WeakMap(), Q = (C) => {
6058
+ const t = qe(A), e = /* @__PURE__ */ new WeakMap(), w = (C) => {
6059
6059
  C.forEach((s) => {
6060
6060
  const o = e.get(s.target);
6061
6061
  if (s.isIntersecting !== !!o)
6062
6062
  if (s.isIntersecting) {
6063
6063
  const I = g(s.target, s);
6064
- typeof I == "function" ? e.set(s.target, I) : w.unobserve(s.target);
6064
+ typeof I == "function" ? e.set(s.target, I) : Q.unobserve(s.target);
6065
6065
  } else typeof o == "function" && (o(s), e.delete(s.target));
6066
6066
  });
6067
- }, w = new IntersectionObserver(Q, {
6067
+ }, Q = new IntersectionObserver(w, {
6068
6068
  root: B,
6069
6069
  rootMargin: M,
6070
6070
  threshold: typeof D == "number" ? D : hs[D]
6071
6071
  });
6072
- return t.forEach((C) => w.observe(C)), () => w.disconnect();
6072
+ return t.forEach((C) => Q.observe(C)), () => Q.disconnect();
6073
6073
  }
6074
6074
  function Rt(A, { root: g, margin: B, amount: M, once: D = !1 } = {}) {
6075
6075
  const [t, e] = h(!1);
6076
6076
  return O(() => {
6077
6077
  if (!A.current || D && t)
6078
6078
  return;
6079
- const Q = () => (e(!0), D ? void 0 : () => e(!1)), w = {
6079
+ const w = () => (e(!0), D ? void 0 : () => e(!1)), Q = {
6080
6080
  root: g && g.current || void 0,
6081
6081
  margin: B,
6082
6082
  amount: M
6083
6083
  };
6084
- return Js(A.current, Q, w);
6084
+ return Js(A.current, w, Q);
6085
6085
  }, [g, A, B, D, M]), t;
6086
6086
  }
6087
6087
  const zs = N(
@@ -6093,7 +6093,7 @@ const zs = N(
6093
6093
  widthLogo: D = "65px",
6094
6094
  ...t
6095
6095
  }, e) => {
6096
- const Q = OB(), [w, C] = h(!1), [s, o] = h(void 0), [I] = h(""), n = g.reduce((Z, a) => (Z[a.refId] = AA(null), Z), {}), E = () => C(!w);
6096
+ const w = OB(), [Q, C] = h(!1), [s, o] = h(void 0), [I] = h(""), n = g.reduce((Z, a) => (Z[a.refId] = AA(null), Z), {}), E = () => C(!Q);
6097
6097
  O(() => {
6098
6098
  g.forEach((a) => {
6099
6099
  const u = n[a.refId];
@@ -6115,12 +6115,12 @@ const zs = N(
6115
6115
  };
6116
6116
  }, [I, g, n]), O(() => {
6117
6117
  const Z = window.matchMedia("(min-width: 640px)"), a = () => {
6118
- Z.matches && w && C(!1);
6118
+ Z.matches && Q && C(!1);
6119
6119
  };
6120
6120
  return Z.addEventListener("change", a), () => {
6121
6121
  Z.removeEventListener("change", a);
6122
6122
  };
6123
- }, [w]);
6123
+ }, [Q]);
6124
6124
  const r = {
6125
6125
  goatData: "bg-zinc-900",
6126
6126
  secondary: "bg-[#ededed]",
@@ -6143,7 +6143,7 @@ const zs = N(
6143
6143
  experiences: "text-white"
6144
6144
  };
6145
6145
  return /* @__PURE__ */ y("nav", { ref: e, ...t, style: { zIndex: 9999, position: "fixed", top: "0px", left: "0px", right: "0px" }, className: `${r[A]} bg-opacity-75`, children: [
6146
- /* @__PURE__ */ y("div", { style: { marginLeft: "auto", marginRight: "auto", maxWidth: "80rem", paddingLeft: Q ? "0.5rem" : "1.5rem", paddingRight: Q ? "0.5rem" : "1.5rem" }, children: [
6146
+ /* @__PURE__ */ y("div", { style: { marginLeft: "auto", marginRight: "auto", maxWidth: "80rem", paddingLeft: w ? "0.5rem" : "1.5rem", paddingRight: w ? "0.5rem" : "1.5rem" }, children: [
6147
6147
  /* @__PURE__ */ i(
6148
6148
  Jg.div,
6149
6149
  {
@@ -6158,17 +6158,17 @@ const zs = N(
6158
6158
  }
6159
6159
  ),
6160
6160
  /* @__PURE__ */ y("div", { style: { position: "relative", display: "flex", height: "4rem", alignItems: "center", justifyContent: "space-between" }, children: [
6161
- /* @__PURE__ */ i("div", { style: { position: "absolute", top: "0px", bottom: "0px", left: "0px", display: Q ? "flex" : "none", alignItems: "center" }, children: /* @__PURE__ */ i("button", { className: `menu ${w ? A === "secondary" ? "openedark" : "opened" : ""}`, onClick: E, "aria-label": "Main Menu", children: /* @__PURE__ */ y("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
6161
+ /* @__PURE__ */ i("div", { style: { position: "absolute", top: "0px", bottom: "0px", left: "0px", display: w ? "flex" : "none", alignItems: "center" }, children: /* @__PURE__ */ i("button", { className: `menu ${Q ? A === "secondary" ? "openedark" : "opened" : ""}`, onClick: E, "aria-label": "Main Menu", children: /* @__PURE__ */ y("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
6162
6162
  /* @__PURE__ */ i("path", { className: A === "secondary" ? "linedark linedark1" : "line line1", d: "M 20,29.000046 H 80.000231 C 80.000231,29.000046 94.498839,28.817352 94.532987,66.711331 94.543142,77.980673 90.966081,81.670246 85.259173,81.668997 79.552261,81.667751 75.000211,74.999942 75.000211,74.999942 L 25.000021,25.000058" }),
6163
6163
  /* @__PURE__ */ i("path", { className: A === "secondary" ? "linedark linedark2" : "line line2", d: "M 20,50 H 80" }),
6164
6164
  /* @__PURE__ */ i("path", { className: A === "secondary" ? "linedark linedark3" : "line line3", d: "M 20,70.999954 H 80.000231 C 80.000231,70.999954 94.498839,71.182648 94.532987,33.288669 94.543142,22.019327 90.966081,18.329754 85.259173,18.331003 79.552261,18.332249 75.000211,25.000058 75.000211,25.000058 L 25.000021,74.999942" })
6165
6165
  ] }) }) }),
6166
- /* @__PURE__ */ y("div", { style: { display: "flex", flex: "1 1 0%", alignItems: "center", justifyContent: Q ? "center" : "stretch" }, children: [
6166
+ /* @__PURE__ */ y("div", { style: { display: "flex", flex: "1 1 0%", alignItems: "center", justifyContent: w ? "center" : "stretch" }, children: [
6167
6167
  /* @__PURE__ */ i("div", { className: "flex flex-shrink-0 items-center", children: /* @__PURE__ */ y("div", { className: "flex flex-col items-center lg:ml-[120px] ml-0", children: [
6168
6168
  /* @__PURE__ */ i(
6169
6169
  "img",
6170
6170
  {
6171
- className: "block lg:hidden",
6171
+ className: `${w ? "hidden" : "block"}`,
6172
6172
  style: { height: M && M.trim() !== "" ? M : "40px", width: D && D.trim() !== "" ? D : "65px" },
6173
6173
  src: B && B.trim() !== "" ? B : A === "secondary" ? pA : Qg,
6174
6174
  alt: "Logo"
@@ -6177,7 +6177,7 @@ const zs = N(
6177
6177
  /* @__PURE__ */ i(
6178
6178
  "img",
6179
6179
  {
6180
- className: "hidden lg:block",
6180
+ className: `${w ? "block" : "hidden"}`,
6181
6181
  style: { height: M && M.trim() !== "" ? M : "40px", width: D && D.trim() !== "" ? D : "65px" },
6182
6182
  src: B && B.trim() !== "" ? B : A === "secondary" ? pA : Qg,
6183
6183
  alt: "Logo"
@@ -6185,7 +6185,7 @@ const zs = N(
6185
6185
  ),
6186
6186
  (!B || B.trim() === "") && /* @__PURE__ */ i("div", { className: `text-[10px] ${U[A]} tracking-[4px]`, children: "DATA" })
6187
6187
  ] }) }),
6188
- /* @__PURE__ */ i("div", { style: { display: Q ? "none" : "block", flexGrow: 1, marginLeft: "1.5rem" }, children: /* @__PURE__ */ i("nav", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ i("ul", { className: "flex space-x-4", children: g.map(({ label: Z, href: a, refId: u }) => /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(VM, { href: a, Viewport: l[A], colorButton: c[A], setIsOpen: C, children: /* @__PURE__ */ i(
6188
+ /* @__PURE__ */ i("div", { style: { display: w ? "none" : "block", flexGrow: 1, marginLeft: "1.5rem" }, children: /* @__PURE__ */ i("nav", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ i("ul", { className: "flex space-x-4", children: g.map(({ label: Z, href: a, refId: u }) => /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(VM, { href: a, Viewport: l[A], colorButton: c[A], setIsOpen: C, children: /* @__PURE__ */ i(
6189
6189
  "div",
6190
6190
  {
6191
6191
  id: u,
@@ -6197,7 +6197,7 @@ const zs = N(
6197
6197
  ] })
6198
6198
  ] })
6199
6199
  ] }),
6200
- w && /* @__PURE__ */ i("div", { className: "space-y-1 px-2 pt-2 pb-3", children: g.map(({ label: Z, href: a }) => /* @__PURE__ */ i(VM, { href: a, Viewport: l[A], colorButton: c[A], setIsOpen: C, children: Z }, a)) })
6200
+ Q && /* @__PURE__ */ i("div", { className: "space-y-1 px-2 pt-2 pb-3", children: g.map(({ label: Z, href: a }) => /* @__PURE__ */ i(VM, { href: a, Viewport: l[A], colorButton: c[A], setIsOpen: C, children: Z }, a)) })
6201
6201
  ] });
6202
6202
  }
6203
6203
  );
@@ -6231,15 +6231,15 @@ const vs = () => ({
6231
6231
  className: g,
6232
6232
  ...B
6233
6233
  }, M) => {
6234
- const D = AA(null), t = M || D, e = Rt(t, { once: !1 }), Q = zg(), w = zg();
6234
+ const D = AA(null), t = M || D, e = Rt(t, { once: !1 }), w = zg(), Q = zg();
6235
6235
  return O(() => {
6236
- t.current && e && (Q.start("visible"), w.start("visible"));
6237
- }, [e, Q, w, t]), /* @__PURE__ */ i("div", { ref: t, ...B, children: /* @__PURE__ */ i(
6236
+ t.current && e && (w.start("visible"), Q.start("visible"));
6237
+ }, [e, w, Q, t]), /* @__PURE__ */ i("div", { ref: t, ...B, children: /* @__PURE__ */ i(
6238
6238
  Jg.div,
6239
6239
  {
6240
6240
  variants: vs(),
6241
6241
  initial: "hidden",
6242
- animate: Q,
6242
+ animate: w,
6243
6243
  exit: "hidden",
6244
6244
  className: g,
6245
6245
  children: A
@@ -6257,9 +6257,9 @@ const OA = N(
6257
6257
  delay: D = 0.5,
6258
6258
  ...t
6259
6259
  }, e) => {
6260
- const Q = AA(null), w = (n) => {
6261
- Q.current = n, typeof e == "function" ? e(n) : e && (e.current = n);
6262
- }, C = Rt(Q, { once: !1 }), s = zg(), o = zg(), I = {
6260
+ const w = AA(null), Q = (n) => {
6261
+ w.current = n, typeof e == "function" ? e(n) : e && (e.current = n);
6262
+ }, C = Rt(w, { once: !1 }), s = zg(), o = zg(), I = {
6263
6263
  primary: "#1F2937",
6264
6264
  secondary: "#ededed",
6265
6265
  vividPink: "#ff0145",
@@ -6273,7 +6273,7 @@ const OA = N(
6273
6273
  };
6274
6274
  return O(() => {
6275
6275
  C && (s.start("visible"), o.start("visible"));
6276
- }, [C, s, o]), /* @__PURE__ */ y("div", { ref: w, ...t, className: "relative overflow-hidden w-fit", children: [
6276
+ }, [C, s, o]), /* @__PURE__ */ y("div", { ref: Q, ...t, className: "relative overflow-hidden w-fit", children: [
6277
6277
  /* @__PURE__ */ i(
6278
6278
  Jg.div,
6279
6279
  {
@@ -6322,8 +6322,8 @@ const Ps = N(
6322
6322
  explore: D = {},
6323
6323
  overlap: t = {},
6324
6324
  nameImages: e = !1,
6325
- nameImagesBotton: Q = !1,
6326
- handletext4: w,
6325
+ nameImagesBotton: w = !1,
6326
+ handletext4: Q,
6327
6327
  handletext5: C,
6328
6328
  ...s
6329
6329
  }, o) => {
@@ -6375,7 +6375,7 @@ const Ps = N(
6375
6375
  ] }) }),
6376
6376
  /* @__PURE__ */ i(rA, { children: /* @__PURE__ */ i("p", { className: "text-sm md:text-lg mb-6", children: t.text3 }) }),
6377
6377
  /* @__PURE__ */ y("div", { className: "flex gap-4", children: [
6378
- t.text4 && /* @__PURE__ */ i(OA, { variant: g, duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex", style: { padding: "5px" }, children: /* @__PURE__ */ i(wg, { variant: g, onClick: w, size: "small", label: t.text4 }) }) }),
6378
+ t.text4 && /* @__PURE__ */ i(OA, { variant: g, duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex", style: { padding: "5px" }, children: /* @__PURE__ */ i(wg, { variant: g, onClick: Q, size: "small", label: t.text4 }) }) }),
6379
6379
  t.text5 && /* @__PURE__ */ i(OA, { variant: "tertiary", duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex", style: { padding: "5px" }, children: /* @__PURE__ */ i(wg, { variant: "tertiary", onClick: C, size: "small", label: t.text5 }) }) })
6380
6380
  ] })
6381
6381
  ] }),
@@ -6402,7 +6402,7 @@ const Ps = N(
6402
6402
  )
6403
6403
  ] }) }) }),
6404
6404
  e && /* @__PURE__ */ i("div", { className: "absolute inset-0 flex flex-col justify-center items-center text-white z-10 transition-opacity duration-700 ease-in-out", children: /* @__PURE__ */ i(rA, { children: /* @__PURE__ */ i("h1", { className: "text-4xl font-bold", children: ((k = A[I]) == null ? void 0 : k.alt) || "Título dinámico" }, I) }) }),
6405
- Q && /* @__PURE__ */ i(rA, { children: /* @__PURE__ */ i("div", { className: "absolute bottom-8 left-1/2 transform -translate-x-1/2 text-center z-10", children: /* @__PURE__ */ i("p", { className: "text-lg font-medium text-white", children: (V = A[I]) == null ? void 0 : V.alt }) }) }),
6405
+ w && /* @__PURE__ */ i(rA, { children: /* @__PURE__ */ i("div", { className: "absolute bottom-8 left-1/2 transform -translate-x-1/2 text-center z-10", children: /* @__PURE__ */ i("p", { className: "text-lg font-medium text-white", children: (V = A[I]) == null ? void 0 : V.alt }) }) }),
6406
6406
  /* @__PURE__ */ i(
6407
6407
  "div",
6408
6408
  {
@@ -6479,8 +6479,8 @@ const ht = ({ infoText: A, disabled: g = !1, bgStyles: B }) => {
6479
6479
  icon: D,
6480
6480
  placeholder: t = "Enter text",
6481
6481
  title: e,
6482
- info: Q = !1,
6483
- infoText: w,
6482
+ info: w = !1,
6483
+ infoText: Q,
6484
6484
  positionIcon: C = "left",
6485
6485
  type: s = "text",
6486
6486
  error: o = !1,
@@ -6528,7 +6528,7 @@ const ht = ({ infoText: A, disabled: g = !1, bgStyles: B }) => {
6528
6528
  return /* @__PURE__ */ y("div", { className: "relative", children: [
6529
6529
  e && /* @__PURE__ */ y("div", { className: "flex items-center text-xs mb-1 font-medium text-gray-800", children: [
6530
6530
  /* @__PURE__ */ i("span", { style: { color: A === "tertiary" ? "#73787f" : "" }, children: e }),
6531
- Q && w && /* @__PURE__ */ i(ht, { infoText: w, disabled: B, bgStyles: a[A] })
6531
+ w && Q && /* @__PURE__ */ i(ht, { infoText: Q, disabled: B, bgStyles: a[A] })
6532
6532
  ] }),
6533
6533
  /* @__PURE__ */ y("div", { className: "relative flex items-center", children: [
6534
6534
  D && C === "left" && /* @__PURE__ */ i("span", { className: "absolute left-3", children: V() }),
@@ -6579,8 +6579,8 @@ const Fs = _.forwardRef(
6579
6579
  icon: D,
6580
6580
  placeholder: t = "Select an option",
6581
6581
  title: e,
6582
- info: Q = !1,
6583
- infoText: w,
6582
+ info: w = !1,
6583
+ infoText: Q,
6584
6584
  positionIcon: C = "left",
6585
6585
  error: s = !1,
6586
6586
  errorMessage: o = "",
@@ -6624,7 +6624,7 @@ const Fs = _.forwardRef(
6624
6624
  return /* @__PURE__ */ y("div", { className: "relative", children: [
6625
6625
  e && /* @__PURE__ */ y("div", { className: "flex items-center text-xs mb-1 font-medium text-gray-800", children: [
6626
6626
  /* @__PURE__ */ i("span", { style: { color: A === "tertiary" ? "#73787f" : "" }, children: e }),
6627
- Q && w && /* @__PURE__ */ i(ht, { infoText: w, disabled: B, bgStyles: c[A] })
6627
+ w && Q && /* @__PURE__ */ i(ht, { infoText: Q, disabled: B, bgStyles: c[A] })
6628
6628
  ] }),
6629
6629
  /* @__PURE__ */ y("div", { className: "relative flex items-center", children: [
6630
6630
  D && C === "left" && /* @__PURE__ */ i("span", { className: "absolute left-3", children: a() }),
@@ -6686,8 +6686,8 @@ const bs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
6686
6686
  list: D = [],
6687
6687
  dataFiscal: t = {},
6688
6688
  logo: e,
6689
- router: Q,
6690
- extraComponent: w,
6689
+ router: w,
6690
+ extraComponent: Q,
6691
6691
  heightLogo: C = "60px",
6692
6692
  widthLogo: s = "85px",
6693
6693
  company: o = "2025 GOAT DATA",
@@ -6723,7 +6723,7 @@ const bs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
6723
6723
  secondary: "text-[#1F2937]",
6724
6724
  experiences: "text-[#1F2937]"
6725
6725
  }, V = (Y) => {
6726
- Y.link && Q && Q.push(Y.link);
6726
+ Y.link && w && w.push(Y.link);
6727
6727
  };
6728
6728
  return /* @__PURE__ */ y("footer", { ref: n, ...I, className: `${G[A]} ${k[A]}`, style: { paddingTop: "40px" }, children: [
6729
6729
  /* @__PURE__ */ y("div", { className: "container mx-auto px-4 md:px-8", children: [
@@ -6767,9 +6767,9 @@ const bs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
6767
6767
  /* @__PURE__ */ i("h2", { className: "text-lg font-semibold mb-4", children: "Data fiscal" }),
6768
6768
  /* @__PURE__ */ i("a", { href: t.href, target: t.target, children: /* @__PURE__ */ i("img", { style: { height: "120px" }, src: t.src }) })
6769
6769
  ] }),
6770
- w && /* @__PURE__ */ y("div", { className: "flex flex-col items-center", children: [
6770
+ Q && /* @__PURE__ */ y("div", { className: "flex flex-col items-center", children: [
6771
6771
  /* @__PURE__ */ i("h2", { className: "text-lg font-semibold mb-4", children: "Escribenos" }),
6772
- w
6772
+ Q
6773
6773
  ] })
6774
6774
  ] }),
6775
6775
  /* @__PURE__ */ y("div", { className: "flex flex-col items-center mt-8", children: [
@@ -6805,13 +6805,13 @@ function Ss(A) {
6805
6805
  }
6806
6806
  const Xs = N(
6807
6807
  ({ type: A = "success", message: g, duration: B = 5500, ...M }, D) => {
6808
- const t = OB(), [e, Q] = h(!0), [w, C] = h(!1), [s, o] = h(!1);
6808
+ const t = OB(), [e, w] = h(!0), [Q, C] = h(!1), [s, o] = h(!1);
6809
6809
  if (O(() => {
6810
6810
  const E = setTimeout(() => C(!0), B - 500);
6811
6811
  return () => clearTimeout(E);
6812
6812
  }, [B]), O(() => {
6813
- w && setTimeout(() => Q(!1), 500);
6814
- }, [w]), O(() => {
6813
+ Q && setTimeout(() => w(!1), 500);
6814
+ }, [Q]), O(() => {
6815
6815
  setTimeout(() => o(!0), 100);
6816
6816
  }, []), !e) return null;
6817
6817
  const I = {
@@ -6833,7 +6833,7 @@ const Xs = N(
6833
6833
  className: `fixed top-5 right-5 z-50 flex items-center gap-3
6834
6834
  ${t ? "max-w-xs p-3 text-sm" : "max-w-sm p-4"}
6835
6835
  rounded-lg shadow-lg text-white bg-opacity-90 transition-transform transform
6836
- ${w ? "animate-slide-out" : "animate-slide-in"}`,
6836
+ ${Q ? "animate-slide-out" : "animate-slide-in"}`,
6837
6837
  style: { backgroundColor: I[A].bg, zIndex: 1e4 },
6838
6838
  children: [
6839
6839
  n[A],
@@ -6873,11 +6873,11 @@ const xs = N(
6873
6873
  "opacity-20 cursor-not-allowed": g
6874
6874
  },
6875
6875
  B
6876
- ), Q = {
6876
+ ), w = {
6877
6877
  whatsapp: "hover:bg-[#128c7e] focus:ring-[#128c7e]",
6878
6878
  chat: "border-2 border-[#1F2937] hover:border-[#374151] focus:ring-[#1F2937]",
6879
6879
  soporte: "hover:bg-[#e6003f] focus:ring-[#ff0145]"
6880
- }, w = {
6880
+ }, Q = {
6881
6881
  whatsapp: "#01ff5e",
6882
6882
  chat: "#1F2937",
6883
6883
  soporte: "#ff0145"
@@ -6889,9 +6889,9 @@ const xs = N(
6889
6889
  return /* @__PURE__ */ i(
6890
6890
  "button",
6891
6891
  {
6892
- style: { whiteSpace: "nowrap", position: "fixed", bottom: 16, right: 16, zIndex: 9999, height: 60, width: 60, background: w[A] },
6892
+ style: { whiteSpace: "nowrap", position: "fixed", bottom: 16, right: 16, zIndex: 9999, height: 60, width: 60, background: Q[A] },
6893
6893
  ref: t,
6894
- className: R(e, Q[A]),
6894
+ className: R(e, w[A]),
6895
6895
  disabled: g,
6896
6896
  onClick: M,
6897
6897
  ...D,
@@ -6908,7 +6908,7 @@ function $s(A) {
6908
6908
  return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M333.782 80c128 64 128 288 0 352 192-64 192-288 0-352zm-48 16c64 50.843 64 270.217 0 321.06 128-50.843 128-270.217 0-321.06zm-75.13 49.922c-35.468.215-70.268 6.618-89.253 14.863-14.084 43.136-16.33 127.919-6.736 180.518-8.452-4.265-18.337-6.543-28.445-6.555-28.719 0-52 17.909-52 40s23.281 40 52 40 52-17.909 52-40c-6.166-49.187-13.74-115.12-8.225-165.437 37.756-7.722 77.49-17.422 114.688-10.715-4.152 38.294-3.029 82.424 3.379 117.552-8.452-4.265-18.337-6.543-28.446-6.554-28.719 0-52 17.908-52 40 0 22.091 23.281 40 52 40 28.72 0 52-17.909 52-40-4.618-72.485-18.78-132.767.33-196.436-18.491-5.267-40.012-7.365-61.293-7.236zm5.456 15.635c11.697-.073 23.313.706 34.174 2.558-1.185 5.199-2.232 10.67-3.156 16.336-37.913-5.64-78.578 1.385-114.332 9.656a227.233 227.233 0 0 1 3.277-14.884c19.722-7.718 50.145-13.48 80.037-13.666z" }, child: [] }] })(A);
6909
6909
  }
6910
6910
  const _s = N(
6911
- ({ videoSrc: A, height: g = "400px", explore: B, overlap: M, mutedVideo: D = !0, handletext4: t, handletext5: e, variant: Q = "vividPink", ...w }, C) => {
6911
+ ({ videoSrc: A, height: g = "400px", explore: B, overlap: M, mutedVideo: D = !0, handletext4: t, handletext5: e, variant: w = "vividPink", ...Q }, C) => {
6912
6912
  const s = AA(null), [o, I] = h(D), n = () => {
6913
6913
  const G = s.current;
6914
6914
  G && G.play().catch(() => {
@@ -6940,7 +6940,7 @@ const _s = N(
6940
6940
  tertiary: "text-[#d4d3d3]",
6941
6941
  experiences: "text-[#a8dbce]"
6942
6942
  };
6943
- return /* @__PURE__ */ y("header", { ref: C, ...w, style: { height: g, position: "relative", width: "100%", overflow: "hidden" }, children: [
6943
+ return /* @__PURE__ */ y("header", { ref: C, ...Q, style: { height: g, position: "relative", width: "100%", overflow: "hidden" }, children: [
6944
6944
  /* @__PURE__ */ i(
6945
6945
  "video",
6946
6946
  {
@@ -6959,11 +6959,11 @@ const _s = N(
6959
6959
  /* @__PURE__ */ i(rA, { children: /* @__PURE__ */ y("h1", { className: "text-3xl md:text-5xl font-bold animate-fade-in-up", children: [
6960
6960
  M.text1,
6961
6961
  " ",
6962
- /* @__PURE__ */ i("span", { className: `${r[Q]}`, children: M.text2 })
6962
+ /* @__PURE__ */ i("span", { className: `${r[w]}`, children: M.text2 })
6963
6963
  ] }) }),
6964
6964
  M.text3 && /* @__PURE__ */ i(rA, { children: /* @__PURE__ */ i("p", { className: "text-sm md:text-lg mb-6", children: M.text3 }) }),
6965
6965
  /* @__PURE__ */ y("div", { className: "flex gap-4", children: [
6966
- M.text4 && /* @__PURE__ */ i(OA, { variant: Q, duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex p-2", children: /* @__PURE__ */ i(wg, { variant: Q, onClick: t, size: "small", label: M.text4 }) }) }),
6966
+ M.text4 && /* @__PURE__ */ i(OA, { variant: w, duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex p-2", children: /* @__PURE__ */ i(wg, { variant: w, onClick: t, size: "small", label: M.text4 }) }) }),
6967
6967
  M.text5 && /* @__PURE__ */ i(OA, { variant: "tertiary", duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex p-2", children: /* @__PURE__ */ i(wg, { variant: "tertiary", onClick: e, size: "small", label: M.text5 }) }) })
6968
6968
  ] })
6969
6969
  ] }),