@medixdeck/ui 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as f, jsxs as S, Fragment as qe } from "react/jsx-runtime";
2
2
  import * as O from "react";
3
- import P, { createContext as Be, useRef as J, useLayoutEffect as Ts, useEffect as Fn, useId as Tn, useContext as $, useInsertionEffect as kn, useMemo as Fe, useCallback as Po, Children as ks, isValidElement as As, useState as ii, Fragment as Mo, createElement as Ds, forwardRef as Es, Component as Ps } from "react";
4
- import { defineConfig as Ms, createSystem as Vs, defaultConfig as Rs, ChakraProvider as Ls, Box as m, Avatar as Pt, Spinner as Is, Text as z, Separator as Bs, Input as zs, Textarea as Os, NativeSelect as Mt, DialogRoot as js, DialogBackdrop as Ws, DialogPositioner as Hs, DialogContent as Ns, DialogHeader as _s, DialogTitle as $s, DialogDescription as Us, DialogCloseTrigger as Ks, DialogBody as Gs, DialogFooter as Ys, Tooltip as nt, DrawerRoot as Xs, DrawerBackdrop as Zs, DrawerPositioner as qs, DrawerContent as Js, DrawerHeader as Qs, DrawerTitle as ea, DrawerCloseTrigger as ta, DrawerBody as na, DrawerFooter as ia } from "@chakra-ui/react";
3
+ import P, { createContext as Be, useRef as J, useLayoutEffect as As, useEffect as Fn, useId as Tn, useContext as $, useInsertionEffect as kn, useMemo as Fe, useCallback as Vo, Children as Ds, isValidElement as Es, useState as ii, Fragment as Ro, createElement as Ps, forwardRef as Ms, Component as Vs } from "react";
4
+ import { defineConfig as Rs, createSystem as Ls, defaultConfig as Is, ChakraProvider as Bs, Box as m, Avatar as Pt, Spinner as zs, Text as z, Separator as Os, Input as js, Textarea as Ws, NativeSelect as Mt, DialogRoot as Hs, DialogBackdrop as Ns, DialogPositioner as _s, DialogContent as $s, DialogHeader as Us, DialogTitle as Ks, DialogDescription as Gs, DialogCloseTrigger as Ys, DialogBody as Xs, DialogFooter as Zs, Tooltip as nt, DrawerRoot as qs, DrawerBackdrop as Js, DrawerPositioner as Qs, DrawerContent as ea, DrawerHeader as ta, DrawerTitle as na, DrawerCloseTrigger as ia, DrawerBody as oa, DrawerFooter as ra } from "@chakra-ui/react";
5
5
  import { Box as sp, Center as ap, Flex as lp, Grid as cp, GridItem as dp, HStack as up, Heading as fp, Icon as hp, Image as pp, Link as mp, SimpleGrid as gp, Stack as yp, Text as bp, VStack as xp, Wrap as vp, WrapItem as wp } from "@chakra-ui/react";
