@contentmunch/contentmunch-ui 1.1.27 → 1.1.29

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
@@ -1,4 +1,4 @@
1
- import gi, { useState as Y, Fragment as p, useRef as fe, useCallback as Ce, useEffect as je, useMemo as Oe, createContext as ze, useLayoutEffect as lo, useContext as ee, useId as co, createElement as uo, useInsertionEffect as ji, forwardRef as ho, Component as fo } from "react";
1
+ import gi, { useState as $, Fragment as p, useRef as fe, useCallback as Ce, useEffect as je, useMemo as Ie, createContext as ze, useLayoutEffect as co, useContext as ee, useId as uo, createElement as ho, useInsertionEffect as ji, forwardRef as fo, Component as po } from "react";
2
2
  var at = { exports: {} }, $e = {};
3
3
  /**
4
4
  * @license React
@@ -10,7 +10,7 @@ var at = { exports: {} }, $e = {};
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
12
  var qn;
13
- function po() {
13
+ function mo() {
14
14
  if (qn) return $e;
15
15
  qn = 1;
16
16
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
@@ -42,7 +42,7 @@ var Ke = {};
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
44
  var Zn;
45
- function mo() {
45
+ function xo() {
46
46
  return Zn || (Zn = 1, process.env.NODE_ENV !== "production" && function() {
47
47
  function e(j) {
48
48
  if (j == null) return null;
@@ -60,7 +60,7 @@ function mo() {
60
60
  return "Suspense";
61
61
  case E:
62
62
  return "SuspenseList";
63
- case O:
63
+ case I:
64
64
  return "Activity";
65
65
  }
66
66
  if (typeof j == "object")
@@ -76,7 +76,7 @@ function mo() {
76
76
  case M:
77
77
  var V = j.render;
78
78
  return j = j.displayName, j || (j = V.displayName || V.name || "", j = j !== "" ? "ForwardRef(" + j + ")" : "ForwardRef"), j;
79
- case k:
79
+ case D:
80
80
  return V = j.displayName || null, V !== null ? V : e(j.type) || "Memo";
81
81
  case P:
82
82
  V = j._payload, j = j._init;
@@ -99,11 +99,11 @@ function mo() {
99
99
  }
100
100
  if (V) {
101
101
  V = console;
102
- var R = V.error, K = typeof Symbol == "function" && Symbol.toStringTag && j[Symbol.toStringTag] || j.constructor.name || "Object";
102
+ var R = V.error, G = typeof Symbol == "function" && Symbol.toStringTag && j[Symbol.toStringTag] || j.constructor.name || "Object";
103
103
  return R.call(
104
104
  V,
105
105
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
- K
106
+ G
107
107
  ), t(j);
108
108
  }
109
109
  }
@@ -150,7 +150,7 @@ function mo() {
150
150
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
151
151
  )), j = this.props.ref, j !== void 0 ? j : null;
152
152
  }
153
- function h(j, V, R, K, me, le, Rt, Lt) {
153
+ function h(j, V, R, G, me, le, Rt, Lt) {
154
154
  return R = le.ref, j = {
155
155
  $$typeof: m,
156
156
  type: j,
@@ -182,48 +182,48 @@ function mo() {
182
182
  value: Lt
183
183
  }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
184
184
  }
185
- function u(j, V, R, K, me, le, Rt, Lt) {
186
- var G = V.children;
187
- if (G !== void 0)
188
- if (K)
189
- if (X(G)) {
190
- for (K = 0; K < G.length; K++)
191
- d(G[K]);
192
- Object.freeze && Object.freeze(G);
185
+ function u(j, V, R, G, me, le, Rt, Lt) {
186
+ var Y = V.children;
187
+ if (Y !== void 0)
188
+ if (G)
189
+ if (X(Y)) {
190
+ for (G = 0; G < Y.length; G++)
191
+ d(Y[G]);
192
+ Object.freeze && Object.freeze(Y);
193
193
  } else
194
194
  console.error(
195
195
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
196
196
  );
197
- else d(G);
197
+ else d(Y);
198
198
  if (F.call(V, "key")) {
199
- G = e(j);
200
- var De = Object.keys(V).filter(function(ao) {
201
- return ao !== "key";
199
+ Y = e(j);
200
+ var ke = Object.keys(V).filter(function(lo) {
201
+ return lo !== "key";
202
202
  });
203
- K = 0 < De.length ? "{key: someKey, " + De.join(": ..., ") + ": ...}" : "{key: someKey}", _[G + K] || (De = 0 < De.length ? "{" + De.join(": ..., ") + ": ...}" : "{}", console.error(
203
+ G = 0 < ke.length ? "{key: someKey, " + ke.join(": ..., ") + ": ...}" : "{key: someKey}", _[Y + G] || (ke = 0 < ke.length ? "{" + ke.join(": ..., ") + ": ...}" : "{}", console.error(
204
204
  `A props object containing a "key" prop is being spread into JSX:
205
205
  let props = %s;
206
206
  <%s {...props} />
207
207
  React keys must be passed directly to JSX without using spread:
208
208
  let props = %s;
209
209
  <%s key={someKey} {...props} />`,
210
- K,
211
210
  G,
212
- De,
213
- G
214
- ), _[G + K] = !0);
211
+ Y,
212
+ ke,
213
+ Y
214
+ ), _[Y + G] = !0);
215
215
  }
216
- if (G = null, R !== void 0 && (n(R), G = "" + R), o(V) && (n(V.key), G = "" + V.key), "key" in V) {
216
+ if (Y = null, R !== void 0 && (n(R), Y = "" + R), o(V) && (n(V.key), Y = "" + V.key), "key" in V) {
217
217
  R = {};
218
218
  for (var Nt in V)
219
219
  Nt !== "key" && (R[Nt] = V[Nt]);
220
220
  } else R = V;
221
- return G && l(
221
+ return Y && l(
222
222
  R,
223
223
  typeof j == "function" ? j.displayName || j.name || "Unknown" : j
224
224
  ), h(
225
225
  j,
226
- G,
226
+ Y,
227
227
  le,
228
228
  me,
229
229
  r(),
@@ -235,7 +235,7 @@ React keys must be passed directly to JSX without using spread:
235
235
  function d(j) {
236
236
  typeof j == "object" && j !== null && j.$$typeof === m && j._store && (j._store.validated = 1);
237
237
  }
238
- var f = gi, m = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), v = Symbol.for("react.consumer"), b = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), T = Symbol.for("react.client.reference"), C = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, X = Array.isArray, $ = console.createTask ? console.createTask : function() {
238
+ var f = gi, m = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), v = Symbol.for("react.consumer"), b = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), I = Symbol.for("react.activity"), T = Symbol.for("react.client.reference"), C = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, X = Array.isArray, K = console.createTask ? console.createTask : function() {
239
239
  return null;
240
240
  };
241
241
  f = {
@@ -246,41 +246,41 @@ React keys must be passed directly to JSX without using spread:
246
246
  var Q, q = {}, Ee = f["react-stack-bottom-frame"].bind(
247
247
  f,
248
248
  a
249
- )(), I = $(i(a)), _ = {};
250
- Ke.Fragment = g, Ke.jsx = function(j, V, R, K, me) {
249
+ )(), O = K(i(a)), _ = {};
250
+ Ke.Fragment = g, Ke.jsx = function(j, V, R, G, me) {
251
251
  var le = 1e4 > C.recentlyCreatedOwnerStacks++;
252
252
  return u(
253
253
  j,
254
254
  V,
255
255
  R,
256
256
  !1,
257
- K,
257
+ G,
258
258
  me,
259
259
  le ? Error("react-stack-top-frame") : Ee,
260
- le ? $(i(j)) : I
260
+ le ? K(i(j)) : O
261
261
  );
262
- }, Ke.jsxs = function(j, V, R, K, me) {
262
+ }, Ke.jsxs = function(j, V, R, G, me) {
263
263
  var le = 1e4 > C.recentlyCreatedOwnerStacks++;
264
264
  return u(
265
265
  j,
266
266
  V,
267
267
  R,
268
268
  !0,
269
- K,
269
+ G,
270
270
  me,
271
271
  le ? Error("react-stack-top-frame") : Ee,
272
- le ? $(i(j)) : I
272
+ le ? K(i(j)) : O
273
273
  );
274
274
  };
275
275
  }()), Ke;
276
276
  }
277
277
  var Jn;
278
- function xo() {
279
- return Jn || (Jn = 1, process.env.NODE_ENV === "production" ? at.exports = po() : at.exports = mo()), at.exports;
278
+ function yo() {
279
+ return Jn || (Jn = 1, process.env.NODE_ENV === "production" ? at.exports = mo() : at.exports = xo()), at.exports;
280
280
  }
281
- var s = xo();
281
+ var s = yo();
282
282
  const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
283
- const { folds: r } = i, [a, o] = Y(t ? -1 : 0), l = (f) => f === a ? "fold active" : "fold", c = (f) => "fold-button" + (e ? " fold-button--" + e : "") + (r[f].foldColor ? " fold-button--primary fold-button--" + r[f].foldColor : ""), h = (f) => {
283
+ const { folds: r } = i, [a, o] = $(t ? -1 : 0), l = (f) => f === a ? "fold active" : "fold", c = (f) => "fold-button" + (e ? " fold-button--" + e : "") + (r[f].foldColor ? " fold-button--primary fold-button--" + r[f].foldColor : ""), h = (f) => {
284
284
  const m = f.which.toString(), x = f.ctrlKey && m.match(/33|34/);
285
285
  if (m.match(/38|40/) || x) {
286
286
  const g = m.match(/34|40/) ? 1 : -1, y = r.length, w = (a + y + g) % y;
@@ -313,7 +313,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
313
313
  "muncher-accordion-fold-" + m
314
314
  )
315
315
  ) });
316
- }, yo = ({
316
+ }, go = ({
317
317
  show: e = !1,
318
318
  className: t,
319
319
  backdropClickHandler: n,
@@ -321,7 +321,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
321
321
  }) => {
322
322
  const r = "muncher-backdrop" + (t ? " " + t : "");
323
323
  return e ? /* @__PURE__ */ s.jsx("div", { className: r, onClick: n, ...i }) : null;
324
- }, go = ({ variant: e, rounded: t, border: n, children: i, ...r }) => {
324
+ }, jo = ({ variant: e, rounded: t, border: n, children: i, ...r }) => {
325
325
  const a = "muncher-badge" + (e ? " muncher-badge--" + e : "") + (t ? " muncher-badge--rounded" : "") + (n ? " muncher-badge--border" : "");
326
326
  return /* @__PURE__ */ s.jsx("div", { className: a, ...r, children: i });
327
327
  }, lt = {
@@ -1413,7 +1413,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1413
1413
  ...r,
1414
1414
  children: [
1415
1415
  /* @__PURE__ */ s.jsx(N, { name: t }),
1416
- n === "" ? "" : /* @__PURE__ */ s.jsx(go, { variant: e, children: n })
1416
+ n === "" ? "" : /* @__PURE__ */ s.jsx(jo, { variant: e, children: n })
1417
1417
  ]
1418
1418
  }
1419
1419
  ), ne = ({
@@ -1448,7 +1448,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1448
1448
  children: f
1449
1449
  }
1450
1450
  );
1451
- }, jo = ({
1451
+ }, vo = ({
1452
1452
  variant: e,
1453
1453
  size: t = "medium",
1454
1454
  title: n,
@@ -1482,8 +1482,8 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1482
1482
  };
1483
1483
  }, [b, v]);
1484
1484
  const M = () => {
1485
- var k;
1486
- const S = (k = y.current) == null ? void 0 : k.offsetLeft, E = window.innerWidth;
1485
+ var D;
1486
+ const S = (D = y.current) == null ? void 0 : D.offsetLeft, E = window.innerWidth;
1487
1487
  if (S) {
1488
1488
  if (S < 100) return "muncher-dropdown--content";
1489
1489
  if (E - S < 150) return "muncher-dropdown--content drop-left";
@@ -1550,15 +1550,15 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1550
1550
  }
1551
1551
  ),
1552
1552
  /* @__PURE__ */ s.jsx("div", { className: "muncher-dropdown-nav--content", children: o })
1553
- ] }), vo = (e) => {
1553
+ ] }), wo = (e) => {
1554
1554
  navigator.clipboard.writeText(e);
1555
- }, wo = ({
1555
+ }, bo = ({
1556
1556
  text: e,
1557
1557
  variant: t = "secondary",
1558
1558
  size: n = "small"
1559
1559
  }) => {
1560
- const [i, r] = Y(), [a, o] = Y("copy"), [l, c] = Y("copy link"), h = () => {
1561
- vo(e), r("green"), o("check"), c("copied!"), setTimeout(function() {
1560
+ const [i, r] = $(), [a, o] = $("copy"), [l, c] = $("copy link"), h = () => {
1561
+ wo(e), r("green"), o("check"), c("copied!"), setTimeout(function() {
1562
1562
  r(""), o("copy");
1563
1563
  }, 2e3);
1564
1564
  };
@@ -1577,9 +1577,9 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1577
1577
  size: t = "medium",
1578
1578
  title: n
1579
1579
  }) => {
1580
- const [i, r] = Y(!1);
1580
+ const [i, r] = $(!1);
1581
1581
  return /* @__PURE__ */ s.jsx("div", { className: "muncher-share", children: /* @__PURE__ */ s.jsxs(
1582
- jo,
1582
+ vo,
1583
1583
  {
1584
1584
  title: "Share to Social Media",
1585
1585
  showContent: i,
@@ -1615,11 +1615,11 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1615
1615
  children: /* @__PURE__ */ s.jsx(N, { name: "mail" })
1616
1616
  }
1617
1617
  ) }),
1618
- /* @__PURE__ */ s.jsx(wo, { text: window.location.href })
1618
+ /* @__PURE__ */ s.jsx(bo, { text: window.location.href })
1619
1619
  ]
1620
1620
  }
1621
1621
  ) });
