@contentmunch/contentmunch-ui 1.1.30 → 1.1.32

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/lib/index.es.js CHANGED
@@ -9,10 +9,10 @@ var at = { exports: {} }, $e = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var qn;
12
+ var Xs;
13
13
  function mo() {
14
- if (qn) return $e;
15
- qn = 1;
14
+ if (Xs) return $e;
15
+ Xs = 1;
16
16
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
17
17
  function n(i, r, a) {
18
18
  var o = null;
@@ -41,9 +41,9 @@ var Ke = {};
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
- var Zn;
44
+ var qs;
45
45
  function xo() {
46
- return Zn || (Zn = 1, process.env.NODE_ENV !== "production" && function() {
46
+ return qs || (qs = 1, process.env.NODE_ENV !== "production" && function() {
47
47
  function e(j) {
48
48
  if (j == null) return null;
49
49
  if (typeof j == "function")
@@ -274,9 +274,9 @@ React keys must be passed directly to JSX without using spread:
274
274
  };
275
275
  }()), Ke;
276
276
  }
277
- var Jn;
277
+ var Zs;
278
278
  function yo() {
279
- return Jn || (Jn = 1, process.env.NODE_ENV === "production" ? at.exports = mo() : at.exports = xo()), at.exports;
279
+ return Zs || (Zs = 1, process.env.NODE_ENV === "production" ? at.exports = mo() : at.exports = xo()), at.exports;
280
280
  }
281
281
  var s = yo();
282
282
  const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
@@ -462,7 +462,6 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
462
462
  ),
463
463
  /* @__PURE__ */ s.jsx("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" })
464
464
  ] }),
