prisma-goat 0.2.9 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -219,10 +219,10 @@ const _g = lA(
219
219
  const r = J(
220
220
  "inline-flex items-center justify-center rounded-lg font-bold focus:outline-none focus:ring-2 focus:ring-offset-2 w-full",
221
221
  {
222
- "text-white": A !== "secondary" && A !== "tertiary",
223
- "text-[#1F2937]": A === "secondary" || A === "tertiary"
222
+ "text-white": A !== "secondary" && A !== "tertiary" && A !== "experiences",
223
+ "text-[#3d434b]": A === "secondary" || A === "tertiary" || A === "experiences"
224
224
  }
225
- ), c = {
225
+ ), a = {
226
226
  primary: "bg-[#1F2937] hover:bg-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]",
227
227
  secondary: "bg-transparent border-2 border-[#1F2937] hover:border-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]",
228
228
  vividPink: "bg-[#ff0145] hover:bg-[#e6003f] focus:ring-[#ff0145] focus:border-[#ff0145]",
@@ -231,7 +231,8 @@ const _g = lA(
231
231
  danger: "bg-[#b91c1c] hover:bg-[#9b1c1c] focus:ring-[#b91c1c] focus:border-[#b91c1c]",
232
232
  warning: "bg-[#f59e0b] hover:bg-[#d97706] focus:ring-[#f59e0b] focus:border-[#f59e0b]",
233
233
  success: "bg-[#047857] hover:bg-[#065f46] focus:ring-[#047857] focus:border-[#047857]",
234
- tertiary: "bg-[#d4d3d3] border-2 hover:border-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]"
234
+ tertiary: "bg-[#d4d3d3] border-2 hover:border-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]",
235
+ experiences: "bg-[#a8dbce] hover:bg-[#b7dad1] focus:ring-[#a8dbce] focus:border-[#a8dbce]"
235
236
  }, G = {
236
237
  small: "px-4 py-1.5 text-xs",
237
238
  medium: "px-6 py-2.5 text-base",
@@ -244,10 +245,10 @@ const _g = lA(
244
245
  A === "secondary" ? "border-[#1F2937]" : "border-white"
245
246
  )
246
247
  }
247
- ), V = () => N.isValidElement(Q) ? N.cloneElement(Q, { className: "w-5 h-5" }) : l(), a = i || g;
248
+ ), f = () => N.isValidElement(Q) ? N.cloneElement(Q, { className: "w-5 h-5" }) : l(), c = i || g;
248
249
  return tA(() => {
249
- const u = (d) => {
250
- if (e && d.key === "Enter" && !w && I) {
250
+ const y = (q) => {
251
+ if (e && q.key === "Enter" && !w && I) {
251
252
  const m = new MouseEvent("click", {
252
253
  bubbles: !0,
253
254
  cancelable: !0,
@@ -256,8 +257,8 @@ const _g = lA(
256
257
  I(m);
257
258
  }
258
259
  };
259
- return window.addEventListener("keydown", u), () => {
260
- window.removeEventListener("keydown", u);
260
+ return window.addEventListener("keydown", y), () => {
261
+ window.removeEventListener("keydown", y);
261
262
  };
262
263
  }, [e, I, w]), /* @__PURE__ */ U(
263
264
  "button",
@@ -266,7 +267,7 @@ const _g = lA(
266
267
  style: { whiteSpace: "nowrap" },
267
268
  className: J(
268
269
  r,
269
- c[A],
270
+ a[A],
270
271
  G[B],
271
272
  {
272
273
  "opacity-60 cursor-not-allowed": M,
@@ -279,9 +280,9 @@ const _g = lA(
279
280
  ...n,
280
281
  children: [
281
282
  M && D === "left" && /* @__PURE__ */ o("span", { className: "mr-2", children: Y }),
282
- t === "left" && /* @__PURE__ */ o("span", { className: "mr-2", children: V() }),
283
- a,
284
- t === "right" && /* @__PURE__ */ o("span", { className: "ml-2", children: V() }),
283
+ t === "left" && /* @__PURE__ */ o("span", { className: "mr-2", children: f() }),
284
+ c,
285
+ t === "right" && /* @__PURE__ */ o("span", { className: "ml-2", children: f() }),
285
286
  M && D === "right" && /* @__PURE__ */ o("span", { className: "ml-2", children: Y })
286
287
  ]
287
288
  }
@@ -343,7 +344,7 @@ const QA = {
343
344
  danger: "hover:bg-[#F87171] font-light",
344
345
  warning: "hover:bg-[#FBBF24] font-light",
345
346
  success: "hover:bg-[#2D6A4F] font-light"
346
- }, gA = {
347
+ }, BA = {
347
348
  primary: "bg-[#4B5563]",
348
349
  secondary: "bg-[#F3F4F6]",
349
350
  vividPink: "bg-[#FF5C6B]",
@@ -524,48 +525,48 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
524
525
  theme: n,
525
526
  InstallApp: E,
526
527
  login: r = !1,
527
- variantIndicator: c = "primary",
528
+ variantIndicator: a = "primary",
528
529
  backgroundIndicator: G = "black",
529
530
  logoGoatDataIndicator: l = "logoRed",
530
531
  imgLoadingIndicator: Y = "",
531
- strokeWidthIndicator: V = "10",
532
- ...a
533
- }, u) => {
532
+ strokeWidthIndicator: f = "10",
533
+ ...c
534
+ }, y) => {
534
535
  var R, IA, b, KA;
535
- const [d, m] = O(!1), [q, L] = O(!1), [BA, mA] = O(!1), [UA, rA] = O(null), [TA, XA] = O(null), v = wA(null), W = () => m(!d), GA = () => L(!q), oA = () => L(!1);
536
+ const [q, m] = O(!1), [d, v] = O(!1), [W, mA] = O(!1), [UA, rA] = O(null), [TA, XA] = O(null), P = wA(null), $ = () => m(!q), GA = () => v(!d), oA = () => v(!1);
536
537
  tA(() => {
537
538
  if (typeof window < "u" && (C != null && C.events)) {
538
- const y = () => {
539
+ const u = () => {
539
540
  mA(!0);
540
541
  }, k = () => {
541
542
  mA(!1);
542
543
  };
543
- return C.events.on("routeChangeStart", y), C.events.on("routeChangeComplete", k), C.events.on("routeChangeError", k), () => {
544
- C.events.off("routeChangeStart", y), C.events.off("routeChangeComplete", k), C.events.off("routeChangeError", k);
544
+ return C.events.on("routeChangeStart", u), C.events.on("routeChangeComplete", k), C.events.on("routeChangeError", k), () => {
545
+ C.events.off("routeChangeStart", u), C.events.off("routeChangeComplete", k), C.events.off("routeChangeError", k);
545
546
  };
546
547
  }
547
548
  }, [C]);
548
- const ng = (y, k) => {
549
- y.subItems && y.subItems.length > 0 ? rA((MA) => MA === k ? -1 : k) : y.link && C && C.push(y.link);
550
- }, Pg = (y, k) => {
551
- y.subItems && y.subItems.length > 0 ? rA((MA) => MA === k ? -1 : k) : y.link && C && (C.push(y.link), m(!1));
552
- }, NA = (y, k) => {
553
- rA((MA) => MA === k ? -1 : k), y.link && C && C.push(y.link);
554
- }, Eg = (y) => {
555
- y.link && C && (C.push(y.link), oA());
556
- }, f = (y) => {
557
- y.link && C && (C.push(y.link), m(!1));
549
+ const ng = (u, k) => {
550
+ u.subItems && u.subItems.length > 0 ? rA((MA) => MA === k ? -1 : k) : u.link && C && C.push(u.link);
551
+ }, Pg = (u, k) => {
552
+ u.subItems && u.subItems.length > 0 ? rA((MA) => MA === k ? -1 : k) : u.link && C && (C.push(u.link), m(!1));
553
+ }, NA = (u, k) => {
554
+ rA((MA) => MA === k ? -1 : k), u.link && C && C.push(u.link);
555
+ }, Eg = (u) => {
556
+ u.link && C && (C.push(u.link), oA());
557
+ }, V = (u) => {
558
+ u.link && C && (C.push(u.link), m(!1));
558
559
  };
559
560
  return tA(() => {
560
- const y = (k) => {
561
- v.current && !v.current.contains(k.target) && oA();
561
+ const u = (k) => {
562
+ P.current && !P.current.contains(k.target) && oA();
562
563
  };
563
- return q && document.addEventListener("mousedown", y), () => {
564
- document.removeEventListener("mousedown", y);
564
+ return d && document.addEventListener("mousedown", u), () => {
565
+ document.removeEventListener("mousedown", u);
565
566
  };
566
- }, [q]), /* @__PURE__ */ U("nav", { ref: u, ...a, className: `fixed top-0 left-0 right-0 z-10 ${QA[A]}`, children: [
567
+ }, [d]), /* @__PURE__ */ U("nav", { ref: y, ...c, className: `fixed top-0 left-0 right-0 z-10 ${QA[A]}`, children: [
567
568
  /* @__PURE__ */ o("div", { className: "mx-auto max-w-7xl px-2 sm:px-6 lg:px-8", children: /* @__PURE__ */ U("div", { className: "relative flex h-16 items-center justify-between", children: [
568
- /* @__PURE__ */ o("div", { className: "absolute inset-y-0 left-0 flex items-center sm:hidden", children: /* @__PURE__ */ o("button", { className: `menu ${d ? A === "secondary" ? "openedark" : "opened" : ""}`, onClick: W, "aria-label": "Main Menu", children: /* @__PURE__ */ U("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
569
+ /* @__PURE__ */ o("div", { className: "absolute inset-y-0 left-0 flex items-center sm:hidden", children: /* @__PURE__ */ o("button", { className: `menu ${q ? A === "secondary" ? "openedark" : "opened" : ""}`, onClick: $, "aria-label": "Main Menu", children: /* @__PURE__ */ U("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
569
570
  /* @__PURE__ */ o("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" }),
570
571
  /* @__PURE__ */ o("path", { className: A === "secondary" ? "linedark linedark2" : "line line2", d: "M 20,50 H 80" }),
571
572
  /* @__PURE__ */ o("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" })
@@ -593,7 +594,7 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
593
594
  (!w || w.trim() === "") && /* @__PURE__ */ o("div", { className: `${vA[A]}`, style: { fontSize: "10px", letterSpacing: "4px" }, children: "DATA" })
594
595
  ] }),
595
596
  /* @__PURE__ */ U("div", { className: "hidden sm:ml-6 sm:block", children: [
596
- /* @__PURE__ */ o("div", { className: `flex space-x-4 ${w && w.trim() !== "" ? "mt-0" : "mt-2"}`, children: M.map((y, k) => {
597
+ /* @__PURE__ */ o("div", { className: `flex space-x-4 ${w && w.trim() !== "" ? "mt-0" : "mt-2"}`, children: M.map((u, k) => {
597
598
  var MA;
598
599
  return /* @__PURE__ */ U("div", { className: "relative group", children: [
599
600
  /* @__PURE__ */ o(
@@ -602,29 +603,29 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
602
603
  type: "button",
603
604
  className: J(
604
605
  "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",
605
- t === y.link || (MA = y.subItems) != null && MA.some((T) => T.link === t) ? gA[A] : "",
606
+ t === u.link || (MA = u.subItems) != null && MA.some((T) => T.link === t) ? BA[A] : "",
606
607
  j[A],
607
608
  eA[A],
608
- t === y.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
609
- t === y.link ? "font-semibold" : "font-normal"
609
+ t === u.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
610
+ t === u.link ? "font-semibold" : "font-normal"
610
611
  ),
611
- onClick: () => ng(y, k),
612
+ onClick: () => ng(u, k),
612
613
  onMouseEnter: () => XA(k),
613
614
  onMouseLeave: () => XA(null),
614
- children: y.label
615
+ children: u.label
615
616
  }
616
617
  ),
617
- TA === k && y.description && y.description.trim() !== "" && /* @__PURE__ */ U(
618
+ TA === k && u.description && u.description.trim() !== "" && /* @__PURE__ */ U(
618
619
  "div",
619
620
  {
620
621
  style: { border: `1px ${Ag[A]} solid`, maxWidth: "260px" },
621
622
  className: `absolute top-full left-1/2 transform -translate-x-1/2 translate-y-2 opacity-0 mt-2 w-max px-4 py-4 text-xs ${vA[A]} ${QA[A]} rounded-md transition-all duration-300 group-hover:opacity-100 group-hover:translate-y-4`,
622
623
  children: [
623
- y.image && y.image.trim() !== "" && /* @__PURE__ */ U("div", { className: "relative w-full h-24 mb-2", children: [
624
+ u.image && u.image.trim() !== "" && /* @__PURE__ */ U("div", { className: "relative w-full h-24 mb-2", children: [
624
625
  /* @__PURE__ */ o(
625
626
  "img",
626
627
  {
627
- src: y.image,
628
+ src: u.image,
628
629
  alt: "Tooltip Image",
629
630
  className: "object-cover w-full h-full rounded-t-md opacity-75 hover:opacity-100 transition-opacity duration-300"
630
631
  }
@@ -632,22 +633,22 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
632
633
  /* @__PURE__ */ o("div", { className: "absolute bottom-0 w-full h-8 bg-gradient-to-t from-white/80 to-transparent" })
633
634
  ] }),
634
635
  /* @__PURE__ */ o("div", { className: "absolute top-0 left-1/2 transform -translate-x-1/2 -mt-2 w-0 h-0 border-l-4 border-r-4 border-b-4 border-transparent border-b-gray-800" }),
635
- y.description
636
+ u.description
636
637
  ]
637
638
  }
638
639
  ),
639
- y.subItems && y.subItems.length > 0 && UA === k && /* @__PURE__ */ o(
640
+ u.subItems && u.subItems.length > 0 && UA === k && /* @__PURE__ */ o(
640
641
  "div",
641
642
  {
642
643
  className: `absolute left-0 mt-2 w-48 ${QA[A]} ${mg[A]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
643
644
  role: "menu",
644
- children: y.subItems.map((T, Lg) => /* @__PURE__ */ o(
645
+ children: u.subItems.map((T, Lg) => /* @__PURE__ */ o(
645
646
  "div",
646
647
  {
647
648
  className: J(
648
649
  `block px-4 py-2 text-sm cursor-pointer ${QA[A]}e`,
649
650
  j[A] && `${j[A]}`,
650
- t === T.link ? gA[A] : "",
651
+ t === T.link ? BA[A] : "",
651
652
  t === T.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
652
653
  t === T.link ? "font-semibold" : "font-normal"
653
654
  ),
@@ -673,7 +674,7 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
673
674
  type: "button",
674
675
  className: `flex rounded-full bg-gray-800 text-sm transition duration-300 focus:outline-none focus:ring-2 ${eA[A]} focus:ring-offset-2`,
675
676
  id: "user-menu-button",
676
- "aria-expanded": q,
677
+ "aria-expanded": d,
677
678
  "aria-haspopup": "true",
678
679
  onClick: GA,
679
680
  children: /* @__PURE__ */ o(
@@ -687,8 +688,8 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
687
688
  src: B.image,
688
689
  alt: "User avatar",
689
690
  className: "rounded-full object-cover w-full h-full",
690
- onError: (y) => {
691
- y.currentTarget.onerror = null, y.currentTarget.src = "";
691
+ onError: (u) => {
692
+ u.currentTarget.onerror = null, u.currentTarget.src = "";
692
693
  }
693
694
  }
694
695
  ) : ((IA = (R = B.name) == null ? void 0 : R.charAt(0)) == null ? void 0 : IA.toUpperCase()) || "?"
@@ -696,26 +697,26 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
696
697
  )
697
698
  }
698
699
  ) }),
699
- q && /* @__PURE__ */ o(
700
+ d && /* @__PURE__ */ o(
700
701
  "div",
701
702
  {
702
- ref: v,
703
+ ref: P,
703
704
  className: `absolute right-0 mt-2 w-48 ${QA[A]} ${mg[A]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
704
705
  role: "menu",
705
- children: D.map((y, k) => /* @__PURE__ */ o(
706
+ children: D.map((u, k) => /* @__PURE__ */ o(
706
707
  "div",
707
708
  {
708
709
  className: J(
709
710
  "block px-4 py-2 text-sm cursor-pointer",
710
711
  j[A] && `${j[A]}`,
711
- t === y.link ? gA[A] : "",
712
- t === y.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
713
- t === y.link ? "font-semibold" : "font-normal"
712
+ t === u.link ? BA[A] : "",
713
+ t === u.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
714
+ t === u.link ? "font-semibold" : "font-normal"
714
715
  ),
715
- onClick: y.label === "Cerrar sesion" ? I : () => {
716
- Eg(y);
716
+ onClick: u.label === "Cerrar sesion" ? I : () => {
717
+ Eg(u);
717
718
  },
718
- children: y.label
719
+ children: u.label
719
720
  },
720
721
  k
721
722
  ))
@@ -729,7 +730,7 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
729
730
  `items-center justify-center px-4 py-2 text-sm cursor-pointer hidden sm:block
730
731
  ${j[A]}
731
732
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${eA[A]} focus:ring-offset-2`,
732
- t === "/login" ? gA[A] : "",
733
+ t === "/login" ? BA[A] : "",
733
734
  t === "/login" ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
734
735
  t === "/login" ? "font-semibold" : "font-normal"
735
736
  ),
@@ -741,8 +742,8 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
741
742
  ) : /* @__PURE__ */ o(EM, {})
742
743
  ] })
743
744
  ] }) }),
744
- d && /* @__PURE__ */ U("div", { className: "sm:hidden px-2 pt-2 pb-3 space-y-1", children: [
745
- M.map((y, k) => {
745
+ q && /* @__PURE__ */ U("div", { className: "sm:hidden px-2 pt-2 pb-3 space-y-1", children: [
746
+ M.map((u, k) => {
746
747
  var MA;
747
748
  return /* @__PURE__ */ U("div", { children: [
748
749
  /* @__PURE__ */ o(
@@ -751,28 +752,28 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
751
752
  className: J(
752
753
  `block w-full px-4 py-2 text-base ${j[A]}
753
754
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${eA[A]} focus:ring-offset-2 text-left`,
754
- t === y.link || (MA = y.subItems) != null && MA.some((T) => T.link === t) ? gA[A] : "",
755
- t === y.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
756
- t === y.link ? "font-semibold" : "font-normal"
755
+ t === u.link || (MA = u.subItems) != null && MA.some((T) => T.link === t) ? BA[A] : "",
756
+ t === u.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
757
+ t === u.link ? "font-semibold" : "font-normal"
757
758
  ),
758
759
  onClick: () => {
759
- Pg(y, k);
760
+ Pg(u, k);
760
761
  },
761
- children: y.label
762
+ children: u.label
762
763
  }
763
764
  ),
764
- y.subItems && y.subItems.length > 0 && UA === k && /* @__PURE__ */ o("div", { className: "pl-4 py-4", children: y.subItems.map((T, Lg) => /* @__PURE__ */ o(
765
+ u.subItems && u.subItems.length > 0 && UA === k && /* @__PURE__ */ o("div", { className: "pl-4 py-4", children: u.subItems.map((T, Lg) => /* @__PURE__ */ o(
765
766
  "button",
766
767
  {
767
768
  className: J(
768
769
  `block w-full px-4 py-1 text-sm ${j[A]}
769
770
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${eA[A]} focus:ring-offset-2 text-left`,
770
- t === T.link ? gA[A] : "",
771
+ t === T.link ? BA[A] : "",
771
772
  t === T.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
772
773
  t === T.link ? "font-semibold" : "font-normal"
773
774
  ),
774
775
  onClick: () => {
775
- NA(y, k), m(!1);
776
+ NA(u, k), m(!1);
776
777
  },
777
778
  children: T.label
778
779
  },
@@ -802,8 +803,8 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
802
803
  src: B.image,
803
804
  alt: "User avatar",
804
805
  className: "rounded-full object-cover w-full h-full",
805
- onError: (y) => {
806
- y.currentTarget.onerror = null, y.currentTarget.src = "";
806
+ onError: (u) => {
807
+ u.currentTarget.onerror = null, u.currentTarget.src = "";
807
808
  }
808
809
  }
809
810
  ) : ((KA = (b = B.name) == null ? void 0 : b.charAt(0)) == null ? void 0 : KA.toUpperCase()) || "?"
@@ -813,18 +814,18 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
813
814
  ),
814
815
  /* @__PURE__ */ o("div", { className: `block w-full px-4 py-4 ${vA[A]} text-left`, children: B.name })
815
816
  ] }),
816
- D.map((y, k) => /* @__PURE__ */ o(
817
+ D.map((u, k) => /* @__PURE__ */ o(
817
818
  "button",
818
819
  {
819
820
  className: J(
820
821
  `block w-full px-4 py-2 text-base ${j[A]}
821
822
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${eA[A]} focus:ring-offset-2 text-left`,
822
- t === y.link ? gA[A] : "",
823
- t === y.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
824
- t === y.link ? "font-semibold" : "font-normal"
823
+ t === u.link ? BA[A] : "",
824
+ t === u.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
825
+ t === u.link ? "font-semibold" : "font-normal"
825
826
  ),
826
- onClick: y.label === "Cerrar sesion" ? I : () => f(y),
827
- children: y.label
827
+ onClick: u.label === "Cerrar sesion" ? I : () => V(u),
828
+ children: u.label
828
829
  },
829
830
  k
830
831
  ))
@@ -835,7 +836,7 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
835
836
  className: J(
836
837
  `block w-full px-4 py-2 text-base ${j[A]}
837
838
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${eA[A]} focus:ring-offset-2 text-left`,
838
- t === "/login" ? gA[A] : "",
839
+ t === "/login" ? BA[A] : "",
839
840
  t === "/login" ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
840
841
  t === "/login" ? "font-semibold" : "font-normal"
841
842
  ),
@@ -846,14 +847,14 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
846
847
  }
847
848
  ) : /* @__PURE__ */ o(EM, {})
848
849
  ] }),
849
- BA && /* @__PURE__ */ o(
850
+ W && /* @__PURE__ */ o(
850
851
  JB,
851
852
  {
852
- variant: c,
853
+ variant: a,
853
854
  background: G,
854
855
  logoGoatData: l,
855
856
  imgLoading: Y,
856
- strokeWidth: V
857
+ strokeWidth: f
857
858
  }
858
859
  )
859
860
  ] });
@@ -971,39 +972,39 @@ const Tw = lA(
971
972
  backgroundIndicator: n = "black",
972
973
  logoGoatDataIndicator: E = "logoRed",
973
974
  imgLoadingIndicator: r = "",
974
- strokeWidthIndicator: c = "10",
975
+ strokeWidthIndicator: a = "10",
975
976
  handleLogout: G,
976
977
  toggleTheme: l,
977
978
  toggeInstallApp: Y,
978
- ...V
979
- }, a) => {
979
+ ...f
980
+ }, c) => {
980
981
  var NA, Eg;
981
- const [u, d] = O(!0), [m, q] = O(null), [L, BA] = O(!1), [mA, UA] = O(null), [rA, TA] = O(!1), XA = wA(null), v = () => BA(!L), W = () => BA(!1), GA = () => {
982
- d((f) => !f);
983
- }, oA = (f, R) => {
984
- f.subItems && f.subItems.length > 0 ? q((IA) => IA === R ? -1 : R) : f.link && t && t.push(f.link);
985
- }, ng = (f, R) => {
986
- q((IA) => IA === R ? -1 : R), f.link && t && t.push(f.link);
987
- }, Pg = (f) => {
988
- f.link && t && (t.push(f.link), W());
982
+ const [y, q] = O(!0), [m, d] = O(null), [v, W] = O(!1), [mA, UA] = O(null), [rA, TA] = O(!1), XA = wA(null), P = () => W(!v), $ = () => W(!1), GA = () => {
983
+ q((V) => !V);
984
+ }, oA = (V, R) => {
985
+ V.subItems && V.subItems.length > 0 ? d((IA) => IA === R ? -1 : R) : V.link && t && t.push(V.link);
986
+ }, ng = (V, R) => {
987
+ d((IA) => IA === R ? -1 : R), V.link && t && t.push(V.link);
988
+ }, Pg = (V) => {
989
+ V.link && t && (t.push(V.link), $());
989
990
  };
990
991
  return tA(() => {
991
992
  if (typeof window < "u" && (t != null && t.events)) {
992
- const f = () => {
993
+ const V = () => {
993
994
  TA(!0);
994
995
  }, R = () => {
995
996
  TA(!1);
996
997
  };
997
- return t.events.on("routeChangeStart", f), t.events.on("routeChangeComplete", R), t.events.on("routeChangeError", R), () => {
998
- t.events.off("routeChangeStart", f), t.events.off("routeChangeComplete", R), t.events.off("routeChangeError", R);
998
+ return t.events.on("routeChangeStart", V), t.events.on("routeChangeComplete", R), t.events.on("routeChangeError", R), () => {
999
+ t.events.off("routeChangeStart", V), t.events.off("routeChangeComplete", R), t.events.off("routeChangeError", R);
999
1000
  };
1000
1001
  }
1001
1002
  }, [t]), /* @__PURE__ */ U(
1002
1003
  "div",
1003
1004
  {
1004
- ref: a,
1005
- ...V,
1006
- style: { width: u ? "250px" : "70px" },
1005
+ ref: c,
1006
+ ...f,
1007
+ style: { width: y ? "250px" : "70px" },
1007
1008
  className: J(
1008
1009
  `fixed top-0 left-0 h-full ${QA[B]} text-white shadow-lg transition-all z-50`,
1009
1010
  M
@@ -1024,23 +1025,23 @@ const Tw = lA(
1024
1025
  {
1025
1026
  alt: "logo",
1026
1027
  className: "hidden lg:block",
1027
- style: { height: w && w.trim() !== "" ? w : u ? "70px" : "", width: e && e.trim() !== "" ? e : u ? "110px" : "40px" },
1028
- src: D && D.trim() !== "" ? D : B === "secondary" ? u ? PA : hB : u ? "https://goatdata.com.ar/images/logogoatblanco.png" : RB
1028
+ style: { height: w && w.trim() !== "" ? w : y ? "70px" : "", width: e && e.trim() !== "" ? e : y ? "110px" : "40px" },
1029
+ src: D && D.trim() !== "" ? D : B === "secondary" ? y ? PA : hB : y ? "https://goatdata.com.ar/images/logogoatblanco.png" : RB
1029
1030
  }
1030
1031
  ),
1031
- (!D || D.trim() === "") && /* @__PURE__ */ o("div", { className: `${vA[B]} ${u ? "" : "lock w-auto lg:hidden"}`, style: { fontSize: u ? "12px" : "8px", letterSpacing: "4px" }, children: "DATA" })
1032
+ (!D || D.trim() === "") && /* @__PURE__ */ o("div", { className: `${vA[B]} ${y ? "" : "lock w-auto lg:hidden"}`, style: { fontSize: y ? "12px" : "8px", letterSpacing: "4px" }, children: "DATA" })
1032
1033
  ] }),
1033
1034
  /* @__PURE__ */ o(
1034
1035
  "button",
1035
1036
  {
1036
1037
  onClick: GA,
1037
1038
  className: `absolute -right-3 transform -translate-y-1/2 p-1 rounded-full shadow-md ${Ow[B]} focus:outline-none`,
1038
- children: u ? /* @__PURE__ */ o(Jw, { size: 20 }) : /* @__PURE__ */ o(hw, { size: 20 })
1039
+ children: y ? /* @__PURE__ */ o(Jw, { size: 20 }) : /* @__PURE__ */ o(hw, { size: 20 })
1039
1040
  }
1040
1041
  ),
1041
1042
  /* @__PURE__ */ o("div", { style: { marginLeft: "20px", marginRight: "20px", border: `1px ${Ag[B]} solid`, marginTop: "14px" } }),
1042
1043
  /* @__PURE__ */ U("div", { style: { display: "flex", justifyContent: "space-between", flexDirection: "column", height: "75vh" }, children: [
1043
- /* @__PURE__ */ o("div", { className: "flex flex-col items-start p-4 space-y-4 mt-7", children: g.map((f, R) => {
1044
+ /* @__PURE__ */ o("div", { className: "flex flex-col items-start p-4 space-y-4 mt-7", children: g.map((V, R) => {
1044
1045
  var IA;
1045
1046
  return /* @__PURE__ */ U("div", { className: "w-full relative group", children: [
1046
1047
  /* @__PURE__ */ U(
@@ -1048,35 +1049,35 @@ const Tw = lA(
1048
1049
  {
1049
1050
  type: "button",
1050
1051
  className: J(
1051
- `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`,
1052
+ `flex items-center justify-start w-full ${y ? "px-4" : ""} ${y ? "py-2" : ""} text-sm cursor-pointer rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2`,
1052
1053
  j[B],
1053
1054
  eA[B],
1054
- Q === f.link || (IA = f.subItems) != null && IA.some((b) => b.link === Q) ? gA[B] : "",
1055
- Q === f.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",
1056
- Q === f.link ? "font-semibold" : "font-normal"
1055
+ Q === V.link || (IA = V.subItems) != null && IA.some((b) => b.link === Q) ? BA[B] : "",
1056
+ Q === V.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",
1057
+ Q === V.link ? "font-semibold" : "font-normal"
1057
1058
  ),
1058
1059
  onClick: () => {
1059
- oA(f, R);
1060
+ oA(V, R);
1060
1061
  },
1061
1062
  onMouseEnter: () => UA(R),
1062
1063
  onMouseLeave: () => UA(null),
1063
1064
  children: [
1064
- (f == null ? void 0 : f.icon) && /* @__PURE__ */ o(
1065
+ (V == null ? void 0 : V.icon) && /* @__PURE__ */ o(
1065
1066
  "div",
1066
1067
  {
1067
- className: `flex ${u ? "" : "py-2"}`,
1068
+ className: `flex ${y ? "" : "py-2"}`,
1068
1069
  style: {
1069
- marginRight: u ? "12px" : "0px",
1070
- marginLeft: u ? "0px" : "6px"
1070
+ marginRight: y ? "12px" : "0px",
1071
+ marginLeft: y ? "0px" : "6px"
1071
1072
  },
1072
- children: /* @__PURE__ */ o(f.icon, { className: "w-6 h-6" })
1073
+ children: /* @__PURE__ */ o(V.icon, { className: "w-6 h-6" })
1073
1074
  }
1074
1075
  ),
1075
- /* @__PURE__ */ o("span", { className: `${u ? "block" : "hidden"}`, children: f.label })
1076
+ /* @__PURE__ */ o("span", { className: `${y ? "block" : "hidden"}`, children: V.label })
1076
1077
  ]
1077
1078
  }
1078
1079
  ),
1079
- mA === R && f.description && f.description.trim() !== "" && !u && /* @__PURE__ */ U(
1080
+ mA === R && V.description && V.description.trim() !== "" && !y && /* @__PURE__ */ U(
1080
1081
  "div",
1081
1082
  {
1082
1083
  style: {
@@ -1085,16 +1086,16 @@ const Tw = lA(
1085
1086
  },
1086
1087
  className: J(
1087
1088
  "absolute top-1/2 transform -translate-y-1/2 transition-all duration-300 opacity-0 group-hover:opacity-100 rounded-md text-xs px-4 py-2 shadow-lg",
1088
- u ? "left-full ml-2" : "left-full ml-2 translate-x-2 group-hover:translate-x-4",
1089
+ y ? "left-full ml-2" : "left-full ml-2 translate-x-2 group-hover:translate-x-4",
1089
1090
  vA[B],
1090
1091
  QA[B]
1091
1092
  ),
1092
1093
  children: [
1093
- f.image && f.image.trim() !== "" && /* @__PURE__ */ U("div", { className: "relative w-full h-24 mb-2", children: [
1094
+ V.image && V.image.trim() !== "" && /* @__PURE__ */ U("div", { className: "relative w-full h-24 mb-2", children: [
1094
1095
  /* @__PURE__ */ o(
1095
1096
  "img",
1096
1097
  {
1097
- src: f.image,
1098
+ src: V.image,
1098
1099
  alt: "Tooltip Image",
1099
1100
  className: "object-cover w-full h-full rounded-t-md opacity-75 hover:opacity-100 transition-opacity duration-300"
1100
1101
  }
@@ -1102,17 +1103,17 @@ const Tw = lA(
1102
1103
  /* @__PURE__ */ o("div", { className: "absolute bottom-0 w-full h-8 bg-gradient-to-t from-white/80 to-transparent" })
1103
1104
  ] }),
1104
1105
  /* @__PURE__ */ o("div", { className: "absolute top-1/2 left-0 transform -translate-y-1/2 -ml-2 w-0 h-0 border-t-4 border-r-4 border-b-4 border-transparent border-t-gray-800" }),
1105
- f.description
1106
+ V.description
1106
1107
  ]
1107
1108
  }
1108
1109
  ),
1109
- f.subItems && f.subItems.length > 0 && m === R && (u ? /* @__PURE__ */ o("div", { className: "pl-4 py-4", children: f.subItems.map((b, KA) => /* @__PURE__ */ o(
1110
+ V.subItems && V.subItems.length > 0 && m === R && (y ? /* @__PURE__ */ o("div", { className: "pl-4 py-4", children: V.subItems.map((b, KA) => /* @__PURE__ */ o(
1110
1111
  "button",
1111
1112
  {
1112
1113
  className: J(
1113
1114
  `block w-full px-4 py-1 text-sm ${j[B]}
1114
1115
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${eA[B]} focus:ring-offset-2 text-left`,
1115
- Q === b.link ? gA[B] : "",
1116
+ Q === b.link ? BA[B] : "",
1116
1117
  Q === b.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",
1117
1118
  Q === b.link ? "font-semibold" : "font-normal"
1118
1119
  ),
@@ -1128,13 +1129,13 @@ const Tw = lA(
1128
1129
  style: { zIndex: "999" },
1129
1130
  className: `absolute left-0 mt-2 w-48 ${QA[B]} ${mg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
1130
1131
  role: "menu",
1131
- children: f.subItems.map((b, KA) => /* @__PURE__ */ o(
1132
+ children: V.subItems.map((b, KA) => /* @__PURE__ */ o(
1132
1133
  "div",
1133
1134
  {
1134
1135
  className: J(
1135
1136
  `block px-4 py-2 text-sm cursor-pointer ${QA[B]}e`,
1136
1137
  j[B] && `${j[B]}`,
1137
- Q === b.link ? gA[B] : "",
1138
+ Q === b.link ? BA[B] : "",
1138
1139
  Q === b.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",
1139
1140
  Q === b.link ? "font-semibold" : "font-normal"
1140
1141
  ),
@@ -1150,7 +1151,7 @@ const Tw = lA(
1150
1151
  ] }, R);
1151
1152
  }) }),
1152
1153
  C && /* @__PURE__ */ U("div", { className: "relative ml-3", children: [
1153
- /* @__PURE__ */ U("div", { id: "user-menu-button", style: { display: "flex", alignItems: "center", cursor: "pointer" }, onClick: v, children: [
1154
+ /* @__PURE__ */ U("div", { id: "user-menu-button", style: { display: "flex", alignItems: "center", cursor: "pointer" }, onClick: P, children: [
1154
1155
  /* @__PURE__ */ o(
1155
1156
  "button",
1156
1157
  {
@@ -1168,8 +1169,8 @@ const Tw = lA(
1168
1169
  src: C.image,
1169
1170
  alt: "User avatar",
1170
1171
  className: "rounded-full object-cover w-full h-full",
1171
- onError: (f) => {
1172
- f.currentTarget.onerror = null, f.currentTarget.src = "";
1172
+ onError: (V) => {
1173
+ V.currentTarget.onerror = null, V.currentTarget.src = "";
1173
1174
  }
1174
1175
  }
1175
1176
  ) : ((Eg = (NA = C.name) == null ? void 0 : NA.charAt(0)) == null ? void 0 : Eg.toUpperCase()) || "?"
@@ -1177,35 +1178,35 @@ const Tw = lA(
1177
1178
  )
1178
1179
  }
1179
1180
  ),
1180
- /* @__PURE__ */ o("div", { className: `block w-full px-4 py-4 ${vA[B]} text-left ${u ? "block" : "hidden"}`, children: C.name }),
1181
- /* @__PURE__ */ o("div", { className: `mr-2 ${u ? "block" : "hidden"}`, children: /* @__PURE__ */ o(Fw, { size: 20, color: Ag[B] }) })
1181
+ /* @__PURE__ */ o("div", { className: `block w-full px-4 py-4 ${vA[B]} text-left ${y ? "block" : "hidden"}`, children: C.name }),
1182
+ /* @__PURE__ */ o("div", { className: `mr-2 ${y ? "block" : "hidden"}`, children: /* @__PURE__ */ o(Fw, { size: 20, color: Ag[B] }) })
1182
1183
  ] }),
1183
- L && /* @__PURE__ */ o(
1184
+ v && /* @__PURE__ */ o(
1184
1185
  "div",
1185
1186
  {
1186
1187
  ref: XA,
1187
- className: `absolute right-0 ${u ? "left-56" : "left-14"} bottom-8 mt-2 w-48 ${QA[B]} ${mg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
1188
+ className: `absolute right-0 ${y ? "left-56" : "left-14"} bottom-8 mt-2 w-48 ${QA[B]} ${mg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
1188
1189
  role: "menu",
1189
- children: A.map((f, R) => /* @__PURE__ */ o(
1190
+ children: A.map((V, R) => /* @__PURE__ */ o(
1190
1191
  "div",
1191
1192
  {
1192
1193
  className: J(
1193
1194
  "block px-4 py-2 text-sm cursor-pointer",
1194
1195
  j[B] && `${j[B]}`,
1195
- Q === f.link ? gA[B] : "",
1196
- Q === f.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",
1197
- Q === f.link ? "font-semibold" : "font-normal"
1196
+ Q === V.link ? BA[B] : "",
1197
+ Q === V.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",
1198
+ Q === V.link ? "font-semibold" : "font-normal"
1198
1199
  ),
1199
- onClick: f.label === "Cerrar sesion" ? G : () => {
1200
- Pg(f);
1200
+ onClick: V.label === "Cerrar sesion" ? G : () => {
1201
+ Pg(V);
1201
1202
  },
1202
- children: f.label
1203
+ children: V.label
1203
1204
  },
1204
1205
  R
1205
1206
  ))
1206
1207
  }
1207
1208
  ),
1208
- /* @__PURE__ */ U("div", { style: { display: "flex", gap: "12px", padding: "0px 20px 0px 10px", flexDirection: u ? "row" : "column", alignItems: "center" }, children: [
1209
+ /* @__PURE__ */ U("div", { style: { display: "flex", gap: "12px", padding: "0px 20px 0px 10px", flexDirection: y ? "row" : "column", alignItems: "center" }, children: [
1209
1210
  s && /* @__PURE__ */ o(TD, { variant: B, onClick: Y }),
1210
1211
  i && /* @__PURE__ */ o(SD, { variant: B, toggleTheme: l })
1211
1212
  ] })
@@ -1218,7 +1219,7 @@ const Tw = lA(
1218
1219
  background: n,
1219
1220
  logoGoatData: E,
1220
1221
  imgLoading: r,
1221
- strokeWidth: c
1222
+ strokeWidth: a
1222
1223
  }
1223
1224
  )
1224
1225
  ]
@@ -1377,7 +1378,7 @@ function xD(g, A) {
1377
1378
  };
1378
1379
  return { schedule: lg.reduce((G, l) => {
1379
1380
  const Y = e[l];
1380
- return G[l] = (V, a = !1, u = !1) => (B || E(), Y.schedule(V, a, u)), G;
1381
+ return G[l] = (f, c = !1, y = !1) => (B || E(), Y.schedule(f, c, y)), G;
1381
1382
  }, {}), cancel: (G) => {
1382
1383
  for (let l = 0; l < lg.length; l++)
1383
1384
  e[lg[l]].cancel(G);
@@ -1555,14 +1556,14 @@ function it(g, A, B, M, D) {
1555
1556
  Uw(() => {
1556
1557
  I && E.current && I.update(B, C);
1557
1558
  });
1558
- const r = B[Ae], c = wA(!!r && !(!((w = window.MotionHandoffIsComplete) === null || w === void 0) && w.call(window, r)) && ((e = window.MotionHasOptimisedAnimation) === null || e === void 0 ? void 0 : e.call(window, r)));
1559
+ const r = B[Ae], a = wA(!!r && !(!((w = window.MotionHandoffIsComplete) === null || w === void 0) && w.call(window, r)) && ((e = window.MotionHasOptimisedAnimation) === null || e === void 0 ? void 0 : e.call(window, r)));
1559
1560
  return xw(() => {
1560
- I && (E.current = !0, window.MotionIsMounted = !0, I.updateFeatures(), bB.render(I.render), c.current && I.animationState && I.animationState.animateChanges());
1561
+ I && (E.current = !0, window.MotionIsMounted = !0, I.updateFeatures(), bB.render(I.render), a.current && I.animationState && I.animationState.animateChanges());
1561
1562
  }), tA(() => {
1562
- I && (!c.current && I.animationState && I.animationState.animateChanges(), c.current && (queueMicrotask(() => {
1563
+ I && (!a.current && I.animationState && I.animationState.animateChanges(), a.current && (queueMicrotask(() => {
1563
1564
  var G;
1564
1565
  (G = window.MotionHandoffMarkAsComplete) === null || G === void 0 || G.call(window, r);
1565
- }), c.current = !1));
1566
+ }), a.current = !1));
1566
1567
  }), I;
1567
1568
  }
1568
1569
  function st(g, A, B, M) {
@@ -1601,8 +1602,8 @@ function ot({ preloadedFeatures: g, createVisualElement: A, useRender: B, useVis
1601
1602
  }, { isStatic: n } = I, E = wt(C), r = M(C, n);
1602
1603
  if (!n && vB) {
1603
1604
  nt(I, g);
1604
- const c = Et(I);
1605
- s = c.MeasureLayout, E.visualElement = it(D, r, I, A, c.ProjectionNode);
1605
+ const a = Et(I);
1606
+ s = a.MeasureLayout, E.visualElement = it(D, r, I, A, a.ProjectionNode);
1606
1607
  }
1607
1608
  return U(Rg.Provider, { value: E, children: [s && E.visualElement ? o(s, { visualElement: E.visualElement, ...I }) : null, B(D, C, Qt(r, E.visualElement, i), r, n, E.visualElement)] });
1608
1609
  }
@@ -1726,12 +1727,12 @@ function ct(g, A, B, M) {
1726
1727
  for (let n = 0; n < I.length; n++) {
1727
1728
  const E = HB(g, I[n]);
1728
1729
  if (E) {
1729
- const { transitionEnd: r, transition: c, ...G } = E;
1730
+ const { transitionEnd: r, transition: a, ...G } = E;
1730
1731
  for (const l in G) {
1731
1732
  let Y = G[l];
1732
1733
  if (Array.isArray(Y)) {
1733
- const V = i ? Y.length - 1 : 0;
1734
- Y = Y[V];
1734
+ const f = i ? Y.length - 1 : 0;
1735
+ Y = Y[f];
1735
1736
  }
1736
1737
  Y !== null && (D[l] = Y);
1737
1738
  }
@@ -3280,44 +3281,44 @@ function We(g = h.visualDuration, A = h.bounce) {
3280
3281
  const w = B.keyframes[0], e = B.keyframes[B.keyframes.length - 1], Q = { done: !1, value: w }, { stiffness: t, damping: C, mass: i, duration: s, velocity: I, isResolvedFromDuration: n } = BC({
3281
3282
  ...B,
3282
3283
  velocity: -/* @__PURE__ */ nA(B.velocity || 0)
3283
- }), E = I || 0, r = C / (2 * Math.sqrt(t * i)), c = e - w, G = /* @__PURE__ */ nA(Math.sqrt(t / i)), l = Math.abs(c) < 5;
3284
+ }), E = I || 0, r = C / (2 * Math.sqrt(t * i)), a = e - w, G = /* @__PURE__ */ nA(Math.sqrt(t / i)), l = Math.abs(a) < 5;
3284
3285
  M || (M = l ? h.restSpeed.granular : h.restSpeed.default), D || (D = l ? h.restDelta.granular : h.restDelta.default);
3285
3286
  let Y;
3286
3287
  if (r < 1) {
3287
- const a = CB(G, r);
3288
- Y = (u) => {
3289
- const d = Math.exp(-r * G * u);
3290
- return e - d * ((E + r * G * c) / a * Math.sin(a * u) + c * Math.cos(a * u));
3288
+ const c = CB(G, r);
3289
+ Y = (y) => {
3290
+ const q = Math.exp(-r * G * y);
3291
+ return e - q * ((E + r * G * a) / c * Math.sin(c * y) + a * Math.cos(c * y));
3291
3292
  };
3292
3293
  } else if (r === 1)
3293
- Y = (a) => e - Math.exp(-G * a) * (c + (E + G * c) * a);
3294
+ Y = (c) => e - Math.exp(-G * c) * (a + (E + G * a) * c);
3294
3295
  else {
3295
- const a = G * Math.sqrt(r * r - 1);
3296
- Y = (u) => {
3297
- const d = Math.exp(-r * G * u), m = Math.min(a * u, 300);
3298
- return e - d * ((E + r * G * c) * Math.sinh(m) + a * c * Math.cosh(m)) / a;
3296
+ const c = G * Math.sqrt(r * r - 1);
3297
+ Y = (y) => {
3298
+ const q = Math.exp(-r * G * y), m = Math.min(c * y, 300);
3299
+ return e - q * ((E + r * G * a) * Math.sinh(m) + c * a * Math.cosh(m)) / c;
3299
3300
  };
3300
3301
  }
3301
- const V = {
3302
+ const f = {
3302
3303
  calculatedDuration: n && s || null,
3303
- next: (a) => {
3304
- const u = Y(a);
3304
+ next: (c) => {
3305
+ const y = Y(c);
3305
3306
  if (n)
3306
- Q.done = a >= s;
3307
+ Q.done = c >= s;
3307
3308
  else {
3308
- let d = 0;
3309
- r < 1 && (d = a === 0 ? /* @__PURE__ */ CA(E) : xe(Y, a, u));
3310
- const m = Math.abs(d) <= M, q = Math.abs(e - u) <= D;
3311
- Q.done = m && q;
3309
+ let q = 0;
3310
+ r < 1 && (q = c === 0 ? /* @__PURE__ */ CA(E) : xe(Y, c, y));
3311
+ const m = Math.abs(q) <= M, d = Math.abs(e - y) <= D;
3312
+ Q.done = m && d;
3312
3313
  }
3313
- return Q.value = Q.done ? e : u, Q;
3314
+ return Q.value = Q.done ? e : y, Q;
3314
3315
  },
3315
3316
  toString: () => {
3316
- const a = Math.min(Ee(V), gB), u = le((d) => V.next(a * d).value, a, 30);
3317
- return a + "ms " + u;
3317
+ const c = Math.min(Ee(f), gB), y = le((q) => f.next(c * q).value, c, 30);
3318
+ return c + "ms " + y;
3318
3319
  }
3319
3320
  };
3320
- return V;
3321
+ return f;
3321
3322
  }
3322
3323
  function bM({ keyframes: g, velocity: A = 0, power: B = 0.8, timeConstant: M = 325, bounceDamping: D = 10, bounceStiffness: w = 500, modifyTarget: e, min: Q, max: t, restDelta: C = 0.5, restSpeed: i }) {
3323
3324
  const s = g[0], I = {
@@ -3325,15 +3326,15 @@ function bM({ keyframes: g, velocity: A = 0, power: B = 0.8, timeConstant: M = 3
3325
3326
  value: s
3326
3327
  }, n = (m) => Q !== void 0 && m < Q || t !== void 0 && m > t, E = (m) => Q === void 0 ? t : t === void 0 || Math.abs(Q - m) < Math.abs(t - m) ? Q : t;
3327
3328
  let r = B * A;
3328
- const c = s + r, G = e === void 0 ? c : e(c);
3329
- G !== c && (r = G - s);
3330
- const l = (m) => -r * Math.exp(-m / M), Y = (m) => G + l(m), V = (m) => {
3331
- const q = l(m), L = Y(m);
3332
- I.done = Math.abs(q) <= C, I.value = I.done ? G : L;
3329
+ const a = s + r, G = e === void 0 ? a : e(a);
3330
+ G !== a && (r = G - s);
3331
+ const l = (m) => -r * Math.exp(-m / M), Y = (m) => G + l(m), f = (m) => {
3332
+ const d = l(m), v = Y(m);
3333
+ I.done = Math.abs(d) <= C, I.value = I.done ? G : v;
3333
3334
  };
3334
- let a, u;
3335
- const d = (m) => {
3336
- n(I.value) && (a = m, u = We({
3335
+ let c, y;
3336
+ const q = (m) => {
3337
+ n(I.value) && (c = m, y = We({
3337
3338
  keyframes: [I.value, E(I.value)],
3338
3339
  velocity: xe(Y, m, I.value),
3339
3340
  // TODO: This should be passing * 1000
@@ -3343,11 +3344,11 @@ function bM({ keyframes: g, velocity: A = 0, power: B = 0.8, timeConstant: M = 3
3343
3344
  restSpeed: i
3344
3345
  }));
3345
3346
  };
3346
- return d(0), {
3347
+ return q(0), {
3347
3348
  calculatedDuration: null,
3348
3349
  next: (m) => {
3349
- let q = !1;
3350
- return !u && a === void 0 && (q = !0, V(m), d(m)), a !== void 0 && m >= a ? u.next(m - a) : (!q && V(m), I);
3350
+ let d = !1;
3351
+ return !y && c === void 0 && (d = !0, f(m), q(m)), c !== void 0 && m >= c ? y.next(m - c) : (!d && f(m), I);
3351
3352
  }
3352
3353
  };
3353
3354
  }
@@ -3504,22 +3505,22 @@ class IM extends Te {
3504
3505
  const { finalKeyframe: D, generator: w, mirroredGenerator: e, mapPercentToKeyframes: Q, keyframes: t, calculatedDuration: C, totalDuration: i, resolvedDuration: s } = M;
3505
3506
  if (this.startTime === null)
3506
3507
  return w.next(0);
3507
- const { delay: I, repeat: n, repeatType: E, repeatDelay: r, onUpdate: c } = this.options;
3508
+ const { delay: I, repeat: n, repeatType: E, repeatDelay: r, onUpdate: a } = this.options;
3508
3509
  this.speed > 0 ? this.startTime = Math.min(this.startTime, A) : this.speed < 0 && (this.startTime = Math.min(A - i / this.speed, this.startTime)), B ? this.currentTime = A : this.holdTime !== null ? this.currentTime = this.holdTime : this.currentTime = Math.round(A - this.startTime) * this.speed;
3509
3510
  const G = this.currentTime - I * (this.speed >= 0 ? 1 : -1), l = this.speed >= 0 ? G < 0 : G > i;
3510
3511
  this.currentTime = Math.max(G, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = i);
3511
- let Y = this.currentTime, V = w;
3512
+ let Y = this.currentTime, f = w;
3512
3513
  if (n) {
3513
3514
  const m = Math.min(this.currentTime, i) / s;
3514
- let q = Math.floor(m), L = m % 1;
3515
- !L && m >= 1 && (L = 1), L === 1 && q--, q = Math.min(q, n + 1), !!(q % 2) && (E === "reverse" ? (L = 1 - L, r && (L -= r / s)) : E === "mirror" && (V = e)), Y = EA(0, 1, L) * s;
3515
+ let d = Math.floor(m), v = m % 1;
3516
+ !v && m >= 1 && (v = 1), v === 1 && d--, d = Math.min(d, n + 1), !!(d % 2) && (E === "reverse" ? (v = 1 - v, r && (v -= r / s)) : E === "mirror" && (f = e)), Y = EA(0, 1, v) * s;
3516
3517
  }
3517
- const a = l ? { done: !1, value: t[0] } : V.next(Y);
3518
- Q && (a.value = Q(a.value));
3519
- let { done: u } = a;
3520
- !l && C !== null && (u = this.speed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
3521
- const d = this.holdTime === null && (this.state === "finished" || this.state === "running" && u);
3522
- return d && D !== void 0 && (a.value = vg(t, this.options, D)), c && c(a.value), d && this.finish(), a;
3518
+ const c = l ? { done: !1, value: t[0] } : f.next(Y);
3519
+ Q && (c.value = Q(c.value));
3520
+ let { done: y } = c;
3521
+ !l && C !== null && (y = this.speed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
3522
+ const q = this.holdTime === null && (this.state === "finished" || this.state === "running" && y);
3523
+ return q && D !== void 0 && (c.value = vg(t, this.options, D)), a && a(c.value), q && this.finish(), c;
3523
3524
  }
3524
3525
  get duration() {
3525
3526
  const { resolved: A } = this;
@@ -3644,8 +3645,8 @@ class SM extends Te {
3644
3645
  if (!Q.owner || !Q.owner.current)
3645
3646
  return !1;
3646
3647
  if (typeof w == "string" && Vg() && YC(w) && (w = _e[w]), aC(this.options)) {
3647
- const { onComplete: s, onUpdate: I, motionValue: n, element: E, ...r } = this.options, c = cC(A, r);
3648
- A = c.keyframes, A.length === 1 && (A[1] = A[0]), M = c.duration, D = c.times, w = c.ease, e = "keyframes";
3648
+ const { onComplete: s, onUpdate: I, motionValue: n, element: E, ...r } = this.options, a = cC(A, r);
3649
+ A = a.keyframes, A.length === 1 && (A[1] = A[0]), M = a.duration, D = a.times, w = a.ease, e = "keyframes";
3649
3650
  }
3650
3651
  const i = lC(Q.owner.current, t, A, { ...this.options, duration: M, times: D, ease: w });
3651
3652
  return i.startTime = C ?? this.calcStartTime(), this.pendingTimeline ? (fM(i, this.pendingTimeline), this.pendingTimeline = void 0) : i.onfinish = () => {
@@ -3867,8 +3868,8 @@ function Aw(g, A, { delay: B = 0, transitionOverride: M, type: D } = {}) {
3867
3868
  }
3868
3869
  }
3869
3870
  MB(g, s), I.start(nM(s, I, n, g.shouldReduceMotion && ue.has(s) ? { type: !1 } : E, g, r));
3870
- const c = I.animation;
3871
- c && C.push(c);
3871
+ const a = I.animation;
3872
+ a && C.push(a);
3872
3873
  }
3873
3874
  return Q && Promise.all(C).then(() => {
3874
3875
  p.update(() => {
@@ -3955,48 +3956,48 @@ function JC(g) {
3955
3956
  function e(t) {
3956
3957
  const { props: C } = g, i = gw(g.parent) || {}, s = [], I = /* @__PURE__ */ new Set();
3957
3958
  let n = {}, E = 1 / 0;
3958
- for (let c = 0; c < RC; c++) {
3959
- const G = pC[c], l = B[G], Y = C[G] !== void 0 ? C[G] : i[G], V = eg(Y), a = G === t ? l.isActive : null;
3960
- a === !1 && (E = c);
3961
- let u = Y === i[G] && Y !== C[G] && V;
3962
- if (u && M && g.manuallyAnimateOnMount && (u = !1), l.protectedKeys = { ...n }, // If it isn't active and hasn't *just* been set as inactive
3963
- !l.isActive && a === null || // If we didn't and don't have any defined prop for this animation type
3959
+ for (let a = 0; a < RC; a++) {
3960
+ const G = pC[a], l = B[G], Y = C[G] !== void 0 ? C[G] : i[G], f = eg(Y), c = G === t ? l.isActive : null;
3961
+ c === !1 && (E = a);
3962
+ let y = Y === i[G] && Y !== C[G] && f;
3963
+ if (y && M && g.manuallyAnimateOnMount && (y = !1), l.protectedKeys = { ...n }, // If it isn't active and hasn't *just* been set as inactive
3964
+ !l.isActive && c === null || // If we didn't and don't have any defined prop for this animation type
3964
3965
  !Y && !l.prevProp || // Or if the prop doesn't define an animation
3965
3966
  hg(Y) || typeof Y == "boolean")
3966
3967
  continue;
3967
- const d = zC(l.prevProp, Y);
3968
- let m = d || // If we're making this variant active, we want to always make it active
3969
- G === t && l.isActive && !u && V || // If we removed a higher-priority variant (i is in reverse order)
3970
- c > E && V, q = !1;
3971
- const L = Array.isArray(Y) ? Y : [Y];
3972
- let BA = L.reduce(D(G), {});
3973
- a === !1 && (BA = {});
3968
+ const q = zC(l.prevProp, Y);
3969
+ let m = q || // If we're making this variant active, we want to always make it active
3970
+ G === t && l.isActive && !y && f || // If we removed a higher-priority variant (i is in reverse order)
3971
+ a > E && f, d = !1;
3972
+ const v = Array.isArray(Y) ? Y : [Y];
3973
+ let W = v.reduce(D(G), {});
3974
+ c === !1 && (W = {});
3974
3975
  const { prevResolvedValues: mA = {} } = l, UA = {
3975
3976
  ...mA,
3976
- ...BA
3977
- }, rA = (v) => {
3978
- m = !0, I.has(v) && (q = !0, I.delete(v)), l.needsAnimating[v] = !0;
3979
- const W = g.getValue(v);
3980
- W && (W.liveStyle = !1);
3977
+ ...W
3978
+ }, rA = (P) => {
3979
+ m = !0, I.has(P) && (d = !0, I.delete(P)), l.needsAnimating[P] = !0;
3980
+ const $ = g.getValue(P);
3981
+ $ && ($.liveStyle = !1);
3981
3982
  };
3982
- for (const v in UA) {
3983
- const W = BA[v], GA = mA[v];
3984
- if (n.hasOwnProperty(v))
3983
+ for (const P in UA) {
3984
+ const $ = W[P], GA = mA[P];
3985
+ if (n.hasOwnProperty(P))
3985
3986
  continue;
3986
3987
  let oA = !1;
3987
- AB(W) && AB(GA) ? oA = !ne(W, GA) : oA = W !== GA, oA ? W != null ? rA(v) : I.add(v) : W !== void 0 && I.has(v) ? rA(v) : l.protectedKeys[v] = !0;
3988
+ AB($) && AB(GA) ? oA = !ne($, GA) : oA = $ !== GA, oA ? $ != null ? rA(P) : I.add(P) : $ !== void 0 && I.has(P) ? rA(P) : l.protectedKeys[P] = !0;
3988
3989
  }
3989
- l.prevProp = Y, l.prevResolvedValues = BA, l.isActive && (n = { ...n, ...BA }), M && g.blockInitialAnimation && (m = !1), m && (!(u && d) || q) && s.push(...L.map((v) => ({
3990
- animation: v,
3990
+ l.prevProp = Y, l.prevResolvedValues = W, l.isActive && (n = { ...n, ...W }), M && g.blockInitialAnimation && (m = !1), m && (!(y && q) || d) && s.push(...v.map((P) => ({
3991
+ animation: P,
3991
3992
  options: { type: G }
3992
3993
  })));
3993
3994
  }
3994
3995
  if (I.size) {
3995
- const c = {};
3996
+ const a = {};
3996
3997
  I.forEach((G) => {
3997
3998
  const l = g.getBaseTarget(G), Y = g.getValue(G);
3998
- Y && (Y.liveStyle = !0), c[G] = l ?? null;
3999
- }), s.push({ animation: c });
3999
+ Y && (Y.liveStyle = !0), a[G] = l ?? null;
4000
+ }), s.push({ animation: a });
4000
4001
  }
4001
4002
  let r = !!s.length;
4002
4003
  return M && (C.initial === !1 || C.initial === C.animate) && !g.manuallyAnimateOnMount && (r = !1), M = !1, r ? A(s) : Promise.resolve();
@@ -4140,8 +4141,8 @@ class Bw {
4140
4141
  return;
4141
4142
  const { point: E } = s, { timestamp: r } = F;
4142
4143
  this.history.push({ ...E, timestamp: r });
4143
- const { onStart: c, onMove: G } = this.handlers;
4144
- I || (c && c(this.lastMoveEvent, s), this.startEvent = this.lastMoveEvent), G && G(this.lastMoveEvent, s);
4144
+ const { onStart: a, onMove: G } = this.handlers;
4145
+ I || (a && a(this.lastMoveEvent, s), this.startEvent = this.lastMoveEvent), G && G(this.lastMoveEvent, s);
4145
4146
  }, this.handlePointerMove = (s, I) => {
4146
4147
  this.lastMoveEvent = s, this.lastMoveEventInfo = Sg(I, this.transformPagePoint), p.update(this.updatePoint, !0);
4147
4148
  }, this.handlePointerUp = (s, I) => {
@@ -4149,8 +4150,8 @@ class Bw {
4149
4150
  const { onEnd: n, onSessionEnd: E, resumeAnimation: r } = this.handlers;
4150
4151
  if (this.dragSnapToOrigin && r && r(), !(this.lastMoveEvent && this.lastMoveEventInfo))
4151
4152
  return;
4152
- const c = Tg(s.type === "pointercancel" ? this.lastMoveEventInfo : Sg(I, this.transformPagePoint), this.history);
4153
- this.startEvent && n && n(s, c), E && E(s, c);
4153
+ const a = Tg(s.type === "pointercancel" ? this.lastMoveEventInfo : Sg(I, this.transformPagePoint), this.history);
4154
+ this.startEvent && n && n(s, a), E && E(s, a);
4154
4155
  }, !BM(A))
4155
4156
  return;
4156
4157
  this.dragSnapToOrigin = w, this.handlers = B, this.transformPagePoint = M, this.contextWindow = D || window;
@@ -4205,26 +4206,26 @@ function HC(g, A) {
4205
4206
  return e.x === 1 / 0 && (e.x = 0), e.y === 1 / 0 && (e.y = 0), e;
4206
4207
  }
4207
4208
  const Dw = 1e-4, SC = 1 - Dw, TC = 1 + Dw, ew = 0.01, XC = 0 - ew, NC = 0 + ew;
4208
- function $(g) {
4209
+ function _(g) {
4209
4210
  return g.max - g.min;
4210
4211
  }
4211
4212
  function xC(g, A, B) {
4212
4213
  return Math.abs(g - A) <= B;
4213
4214
  }
4214
4215
  function xM(g, A, B, M = 0.5) {
4215
- g.origin = M, g.originPoint = z(A.min, A.max, g.origin), g.scale = $(B) / $(A), g.translate = z(B.min, B.max, g.origin) - g.originPoint, (g.scale >= SC && g.scale <= TC || isNaN(g.scale)) && (g.scale = 1), (g.translate >= XC && g.translate <= NC || isNaN(g.translate)) && (g.translate = 0);
4216
+ g.origin = M, g.originPoint = z(A.min, A.max, g.origin), g.scale = _(B) / _(A), g.translate = z(B.min, B.max, g.origin) - g.originPoint, (g.scale >= SC && g.scale <= TC || isNaN(g.scale)) && (g.scale = 1), (g.translate >= XC && g.translate <= NC || isNaN(g.translate)) && (g.translate = 0);
4216
4217
  }
4217
4218
  function Mg(g, A, B, M) {
4218
4219
  xM(g.x, A.x, B.x, M ? M.originX : void 0), xM(g.y, A.y, B.y, M ? M.originY : void 0);
4219
4220
  }
4220
4221
  function WM(g, A, B) {
4221
- g.min = B.min + A.min, g.max = g.min + $(A);
4222
+ g.min = B.min + A.min, g.max = g.min + _(A);
4222
4223
  }
4223
4224
  function WC(g, A, B) {
4224
4225
  WM(g.x, A.x, B.x), WM(g.y, A.y, B.y);
4225
4226
  }
4226
4227
  function $M(g, A, B) {
4227
- g.min = A.min - B.min, g.max = g.min + $(A);
4228
+ g.min = A.min - B.min, g.max = g.min + _(A);
4228
4229
  }
4229
4230
  function Dg(g, A, B) {
4230
4231
  $M(g.x, A.x, B.x), $M(g.y, A.y, B.y);
@@ -4256,7 +4257,7 @@ function Ai(g, A) {
4256
4257
  }
4257
4258
  function gi(g, A) {
4258
4259
  let B = 0.5;
4259
- const M = $(g), D = $(A);
4260
+ const M = _(g), D = _(A);
4260
4261
  return D > M ? B = /* @__PURE__ */ LA(A.min, A.max - M, g.min) : M > D && (B = /* @__PURE__ */ LA(g.min, g.max - D, A.min)), EA(0, 1, B);
4261
4262
  }
4262
4263
  function Bi(g, A) {
@@ -4287,11 +4288,11 @@ const MD = () => ({
4287
4288
  }), hA = () => ({
4288
4289
  x: MD(),
4289
4290
  y: MD()
4290
- }), DD = () => ({ min: 0, max: 0 }), P = () => ({
4291
+ }), DD = () => ({ min: 0, max: 0 }), L = () => ({
4291
4292
  x: DD(),
4292
4293
  y: DD()
4293
4294
  });
4294
- function AA(g) {
4295
+ function gA(g) {
4295
4296
  return [g("x"), g("y")];
4296
4297
  }
4297
4298
  function ww({ top: g, left: A, right: B, bottom: M }) {
@@ -4379,7 +4380,7 @@ function ti(g, A, B) {
4379
4380
  const iw = ({ current: g }) => g ? g.ownerDocument.defaultView : null, Qi = /* @__PURE__ */ new WeakMap();
4380
4381
  class Ci {
4381
4382
  constructor(A) {
4382
- this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = P(), this.visualElement = A;
4383
+ this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = L(), this.visualElement = A;
4383
4384
  }
4384
4385
  start(A, { snapToCursor: B = !1 } = {}) {
4385
4386
  const { presenceContext: M } = this.visualElement;
@@ -4392,16 +4393,16 @@ class Ci {
4392
4393
  const { drag: I, dragPropagation: n, onDragStart: E } = this.getProps();
4393
4394
  if (I && !n && (this.openDragLock && this.openDragLock(), this.openDragLock = gQ(I), !this.openDragLock))
4394
4395
  return;
4395
- this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), AA((c) => {
4396
- let G = this.getAxisMotionValue(c).get() || 0;
4396
+ this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), gA((a) => {
4397
+ let G = this.getAxisMotionValue(a).get() || 0;
4397
4398
  if (iA.test(G)) {
4398
4399
  const { projection: l } = this.visualElement;
4399
4400
  if (l && l.layout) {
4400
- const Y = l.layout.layoutBox[c];
4401
- Y && (G = $(Y) * (parseFloat(G) / 100));
4401
+ const Y = l.layout.layoutBox[a];
4402
+ Y && (G = _(Y) * (parseFloat(G) / 100));
4402
4403
  }
4403
4404
  }
4404
- this.originPoint[c] = G;
4405
+ this.originPoint[a] = G;
4405
4406
  }), E && p.postRender(() => E(i, s)), MB(this.visualElement, "transform");
4406
4407
  const { animationState: r } = this.visualElement;
4407
4408
  r && r.setActive("whileDrag", !0);
@@ -4409,13 +4410,13 @@ class Ci {
4409
4410
  const { dragPropagation: I, dragDirectionLock: n, onDirectionLock: E, onDrag: r } = this.getProps();
4410
4411
  if (!I && !this.openDragLock)
4411
4412
  return;
4412
- const { offset: c } = s;
4413
+ const { offset: a } = s;
4413
4414
  if (n && this.currentDirection === null) {
4414
- this.currentDirection = ii(c), this.currentDirection !== null && E && E(this.currentDirection);
4415
+ this.currentDirection = ii(a), this.currentDirection !== null && E && E(this.currentDirection);
4415
4416
  return;
4416
4417
  }
4417
- this.updateAxis("x", s.point, c), this.updateAxis("y", s.point, c), this.visualElement.render(), r && r(i, s);
4418
- }, Q = (i, s) => this.stop(i, s), t = () => AA((i) => {
4418
+ this.updateAxis("x", s.point, a), this.updateAxis("y", s.point, a), this.visualElement.render(), r && r(i, s);
4419
+ }, Q = (i, s) => this.stop(i, s), t = () => gA((i) => {
4419
4420
  var s;
4420
4421
  return this.getAnimationState(i) === "paused" && ((s = this.getAxisMotionValue(i).animation) === null || s === void 0 ? void 0 : s.play());
4421
4422
  }), { dragSnapToOrigin: C } = this.getProps();
@@ -4458,7 +4459,7 @@ class Ci {
4458
4459
  resolveConstraints() {
4459
4460
  var A;
4460
4461
  const { dragConstraints: B, dragElastic: M } = this.getProps(), D = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (A = this.visualElement.projection) === null || A === void 0 ? void 0 : A.layout, w = this.constraints;
4461
- B && pA(B) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : B && D ? this.constraints = _C(D.layoutBox, B) : this.constraints = !1, this.elastic = Mi(M), w !== this.constraints && D && this.constraints && !this.hasMutatedConstraints && AA((e) => {
4462
+ B && pA(B) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : B && D ? this.constraints = _C(D.layoutBox, B) : this.constraints = !1, this.elastic = Mi(M), w !== this.constraints && D && this.constraints && !this.hasMutatedConstraints && gA((e) => {
4462
4463
  this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Bi(D.layoutBox[e], this.constraints[e]));
4463
4464
  });
4464
4465
  }
@@ -4480,7 +4481,7 @@ class Ci {
4480
4481
  return e;
4481
4482
  }
4482
4483
  startAnimation(A) {
4483
- const { drag: B, dragMomentum: M, dragElastic: D, dragTransition: w, dragSnapToOrigin: e, onDragTransitionEnd: Q } = this.getProps(), t = this.constraints || {}, C = AA((i) => {
4484
+ const { drag: B, dragMomentum: M, dragElastic: D, dragTransition: w, dragSnapToOrigin: e, onDragTransitionEnd: Q } = this.getProps(), t = this.constraints || {}, C = gA((i) => {
4484
4485
  if (!Gg(i, B, this.currentDirection))
4485
4486
  return;
4486
4487
  let s = t[i] || {};
@@ -4505,10 +4506,10 @@ class Ci {
4505
4506
  return MB(this.visualElement, A), M.start(nM(A, M, 0, B, this.visualElement, !1));
4506
4507
  }
4507
4508
  stopAnimation() {
4508
- AA((A) => this.getAxisMotionValue(A).stop());
4509
+ gA((A) => this.getAxisMotionValue(A).stop());
4509
4510
  }
4510
4511
  pauseAnimation() {
4511
- AA((A) => {
4512
+ gA((A) => {
4512
4513
  var B;
4513
4514
  return (B = this.getAxisMotionValue(A).animation) === null || B === void 0 ? void 0 : B.pause();
4514
4515
  });
@@ -4528,7 +4529,7 @@ class Ci {
4528
4529
  return D || this.visualElement.getValue(A, (M.initial ? M.initial[A] : void 0) || 0);
4529
4530
  }
4530
4531
  snapToCursor(A) {
4531
- AA((B) => {
4532
+ gA((B) => {
4532
4533
  const { drag: M } = this.getProps();
4533
4534
  if (!Gg(B, M, this.currentDirection))
4534
4535
  return;
@@ -4552,7 +4553,7 @@ class Ci {
4552
4553
  return;
4553
4554
  this.stopAnimation();
4554
4555
  const D = { x: 0, y: 0 };
4555
- AA((e) => {
4556
+ gA((e) => {
4556
4557
  const Q = this.getAxisMotionValue(e);
4557
4558
  if (Q && this.constraints !== !1) {
4558
4559
  const t = Q.get();
@@ -4560,7 +4561,7 @@ class Ci {
4560
4561
  }
4561
4562
  });
4562
4563
  const { transformTemplate: w } = this.visualElement.getProps();
4563
- this.visualElement.current.style.transform = w ? w({}, "") : "none", M.root && M.root.updateScroll(), M.updateLayout(), this.resolveConstraints(), AA((e) => {
4564
+ this.visualElement.current.style.transform = w ? w({}, "") : "none", M.root && M.root.updateScroll(), M.updateLayout(), this.resolveConstraints(), gA((e) => {
4564
4565
  if (!Gg(e, A, null))
4565
4566
  return;
4566
4567
  const Q = this.getAxisMotionValue(e), { min: t, max: C } = this.constraints[e];
@@ -4580,7 +4581,7 @@ class Ci {
4580
4581
  }, { projection: D } = this.visualElement, w = D.addEventListener("measure", M);
4581
4582
  D && !D.layout && (D.root && D.root.updateScroll(), D.updateLayout()), p.read(M);
4582
4583
  const e = Cg(window, "resize", () => this.scalePositionWithinConstraints()), Q = D.addEventListener("didUpdate", ({ delta: t, hasLayoutChanged: C }) => {
4583
- this.isDragging && C && (AA((i) => {
4584
+ this.isDragging && C && (gA((i) => {
4584
4585
  const s = this.getAxisMotionValue(i);
4585
4586
  s && (this.originPoint[i] += t[i].translate, s.set(s.get() + t[i].translate));
4586
4587
  }), this.visualElement.render());
@@ -4809,7 +4810,7 @@ function Iw(g, A, B) {
4809
4810
  function ED(g, A) {
4810
4811
  g.min = A.min, g.max = A.max;
4811
4812
  }
4812
- function _(g, A) {
4813
+ function AA(g, A) {
4813
4814
  ED(g.x, A.x), ED(g.y, A.y);
4814
4815
  }
4815
4816
  function lD(g, A) {
@@ -4850,7 +4851,7 @@ function Ew(g, A) {
4850
4851
  return uD(g.x, A.x) && uD(g.y, A.y);
4851
4852
  }
4852
4853
  function yD(g) {
4853
- return $(g.x) / $(g.y);
4854
+ return _(g.x) / _(g.y);
4854
4855
  }
4855
4856
  function mD(g, A) {
4856
4857
  return g.translate === A.translate && g.scale === A.scale && g.originPoint === A.originPoint;
@@ -4986,15 +4987,15 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
4986
4987
  this.target = void 0, this.relativeTarget = void 0;
4987
4988
  return;
4988
4989
  }
4989
- const r = this.options.transition || i.getDefaultTransition() || Si, { onLayoutAnimationStart: c, onLayoutAnimationComplete: G } = i.getProps(), l = !this.targetLayout || !Ew(this.targetLayout, E), Y = !I && n;
4990
+ const r = this.options.transition || i.getDefaultTransition() || Si, { onLayoutAnimationStart: a, onLayoutAnimationComplete: G } = i.getProps(), l = !this.targetLayout || !Ew(this.targetLayout, E), Y = !I && n;
4990
4991
  if (this.options.layoutRoot || this.resumeFrom || Y || I && (l || !this.currentAnimation)) {
4991
4992
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(s, Y);
4992
- const V = {
4993
+ const f = {
4993
4994
  ..._B(r, "layout"),
4994
- onPlay: c,
4995
+ onPlay: a,
4995
4996
  onComplete: G
4996
4997
  };
4997
- (i.shouldReduceMotion || this.options.layoutRoot) && (V.delay = 0, V.type = !1), this.startAnimation(V);
4998
+ (i.shouldReduceMotion || this.options.layoutRoot) && (f.delay = 0, f.type = !1), this.startAnimation(f);
4998
4999
  } else
4999
5000
  I || VD(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
5000
5001
  this.targetLayout = E;
@@ -5080,7 +5081,7 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5080
5081
  for (let t = 0; t < this.path.length; t++)
5081
5082
  this.path[t].updateScroll();
5082
5083
  const e = this.layout;
5083
- this.layout = this.measure(!1), this.layoutCorrected = P(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
5084
+ this.layout = this.measure(!1), this.layoutCorrected = L(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
5084
5085
  const { visualElement: Q } = this.options;
5085
5086
  Q && Q.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
5086
5087
  }
@@ -5118,7 +5119,7 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5118
5119
  var e;
5119
5120
  const { visualElement: Q } = this.options;
5120
5121
  if (!Q)
5121
- return P();
5122
+ return L();
5122
5123
  const t = Q.measureViewportBox();
5123
5124
  if (!(((e = this.scroll) === null || e === void 0 ? void 0 : e.wasRoot) || this.path.some(Xi))) {
5124
5125
  const { scroll: i } = this.root;
@@ -5128,18 +5129,18 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5128
5129
  }
5129
5130
  removeElementScroll(e) {
5130
5131
  var Q;
5131
- const t = P();
5132
- if (_(t, e), !((Q = this.scroll) === null || Q === void 0) && Q.wasRoot)
5132
+ const t = L();
5133
+ if (AA(t, e), !((Q = this.scroll) === null || Q === void 0) && Q.wasRoot)
5133
5134
  return t;
5134
5135
  for (let C = 0; C < this.path.length; C++) {
5135
5136
  const i = this.path[C], { scroll: s, options: I } = i;
5136
- i !== this.root && s && I.layoutScroll && (s.wasRoot && _(t, e), JA(t.x, s.offset.x), JA(t.y, s.offset.y));
5137
+ i !== this.root && s && I.layoutScroll && (s.wasRoot && AA(t, e), JA(t.x, s.offset.x), JA(t.y, s.offset.y));
5137
5138
  }
5138
5139
  return t;
5139
5140
  }
5140
5141
  applyTransform(e, Q = !1) {
5141
- const t = P();
5142
- _(t, e);
5142
+ const t = L();
5143
+ AA(t, e);
5143
5144
  for (let C = 0; C < this.path.length; C++) {
5144
5145
  const i = this.path[C];
5145
5146
  !Q && i.options.layoutScroll && i.scroll && i !== i.root && zA(t, {
@@ -5150,15 +5151,15 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5150
5151
  return VA(this.latestValues) && zA(t, this.latestValues), t;
5151
5152
  }
5152
5153
  removeTransform(e) {
5153
- const Q = P();
5154
- _(Q, e);
5154
+ const Q = L();
5155
+ AA(Q, e);
5155
5156
  for (let t = 0; t < this.path.length; t++) {
5156
5157
  const C = this.path[t];
5157
5158
  if (!C.instance || !VA(C.latestValues))
5158
5159
  continue;
5159
5160
  oB(C.latestValues) && C.updateSnapshot();
5160
- const i = P(), s = C.measurePageBox();
5161
- _(i, s), aD(Q, C.latestValues, C.snapshot ? C.snapshot.layoutBox : void 0, i);
5161
+ const i = L(), s = C.measurePageBox();
5162
+ AA(i, s), aD(Q, C.latestValues, C.snapshot ? C.snapshot.layoutBox : void 0, i);
5162
5163
  }
5163
5164
  return VA(this.latestValues) && aD(Q, this.latestValues), Q;
5164
5165
  }
@@ -5189,13 +5190,13 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5189
5190
  if (!(!this.layout || !(s || I))) {
5190
5191
  if (this.resolvedRelativeTargetAt = F.timestamp, !this.targetDelta && !this.relativeTarget) {
5191
5192
  const n = this.getClosestProjectingParent();
5192
- n && n.layout && this.animationProgress !== 1 ? (this.relativeParent = n, this.forceRelativeParentToResolveTarget(), this.relativeTarget = P(), this.relativeTargetOrigin = P(), Dg(this.relativeTargetOrigin, this.layout.layoutBox, n.layout.layoutBox), _(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
5193
+ n && n.layout && this.animationProgress !== 1 ? (this.relativeParent = n, this.forceRelativeParentToResolveTarget(), this.relativeTarget = L(), this.relativeTargetOrigin = L(), Dg(this.relativeTargetOrigin, this.layout.layoutBox, n.layout.layoutBox), AA(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
5193
5194
  }
5194
5195
  if (!(!this.relativeTarget && !this.targetDelta)) {
5195
- if (this.target || (this.target = P(), this.targetWithTransforms = P()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), WC(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : _(this.target, this.layout.layoutBox), Qw(this.target, this.targetDelta)) : _(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
5196
+ if (this.target || (this.target = L(), this.targetWithTransforms = L()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), WC(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : AA(this.target, this.layout.layoutBox), Qw(this.target, this.targetDelta)) : AA(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
5196
5197
  this.attemptToResolveRelativeTarget = !1;
5197
5198
  const n = this.getClosestProjectingParent();
5198
- n && !!n.resumingFrom == !!this.resumingFrom && !n.options.layoutScroll && n.target && this.animationProgress !== 1 ? (this.relativeParent = n, this.forceRelativeParentToResolveTarget(), this.relativeTarget = P(), this.relativeTargetOrigin = P(), Dg(this.relativeTargetOrigin, this.target, n.target), _(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
5199
+ n && !!n.resumingFrom == !!this.resumingFrom && !n.options.layoutScroll && n.target && this.animationProgress !== 1 ? (this.relativeParent = n, this.forceRelativeParentToResolveTarget(), this.relativeTarget = L(), this.relativeTargetOrigin = L(), Dg(this.relativeTargetOrigin, this.target, n.target), AA(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
5199
5200
  }
5200
5201
  _A && fA.resolvedTargetDeltas++;
5201
5202
  }
@@ -5217,9 +5218,9 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5217
5218
  const { layout: i, layoutId: s } = this.options;
5218
5219
  if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(i || s))
5219
5220
  return;
5220
- _(this.layoutCorrected, this.layout.layoutBox);
5221
+ AA(this.layoutCorrected, this.layout.layoutBox);
5221
5222
  const I = this.treeScale.x, n = this.treeScale.y;
5222
- wi(this.layoutCorrected, this.treeScale, this.path, t), Q.layout && !Q.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (Q.target = Q.layout.layoutBox, Q.targetWithTransforms = P());
5223
+ wi(this.layoutCorrected, this.treeScale, this.path, t), Q.layout && !Q.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (Q.target = Q.layout.layoutBox, Q.targetWithTransforms = L());
5223
5224
  const { target: E } = Q;
5224
5225
  if (!E) {
5225
5226
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
@@ -5247,12 +5248,12 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5247
5248
  setAnimationOrigin(e, Q = !1) {
5248
5249
  const t = this.snapshot, C = t ? t.latestValues : {}, i = { ...this.latestValues }, s = hA();
5249
5250
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !Q;
5250
- const I = P(), n = t ? t.source : void 0, E = this.layout ? this.layout.source : void 0, r = n !== E, c = this.getStack(), G = !c || c.members.length <= 1, l = !!(r && !G && this.options.crossfade === !0 && !this.path.some(Hi));
5251
+ const I = L(), n = t ? t.source : void 0, E = this.layout ? this.layout.source : void 0, r = n !== E, a = this.getStack(), G = !a || a.members.length <= 1, l = !!(r && !G && this.options.crossfade === !0 && !this.path.some(Hi));
5251
5252
  this.animationProgress = 0;
5252
5253
  let Y;
5253
- this.mixTargetDelta = (V) => {
5254
- const a = V / 1e3;
5255
- fD(s.x, e.x, a), fD(s.y, e.y, a), this.setTargetDelta(s), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Dg(I, this.layout.layoutBox, this.relativeParent.layout.layoutBox), ji(this.relativeTarget, this.relativeTargetOrigin, I, a), Y && fi(this.relativeTarget, Y) && (this.isProjectionDirty = !1), Y || (Y = P()), _(Y, this.relativeTarget)), r && (this.animationValues = i, ui(i, C, this.latestValues, a, l, G)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = a;
5254
+ this.mixTargetDelta = (f) => {
5255
+ const c = f / 1e3;
5256
+ fD(s.x, e.x, c), fD(s.y, e.y, c), this.setTargetDelta(s), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Dg(I, this.layout.layoutBox, this.relativeParent.layout.layoutBox), ji(this.relativeTarget, this.relativeTargetOrigin, I, c), Y && fi(this.relativeTarget, Y) && (this.isProjectionDirty = !1), Y || (Y = L()), AA(Y, this.relativeTarget)), r && (this.animationValues = i, ui(i, C, this.latestValues, c, l, G)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = c;
5256
5257
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
5257
5258
  }
5258
5259
  startAnimation(e) {
@@ -5281,13 +5282,13 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5281
5282
  let { targetWithTransforms: Q, target: t, layout: C, latestValues: i } = e;
5282
5283
  if (!(!Q || !t || !C)) {
5283
5284
  if (this !== e && this.layout && C && Gw(this.options.animationType, this.layout.layoutBox, C.layoutBox)) {
5284
- t = this.target || P();
5285
- const s = $(this.layout.layoutBox.x);
5285
+ t = this.target || L();
5286
+ const s = _(this.layout.layoutBox.x);
5286
5287
  t.x.min = e.target.x.min, t.x.max = t.x.min + s;
5287
- const I = $(this.layout.layoutBox.y);
5288
+ const I = _(this.layout.layoutBox.y);
5288
5289
  t.y.min = e.target.y.min, t.y.max = t.y.min + I;
5289
5290
  }
5290
- _(Q, t), zA(Q, i), Mg(this.projectionDeltaWithTransform, this.layoutCorrected, Q, i);
5291
+ AA(Q, t), zA(Q, i), Mg(this.projectionDeltaWithTransform, this.layoutCorrected, Q, i);
5291
5292
  }
5292
5293
  }
5293
5294
  registerSharedNode(e, Q) {
@@ -5365,11 +5366,11 @@ function rw({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5365
5366
  for (const r in Zg) {
5366
5367
  if (I[r] === void 0)
5367
5368
  continue;
5368
- const { correct: c, applyTo: G } = Zg[r], l = C.transform === "none" ? I[r] : c(I[r], s);
5369
+ const { correct: a, applyTo: G } = Zg[r], l = C.transform === "none" ? I[r] : a(I[r], s);
5369
5370
  if (G) {
5370
5371
  const Y = G.length;
5371
- for (let V = 0; V < Y; V++)
5372
- C[G[V]] = l;
5372
+ for (let f = 0; f < Y; f++)
5373
+ C[G[f]] = l;
5373
5374
  } else
5374
5375
  C[r] = l;
5375
5376
  }
@@ -5395,11 +5396,11 @@ function Ri(g) {
5395
5396
  const B = ((A = g.resumeFrom) === null || A === void 0 ? void 0 : A.snapshot) || g.snapshot;
5396
5397
  if (g.isLead() && g.layout && B && g.hasListeners("didUpdate")) {
5397
5398
  const { layoutBox: M, measuredBox: D } = g.layout, { animationType: w } = g.options, e = B.source !== g.layout.source;
5398
- w === "size" ? AA((s) => {
5399
- const I = e ? B.measuredBox[s] : B.layoutBox[s], n = $(I);
5399
+ w === "size" ? gA((s) => {
5400
+ const I = e ? B.measuredBox[s] : B.layoutBox[s], n = _(I);
5400
5401
  I.min = M[s].min, I.max = I.min + n;
5401
- }) : Gw(w, B.layoutBox, M) && AA((s) => {
5402
- const I = e ? B.measuredBox[s] : B.layoutBox[s], n = $(M[s]);
5402
+ }) : Gw(w, B.layoutBox, M) && gA((s) => {
5403
+ const I = e ? B.measuredBox[s] : B.layoutBox[s], n = _(M[s]);
5403
5404
  I.max = I.min + n, g.relativeTarget && !g.currentAnimation && (g.isProjectionDirty = !0, g.relativeTarget[s].max = g.relativeTarget[s].min + n);
5404
5405
  });
5405
5406
  const Q = hA();
@@ -5413,9 +5414,9 @@ function Ri(g) {
5413
5414
  if (s && !s.resumeFrom) {
5414
5415
  const { snapshot: I, layout: n } = s;
5415
5416
  if (I && n) {
5416
- const E = P();
5417
+ const E = L();
5417
5418
  Dg(E, B.layoutBox, I.layoutBox);
5418
- const r = P();
5419
+ const r = L();
5419
5420
  Dg(r, M, n.layoutBox), Ew(E, r) || (i = !0), s.options.layoutRoot && (g.relativeTarget = r, g.relativeTargetOrigin = E, g.relativeParent = s);
5420
5421
  }
5421
5422
  }
@@ -5770,7 +5771,7 @@ class Is {
5770
5771
  * removed with a re-render to work.
5771
5772
  */
5772
5773
  measureViewportBox() {
5773
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : P();
5774
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : L();
5774
5775
  }
5775
5776
  getStaticValue(A) {
5776
5777
  return this.latestValues[A];
@@ -5938,7 +5939,7 @@ class Es extends Yw {
5938
5939
  }
5939
5940
  class ls extends Yw {
5940
5941
  constructor() {
5941
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = P;
5942
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = L;
5942
5943
  }
5943
5944
  getBaseTargetFromProps(A, B) {
5944
5945
  return A[B];
@@ -5993,9 +5994,9 @@ const rs = (g, A) => jB(g) ? new ls(A) : new Es(A, {
5993
5994
  tA(() => {
5994
5995
  A.forEach((l) => {
5995
5996
  const Y = C.current.get(l.refId || "");
5996
- Y && Y.addEventListener("mouseenter", (V) => {
5997
- const a = V.target;
5998
- I(a.getBoundingClientRect());
5997
+ Y && Y.addEventListener("mouseenter", (f) => {
5998
+ const c = f.target;
5999
+ I(c.getBoundingClientRect());
5999
6000
  });
6000
6001
  });
6001
6002
  }, [A]), tA(() => {
@@ -6009,7 +6010,7 @@ const rs = (g, A) => jB(g) ? new ls(A) : new Es(A, {
6009
6010
  const n = {
6010
6011
  goatData: "bg-zinc-900",
6011
6012
  secondary: "bg-[#ededed]",
6012
- experiences: "bg-[#a8dbce]"
6013
+ experiences: "bg-[#a8dbce69]"
6013
6014
  }, E = {
6014
6015
  goatData: "#9a6d79",
6015
6016
  secondary: "#1f2937e7",
@@ -6018,7 +6019,7 @@ const rs = (g, A) => jB(g) ? new ls(A) : new Es(A, {
6018
6019
  goatData: "#ff0145",
6019
6020
  secondary: "#ff0145",
6020
6021
  experiences: "white"
6021
- }, c = {
6022
+ }, a = {
6022
6023
  goatData: "white",
6023
6024
  secondary: "#1F2937",
6024
6025
  experiences: "#1F2937"
@@ -6070,19 +6071,19 @@ const rs = (g, A) => jB(g) ? new ls(A) : new Es(A, {
6070
6071
  ),
6071
6072
  (!B || B.trim() === "") && /* @__PURE__ */ o("div", { className: `text-[10px] ${G[g]} tracking-[4px]`, children: "DATA" })
6072
6073
  ] }) }),
6073
- /* @__PURE__ */ o("div", { className: "hidden sm:ml-6 sm:block flex-grow", children: /* @__PURE__ */ o("nav", { className: "flex justify-end", children: /* @__PURE__ */ o("ul", { className: "flex space-x-4", children: A.map(({ label: l, href: Y, refId: V }) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(aM, { href: Y, Viewport: r[g], colorButton: c[g], children: /* @__PURE__ */ o(
6074
+ /* @__PURE__ */ o("div", { className: "hidden sm:ml-6 sm:block flex-grow", children: /* @__PURE__ */ o("nav", { className: "flex justify-end", children: /* @__PURE__ */ o("ul", { className: "flex space-x-4", children: A.map(({ label: l, href: Y, refId: f }) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(aM, { href: Y, Viewport: r[g], colorButton: a[g], children: /* @__PURE__ */ o(
6074
6075
  "div",
6075
6076
  {
6076
- ref: (a) => a && V && C.current.set(V, a),
6077
- id: V,
6078
- style: { padding: "6px", color: c[g] },
6077
+ ref: (c) => c && f && C.current.set(f, c),
6078
+ id: f,
6079
+ style: { padding: "6px", color: a[g] },
6079
6080
  children: l
6080
6081
  }
6081
6082
  ) }) }, Y)) }) }) })
6082
6083
  ] })
6083
6084
  ] })
6084
6085
  ] }),
6085
- Q && /* @__PURE__ */ o("div", { className: "space-y-1 px-2 pt-2 pb-3", children: A.map(({ label: l, href: Y }) => /* @__PURE__ */ o(aM, { href: Y, Viewport: r[g], colorButton: c[g], children: l }, Y)) })
6086
+ Q && /* @__PURE__ */ o("div", { className: "space-y-1 px-2 pt-2 pb-3", children: A.map(({ label: l, href: Y }) => /* @__PURE__ */ o(aM, { href: Y, Viewport: r[g], colorButton: a[g], children: l }, Y)) })
6086
6087
  ] });
6087
6088
  }
6088
6089
  );
@@ -6090,54 +6091,69 @@ cs.displayName = "Nav";
6090
6091
  const Ys = lA(
6091
6092
  ({
6092
6093
  images: g = [],
6093
- autoPlaySpeed: A = 3e3,
6094
- height: B = "400px",
6095
- explore: M = {},
6096
- overlap: D = {},
6097
- nameImages: w = !1,
6098
- nameImagesBotton: e = !1,
6099
- handletext4: Q,
6100
- handletext5: t,
6101
- ...C
6102
- }, i) => {
6103
- var V, a;
6104
- const [s, I] = O(0), n = wA(null), E = wA(null), r = wA(null), c = (u) => {
6105
- E.current = u.touches[0].clientX;
6106
- }, G = (u) => {
6107
- r.current = u.touches[0].clientX;
6108
- }, l = () => {
6109
- if (!E.current || !r.current) return;
6110
- const u = E.current - r.current;
6111
- u > 50 ? s < g.length - 1 && I(s + 1) : u < -50 && s > 0 && I(s - 1), E.current = null, r.current = null;
6094
+ variant: A = "vividPink",
6095
+ autoPlaySpeed: B = 3e3,
6096
+ height: M = "400px",
6097
+ explore: D = {},
6098
+ overlap: w = {},
6099
+ nameImages: e = !1,
6100
+ nameImagesBotton: Q = !1,
6101
+ handletext4: t,
6102
+ handletext5: C,
6103
+ ...i
6104
+ }, s) => {
6105
+ var y, q;
6106
+ const [I, n] = O(0), E = wA(null), r = wA(null), a = wA(null), G = (m) => {
6107
+ r.current = m.touches[0].clientX;
6108
+ }, l = (m) => {
6109
+ a.current = m.touches[0].clientX;
6112
6110
  }, Y = () => {
6113
- I((u) => (u + 1) % g.length);
6111
+ if (!r.current || !a.current) return;
6112
+ const m = r.current - a.current;
6113
+ m > 50 ? I < g.length - 1 && n(I + 1) : m < -50 && I > 0 && n(I - 1), r.current = null, a.current = null;
6114
+ }, f = () => {
6115
+ n((m) => (m + 1) % g.length);
6116
+ };
6117
+ if (tA(() => (g.length > 0 && (E.current = setInterval(f, B)), () => {
6118
+ E.current && clearInterval(E.current);
6119
+ }), [B, g.length]), !g || g.length === 0)
6120
+ return /* @__PURE__ */ o("header", { ref: s, ...i, className: "relative w-full overflow-hidden", style: { height: M }, children: /* @__PURE__ */ o("p", { className: "text-center text-gray-500", children: "No hay imágenes para mostrar" }) });
6121
+ const c = {
6122
+ primary: "text-white",
6123
+ secondary: "text-white",
6124
+ vividPink: "text-[#ff0145]",
6125
+ darkMagenta: "text-[#770069]",
6126
+ veryDarkViolet: "text-[#350053]",
6127
+ danger: "text-[#b91c1c]",
6128
+ warning: "text-[#f59e0b]",
6129
+ success: "text-[#047857]",
6130
+ tertiary: "text--[#d4d3d3]",
6131
+ experiences: "text-[#a8dbce]"
6114
6132
  };
6115
- return tA(() => (g.length > 0 && (n.current = setInterval(Y, A)), () => {
6116
- n.current && clearInterval(n.current);
6117
- }), [A, g.length]), !g || g.length === 0 ? /* @__PURE__ */ o("header", { ref: i, ...C, className: "relative w-full overflow-hidden", style: { height: B }, children: /* @__PURE__ */ o("p", { className: "text-center text-gray-500", children: "No hay imágenes para mostrar" }) }) : /* @__PURE__ */ U(
6133
+ return /* @__PURE__ */ U(
6118
6134
  "header",
6119
6135
  {
6120
- ref: i,
6121
- ...C,
6122
- style: { height: B },
6136
+ ref: s,
6137
+ ...i,
6138
+ style: { height: M },
6123
6139
  className: "relative w-full overflow-hidden",
6124
- onTouchStart: c,
6125
- onTouchMove: G,
6126
- onTouchEnd: l,
6140
+ onTouchStart: G,
6141
+ onTouchMove: l,
6142
+ onTouchEnd: Y,
6127
6143
  children: [
6128
- D && /* @__PURE__ */ U("div", { className: "absolute inset-0 flex flex-col items-center justify-center text-center z-20 text-white", children: [
6144
+ w && /* @__PURE__ */ U("div", { className: "absolute inset-0 flex flex-col items-center justify-center text-center z-20 text-white", children: [
6129
6145
  /* @__PURE__ */ U("h1", { className: "text-3xl md:text-5xl font-bold animate-fade-in-up", children: [
6130
- D.text1,
6146
+ w.text1,
6131
6147
  " ",
6132
- /* @__PURE__ */ o("span", { className: "text-red-400", children: D.text2 })
6148
+ /* @__PURE__ */ o("span", { className: `${c[A]}`, children: w.text2 })
6133
6149
  ] }),
6134
- /* @__PURE__ */ o("p", { className: "text-sm md:text-lg mb-6", children: D.text3 }),
6150
+ /* @__PURE__ */ o("p", { className: "text-sm md:text-lg mb-6", children: w.text3 }),
6135
6151
  /* @__PURE__ */ U("div", { className: "flex gap-4", children: [
6136
- D.text4 && /* @__PURE__ */ o(_g, { variant: "vividPink", onClick: Q, size: "small", label: D.text4 }),
6137
- D.text5 && /* @__PURE__ */ o(_g, { variant: "tertiary", onClick: t, size: "small", label: D.text5 })
6152
+ w.text4 && /* @__PURE__ */ o(_g, { variant: A, onClick: t, size: "small", label: w.text4 }),
6153
+ w.text5 && /* @__PURE__ */ o(_g, { variant: "tertiary", onClick: C, size: "small", label: w.text5 })
6138
6154
  ] })
6139
6155
  ] }),
6140
- (M == null ? void 0 : M.content) && /* @__PURE__ */ o("div", { className: "absolute z-20 bottom-8 left-1/2 transform -translate-x-1/2 pointer-events-auto", children: /* @__PURE__ */ U("a", { href: M.content, className: "flex flex-col items-center text-white", children: [
6156
+ (D == null ? void 0 : D.content) && /* @__PURE__ */ o("div", { className: "absolute z-20 bottom-8 left-1/2 transform -translate-x-1/2 pointer-events-auto", children: /* @__PURE__ */ U("a", { href: D.content, className: "flex flex-col items-center text-white", children: [
6141
6157
  /* @__PURE__ */ o("span", { className: "mb-2 text-lg font-medium", children: "Explora más" }),
6142
6158
  /* @__PURE__ */ o(
6143
6159
  "svg",
@@ -6159,49 +6175,49 @@ const Ys = lA(
6159
6175
  }
6160
6176
  )
6161
6177
  ] }) }),
6162
- w && /* @__PURE__ */ o("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__ */ o("h1", { className: "text-4xl font-bold", children: ((V = g[s]) == null ? void 0 : V.alt) || "Título dinámico" }, s) }),
6163
- e && /* @__PURE__ */ o("div", { className: "absolute bottom-8 left-1/2 transform -translate-x-1/2 text-center z-10", children: /* @__PURE__ */ o("p", { className: "text-lg font-medium text-white", children: (a = g[s]) == null ? void 0 : a.alt }) }),
6178
+ e && /* @__PURE__ */ o("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__ */ o("h1", { className: "text-4xl font-bold", children: ((y = g[I]) == null ? void 0 : y.alt) || "Título dinámico" }, I) }),
6179
+ Q && /* @__PURE__ */ o("div", { className: "absolute bottom-8 left-1/2 transform -translate-x-1/2 text-center z-10", children: /* @__PURE__ */ o("p", { className: "text-lg font-medium text-white", children: (q = g[I]) == null ? void 0 : q.alt }) }),
6164
6180
  /* @__PURE__ */ o(
6165
6181
  "div",
6166
6182
  {
6167
6183
  className: "flex transition-transform duration-700 ease-in-out",
6168
6184
  style: {
6169
- transform: `translateX(-${s * 100}%)`,
6170
- height: B
6185
+ transform: `translateX(-${I * 100}%)`,
6186
+ height: M
6171
6187
  },
6172
- children: g.map(({ src: u, alt: d, href: m }, q) => /* @__PURE__ */ U("div", { id: "large-header", className: "relative w-full flex-shrink-0 large-header", children: [
6173
- m ? /* @__PURE__ */ o("a", { href: m, children: /* @__PURE__ */ o(
6188
+ children: g.map(({ src: m, alt: d, href: v }, W) => /* @__PURE__ */ U("div", { id: "large-header", className: "relative w-full flex-shrink-0 large-header", children: [
6189
+ v ? /* @__PURE__ */ o("a", { href: v, children: /* @__PURE__ */ o(
6174
6190
  "img",
6175
6191
  {
6176
- src: u,
6192
+ src: m,
6177
6193
  alt: d,
6178
6194
  className: "w-full h-full object-cover",
6179
- style: { height: B }
6195
+ style: { height: M }
6180
6196
  }
6181
6197
  ) }) : /* @__PURE__ */ o(
6182
6198
  "img",
6183
6199
  {
6184
- src: u,
6200
+ src: m,
6185
6201
  alt: d,
6186
6202
  className: "w-full h-full object-cover",
6187
- style: { height: B }
6203
+ style: { height: M }
6188
6204
  }
6189
6205
  ),
6190
6206
  /* @__PURE__ */ o(
6191
6207
  "div",
6192
6208
  {
6193
6209
  className: "absolute inset-0 bg-black bg-opacity-0",
6194
- style: { height: B }
6210
+ style: { height: M }
6195
6211
  }
6196
6212
  )
6197
- ] }, q))
6213
+ ] }, W))
6198
6214
  }
6199
6215
  ),
6200
- /* @__PURE__ */ o("div", { className: "absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2 z-30", children: g.map((u, d) => /* @__PURE__ */ o(
6216
+ /* @__PURE__ */ o("div", { className: "absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2 z-30", children: g.map((m, d) => /* @__PURE__ */ o(
6201
6217
  "button",
6202
6218
  {
6203
- onClick: () => I(d),
6204
- className: `w-3 h-3 rounded-full ${s === d ? "bg-white" : "bg-gray-400"}`
6219
+ onClick: () => n(d),
6220
+ className: `w-3 h-3 rounded-full ${I === d ? "bg-white" : "bg-gray-400"}`
6205
6221
  },
6206
6222
  d
6207
6223
  )) })
@@ -6255,9 +6271,9 @@ const uw = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
6255
6271
  className: n,
6256
6272
  ...E
6257
6273
  }, r) => {
6258
- const [c, G] = O(i), l = () => {
6274
+ const [a, G] = O(i), l = () => {
6259
6275
  G(
6260
- (q) => q === "password" ? "text" : "password"
6276
+ (d) => d === "password" ? "text" : "password"
6261
6277
  );
6262
6278
  }, Y = J(
6263
6279
  "rounded-lg font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 w-full",
@@ -6267,7 +6283,7 @@ const uw = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
6267
6283
  "bg-gray-200": B,
6268
6284
  "border border-[#b91c1c] focus:ring-[#b91c1c]": s
6269
6285
  }
6270
- ), V = {
6286
+ ), f = {
6271
6287
  primary: "border border-[#1F2937] focus:ring-[#1F2937]",
6272
6288
  secondary: "border border-[#d4d3d3] bg-transparent focus:ring-[#1F2937]",
6273
6289
  vividPink: "border border-[#ff0145] focus:ring-[#ff0145]",
@@ -6277,7 +6293,7 @@ const uw = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
6277
6293
  warning: "border border-[#f59e0b] focus:ring-[#f59e0b]",
6278
6294
  success: "border border-[#047857] focus:ring-[#047857]",
6279
6295
  tertiary: "border border-[#d4d3d3] bg-[#f8f9fa] focus:ring-[#1F2937]"
6280
- }, a = {
6296
+ }, c = {
6281
6297
  primary: "#1F2937",
6282
6298
  secondary: "#73787f",
6283
6299
  vividPink: "#ff0145",
@@ -6287,15 +6303,15 @@ const uw = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
6287
6303
  warning: "#f59e0b",
6288
6304
  success: "#047857",
6289
6305
  tertiary: "#73787f"
6290
- }, u = {
6306
+ }, y = {
6291
6307
  small: "px-4 py-1.5 text-xs",
6292
6308
  medium: "px-6 py-2.5 text-base",
6293
6309
  large: "px-8 py-3 text-lg"
6294
- }, d = () => M === "home" ? /* @__PURE__ */ o(ZB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "Left" ? /* @__PURE__ */ o(lB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "right" ? /* @__PURE__ */ o(rB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "save" ? /* @__PURE__ */ o(kB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "more" ? /* @__PURE__ */ o(YB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "update" ? /* @__PURE__ */ o(yB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "attach" ? /* @__PURE__ */ o(VB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "send" ? /* @__PURE__ */ o(pB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "delete" ? /* @__PURE__ */ o(GB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "edit" ? /* @__PURE__ */ o(aB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "login" ? /* @__PURE__ */ o(KB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "reset" ? /* @__PURE__ */ o(cB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "add" ? /* @__PURE__ */ o(uB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "exit" ? /* @__PURE__ */ o(qB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "off" ? /* @__PURE__ */ o(dB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "calculator" ? /* @__PURE__ */ o(UB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "list" ? /* @__PURE__ */ o(mB, { size: A === "small" ? 15 : 20, color: a[g] }) : M === "futbol" ? /* @__PURE__ */ o(fB, { size: A === "small" ? 15 : 20, color: a[g] }) : null, m = () => N.isValidElement(D) ? N.cloneElement(D, { className: "w-5 h-5" }) : d();
6310
+ }, q = () => M === "home" ? /* @__PURE__ */ o(ZB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "Left" ? /* @__PURE__ */ o(lB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "right" ? /* @__PURE__ */ o(rB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "save" ? /* @__PURE__ */ o(kB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "more" ? /* @__PURE__ */ o(YB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "update" ? /* @__PURE__ */ o(yB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "attach" ? /* @__PURE__ */ o(VB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "send" ? /* @__PURE__ */ o(pB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "delete" ? /* @__PURE__ */ o(GB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "edit" ? /* @__PURE__ */ o(aB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "login" ? /* @__PURE__ */ o(KB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "reset" ? /* @__PURE__ */ o(cB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "add" ? /* @__PURE__ */ o(uB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "exit" ? /* @__PURE__ */ o(qB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "off" ? /* @__PURE__ */ o(dB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "calculator" ? /* @__PURE__ */ o(UB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "list" ? /* @__PURE__ */ o(mB, { size: A === "small" ? 15 : 20, color: c[g] }) : M === "futbol" ? /* @__PURE__ */ o(fB, { size: A === "small" ? 15 : 20, color: c[g] }) : null, m = () => N.isValidElement(D) ? N.cloneElement(D, { className: "w-5 h-5" }) : q();
6295
6311
  return /* @__PURE__ */ U("div", { className: "relative", children: [
6296
6312
  e && /* @__PURE__ */ U("div", { className: "flex items-center text-xs mb-1 font-medium text-gray-800", children: [
6297
6313
  /* @__PURE__ */ o("span", { style: { color: g === "tertiary" ? "#73787f" : "" }, children: e }),
6298
- Q && t && /* @__PURE__ */ o(uw, { infoText: t, disabled: B, bgStyles: a[g] })
6314
+ Q && t && /* @__PURE__ */ o(uw, { infoText: t, disabled: B, bgStyles: c[g] })
6299
6315
  ] }),
6300
6316
  /* @__PURE__ */ U("div", { className: "relative flex items-center", children: [
6301
6317
  D && C === "left" && /* @__PURE__ */ o("span", { className: "absolute left-3", children: m() }),
@@ -6303,11 +6319,11 @@ const uw = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
6303
6319
  "input",
6304
6320
  {
6305
6321
  ref: r,
6306
- type: c,
6322
+ type: a,
6307
6323
  className: J(
6308
6324
  Y,
6309
- s ? "border-[#b91c1c] focus:ring-[#b91c1c]" : V[g],
6310
- A in u ? u[A] : "",
6325
+ s ? "border-[#b91c1c] focus:ring-[#b91c1c]" : f[g],
6326
+ A in y ? y[A] : "",
6311
6327
  {
6312
6328
  "pl-10": D && C === "left",
6313
6329
  "pr-10": D && C === "right" || i === "password",
@@ -6325,7 +6341,7 @@ const uw = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
6325
6341
  {
6326
6342
  className: "absolute right-3 cursor-pointer",
6327
6343
  onClick: l,
6328
- children: c === "password" ? /* @__PURE__ */ o(vw, { size: 20, color: a[g] }) : /* @__PURE__ */ o(Pw, { size: 20, color: a[g] })
6344
+ children: a === "password" ? /* @__PURE__ */ o(vw, { size: 20, color: c[g] }) : /* @__PURE__ */ o(Pw, { size: 20, color: c[g] })
6329
6345
  }
6330
6346
  )
6331
6347
  ] }),
@@ -6355,7 +6371,7 @@ const ys = N.forwardRef(
6355
6371
  className: n,
6356
6372
  ...E
6357
6373
  }, r) => {
6358
- const c = J(
6374
+ const a = J(
6359
6375
  "rounded-lg font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 w-full",
6360
6376
  {
6361
6377
  "text-gray-900": g !== "secondary",
@@ -6387,20 +6403,20 @@ const ys = N.forwardRef(
6387
6403
  small: "px-4 py-1.5 text-xs",
6388
6404
  medium: "px-6 py-2.5 text-base",
6389
6405
  large: "px-8 py-3 text-lg"
6390
- }, V = () => M === "home" ? /* @__PURE__ */ o(ZB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "Left" ? /* @__PURE__ */ o(lB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "right" ? /* @__PURE__ */ o(rB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "save" ? /* @__PURE__ */ o(kB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "more" ? /* @__PURE__ */ o(YB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "update" ? /* @__PURE__ */ o(yB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "attach" ? /* @__PURE__ */ o(VB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "send" ? /* @__PURE__ */ o(pB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "delete" ? /* @__PURE__ */ o(GB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "edit" ? /* @__PURE__ */ o(aB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "login" ? /* @__PURE__ */ o(KB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "reset" ? /* @__PURE__ */ o(cB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "add" ? /* @__PURE__ */ o(uB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "exit" ? /* @__PURE__ */ o(qB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "off" ? /* @__PURE__ */ o(dB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "calculator" ? /* @__PURE__ */ o(UB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "list" ? /* @__PURE__ */ o(mB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "futbol" ? /* @__PURE__ */ o(fB, { size: A === "small" ? 15 : 20, color: l[g] }) : null, a = () => N.isValidElement(D) ? N.cloneElement(D, { className: "w-5 h-5" }) : V();
6406
+ }, f = () => M === "home" ? /* @__PURE__ */ o(ZB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "Left" ? /* @__PURE__ */ o(lB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "right" ? /* @__PURE__ */ o(rB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "save" ? /* @__PURE__ */ o(kB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "more" ? /* @__PURE__ */ o(YB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "update" ? /* @__PURE__ */ o(yB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "attach" ? /* @__PURE__ */ o(VB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "send" ? /* @__PURE__ */ o(pB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "delete" ? /* @__PURE__ */ o(GB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "edit" ? /* @__PURE__ */ o(aB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "login" ? /* @__PURE__ */ o(KB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "reset" ? /* @__PURE__ */ o(cB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "add" ? /* @__PURE__ */ o(uB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "exit" ? /* @__PURE__ */ o(qB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "off" ? /* @__PURE__ */ o(dB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "calculator" ? /* @__PURE__ */ o(UB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "list" ? /* @__PURE__ */ o(mB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "futbol" ? /* @__PURE__ */ o(fB, { size: A === "small" ? 15 : 20, color: l[g] }) : null, c = () => N.isValidElement(D) ? N.cloneElement(D, { className: "w-5 h-5" }) : f();
6391
6407
  return /* @__PURE__ */ U("div", { className: "relative", children: [
6392
6408
  e && /* @__PURE__ */ U("div", { className: "flex items-center text-xs mb-1 font-medium text-gray-800", children: [
6393
6409
  /* @__PURE__ */ o("span", { style: { color: g === "tertiary" ? "#73787f" : "" }, children: e }),
6394
6410
  Q && t && /* @__PURE__ */ o(uw, { infoText: t, disabled: B, bgStyles: l[g] })
6395
6411
  ] }),
6396
6412
  /* @__PURE__ */ U("div", { className: "relative flex items-center", children: [
6397
- D && C === "left" && /* @__PURE__ */ o("span", { className: "absolute left-3", children: a() }),
6413
+ D && C === "left" && /* @__PURE__ */ o("span", { className: "absolute left-3", children: c() }),
6398
6414
  /* @__PURE__ */ U(
6399
6415
  "select",
6400
6416
  {
6401
6417
  ref: r,
6402
6418
  className: J(
6403
- c,
6419
+ a,
6404
6420
  i ? "border-[#b91c1c] focus:ring-[#b91c1c]" : G[g],
6405
6421
  A in Y ? Y[A] : "",
6406
6422
  {
@@ -6423,14 +6439,14 @@ const ys = N.forwardRef(
6423
6439
  children: w
6424
6440
  }
6425
6441
  ),
6426
- I.map((u) => /* @__PURE__ */ o(
6442
+ I.map((y) => /* @__PURE__ */ o(
6427
6443
  "option",
6428
6444
  {
6429
- value: u.value,
6445
+ value: y.value,
6430
6446
  className: `bg-[${l[g]}] text-white text-sm`,
6431
- children: u.label
6447
+ children: y.label
6432
6448
  },
6433
- u.value
6449
+ y.value
6434
6450
  ))
6435
6451
  ]
6436
6452
  }