1622
- }, bo = ({
1622
+ }, To = ({
1623
1623
  header: e,
1624
1624
  data: t,
1625
1625
  filename: n,
@@ -1634,7 +1634,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1634
1634
  ` + t.map((u) => u.join(",")).join(`
1635
1635
  `));
1636
1636
  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" }) }) }) });
1637
- }, To = ({
1637
+ }, Mo = ({
1638
1638
  variant: e = "transparent",
1639
1639
  size: t = "small",
1640
1640
  title: n,
@@ -1644,7 +1644,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1644
1644
  onClick: o,
1645
1645
  children: l
1646
1646
  }) => {
1647
- const [c, h] = Y(!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" });
1647
+ 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" });
1648
1648
  return /* @__PURE__ */ s.jsxs(
1649
1649
  ne,
1650
1650
  {
@@ -1714,7 +1714,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1714
1714
  label: r,
1715
1715
  ...a
1716
1716
  }) => {
1717
- const [o, l] = Y(i || !1);
1717
+ const [o, l] = $(i || !1);
1718
1718
  return /* @__PURE__ */ s.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ s.jsxs("div", { className: "muncher-checkbox", children: [
1719
1719
  /* @__PURE__ */ s.jsx(
1720
1720
  "input",
@@ -1748,7 +1748,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1748
1748
  className: e ? "muncher-spinner muncher-spinner-" + e : "muncher-spinner",
1749
1749
  ...t
1750
1750
  }
1751
- ), Mo = ({
1751
+ ), So = ({
1752
1752
  name: e,
1753
1753
  label: t,
1754
1754
  variant: n = "secondary",
@@ -1787,7 +1787,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1787
1787
  c && c !== "" ? /* @__PURE__ */ s.jsx("p", { className: "text-danger", children: c }) : "",
1788
1788
  h && h !== "" ? /* @__PURE__ */ s.jsx("p", { className: "text-success", children: h }) : ""
1789
1789
  ] }) });
1790
- }, Dh = ({
1790
+ }, kh = ({
1791
1791
  name: e,
1792
1792
  label: t,
1793
1793
  variant: n = "secondary",
@@ -1800,7 +1800,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1800
1800
  maxFiles: h,
1801
1801
  ...u
1802
1802
  }) => {
1803
- const [d, f] = Y(""), [m, x] = Y(""), g = h || 3, y = "muncher-button" + (n ? " muncher-button--" + n : "") + (i ? " muncher-button--" + i : "") + (a ? " muncher-button--active" : ""), w = (b) => {
1803
+ const [d, f] = $(""), [m, x] = $(""), g = h || 3, y = "muncher-button" + (n ? " muncher-button--" + n : "") + (i ? " muncher-button--" + i : "") + (a ? " muncher-button--active" : ""), w = (b) => {
1804
1804
  if (c) {
1805
1805
  let M = Array.from(b.currentTarget.files);
1806
1806
  M.length > g && (M = M.slice(0, g), x("Only first " + g + " files included")), o(M), f(M.map((S) => S.name).join(", "));
@@ -1833,7 +1833,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1833
1833
  m !== "" ? /* @__PURE__ */ s.jsx("p", { className: "text-danger", children: m }) : "",
1834
1834
  v() ? /* @__PURE__ */ s.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ s.jsx(N, { name: "alert", children: l }) }) : ""
1835
1835
  ] });
1836
- }, So = ({
1836
+ }, wi = ({
1837
1837
  name: e,
1838
1838
  label: t,
1839
1839
  required: n,
@@ -1857,10 +1857,10 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1857
1857
  displayLoader: M,
1858
1858
  ...S
1859
1859
  }) => {
1860
- const E = () => f && f !== "", k = () => {
1860
+ const E = () => f && f !== "", D = () => {
1861
1861
  let T = "muncher-input";
1862
1862
  return (r || a) && (T += " muncher-input-icon"), E() && (T += " muncher-input-error"), u === "side" && (T += " muncher-label-side"), T;
1863
- }, P = () => t ? /* @__PURE__ */ s.jsx(nt, { label: t, required: n, id: e }) : "", O = (T) => {
1863
+ }, P = () => t ? /* @__PURE__ */ s.jsx(nt, { label: t, required: n, id: e }) : "", I = (T) => {
1864
1864
  T.key === "Enter" && b && b(), d && d(T);
1865
1865
  };
1866
1866
  return /* @__PURE__ */ s.jsxs("div", { className: "muncher-input--div", children: [
@@ -1877,7 +1877,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1877
1877
  "input",
1878
1878
  {
1879
1879
  id: e,
1880
- className: k(),
1880
+ className: D(),
1881
1881
  name: e,
1882
1882
  autoFocus: m,
1883
1883
  value: w,
@@ -1888,7 +1888,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1888
1888
  required: n,
1889
1889
  readOnly: i,
1890
1890
  list: c,
1891
- onKeyDown: O,
1891
+ onKeyDown: I,
1892
1892
  onBlur: h,
1893
1893
  step: y,
1894
1894
  maxLength: v,
@@ -1900,7 +1900,27 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1900
1900
  ] }),
1901
1901
  E() ? /* @__PURE__ */ s.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ s.jsx(N, { name: "alert", children: f }) }) : ""
1902
1902
  ] });
1903
- }, kh = ({ name: e, required: t = !1, onChange: n, checked: i = !1, label: r, ...a }) => /* @__PURE__ */ s.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ s.jsxs("div", { className: "muncher-radio", children: [
1903
+ }, Dh = ({ name: e, label: t, required: n, placeholder: i, onChange: r, value: a, error: o, labelPosition: l }) => {
1904
+ const [c, h] = $(!1), u = () => {
1905
+ h((d) => !d);
1906
+ };
1907
+ return /* @__PURE__ */ s.jsx(
1908
+ wi,
1909
+ {
1910
+ label: t,
1911
+ name: e,
1912
+ type: c ? "text" : "password",
1913
+ hoverIcon: c ? "eye" : "eye-off",
1914
+ value: a,
1915
+ required: n,
1916
+ placeholder: i,
1917
+ onChange: r,
1918
+ error: o,
1919
+ labelPosition: l,
1920
+ onHoverIconClick: u
1921
+ }
1922
+ );
1923
+ }, Rh = ({ name: e, required: t = !1, onChange: n, checked: i = !1, label: r, ...a }) => /* @__PURE__ */ s.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ s.jsxs("div", { className: "muncher-radio", children: [
1904
1924
  /* @__PURE__ */ s.jsx(
1905
1925
  "input",
1906
1926
  {
@@ -1959,7 +1979,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1959
1979
  ) }),
1960
1980
  h() ? /* @__PURE__ */ s.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ s.jsx(N, { name: "alert", children: a }) }) : ""
1961
1981
  ] });
1962
- }, Rh = ({
1982
+ }, Lh = ({
1963
1983
  name: e,
1964
1984
  label: t,
1965
1985
  required: n,
@@ -1972,7 +1992,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1972
1992
  value: h,
1973
1993
  ...u
1974
1994
  }) => {
1975
- const [d, f] = Y(h), m = (x) => {
1995
+ const [d, f] = $(h), m = (x) => {
1976
1996
  f(x.target.value), c && c(x);
1977
1997
  };
1978
1998
  return /* @__PURE__ */ s.jsxs("div", { className: "muncher-input--div", children: [
@@ -1999,7 +2019,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
1999
2019
  " characters left"
2000
2020
  ] })
2001
2021
  ] });
2002
- }, Lh = ({
2022
+ }, Nh = ({
2003
2023
  name: e = "query",
2004
2024
  focus: t = !1,
2005
2025
  inputPlaceHolder: n,
@@ -2035,7 +2055,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2035
2055
  };
2036
2056
  }, [v, w]), /* @__PURE__ */ s.jsxs("div", { className: "muncher-input-drop-down", ref: g, children: [
2037
2057
  /* @__PURE__ */ s.jsx(
2038
- So,
2058
+ wi,
2039
2059
  {
2040
2060
  focus: t,
2041
2061
  placeholder: n,
@@ -2053,7 +2073,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2053
2073
  ),
2054
2074
  r ? /* @__PURE__ */ s.jsx("div", { className: "muncher-input-drop-down--content", children: x }) : ""
2055
2075
  ] });
2056
- }, Nh = ({ children: e }) => /* @__PURE__ */ s.jsx("ul", { className: "muncher-ul", children: e }), Fh = ({ isFeatured: e, bulletIcon: t = "arrow-right", bulletWeight: n = 2, bulletSize: i = "small", bulletColor: r, children: a }) => /* @__PURE__ */ s.jsx("li", { className: e ? "muncher-li featured" : "muncher-li", children: /* @__PURE__ */ s.jsx(
2076
+ }, Fh = ({ children: e }) => /* @__PURE__ */ s.jsx("ul", { className: "muncher-ul", children: e }), Ih = ({ isFeatured: e, bulletIcon: t = "arrow-right", bulletWeight: n = 2, bulletSize: i = "small", bulletColor: r, children: a }) => /* @__PURE__ */ s.jsx("li", { className: e ? "muncher-li featured" : "muncher-li", children: /* @__PURE__ */ s.jsx(
2057
2077
  N,
2058
2078
  {
2059
2079
  name: t,
@@ -2071,7 +2091,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2071
2091
  }), [r]), je(() => {
2072
2092
  e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset";
2073
2093
  }, [e]), /* @__PURE__ */ s.jsxs(gi.Fragment, { children: [
2074
- /* @__PURE__ */ s.jsx(yo, { show: e, backdropClickHandler: () => t(!1) }),
2094
+ /* @__PURE__ */ s.jsx(go, { show: e, backdropClickHandler: () => t(!1) }),
2075
2095
  /* @__PURE__ */ s.jsx(
2076
2096
  "div",
2077
2097
  {
@@ -2085,16 +2105,16 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2085
2105
  }
2086
2106
  )
2087
2107
  ] });
2088
- }, Ih = ({ showHoverEffect: e, onClick: t, children: n }) => {
2108
+ }, Bh = ({ showHoverEffect: e, onClick: t, children: n }) => {
2089
2109
  const i = () => e ? "muncher-paper muncher-paper-hover" : "muncher-paper";
2090
2110
  return /* @__PURE__ */ s.jsx("section", { className: i(), onClick: t, children: n });
2091
- }, Bh = ({ pillCloseHandler: e, children: t, ...n }) => /* @__PURE__ */ s.jsxs("div", { className: "muncher-pill", ...n, children: [
2111
+ }, zh = ({ pillCloseHandler: e, children: t, ...n }) => /* @__PURE__ */ s.jsxs("div", { className: "muncher-pill", ...n, children: [
2092
2112
  /* @__PURE__ */ s.jsx("div", { className: "close", onClick: e, children: /* @__PURE__ */ s.jsx(N, { name: "close" }) }),
2093
2113
  /* @__PURE__ */ s.jsxs("div", { className: "content", children: [
2094
2114
  " ",
2095
2115
  t
2096
2116
  ] })
2097
- ] }), zh = ({ value: e, max: t, label: n }) => {
2117
+ ] }), Hh = ({ value: e, max: t, label: n }) => {
2098
2118
  const i = () => {
2099
2119
  const r = Math.round(e / t * 100) + "%";
2100
2120
  return n ? n + " " + r : r;
@@ -2103,11 +2123,11 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2103
2123
  /* @__PURE__ */ s.jsx("label", { htmlFor: "progress", children: i() }),
2104
2124
  /* @__PURE__ */ s.jsx("progress", { id: "progress", value: e, max: t, children: i() })
2105
2125
  ] });
2106
- }, Hh = ({ variant: e, size: t, style: n }) => {
2126
+ }, _h = ({ variant: e, size: t, style: n }) => {
2107
2127
  const i = "muncher-hr" + (e ? " muncher-hr--" + e : "") + (t ? " muncher-hr--" + t : "") + (n ? " muncher-hr--" + n : "");
2108
2128
  return /* @__PURE__ */ s.jsx("hr", { className: i });
2109
- }, _h = ({ sliderItems: e, navButtonSize: t = "large", navButtonWeight: n = 2, variant: i, navIcon: r, navButtonPlacement: a = "inside" }) => {
2110
- const [o, l] = Y(0), [c, h] = Y(0), u = () => e.length > 1 && o > 0 ? /* @__PURE__ */ s.jsx(
2129
+ }, Uh = ({ sliderItems: e, navButtonSize: t = "large", navButtonWeight: n = 2, variant: i, navIcon: r, navButtonPlacement: a = "inside" }) => {
2130
+ const [o, l] = $(0), [c, h] = $(0), u = () => e.length > 1 && o > 0 ? /* @__PURE__ */ s.jsx(
2111
2131
  Qn,
2112
2132
  {
2113
2133
  direction: "left",
@@ -2151,7 +2171,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2151
2171
  ] }),
2152
2172
  a === "outside" ? d() : ""
2153
2173
  ] });
2154
- }, Uh = ({
2174
+ }, Wh = ({
2155
2175
  min: e,
2156
2176
  max: t,
2157
2177
  minValue: n,
@@ -2199,7 +2219,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2199
2219
  /* @__PURE__ */ s.jsx("div", { className: "slider-max", children: h(t) })
2200
2220
  ] })
2201
2221
  ] });
2202
- }, Wh = ({
2222
+ }, $h = ({
2203
2223
  min: e,
2204
2224
  max: t,
2205
2225
  value: n,
@@ -2231,7 +2251,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2231
2251
  /* @__PURE__ */ s.jsx("div", { className: "slider-max", children: a(t) })
2232
2252
  ] })
2233
2253
  ] });
2234
- }, $h = ({ isFeatured: e, onClick: t }) => /* @__PURE__ */ s.jsx("span", { className: "span-featured", children: /* @__PURE__ */ s.jsx("span", { className: e ? "featured-star" : "un-featured-star", onClick: t }) }), Kh = ({ rating: e, color: t, size: n, ...i }) => {
2254
+ }, Kh = ({ isFeatured: e, onClick: t }) => /* @__PURE__ */ s.jsx("span", { className: "span-featured", children: /* @__PURE__ */ s.jsx("span", { className: e ? "featured-star" : "un-featured-star", onClick: t }) }), Gh = ({ rating: e, color: t, size: n, ...i }) => {
2235
2255
  const r = {
2236
2256
  "--r": e
2237
2257
  }, a = () => {
@@ -2239,8 +2259,8 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2239
2259
  return t && (o += " star-" + t), n && (o += " star-" + n), o;
2240
2260
  };
2241
2261
  return /* @__PURE__ */ s.jsx("span", { className: a(), style: r, ...i });
2242
- }, Gh = ({ handleTabSelected: e, children: t }) => {
2243
- const [n, i] = Y(0), { tabs: r } = t, a = (o) => {
2262
+ }, Yh = ({ handleTabSelected: e, children: t }) => {
2263
+ const [n, i] = $(0), { tabs: r } = t, a = (o) => {
2244
2264
  i(o), e && e(o);
2245
2265
  };
2246
2266
  return /* @__PURE__ */ s.jsxs("section", { className: "muncher-tabs", children: [
@@ -2273,7 +2293,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2273
2293
  )
2274
2294
  )
2275
2295
  ] });
2276
- }, Yh = ({
2296
+ }, Xh = ({
2277
2297
  fileName: e,
2278
2298
  defaultPageSize: t = 50,
2279
2299
  skeleton: n,
@@ -2289,28 +2309,28 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2289
2309
  footer: f,
2290
2310
  children: m
2291
2311
  }) => {
2292
- const { header: x, rows: g } = m, [y, w] = Y(r ?? { index: -1 }), [v, b] = Y({ num: 0, size: t }), M = (T) => {
2312
+ const { header: x, rows: g } = m, [y, w] = $(r ?? { index: -1 }), [v, b] = $({ num: 0, size: t }), M = (T) => {
2293
2313
  w(
2294
2314
  (C) => C.index === T ? { ...C, desc: !C.desc } : { index: T }
2295
2315
  );
2296
- }, S = Oe(() => {
2316
+ }, S = Ie(() => {
2297
2317
  var F;
2298
2318
  const T = [...g];
2299
2319
  if (y.index < 0)
2300
2320
  return T;
2301
2321
  const C = (F = x[y.index]) == null ? void 0 : F.sort;
2302
- return C ? T.sort(C) : T.sort((X, $) => {
2303
- var Ee, I, _, j;
2304
- const Q = ((I = (Ee = X[y.index]) == null ? void 0 : Ee.value) == null ? void 0 : I.toString().toLowerCase()) ?? "", q = ((j = (_ = $[y.index]) == null ? void 0 : _.value) == null ? void 0 : j.toString().toLowerCase()) ?? "";
2322
+ return C ? T.sort(C) : T.sort((X, K) => {
2323
+ var Ee, O, _, j;
2324
+ const Q = ((O = (Ee = X[y.index]) == null ? void 0 : Ee.value) == null ? void 0 : O.toString().toLowerCase()) ?? "", q = ((j = (_ = K[y.index]) == null ? void 0 : _.value) == null ? void 0 : j.toString().toLowerCase()) ?? "";
2305
2325
  return Q.localeCompare(q);
2306
2326
  }), y.desc ? T.reverse() : T;
2307
- }, [g, y, x]), E = Oe(
2327
+ }, [g, y, x]), E = Ie(
2308
2328
  () => S.slice(v.num * v.size, (v.num + 1) * v.size),
2309
2329
  [S, v]
2310
- ), k = x.filter((T) => !T.csvExclude).map((T) => typeof T.name == "string" ? T.name : ""), P = g.map(
2330
+ ), D = x.filter((T) => !T.csvExclude).map((T) => typeof T.name == "string" ? T.name : ""), P = g.map(
2311
2331
  (T) => T.filter((C, F) => !x[F].csvExclude).map((C) => C.csv ?? C.value ?? "")
2312
- ), O = "muncher-table" + (a ? " " + a : "");
2313
- return /* @__PURE__ */ s.jsxs("section", { className: O, children: [
2332
+ ), I = "muncher-table" + (a ? " " + a : "");
2333
+ return /* @__PURE__ */ s.jsxs("section", { className: I, children: [
2314
2334
  /* @__PURE__ */ s.jsx("div", { className: "row head", children: x.map(
2315
2335
  (T, C) => T.visibility === "hidden" ? null : /* @__PURE__ */ s.jsx(
2316
2336
  "div",
@@ -2318,7 +2338,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2318
2338
  title: T.title,
2319
2339
  className: T.visibility ? "col main" : "col",
2320
2340
  children: typeof T.name == "string" ? /* @__PURE__ */ s.jsx("div", { className: "sort-button", children: /* @__PURE__ */ s.jsx(
2321
- To,
2341
+ Mo,
2322
2342
  {
2323
2343
  onClick: () => M(C),
2324
2344
  active: y.index === C,
@@ -2344,17 +2364,17 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2344
2364
  /* @__PURE__ */ s.jsxs("div", { className: "row-footer", children: [
2345
2365
  /* @__PURE__ */ s.jsxs("div", { className: "row-footer-buttons", children: [
2346
2366
  !o && /* @__PURE__ */ s.jsx(
2347
- bo,
2367
+ To,
2348
2368
  {
2349
2369
  filename: e ?? "download",
2350
2370
  variant: "secondary",
2351
2371
  title: "Download",
2352
- header: k,
2372
+ header: D,
2353
2373
  data: P
2354
2374
  }
2355
2375
  ),
2356
2376
  l && /* @__PURE__ */ s.jsx(
2357
- Mo,
2377
+ So,
2358
2378
  {
2359
2379
  name: "csv-input-file",
2360
2380
  handleOnChange: i,
@@ -2372,6 +2392,7 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2372
2392
  {
2373
2393
  name: "pageSize",
2374
2394
  options: [
2395
+ { label: "5", value: "5" },
2375
2396
  { label: "10", value: "10" },
2376
2397
  { label: "50", value: "50" },
2377
2398
  { label: "100", value: "100" }
@@ -2413,12 +2434,12 @@ const Ah = ({ variant: e, collapsed: t, className: n, children: i }) => {
2413
2434
  ] })
2414
2435
  ] })
2415
2436
  ] });
2416
- }, Xh = ({ children: e }) => /* @__PURE__ */ s.jsx("div", { className: "muncher-card", children: e }), wi = ze({});
2437
+ }, qh = ({ children: e }) => /* @__PURE__ */ s.jsx("div", { className: "muncher-card", children: e }), bi = ze({});
2417
2438
  function Po(e) {
2418
2439
  const t = fe(null);
2419
2440
  return t.current === null && (t.current = e()), t.current;
2420
2441
  }
2421
- const Vo = typeof window < "u", Co = Vo ? lo : je, Tn = /* @__PURE__ */ ze(null);
2442
+ const Vo = typeof window < "u", Co = Vo ? co : je, Tn = /* @__PURE__ */ ze(null);
2422
2443
  function Mn(e, t) {
2423
2444
  e.indexOf(t) === -1 && e.push(t);
2424
2445
  }
@@ -2440,13 +2461,13 @@ typeof process < "u" && ((yi = process.env) == null ? void 0 : yi.NODE_ENV) !==
2440
2461
  if (!e)
2441
2462
  throw new Error(Zt(t, n));
2442
2463
  });
2443
- const ve = {}, bi = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
2444
- function Ti(e) {
2464
+ const ve = {}, Ti = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
2465
+ function Mi(e) {
2445
2466
  return typeof e == "object" && e !== null;
2446
2467
  }
2447
- const Mi = (e) => /^0[^.\s]+$/u.test(e);
2468
+ const Si = (e) => /^0[^.\s]+$/u.test(e);
2448
2469
  // @__NO_SIDE_EFFECTS__
2449
- function Si(e) {
2470
+ function Ai(e) {
2450
2471
  let t;
2451
2472
  return () => (t === void 0 && (t = e()), t);
2452
2473
  }
@@ -2480,45 +2501,45 @@ class Sn {
2480
2501
  }
2481
2502
  }
2482
2503
  const te = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, se = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
2483
- function Ai(e, t) {
2504
+ function Pi(e, t) {
2484
2505
  return t ? e * (1e3 / t) : 0;
2485
2506
  }
2486
2507
  const es = /* @__PURE__ */ new Set();
2487
2508
  function An(e, t, n) {
2488
2509
  e || es.has(t) || (console.warn(Zt(t, n)), es.add(t));
2489
2510
  }
2490
- const Pi = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Do = 1e-7, ko = 12;
2511
+ const Vi = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, ko = 1e-7, Do = 12;
2491
2512
  function Ro(e, t, n, i, r) {
2492
2513
  let a, o, l = 0;
2493
2514
  do
2494
- o = t + (n - t) / 2, a = Pi(o, i, r) - e, a > 0 ? n = o : t = o;
2495
- while (Math.abs(a) > Do && ++l < ko);
2515
+ o = t + (n - t) / 2, a = Vi(o, i, r) - e, a > 0 ? n = o : t = o;
2516
+ while (Math.abs(a) > ko && ++l < Do);
2496
2517
  return o;
2497
2518
  }
2498
2519
  function it(e, t, n, i) {
2499
2520
  if (e === t && n === i)
2500
2521
  return ie;
2501
2522
  const r = (a) => Ro(a, 0, 1, e, n);
2502
- return (a) => a === 0 || a === 1 ? a : Pi(r(a), t, i);
2523
+ return (a) => a === 0 || a === 1 ? a : Vi(r(a), t, i);
2503
2524
  }
2504
- const Vi = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Ci = (e) => (t) => 1 - e(1 - t), Ei = /* @__PURE__ */ it(0.33, 1.53, 0.69, 0.99), Pn = /* @__PURE__ */ Ci(Ei), Di = /* @__PURE__ */ Vi(Pn), ki = (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)), Ri = Ci(Vn), Li = Vi(Vn), Lo = /* @__PURE__ */ it(0.42, 0, 1, 1), No = /* @__PURE__ */ it(0, 0, 0.58, 1), Ni = /* @__PURE__ */ it(0.42, 0, 0.58, 1), Fo = (e) => Array.isArray(e) && typeof e[0] != "number", Fi = (e) => Array.isArray(e) && typeof e[0] == "number", ts = {
2525
+ 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 = {
2505
2526
  linear: ie,
2506
2527
  easeIn: Lo,
2507
- easeInOut: Ni,
2528
+ easeInOut: Fi,
2508
2529
  easeOut: No,
2509
2530
  circIn: Vn,
2510
- circInOut: Li,
2511
- circOut: Ri,
2531
+ circInOut: Ni,
2532
+ circOut: Li,
2512
2533
  backIn: Pn,
2513
2534
  backInOut: Di,
2514
- backOut: Ei,
2515
- anticipate: ki
2516
- }, Oo = (e) => typeof e == "string", ns = (e) => {
2517
- if (Fi(e)) {
2535
+ backOut: ki,
2536
+ anticipate: Ri
2537
+ }, Io = (e) => typeof e == "string", ns = (e) => {
2538
+ if (Ii(e)) {
2518
2539
  pe(e.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
2519
2540
  const [t, n, i, r] = e;
2520
2541
  return it(t, n, i, r);
2521
- } else if (Oo(e))
2542
+ } else if (Io(e))
2522
2543
  return pe(ts[e] !== void 0, `Invalid easing type '${e}'`, "invalid-easing-type"), ts[e];
2523
2544
  return e;
2524
2545
  }, ct = [
@@ -2539,7 +2560,7 @@ const Vi = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Ci
2539
2560
  "postRender"
2540
2561
  // Compute
2541
2562
  ];
2542
- function Io(e, t) {
2563
+ function Oo(e, t) {
2543
2564
  let n = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), r = !1, a = !1;
2544
2565
  const o = /* @__PURE__ */ new WeakSet();
2545
2566
  let l = {
@@ -2586,7 +2607,7 @@ function Oi(e, t) {
2586
2607
  delta: 0,
2587
2608
  timestamp: 0,
2588
2609
  isProcessing: !1
2589
- }, a = () => n = !0, o = ct.reduce((b, M) => (b[M] = Io(a), b), {}), { setup: l, read: c, resolveKeyframes: h, preUpdate: u, update: d, preRender: f, render: m, postRender: x } = o, g = () => {
2610
+ }, a = () => n = !0, o = ct.reduce((b, M) => (b[M] = Oo(a), b), {}), { setup: l, read: c, resolveKeyframes: h, preUpdate: u, update: d, preRender: f, render: m, postRender: x } = o, g = () => {
2590
2611
  const b = ve.useManualTiming, M = b ? r.timestamp : performance.now();
2591
2612
  n = !1, b || (r.delta = i ? 1e3 / 60 : Math.max(Math.min(M - r.timestamp, Bo), 1)), r.timestamp = M, r.isProcessing = !0, l.process(r), c.process(r), h.process(r), u.process(r), d.process(r), f.process(r), m.process(r), x.process(r), r.isProcessing = !1, n && t && (i = !1, e(g));
2592
2613
  }, y = () => {
@@ -2594,13 +2615,13 @@ function Oi(e, t) {
2594
2615
  };
2595
2616
  return { schedule: ct.reduce((b, M) => {
2596
2617
  const S = o[M];
2597
- return b[M] = (E, k = !1, P = !1) => (n || y(), S.schedule(E, k, P)), b;
2618
+ return b[M] = (E, D = !1, P = !1) => (n || y(), S.schedule(E, D, P)), b;
2598
2619
  }, {}), cancel: (b) => {
2599
2620
  for (let M = 0; M < ct.length; M++)
2600
2621
  o[ct[M]].cancel(b);
2601
2622
  }, state: r, steps: o };
2602
2623
  }
2603
- const { schedule: D, cancel: we, state: U, steps: Ft } = /* @__PURE__ */ Oi(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ie, !0);
2624
+ const { schedule: k, cancel: we, state: U, steps: Ft } = /* @__PURE__ */ Oi(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ie, !0);
2604
2625
  let ft;
2605
2626
  function zo() {
2606
2627
  ft = void 0;
@@ -2610,7 +2631,7 @@ const Z = {
2610
2631
  set: (e) => {
2611
2632
  ft = e, queueMicrotask(zo);
2612
2633
  }
2613
- }, Ii = (e) => (t) => typeof t == "string" && t.startsWith(e), Bi = /* @__PURE__ */ Ii("--"), Ho = /* @__PURE__ */ Ii("var(--"), Cn = (e) => Ho(e) ? _o.test(e.split("/*")[0].trim()) : !1, _o = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
2634
+ }, 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;
2614
2635
  function ss(e) {
2615
2636
  return typeof e != "string" ? !1 : e.split("/*")[0].includes("var(--");
2616
2637
  }
@@ -2628,7 +2649,7 @@ const _e = {
2628
2649
  function Uo(e) {
2629
2650
  return e == null;
2630
2651
  }
2631
- const Wo = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Dn = (e, t) => (n) => !!(typeof n == "string" && Wo.test(n) && n.startsWith(e) || t && !Uo(n) && Object.prototype.hasOwnProperty.call(n, t)), zi = (e, t, n) => (i) => {
2652
+ 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) => {
2632
2653
  if (typeof i != "string")
2633
2654
  return i;
2634
2655
  const [r, a, o, l] = i.match(En);
@@ -2638,13 +2659,13 @@ const Wo = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
2638
2659
  [n]: parseFloat(o),
2639
2660
  alpha: l !== void 0 ? parseFloat(l) : 1
2640
2661
  };
2641
- }, $o = (e) => de(0, 255, e), Ot = {
2662
+ }, $o = (e) => de(0, 255, e), It = {
2642
2663
  ..._e,
2643
2664
  transform: (e) => Math.round($o(e))
2644
2665
  }, Se = {
2645
- test: /* @__PURE__ */ Dn("rgb", "red"),
2646
- parse: /* @__PURE__ */ zi("red", "green", "blue"),
2647
- transform: ({ red: e, green: t, blue: n, alpha: i = 1 }) => "rgba(" + Ot.transform(e) + ", " + Ot.transform(t) + ", " + Ot.transform(n) + ", " + Xe(Qe.transform(i)) + ")"
2666
+ test: /* @__PURE__ */ kn("rgb", "red"),
2667
+ parse: /* @__PURE__ */ Hi("red", "green", "blue"),
2668
+ transform: ({ red: e, green: t, blue: n, alpha: i = 1 }) => "rgba(" + It.transform(e) + ", " + It.transform(t) + ", " + It.transform(n) + ", " + Xe(Qe.transform(i)) + ")"
2648
2669
  };
2649
2670
  function Ko(e) {
2650
2671
  let t = "", n = "", i = "", r = "";
@@ -2656,7 +2677,7 @@ function Ko(e) {
2656
2677
  };
2657
2678
  }
2658
2679
  const Jt = {
2659
- test: /* @__PURE__ */ Dn("#"),
2680
+ test: /* @__PURE__ */ kn("#"),
2660
2681
  parse: Ko,
2661
2682
  transform: Se.transform
2662
2683
  }, rt = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
@@ -2668,8 +2689,8 @@ const Jt = {
2668
2689
  parse: (e) => he.parse(e) / 100,
2669
2690
  transform: (e) => he.transform(e * 100)
2670
2691
  }, Re = {
2671
- test: /* @__PURE__ */ Dn("hsl", "hue"),
2672
- parse: /* @__PURE__ */ zi("hue", "saturation", "lightness"),
2692
+ test: /* @__PURE__ */ kn("hsl", "hue"),
2693
+ parse: /* @__PURE__ */ Hi("hue", "saturation", "lightness"),
2673
2694
  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)) + ")"
2674
2695
  }, z = {
2675
2696
  test: (e) => Se.test(e) || Jt.test(e) || Re.test(e),
@@ -2684,39 +2705,39 @@ function qo(e) {
2684
2705
  var t, n;
2685
2706
  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;
2686
2707
  }
2687
- const Hi = "number", _i = "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;
2688
- function Ie(e) {
2708
+ 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;
2709
+ function Oe(e) {
2689
2710
  const t = e.toString(), n = [], i = {
2690
2711
  color: [],
2691
2712
  number: [],
2692
2713
  var: []
2693
2714
  }, r = [];
2694
2715
  let a = 0;
2695
- const l = t.replace(Qo, (c) => (z.test(c) ? (i.color.push(a), r.push(_i), n.push(z.parse(c))) : c.startsWith(Jo) ? (i.var.push(a), r.push(Zo), n.push(c)) : (i.number.push(a), r.push(Hi), n.push(parseFloat(c))), ++a, rs)).split(rs);
2716
+ 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);
2696
2717
  return { values: n, split: l, indexes: i, types: r };
2697
2718
  }
2698
2719
  function ea(e) {
2699
- return Ie(e).values;
2720
+ return Oe(e).values;
2700
2721
  }
2701
- function Ui({ split: e, types: t }) {
2722
+ function Wi({ split: e, types: t }) {
2702
2723
  const n = e.length;
2703
2724
  return (i) => {
2704
2725
  let r = "";
2705
2726
  for (let a = 0; a < n; a++)
2706
2727
  if (r += e[a], i[a] !== void 0) {
2707
2728
  const o = t[a];
2708
- o === Hi ? r += Xe(i[a]) : o === _i ? r += z.transform(i[a]) : r += i[a];
2729
+ o === _i ? r += Xe(i[a]) : o === Ui ? r += z.transform(i[a]) : r += i[a];
2709
2730
  }
2710
2731
  return r;
2711
2732
  };
2712
2733
  }
2713
2734
  function ta(e) {
2714
- return Ui(Ie(e));
2735
+ return Wi(Oe(e));
2715
2736
  }
2716
2737
  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);
2717
2738
  function ia(e) {
2718
- const t = Ie(e);
2719
- return Ui(t)(t.values.map((i, r) => sa(i, t.split[r])));
2739
+ const t = Oe(e);
2740
+ return Wi(t)(t.values.map((i, r) => sa(i, t.split[r])));
2720
2741
  }
2721
2742
  const ae = {
2722
2743
  test: qo,
@@ -2724,7 +2745,7 @@ const ae = {
2724
2745
  createTransformer: ta,
2725
2746
  getAnimatableNone: ia
2726
2747
  };
2727
- function It(e, t, n) {
2748
+ function Ot(e, t, n) {
2728
2749
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
2729
2750
  }
2730
2751
  function ra({ hue: e, saturation: t, lightness: n, alpha: i }) {
@@ -2734,7 +2755,7 @@ function ra({ hue: e, saturation: t, lightness: n, alpha: i }) {
2734
2755
  r = a = o = n;
2735
2756
  else {
2736
2757
  const l = n < 0.5 ? n * (1 + t) : n + t - n * t, c = 2 * n - l;
2737
- r = It(c, l, e + 1 / 3), a = It(c, l, e), o = It(c, l, e - 1 / 3);
2758
+ r = Ot(c, l, e + 1 / 3), a = Ot(c, l, e), o = Ot(c, l, e - 1 / 3);
2738
2759
  }
2739
2760
  return {
2740
2761
  red: Math.round(r * 255),
@@ -2770,11 +2791,11 @@ function la(e, t) {
2770
2791
  function ca(e, t) {
2771
2792
  return (n) => L(e, t, n);
2772
2793
  }
2773
- function kn(e) {
2774
- return typeof e == "number" ? ca : typeof e == "string" ? Cn(e) ? wt : z.test(e) ? as : da : Array.isArray(e) ? Wi : typeof e == "object" ? z.test(e) ? as : ua : wt;
2794
+ function Dn(e) {
2795
+ 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;
2775
2796
  }
2776
- function Wi(e, t) {
2777
- const n = [...e], i = n.length, r = e.map((a, o) => kn(a)(a, t[o]));
2797
+ function $i(e, t) {
2798
+ const n = [...e], i = n.length, r = e.map((a, o) => Dn(a)(a, t[o]));
2778
2799
  return (a) => {
2779
2800
  for (let o = 0; o < i; o++)
2780
2801
  n[o] = r[o](a);
@@ -2784,7 +2805,7 @@ function Wi(e, t) {
2784
2805
  function ua(e, t) {
2785
2806
  const n = { ...e, ...t }, i = {};
2786
2807
  for (const r in n)
2787
- e[r] !== void 0 && t[r] !== void 0 && (i[r] = kn(e[r])(e[r], t[r]));
2808
+ e[r] !== void 0 && t[r] !== void 0 && (i[r] = Dn(e[r])(e[r], t[r]));
2788
2809
  return (r) => {
2789
2810
  for (const a in i)
2790
2811
  n[a] = i[a](r);
@@ -2800,16 +2821,16 @@ function ha(e, t) {
2800
2821
  return n;
2801
2822
  }
2802
2823
  const da = (e, t) => {
2803
- const n = ae.createTransformer(t), i = Ie(e), r = Ie(t);
2804
- 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(Wi(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));
2824
+ const n = ae.createTransformer(t), i = Oe(e), r = Oe(t);
2825
+ 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));
2805
2826
  };
2806
- function $i(e, t, n) {
2807
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? L(e, t, n) : kn(e)(e, t);
2827
+ function Ki(e, t, n) {
2828
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? L(e, t, n) : Dn(e)(e, t);
2808
2829
  }
2809
2830
  const fa = (e) => {
2810
2831
  const t = ({ timestamp: n }) => e(n);
2811
2832
  return {
2812
- start: (n = !0) => D.update(t, n),
2833
+ start: (n = !0) => k.update(t, n),
2813
2834
  stop: () => we(t),
2814
2835
  /**
2815
2836
  * If we're processing this frame we can use the
@@ -2817,7 +2838,7 @@ const fa = (e) => {
2817
2838
  */
2818
2839
  now: () => U.isProcessing ? U.timestamp : Z.now()
2819
2840
  };
2820
- }, Ki = (e, t, n = 10) => {
2841
+ }, Gi = (e, t, n = 10) => {
2821
2842
  let i = "";
2822
2843
  const r = Math.max(Math.round(t / n), 2);
2823
2844
  for (let a = 0; a < r; a++)
@@ -2957,34 +2978,34 @@ function Tt(e = B.visualDuration, t = B.bounce) {
2957
2978
  velocity: -/* @__PURE__ */ se(n.velocity || 0)
2958
2979
  }), 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;
2959
2980
  i || (i = v ? B.restSpeed.granular : B.restSpeed.default), r || (r = v ? B.restDelta.granular : B.restDelta.default);
2960
- let b, M, S, E, k, P;
2981
+ let b, M, S, E, D, P;
2961
2982
  if (g < 1)
2962
2983
  S = en(w, g), E = (x + g * w * y) / S, b = (T) => {
2963
2984
  const C = Math.exp(-g * w * T);
2964
2985
  return o - C * (E * Math.sin(S * T) + y * Math.cos(S * T));
2965
- }, k = g * w * E + y * S, P = g * w * y - E * S, M = (T) => Math.exp(-g * w * T) * (k * Math.sin(S * T) + P * Math.cos(S * T));
2986
+ }, 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));
2966
2987
  else if (g === 1) {
2967
2988
  b = (C) => o - Math.exp(-w * C) * (y + (x + w * y) * C);
2968
2989
  const T = x + w * y;
2969
2990
  M = (C) => Math.exp(-w * C) * (w * T * C - x);
2970
2991
  } else {
2971
2992
  const T = w * Math.sqrt(g * g - 1);
2972
- b = ($) => {
2973
- const Q = Math.exp(-g * w * $), q = Math.min(T * $, 300);
2993
+ b = (K) => {
2994
+ const Q = Math.exp(-g * w * K), q = Math.min(T * K, 300);
2974
2995
  return o - Q * ((x + g * w * y) * Math.sinh(q) + T * y * Math.cosh(q)) / T;
2975
2996
  };
2976
2997
  const C = (x + g * w * y) / T, F = g * w * C - y * T, X = g * w * y - C * T;
2977
- M = ($) => {
2978
- const Q = Math.exp(-g * w * $), q = Math.min(T * $, 300);
2998
+ M = (K) => {
2999
+ const Q = Math.exp(-g * w * K), q = Math.min(T * K, 300);
2979
3000
  return Q * (F * Math.sinh(q) + X * Math.cosh(q));
2980
3001
  };
2981
3002
  }
2982
- const O = {
3003
+ const I = {
2983
3004
  calculatedDuration: m && d || null,
2984
3005
  velocity: (T) => /* @__PURE__ */ te(M(T)),
2985
3006
  next: (T) => {
2986
3007
  if (!m && g < 1) {
2987
- const F = Math.exp(-g * w * T), X = Math.sin(S * T), $ = Math.cos(S * T), Q = o - F * (E * X + y * $), q = /* @__PURE__ */ te(F * (k * X + P * $));
3008
+ const F = Math.exp(-g * w * T), X = Math.sin(S * T), K = Math.cos(S * T), Q = o - F * (E * X + y * K), q = /* @__PURE__ */ te(F * (D * X + P * K));
2988
3009
  return l.done = Math.abs(q) <= i && Math.abs(o - Q) <= r, l.value = l.done ? o : Q, l;
2989
3010
  }
2990
3011
  const C = b(T);
@@ -2997,22 +3018,22 @@ function Tt(e = B.visualDuration, t = B.bounce) {
2997
3018
  return l.value = l.done ? o : C, l;
2998
3019
  },
2999
3020
  toString: () => {
3000
- const T = Math.min(Rn(O), bt), C = Ki((F) => O.next(T * F).value, T, 30);
3021
+ const T = Math.min(Rn(I), bt), C = Gi((F) => I.next(T * F).value, T, 30);
3001
3022
  return T + "ms " + C;
3002
3023
  },
3003
3024
  toTransition: () => {
3004
3025
  }
3005
3026
  };
3006
- return O;
3027
+ return I;
3007
3028
  }
3008
3029
  Tt.applyToOptions = (e) => {
3009
3030
  const t = pa(e, 100, Tt);
3010
3031
  return e.ease = t.ease, e.duration = /* @__PURE__ */ te(t.duration), e.type = "keyframes", e;
3011
3032
  };
3012
3033
  const wa = 5;
3013
- function Gi(e, t, n) {
3034
+ function Yi(e, t, n) {
3014
3035
  const i = Math.max(t - wa, 0);
3015
- return Ai(n - e(i), t - i);
3036
+ return Pi(n - e(i), t - i);
3016
3037
  }
3017
3038
  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 }) {
3018
3039
  const d = e[0], f = {
@@ -3023,14 +3044,14 @@ function tn({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: i = 3
3023
3044
  const y = d + g, w = o === void 0 ? y : o(y);
3024
3045
  w !== y && (g = w - d);
3025
3046
  const v = (P) => -g * Math.exp(-P / i), b = (P) => w + v(P), M = (P) => {
3026
- const O = v(P), T = b(P);
3027
- f.done = Math.abs(O) <= h, f.value = f.done ? w : T;
3047
+ const I = v(P), T = b(P);
3048
+ f.done = Math.abs(I) <= h, f.value = f.done ? w : T;
3028
3049
  };
3029
3050
  let S, E;
3030
- const k = (P) => {
3051
+ const D = (P) => {
3031
3052
  m(f.value) && (S = P, E = Tt({
3032
3053
  keyframes: [f.value, x(f.value)],
3033
- velocity: Gi(b, P, f.value),
3054
+ velocity: Yi(b, P, f.value),
3034
3055
  // TODO: This should be passing * 1000
3035
3056
  damping: r,
3036
3057
  stiffness: a,
@@ -3038,16 +3059,16 @@ function tn({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: i = 3
3038
3059
  restSpeed: u
3039
3060
  }));
3040
3061
  };
3041
- return k(0), {
3062
+ return D(0), {
3042
3063
  calculatedDuration: null,
3043
3064
  next: (P) => {
3044
- let O = !1;
3045
- return !E && S === void 0 && (O = !0, M(P), k(P)), S !== void 0 && P >= S ? E.next(P - S) : (!O && M(P), f);
3065
+ let I = !1;
3066
+ return !E && S === void 0 && (I = !0, M(P), D(P)), S !== void 0 && P >= S ? E.next(P - S) : (!I && M(P), f);
3046
3067
  }
3047
3068
  };
3048
3069
  }
3049
3070
  function ba(e, t, n) {
3050
- const i = [], r = n || ve.mix || $i, a = e.length - 1;
3071
+ const i = [], r = n || ve.mix || Ki, a = e.length - 1;
3051
3072
  for (let o = 0; o < a; o++) {
3052
3073
  let l = r(e[o], e[o + 1]);
3053
3074
  if (t) {
@@ -3093,7 +3114,7 @@ function Aa(e, t) {
3093
3114
  return e.map((n) => n * t);
3094
3115
  }
3095
3116
  function Pa(e, t) {
3096
- return e.map(() => t || Ni).splice(0, e.length - 1);
3117
+ return e.map(() => t || Fi).splice(0, e.length - 1);
3097
3118
  }
3098
3119
  function Le({ duration: e = 300, keyframes: t, times: n, ease: i = "easeInOut" }) {
3099
3120
  const r = Fo(i) ? i.map(ns) : ns(i), a = {
@@ -3124,7 +3145,7 @@ const Ca = {
3124
3145
  keyframes: Le,
3125
3146
  spring: Tt
3126
3147
  };
3127
- function Yi(e) {
3148
+ function Xi(e) {
3128
3149
  typeof e.type == "string" && (e.type = Ca[e.type]);
3129
3150
  }
3130
3151
  class Ln {
@@ -3165,11 +3186,11 @@ class Mt extends Ln {
3165
3186
  }
3166
3187
  initAnimation() {
3167
3188
  const { options: t } = this;
3168
- Yi(t);
3189
+ Xi(t);
3169
3190
  const { type: n = Le, repeat: i = 0, repeatDelay: r = 0, repeatType: a, velocity: o = 0 } = t;
3170
3191
  let { keyframes: l } = t;
3171
3192
  const c = n || Le;
3172
- 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, $i(l[0], l[1])), l = [0, 100]);
3193
+ 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]);
3173
3194
  const h = c({ ...t, keyframes: l });
3174
3195
  a === "mirror" && (this.mirroredGenerator = c({
3175
3196
  ...t,
@@ -3194,15 +3215,15 @@ class Mt extends Ln {
3194
3215
  let b = this.currentTime, M = i;
3195
3216
  if (d) {
3196
3217
  const P = Math.min(this.currentTime, r) / l;
3197
- let O = Math.floor(P), T = P % 1;
3198
- !T && P >= 1 && (T = 1), T === 1 && O--, O = Math.min(O, d + 1), !!(O % 2) && (f === "reverse" ? (T = 1 - T, m && (T -= m / l)) : f === "mirror" && (M = o)), b = de(0, 1, T) * l;
3218
+ let I = Math.floor(P), T = P % 1;
3219
+ !T && P >= 1 && (T = 1), T === 1 && I--, I = Math.min(I, d + 1), !!(I % 2) && (f === "reverse" ? (T = 1 - T, m && (T -= m / l)) : f === "mirror" && (M = o)), b = de(0, 1, T) * l;
3199
3220
  }
3200
3221
  let S;
3201
3222
  v ? (this.delayState.value = u[0], S = this.delayState) : S = M.next(b), a && !v && (S.value = a(S.value));
3202
3223
  let { done: E } = S;
3203
3224
  !v && c !== null && (E = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
3204
- const k = this.holdTime === null && (this.state === "finished" || this.state === "running" && E);
3205
- return k && x !== tn && (S.value = Ct(u, this.options, y, this.speed)), g && g(S.value), k && this.finish(), S;
3225
+ const D = this.holdTime === null && (this.state === "finished" || this.state === "running" && E);
3226
+ return D && x !== tn && (S.value = Ct(u, this.options, y, this.speed)), g && g(S.value), D && this.finish(), S;
3206
3227
  }
3207
3228
  /**
3208
3229
  * Allows the returned animation to be awaited or promise-chained. Currently
@@ -3237,7 +3258,7 @@ class Mt extends Ln {
3237
3258
  if (this.generator.velocity)
3238
3259
  return this.generator.velocity(t);
3239
3260
  const n = this.generator.next(t).value;
3240
- return Gi((i) => this.generator.next(i).value, t, n);
3261
+ return Yi((i) => this.generator.next(i).value, t, n);
3241
3262
  }
3242
3263
  get speed() {
3243
3264
  return this.playbackSpeed;
@@ -3283,14 +3304,14 @@ class Mt extends Ln {
3283
3304
  return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), (n = this.driver) == null || n.stop(), t.observe(this);
3284
3305
  }
3285
3306
  }
3286
- function Da(e) {
3307
+ function ka(e) {
3287
3308
  for (let t = 1; t < e.length; t++)
3288
3309
  e[t] ?? (e[t] = e[t - 1]);
3289
3310
  }
3290
3311
  const Ae = (e) => e * 180 / Math.PI, nn = (e) => {
3291
3312
  const t = Ae(Math.atan2(e[1], e[0]));
3292
3313
  return sn(t);
3293
- }, ka = {
3314
+ }, Da = {
3294
3315
  x: 4,
3295
3316
  y: 5,
3296
3317
  translateX: 4,
@@ -3333,7 +3354,7 @@ function on(e, t) {
3333
3354
  i = Ra, r = n;
3334
3355
  else {
3335
3356
  const l = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
3336
- i = ka, r = l;
3357
+ i = Da, r = l;
3337
3358
  }
3338
3359
  if (!r)
3339
3360
  return rn(t);
@@ -3365,10 +3386,10 @@ const Ue = [
3365
3386
  "skew",
3366
3387
  "skewX",
3367
3388
  "skewY"
3368
- ], We = new Set(Ue), fs = (e) => e === _e || e === A, Fa = /* @__PURE__ */ new Set(["x", "y", "z"]), Oa = Ue.filter((e) => !Fa.has(e));
3369
- function Ia(e) {
3389
+ ], We = new Set(Ue), fs = (e) => e === _e || e === A, Fa = /* @__PURE__ */ new Set(["x", "y", "z"]), Ia = Ue.filter((e) => !Fa.has(e));
3390
+ function Oa(e) {
3370
3391
  const t = [];
3371
- return Oa.forEach((n) => {
3392
+ return Ia.forEach((n) => {
3372
3393
  const i = e.getValue(n);
3373
3394
  i !== void 0 && (t.push([n, i.get()]), i.set(n.startsWith("scale") ? 1 : 0));
3374
3395
  }), t;
@@ -3395,11 +3416,11 @@ ge.translateX = ge.x;
3395
3416
  ge.translateY = ge.y;
3396
3417
  const Pe = /* @__PURE__ */ new Set();
3397
3418
  let an = !1, ln = !1, cn = !1;
3398
- function Xi() {
3419
+ function qi() {
3399
3420
  if (ln) {
3400
3421
  const e = Array.from(Pe).filter((i) => i.needsMeasurement), t = new Set(e.map((i) => i.element)), n = /* @__PURE__ */ new Map();
3401
3422
  t.forEach((i) => {
3402
- const r = Ia(i);
3423
+ const r = Oa(i);
3403
3424
  r.length && (n.set(i, r), i.render());
3404
3425
  }), e.forEach((i) => i.measureInitialState()), t.forEach((i) => {
3405
3426
  i.render();
@@ -3414,20 +3435,20 @@ function Xi() {
3414
3435
  }
3415
3436
  ln = !1, an = !1, Pe.forEach((e) => e.complete(cn)), Pe.clear();
3416
3437
  }
3417
- function qi() {
3438
+ function Zi() {
3418
3439
  Pe.forEach((e) => {
3419
3440
  e.readKeyframes(), e.needsMeasurement && (ln = !0);
3420
3441
  });
3421
3442
  }
3422
3443
  function Ba() {
3423
- cn = !0, qi(), Xi(), cn = !1;
3444
+ cn = !0, Zi(), qi(), cn = !1;
3424
3445
  }
3425
3446
  class Nn {
3426
3447
  constructor(t, n, i, r, a, o = !1) {
3427
3448
  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;
3428
3449
  }
3429
3450
  scheduleResolve() {
3430
- this.state = "scheduled", this.isAsync ? (Pe.add(this), an || (an = !0, D.read(qi), D.resolveKeyframes(Xi))) : (this.readKeyframes(), this.complete());
3451
+ this.state = "scheduled", this.isAsync ? (Pe.add(this), an || (an = !0, k.read(Zi), k.resolveKeyframes(qi))) : (this.readKeyframes(), this.complete());
3431
3452
  }
3432
3453
  readKeyframes() {
3433
3454
  const { unresolvedKeyframes: t, name: n, element: i, motionValue: r } = this;
@@ -3441,7 +3462,7 @@ class Nn {
3441
3462
  }
3442
3463
  t[0] === void 0 && (t[0] = o), r && a === void 0 && r.set(t[0]);
3443
3464
  }
3444
- Da(t);
3465
+ ka(t);
3445
3466
  }
3446
3467
  setFinalKeyframe() {
3447
3468
  }
@@ -3462,15 +3483,15 @@ class Nn {
3462
3483
  }
3463
3484
  }
3464
3485
  const za = (e) => e.startsWith("--");
3465
- function Zi(e, t, n) {
3486
+ function Ji(e, t, n) {
3466
3487
  za(t) ? e.style.setProperty(t, n) : e.style[t] = n;
3467
3488
  }
3468
3489
  const Ha = {};
3469
- function Ji(e, t) {
3470
- const n = /* @__PURE__ */ Si(e);
3490
+ function Qi(e, t) {
3491
+ const n = /* @__PURE__ */ Ai(e);
3471
3492
  return () => Ha[t] ?? n();
3472
3493
  }
3473
- const _a = /* @__PURE__ */ Ji(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Qi = /* @__PURE__ */ Ji(() => {
3494
+ const _a = /* @__PURE__ */ Qi(() => window.ScrollTimeline !== void 0, "scrollTimeline"), er = /* @__PURE__ */ Qi(() => {
3474
3495
  try {
3475
3496
  document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
3476
3497
  } catch {
@@ -3488,16 +3509,16 @@ const _a = /* @__PURE__ */ Ji(() => window.ScrollTimeline !== void 0, "scrollTim
3488
3509
  backIn: /* @__PURE__ */ Ye([0.31, 0.01, 0.66, -0.59]),
3489
3510
  backOut: /* @__PURE__ */ Ye([0.33, 1.53, 0.69, 0.99])
3490
3511
  };
3491
- function er(e, t) {
3512
+ function tr(e, t) {
3492
3513
  if (e)
3493
- return typeof e == "function" ? Qi() ? Ki(e, t) : "ease-out" : Fi(e) ? Ye(e) : Array.isArray(e) ? e.map((n) => er(n, t) || ps.easeOut) : ps[e];
3514
+ 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];
3494
3515
  }
3495
3516
  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) {
3496
3517
  const u = {
3497
3518
  [t]: n
3498
3519
  };
3499
3520
  c && (u.offset = c);
3500
- const d = er(l, r);
3521
+ const d = tr(l, r);
3501
3522
  Array.isArray(d) && (u.easing = d);
3502
3523
  const f = {
3503
3524
  delay: i,
@@ -3509,13 +3530,13 @@ function Ua(e, t, n, { delay: i = 0, duration: r = 300, repeat: a = 0, repeatTyp
3509
3530
  };
3510
3531
  return h && (f.pseudoElement = h), e.animate(u, f);
3511
3532
  }
3512
- function tr(e) {
3533
+ function nr(e) {
3513
3534
  return typeof e == "function" && "applyToOptions" in e;
3514
3535
  }
3515
3536
  function Wa({ type: e, ...t }) {
3516
- return tr(e) && Qi() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
3537
+ return nr(e) && er() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
3517
3538
  }
3518
- class nr extends Ln {
3539
+ class sr extends Ln {
3519
3540
  constructor(t) {
3520
3541
  if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !t)
3521
3542
  return;
@@ -3525,7 +3546,7 @@ class nr extends Ln {
3525
3546
  this.animation = Ua(n, i, r, h, a), h.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
3526
3547
  if (this.finishedTime = this.time, !a) {
3527
3548
  const u = Ct(r, this.options, l, this.speed);
3528
- this.updateMotionValue && this.updateMotionValue(u), Zi(n, i, u), this.animation.cancel();
3549
+ this.updateMotionValue && this.updateMotionValue(u), Ji(n, i, u), this.animation.cancel();
3529
3550
  }
3530
3551
  c == null || c(), this.notifyFinished();
3531
3552
  };
@@ -3613,21 +3634,21 @@ class nr extends Ln {
3613
3634
  return this.allowFlatten && ((a = this.animation.effect) == null || a.updateTiming({ easing: "linear" })), this.animation.onfinish = null, t && _a() ? (this.animation.timeline = t, n && (this.animation.rangeStart = n), i && (this.animation.rangeEnd = i), ie) : r(this);
3614
3635
  }
3615
3636
  }
3616
- const sr = {
3617
- anticipate: ki,
3637
+ const ir = {
3638
+ anticipate: Ri,
3618
3639
  backInOut: Di,
3619
- circInOut: Li
3640
+ circInOut: Ni
3620
3641
  };
3621
3642
  function $a(e) {
3622
- return e in sr;
3643
+ return e in ir;
3623
3644
  }
3624
3645
  function Ka(e) {
3625
- typeof e.ease == "string" && $a(e.ease) && (e.ease = sr[e.ease]);
3646
+ typeof e.ease == "string" && $a(e.ease) && (e.ease = ir[e.ease]);
3626
3647
  }
3627
3648
  const zt = 10;
3628
- class Ga extends nr {
3649
+ class Ga extends sr {
3629
3650
  constructor(t) {
3630
- Ka(t), Yi(t), super(t), t.startTime !== void 0 && t.autoplay !== !1 && (this.startTime = t.startTime), this.options = t;
3651
+ Ka(t), Xi(t), super(t), t.startTime !== void 0 && t.autoplay !== !1 && (this.startTime = t.startTime), this.options = t;
3631
3652
  }
3632
3653
  /**
3633
3654
  * WAAPI doesn't natively have any interruption capabilities.
@@ -3649,7 +3670,7 @@ class Ga extends nr {
3649
3670
  ...o,
3650
3671
  autoplay: !1
3651
3672
  }), c = Math.max(zt, Z.now() - this.startTime), h = de(0, zt, c - zt), u = l.sample(c).value, { name: d } = this.options;
3652
- a && d && Zi(a, d, u), n.setWithVelocity(l.sample(Math.max(0, c - h)).value, u, h), l.stop();
3673
+ a && d && Ji(a, d, u), n.setWithVelocity(l.sample(Math.max(0, c - h)).value, u, h), l.stop();
3653
3674
  }
3654
3675
  }
3655
3676
  const ms = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
@@ -3670,12 +3691,12 @@ function Xa(e, t, n, i) {
3670
3691
  if (t === "display" || t === "visibility")
3671
3692
  return !0;
3672
3693
  const a = e[e.length - 1], o = ms(r, t), l = ms(a, t);
3673
- 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" || tr(n)) && i;
3694
+ 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;
3674
3695
  }
3675
3696
  function un(e) {
3676
3697
  e.duration = 0, e.type = "keyframes";
3677
3698
  }
3678
- const ir = /* @__PURE__ */ new Set([
3699
+ const rr = /* @__PURE__ */ new Set([
3679
3700
  "opacity",
3680
3701
  "clipPath",
3681
3702
  "filter",
@@ -3701,7 +3722,7 @@ const Ja = /* @__PURE__ */ new Set([
3701
3722
  "borderRightColor",
3702
3723
  "borderBottomColor",
3703
3724
  "borderLeftColor"
3704
- ]), Qa = /* @__PURE__ */ Si(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
3725
+ ]), Qa = /* @__PURE__ */ Ai(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
3705
3726
  function el(e) {
3706
3727
  var d;
3707
3728
  const { motionValue: t, name: n, repeatDelay: i, repeatType: r, damping: a, type: o, keyframes: l } = e;
@@ -3712,7 +3733,7 @@ function el(e) {
3712
3733
  * Force WAAPI for color properties with browser-only color formats
3713
3734
  * (oklch, oklab, lab, lch, etc.) that the JS animation path can't parse.
3714
3735
  */
3715
- (ir.has(n) || Ja.has(n) && Za(l)) && (n !== "transform" || !u) && /**
3736
+ (rr.has(n) || Ja.has(n) && Za(l)) && (n !== "transform" || !u) && /**
3716
3737
  * If we're outputting values to onUpdate then we can't use WAAPI as there's
3717
3738
  * no way to read the value from WAAPI every frame.
3718
3739
  */
@@ -3821,7 +3842,7 @@ class nl extends Ln {
3821
3842
  this._animation && this.animation.cancel(), (t = this.keyframeResolver) == null || t.cancel();
3822
3843
  }
3823
3844
  }
3824
- function rr(e, t, n, i = 0, r = 1) {
3845
+ function or(e, t, n, i = 0, r = 1) {
3825
3846
  const a = Array.from(e).sort((h, u) => h.sortNodePosition(u)).indexOf(t), o = e.size, l = (o - 1) * i;
3826
3847
  return typeof n == "function" ? n(a, o) : r === 1 ? a * i : l - a * i;
3827
3848
  }
@@ -3837,7 +3858,7 @@ function il(e) {
3837
3858
  return [`--${n ?? i}`, r];
3838
3859
  }
3839
3860
  const rl = 4;
3840
- function or(e, t, n = 1) {
3861
+ function ar(e, t, n = 1) {
3841
3862
  pe(n <= rl, `Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`, "max-css-var-depth");
3842
3863
  const [i, r] = il(e);
3843
3864
  if (!i)
@@ -3845,9 +3866,9 @@ function or(e, t, n = 1) {
3845
3866
  const a = window.getComputedStyle(t).getPropertyValue(i);
3846
3867
  if (a) {
3847
3868
  const o = a.trim();
3848
- return bi(o) ? parseFloat(o) : o;
3869
+ return Ti(o) ? parseFloat(o) : o;
3849
3870
  }
3850
- return Cn(r) ? or(r, t, n + 1) : r;
3871
+ return Cn(r) ? ar(r, t, n + 1) : r;
3851
3872
  }
3852
3873
  const ol = {
3853
3874
  type: "spring",
@@ -3867,7 +3888,7 @@ const ol = {
3867
3888
  ease: [0.25, 0.1, 0.35, 1],
3868
3889
  duration: 0.3
3869
3890
  }, ul = (e, { keyframes: t }) => t.length > 2 ? ll : We.has(e) ? e.startsWith("scale") ? al(t[1]) : ol : cl;
3870
- function ar(e, t) {
3891
+ function lr(e, t) {
3871
3892
  if (e != null && e.inherit && t) {
3872
3893
  const { inherit: n, ...i } = e;
3873
3894
  return { ...t, ...i };
@@ -3876,7 +3897,7 @@ function ar(e, t) {
3876
3897
  }
3877
3898
  function Fn(e, t) {
3878
3899
  const n = (e == null ? void 0 : e[t]) ?? (e == null ? void 0 : e.default) ?? e;
3879
- return n !== e ? ar(n, e) : n;
3900
+ return n !== e ? lr(n, e) : n;
3880
3901
  }
3881
3902
  const hl = /* @__PURE__ */ new Set([
3882
3903
  "when",
@@ -3896,7 +3917,7 @@ function dl(e) {
3896
3917
  return !0;
3897
3918
  return !1;
3898
3919
  }
3899
- const On = (e, t, n, i = {}, r, a) => (o) => {
3920
+ const In = (e, t, n, i = {}, r, a) => (o) => {
3900
3921
  const l = Fn(i, e) || {}, c = l.delay || i.delay || 0;
3901
3922
  let { elapsed: h = 0 } = i;
3902
3923
  h = h - /* @__PURE__ */ te(c);
@@ -3921,7 +3942,7 @@ const On = (e, t, n, i = {}, r, a) => (o) => {
3921
3942
  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) {
3922
3943
  const f = Ct(u.keyframes, l);
3923
3944
  if (f !== void 0) {
3924
- D.update(() => {
3945
+ k.update(() => {
3925
3946
  u.onUpdate(f), u.onComplete();
3926
3947
  });
3927
3948
  return;
@@ -3935,7 +3956,7 @@ function xs(e) {
3935
3956
  t[0][i] = n.get(), t[1][i] = n.getVelocity();
3936
3957
  }), t;
3937
3958
  }
3938
- function In(e, t, n, i) {
3959
+ function On(e, t, n, i) {
3939
3960
  if (typeof t == "function") {
3940
3961
  const [r, a] = xs(i);
3941
3962
  t = t(n !== void 0 ? n : e.custom, r, a);
@@ -3948,9 +3969,9 @@ function In(e, t, n, i) {
3948
3969
  }
3949
3970
  function Ve(e, t, n) {
3950
3971
  const i = e.getProps();
3951
- return In(i, t, n !== void 0 ? n : i.custom, e);
3972
+ return On(i, t, n !== void 0 ? n : i.custom, e);
3952
3973
  }
3953
- const lr = /* @__PURE__ */ new Set([
3974
+ const cr = /* @__PURE__ */ new Set([
3954
3975
  "width",
3955
3976
  "height",
3956
3977
  "top",
@@ -4028,7 +4049,7 @@ class pl {
4028
4049
  this.events[t] || (this.events[t] = new Sn());
4029
4050
  const i = this.events[t].add(n);
4030
4051
  return t === "change" ? () => {
4031
- i(), D.read(() => {
4052
+ i(), k.read(() => {
4032
4053
  this.events.change.getSize() || this.stop();
4033
4054
  });
4034
4055
  } : i;
@@ -4109,7 +4130,7 @@ class pl {
4109
4130
  if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > ys)
4110
4131
  return 0;
4111
4132
  const n = Math.min(this.updatedAt - this.prevUpdatedAt, ys);
4112
- return Ai(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
4133
+ return Pi(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
4113
4134
  }
4114
4135
  /**
4115
4136
  * Registers a new animation to control this `MotionValue`. Only one
@@ -4196,18 +4217,18 @@ function dn(e, t) {
4196
4217
  function Bn(e) {
4197
4218
  return e.replace(/([A-Z])/g, (t) => `-${t.toLowerCase()}`);
4198
4219
  }
4199
- const jl = "framerAppearId", cr = "data-" + Bn(jl);
4200
- function ur(e) {
4201
- return e.props[cr];
4220
+ const jl = "framerAppearId", ur = "data-" + Bn(jl);
4221
+ function hr(e) {
4222
+ return e.props[ur];
4202
4223
  }
4203
4224
  function vl({ protectedKeys: e, needsAnimating: t }, n) {
4204
4225
  const i = e.hasOwnProperty(n) && t[n] !== !0;
4205
4226
  return t[n] = !1, i;
4206
4227
  }
4207
- function hr(e, t, { delay: n = 0, transitionOverride: i, type: r } = {}) {
4228
+ function dr(e, t, { delay: n = 0, transitionOverride: i, type: r } = {}) {
4208
4229
  let { transition: a, transitionEnd: o, ...l } = t;
4209
4230
  const c = e.getDefaultTransition();
4210
- a = a ? ar(a, c) : c;
4231
+ a = a ? lr(a, c) : c;
4211
4232
  const h = a == null ? void 0 : a.reduceMotion;
4212
4233
  i && (a = i);
4213
4234
  const u = [], d = r && e.animationState && e.animationState.getState()[r];
@@ -4220,25 +4241,25 @@ function hr(e, t, { delay: n = 0, transitionOverride: i, type: r } = {}) {
4220
4241
  ...Fn(a || {}, f)
4221
4242
  }, y = m.get();
4222
4243
  if (y !== void 0 && !m.isAnimating() && !Array.isArray(x) && x === y && !g.velocity) {
4223
- D.update(() => m.set(x));
4244
+ k.update(() => m.set(x));
4224
4245
  continue;
4225
4246
  }
4226
4247
  let w = !1;
4227
4248
  if (window.MotionHandoffAnimation) {
4228
- const M = ur(e);
4249
+ const M = hr(e);
4229
4250
  if (M) {
4230
- const S = window.MotionHandoffAnimation(M, f, D);
4251
+ const S = window.MotionHandoffAnimation(M, f, k);
4231
4252
  S !== null && (g.startTime = S, w = !0);
4232
4253
  }
4233
4254
  }
4234
4255
  dn(e, f);
4235
4256
  const v = h ?? e.shouldReduceMotion;
4236
- m.start(On(f, m, x, v && lr.has(f) ? { type: !1 } : g, e, w));
4257
+ m.start(In(f, m, x, v && cr.has(f) ? { type: !1 } : g, e, w));
4237
4258
  const b = m.animation;
4238
4259
  b && u.push(b);
4239
4260
  }
4240
4261
  if (o) {
4241
- const f = () => D.update(() => {
4262
+ const f = () => k.update(() => {
4242
4263
  o && yl(e, o);
4243
4264
  });
4244
4265
  u.length ? Promise.all(u).then(f) : f();
@@ -4250,7 +4271,7 @@ function fn(e, t, n = {}) {
4250
4271
  const i = Ve(e, t, n.type === "exit" ? (c = e.presenceContext) == null ? void 0 : c.custom : void 0);
4251
4272
  let { transition: r = e.getDefaultTransition() || {} } = i || {};
4252
4273
  n.transitionOverride && (r = n.transitionOverride);
4253
- const a = i ? () => Promise.all(hr(e, i, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (h = 0) => {
4274
+ const a = i ? () => Promise.all(dr(e, i, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (h = 0) => {
4254
4275
  const { delayChildren: u = 0, staggerChildren: d, staggerDirection: f } = r;
4255
4276
  return wl(e, t, h, u, d, f, n);
4256
4277
  } : () => Promise.resolve(), { when: l } = r;
@@ -4265,7 +4286,7 @@ function wl(e, t, n = 0, i = 0, r = 0, a = 1, o) {
4265
4286
  for (const c of e.variantChildren)
4266
4287
  c.notify("AnimationStart", t), l.push(fn(c, t, {
4267
4288
  ...o,
4268
- delay: n + (typeof i == "function" ? 0 : i) + rr(e.variantChildren, c, i, r, a)
4289
+ delay: n + (typeof i == "function" ? 0 : i) + or(e.variantChildren, c, i, r, a)
4269
4290
  }).then(() => c.notify("AnimationComplete", t)));
4270
4291
  return Promise.all(l);
4271
4292
  }
@@ -4279,7 +4300,7 @@ function bl(e, t, n = {}) {
4279
4300
  i = fn(e, t, n);
4280
4301
  else {
4281
4302
  const r = typeof t == "function" ? Ve(e, t, n.custom) : t;
4282
- i = Promise.all(hr(e, r, n));
4303
+ i = Promise.all(dr(e, r, n));
4283
4304
  }
4284
4305
  return i.then(() => {
4285
4306
  e.notify("AnimationComplete", t);
@@ -4288,9 +4309,9 @@ function bl(e, t, n = {}) {
4288
4309
  const Tl = {
4289
4310
  test: (e) => e === "auto",
4290
4311
  parse: (e) => e
4291
- }, dr = (e) => (t) => t.test(e), fr = [_e, A, he, xe, Yo, Go, Tl], gs = (e) => fr.find(dr(e));
4312
+ }, fr = (e) => (t) => t.test(e), pr = [_e, A, he, xe, Yo, Go, Tl], gs = (e) => pr.find(fr(e));
4292
4313
  function Ml(e) {
4293
- return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || Mi(e) : !0;
4314
+ return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || Si(e) : !0;
4294
4315
  }
4295
4316
  const Sl = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
4296
4317
  function Al(e) {
@@ -4424,21 +4445,21 @@ const Pl = /\b([a-z-]*)\(.*?\)/gu, pn = {
4424
4445
  WebkitFilter: pn,
4425
4446
  mask: mn,
4426
4447
  WebkitMask: mn
4427
- }, pr = (e) => Cl[e], El = /* @__PURE__ */ new Set([pn, mn]);
4428
- function mr(e, t) {
4429
- let n = pr(e);
4448
+ }, mr = (e) => Cl[e], El = /* @__PURE__ */ new Set([pn, mn]);
4449
+ function xr(e, t) {
4450
+ let n = mr(e);
4430
4451
  return El.has(n) || (n = ae), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
4431
4452
  }
4432
- const Dl = /* @__PURE__ */ new Set(["auto", "none", "0"]);
4433
- function kl(e, t, n) {
4453
+ const kl = /* @__PURE__ */ new Set(["auto", "none", "0"]);
4454
+ function Dl(e, t, n) {
4434
4455
  let i = 0, r;
4435
4456
  for (; i < e.length && !r; ) {
4436
4457
  const a = e[i];
4437
- typeof a == "string" && !Dl.has(a) && Ie(a).values.length && (r = e[i]), i++;
4458
+ typeof a == "string" && !kl.has(a) && Oe(a).values.length && (r = e[i]), i++;
4438
4459
  }
4439
4460
  if (r && n)
4440
4461
  for (const a of t)
4441
- e[a] = mr(n, r);
4462
+ e[a] = xr(n, r);
4442
4463
  }
4443
4464
  class Rl extends Nn {
4444
4465
  constructor(t, n, i, r, a) {
@@ -4452,11 +4473,11 @@ class Rl extends Nn {
4452
4473
  for (let u = 0; u < t.length; u++) {
4453
4474
  let d = t[u];
4454
4475
  if (typeof d == "string" && (d = d.trim(), Cn(d))) {
4455
- const f = or(d, n.current);
4476
+ const f = ar(d, n.current);
4456
4477
  f !== void 0 && (t[u] = f), u === t.length - 1 && (this.finalKeyframe = d);
4457
4478
  }
4458
4479
  }
4459
- if (this.resolveNoneKeyframes(), !lr.has(i) || t.length !== 2)
4480
+ if (this.resolveNoneKeyframes(), !cr.has(i) || t.length !== 2)
4460
4481
  return;
4461
4482
  const [r, a] = t, o = gs(r), l = gs(a), c = ss(r), h = ss(a);
4462
4483
  if (c !== h && ge[i]) {
@@ -4475,7 +4496,7 @@ class Rl extends Nn {
4475
4496
  const { unresolvedKeyframes: t, name: n } = this, i = [];
4476
4497
  for (let r = 0; r < t.length; r++)
4477
4498
  (t[r] === null || Ml(t[r])) && i.push(r);
4478
- i.length && kl(t, i, n);
4499
+ i.length && Dl(t, i, n);
4479
4500
  }
4480
4501
  measureInitialState() {
4481
4502
  const { element: t, unresolvedKeyframes: n, name: i } = this;
@@ -4498,7 +4519,7 @@ class Rl extends Nn {
4498
4519
  }), this.resolveNoneKeyframes();
4499
4520
  }
4500
4521
  }
4501
- function xr(e, t, n) {
4522
+ function yr(e, t, n) {
4502
4523
  if (e == null)
4503
4524
  return [];
4504
4525
  if (e instanceof EventTarget)
@@ -4510,15 +4531,15 @@ function xr(e, t, n) {
4510
4531
  }
4511
4532
  return Array.from(e).filter((i) => i != null);
4512
4533
  }
4513
- const yr = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
4534
+ const gr = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
4514
4535
  function Ll(e) {
4515
- return Ti(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
4536
+ return Mi(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
4516
4537
  }
4517
4538
  const { schedule: Hn } = /* @__PURE__ */ Oi(queueMicrotask, !1), oe = {
4518
4539
  x: !1,
4519
4540
  y: !1
4520
4541
  };
4521
- function gr() {
4542
+ function jr() {
4522
4543
  return oe.x || oe.y;
4523
4544
  }
4524
4545
  function Nl(e) {
@@ -4528,8 +4549,8 @@ function Nl(e) {
4528
4549
  oe.x = oe.y = !1;
4529
4550
  });
4530
4551
  }
4531
- function jr(e, t) {
4532
- const n = xr(e), i = new AbortController(), r = {
4552
+ function vr(e, t) {
4553
+ const n = yr(e), i = new AbortController(), r = {
4533
4554
  passive: !0,
4534
4555
  ...t,
4535
4556
  signal: i.signal
@@ -4537,10 +4558,10 @@ function jr(e, t) {
4537
4558
  return [n, r, () => i.abort()];
4538
4559
  }
4539
4560
  function Fl(e) {
4540
- return !(e.pointerType === "touch" || gr());
4561
+ return !(e.pointerType === "touch" || jr());
4541
4562
  }
4542
- function Ol(e, t, n = {}) {
4543
- const [i, r, a] = jr(e, n);
4563
+ function Il(e, t, n = {}) {
4564
+ const [i, r, a] = vr(e, n);
4544
4565
  return i.forEach((o) => {
4545
4566
  let l = !1, c = !1, h;
4546
4567
  const u = () => {
@@ -4569,7 +4590,7 @@ function Ol(e, t, n = {}) {
4569
4590
  o.addEventListener("pointerenter", g, r), o.addEventListener("pointerdown", m, r);
4570
4591
  }), a;
4571
4592
  }
4572
- const vr = (e, t) => t ? e === t ? !0 : vr(e, t.parentElement) : !1, _n = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Il = /* @__PURE__ */ new Set([
4593
+ 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([
4573
4594
  "BUTTON",
4574
4595
  "INPUT",
4575
4596
  "SELECT",
@@ -4577,7 +4598,7 @@ const vr = (e, t) => t ? e === t ? !0 : vr(e, t.parentElement) : !1, _n = (e) =>
4577
4598
  "A"
4578
4599
  ]);
4579
4600
  function Bl(e) {
4580
- return Il.has(e.tagName) || e.isContentEditable === !0;
4601
+ return Ol.has(e.tagName) || e.isContentEditable === !0;
4581
4602
  }
4582
4603
  const zl = /* @__PURE__ */ new Set(["INPUT", "SELECT", "TEXTAREA"]);
4583
4604
  function Hl(e) {
@@ -4608,11 +4629,11 @@ const _l = (e, t) => {
4608
4629
  n.addEventListener("keydown", i, t), n.addEventListener("blur", () => n.removeEventListener("keydown", i), t);
4609
4630
  };
4610
4631
  function ws(e) {
4611
- return _n(e) && !gr();
4632
+ return _n(e) && !jr();
4612
4633
  }
4613
4634
  const bs = /* @__PURE__ */ new WeakSet();
4614
4635
  function Ul(e, t, n = {}) {
4615
- const [i, r, a] = jr(e, n), o = (l) => {
4636
+ const [i, r, a] = vr(e, n), o = (l) => {
4616
4637
  const c = l.currentTarget;
4617
4638
  if (!ws(l) || bs.has(l))
4618
4639
  return;
@@ -4620,7 +4641,7 @@ function Ul(e, t, n = {}) {
4620
4641
  const h = t(c, l), u = (m, x) => {
4621
4642
  window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", f), pt.has(c) && pt.delete(c), ws(m) && typeof h == "function" && h(m, { success: x });
4622
4643
  }, d = (m) => {
4623
- u(m, c === window || c === document || n.useGlobalTarget || vr(c, m.target));
4644
+ u(m, c === window || c === document || n.useGlobalTarget || wr(c, m.target));
4624
4645
  }, f = (m) => {
4625
4646
  u(m, !1);
4626
4647
  };
@@ -4631,11 +4652,11 @@ function Ul(e, t, n = {}) {
4631
4652
  }), a;
4632
4653
  }
4633
4654
  function Un(e) {
4634
- return Ti(e) && "ownerSVGElement" in e;
4655
+ return Mi(e) && "ownerSVGElement" in e;
4635
4656
  }
4636
4657
  const mt = /* @__PURE__ */ new WeakMap();
4637
4658
  let ye;
4638
- const wr = (e, t, n) => (i, r) => r && r[0] ? r[0][e + "Size"] : Un(i) && "getBBox" in i ? i.getBBox()[t] : i[n], Wl = /* @__PURE__ */ wr("inline", "width", "offsetWidth"), $l = /* @__PURE__ */ wr("block", "height", "offsetHeight");
4659
+ 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");
4639
4660
  function Kl({ target: e, borderBoxSize: t }) {
4640
4661
  var n;
4641
4662
  (n = mt.get(e)) == null || n.forEach((i) => {
@@ -4657,7 +4678,7 @@ function Yl() {
4657
4678
  }
4658
4679
  function Xl(e, t) {
4659
4680
  ye || Yl();
4660
- const n = xr(e);
4681
+ const n = yr(e);
4661
4682
  return n.forEach((i) => {
4662
4683
  let r = mt.get(i);
4663
4684
  r || (r = /* @__PURE__ */ new Set(), mt.set(i, r)), r.add(t), ye == null || ye.observe(i);
@@ -4694,7 +4715,7 @@ function Ts(e, t) {
4694
4715
  function Jl(e) {
4695
4716
  return Un(e) && e.tagName === "svg";
4696
4717
  }
4697
- const Ql = [...fr, z, ae], ec = (e) => Ql.find(dr(e)), Ms = () => ({
4718
+ const Ql = [...pr, z, ae], ec = (e) => Ql.find(fr(e)), Ms = () => ({
4698
4719
  translate: 0,
4699
4720
  scale: 1,
4700
4721
  origin: 0,
@@ -4721,11 +4742,11 @@ const Wn = [
4721
4742
  "whileDrag",
4722
4743
  "exit"
4723
4744
  ], $n = ["initial", ...Wn];
4724
- function Dt(e) {
4745
+ function kt(e) {
4725
4746
  return Et(e.animate) || $n.some((t) => et(e[t]));
4726
4747
  }
4727
- function br(e) {
4728
- return !!(Dt(e) || e.variants);
4748
+ function Tr(e) {
4749
+ return !!(kt(e) || e.variants);
4729
4750
  }
4730
4751
  function nc(e, t, n) {
4731
4752
  for (const i in t) {
@@ -4747,9 +4768,9 @@ function nc(e, t, n) {
4747
4768
  t[i] === void 0 && e.removeValue(i);
4748
4769
  return t;
4749
4770
  }
4750
- const xn = { current: null }, Tr = { current: !1 }, sc = typeof window < "u";
4771
+ const xn = { current: null }, Mr = { current: !1 }, sc = typeof window < "u";
4751
4772
  function ic() {
4752
- if (Tr.current = !0, !!sc)
4773
+ if (Mr.current = !0, !!sc)
4753
4774
  if (window.matchMedia) {
4754
4775
  const e = window.matchMedia("(prefers-reduced-motion)"), t = () => xn.current = e.matches;
4755
4776
  e.addEventListener("change", t), t();
@@ -4766,7 +4787,7 @@ const As = [
4766
4787
  "LayoutAnimationComplete"
4767
4788
  ];
4768
4789
  let St = {};
4769
- function Mr(e) {
4790
+ function Sr(e) {
4770
4791
  St = e;
4771
4792
  }
4772
4793
  function rc() {
@@ -4788,10 +4809,10 @@ class oc {
4788
4809
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
4789
4810
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
4790
4811
  const m = Z.now();
4791
- this.renderScheduledAt < m && (this.renderScheduledAt = m, D.render(this.render, !1, !0));
4812
+ this.renderScheduledAt < m && (this.renderScheduledAt = m, k.render(this.render, !1, !0));
4792
4813
  };
4793
4814
  const { latestValues: h, renderState: u } = l;
4794
- this.latestValues = h, this.baseTarget = { ...h }, this.initialValues = n.initial ? { ...h } : {}, this.renderState = u, this.parent = t, this.props = n, this.presenceContext = i, this.depth = t ? t.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = a, this.options = c, this.blockInitialAnimation = !!o, this.isControllingVariants = Dt(n), this.isVariantNode = br(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(t && t.current);
4815
+ this.latestValues = h, this.baseTarget = { ...h }, this.initialValues = n.initial ? { ...h } : {}, this.renderState = u, this.parent = t, this.props = n, this.presenceContext = i, this.depth = t ? t.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = a, this.options = c, this.blockInitialAnimation = !!o, this.isControllingVariants = kt(n), this.isVariantNode = Tr(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(t && t.current);
4795
4816
  const { willChange: d, ...f } = this.scrapeMotionValuesFromProps(n, {}, this);
4796
4817
  for (const m in f) {
4797
4818
  const x = f[m];
@@ -4803,7 +4824,7 @@ class oc {
4803
4824
  if (this.hasBeenMounted)
4804
4825
  for (const r in this.initialValues)
4805
4826
  (n = this.values.get(r)) == null || n.jump(this.initialValues[r]), this.latestValues[r] = this.initialValues[r];
4806
- 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 : (Tr.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;
4827
+ 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;
4807
4828
  }
4808
4829
  unmount() {
4809
4830
  var t;
@@ -4823,8 +4844,8 @@ class oc {
4823
4844
  this.children.delete(t), this.enteringChildren && this.enteringChildren.delete(t);
4824
4845
  }
4825
4846
  bindToMotionValue(t, n) {
4826
- if (this.valueSubscriptions.has(t) && this.valueSubscriptions.get(t)(), n.accelerate && ir.has(t) && this.current instanceof HTMLElement) {
4827
- const { factory: o, keyframes: l, times: c, ease: h, duration: u } = n.accelerate, d = new nr({
4847
+ if (this.valueSubscriptions.has(t) && this.valueSubscriptions.get(t)(), n.accelerate && rr.has(t) && this.current instanceof HTMLElement) {
4848
+ const { factory: o, keyframes: l, times: c, ease: h, duration: u } = n.accelerate, d = new sr({
4828
4849
  element: this.current,
4829
4850
  name: t,
4830
4851
  keyframes: l,
@@ -4840,7 +4861,7 @@ class oc {
4840
4861
  const i = We.has(t);
4841
4862
  i && this.onBindTransform && this.onBindTransform();
4842
4863
  const r = n.on("change", (o) => {
4843
- this.latestValues[t] = o, this.props.onUpdate && D.preRender(this.notifyUpdate), i && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
4864
+ this.latestValues[t] = o, this.props.onUpdate && k.preRender(this.notifyUpdate), i && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
4844
4865
  });
4845
4866
  let a;
4846
4867
  typeof window < "u" && window.MotionCheckAppearSync && (a = window.MotionCheckAppearSync(this, t, n)), this.valueSubscriptions.set(t, () => {
@@ -4957,7 +4978,7 @@ class oc {
4957
4978
  */
4958
4979
  readValue(t, n) {
4959
4980
  let i = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : this.getBaseTargetFromProps(this.props, t) ?? this.readValueFromInstance(this.current, t, this.options);
4960
- return i != null && (typeof i == "string" && (bi(i) || Mi(i)) ? i = parseFloat(i) : !ec(i) && ae.test(n) && (i = mr(t, n)), this.setBaseTarget(t, W(i) ? i.get() : i)), W(i) ? i.get() : i;
4981
+ return i != null && (typeof i == "string" && (Ti(i) || Si(i)) ? i = parseFloat(i) : !ec(i) && ae.test(n) && (i = xr(t, n)), this.setBaseTarget(t, W(i) ? i.get() : i)), W(i) ? i.get() : i;
4961
4982
  }
4962
4983
  /**
4963
4984
  * Set the base target to later animate back to. This is currently
@@ -4975,7 +4996,7 @@ class oc {
4975
4996
  const { initial: n } = this.props;
4976
4997
  let i;
4977
4998
  if (typeof n == "string" || typeof n == "object") {
4978
- const o = In(this.props, n, (a = this.presenceContext) == null ? void 0 : a.custom);
4999
+ const o = On(this.props, n, (a = this.presenceContext) == null ? void 0 : a.custom);
4979
5000
  o && (i = o[t]);
4980
5001
  }
4981
5002
  if (n && i !== void 0)
@@ -4993,7 +5014,7 @@ class oc {
4993
5014
  Hn.render(this.render);
4994
5015
  }
4995
5016
  }
4996
- class Sr extends oc {
5017
+ class Ar extends oc {
4997
5018
  constructor() {
4998
5019
  super(...arguments), this.KeyframeResolver = Rl;
4999
5020
  }
@@ -5022,7 +5043,7 @@ class be {
5022
5043
  update() {
5023
5044
  }
5024
5045
  }
5025
- function Ar({ top: e, left: t, right: n, bottom: i }) {
5046
+ function Pr({ top: e, left: t, right: n, bottom: i }) {
5026
5047
  return {
5027
5048
  x: { min: t, max: n },
5028
5049
  y: { min: e, max: i }
@@ -5049,9 +5070,9 @@ function yn({ scale: e, scaleX: t, scaleY: n }) {
5049
5070
  return !_t(e) || !_t(t) || !_t(n);
5050
5071
  }
5051
5072
  function Me(e) {
5052
- return yn(e) || Pr(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
5073
+ return yn(e) || Vr(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
5053
5074
  }
5054
- function Pr(e) {
5075
+ function Vr(e) {
5055
5076
  return Ps(e.x) || Ps(e.y);
5056
5077
  }
5057
5078
  function Ps(e) {
@@ -5067,7 +5088,7 @@ function Vs(e, t, n, i, r) {
5067
5088
  function gn(e, t = 0, n = 1, i, r) {
5068
5089
  e.min = Vs(e.min, t, n, i, r), e.max = Vs(e.max, t, n, i, r);
5069
5090
  }
5070
- function Vr(e, { x: t, y: n }) {
5091
+ function Cr(e, { x: t, y: n }) {
5071
5092
  gn(e.x, t.translate, t.scale, t.originPoint), gn(e.y, n.translate, n.scale, n.originPoint);
5072
5093
  }
5073
5094
  const Cs = 0.999999999999, Es = 1.0000000000001;
@@ -5081,29 +5102,29 @@ function cc(e, t, n, i = !1) {
5081
5102
  for (let c = 0; c < r; c++) {
5082
5103
  a = n[c], o = a.projectionDelta;
5083
5104
  const { visualElement: h } = a.options;
5084
- 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, Vr(e, o)), i && Me(a.latestValues) && yt(e, a.latestValues, (l = a.layout) == null ? void 0 : l.layoutBox));
5105
+ 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));
5085
5106
  }
5086
5107
  t.x < Es && t.x > Cs && (t.x = 1), t.y < Es && t.y > Cs && (t.y = 1);
5087
5108
  }
5088
5109
  function ue(e, t) {
5089
5110
  e.min += t, e.max += t;
5090
5111
  }
5091
- function Ds(e, t, n, i, r = 0.5) {
5112
+ function ks(e, t, n, i, r = 0.5) {
5092
5113
  const a = L(e.min, e.max, r);
5093
5114
  gn(e, t, n, a, i);
5094
5115
  }
5095
- function ks(e, t) {
5116
+ function Ds(e, t) {
5096
5117
  return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
5097
5118
  }
5098
5119
  function yt(e, t, n) {
5099
5120
  const i = n ?? e;
5100
- Ds(e.x, ks(t.x, i.x), t.scaleX, t.scale, t.originX), Ds(e.y, ks(t.y, i.y), t.scaleY, t.scale, t.originY);
5121
+ 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);
5101
5122
  }
5102
- function Cr(e, t) {
5103
- return Ar(lc(e.getBoundingClientRect(), t));
5123
+ function Er(e, t) {
5124
+ return Pr(lc(e.getBoundingClientRect(), t));
5104
5125
  }
5105
5126
  function uc(e, t, n) {
5106
- const i = Cr(e, n), { scroll: r } = t;
5127
+ const i = Er(e, n), { scroll: r } = t;
5107
5128
  return r && (ue(i.x, r.offset.x), ue(i.y, r.offset.y)), i;
5108
5129
  }
5109
5130
  const hc = {
@@ -5126,7 +5147,7 @@ function fc(e, t, n) {
5126
5147
  c = o.startsWith("scale") ? h === 1 : h === 0;
5127
5148
  }
5128
5149
  if (!c || n) {
5129
- const h = yr(l, zn[o]);
5150
+ const h = gr(l, zn[o]);
5130
5151
  if (!c) {
5131
5152
  r = !1;
5132
5153
  const u = hc[o] || o;
@@ -5145,11 +5166,11 @@ function Kn(e, t, n) {
5145
5166
  if (We.has(c)) {
5146
5167
  o = !0;
5147
5168
  continue;
5148
- } else if (Bi(c)) {
5169
+ } else if (zi(c)) {
5149
5170
  r[c] = h;
5150
5171
  continue;
5151
5172
  } else {
5152
- const u = yr(h, zn[c]);
5173
+ const u = gr(h, zn[c]);
5153
5174
  c.startsWith("origin") ? (l = !0, a[c] = u) : i[c] = u;
5154
5175
  }
5155
5176
  }
@@ -5158,7 +5179,7 @@ function Kn(e, t, n) {
5158
5179
  i.transformOrigin = `${c} ${h} ${u}`;
5159
5180
  }
5160
5181
  }
5161
- function Er(e, { style: t, vars: n }, i, r) {
5182
+ function kr(e, { style: t, vars: n }, i, r) {
5162
5183
  const a = e.style;
5163
5184
  let o;
5164
5185
  for (o in t)
@@ -5223,21 +5244,21 @@ function Gn(e, t, n) {
5223
5244
  function mc(e) {
5224
5245
  return window.getComputedStyle(e);
5225
5246
  }
5226
- class xc extends Sr {
5247
+ class xc extends Ar {
5227
5248
  constructor() {
5228
- super(...arguments), this.type = "html", this.renderInstance = Er;
5249
+ super(...arguments), this.type = "html", this.renderInstance = kr;
5229
5250
  }
5230
5251
  readValueFromInstance(t, n) {
5231
5252
  var i;
5232
5253
  if (We.has(n))
5233
5254
  return (i = this.projection) != null && i.isProjecting ? rn(n) : La(t, n);
5234
5255
  {
5235
- const r = mc(t), a = (Bi(n) ? r.getPropertyValue(n) : r[n]) || 0;
5256
+ const r = mc(t), a = (zi(n) ? r.getPropertyValue(n) : r[n]) || 0;
5236
5257
  return typeof a == "string" ? a.trim() : a;
5237
5258
  }
5238
5259
  }
5239
5260
  measureInstanceViewportBox(t, { transformPagePoint: n }) {
5240
- return Cr(t, n);
5261
+ return Er(t, n);
5241
5262
  }
5242
5263
  build(t, n, i) {
5243
5264
  Kn(t, n, i.transformTemplate);
@@ -5264,7 +5285,7 @@ const vc = [
5264
5285
  "offsetRotate",
5265
5286
  "offsetAnchor"
5266
5287
  ];
5267
- function kr(e, {
5288
+ function Rr(e, {
5268
5289
  attrX: t,
5269
5290
  attrY: n,
5270
5291
  attrScale: i,
@@ -5285,7 +5306,7 @@ function kr(e, {
5285
5306
  d[m] !== void 0 && (f[m] = d[m], delete d[m]);
5286
5307
  t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), i !== void 0 && (d.scale = i), r !== void 0 && jc(d, r, a, o, !1);
5287
5308
  }
5288
- const Rr = /* @__PURE__ */ new Set([
5309
+ const Lr = /* @__PURE__ */ new Set([
5289
5310
  "baseFrequency",
5290
5311
  "diffuseConstant",
5291
5312
  "kernelMatrix",
@@ -5309,13 +5330,13 @@ const Rr = /* @__PURE__ */ new Set([
5309
5330
  "startOffset",
5310
5331
  "textLength",
5311
5332
  "lengthAdjust"
5312
- ]), Lr = (e) => typeof e == "string" && e.toLowerCase() === "svg";
5333
+ ]), Nr = (e) => typeof e == "string" && e.toLowerCase() === "svg";
5313
5334
  function wc(e, t, n, i) {
5314
- Er(e, t, void 0, i);
5335
+ kr(e, t, void 0, i);
5315
5336
  for (const r in t.attrs)
5316
- e.setAttribute(Rr.has(r) ? r : Bn(r), t.attrs[r]);
5337
+ e.setAttribute(Lr.has(r) ? r : Bn(r), t.attrs[r]);
5317
5338
  }
5318
- function Nr(e, t, n) {
5339
+ function Fr(e, t, n) {
5319
5340
  const i = Gn(e, t, n);
5320
5341
  for (const r in e)
5321
5342
  if (W(e[r]) || W(t[r])) {
@@ -5324,7 +5345,7 @@ function Nr(e, t, n) {
5324
5345
  }
5325
5346
  return i;
5326
5347
  }
5327
- class bc extends Sr {
5348
+ class bc extends Ar {
5328
5349
  constructor() {
5329
5350
  super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = H;
5330
5351
  }
@@ -5333,30 +5354,30 @@ class bc extends Sr {
5333
5354
  }
5334
5355
  readValueFromInstance(t, n) {
5335
5356
  if (We.has(n)) {
5336
- const i = pr(n);
5357
+ const i = mr(n);
5337
5358
  return i && i.default || 0;
5338
5359
  }
5339
- return n = Rr.has(n) ? n : Bn(n), t.getAttribute(n);
5360
+ return n = Lr.has(n) ? n : Bn(n), t.getAttribute(n);
5340
5361
  }
5341
5362
  scrapeMotionValuesFromProps(t, n, i) {
5342
- return Nr(t, n, i);
5363
+ return Fr(t, n, i);
5343
5364
  }
5344
5365
  build(t, n, i) {
5345
- kr(t, n, this.isSVGTag, i.transformTemplate, i.style);
5366
+ Rr(t, n, this.isSVGTag, i.transformTemplate, i.style);
5346
5367
  }
5347
5368
  renderInstance(t, n, i, r) {
5348
5369
  wc(t, n, i, r);
5349
5370
  }
5350
5371
  mount(t) {
5351
- this.isSVGTag = Lr(t.tagName), super.mount(t);
5372
+ this.isSVGTag = Nr(t.tagName), super.mount(t);
5352
5373
  }
5353
5374
  }
5354
5375
  const Tc = $n.length;
5355
- function Fr(e) {
5376
+ function Ir(e) {
5356
5377
  if (!e)
5357
5378
  return;
5358
5379
  if (!e.isControllingVariants) {
5359
- const n = e.parent ? Fr(e.parent) || {} : {};
5380
+ const n = e.parent ? Ir(e.parent) || {} : {};
5360
5381
  return e.props.initial !== void 0 && (n.initial = e.props.initial), n;
5361
5382
  }
5362
5383
  const t = {};
@@ -5396,13 +5417,13 @@ function Pc(e) {
5396
5417
  t = h(e);
5397
5418
  }
5398
5419
  function l(h) {
5399
- const { props: u } = e, d = Fr(e.parent) || {}, f = [], m = /* @__PURE__ */ new Set();
5420
+ const { props: u } = e, d = Ir(e.parent) || {}, f = [], m = /* @__PURE__ */ new Set();
5400
5421
  let x = {}, g = 1 / 0;
5401
5422
  for (let w = 0; w < Sc; w++) {
5402
5423
  const v = Mc[w], b = n[v], M = u[v] !== void 0 ? u[v] : d[v], S = et(M), E = v === h ? b.isActive : null;
5403
5424
  E === !1 && (g = w);
5404
- let k = M === d[v] && M !== u[v] && S;
5405
- if (k && (i || r) && e.manuallyAnimateOnMount && (k = !1), b.protectedKeys = { ...x }, // If it isn't active and hasn't *just* been set as inactive
5425
+ let D = M === d[v] && M !== u[v] && S;
5426
+ if (D && (i || r) && e.manuallyAnimateOnMount && (D = !1), b.protectedKeys = { ...x }, // If it isn't active and hasn't *just* been set as inactive
5406
5427
  !b.isActive && E === null || // If we didn't and don't have any defined prop for this animation type
5407
5428
  !M && !b.prevProp || // Or if the prop doesn't define an animation
5408
5429
  Et(M) || typeof M == "boolean")
@@ -5415,40 +5436,40 @@ function Pc(e) {
5415
5436
  continue;
5416
5437
  }
5417
5438
  const P = Vc(b.prevProp, M);
5418
- let O = P || // If we're making this variant active, we want to always make it active
5419
- v === h && b.isActive && !k && S || // If we removed a higher-priority variant (i is in reverse order)
5439
+ let I = P || // If we're making this variant active, we want to always make it active
5440
+ v === h && b.isActive && !D && S || // If we removed a higher-priority variant (i is in reverse order)
5420
5441
  w > g && S, T = !1;
5421
5442
  const C = Array.isArray(M) ? M : [M];
5422
5443
  let F = C.reduce(a(v), {});
5423
5444
  E === !1 && (F = {});
5424
- const { prevResolvedValues: X = {} } = b, $ = {
5445
+ const { prevResolvedValues: X = {} } = b, K = {
5425
5446
  ...X,
5426
5447
  ...F
5427
- }, Q = (I) => {
5428
- O = !0, m.has(I) && (T = !0, m.delete(I)), b.needsAnimating[I] = !0;
5429
- const _ = e.getValue(I);
5448
+ }, Q = (O) => {
5449
+ I = !0, m.has(O) && (T = !0, m.delete(O)), b.needsAnimating[O] = !0;
5450
+ const _ = e.getValue(O);
5430
5451
  _ && (_.liveStyle = !1);
5431
5452
  };
5432
- for (const I in $) {
5433
- const _ = F[I], j = X[I];
5434
- if (x.hasOwnProperty(I))
5453
+ for (const O in K) {
5454
+ const _ = F[O], j = X[O];
5455
+ if (x.hasOwnProperty(O))
5435
5456
  continue;
5436
5457
  let V = !1;
5437
- hn(_) && hn(j) ? V = !Or(_, j) : V = _ !== j, V ? _ != null ? Q(I) : m.add(I) : _ !== void 0 && m.has(I) ? Q(I) : b.protectedKeys[I] = !0;
5458
+ 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;
5438
5459
  }
5439
- b.prevProp = M, b.prevResolvedValues = F, b.isActive && (x = { ...x, ...F }), (i || r) && e.blockInitialAnimation && (O = !1);
5440
- const q = k && P;
5441
- O && (!q || T) && f.push(...C.map((I) => {
5460
+ b.prevProp = M, b.prevResolvedValues = F, b.isActive && (x = { ...x, ...F }), (i || r) && e.blockInitialAnimation && (I = !1);
5461
+ const q = D && P;
5462
+ I && (!q || T) && f.push(...C.map((O) => {
5442
5463
  const _ = { type: v };
5443
- if (typeof I == "string" && (i || r) && !q && e.manuallyAnimateOnMount && e.parent) {
5444
- const { parent: j } = e, V = Ve(j, I);
5464
+ if (typeof O == "string" && (i || r) && !q && e.manuallyAnimateOnMount && e.parent) {
5465
+ const { parent: j } = e, V = Ve(j, O);
5445
5466
  if (j.enteringChildren && V) {
5446
5467
  const { delayChildren: R } = V.transition || {};
5447
- _.delay = rr(j.enteringChildren, e, R);
5468
+ _.delay = or(j.enteringChildren, e, R);
5448
5469
  }
5449
5470
  }
5450
5471
  return {
5451
- animation: I,
5472
+ animation: O,
5452
5473
  options: _
5453
5474
  };
5454
5475
  }));
@@ -5521,7 +5542,7 @@ function re(e, t) {
5521
5542
  function Ns(e, t) {
5522
5543
  e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
5523
5544
  }
5524
- const Ir = 1e-4, Cc = 1 - Ir, Ec = 1 + Ir, Br = 0.01, Dc = 0 - Br, kc = 0 + Br;
5545
+ const Br = 1e-4, Cc = 1 - Br, Ec = 1 + Br, zr = 0.01, kc = 0 - zr, Dc = 0 + zr;
5525
5546
  function J(e) {
5526
5547
  return e.max - e.min;
5527
5548
  }
@@ -5529,24 +5550,24 @@ function Rc(e, t, n) {
5529
5550
  return Math.abs(e - t) <= n;
5530
5551
  }
5531
5552
  function Fs(e, t, n, i = 0.5) {
5532
- 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 >= Dc && e.translate <= kc || isNaN(e.translate)) && (e.translate = 0);
5553
+ 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);
5533
5554
  }
5534
5555
  function qe(e, t, n, i) {
5535
5556
  Fs(e.x, t.x, n.x, i ? i.originX : void 0), Fs(e.y, t.y, n.y, i ? i.originY : void 0);
5536
5557
  }
5537
- function Os(e, t, n, i = 0) {
5558
+ function Is(e, t, n, i = 0) {
5538
5559
  const r = i ? L(n.min, n.max, i) : n.min;
5539
5560
  e.min = r + t.min, e.max = e.min + J(t);
5540
5561
  }
5541
5562
  function Lc(e, t, n, i) {
5542
- 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);
5563
+ 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);
5543
5564
  }
5544
- function Is(e, t, n, i = 0) {
5565
+ function Os(e, t, n, i = 0) {
5545
5566
  const r = i ? L(n.min, n.max, i) : n.min;
5546
5567
  e.min = t.min - r, e.max = e.min + J(t);
5547
5568
  }
5548
5569
  function Pt(e, t, n, i) {
5549
- 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);
5570
+ 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);
5550
5571
  }
5551
5572
  function Bs(e, t, n, i, r) {
5552
5573
  return e -= t, e = At(e, 1 / n, i), r !== void 0 && (e = At(e, 1 / r, i)), e;
@@ -5560,26 +5581,26 @@ function Nc(e, t = 0, n = 1, i = 0.5, r, a = e, o = e) {
5560
5581
  function zs(e, t, [n, i, r], a, o) {
5561
5582
  Nc(e, t[n], t[i], t[r], t.scale, a, o);
5562
5583
  }
5563
- const Fc = ["x", "scaleX", "originX"], Oc = ["y", "scaleY", "originY"];
5584
+ const Fc = ["x", "scaleX", "originX"], Ic = ["y", "scaleY", "originY"];
5564
5585
  function Hs(e, t, n, i) {
5565
- zs(e.x, t, Fc, n ? n.x : void 0, i ? i.x : void 0), zs(e.y, t, Oc, n ? n.y : void 0, i ? i.y : void 0);
5586
+ 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);
5566
5587
  }
5567
5588
  function _s(e) {
5568
5589
  return e.translate === 0 && e.scale === 1;
5569
5590
  }
5570
- function zr(e) {
5591
+ function Hr(e) {
5571
5592
  return _s(e.x) && _s(e.y);
5572
5593
  }
5573
5594
  function Us(e, t) {
5574
5595
  return e.min === t.min && e.max === t.max;
5575
5596
  }
5576
- function Ic(e, t) {
5597
+ function Oc(e, t) {
5577
5598
  return Us(e.x, t.x) && Us(e.y, t.y);
5578
5599
  }
5579
5600
  function Ws(e, t) {
5580
5601
  return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
5581
5602
  }
5582
- function Hr(e, t) {
5603
+ function _r(e, t) {
5583
5604
  return Ws(e.x, t.x) && Ws(e.y, t.y);
5584
5605
  }
5585
5606
  function $s(e) {
@@ -5601,16 +5622,16 @@ function Bc(e, t, n) {
5601
5622
  const l = e.x.scale * t.x, c = e.y.scale * t.y;
5602
5623
  return (l !== 1 || c !== 1) && (i += `scale(${l}, ${c})`), i || "none";
5603
5624
  }
5604
- const _r = [
5625
+ const Ur = [
5605
5626
  "borderTopLeftRadius",
5606
5627
  "borderTopRightRadius",
5607
5628
  "borderBottomLeftRadius",
5608
5629
  "borderBottomRightRadius"
5609
- ], zc = _r.length, Gs = (e) => typeof e == "string" ? parseFloat(e) : e, Ys = (e) => typeof e == "number" || A.test(e);
5630
+ ], zc = Ur.length, Gs = (e) => typeof e == "string" ? parseFloat(e) : e, Ys = (e) => typeof e == "number" || A.test(e);
5610
5631
  function Hc(e, t, n, i, r, a) {
5611
5632
  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));
5612
5633
  for (let o = 0; o < zc; o++) {
5613
- const l = _r[o];
5634
+ const l = Ur[o];
5614
5635
  let c = Xs(t, l), h = Xs(n, l);
5615
5636
  if (c === void 0 && h === void 0)
5616
5637
  continue;
@@ -5621,13 +5642,13 @@ function Hc(e, t, n, i, r, a) {
5621
5642
  function Xs(e, t) {
5622
5643
  return e[t] !== void 0 ? e[t] : e.borderRadius;
5623
5644
  }
5624
- const _c = /* @__PURE__ */ Ur(0, 0.5, Ri), Uc = /* @__PURE__ */ Ur(0.5, 0.95, ie);
5625
- function Ur(e, t, n) {
5645
+ const _c = /* @__PURE__ */ Wr(0, 0.5, Li), Uc = /* @__PURE__ */ Wr(0.5, 0.95, ie);
5646
+ function Wr(e, t, n) {
5626
5647
  return (i) => i < e ? 0 : i > t ? 1 : n(/* @__PURE__ */ Je(e, t, i));
5627
5648
  }
5628
5649
  function Wc(e, t, n) {
5629
5650
  const i = W(e) ? e : Be(e);
5630
- return i.start(On("", i, t, n)), i.animation;
5651
+ return i.start(In("", i, t, n)), i.animation;
5631
5652
  }
5632
5653
  function tt(e, t, n, i = { passive: !0 }) {
5633
5654
  return e.addEventListener(t, n, i), () => e.removeEventListener(t, n);
@@ -5652,7 +5673,7 @@ function Gc(e, t) {
5652
5673
  const a = r - n;
5653
5674
  a >= t && (we(i), e(a - t));
5654
5675
  };
5655
- return D.setup(i, !0), () => we(i);
5676
+ return k.setup(i, !0), () => we(i);
5656
5677
  }
5657
5678
  function gt(e) {
5658
5679
  return W(e) ? e.get() : e;
@@ -5727,21 +5748,21 @@ function Wt(e, t, n, i) {
5727
5748
  const { latestValues: r } = t;
5728
5749
  r[e] && (n[e] = r[e], t.setStaticValue(e, 0), i && (i[e] = 0));
5729
5750
  }
5730
- function Wr(e) {
5751
+ function $r(e) {
5731
5752
  if (e.hasCheckedOptimisedAppear = !0, e.root === e)
5732
5753
  return;
5733
5754
  const { visualElement: t } = e.options;
5734
5755
  if (!t)
5735
5756
  return;
5736
- const n = ur(t);
5757
+ const n = hr(t);
5737
5758
  if (window.MotionHasOptimisedAnimation(n, "transform")) {
5738
5759
  const { layout: r, layoutId: a } = e.options;
5739
- window.MotionCancelOptimisedAnimation(n, "transform", D, !(r || a));
5760
+ window.MotionCancelOptimisedAnimation(n, "transform", k, !(r || a));
5740
5761
  }
5741
5762
  const { parent: i } = e;
5742
- i && !i.hasCheckedOptimisedAppear && Wr(i);
5763
+ i && !i.hasCheckedOptimisedAppear && $r(i);
5743
5764
  }
5744
- function $r({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: i, resetTransform: r }) {
5765
+ function Kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: i, resetTransform: r }) {
5745
5766
  return class {
5746
5767
  constructor(o = {}, l = t == null ? void 0 : t()) {
5747
5768
  this.id = qc++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
@@ -5774,7 +5795,7 @@ function $r({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5774
5795
  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) {
5775
5796
  let u, d = 0;
5776
5797
  const f = () => this.root.updateBlockedByResize = !1;
5777
- D.read(() => {
5798
+ k.read(() => {
5778
5799
  d = window.innerWidth;
5779
5800
  }), e(o, () => {
5780
5801
  const m = window.innerWidth;
@@ -5786,7 +5807,7 @@ function $r({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5786
5807
  this.target = void 0, this.relativeTarget = void 0;
5787
5808
  return;
5788
5809
  }
5789
- const x = this.options.transition || h.getDefaultTransition() || hu, { onLayoutAnimationStart: g, onLayoutAnimationComplete: y } = h.getProps(), w = !this.targetLayout || !Hr(this.targetLayout, m), v = !d && f;
5810
+ const x = this.options.transition || h.getDefaultTransition() || hu, { onLayoutAnimationStart: g, onLayoutAnimationComplete: y } = h.getProps(), w = !this.targetLayout || !_r(this.targetLayout, m), v = !d && f;
5790
5811
  if (this.options.layoutRoot || this.resumeFrom || v || d && (w || !this.currentAnimation)) {
5791
5812
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
5792
5813
  const b = {
@@ -5831,7 +5852,7 @@ function $r({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5831
5852
  this.options.onExitComplete && this.options.onExitComplete();
5832
5853
  return;
5833
5854
  }
5834
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Wr(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
5855
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && $r(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
5835
5856
  return;
5836
5857
  this.isLayoutDirty = !0;
5837
5858
  for (let u = 0; u < this.path.length; u++) {
@@ -5865,10 +5886,10 @@ function $r({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5865
5886
  this.nodes.forEach(tu), this.sharedNodes.forEach(lu);
5866
5887
  }
5867
5888
  scheduleUpdateProjection() {
5868
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, D.preRender(this.updateProjection, !1, !0));
5889
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, k.preRender(this.updateProjection, !1, !0));
5869
5890
  }
5870
5891
  scheduleCheckAfterUnmount() {
5871
- D.postRender(() => {
5892
+ k.postRender(() => {
5872
5893
  this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
5873
5894
  });
5874
5895
  }
@@ -5905,7 +5926,7 @@ function $r({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5905
5926
  resetTransform() {
5906
5927
  if (!r)
5907
5928
  return;
5908
- const o = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, l = this.projectionDelta && !zr(this.projectionDelta), c = this.getTransformTemplate(), h = c ? c(this.latestValues, "") : void 0, u = h !== this.prevTransformTemplateValue;
5929
+ const o = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, l = this.projectionDelta && !Hr(this.projectionDelta), c = this.getTransformTemplate(), h = c ? c(this.latestValues, "") : void 0, u = h !== this.prevTransformTemplateValue;
5909
5930
  o && this.instance && (l || Me(this.latestValues) || u) && (r(this.instance, h), this.shouldResetTransform = !1, this.scheduleRender());
5910
5931
  }
5911
5932
  measure(o = !0) {
@@ -5993,10 +6014,10 @@ function $r({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
5993
6014
  return;
5994
6015
  this.resolvedRelativeTargetAt = U.timestamp;
5995
6016
  const f = this.getClosestProjectingParent();
5996
- 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), Vr(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));
6017
+ 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));
5997
6018
  }
5998
6019
  getClosestProjectingParent() {
5999
- if (!(!this.parent || yn(this.parent.latestValues) || Pr(this.parent.latestValues)))
6020
+ if (!(!this.parent || yn(this.parent.latestValues) || Vr(this.parent.latestValues)))
6000
6021
  return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
6001
6022
  }
6002
6023
  isProjecting() {
@@ -6052,12 +6073,12 @@ function $r({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6052
6073
  let b;
6053
6074
  this.mixTargetDelta = (M) => {
6054
6075
  const S = M / 1e3;
6055
- 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 && Ic(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;
6076
+ 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;
6056
6077
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
6057
6078
  }
6058
6079
  startAnimation(o) {
6059
6080
  var l, c, h;
6060
- this.notifyListeners("animationStart"), (l = this.currentAnimation) == null || l.stop(), (h = (c = this.resumingFrom) == null ? void 0 : c.currentAnimation) == null || h.stop(), this.pendingAnimation && (we(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = D.update(() => {
6081
+ this.notifyListeners("animationStart"), (l = this.currentAnimation) == null || l.stop(), (h = (c = this.resumingFrom) == null ? void 0 : c.currentAnimation) == null || h.stop(), this.pendingAnimation && (we(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = k.update(() => {
6061
6082
  jt.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = Be(0)), this.motionValue.jump(0, !1), this.currentAnimation = Wc(this.motionValue, [0, 1e3], {
6062
6083
  ...o,
6063
6084
  velocity: 0,
@@ -6085,7 +6106,7 @@ function $r({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
6085
6106
  const o = this.getLead();
6086
6107
  let { targetWithTransforms: l, target: c, layout: h, latestValues: u } = o;
6087
6108
  if (!(!l || !c || !h)) {
6088
- if (this !== o && this.layout && h && Kr(this.options.animationType, this.layout.layoutBox, h.layoutBox)) {
6109
+ if (this !== o && this.layout && h && Gr(this.options.animationType, this.layout.layoutBox, h.layoutBox)) {
6089
6110
  c = this.target || H();
6090
6111
  const d = J(this.layout.layoutBox.x);
6091
6112
  c.x.min = o.target.x.min, c.x.max = c.x.min + d;
@@ -6212,7 +6233,7 @@ function Jc(e) {
6212
6233
  else if (a === "x" || a === "y") {
6213
6234
  const d = a === "x" ? "y" : "x";
6214
6235
  vn(o ? t.measuredBox[d] : t.layoutBox[d], i[d]);
6215
- } else Kr(a, t.layoutBox, i) && ce((d) => {
6236
+ } else Gr(a, t.layoutBox, i) && ce((d) => {
6216
6237
  const f = o ? t.measuredBox[d] : t.layoutBox[d], m = J(i[d]);
6217
6238
  f.max = f.min + m, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[d].max = e.relativeTarget[d].min + m);
6218
6239
  });
@@ -6220,7 +6241,7 @@ function Jc(e) {
6220
6241
  qe(l, i, t.layoutBox);
6221
6242
  const c = Fe();
6222
6243
  o ? qe(c, e.applyTransform(r, !0), t.measuredBox) : qe(c, i, t.layoutBox);
6223
- const h = !zr(l);
6244
+ const h = !Hr(l);
6224
6245
  let u = !1;
6225
6246
  if (!e.resumeFrom) {
6226
6247
  const d = e.getClosestProjectingParent();
@@ -6230,7 +6251,7 @@ function Jc(e) {
6230
6251
  const x = e.options.layoutAnchor || void 0, g = H();
6231
6252
  Pt(g, t.layoutBox, f.layoutBox, x);
6232
6253
  const y = H();
6233
- Pt(y, i, m.layoutBox, x), Hr(g, y) || (u = !0), d.options.layoutRoot && (e.relativeTarget = y, e.relativeTargetOrigin = g, e.relativeParent = d);
6254
+ Pt(y, i, m.layoutBox, x), _r(g, y) || (u = !0), d.options.layoutRoot && (e.relativeTarget = y, e.relativeTargetOrigin = g, e.relativeParent = d);
6234
6255
  }
6235
6256
  }
6236
6257
  }
@@ -6310,14 +6331,14 @@ function si(e) {
6310
6331
  function du(e) {
6311
6332
  si(e.x), si(e.y);
6312
6333
  }
6313
- function Kr(e, t, n) {
6334
+ function Gr(e, t, n) {
6314
6335
  return e === "position" || e === "preserve-aspect" && !Rc($s(t), $s(n), 0.2);
6315
6336
  }
6316
6337
  function fu(e) {
6317
6338
  var t;
6318
6339
  return e !== e.root && ((t = e.scroll) == null ? void 0 : t.wasRoot);
6319
6340
  }
6320
- const pu = $r({
6341
+ const pu = Kr({
6321
6342
  attachResizeListener: (e, t) => tt(e, "resize", t),
6322
6343
  measureScroll: () => {
6323
6344
  var e, t;
@@ -6329,7 +6350,7 @@ const pu = $r({
6329
6350
  checkIsScrollRoot: () => !0
6330
6351
  }), $t = {
6331
6352
  current: void 0
6332
- }, Gr = $r({
6353
+ }, Yr = Kr({
6333
6354
  measureScroll: (e) => ({
6334
6355
  x: e.scrollLeft,
6335
6356
  y: e.scrollTop
@@ -6345,7 +6366,7 @@ const pu = $r({
6345
6366
  e.style.transform = t !== void 0 ? t : "none";
6346
6367
  },
6347
6368
  checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
6348
- }), Yr = ze({
6369
+ }), Xr = ze({
6349
6370
  transformPagePoint: (e) => e,
6350
6371
  isStatic: !1,
6351
6372
  reducedMotion: "never"
@@ -6354,7 +6375,7 @@ function mu(e = !0) {
6354
6375
  const t = ee(Tn);
6355
6376
  if (t === null)
6356
6377
  return [!0, null];
6357
- const { isPresent: n, onExitComplete: i, register: r } = t, a = co();
6378
+ const { isPresent: n, onExitComplete: i, register: r } = t, a = uo();
6358
6379
  je(() => {
6359
6380
  if (e)
6360
6381
  return r(a);
@@ -6362,7 +6383,7 @@ function mu(e = !0) {
6362
6383
  const o = Ce(() => e && i && i(a), [a, i, e]);
6363
6384
  return !n && i ? [!1, o] : [!0];
6364
6385
  }
6365
- const Xr = ze({ strict: !1 }), ii = {
6386
+ const qr = ze({ strict: !1 }), ii = {
6366
6387
  animation: [
6367
6388
  "animate",
6368
6389
  "variants",
@@ -6391,19 +6412,19 @@ function xu() {
6391
6412
  e[t] = {
6392
6413
  isEnabled: (n) => ii[t].some((i) => !!n[i])
6393
6414
  };
6394
- Mr(e), ri = !0;
6415
+ Sr(e), ri = !0;
6395
6416
  }
6396
- function qr() {
6417
+ function Zr() {
6397
6418
  return xu(), rc();
6398
6419
  }
6399
6420
  function yu(e) {
6400
- const t = qr();
6421
+ const t = Zr();
6401
6422
  for (const n in e)
6402
6423
  t[n] = {
6403
6424
  ...t[n],
6404
6425
  ...e[n]
6405
6426
  };
6406
- Mr(t);
6427
+ Sr(t);
6407
6428
  }
6408
6429
  const gu = /* @__PURE__ */ new Set([
6409
6430
  "animate",
@@ -6441,9 +6462,9 @@ const gu = /* @__PURE__ */ new Set([
6441
6462
  function Vt(e) {
6442
6463
  return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || gu.has(e);
6443
6464
  }
6444
- let Zr = (e) => !Vt(e);
6465
+ let Jr = (e) => !Vt(e);
6445
6466
  function ju(e) {
6446
- typeof e == "function" && (Zr = (t) => t.startsWith("on") ? !Vt(t) : e(t));
6467
+ typeof e == "function" && (Jr = (t) => t.startsWith("on") ? !Vt(t) : e(t));
6447
6468
  }
6448
6469
  try {
6449
6470
  ju(require("@emotion/is-prop-valid").default);
@@ -6452,13 +6473,13 @@ try {
6452
6473
  function vu(e, t, n) {
6453
6474
  const i = {};
6454
6475
  for (const r in e)
6455
- r === "values" && typeof e.values == "object" || W(e[r]) || (Zr(r) || n === !0 && Vt(r) || !t && !Vt(r) || // If trying to use native HTML drag events, forward drag listeners
6476
+ r === "values" && typeof e.values == "object" || W(e[r]) || (Jr(r) || n === !0 && Vt(r) || !t && !Vt(r) || // If trying to use native HTML drag events, forward drag listeners
6456
6477
  e.draggable && r.startsWith("onDrag")) && (i[r] = e[r]);
6457
6478
  return i;
6458
6479
  }
6459
- const kt = /* @__PURE__ */ ze({});
6480
+ const Dt = /* @__PURE__ */ ze({});
6460
6481
  function wu(e, t) {
6461
- if (Dt(e)) {
6482
+ if (kt(e)) {
6462
6483
  const { initial: n, animate: i } = e;
6463
6484
  return {
6464
6485
  initial: n === !1 || et(n) ? n : void 0,
@@ -6468,8 +6489,8 @@ function wu(e, t) {
6468
6489
  return e.inherit !== !1 ? t : {};
6469
6490
  }
6470
6491
  function bu(e) {
6471
- const { initial: t, animate: n } = wu(e, ee(kt));
6472
- return Oe(() => ({ initial: t, animate: n }), [oi(t), oi(n)]);
6492
+ const { initial: t, animate: n } = wu(e, ee(Dt));
6493
+ return Ie(() => ({ initial: t, animate: n }), [oi(t), oi(n)]);
6473
6494
  }
6474
6495
  function oi(e) {
6475
6496
  return Array.isArray(e) ? e.join(" ") : e;
@@ -6480,39 +6501,39 @@ const Yn = () => ({
6480
6501
  transformOrigin: {},
6481
6502
  vars: {}
6482
6503
  });
6483
- function Jr(e, t, n) {
6504
+ function Qr(e, t, n) {
6484
6505
  for (const i in t)
6485
6506
  !W(t[i]) && !Dr(i, n) && (e[i] = t[i]);
6486
6507
  }
6487
6508
  function Tu({ transformTemplate: e }, t) {
6488
- return Oe(() => {
6509
+ return Ie(() => {
6489
6510
  const n = Yn();
6490
6511
  return Kn(n, t, e), Object.assign({}, n.vars, n.style);
6491
6512
  }, [t]);
6492
6513
  }
6493
6514
  function Mu(e, t) {
6494
6515
  const n = e.style || {}, i = {};
6495
- return Jr(i, n, e), Object.assign(i, Tu(e, t)), i;
6516
+ return Qr(i, n, e), Object.assign(i, Tu(e, t)), i;
6496
6517
  }
6497
6518
  function Su(e, t) {
6498
6519
  const n = {}, i = Mu(e, t);
6499
6520
  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;
6500
6521
  }
6501
- const Qr = () => ({
6522
+ const eo = () => ({
6502
6523
  ...Yn(),
6503
6524
  attrs: {}
6504
6525
  });
6505
6526
  function Au(e, t, n, i) {
6506
- const r = Oe(() => {
6507
- const a = Qr();
6508
- return kr(a, t, Lr(i), e.transformTemplate, e.style), {
6527
+ const r = Ie(() => {
6528
+ const a = eo();
6529
+ return Rr(a, t, Nr(i), e.transformTemplate, e.style), {
6509
6530
  ...a.attrs,
6510
6531
  style: { ...a.style }
6511
6532
  };
6512
6533
  }, [t]);
6513
6534
  if (e.style) {
6514
6535
  const a = {};
6515
- Jr(a, e.style, e), r.style = { ...a, ...r.style };
6536
+ Qr(a, e.style, e), r.style = { ...a, ...r.style };
6516
6537
  }
6517
6538
  return r;
6518
6539
  }
@@ -6564,8 +6585,8 @@ function Xn(e) {
6564
6585
  );
6565
6586
  }
6566
6587
  function Vu(e, t, n, { latestValues: i }, r, a = !1, o) {
6567
- 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 = Oe(() => W(d) ? d.get() : d, [d]);
6568
- return uo(e, {
6588
+ 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]);
6589
+ return ho(e, {
6569
6590
  ...u,
6570
6591
  children: f
6571
6592
  });
@@ -6581,7 +6602,7 @@ function Eu(e, t, n, i) {
6581
6602
  for (const f in a)
6582
6603
  r[f] = gt(a[f]);
6583
6604
  let { initial: o, animate: l } = e;
6584
- const c = Dt(e), h = br(e);
6605
+ const c = kt(e), h = Tr(e);
6585
6606
  t && h && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), l === void 0 && (l = t.animate));
6586
6607
  let u = n ? n.initial === !1 : !1;
6587
6608
  u = u || o === !1;
@@ -6589,7 +6610,7 @@ function Eu(e, t, n, i) {
6589
6610
  if (d && typeof d != "boolean" && !Et(d)) {
6590
6611
  const f = Array.isArray(d) ? d : [d];
6591
6612
  for (let m = 0; m < f.length; m++) {
6592
- const x = In(e, f[m]);
6613
+ const x = On(e, f[m]);
6593
6614
  if (x) {
6594
6615
  const { transitionEnd: g, transition: y, ...w } = x;
6595
6616
  for (const v in w) {
@@ -6607,15 +6628,15 @@ function Eu(e, t, n, i) {
6607
6628
  }
6608
6629
  return r;
6609
6630
  }
6610
- const eo = (e) => (t, n) => {
6611
- const i = ee(kt), r = ee(Tn), a = () => Cu(e, t, i, r);
6631
+ const to = (e) => (t, n) => {
6632
+ const i = ee(Dt), r = ee(Tn), a = () => Cu(e, t, i, r);
6612
6633
  return n ? a() : Po(a);
6613
- }, Du = /* @__PURE__ */ eo({
6634
+ }, ku = /* @__PURE__ */ to({
6614
6635
  scrapeMotionValuesFromProps: Gn,
6615
6636
  createRenderState: Yn
6616
- }), ku = /* @__PURE__ */ eo({
6617
- scrapeMotionValuesFromProps: Nr,
6618
- createRenderState: Qr
6637
+ }), Du = /* @__PURE__ */ to({
6638
+ scrapeMotionValuesFromProps: Fr,
6639
+ createRenderState: eo
6619
6640
  }), Ru = Symbol.for("motionComponentSymbol");
6620
6641
  function Lu(e, t, n) {
6621
6642
  const i = fe(n);
@@ -6636,13 +6657,13 @@ function Lu(e, t, n) {
6636
6657
  t && (a ? t.mount(a) : t.unmount());
6637
6658
  }, [t]);
6638
6659
  }
6639
- const to = ze({});
6640
- function ke(e) {
6660
+ const no = ze({});
6661
+ function De(e) {
6641
6662
  return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
6642
6663
  }
6643
6664
  function Nu(e, t, n, i, r, a) {
6644
6665
  var b, M;
6645
- const { visualElement: o } = ee(kt), l = ee(Xr), c = ee(Tn), h = ee(Yr), u = h.reducedMotion, d = h.skipAnimations, f = fe(null), m = fe(!1);
6666
+ 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);
6646
6667
  i = i || l.renderer, !f.current && i && (f.current = i(e, {
6647
6668
  visualState: t,
6648
6669
  parent: o,
@@ -6653,13 +6674,13 @@ function Nu(e, t, n, i, r, a) {
6653
6674
  skipAnimations: d,
6654
6675
  isSVG: a
6655
6676
  }), m.current && f.current && (f.current.manuallyAnimateOnMount = !0));
6656
- const x = f.current, g = ee(to);
6677
+ const x = f.current, g = ee(no);
6657
6678
  x && !x.projection && r && (x.type === "html" || x.type === "svg") && Fu(f.current, n, r, g);
6658
6679
  const y = fe(!1);
6659
6680
  ji(() => {
6660
6681
  x && y.current && x.update(n, c);
6661
6682
  });
6662
- const w = n[cr], v = fe(!!w && typeof window < "u" && !((b = window.MotionHandoffIsComplete) != null && b.call(window, w)) && ((M = window.MotionHasOptimisedAnimation) == null ? void 0 : M.call(window, w)));
6683
+ const w = n[ur], v = fe(!!w && typeof window < "u" && !((b = window.MotionHandoffIsComplete) != null && b.call(window, w)) && ((M = window.MotionHasOptimisedAnimation) == null ? void 0 : M.call(window, w)));
6663
6684
  return Co(() => {
6664
6685
  m.current = !0, x && (y.current = !0, window.MotionIsMounted = !0, x.updateFeatures(), x.scheduleRenderMicrotask(), v.current && x.animationState && x.animationState.animateChanges());
6665
6686
  }), je(() => {
@@ -6671,10 +6692,10 @@ function Nu(e, t, n, i, r, a) {
6671
6692
  }
6672
6693
  function Fu(e, t, n, i) {
6673
6694
  const { layoutId: r, layout: a, drag: o, dragConstraints: l, layoutScroll: c, layoutRoot: h, layoutAnchor: u, layoutCrossfade: d } = t;
6674
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : no(e.parent)), e.projection.setOptions({
6695
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : so(e.parent)), e.projection.setOptions({
6675
6696
  layoutId: r,
6676
6697
  layout: a,
6677
- alwaysMeasureLayout: !!o || l && ke(l),
6698
+ alwaysMeasureLayout: !!o || l && De(l),
6678
6699
  visualElement: e,
6679
6700
  /**
6680
6701
  * TODO: Update options in an effect. This could be tricky as it'll be too late
@@ -6691,44 +6712,44 @@ function Fu(e, t, n, i) {
6691
6712
  layoutAnchor: u
6692
6713
  });
6693
6714
  }
6694
- function no(e) {
6715
+ function so(e) {
6695
6716
  if (e)
6696
- return e.options.allowProjection !== !1 ? e.projection : no(e.parent);
6717
+ return e.options.allowProjection !== !1 ? e.projection : so(e.parent);
6697
6718
  }
6698
6719
  function Kt(e, { forwardMotionProps: t = !1, type: n } = {}, i, r) {
6699
6720
  i && yu(i);
6700
- const a = n ? n === "svg" : Xn(e), o = a ? ku : Du;
6721
+ const a = n ? n === "svg" : Xn(e), o = a ? Du : ku;
6701
6722
  function l(h, u) {
6702
6723
  let d;
6703
6724
  const f = {
6704
- ...ee(Yr),
6725
+ ...ee(Xr),
6705
6726
  ...h,
6706
- layoutId: Ou(h)
6727
+ layoutId: Iu(h)
6707
6728
  }, { isStatic: m } = f, x = bu(h), g = o(h, m);
6708
6729
  if (!m && typeof window < "u") {
6709
- Iu(f, i);
6730
+ Ou(f, i);
6710
6731
  const y = Bu(f);
6711
6732
  d = y.MeasureLayout, x.visualElement = Nu(e, g, f, r, y.ProjectionNode, a);
6712
6733
  }
6713
- return s.jsxs(kt.Provider, { value: x, children: [d && x.visualElement ? s.jsx(d, { visualElement: x.visualElement, ...f }) : null, Vu(e, h, Lu(g, x.visualElement, u), g, m, t, a)] });
6734
+ return s.jsxs(Dt.Provider, { value: x, children: [d && x.visualElement ? s.jsx(d, { visualElement: x.visualElement, ...f }) : null, Vu(e, h, Lu(g, x.visualElement, u), g, m, t, a)] });
6714
6735
  }
6715
6736
  l.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
6716
- const c = ho(l);
6737
+ const c = fo(l);
6717
6738
  return c[Ru] = e, c;
6718
6739
  }
6719
- function Ou({ layoutId: e }) {
6720
- const t = ee(wi).id;
6740
+ function Iu({ layoutId: e }) {
6741
+ const t = ee(bi).id;
6721
6742
  return t && e !== void 0 ? t + "-" + e : e;
6722
6743
  }
6723
- function Iu(e, t) {
6724
- const n = ee(Xr).strict;
6744
+ function Ou(e, t) {
6745
+ const n = ee(qr).strict;
6725
6746
  if (process.env.NODE_ENV !== "production" && t && n) {
6726
6747
  const i = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
6727
6748
  e.ignoreStrict ? He(!1, i, "lazy-strict-mode") : pe(!1, i, "lazy-strict-mode");
6728
6749
  }
6729
6750
  }
6730
6751
  function Bu(e) {
6731
- const t = qr(), { drag: n, layout: i } = t;
6752
+ const t = Zr(), { drag: n, layout: i } = t;
6732
6753
  if (!n && !i)
6733
6754
  return {};
6734
6755
  const r = { ...n, ...i };
@@ -6842,13 +6863,13 @@ const Ku = (e) => (t) => _n(t) && e(t, ot(t));
6842
6863
  function Ze(e, t, n, i) {
6843
6864
  return tt(e, t, Ku(n), i);
6844
6865
  }
6845
- const so = ({ current: e }) => e ? e.ownerDocument.defaultView : null, ai = (e, t) => Math.abs(e - t);
6866
+ const io = ({ current: e }) => e ? e.ownerDocument.defaultView : null, ai = (e, t) => Math.abs(e - t);
6846
6867
  function Gu(e, t) {
6847
6868
  const n = ai(e.x, t.x), i = ai(e.y, t.y);
6848
6869
  return Math.sqrt(n ** 2 + i ** 2);
6849
6870
  }
6850
6871
  const li = /* @__PURE__ */ new Set(["auto", "scroll"]);
6851
- class io {
6872
+ class ro {
6852
6873
  constructor(t, n, { transformPagePoint: i, contextWindow: r = window, dragSnapToOrigin: a = !1, distanceThreshold: o = 3, element: l } = {}) {
6853
6874
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (m) => {
6854
6875
  this.handleScroll(m.target);
@@ -6866,7 +6887,7 @@ class io {
6866
6887
  const { onStart: v, onMove: b } = this.handlers;
6867
6888
  x || (v && v(this.lastMoveEvent, m), this.startEvent = this.lastMoveEvent), b && b(this.lastMoveEvent, m);
6868
6889
  }, this.handlePointerMove = (m, x) => {
6869
- this.lastMoveEvent = m, this.lastRawMoveEventInfo = x, this.lastMoveEventInfo = ht(x, this.transformPagePoint), D.update(this.updatePoint, !0);
6890
+ this.lastMoveEvent = m, this.lastRawMoveEventInfo = x, this.lastMoveEventInfo = ht(x, this.transformPagePoint), k.update(this.updatePoint, !0);
6870
6891
  }, this.handlePointerUp = (m, x) => {
6871
6892
  this.end();
6872
6893
  const { onEnd: g, onSessionEnd: y, resumeAnimation: w } = this.handlers;
@@ -6919,7 +6940,7 @@ class io {
6919
6940
  x: t.scrollLeft,
6920
6941
  y: t.scrollTop
6921
6942
  }, a = { x: r.x - n.x, y: r.y - n.y };
6922
- a.x === 0 && a.y === 0 || (i ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += a.x, this.lastMoveEventInfo.point.y += a.y) : this.history.length > 0 && (this.history[0].x -= a.x, this.history[0].y -= a.y), this.scrollPositions.set(t, r), D.update(this.updatePoint, !0));
6943
+ a.x === 0 && a.y === 0 || (i ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += a.x, this.lastMoveEventInfo.point.y += a.y) : this.history.length > 0 && (this.history[0].x -= a.x, this.history[0].y -= a.y), this.scrollPositions.set(t, r), k.update(this.updatePoint, !0));
6923
6944
  }
6924
6945
  updateHandlers(t) {
6925
6946
  this.handlers = t;
@@ -6937,7 +6958,7 @@ function ci(e, t) {
6937
6958
  function Gt({ point: e }, t) {
6938
6959
  return {
6939
6960
  point: e,
6940
- delta: ci(e, ro(t)),
6961
+ delta: ci(e, oo(t)),
6941
6962
  offset: ci(e, Yu(t)),
6942
6963
  velocity: Xu(t, 0.1)
6943
6964
  };
@@ -6945,14 +6966,14 @@ function Gt({ point: e }, t) {
6945
6966
  function Yu(e) {
6946
6967
  return e[0];
6947
6968
  }
6948
- function ro(e) {
6969
+ function oo(e) {
6949
6970
  return e[e.length - 1];
6950
6971
  }
6951
6972
  function Xu(e, t) {
6952
6973
  if (e.length < 2)
6953
6974
  return { x: 0, y: 0 };
6954
6975
  let n = e.length - 1, i = null;
6955
- const r = ro(e);
6976
+ const r = oo(e);
6956
6977
  for (; n >= 0 && (i = e[n], !(r.timestamp - i.timestamp > /* @__PURE__ */ te(t))); )
6957
6978
  n--;
6958
6979
  if (!i)
@@ -7042,7 +7063,7 @@ class sh {
7042
7063
  }
7043
7064
  }
7044
7065
  this.originPoint[w] = v;
7045
- }), g && D.update(() => g(d, f), !1, !0), dn(this.visualElement, "transform");
7066
+ }), g && k.update(() => g(d, f), !1, !0), dn(this.visualElement, "transform");
7046
7067
  const { animationState: y } = this.visualElement;
7047
7068
  y && y.setActive("whileDrag", !0);
7048
7069
  }, l = (d, f) => {
@@ -7055,14 +7076,14 @@ class sh {
7055
7076
  this.currentDirection = rh(w), this.currentDirection !== null && g && g(this.currentDirection);
7056
7077
  return;
7057
7078
  }
7058
- this.updateAxis("x", f.point, w), this.updateAxis("y", f.point, w), this.visualElement.render(), y && D.update(() => y(d, f), !1, !0);
7079
+ this.updateAxis("x", f.point, w), this.updateAxis("y", f.point, w), this.visualElement.render(), y && k.update(() => y(d, f), !1, !0);
7059
7080
  }, c = (d, f) => {
7060
7081
  this.latestPointerEvent = d, this.latestPanInfo = f, this.stop(d, f), this.latestPointerEvent = null, this.latestPanInfo = null;
7061
7082
  }, h = () => {
7062
7083
  const { dragSnapToOrigin: d } = this.getProps();
7063
7084
  (d || this.constraints) && this.startAnimation({ x: 0, y: 0 });
7064
7085
  }, { dragSnapToOrigin: u } = this.getProps();
7065
- this.panSession = new io(t, {
7086
+ this.panSession = new ro(t, {
7066
7087
  onSessionStart: a,
7067
7088
  onStart: o,
7068
7089
  onMove: l,
@@ -7072,7 +7093,7 @@ class sh {
7072
7093
  transformPagePoint: this.visualElement.getTransformPagePoint(),
7073
7094
  dragSnapToOrigin: u,
7074
7095
  distanceThreshold: i,
7075
- contextWindow: so(this.visualElement),
7096
+ contextWindow: io(this.visualElement),
7076
7097
  element: this.visualElement.current
7077
7098
  });
7078
7099
  }
@@ -7086,7 +7107,7 @@ class sh {
7086
7107
  const { velocity: o } = r;
7087
7108
  this.startAnimation(o);
7088
7109
  const { onDragEnd: l } = this.getProps();
7089
- l && D.postRender(() => l(i, r));
7110
+ l && k.postRender(() => l(i, r));
7090
7111
  }
7091
7112
  /**
7092
7113
  * @internal
@@ -7118,13 +7139,13 @@ class sh {
7118
7139
  resolveConstraints() {
7119
7140
  var a;
7120
7141
  const { dragConstraints: t, dragElastic: n } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (a = this.visualElement.projection) == null ? void 0 : a.layout, r = this.constraints;
7121
- t && ke(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && i ? this.constraints = Zu(i.layoutBox, t) : this.constraints = !1, this.elastic = th(n), r !== this.constraints && !ke(t) && i && this.constraints && !this.hasMutatedConstraints && ce((o) => {
7142
+ t && De(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && i ? this.constraints = Zu(i.layoutBox, t) : this.constraints = !1, this.elastic = th(n), r !== this.constraints && !De(t) && i && this.constraints && !this.hasMutatedConstraints && ce((o) => {
7122
7143
  this.constraints !== !1 && this.getAxisMotionValue(o) && (this.constraints[o] = eh(i.layoutBox[o], this.constraints[o]));
7123
7144
  });
7124
7145
  }
7125
7146
  resolveRefConstraints() {
7126
7147
  const { dragConstraints: t, onMeasureDragConstraints: n } = this.getProps();
7127
- if (!t || !ke(t))
7148
+ if (!t || !De(t))
7128
7149
  return !1;
7129
7150
  const i = t.current;
7130
7151
  pe(i !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref");
@@ -7135,7 +7156,7 @@ class sh {
7135
7156
  let o = Ju(r.layout.layoutBox, a);
7136
7157
  if (n) {
7137
7158
  const l = n(ac(o));
7138
- this.hasMutatedConstraints = !!l, l && (o = Ar(l));
7159
+ this.hasMutatedConstraints = !!l, l && (o = Pr(l));
7139
7160
  }
7140
7161
  return o;
7141
7162
  }
@@ -7162,7 +7183,7 @@ class sh {
7162
7183
  }
7163
7184
  startAxisValueAnimation(t, n) {
7164
7185
  const i = this.getAxisMotionValue(t);
7165
- return dn(this.visualElement, t), i.start(On(t, i, 0, n, this.visualElement, !1));
7186
+ return dn(this.visualElement, t), i.start(In(t, i, 0, n, this.visualElement, !1));
7166
7187
  }
7167
7188
  stopAnimation() {
7168
7189
  ce((t) => this.getAxisMotionValue(t).stop());
@@ -7198,7 +7219,7 @@ class sh {
7198
7219
  if (!this.visualElement.current)
7199
7220
  return;
7200
7221
  const { drag: t, dragConstraints: n } = this.getProps(), { projection: i } = this.visualElement;
7201
- if (!ke(n) || !i || !this.constraints)
7222
+ if (!De(n) || !i || !this.constraints)
7202
7223
  return;
7203
7224
  this.stopAnimation();
7204
7225
  const r = { x: 0, y: 0 };
@@ -7228,9 +7249,9 @@ class sh {
7228
7249
  let i;
7229
7250
  const r = () => {
7230
7251
  const { dragConstraints: h } = this.getProps();
7231
- ke(h) && h.current && (this.constraints = this.resolveRefConstraints(), i || (i = ih(t, h.current, () => this.scalePositionWithinConstraints())));
7252
+ De(h) && h.current && (this.constraints = this.resolveRefConstraints(), i || (i = ih(t, h.current, () => this.scalePositionWithinConstraints())));
7232
7253
  }, { projection: a } = this.visualElement, o = a.addEventListener("measure", r);
7233
- a && !a.layout && (a.root && a.root.updateScroll(), a.updateLayout()), D.read(r);
7254
+ a && !a.layout && (a.root && a.root.updateScroll(), a.updateLayout()), k.read(r);
7234
7255
  const l = tt(window, "resize", () => this.scalePositionWithinConstraints()), c = a.addEventListener("didUpdate", ({ delta: h, hasLayoutChanged: u }) => {
7235
7256
  this.isDragging && u && (ce((d) => {
7236
7257
  const f = this.getAxisMotionValue(d);
@@ -7294,16 +7315,16 @@ class oh extends be {
7294
7315
  }
7295
7316
  }
7296
7317
  const Yt = (e) => (t, n) => {
7297
- e && D.update(() => e(t, n), !1, !0);
7318
+ e && k.update(() => e(t, n), !1, !0);
7298
7319
  };
7299
7320
  class ah extends be {
7300
7321
  constructor() {
7301
7322
  super(...arguments), this.removePointerDownListener = ie;
7302
7323
  }
7303
7324
  onPointerDown(t) {
7304
- this.session = new io(t, this.createPanHandlers(), {
7325
+ this.session = new ro(t, this.createPanHandlers(), {
7305
7326
  transformPagePoint: this.node.getTransformPagePoint(),
7306
- contextWindow: so(this.node)
7327
+ contextWindow: io(this.node)
7307
7328
  });
7308
7329
  }
7309
7330
  createPanHandlers() {
@@ -7313,7 +7334,7 @@ class ah extends be {
7313
7334
  onStart: Yt(n),
7314
7335
  onMove: Yt(i),
7315
7336
  onEnd: (a, o) => {
7316
- delete this.session, r && D.postRender(() => r(a, o));
7337
+ delete this.session, r && k.postRender(() => r(a, o));
7317
7338
  }
7318
7339
  };
7319
7340
  }
@@ -7328,7 +7349,7 @@ class ah extends be {
7328
7349
  }
7329
7350
  }
7330
7351
  let Xt = !1;
7331
- class lh extends fo {
7352
+ class lh extends po {
7332
7353
  /**
7333
7354
  * This only mounts projection nodes for components that
7334
7355
  * need measuring, we might want to do it for all components
@@ -7349,7 +7370,7 @@ class lh extends fo {
7349
7370
  return o && (o.isPresent = a, t.layoutDependency !== n && o.setOptions({
7350
7371
  ...o.options,
7351
7372
  layoutDependency: n
7352
- }), Xt = !0, r || t.layoutDependency !== n || n === void 0 || t.isPresent !== a ? o.willUpdate() : this.safeToRemove(), t.isPresent !== a && (a ? o.promote() : o.relegate() || D.postRender(() => {
7373
+ }), Xt = !0, r || t.layoutDependency !== n || n === void 0 || t.isPresent !== a ? o.willUpdate() : this.safeToRemove(), t.isPresent !== a && (a ? o.promote() : o.relegate() || k.postRender(() => {
7353
7374
  const l = o.getStack();
7354
7375
  (!l || !l.members.length) && this.safeToRemove();
7355
7376
  }))), null;
@@ -7372,9 +7393,9 @@ class lh extends fo {
7372
7393
  return null;
7373
7394
  }
7374
7395
  }
7375
- function oo(e) {
7376
- const [t, n] = mu(), i = ee(wi);
7377
- return s.jsx(lh, { ...e, layoutGroup: i, switchLayoutGroup: ee(to), isPresent: t, safeToRemove: n });
7396
+ function ao(e) {
7397
+ const [t, n] = mu(), i = ee(bi);
7398
+ return s.jsx(lh, { ...e, layoutGroup: i, switchLayoutGroup: ee(no), isPresent: t, safeToRemove: n });
7378
7399
  }
7379
7400
  const ch = {
7380
7401
  pan: {
@@ -7382,20 +7403,20 @@ const ch = {
7382
7403
  },
7383
7404
  drag: {
7384
7405
  Feature: oh,
7385
- ProjectionNode: Gr,
7386
- MeasureLayout: oo
7406
+ ProjectionNode: Yr,
7407
+ MeasureLayout: ao
7387
7408
  }
7388
7409
  };
7389
7410
  function mi(e, t, n) {
7390
7411
  const { props: i } = e;
7391
7412
  e.animationState && i.whileHover && e.animationState.setActive("whileHover", n === "Start");
7392
7413
  const r = "onHover" + n, a = i[r];
7393
- a && D.postRender(() => a(t, ot(t)));
7414
+ a && k.postRender(() => a(t, ot(t)));
7394
7415
  }
7395
7416
  class uh extends be {
7396
7417
  mount() {
7397
7418
  const { current: t } = this.node;
7398
- t && (this.unmount = Ol(t, (n, i) => (mi(this.node, i, "Start"), (r) => mi(this.node, r, "End"))));
7419
+ t && (this.unmount = Il(t, (n, i) => (mi(this.node, i, "Start"), (r) => mi(this.node, r, "End"))));
7399
7420
  }
7400
7421
  unmount() {
7401
7422
  }
@@ -7428,7 +7449,7 @@ function xi(e, t, n) {
7428
7449
  return;
7429
7450
  e.animationState && i.whileTap && e.animationState.setActive("whileTap", n === "Start");
7430
7451
  const r = "onTap" + (n === "End" ? "" : n), a = i[r];
7431
- a && D.postRender(() => a(t, ot(t)));
7452
+ a && k.postRender(() => a(t, ot(t)));
7432
7453
  }
7433
7454
  class dh extends be {
7434
7455
  mount() {
@@ -7519,15 +7540,15 @@ const vh = {
7519
7540
  }
7520
7541
  }, wh = {
7521
7542
  layout: {
7522
- ProjectionNode: Gr,
7523
- MeasureLayout: oo
7543
+ ProjectionNode: Yr,
7544
+ MeasureLayout: ao
7524
7545
  }
7525
7546
  }, bh = {
7526
7547
  ...$u,
7527
7548
  ...vh,
7528
7549
  ...ch,
7529
7550
  ...wh
7530
- }, Th = /* @__PURE__ */ zu(bh, Hu), Zh = ({ flipped: e, setFlipped: t, front: n, back: i }) => /* @__PURE__ */ s.jsxs(
7551
+ }, Th = /* @__PURE__ */ zu(bh, Hu), Jh = ({ flipped: e, setFlipped: t, front: n, back: i }) => /* @__PURE__ */ s.jsxs(
7531
7552
  Th.div,
7532
7553
  {
7533
7554
  className: `muncher-flippable-card ${e ? "flipped" : ""}`,
@@ -7539,7 +7560,7 @@ const vh = {
7539
7560
  ]
7540
7561
  }
7541
7562
  ), Mh = () => {
7542
- const [e, t] = Y({
7563
+ const [e, t] = $({
7543
7564
  isTop: !0,
7544
7565
  isBottom: !1
7545
7566
  });
@@ -7550,7 +7571,7 @@ const vh = {
7550
7571
  };
7551
7572
  return window.addEventListener("scroll", n), n(), () => window.removeEventListener("scroll", n);
7552
7573
  }, []), e;
7553
- }, Jh = ({ variant: e = "tertiary" }) => {
7574
+ }, Qh = ({ variant: e = "tertiary" }) => {
7554
7575
  const { isBottom: t } = Mh(), n = () => window.scrollTo({ top: 0, behavior: "smooth" }), i = () => window.scrollTo({
7555
7576
  top: document.documentElement.scrollHeight,
7556
7577
  behavior: "smooth"
@@ -7559,45 +7580,46 @@ const vh = {
7559
7580
  };
7560
7581
  export {
7561
7582
  Ah as Accordion,
7562
- yo as Backdrop,
7563
- go as Badge,
7583
+ go as Backdrop,
7584
+ jo as Badge,
7564
7585
  ne as Button,
7565
- Xh as Card,
7586
+ qh as Card,
7566
7587
  Eh as Checkbox,
7567
- wo as CopyButton,
7568
- bo as CsvButton,
7569
- Mo as CsvInput,
7570
- jo as DropdownButton,
7588
+ bo as CopyButton,
7589
+ To as CsvButton,
7590
+ So as CsvInput,
7591
+ vo as DropdownButton,
7571
7592
  Vh as DropdownNavButton,
7572
- $h as Featured,
7573
- Zh as FlippableCard,
7574
- Hh as Hr,
7593
+ Kh as Featured,
7594
+ Jh as FlippableCard,
7595
+ _h as Hr,
7575
7596
  N as Icon,
7576
7597
  Ph as IconBadge,
7577
- Dh as ImageInput,
7578
- So as Input,
7579
- _h as ItemSlider,
7598
+ kh as ImageInput,
7599
+ wi as Input,
7600
+ Uh as ItemSlider,
7580
7601
  nt as Label,
7581
- Fh as Li,
7602
+ Ih as Li,
7582
7603
  Oh as Modal,
7583
7604
  Qn as NavigateButton,
7584
- Ih as Paper,
7585
- Bh as Pill,
7586
- zh as Progress,
7587
- kh as Radio,
7588
- Uh as RangeSlider,
7589
- Jh as ScrollFab,
7605
+ Bh as Paper,
7606
+ Dh as PasswordInput,
7607
+ zh as Pill,
7608
+ Hh as Progress,
7609
+ Rh as Radio,
7610
+ Wh as RangeSlider,
7611
+ Qh as ScrollFab,
7590
7612
  Ao as Select,
7591
7613
  Ch as ShareButton,
7592
- Wh as Slider,
7593
- To as SortButton,
7614
+ $h as Slider,
7615
+ Mo as SortButton,
7594
7616
  vi as Spinner,
7595
- Kh as Star,
7596
- Yh as Table,
7597
- Gh as Tabs,
7598
- Lh as TextInputDropdown,
7599
- Rh as Textarea,
7600
- Nh as Ul,
7601
- vo as copyToClipboard,
7617
+ Gh as Star,
7618
+ Xh as Table,
7619
+ Yh as Tabs,
7620
+ Nh as TextInputDropdown,
7621
+ Lh as Textarea,
7622
+ Fh as Ul,
7623
+ wo as copyToClipboard,
7602
7624
  Mh as useScrollPosition
7603
7625
  };