465
- moon: /* @__PURE__ */ s.jsx(p, { children: /* @__PURE__ */ s.jsx("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) }),
466
465
  cloud: /* @__PURE__ */ s.jsx(p, { children: /* @__PURE__ */ s.jsx("path", { d: "M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z" }) }),
467
466
  "cloud-drizzle": /* @__PURE__ */ s.jsxs(p, { children: [
468
467
  /* @__PURE__ */ s.jsx("line", { x1: "8", y1: "19", x2: "8", y2: "21" }),
@@ -584,6 +583,12 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
584
583
  )
585
584
  ] }),
586
585
  wind: /* @__PURE__ */ s.jsx(p, { children: /* @__PURE__ */ s.jsx("path", { d: "M9.59 4.59A2 2 0 1 1 11 8H2m10.59 11.41A2 2 0 1 0 14 16H2m15.73-8.27A2.5 2.5 0 1 1 19.5 12H2" }) }),
586
+ water: /* @__PURE__ */ s.jsxs(p, { children: [
587
+ /* @__PURE__ */ s.jsx("path", { d: "m6 8 1.75 12.28a2 2 0 0 0 2 1.72h4.54a2 2 0 0 0 2-1.72L18 8" }),
588
+ /* @__PURE__ */ s.jsx("path", { d: "M5 8h14" }),
589
+ /* @__PURE__ */ s.jsx("path", { d: "M7 15a6.47 6.47 0 0 1 5 0 6.47 6.47 0 0 0 5 0" }),
590
+ /* @__PURE__ */ s.jsx("path", { d: "m12 8 1-6h2" })
591
+ ] }),
587
592
  zap: /* @__PURE__ */ s.jsx(p, { children: /* @__PURE__ */ s.jsx("polygon", { points: "13 2 3 14 12 14 11 22 21 10 12 10 13 2" }) }),
588
593
  video: /* @__PURE__ */ s.jsxs(p, { children: [
589
594
  /* @__PURE__ */ s.jsx("polygon", { points: "23 7 16 12 23 17 23 7" }),
@@ -763,6 +768,13 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
763
768
  /* @__PURE__ */ s.jsx("circle", { cx: "12", cy: "12", r: "10" }),
764
769
  /* @__PURE__ */ s.jsx("circle", { cx: "12", cy: "12", r: "3" })
765
770
  ] }),
771
+ scale: /* @__PURE__ */ s.jsxs(p, { children: [
772
+ /* @__PURE__ */ s.jsx("path", { d: "M12 3v18" }),
773
+ /* @__PURE__ */ s.jsx("path", { d: "m19 8 3 8a5 5 0 0 1-6 0zV7" }),
774
+ /* @__PURE__ */ s.jsx("path", { d: "M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1" }),
775
+ /* @__PURE__ */ s.jsx("path", { d: "m5 8 3 8a5 5 0 0 1-6 0zV7" }),
776
+ /* @__PURE__ */ s.jsx("path", { d: "M7 21h10" })
777
+ ] }),
766
778
  quiz: /* @__PURE__ */ s.jsxs(p, { children: [
767
779
  /* @__PURE__ */ s.jsx(
768
780
  "path",
@@ -893,6 +905,60 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
893
905
  /* @__PURE__ */ s.jsx("line", { x1: "4.22", y1: "19.78", x2: "5.64", y2: "18.36" }),
894
906
  /* @__PURE__ */ s.jsx("line", { x1: "18.36", y1: "5.64", x2: "19.78", y2: "4.22" })
895
907
  ] }),
908
+ sunrise: /* @__PURE__ */ s.jsxs(p, { children: [
909
+ /* @__PURE__ */ s.jsx("path", { d: "M17 18a5 5 0 0 0-10 0" }),
910
+ /* @__PURE__ */ s.jsx("line", { x1: "12", y1: "2", x2: "12", y2: "9" }),
911
+ /* @__PURE__ */ s.jsx("line", { x1: "4.22", y1: "10.22", x2: "5.64", y2: "11.64" }),
912
+ /* @__PURE__ */ s.jsx("line", { x1: "1", y1: "18", x2: "3", y2: "18" }),
913
+ /* @__PURE__ */ s.jsx("line", { x1: "21", y1: "18", x2: "23", y2: "18" }),
914
+ /* @__PURE__ */ s.jsx("line", { x1: "18.36", y1: "11.64", x2: "19.78", y2: "10.22" }),
915
+ /* @__PURE__ */ s.jsx("line", { x1: "23", y1: "22", x2: "1", y2: "22" }),
916
+ /* @__PURE__ */ s.jsx("polyline", { points: "8 6 12 2 16 6" })
917
+ ] }),
918
+ sunset: /* @__PURE__ */ s.jsxs(p, { children: [
919
+ /* @__PURE__ */ s.jsx("path", { d: "M17 18a5 5 0 0 0-10 0" }),
920
+ /* @__PURE__ */ s.jsx("line", { x1: "12", y1: "9", x2: "12", y2: "2" }),
921
+ /* @__PURE__ */ s.jsx("line", { x1: "4.22", y1: "10.22", x2: "5.64", y2: "11.64" }),
922
+ /* @__PURE__ */ s.jsx("line", { x1: "1", y1: "18", x2: "3", y2: "18" }),
923
+ /* @__PURE__ */ s.jsx("line", { x1: "21", y1: "18", x2: "23", y2: "18" }),
924
+ /* @__PURE__ */ s.jsx("line", { x1: "18.36", y1: "11.64", x2: "19.78", y2: "10.22" }),
925
+ /* @__PURE__ */ s.jsx("line", { x1: "23", y1: "22", x2: "1", y2: "22" }),
926
+ /* @__PURE__ */ s.jsx("polyline", { points: "16 5 12 9 8 5" })
927
+ ] }),
928
+ "sun-moon": /* @__PURE__ */ s.jsxs(p, { children: [
929
+ /* @__PURE__ */ s.jsx("path", { d: "M12 2v2" }),
930
+ /* @__PURE__ */ s.jsx(
931
+ "path",
932
+ {
933
+ d: "M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715"
934
+ }
935
+ ),
936
+ /* @__PURE__ */ s.jsx("path", { d: "M16 12a4 4 0 0 0-4-4" }),
937
+ /* @__PURE__ */ s.jsx("path", { d: "m19 5-1.256 1.256" }),
938
+ /* @__PURE__ */ s.jsx("path", { d: "M20 12h2" })
939
+ ] }),
940
+ moon: /* @__PURE__ */ s.jsx(p, { children: /* @__PURE__ */ s.jsx("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) }),
941
+ "moon-star": /* @__PURE__ */ s.jsxs(p, { children: [
942
+ /* @__PURE__ */ s.jsx("path", { d: "M18 5h4" }),
943
+ /* @__PURE__ */ s.jsx("path", { d: "M20 3v4" }),
944
+ /* @__PURE__ */ s.jsx(
945
+ "path",
946
+ {
947
+ d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"
948
+ }
949
+ )
950
+ ] }),
951
+ orbit: /* @__PURE__ */ s.jsxs(p, { children: [
952
+ /* @__PURE__ */ s.jsx("path", { d: "M20.341 6.484A10 10 0 0 1 10.266 21.85" }),
953
+ /* @__PURE__ */ s.jsx("path", { d: "M3.659 17.516A10 10 0 0 1 13.74 2.152" }),
954
+ /* @__PURE__ */ s.jsx("circle", { cx: "12", cy: "12", r: "3" }),
955
+ /* @__PURE__ */ s.jsx("circle", { cx: "19", cy: "5", r: "2" }),
956
+ /* @__PURE__ */ s.jsx("circle", { cx: "5", cy: "19", r: "2" })
957
+ ] }),
958
+ eclipse: /* @__PURE__ */ s.jsxs(p, { children: [
959
+ /* @__PURE__ */ s.jsx("circle", { cx: "12", cy: "12", r: "10" }),
960
+ /* @__PURE__ */ s.jsx("path", { d: "M12 2a7 7 0 1 0 10 10" })
961
+ ] }),
896
962
  "external-link": /* @__PURE__ */ s.jsxs(p, { children: [
897
963
  /* @__PURE__ */ s.jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
898
964
  /* @__PURE__ */ s.jsx("polyline", { points: "15 3 21 3 21 9" }),
@@ -1099,10 +1165,45 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1099
1165
  /* @__PURE__ */ s.jsx("polyline", { points: "9 22 9 12 15 12 15 22" })
1100
1166
  ] }),
1101
1167
  bed: /* @__PURE__ */ s.jsxs(p, { children: [
1102
- /* @__PURE__ */ s.jsx("path", { d: "M2 4v16" }),
1103
- /* @__PURE__ */ s.jsx("path", { d: "M2 8h18a2 2 0 0 1 2 2v10" }),
1104
- /* @__PURE__ */ s.jsx("path", { d: "M2 17h20" }),
1105
- /* @__PURE__ */ s.jsx("path", { d: "M6 8v9" })
1168
+ /* @__PURE__ */ s.jsx("path", { d: "M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8" }),
1169
+ /* @__PURE__ */ s.jsx("path", { d: "M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4" }),
1170
+ /* @__PURE__ */ s.jsx("path", { d: "M12 4v6" }),
1171
+ /* @__PURE__ */ s.jsx("path", { d: "M2 18h20" })
1172
+ ] }),
1173
+ awake: /* @__PURE__ */ s.jsxs(p, { children: [
1174
+ /* @__PURE__ */ s.jsx("circle", { cx: "12", cy: "5", r: "1" }),
1175
+ /* @__PURE__ */ s.jsx("path", { d: "m9 20 3-6 3 6" }),
1176
+ /* @__PURE__ */ s.jsx("path", { d: "m6 8 6 2 6-2" }),
1177
+ /* @__PURE__ */ s.jsx("path", { d: "M12 10v4" })
1178
+ ] }),
1179
+ food: /* @__PURE__ */ s.jsxs(p, { children: [
1180
+ /* @__PURE__ */ s.jsx("path", { d: "M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z" }),
1181
+ /* @__PURE__ */ s.jsx("path", { d: "M7 21h10" }),
1182
+ /* @__PURE__ */ s.jsx("path", { d: "M19.5 12 22 6" }),
1183
+ /* @__PURE__ */ s.jsx("path", { d: "M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62" }),
1184
+ /* @__PURE__ */ s.jsx("path", { d: "M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62" }),
1185
+ /* @__PURE__ */ s.jsx("path", { d: "M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62" })
1186
+ ] }),
1187
+ utensils: /* @__PURE__ */ s.jsxs(p, { children: [
1188
+ /* @__PURE__ */ s.jsx("path", { d: "M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2" }),
1189
+ /* @__PURE__ */ s.jsx("path", { d: "M7 2v20" }),
1190
+ /* @__PURE__ */ s.jsx("path", { d: "M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7" })
1191
+ ] }),
1192
+ walk: /* @__PURE__ */ s.jsxs(p, { children: [
1193
+ /* @__PURE__ */ s.jsx(
1194
+ "path",
1195
+ {
1196
+ d: "M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z"
1197
+ }
1198
+ ),
1199
+ /* @__PURE__ */ s.jsx(
1200
+ "path",
1201
+ {
1202
+ d: "M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z"
1203
+ }
1204
+ ),
1205
+ /* @__PURE__ */ s.jsx("path", { d: "M16 17h4" }),
1206
+ /* @__PURE__ */ s.jsx("path", { d: "M4 13h4" })
1106
1207
  ] }),
1107
1208
  bath: /* @__PURE__ */ s.jsxs(p, { children: [
1108
1209
  /* @__PURE__ */ s.jsx("path", { d: "M9 6 6.5 3.5a1.5 1.5 0 0 0-1-.5C4.683 3 4 3.683 4 4.5V17a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5" }),
@@ -1177,6 +1278,15 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1177
1278
  /* @__PURE__ */ s.jsx("line", { x1: "7", y1: "14", x2: "17", y2: "14" }),
1178
1279
  /* @__PURE__ */ s.jsx("line", { x1: "7", y1: "18", x2: "17", y2: "18" })
1179
1280
  ] }),
1281
+ tithi: /* @__PURE__ */ s.jsxs(p, { children: [
1282
+ /* @__PURE__ */ s.jsx("path", { d: "M17 18a5 5 0 0 0-10 0" }),
1283
+ /* @__PURE__ */ s.jsx("line", { x1: "12", y1: "6", x2: "12", y2: "9" }),
1284
+ /* @__PURE__ */ s.jsx("line", { x1: "4.22", y1: "10.22", x2: "5.64", y2: "11.64" }),
1285
+ /* @__PURE__ */ s.jsx("line", { x1: "1", y1: "18", x2: "3", y2: "18" }),
1286
+ /* @__PURE__ */ s.jsx("line", { x1: "21", y1: "18", x2: "23", y2: "18" }),
1287
+ /* @__PURE__ */ s.jsx("line", { x1: "18.36", y1: "11.64", x2: "19.78", y2: "10.22" }),
1288
+ /* @__PURE__ */ s.jsx("line", { x1: "23", y1: "22", x2: "1", y2: "22" })
1289
+ ] }),
1180
1290
  save: /* @__PURE__ */ s.jsxs(p, { children: [
1181
1291
  /* @__PURE__ */ s.jsx("path", { d: "M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z" }),
1182
1292
  /* @__PURE__ */ s.jsx("polyline", { points: "17 21 17 13 7 13 7 21" }),
@@ -1421,7 +1531,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1421
1531
  n === "" ? "" : /* @__PURE__ */ s.jsx(jo, { variant: e, children: n })
1422
1532
  ]
1423
1533
  }
1424
- ), ne = ({
1534
+ ), se = ({
1425
1535
  type: e = "button",
1426
1536
  variant: t,
1427
1537
  size: n = "medium",
@@ -1508,7 +1618,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1508
1618
  };
1509
1619
  return /* @__PURE__ */ s.jsxs("div", { className: "muncher-dropdown", ref: y, children: [
1510
1620
  /* @__PURE__ */ s.jsxs(
1511
- ne,
1621
+ se,
1512
1622
  {
1513
1623
  onMouseDown: w,
1514
1624
  title: n,
@@ -1543,7 +1653,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1543
1653
  ...l
1544
1654
  }) => /* @__PURE__ */ s.jsxs("div", { className: `muncher-dropdown-nav ${a ? "drop-left" : ""}`, children: [
1545
1655
  /* @__PURE__ */ s.jsx(
1546
- ne,
1656
+ se,
1547
1657
  {
1548
1658
  type: "nav",
1549
1659
  title: e,
@@ -1568,7 +1678,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1568
1678
  }, 2e3);
1569
1679
  };
1570
1680
  return /* @__PURE__ */ s.jsx(
1571
- ne,
1681
+ se,
1572
1682
  {
1573
1683
  size: n,
1574
1684
  variant: t,
@@ -1593,7 +1703,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1593
1703
  size: t,
1594
1704
  element: /* @__PURE__ */ s.jsx(N, { name: "share", orientation: "right", children: "Share" }),
1595
1705
  children: [
1596
- /* @__PURE__ */ s.jsx(ne, { size: "small", variant: e, children: /* @__PURE__ */ s.jsx(
1706
+ /* @__PURE__ */ s.jsx(se, { size: "small", variant: e, children: /* @__PURE__ */ s.jsx(
1597
1707
  "a",
1598
1708
  {
1599
1709
  href: "https://twitter.com/share?url=" + window.location.href + "&text=" + n,
@@ -1602,7 +1712,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1602
1712
  children: /* @__PURE__ */ s.jsx(N, { name: "twitter" })
1603
1713
  }
1604
1714
  ) }),
1605
- /* @__PURE__ */ s.jsx(ne, { size: "small", variant: e, children: /* @__PURE__ */ s.jsx(
1715
+ /* @__PURE__ */ s.jsx(se, { size: "small", variant: e, children: /* @__PURE__ */ s.jsx(
1606
1716
  "a",
1607
1717
  {
1608
1718
  href: "https://www.facebook.com/sharer/sharer.php?u=" + window.location.href,
@@ -1611,7 +1721,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1611
1721
  children: /* @__PURE__ */ s.jsx(N, { name: "facebook" })
1612
1722
  }
1613
1723
  ) }),
1614
- /* @__PURE__ */ s.jsx(ne, { size: "small", variant: e, children: /* @__PURE__ */ s.jsx(
1724
+ /* @__PURE__ */ s.jsx(se, { size: "small", variant: e, children: /* @__PURE__ */ s.jsx(
1615
1725
  "a",
1616
1726
  {
1617
1727
  href: "mailto:?subject=" + n + "&body=" + window.location.href,
@@ -1638,7 +1748,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1638
1748
  const h = encodeURI("data:text/csv;charset=utf-8," + e.join(",") + `
1639
1749
  ` + t.map((u) => u.join(",")).join(`
1640
1750
  `));
1641
- return /* @__PURE__ */ s.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ s.jsx(ne, { variant: i, size: r, active: o, disabled: l, rounded: c, children: /* @__PURE__ */ s.jsx("a", { href: h, download: n + ".csv", children: /* @__PURE__ */ s.jsx(N, { name: "download", children: a || "Download" }) }) }) });
1751
+ return /* @__PURE__ */ s.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ s.jsx(se, { variant: i, size: r, active: o, disabled: l, rounded: c, children: /* @__PURE__ */ s.jsx("a", { href: h, download: n + ".csv", children: /* @__PURE__ */ s.jsx(N, { name: "download", children: a || "Download" }) }) }) });
1642
1752
  }, Mo = ({
1643
1753
  variant: e = "transparent",
1644
1754
  size: t = "small",
@@ -1651,7 +1761,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1651
1761
  }) => {
1652
1762
  const [c, h] = $(!1), u = () => !r || r && !c ? i ? /* @__PURE__ */ s.jsx(N, { name: "sort-asc" }) : /* @__PURE__ */ s.jsx(N, { name: "sort-desc" }) : i ? /* @__PURE__ */ s.jsx(N, { name: "sort-desc" }) : /* @__PURE__ */ s.jsx(N, { name: "sort-asc" });
1653
1763
  return /* @__PURE__ */ s.jsxs(
1654
- ne,
1764
+ se,
1655
1765
  {
1656
1766
  variant: e,
1657
1767
  size: t,
@@ -1670,7 +1780,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1670
1780
  ]
1671
1781
  }
1672
1782
  );
1673
- }, Qn = ({
1783
+ }, Js = ({
1674
1784
  direction: e,
1675
1785
  size: t = "small",
1676
1786
  weight: n,
@@ -1696,7 +1806,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1696
1806
  {
1697
1807
  className: e === "left" ? "muncher-button--navigate muncher-button--navigate-left" : "muncher-button--navigate muncher-button--navigate-right",
1698
1808
  children: /* @__PURE__ */ s.jsx(
1699
- ne,
1809
+ se,
1700
1810
  {
1701
1811
  onClick: o,
1702
1812
  disabled: i,
@@ -1708,7 +1818,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1708
1818
  )
1709
1819
  }
1710
1820
  );
1711
- }, nt = ({ label: e, onClick: t, id: n, required: i = !1 }) => /* @__PURE__ */ s.jsxs("label", { htmlFor: n, onClick: t, children: [
1821
+ }, st = ({ label: e, onClick: t, id: n, required: i = !1 }) => /* @__PURE__ */ s.jsxs("label", { htmlFor: n, onClick: t, children: [
1712
1822
  e,
1713
1823
  i ? /* @__PURE__ */ s.jsx("span", { className: "required", children: "*" }) : ""
1714
1824
  ] }), Eh = ({
@@ -1736,7 +1846,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1736
1846
  }
1737
1847
  ),
1738
1848
  r ? /* @__PURE__ */ s.jsx(
1739
- nt,
1849
+ st,
1740
1850
  {
1741
1851
  label: r,
1742
1852
  required: t,
@@ -1865,7 +1975,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1865
1975
  const E = () => f && f !== "", D = () => {
1866
1976
  let T = "muncher-input";
1867
1977
  return (r || a) && (T += " muncher-input-icon"), E() && (T += " muncher-input-error"), u === "side" && (T += " muncher-label-side"), T;
1868
- }, P = () => t ? /* @__PURE__ */ s.jsx(nt, { label: t, required: n, id: e }) : "", I = (T) => {
1978
+ }, P = () => t ? /* @__PURE__ */ s.jsx(st, { label: t, required: n, id: e }) : "", I = (T) => {
1869
1979
  T.key === "Enter" && b && b(), d && d(T);
1870
1980
  };
1871
1981
  return /* @__PURE__ */ s.jsxs("div", { className: "muncher-input--div", children: [
@@ -1937,7 +2047,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1937
2047
  }
1938
2048
  ),
1939
2049
  r ? /* @__PURE__ */ s.jsx(
1940
- nt,
2050
+ st,
1941
2051
  {
1942
2052
  label: r,
1943
2053
  required: t,
@@ -1962,7 +2072,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1962
2072
  return h() && (d += " muncher-input-error"), d;
1963
2073
  };
1964
2074
  return /* @__PURE__ */ s.jsxs("div", { className: "muncher-input--div", children: [
1965
- n ? /* @__PURE__ */ s.jsx(nt, { label: n, required: i, id: e }) : "",
2075
+ n ? /* @__PURE__ */ s.jsx(st, { label: n, required: i, id: e }) : "",
1966
2076
  /* @__PURE__ */ s.jsx("div", { className: "muncher-input-element", children: /* @__PURE__ */ s.jsxs(
1967
2077
  "select",
1968
2078
  {
@@ -2001,7 +2111,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2001
2111
  f(x.target.value), c && c(x);
2002
2112
  };
2003
2113
  return /* @__PURE__ */ s.jsxs("div", { className: "muncher-input--div", children: [
2004
- t ? /* @__PURE__ */ s.jsx(nt, { label: t, required: n, id: e }) : "",
2114
+ t ? /* @__PURE__ */ s.jsx(st, { label: t, required: n, id: e }) : "",
2005
2115
  /* @__PURE__ */ s.jsx(
2006
2116
  "textarea",
2007
2117
  {
@@ -2133,7 +2243,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2133
2243
  return /* @__PURE__ */ s.jsx("hr", { className: i });
2134
2244
  }, Uh = ({ sliderItems: e, navButtonSize: t = "large", navButtonWeight: n = 2, variant: i, navIcon: r, navButtonPlacement: a = "inside" }) => {
2135
2245
  const [o, l] = $(0), [c, h] = $(0), u = () => e.length > 1 && o > 0 ? /* @__PURE__ */ s.jsx(
2136
- Qn,
2246
+ Js,
2137
2247
  {
2138
2248
  direction: "left",
2139
2249
  size: t,
@@ -2145,7 +2255,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2145
2255
  }
2146
2256
  }
2147
2257
  ) : "", d = () => e.length > 1 && o < e.length - 1 ? /* @__PURE__ */ s.jsx(
2148
- Qn,
2258
+ Js,
2149
2259
  {
2150
2260
  direction: "right",
2151
2261
  size: t,
@@ -2272,7 +2382,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2272
2382
  /* @__PURE__ */ s.jsx("header", { children: r.map(
2273
2383
  (o, l) => /* @__PURE__ */ s.jsxs("div", { className: "muncher-tab-header--item", children: [
2274
2384
  /* @__PURE__ */ s.jsx(
2275
- ne,
2385
+ se,
2276
2386
  {
2277
2387
  variant: "transparent",
2278
2388
  active: n === l,
@@ -2416,7 +2526,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2416
2526
  ] }),
2417
2527
  /* @__PURE__ */ s.jsxs("div", { className: "right", children: [
2418
2528
  /* @__PURE__ */ s.jsx(
2419
- ne,
2529
+ se,
2420
2530
  {
2421
2531
  variant: "transparent",
2422
2532
  disabled: v.num === 0,
@@ -2426,7 +2536,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2426
2536
  }
2427
2537
  ),
2428
2538
  /* @__PURE__ */ s.jsx(
2429
- ne,
2539
+ se,
2430
2540
  {
2431
2541
  variant: "transparent",
2432
2542
  disabled: (v.num + 1) * v.size >= g.length,
@@ -2444,8 +2554,8 @@ function Po(e) {
2444
2554
  const t = fe(null);
2445
2555
  return t.current === null && (t.current = e()), t.current;
2446
2556
  }
2447
- const Vo = typeof window < "u", Co = Vo ? co : je, Tn = /* @__PURE__ */ ze(null);
2448
- function Mn(e, t) {
2557
+ const Vo = typeof window < "u", Co = Vo ? co : je, bs = /* @__PURE__ */ ze(null);
2558
+ function Ts(e, t) {
2449
2559
  e.indexOf(t) === -1 && e.push(t);
2450
2560
  }
2451
2561
  function vt(e, t) {
@@ -2476,16 +2586,16 @@ function Ai(e) {
2476
2586
  let t;
2477
2587
  return () => (t === void 0 && (t = e()), t);
2478
2588
  }
2479
- const ie = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Eo = (e, t) => (n) => t(e(n)), st = (...e) => e.reduce(Eo), Je = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
2589
+ const ie = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Eo = (e, t) => (n) => t(e(n)), nt = (...e) => e.reduce(Eo), Je = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
2480
2590
  const i = t - e;
2481
2591
  return i === 0 ? 1 : (n - e) / i;
2482
2592
  };
2483
- class Sn {
2593
+ class Ms {
2484
2594
  constructor() {
2485
2595
  this.subscriptions = [];
2486
2596
  }
2487
2597
  add(t) {
2488
- return Mn(this.subscriptions, t), () => vt(this.subscriptions, t);
2598
+ return Ts(this.subscriptions, t), () => vt(this.subscriptions, t);
2489
2599
  }
2490
2600
  notify(t, n, i) {
2491
2601
  const r = this.subscriptions.length;
@@ -2505,13 +2615,13 @@ class Sn {
2505
2615
  this.subscriptions.length = 0;
2506
2616
  }
2507
2617
  }
2508
- const te = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, se = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
2618
+ const te = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, ne = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
2509
2619
  function Pi(e, t) {
2510
2620
  return t ? e * (1e3 / t) : 0;
2511
2621
  }
2512
- const es = /* @__PURE__ */ new Set();
2513
- function An(e, t, n) {
2514
- e || es.has(t) || (console.warn(Zt(t, n)), es.add(t));
2622
+ const Qs = /* @__PURE__ */ new Set();
2623
+ function Ss(e, t, n) {
2624
+ e || Qs.has(t) || (console.warn(Zt(t, n)), Qs.add(t));
2515
2625
  }
2516
2626
  const Vi = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, ko = 1e-7, Do = 12;
2517
2627
  function Ro(e, t, n, i, r) {
@@ -2527,25 +2637,25 @@ function it(e, t, n, i) {
2527
2637
  const r = (a) => Ro(a, 0, 1, e, n);
2528
2638
  return (a) => a === 0 || a === 1 ? a : Vi(r(a), t, i);
2529
2639
  }
2530
- const Ci = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Ei = (e) => (t) => 1 - e(1 - t), ki = /* @__PURE__ */ it(0.33, 1.53, 0.69, 0.99), Pn = /* @__PURE__ */ Ei(ki), Di = /* @__PURE__ */ Ci(Pn), Ri = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? 0.5 * Pn(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), Vn = (e) => 1 - Math.sin(Math.acos(e)), Li = Ei(Vn), Ni = Ci(Vn), Lo = /* @__PURE__ */ it(0.42, 0, 1, 1), No = /* @__PURE__ */ it(0, 0, 0.58, 1), Fi = /* @__PURE__ */ it(0.42, 0, 0.58, 1), Fo = (e) => Array.isArray(e) && typeof e[0] != "number", Ii = (e) => Array.isArray(e) && typeof e[0] == "number", ts = {
2640
+ const Ci = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Ei = (e) => (t) => 1 - e(1 - t), ki = /* @__PURE__ */ it(0.33, 1.53, 0.69, 0.99), As = /* @__PURE__ */ Ei(ki), Di = /* @__PURE__ */ Ci(As), Ri = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? 0.5 * As(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), Ps = (e) => 1 - Math.sin(Math.acos(e)), Li = Ei(Ps), Ni = Ci(Ps), Lo = /* @__PURE__ */ it(0.42, 0, 1, 1), No = /* @__PURE__ */ it(0, 0, 0.58, 1), Fi = /* @__PURE__ */ it(0.42, 0, 0.58, 1), Fo = (e) => Array.isArray(e) && typeof e[0] != "number", Ii = (e) => Array.isArray(e) && typeof e[0] == "number", en = {
2531
2641
  linear: ie,
2532
2642
  easeIn: Lo,
2533
2643
  easeInOut: Fi,
2534
2644
  easeOut: No,
2535
- circIn: Vn,
2645
+ circIn: Ps,
2536
2646
  circInOut: Ni,
2537
2647
  circOut: Li,
2538
- backIn: Pn,
2648
+ backIn: As,
2539
2649
  backInOut: Di,
2540
2650
  backOut: ki,
2541
2651
  anticipate: Ri
2542
- }, Io = (e) => typeof e == "string", ns = (e) => {
2652
+ }, Io = (e) => typeof e == "string", tn = (e) => {
2543
2653
  if (Ii(e)) {
2544
2654
  pe(e.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
2545
2655
  const [t, n, i, r] = e;
2546
2656
  return it(t, n, i, r);
2547
2657
  } else if (Io(e))
2548
- return pe(ts[e] !== void 0, `Invalid easing type '${e}'`, "invalid-easing-type"), ts[e];
2658
+ return pe(en[e] !== void 0, `Invalid easing type '${e}'`, "invalid-easing-type"), en[e];
2549
2659
  return e;
2550
2660
  }, ct = [
2551
2661
  "setup",
@@ -2636,8 +2746,8 @@ const Z = {
2636
2746
  set: (e) => {
2637
2747
  ft = e, queueMicrotask(zo);
2638
2748
  }
2639
- }, Bi = (e) => (t) => typeof t == "string" && t.startsWith(e), zi = /* @__PURE__ */ Bi("--"), Ho = /* @__PURE__ */ Bi("var(--"), Cn = (e) => Ho(e) ? _o.test(e.split("/*")[0].trim()) : !1, _o = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
2640
- function ss(e) {
2749
+ }, Bi = (e) => (t) => typeof t == "string" && t.startsWith(e), zi = /* @__PURE__ */ Bi("--"), Ho = /* @__PURE__ */ Bi("var(--"), Vs = (e) => Ho(e) ? _o.test(e.split("/*")[0].trim()) : !1, _o = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
2750
+ function sn(e) {
2641
2751
  return typeof e != "string" ? !1 : e.split("/*")[0].includes("var(--");
2642
2752
  }
2643
2753
  const _e = {
@@ -2650,14 +2760,14 @@ const _e = {
2650
2760
  }, ut = {
2651
2761
  ..._e,
2652
2762
  default: 1
2653
- }, Xe = (e) => Math.round(e * 1e5) / 1e5, En = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
2763
+ }, Xe = (e) => Math.round(e * 1e5) / 1e5, Cs = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
2654
2764
  function Uo(e) {
2655
2765
  return e == null;
2656
2766
  }
2657
- const Wo = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, kn = (e, t) => (n) => !!(typeof n == "string" && Wo.test(n) && n.startsWith(e) || t && !Uo(n) && Object.prototype.hasOwnProperty.call(n, t)), Hi = (e, t, n) => (i) => {
2767
+ const Wo = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Es = (e, t) => (n) => !!(typeof n == "string" && Wo.test(n) && n.startsWith(e) || t && !Uo(n) && Object.prototype.hasOwnProperty.call(n, t)), Hi = (e, t, n) => (i) => {
2658
2768
  if (typeof i != "string")
2659
2769
  return i;
2660
- const [r, a, o, l] = i.match(En);
2770
+ const [r, a, o, l] = i.match(Cs);
2661
2771
  return {
2662
2772
  [e]: parseFloat(r),
2663
2773
  [t]: parseFloat(a),
@@ -2668,7 +2778,7 @@ const Wo = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
2668
2778
  ..._e,
2669
2779
  transform: (e) => Math.round($o(e))
2670
2780
  }, Se = {
2671
- test: /* @__PURE__ */ kn("rgb", "red"),
2781
+ test: /* @__PURE__ */ Es("rgb", "red"),
2672
2782
  parse: /* @__PURE__ */ Hi("red", "green", "blue"),
2673
2783
  transform: ({ red: e, green: t, blue: n, alpha: i = 1 }) => "rgba(" + It.transform(e) + ", " + It.transform(t) + ", " + It.transform(n) + ", " + Xe(Qe.transform(i)) + ")"
2674
2784
  };
@@ -2682,19 +2792,19 @@ function Ko(e) {
2682
2792
  };
2683
2793
  }
2684
2794
  const Jt = {
2685
- test: /* @__PURE__ */ kn("#"),
2795
+ test: /* @__PURE__ */ Es("#"),
2686
2796
  parse: Ko,
2687
2797
  transform: Se.transform
2688
2798
  }, rt = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
2689
2799
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
2690
2800
  parse: parseFloat,
2691
2801
  transform: (t) => `${t}${e}`
2692
- }), xe = /* @__PURE__ */ rt("deg"), he = /* @__PURE__ */ rt("%"), A = /* @__PURE__ */ rt("px"), Go = /* @__PURE__ */ rt("vh"), Yo = /* @__PURE__ */ rt("vw"), is = {
2802
+ }), xe = /* @__PURE__ */ rt("deg"), he = /* @__PURE__ */ rt("%"), A = /* @__PURE__ */ rt("px"), Go = /* @__PURE__ */ rt("vh"), Yo = /* @__PURE__ */ rt("vw"), nn = {
2693
2803
  ...he,
2694
2804
  parse: (e) => he.parse(e) / 100,
2695
2805
  transform: (e) => he.transform(e * 100)
2696
2806
  }, Re = {
2697
- test: /* @__PURE__ */ kn("hsl", "hue"),
2807
+ test: /* @__PURE__ */ Es("hsl", "hue"),
2698
2808
  parse: /* @__PURE__ */ Hi("hue", "saturation", "lightness"),
2699
2809
  transform: ({ hue: e, saturation: t, lightness: n, alpha: i = 1 }) => "hsla(" + Math.round(e) + ", " + he.transform(Xe(t)) + ", " + he.transform(Xe(n)) + ", " + Xe(Qe.transform(i)) + ")"
2700
2810
  }, z = {
@@ -2708,9 +2818,9 @@ const Jt = {
2708
2818
  }, Xo = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
2709
2819
  function qo(e) {
2710
2820
  var t, n;
2711
- return isNaN(e) && typeof e == "string" && (((t = e.match(En)) == null ? void 0 : t.length) || 0) + (((n = e.match(Xo)) == null ? void 0 : n.length) || 0) > 0;
2821
+ return isNaN(e) && typeof e == "string" && (((t = e.match(Cs)) == null ? void 0 : t.length) || 0) + (((n = e.match(Xo)) == null ? void 0 : n.length) || 0) > 0;
2712
2822
  }
2713
- const _i = "number", Ui = "color", Zo = "var", Jo = "var(", rs = "${}", Qo = /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;
2823
+ const _i = "number", Ui = "color", Zo = "var", Jo = "var(", rn = "${}", Qo = /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;
2714
2824
  function Oe(e) {
2715
2825
  const t = e.toString(), n = [], i = {
2716
2826
  color: [],
@@ -2718,7 +2828,7 @@ function Oe(e) {
2718
2828
  var: []
2719
2829
  }, r = [];
2720
2830
  let a = 0;
2721
- const l = t.replace(Qo, (c) => (z.test(c) ? (i.color.push(a), r.push(Ui), n.push(z.parse(c))) : c.startsWith(Jo) ? (i.var.push(a), r.push(Zo), n.push(c)) : (i.number.push(a), r.push(_i), n.push(parseFloat(c))), ++a, rs)).split(rs);
2831
+ const l = t.replace(Qo, (c) => (z.test(c) ? (i.color.push(a), r.push(Ui), n.push(z.parse(c))) : c.startsWith(Jo) ? (i.var.push(a), r.push(Zo), n.push(c)) : (i.number.push(a), r.push(_i), n.push(parseFloat(c))), ++a, rn)).split(rn);
2722
2832
  return { values: n, split: l, indexes: i, types: r };
2723
2833
  }
2724
2834
  function ea(e) {
@@ -2739,10 +2849,10 @@ function Wi({ split: e, types: t }) {
2739
2849
  function ta(e) {
2740
2850
  return Wi(Oe(e));
2741
2851
  }
2742
- const na = (e) => typeof e == "number" ? 0 : z.test(e) ? z.getAnimatableNone(e) : e, sa = (e, t) => typeof e == "number" ? t != null && t.trim().endsWith("/") ? e : 0 : na(e);
2852
+ const sa = (e) => typeof e == "number" ? 0 : z.test(e) ? z.getAnimatableNone(e) : e, na = (e, t) => typeof e == "number" ? t != null && t.trim().endsWith("/") ? e : 0 : sa(e);
2743
2853
  function ia(e) {
2744
2854
  const t = Oe(e);
2745
- return Wi(t)(t.values.map((i, r) => sa(i, t.split[r])));
2855
+ return Wi(t)(t.values.map((i, r) => na(i, t.split[r])));
2746
2856
  }
2747
2857
  const ae = {
2748
2858
  test: qo,
@@ -2776,15 +2886,15 @@ const L = (e, t, n) => e + (t - e) * n, Bt = (e, t, n) => {
2776
2886
  const i = e * e, r = n * (t * t - i) + i;
2777
2887
  return r < 0 ? 0 : Math.sqrt(r);
2778
2888
  }, oa = [Jt, Se, Re], aa = (e) => oa.find((t) => t.test(e));
2779
- function os(e) {
2889
+ function on(e) {
2780
2890
  const t = aa(e);
2781
2891
  if (He(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t)
2782
2892
  return !1;
2783
2893
  let n = t.parse(e);
2784
2894
  return t === Re && (n = ra(n)), n;
2785
2895
  }
2786
- const as = (e, t) => {
2787
- const n = os(e), i = os(t);
2896
+ const an = (e, t) => {
2897
+ const n = on(e), i = on(t);
2788
2898
  if (!n || !i)
2789
2899
  return wt(e, t);
2790
2900
  const r = { ...n };
@@ -2796,11 +2906,11 @@ function la(e, t) {
2796
2906
  function ca(e, t) {
2797
2907
  return (n) => L(e, t, n);
2798
2908
  }
2799
- function Dn(e) {
2800
- return typeof e == "number" ? ca : typeof e == "string" ? Cn(e) ? wt : z.test(e) ? as : da : Array.isArray(e) ? $i : typeof e == "object" ? z.test(e) ? as : ua : wt;
2909
+ function ks(e) {
2910
+ return typeof e == "number" ? ca : typeof e == "string" ? Vs(e) ? wt : z.test(e) ? an : da : Array.isArray(e) ? $i : typeof e == "object" ? z.test(e) ? an : ua : wt;
2801
2911
  }
2802
2912
  function $i(e, t) {
2803
- const n = [...e], i = n.length, r = e.map((a, o) => Dn(a)(a, t[o]));
2913
+ const n = [...e], i = n.length, r = e.map((a, o) => ks(a)(a, t[o]));
2804
2914
  return (a) => {
2805
2915
  for (let o = 0; o < i; o++)
2806
2916
  n[o] = r[o](a);
@@ -2810,7 +2920,7 @@ function $i(e, t) {
2810
2920
  function ua(e, t) {
2811
2921
  const n = { ...e, ...t }, i = {};
2812
2922
  for (const r in n)
2813
- e[r] !== void 0 && t[r] !== void 0 && (i[r] = Dn(e[r])(e[r], t[r]));
2923
+ e[r] !== void 0 && t[r] !== void 0 && (i[r] = ks(e[r])(e[r], t[r]));
2814
2924
  return (r) => {
2815
2925
  for (const a in i)
2816
2926
  n[a] = i[a](r);
@@ -2827,10 +2937,10 @@ function ha(e, t) {
2827
2937
  }
2828
2938
  const da = (e, t) => {
2829
2939
  const n = ae.createTransformer(t), i = Oe(e), r = Oe(t);
2830
- return i.indexes.var.length === r.indexes.var.length && i.indexes.color.length === r.indexes.color.length && i.indexes.number.length >= r.indexes.number.length ? Qt.has(e) && !r.values.length || Qt.has(t) && !i.values.length ? la(e, t) : st($i(ha(i, r), r.values), n) : (He(!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"), wt(e, t));
2940
+ return i.indexes.var.length === r.indexes.var.length && i.indexes.color.length === r.indexes.color.length && i.indexes.number.length >= r.indexes.number.length ? Qt.has(e) && !r.values.length || Qt.has(t) && !i.values.length ? la(e, t) : nt($i(ha(i, r), r.values), n) : (He(!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"), wt(e, t));
2831
2941
  };
2832
2942
  function Ki(e, t, n) {
2833
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? L(e, t, n) : Dn(e)(e, t);
2943
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? L(e, t, n) : ks(e)(e, t);
2834
2944
  }
2835
2945
  const fa = (e) => {
2836
2946
  const t = ({ timestamp: n }) => e(n);
@@ -2850,7 +2960,7 @@ const fa = (e) => {
2850
2960
  i += Math.round(e(a / (r - 1)) * 1e4) / 1e4 + ", ";
2851
2961
  return `linear(${i.substring(0, i.length - 2)})`;
2852
2962
  }, bt = 2e4;
2853
- function Rn(e) {
2963
+ function Ds(e) {
2854
2964
  let t = 0;
2855
2965
  const n = 50;
2856
2966
  let i = e.next(t);
@@ -2859,11 +2969,11 @@ function Rn(e) {
2859
2969
  return t >= bt ? 1 / 0 : t;
2860
2970
  }
2861
2971
  function pa(e, t = 100, n) {
2862
- const i = n({ ...e, keyframes: [0, t] }), r = Math.min(Rn(i), bt);
2972
+ const i = n({ ...e, keyframes: [0, t] }), r = Math.min(Ds(i), bt);
2863
2973
  return {
2864
2974
  type: "keyframes",
2865
2975
  ease: (a) => i.next(r * a).value / t,
2866
- duration: /* @__PURE__ */ se(r)
2976
+ duration: /* @__PURE__ */ ne(r)
2867
2977
  };
2868
2978
  }
2869
2979
  const B = {
@@ -2895,7 +3005,7 @@ const B = {
2895
3005
  minDamping: 0.05,
2896
3006
  maxDamping: 1
2897
3007
  };
2898
- function en(e, t) {
3008
+ function es(e, t) {
2899
3009
  return e * Math.sqrt(1 - t * t);
2900
3010
  }
2901
3011
  const ma = 12;
@@ -2905,17 +3015,17 @@ function xa(e, t, n) {
2905
3015
  i = i - e(i) / t(i);
2906
3016
  return i;
2907
3017
  }
2908
- const ls = 1e-3;
3018
+ const ln = 1e-3;
2909
3019
  function ya({ duration: e = B.duration, bounce: t = B.bounce, velocity: n = B.velocity, mass: i = B.mass }) {
2910
3020
  let r, a;
2911
3021
  He(e <= /* @__PURE__ */ te(B.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
2912
3022
  let o = 1 - t;
2913
- o = de(B.minDamping, B.maxDamping, o), e = de(B.minDuration, B.maxDuration, /* @__PURE__ */ se(e)), o < 1 ? (r = (h) => {
2914
- const u = h * o, d = u * e, f = u - n, m = en(h, o), x = Math.exp(-d);
2915
- return ls - f / m * x;
3023
+ o = de(B.minDamping, B.maxDamping, o), e = de(B.minDuration, B.maxDuration, /* @__PURE__ */ ne(e)), o < 1 ? (r = (h) => {
3024
+ const u = h * o, d = u * e, f = u - n, m = es(h, o), x = Math.exp(-d);
3025
+ return ln - f / m * x;
2916
3026
  }, a = (h) => {
2917
- const d = h * o * e, f = d * n + n, m = Math.pow(o, 2) * Math.pow(h, 2) * e, x = Math.exp(-d), g = en(Math.pow(h, 2), o);
2918
- return (-r(h) + ls > 0 ? -1 : 1) * ((f - m) * x) / g;
3027
+ const d = h * o * e, f = d * n + n, m = Math.pow(o, 2) * Math.pow(h, 2) * e, x = Math.exp(-d), g = es(Math.pow(h, 2), o);
3028
+ return (-r(h) + ln > 0 ? -1 : 1) * ((f - m) * x) / g;
2919
3029
  }) : (r = (h) => {
2920
3030
  const u = Math.exp(-h * e), d = (h - n) * e + 1;
2921
3031
  return -1e-3 + u * d;
@@ -2940,7 +3050,7 @@ function ya({ duration: e = B.duration, bounce: t = B.bounce, velocity: n = B.ve
2940
3050
  }
2941
3051
  }
2942
3052
  const ga = ["duration", "bounce"], ja = ["stiffness", "damping", "mass"];
2943
- function cs(e, t) {
3053
+ function cn(e, t) {
2944
3054
  return t.some((n) => e[n] !== void 0);
2945
3055
  }
2946
3056
  function va(e) {
@@ -2952,7 +3062,7 @@ function va(e) {
2952
3062
  isResolvedFromDuration: !1,
2953
3063
  ...e
2954
3064
  };
2955
- if (!cs(e, ja) && cs(e, ga))
3065
+ if (!cn(e, ja) && cn(e, ga))
2956
3066
  if (t.velocity = 0, e.visualDuration) {
2957
3067
  const n = e.visualDuration, i = 2 * Math.PI / (n * 1.2), r = i * i, a = 2 * de(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(r);
2958
3068
  t = {
@@ -2980,12 +3090,12 @@ function Tt(e = B.visualDuration, t = B.bounce) {
2980
3090
  let { restSpeed: i, restDelta: r } = n;
2981
3091
  const a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], l = { done: !1, value: a }, { stiffness: c, damping: h, mass: u, duration: d, velocity: f, isResolvedFromDuration: m } = va({
2982
3092
  ...n,
2983
- velocity: -/* @__PURE__ */ se(n.velocity || 0)
2984
- }), x = f || 0, g = h / (2 * Math.sqrt(c * u)), y = o - a, w = /* @__PURE__ */ se(Math.sqrt(c / u)), v = Math.abs(y) < 5;
3093
+ velocity: -/* @__PURE__ */ ne(n.velocity || 0)
3094
+ }), x = f || 0, g = h / (2 * Math.sqrt(c * u)), y = o - a, w = /* @__PURE__ */ ne(Math.sqrt(c / u)), v = Math.abs(y) < 5;
2985
3095
  i || (i = v ? B.restSpeed.granular : B.restSpeed.default), r || (r = v ? B.restDelta.granular : B.restDelta.default);
2986
3096
  let b, M, S, E, D, P;
2987
3097
  if (g < 1)
2988
- S = en(w, g), E = (x + g * w * y) / S, b = (T) => {
3098
+ S = es(w, g), E = (x + g * w * y) / S, b = (T) => {
2989
3099
  const C = Math.exp(-g * w * T);
2990
3100
  return o - C * (E * Math.sin(S * T) + y * Math.cos(S * T));
2991
3101
  }, D = g * w * E + y * S, P = g * w * y - E * S, M = (T) => Math.exp(-g * w * T) * (D * Math.sin(S * T) + P * Math.cos(S * T));
@@ -3023,7 +3133,7 @@ function Tt(e = B.visualDuration, t = B.bounce) {
3023
3133
  return l.value = l.done ? o : C, l;
3024
3134
  },
3025
3135
  toString: () => {
3026
- const T = Math.min(Rn(I), bt), C = Gi((F) => I.next(T * F).value, T, 30);
3136
+ const T = Math.min(Ds(I), bt), C = Gi((F) => I.next(T * F).value, T, 30);
3027
3137
  return T + "ms " + C;
3028
3138
  },
3029
3139
  toTransition: () => {
@@ -3040,7 +3150,7 @@ function Yi(e, t, n) {
3040
3150
  const i = Math.max(t - wa, 0);
3041
3151
  return Pi(n - e(i), t - i);
3042
3152
  }
3043
- function tn({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: i = 325, bounceDamping: r = 10, bounceStiffness: a = 500, modifyTarget: o, min: l, max: c, restDelta: h = 0.5, restSpeed: u }) {
3153
+ function ts({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: i = 325, bounceDamping: r = 10, bounceStiffness: a = 500, modifyTarget: o, min: l, max: c, restDelta: h = 0.5, restSpeed: u }) {
3044
3154
  const d = e[0], f = {
3045
3155
  done: !1,
3046
3156
  value: d
@@ -3078,7 +3188,7 @@ function ba(e, t, n) {
3078
3188
  let l = r(e[o], e[o + 1]);
3079
3189
  if (t) {
3080
3190
  const c = Array.isArray(t) ? t[o] || ie : t;
3081
- l = st(c, l);
3191
+ l = nt(c, l);
3082
3192
  }
3083
3193
  i.push(l);
3084
3194
  }
@@ -3122,7 +3232,7 @@ function Pa(e, t) {
3122
3232
  return e.map(() => t || Fi).splice(0, e.length - 1);
3123
3233
  }
3124
3234
  function Le({ duration: e = 300, keyframes: t, times: n, ease: i = "easeInOut" }) {
3125
- const r = Fo(i) ? i.map(ns) : ns(i), a = {
3235
+ const r = Fo(i) ? i.map(tn) : tn(i), a = {
3126
3236
  done: !1,
3127
3237
  value: t[0]
3128
3238
  }, o = Aa(
@@ -3144,8 +3254,8 @@ function Ct(e, { repeat: t, repeatType: n = "loop" }, i, r = 1) {
3144
3254
  return !l || i === void 0 ? a[l] : i;
3145
3255
  }
3146
3256
  const Ca = {
3147
- decay: tn,
3148
- inertia: tn,
3257
+ decay: ts,
3258
+ inertia: ts,
3149
3259
  tween: Le,
3150
3260
  keyframes: Le,
3151
3261
  spring: Tt
@@ -3153,7 +3263,7 @@ const Ca = {
3153
3263
  function Xi(e) {
3154
3264
  typeof e.type == "string" && (e.type = Ca[e.type]);
3155
3265
  }
3156
- class Ln {
3266
+ class Rs {
3157
3267
  constructor() {
3158
3268
  this.updateFinished();
3159
3269
  }
@@ -3178,7 +3288,7 @@ class Ln {
3178
3288
  }
3179
3289
  }
3180
3290
  const Ea = (e) => e / 100;
3181
- class Mt extends Ln {
3291
+ class Mt extends Rs {
3182
3292
  constructor(t) {
3183
3293
  super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
3184
3294
  done: !1,
@@ -3195,13 +3305,13 @@ class Mt extends Ln {
3195
3305
  const { type: n = Le, repeat: i = 0, repeatDelay: r = 0, repeatType: a, velocity: o = 0 } = t;
3196
3306
  let { keyframes: l } = t;
3197
3307
  const c = n || Le;
3198
- process.env.NODE_ENV !== "production" && c !== Le && pe(l.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${l}`, "spring-two-frames"), c !== Le && typeof l[0] != "number" && (this.mixKeyframes = st(Ea, Ki(l[0], l[1])), l = [0, 100]);
3308
+ process.env.NODE_ENV !== "production" && c !== Le && pe(l.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${l}`, "spring-two-frames"), c !== Le && typeof l[0] != "number" && (this.mixKeyframes = nt(Ea, Ki(l[0], l[1])), l = [0, 100]);
3199
3309
  const h = c({ ...t, keyframes: l });
3200
3310
  a === "mirror" && (this.mirroredGenerator = c({
3201
3311
  ...t,
3202
3312
  keyframes: [...l].reverse(),
3203
3313
  velocity: -o
3204
- })), h.calculatedDuration === null && (h.calculatedDuration = Rn(h));
3314
+ })), h.calculatedDuration === null && (h.calculatedDuration = Ds(h));
3205
3315
  const { calculatedDuration: u } = h;
3206
3316
  this.calculatedDuration = u, this.resolvedDuration = u + r, this.totalDuration = this.resolvedDuration * (i + 1) - r, this.generator = h;
3207
3317
  }
@@ -3228,7 +3338,7 @@ class Mt extends Ln {
3228
3338
  let { done: E } = S;
3229
3339
  !v && c !== null && (E = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
3230
3340
  const D = this.holdTime === null && (this.state === "finished" || this.state === "running" && E);
3231
- return D && x !== tn && (S.value = Ct(u, this.options, y, this.speed)), g && g(S.value), D && this.finish(), S;
3341
+ return D && x !== ts && (S.value = Ct(u, this.options, y, this.speed)), g && g(S.value), D && this.finish(), S;
3232
3342
  }
3233
3343
  /**
3234
3344
  * Allows the returned animation to be awaited or promise-chained. Currently
@@ -3239,14 +3349,14 @@ class Mt extends Ln {
3239
3349
  return this.finished.then(t, n);
3240
3350
  }
3241
3351
  get duration() {
3242
- return /* @__PURE__ */ se(this.calculatedDuration);
3352
+ return /* @__PURE__ */ ne(this.calculatedDuration);
3243
3353
  }
3244
3354
  get iterationDuration() {
3245
3355
  const { delay: t = 0 } = this.options || {};
3246
- return this.duration + /* @__PURE__ */ se(t);
3356
+ return this.duration + /* @__PURE__ */ ne(t);
3247
3357
  }
3248
3358
  get time() {
3249
- return /* @__PURE__ */ se(this.currentTime);
3359
+ return /* @__PURE__ */ ne(this.currentTime);
3250
3360
  }
3251
3361
  set time(t) {
3252
3362
  t = /* @__PURE__ */ te(t), this.currentTime = t, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = t : this.driver && (this.startTime = this.driver.now() - t / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = t, this.tick(t));
@@ -3270,7 +3380,7 @@ class Mt extends Ln {
3270
3380
  }
3271
3381
  set speed(t) {
3272
3382
  const n = this.playbackSpeed !== t;
3273
- n && this.driver && this.updateTime(Z.now()), this.playbackSpeed = t, n && this.driver && (this.time = /* @__PURE__ */ se(this.currentTime));
3383
+ n && this.driver && this.updateTime(Z.now()), this.playbackSpeed = t, n && this.driver && (this.time = /* @__PURE__ */ ne(this.currentTime));
3274
3384
  }
3275
3385
  play() {
3276
3386
  var r, a;
@@ -3313,9 +3423,9 @@ function ka(e) {
3313
3423
  for (let t = 1; t < e.length; t++)
3314
3424
  e[t] ?? (e[t] = e[t - 1]);
3315
3425
  }
3316
- const Ae = (e) => e * 180 / Math.PI, nn = (e) => {
3426
+ const Ae = (e) => e * 180 / Math.PI, ss = (e) => {
3317
3427
  const t = Ae(Math.atan2(e[1], e[0]));
3318
- return sn(t);
3428
+ return ns(t);
3319
3429
  }, Da = {
3320
3430
  x: 4,
3321
3431
  y: 5,
@@ -3324,35 +3434,35 @@ const Ae = (e) => e * 180 / Math.PI, nn = (e) => {
3324
3434
  scaleX: 0,
3325
3435
  scaleY: 3,
3326
3436
  scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
3327
- rotate: nn,
3328
- rotateZ: nn,
3437
+ rotate: ss,
3438
+ rotateZ: ss,
3329
3439
  skewX: (e) => Ae(Math.atan(e[1])),
3330
3440
  skewY: (e) => Ae(Math.atan(e[2])),
3331
3441
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
3332
- }, sn = (e) => (e = e % 360, e < 0 && (e += 360), e), us = nn, hs = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), ds = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Ra = {
3442
+ }, ns = (e) => (e = e % 360, e < 0 && (e += 360), e), un = ss, hn = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), dn = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Ra = {
3333
3443
  x: 12,
3334
3444
  y: 13,
3335
3445
  z: 14,
3336
3446
  translateX: 12,
3337
3447
  translateY: 13,
3338
3448
  translateZ: 14,
3339
- scaleX: hs,
3340
- scaleY: ds,
3341
- scale: (e) => (hs(e) + ds(e)) / 2,
3342
- rotateX: (e) => sn(Ae(Math.atan2(e[6], e[5]))),
3343
- rotateY: (e) => sn(Ae(Math.atan2(-e[2], e[0]))),
3344
- rotateZ: us,
3345
- rotate: us,
3449
+ scaleX: hn,
3450
+ scaleY: dn,
3451
+ scale: (e) => (hn(e) + dn(e)) / 2,
3452
+ rotateX: (e) => ns(Ae(Math.atan2(e[6], e[5]))),
3453
+ rotateY: (e) => ns(Ae(Math.atan2(-e[2], e[0]))),
3454
+ rotateZ: un,
3455
+ rotate: un,
3346
3456
  skewX: (e) => Ae(Math.atan(e[4])),
3347
3457
  skewY: (e) => Ae(Math.atan(e[1])),
3348
3458
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
3349
3459
  };
3350
- function rn(e) {
3460
+ function is(e) {
3351
3461
  return e.includes("scale") ? 1 : 0;
3352
3462
  }
3353
- function on(e, t) {
3463
+ function rs(e, t) {
3354
3464
  if (!e || e === "none")
3355
- return rn(t);
3465
+ return is(t);
3356
3466
  const n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);
3357
3467
  let i, r;
3358
3468
  if (n)
@@ -3362,13 +3472,13 @@ function on(e, t) {
3362
3472
  i = Da, r = l;
3363
3473
  }
3364
3474
  if (!r)
3365
- return rn(t);
3475
+ return is(t);
3366
3476
  const a = i[t], o = r[1].split(",").map(Na);
3367
3477
  return typeof a == "function" ? a(o) : o[a];
3368
3478
  }
3369
3479
  const La = (e, t) => {
3370
3480
  const { transform: n = "none" } = getComputedStyle(e);
3371
- return on(n, t);
3481
+ return rs(n, t);
3372
3482
  };
3373
3483
  function Na(e) {
3374
3484
  return parseFloat(e.trim());
@@ -3391,7 +3501,7 @@ const Ue = [
3391
3501
  "skew",
3392
3502
  "skewX",
3393
3503
  "skewY"
3394
- ], We = new Set(Ue), fs = (e) => e === _e || e === A, Fa = /* @__PURE__ */ new Set(["x", "y", "z"]), Ia = Ue.filter((e) => !Fa.has(e));
3504
+ ], We = new Set(Ue), fn = (e) => e === _e || e === A, Fa = /* @__PURE__ */ new Set(["x", "y", "z"]), Ia = Ue.filter((e) => !Fa.has(e));
3395
3505
  function Oa(e) {
3396
3506
  const t = [];
3397
3507
  return Ia.forEach((n) => {
@@ -3414,15 +3524,15 @@ const ge = {
3414
3524
  bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
3415
3525
  right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
3416
3526
  // Transform
3417
- x: (e, { transform: t }) => on(t, "x"),
3418
- y: (e, { transform: t }) => on(t, "y")
3527
+ x: (e, { transform: t }) => rs(t, "x"),
3528
+ y: (e, { transform: t }) => rs(t, "y")
3419
3529
  };
3420
3530
  ge.translateX = ge.x;
3421
3531
  ge.translateY = ge.y;
3422
3532
  const Pe = /* @__PURE__ */ new Set();
3423
- let an = !1, ln = !1, cn = !1;
3533
+ let os = !1, as = !1, ls = !1;
3424
3534
  function qi() {
3425
- if (ln) {
3535
+ if (as) {
3426
3536
  const e = Array.from(Pe).filter((i) => i.needsMeasurement), t = new Set(e.map((i) => i.element)), n = /* @__PURE__ */ new Map();
3427
3537
  t.forEach((i) => {
3428
3538
  const r = Oa(i);
@@ -3438,22 +3548,22 @@ function qi() {
3438
3548
  i.suspendedScrollY !== void 0 && window.scrollTo(0, i.suspendedScrollY);
3439
3549
  });
3440
3550
  }
3441
- ln = !1, an = !1, Pe.forEach((e) => e.complete(cn)), Pe.clear();
3551
+ as = !1, os = !1, Pe.forEach((e) => e.complete(ls)), Pe.clear();
3442
3552
  }
3443
3553
  function Zi() {
3444
3554
  Pe.forEach((e) => {
3445
- e.readKeyframes(), e.needsMeasurement && (ln = !0);
3555
+ e.readKeyframes(), e.needsMeasurement && (as = !0);
3446
3556
  });
3447
3557
  }
3448
3558
  function Ba() {
3449
- cn = !0, Zi(), qi(), cn = !1;
3559
+ ls = !0, Zi(), qi(), ls = !1;
3450
3560
  }
3451
- class Nn {
3561
+ class Ls {
3452
3562
  constructor(t, n, i, r, a, o = !1) {
3453
3563
  this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...t], this.onComplete = n, this.name = i, this.motionValue = r, this.element = a, this.isAsync = o;
3454
3564
  }
3455
3565
  scheduleResolve() {
3456
- this.state = "scheduled", this.isAsync ? (Pe.add(this), an || (an = !0, k.read(Zi), k.resolveKeyframes(qi))) : (this.readKeyframes(), this.complete());
3566
+ this.state = "scheduled", this.isAsync ? (Pe.add(this), os || (os = !0, k.read(Zi), k.resolveKeyframes(qi))) : (this.readKeyframes(), this.complete());
3457
3567
  }
3458
3568
  readKeyframes() {
3459
3569
  const { unresolvedKeyframes: t, name: n, element: i, motionValue: r } = this;
@@ -3503,7 +3613,7 @@ const _a = /* @__PURE__ */ Qi(() => window.ScrollTimeline !== void 0, "scrollTim
3503
3613
  return !1;
3504
3614
  }
3505
3615
  return !0;
3506
- }, "linearEasing"), Ye = ([e, t, n, i]) => `cubic-bezier(${e}, ${t}, ${n}, ${i})`, ps = {
3616
+ }, "linearEasing"), Ye = ([e, t, n, i]) => `cubic-bezier(${e}, ${t}, ${n}, ${i})`, pn = {
3507
3617
  linear: "linear",
3508
3618
  ease: "ease",
3509
3619
  easeIn: "ease-in",
@@ -3516,7 +3626,7 @@ const _a = /* @__PURE__ */ Qi(() => window.ScrollTimeline !== void 0, "scrollTim
3516
3626
  };
3517
3627
  function tr(e, t) {
3518
3628
  if (e)
3519
- return typeof e == "function" ? er() ? Gi(e, t) : "ease-out" : Ii(e) ? Ye(e) : Array.isArray(e) ? e.map((n) => tr(n, t) || ps.easeOut) : ps[e];
3629
+ return typeof e == "function" ? er() ? Gi(e, t) : "ease-out" : Ii(e) ? Ye(e) : Array.isArray(e) ? e.map((n) => tr(n, t) || pn.easeOut) : pn[e];
3520
3630
  }
3521
3631
  function Ua(e, t, n, { delay: i = 0, duration: r = 300, repeat: a = 0, repeatType: o = "loop", ease: l = "easeOut", times: c } = {}, h = void 0) {
3522
3632
  const u = {
@@ -3535,13 +3645,13 @@ function Ua(e, t, n, { delay: i = 0, duration: r = 300, repeat: a = 0, repeatTyp
3535
3645
  };
3536
3646
  return h && (f.pseudoElement = h), e.animate(u, f);
3537
3647
  }
3538
- function nr(e) {
3648
+ function sr(e) {
3539
3649
  return typeof e == "function" && "applyToOptions" in e;
3540
3650
  }
3541
3651
  function Wa({ type: e, ...t }) {
3542
- return nr(e) && er() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
3652
+ return sr(e) && er() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
3543
3653
  }
3544
- class sr extends Ln {
3654
+ class nr extends Rs {
3545
3655
  constructor(t) {
3546
3656
  if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !t)
3547
3657
  return;
@@ -3599,14 +3709,14 @@ class sr extends Ln {
3599
3709
  get duration() {
3600
3710
  var n, i;
3601
3711
  const t = ((i = (n = this.animation.effect) == null ? void 0 : n.getComputedTiming) == null ? void 0 : i.call(n).duration) || 0;
3602
- return /* @__PURE__ */ se(Number(t));
3712
+ return /* @__PURE__ */ ne(Number(t));
3603
3713
  }
3604
3714
  get iterationDuration() {
3605
3715
  const { delay: t = 0 } = this.options || {};
3606
- return this.duration + /* @__PURE__ */ se(t);
3716
+ return this.duration + /* @__PURE__ */ ne(t);
3607
3717
  }
3608
3718
  get time() {
3609
- return /* @__PURE__ */ se(Number(this.animation.currentTime) || 0);
3719
+ return /* @__PURE__ */ ne(Number(this.animation.currentTime) || 0);
3610
3720
  }
3611
3721
  set time(t) {
3612
3722
  const n = this.finishedTime !== null;
@@ -3651,7 +3761,7 @@ function Ka(e) {
3651
3761
  typeof e.ease == "string" && $a(e.ease) && (e.ease = ir[e.ease]);
3652
3762
  }
3653
3763
  const zt = 10;
3654
- class Ga extends sr {
3764
+ class Ga extends nr {
3655
3765
  constructor(t) {
3656
3766
  Ka(t), Xi(t), super(t), t.startTime !== void 0 && t.autoplay !== !1 && (this.startTime = t.startTime), this.options = t;
3657
3767
  }
@@ -3678,7 +3788,7 @@ class Ga extends sr {
3678
3788
  a && d && Ji(a, d, u), n.setWithVelocity(l.sample(Math.max(0, c - h)).value, u, h), l.stop();
3679
3789
  }
3680
3790
  }
3681
- const ms = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
3791
+ const mn = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
3682
3792
  (ae.test(e) || e === "0") && // And it contains numbers and/or colors
3683
3793
  !e.startsWith("url("));
3684
3794
  function Ya(e) {
@@ -3695,10 +3805,10 @@ function Xa(e, t, n, i) {
3695
3805
  return !1;
3696
3806
  if (t === "display" || t === "visibility")
3697
3807
  return !0;
3698
- const a = e[e.length - 1], o = ms(r, t), l = ms(a, t);
3699
- return He(o === l, `You are trying to animate ${t} from "${r}" to "${a}". "${o ? a : r}" is not an animatable value.`, "value-not-animatable"), !o || !l ? !1 : Ya(e) || (n === "spring" || nr(n)) && i;
3808
+ const a = e[e.length - 1], o = mn(r, t), l = mn(a, t);
3809
+ return He(o === l, `You are trying to animate ${t} from "${r}" to "${a}". "${o ? a : r}" is not an animatable value.`, "value-not-animatable"), !o || !l ? !1 : Ya(e) || (n === "spring" || sr(n)) && i;
3700
3810
  }
3701
- function un(e) {
3811
+ function cs(e) {
3702
3812
  e.duration = 0, e.type = "keyframes";
3703
3813
  }
3704
3814
  const rr = /* @__PURE__ */ new Set([
@@ -3745,7 +3855,7 @@ function el(e) {
3745
3855
  !h && !i && r !== "mirror" && a !== 0 && o !== "inertia";
3746
3856
  }
3747
3857
  const tl = 40;
3748
- class nl extends Ln {
3858
+ class sl extends Rs {
3749
3859
  constructor({ autoplay: t = !0, delay: n = 0, type: i = "keyframes", repeat: r = 0, repeatDelay: a = 0, repeatType: o = "loop", keyframes: l, name: c, motionValue: h, element: u, ...d }) {
3750
3860
  var x;
3751
3861
  super(), this.stop = () => {
@@ -3763,7 +3873,7 @@ class nl extends Ln {
3763
3873
  motionValue: h,
3764
3874
  element: u,
3765
3875
  ...d
3766
- }, m = (u == null ? void 0 : u.KeyframeResolver) || Nn;
3876
+ }, m = (u == null ? void 0 : u.KeyframeResolver) || Ls;
3767
3877
  this.keyframeResolver = new m(l, (g, y, w) => this.onKeyframesResolved(g, y, f, !w), c, h, u), (x = this.keyframeResolver) == null || x.scheduleResolve();
3768
3878
  }
3769
3879
  onKeyframesResolved(t, n, i, r) {
@@ -3772,7 +3882,7 @@ class nl extends Ln {
3772
3882
  const { name: a, type: o, velocity: l, delay: c, isHandoff: h, onUpdate: u } = i;
3773
3883
  this.resolvedAt = Z.now();
3774
3884
  let d = !0;
3775
- Xa(t, a, o, l) || (d = !1, (ve.instantAnimations || !c) && (u == null || u(Ct(t, i, n))), t[0] = t[t.length - 1], un(i), i.repeat = 0);
3885
+ Xa(t, a, o, l) || (d = !1, (ve.instantAnimations || !c) && (u == null || u(Ct(t, i, n))), t[0] = t[t.length - 1], cs(i), i.repeat = 0);
3776
3886
  const m = {
3777
3887
  startTime: r ? this.resolvedAt ? this.resolvedAt - this.createdAt > tl ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
3778
3888
  finalKeyframe: n,
@@ -3851,12 +3961,12 @@ function or(e, t, n, i = 0, r = 1) {
3851
3961
  const a = Array.from(e).sort((h, u) => h.sortNodePosition(u)).indexOf(t), o = e.size, l = (o - 1) * i;
3852
3962
  return typeof n == "function" ? n(a, o) : r === 1 ? a * i : l - a * i;
3853
3963
  }
3854
- const sl = (
3964
+ const nl = (
3855
3965
  // eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
3856
3966
  /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
3857
3967
  );
3858
3968
  function il(e) {
3859
- const t = sl.exec(e);
3969
+ const t = nl.exec(e);
3860
3970
  if (!t)
3861
3971
  return [,];
3862
3972
  const [, n, i, r] = t;
@@ -3873,7 +3983,7 @@ function ar(e, t, n = 1) {
3873
3983
  const o = a.trim();
3874
3984
  return Ti(o) ? parseFloat(o) : o;
3875
3985
  }
3876
- return Cn(r) ? ar(r, t, n + 1) : r;
3986
+ return Vs(r) ? ar(r, t, n + 1) : r;
3877
3987
  }
3878
3988
  const ol = {
3879
3989
  type: "spring",
@@ -3900,7 +4010,7 @@ function lr(e, t) {
3900
4010
  }
3901
4011
  return e;
3902
4012
  }
3903
- function Fn(e, t) {
4013
+ function Ns(e, t) {
3904
4014
  const n = (e == null ? void 0 : e[t]) ?? (e == null ? void 0 : e.default) ?? e;
3905
4015
  return n !== e ? lr(n, e) : n;
3906
4016
  }
@@ -3922,8 +4032,8 @@ function dl(e) {
3922
4032
  return !0;
3923
4033
  return !1;
3924
4034
  }
3925
- const In = (e, t, n, i = {}, r, a) => (o) => {
3926
- const l = Fn(i, e) || {}, c = l.delay || i.delay || 0;
4035
+ const Fs = (e, t, n, i = {}, r, a) => (o) => {
4036
+ const l = Ns(i, e) || {}, c = l.delay || i.delay || 0;
3927
4037
  let { elapsed: h = 0 } = i;
3928
4038
  h = h - /* @__PURE__ */ te(c);
3929
4039
  const u = {
@@ -3944,7 +4054,7 @@ const In = (e, t, n, i = {}, r, a) => (o) => {
3944
4054
  };
3945
4055
  dl(l) || Object.assign(u, ul(e, u)), u.duration && (u.duration = /* @__PURE__ */ te(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ te(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
3946
4056
  let d = !1;
3947
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (un(u), u.delay === 0 && (d = !0)), (ve.instantAnimations || ve.skipAnimations || r != null && r.shouldSkipAnimations) && (d = !0, un(u), u.delay = 0), u.allowFlatten = !l.type && !l.ease, d && !a && t.get() !== void 0) {
4057
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (cs(u), u.delay === 0 && (d = !0)), (ve.instantAnimations || ve.skipAnimations || r != null && r.shouldSkipAnimations) && (d = !0, cs(u), u.delay = 0), u.allowFlatten = !l.type && !l.ease, d && !a && t.get() !== void 0) {
3948
4058
  const f = Ct(u.keyframes, l);
3949
4059
  if (f !== void 0) {
3950
4060
  k.update(() => {
@@ -3953,28 +4063,28 @@ const In = (e, t, n, i = {}, r, a) => (o) => {
3953
4063
  return;
3954
4064
  }
3955
4065
  }
3956
- return l.isSync ? new Mt(u) : new nl(u);
4066
+ return l.isSync ? new Mt(u) : new sl(u);
3957
4067
  };
3958
- function xs(e) {
4068
+ function xn(e) {
3959
4069
  const t = [{}, {}];
3960
4070
  return e == null || e.values.forEach((n, i) => {
3961
4071
  t[0][i] = n.get(), t[1][i] = n.getVelocity();
3962
4072
  }), t;
3963
4073
  }
3964
- function On(e, t, n, i) {
4074
+ function Is(e, t, n, i) {
3965
4075
  if (typeof t == "function") {
3966
- const [r, a] = xs(i);
4076
+ const [r, a] = xn(i);
3967
4077
  t = t(n !== void 0 ? n : e.custom, r, a);
3968
4078
  }
3969
4079
  if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
3970
- const [r, a] = xs(i);
4080
+ const [r, a] = xn(i);
3971
4081
  t = t(n !== void 0 ? n : e.custom, r, a);
3972
4082
  }
3973
4083
  return t;
3974
4084
  }
3975
4085
  function Ve(e, t, n) {
3976
4086
  const i = e.getProps();
3977
- return On(i, t, n !== void 0 ? n : i.custom, e);
4087
+ return Is(i, t, n !== void 0 ? n : i.custom, e);
3978
4088
  }
3979
4089
  const cr = /* @__PURE__ */ new Set([
3980
4090
  "width",
@@ -3984,7 +4094,7 @@ const cr = /* @__PURE__ */ new Set([
3984
4094
  "right",
3985
4095
  "bottom",
3986
4096
  ...Ue
3987
- ]), ys = 30, fl = (e) => !isNaN(parseFloat(e));
4097
+ ]), yn = 30, fl = (e) => !isNaN(parseFloat(e));
3988
4098
  class pl {
3989
4099
  /**
3990
4100
  * @param init - The initiating value
@@ -4048,10 +4158,10 @@ class pl {
4048
4158
  * @deprecated
4049
4159
  */
4050
4160
  onChange(t) {
4051
- return process.env.NODE_ENV !== "production" && An(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", t);
4161
+ return process.env.NODE_ENV !== "production" && Ss(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", t);
4052
4162
  }
4053
4163
  on(t, n) {
4054
- this.events[t] || (this.events[t] = new Sn());
4164
+ this.events[t] || (this.events[t] = new Ms());
4055
4165
  const i = this.events[t].add(n);
4056
4166
  return t === "change" ? () => {
4057
4167
  i(), k.read(() => {
@@ -4132,9 +4242,9 @@ class pl {
4132
4242
  */
4133
4243
  getVelocity() {
4134
4244
  const t = Z.now();
4135
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > ys)
4245
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > yn)
4136
4246
  return 0;
4137
- const n = Math.min(this.updatedAt - this.prevUpdatedAt, ys);
4247
+ const n = Math.min(this.updatedAt - this.prevUpdatedAt, yn);
4138
4248
  return Pi(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
4139
4249
  }
4140
4250
  /**
@@ -4190,12 +4300,12 @@ class pl {
4190
4300
  function Be(e, t) {
4191
4301
  return new pl(e, t);
4192
4302
  }
4193
- const hn = (e) => Array.isArray(e);
4303
+ const us = (e) => Array.isArray(e);
4194
4304
  function ml(e, t, n) {
4195
4305
  e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Be(n));
4196
4306
  }
4197
4307
  function xl(e) {
4198
- return hn(e) ? e[e.length - 1] || 0 : e;
4308
+ return us(e) ? e[e.length - 1] || 0 : e;
4199
4309
  }
4200
4310
  function yl(e, t) {
4201
4311
  const n = Ve(e, t);
@@ -4210,7 +4320,7 @@ const W = (e) => !!(e && e.getVelocity);
4210
4320
  function gl(e) {
4211
4321
  return !!(W(e) && e.add);
4212
4322
  }
4213
- function dn(e, t) {
4323
+ function hs(e, t) {
4214
4324
  const n = e.getValue("willChange");
4215
4325
  if (gl(n))
4216
4326
  return n.add(t);
@@ -4219,10 +4329,10 @@ function dn(e, t) {
4219
4329
  e.addValue("willChange", i), i.add(t);
4220
4330
  }
4221
4331
  }
4222
- function Bn(e) {
4332
+ function Os(e) {
4223
4333
  return e.replace(/([A-Z])/g, (t) => `-${t.toLowerCase()}`);
4224
4334
  }
4225
- const jl = "framerAppearId", ur = "data-" + Bn(jl);
4335
+ const jl = "framerAppearId", ur = "data-" + Os(jl);
4226
4336
  function hr(e) {
4227
4337
  return e.props[ur];
4228
4338
  }
@@ -4243,7 +4353,7 @@ function dr(e, t, { delay: n = 0, transitionOverride: i, type: r } = {}) {
4243
4353
  continue;
4244
4354
  const g = {
4245
4355
  delay: n,
4246
- ...Fn(a || {}, f)
4356
+ ...Ns(a || {}, f)
4247
4357
  }, y = m.get();
4248
4358
  if (y !== void 0 && !m.isAnimating() && !Array.isArray(x) && x === y && !g.velocity) {
4249
4359
  k.update(() => m.set(x));
@@ -4257,9 +4367,9 @@ function dr(e, t, { delay: n = 0, transitionOverride: i, type: r } = {}) {
4257
4367
  S !== null && (g.startTime = S, w = !0);
4258
4368
  }
4259
4369
  }
4260
- dn(e, f);
4370
+ hs(e, f);
4261
4371
  const v = h ?? e.shouldReduceMotion;
4262
- m.start(In(f, m, x, v && cr.has(f) ? { type: !1 } : g, e, w));
4372
+ m.start(Fs(f, m, x, v && cr.has(f) ? { type: !1 } : g, e, w));
4263
4373
  const b = m.animation;
4264
4374
  b && u.push(b);
4265
4375
  }
@@ -4271,7 +4381,7 @@ function dr(e, t, { delay: n = 0, transitionOverride: i, type: r } = {}) {
4271
4381
  }
4272
4382
  return u;
4273
4383
  }
4274
- function fn(e, t, n = {}) {
4384
+ function ds(e, t, n = {}) {
4275
4385
  var c;
4276
4386
  const i = Ve(e, t, n.type === "exit" ? (c = e.presenceContext) == null ? void 0 : c.custom : void 0);
4277
4387
  let { transition: r = e.getDefaultTransition() || {} } = i || {};
@@ -4289,7 +4399,7 @@ function fn(e, t, n = {}) {
4289
4399
  function wl(e, t, n = 0, i = 0, r = 0, a = 1, o) {
4290
4400
  const l = [];
4291
4401
  for (const c of e.variantChildren)
4292
- c.notify("AnimationStart", t), l.push(fn(c, t, {
4402
+ c.notify("AnimationStart", t), l.push(ds(c, t, {
4293
4403
  ...o,
4294
4404
  delay: n + (typeof i == "function" ? 0 : i) + or(e.variantChildren, c, i, r, a)
4295
4405
  }).then(() => c.notify("AnimationComplete", t)));
@@ -4299,10 +4409,10 @@ function bl(e, t, n = {}) {
4299
4409
  e.notify("AnimationStart", t);
4300
4410
  let i;
4301
4411
  if (Array.isArray(t)) {
4302
- const r = t.map((a) => fn(e, a, n));
4412
+ const r = t.map((a) => ds(e, a, n));
4303
4413
  i = Promise.all(r);
4304
4414
  } else if (typeof t == "string")
4305
- i = fn(e, t, n);
4415
+ i = ds(e, t, n);
4306
4416
  else {
4307
4417
  const r = typeof t == "function" ? Ve(e, t, n.custom) : t;
4308
4418
  i = Promise.all(dr(e, r, n));
@@ -4314,7 +4424,7 @@ function bl(e, t, n = {}) {
4314
4424
  const Tl = {
4315
4425
  test: (e) => e === "auto",
4316
4426
  parse: (e) => e
4317
- }, fr = (e) => (t) => t.test(e), pr = [_e, A, he, xe, Yo, Go, Tl], gs = (e) => pr.find(fr(e));
4427
+ }, fr = (e) => (t) => t.test(e), pr = [_e, A, he, xe, Yo, Go, Tl], gn = (e) => pr.find(fr(e));
4318
4428
  function Ml(e) {
4319
4429
  return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || Si(e) : !0;
4320
4430
  }
@@ -4323,26 +4433,26 @@ function Al(e) {
4323
4433
  const [t, n] = e.slice(0, -1).split("(");
4324
4434
  if (t === "drop-shadow")
4325
4435
  return e;
4326
- const [i] = n.match(En) || [];
4436
+ const [i] = n.match(Cs) || [];
4327
4437
  if (!i)
4328
4438
  return e;
4329
4439
  const r = n.replace(i, "");
4330
4440
  let a = Sl.has(t) ? 1 : 0;
4331
4441
  return i !== n && (a *= 100), t + "(" + a + r + ")";
4332
4442
  }
4333
- const Pl = /\b([a-z-]*)\(.*?\)/gu, pn = {
4443
+ const Pl = /\b([a-z-]*)\(.*?\)/gu, fs = {
4334
4444
  ...ae,
4335
4445
  getAnimatableNone: (e) => {
4336
4446
  const t = e.match(Pl);
4337
4447
  return t ? t.map(Al).join(" ") : e;
4338
4448
  }
4339
- }, mn = {
4449
+ }, ps = {
4340
4450
  ...ae,
4341
4451
  getAnimatableNone: (e) => {
4342
4452
  const t = ae.parse(e);
4343
4453
  return ae.createTransformer(e)(t.map((i) => typeof i == "number" ? 0 : typeof i == "object" ? { ...i, alpha: 1 } : i));
4344
4454
  }
4345
- }, js = {
4455
+ }, jn = {
4346
4456
  ..._e,
4347
4457
  transform: Math.round
4348
4458
  }, Vl = {
@@ -4367,10 +4477,10 @@ const Pl = /\b([a-z-]*)\(.*?\)/gu, pn = {
4367
4477
  perspective: A,
4368
4478
  transformPerspective: A,
4369
4479
  opacity: Qe,
4370
- originX: is,
4371
- originY: is,
4480
+ originX: nn,
4481
+ originY: nn,
4372
4482
  originZ: A
4373
- }, zn = {
4483
+ }, Bs = {
4374
4484
  // Border props
4375
4485
  borderWidth: A,
4376
4486
  borderTopWidth: A,
@@ -4427,13 +4537,13 @@ const Pl = /\b([a-z-]*)\(.*?\)/gu, pn = {
4427
4537
  backgroundPositionX: A,
4428
4538
  backgroundPositionY: A,
4429
4539
  ...Vl,
4430
- zIndex: js,
4540
+ zIndex: jn,
4431
4541
  // SVG
4432
4542
  fillOpacity: Qe,
4433
4543
  strokeOpacity: Qe,
4434
- numOctaves: js
4544
+ numOctaves: jn
4435
4545
  }, Cl = {
4436
- ...zn,
4546
+ ...Bs,
4437
4547
  // Color props
4438
4548
  color: z,
4439
4549
  backgroundColor: z,
@@ -4446,11 +4556,11 @@ const Pl = /\b([a-z-]*)\(.*?\)/gu, pn = {
4446
4556
  borderRightColor: z,
4447
4557
  borderBottomColor: z,
4448
4558
  borderLeftColor: z,
4449
- filter: pn,
4450
- WebkitFilter: pn,
4451
- mask: mn,
4452
- WebkitMask: mn
4453
- }, mr = (e) => Cl[e], El = /* @__PURE__ */ new Set([pn, mn]);
4559
+ filter: fs,
4560
+ WebkitFilter: fs,
4561
+ mask: ps,
4562
+ WebkitMask: ps
4563
+ }, mr = (e) => Cl[e], El = /* @__PURE__ */ new Set([fs, ps]);
4454
4564
  function xr(e, t) {
4455
4565
  let n = mr(e);
4456
4566
  return El.has(n) || (n = ae), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
@@ -4466,7 +4576,7 @@ function Dl(e, t, n) {
4466
4576
  for (const a of t)
4467
4577
  e[a] = xr(n, r);
4468
4578
  }
4469
- class Rl extends Nn {
4579
+ class Rl extends Ls {
4470
4580
  constructor(t, n, i, r, a) {
4471
4581
  super(t, n, i, r, a, !0);
4472
4582
  }
@@ -4477,20 +4587,20 @@ class Rl extends Nn {
4477
4587
  super.readKeyframes();
4478
4588
  for (let u = 0; u < t.length; u++) {
4479
4589
  let d = t[u];
4480
- if (typeof d == "string" && (d = d.trim(), Cn(d))) {
4590
+ if (typeof d == "string" && (d = d.trim(), Vs(d))) {
4481
4591
  const f = ar(d, n.current);
4482
4592
  f !== void 0 && (t[u] = f), u === t.length - 1 && (this.finalKeyframe = d);
4483
4593
  }
4484
4594
  }
4485
4595
  if (this.resolveNoneKeyframes(), !cr.has(i) || t.length !== 2)
4486
4596
  return;
4487
- const [r, a] = t, o = gs(r), l = gs(a), c = ss(r), h = ss(a);
4597
+ const [r, a] = t, o = gn(r), l = gn(a), c = sn(r), h = sn(a);
4488
4598
  if (c !== h && ge[i]) {
4489
4599
  this.needsMeasurement = !0;
4490
4600
  return;
4491
4601
  }
4492
4602
  if (o !== l)
4493
- if (fs(o) && fs(l))
4603
+ if (fn(o) && fn(l))
4494
4604
  for (let u = 0; u < t.length; u++) {
4495
4605
  const d = t[u];
4496
4606
  typeof d == "string" && (t[u] = parseFloat(d));
@@ -4540,7 +4650,7 @@ const gr = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
4540
4650
  function Ll(e) {
4541
4651
  return Mi(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
4542
4652
  }
4543
- const { schedule: Hn } = /* @__PURE__ */ Oi(queueMicrotask, !1), oe = {
4653
+ const { schedule: zs } = /* @__PURE__ */ Oi(queueMicrotask, !1), oe = {
4544
4654
  x: !1,
4545
4655
  y: !1
4546
4656
  };
@@ -4595,7 +4705,7 @@ function Il(e, t, n = {}) {
4595
4705
  o.addEventListener("pointerenter", g, r), o.addEventListener("pointerdown", m, r);
4596
4706
  }), a;
4597
4707
  }
4598
- const wr = (e, t) => t ? e === t ? !0 : wr(e, t.parentElement) : !1, _n = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Ol = /* @__PURE__ */ new Set([
4708
+ const wr = (e, t) => t ? e === t ? !0 : wr(e, t.parentElement) : !1, Hs = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Ol = /* @__PURE__ */ new Set([
4599
4709
  "BUTTON",
4600
4710
  "INPUT",
4601
4711
  "SELECT",
@@ -4610,7 +4720,7 @@ function Hl(e) {
4610
4720
  return zl.has(e.tagName) || e.isContentEditable === !0;
4611
4721
  }
4612
4722
  const pt = /* @__PURE__ */ new WeakSet();
4613
- function vs(e) {
4723
+ function vn(e) {
4614
4724
  return (t) => {
4615
4725
  t.key === "Enter" && e(t);
4616
4726
  };
@@ -4622,29 +4732,29 @@ const _l = (e, t) => {
4622
4732
  const n = e.currentTarget;
4623
4733
  if (!n)
4624
4734
  return;
4625
- const i = vs(() => {
4735
+ const i = vn(() => {
4626
4736
  if (pt.has(n))
4627
4737
  return;
4628
4738
  Ht(n, "down");
4629
- const r = vs(() => {
4739
+ const r = vn(() => {
4630
4740
  Ht(n, "up");
4631
4741
  }), a = () => Ht(n, "cancel");
4632
4742
  n.addEventListener("keyup", r, t), n.addEventListener("blur", a, t);
4633
4743
  });
4634
4744
  n.addEventListener("keydown", i, t), n.addEventListener("blur", () => n.removeEventListener("keydown", i), t);
4635
4745
  };
4636
- function ws(e) {
4637
- return _n(e) && !jr();
4746
+ function wn(e) {
4747
+ return Hs(e) && !jr();
4638
4748
  }
4639
- const bs = /* @__PURE__ */ new WeakSet();
4749
+ const bn = /* @__PURE__ */ new WeakSet();
4640
4750
  function Ul(e, t, n = {}) {
4641
4751
  const [i, r, a] = vr(e, n), o = (l) => {
4642
4752
  const c = l.currentTarget;
4643
- if (!ws(l) || bs.has(l))
4753
+ if (!wn(l) || bn.has(l))
4644
4754
  return;
4645
- pt.add(c), n.stopPropagation && bs.add(l);
4755
+ pt.add(c), n.stopPropagation && bn.add(l);
4646
4756
  const h = t(c, l), u = (m, x) => {
4647
- window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", f), pt.has(c) && pt.delete(c), ws(m) && typeof h == "function" && h(m, { success: x });
4757
+ window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", f), pt.has(c) && pt.delete(c), wn(m) && typeof h == "function" && h(m, { success: x });
4648
4758
  }, d = (m) => {
4649
4759
  u(m, c === window || c === document || n.useGlobalTarget || wr(c, m.target));
4650
4760
  }, f = (m) => {
@@ -4656,12 +4766,12 @@ function Ul(e, t, n = {}) {
4656
4766
  (n.useGlobalTarget ? window : l).addEventListener("pointerdown", o, r), Ll(l) && (l.addEventListener("focus", (h) => _l(h, r)), !Bl(l) && !l.hasAttribute("tabindex") && (l.tabIndex = 0));
4657
4767
  }), a;
4658
4768
  }
4659
- function Un(e) {
4769
+ function _s(e) {
4660
4770
  return Mi(e) && "ownerSVGElement" in e;
4661
4771
  }
4662
4772
  const mt = /* @__PURE__ */ new WeakMap();
4663
4773
  let ye;
4664
- const br = (e, t, n) => (i, r) => r && r[0] ? r[0][e + "Size"] : Un(i) && "getBBox" in i ? i.getBBox()[t] : i[n], Wl = /* @__PURE__ */ br("inline", "width", "offsetWidth"), $l = /* @__PURE__ */ br("block", "height", "offsetHeight");
4774
+ const br = (e, t, n) => (i, r) => r && r[0] ? r[0][e + "Size"] : _s(i) && "getBBox" in i ? i.getBBox()[t] : i[n], Wl = /* @__PURE__ */ br("inline", "width", "offsetWidth"), $l = /* @__PURE__ */ br("block", "height", "offsetHeight");
4665
4775
  function Kl({ target: e, borderBoxSize: t }) {
4666
4776
  var n;
4667
4777
  (n = mt.get(e)) == null || n.forEach((i) => {
@@ -4714,23 +4824,23 @@ function Zl(e) {
4714
4824
  xt.delete(e), !xt.size && typeof Ne == "function" && (window.removeEventListener("resize", Ne), Ne = void 0);
4715
4825
  };
4716
4826
  }
4717
- function Ts(e, t) {
4827
+ function Tn(e, t) {
4718
4828
  return typeof e == "function" ? Zl(e) : Xl(e, t);
4719
4829
  }
4720
4830
  function Jl(e) {
4721
- return Un(e) && e.tagName === "svg";
4831
+ return _s(e) && e.tagName === "svg";
4722
4832
  }
4723
- const Ql = [...pr, z, ae], ec = (e) => Ql.find(fr(e)), Ms = () => ({
4833
+ const Ql = [...pr, z, ae], ec = (e) => Ql.find(fr(e)), Mn = () => ({
4724
4834
  translate: 0,
4725
4835
  scale: 1,
4726
4836
  origin: 0,
4727
4837
  originPoint: 0
4728
4838
  }), Fe = () => ({
4729
- x: Ms(),
4730
- y: Ms()
4731
- }), Ss = () => ({ min: 0, max: 0 }), H = () => ({
4732
- x: Ss(),
4733
- y: Ss()
4839
+ x: Mn(),
4840
+ y: Mn()
4841
+ }), Sn = () => ({ min: 0, max: 0 }), H = () => ({
4842
+ x: Sn(),
4843
+ y: Sn()
4734
4844
  }), tc = /* @__PURE__ */ new WeakMap();
4735
4845
  function Et(e) {
4736
4846
  return e !== null && typeof e == "object" && typeof e.start == "function";
@@ -4738,7 +4848,7 @@ function Et(e) {
4738
4848
  function et(e) {
4739
4849
  return typeof e == "string" || Array.isArray(e);
4740
4850
  }
4741
- const Wn = [
4851
+ const Us = [
4742
4852
  "animate",
4743
4853
  "whileInView",
4744
4854
  "whileFocus",
@@ -4746,14 +4856,14 @@ const Wn = [
4746
4856
  "whileTap",
4747
4857
  "whileDrag",
4748
4858
  "exit"
4749
- ], $n = ["initial", ...Wn];
4859
+ ], Ws = ["initial", ...Us];
4750
4860
  function kt(e) {
4751
- return Et(e.animate) || $n.some((t) => et(e[t]));
4861
+ return Et(e.animate) || Ws.some((t) => et(e[t]));
4752
4862
  }
4753
4863
  function Tr(e) {
4754
4864
  return !!(kt(e) || e.variants);
4755
4865
  }
4756
- function nc(e, t, n) {
4866
+ function sc(e, t, n) {
4757
4867
  for (const i in t) {
4758
4868
  const r = t[i], a = n[i];
4759
4869
  if (W(r))
@@ -4773,16 +4883,16 @@ function nc(e, t, n) {
4773
4883
  t[i] === void 0 && e.removeValue(i);
4774
4884
  return t;
4775
4885
  }
4776
- const xn = { current: null }, Mr = { current: !1 }, sc = typeof window < "u";
4886
+ const ms = { current: null }, Mr = { current: !1 }, nc = typeof window < "u";
4777
4887
  function ic() {
4778
- if (Mr.current = !0, !!sc)
4888
+ if (Mr.current = !0, !!nc)
4779
4889
  if (window.matchMedia) {
4780
- const e = window.matchMedia("(prefers-reduced-motion)"), t = () => xn.current = e.matches;
4890
+ const e = window.matchMedia("(prefers-reduced-motion)"), t = () => ms.current = e.matches;
4781
4891
  e.addEventListener("change", t), t();
4782
4892
  } else
4783
- xn.current = !1;
4893
+ ms.current = !1;
4784
4894
  }
4785
- const As = [
4895
+ const An = [
4786
4896
  "AnimationStart",
4787
4897
  "AnimationComplete",
4788
4898
  "Update",
@@ -4810,7 +4920,7 @@ class oc {
4810
4920
  return {};
4811
4921
  }
4812
4922
  constructor({ parent: t, props: n, presenceContext: i, reducedMotionConfig: r, skipAnimations: a, blockInitialAnimation: o, visualState: l }, c = {}) {
4813
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Nn, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
4923
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Ls, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
4814
4924
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
4815
4925
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
4816
4926
  const m = Z.now();
@@ -4829,7 +4939,7 @@ class oc {
4829
4939
  if (this.hasBeenMounted)
4830
4940
  for (const r in this.initialValues)
4831
4941
  (n = this.values.get(r)) == null || n.jump(this.initialValues[r]), this.latestValues[r] = this.initialValues[r];
4832
- this.current = t, tc.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((r, a) => this.bindToMotionValue(a, r)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Mr.current || ic(), this.shouldReduceMotion = xn.current), process.env.NODE_ENV !== "production" && An(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;
4942
+ this.current = t, tc.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((r, a) => this.bindToMotionValue(a, r)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Mr.current || ic(), this.shouldReduceMotion = ms.current), process.env.NODE_ENV !== "production" && Ss(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;
4833
4943
  }
4834
4944
  unmount() {
4835
4945
  var t;
@@ -4850,7 +4960,7 @@ class oc {
4850
4960
  }
4851
4961
  bindToMotionValue(t, n) {
4852
4962
  if (this.valueSubscriptions.has(t) && this.valueSubscriptions.get(t)(), n.accelerate && rr.has(t) && this.current instanceof HTMLElement) {
4853
- const { factory: o, keyframes: l, times: c, ease: h, duration: u } = n.accelerate, d = new sr({
4963
+ const { factory: o, keyframes: l, times: c, ease: h, duration: u } = n.accelerate, d = new nr({
4854
4964
  element: this.current,
4855
4965
  name: t,
4856
4966
  keyframes: l,
@@ -4912,13 +5022,13 @@ class oc {
4912
5022
  */
4913
5023
  update(t, n) {
4914
5024
  (t.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
4915
- for (let i = 0; i < As.length; i++) {
4916
- const r = As[i];
5025
+ for (let i = 0; i < An.length; i++) {
5026
+ const r = An[i];
4917
5027
  this.propEventSubscriptions[r] && (this.propEventSubscriptions[r](), delete this.propEventSubscriptions[r]);
4918
5028
  const a = "on" + r, o = t[a];
4919
5029
  o && (this.propEventSubscriptions[r] = this.on(r, o));
4920
5030
  }
4921
- this.prevMotionValues = nc(this, this.scrapeMotionValuesFromProps(t, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
5031
+ this.prevMotionValues = sc(this, this.scrapeMotionValuesFromProps(t, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
4922
5032
  }
4923
5033
  getProps() {
4924
5034
  return this.props;
@@ -5001,7 +5111,7 @@ class oc {
5001
5111
  const { initial: n } = this.props;
5002
5112
  let i;
5003
5113
  if (typeof n == "string" || typeof n == "object") {
5004
- const o = On(this.props, n, (a = this.presenceContext) == null ? void 0 : a.custom);
5114
+ const o = Is(this.props, n, (a = this.presenceContext) == null ? void 0 : a.custom);
5005
5115
  o && (i = o[t]);
5006
5116
  }
5007
5117
  if (n && i !== void 0)
@@ -5010,13 +5120,13 @@ class oc {
5010
5120
  return r !== void 0 && !W(r) ? r : this.initialValues[t] !== void 0 && i === void 0 ? void 0 : this.baseTarget[t];
5011
5121
  }
5012
5122
  on(t, n) {
5013
- return this.events[t] || (this.events[t] = new Sn()), this.events[t].add(n);
5123
+ return this.events[t] || (this.events[t] = new Ms()), this.events[t].add(n);
5014
5124
  }
5015
5125
  notify(t, ...n) {
5016
5126
  this.events[t] && this.events[t].notify(...n);
5017
5127
  }
5018
5128
  scheduleRenderMicrotask() {
5019
- Hn.render(this.render);
5129
+ zs.render(this.render);
5020
5130
  }
5021
5131
  }
5022
5132
  class Ar extends oc {
@@ -5071,32 +5181,32 @@ function lc(e, t) {
5071
5181
  function _t(e) {
5072
5182
  return e === void 0 || e === 1;
5073
5183
  }
5074
- function yn({ scale: e, scaleX: t, scaleY: n }) {
5184
+ function xs({ scale: e, scaleX: t, scaleY: n }) {
5075
5185
  return !_t(e) || !_t(t) || !_t(n);
5076
5186
  }
5077
5187
  function Me(e) {
5078
- return yn(e) || Vr(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
5188
+ return xs(e) || Vr(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
5079
5189
  }
5080
5190
  function Vr(e) {
5081
- return Ps(e.x) || Ps(e.y);
5191
+ return Pn(e.x) || Pn(e.y);
5082
5192
  }
5083
- function Ps(e) {
5193
+ function Pn(e) {
5084
5194
  return e && e !== "0%";
5085
5195
  }
5086
5196
  function At(e, t, n) {
5087
5197
  const i = e - n, r = t * i;
5088
5198
  return n + r;
5089
5199
  }
5090
- function Vs(e, t, n, i, r) {
5200
+ function Vn(e, t, n, i, r) {
5091
5201
  return r !== void 0 && (e = At(e, r, i)), At(e, n, i) + t;
5092
5202
  }
5093
- function gn(e, t = 0, n = 1, i, r) {
5094
- e.min = Vs(e.min, t, n, i, r), e.max = Vs(e.max, t, n, i, r);
5203
+ function ys(e, t = 0, n = 1, i, r) {
5204
+ e.min = Vn(e.min, t, n, i, r), e.max = Vn(e.max, t, n, i, r);
5095
5205
  }
5096
5206
  function Cr(e, { x: t, y: n }) {
5097
- gn(e.x, t.translate, t.scale, t.originPoint), gn(e.y, n.translate, n.scale, n.originPoint);
5207
+ ys(e.x, t.translate, t.scale, t.originPoint), ys(e.y, n.translate, n.scale, n.originPoint);
5098
5208
  }
5099
- const Cs = 0.999999999999, Es = 1.0000000000001;
5209
+ const Cn = 0.999999999999, En = 1.0000000000001;
5100
5210
  function cc(e, t, n, i = !1) {
5101
5211
  var l;
5102
5212
  const r = n.length;
@@ -5109,21 +5219,21 @@ function cc(e, t, n, i = !1) {
5109
5219
  const { visualElement: h } = a.options;
5110
5220
  h && h.props.style && h.props.style.display === "contents" || (i && a.options.layoutScroll && a.scroll && a !== a.root && (ue(e.x, -a.scroll.offset.x), ue(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Cr(e, o)), i && Me(a.latestValues) && yt(e, a.latestValues, (l = a.layout) == null ? void 0 : l.layoutBox));
5111
5221
  }
5112
- t.x < Es && t.x > Cs && (t.x = 1), t.y < Es && t.y > Cs && (t.y = 1);
5222
+ t.x < En && t.x > Cn && (t.x = 1), t.y < En && t.y > Cn && (t.y = 1);
5113
5223
  }
5114
5224
  function ue(e, t) {
5115
5225
  e.min += t, e.max += t;
5116
5226
  }
5117
- function ks(e, t, n, i, r = 0.5) {
5227
+ function kn(e, t, n, i, r = 0.5) {
5118
5228
  const a = L(e.min, e.max, r);
5119
- gn(e, t, n, a, i);
5229
+ ys(e, t, n, a, i);
5120
5230
  }
5121
- function Ds(e, t) {
5231
+ function Dn(e, t) {
5122
5232
  return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
5123
5233
  }
5124
5234
  function yt(e, t, n) {
5125
5235
  const i = n ?? e;
5126
- ks(e.x, Ds(t.x, i.x), t.scaleX, t.scale, t.originX), ks(e.y, Ds(t.y, i.y), t.scaleY, t.scale, t.originY);
5236
+ kn(e.x, Dn(t.x, i.x), t.scaleX, t.scale, t.originX), kn(e.y, Dn(t.y, i.y), t.scaleY, t.scale, t.originY);
5127
5237
  }
5128
5238
  function Er(e, t) {
5129
5239
  return Pr(lc(e.getBoundingClientRect(), t));
@@ -5152,7 +5262,7 @@ function fc(e, t, n) {
5152
5262
  c = o.startsWith("scale") ? h === 1 : h === 0;
5153
5263
  }
5154
5264
  if (!c || n) {
5155
- const h = gr(l, zn[o]);
5265
+ const h = gr(l, Bs[o]);
5156
5266
  if (!c) {
5157
5267
  r = !1;
5158
5268
  const u = hc[o] || o;
@@ -5163,7 +5273,7 @@ function fc(e, t, n) {
5163
5273
  }
5164
5274
  return i = i.trim(), n ? i = n(t, r ? "" : i) : r && (i = "none"), i;
5165
5275
  }
5166
- function Kn(e, t, n) {
5276
+ function $s(e, t, n) {
5167
5277
  const { style: i, vars: r, transformOrigin: a } = e;
5168
5278
  let o = !1, l = !1;
5169
5279
  for (const c in t) {
@@ -5175,7 +5285,7 @@ function Kn(e, t, n) {
5175
5285
  r[c] = h;
5176
5286
  continue;
5177
5287
  } else {
5178
- const u = gr(h, zn[c]);
5288
+ const u = gr(h, Bs[c]);
5179
5289
  c.startsWith("origin") ? (l = !0, a[c] = u) : i[c] = u;
5180
5290
  }
5181
5291
  }
@@ -5193,7 +5303,7 @@ function kr(e, { style: t, vars: n }, i, r) {
5193
5303
  for (o in n)
5194
5304
  a.setProperty(o, n[o]);
5195
5305
  }
5196
- function Rs(e, t) {
5306
+ function Rn(e, t) {
5197
5307
  return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
5198
5308
  }
5199
5309
  const Ge = {
@@ -5205,7 +5315,7 @@ const Ge = {
5205
5315
  e = parseFloat(e);
5206
5316
  else
5207
5317
  return e;
5208
- const n = Rs(e, t.target.x), i = Rs(e, t.target.y);
5318
+ const n = Rn(e, t.target.x), i = Rn(e, t.target.y);
5209
5319
  return `${n}% ${i}%`;
5210
5320
  }
5211
5321
  }, pc = {
@@ -5218,7 +5328,7 @@ const Ge = {
5218
5328
  const h = L(l, c, 0.5);
5219
5329
  return typeof r[2 + o] == "number" && (r[2 + o] /= h), typeof r[3 + o] == "number" && (r[3 + o] /= h), a(r);
5220
5330
  }
5221
- }, jn = {
5331
+ }, gs = {
5222
5332
  borderRadius: {
5223
5333
  ...Ge,
5224
5334
  applyTo: [
@@ -5235,9 +5345,9 @@ const Ge = {
5235
5345
  boxShadow: pc
5236
5346
  };
5237
5347
  function Dr(e, { layout: t, layoutId: n }) {
5238
- return We.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!jn[e] || e === "opacity");
5348
+ return We.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!gs[e] || e === "opacity");
5239
5349
  }
5240
- function Gn(e, t, n) {
5350
+ function Ks(e, t, n) {
5241
5351
  var o;
5242
5352
  const i = e.style, r = t == null ? void 0 : t.style, a = {};
5243
5353
  if (!i)
@@ -5256,7 +5366,7 @@ class xc extends Ar {
5256
5366
  readValueFromInstance(t, n) {
5257
5367
  var i;
5258
5368
  if (We.has(n))
5259
- return (i = this.projection) != null && i.isProjecting ? rn(n) : La(t, n);
5369
+ return (i = this.projection) != null && i.isProjecting ? is(n) : La(t, n);
5260
5370
  {
5261
5371
  const r = mc(t), a = (zi(n) ? r.getPropertyValue(n) : r[n]) || 0;
5262
5372
  return typeof a == "string" ? a.trim() : a;
@@ -5266,10 +5376,10 @@ class xc extends Ar {
5266
5376
  return Er(t, n);
5267
5377
  }
5268
5378
  build(t, n, i) {
5269
- Kn(t, n, i.transformTemplate);
5379
+ $s(t, n, i.transformTemplate);
5270
5380
  }
5271
5381
  scrapeMotionValuesFromProps(t, n, i) {
5272
- return Gn(t, n, i);
5382
+ return Ks(t, n, i);
5273
5383
  }
5274
5384
  }
5275
5385
  const yc = {
@@ -5300,7 +5410,7 @@ function Rr(e, {
5300
5410
  // This is object creation, which we try to avoid per-frame.
5301
5411
  ...l
5302
5412
  }, c, h, u) {
5303
- if (Kn(e, l, h), c) {
5413
+ if ($s(e, l, h), c) {
5304
5414
  e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
5305
5415
  return;
5306
5416
  }
@@ -5339,10 +5449,10 @@ const Lr = /* @__PURE__ */ new Set([
5339
5449
  function wc(e, t, n, i) {
5340
5450
  kr(e, t, void 0, i);
5341
5451
  for (const r in t.attrs)
5342
- e.setAttribute(Lr.has(r) ? r : Bn(r), t.attrs[r]);
5452
+ e.setAttribute(Lr.has(r) ? r : Os(r), t.attrs[r]);
5343
5453
  }
5344
5454
  function Fr(e, t, n) {
5345
- const i = Gn(e, t, n);
5455
+ const i = Ks(e, t, n);
5346
5456
  for (const r in e)
5347
5457
  if (W(e[r]) || W(t[r])) {
5348
5458
  const a = Ue.indexOf(r) !== -1 ? "attr" + r.charAt(0).toUpperCase() + r.substring(1) : r;
@@ -5362,7 +5472,7 @@ class bc extends Ar {
5362
5472
  const i = mr(n);
5363
5473
  return i && i.default || 0;
5364
5474
  }
5365
- return n = Lr.has(n) ? n : Bn(n), t.getAttribute(n);
5475
+ return n = Lr.has(n) ? n : Os(n), t.getAttribute(n);
5366
5476
  }
5367
5477
  scrapeMotionValuesFromProps(t, n, i) {
5368
5478
  return Fr(t, n, i);
@@ -5377,7 +5487,7 @@ class bc extends Ar {
5377
5487
  this.isSVGTag = Nr(t.tagName), super.mount(t);
5378
5488
  }
5379
5489
  }
5380
- const Tc = $n.length;
5490
+ const Tc = Ws.length;
5381
5491
  function Ir(e) {
5382
5492
  if (!e)
5383
5493
  return;
@@ -5387,7 +5497,7 @@ function Ir(e) {
5387
5497
  }
5388
5498
  const t = {};
5389
5499
  for (let n = 0; n < Tc; n++) {
5390
- const i = $n[n], r = e.props[i];
5500
+ const i = Ws[n], r = e.props[i];
5391
5501
  (et(r) || r === !1) && (t[i] = r);
5392
5502
  }
5393
5503
  return t;
@@ -5403,12 +5513,12 @@ function Or(e, t) {
5403
5513
  return !1;
5404
5514
  return !0;
5405
5515
  }
5406
- const Mc = [...Wn].reverse(), Sc = Wn.length;
5516
+ const Mc = [...Us].reverse(), Sc = Us.length;
5407
5517
  function Ac(e) {
5408
5518
  return (t) => Promise.all(t.map(({ animation: n, options: i }) => bl(e, n, i)));
5409
5519
  }
5410
5520
  function Pc(e) {
5411
- let t = Ac(e), n = Ls(), i = !0, r = !1;
5521
+ let t = Ac(e), n = Ln(), i = !0, r = !1;
5412
5522
  const a = (h) => (u, d) => {
5413
5523
  var m;
5414
5524
  const f = Ve(e, d, h === "exit" ? (m = e.presenceContext) == null ? void 0 : m.custom : void 0);
@@ -5460,7 +5570,7 @@ function Pc(e) {
5460
5570
  if (x.hasOwnProperty(O))
5461
5571
  continue;
5462
5572
  let V = !1;
5463
- hn(_) && hn(j) ? V = !Or(_, j) : V = _ !== j, V ? _ != null ? Q(O) : m.add(O) : _ !== void 0 && m.has(O) ? Q(O) : b.protectedKeys[O] = !0;
5573
+ us(_) && us(j) ? V = !Or(_, j) : V = _ !== j, V ? _ != null ? Q(O) : m.add(O) : _ !== void 0 && m.has(O) ? Q(O) : b.protectedKeys[O] = !0;
5464
5574
  }
5465
5575
  b.prevProp = M, b.prevResolvedValues = F, b.isActive && (x = { ...x, ...F }), (i || r) && e.blockInitialAnimation && (I = !1);
5466
5576
  const q = D && P;
@@ -5512,7 +5622,7 @@ function Pc(e) {
5512
5622
  setAnimateFunction: o,
5513
5623
  getState: () => n,
5514
5624
  reset: () => {
5515
- n = Ls(), r = !0;
5625
+ n = Ln(), r = !0;
5516
5626
  }
5517
5627
  };
5518
5628
  }
@@ -5527,7 +5637,7 @@ function Te(e = !1) {
5527
5637
  prevResolvedValues: {}
5528
5638
  };
5529
5639
  }
5530
- function Ls() {
5640
+ function Ln() {
5531
5641
  return {
5532
5642
  animate: Te(!0),
5533
5643
  whileInView: Te(),
@@ -5538,13 +5648,13 @@ function Ls() {
5538
5648
  exit: Te()
5539
5649
  };
5540
5650
  }
5541
- function vn(e, t) {
5651
+ function js(e, t) {
5542
5652
  e.min = t.min, e.max = t.max;
5543
5653
  }
5544
5654
  function re(e, t) {
5545
- vn(e.x, t.x), vn(e.y, t.y);
5655
+ js(e.x, t.x), js(e.y, t.y);
5546
5656
  }
5547
- function Ns(e, t) {
5657
+ function Nn(e, t) {
5548
5658
  e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
5549
5659
  }
5550
5660
  const Br = 1e-4, Cc = 1 - Br, Ec = 1 + Br, zr = 0.01, kc = 0 - zr, Dc = 0 + zr;
@@ -5554,64 +5664,64 @@ function J(e) {
5554
5664
  function Rc(e, t, n) {
5555
5665
  return Math.abs(e - t) <= n;
5556
5666
  }
5557
- function Fs(e, t, n, i = 0.5) {
5667
+ function Fn(e, t, n, i = 0.5) {
5558
5668
  e.origin = i, e.originPoint = L(t.min, t.max, e.origin), e.scale = J(n) / J(t), e.translate = L(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Cc && e.scale <= Ec || isNaN(e.scale)) && (e.scale = 1), (e.translate >= kc && e.translate <= Dc || isNaN(e.translate)) && (e.translate = 0);
5559
5669
  }
5560
5670
  function qe(e, t, n, i) {
5561
- Fs(e.x, t.x, n.x, i ? i.originX : void 0), Fs(e.y, t.y, n.y, i ? i.originY : void 0);
5671
+ Fn(e.x, t.x, n.x, i ? i.originX : void 0), Fn(e.y, t.y, n.y, i ? i.originY : void 0);
5562
5672
  }
5563
- function Is(e, t, n, i = 0) {
5673
+ function In(e, t, n, i = 0) {
5564
5674
  const r = i ? L(n.min, n.max, i) : n.min;
5565
5675
  e.min = r + t.min, e.max = e.min + J(t);
5566
5676
  }
5567
5677
  function Lc(e, t, n, i) {
5568
- Is(e.x, t.x, n.x, i == null ? void 0 : i.x), Is(e.y, t.y, n.y, i == null ? void 0 : i.y);
5678
+ In(e.x, t.x, n.x, i == null ? void 0 : i.x), In(e.y, t.y, n.y, i == null ? void 0 : i.y);
5569
5679
  }
5570
- function Os(e, t, n, i = 0) {
5680
+ function On(e, t, n, i = 0) {
5571
5681
  const r = i ? L(n.min, n.max, i) : n.min;
5572
5682
  e.min = t.min - r, e.max = e.min + J(t);
5573
5683
  }
5574
5684
  function Pt(e, t, n, i) {
5575
- Os(e.x, t.x, n.x, i == null ? void 0 : i.x), Os(e.y, t.y, n.y, i == null ? void 0 : i.y);
5685
+ On(e.x, t.x, n.x, i == null ? void 0 : i.x), On(e.y, t.y, n.y, i == null ? void 0 : i.y);
5576
5686
  }
5577
- function Bs(e, t, n, i, r) {
5687
+ function Bn(e, t, n, i, r) {
5578
5688
  return e -= t, e = At(e, 1 / n, i), r !== void 0 && (e = At(e, 1 / r, i)), e;
5579
5689
  }
5580
5690
  function Nc(e, t = 0, n = 1, i = 0.5, r, a = e, o = e) {
5581
5691
  if (he.test(t) && (t = parseFloat(t), t = L(o.min, o.max, t / 100) - o.min), typeof t != "number")
5582
5692
  return;
5583
5693
  let l = L(a.min, a.max, i);
5584
- e === a && (l -= t), e.min = Bs(e.min, t, n, l, r), e.max = Bs(e.max, t, n, l, r);
5694
+ e === a && (l -= t), e.min = Bn(e.min, t, n, l, r), e.max = Bn(e.max, t, n, l, r);
5585
5695
  }
5586
- function zs(e, t, [n, i, r], a, o) {
5696
+ function zn(e, t, [n, i, r], a, o) {
5587
5697
  Nc(e, t[n], t[i], t[r], t.scale, a, o);
5588
5698
  }
5589
5699
  const Fc = ["x", "scaleX", "originX"], Ic = ["y", "scaleY", "originY"];
5590
- function Hs(e, t, n, i) {
5591
- zs(e.x, t, Fc, n ? n.x : void 0, i ? i.x : void 0), zs(e.y, t, Ic, n ? n.y : void 0, i ? i.y : void 0);
5700
+ function Hn(e, t, n, i) {
5701
+ zn(e.x, t, Fc, n ? n.x : void 0, i ? i.x : void 0), zn(e.y, t, Ic, n ? n.y : void 0, i ? i.y : void 0);
5592
5702
  }
5593
- function _s(e) {
5703
+ function _n(e) {
5594
5704
  return e.translate === 0 && e.scale === 1;
5595
5705
  }
5596
5706
  function Hr(e) {
5597
- return _s(e.x) && _s(e.y);
5707
+ return _n(e.x) && _n(e.y);
5598
5708
  }
5599
- function Us(e, t) {
5709
+ function Un(e, t) {
5600
5710
  return e.min === t.min && e.max === t.max;
5601
5711
  }
5602
5712
  function Oc(e, t) {
5603
- return Us(e.x, t.x) && Us(e.y, t.y);
5713
+ return Un(e.x, t.x) && Un(e.y, t.y);
5604
5714
  }
5605
- function Ws(e, t) {
5715
+ function Wn(e, t) {
5606
5716
  return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
5607
5717
  }
5608
5718
  function _r(e, t) {
5609
- return Ws(e.x, t.x) && Ws(e.y, t.y);
5719
+ return Wn(e.x, t.x) && Wn(e.y, t.y);
5610
5720
  }
5611
- function $s(e) {
5721
+ function $n(e) {
5612
5722
  return J(e.x) / J(e.y);
5613
5723
  }
5614
- function Ks(e, t) {
5724
+ function Kn(e, t) {
5615
5725
  return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
5616
5726
  }
5617
5727
  function ce(e) {
@@ -5632,19 +5742,19 @@ const Ur = [
5632
5742
  "borderTopRightRadius",
5633
5743
  "borderBottomLeftRadius",
5634
5744
  "borderBottomRightRadius"
5635
- ], zc = Ur.length, Gs = (e) => typeof e == "string" ? parseFloat(e) : e, Ys = (e) => typeof e == "number" || A.test(e);
5745
+ ], zc = Ur.length, Gn = (e) => typeof e == "string" ? parseFloat(e) : e, Yn = (e) => typeof e == "number" || A.test(e);
5636
5746
  function Hc(e, t, n, i, r, a) {
5637
5747
  r ? (e.opacity = L(0, n.opacity ?? 1, _c(i)), e.opacityExit = L(t.opacity ?? 1, 0, Uc(i))) : a && (e.opacity = L(t.opacity ?? 1, n.opacity ?? 1, i));
5638
5748
  for (let o = 0; o < zc; o++) {
5639
5749
  const l = Ur[o];
5640
- let c = Xs(t, l), h = Xs(n, l);
5750
+ let c = Xn(t, l), h = Xn(n, l);
5641
5751
  if (c === void 0 && h === void 0)
5642
5752
  continue;
5643
- c || (c = 0), h || (h = 0), c === 0 || h === 0 || Ys(c) === Ys(h) ? (e[l] = Math.max(L(Gs(c), Gs(h), i), 0), (he.test(h) || he.test(c)) && (e[l] += "%")) : e[l] = h;
5753
+ c || (c = 0), h || (h = 0), c === 0 || h === 0 || Yn(c) === Yn(h) ? (e[l] = Math.max(L(Gn(c), Gn(h), i), 0), (he.test(h) || he.test(c)) && (e[l] += "%")) : e[l] = h;
5644
5754
  }
5645
5755
  (t.rotate || n.rotate) && (e.rotate = L(t.rotate || 0, n.rotate || 0, i));
5646
5756
  }
5647
- function Xs(e, t) {
5757
+ function Xn(e, t) {
5648
5758
  return e[t] !== void 0 ? e[t] : e.borderRadius;
5649
5759
  }
5650
5760
  const _c = /* @__PURE__ */ Wr(0, 0.5, Li), Uc = /* @__PURE__ */ Wr(0.5, 0.95, ie);
@@ -5653,7 +5763,7 @@ function Wr(e, t, n) {
5653
5763
  }
5654
5764
  function Wc(e, t, n) {
5655
5765
  const i = W(e) ? e : Be(e);
5656
- return i.start(In("", i, t, n)), i.animation;
5766
+ return i.start(Fs("", i, t, n)), i.animation;
5657
5767
  }
5658
5768
  function tt(e, t, n, i = { passive: !0 }) {
5659
5769
  return e.addEventListener(t, n, i), () => e.removeEventListener(t, n);
@@ -5664,7 +5774,7 @@ class Kc {
5664
5774
  this.children = [], this.isDirty = !1;
5665
5775
  }
5666
5776
  add(t) {
5667
- Mn(this.children, t), this.isDirty = !0;
5777
+ Ts(this.children, t), this.isDirty = !0;
5668
5778
  }
5669
5779
  remove(t) {
5670
5780
  vt(this.children, t), this.isDirty = !0;
@@ -5688,7 +5798,7 @@ class Yc {
5688
5798
  this.members = [];
5689
5799
  }
5690
5800
  add(t) {
5691
- Mn(this.members, t);
5801
+ Ts(this.members, t);
5692
5802
  for (let n = this.members.length - 1; n >= 0; n--) {
5693
5803
  const i = this.members[n];
5694
5804
  if (i === t || i === this.lead || i === this.prevLead)
@@ -5780,7 +5890,7 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5780
5890
  this.root === this && (this.nodes = new Kc());
5781
5891
  }
5782
5892
  addEventListener(o, l) {
5783
- return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Sn()), this.eventHandlers.get(o).add(l);
5893
+ return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Ms()), this.eventHandlers.get(o).add(l);
5784
5894
  }
5785
5895
  notifyListeners(o, ...l) {
5786
5896
  const c = this.eventHandlers.get(o);
@@ -5795,7 +5905,7 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5795
5905
  mount(o) {
5796
5906
  if (this.instance)
5797
5907
  return;
5798
- this.isSVG = Un(o) && !Jl(o), this.instance = o;
5908
+ this.isSVG = _s(o) && !Jl(o), this.instance = o;
5799
5909
  const { layoutId: l, layout: c, visualElement: h } = this.options;
5800
5910
  if (h && !h.current && h.mount(o), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (c || l) && (this.isLayoutDirty = !0), e) {
5801
5911
  let u, d = 0;
@@ -5804,7 +5914,7 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5804
5914
  d = window.innerWidth;
5805
5915
  }), e(o, () => {
5806
5916
  const m = window.innerWidth;
5807
- m !== d && (d = m, this.root.updateBlockedByResize = !0, u && u(), u = Gc(f, 250), jt.hasAnimatedSinceResize && (jt.hasAnimatedSinceResize = !1, this.nodes.forEach(Js)));
5917
+ m !== d && (d = m, this.root.updateBlockedByResize = !0, u && u(), u = Gc(f, 250), jt.hasAnimatedSinceResize && (jt.hasAnimatedSinceResize = !1, this.nodes.forEach(Jn)));
5808
5918
  });
5809
5919
  }
5810
5920
  l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && h && (l || c) && this.addEventListener("didUpdate", ({ delta: u, hasLayoutChanged: d, hasRelativeLayoutChanged: f, layout: m }) => {
@@ -5816,13 +5926,13 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5816
5926
  if (this.options.layoutRoot || this.resumeFrom || v || d && (w || !this.currentAnimation)) {
5817
5927
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
5818
5928
  const b = {
5819
- ...Fn(x, "layout"),
5929
+ ...Ns(x, "layout"),
5820
5930
  onPlay: g,
5821
5931
  onComplete: y
5822
5932
  };
5823
5933
  (h.shouldReduceMotion || this.options.layoutRoot) && (b.delay = 0, b.type = !1), this.startAnimation(b), this.setAnimationOrigin(u, v);
5824
5934
  } else
5825
- d || Js(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
5935
+ d || Jn(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
5826
5936
  this.targetLayout = m;
5827
5937
  });
5828
5938
  }
@@ -5873,19 +5983,19 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5873
5983
  update() {
5874
5984
  if (this.updateScheduled = !1, this.isUpdateBlocked()) {
5875
5985
  const c = this.updateBlockedByResize;
5876
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), c && this.nodes.forEach(nu), this.nodes.forEach(qs);
5986
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), c && this.nodes.forEach(su), this.nodes.forEach(qn);
5877
5987
  return;
5878
5988
  }
5879
5989
  if (this.animationId <= this.animationCommitId) {
5880
- this.nodes.forEach(Zs);
5990
+ this.nodes.forEach(Zn);
5881
5991
  return;
5882
5992
  }
5883
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(su), this.nodes.forEach(iu), this.nodes.forEach(Zc), this.nodes.forEach(Jc)) : this.nodes.forEach(Zs), this.clearAllSnapshots();
5993
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(nu), this.nodes.forEach(iu), this.nodes.forEach(Zc), this.nodes.forEach(Jc)) : this.nodes.forEach(Zn), this.clearAllSnapshots();
5884
5994
  const l = Z.now();
5885
5995
  U.delta = de(0, 1e3 / 60, l - U.timestamp), U.timestamp = l, U.isProcessing = !0, Ft.update.process(U), Ft.preRender.process(U), Ft.render.process(U), U.isProcessing = !1;
5886
5996
  }
5887
5997
  didUpdate() {
5888
- this.updateScheduled || (this.updateScheduled = !0, Hn.read(this.scheduleUpdate));
5998
+ this.updateScheduled || (this.updateScheduled = !0, zs.read(this.scheduleUpdate));
5889
5999
  }
5890
6000
  clearAllSnapshots() {
5891
6001
  this.nodes.forEach(tu), this.sharedNodes.forEach(lu);
@@ -5987,9 +6097,9 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5987
6097
  if (!Me(u.latestValues))
5988
6098
  continue;
5989
6099
  let d;
5990
- u.instance && (yn(u.latestValues) && u.updateSnapshot(), d = H(), re(d, u.measurePageBox())), Hs(l, u.latestValues, (c = u.snapshot) == null ? void 0 : c.layoutBox, d);
6100
+ u.instance && (xs(u.latestValues) && u.updateSnapshot(), d = H(), re(d, u.measurePageBox())), Hn(l, u.latestValues, (c = u.snapshot) == null ? void 0 : c.layoutBox, d);
5991
6101
  }
5992
- return Me(this.latestValues) && Hs(l, this.latestValues), l;
6102
+ return Me(this.latestValues) && Hn(l, this.latestValues), l;
5993
6103
  }
5994
6104
  setTargetDelta(o) {
5995
6105
  this.targetDelta = o, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -6022,7 +6132,7 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6022
6132
  f && this.linkedParentVersion !== f.layoutVersion && !f.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && f && f.layout ? this.createRelativeTarget(f, this.layout.layoutBox, f.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = H(), this.targetWithTransforms = H()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Lc(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : re(this.target, this.layout.layoutBox), Cr(this.target, this.targetDelta)) : re(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && f && !!f.resumingFrom == !!this.resumingFrom && !f.options.layoutScroll && f.target && this.animationProgress !== 1 ? this.createRelativeTarget(f, this.target, f.target) : this.relativeParent = this.relativeTarget = void 0));
6023
6133
  }
6024
6134
  getClosestProjectingParent() {
6025
- if (!(!this.parent || yn(this.parent.latestValues) || Vr(this.parent.latestValues)))
6135
+ if (!(!this.parent || xs(this.parent.latestValues) || Vr(this.parent.latestValues)))
6026
6136
  return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
6027
6137
  }
6028
6138
  isProjecting() {
@@ -6051,7 +6161,7 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6051
6161
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
6052
6162
  return;
6053
6163
  }
6054
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Ns(this.prevProjectionDelta.x, this.projectionDelta.x), Ns(this.prevProjectionDelta.y, this.projectionDelta.y)), qe(this.projectionDelta, this.layoutCorrected, m, this.latestValues), (this.treeScale.x !== d || this.treeScale.y !== f || !Ks(this.projectionDelta.x, this.prevProjectionDelta.x) || !Ks(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", m));
6164
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Nn(this.prevProjectionDelta.x, this.projectionDelta.x), Nn(this.prevProjectionDelta.y, this.projectionDelta.y)), qe(this.projectionDelta, this.layoutCorrected, m, this.latestValues), (this.treeScale.x !== d || this.treeScale.y !== f || !Kn(this.projectionDelta.x, this.prevProjectionDelta.x) || !Kn(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", m));
6055
6165
  }
6056
6166
  hide() {
6057
6167
  this.isVisible = !1;
@@ -6078,7 +6188,7 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6078
6188
  let b;
6079
6189
  this.mixTargetDelta = (M) => {
6080
6190
  const S = M / 1e3;
6081
- Qs(d.x, o.x, S), Qs(d.y, o.y, S), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Pt(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), cu(this.relativeTarget, this.relativeTargetOrigin, f, S), b && Oc(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = H()), re(b, this.relativeTarget)), g && (this.animationValues = u, Hc(u, h, this.latestValues, S, v, w)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = S;
6191
+ Qn(d.x, o.x, S), Qn(d.y, o.y, S), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Pt(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), cu(this.relativeTarget, this.relativeTargetOrigin, f, S), b && Oc(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = H()), re(b, this.relativeTarget)), g && (this.animationValues = u, Hc(u, h, this.latestValues, S, v, w)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = S;
6082
6192
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
6083
6193
  }
6084
6194
  startAnimation(o) {
@@ -6197,10 +6307,10 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6197
6307
  c && (d = c(u, d)), o.transform = d;
6198
6308
  const { x: f, y: m } = this.projectionDelta;
6199
6309
  o.transformOrigin = `${f.origin * 100}% ${m.origin * 100}% 0`, h.animationValues ? o.opacity = h === this ? u.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : u.opacityExit : o.opacity = h === this ? u.opacity !== void 0 ? u.opacity : "" : u.opacityExit !== void 0 ? u.opacityExit : 0;
6200
- for (const x in jn) {
6310
+ for (const x in gs) {
6201
6311
  if (u[x] === void 0)
6202
6312
  continue;
6203
- const { correct: g, applyTo: y, isCSSVariable: w } = jn[x], v = d === "none" ? u[x] : g(u[x], h);
6313
+ const { correct: g, applyTo: y, isCSSVariable: w } = gs[x], v = d === "none" ? u[x] : g(u[x], h);
6204
6314
  if (y) {
6205
6315
  const b = y.length;
6206
6316
  for (let M = 0; M < b; M++)
@@ -6218,7 +6328,7 @@ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6218
6328
  this.root.nodes.forEach((o) => {
6219
6329
  var l;
6220
6330
  return (l = o.currentAnimation) == null ? void 0 : l.stop();
6221
- }), this.root.nodes.forEach(qs), this.root.sharedNodes.clear();
6331
+ }), this.root.nodes.forEach(qn), this.root.sharedNodes.clear();
6222
6332
  }
6223
6333
  };
6224
6334
  }
@@ -6237,7 +6347,7 @@ function Jc(e) {
6237
6347
  });
6238
6348
  else if (a === "x" || a === "y") {
6239
6349
  const d = a === "x" ? "y" : "x";
6240
- vn(o ? t.measuredBox[d] : t.layoutBox[d], i[d]);
6350
+ js(o ? t.measuredBox[d] : t.layoutBox[d], i[d]);
6241
6351
  } else Gr(a, t.layoutBox, i) && ce((d) => {
6242
6352
  const f = o ? t.measuredBox[d] : t.layoutBox[d], m = J(i[d]);
6243
6353
  f.max = f.min + m, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[d].max = e.relativeTarget[d].min + m);
@@ -6283,23 +6393,23 @@ function eu(e) {
6283
6393
  function tu(e) {
6284
6394
  e.clearSnapshot();
6285
6395
  }
6286
- function qs(e) {
6396
+ function qn(e) {
6287
6397
  e.clearMeasurements();
6288
6398
  }
6289
- function nu(e) {
6399
+ function su(e) {
6290
6400
  e.isLayoutDirty = !0, e.updateLayout();
6291
6401
  }
6292
- function Zs(e) {
6402
+ function Zn(e) {
6293
6403
  e.isLayoutDirty = !1;
6294
6404
  }
6295
- function su(e) {
6405
+ function nu(e) {
6296
6406
  e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
6297
6407
  }
6298
6408
  function iu(e) {
6299
6409
  const { visualElement: t } = e.options;
6300
6410
  t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
6301
6411
  }
6302
- function Js(e) {
6412
+ function Jn(e) {
6303
6413
  e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
6304
6414
  }
6305
6415
  function ru(e) {
@@ -6314,7 +6424,7 @@ function au(e) {
6314
6424
  function lu(e) {
6315
6425
  e.removeLeadSnapshot();
6316
6426
  }
6317
- function Qs(e, t, n) {
6427
+ function Qn(e, t, n) {
6318
6428
  e.translate = L(t.translate, 0, n), e.scale = L(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
6319
6429
  }
6320
6430
  function ei(e, t, n, i) {
@@ -6329,15 +6439,15 @@ function uu(e) {
6329
6439
  const hu = {
6330
6440
  duration: 0.45,
6331
6441
  ease: [0.4, 0, 0.1, 1]
6332
- }, ti = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), ni = ti("applewebkit/") && !ti("chrome/") ? Math.round : ie;
6333
- function si(e) {
6334
- e.min = ni(e.min), e.max = ni(e.max);
6442
+ }, ti = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), si = ti("applewebkit/") && !ti("chrome/") ? Math.round : ie;
6443
+ function ni(e) {
6444
+ e.min = si(e.min), e.max = si(e.max);
6335
6445
  }
6336
6446
  function du(e) {
6337
- si(e.x), si(e.y);
6447
+ ni(e.x), ni(e.y);
6338
6448
  }
6339
6449
  function Gr(e, t, n) {
6340
- return e === "position" || e === "preserve-aspect" && !Rc($s(t), $s(n), 0.2);
6450
+ return e === "position" || e === "preserve-aspect" && !Rc($n(t), $n(n), 0.2);
6341
6451
  }
6342
6452
  function fu(e) {
6343
6453
  var t;
@@ -6377,7 +6487,7 @@ const pu = Kr({
6377
6487
  reducedMotion: "never"
6378
6488
  });
6379
6489
  function mu(e = !0) {
6380
- const t = ee(Tn);
6490
+ const t = ee(bs);
6381
6491
  if (t === null)
6382
6492
  return [!0, null];
6383
6493
  const { isPresent: n, onExitComplete: i, register: r } = t, a = uo();
@@ -6500,7 +6610,7 @@ function bu(e) {
6500
6610
  function oi(e) {
6501
6611
  return Array.isArray(e) ? e.join(" ") : e;
6502
6612
  }
6503
- const Yn = () => ({
6613
+ const Gs = () => ({
6504
6614
  style: {},
6505
6615
  transform: {},
6506
6616
  transformOrigin: {},
@@ -6512,8 +6622,8 @@ function Qr(e, t, n) {
6512
6622
  }
6513
6623
  function Tu({ transformTemplate: e }, t) {
6514
6624
  return Ie(() => {
6515
- const n = Yn();
6516
- return Kn(n, t, e), Object.assign({}, n.vars, n.style);
6625
+ const n = Gs();
6626
+ return $s(n, t, e), Object.assign({}, n.vars, n.style);
6517
6627
  }, [t]);
6518
6628
  }
6519
6629
  function Mu(e, t) {
@@ -6525,7 +6635,7 @@ function Su(e, t) {
6525
6635
  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;
6526
6636
  }
6527
6637
  const eo = () => ({
6528
- ...Yn(),
6638
+ ...Gs(),
6529
6639
  attrs: {}
6530
6640
  });
6531
6641
  function Au(e, t, n, i) {
@@ -6569,7 +6679,7 @@ const Pu = [
6569
6679
  "use",
6570
6680
  "view"
6571
6681
  ];
6572
- function Xn(e) {
6682
+ function Ys(e) {
6573
6683
  return (
6574
6684
  /**
6575
6685
  * If it's not a string, it's a custom React component. Currently we only support
@@ -6590,7 +6700,7 @@ function Xn(e) {
6590
6700
  );
6591
6701
  }
6592
6702
  function Vu(e, t, n, { latestValues: i }, r, a = !1, o) {
6593
- const c = (o ?? Xn(e) ? Au : Su)(t, i, r, e), h = vu(t, typeof e == "string", a), u = e !== p ? { ...h, ...c, ref: n } : {}, { children: d } = t, f = Ie(() => W(d) ? d.get() : d, [d]);
6703
+ const c = (o ?? Ys(e) ? Au : Su)(t, i, r, e), h = vu(t, typeof e == "string", a), u = e !== p ? { ...h, ...c, ref: n } : {}, { children: d } = t, f = Ie(() => W(d) ? d.get() : d, [d]);
6594
6704
  return ho(e, {
6595
6705
  ...u,
6596
6706
  children: f
@@ -6615,7 +6725,7 @@ function Eu(e, t, n, i) {
6615
6725
  if (d && typeof d != "boolean" && !Et(d)) {
6616
6726
  const f = Array.isArray(d) ? d : [d];
6617
6727
  for (let m = 0; m < f.length; m++) {
6618
- const x = On(e, f[m]);
6728
+ const x = Is(e, f[m]);
6619
6729
  if (x) {
6620
6730
  const { transitionEnd: g, transition: y, ...w } = x;
6621
6731
  for (const v in w) {
@@ -6634,11 +6744,11 @@ function Eu(e, t, n, i) {
6634
6744
  return r;
6635
6745
  }
6636
6746
  const to = (e) => (t, n) => {
6637
- const i = ee(Dt), r = ee(Tn), a = () => Cu(e, t, i, r);
6747
+ const i = ee(Dt), r = ee(bs), a = () => Cu(e, t, i, r);
6638
6748
  return n ? a() : Po(a);
6639
6749
  }, ku = /* @__PURE__ */ to({
6640
- scrapeMotionValuesFromProps: Gn,
6641
- createRenderState: Yn
6750
+ scrapeMotionValuesFromProps: Ks,
6751
+ createRenderState: Gs
6642
6752
  }), Du = /* @__PURE__ */ to({
6643
6753
  scrapeMotionValuesFromProps: Fr,
6644
6754
  createRenderState: eo
@@ -6662,13 +6772,13 @@ function Lu(e, t, n) {
6662
6772
  t && (a ? t.mount(a) : t.unmount());
6663
6773
  }, [t]);
6664
6774
  }
6665
- const no = ze({});
6775
+ const so = ze({});
6666
6776
  function De(e) {
6667
6777
  return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
6668
6778
  }
6669
6779
  function Nu(e, t, n, i, r, a) {
6670
6780
  var b, M;
6671
- const { visualElement: o } = ee(Dt), l = ee(qr), c = ee(Tn), h = ee(Xr), u = h.reducedMotion, d = h.skipAnimations, f = fe(null), m = fe(!1);
6781
+ const { visualElement: o } = ee(Dt), l = ee(qr), c = ee(bs), h = ee(Xr), u = h.reducedMotion, d = h.skipAnimations, f = fe(null), m = fe(!1);
6672
6782
  i = i || l.renderer, !f.current && i && (f.current = i(e, {
6673
6783
  visualState: t,
6674
6784
  parent: o,
@@ -6679,7 +6789,7 @@ function Nu(e, t, n, i, r, a) {
6679
6789
  skipAnimations: d,
6680
6790
  isSVG: a
6681
6791
  }), m.current && f.current && (f.current.manuallyAnimateOnMount = !0));
6682
- const x = f.current, g = ee(no);
6792
+ const x = f.current, g = ee(so);
6683
6793
  x && !x.projection && r && (x.type === "html" || x.type === "svg") && Fu(f.current, n, r, g);
6684
6794
  const y = fe(!1);
6685
6795
  ji(() => {
@@ -6697,7 +6807,7 @@ function Nu(e, t, n, i, r, a) {
6697
6807
  }
6698
6808
  function Fu(e, t, n, i) {
6699
6809
  const { layoutId: r, layout: a, drag: o, dragConstraints: l, layoutScroll: c, layoutRoot: h, layoutAnchor: u, layoutCrossfade: d } = t;
6700
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : so(e.parent)), e.projection.setOptions({
6810
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : no(e.parent)), e.projection.setOptions({
6701
6811
  layoutId: r,
6702
6812
  layout: a,
6703
6813
  alwaysMeasureLayout: !!o || l && De(l),
@@ -6717,13 +6827,13 @@ function Fu(e, t, n, i) {
6717
6827
  layoutAnchor: u
6718
6828
  });
6719
6829
  }
6720
- function so(e) {
6830
+ function no(e) {
6721
6831
  if (e)
6722
- return e.options.allowProjection !== !1 ? e.projection : so(e.parent);
6832
+ return e.options.allowProjection !== !1 ? e.projection : no(e.parent);
6723
6833
  }
6724
6834
  function Kt(e, { forwardMotionProps: t = !1, type: n } = {}, i, r) {
6725
6835
  i && yu(i);
6726
- const a = n ? n === "svg" : Xn(e), o = a ? Du : ku;
6836
+ const a = n ? n === "svg" : Ys(e), o = a ? Du : ku;
6727
6837
  function l(h, u) {
6728
6838
  let d;
6729
6839
  const f = {
@@ -6766,7 +6876,7 @@ function Bu(e) {
6766
6876
  function zu(e, t) {
6767
6877
  if (typeof Proxy > "u")
6768
6878
  return Kt;
6769
- const n = /* @__PURE__ */ new Map(), i = (a, o) => Kt(a, o, e, t), r = (a, o) => (process.env.NODE_ENV !== "production" && An(!1, "motion() is deprecated. Use motion.create() instead."), i(a, o));
6879
+ const n = /* @__PURE__ */ new Map(), i = (a, o) => Kt(a, o, e, t), r = (a, o) => (process.env.NODE_ENV !== "production" && Ss(!1, "motion() is deprecated. Use motion.create() instead."), i(a, o));
6770
6880
  return new Proxy(r, {
6771
6881
  /**
6772
6882
  * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
@@ -6776,7 +6886,7 @@ function zu(e, t) {
6776
6886
  get: (a, o) => o === "create" ? i : (n.has(o) || n.set(o, Kt(o, void 0, e, t)), n.get(o))
6777
6887
  });
6778
6888
  }
6779
- const Hu = (e, t) => t.isSVG ?? Xn(e) ? new bc(t) : new xc(t, {
6889
+ const Hu = (e, t) => t.isSVG ?? Ys(e) ? new bc(t) : new xc(t, {
6780
6890
  allowProjection: e !== p
6781
6891
  });
6782
6892
  class _u extends be {
@@ -6864,7 +6974,7 @@ function ot(e) {
6864
6974
  }
6865
6975
  };
6866
6976
  }
6867
- const Ku = (e) => (t) => _n(t) && e(t, ot(t));
6977
+ const Ku = (e) => (t) => Hs(t) && e(t, ot(t));
6868
6978
  function Ze(e, t, n, i) {
6869
6979
  return tt(e, t, Ku(n), i);
6870
6980
  }
@@ -6900,13 +7010,13 @@ class ro {
6900
7010
  return;
6901
7011
  const v = Gt(m.type === "pointercancel" ? this.lastMoveEventInfo : ht(x, this.transformPagePoint), this.history);
6902
7012
  this.startEvent && g && g(m, v), y && y(m, v);
6903
- }, !_n(t))
7013
+ }, !Hs(t))
6904
7014
  return;
6905
7015
  this.dragSnapToOrigin = a, this.handlers = n, this.transformPagePoint = i, this.distanceThreshold = o, this.contextWindow = r || window;
6906
7016
  const c = ot(t), h = ht(c, this.transformPagePoint), { point: u } = h, { timestamp: d } = U;
6907
7017
  this.history = [{ ...u, timestamp: d }];
6908
7018
  const { onSessionStart: f } = n;
6909
- f && f(t, Gt(h, this.history)), this.removeListeners = st(Ze(this.contextWindow, "pointermove", this.handlePointerMove), Ze(this.contextWindow, "pointerup", this.handlePointerUp), Ze(this.contextWindow, "pointercancel", this.handlePointerUp)), l && this.startScrollTracking(l);
7019
+ f && f(t, Gt(h, this.history)), this.removeListeners = nt(Ze(this.contextWindow, "pointermove", this.handlePointerMove), Ze(this.contextWindow, "pointerup", this.handlePointerUp), Ze(this.contextWindow, "pointercancel", this.handlePointerUp)), l && this.startScrollTracking(l);
6910
7020
  }
6911
7021
  /**
6912
7022
  * Start tracking scroll on ancestors and window.
@@ -6984,7 +7094,7 @@ function Xu(e, t) {
6984
7094
  if (!i)
6985
7095
  return { x: 0, y: 0 };
6986
7096
  i === e[0] && e.length > 2 && r.timestamp - i.timestamp > /* @__PURE__ */ te(t) * 2 && (i = e[1]);
6987
- const a = /* @__PURE__ */ se(r.timestamp - i.timestamp);
7097
+ const a = /* @__PURE__ */ ne(r.timestamp - i.timestamp);
6988
7098
  if (a === 0)
6989
7099
  return { x: 0, y: 0 };
6990
7100
  const o = {
@@ -7027,9 +7137,9 @@ function eh(e, t) {
7027
7137
  const n = {};
7028
7138
  return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
7029
7139
  }
7030
- const wn = 0.35;
7031
- function th(e = wn) {
7032
- return e === !1 ? e = 0 : e === !0 && (e = wn), {
7140
+ const vs = 0.35;
7141
+ function th(e = vs) {
7142
+ return e === !1 ? e = 0 : e === !0 && (e = vs), {
7033
7143
  x: di(e, "left", "right"),
7034
7144
  y: di(e, "top", "bottom")
7035
7145
  };
@@ -7043,8 +7153,8 @@ function di(e, t, n) {
7043
7153
  function fi(e, t) {
7044
7154
  return typeof e == "number" ? e : e[t] || 0;
7045
7155
  }
7046
- const nh = /* @__PURE__ */ new WeakMap();
7047
- class sh {
7156
+ const sh = /* @__PURE__ */ new WeakMap();
7157
+ class nh {
7048
7158
  constructor(t) {
7049
7159
  this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = H(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = t;
7050
7160
  }
@@ -7068,7 +7178,7 @@ class sh {
7068
7178
  }
7069
7179
  }
7070
7180
  this.originPoint[w] = v;
7071
- }), g && k.update(() => g(d, f), !1, !0), dn(this.visualElement, "transform");
7181
+ }), g && k.update(() => g(d, f), !1, !0), hs(this.visualElement, "transform");
7072
7182
  const { animationState: y } = this.visualElement;
7073
7183
  y && y.setActive("whileDrag", !0);
7074
7184
  }, l = (d, f) => {
@@ -7188,7 +7298,7 @@ class sh {
7188
7298
  }
7189
7299
  startAxisValueAnimation(t, n) {
7190
7300
  const i = this.getAxisMotionValue(t);
7191
- return dn(this.visualElement, t), i.start(In(t, i, 0, n, this.visualElement, !1));
7301
+ return hs(this.visualElement, t), i.start(Fs(t, i, 0, n, this.visualElement, !1));
7192
7302
  }
7193
7303
  stopAnimation() {
7194
7304
  ce((t) => this.getAxisMotionValue(t).stop());
@@ -7246,7 +7356,7 @@ class sh {
7246
7356
  addListeners() {
7247
7357
  if (!this.visualElement.current)
7248
7358
  return;
7249
- nh.set(this.visualElement, this);
7359
+ sh.set(this.visualElement, this);
7250
7360
  const t = this.visualElement.current, n = Ze(t, "pointerdown", (h) => {
7251
7361
  const { drag: u, dragListener: d = !0 } = this.getProps(), f = h.target, m = f !== t && Hl(f);
7252
7362
  u && d && !m && this.start(h);
@@ -7268,7 +7378,7 @@ class sh {
7268
7378
  };
7269
7379
  }
7270
7380
  getProps() {
7271
- const t = this.visualElement.getProps(), { drag: n = !1, dragDirectionLock: i = !1, dragPropagation: r = !1, dragConstraints: a = !1, dragElastic: o = wn, dragMomentum: l = !0 } = t;
7381
+ const t = this.visualElement.getProps(), { drag: n = !1, dragDirectionLock: i = !1, dragPropagation: r = !1, dragConstraints: a = !1, dragElastic: o = vs, dragMomentum: l = !0 } = t;
7272
7382
  return {
7273
7383
  ...t,
7274
7384
  drag: n,
@@ -7291,7 +7401,7 @@ function pi(e) {
7291
7401
  };
7292
7402
  }
7293
7403
  function ih(e, t, n) {
7294
- const i = Ts(e, pi(n)), r = Ts(t, pi(n));
7404
+ const i = Tn(e, pi(n)), r = Tn(t, pi(n));
7295
7405
  return () => {
7296
7406
  i(), r();
7297
7407
  };
@@ -7305,7 +7415,7 @@ function rh(e, t = 10) {
7305
7415
  }
7306
7416
  class oh extends be {
7307
7417
  constructor(t) {
7308
- super(t), this.removeGroupControls = ie, this.removeListeners = ie, this.controls = new sh(t);
7418
+ super(t), this.removeGroupControls = ie, this.removeListeners = ie, this.controls = new nh(t);
7309
7419
  }
7310
7420
  mount() {
7311
7421
  const { dragControls: t } = this.node.getProps();
@@ -7382,7 +7492,7 @@ class lh extends po {
7382
7492
  }
7383
7493
  componentDidUpdate() {
7384
7494
  const { visualElement: t, layoutAnchor: n } = this.props, { projection: i } = t;
7385
- i && (i.options.layoutAnchor = n, i.root.didUpdate(), Hn.postRender(() => {
7495
+ i && (i.options.layoutAnchor = n, i.root.didUpdate(), zs.postRender(() => {
7386
7496
  !i.currentAnimation && i.isLead() && this.safeToRemove();
7387
7497
  }));
7388
7498
  }
@@ -7400,7 +7510,7 @@ class lh extends po {
7400
7510
  }
7401
7511
  function ao(e) {
7402
7512
  const [t, n] = mu(), i = ee(bi);
7403
- return s.jsx(lh, { ...e, layoutGroup: i, switchLayoutGroup: ee(no), isPresent: t, safeToRemove: n });
7513
+ return s.jsx(lh, { ...e, layoutGroup: i, switchLayoutGroup: ee(so), isPresent: t, safeToRemove: n });
7404
7514
  }
7405
7515
  const ch = {
7406
7516
  pan: {
@@ -7443,7 +7553,7 @@ class hh extends be {
7443
7553
  !this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
7444
7554
  }
7445
7555
  mount() {
7446
- this.unmount = st(tt(this.node.current, "focus", () => this.onFocus()), tt(this.node.current, "blur", () => this.onBlur()));
7556
+ this.unmount = nt(tt(this.node.current, "focus", () => this.onFocus()), tt(this.node.current, "blur", () => this.onBlur()));
7447
7557
  }
7448
7558
  unmount() {
7449
7559
  }
@@ -7470,8 +7580,8 @@ class dh extends be {
7470
7580
  unmount() {
7471
7581
  }
7472
7582
  }
7473
- const bn = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), fh = (e) => {
7474
- const t = bn.get(e.target);
7583
+ const ws = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), fh = (e) => {
7584
+ const t = ws.get(e.target);
7475
7585
  t && t(e);
7476
7586
  }, ph = (e) => {
7477
7587
  e.forEach(fh);
@@ -7484,8 +7594,8 @@ function mh({ root: e, ...t }) {
7484
7594
  }
7485
7595
  function xh(e, t, n) {
7486
7596
  const i = mh(t);
7487
- return bn.set(e, n), i.observe(e), () => {
7488
- bn.delete(e), i.unobserve(e);
7597
+ return ws.set(e, n), i.observe(e), () => {
7598
+ ws.delete(e), i.unobserve(e);
7489
7599
  };
7490
7600
  }
7491
7601
  const yh = {
@@ -7581,13 +7691,13 @@ const vh = {
7581
7691
  top: document.documentElement.scrollHeight,
7582
7692
  behavior: "smooth"
7583
7693
  }), r = t ? "up" : "down";
7584
- return /* @__PURE__ */ s.jsx("div", { className: "muncher-fab-container", children: /* @__PURE__ */ s.jsx(ne, { variant: e, onClick: r === "up" ? n : i, rounded: !0, children: r === "up" ? /* @__PURE__ */ s.jsx(N, { name: "arrow-up" }) : /* @__PURE__ */ s.jsx(N, { name: "arrow-down" }) }) });
7694
+ return /* @__PURE__ */ s.jsx("div", { className: "muncher-fab-container", children: /* @__PURE__ */ s.jsx(se, { variant: e, onClick: r === "up" ? n : i, rounded: !0, children: r === "up" ? /* @__PURE__ */ s.jsx(N, { name: "arrow-up" }) : /* @__PURE__ */ s.jsx(N, { name: "arrow-down" }) }) });
7585
7695
  };
7586
7696
  export {
7587
7697
  Ah as Accordion,
7588
7698
  go as Backdrop,
7589
7699
  jo as Badge,
7590
- ne as Button,
7700
+ se as Button,
7591
7701
  qh as Card,
7592
7702
  Eh as Checkbox,
7593
7703
  bo as CopyButton,
@@ -7603,10 +7713,10 @@ export {
7603
7713
  kh as ImageInput,
7604
7714
  wi as Input,
7605
7715
  Uh as ItemSlider,
7606
- nt as Label,
7716
+ st as Label,
7607
7717
  Ih as Li,
7608
7718
  Oh as Modal,
7609
- Qn as NavigateButton,
7719
+ Js as NavigateButton,
7610
7720
  Bh as Paper,
7611
7721
  Dh as PasswordInput,
7612
7722
  zh as Pill,