6
- var oa = (e, t, n, i, o, s, r, a) => {
6
+ var sa = (e, t, n, i, o, s, r, a) => {
7
7
  let l = document.documentElement, d = ["light", "dark"];
8
8
  function c(p) {
9
9
  (Array.isArray(e) ? e : [e]).forEach((g) => {
@@ -23,12 +23,12 @@ var oa = (e, t, n, i, o, s, r, a) => {
23
23
  c(g);
24
24
  } catch {
25
25
  }
26
- }, oi = ["light", "dark"], Vo = "(prefers-color-scheme: dark)", ra = typeof window > "u", Ro = O.createContext(void 0), sa = (e) => O.useContext(Ro) ? O.createElement(O.Fragment, null, e.children) : O.createElement(la, { ...e }), aa = ["light", "dark"], la = ({ forcedTheme: e, disableTransitionOnChange: t = !1, enableSystem: n = !0, enableColorScheme: i = !0, storageKey: o = "theme", themes: s = aa, defaultTheme: r = n ? "system" : "light", attribute: a = "data-theme", value: l, children: d, nonce: c, scriptProps: u }) => {
27
- let [h, p] = O.useState(() => da(o, r)), [g, y] = O.useState(() => h === "system" ? Vt() : h), b = l ? Object.values(l) : s, x = O.useCallback((C) => {
26
+ }, oi = ["light", "dark"], Lo = "(prefers-color-scheme: dark)", aa = typeof window > "u", Io = O.createContext(void 0), la = (e) => O.useContext(Io) ? O.createElement(O.Fragment, null, e.children) : O.createElement(da, { ...e }), ca = ["light", "dark"], da = ({ forcedTheme: e, disableTransitionOnChange: t = !1, enableSystem: n = !0, enableColorScheme: i = !0, storageKey: o = "theme", themes: s = ca, defaultTheme: r = n ? "system" : "light", attribute: a = "data-theme", value: l, children: d, nonce: c, scriptProps: u }) => {
27
+ let [h, p] = O.useState(() => fa(o, r)), [g, y] = O.useState(() => h === "system" ? Vt() : h), b = l ? Object.values(l) : s, x = O.useCallback((C) => {
28
28
  let A = C;
29
29
  if (!A) return;
30
30
  C === "system" && n && (A = Vt());
31
- let V = l ? l[A] : A, E = t ? ua(c) : null, T = document.documentElement, k = (M) => {
31
+ let V = l ? l[A] : A, E = t ? ha(c) : null, T = document.documentElement, k = (M) => {
32
32
  M === "class" ? (T.classList.remove(...b), V && T.classList.add(V)) : M.startsWith("data-") && (V ? T.setAttribute(M, V) : T.removeAttribute(M));
33
33
  };
34
34
  if (Array.isArray(a) ? a.forEach(k) : k(a), i) {
@@ -48,7 +48,7 @@ var oa = (e, t, n, i, o, s, r, a) => {
48
48
  y(A), h === "system" && n && !e && x("system");
49
49
  }, [h, e]);
50
50
  O.useEffect(() => {
51
- let C = window.matchMedia(Vo);
51
+ let C = window.matchMedia(Lo);
52
52
  return C.addListener(w), w(C), () => C.removeListener(w);
53
53
  }, [w]), O.useEffect(() => {
54
54
  let C = (A) => {
@@ -59,26 +59,26 @@ var oa = (e, t, n, i, o, s, r, a) => {
59
59
  x(e ?? h);
60
60
  }, [e, h]);
61
61
  let F = O.useMemo(() => ({ theme: h, setTheme: v, forcedTheme: e, resolvedTheme: h === "system" ? g : h, themes: n ? [...s, "system"] : s, systemTheme: n ? g : void 0 }), [h, v, e, g, n, s]);
62
- return O.createElement(Ro.Provider, { value: F }, O.createElement(ca, { forcedTheme: e, storageKey: o, attribute: a, enableSystem: n, enableColorScheme: i, defaultTheme: r, value: l, themes: s, nonce: c, scriptProps: u }), d);
63
- }, ca = O.memo(({ forcedTheme: e, storageKey: t, attribute: n, enableSystem: i, enableColorScheme: o, defaultTheme: s, value: r, themes: a, nonce: l, scriptProps: d }) => {
62
+ return O.createElement(Io.Provider, { value: F }, O.createElement(ua, { forcedTheme: e, storageKey: o, attribute: a, enableSystem: n, enableColorScheme: i, defaultTheme: r, value: l, themes: s, nonce: c, scriptProps: u }), d);
63
+ }, ua = O.memo(({ forcedTheme: e, storageKey: t, attribute: n, enableSystem: i, enableColorScheme: o, defaultTheme: s, value: r, themes: a, nonce: l, scriptProps: d }) => {
64
64
  let c = JSON.stringify([n, t, s, e, a, r, i, o]).slice(1, -1);
65
- return O.createElement("script", { ...d, suppressHydrationWarning: !0, nonce: typeof window > "u" ? l : "", dangerouslySetInnerHTML: { __html: `(${oa.toString()})(${c})` } });
66
- }), da = (e, t) => {
67
- if (ra) return;
65
+ return O.createElement("script", { ...d, suppressHydrationWarning: !0, nonce: typeof window > "u" ? l : "", dangerouslySetInnerHTML: { __html: `(${sa.toString()})(${c})` } });
66
+ }), fa = (e, t) => {
67
+ if (aa) return;
68
68
  let n;
69
69
  try {
70
70
  n = localStorage.getItem(e) || void 0;
71
71
  } catch {
72
72
  }
73
73
  return n || t;
74
- }, ua = (e) => {
74
+ }, ha = (e) => {
75
75
  let t = document.createElement("style");
76
76
  return e && t.setAttribute("nonce", e), t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), document.head.appendChild(t), () => {
77
77
  window.getComputedStyle(document.body), setTimeout(() => {
78
78
  document.head.removeChild(t);
79
79
  }, 1);
80
80
  };
81
- }, Vt = (e) => (e || (e = window.matchMedia(Vo)), e.matches ? "dark" : "light");
81
+ }, Vt = (e) => (e || (e = window.matchMedia(Lo)), e.matches ? "dark" : "light");
82
82
  const ye = {
83
83
  // ─── Brand Blue scale ──────────────────────────────────────────────────────
84
84
  blue: {
@@ -232,7 +232,7 @@ const ye = {
232
232
  // Label caps
233
233
  wider: { value: "0.1em" }
234
234
  }
235
- }, fa = {
235
+ }, pa = {
236
236
  display: {
237
237
  value: {
238
238
  fontFamily: "var(--font-heading)",
@@ -299,7 +299,7 @@ const ye = {
299
299
  fontWeight: "var(--font-weight-normal)"
300
300
  }
301
301
  }
302
- }, ha = {
302
+ }, ma = {
303
303
  // Core spacing scale
304
304
  0: { value: "0px" },
305
305
  1: { value: "4px" },
@@ -323,7 +323,7 @@ const ye = {
323
323
  32: { value: "128px" },
324
324
  40: { value: "160px" },
325
325
  48: { value: "192px" }
326
- }, pa = {
326
+ }, ga = {
327
327
  none: { value: "0px" },
328
328
  badge: { value: "4px" },
329
329
  // Badge ★
@@ -342,7 +342,7 @@ const ye = {
342
342
  // Pills / Tags
343
343
  circle: { value: "50%" }
344
344
  // Avatar / FAB ★
345
- }, ma = {
345
+ }, ya = {
346
346
  xs: { value: "0 1px 2px 0 rgba(0, 0, 0, 0.05)" },
347
347
  sm: { value: "0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10)" },
348
348
  md: { value: "0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10)" },
@@ -351,7 +351,7 @@ const ye = {
351
351
  "card-dark": { value: "0 4px 24px 0 rgba(0, 0, 0, 0.40)" },
352
352
  "card-light": { value: "0 2px 12px 0 rgba(17, 25, 38, 0.08)" },
353
353
  none: { value: "none" }
354
- }, ga = Ms({
354
+ }, ba = Rs({
355
355
  globalCss: {
356
356
  "html, body": {
357
357
  fontFamily: "var(--font-body)"
@@ -378,9 +378,9 @@ const ye = {
378
378
  fontWeights: He.fontWeights,
379
379
  lineHeights: He.lineHeights,
380
380
  letterSpacings: He.letterSpacings,
381
- spacing: ha,
382
- radii: pa,
383
- shadows: ma
381
+ spacing: ma,
382
+ radii: ga,
383
+ shadows: ya
384
384
  },
385
385
  semanticTokens: {
386
386
  colors: {
@@ -487,12 +487,12 @@ const ye = {
487
487
  }
488
488
  }
489
489
  },
490
- textStyles: fa
490
+ textStyles: pa
491
491
  }
492
- }), ya = Vs(Rs, ga), ba = [
492
+ }), xa = Ls(Is, ba), va = [
493
493
  "https://api.fontshare.com/v2/css?f[]=satoshi@400,500,600,700&display=swap",
494
494
  "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
495
- ], xa = `
495
+ ], wa = `
496
496
  /* ── Font custom properties ─────────────────────────────────────────────── */
497
497
  :root {
498
498
  --font-heading: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont,
@@ -552,7 +552,7 @@ const ye = {
552
552
  }
553
553
  `;
554
554
  let ri = !1, si = !1;
555
- function va() {
555
+ function Sa() {
556
556
  if (typeof document > "u" || ri) return;
557
557
  [
558
558
  "https://api.fontshare.com",
@@ -562,16 +562,16 @@ function va() {
562
562
  if (document.head.querySelector(`link[href="${t}"]`)) return;
563
563
  const n = document.createElement("link");
564
564
  n.rel = "preconnect", n.href = t, t.includes("gstatic") && (n.crossOrigin = "anonymous"), document.head.appendChild(n);
565
- }), ba.forEach((t) => {
565
+ }), va.forEach((t) => {
566
566
  if (document.head.querySelector(`link[href="${t}"]`)) return;
567
567
  const n = document.createElement("link");
568
568
  n.rel = "stylesheet", n.href = t, document.head.appendChild(n);
569
569
  }), ri = !0;
570
570
  }
571
- function wa() {
571
+ function Ca() {
572
572
  if (typeof document > "u" || si) return;
573
573
  const e = document.createElement("style");
574
- e.setAttribute("data-medixdeck", "global"), e.textContent = xa, document.head.insertBefore(e, document.head.firstChild), si = !0;
574
+ e.setAttribute("data-medixdeck", "global"), e.textContent = wa, document.head.insertBefore(e, document.head.firstChild), si = !0;
575
575
  }
576
576
  function Dh({
577
577
  children: e,
@@ -579,19 +579,19 @@ function Dh({
579
579
  forcedColorMode: n
580
580
  }) {
581
581
  return P.useEffect(() => {
582
- va(), wa();
582
+ Sa(), Ca();
583
583
  }, []), /* @__PURE__ */ f(
584
- sa,
584
+ la,
585
585
  {
586
586
  attribute: "class",
587
587
  defaultTheme: t,
588
588
  forcedTheme: n,
589
589
  disableTransitionOnChange: !0,
590
- children: /* @__PURE__ */ f(Ls, { value: ya, children: e })
590
+ children: /* @__PURE__ */ f(Bs, { value: xa, children: e })
591
591
  }
592
592
  );
593
593
  }
594
- const Sa = {
594
+ const ai = {
595
595
  blue: {
596
596
  solid: "#0685FF",
597
597
  solidHover: "#0575E6",
@@ -636,8 +636,26 @@ const Sa = {
636
636
  tintHover: "#FEF3C7",
637
637
  fg: "#D97706",
638
638
  fgHover: "#A85B04"
639
- }
640
- }, Ca = {
639
+ },
640
+ black: {
641
+ solid: "#111926",
642
+ solidHover: "#0D131D",
643
+ solidActive: "#000000",
644
+ tint: "#F3F4F6",
645
+ tintHover: "#E5E7EB",
646
+ fg: "#111926",
647
+ fgHover: "#000000"
648
+ },
649
+ gray: {
650
+ solid: "#4B5563",
651
+ solidHover: "#374151",
652
+ solidActive: "#1F2937",
653
+ tint: "#F9FAFB",
654
+ tintHover: "#F3F4F6",
655
+ fg: "#4B5563",
656
+ fgHover: "#1F2937"
657
+ }
658
+ }, li = {
641
659
  xs: { height: "28px", px: "12px", fontSize: "11px" },
642
660
  sm: { height: "32px", px: "14px", fontSize: "13px" },
643
661
  md: { height: "40px", px: "18px", fontSize: "14px" },
@@ -655,7 +673,7 @@ const Sa = {
655
673
  style: l,
656
674
  ...d
657
675
  }, c) => {
658
- const u = Sa[n], h = Ca[t], p = {
676
+ const u = ai[n] || ai.blue, h = li[t] || li.md, p = {
659
677
  display: "inline-flex",
660
678
  alignItems: "center",
661
679
  justifyContent: "center",
@@ -928,7 +946,7 @@ const Aa = {
928
946
  }
929
947
  );
930
948
  An.displayName = "MedixBadge";
931
- const Lo = {
949
+ const Bo = {
932
950
  xs: "xs",
933
951
  sm: "sm",
934
952
  md: "md",
@@ -940,7 +958,7 @@ const Lo = {
940
958
  Pt.Root,
941
959
  {
942
960
  ref: r,
943
- size: Lo[n],
961
+ size: Bo[n],
944
962
  position: "relative",
945
963
  ...s,
946
964
  children: [
@@ -974,7 +992,7 @@ const Lo = {
974
992
  );
975
993
  Ea.displayName = "MedixAvatar";
976
994
  function Eh({ children: e, max: t, size: n = "md" }) {
977
- const i = P.Children.toArray(e), o = t ? i.slice(0, t) : i, s = t ? Math.max(0, i.length - t) : 0, r = Lo[n];
995
+ const i = P.Children.toArray(e), o = t ? i.slice(0, t) : i, s = t ? Math.max(0, i.length - t) : 0, r = Bo[n];
978
996
  return /* @__PURE__ */ S(m, { display: "flex", alignItems: "center", children: [
979
997
  o.map((a, l) => /* @__PURE__ */ f(m, { ml: l === 0 ? "0" : "-2", position: "relative", zIndex: o.length - l, children: P.isValidElement(a) ? P.cloneElement(a, { size: n }) : a }, l)),
980
998
  s > 0 && /* @__PURE__ */ S(
@@ -1003,7 +1021,7 @@ function Eh({ children: e, max: t, size: n = "md" }) {
1003
1021
  }
1004
1022
  function Pa({ size: e = "md", label: t, color: n = "blue.500", ...i }) {
1005
1023
  return /* @__PURE__ */ S(m, { display: "inline-flex", flexDirection: "column", alignItems: "center", gap: "2", children: [
1006
- /* @__PURE__ */ f(Is, { size: e, color: n, borderWidth: "2px", ...i }),
1024
+ /* @__PURE__ */ f(zs, { size: e, color: n, borderWidth: "2px", ...i }),
1007
1025
  t && /* @__PURE__ */ f(z, { textStyle: "small", color: "text.muted", children: t })
1008
1026
  ] });
1009
1027
  }
@@ -1097,7 +1115,7 @@ const Va = P.forwardRef(
1097
1115
  /* @__PURE__ */ f("div", { style: { flex: 1, height: "1px", background: "var(--chakra-colors-border)" } })
1098
1116
  ]
1099
1117
  }
1100
- ) : /* @__PURE__ */ f(Bs, { ref: i, orientation: e, borderColor: "border", ...n })
1118
+ ) : /* @__PURE__ */ f(Os, { ref: i, orientation: e, borderColor: "border", ...n })
1101
1119
  );
1102
1120
  Va.displayName = "MedixDivider";
1103
1121
  const Ra = {
@@ -1120,13 +1138,13 @@ const Ra = {
1120
1138
  white: "#FFFFFF"
1121
1139
  // explicit white — unchanged
1122
1140
  };
1123
- function ai() {
1141
+ function ci() {
1124
1142
  return typeof document > "u" ? !1 : document.documentElement.classList.contains("dark");
1125
1143
  }
1126
1144
  function Ba() {
1127
- const [e, t] = P.useState(ai);
1145
+ const [e, t] = P.useState(ci);
1128
1146
  return P.useEffect(() => {
1129
- const n = document.documentElement, i = new MutationObserver(() => t(ai()));
1147
+ const n = document.documentElement, i = new MutationObserver(() => t(ci()));
1130
1148
  return i.observe(n, { attributeFilter: ["class"] }), () => i.disconnect();
1131
1149
  }, []), e;
1132
1150
  }
@@ -1325,7 +1343,7 @@ const Rt = {
1325
1343
  sm: { h: "8", px: "3", fontSize: "sm" },
1326
1344
  md: { h: "10", px: "4", fontSize: "md" },
1327
1345
  lg: { h: "12", px: "4", fontSize: "lg" }
1328
- }, Io = P.forwardRef(
1346
+ }, zo = P.forwardRef(
1329
1347
  ({ size: e = "md", leftElement: t, rightElement: n, isInvalid: i, errorMessage: o, ...s }, r) => {
1330
1348
  const a = !!t, l = !!n;
1331
1349
  return /* @__PURE__ */ S(m, { w: "100%", children: [
@@ -1345,7 +1363,7 @@ const Rt = {
1345
1363
  }
1346
1364
  ),
1347
1365
  /* @__PURE__ */ f(
1348
- zs,
1366
+ js,
1349
1367
  {
1350
1368
  ref: r,
1351
1369
  ...Rt[e],
@@ -1390,10 +1408,10 @@ const Rt = {
1390
1408
  ] });
1391
1409
  }
1392
1410
  );
1393
- Io.displayName = "MedixInput";
1411
+ zo.displayName = "MedixInput";
1394
1412
  const Wa = P.forwardRef(
1395
1413
  ({ placeholder: e = "Search…", ...t }, n) => /* @__PURE__ */ f(
1396
- Io,
1414
+ zo,
1397
1415
  {
1398
1416
  ref: n,
1399
1417
  type: "search",
@@ -1414,7 +1432,7 @@ const Ha = P.forwardRef(
1414
1432
  );
1415
1433
  return /* @__PURE__ */ S(m, { w: "100%", children: [
1416
1434
  /* @__PURE__ */ f(
1417
- Os,
1435
+ Ws,
1418
1436
  {
1419
1437
  ref: a,
1420
1438
  bg: "bg.surface",
@@ -1505,7 +1523,7 @@ const Na = {
1505
1523
  }
1506
1524
  );
1507
1525
  _a.displayName = "MedixSelect";
1508
- const Bo = {
1526
+ const Oo = {
1509
1527
  blue: { solid: "#0685FF", ring: "rgba(6,133,255,0.30)", tint: "#E8F3FF" },
1510
1528
  purple: { solid: "#7700CC", ring: "rgba(119,0,204,0.25)", tint: "#F9F0FF" },
1511
1529
  green: { solid: "#1B7A38", ring: "rgba(27,122,56,0.25)", tint: "#F0FDF4" }
@@ -1523,7 +1541,7 @@ const Bo = {
1523
1541
  value: d,
1524
1542
  id: c
1525
1543
  }, u) => {
1526
- const h = Bo[e], p = c ?? P.useId(), [g, y] = P.useState(n), [b, x] = P.useState(!1), v = t !== void 0 ? t : g, w = (C) => {
1544
+ const h = Oo[e], p = c ?? P.useId(), [g, y] = P.useState(n), [b, x] = P.useState(!1), v = t !== void 0 ? t : g, w = (C) => {
1527
1545
  t === void 0 && y(C.target.checked), i == null || i(C.target.checked);
1528
1546
  }, F = {
1529
1547
  width: 18,
@@ -1613,7 +1631,7 @@ function Mh({
1613
1631
  colorScheme: o = "blue",
1614
1632
  direction: s = "column"
1615
1633
  }) {
1616
- const r = Bo[o], [a, l] = P.useState(""), d = t !== void 0 ? t : a, c = (u) => {
1634
+ const r = Oo[o], [a, l] = P.useState(""), d = t !== void 0 ? t : a, c = (u) => {
1617
1635
  t === void 0 && l(u), n == null || n(u);
1618
1636
  };
1619
1637
  return /* @__PURE__ */ f(
@@ -2431,7 +2449,7 @@ function En(e) {
2431
2449
  const t = J(null);
2432
2450
  return t.current === null && (t.current = e()), t.current;
2433
2451
  }
2434
- const el = typeof window < "u", zo = el ? Ts : Fn, Tt = /* @__PURE__ */ Be(null);
2452
+ const el = typeof window < "u", jo = el ? As : Fn, Tt = /* @__PURE__ */ Be(null);
2435
2453
  function Pn(e, t) {
2436
2454
  e.indexOf(t) === -1 && e.push(t);
2437
2455
  }
@@ -2446,20 +2464,20 @@ function Jt(e, t) {
2446
2464
  let ze = () => {
2447
2465
  }, ce = () => {
2448
2466
  };
2449
- var Eo;
2450
- typeof process < "u" && ((Eo = process.env) == null ? void 0 : Eo.NODE_ENV) !== "production" && (ze = (e, t, n) => {
2467
+ var Mo;
2468
+ typeof process < "u" && ((Mo = process.env) == null ? void 0 : Mo.NODE_ENV) !== "production" && (ze = (e, t, n) => {
2451
2469
  !e && typeof console < "u" && console.warn(Jt(t, n));
2452
2470
  }, ce = (e, t, n) => {
2453
2471
  if (!e)
2454
2472
  throw new Error(Jt(t, n));
2455
2473
  });
2456
- const he = {}, Oo = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
2457
- function jo(e) {
2474
+ const he = {}, Wo = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
2475
+ function Ho(e) {
2458
2476
  return typeof e == "object" && e !== null;
2459
2477
  }
2460
- const Wo = (e) => /^0[^.\s]+$/u.test(e);
2478
+ const No = (e) => /^0[^.\s]+$/u.test(e);
2461
2479
  // @__NO_SIDE_EFFECTS__
2462
- function Ho(e) {
2480
+ function _o(e) {
2463
2481
  let t;
2464
2482
  return () => (t === void 0 && (t = e()), t);
2465
2483
  }
@@ -2493,18 +2511,18 @@ class Mn {
2493
2511
  }
2494
2512
  }
2495
2513
  const G = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Q = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
2496
- function No(e, t) {
2514
+ function $o(e, t) {
2497
2515
  return t ? e * (1e3 / t) : 0;
2498
2516
  }
2499
- const li = /* @__PURE__ */ new Set();
2517
+ const di = /* @__PURE__ */ new Set();
2500
2518
  function Vn(e, t, n) {
2501
- e || li.has(t) || (console.warn(Jt(t, n)), li.add(t));
2519
+ e || di.has(t) || (console.warn(Jt(t, n)), di.add(t));
2502
2520
  }
2503
- const _o = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, nl = 1e-7, il = 12;
2521
+ const Uo = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, nl = 1e-7, il = 12;
2504
2522
  function ol(e, t, n, i, o) {
2505
2523
  let s, r, a = 0;
2506
2524
  do
2507
- r = t + (n - t) / 2, s = _o(r, i, o) - e, s > 0 ? n = r : t = r;
2525
+ r = t + (n - t) / 2, s = Uo(r, i, o) - e, s > 0 ? n = r : t = r;
2508
2526
  while (Math.abs(s) > nl && ++a < il);
2509
2527
  return r;
2510
2528
  }
@@ -2512,27 +2530,27 @@ function Qe(e, t, n, i) {
2512
2530
  if (e === t && n === i)
2513
2531
  return ee;
2514
2532
  const o = (s) => ol(s, 0, 1, e, n);
2515
- return (s) => s === 0 || s === 1 ? s : _o(o(s), t, i);
2533
+ return (s) => s === 0 || s === 1 ? s : Uo(o(s), t, i);
2516
2534
  }
2517
- const $o = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Uo = (e) => (t) => 1 - e(1 - t), Ko = /* @__PURE__ */ Qe(0.33, 1.53, 0.69, 0.99), Rn = /* @__PURE__ */ Uo(Ko), Go = /* @__PURE__ */ $o(Rn), Yo = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? 0.5 * Rn(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), Ln = (e) => 1 - Math.sin(Math.acos(e)), Xo = Uo(Ln), Zo = $o(Ln), rl = /* @__PURE__ */ Qe(0.42, 0, 1, 1), sl = /* @__PURE__ */ Qe(0, 0, 0.58, 1), qo = /* @__PURE__ */ Qe(0.42, 0, 0.58, 1), al = (e) => Array.isArray(e) && typeof e[0] != "number", Jo = (e) => Array.isArray(e) && typeof e[0] == "number", ci = {
2535
+ const Ko = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Go = (e) => (t) => 1 - e(1 - t), Yo = /* @__PURE__ */ Qe(0.33, 1.53, 0.69, 0.99), Rn = /* @__PURE__ */ Go(Yo), Xo = /* @__PURE__ */ Ko(Rn), Zo = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? 0.5 * Rn(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), Ln = (e) => 1 - Math.sin(Math.acos(e)), qo = Go(Ln), Jo = Ko(Ln), rl = /* @__PURE__ */ Qe(0.42, 0, 1, 1), sl = /* @__PURE__ */ Qe(0, 0, 0.58, 1), Qo = /* @__PURE__ */ Qe(0.42, 0, 0.58, 1), al = (e) => Array.isArray(e) && typeof e[0] != "number", er = (e) => Array.isArray(e) && typeof e[0] == "number", ui = {
2518
2536
  linear: ee,
2519
2537
  easeIn: rl,
2520
- easeInOut: qo,
2538
+ easeInOut: Qo,
2521
2539
  easeOut: sl,
2522
2540
  circIn: Ln,
2523
- circInOut: Zo,
2524
- circOut: Xo,
2541
+ circInOut: Jo,
2542
+ circOut: qo,
2525
2543
  backIn: Rn,
2526
- backInOut: Go,
2527
- backOut: Ko,
2528
- anticipate: Yo
2529
- }, ll = (e) => typeof e == "string", di = (e) => {
2530
- if (Jo(e)) {
2544
+ backInOut: Xo,
2545
+ backOut: Yo,
2546
+ anticipate: Zo
2547
+ }, ll = (e) => typeof e == "string", fi = (e) => {
2548
+ if (er(e)) {
2531
2549
  ce(e.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
2532
2550
  const [t, n, i, o] = e;
2533
2551
  return Qe(t, n, i, o);
2534
2552
  } else if (ll(e))
2535
- return ce(ci[e] !== void 0, `Invalid easing type '${e}'`, "invalid-easing-type"), ci[e];
2553
+ return ce(ui[e] !== void 0, `Invalid easing type '${e}'`, "invalid-easing-type"), ui[e];
2536
2554
  return e;
2537
2555
  }, it = [
2538
2556
  "setup",
@@ -2593,7 +2611,7 @@ function cl(e, t) {
2593
2611
  return d;
2594
2612
  }
2595
2613
  const dl = 40;
2596
- function Qo(e, t) {
2614
+ function tr(e, t) {
2597
2615
  let n = !1, i = !0;
2598
2616
  const o = {
2599
2617
  delta: 0,
@@ -2613,7 +2631,7 @@ function Qo(e, t) {
2613
2631
  r[it[F]].cancel(w);
2614
2632
  }, state: o, steps: r };
2615
2633
  }
2616
- const { schedule: L, cancel: pe, state: N, steps: It } = /* @__PURE__ */ Qo(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ee, !0);
2634
+ const { schedule: L, cancel: pe, state: N, steps: It } = /* @__PURE__ */ tr(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ee, !0);
2617
2635
  let lt;
2618
2636
  function ul() {
2619
2637
  lt = void 0;
@@ -2623,8 +2641,8 @@ const U = {
2623
2641
  set: (e) => {
2624
2642
  lt = e, queueMicrotask(ul);
2625
2643
  }
2626
- }, er = (e) => (t) => typeof t == "string" && t.startsWith(e), tr = /* @__PURE__ */ er("--"), fl = /* @__PURE__ */ er("var(--"), In = (e) => fl(e) ? hl.test(e.split("/*")[0].trim()) : !1, hl = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
2627
- function ui(e) {
2644
+ }, nr = (e) => (t) => typeof t == "string" && t.startsWith(e), ir = /* @__PURE__ */ nr("--"), fl = /* @__PURE__ */ nr("var(--"), In = (e) => fl(e) ? hl.test(e.split("/*")[0].trim()) : !1, hl = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
2645
+ function hi(e) {
2628
2646
  return typeof e != "string" ? !1 : e.split("/*")[0].includes("var(--");
2629
2647
  }
2630
2648
  const Oe = {
@@ -2641,7 +2659,7 @@ const Oe = {
2641
2659
  function pl(e) {
2642
2660
  return e == null;
2643
2661
  }
2644
- const ml = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, zn = (e, t) => (n) => !!(typeof n == "string" && ml.test(n) && n.startsWith(e) || t && !pl(n) && Object.prototype.hasOwnProperty.call(n, t)), nr = (e, t, n) => (i) => {
2662
+ const ml = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, zn = (e, t) => (n) => !!(typeof n == "string" && ml.test(n) && n.startsWith(e) || t && !pl(n) && Object.prototype.hasOwnProperty.call(n, t)), or = (e, t, n) => (i) => {
2645
2663
  if (typeof i != "string")
2646
2664
  return i;
2647
2665
  const [o, s, r, a] = i.match(Bn);
@@ -2656,7 +2674,7 @@ const ml = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
2656
2674
  transform: (e) => Math.round(gl(e))
2657
2675
  }, ve = {
2658
2676
  test: /* @__PURE__ */ zn("rgb", "red"),
2659
- parse: /* @__PURE__ */ nr("red", "green", "blue"),
2677
+ parse: /* @__PURE__ */ or("red", "green", "blue"),
2660
2678
  transform: ({ red: e, green: t, blue: n, alpha: i = 1 }) => "rgba(" + Bt.transform(e) + ", " + Bt.transform(t) + ", " + Bt.transform(n) + ", " + $e(Ye.transform(i)) + ")"
2661
2679
  };
2662
2680
  function yl(e) {
@@ -2676,13 +2694,13 @@ const Qt = {
2676
2694
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
2677
2695
  parse: parseFloat,
2678
2696
  transform: (t) => `${t}${e}`
2679
- }), de = /* @__PURE__ */ et("deg"), ae = /* @__PURE__ */ et("%"), D = /* @__PURE__ */ et("px"), bl = /* @__PURE__ */ et("vh"), xl = /* @__PURE__ */ et("vw"), fi = {
2697
+ }), de = /* @__PURE__ */ et("deg"), ae = /* @__PURE__ */ et("%"), D = /* @__PURE__ */ et("px"), bl = /* @__PURE__ */ et("vh"), xl = /* @__PURE__ */ et("vw"), pi = {
2680
2698
  ...ae,
2681
2699
  parse: (e) => ae.parse(e) / 100,
2682
2700
  transform: (e) => ae.transform(e * 100)
2683
2701
  }, De = {
2684
2702
  test: /* @__PURE__ */ zn("hsl", "hue"),
2685
- parse: /* @__PURE__ */ nr("hue", "saturation", "lightness"),
2703
+ parse: /* @__PURE__ */ or("hue", "saturation", "lightness"),
2686
2704
  transform: ({ hue: e, saturation: t, lightness: n, alpha: i = 1 }) => "hsla(" + Math.round(e) + ", " + ae.transform($e(t)) + ", " + ae.transform($e(n)) + ", " + $e(Ye.transform(i)) + ")"
2687
2705
  }, j = {
2688
2706
  test: (e) => ve.test(e) || Qt.test(e) || De.test(e),
@@ -2697,7 +2715,7 @@ function wl(e) {
2697
2715
  var t, n;
2698
2716
  return isNaN(e) && typeof e == "string" && (((t = e.match(Bn)) == null ? void 0 : t.length) || 0) + (((n = e.match(vl)) == null ? void 0 : n.length) || 0) > 0;
2699
2717
  }
2700
- const ir = "number", or = "color", Sl = "var", Cl = "var(", hi = "${}", Fl = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
2718
+ const rr = "number", sr = "color", Sl = "var", Cl = "var(", mi = "${}", Fl = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
2701
2719
  function Le(e) {
2702
2720
  const t = e.toString(), n = [], i = {
2703
2721
  color: [],
@@ -2705,31 +2723,31 @@ function Le(e) {
2705
2723
  var: []
2706
2724
  }, o = [];
2707
2725
  let s = 0;
2708
- const a = t.replace(Fl, (l) => (j.test(l) ? (i.color.push(s), o.push(or), n.push(j.parse(l))) : l.startsWith(Cl) ? (i.var.push(s), o.push(Sl), n.push(l)) : (i.number.push(s), o.push(ir), n.push(parseFloat(l))), ++s, hi)).split(hi);
2726
+ const a = t.replace(Fl, (l) => (j.test(l) ? (i.color.push(s), o.push(sr), n.push(j.parse(l))) : l.startsWith(Cl) ? (i.var.push(s), o.push(Sl), n.push(l)) : (i.number.push(s), o.push(rr), n.push(parseFloat(l))), ++s, mi)).split(mi);
2709
2727
  return { values: n, split: a, indexes: i, types: o };
2710
2728
  }
2711
2729
  function Tl(e) {
2712
2730
  return Le(e).values;
2713
2731
  }
2714
- function rr({ split: e, types: t }) {
2732
+ function ar({ split: e, types: t }) {
2715
2733
  const n = e.length;
2716
2734
  return (i) => {
2717
2735
  let o = "";
2718
2736
  for (let s = 0; s < n; s++)
2719
2737
  if (o += e[s], i[s] !== void 0) {
2720
2738
  const r = t[s];
2721
- r === ir ? o += $e(i[s]) : r === or ? o += j.transform(i[s]) : o += i[s];
2739
+ r === rr ? o += $e(i[s]) : r === sr ? o += j.transform(i[s]) : o += i[s];
2722
2740
  }
2723
2741
  return o;
2724
2742
  };
2725
2743
  }
2726
2744
  function kl(e) {
2727
- return rr(Le(e));
2745
+ return ar(Le(e));
2728
2746
  }
2729
2747
  const Al = (e) => typeof e == "number" ? 0 : j.test(e) ? j.getAnimatableNone(e) : e, Dl = (e, t) => typeof e == "number" ? t != null && t.trim().endsWith("/") ? e : 0 : Al(e);
2730
2748
  function El(e) {
2731
2749
  const t = Le(e);
2732
- return rr(t)(t.values.map((i, o) => Dl(i, t.split[o])));
2750
+ return ar(t)(t.values.map((i, o) => Dl(i, t.split[o])));
2733
2751
  }
2734
2752
  const ie = {
2735
2753
  test: wl,
@@ -2763,15 +2781,15 @@ const I = (e, t, n) => e + (t - e) * n, Ot = (e, t, n) => {
2763
2781
  const i = e * e, o = n * (t * t - i) + i;
2764
2782
  return o < 0 ? 0 : Math.sqrt(o);
2765
2783
  }, Ml = [Qt, ve, De], Vl = (e) => Ml.find((t) => t.test(e));
2766
- function pi(e) {
2784
+ function gi(e) {
2767
2785
  const t = Vl(e);
2768
2786
  if (ze(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t)
2769
2787
  return !1;
2770
2788
  let n = t.parse(e);
2771
2789
  return t === De && (n = Pl(n)), n;
2772
2790
  }
2773
- const mi = (e, t) => {
2774
- const n = pi(e), i = pi(t);
2791
+ const yi = (e, t) => {
2792
+ const n = gi(e), i = gi(t);
2775
2793
  if (!n || !i)
2776
2794
  return yt(e, t);
2777
2795
  const o = { ...n };
@@ -2784,9 +2802,9 @@ function Ll(e, t) {
2784
2802
  return (n) => I(e, t, n);
2785
2803
  }
2786
2804
  function On(e) {
2787
- return typeof e == "number" ? Ll : typeof e == "string" ? In(e) ? yt : j.test(e) ? mi : zl : Array.isArray(e) ? sr : typeof e == "object" ? j.test(e) ? mi : Il : yt;
2805
+ return typeof e == "number" ? Ll : typeof e == "string" ? In(e) ? yt : j.test(e) ? yi : zl : Array.isArray(e) ? lr : typeof e == "object" ? j.test(e) ? yi : Il : yt;
2788
2806
  }
2789
- function sr(e, t) {
2807
+ function lr(e, t) {
2790
2808
  const n = [...e], i = n.length, o = e.map((s, r) => On(s)(s, t[r]));
2791
2809
  return (s) => {
2792
2810
  for (let r = 0; r < i; r++)
@@ -2814,9 +2832,9 @@ function Bl(e, t) {
2814
2832
  }
2815
2833
  const zl = (e, t) => {
2816
2834
  const n = ie.createTransformer(t), i = Le(e), o = Le(t);
2817
- return i.indexes.var.length === o.indexes.var.length && i.indexes.color.length === o.indexes.color.length && i.indexes.number.length >= o.indexes.number.length ? en.has(e) && !o.values.length || en.has(t) && !i.values.length ? Rl(e, t) : Je(sr(Bl(i, o), o.values), n) : (ze(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), yt(e, t));
2835
+ return i.indexes.var.length === o.indexes.var.length && i.indexes.color.length === o.indexes.color.length && i.indexes.number.length >= o.indexes.number.length ? en.has(e) && !o.values.length || en.has(t) && !i.values.length ? Rl(e, t) : Je(lr(Bl(i, o), o.values), n) : (ze(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), yt(e, t));
2818
2836
  };
2819
- function ar(e, t, n) {
2837
+ function cr(e, t, n) {
2820
2838
  return typeof e == "number" && typeof t == "number" && typeof n == "number" ? I(e, t, n) : On(e)(e, t);
2821
2839
  }
2822
2840
  const Ol = (e) => {
@@ -2830,7 +2848,7 @@ const Ol = (e) => {
2830
2848
  */
2831
2849
  now: () => N.isProcessing ? N.timestamp : U.now()
2832
2850
  };
2833
- }, lr = (e, t, n = 10) => {
2851
+ }, dr = (e, t, n = 10) => {
2834
2852
  let i = "";
2835
2853
  const o = Math.max(Math.round(t / n), 2);
2836
2854
  for (let s = 0; s < o; s++)
@@ -2927,7 +2945,7 @@ function Nl({ duration: e = B.duration, bounce: t = B.bounce, velocity: n = B.ve
2927
2945
  }
2928
2946
  }
2929
2947
  const _l = ["duration", "bounce"], $l = ["stiffness", "damping", "mass"];
2930
- function gi(e, t) {
2948
+ function bi(e, t) {
2931
2949
  return t.some((n) => e[n] !== void 0);
2932
2950
  }
2933
2951
  function Ul(e) {
@@ -2939,7 +2957,7 @@ function Ul(e) {
2939
2957
  isResolvedFromDuration: !1,
2940
2958
  ...e
2941
2959
  };
2942
- if (!gi(e, $l) && gi(e, _l))
2960
+ if (!bi(e, $l) && bi(e, _l))
2943
2961
  if (t.velocity = 0, e.visualDuration) {
2944
2962
  const n = e.visualDuration, i = 2 * Math.PI / (n * 1.2), o = i * i, s = 2 * le(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(o);
2945
2963
  t = {
@@ -3010,7 +3028,7 @@ function xt(e = B.visualDuration, t = B.bounce) {
3010
3028
  return a.value = a.done ? r : M, a;
3011
3029
  },
3012
3030
  toString: () => {
3013
- const k = Math.min(jn(T), bt), M = lr((R) => T.next(k * R).value, k, 30);
3031
+ const k = Math.min(jn(T), bt), M = dr((R) => T.next(k * R).value, k, 30);
3014
3032
  return k + "ms " + M;
3015
3033
  },
3016
3034
  toTransition: () => {
@@ -3023,9 +3041,9 @@ xt.applyToOptions = (e) => {
3023
3041
  return e.ease = t.ease, e.duration = /* @__PURE__ */ G(t.duration), e.type = "keyframes", e;
3024
3042
  };
3025
3043
  const Kl = 5;
3026
- function cr(e, t, n) {
3044
+ function ur(e, t, n) {
3027
3045
  const i = Math.max(t - Kl, 0);
3028
- return No(n - e(i), t - i);
3046
+ return $o(n - e(i), t - i);
3029
3047
  }
3030
3048
  function nn({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: i = 325, bounceDamping: o = 10, bounceStiffness: s = 500, modifyTarget: r, min: a, max: l, restDelta: d = 0.5, restSpeed: c }) {
3031
3049
  const u = e[0], h = {
@@ -3043,7 +3061,7 @@ function nn({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: i = 3
3043
3061
  const V = (E) => {
3044
3062
  p(h.value) && (C = E, A = xt({
3045
3063
  keyframes: [h.value, g(h.value)],
3046
- velocity: cr(w, E, h.value),
3064
+ velocity: ur(w, E, h.value),
3047
3065
  // TODO: This should be passing * 1000
3048
3066
  damping: o,
3049
3067
  stiffness: s,
@@ -3060,7 +3078,7 @@ function nn({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: i = 3
3060
3078
  };
3061
3079
  }
3062
3080
  function Gl(e, t, n) {
3063
- const i = [], o = n || he.mix || ar, s = e.length - 1;
3081
+ const i = [], o = n || he.mix || cr, s = e.length - 1;
3064
3082
  for (let r = 0; r < s; r++) {
3065
3083
  let a = o(e[r], e[r + 1]);
3066
3084
  if (t) {
@@ -3106,10 +3124,10 @@ function ql(e, t) {
3106
3124
  return e.map((n) => n * t);
3107
3125
  }
3108
3126
  function Jl(e, t) {
3109
- return e.map(() => t || qo).splice(0, e.length - 1);
3127
+ return e.map(() => t || Qo).splice(0, e.length - 1);
3110
3128
  }
3111
3129
  function Ee({ duration: e = 300, keyframes: t, times: n, ease: i = "easeInOut" }) {
3112
- const o = al(i) ? i.map(di) : di(i), s = {
3130
+ const o = al(i) ? i.map(fi) : fi(i), s = {
3113
3131
  done: !1,
3114
3132
  value: t[0]
3115
3133
  }, r = ql(
@@ -3137,7 +3155,7 @@ const ec = {
3137
3155
  keyframes: Ee,
3138
3156
  spring: xt
3139
3157
  };
3140
- function dr(e) {
3158
+ function fr(e) {
3141
3159
  typeof e.type == "string" && (e.type = ec[e.type]);
3142
3160
  }
3143
3161
  class Wn {
@@ -3178,11 +3196,11 @@ class vt extends Wn {
3178
3196
  }
3179
3197
  initAnimation() {
3180
3198
  const { options: t } = this;
3181
- dr(t);
3199
+ fr(t);
3182
3200
  const { type: n = Ee, repeat: i = 0, repeatDelay: o = 0, repeatType: s, velocity: r = 0 } = t;
3183
3201
  let { keyframes: a } = t;
3184
3202
  const l = n || Ee;
3185
- process.env.NODE_ENV !== "production" && l !== Ee && ce(a.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`, "spring-two-frames"), l !== Ee && typeof a[0] != "number" && (this.mixKeyframes = Je(tc, ar(a[0], a[1])), a = [0, 100]);
3203
+ process.env.NODE_ENV !== "production" && l !== Ee && ce(a.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`, "spring-two-frames"), l !== Ee && typeof a[0] != "number" && (this.mixKeyframes = Je(tc, cr(a[0], a[1])), a = [0, 100]);
3186
3204
  const d = l({ ...t, keyframes: a });
3187
3205
  s === "mirror" && (this.mirroredGenerator = l({
3188
3206
  ...t,
@@ -3250,7 +3268,7 @@ class vt extends Wn {
3250
3268
  if (this.generator.velocity)
3251
3269
  return this.generator.velocity(t);
3252
3270
  const n = this.generator.next(t).value;
3253
- return cr((i) => this.generator.next(i).value, t, n);
3271
+ return ur((i) => this.generator.next(i).value, t, n);
3254
3272
  }
3255
3273
  get speed() {
3256
3274
  return this.playbackSpeed;
@@ -3316,20 +3334,20 @@ const we = (e) => e * 180 / Math.PI, on = (e) => {
3316
3334
  skewX: (e) => we(Math.atan(e[1])),
3317
3335
  skewY: (e) => we(Math.atan(e[2])),
3318
3336
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
3319
- }, rn = (e) => (e = e % 360, e < 0 && (e += 360), e), yi = on, bi = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), xi = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), oc = {
3337
+ }, rn = (e) => (e = e % 360, e < 0 && (e += 360), e), xi = on, vi = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), wi = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), oc = {
3320
3338
  x: 12,
3321
3339
  y: 13,
3322
3340
  z: 14,
3323
3341
  translateX: 12,
3324
3342
  translateY: 13,
3325
3343
  translateZ: 14,
3326
- scaleX: bi,
3327
- scaleY: xi,
3328
- scale: (e) => (bi(e) + xi(e)) / 2,
3344
+ scaleX: vi,
3345
+ scaleY: wi,
3346
+ scale: (e) => (vi(e) + wi(e)) / 2,
3329
3347
  rotateX: (e) => rn(we(Math.atan2(e[6], e[5]))),
3330
3348
  rotateY: (e) => rn(we(Math.atan2(-e[2], e[0]))),
3331
- rotateZ: yi,
3332
- rotate: yi,
3349
+ rotateZ: xi,
3350
+ rotate: xi,
3333
3351
  skewX: (e) => we(Math.atan(e[4])),
3334
3352
  skewY: (e) => we(Math.atan(e[1])),
3335
3353
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
@@ -3378,7 +3396,7 @@ const je = [
3378
3396
  "skew",
3379
3397
  "skewX",
3380
3398
  "skewY"
3381
- ], We = new Set(je), vi = (e) => e === Oe || e === D, ac = /* @__PURE__ */ new Set(["x", "y", "z"]), lc = je.filter((e) => !ac.has(e));
3399
+ ], We = new Set(je), Si = (e) => e === Oe || e === D, ac = /* @__PURE__ */ new Set(["x", "y", "z"]), lc = je.filter((e) => !ac.has(e));
3382
3400
  function cc(e) {
3383
3401
  const t = [];
3384
3402
  return lc.forEach((n) => {
@@ -3408,7 +3426,7 @@ fe.translateX = fe.x;
3408
3426
  fe.translateY = fe.y;
3409
3427
  const Se = /* @__PURE__ */ new Set();
3410
3428
  let ln = !1, cn = !1, dn = !1;
3411
- function ur() {
3429
+ function hr() {
3412
3430
  if (cn) {
3413
3431
  const e = Array.from(Se).filter((i) => i.needsMeasurement), t = new Set(e.map((i) => i.element)), n = /* @__PURE__ */ new Map();
3414
3432
  t.forEach((i) => {
@@ -3427,20 +3445,20 @@ function ur() {
3427
3445
  }
3428
3446
  cn = !1, ln = !1, Se.forEach((e) => e.complete(dn)), Se.clear();
3429
3447
  }
3430
- function fr() {
3448
+ function pr() {
3431
3449
  Se.forEach((e) => {
3432
3450
  e.readKeyframes(), e.needsMeasurement && (cn = !0);
3433
3451
  });
3434
3452
  }
3435
3453
  function dc() {
3436
- dn = !0, fr(), ur(), dn = !1;
3454
+ dn = !0, pr(), hr(), dn = !1;
3437
3455
  }
3438
3456
  class Hn {
3439
3457
  constructor(t, n, i, o, s, r = !1) {
3440
3458
  this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...t], this.onComplete = n, this.name = i, this.motionValue = o, this.element = s, this.isAsync = r;
3441
3459
  }
3442
3460
  scheduleResolve() {
3443
- this.state = "scheduled", this.isAsync ? (Se.add(this), ln || (ln = !0, L.read(fr), L.resolveKeyframes(ur))) : (this.readKeyframes(), this.complete());
3461
+ this.state = "scheduled", this.isAsync ? (Se.add(this), ln || (ln = !0, L.read(pr), L.resolveKeyframes(hr))) : (this.readKeyframes(), this.complete());
3444
3462
  }
3445
3463
  readKeyframes() {
3446
3464
  const { unresolvedKeyframes: t, name: n, element: i, motionValue: o } = this;
@@ -3475,22 +3493,22 @@ class Hn {
3475
3493
  }
3476
3494
  }
3477
3495
  const uc = (e) => e.startsWith("--");
3478
- function hr(e, t, n) {
3496
+ function mr(e, t, n) {
3479
3497
  uc(t) ? e.style.setProperty(t, n) : e.style[t] = n;
3480
3498
  }
3481
3499
  const fc = {};
3482
- function pr(e, t) {
3483
- const n = /* @__PURE__ */ Ho(e);
3500
+ function gr(e, t) {
3501
+ const n = /* @__PURE__ */ _o(e);
3484
3502
  return () => fc[t] ?? n();
3485
3503
  }
3486
- const hc = /* @__PURE__ */ pr(() => window.ScrollTimeline !== void 0, "scrollTimeline"), mr = /* @__PURE__ */ pr(() => {
3504
+ const hc = /* @__PURE__ */ gr(() => window.ScrollTimeline !== void 0, "scrollTimeline"), yr = /* @__PURE__ */ gr(() => {
3487
3505
  try {
3488
3506
  document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
3489
3507
  } catch {
3490
3508
  return !1;
3491
3509
  }
3492
3510
  return !0;
3493
- }, "linearEasing"), _e = ([e, t, n, i]) => `cubic-bezier(${e}, ${t}, ${n}, ${i})`, wi = {
3511
+ }, "linearEasing"), _e = ([e, t, n, i]) => `cubic-bezier(${e}, ${t}, ${n}, ${i})`, Ci = {
3494
3512
  linear: "linear",
3495
3513
  ease: "ease",
3496
3514
  easeIn: "ease-in",
@@ -3501,16 +3519,16 @@ const hc = /* @__PURE__ */ pr(() => window.ScrollTimeline !== void 0, "scrollTim
3501
3519
  backIn: /* @__PURE__ */ _e([0.31, 0.01, 0.66, -0.59]),
3502
3520
  backOut: /* @__PURE__ */ _e([0.33, 1.53, 0.69, 0.99])
3503
3521
  };
3504
- function gr(e, t) {
3522
+ function br(e, t) {
3505
3523
  if (e)
3506
- return typeof e == "function" ? mr() ? lr(e, t) : "ease-out" : Jo(e) ? _e(e) : Array.isArray(e) ? e.map((n) => gr(n, t) || wi.easeOut) : wi[e];
3524
+ return typeof e == "function" ? yr() ? dr(e, t) : "ease-out" : er(e) ? _e(e) : Array.isArray(e) ? e.map((n) => br(n, t) || Ci.easeOut) : Ci[e];
3507
3525
  }
3508
3526
  function pc(e, t, n, { delay: i = 0, duration: o = 300, repeat: s = 0, repeatType: r = "loop", ease: a = "easeOut", times: l } = {}, d = void 0) {
3509
3527
  const c = {
3510
3528
  [t]: n
3511
3529
  };
3512
3530
  l && (c.offset = l);
3513
- const u = gr(a, o);
3531
+ const u = br(a, o);
3514
3532
  Array.isArray(u) && (c.easing = u);
3515
3533
  const h = {
3516
3534
  delay: i,
@@ -3522,13 +3540,13 @@ function pc(e, t, n, { delay: i = 0, duration: o = 300, repeat: s = 0, repeatTyp
3522
3540
  };
3523
3541
  return d && (h.pseudoElement = d), e.animate(c, h);
3524
3542
  }
3525
- function yr(e) {
3543
+ function xr(e) {
3526
3544
  return typeof e == "function" && "applyToOptions" in e;
3527
3545
  }
3528
3546
  function mc({ type: e, ...t }) {
3529
- return yr(e) && mr() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
3547
+ return xr(e) && yr() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
3530
3548
  }
3531
- class br extends Wn {
3549
+ class vr extends Wn {
3532
3550
  constructor(t) {
3533
3551
  if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !t)
3534
3552
  return;
@@ -3538,7 +3556,7 @@ class br extends Wn {
3538
3556
  this.animation = pc(n, i, o, d, s), d.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
3539
3557
  if (this.finishedTime = this.time, !s) {
3540
3558
  const c = kt(o, this.options, a, this.speed);
3541
- this.updateMotionValue && this.updateMotionValue(c), hr(n, i, c), this.animation.cancel();
3559
+ this.updateMotionValue && this.updateMotionValue(c), mr(n, i, c), this.animation.cancel();
3542
3560
  }
3543
3561
  l == null || l(), this.notifyFinished();
3544
3562
  };
@@ -3626,21 +3644,21 @@ class br extends Wn {
3626
3644
  return this.allowFlatten && ((s = this.animation.effect) == null || s.updateTiming({ easing: "linear" })), this.animation.onfinish = null, t && hc() ? (this.animation.timeline = t, n && (this.animation.rangeStart = n), i && (this.animation.rangeEnd = i), ee) : o(this);
3627
3645
  }
3628
3646
  }
3629
- const xr = {
3630
- anticipate: Yo,
3631
- backInOut: Go,
3632
- circInOut: Zo
3647
+ const wr = {
3648
+ anticipate: Zo,
3649
+ backInOut: Xo,
3650
+ circInOut: Jo
3633
3651
  };
3634
3652
  function gc(e) {
3635
- return e in xr;
3653
+ return e in wr;
3636
3654
  }
3637
3655
  function yc(e) {
3638
- typeof e.ease == "string" && gc(e.ease) && (e.ease = xr[e.ease]);
3656
+ typeof e.ease == "string" && gc(e.ease) && (e.ease = wr[e.ease]);
3639
3657
  }
3640
3658
  const Wt = 10;
3641
- class bc extends br {
3659
+ class bc extends vr {
3642
3660
  constructor(t) {
3643
- yc(t), dr(t), super(t), t.startTime !== void 0 && t.autoplay !== !1 && (this.startTime = t.startTime), this.options = t;
3661
+ yc(t), fr(t), super(t), t.startTime !== void 0 && t.autoplay !== !1 && (this.startTime = t.startTime), this.options = t;
3644
3662
  }
3645
3663
  /**
3646
3664
  * WAAPI doesn't natively have any interruption capabilities.
@@ -3662,10 +3680,10 @@ class bc extends br {
3662
3680
  ...r,
3663
3681
  autoplay: !1
3664
3682
  }), l = Math.max(Wt, U.now() - this.startTime), d = le(0, Wt, l - Wt), c = a.sample(l).value, { name: u } = this.options;
3665
- s && u && hr(s, u, c), n.setWithVelocity(a.sample(Math.max(0, l - d)).value, c, d), a.stop();
3683
+ s && u && mr(s, u, c), n.setWithVelocity(a.sample(Math.max(0, l - d)).value, c, d), a.stop();
3666
3684
  }
3667
3685
  }
3668
- const Si = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
3686
+ const Fi = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
3669
3687
  (ie.test(e) || e === "0") && // And it contains numbers and/or colors
3670
3688
  !e.startsWith("url("));
3671
3689
  function xc(e) {
@@ -3682,13 +3700,13 @@ function vc(e, t, n, i) {
3682
3700
  return !1;
3683
3701
  if (t === "display" || t === "visibility")
3684
3702
  return !0;
3685
- const s = e[e.length - 1], r = Si(o, t), a = Si(s, t);
3686
- return ze(r === a, `You are trying to animate ${t} from "${o}" to "${s}". "${r ? s : o}" is not an animatable value.`, "value-not-animatable"), !r || !a ? !1 : xc(e) || (n === "spring" || yr(n)) && i;
3703
+ const s = e[e.length - 1], r = Fi(o, t), a = Fi(s, t);
3704
+ return ze(r === a, `You are trying to animate ${t} from "${o}" to "${s}". "${r ? s : o}" is not an animatable value.`, "value-not-animatable"), !r || !a ? !1 : xc(e) || (n === "spring" || xr(n)) && i;
3687
3705
  }
3688
3706
  function un(e) {
3689
3707
  e.duration = 0, e.type = "keyframes";
3690
3708
  }
3691
- const vr = /* @__PURE__ */ new Set([
3709
+ const Sr = /* @__PURE__ */ new Set([
3692
3710
  "opacity",
3693
3711
  "clipPath",
3694
3712
  "filter",
@@ -3714,7 +3732,7 @@ const Cc = /* @__PURE__ */ new Set([
3714
3732
  "borderRightColor",
3715
3733
  "borderBottomColor",
3716
3734
  "borderLeftColor"
3717
- ]), Fc = /* @__PURE__ */ Ho(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
3735
+ ]), Fc = /* @__PURE__ */ _o(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
3718
3736
  function Tc(e) {
3719
3737
  var u;
3720
3738
  const { motionValue: t, name: n, repeatDelay: i, repeatType: o, damping: s, type: r, keyframes: a } = e;
@@ -3725,7 +3743,7 @@ function Tc(e) {
3725
3743
  * Force WAAPI for color properties with browser-only color formats
3726
3744
  * (oklch, oklab, lab, lch, etc.) that the JS animation path can't parse.
3727
3745
  */
3728
- (vr.has(n) || Cc.has(n) && Sc(a)) && (n !== "transform" || !c) && /**
3746
+ (Sr.has(n) || Cc.has(n) && Sc(a)) && (n !== "transform" || !c) && /**
3729
3747
  * If we're outputting values to onUpdate then we can't use WAAPI as there's
3730
3748
  * no way to read the value from WAAPI every frame.
3731
3749
  */
@@ -3834,7 +3852,7 @@ class Ac extends Wn {
3834
3852
  this._animation && this.animation.cancel(), (t = this.keyframeResolver) == null || t.cancel();
3835
3853
  }
3836
3854
  }
3837
- function wr(e, t, n, i = 0, o = 1) {
3855
+ function Cr(e, t, n, i = 0, o = 1) {
3838
3856
  const s = Array.from(e).sort((d, c) => d.sortNodePosition(c)).indexOf(t), r = e.size, a = (r - 1) * i;
3839
3857
  return typeof n == "function" ? n(s, r) : o === 1 ? s * i : a - s * i;
3840
3858
  }
@@ -3850,7 +3868,7 @@ function Ec(e) {
3850
3868
  return [`--${n ?? i}`, o];
3851
3869
  }
3852
3870
  const Pc = 4;
3853
- function Sr(e, t, n = 1) {
3871
+ function Fr(e, t, n = 1) {
3854
3872
  ce(n <= Pc, `Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`, "max-css-var-depth");
3855
3873
  const [i, o] = Ec(e);
3856
3874
  if (!i)
@@ -3858,9 +3876,9 @@ function Sr(e, t, n = 1) {
3858
3876
  const s = window.getComputedStyle(t).getPropertyValue(i);
3859
3877
  if (s) {
3860
3878
  const r = s.trim();
3861
- return Oo(r) ? parseFloat(r) : r;
3879
+ return Wo(r) ? parseFloat(r) : r;
3862
3880
  }
3863
- return In(o) ? Sr(o, t, n + 1) : o;
3881
+ return In(o) ? Fr(o, t, n + 1) : o;
3864
3882
  }
3865
3883
  const Mc = {
3866
3884
  type: "spring",
@@ -3880,7 +3898,7 @@ const Mc = {
3880
3898
  ease: [0.25, 0.1, 0.35, 1],
3881
3899
  duration: 0.3
3882
3900
  }, Ic = (e, { keyframes: t }) => t.length > 2 ? Rc : We.has(e) ? e.startsWith("scale") ? Vc(t[1]) : Mc : Lc;
3883
- function Cr(e, t) {
3901
+ function Tr(e, t) {
3884
3902
  if (e != null && e.inherit && t) {
3885
3903
  const { inherit: n, ...i } = e;
3886
3904
  return { ...t, ...i };
@@ -3889,7 +3907,7 @@ function Cr(e, t) {
3889
3907
  }
3890
3908
  function Nn(e, t) {
3891
3909
  const n = (e == null ? void 0 : e[t]) ?? (e == null ? void 0 : e.default) ?? e;
3892
- return n !== e ? Cr(n, e) : n;
3910
+ return n !== e ? Tr(n, e) : n;
3893
3911
  }
3894
3912
  const Bc = /* @__PURE__ */ new Set([
3895
3913
  "when",
@@ -3942,7 +3960,7 @@ const _n = (e, t, n, i = {}, o, s) => (r) => {
3942
3960
  }
3943
3961
  return a.isSync ? new vt(c) : new Ac(c);
3944
3962
  };
3945
- function Ci(e) {
3963
+ function Ti(e) {
3946
3964
  const t = [{}, {}];
3947
3965
  return e == null || e.values.forEach((n, i) => {
3948
3966
  t[0][i] = n.get(), t[1][i] = n.getVelocity();
@@ -3950,11 +3968,11 @@ function Ci(e) {
3950
3968
  }
3951
3969
  function $n(e, t, n, i) {
3952
3970
  if (typeof t == "function") {
3953
- const [o, s] = Ci(i);
3971
+ const [o, s] = Ti(i);
3954
3972
  t = t(n !== void 0 ? n : e.custom, o, s);
3955
3973
  }
3956
3974
  if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
3957
- const [o, s] = Ci(i);
3975
+ const [o, s] = Ti(i);
3958
3976
  t = t(n !== void 0 ? n : e.custom, o, s);
3959
3977
  }
3960
3978
  return t;
@@ -3963,7 +3981,7 @@ function Ce(e, t, n) {
3963
3981
  const i = e.getProps();
3964
3982
  return $n(i, t, n !== void 0 ? n : i.custom, e);
3965
3983
  }
3966
- const Fr = /* @__PURE__ */ new Set([
3984
+ const kr = /* @__PURE__ */ new Set([
3967
3985
  "width",
3968
3986
  "height",
3969
3987
  "top",
@@ -3971,7 +3989,7 @@ const Fr = /* @__PURE__ */ new Set([
3971
3989
  "right",
3972
3990
  "bottom",
3973
3991
  ...je
3974
- ]), Fi = 30, Oc = (e) => !isNaN(parseFloat(e));
3992
+ ]), ki = 30, Oc = (e) => !isNaN(parseFloat(e));
3975
3993
  class jc {
3976
3994
  /**
3977
3995
  * @param init - The initiating value
@@ -4119,10 +4137,10 @@ class jc {
4119
4137
  */
4120
4138
  getVelocity() {
4121
4139
  const t = U.now();
4122
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > Fi)
4140
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > ki)
4123
4141
  return 0;
4124
- const n = Math.min(this.updatedAt - this.prevUpdatedAt, Fi);
4125
- return No(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
4142
+ const n = Math.min(this.updatedAt - this.prevUpdatedAt, ki);
4143
+ return $o(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
4126
4144
  }
4127
4145
  /**
4128
4146
  * Registers a new animation to control this `MotionValue`. Only one
@@ -4209,18 +4227,18 @@ function hn(e, t) {
4209
4227
  function Un(e) {
4210
4228
  return e.replace(/([A-Z])/g, (t) => `-${t.toLowerCase()}`);
4211
4229
  }
4212
- const $c = "framerAppearId", Tr = "data-" + Un($c);
4213
- function kr(e) {
4214
- return e.props[Tr];
4230
+ const $c = "framerAppearId", Ar = "data-" + Un($c);
4231
+ function Dr(e) {
4232
+ return e.props[Ar];
4215
4233
  }
4216
4234
  function Uc({ protectedKeys: e, needsAnimating: t }, n) {
4217
4235
  const i = e.hasOwnProperty(n) && t[n] !== !0;
4218
4236
  return t[n] = !1, i;
4219
4237
  }
4220
- function Ar(e, t, { delay: n = 0, transitionOverride: i, type: o } = {}) {
4238
+ function Er(e, t, { delay: n = 0, transitionOverride: i, type: o } = {}) {
4221
4239
  let { transition: s, transitionEnd: r, ...a } = t;
4222
4240
  const l = e.getDefaultTransition();
4223
- s = s ? Cr(s, l) : l;
4241
+ s = s ? Tr(s, l) : l;
4224
4242
  const d = s == null ? void 0 : s.reduceMotion;
4225
4243
  i && (s = i);
4226
4244
  const c = [], u = o && e.animationState && e.animationState.getState()[o];
@@ -4238,7 +4256,7 @@ function Ar(e, t, { delay: n = 0, transitionOverride: i, type: o } = {}) {
4238
4256
  }
4239
4257
  let x = !1;
4240
4258
  if (window.MotionHandoffAnimation) {
4241
- const F = kr(e);
4259
+ const F = Dr(e);
4242
4260
  if (F) {
4243
4261
  const C = window.MotionHandoffAnimation(F, h, L);
4244
4262
  C !== null && (y.startTime = C, x = !0);
@@ -4246,7 +4264,7 @@ function Ar(e, t, { delay: n = 0, transitionOverride: i, type: o } = {}) {
4246
4264
  }
4247
4265
  hn(e, h);
4248
4266
  const v = d ?? e.shouldReduceMotion;
4249
- p.start(_n(h, p, g, v && Fr.has(h) ? { type: !1 } : y, e, x));
4267
+ p.start(_n(h, p, g, v && kr.has(h) ? { type: !1 } : y, e, x));
4250
4268
  const w = p.animation;
4251
4269
  w && c.push(w);
4252
4270
  }
@@ -4263,7 +4281,7 @@ function pn(e, t, n = {}) {
4263
4281
  const i = Ce(e, t, n.type === "exit" ? (l = e.presenceContext) == null ? void 0 : l.custom : void 0);
4264
4282
  let { transition: o = e.getDefaultTransition() || {} } = i || {};
4265
4283
  n.transitionOverride && (o = n.transitionOverride);
4266
- const s = i ? () => Promise.all(Ar(e, i, n)) : () => Promise.resolve(), r = e.variantChildren && e.variantChildren.size ? (d = 0) => {
4284
+ const s = i ? () => Promise.all(Er(e, i, n)) : () => Promise.resolve(), r = e.variantChildren && e.variantChildren.size ? (d = 0) => {
4267
4285
  const { delayChildren: c = 0, staggerChildren: u, staggerDirection: h } = o;
4268
4286
  return Kc(e, t, d, c, u, h, n);
4269
4287
  } : () => Promise.resolve(), { when: a } = o;
@@ -4278,7 +4296,7 @@ function Kc(e, t, n = 0, i = 0, o = 0, s = 1, r) {
4278
4296
  for (const l of e.variantChildren)
4279
4297
  l.notify("AnimationStart", t), a.push(pn(l, t, {
4280
4298
  ...r,
4281
- delay: n + (typeof i == "function" ? 0 : i) + wr(e.variantChildren, l, i, o, s)
4299
+ delay: n + (typeof i == "function" ? 0 : i) + Cr(e.variantChildren, l, i, o, s)
4282
4300
  }).then(() => l.notify("AnimationComplete", t)));
4283
4301
  return Promise.all(a);
4284
4302
  }
@@ -4292,7 +4310,7 @@ function Gc(e, t, n = {}) {
4292
4310
  i = pn(e, t, n);
4293
4311
  else {
4294
4312
  const o = typeof t == "function" ? Ce(e, t, n.custom) : t;
4295
- i = Promise.all(Ar(e, o, n));
4313
+ i = Promise.all(Er(e, o, n));
4296
4314
  }
4297
4315
  return i.then(() => {
4298
4316
  e.notify("AnimationComplete", t);
@@ -4301,9 +4319,9 @@ function Gc(e, t, n = {}) {
4301
4319
  const Yc = {
4302
4320
  test: (e) => e === "auto",
4303
4321
  parse: (e) => e
4304
- }, Dr = (e) => (t) => t.test(e), Er = [Oe, D, ae, de, xl, bl, Yc], Ti = (e) => Er.find(Dr(e));
4322
+ }, Pr = (e) => (t) => t.test(e), Mr = [Oe, D, ae, de, xl, bl, Yc], Ai = (e) => Mr.find(Pr(e));
4305
4323
  function Xc(e) {
4306
- return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || Wo(e) : !0;
4324
+ return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || No(e) : !0;
4307
4325
  }
4308
4326
  const Zc = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
4309
4327
  function qc(e) {
@@ -4329,7 +4347,7 @@ const Jc = /\b([a-z-]*)\(.*?\)/gu, mn = {
4329
4347
  const t = ie.parse(e);
4330
4348
  return ie.createTransformer(e)(t.map((i) => typeof i == "number" ? 0 : typeof i == "object" ? { ...i, alpha: 1 } : i));
4331
4349
  }
4332
- }, ki = {
4350
+ }, Di = {
4333
4351
  ...Oe,
4334
4352
  transform: Math.round
4335
4353
  }, Qc = {
@@ -4354,8 +4372,8 @@ const Jc = /\b([a-z-]*)\(.*?\)/gu, mn = {
4354
4372
  perspective: D,
4355
4373
  transformPerspective: D,
4356
4374
  opacity: Ye,
4357
- originX: fi,
4358
- originY: fi,
4375
+ originX: pi,
4376
+ originY: pi,
4359
4377
  originZ: D
4360
4378
  }, Kn = {
4361
4379
  // Border props
@@ -4414,11 +4432,11 @@ const Jc = /\b([a-z-]*)\(.*?\)/gu, mn = {
4414
4432
  backgroundPositionX: D,
4415
4433
  backgroundPositionY: D,
4416
4434
  ...Qc,
4417
- zIndex: ki,
4435
+ zIndex: Di,
4418
4436
  // SVG
4419
4437
  fillOpacity: Ye,
4420
4438
  strokeOpacity: Ye,
4421
- numOctaves: ki
4439
+ numOctaves: Di
4422
4440
  }, ed = {
4423
4441
  ...Kn,
4424
4442
  // Color props
@@ -4437,9 +4455,9 @@ const Jc = /\b([a-z-]*)\(.*?\)/gu, mn = {
4437
4455
  WebkitFilter: mn,
4438
4456
  mask: gn,
4439
4457
  WebkitMask: gn
4440
- }, Pr = (e) => ed[e], td = /* @__PURE__ */ new Set([mn, gn]);
4441
- function Mr(e, t) {
4442
- let n = Pr(e);
4458
+ }, Vr = (e) => ed[e], td = /* @__PURE__ */ new Set([mn, gn]);
4459
+ function Rr(e, t) {
4460
+ let n = Vr(e);
4443
4461
  return td.has(n) || (n = ie), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
4444
4462
  }
4445
4463
  const nd = /* @__PURE__ */ new Set(["auto", "none", "0"]);
@@ -4451,7 +4469,7 @@ function id(e, t, n) {
4451
4469
  }
4452
4470
  if (o && n)
4453
4471
  for (const s of t)
4454
- e[s] = Mr(n, o);
4472
+ e[s] = Rr(n, o);
4455
4473
  }
4456
4474
  class od extends Hn {
4457
4475
  constructor(t, n, i, o, s) {
@@ -4465,19 +4483,19 @@ class od extends Hn {
4465
4483
  for (let c = 0; c < t.length; c++) {
4466
4484
  let u = t[c];
4467
4485
  if (typeof u == "string" && (u = u.trim(), In(u))) {
4468
- const h = Sr(u, n.current);
4486
+ const h = Fr(u, n.current);
4469
4487
  h !== void 0 && (t[c] = h), c === t.length - 1 && (this.finalKeyframe = u);
4470
4488
  }
4471
4489
  }
4472
- if (this.resolveNoneKeyframes(), !Fr.has(i) || t.length !== 2)
4490
+ if (this.resolveNoneKeyframes(), !kr.has(i) || t.length !== 2)
4473
4491
  return;
4474
- const [o, s] = t, r = Ti(o), a = Ti(s), l = ui(o), d = ui(s);
4492
+ const [o, s] = t, r = Ai(o), a = Ai(s), l = hi(o), d = hi(s);
4475
4493
  if (l !== d && fe[i]) {
4476
4494
  this.needsMeasurement = !0;
4477
4495
  return;
4478
4496
  }
4479
4497
  if (r !== a)
4480
- if (vi(r) && vi(a))
4498
+ if (Si(r) && Si(a))
4481
4499
  for (let c = 0; c < t.length; c++) {
4482
4500
  const u = t[c];
4483
4501
  typeof u == "string" && (t[c] = parseFloat(u));
@@ -4511,7 +4529,7 @@ class od extends Hn {
4511
4529
  }), this.resolveNoneKeyframes();
4512
4530
  }
4513
4531
  }
4514
- function Vr(e, t, n) {
4532
+ function Lr(e, t, n) {
4515
4533
  if (e == null)
4516
4534
  return [];
4517
4535
  if (e instanceof EventTarget)
@@ -4523,15 +4541,15 @@ function Vr(e, t, n) {
4523
4541
  }
4524
4542
  return Array.from(e).filter((i) => i != null);
4525
4543
  }
4526
- const Rr = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
4544
+ const Ir = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
4527
4545
  function ct(e) {
4528
- return jo(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
4546
+ return Ho(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
4529
4547
  }
4530
- const { schedule: Gn } = /* @__PURE__ */ Qo(queueMicrotask, !1), ne = {
4548
+ const { schedule: Gn } = /* @__PURE__ */ tr(queueMicrotask, !1), ne = {
4531
4549
  x: !1,
4532
4550
  y: !1
4533
4551
  };
4534
- function Lr() {
4552
+ function Br() {
4535
4553
  return ne.x || ne.y;
4536
4554
  }
4537
4555
  function rd(e) {
@@ -4541,8 +4559,8 @@ function rd(e) {
4541
4559
  ne.x = ne.y = !1;
4542
4560
  });
4543
4561
  }
4544
- function Ir(e, t) {
4545
- const n = Vr(e), i = new AbortController(), o = {
4562
+ function zr(e, t) {
4563
+ const n = Lr(e), i = new AbortController(), o = {
4546
4564
  passive: !0,
4547
4565
  ...t,
4548
4566
  signal: i.signal
@@ -4550,10 +4568,10 @@ function Ir(e, t) {
4550
4568
  return [n, o, () => i.abort()];
4551
4569
  }
4552
4570
  function sd(e) {
4553
- return !(e.pointerType === "touch" || Lr());
4571
+ return !(e.pointerType === "touch" || Br());
4554
4572
  }
4555
4573
  function ad(e, t, n = {}) {
4556
- const [i, o, s] = Ir(e, n);
4574
+ const [i, o, s] = zr(e, n);
4557
4575
  return i.forEach((r) => {
4558
4576
  let a = !1, l = !1, d;
4559
4577
  const c = () => {
@@ -4582,7 +4600,7 @@ function ad(e, t, n = {}) {
4582
4600
  r.addEventListener("pointerenter", y, o), r.addEventListener("pointerdown", p, o);
4583
4601
  }), s;
4584
4602
  }
4585
- const Br = (e, t) => t ? e === t ? !0 : Br(e, t.parentElement) : !1, Yn = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, ld = /* @__PURE__ */ new Set([
4603
+ const Or = (e, t) => t ? e === t ? !0 : Or(e, t.parentElement) : !1, Yn = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, ld = /* @__PURE__ */ new Set([
4586
4604
  "BUTTON",
4587
4605
  "INPUT",
4588
4606
  "SELECT",
@@ -4597,7 +4615,7 @@ function ud(e) {
4597
4615
  return dd.has(e.tagName) || e.isContentEditable === !0;
4598
4616
  }
4599
4617
  const dt = /* @__PURE__ */ new WeakSet();
4600
- function Ai(e) {
4618
+ function Ei(e) {
4601
4619
  return (t) => {
4602
4620
  t.key === "Enter" && e(t);
4603
4621
  };
@@ -4609,31 +4627,31 @@ const fd = (e, t) => {
4609
4627
  const n = e.currentTarget;
4610
4628
  if (!n)
4611
4629
  return;
4612
- const i = Ai(() => {
4630
+ const i = Ei(() => {
4613
4631
  if (dt.has(n))
4614
4632
  return;
4615
4633
  Ht(n, "down");
4616
- const o = Ai(() => {
4634
+ const o = Ei(() => {
4617
4635
  Ht(n, "up");
4618
4636
  }), s = () => Ht(n, "cancel");
4619
4637
  n.addEventListener("keyup", o, t), n.addEventListener("blur", s, t);
4620
4638
  });
4621
4639
  n.addEventListener("keydown", i, t), n.addEventListener("blur", () => n.removeEventListener("keydown", i), t);
4622
4640
  };
4623
- function Di(e) {
4624
- return Yn(e) && !Lr();
4641
+ function Pi(e) {
4642
+ return Yn(e) && !Br();
4625
4643
  }
4626
- const Ei = /* @__PURE__ */ new WeakSet();
4644
+ const Mi = /* @__PURE__ */ new WeakSet();
4627
4645
  function hd(e, t, n = {}) {
4628
- const [i, o, s] = Ir(e, n), r = (a) => {
4646
+ const [i, o, s] = zr(e, n), r = (a) => {
4629
4647
  const l = a.currentTarget;
4630
- if (!Di(a) || Ei.has(a))
4648
+ if (!Pi(a) || Mi.has(a))
4631
4649
  return;
4632
- dt.add(l), n.stopPropagation && Ei.add(a);
4650
+ dt.add(l), n.stopPropagation && Mi.add(a);
4633
4651
  const d = t(l, a), c = (p, g) => {
4634
- window.removeEventListener("pointerup", u), window.removeEventListener("pointercancel", h), dt.has(l) && dt.delete(l), Di(p) && typeof d == "function" && d(p, { success: g });
4652
+ window.removeEventListener("pointerup", u), window.removeEventListener("pointercancel", h), dt.has(l) && dt.delete(l), Pi(p) && typeof d == "function" && d(p, { success: g });
4635
4653
  }, u = (p) => {
4636
- c(p, l === window || l === document || n.useGlobalTarget || Br(l, p.target));
4654
+ c(p, l === window || l === document || n.useGlobalTarget || Or(l, p.target));
4637
4655
  }, h = (p) => {
4638
4656
  c(p, !1);
4639
4657
  };
@@ -4644,11 +4662,11 @@ function hd(e, t, n = {}) {
4644
4662
  }), s;
4645
4663
  }
4646
4664
  function Xn(e) {
4647
- return jo(e) && "ownerSVGElement" in e;
4665
+ return Ho(e) && "ownerSVGElement" in e;
4648
4666
  }
4649
4667
  const ut = /* @__PURE__ */ new WeakMap();
4650
4668
  let ue;
4651
- const zr = (e, t, n) => (i, o) => o && o[0] ? o[0][e + "Size"] : Xn(i) && "getBBox" in i ? i.getBBox()[t] : i[n], pd = /* @__PURE__ */ zr("inline", "width", "offsetWidth"), md = /* @__PURE__ */ zr("block", "height", "offsetHeight");
4669
+ const jr = (e, t, n) => (i, o) => o && o[0] ? o[0][e + "Size"] : Xn(i) && "getBBox" in i ? i.getBBox()[t] : i[n], pd = /* @__PURE__ */ jr("inline", "width", "offsetWidth"), md = /* @__PURE__ */ jr("block", "height", "offsetHeight");
4652
4670
  function gd({ target: e, borderBoxSize: t }) {
4653
4671
  var n;
4654
4672
  (n = ut.get(e)) == null || n.forEach((i) => {
@@ -4670,7 +4688,7 @@ function bd() {
4670
4688
  }
4671
4689
  function xd(e, t) {
4672
4690
  ue || bd();
4673
- const n = Vr(e);
4691
+ const n = Lr(e);
4674
4692
  return n.forEach((i) => {
4675
4693
  let o = ut.get(i);
4676
4694
  o || (o = /* @__PURE__ */ new Set(), ut.set(i, o)), o.add(t), ue == null || ue.observe(i);
@@ -4701,23 +4719,23 @@ function wd(e) {
4701
4719
  ft.delete(e), !ft.size && typeof Pe == "function" && (window.removeEventListener("resize", Pe), Pe = void 0);
4702
4720
  };
4703
4721
  }
4704
- function Pi(e, t) {
4722
+ function Vi(e, t) {
4705
4723
  return typeof e == "function" ? wd(e) : xd(e, t);
4706
4724
  }
4707
4725
  function Sd(e) {
4708
4726
  return Xn(e) && e.tagName === "svg";
4709
4727
  }
4710
- const Cd = [...Er, j, ie], Fd = (e) => Cd.find(Dr(e)), Mi = () => ({
4728
+ const Cd = [...Mr, j, ie], Fd = (e) => Cd.find(Pr(e)), Ri = () => ({
4711
4729
  translate: 0,
4712
4730
  scale: 1,
4713
4731
  origin: 0,
4714
4732
  originPoint: 0
4715
4733
  }), Me = () => ({
4716
- x: Mi(),
4717
- y: Mi()
4718
- }), Vi = () => ({ min: 0, max: 0 }), W = () => ({
4719
- x: Vi(),
4720
- y: Vi()
4734
+ x: Ri(),
4735
+ y: Ri()
4736
+ }), Li = () => ({ min: 0, max: 0 }), W = () => ({
4737
+ x: Li(),
4738
+ y: Li()
4721
4739
  }), Td = /* @__PURE__ */ new WeakMap();
4722
4740
  function At(e) {
4723
4741
  return e !== null && typeof e == "object" && typeof e.start == "function";
@@ -4737,7 +4755,7 @@ const Zn = [
4737
4755
  function Dt(e) {
4738
4756
  return At(e.animate) || qn.some((t) => Xe(e[t]));
4739
4757
  }
4740
- function Or(e) {
4758
+ function Wr(e) {
4741
4759
  return !!(Dt(e) || e.variants);
4742
4760
  }
4743
4761
  function kd(e, t, n) {
@@ -4760,16 +4778,16 @@ function kd(e, t, n) {
4760
4778
  t[i] === void 0 && e.removeValue(i);
4761
4779
  return t;
4762
4780
  }
4763
- const yn = { current: null }, jr = { current: !1 }, Ad = typeof window < "u";
4781
+ const yn = { current: null }, Hr = { current: !1 }, Ad = typeof window < "u";
4764
4782
  function Dd() {
4765
- if (jr.current = !0, !!Ad)
4783
+ if (Hr.current = !0, !!Ad)
4766
4784
  if (window.matchMedia) {
4767
4785
  const e = window.matchMedia("(prefers-reduced-motion)"), t = () => yn.current = e.matches;
4768
4786
  e.addEventListener("change", t), t();
4769
4787
  } else
4770
4788
  yn.current = !1;
4771
4789
  }
4772
- const Ri = [
4790
+ const Ii = [
4773
4791
  "AnimationStart",
4774
4792
  "AnimationComplete",
4775
4793
  "Update",
@@ -4779,7 +4797,7 @@ const Ri = [
4779
4797
  "LayoutAnimationComplete"
4780
4798
  ];
4781
4799
  let wt = {};
4782
- function Wr(e) {
4800
+ function Nr(e) {
4783
4801
  wt = e;
4784
4802
  }
4785
4803
  function Ed() {
@@ -4804,7 +4822,7 @@ class Pd {
4804
4822
  this.renderScheduledAt < p && (this.renderScheduledAt = p, L.render(this.render, !1, !0));
4805
4823
  };
4806
4824
  const { latestValues: d, renderState: c } = a;
4807
- this.latestValues = d, this.baseTarget = { ...d }, this.initialValues = n.initial ? { ...d } : {}, this.renderState = c, this.parent = t, this.props = n, this.presenceContext = i, this.depth = t ? t.depth + 1 : 0, this.reducedMotionConfig = o, this.skipAnimationsConfig = s, this.options = l, this.blockInitialAnimation = !!r, this.isControllingVariants = Dt(n), this.isVariantNode = Or(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(t && t.current);
4825
+ this.latestValues = d, this.baseTarget = { ...d }, this.initialValues = n.initial ? { ...d } : {}, this.renderState = c, this.parent = t, this.props = n, this.presenceContext = i, this.depth = t ? t.depth + 1 : 0, this.reducedMotionConfig = o, this.skipAnimationsConfig = s, this.options = l, this.blockInitialAnimation = !!r, this.isControllingVariants = Dt(n), this.isVariantNode = Wr(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(t && t.current);
4808
4826
  const { willChange: u, ...h } = this.scrapeMotionValuesFromProps(n, {}, this);
4809
4827
  for (const p in h) {
4810
4828
  const g = h[p];
@@ -4816,7 +4834,7 @@ class Pd {
4816
4834
  if (this.hasBeenMounted)
4817
4835
  for (const o in this.initialValues)
4818
4836
  (n = this.values.get(o)) == null || n.jump(this.initialValues[o]), this.latestValues[o] = this.initialValues[o];
4819
- this.current = t, Td.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((o, s) => this.bindToMotionValue(s, o)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (jr.current || Dd(), this.shouldReduceMotion = yn.current), process.env.NODE_ENV !== "production" && Vn(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, (i = this.parent) == null || i.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
4837
+ this.current = t, Td.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((o, s) => this.bindToMotionValue(s, o)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Hr.current || Dd(), this.shouldReduceMotion = yn.current), process.env.NODE_ENV !== "production" && Vn(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, (i = this.parent) == null || i.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
4820
4838
  }
4821
4839
  unmount() {
4822
4840
  var t;
@@ -4836,8 +4854,8 @@ class Pd {
4836
4854
  this.children.delete(t), this.enteringChildren && this.enteringChildren.delete(t);
4837
4855
  }
4838
4856
  bindToMotionValue(t, n) {
4839
- if (this.valueSubscriptions.has(t) && this.valueSubscriptions.get(t)(), n.accelerate && vr.has(t) && this.current instanceof HTMLElement) {
4840
- const { factory: r, keyframes: a, times: l, ease: d, duration: c } = n.accelerate, u = new br({
4857
+ if (this.valueSubscriptions.has(t) && this.valueSubscriptions.get(t)(), n.accelerate && Sr.has(t) && this.current instanceof HTMLElement) {
4858
+ const { factory: r, keyframes: a, times: l, ease: d, duration: c } = n.accelerate, u = new vr({
4841
4859
  element: this.current,
4842
4860
  name: t,
4843
4861
  keyframes: a,
@@ -4899,8 +4917,8 @@ class Pd {
4899
4917
  */
4900
4918
  update(t, n) {
4901
4919
  (t.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
4902
- for (let i = 0; i < Ri.length; i++) {
4903
- const o = Ri[i];
4920
+ for (let i = 0; i < Ii.length; i++) {
4921
+ const o = Ii[i];
4904
4922
  this.propEventSubscriptions[o] && (this.propEventSubscriptions[o](), delete this.propEventSubscriptions[o]);
4905
4923
  const s = "on" + o, r = t[s];
4906
4924
  r && (this.propEventSubscriptions[o] = this.on(o, r));
@@ -4970,7 +4988,7 @@ class Pd {
4970
4988
  */
4971
4989
  readValue(t, n) {
4972
4990
  let i = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : this.getBaseTargetFromProps(this.props, t) ?? this.readValueFromInstance(this.current, t, this.options);
4973
- return i != null && (typeof i == "string" && (Oo(i) || Wo(i)) ? i = parseFloat(i) : !Fd(i) && ie.test(n) && (i = Mr(t, n)), this.setBaseTarget(t, _(i) ? i.get() : i)), _(i) ? i.get() : i;
4991
+ return i != null && (typeof i == "string" && (Wo(i) || No(i)) ? i = parseFloat(i) : !Fd(i) && ie.test(n) && (i = Rr(t, n)), this.setBaseTarget(t, _(i) ? i.get() : i)), _(i) ? i.get() : i;
4974
4992
  }
4975
4993
  /**
4976
4994
  * Set the base target to later animate back to. This is currently
@@ -5006,7 +5024,7 @@ class Pd {
5006
5024
  Gn.render(this.render);
5007
5025
  }
5008
5026
  }
5009
- class Hr extends Pd {
5027
+ class _r extends Pd {
5010
5028
  constructor() {
5011
5029
  super(...arguments), this.KeyframeResolver = od;
5012
5030
  }
@@ -5035,7 +5053,7 @@ class me {
5035
5053
  update() {
5036
5054
  }
5037
5055
  }
5038
- function Nr({ top: e, left: t, right: n, bottom: i }) {
5056
+ function $r({ top: e, left: t, right: n, bottom: i }) {
5039
5057
  return {
5040
5058
  x: { min: t, max: n },
5041
5059
  y: { min: e, max: i }
@@ -5062,28 +5080,28 @@ function bn({ scale: e, scaleX: t, scaleY: n }) {
5062
5080
  return !Nt(e) || !Nt(t) || !Nt(n);
5063
5081
  }
5064
5082
  function xe(e) {
5065
- return bn(e) || _r(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
5083
+ return bn(e) || Ur(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
5066
5084
  }
5067
- function _r(e) {
5068
- return Li(e.x) || Li(e.y);
5085
+ function Ur(e) {
5086
+ return Bi(e.x) || Bi(e.y);
5069
5087
  }
5070
- function Li(e) {
5088
+ function Bi(e) {
5071
5089
  return e && e !== "0%";
5072
5090
  }
5073
5091
  function St(e, t, n) {
5074
5092
  const i = e - n, o = t * i;
5075
5093
  return n + o;
5076
5094
  }
5077
- function Ii(e, t, n, i, o) {
5095
+ function zi(e, t, n, i, o) {
5078
5096
  return o !== void 0 && (e = St(e, o, i)), St(e, n, i) + t;
5079
5097
  }
5080
5098
  function xn(e, t = 0, n = 1, i, o) {
5081
- e.min = Ii(e.min, t, n, i, o), e.max = Ii(e.max, t, n, i, o);
5099
+ e.min = zi(e.min, t, n, i, o), e.max = zi(e.max, t, n, i, o);
5082
5100
  }
5083
- function $r(e, { x: t, y: n }) {
5101
+ function Kr(e, { x: t, y: n }) {
5084
5102
  xn(e.x, t.translate, t.scale, t.originPoint), xn(e.y, n.translate, n.scale, n.originPoint);
5085
5103
  }
5086
- const Bi = 0.999999999999, zi = 1.0000000000001;
5104
+ const Oi = 0.999999999999, ji = 1.0000000000001;
5087
5105
  function Rd(e, t, n, i = !1) {
5088
5106
  var a;
5089
5107
  const o = n.length;
@@ -5094,29 +5112,29 @@ function Rd(e, t, n, i = !1) {
5094
5112
  for (let l = 0; l < o; l++) {
5095
5113
  s = n[l], r = s.projectionDelta;
5096
5114
  const { visualElement: d } = s.options;
5097
- d && d.props.style && d.props.style.display === "contents" || (i && s.options.layoutScroll && s.scroll && s !== s.root && (se(e.x, -s.scroll.offset.x), se(e.y, -s.scroll.offset.y)), r && (t.x *= r.x.scale, t.y *= r.y.scale, $r(e, r)), i && xe(s.latestValues) && ht(e, s.latestValues, (a = s.layout) == null ? void 0 : a.layoutBox));
5115
+ d && d.props.style && d.props.style.display === "contents" || (i && s.options.layoutScroll && s.scroll && s !== s.root && (se(e.x, -s.scroll.offset.x), se(e.y, -s.scroll.offset.y)), r && (t.x *= r.x.scale, t.y *= r.y.scale, Kr(e, r)), i && xe(s.latestValues) && ht(e, s.latestValues, (a = s.layout) == null ? void 0 : a.layoutBox));
5098
5116
  }
5099
- t.x < zi && t.x > Bi && (t.x = 1), t.y < zi && t.y > Bi && (t.y = 1);
5117
+ t.x < ji && t.x > Oi && (t.x = 1), t.y < ji && t.y > Oi && (t.y = 1);
5100
5118
  }
5101
5119
  function se(e, t) {
5102
5120
  e.min += t, e.max += t;
5103
5121
  }
5104
- function Oi(e, t, n, i, o = 0.5) {
5122
+ function Wi(e, t, n, i, o = 0.5) {
5105
5123
  const s = I(e.min, e.max, o);
5106
5124
  xn(e, t, n, s, i);
5107
5125
  }
5108
- function ji(e, t) {
5126
+ function Hi(e, t) {
5109
5127
  return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
5110
5128
  }
5111
5129
  function ht(e, t, n) {
5112
5130
  const i = n ?? e;
5113
- Oi(e.x, ji(t.x, i.x), t.scaleX, t.scale, t.originX), Oi(e.y, ji(t.y, i.y), t.scaleY, t.scale, t.originY);
5131
+ Wi(e.x, Hi(t.x, i.x), t.scaleX, t.scale, t.originX), Wi(e.y, Hi(t.y, i.y), t.scaleY, t.scale, t.originY);
5114
5132
  }
5115
- function Ur(e, t) {
5116
- return Nr(Vd(e.getBoundingClientRect(), t));
5133
+ function Gr(e, t) {
5134
+ return $r(Vd(e.getBoundingClientRect(), t));
5117
5135
  }
5118
5136
  function Ld(e, t, n) {
5119
- const i = Ur(e, n), { scroll: o } = t;
5137
+ const i = Gr(e, n), { scroll: o } = t;
5120
5138
  return o && (se(i.x, o.offset.x), se(i.y, o.offset.y)), i;
5121
5139
  }
5122
5140
  const Id = {
@@ -5139,7 +5157,7 @@ function zd(e, t, n) {
5139
5157
  l = r.startsWith("scale") ? d === 1 : d === 0;
5140
5158
  }
5141
5159
  if (!l || n) {
5142
- const d = Rr(a, Kn[r]);
5160
+ const d = Ir(a, Kn[r]);
5143
5161
  if (!l) {
5144
5162
  o = !1;
5145
5163
  const c = Id[r] || r;
@@ -5158,11 +5176,11 @@ function Jn(e, t, n) {
5158
5176
  if (We.has(l)) {
5159
5177
  r = !0;
5160
5178
  continue;
5161
- } else if (tr(l)) {
5179
+ } else if (ir(l)) {
5162
5180
  o[l] = d;
5163
5181
  continue;
5164
5182
  } else {
5165
- const c = Rr(d, Kn[l]);
5183
+ const c = Ir(d, Kn[l]);
5166
5184
  l.startsWith("origin") ? (a = !0, s[l] = c) : i[l] = c;
5167
5185
  }
5168
5186
  }
@@ -5171,7 +5189,7 @@ function Jn(e, t, n) {
5171
5189
  i.transformOrigin = `${l} ${d} ${c}`;
5172
5190
  }
5173
5191
  }
5174
- function Kr(e, { style: t, vars: n }, i, o) {
5192
+ function Yr(e, { style: t, vars: n }, i, o) {
5175
5193
  const s = e.style;
5176
5194
  let r;
5177
5195
  for (r in t)
@@ -5180,7 +5198,7 @@ function Kr(e, { style: t, vars: n }, i, o) {
5180
5198
  for (r in n)
5181
5199
  s.setProperty(r, n[r]);
5182
5200
  }
5183
- function Wi(e, t) {
5201
+ function Ni(e, t) {
5184
5202
  return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
5185
5203
  }
5186
5204
  const Ne = {
@@ -5192,7 +5210,7 @@ const Ne = {
5192
5210
  e = parseFloat(e);
5193
5211
  else
5194
5212
  return e;
5195
- const n = Wi(e, t.target.x), i = Wi(e, t.target.y);
5213
+ const n = Ni(e, t.target.x), i = Ni(e, t.target.y);
5196
5214
  return `${n}% ${i}%`;
5197
5215
  }
5198
5216
  }, Od = {
@@ -5221,7 +5239,7 @@ const Ne = {
5221
5239
  borderBottomRightRadius: Ne,
5222
5240
  boxShadow: Od
5223
5241
  };
5224
- function Gr(e, { layout: t, layoutId: n }) {
5242
+ function Xr(e, { layout: t, layoutId: n }) {
5225
5243
  return We.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!vn[e] || e === "opacity");
5226
5244
  }
5227
5245
  function Qn(e, t, n) {
@@ -5230,27 +5248,27 @@ function Qn(e, t, n) {
5230
5248
  if (!i)
5231
5249
  return s;
5232
5250
  for (const a in i)
5233
- (_(i[a]) || o && _(o[a]) || Gr(a, e) || ((r = n == null ? void 0 : n.getValue(a)) == null ? void 0 : r.liveStyle) !== void 0) && (s[a] = i[a]);
5251
+ (_(i[a]) || o && _(o[a]) || Xr(a, e) || ((r = n == null ? void 0 : n.getValue(a)) == null ? void 0 : r.liveStyle) !== void 0) && (s[a] = i[a]);
5234
5252
  return s;
5235
5253
  }
5236
5254
  function jd(e) {
5237
5255
  return window.getComputedStyle(e);
5238
5256
  }
5239
- class Wd extends Hr {
5257
+ class Wd extends _r {
5240
5258
  constructor() {
5241
- super(...arguments), this.type = "html", this.renderInstance = Kr;
5259
+ super(...arguments), this.type = "html", this.renderInstance = Yr;
5242
5260
  }
5243
5261
  readValueFromInstance(t, n) {
5244
5262
  var i;
5245
5263
  if (We.has(n))
5246
5264
  return (i = this.projection) != null && i.isProjecting ? sn(n) : rc(t, n);
5247
5265
  {
5248
- const o = jd(t), s = (tr(n) ? o.getPropertyValue(n) : o[n]) || 0;
5266
+ const o = jd(t), s = (ir(n) ? o.getPropertyValue(n) : o[n]) || 0;
5249
5267
  return typeof s == "string" ? s.trim() : s;
5250
5268
  }
5251
5269
  }
5252
5270
  measureInstanceViewportBox(t, { transformPagePoint: n }) {
5253
- return Ur(t, n);
5271
+ return Gr(t, n);
5254
5272
  }
5255
5273
  build(t, n, i) {
5256
5274
  Jn(t, n, i.transformTemplate);
@@ -5277,7 +5295,7 @@ const $d = [
5277
5295
  "offsetRotate",
5278
5296
  "offsetAnchor"
5279
5297
  ];
5280
- function Yr(e, {
5298
+ function Zr(e, {
5281
5299
  attrX: t,
5282
5300
  attrY: n,
5283
5301
  attrScale: i,
@@ -5298,7 +5316,7 @@ function Yr(e, {
5298
5316
  u[p] !== void 0 && (h[p] = u[p], delete u[p]);
5299
5317
  t !== void 0 && (u.x = t), n !== void 0 && (u.y = n), i !== void 0 && (u.scale = i), o !== void 0 && _d(u, o, s, r, !1);
5300
5318
  }
5301
- const Xr = /* @__PURE__ */ new Set([
5319
+ const qr = /* @__PURE__ */ new Set([
5302
5320
  "baseFrequency",
5303
5321
  "diffuseConstant",
5304
5322
  "kernelMatrix",
@@ -5322,13 +5340,13 @@ const Xr = /* @__PURE__ */ new Set([
5322
5340
  "startOffset",
5323
5341
  "textLength",
5324
5342
  "lengthAdjust"
5325
- ]), Zr = (e) => typeof e == "string" && e.toLowerCase() === "svg";
5343
+ ]), Jr = (e) => typeof e == "string" && e.toLowerCase() === "svg";
5326
5344
  function Ud(e, t, n, i) {
5327
- Kr(e, t, void 0, i);
5345
+ Yr(e, t, void 0, i);
5328
5346
  for (const o in t.attrs)
5329
- e.setAttribute(Xr.has(o) ? o : Un(o), t.attrs[o]);
5347
+ e.setAttribute(qr.has(o) ? o : Un(o), t.attrs[o]);
5330
5348
  }
5331
- function qr(e, t, n) {
5349
+ function Qr(e, t, n) {
5332
5350
  const i = Qn(e, t, n);
5333
5351
  for (const o in e)
5334
5352
  if (_(e[o]) || _(t[o])) {
@@ -5337,7 +5355,7 @@ function qr(e, t, n) {
5337
5355
  }
5338
5356
  return i;
5339
5357
  }
5340
- class Kd extends Hr {
5358
+ class Kd extends _r {
5341
5359
  constructor() {
5342
5360
  super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = W;
5343
5361
  }
@@ -5346,30 +5364,30 @@ class Kd extends Hr {
5346
5364
  }
5347
5365
  readValueFromInstance(t, n) {
5348
5366
  if (We.has(n)) {
5349
- const i = Pr(n);
5367
+ const i = Vr(n);
5350
5368
  return i && i.default || 0;
5351
5369
  }
5352
- return n = Xr.has(n) ? n : Un(n), t.getAttribute(n);
5370
+ return n = qr.has(n) ? n : Un(n), t.getAttribute(n);
5353
5371
  }
5354
5372
  scrapeMotionValuesFromProps(t, n, i) {
5355
- return qr(t, n, i);
5373
+ return Qr(t, n, i);
5356
5374
  }
5357
5375
  build(t, n, i) {
5358
- Yr(t, n, this.isSVGTag, i.transformTemplate, i.style);
5376
+ Zr(t, n, this.isSVGTag, i.transformTemplate, i.style);
5359
5377
  }
5360
5378
  renderInstance(t, n, i, o) {
5361
5379
  Ud(t, n, i, o);
5362
5380
  }
5363
5381
  mount(t) {
5364
- this.isSVGTag = Zr(t.tagName), super.mount(t);
5382
+ this.isSVGTag = Jr(t.tagName), super.mount(t);
5365
5383
  }
5366
5384
  }
5367
5385
  const Gd = qn.length;
5368
- function Jr(e) {
5386
+ function es(e) {
5369
5387
  if (!e)
5370
5388
  return;
5371
5389
  if (!e.isControllingVariants) {
5372
- const n = e.parent ? Jr(e.parent) || {} : {};
5390
+ const n = e.parent ? es(e.parent) || {} : {};
5373
5391
  return e.props.initial !== void 0 && (n.initial = e.props.initial), n;
5374
5392
  }
5375
5393
  const t = {};
@@ -5379,7 +5397,7 @@ function Jr(e) {
5379
5397
  }
5380
5398
  return t;
5381
5399
  }
5382
- function Qr(e, t) {
5400
+ function ts(e, t) {
5383
5401
  if (!Array.isArray(t))
5384
5402
  return !1;
5385
5403
  const n = t.length;
@@ -5395,7 +5413,7 @@ function Zd(e) {
5395
5413
  return (t) => Promise.all(t.map(({ animation: n, options: i }) => Gc(e, n, i)));
5396
5414
  }
5397
5415
  function qd(e) {
5398
- let t = Zd(e), n = Hi(), i = !0, o = !1;
5416
+ let t = Zd(e), n = _i(), i = !0, o = !1;
5399
5417
  const s = (d) => (c, u) => {
5400
5418
  var p;
5401
5419
  const h = Ce(e, u, d === "exit" ? (p = e.presenceContext) == null ? void 0 : p.custom : void 0);
@@ -5409,7 +5427,7 @@ function qd(e) {
5409
5427
  t = d(e);
5410
5428
  }
5411
5429
  function a(d) {
5412
- const { props: c } = e, u = Jr(e.parent) || {}, h = [], p = /* @__PURE__ */ new Set();
5430
+ const { props: c } = e, u = es(e.parent) || {}, h = [], p = /* @__PURE__ */ new Set();
5413
5431
  let g = {}, y = 1 / 0;
5414
5432
  for (let x = 0; x < Xd; x++) {
5415
5433
  const v = Yd[x], w = n[v], F = c[v] !== void 0 ? c[v] : u[v], C = Xe(F), A = v === d ? w.isActive : null;
@@ -5447,7 +5465,7 @@ function qd(e) {
5447
5465
  if (g.hasOwnProperty(H))
5448
5466
  continue;
5449
5467
  let Te = !1;
5450
- fn(q) && fn(ge) ? Te = !Qr(q, ge) : Te = q !== ge, Te ? q != null ? Z(H) : p.add(H) : q !== void 0 && p.has(H) ? Z(H) : w.protectedKeys[H] = !0;
5468
+ fn(q) && fn(ge) ? Te = !ts(q, ge) : Te = q !== ge, Te ? q != null ? Z(H) : p.add(H) : q !== void 0 && p.has(H) ? Z(H) : w.protectedKeys[H] = !0;
5451
5469
  }
5452
5470
  w.prevProp = F, w.prevResolvedValues = R, w.isActive && (g = { ...g, ...R }), (i || o) && e.blockInitialAnimation && (T = !1);
5453
5471
  const oe = V && E;
@@ -5456,8 +5474,8 @@ function qd(e) {
5456
5474
  if (typeof H == "string" && (i || o) && !oe && e.manuallyAnimateOnMount && e.parent) {
5457
5475
  const { parent: ge } = e, Te = Ce(ge, H);
5458
5476
  if (ge.enteringChildren && Te) {
5459
- const { delayChildren: Fs } = Te.transition || {};
5460
- q.delay = wr(ge.enteringChildren, e, Fs);
5477
+ const { delayChildren: ks } = Te.transition || {};
5478
+ q.delay = Cr(ge.enteringChildren, e, ks);
5461
5479
  }
5462
5480
  }
5463
5481
  return {
@@ -5499,12 +5517,12 @@ function qd(e) {
5499
5517
  setAnimateFunction: r,
5500
5518
  getState: () => n,
5501
5519
  reset: () => {
5502
- n = Hi(), o = !0;
5520
+ n = _i(), o = !0;
5503
5521
  }
5504
5522
  };
5505
5523
  }
5506
5524
  function Jd(e, t) {
5507
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !Qr(t, e) : !1;
5525
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !ts(t, e) : !1;
5508
5526
  }
5509
5527
  function be(e = !1) {
5510
5528
  return {
@@ -5514,7 +5532,7 @@ function be(e = !1) {
5514
5532
  prevResolvedValues: {}
5515
5533
  };
5516
5534
  }
5517
- function Hi() {
5535
+ function _i() {
5518
5536
  return {
5519
5537
  animate: be(!0),
5520
5538
  whileInView: be(),
@@ -5531,74 +5549,74 @@ function wn(e, t) {
5531
5549
  function te(e, t) {
5532
5550
  wn(e.x, t.x), wn(e.y, t.y);
5533
5551
  }
5534
- function Ni(e, t) {
5552
+ function $i(e, t) {
5535
5553
  e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
5536
5554
  }
5537
- const es = 1e-4, Qd = 1 - es, eu = 1 + es, ts = 0.01, tu = 0 - ts, nu = 0 + ts;
5555
+ const ns = 1e-4, Qd = 1 - ns, eu = 1 + ns, is = 0.01, tu = 0 - is, nu = 0 + is;
5538
5556
  function K(e) {
5539
5557
  return e.max - e.min;
5540
5558
  }
5541
5559
  function iu(e, t, n) {
5542
5560
  return Math.abs(e - t) <= n;
5543
5561
  }
5544
- function _i(e, t, n, i = 0.5) {
5562
+ function Ui(e, t, n, i = 0.5) {
5545
5563
  e.origin = i, e.originPoint = I(t.min, t.max, e.origin), e.scale = K(n) / K(t), e.translate = I(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Qd && e.scale <= eu || isNaN(e.scale)) && (e.scale = 1), (e.translate >= tu && e.translate <= nu || isNaN(e.translate)) && (e.translate = 0);
5546
5564
  }
5547
5565
  function Ue(e, t, n, i) {
5548
- _i(e.x, t.x, n.x, i ? i.originX : void 0), _i(e.y, t.y, n.y, i ? i.originY : void 0);
5566
+ Ui(e.x, t.x, n.x, i ? i.originX : void 0), Ui(e.y, t.y, n.y, i ? i.originY : void 0);
5549
5567
  }
5550
- function $i(e, t, n, i = 0) {
5568
+ function Ki(e, t, n, i = 0) {
5551
5569
  const o = i ? I(n.min, n.max, i) : n.min;
5552
5570
  e.min = o + t.min, e.max = e.min + K(t);
5553
5571
  }
5554
5572
  function ou(e, t, n, i) {
5555
- $i(e.x, t.x, n.x, i == null ? void 0 : i.x), $i(e.y, t.y, n.y, i == null ? void 0 : i.y);
5573
+ Ki(e.x, t.x, n.x, i == null ? void 0 : i.x), Ki(e.y, t.y, n.y, i == null ? void 0 : i.y);
5556
5574
  }
5557
- function Ui(e, t, n, i = 0) {
5575
+ function Gi(e, t, n, i = 0) {
5558
5576
  const o = i ? I(n.min, n.max, i) : n.min;
5559
5577
  e.min = t.min - o, e.max = e.min + K(t);
5560
5578
  }
5561
5579
  function Ct(e, t, n, i) {
5562
- Ui(e.x, t.x, n.x, i == null ? void 0 : i.x), Ui(e.y, t.y, n.y, i == null ? void 0 : i.y);
5580
+ Gi(e.x, t.x, n.x, i == null ? void 0 : i.x), Gi(e.y, t.y, n.y, i == null ? void 0 : i.y);
5563
5581
  }
5564
- function Ki(e, t, n, i, o) {
5582
+ function Yi(e, t, n, i, o) {
5565
5583
  return e -= t, e = St(e, 1 / n, i), o !== void 0 && (e = St(e, 1 / o, i)), e;
5566
5584
  }
5567
5585
  function ru(e, t = 0, n = 1, i = 0.5, o, s = e, r = e) {
5568
5586
  if (ae.test(t) && (t = parseFloat(t), t = I(r.min, r.max, t / 100) - r.min), typeof t != "number")
5569
5587
  return;
5570
5588
  let a = I(s.min, s.max, i);
5571
- e === s && (a -= t), e.min = Ki(e.min, t, n, a, o), e.max = Ki(e.max, t, n, a, o);
5589
+ e === s && (a -= t), e.min = Yi(e.min, t, n, a, o), e.max = Yi(e.max, t, n, a, o);
5572
5590
  }
5573
- function Gi(e, t, [n, i, o], s, r) {
5591
+ function Xi(e, t, [n, i, o], s, r) {
5574
5592
  ru(e, t[n], t[i], t[o], t.scale, s, r);
5575
5593
  }
5576
5594
  const su = ["x", "scaleX", "originX"], au = ["y", "scaleY", "originY"];
5577
- function Yi(e, t, n, i) {
5578
- Gi(e.x, t, su, n ? n.x : void 0, i ? i.x : void 0), Gi(e.y, t, au, n ? n.y : void 0, i ? i.y : void 0);
5595
+ function Zi(e, t, n, i) {
5596
+ Xi(e.x, t, su, n ? n.x : void 0, i ? i.x : void 0), Xi(e.y, t, au, n ? n.y : void 0, i ? i.y : void 0);
5579
5597
  }
5580
- function Xi(e) {
5598
+ function qi(e) {
5581
5599
  return e.translate === 0 && e.scale === 1;
5582
5600
  }
5583
- function ns(e) {
5584
- return Xi(e.x) && Xi(e.y);
5601
+ function os(e) {
5602
+ return qi(e.x) && qi(e.y);
5585
5603
  }
5586
- function Zi(e, t) {
5604
+ function Ji(e, t) {
5587
5605
  return e.min === t.min && e.max === t.max;
5588
5606
  }
5589
5607
  function lu(e, t) {
5590
- return Zi(e.x, t.x) && Zi(e.y, t.y);
5608
+ return Ji(e.x, t.x) && Ji(e.y, t.y);
5591
5609
  }
5592
- function qi(e, t) {
5610
+ function Qi(e, t) {
5593
5611
  return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
5594
5612
  }
5595
- function is(e, t) {
5596
- return qi(e.x, t.x) && qi(e.y, t.y);
5613
+ function rs(e, t) {
5614
+ return Qi(e.x, t.x) && Qi(e.y, t.y);
5597
5615
  }
5598
- function Ji(e) {
5616
+ function eo(e) {
5599
5617
  return K(e.x) / K(e.y);
5600
5618
  }
5601
- function Qi(e, t) {
5619
+ function to(e, t) {
5602
5620
  return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
5603
5621
  }
5604
5622
  function re(e) {
@@ -5614,28 +5632,28 @@ function cu(e, t, n) {
5614
5632
  const a = e.x.scale * t.x, l = e.y.scale * t.y;
5615
5633
  return (a !== 1 || l !== 1) && (i += `scale(${a}, ${l})`), i || "none";
5616
5634
  }
5617
- const os = [
5635
+ const ss = [
5618
5636
  "borderTopLeftRadius",
5619
5637
  "borderTopRightRadius",
5620
5638
  "borderBottomLeftRadius",
5621
5639
  "borderBottomRightRadius"
5622
- ], du = os.length, eo = (e) => typeof e == "string" ? parseFloat(e) : e, to = (e) => typeof e == "number" || D.test(e);
5640
+ ], du = ss.length, no = (e) => typeof e == "string" ? parseFloat(e) : e, io = (e) => typeof e == "number" || D.test(e);
5623
5641
  function uu(e, t, n, i, o, s) {
5624
5642
  o ? (e.opacity = I(0, n.opacity ?? 1, fu(i)), e.opacityExit = I(t.opacity ?? 1, 0, hu(i))) : s && (e.opacity = I(t.opacity ?? 1, n.opacity ?? 1, i));
5625
5643
  for (let r = 0; r < du; r++) {
5626
- const a = os[r];
5627
- let l = no(t, a), d = no(n, a);
5644
+ const a = ss[r];
5645
+ let l = oo(t, a), d = oo(n, a);
5628
5646
  if (l === void 0 && d === void 0)
5629
5647
  continue;
5630
- l || (l = 0), d || (d = 0), l === 0 || d === 0 || to(l) === to(d) ? (e[a] = Math.max(I(eo(l), eo(d), i), 0), (ae.test(d) || ae.test(l)) && (e[a] += "%")) : e[a] = d;
5648
+ l || (l = 0), d || (d = 0), l === 0 || d === 0 || io(l) === io(d) ? (e[a] = Math.max(I(no(l), no(d), i), 0), (ae.test(d) || ae.test(l)) && (e[a] += "%")) : e[a] = d;
5631
5649
  }
5632
5650
  (t.rotate || n.rotate) && (e.rotate = I(t.rotate || 0, n.rotate || 0, i));
5633
5651
  }
5634
- function no(e, t) {
5652
+ function oo(e, t) {
5635
5653
  return e[t] !== void 0 ? e[t] : e.borderRadius;
5636
5654
  }
5637
- const fu = /* @__PURE__ */ rs(0, 0.5, Xo), hu = /* @__PURE__ */ rs(0.5, 0.95, ee);
5638
- function rs(e, t, n) {
5655
+ const fu = /* @__PURE__ */ as(0, 0.5, qo), hu = /* @__PURE__ */ as(0.5, 0.95, ee);
5656
+ function as(e, t, n) {
5639
5657
  return (i) => i < e ? 0 : i > t ? 1 : n(/* @__PURE__ */ Ge(e, t, i));
5640
5658
  }
5641
5659
  function pu(e, t, n) {
@@ -5740,21 +5758,21 @@ function $t(e, t, n, i) {
5740
5758
  const { latestValues: o } = t;
5741
5759
  o[e] && (n[e] = o[e], t.setStaticValue(e, 0), i && (i[e] = 0));
5742
5760
  }
5743
- function ss(e) {
5761
+ function ls(e) {
5744
5762
  if (e.hasCheckedOptimisedAppear = !0, e.root === e)
5745
5763
  return;
5746
5764
  const { visualElement: t } = e.options;
5747
5765
  if (!t)
5748
5766
  return;
5749
- const n = kr(t);
5767
+ const n = Dr(t);
5750
5768
  if (window.MotionHasOptimisedAnimation(n, "transform")) {
5751
5769
  const { layout: o, layoutId: s } = e.options;
5752
5770
  window.MotionCancelOptimisedAnimation(n, "transform", L, !(o || s));
5753
5771
  }
5754
5772
  const { parent: i } = e;
5755
- i && !i.hasCheckedOptimisedAppear && ss(i);
5773
+ i && !i.hasCheckedOptimisedAppear && ls(i);
5756
5774
  }
5757
- function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: i, resetTransform: o }) {
5775
+ function cs({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: i, resetTransform: o }) {
5758
5776
  return class {
5759
5777
  constructor(r = {}, a = t == null ? void 0 : t()) {
5760
5778
  this.id = vu++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
@@ -5791,7 +5809,7 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5791
5809
  u = window.innerWidth;
5792
5810
  }), e(r, () => {
5793
5811
  const p = window.innerWidth;
5794
- p !== u && (u = p, this.root.updateBlockedByResize = !0, c && c(), c = yu(h, 250), mt.hasAnimatedSinceResize && (mt.hasAnimatedSinceResize = !1, this.nodes.forEach(ro)));
5812
+ p !== u && (u = p, this.root.updateBlockedByResize = !0, c && c(), c = yu(h, 250), mt.hasAnimatedSinceResize && (mt.hasAnimatedSinceResize = !1, this.nodes.forEach(ao)));
5795
5813
  });
5796
5814
  }
5797
5815
  a && this.root.registerSharedNode(a, this), this.options.animate !== !1 && d && (a || l) && this.addEventListener("didUpdate", ({ delta: c, hasLayoutChanged: u, hasRelativeLayoutChanged: h, layout: p }) => {
@@ -5799,7 +5817,7 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5799
5817
  this.target = void 0, this.relativeTarget = void 0;
5800
5818
  return;
5801
5819
  }
5802
- const g = this.options.transition || d.getDefaultTransition() || Iu, { onLayoutAnimationStart: y, onLayoutAnimationComplete: b } = d.getProps(), x = !this.targetLayout || !is(this.targetLayout, p), v = !u && h;
5820
+ const g = this.options.transition || d.getDefaultTransition() || Iu, { onLayoutAnimationStart: y, onLayoutAnimationComplete: b } = d.getProps(), x = !this.targetLayout || !rs(this.targetLayout, p), v = !u && h;
5803
5821
  if (this.options.layoutRoot || this.resumeFrom || v || u && (x || !this.currentAnimation)) {
5804
5822
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
5805
5823
  const w = {
@@ -5809,7 +5827,7 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5809
5827
  };
5810
5828
  (d.shouldReduceMotion || this.options.layoutRoot) && (w.delay = 0, w.type = !1), this.startAnimation(w), this.setAnimationOrigin(c, v);
5811
5829
  } else
5812
- u || ro(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
5830
+ u || ao(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
5813
5831
  this.targetLayout = p;
5814
5832
  });
5815
5833
  }
@@ -5844,7 +5862,7 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5844
5862
  this.options.onExitComplete && this.options.onExitComplete();
5845
5863
  return;
5846
5864
  }
5847
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && ss(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
5865
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && ls(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
5848
5866
  return;
5849
5867
  this.isLayoutDirty = !0;
5850
5868
  for (let c = 0; c < this.path.length; c++) {
@@ -5860,14 +5878,14 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5860
5878
  update() {
5861
5879
  if (this.updateScheduled = !1, this.isUpdateBlocked()) {
5862
5880
  const l = this.updateBlockedByResize;
5863
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), l && this.nodes.forEach(ku), this.nodes.forEach(io);
5881
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), l && this.nodes.forEach(ku), this.nodes.forEach(ro);
5864
5882
  return;
5865
5883
  }
5866
5884
  if (this.animationId <= this.animationCommitId) {
5867
- this.nodes.forEach(oo);
5885
+ this.nodes.forEach(so);
5868
5886
  return;
5869
5887
  }
5870
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Au), this.nodes.forEach(Du), this.nodes.forEach(wu), this.nodes.forEach(Su)) : this.nodes.forEach(oo), this.clearAllSnapshots();
5888
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Au), this.nodes.forEach(Du), this.nodes.forEach(wu), this.nodes.forEach(Su)) : this.nodes.forEach(so), this.clearAllSnapshots();
5871
5889
  const a = U.now();
5872
5890
  N.delta = le(0, 1e3 / 60, a - N.timestamp), N.timestamp = a, N.isProcessing = !0, It.update.process(N), It.preRender.process(N), It.render.process(N), N.isProcessing = !1;
5873
5891
  }
@@ -5918,7 +5936,7 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5918
5936
  resetTransform() {
5919
5937
  if (!o)
5920
5938
  return;
5921
- const r = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a = this.projectionDelta && !ns(this.projectionDelta), l = this.getTransformTemplate(), d = l ? l(this.latestValues, "") : void 0, c = d !== this.prevTransformTemplateValue;
5939
+ const r = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a = this.projectionDelta && !os(this.projectionDelta), l = this.getTransformTemplate(), d = l ? l(this.latestValues, "") : void 0, c = d !== this.prevTransformTemplateValue;
5922
5940
  r && this.instance && (a || xe(this.latestValues) || c) && (o(this.instance, d), this.shouldResetTransform = !1, this.scheduleRender());
5923
5941
  }
5924
5942
  measure(r = !0) {
@@ -5974,9 +5992,9 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5974
5992
  if (!xe(c.latestValues))
5975
5993
  continue;
5976
5994
  let u;
5977
- c.instance && (bn(c.latestValues) && c.updateSnapshot(), u = W(), te(u, c.measurePageBox())), Yi(a, c.latestValues, (l = c.snapshot) == null ? void 0 : l.layoutBox, u);
5995
+ c.instance && (bn(c.latestValues) && c.updateSnapshot(), u = W(), te(u, c.measurePageBox())), Zi(a, c.latestValues, (l = c.snapshot) == null ? void 0 : l.layoutBox, u);
5978
5996
  }
5979
- return xe(this.latestValues) && Yi(a, this.latestValues), a;
5997
+ return xe(this.latestValues) && Zi(a, this.latestValues), a;
5980
5998
  }
5981
5999
  setTargetDelta(r) {
5982
6000
  this.targetDelta = r, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -6006,10 +6024,10 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6006
6024
  return;
6007
6025
  this.resolvedRelativeTargetAt = N.timestamp;
6008
6026
  const h = this.getClosestProjectingParent();
6009
- h && this.linkedParentVersion !== h.layoutVersion && !h.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && h && h.layout ? this.createRelativeTarget(h, this.layout.layoutBox, h.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = W(), this.targetWithTransforms = W()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), ou(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : te(this.target, this.layout.layoutBox), $r(this.target, this.targetDelta)) : te(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && h && !!h.resumingFrom == !!this.resumingFrom && !h.options.layoutScroll && h.target && this.animationProgress !== 1 ? this.createRelativeTarget(h, this.target, h.target) : this.relativeParent = this.relativeTarget = void 0));
6027
+ h && this.linkedParentVersion !== h.layoutVersion && !h.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && h && h.layout ? this.createRelativeTarget(h, this.layout.layoutBox, h.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = W(), this.targetWithTransforms = W()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), ou(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : te(this.target, this.layout.layoutBox), Kr(this.target, this.targetDelta)) : te(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && h && !!h.resumingFrom == !!this.resumingFrom && !h.options.layoutScroll && h.target && this.animationProgress !== 1 ? this.createRelativeTarget(h, this.target, h.target) : this.relativeParent = this.relativeTarget = void 0));
6010
6028
  }
6011
6029
  getClosestProjectingParent() {
6012
- if (!(!this.parent || bn(this.parent.latestValues) || _r(this.parent.latestValues)))
6030
+ if (!(!this.parent || bn(this.parent.latestValues) || Ur(this.parent.latestValues)))
6013
6031
  return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
6014
6032
  }
6015
6033
  isProjecting() {
@@ -6038,7 +6056,7 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6038
6056
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
6039
6057
  return;
6040
6058
  }
6041
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Ni(this.prevProjectionDelta.x, this.projectionDelta.x), Ni(this.prevProjectionDelta.y, this.projectionDelta.y)), Ue(this.projectionDelta, this.layoutCorrected, p, this.latestValues), (this.treeScale.x !== u || this.treeScale.y !== h || !Qi(this.projectionDelta.x, this.prevProjectionDelta.x) || !Qi(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p));
6059
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : ($i(this.prevProjectionDelta.x, this.projectionDelta.x), $i(this.prevProjectionDelta.y, this.projectionDelta.y)), Ue(this.projectionDelta, this.layoutCorrected, p, this.latestValues), (this.treeScale.x !== u || this.treeScale.y !== h || !to(this.projectionDelta.x, this.prevProjectionDelta.x) || !to(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p));
6042
6060
  }
6043
6061
  hide() {
6044
6062
  this.isVisible = !1;
@@ -6065,7 +6083,7 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6065
6083
  let w;
6066
6084
  this.mixTargetDelta = (F) => {
6067
6085
  const C = F / 1e3;
6068
- so(u.x, r.x, C), so(u.y, r.y, C), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ct(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Ru(this.relativeTarget, this.relativeTargetOrigin, h, C), w && lu(this.relativeTarget, w) && (this.isProjectionDirty = !1), w || (w = W()), te(w, this.relativeTarget)), y && (this.animationValues = c, uu(c, d, this.latestValues, C, v, x)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = C;
6086
+ lo(u.x, r.x, C), lo(u.y, r.y, C), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ct(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Ru(this.relativeTarget, this.relativeTargetOrigin, h, C), w && lu(this.relativeTarget, w) && (this.isProjectionDirty = !1), w || (w = W()), te(w, this.relativeTarget)), y && (this.animationValues = c, uu(c, d, this.latestValues, C, v, x)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = C;
6069
6087
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
6070
6088
  }
6071
6089
  startAnimation(r) {
@@ -6098,7 +6116,7 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6098
6116
  const r = this.getLead();
6099
6117
  let { targetWithTransforms: a, target: l, layout: d, latestValues: c } = r;
6100
6118
  if (!(!a || !l || !d)) {
6101
- if (this !== r && this.layout && d && ls(this.options.animationType, this.layout.layoutBox, d.layoutBox)) {
6119
+ if (this !== r && this.layout && d && ds(this.options.animationType, this.layout.layoutBox, d.layoutBox)) {
6102
6120
  l = this.target || W();
6103
6121
  const u = K(this.layout.layoutBox.x);
6104
6122
  l.x.min = r.target.x.min, l.x.max = l.x.min + u;
@@ -6205,7 +6223,7 @@ function as({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6205
6223
  this.root.nodes.forEach((r) => {
6206
6224
  var a;
6207
6225
  return (a = r.currentAnimation) == null ? void 0 : a.stop();
6208
- }), this.root.nodes.forEach(io), this.root.sharedNodes.clear();
6226
+ }), this.root.nodes.forEach(ro), this.root.sharedNodes.clear();
6209
6227
  }
6210
6228
  };
6211
6229
  }
@@ -6225,7 +6243,7 @@ function Su(e) {
6225
6243
  else if (s === "x" || s === "y") {
6226
6244
  const u = s === "x" ? "y" : "x";
6227
6245
  wn(r ? t.measuredBox[u] : t.layoutBox[u], i[u]);
6228
- } else ls(s, t.layoutBox, i) && re((u) => {
6246
+ } else ds(s, t.layoutBox, i) && re((u) => {
6229
6247
  const h = r ? t.measuredBox[u] : t.layoutBox[u], p = K(i[u]);
6230
6248
  h.max = h.min + p, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[u].max = e.relativeTarget[u].min + p);
6231
6249
  });
@@ -6233,7 +6251,7 @@ function Su(e) {
6233
6251
  Ue(a, i, t.layoutBox);
6234
6252
  const l = Me();
6235
6253
  r ? Ue(l, e.applyTransform(o, !0), t.measuredBox) : Ue(l, i, t.layoutBox);
6236
- const d = !ns(a);
6254
+ const d = !os(a);
6237
6255
  let c = !1;
6238
6256
  if (!e.resumeFrom) {
6239
6257
  const u = e.getClosestProjectingParent();
@@ -6243,7 +6261,7 @@ function Su(e) {
6243
6261
  const g = e.options.layoutAnchor || void 0, y = W();
6244
6262
  Ct(y, t.layoutBox, h.layoutBox, g);
6245
6263
  const b = W();
6246
- Ct(b, i, p.layoutBox, g), is(y, b) || (c = !0), u.options.layoutRoot && (e.relativeTarget = b, e.relativeTargetOrigin = y, e.relativeParent = u);
6264
+ Ct(b, i, p.layoutBox, g), rs(y, b) || (c = !0), u.options.layoutRoot && (e.relativeTarget = b, e.relativeTargetOrigin = y, e.relativeParent = u);
6247
6265
  }
6248
6266
  }
6249
6267
  }
@@ -6270,13 +6288,13 @@ function Fu(e) {
6270
6288
  function Tu(e) {
6271
6289
  e.clearSnapshot();
6272
6290
  }
6273
- function io(e) {
6291
+ function ro(e) {
6274
6292
  e.clearMeasurements();
6275
6293
  }
6276
6294
  function ku(e) {
6277
6295
  e.isLayoutDirty = !0, e.updateLayout();
6278
6296
  }
6279
- function oo(e) {
6297
+ function so(e) {
6280
6298
  e.isLayoutDirty = !1;
6281
6299
  }
6282
6300
  function Au(e) {
@@ -6286,7 +6304,7 @@ function Du(e) {
6286
6304
  const { visualElement: t } = e.options;
6287
6305
  t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
6288
6306
  }
6289
- function ro(e) {
6307
+ function ao(e) {
6290
6308
  e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
6291
6309
  }
6292
6310
  function Eu(e) {
@@ -6301,14 +6319,14 @@ function Mu(e) {
6301
6319
  function Vu(e) {
6302
6320
  e.removeLeadSnapshot();
6303
6321
  }
6304
- function so(e, t, n) {
6322
+ function lo(e, t, n) {
6305
6323
  e.translate = I(t.translate, 0, n), e.scale = I(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
6306
6324
  }
6307
- function ao(e, t, n, i) {
6325
+ function co(e, t, n, i) {
6308
6326
  e.min = I(t.min, n.min, i), e.max = I(t.max, n.max, i);
6309
6327
  }
6310
6328
  function Ru(e, t, n, i) {
6311
- ao(e.x, t.x, n.x, i), ao(e.y, t.y, n.y, i);
6329
+ co(e.x, t.x, n.x, i), co(e.y, t.y, n.y, i);
6312
6330
  }
6313
6331
  function Lu(e) {
6314
6332
  return e.animationValues && e.animationValues.opacityExit !== void 0;
@@ -6316,21 +6334,21 @@ function Lu(e) {
6316
6334
  const Iu = {
6317
6335
  duration: 0.45,
6318
6336
  ease: [0.4, 0, 0.1, 1]
6319
- }, lo = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), co = lo("applewebkit/") && !lo("chrome/") ? Math.round : ee;
6320
- function uo(e) {
6321
- e.min = co(e.min), e.max = co(e.max);
6337
+ }, uo = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), fo = uo("applewebkit/") && !uo("chrome/") ? Math.round : ee;
6338
+ function ho(e) {
6339
+ e.min = fo(e.min), e.max = fo(e.max);
6322
6340
  }
6323
6341
  function Bu(e) {
6324
- uo(e.x), uo(e.y);
6342
+ ho(e.x), ho(e.y);
6325
6343
  }
6326
- function ls(e, t, n) {
6327
- return e === "position" || e === "preserve-aspect" && !iu(Ji(t), Ji(n), 0.2);
6344
+ function ds(e, t, n) {
6345
+ return e === "position" || e === "preserve-aspect" && !iu(eo(t), eo(n), 0.2);
6328
6346
  }
6329
6347
  function zu(e) {
6330
6348
  var t;
6331
6349
  return e !== e.root && ((t = e.scroll) == null ? void 0 : t.wasRoot);
6332
6350
  }
6333
- const Ou = as({
6351
+ const Ou = cs({
6334
6352
  attachResizeListener: (e, t) => Ze(e, "resize", t),
6335
6353
  measureScroll: () => {
6336
6354
  var e, t;
@@ -6342,7 +6360,7 @@ const Ou = as({
6342
6360
  checkIsScrollRoot: () => !0
6343
6361
  }), Ut = {
6344
6362
  current: void 0
6345
- }, cs = as({
6363
+ }, us = cs({
6346
6364
  measureScroll: (e) => ({
6347
6365
  x: e.scrollLeft,
6348
6366
  y: e.scrollTop
@@ -6363,7 +6381,7 @@ const Ou = as({
6363
6381
  isStatic: !1,
6364
6382
  reducedMotion: "never"
6365
6383
  });
6366
- function fo(e, t) {
6384
+ function po(e, t) {
6367
6385
  if (typeof e == "function")
6368
6386
  return e(t);
6369
6387
  e != null && (e.current = t);
@@ -6372,14 +6390,14 @@ function ju(...e) {
6372
6390
  return (t) => {
6373
6391
  let n = !1;
6374
6392
  const i = e.map((o) => {
6375
- const s = fo(o, t);
6393
+ const s = po(o, t);
6376
6394
  return !n && typeof s == "function" && (n = !0), s;
6377
6395
  });
6378
6396
  if (n)
6379
6397
  return () => {
6380
6398
  for (let o = 0; o < i.length; o++) {
6381
6399
  const s = i[o];
6382
- typeof s == "function" ? s() : fo(e[o], null);
6400
+ typeof s == "function" ? s() : po(e[o], null);
6383
6401
  }
6384
6402
  };
6385
6403
  };
@@ -6463,7 +6481,7 @@ const _u = ({ children: e, initial: t, isPresent: n, onExitComplete: i, custom:
6463
6481
  function $u() {
6464
6482
  return /* @__PURE__ */ new Map();
6465
6483
  }
6466
- function ds(e = !0) {
6484
+ function fs(e = !0) {
6467
6485
  const t = $(Tt);
6468
6486
  if (t === null)
6469
6487
  return [!0, null];
@@ -6472,19 +6490,19 @@ function ds(e = !0) {
6472
6490
  if (e)
6473
6491
  return o(s);
6474
6492
  }, [e]);
6475
- const r = Po(() => e && i && i(s), [s, i, e]);
6493
+ const r = Vo(() => e && i && i(s), [s, i, e]);
6476
6494
  return !n && i ? [!1, r] : [!0];
6477
6495
  }
6478
6496
  const rt = (e) => e.key || "";
6479
- function ho(e) {
6497
+ function mo(e) {
6480
6498
  const t = [];
6481
- return ks.forEach(e, (n) => {
6482
- As(n) && t.push(n);
6499
+ return Ds.forEach(e, (n) => {
6500
+ Es(n) && t.push(n);
6483
6501
  }), t;
6484
6502
  }
6485
- const po = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, presenceAffectsLayout: o = !0, mode: s = "sync", propagate: r = !1, anchorX: a = "left", anchorY: l = "top", root: d }) => {
6486
- const [c, u] = ds(r), h = Fe(() => ho(e), [e]), p = r && !c ? [] : h.map(rt), g = J(!0), y = J(h), b = En(() => /* @__PURE__ */ new Map()), x = J(/* @__PURE__ */ new Set()), [v, w] = ii(h), [F, C] = ii(h);
6487
- zo(() => {
6503
+ const go = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, presenceAffectsLayout: o = !0, mode: s = "sync", propagate: r = !1, anchorX: a = "left", anchorY: l = "top", root: d }) => {
6504
+ const [c, u] = fs(r), h = Fe(() => mo(e), [e]), p = r && !c ? [] : h.map(rt), g = J(!0), y = J(h), b = En(() => /* @__PURE__ */ new Map()), x = J(/* @__PURE__ */ new Set()), [v, w] = ii(h), [F, C] = ii(h);
6505
+ jo(() => {
6488
6506
  g.current = !1, y.current = h;
6489
6507
  for (let E = 0; E < F.length; E++) {
6490
6508
  const T = rt(F[E]);
@@ -6498,7 +6516,7 @@ const po = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, presen
6498
6516
  const k = F[T], M = rt(k);
6499
6517
  p.includes(M) || (E.splice(T, 0, k), A.push(k));
6500
6518
  }
6501
- return s === "wait" && A.length && (E = A), C(ho(E)), w(h), null;
6519
+ return s === "wait" && A.length && (E = A), C(mo(E)), w(h), null;
6502
6520
  }
6503
6521
  process.env.NODE_ENV !== "production" && s === "wait" && F.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
6504
6522
  const { forceRender: V } = $(Dn);
@@ -6517,7 +6535,7 @@ const po = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, presen
6517
6535
  };
6518
6536
  return f(_u, { isPresent: k, initial: !g.current || n ? void 0 : !1, custom: t, presenceAffectsLayout: o, mode: s, root: d, onExitComplete: k ? void 0 : M, anchorX: a, anchorY: l, children: E }, T);
6519
6537
  }) });
6520
- }, us = Be({ strict: !1 }), mo = {
6538
+ }, hs = Be({ strict: !1 }), yo = {
6521
6539
  animation: [
6522
6540
  "animate",
6523
6541
  "variants",
@@ -6537,28 +6555,28 @@ const po = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, presen
6537
6555
  inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
6538
6556
  layout: ["layout", "layoutId"]
6539
6557
  };
6540
- let go = !1;
6558
+ let bo = !1;
6541
6559
  function Uu() {
6542
- if (go)
6560
+ if (bo)
6543
6561
  return;
6544
6562
  const e = {};
6545
- for (const t in mo)
6563
+ for (const t in yo)
6546
6564
  e[t] = {
6547
- isEnabled: (n) => mo[t].some((i) => !!n[i])
6565
+ isEnabled: (n) => yo[t].some((i) => !!n[i])
6548
6566
  };
6549
- Wr(e), go = !0;
6567
+ Nr(e), bo = !0;
6550
6568
  }
6551
- function fs() {
6569
+ function ps() {
6552
6570
  return Uu(), Ed();
6553
6571
  }
6554
6572
  function Ku(e) {
6555
- const t = fs();
6573
+ const t = ps();
6556
6574
  for (const n in e)
6557
6575
  t[n] = {
6558
6576
  ...t[n],
6559
6577
  ...e[n]
6560
6578
  };
6561
- Wr(t);
6579
+ Nr(t);
6562
6580
  }
6563
6581
  const Gu = /* @__PURE__ */ new Set([
6564
6582
  "animate",
@@ -6596,9 +6614,9 @@ const Gu = /* @__PURE__ */ new Set([
6596
6614
  function Ft(e) {
6597
6615
  return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Gu.has(e);
6598
6616
  }
6599
- let hs = (e) => !Ft(e);
6617
+ let ms = (e) => !Ft(e);
6600
6618
  function Yu(e) {
6601
- typeof e == "function" && (hs = (t) => t.startsWith("on") ? !Ft(t) : e(t));
6619
+ typeof e == "function" && (ms = (t) => t.startsWith("on") ? !Ft(t) : e(t));
6602
6620
  }
6603
6621
  try {
6604
6622
  Yu(require("@emotion/is-prop-valid").default);
@@ -6607,7 +6625,7 @@ try {
6607
6625
  function Xu(e, t, n) {
6608
6626
  const i = {};
6609
6627
  for (const o in e)
6610
- o === "values" && typeof e.values == "object" || _(e[o]) || (hs(o) || n === !0 && Ft(o) || !t && !Ft(o) || // If trying to use native HTML drag events, forward drag listeners
6628
+ o === "values" && typeof e.values == "object" || _(e[o]) || (ms(o) || n === !0 && Ft(o) || !t && !Ft(o) || // If trying to use native HTML drag events, forward drag listeners
6611
6629
  e.draggable && o.startsWith("onDrag")) && (i[o] = e[o]);
6612
6630
  return i;
6613
6631
  }
@@ -6624,9 +6642,9 @@ function Zu(e, t) {
6624
6642
  }
6625
6643
  function qu(e) {
6626
6644
  const { initial: t, animate: n } = Zu(e, $(Et));
6627
- return Fe(() => ({ initial: t, animate: n }), [yo(t), yo(n)]);
6645
+ return Fe(() => ({ initial: t, animate: n }), [xo(t), xo(n)]);
6628
6646
  }
6629
- function yo(e) {
6647
+ function xo(e) {
6630
6648
  return Array.isArray(e) ? e.join(" ") : e;
6631
6649
  }
6632
6650
  const ti = () => ({
@@ -6635,9 +6653,9 @@ const ti = () => ({
6635
6653
  transformOrigin: {},
6636
6654
  vars: {}
6637
6655
  });
6638
- function ps(e, t, n) {
6656
+ function gs(e, t, n) {
6639
6657
  for (const i in t)
6640
- !_(t[i]) && !Gr(i, n) && (e[i] = t[i]);
6658
+ !_(t[i]) && !Xr(i, n) && (e[i] = t[i]);
6641
6659
  }
6642
6660
  function Ju({ transformTemplate: e }, t) {
6643
6661
  return Fe(() => {
@@ -6647,27 +6665,27 @@ function Ju({ transformTemplate: e }, t) {
6647
6665
  }
6648
6666
  function Qu(e, t) {
6649
6667
  const n = e.style || {}, i = {};
6650
- return ps(i, n, e), Object.assign(i, Ju(e, t)), i;
6668
+ return gs(i, n, e), Object.assign(i, Ju(e, t)), i;
6651
6669
  }
6652
6670
  function ef(e, t) {
6653
6671
  const n = {}, i = Qu(e, t);
6654
6672
  return e.drag && e.dragListener !== !1 && (n.draggable = !1, i.userSelect = i.WebkitUserSelect = i.WebkitTouchCallout = "none", i.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = i, n;
6655
6673
  }
6656
- const ms = () => ({
6674
+ const ys = () => ({
6657
6675
  ...ti(),
6658
6676
  attrs: {}
6659
6677
  });
6660
6678
  function tf(e, t, n, i) {
6661
6679
  const o = Fe(() => {
6662
- const s = ms();
6663
- return Yr(s, t, Zr(i), e.transformTemplate, e.style), {
6680
+ const s = ys();
6681
+ return Zr(s, t, Jr(i), e.transformTemplate, e.style), {
6664
6682
  ...s.attrs,
6665
6683
  style: { ...s.style }
6666
6684
  };
6667
6685
  }, [t]);
6668
6686
  if (e.style) {
6669
6687
  const s = {};
6670
- ps(s, e.style, e), o.style = { ...s, ...o.style };
6688
+ gs(s, e.style, e), o.style = { ...s, ...o.style };
6671
6689
  }
6672
6690
  return o;
6673
6691
  }
@@ -6719,8 +6737,8 @@ function ni(e) {
6719
6737
  );
6720
6738
  }
6721
6739
  function of(e, t, n, { latestValues: i }, o, s = !1, r) {
6722
- const l = (r ?? ni(e) ? tf : ef)(t, i, o, e), d = Xu(t, typeof e == "string", s), c = e !== Mo ? { ...d, ...l, ref: n } : {}, { children: u } = t, h = Fe(() => _(u) ? u.get() : u, [u]);
6723
- return Ds(e, {
6740
+ const l = (r ?? ni(e) ? tf : ef)(t, i, o, e), d = Xu(t, typeof e == "string", s), c = e !== Ro ? { ...d, ...l, ref: n } : {}, { children: u } = t, h = Fe(() => _(u) ? u.get() : u, [u]);
6741
+ return Ps(e, {
6724
6742
  ...c,
6725
6743
  children: h
6726
6744
  });
@@ -6736,7 +6754,7 @@ function sf(e, t, n, i) {
6736
6754
  for (const h in s)
6737
6755
  o[h] = pt(s[h]);
6738
6756
  let { initial: r, animate: a } = e;
6739
- const l = Dt(e), d = Or(e);
6757
+ const l = Dt(e), d = Wr(e);
6740
6758
  t && d && !l && e.inherit !== !1 && (r === void 0 && (r = t.initial), a === void 0 && (a = t.animate));
6741
6759
  let c = n ? n.initial === !1 : !1;
6742
6760
  c = c || r === !1;
@@ -6762,15 +6780,15 @@ function sf(e, t, n, i) {
6762
6780
  }
6763
6781
  return o;
6764
6782
  }
6765
- const gs = (e) => (t, n) => {
6783
+ const bs = (e) => (t, n) => {
6766
6784
  const i = $(Et), o = $(Tt), s = () => rf(e, t, i, o);
6767
6785
  return n ? s() : En(s);
6768
- }, af = /* @__PURE__ */ gs({
6786
+ }, af = /* @__PURE__ */ bs({
6769
6787
  scrapeMotionValuesFromProps: Qn,
6770
6788
  createRenderState: ti
6771
- }), lf = /* @__PURE__ */ gs({
6772
- scrapeMotionValuesFromProps: qr,
6773
- createRenderState: ms
6789
+ }), lf = /* @__PURE__ */ bs({
6790
+ scrapeMotionValuesFromProps: Qr,
6791
+ createRenderState: ys
6774
6792
  }), cf = Symbol.for("motionComponentSymbol");
6775
6793
  function df(e, t, n) {
6776
6794
  const i = J(n);
@@ -6778,7 +6796,7 @@ function df(e, t, n) {
6778
6796
  i.current = n;
6779
6797
  });
6780
6798
  const o = J(null);
6781
- return Po((s) => {
6799
+ return Vo((s) => {
6782
6800
  var a;
6783
6801
  s && ((a = e.onMount) == null || a.call(e, s));
6784
6802
  const r = i.current;
@@ -6791,13 +6809,13 @@ function df(e, t, n) {
6791
6809
  t && (s ? t.mount(s) : t.unmount());
6792
6810
  }, [t]);
6793
6811
  }
6794
- const ys = Be({});
6812
+ const xs = Be({});
6795
6813
  function Ae(e) {
6796
6814
  return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
6797
6815
  }
6798
6816
  function uf(e, t, n, i, o, s) {
6799
6817
  var w, F;
6800
- const { visualElement: r } = $(Et), a = $(us), l = $(Tt), d = $(ei), c = d.reducedMotion, u = d.skipAnimations, h = J(null), p = J(!1);
6818
+ const { visualElement: r } = $(Et), a = $(hs), l = $(Tt), d = $(ei), c = d.reducedMotion, u = d.skipAnimations, h = J(null), p = J(!1);
6801
6819
  i = i || a.renderer, !h.current && i && (h.current = i(e, {
6802
6820
  visualState: t,
6803
6821
  parent: r,
@@ -6808,14 +6826,14 @@ function uf(e, t, n, i, o, s) {
6808
6826
  skipAnimations: u,
6809
6827
  isSVG: s
6810
6828
  }), p.current && h.current && (h.current.manuallyAnimateOnMount = !0));
6811
- const g = h.current, y = $(ys);
6829
+ const g = h.current, y = $(xs);
6812
6830
  g && !g.projection && o && (g.type === "html" || g.type === "svg") && ff(h.current, n, o, y);
6813
6831
  const b = J(!1);
6814
6832
  kn(() => {
6815
6833
  g && b.current && g.update(n, l);
6816
6834
  });
6817
- const x = n[Tr], v = J(!!x && typeof window < "u" && !((w = window.MotionHandoffIsComplete) != null && w.call(window, x)) && ((F = window.MotionHasOptimisedAnimation) == null ? void 0 : F.call(window, x)));
6818
- return zo(() => {
6835
+ const x = n[Ar], v = J(!!x && typeof window < "u" && !((w = window.MotionHandoffIsComplete) != null && w.call(window, x)) && ((F = window.MotionHasOptimisedAnimation) == null ? void 0 : F.call(window, x)));
6836
+ return jo(() => {
6819
6837
  p.current = !0, g && (b.current = !0, window.MotionIsMounted = !0, g.updateFeatures(), g.scheduleRenderMicrotask(), v.current && g.animationState && g.animationState.animateChanges());
6820
6838
  }), Fn(() => {
6821
6839
  g && (!v.current && g.animationState && g.animationState.animateChanges(), v.current && (queueMicrotask(() => {
@@ -6826,7 +6844,7 @@ function uf(e, t, n, i, o, s) {
6826
6844
  }
6827
6845
  function ff(e, t, n, i) {
6828
6846
  const { layoutId: o, layout: s, drag: r, dragConstraints: a, layoutScroll: l, layoutRoot: d, layoutAnchor: c, layoutCrossfade: u } = t;
6829
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : bs(e.parent)), e.projection.setOptions({
6847
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : vs(e.parent)), e.projection.setOptions({
6830
6848
  layoutId: o,
6831
6849
  layout: s,
6832
6850
  alwaysMeasureLayout: !!r || a && Ae(a),
@@ -6846,9 +6864,9 @@ function ff(e, t, n, i) {
6846
6864
  layoutAnchor: c
6847
6865
  });
6848
6866
  }
6849
- function bs(e) {
6867
+ function vs(e) {
6850
6868
  if (e)
6851
- return e.options.allowProjection !== !1 ? e.projection : bs(e.parent);
6869
+ return e.options.allowProjection !== !1 ? e.projection : vs(e.parent);
6852
6870
  }
6853
6871
  function Kt(e, { forwardMotionProps: t = !1, type: n } = {}, i, o) {
6854
6872
  i && Ku(i);
@@ -6868,7 +6886,7 @@ function Kt(e, { forwardMotionProps: t = !1, type: n } = {}, i, o) {
6868
6886
  return S(Et.Provider, { value: g, children: [u && g.visualElement ? f(u, { visualElement: g.visualElement, ...h }) : null, of(e, d, df(y, g.visualElement, c), y, p, t, s)] });
6869
6887
  }
6870
6888
  a.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
6871
- const l = Es(a);
6889
+ const l = Ms(a);
6872
6890
  return l[cf] = e, l;
6873
6891
  }
6874
6892
  function hf({ layoutId: e }) {
@@ -6876,14 +6894,14 @@ function hf({ layoutId: e }) {
6876
6894
  return t && e !== void 0 ? t + "-" + e : e;
6877
6895
  }
6878
6896
  function pf(e, t) {
6879
- const n = $(us).strict;
6897
+ const n = $(hs).strict;
6880
6898
  if (process.env.NODE_ENV !== "production" && t && n) {
6881
6899
  const i = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
6882
6900
  e.ignoreStrict ? ze(!1, i, "lazy-strict-mode") : ce(!1, i, "lazy-strict-mode");
6883
6901
  }
6884
6902
  }
6885
6903
  function mf(e) {
6886
- const t = fs(), { drag: n, layout: i } = t;
6904
+ const t = ps(), { drag: n, layout: i } = t;
6887
6905
  if (!n && !i)
6888
6906
  return {};
6889
6907
  const o = { ...n, ...i };
@@ -6906,7 +6924,7 @@ function gf(e, t) {
6906
6924
  });
6907
6925
  }
6908
6926
  const yf = (e, t) => t.isSVG ?? ni(e) ? new Kd(t) : new Wd(t, {
6909
- allowProjection: e !== Mo
6927
+ allowProjection: e !== Ro
6910
6928
  });
6911
6929
  class bf extends me {
6912
6930
  /**
@@ -6997,13 +7015,13 @@ const Sf = (e) => (t) => Yn(t) && e(t, tt(t));
6997
7015
  function Ke(e, t, n, i) {
6998
7016
  return Ze(e, t, Sf(n), i);
6999
7017
  }
7000
- const xs = ({ current: e }) => e ? e.ownerDocument.defaultView : null, bo = (e, t) => Math.abs(e - t);
7018
+ const ws = ({ current: e }) => e ? e.ownerDocument.defaultView : null, vo = (e, t) => Math.abs(e - t);
7001
7019
  function Cf(e, t) {
7002
- const n = bo(e.x, t.x), i = bo(e.y, t.y);
7020
+ const n = vo(e.x, t.x), i = vo(e.y, t.y);
7003
7021
  return Math.sqrt(n ** 2 + i ** 2);
7004
7022
  }
7005
- const xo = /* @__PURE__ */ new Set(["auto", "scroll"]);
7006
- class vs {
7023
+ const wo = /* @__PURE__ */ new Set(["auto", "scroll"]);
7024
+ class Ss {
7007
7025
  constructor(t, n, { transformPagePoint: i, contextWindow: o = window, dragSnapToOrigin: s = !1, distanceThreshold: r = 3, element: a } = {}) {
7008
7026
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (p) => {
7009
7027
  this.handleScroll(p.target);
@@ -7044,7 +7062,7 @@ class vs {
7044
7062
  let n = t.parentElement;
7045
7063
  for (; n; ) {
7046
7064
  const i = getComputedStyle(n);
7047
- (xo.has(i.overflowX) || xo.has(i.overflowY)) && this.scrollPositions.set(n, {
7065
+ (wo.has(i.overflowX) || wo.has(i.overflowY)) && this.scrollPositions.set(n, {
7048
7066
  x: n.scrollLeft,
7049
7067
  y: n.scrollTop
7050
7068
  }), n = n.parentElement;
@@ -7086,28 +7104,28 @@ class vs {
7086
7104
  function st(e, t) {
7087
7105
  return t ? { point: t(e.point) } : e;
7088
7106
  }
7089
- function vo(e, t) {
7107
+ function So(e, t) {
7090
7108
  return { x: e.x - t.x, y: e.y - t.y };
7091
7109
  }
7092
7110
  function Gt({ point: e }, t) {
7093
7111
  return {
7094
7112
  point: e,
7095
- delta: vo(e, ws(t)),
7096
- offset: vo(e, Ff(t)),
7113
+ delta: So(e, Cs(t)),
7114
+ offset: So(e, Ff(t)),
7097
7115
  velocity: Tf(t, 0.1)
7098
7116
  };
7099
7117
  }
7100
7118
  function Ff(e) {
7101
7119
  return e[0];
7102
7120
  }
7103
- function ws(e) {
7121
+ function Cs(e) {
7104
7122
  return e[e.length - 1];
7105
7123
  }
7106
7124
  function Tf(e, t) {
7107
7125
  if (e.length < 2)
7108
7126
  return { x: 0, y: 0 };
7109
7127
  let n = e.length - 1, i = null;
7110
- const o = ws(e);
7128
+ const o = Cs(e);
7111
7129
  for (; n >= 0 && (i = e[n], !(o.timestamp - i.timestamp > /* @__PURE__ */ G(t))); )
7112
7130
  n--;
7113
7131
  if (!i)
@@ -7125,7 +7143,7 @@ function Tf(e, t) {
7125
7143
  function kf(e, { min: t, max: n }, i) {
7126
7144
  return t !== void 0 && e < t ? e = i ? I(t, e, i.min) : Math.max(e, t) : n !== void 0 && e > n && (e = i ? I(n, e, i.max) : Math.min(e, n)), e;
7127
7145
  }
7128
- function wo(e, t, n) {
7146
+ function Co(e, t, n) {
7129
7147
  return {
7130
7148
  min: t !== void 0 ? e.min + t : void 0,
7131
7149
  max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
@@ -7133,18 +7151,18 @@ function wo(e, t, n) {
7133
7151
  }
7134
7152
  function Af(e, { top: t, left: n, bottom: i, right: o }) {
7135
7153
  return {
7136
- x: wo(e.x, n, o),
7137
- y: wo(e.y, t, i)
7154
+ x: Co(e.x, n, o),
7155
+ y: Co(e.y, t, i)
7138
7156
  };
7139
7157
  }
7140
- function So(e, t) {
7158
+ function Fo(e, t) {
7141
7159
  let n = t.min - e.min, i = t.max - e.max;
7142
7160
  return t.max - t.min < e.max - e.min && ([n, i] = [i, n]), { min: n, max: i };
7143
7161
  }
7144
7162
  function Df(e, t) {
7145
7163
  return {
7146
- x: So(e.x, t.x),
7147
- y: So(e.y, t.y)
7164
+ x: Fo(e.x, t.x),
7165
+ y: Fo(e.y, t.y)
7148
7166
  };
7149
7167
  }
7150
7168
  function Ef(e, t) {
@@ -7159,17 +7177,17 @@ function Pf(e, t) {
7159
7177
  const Sn = 0.35;
7160
7178
  function Mf(e = Sn) {
7161
7179
  return e === !1 ? e = 0 : e === !0 && (e = Sn), {
7162
- x: Co(e, "left", "right"),
7163
- y: Co(e, "top", "bottom")
7180
+ x: To(e, "left", "right"),
7181
+ y: To(e, "top", "bottom")
7164
7182
  };
7165
7183
  }
7166
- function Co(e, t, n) {
7184
+ function To(e, t, n) {
7167
7185
  return {
7168
- min: Fo(e, t),
7169
- max: Fo(e, n)
7186
+ min: ko(e, t),
7187
+ max: ko(e, n)
7170
7188
  };
7171
7189
  }
7172
- function Fo(e, t) {
7190
+ function ko(e, t) {
7173
7191
  return typeof e == "number" ? e : e[t] || 0;
7174
7192
  }
7175
7193
  const Vf = /* @__PURE__ */ new WeakMap();
@@ -7217,7 +7235,7 @@ class Rf {
7217
7235
  const { dragSnapToOrigin: u } = this.getProps();
7218
7236
  (u || this.constraints) && this.startAnimation({ x: 0, y: 0 });
7219
7237
  }, { dragSnapToOrigin: c } = this.getProps();
7220
- this.panSession = new vs(t, {
7238
+ this.panSession = new Ss(t, {
7221
7239
  onSessionStart: s,
7222
7240
  onStart: r,
7223
7241
  onMove: a,
@@ -7227,7 +7245,7 @@ class Rf {
7227
7245
  transformPagePoint: this.visualElement.getTransformPagePoint(),
7228
7246
  dragSnapToOrigin: c,
7229
7247
  distanceThreshold: i,
7230
- contextWindow: xs(this.visualElement),
7248
+ contextWindow: ws(this.visualElement),
7231
7249
  element: this.visualElement.current
7232
7250
  });
7233
7251
  }
@@ -7290,7 +7308,7 @@ class Rf {
7290
7308
  let r = Df(o.layout.layoutBox, s);
7291
7309
  if (n) {
7292
7310
  const a = n(Md(r));
7293
- this.hasMutatedConstraints = !!a, a && (r = Nr(a));
7311
+ this.hasMutatedConstraints = !!a, a && (r = $r(a));
7294
7312
  }
7295
7313
  return r;
7296
7314
  }
@@ -7409,7 +7427,7 @@ class Rf {
7409
7427
  };
7410
7428
  }
7411
7429
  }
7412
- function To(e) {
7430
+ function Ao(e) {
7413
7431
  let t = !0;
7414
7432
  return () => {
7415
7433
  if (t) {
@@ -7420,7 +7438,7 @@ function To(e) {
7420
7438
  };
7421
7439
  }
7422
7440
  function Lf(e, t, n) {
7423
- const i = Pi(e, To(n)), o = Pi(t, To(n));
7441
+ const i = Vi(e, Ao(n)), o = Vi(t, Ao(n));
7424
7442
  return () => {
7425
7443
  i(), o();
7426
7444
  };
@@ -7456,9 +7474,9 @@ class zf extends me {
7456
7474
  super(...arguments), this.removePointerDownListener = ee;
7457
7475
  }
7458
7476
  onPointerDown(t) {
7459
- this.session = new vs(t, this.createPanHandlers(), {
7477
+ this.session = new Ss(t, this.createPanHandlers(), {
7460
7478
  transformPagePoint: this.node.getTransformPagePoint(),
7461
- contextWindow: xs(this.node)
7479
+ contextWindow: ws(this.node)
7462
7480
  });
7463
7481
  }
7464
7482
  createPanHandlers() {
@@ -7483,7 +7501,7 @@ class zf extends me {
7483
7501
  }
7484
7502
  }
7485
7503
  let Xt = !1;
7486
- class Of extends Ps {
7504
+ class Of extends Vs {
7487
7505
  /**
7488
7506
  * This only mounts projection nodes for components that
7489
7507
  * need measuring, we might want to do it for all components
@@ -7527,9 +7545,9 @@ class Of extends Ps {
7527
7545
  return null;
7528
7546
  }
7529
7547
  }
7530
- function Ss(e) {
7531
- const [t, n] = ds(), i = $(Dn);
7532
- return f(Of, { ...e, layoutGroup: i, switchLayoutGroup: $(ys), isPresent: t, safeToRemove: n });
7548
+ function Fs(e) {
7549
+ const [t, n] = fs(), i = $(Dn);
7550
+ return f(Of, { ...e, layoutGroup: i, switchLayoutGroup: $(xs), isPresent: t, safeToRemove: n });
7533
7551
  }
7534
7552
  const jf = {
7535
7553
  pan: {
@@ -7537,11 +7555,11 @@ const jf = {
7537
7555
  },
7538
7556
  drag: {
7539
7557
  Feature: Bf,
7540
- ProjectionNode: cs,
7541
- MeasureLayout: Ss
7558
+ ProjectionNode: us,
7559
+ MeasureLayout: Fs
7542
7560
  }
7543
7561
  };
7544
- function ko(e, t, n) {
7562
+ function Do(e, t, n) {
7545
7563
  const { props: i } = e;
7546
7564
  e.animationState && i.whileHover && e.animationState.setActive("whileHover", n === "Start");
7547
7565
  const o = "onHover" + n, s = i[o];
@@ -7550,7 +7568,7 @@ function ko(e, t, n) {
7550
7568
  class Wf extends me {
7551
7569
  mount() {
7552
7570
  const { current: t } = this.node;
7553
- t && (this.unmount = ad(t, (n, i) => (ko(this.node, i, "Start"), (o) => ko(this.node, o, "End"))));
7571
+ t && (this.unmount = ad(t, (n, i) => (Do(this.node, i, "Start"), (o) => Do(this.node, o, "End"))));
7554
7572
  }
7555
7573
  unmount() {
7556
7574
  }
@@ -7577,7 +7595,7 @@ class Hf extends me {
7577
7595
  unmount() {
7578
7596
  }
7579
7597
  }
7580
- function Ao(e, t, n) {
7598
+ function Eo(e, t, n) {
7581
7599
  const { props: i } = e;
7582
7600
  if (e.current instanceof HTMLButtonElement && e.current.disabled)
7583
7601
  return;
@@ -7591,7 +7609,7 @@ class Nf extends me {
7591
7609
  if (!t)
7592
7610
  return;
7593
7611
  const { globalTapTarget: n, propagate: i } = this.node.props;
7594
- this.unmount = hd(t, (o, s) => (Ao(this.node, s, "Start"), (r, { success: a }) => Ao(this.node, r, a ? "End" : "Cancel")), {
7612
+ this.unmount = hd(t, (o, s) => (Eo(this.node, s, "Start"), (r, { success: a }) => Eo(this.node, r, a ? "End" : "Cancel")), {
7595
7613
  useGlobalTarget: n,
7596
7614
  stopPropagation: (i == null ? void 0 : i.tap) === !1
7597
7615
  });
@@ -7674,15 +7692,15 @@ const Zf = {
7674
7692
  }
7675
7693
  }, qf = {
7676
7694
  layout: {
7677
- ProjectionNode: cs,
7678
- MeasureLayout: Ss
7695
+ ProjectionNode: us,
7696
+ MeasureLayout: Fs
7679
7697
  }
7680
7698
  }, Jf = {
7681
7699
  ...wf,
7682
7700
  ...Zf,
7683
7701
  ...jf,
7684
7702
  ...qf
7685
- }, ke = /* @__PURE__ */ gf(Jf, yf), Cs = [0, 0, 0.2, 1], Qf = [0.4, 0, 1, 1], eh = [0.22, 1, 0.36, 1], th = {
7703
+ }, ke = /* @__PURE__ */ gf(Jf, yf), Ts = [0, 0, 0.2, 1], Qf = [0.4, 0, 1, 1], eh = [0.22, 1, 0.36, 1], th = {
7686
7704
  hidden: { opacity: 0, y: -8, scaleY: 0.96, transformOrigin: "top" },
7687
7705
  visible: { opacity: 1, y: 0, scaleY: 1, transformOrigin: "top", transition: { duration: 0.22, ease: eh } },
7688
7706
  exit: { opacity: 0, y: -6, scaleY: 0.97, transformOrigin: "top", transition: { duration: 0.16, ease: Qf } }
@@ -7691,10 +7709,10 @@ const Zf = {
7691
7709
  visible: { transition: { staggerChildren: 0.045, delayChildren: 0.06 } }
7692
7710
  }, ih = {
7693
7711
  hidden: { opacity: 0, x: -10 },
7694
- visible: { opacity: 1, x: 0, transition: { duration: 0.2, ease: Cs } }
7712
+ visible: { opacity: 1, x: 0, transition: { duration: 0.2, ease: Ts } }
7695
7713
  }, oh = {
7696
7714
  hidden: { opacity: 0, y: 10 },
7697
- visible: { opacity: 1, y: 0, transition: { duration: 0.22, ease: Cs, delay: 0.18 } }
7715
+ visible: { opacity: 1, y: 0, transition: { duration: 0.22, ease: Ts, delay: 0.18 } }
7698
7716
  }, rh = () => /* @__PURE__ */ S(
7699
7717
  "svg",
7700
7718
  {
@@ -7888,7 +7906,7 @@ function Hh({
7888
7906
  "aria-label": y ? "Close menu" : "Open menu",
7889
7907
  "aria-expanded": y,
7890
7908
  style: { flexShrink: 0, position: "relative", width: 32, height: 32 },
7891
- children: /* @__PURE__ */ f(po, { mode: "wait", initial: !1, children: y ? /* @__PURE__ */ f(
7909
+ children: /* @__PURE__ */ f(go, { mode: "wait", initial: !1, children: y ? /* @__PURE__ */ f(
7892
7910
  ke.span,
7893
7911
  {
7894
7912
  initial: { opacity: 0, rotate: -45, scale: 0.7 },
@@ -7916,7 +7934,7 @@ function Hh({
7916
7934
  ]
7917
7935
  }
7918
7936
  ),
7919
- /* @__PURE__ */ f(po, { children: y && /* @__PURE__ */ f(
7937
+ /* @__PURE__ */ f(go, { children: y && /* @__PURE__ */ f(
7920
7938
  ke.div,
7921
7939
  {
7922
7940
  variants: th,
@@ -8288,7 +8306,7 @@ function $h({
8288
8306
  }
8289
8307
  );
8290
8308
  }
8291
- const Do = /* @__PURE__ */ f("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ f(
8309
+ const Po = /* @__PURE__ */ f("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ f(
8292
8310
  "path",
8293
8311
  {
8294
8312
  d: "M2 7L5.5 10.5L12 4",
@@ -8329,7 +8347,7 @@ function Uh({
8329
8347
  fontWeight: "bold",
8330
8348
  fontFamily: "var(--font-body)",
8331
8349
  transition: "all 0.25s",
8332
- children: u ? Do : d.icon ?? c + 1
8350
+ children: u ? Po : d.icon ?? c + 1
8333
8351
  }
8334
8352
  ),
8335
8353
  !p && /* @__PURE__ */ f(
@@ -8369,7 +8387,7 @@ function Uh({
8369
8387
  "aria-label": "Progress steps",
8370
8388
  ...s,
8371
8389
  children: e.map((d, c) => {
8372
- const u = c + 1 < t, h = c + 1 === t, p = c + 1 > t, g = c === e.length - 1, y = p ? "bg.subtle" : r, b = u ? Do : d.icon ? d.icon : (
8390
+ const u = c + 1 < t, h = c + 1 === t, p = c + 1 > t, g = c === e.length - 1, y = p ? "bg.subtle" : r, b = u ? Po : d.icon ? d.icon : (
8373
8391
  // Step number — use Chakra color prop, not inline style CSS var
8374
8392
  /* @__PURE__ */ f(
8375
8393
  m,
@@ -8777,7 +8795,7 @@ function Gh({
8777
8795
  children: a
8778
8796
  }) {
8779
8797
  return /* @__PURE__ */ S(
8780
- js,
8798
+ Hs,
8781
8799
  {
8782
8800
  open: e,
8783
8801
  onOpenChange: (l) => {
@@ -8787,14 +8805,14 @@ function Gh({
8787
8805
  size: vh[o],
8788
8806
  children: [
8789
8807
  /* @__PURE__ */ f(
8790
- Ws,
8808
+ Ns,
8791
8809
  {
8792
8810
  bg: "rgba(10, 18, 32, 0.7)",
8793
8811
  backdropFilter: "blur(4px)"
8794
8812
  }
8795
8813
  ),
8796
- /* @__PURE__ */ f(Hs, { children: /* @__PURE__ */ S(
8797
- Ns,
8814
+ /* @__PURE__ */ f(_s, { children: /* @__PURE__ */ S(
8815
+ $s,
8798
8816
  {
8799
8817
  bg: "bg",
8800
8818
  border: "1px solid",
@@ -8802,9 +8820,9 @@ function Gh({
8802
8820
  borderRadius: "modal",
8803
8821
  boxShadow: "xl",
8804
8822
  children: [
8805
- (n || i) && /* @__PURE__ */ S(_s, { borderBottom: "1px solid", borderColor: "border", px: "6", py: "4", children: [
8823
+ (n || i) && /* @__PURE__ */ S(Us, { borderBottom: "1px solid", borderColor: "border", px: "6", py: "4", children: [
8806
8824
  n && /* @__PURE__ */ f(
8807
- $s,
8825
+ Ks,
8808
8826
  {
8809
8827
  fontFamily: "var(--font-heading)",
8810
8828
  fontSize: "xl",
@@ -8814,7 +8832,7 @@ function Gh({
8814
8832
  }
8815
8833
  ),
8816
8834
  i && /* @__PURE__ */ f(
8817
- Us,
8835
+ Gs,
8818
8836
  {
8819
8837
  mt: "1",
8820
8838
  fontSize: "sm",
@@ -8824,7 +8842,7 @@ function Gh({
8824
8842
  }
8825
8843
  ),
8826
8844
  /* @__PURE__ */ f(
8827
- Ks,
8845
+ Ys,
8828
8846
  {
8829
8847
  position: "absolute",
8830
8848
  top: "4",
@@ -8841,9 +8859,9 @@ function Gh({
8841
8859
  }
8842
8860
  )
8843
8861
  ] }),
8844
- /* @__PURE__ */ f(Gs, { px: "6", py: "5", children: a }),
8862
+ /* @__PURE__ */ f(Xs, { px: "6", py: "5", children: a }),
8845
8863
  r && /* @__PURE__ */ f(
8846
- Ys,
8864
+ Zs,
8847
8865
  {
8848
8866
  borderTop: "1px solid",
8849
8867
  borderColor: "border",
@@ -8963,7 +8981,7 @@ function Zh({
8963
8981
  children: a
8964
8982
  }) {
8965
8983
  return /* @__PURE__ */ S(
8966
- Xs,
8984
+ qs,
8967
8985
  {
8968
8986
  open: e,
8969
8987
  onOpenChange: (l) => {
@@ -8973,17 +8991,17 @@ function Zh({
8973
8991
  size: o,
8974
8992
  closeOnInteractOutside: s,
8975
8993
  children: [
8976
- /* @__PURE__ */ f(Zs, { bg: "rgba(10, 18, 32, 0.6)", backdropFilter: "blur(2px)" }),
8977
- /* @__PURE__ */ f(qs, { children: /* @__PURE__ */ S(
8978
- Js,
8994
+ /* @__PURE__ */ f(Js, { bg: "rgba(10, 18, 32, 0.6)", backdropFilter: "blur(2px)" }),
8995
+ /* @__PURE__ */ f(Qs, { children: /* @__PURE__ */ S(
8996
+ ea,
8979
8997
  {
8980
8998
  bg: "bg",
8981
8999
  borderColor: "border",
8982
9000
  boxShadow: "2xl",
8983
9001
  children: [
8984
- n && /* @__PURE__ */ S(Qs, { borderBottom: "1px solid", borderColor: "border", px: "6", py: "4", children: [
9002
+ n && /* @__PURE__ */ S(ta, { borderBottom: "1px solid", borderColor: "border", px: "6", py: "4", children: [
8985
9003
  /* @__PURE__ */ f(
8986
- ea,
9004
+ na,
8987
9005
  {
8988
9006
  fontFamily: "var(--font-heading)",
8989
9007
  fontSize: "xl",
@@ -8993,7 +9011,7 @@ function Zh({
8993
9011
  }
8994
9012
  ),
8995
9013
  /* @__PURE__ */ f(
8996
- ta,
9014
+ ia,
8997
9015
  {
8998
9016
  position: "absolute",
8999
9017
  top: "4",
@@ -9010,9 +9028,9 @@ function Zh({
9010
9028
  }
9011
9029
  )
9012
9030
  ] }),
9013
- /* @__PURE__ */ f(na, { px: "6", py: "5", children: a }),
9031
+ /* @__PURE__ */ f(oa, { px: "6", py: "5", children: a }),
9014
9032
  r && /* @__PURE__ */ f(
9015
- ia,
9033
+ ra,
9016
9034
  {
9017
9035
  borderTop: "1px solid",
9018
9036
  borderColor: "border",
@@ -9048,7 +9066,7 @@ function qh({
9048
9066
  return /* @__PURE__ */ S(
9049
9067
  m,
9050
9068
  {
9051
- bg: "bg.surface",
9069
+ bg: "bg.primary",
9052
9070
  border: "1px solid",
9053
9071
  borderColor: "border",
9054
9072
  borderRadius: "card",
@@ -9099,14 +9117,14 @@ function qh({
9099
9117
  transition: "background 0.2s, border-color 0.2s, color 0.2s",
9100
9118
  "aria-hidden": "true",
9101
9119
  style: {
9102
- border: l ? "none" : "1.5px solid var(--medix-form-border, #E2E8F0)",
9120
+ border: l ? "none" : "1.5px solid var(--medix-form-text)",
9103
9121
  background: l ? "#0685FF" : "transparent",
9104
9122
  color: l ? "#ffffff" : "inherit",
9105
9123
  flexShrink: 0
9106
9124
  },
9107
- children: l ? /* @__PURE__ */ f("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ f("rect", { x: "3", y: "8.25", width: "12", height: "1.5", rx: "0.75", fill: "currentColor" }) }) : /* @__PURE__ */ S("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: [
9108
- /* @__PURE__ */ f("rect", { x: "3", y: "8.25", width: "12", height: "1.5", rx: "0.75", fill: "currentColor" }),
9109
- /* @__PURE__ */ f("rect", { x: "8.25", y: "3", width: "1.5", height: "12", rx: "0.75", fill: "currentColor" })
9125
+ children: l ? /* @__PURE__ */ f("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ f("rect", { x: "3", y: "8.25", width: "12", height: "1.5", rx: "0.75", fill: " var(--medix-form-text)" }) }) : /* @__PURE__ */ S("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: [
9126
+ /* @__PURE__ */ f("rect", { x: "3", y: "8.25", width: "12", height: "1.5", rx: "0.75", fill: " var(--medix-form-text)" }),
9127
+ /* @__PURE__ */ f("rect", { x: "8.25", y: "3", width: "1.5", height: "12", rx: "0.75", fill: " var(--medix-form-text)" })
9110
9128
  ] })
9111
9129
  }
9112
9130
  )
@@ -9253,13 +9271,12 @@ function Qh({
9253
9271
  }, u = /* @__PURE__ */ S(
9254
9272
  m,
9255
9273
  {
9256
- bg: "bg.surface",
9274
+ bg: "bg.primary",
9257
9275
  borderRadius: "card",
9258
9276
  overflow: "hidden",
9259
9277
  transition: "transform 0.22s ease, box-shadow 0.22s ease",
9260
- boxShadow: "0 2px 12px rgba(0,0,0,0.07)",
9261
- _dark: { bg: "bg.surface", boxShadow: "0 2px 14px rgba(0,0,0,0.32)" },
9262
- _hover: l ? { transform: "translateY(-4px)", boxShadow: "0 12px 32px rgba(0,0,0,0.13)" } : void 0,
9278
+ _dark: { bg: "bg.primary" },
9279
+ _hover: l ? { transform: "translateY(-4px)" } : void 0,
9263
9280
  ...a,
9264
9281
  children: [
9265
9282
  /* @__PURE__ */ S(m, { position: "relative", overflow: "hidden", children: [
@@ -9275,6 +9292,7 @@ function Qh({
9275
9292
  /* @__PURE__ */ f(
9276
9293
  m,
9277
9294
  {
9295
+ borderRadius: "card",
9278
9296
  h: "220px",
9279
9297
  style: { background: "linear-gradient(135deg, #0685FF 0%, #7700CC 100%)" }
9280
9298
  }
@@ -9916,7 +9934,7 @@ export {
9916
9934
  hp as Icon,
9917
9935
  ka as IconButton,
9918
9936
  pp as Image,
9919
- Io as Input,
9937
+ zo as Input,
9920
9938
  mp as Link,
9921
9939
  ja as Logo,
9922
9940
  Dh as MedixProvider,
@@ -9951,12 +9969,12 @@ export {
9951
9969
  vp as Wrap,
9952
9970
  wp as WrapItem,
9953
9971
  ye as colorTokens,
9954
- ga as medixConfig,
9955
- pa as radiiTokens,
9956
- ma as shadowTokens,
9957
- ha as spacingTokens,
9958
- ya as system,
9959
- fa as textStyleTokens,
9972
+ ba as medixConfig,
9973
+ ga as radiiTokens,
9974
+ ya as shadowTokens,
9975
+ ma as spacingTokens,
9976
+ xa as system,
9977
+ pa as textStyleTokens,
9960
9978
  He as typographyTokens
9961
9979
  };
9962
9980
  //# sourceMappingURL=index.js.map