@zomako/elearning-components 2.0.0 → 2.0.3

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.
@@ -1,10 +1,10 @@
1
1
  import * as Ie from "react";
2
- import rr, { createContext as Ut, useRef as nt, useLayoutEffect as Ta, useEffect as Wn, useId as Be, useContext as Y, useInsertionEffect as Un, useMemo as Dt, useCallback as Ve, Children as xa, isValidElement as ba, useState as ee, Fragment as or, createElement as wa, forwardRef as Pa, Component as Sa } from "react";
2
+ import rr, { useState as ee, createContext as Ut, useRef as nt, useLayoutEffect as Ta, useEffect as Nn, useId as Be, useContext as Y, useInsertionEffect as Wn, useMemo as Dt, useCallback as Ve, Children as xa, isValidElement as ba, Fragment as or, createElement as wa, forwardRef as Pa, Component as Sa } from "react";
3
3
  var ge = { exports: {} }, Gt = {};
4
- var Bi;
4
+ var Ii;
5
5
  function Ea() {
6
- if (Bi) return Gt;
7
- Bi = 1;
6
+ if (Ii) return Gt;
7
+ Ii = 1;
8
8
  var t = rr, e = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
9
9
  function r(a, l, u) {
10
10
  var c, h = {}, d = null, p = null;
@@ -16,9 +16,9 @@ function Ea() {
16
16
  return Gt.Fragment = n, Gt.jsx = r, Gt.jsxs = r, Gt;
17
17
  }
18
18
  var Xt = {};
19
- var _i;
19
+ var Bi;
20
20
  function Aa() {
21
- return _i || (_i = 1, process.env.NODE_ENV !== "production" && (function() {
21
+ return Bi || (Bi = 1, process.env.NODE_ENV !== "production" && (function() {
22
22
  var t = rr, e = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.portal"), i = /* @__PURE__ */ Symbol.for("react.fragment"), s = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), r = /* @__PURE__ */ Symbol.for("react.provider"), a = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), u = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), d = /* @__PURE__ */ Symbol.for("react.lazy"), p = /* @__PURE__ */ Symbol.for("react.offscreen"), m = Symbol.iterator, x = "@@iterator";
23
23
  function T(f) {
24
24
  if (f === null || typeof f != "object")
@@ -108,18 +108,18 @@ function Aa() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var ct = Object.assign, vt = 0, $e, W, G, ut, pt, fe, bi;
112
- function wi() {
111
+ var ct = Object.assign, vt = 0, $e, W, G, ut, pt, fe, xi;
112
+ function bi() {
113
113
  }
114
- wi.__reactDisabledLog = !0;
114
+ bi.__reactDisabledLog = !0;
115
115
  function Yo() {
116
116
  {
117
117
  if (vt === 0) {
118
- $e = console.log, W = console.info, G = console.warn, ut = console.error, pt = console.group, fe = console.groupCollapsed, bi = console.groupEnd;
118
+ $e = console.log, W = console.info, G = console.warn, ut = console.error, pt = console.group, fe = console.groupCollapsed, xi = console.groupEnd;
119
119
  var f = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: wi,
122
+ value: bi,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -163,7 +163,7 @@ function Aa() {
163
163
  value: fe
164
164
  }),
165
165
  groupEnd: ct({}, f, {
166
- value: bi
166
+ value: xi
167
167
  })
168
168
  });
169
169
  }
@@ -189,7 +189,7 @@ function Aa() {
189
189
  var Go = typeof WeakMap == "function" ? WeakMap : Map;
190
190
  de = new Go();
191
191
  }
192
- function Pi(f, g) {
192
+ function wi(f, g) {
193
193
  if (!f || Ye)
194
194
  return "";
195
195
  {
@@ -261,7 +261,7 @@ function Aa() {
261
261
  return typeof f == "function" && de.set(f, St), St;
262
262
  }
263
263
  function Xo(f, g, w) {
264
- return Pi(f, !1);
264
+ return wi(f, !1);
265
265
  }
266
266
  function qo(f) {
267
267
  var g = f.prototype;
@@ -271,7 +271,7 @@ function Aa() {
271
271
  if (f == null)
272
272
  return "";
273
273
  if (typeof f == "function")
274
- return Pi(f, qo(f));
274
+ return wi(f, qo(f));
275
275
  if (typeof f == "string")
276
276
  return he(f);
277
277
  switch (f) {
@@ -296,13 +296,13 @@ function Aa() {
296
296
  }
297
297
  return "";
298
298
  }
299
- var Ht = Object.prototype.hasOwnProperty, Si = {}, Ei = y.ReactDebugCurrentFrame;
299
+ var Ht = Object.prototype.hasOwnProperty, Pi = {}, Si = y.ReactDebugCurrentFrame;
300
300
  function me(f) {
301
301
  if (f) {
302
302
  var g = f._owner, w = pe(f.type, f._source, g ? g.type : null);
303
- Ei.setExtraStackFrame(w);
303
+ Si.setExtraStackFrame(w);
304
304
  } else
305
- Ei.setExtraStackFrame(null);
305
+ Si.setExtraStackFrame(null);
306
306
  }
307
307
  function Zo(f, g, w, C, L) {
308
308
  {
@@ -319,7 +319,7 @@ function Aa() {
319
319
  } catch (N) {
320
320
  V = N;
321
321
  }
322
- V && !(V instanceof Error) && (me(L), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", C || "React class", w, M, typeof V), me(null)), V instanceof Error && !(V.message in Si) && (Si[V.message] = !0, me(L), v("Failed %s type: %s", w, V.message), me(null));
322
+ V && !(V instanceof Error) && (me(L), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", C || "React class", w, M, typeof V), me(null)), V instanceof Error && !(V.message in Pi) && (Pi[V.message] = !0, me(L), v("Failed %s type: %s", w, V.message), me(null));
323
323
  }
324
324
  }
325
325
  }
@@ -335,24 +335,24 @@ function Aa() {
335
335
  }
336
336
  function ta(f) {
337
337
  try {
338
- return Ai(f), !1;
338
+ return Ei(f), !1;
339
339
  } catch {
340
340
  return !0;
341
341
  }
342
342
  }
343
- function Ai(f) {
343
+ function Ei(f) {
344
344
  return "" + f;
345
345
  }
346
- function Ci(f) {
346
+ function Ai(f) {
347
347
  if (ta(f))
348
- return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qo(f)), Ai(f);
348
+ return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qo(f)), Ei(f);
349
349
  }
350
- var Vi = y.ReactCurrentOwner, ea = {
350
+ var Ci = y.ReactCurrentOwner, ea = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, Ri, Di;
355
+ }, Vi, Ri;
356
356
  function na(f) {
357
357
  if (Ht.call(f, "ref")) {
358
358
  var g = Object.getOwnPropertyDescriptor(f, "ref").get;
@@ -370,12 +370,12 @@ function Aa() {
370
370
  return f.key !== void 0;
371
371
  }
372
372
  function sa(f, g) {
373
- typeof f.ref == "string" && Vi.current;
373
+ typeof f.ref == "string" && Ci.current;
374
374
  }
375
375
  function ra(f, g) {
376
376
  {
377
377
  var w = function() {
378
- Ri || (Ri = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
378
+ Vi || (Vi = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
379
379
  };
380
380
  w.isReactWarning = !0, Object.defineProperty(f, "key", {
381
381
  get: w,
@@ -386,7 +386,7 @@ function Aa() {
386
386
  function oa(f, g) {
387
387
  {
388
388
  var w = function() {
389
- Di || (Di = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
389
+ Ri || (Ri = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
390
390
  };
391
391
  w.isReactWarning = !0, Object.defineProperty(f, "ref", {
392
392
  get: w,
@@ -426,7 +426,7 @@ function Aa() {
426
426
  function la(f, g, w, C, L) {
427
427
  {
428
428
  var j, M = {}, V = null, X = null;
429
- w !== void 0 && (Ci(w), V = "" + w), ia(g) && (Ci(g.key), V = "" + g.key), na(g) && (X = g.ref, sa(g, L));
429
+ w !== void 0 && (Ai(w), V = "" + w), ia(g) && (Ai(g.key), V = "" + g.key), na(g) && (X = g.ref, sa(g, L));
430
430
  for (j in g)
431
431
  Ht.call(g, j) && !ea.hasOwnProperty(j) && (M[j] = g[j]);
432
432
  if (f && f.defaultProps) {
@@ -438,23 +438,23 @@ function Aa() {
438
438
  var U = typeof f == "function" ? f.displayName || f.name || "Unknown" : f;
439
439
  V && ra(M, U), X && oa(M, U);
440
440
  }
441
- return aa(f, V, X, L, C, Vi.current, M);
441
+ return aa(f, V, X, L, C, Ci.current, M);
442
442
  }
443
443
  }
444
- var Ge = y.ReactCurrentOwner, Mi = y.ReactDebugCurrentFrame;
444
+ var Ge = y.ReactCurrentOwner, Di = y.ReactDebugCurrentFrame;
445
445
  function Mt(f) {
446
446
  if (f) {
447
447
  var g = f._owner, w = pe(f.type, f._source, g ? g.type : null);
448
- Mi.setExtraStackFrame(w);
448
+ Di.setExtraStackFrame(w);
449
449
  } else
450
- Mi.setExtraStackFrame(null);
450
+ Di.setExtraStackFrame(null);
451
451
  }
452
452
  var Xe;
453
453
  Xe = !1;
454
454
  function qe(f) {
455
455
  return typeof f == "object" && f !== null && f.$$typeof === e;
456
456
  }
457
- function ki() {
457
+ function Mi() {
458
458
  {
459
459
  if (Ge.current) {
460
460
  var f = tt(Ge.current.type);
@@ -469,10 +469,10 @@ Check the render method of \`` + f + "`.";
469
469
  function ca(f) {
470
470
  return "";
471
471
  }
472
- var Li = {};
472
+ var ki = {};
473
473
  function ua(f) {
474
474
  {
475
- var g = ki();
475
+ var g = Mi();
476
476
  if (!g) {
477
477
  var w = typeof f == "string" ? f : f.displayName || f.name;
478
478
  w && (g = `
@@ -482,27 +482,27 @@ Check the top-level render call using <` + w + ">.");
482
482
  return g;
483
483
  }
484
484
  }
485
- function ji(f, g) {
485
+ function Li(f, g) {
486
486
  {
487
487
  if (!f._store || f._store.validated || f.key != null)
488
488
  return;
489
489
  f._store.validated = !0;
490
490
  var w = ua(g);
491
- if (Li[w])
491
+ if (ki[w])
492
492
  return;
493
- Li[w] = !0;
493
+ ki[w] = !0;
494
494
  var C = "";
495
495
  f && f._owner && f._owner !== Ge.current && (C = " It was passed a child from " + tt(f._owner.type) + "."), Mt(f), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, C), Mt(null);
496
496
  }
497
497
  }
498
- function Oi(f, g) {
498
+ function ji(f, g) {
499
499
  {
500
500
  if (typeof f != "object")
501
501
  return;
502
502
  if (He(f))
503
503
  for (var w = 0; w < f.length; w++) {
504
504
  var C = f[w];
505
- qe(C) && ji(C, g);
505
+ qe(C) && Li(C, g);
506
506
  }
507
507
  else if (qe(f))
508
508
  f._store && (f._store.validated = !0);
@@ -510,7 +510,7 @@ Check the top-level render call using <` + w + ">.");
510
510
  var L = T(f);
511
511
  if (typeof L == "function" && L !== f.entries)
512
512
  for (var j = L.call(f), M; !(M = j.next()).done; )
513
- qe(M.value) && ji(M.value, g);
513
+ qe(M.value) && Li(M.value, g);
514
514
  }
515
515
  }
516
516
  }
@@ -551,15 +551,15 @@ Check the top-level render call using <` + w + ">.");
551
551
  f.ref !== null && (Mt(f), v("Invalid attribute `ref` supplied to `React.Fragment`."), Mt(null));
552
552
  }
553
553
  }
554
- var Fi = {};
555
- function Ii(f, g, w, C, L, j) {
554
+ var Oi = {};
555
+ function Fi(f, g, w, C, L, j) {
556
556
  {
557
557
  var M = _(f);
558
558
  if (!M) {
559
559
  var V = "";
560
560
  (f === void 0 || typeof f == "object" && f !== null && Object.keys(f).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
561
  var X = ca();
562
- X ? V += X : V += ki();
562
+ X ? V += X : V += Mi();
563
563
  var N;
564
564
  f === null ? N = "null" : He(f) ? N = "array" : f !== void 0 && f.$$typeof === e ? (N = "<" + (tt(f.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : N = typeof f, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, V);
565
565
  }
@@ -572,52 +572,105 @@ Check the top-level render call using <` + w + ">.");
572
572
  if (C)
573
573
  if (He(et)) {
574
574
  for (var kt = 0; kt < et.length; kt++)
575
- Oi(et[kt], f);
575
+ ji(et[kt], f);
576
576
  Object.freeze && Object.freeze(et);
577
577
  } else
578
578
  v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
579
579
  else
580
- Oi(et, f);
580
+ ji(et, f);
581
581
  }
582
582
  if (Ht.call(g, "key")) {
583
583
  var St = tt(f), J = Object.keys(g).filter(function(va) {
584
584
  return va !== "key";
585
585
  }), Ze = J.length > 0 ? "{key: someKey, " + J.join(": ..., ") + ": ...}" : "{key: someKey}";
586
- if (!Fi[St + Ze]) {
586
+ if (!Oi[St + Ze]) {
587
587
  var ya = J.length > 0 ? "{" + J.join(": ..., ") + ": ...}" : "{}";
588
588
  v(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
591
591
  React keys must be passed directly to JSX without using spread:
592
592
  let props = %s;
593
- <%s key={someKey} {...props} />`, Ze, St, ya, St), Fi[St + Ze] = !0;
593
+ <%s key={someKey} {...props} />`, Ze, St, ya, St), Oi[St + Ze] = !0;
594
594
  }
595
595
  }
596
596
  return f === i ? ha(U) : fa(U), U;
597
597
  }
598
598
  }
599
599
  function da(f, g, w) {
600
- return Ii(f, g, w, !0);
600
+ return Fi(f, g, w, !0);
601
601
  }
602
602
  function pa(f, g, w) {
603
- return Ii(f, g, w, !1);
603
+ return Fi(f, g, w, !1);
604
604
  }
605
605
  var ma = pa, ga = da;
606
606
  Xt.Fragment = i, Xt.jsx = ma, Xt.jsxs = ga;
607
607
  })()), Xt;
608
608
  }
609
- var Ni;
609
+ var _i;
610
610
  function Ca() {
611
- return Ni || (Ni = 1, process.env.NODE_ENV === "production" ? ge.exports = Ea() : ge.exports = Aa()), ge.exports;
611
+ return _i || (_i = 1, process.env.NODE_ENV === "production" ? ge.exports = Ea() : ge.exports = Aa()), ge.exports;
612
612
  }
613
613
  var D = Ca();
614
- const $n = Ut({});
615
- function Kn(t) {
614
+ const Oh = ({ cards: t = [] }) => {
615
+ const [e, n] = ee(0), [i, s] = ee(!1);
616
+ if (!t || t.length === 0)
617
+ return /* @__PURE__ */ D.jsx("div", { className: "flashcard-deck-container", children: /* @__PURE__ */ D.jsx("p", { className: "flashcard-empty-message", children: "No cards available" }) });
618
+ const o = t[e], r = e > 0, a = e < t.length - 1, l = () => {
619
+ r && (n(e - 1), s(!1));
620
+ }, u = () => {
621
+ a && (n(e + 1), s(!1));
622
+ }, c = () => {
623
+ s(!i);
624
+ };
625
+ return /* @__PURE__ */ D.jsxs("div", { className: "flashcard-deck-container", children: [
626
+ /* @__PURE__ */ D.jsx("div", { className: "flashcard-deck-header", children: /* @__PURE__ */ D.jsxs("span", { className: "flashcard-counter", children: [
627
+ "Card ",
628
+ e + 1,
629
+ " of ",
630
+ t.length
631
+ ] }) }),
632
+ /* @__PURE__ */ D.jsx("div", { className: "flashcard-wrapper", children: /* @__PURE__ */ D.jsxs(
633
+ "div",
634
+ {
635
+ className: `flashcard ${i ? "flashcard--flipped" : ""}`,
636
+ onClick: c,
637
+ children: [
638
+ /* @__PURE__ */ D.jsx("div", { className: "flashcard-face flashcard-front", children: /* @__PURE__ */ D.jsx("div", { className: "flashcard-content", children: o.front }) }),
639
+ /* @__PURE__ */ D.jsx("div", { className: "flashcard-face flashcard-back", children: /* @__PURE__ */ D.jsx("div", { className: "flashcard-content", children: o.back }) })
640
+ ]
641
+ },
642
+ e
643
+ ) }),
644
+ /* @__PURE__ */ D.jsxs("div", { className: "flashcard-controls", children: [
645
+ /* @__PURE__ */ D.jsx(
646
+ "button",
647
+ {
648
+ className: "flashcard-button flashcard-button-previous",
649
+ onClick: l,
650
+ disabled: !r,
651
+ "aria-label": "Previous card",
652
+ children: "Previous"
653
+ }
654
+ ),
655
+ /* @__PURE__ */ D.jsx(
656
+ "button",
657
+ {
658
+ className: "flashcard-button flashcard-button-next",
659
+ onClick: u,
660
+ disabled: !a,
661
+ "aria-label": "Next card",
662
+ children: "Next"
663
+ }
664
+ )
665
+ ] })
666
+ ] });
667
+ }, Un = Ut({});
668
+ function $n(t) {
616
669
  const e = nt(null);
617
670
  return e.current === null && (e.current = t()), e.current;
618
671
  }
619
- const ar = typeof window < "u", lr = ar ? Ta : Wn, _e = /* @__PURE__ */ Ut(null);
620
- function zn(t, e) {
672
+ const ar = typeof window < "u", lr = ar ? Ta : Nn, _e = /* @__PURE__ */ Ut(null);
673
+ function Kn(t, e) {
621
674
  t.indexOf(e) === -1 && t.push(e);
622
675
  }
623
676
  function Re(t, e) {
@@ -643,7 +696,7 @@ function ur(t) {
643
696
  }
644
697
  const fr = (t) => /^0[^.\s]+$/u.test(t);
645
698
  // @__NO_SIDE_EFFECTS__
646
- function Yn(t) {
699
+ function zn(t) {
647
700
  let e;
648
701
  return () => (e === void 0 && (e = t()), e);
649
702
  }
@@ -651,12 +704,12 @@ const st = /* @__NO_SIDE_EFFECTS__ */ (t) => t, Va = (t, e) => (n) => e(t(n)), a
651
704
  const i = e - t;
652
705
  return i === 0 ? 1 : (n - t) / i;
653
706
  };
654
- class Hn {
707
+ class Yn {
655
708
  constructor() {
656
709
  this.subscriptions = [];
657
710
  }
658
711
  add(e) {
659
- return zn(this.subscriptions, e), () => Re(this.subscriptions, e);
712
+ return Kn(this.subscriptions, e), () => Re(this.subscriptions, e);
660
713
  }
661
714
  notify(e, n, i) {
662
715
  const s = this.subscriptions.length;
@@ -680,9 +733,9 @@ const rt = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, it = /* @__NO_SIDE_EFFECTS
680
733
  function hr(t, e) {
681
734
  return e ? t * (1e3 / e) : 0;
682
735
  }
683
- const Wi = /* @__PURE__ */ new Set();
684
- function Gn(t, e, n) {
685
- t || Wi.has(e) || (console.warn(gn(e, n)), Wi.add(e));
736
+ const Ni = /* @__PURE__ */ new Set();
737
+ function Hn(t, e, n) {
738
+ t || Ni.has(e) || (console.warn(gn(e, n)), Ni.add(e));
686
739
  }
687
740
  const dr = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, Ra = 1e-7, Da = 12;
688
741
  function Ma(t, e, n, i, s) {
@@ -698,25 +751,25 @@ function le(t, e, n, i) {
698
751
  const s = (o) => Ma(o, 0, 1, t, n);
699
752
  return (o) => o === 0 || o === 1 ? o : dr(s(o), e, i);
700
753
  }
701
- const pr = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, mr = (t) => (e) => 1 - t(1 - e), gr = /* @__PURE__ */ le(0.33, 1.53, 0.69, 0.99), Xn = /* @__PURE__ */ mr(gr), yr = /* @__PURE__ */ pr(Xn), vr = (t) => (t *= 2) < 1 ? 0.5 * Xn(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), qn = (t) => 1 - Math.sin(Math.acos(t)), Tr = mr(qn), xr = pr(qn), ka = /* @__PURE__ */ le(0.42, 0, 1, 1), La = /* @__PURE__ */ le(0, 0, 0.58, 1), br = /* @__PURE__ */ le(0.42, 0, 0.58, 1), ja = (t) => Array.isArray(t) && typeof t[0] != "number", wr = (t) => Array.isArray(t) && typeof t[0] == "number", Ui = {
754
+ const pr = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, mr = (t) => (e) => 1 - t(1 - e), gr = /* @__PURE__ */ le(0.33, 1.53, 0.69, 0.99), Gn = /* @__PURE__ */ mr(gr), yr = /* @__PURE__ */ pr(Gn), vr = (t) => (t *= 2) < 1 ? 0.5 * Gn(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), Xn = (t) => 1 - Math.sin(Math.acos(t)), Tr = mr(Xn), xr = pr(Xn), ka = /* @__PURE__ */ le(0.42, 0, 1, 1), La = /* @__PURE__ */ le(0, 0, 0.58, 1), br = /* @__PURE__ */ le(0.42, 0, 0.58, 1), ja = (t) => Array.isArray(t) && typeof t[0] != "number", wr = (t) => Array.isArray(t) && typeof t[0] == "number", Wi = {
702
755
  linear: st,
703
756
  easeIn: ka,
704
757
  easeInOut: br,
705
758
  easeOut: La,
706
- circIn: qn,
759
+ circIn: Xn,
707
760
  circInOut: xr,
708
761
  circOut: Tr,
709
- backIn: Xn,
762
+ backIn: Gn,
710
763
  backInOut: yr,
711
764
  backOut: gr,
712
765
  anticipate: vr
713
- }, Oa = (t) => typeof t == "string", $i = (t) => {
766
+ }, Oa = (t) => typeof t == "string", Ui = (t) => {
714
767
  if (wr(t)) {
715
768
  mt(t.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
716
769
  const [e, n, i, s] = t;
717
770
  return le(e, n, i, s);
718
771
  } else if (Oa(t))
719
- return mt(Ui[t] !== void 0, `Invalid easing type '${t}'`, "invalid-easing-type"), Ui[t];
772
+ return mt(Wi[t] !== void 0, `Invalid easing type '${t}'`, "invalid-easing-type"), Wi[t];
720
773
  return t;
721
774
  }, ye = [
722
775
  "setup",
@@ -805,8 +858,8 @@ const q = {
805
858
  set: (t) => {
806
859
  be = t, queueMicrotask(Ba);
807
860
  }
808
- }, Sr = (t) => (e) => typeof e == "string" && e.startsWith(t), Er = /* @__PURE__ */ Sr("--"), _a = /* @__PURE__ */ Sr("var(--"), Zn = (t) => _a(t) ? Na.test(t.split("/*")[0].trim()) : !1, Na = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
809
- function Ki(t) {
861
+ }, Sr = (t) => (e) => typeof e == "string" && e.startsWith(t), Er = /* @__PURE__ */ Sr("--"), _a = /* @__PURE__ */ Sr("var(--"), qn = (t) => _a(t) ? Na.test(t.split("/*")[0].trim()) : !1, Na = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
862
+ function $i(t) {
810
863
  return typeof t != "string" ? !1 : t.split("/*")[0].includes("var(--");
811
864
  }
812
865
  const Kt = {
@@ -819,14 +872,14 @@ const Kt = {
819
872
  }, ve = {
820
873
  ...Kt,
821
874
  default: 1
822
- }, Jt = (t) => Math.round(t * 1e5) / 1e5, Jn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
875
+ }, Jt = (t) => Math.round(t * 1e5) / 1e5, Zn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
823
876
  function Wa(t) {
824
877
  return t == null;
825
878
  }
826
- const Ua = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Qn = (t, e) => (n) => !!(typeof n == "string" && Ua.test(n) && n.startsWith(t) || e && !Wa(n) && Object.prototype.hasOwnProperty.call(n, e)), Ar = (t, e, n) => (i) => {
879
+ const Ua = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Jn = (t, e) => (n) => !!(typeof n == "string" && Ua.test(n) && n.startsWith(t) || e && !Wa(n) && Object.prototype.hasOwnProperty.call(n, e)), Ar = (t, e, n) => (i) => {
827
880
  if (typeof i != "string")
828
881
  return i;
829
- const [s, o, r, a] = i.match(Jn);
882
+ const [s, o, r, a] = i.match(Zn);
830
883
  return {
831
884
  [t]: parseFloat(s),
832
885
  [e]: parseFloat(o),
@@ -837,7 +890,7 @@ const Ua = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
837
890
  ...Kt,
838
891
  transform: (t) => Math.round($a(t))
839
892
  }, Ct = {
840
- test: /* @__PURE__ */ Qn("rgb", "red"),
893
+ test: /* @__PURE__ */ Jn("rgb", "red"),
841
894
  parse: /* @__PURE__ */ Ar("red", "green", "blue"),
842
895
  transform: ({ red: t, green: e, blue: n, alpha: i = 1 }) => "rgba(" + Qe.transform(t) + ", " + Qe.transform(e) + ", " + Qe.transform(n) + ", " + Jt(ie.transform(i)) + ")"
843
896
  };
@@ -851,19 +904,19 @@ function Ka(t) {
851
904
  };
852
905
  }
853
906
  const yn = {
854
- test: /* @__PURE__ */ Qn("#"),
907
+ test: /* @__PURE__ */ Jn("#"),
855
908
  parse: Ka,
856
909
  transform: Ct.transform
857
910
  }, ce = /* @__NO_SIDE_EFFECTS__ */ (t) => ({
858
911
  test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
859
912
  parse: parseFloat,
860
913
  transform: (e) => `${e}${t}`
861
- }), Tt = /* @__PURE__ */ ce("deg"), ht = /* @__PURE__ */ ce("%"), P = /* @__PURE__ */ ce("px"), za = /* @__PURE__ */ ce("vh"), Ya = /* @__PURE__ */ ce("vw"), zi = {
914
+ }), Tt = /* @__PURE__ */ ce("deg"), ht = /* @__PURE__ */ ce("%"), P = /* @__PURE__ */ ce("px"), za = /* @__PURE__ */ ce("vh"), Ya = /* @__PURE__ */ ce("vw"), Ki = {
862
915
  ...ht,
863
916
  parse: (t) => ht.parse(t) / 100,
864
917
  transform: (t) => ht.transform(t * 100)
865
918
  }, jt = {
866
- test: /* @__PURE__ */ Qn("hsl", "hue"),
919
+ test: /* @__PURE__ */ Jn("hsl", "hue"),
867
920
  parse: /* @__PURE__ */ Ar("hue", "saturation", "lightness"),
868
921
  transform: ({ hue: t, saturation: e, lightness: n, alpha: i = 1 }) => "hsla(" + Math.round(t) + ", " + ht.transform(Jt(e)) + ", " + ht.transform(Jt(n)) + ", " + Jt(ie.transform(i)) + ")"
869
922
  }, $ = {
@@ -876,9 +929,9 @@ const yn = {
876
929
  }
877
930
  }, Ha = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
878
931
  function Ga(t) {
879
- return isNaN(t) && typeof t == "string" && (t.match(Jn)?.length || 0) + (t.match(Ha)?.length || 0) > 0;
932
+ return isNaN(t) && typeof t == "string" && (t.match(Zn)?.length || 0) + (t.match(Ha)?.length || 0) > 0;
880
933
  }
881
- const Cr = "number", Vr = "color", Xa = "var", qa = "var(", Yi = "${}", Za = /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;
934
+ const Cr = "number", Vr = "color", Xa = "var", qa = "var(", zi = "${}", Za = /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;
882
935
  function se(t) {
883
936
  const e = t.toString(), n = [], i = {
884
937
  color: [],
@@ -886,7 +939,7 @@ function se(t) {
886
939
  var: []
887
940
  }, s = [];
888
941
  let o = 0;
889
- const a = e.replace(Za, (l) => ($.test(l) ? (i.color.push(o), s.push(Vr), n.push($.parse(l))) : l.startsWith(qa) ? (i.var.push(o), s.push(Xa), n.push(l)) : (i.number.push(o), s.push(Cr), n.push(parseFloat(l))), ++o, Yi)).split(Yi);
942
+ const a = e.replace(Za, (l) => ($.test(l) ? (i.color.push(o), s.push(Vr), n.push($.parse(l))) : l.startsWith(qa) ? (i.var.push(o), s.push(Xa), n.push(l)) : (i.number.push(o), s.push(Cr), n.push(parseFloat(l))), ++o, zi)).split(zi);
890
943
  return { values: n, split: a, indexes: i, types: s };
891
944
  }
892
945
  function Rr(t) {
@@ -941,15 +994,15 @@ const B = (t, e, n) => t + (e - t) * n, en = (t, e, n) => {
941
994
  const i = t * t, s = n * (e * e - i) + i;
942
995
  return s < 0 ? 0 : Math.sqrt(s);
943
996
  }, el = [yn, Ct, jt], nl = (t) => el.find((e) => e.test(t));
944
- function Hi(t) {
997
+ function Yi(t) {
945
998
  const e = nl(t);
946
999
  if ($t(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !e)
947
1000
  return !1;
948
1001
  let n = e.parse(t);
949
1002
  return e === jt && (n = tl(n)), n;
950
1003
  }
951
- const Gi = (t, e) => {
952
- const n = Hi(t), i = Hi(e);
1004
+ const Hi = (t, e) => {
1005
+ const n = Yi(t), i = Yi(e);
953
1006
  if (!n || !i)
954
1007
  return De(t, e);
955
1008
  const s = { ...n };
@@ -961,11 +1014,11 @@ function il(t, e) {
961
1014
  function sl(t, e) {
962
1015
  return (n) => B(t, e, n);
963
1016
  }
964
- function ti(t) {
965
- return typeof t == "number" ? sl : typeof t == "string" ? Zn(t) ? De : $.test(t) ? Gi : al : Array.isArray(t) ? Mr : typeof t == "object" ? $.test(t) ? Gi : rl : De;
1017
+ function Qn(t) {
1018
+ return typeof t == "number" ? sl : typeof t == "string" ? qn(t) ? De : $.test(t) ? Hi : al : Array.isArray(t) ? Mr : typeof t == "object" ? $.test(t) ? Hi : rl : De;
966
1019
  }
967
1020
  function Mr(t, e) {
968
- const n = [...t], i = n.length, s = t.map((o, r) => ti(o)(o, e[r]));
1021
+ const n = [...t], i = n.length, s = t.map((o, r) => Qn(o)(o, e[r]));
969
1022
  return (o) => {
970
1023
  for (let r = 0; r < i; r++)
971
1024
  n[r] = s[r](o);
@@ -975,7 +1028,7 @@ function Mr(t, e) {
975
1028
  function rl(t, e) {
976
1029
  const n = { ...t, ...e }, i = {};
977
1030
  for (const s in n)
978
- t[s] !== void 0 && e[s] !== void 0 && (i[s] = ti(t[s])(t[s], e[s]));
1031
+ t[s] !== void 0 && e[s] !== void 0 && (i[s] = Qn(t[s])(t[s], e[s]));
979
1032
  return (s) => {
980
1033
  for (const o in i)
981
1034
  n[o] = i[o](s);
@@ -995,7 +1048,7 @@ const al = (t, e) => {
995
1048
  return i.indexes.var.length === s.indexes.var.length && i.indexes.color.length === s.indexes.color.length && i.indexes.number.length >= s.indexes.number.length ? vn.has(t) && !s.values.length || vn.has(e) && !i.values.length ? il(t, e) : ae(Mr(ol(i, s), s.values), n) : ($t(!0, `Complex values '${t}' and '${e}' 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"), De(t, e));
996
1049
  };
997
1050
  function kr(t, e, n) {
998
- return typeof t == "number" && typeof e == "number" && typeof n == "number" ? B(t, e, n) : ti(t)(t, e);
1051
+ return typeof t == "number" && typeof e == "number" && typeof n == "number" ? B(t, e, n) : Qn(t)(t, e);
999
1052
  }
1000
1053
  const ll = (t) => {
1001
1054
  const e = ({ timestamp: n }) => t(n);
@@ -1015,7 +1068,7 @@ const ll = (t) => {
1015
1068
  i += Math.round(t(o / (s - 1)) * 1e4) / 1e4 + ", ";
1016
1069
  return `linear(${i.substring(0, i.length - 2)})`;
1017
1070
  }, Me = 2e4;
1018
- function ei(t) {
1071
+ function ti(t) {
1019
1072
  let e = 0;
1020
1073
  const n = 50;
1021
1074
  let i = t.next(e);
@@ -1024,7 +1077,7 @@ function ei(t) {
1024
1077
  return e >= Me ? 1 / 0 : e;
1025
1078
  }
1026
1079
  function cl(t, e = 100, n) {
1027
- const i = n({ ...t, keyframes: [0, e] }), s = Math.min(ei(i), Me);
1080
+ const i = n({ ...t, keyframes: [0, e] }), s = Math.min(ti(i), Me);
1028
1081
  return {
1029
1082
  type: "keyframes",
1030
1083
  ease: (o) => i.next(s * o).value / e,
@@ -1109,7 +1162,7 @@ function Tn(t, e) {
1109
1162
  return t * Math.sqrt(1 - e * e);
1110
1163
  }
1111
1164
  const pl = ["duration", "bounce"], ml = ["stiffness", "damping", "mass"];
1112
- function Xi(t, e) {
1165
+ function Gi(t, e) {
1113
1166
  return e.some((n) => t[n] !== void 0);
1114
1167
  }
1115
1168
  function gl(t) {
@@ -1121,7 +1174,7 @@ function gl(t) {
1121
1174
  isResolvedFromDuration: !1,
1122
1175
  ...t
1123
1176
  };
1124
- if (!Xi(t, ml) && Xi(t, pl))
1177
+ if (!Gi(t, ml) && Gi(t, pl))
1125
1178
  if (t.visualDuration) {
1126
1179
  const n = t.visualDuration, i = 2 * Math.PI / (n * 1.2), s = i * i, o = 2 * dt(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(s);
1127
1180
  e = {
@@ -1183,7 +1236,7 @@ function ke(t = I.visualDuration, e = I.bounce) {
1183
1236
  return a.value = a.done ? r : k, a;
1184
1237
  },
1185
1238
  toString: () => {
1186
- const S = Math.min(ei(E), Me), k = Lr((F) => E.next(S * F).value, S, 30);
1239
+ const S = Math.min(ti(E), Me), k = Lr((F) => E.next(S * F).value, S, 30);
1187
1240
  return S + "ms " + k;
1188
1241
  },
1189
1242
  toTransition: () => {
@@ -1277,7 +1330,7 @@ function wl(t, e) {
1277
1330
  return t.map(() => e || br).splice(0, t.length - 1);
1278
1331
  }
1279
1332
  function Ot({ duration: t = 300, keyframes: e, times: n, ease: i = "easeInOut" }) {
1280
- const s = ja(i) ? i.map($i) : $i(i), o = {
1333
+ const s = ja(i) ? i.map(Ui) : Ui(i), o = {
1281
1334
  done: !1,
1282
1335
  value: e[0]
1283
1336
  }, r = bl(
@@ -1294,7 +1347,7 @@ function Ot({ duration: t = 300, keyframes: e, times: n, ease: i = "easeInOut" }
1294
1347
  };
1295
1348
  }
1296
1349
  const Pl = (t) => t !== null;
1297
- function ni(t, { repeat: e, repeatType: n = "loop" }, i, s = 1) {
1350
+ function ei(t, { repeat: e, repeatType: n = "loop" }, i, s = 1) {
1298
1351
  const o = t.filter(Pl), a = s < 0 || e && n !== "loop" && e % 2 === 1 ? 0 : o.length - 1;
1299
1352
  return !a || i === void 0 ? o[a] : i;
1300
1353
  }
@@ -1308,7 +1361,7 @@ const Sl = {
1308
1361
  function Or(t) {
1309
1362
  typeof t.type == "string" && (t.type = Sl[t.type]);
1310
1363
  }
1311
- class ii {
1364
+ class ni {
1312
1365
  constructor() {
1313
1366
  this.updateFinished();
1314
1367
  }
@@ -1333,7 +1386,7 @@ class ii {
1333
1386
  }
1334
1387
  }
1335
1388
  const El = (t) => t / 100;
1336
- class si extends ii {
1389
+ class ii extends ni {
1337
1390
  constructor(e) {
1338
1391
  super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
1339
1392
  const { motionValue: n } = this.options;
@@ -1352,7 +1405,7 @@ class si extends ii {
1352
1405
  ...e,
1353
1406
  keyframes: [...a].reverse(),
1354
1407
  velocity: -r
1355
- })), u.calculatedDuration === null && (u.calculatedDuration = ei(u));
1408
+ })), u.calculatedDuration === null && (u.calculatedDuration = ti(u));
1356
1409
  const { calculatedDuration: c } = u;
1357
1410
  this.calculatedDuration = c, this.resolvedDuration = c + s, this.totalDuration = this.resolvedDuration * (i + 1) - s, this.generator = u;
1358
1411
  }
@@ -1379,7 +1432,7 @@ class si extends ii {
1379
1432
  let { done: k } = S;
1380
1433
  !v && l !== null && (k = this.playbackSpeed >= 0 ? this.currentTime >= s : this.currentTime <= 0);
1381
1434
  const F = this.holdTime === null && (this.state === "finished" || this.state === "running" && k);
1382
- return F && m !== xn && (S.value = ni(c, this.options, T, this.speed)), x && x(S.value), F && this.finish(), S;
1435
+ return F && m !== xn && (S.value = ei(c, this.options, T, this.speed)), x && x(S.value), F && this.finish(), S;
1383
1436
  }
1384
1437
  /**
1385
1438
  * Allows the returned animation to be awaited or promise-chained. Currently
@@ -1463,20 +1516,20 @@ const Vt = (t) => t * 180 / Math.PI, bn = (t) => {
1463
1516
  skewX: (t) => Vt(Math.atan(t[1])),
1464
1517
  skewY: (t) => Vt(Math.atan(t[2])),
1465
1518
  skew: (t) => (Math.abs(t[1]) + Math.abs(t[2])) / 2
1466
- }, wn = (t) => (t = t % 360, t < 0 && (t += 360), t), qi = bn, Zi = (t) => Math.sqrt(t[0] * t[0] + t[1] * t[1]), Ji = (t) => Math.sqrt(t[4] * t[4] + t[5] * t[5]), Vl = {
1519
+ }, wn = (t) => (t = t % 360, t < 0 && (t += 360), t), Xi = bn, qi = (t) => Math.sqrt(t[0] * t[0] + t[1] * t[1]), Zi = (t) => Math.sqrt(t[4] * t[4] + t[5] * t[5]), Vl = {
1467
1520
  x: 12,
1468
1521
  y: 13,
1469
1522
  z: 14,
1470
1523
  translateX: 12,
1471
1524
  translateY: 13,
1472
1525
  translateZ: 14,
1473
- scaleX: Zi,
1474
- scaleY: Ji,
1475
- scale: (t) => (Zi(t) + Ji(t)) / 2,
1526
+ scaleX: qi,
1527
+ scaleY: Zi,
1528
+ scale: (t) => (qi(t) + Zi(t)) / 2,
1476
1529
  rotateX: (t) => wn(Vt(Math.atan2(t[6], t[5]))),
1477
1530
  rotateY: (t) => wn(Vt(Math.atan2(-t[2], t[0]))),
1478
- rotateZ: qi,
1479
- rotate: qi,
1531
+ rotateZ: Xi,
1532
+ rotate: Xi,
1480
1533
  skewX: (t) => Vt(Math.atan(t[4])),
1481
1534
  skewY: (t) => Vt(Math.atan(t[1])),
1482
1535
  skew: (t) => (Math.abs(t[1]) + Math.abs(t[4])) / 2
@@ -1525,7 +1578,7 @@ const zt = [
1525
1578
  "skew",
1526
1579
  "skewX",
1527
1580
  "skewY"
1528
- ], Yt = new Set(zt), Qi = (t) => t === Kt || t === P, Ml = /* @__PURE__ */ new Set(["x", "y", "z"]), kl = zt.filter((t) => !Ml.has(t));
1581
+ ], Yt = new Set(zt), Ji = (t) => t === Kt || t === P, Ml = /* @__PURE__ */ new Set(["x", "y", "z"]), kl = zt.filter((t) => !Ml.has(t));
1529
1582
  function Ll(t) {
1530
1583
  const e = [];
1531
1584
  return kl.forEach((n) => {
@@ -1575,7 +1628,7 @@ function Ir() {
1575
1628
  function jl() {
1576
1629
  Cn = !0, Ir(), Fr(), Cn = !1;
1577
1630
  }
1578
- class ri {
1631
+ class si {
1579
1632
  constructor(e, n, i, s, o, r = !1) {
1580
1633
  this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = n, this.name = i, this.motionValue = s, this.element = o, this.isAsync = r;
1581
1634
  }
@@ -1618,9 +1671,9 @@ const Ol = (t) => t.startsWith("--");
1618
1671
  function Fl(t, e, n) {
1619
1672
  Ol(e) ? t.style.setProperty(e, n) : t.style[e] = n;
1620
1673
  }
1621
- const Il = /* @__PURE__ */ Yn(() => window.ScrollTimeline !== void 0), Bl = {};
1674
+ const Il = /* @__PURE__ */ zn(() => window.ScrollTimeline !== void 0), Bl = {};
1622
1675
  function _l(t, e) {
1623
- const n = /* @__PURE__ */ Yn(t);
1676
+ const n = /* @__PURE__ */ zn(t);
1624
1677
  return () => Bl[e] ?? n();
1625
1678
  }
1626
1679
  const Br = /* @__PURE__ */ _l(() => {
@@ -1630,7 +1683,7 @@ const Br = /* @__PURE__ */ _l(() => {
1630
1683
  return !1;
1631
1684
  }
1632
1685
  return !0;
1633
- }, "linearEasing"), Zt = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`, ts = {
1686
+ }, "linearEasing"), Zt = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`, Qi = {
1634
1687
  linear: "linear",
1635
1688
  ease: "ease",
1636
1689
  easeIn: "ease-in",
@@ -1643,7 +1696,7 @@ const Br = /* @__PURE__ */ _l(() => {
1643
1696
  };
1644
1697
  function _r(t, e) {
1645
1698
  if (t)
1646
- return typeof t == "function" ? Br() ? Lr(t, e) : "ease-out" : wr(t) ? Zt(t) : Array.isArray(t) ? t.map((n) => _r(n, e) || ts.easeOut) : ts[t];
1699
+ return typeof t == "function" ? Br() ? Lr(t, e) : "ease-out" : wr(t) ? Zt(t) : Array.isArray(t) ? t.map((n) => _r(n, e) || Qi.easeOut) : Qi[t];
1647
1700
  }
1648
1701
  function Nl(t, e, n, { delay: i = 0, duration: s = 300, repeat: o = 0, repeatType: r = "loop", ease: a = "easeOut", times: l } = {}, u = void 0) {
1649
1702
  const c = {
@@ -1668,7 +1721,7 @@ function Nr(t) {
1668
1721
  function Wl({ type: t, ...e }) {
1669
1722
  return Nr(t) && Br() ? t.applyToOptions(e) : (e.duration ?? (e.duration = 300), e.ease ?? (e.ease = "easeOut"), e);
1670
1723
  }
1671
- class Wr extends ii {
1724
+ class Wr extends ni {
1672
1725
  constructor(e) {
1673
1726
  if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e)
1674
1727
  return;
@@ -1677,7 +1730,7 @@ class Wr extends ii {
1677
1730
  const u = Wl(e);
1678
1731
  this.animation = Nl(n, i, s, u, o), u.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
1679
1732
  if (this.finishedTime = this.time, !o) {
1680
- const c = ni(s, this.options, a, this.speed);
1733
+ const c = ei(s, this.options, a, this.speed);
1681
1734
  this.updateMotionValue ? this.updateMotionValue(c) : Fl(n, i, c), this.animation.cancel();
1682
1735
  }
1683
1736
  l?.(), this.notifyFinished();
@@ -1793,14 +1846,14 @@ class Kl extends Wr {
1793
1846
  n.set(e);
1794
1847
  return;
1795
1848
  }
1796
- const a = new si({
1849
+ const a = new ii({
1797
1850
  ...r,
1798
1851
  autoplay: !1
1799
1852
  }), l = Math.max(sn, q.now() - this.startTime), u = dt(0, sn, l - sn);
1800
1853
  n.setWithVelocity(a.sample(Math.max(0, l - u)).value, a.sample(l).value, u), a.stop();
1801
1854
  }
1802
1855
  }
1803
- const es = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
1856
+ const ts = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
1804
1857
  (wt.test(t) || t === "0") && // And it contains numbers and/or colors
1805
1858
  !t.startsWith("url("));
1806
1859
  function zl(t) {
@@ -1817,7 +1870,7 @@ function Yl(t, e, n, i) {
1817
1870
  return !1;
1818
1871
  if (e === "display" || e === "visibility")
1819
1872
  return !0;
1820
- const o = t[t.length - 1], r = es(s, e), a = es(o, e);
1873
+ const o = t[t.length - 1], r = ts(s, e), a = ts(o, e);
1821
1874
  return $t(r === a, `You are trying to animate ${e} from "${s}" to "${o}". "${r ? o : s}" is not an animatable value.`, "value-not-animatable"), !r || !a ? !1 : zl(t) || (n === "spring" || Nr(n)) && i;
1822
1875
  }
1823
1876
  function Vn(t) {
@@ -1830,7 +1883,7 @@ const Hl = /* @__PURE__ */ new Set([
1830
1883
  "transform"
1831
1884
  // TODO: Could be re-enabled now we have support for linear() easing
1832
1885
  // "background-color"
1833
- ]), Gl = /* @__PURE__ */ Yn(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
1886
+ ]), Gl = /* @__PURE__ */ zn(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
1834
1887
  function Xl(t) {
1835
1888
  const { motionValue: e, name: n, repeatDelay: i, repeatType: s, damping: o, type: r } = t;
1836
1889
  if (!(e?.owner?.current instanceof HTMLElement))
@@ -1843,7 +1896,7 @@ function Xl(t) {
1843
1896
  !l && !i && s !== "mirror" && o !== 0 && r !== "inertia";
1844
1897
  }
1845
1898
  const ql = 40;
1846
- class Zl extends ii {
1899
+ class Zl extends ni {
1847
1900
  constructor({ autoplay: e = !0, delay: n = 0, type: i = "keyframes", repeat: s = 0, repeatDelay: o = 0, repeatType: r = "loop", keyframes: a, name: l, motionValue: u, element: c, ...h }) {
1848
1901
  super(), this.stop = () => {
1849
1902
  this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
@@ -1859,13 +1912,13 @@ class Zl extends ii {
1859
1912
  motionValue: u,
1860
1913
  element: c,
1861
1914
  ...h
1862
- }, p = c?.KeyframeResolver || ri;
1915
+ }, p = c?.KeyframeResolver || si;
1863
1916
  this.keyframeResolver = new p(a, (m, x, T) => this.onKeyframesResolved(m, x, d, !T), l, u, c), this.keyframeResolver?.scheduleResolve();
1864
1917
  }
1865
1918
  onKeyframesResolved(e, n, i, s) {
1866
1919
  this.keyframeResolver = void 0;
1867
1920
  const { name: o, type: r, velocity: a, delay: l, isHandoff: u, onUpdate: c } = i;
1868
- this.resolvedAt = q.now(), Yl(e, o, r, a) || ((gt.instantAnimations || !l) && c?.(ni(e, i, n)), e[0] = e[e.length - 1], Vn(i), i.repeat = 0);
1921
+ this.resolvedAt = q.now(), Yl(e, o, r, a) || ((gt.instantAnimations || !l) && c?.(ei(e, i, n)), e[0] = e[e.length - 1], Vn(i), i.repeat = 0);
1869
1922
  const d = {
1870
1923
  startTime: s ? this.resolvedAt ? this.resolvedAt - this.createdAt > ql ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
1871
1924
  finalKeyframe: n,
@@ -1874,7 +1927,7 @@ class Zl extends ii {
1874
1927
  }, p = !u && Xl(d), m = d.motionValue?.owner?.current, x = p ? new Kl({
1875
1928
  ...d,
1876
1929
  element: m
1877
- }) : new si(d);
1930
+ }) : new ii(d);
1878
1931
  x.finished.then(() => {
1879
1932
  this.notifyFinished();
1880
1933
  }).catch(st), this.pendingTimeline && (this.stopTimeline = x.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = x;
@@ -1955,7 +2008,7 @@ function Kr(t, e, n = 1) {
1955
2008
  const r = o.trim();
1956
2009
  return cr(r) ? parseFloat(r) : r;
1957
2010
  }
1958
- return Zn(s) ? Kr(s, e, n + 1) : s;
2011
+ return qn(s) ? Kr(s, e, n + 1) : s;
1959
2012
  }
1960
2013
  const ec = {
1961
2014
  type: "spring",
@@ -1986,15 +2039,15 @@ function zr(t, e) {
1986
2039
  }
1987
2040
  return t;
1988
2041
  }
1989
- function oi(t, e) {
2042
+ function ri(t, e) {
1990
2043
  const n = t?.[e] ?? t?.default ?? t;
1991
2044
  return n !== t ? zr(n, t) : n;
1992
2045
  }
1993
2046
  function lc({ when: t, delay: e, delayChildren: n, staggerChildren: i, staggerDirection: s, repeat: o, repeatType: r, repeatDelay: a, from: l, elapsed: u, ...c }) {
1994
2047
  return !!Object.keys(c).length;
1995
2048
  }
1996
- const ai = (t, e, n, i = {}, s, o) => (r) => {
1997
- const a = oi(i, t) || {}, l = a.delay || i.delay || 0;
2049
+ const oi = (t, e, n, i = {}, s, o) => (r) => {
2050
+ const a = ri(i, t) || {}, l = a.delay || i.delay || 0;
1998
2051
  let { elapsed: u = 0 } = i;
1999
2052
  u = u - /* @__PURE__ */ rt(l);
2000
2053
  const c = {
@@ -2024,28 +2077,28 @@ const ai = (t, e, n, i = {}, s, o) => (r) => {
2024
2077
  return;
2025
2078
  }
2026
2079
  }
2027
- return a.isSync ? new si(c) : new Zl(c);
2080
+ return a.isSync ? new ii(c) : new Zl(c);
2028
2081
  };
2029
- function ns(t) {
2082
+ function es(t) {
2030
2083
  const e = [{}, {}];
2031
2084
  return t?.values.forEach((n, i) => {
2032
2085
  e[0][i] = n.get(), e[1][i] = n.getVelocity();
2033
2086
  }), e;
2034
2087
  }
2035
- function li(t, e, n, i) {
2088
+ function ai(t, e, n, i) {
2036
2089
  if (typeof e == "function") {
2037
- const [s, o] = ns(i);
2090
+ const [s, o] = es(i);
2038
2091
  e = e(n !== void 0 ? n : t.custom, s, o);
2039
2092
  }
2040
2093
  if (typeof e == "string" && (e = t.variants && t.variants[e]), typeof e == "function") {
2041
- const [s, o] = ns(i);
2094
+ const [s, o] = es(i);
2042
2095
  e = e(n !== void 0 ? n : t.custom, s, o);
2043
2096
  }
2044
2097
  return e;
2045
2098
  }
2046
2099
  function Nt(t, e, n) {
2047
2100
  const i = t.getProps();
2048
- return li(i, e, n !== void 0 ? n : i.custom, t);
2101
+ return ai(i, e, n !== void 0 ? n : i.custom, t);
2049
2102
  }
2050
2103
  const Yr = /* @__PURE__ */ new Set([
2051
2104
  "width",
@@ -2055,7 +2108,7 @@ const Yr = /* @__PURE__ */ new Set([
2055
2108
  "right",
2056
2109
  "bottom",
2057
2110
  ...zt
2058
- ]), is = 30, cc = (t) => !isNaN(parseFloat(t));
2111
+ ]), ns = 30, cc = (t) => !isNaN(parseFloat(t));
2059
2112
  class uc {
2060
2113
  /**
2061
2114
  * @param init - The initiating value
@@ -2118,10 +2171,10 @@ class uc {
2118
2171
  * @deprecated
2119
2172
  */
2120
2173
  onChange(e) {
2121
- return process.env.NODE_ENV !== "production" && Gn(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", e);
2174
+ return process.env.NODE_ENV !== "production" && Hn(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", e);
2122
2175
  }
2123
2176
  on(e, n) {
2124
- this.events[e] || (this.events[e] = new Hn());
2177
+ this.events[e] || (this.events[e] = new Yn());
2125
2178
  const i = this.events[e].add(n);
2126
2179
  return e === "change" ? () => {
2127
2180
  i(), O.read(() => {
@@ -2201,9 +2254,9 @@ class uc {
2201
2254
  */
2202
2255
  getVelocity() {
2203
2256
  const e = q.now();
2204
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > is)
2257
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > ns)
2205
2258
  return 0;
2206
- const n = Math.min(this.updatedAt - this.prevUpdatedAt, is);
2259
+ const n = Math.min(this.updatedAt - this.prevUpdatedAt, ns);
2207
2260
  return hr(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
2208
2261
  }
2209
2262
  /**
@@ -2287,10 +2340,10 @@ function Dn(t, e) {
2287
2340
  t.addValue("willChange", i), i.add(e);
2288
2341
  }
2289
2342
  }
2290
- function ci(t) {
2343
+ function li(t) {
2291
2344
  return t.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
2292
2345
  }
2293
- const mc = "framerAppearId", Hr = "data-" + ci(mc);
2346
+ const mc = "framerAppearId", Hr = "data-" + li(mc);
2294
2347
  function Gr(t) {
2295
2348
  return t.props[Hr];
2296
2349
  }
@@ -2311,7 +2364,7 @@ function Xr(t, e, { delay: n = 0, transitionOverride: i, type: s } = {}) {
2311
2364
  continue;
2312
2365
  const x = {
2313
2366
  delay: n,
2314
- ...oi(o || {}, d)
2367
+ ...ri(o || {}, d)
2315
2368
  }, T = p.get();
2316
2369
  if (T !== void 0 && !p.isAnimating && !Array.isArray(m) && m === T && !x.velocity)
2317
2370
  continue;
@@ -2325,7 +2378,7 @@ function Xr(t, e, { delay: n = 0, transitionOverride: i, type: s } = {}) {
2325
2378
  }
2326
2379
  Dn(t, d);
2327
2380
  const v = u ?? t.shouldReduceMotion;
2328
- p.start(ai(d, p, m, v && Yr.has(d) ? { type: !1 } : x, t, y));
2381
+ p.start(oi(d, p, m, v && Yr.has(d) ? { type: !1 } : x, t, y));
2329
2382
  const b = p.animation;
2330
2383
  b && c.push(b);
2331
2384
  }
@@ -2379,7 +2432,7 @@ function vc(t, e, n = {}) {
2379
2432
  const Tc = {
2380
2433
  test: (t) => t === "auto",
2381
2434
  parse: (t) => t
2382
- }, qr = (t) => (e) => e.test(t), Zr = [Kt, P, ht, Tt, Ya, za, Tc], ss = (t) => Zr.find(qr(t));
2435
+ }, qr = (t) => (e) => e.test(t), Zr = [Kt, P, ht, Tt, Ya, za, Tc], is = (t) => Zr.find(qr(t));
2383
2436
  function xc(t) {
2384
2437
  return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || fr(t) : !0;
2385
2438
  }
@@ -2388,7 +2441,7 @@ function wc(t) {
2388
2441
  const [e, n] = t.slice(0, -1).split("(");
2389
2442
  if (e === "drop-shadow")
2390
2443
  return t;
2391
- const [i] = n.match(Jn) || [];
2444
+ const [i] = n.match(Zn) || [];
2392
2445
  if (!i)
2393
2446
  return t;
2394
2447
  const s = n.replace(i, "");
@@ -2401,7 +2454,7 @@ const Pc = /\b([a-z-]*)\(.*?\)/gu, kn = {
2401
2454
  const e = t.match(Pc);
2402
2455
  return e ? e.map(wc).join(" ") : t;
2403
2456
  }
2404
- }, rs = {
2457
+ }, ss = {
2405
2458
  ...Kt,
2406
2459
  transform: Math.round
2407
2460
  }, Sc = {
@@ -2426,10 +2479,10 @@ const Pc = /\b([a-z-]*)\(.*?\)/gu, kn = {
2426
2479
  perspective: P,
2427
2480
  transformPerspective: P,
2428
2481
  opacity: ie,
2429
- originX: zi,
2430
- originY: zi,
2482
+ originX: Ki,
2483
+ originY: Ki,
2431
2484
  originZ: P
2432
- }, ui = {
2485
+ }, ci = {
2433
2486
  // Border props
2434
2487
  borderWidth: P,
2435
2488
  borderTopWidth: P,
@@ -2486,13 +2539,13 @@ const Pc = /\b([a-z-]*)\(.*?\)/gu, kn = {
2486
2539
  backgroundPositionX: P,
2487
2540
  backgroundPositionY: P,
2488
2541
  ...Sc,
2489
- zIndex: rs,
2542
+ zIndex: ss,
2490
2543
  // SVG
2491
2544
  fillOpacity: ie,
2492
2545
  strokeOpacity: ie,
2493
- numOctaves: rs
2546
+ numOctaves: ss
2494
2547
  }, Ec = {
2495
- ...ui,
2548
+ ...ci,
2496
2549
  // Color props
2497
2550
  color: $,
2498
2551
  backgroundColor: $,
@@ -2523,7 +2576,7 @@ function Cc(t, e, n) {
2523
2576
  for (const o of e)
2524
2577
  t[o] = Qr(n, s);
2525
2578
  }
2526
- class Vc extends ri {
2579
+ class Vc extends si {
2527
2580
  constructor(e, n, i, s, o) {
2528
2581
  super(e, n, i, s, o, !0);
2529
2582
  }
@@ -2534,20 +2587,20 @@ class Vc extends ri {
2534
2587
  super.readKeyframes();
2535
2588
  for (let c = 0; c < e.length; c++) {
2536
2589
  let h = e[c];
2537
- if (typeof h == "string" && (h = h.trim(), Zn(h))) {
2590
+ if (typeof h == "string" && (h = h.trim(), qn(h))) {
2538
2591
  const d = Kr(h, n.current);
2539
2592
  d !== void 0 && (e[c] = d), c === e.length - 1 && (this.finalKeyframe = h);
2540
2593
  }
2541
2594
  }
2542
2595
  if (this.resolveNoneKeyframes(), !Yr.has(i) || e.length !== 2)
2543
2596
  return;
2544
- const [s, o] = e, r = ss(s), a = ss(o), l = Ki(s), u = Ki(o);
2597
+ const [s, o] = e, r = is(s), a = is(o), l = $i(s), u = $i(o);
2545
2598
  if (l !== u && xt[i]) {
2546
2599
  this.needsMeasurement = !0;
2547
2600
  return;
2548
2601
  }
2549
2602
  if (r !== a)
2550
- if (Qi(r) && Qi(a))
2603
+ if (Ji(r) && Ji(a))
2551
2604
  for (let c = 0; c < e.length; c++) {
2552
2605
  const h = e[c];
2553
2606
  typeof h == "string" && (e[c] = parseFloat(h));
@@ -2605,7 +2658,7 @@ const eo = (t, e) => e && typeof t == "number" ? e.transform(t) : t;
2605
2658
  function Ln(t) {
2606
2659
  return ur(t) && "offsetHeight" in t;
2607
2660
  }
2608
- const { schedule: fi } = /* @__PURE__ */ Pr(queueMicrotask, !1), lt = {
2661
+ const { schedule: ui } = /* @__PURE__ */ Pr(queueMicrotask, !1), lt = {
2609
2662
  x: !1,
2610
2663
  y: !1
2611
2664
  };
@@ -2660,7 +2713,7 @@ function kc(t, e, n = {}) {
2660
2713
  r.addEventListener("pointerenter", x, s), r.addEventListener("pointerdown", p, s);
2661
2714
  }), o;
2662
2715
  }
2663
- const so = (t, e) => e ? t === e ? !0 : so(t, e.parentElement) : !1, hi = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, Lc = /* @__PURE__ */ new Set([
2716
+ const so = (t, e) => e ? t === e ? !0 : so(t, e.parentElement) : !1, fi = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, Lc = /* @__PURE__ */ new Set([
2664
2717
  "BUTTON",
2665
2718
  "INPUT",
2666
2719
  "SELECT",
@@ -2675,7 +2728,7 @@ function Fc(t) {
2675
2728
  return Oc.has(t.tagName) || t.isContentEditable === !0;
2676
2729
  }
2677
2730
  const we = /* @__PURE__ */ new WeakSet();
2678
- function os(t) {
2731
+ function rs(t) {
2679
2732
  return (e) => {
2680
2733
  e.key === "Enter" && t(e);
2681
2734
  };
@@ -2687,29 +2740,29 @@ const Ic = (t, e) => {
2687
2740
  const n = t.currentTarget;
2688
2741
  if (!n)
2689
2742
  return;
2690
- const i = os(() => {
2743
+ const i = rs(() => {
2691
2744
  if (we.has(n))
2692
2745
  return;
2693
2746
  rn(n, "down");
2694
- const s = os(() => {
2747
+ const s = rs(() => {
2695
2748
  rn(n, "up");
2696
2749
  }), o = () => rn(n, "cancel");
2697
2750
  n.addEventListener("keyup", s, e), n.addEventListener("blur", o, e);
2698
2751
  });
2699
2752
  n.addEventListener("keydown", i, e), n.addEventListener("blur", () => n.removeEventListener("keydown", i), e);
2700
2753
  };
2701
- function as(t) {
2702
- return hi(t) && !no();
2754
+ function os(t) {
2755
+ return fi(t) && !no();
2703
2756
  }
2704
- const ls = /* @__PURE__ */ new WeakSet();
2757
+ const as = /* @__PURE__ */ new WeakSet();
2705
2758
  function Bc(t, e, n = {}) {
2706
2759
  const [i, s, o] = io(t, n), r = (a) => {
2707
2760
  const l = a.currentTarget;
2708
- if (!as(a) || ls.has(a))
2761
+ if (!os(a) || as.has(a))
2709
2762
  return;
2710
- we.add(l), n.stopPropagation && ls.add(a);
2763
+ we.add(l), n.stopPropagation && as.add(a);
2711
2764
  const u = e(l, a), c = (p, m) => {
2712
- window.removeEventListener("pointerup", h), window.removeEventListener("pointercancel", d), we.has(l) && we.delete(l), as(p) && typeof u == "function" && u(p, { success: m });
2765
+ window.removeEventListener("pointerup", h), window.removeEventListener("pointercancel", d), we.has(l) && we.delete(l), os(p) && typeof u == "function" && u(p, { success: m });
2713
2766
  }, h = (p) => {
2714
2767
  c(p, l === window || l === document || n.useGlobalTarget || so(l, p.target));
2715
2768
  }, d = (p) => {
@@ -2721,12 +2774,12 @@ function Bc(t, e, n = {}) {
2721
2774
  (n.useGlobalTarget ? window : a).addEventListener("pointerdown", r, s), Ln(a) && (a.addEventListener("focus", (u) => Ic(u, s)), !jc(a) && !a.hasAttribute("tabindex") && (a.tabIndex = 0));
2722
2775
  }), o;
2723
2776
  }
2724
- function di(t) {
2777
+ function hi(t) {
2725
2778
  return ur(t) && "ownerSVGElement" in t;
2726
2779
  }
2727
2780
  const Pe = /* @__PURE__ */ new WeakMap();
2728
2781
  let Se;
2729
- const ro = (t, e, n) => (i, s) => s && s[0] ? s[0][t + "Size"] : di(i) && "getBBox" in i ? i.getBBox()[e] : i[n], _c = /* @__PURE__ */ ro("inline", "width", "offsetWidth"), Nc = /* @__PURE__ */ ro("block", "height", "offsetHeight");
2782
+ const ro = (t, e, n) => (i, s) => s && s[0] ? s[0][t + "Size"] : hi(i) && "getBBox" in i ? i.getBBox()[e] : i[n], _c = /* @__PURE__ */ ro("inline", "width", "offsetWidth"), Nc = /* @__PURE__ */ ro("block", "height", "offsetHeight");
2730
2783
  function Wc({ target: t, borderBoxSize: e }) {
2731
2784
  Pe.get(t)?.forEach((n) => {
2732
2785
  n(t, {
@@ -2778,23 +2831,23 @@ function Yc(t) {
2778
2831
  Ee.delete(t), !Ee.size && typeof Ft == "function" && (window.removeEventListener("resize", Ft), Ft = void 0);
2779
2832
  };
2780
2833
  }
2781
- function cs(t, e) {
2834
+ function ls(t, e) {
2782
2835
  return typeof t == "function" ? Yc(t) : Kc(t, e);
2783
2836
  }
2784
2837
  function Hc(t) {
2785
- return di(t) && t.tagName === "svg";
2838
+ return hi(t) && t.tagName === "svg";
2786
2839
  }
2787
- const Gc = [...Zr, $, wt], Xc = (t) => Gc.find(qr(t)), us = () => ({
2840
+ const Gc = [...Zr, $, wt], Xc = (t) => Gc.find(qr(t)), cs = () => ({
2788
2841
  translate: 0,
2789
2842
  scale: 1,
2790
2843
  origin: 0,
2791
2844
  originPoint: 0
2792
2845
  }), It = () => ({
2846
+ x: cs(),
2847
+ y: cs()
2848
+ }), us = () => ({ min: 0, max: 0 }), K = () => ({
2793
2849
  x: us(),
2794
2850
  y: us()
2795
- }), fs = () => ({ min: 0, max: 0 }), K = () => ({
2796
- x: fs(),
2797
- y: fs()
2798
2851
  }), qc = /* @__PURE__ */ new WeakMap();
2799
2852
  function Ne(t) {
2800
2853
  return t !== null && typeof t == "object" && typeof t.start == "function";
@@ -2802,7 +2855,7 @@ function Ne(t) {
2802
2855
  function re(t) {
2803
2856
  return typeof t == "string" || Array.isArray(t);
2804
2857
  }
2805
- const pi = [
2858
+ const di = [
2806
2859
  "animate",
2807
2860
  "whileInView",
2808
2861
  "whileFocus",
@@ -2810,9 +2863,9 @@ const pi = [
2810
2863
  "whileTap",
2811
2864
  "whileDrag",
2812
2865
  "exit"
2813
- ], mi = ["initial", ...pi];
2866
+ ], pi = ["initial", ...di];
2814
2867
  function We(t) {
2815
- return Ne(t.animate) || mi.some((e) => re(t[e]));
2868
+ return Ne(t.animate) || pi.some((e) => re(t[e]));
2816
2869
  }
2817
2870
  function oo(t) {
2818
2871
  return !!(We(t) || t.variants);
@@ -2846,7 +2899,7 @@ function Qc() {
2846
2899
  } else
2847
2900
  jn.current = !1;
2848
2901
  }
2849
- const hs = [
2902
+ const fs = [
2850
2903
  "AnimationStart",
2851
2904
  "AnimationComplete",
2852
2905
  "Update",
@@ -2874,7 +2927,7 @@ class eu {
2874
2927
  return {};
2875
2928
  }
2876
2929
  constructor({ parent: e, props: n, presenceContext: i, reducedMotionConfig: s, skipAnimations: o, blockInitialAnimation: r, visualState: a }, l = {}) {
2877
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = ri, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
2930
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = si, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
2878
2931
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
2879
2932
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
2880
2933
  const p = q.now();
@@ -2892,7 +2945,7 @@ class eu {
2892
2945
  if (this.hasBeenMounted)
2893
2946
  for (const n in this.initialValues)
2894
2947
  this.values.get(n)?.jump(this.initialValues[n]), this.latestValues[n] = this.initialValues[n];
2895
- this.current = e, qc.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, i) => this.bindToMotionValue(i, n)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (ao.current || Qc(), this.shouldReduceMotion = jn.current), process.env.NODE_ENV !== "production" && Gn(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, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
2948
+ this.current = e, qc.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, i) => this.bindToMotionValue(i, n)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (ao.current || Qc(), this.shouldReduceMotion = jn.current), process.env.NODE_ENV !== "production" && Hn(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, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
2896
2949
  }
2897
2950
  unmount() {
2898
2951
  this.projection && this.projection.unmount(), bt(this.notifyUpdate), bt(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
@@ -2974,8 +3027,8 @@ class eu {
2974
3027
  */
2975
3028
  update(e, n) {
2976
3029
  (e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
2977
- for (let i = 0; i < hs.length; i++) {
2978
- const s = hs[i];
3030
+ for (let i = 0; i < fs.length; i++) {
3031
+ const s = fs[i];
2979
3032
  this.propEventSubscriptions[s] && (this.propEventSubscriptions[s](), delete this.propEventSubscriptions[s]);
2980
3033
  const o = "on" + s, r = e[o];
2981
3034
  r && (this.propEventSubscriptions[s] = this.on(s, r));
@@ -3062,7 +3115,7 @@ class eu {
3062
3115
  const { initial: n } = this.props;
3063
3116
  let i;
3064
3117
  if (typeof n == "string" || typeof n == "object") {
3065
- const o = li(this.props, n, this.presenceContext?.custom);
3118
+ const o = ai(this.props, n, this.presenceContext?.custom);
3066
3119
  o && (i = o[e]);
3067
3120
  }
3068
3121
  if (n && i !== void 0)
@@ -3071,13 +3124,13 @@ class eu {
3071
3124
  return s !== void 0 && !H(s) ? s : this.initialValues[e] !== void 0 && i === void 0 ? void 0 : this.baseTarget[e];
3072
3125
  }
3073
3126
  on(e, n) {
3074
- return this.events[e] || (this.events[e] = new Hn()), this.events[e].add(n);
3127
+ return this.events[e] || (this.events[e] = new Yn()), this.events[e].add(n);
3075
3128
  }
3076
3129
  notify(e, ...n) {
3077
3130
  this.events[e] && this.events[e].notify(...n);
3078
3131
  }
3079
3132
  scheduleRenderMicrotask() {
3080
- fi.render(this.render);
3133
+ ui.render(this.render);
3081
3134
  }
3082
3135
  }
3083
3136
  class co extends eu {
@@ -3139,25 +3192,25 @@ function At(t) {
3139
3192
  return On(t) || fo(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
3140
3193
  }
3141
3194
  function fo(t) {
3142
- return ds(t.x) || ds(t.y);
3195
+ return hs(t.x) || hs(t.y);
3143
3196
  }
3144
- function ds(t) {
3197
+ function hs(t) {
3145
3198
  return t && t !== "0%";
3146
3199
  }
3147
3200
  function je(t, e, n) {
3148
3201
  const i = t - n, s = e * i;
3149
3202
  return n + s;
3150
3203
  }
3151
- function ps(t, e, n, i, s) {
3204
+ function ds(t, e, n, i, s) {
3152
3205
  return s !== void 0 && (t = je(t, s, i)), je(t, n, i) + e;
3153
3206
  }
3154
3207
  function Fn(t, e = 0, n = 1, i, s) {
3155
- t.min = ps(t.min, e, n, i, s), t.max = ps(t.max, e, n, i, s);
3208
+ t.min = ds(t.min, e, n, i, s), t.max = ds(t.max, e, n, i, s);
3156
3209
  }
3157
3210
  function ho(t, { x: e, y: n }) {
3158
3211
  Fn(t.x, e.translate, e.scale, e.originPoint), Fn(t.y, n.translate, n.scale, n.originPoint);
3159
3212
  }
3160
- const ms = 0.999999999999, gs = 1.0000000000001;
3213
+ const ps = 0.999999999999, ms = 1.0000000000001;
3161
3214
  function su(t, e, n, i = !1) {
3162
3215
  const s = n.length;
3163
3216
  if (!s)
@@ -3172,17 +3225,17 @@ function su(t, e, n, i = !1) {
3172
3225
  y: -o.scroll.offset.y
3173
3226
  }), r && (e.x *= r.x.scale, e.y *= r.y.scale, ho(t, r)), i && At(o.latestValues) && _t(t, o.latestValues));
3174
3227
  }
3175
- e.x < gs && e.x > ms && (e.x = 1), e.y < gs && e.y > ms && (e.y = 1);
3228
+ e.x < ms && e.x > ps && (e.x = 1), e.y < ms && e.y > ps && (e.y = 1);
3176
3229
  }
3177
3230
  function Bt(t, e) {
3178
3231
  t.min = t.min + e, t.max = t.max + e;
3179
3232
  }
3180
- function ys(t, e, n, i, s = 0.5) {
3233
+ function gs(t, e, n, i, s = 0.5) {
3181
3234
  const o = B(t.min, t.max, s);
3182
3235
  Fn(t, e, n, o, i);
3183
3236
  }
3184
3237
  function _t(t, e) {
3185
- ys(t.x, e.x, e.scaleX, e.scale, e.originX), ys(t.y, e.y, e.scaleY, e.scale, e.originY);
3238
+ gs(t.x, e.x, e.scaleX, e.scale, e.originX), gs(t.y, e.y, e.scaleY, e.scale, e.originY);
3186
3239
  }
3187
3240
  function po(t, e) {
3188
3241
  return uo(iu(t.getBoundingClientRect(), e));
@@ -3211,7 +3264,7 @@ function lu(t, e, n) {
3211
3264
  l = r.startsWith("scale") ? u === 1 : u === 0;
3212
3265
  }
3213
3266
  if (!l || n) {
3214
- const u = eo(a, ui[r]);
3267
+ const u = eo(a, ci[r]);
3215
3268
  if (!l) {
3216
3269
  s = !1;
3217
3270
  const c = ou[r] || r;
@@ -3222,7 +3275,7 @@ function lu(t, e, n) {
3222
3275
  }
3223
3276
  return i = i.trim(), n ? i = n(e, s ? "" : i) : s && (i = "none"), i;
3224
3277
  }
3225
- function gi(t, e, n) {
3278
+ function mi(t, e, n) {
3226
3279
  const { style: i, vars: s, transformOrigin: o } = t;
3227
3280
  let r = !1, a = !1;
3228
3281
  for (const l in e) {
@@ -3234,7 +3287,7 @@ function gi(t, e, n) {
3234
3287
  s[l] = u;
3235
3288
  continue;
3236
3289
  } else {
3237
- const c = eo(u, ui[l]);
3290
+ const c = eo(u, ci[l]);
3238
3291
  l.startsWith("origin") ? (a = !0, o[l] = c) : i[l] = c;
3239
3292
  }
3240
3293
  }
@@ -3252,7 +3305,7 @@ function mo(t, { style: e, vars: n }, i, s) {
3252
3305
  for (r in n)
3253
3306
  o.setProperty(r, n[r]);
3254
3307
  }
3255
- function vs(t, e) {
3308
+ function ys(t, e) {
3256
3309
  return e.max === e.min ? 0 : t / (e.max - e.min) * 100;
3257
3310
  }
3258
3311
  const qt = {
@@ -3264,7 +3317,7 @@ const qt = {
3264
3317
  t = parseFloat(t);
3265
3318
  else
3266
3319
  return t;
3267
- const n = vs(t, e.target.x), i = vs(t, e.target.y);
3320
+ const n = ys(t, e.target.x), i = ys(t, e.target.y);
3268
3321
  return `${n}% ${i}%`;
3269
3322
  }
3270
3323
  }, cu = {
@@ -3296,7 +3349,7 @@ const qt = {
3296
3349
  function go(t, { layout: e, layoutId: n }) {
3297
3350
  return Yt.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!In[t] || t === "opacity");
3298
3351
  }
3299
- function yi(t, e, n) {
3352
+ function gi(t, e, n) {
3300
3353
  const i = t.style, s = e?.style, o = {};
3301
3354
  if (!i)
3302
3355
  return o;
@@ -3323,10 +3376,10 @@ class fu extends co {
3323
3376
  return po(e, n);
3324
3377
  }
3325
3378
  build(e, n, i) {
3326
- gi(e, n, i.transformTemplate);
3379
+ mi(e, n, i.transformTemplate);
3327
3380
  }
3328
3381
  scrapeMotionValuesFromProps(e, n, i) {
3329
- return yi(e, n, i);
3382
+ return gi(e, n, i);
3330
3383
  }
3331
3384
  }
3332
3385
  const hu = {
@@ -3357,7 +3410,7 @@ function yo(t, {
3357
3410
  // This is object creation, which we try to avoid per-frame.
3358
3411
  ...a
3359
3412
  }, l, u, c) {
3360
- if (gi(t, a, u), l) {
3413
+ if (mi(t, a, u), l) {
3361
3414
  t.style.viewBox && (t.attrs.viewBox = t.style.viewBox);
3362
3415
  return;
3363
3416
  }
@@ -3396,10 +3449,10 @@ const vo = /* @__PURE__ */ new Set([
3396
3449
  function gu(t, e, n, i) {
3397
3450
  mo(t, e, void 0, i);
3398
3451
  for (const s in e.attrs)
3399
- t.setAttribute(vo.has(s) ? s : ci(s), e.attrs[s]);
3452
+ t.setAttribute(vo.has(s) ? s : li(s), e.attrs[s]);
3400
3453
  }
3401
3454
  function xo(t, e, n) {
3402
- const i = yi(t, e, n);
3455
+ const i = gi(t, e, n);
3403
3456
  for (const s in t)
3404
3457
  if (H(t[s]) || H(e[s])) {
3405
3458
  const o = zt.indexOf(s) !== -1 ? "attr" + s.charAt(0).toUpperCase() + s.substring(1) : s;
@@ -3419,7 +3472,7 @@ class yu extends co {
3419
3472
  const i = Jr(n);
3420
3473
  return i && i.default || 0;
3421
3474
  }
3422
- return n = vo.has(n) ? n : ci(n), e.getAttribute(n);
3475
+ return n = vo.has(n) ? n : li(n), e.getAttribute(n);
3423
3476
  }
3424
3477
  scrapeMotionValuesFromProps(e, n, i) {
3425
3478
  return xo(e, n, i);
@@ -3434,7 +3487,7 @@ class yu extends co {
3434
3487
  this.isSVGTag = To(e.tagName), super.mount(e);
3435
3488
  }
3436
3489
  }
3437
- const vu = mi.length;
3490
+ const vu = pi.length;
3438
3491
  function bo(t) {
3439
3492
  if (!t)
3440
3493
  return;
@@ -3444,7 +3497,7 @@ function bo(t) {
3444
3497
  }
3445
3498
  const e = {};
3446
3499
  for (let n = 0; n < vu; n++) {
3447
- const i = mi[n], s = t.props[i];
3500
+ const i = pi[n], s = t.props[i];
3448
3501
  (re(s) || s === !1) && (e[i] = s);
3449
3502
  }
3450
3503
  return e;
@@ -3460,12 +3513,12 @@ function wo(t, e) {
3460
3513
  return !1;
3461
3514
  return !0;
3462
3515
  }
3463
- const Tu = [...pi].reverse(), xu = pi.length;
3516
+ const Tu = [...di].reverse(), xu = di.length;
3464
3517
  function bu(t) {
3465
3518
  return (e) => Promise.all(e.map(({ animation: n, options: i }) => vc(t, n, i)));
3466
3519
  }
3467
3520
  function wu(t) {
3468
- let e = bu(t), n = Ts(), i = !0;
3521
+ let e = bu(t), n = vs(), i = !0;
3469
3522
  const s = (l) => (u, c) => {
3470
3523
  const h = Nt(t, c, l === "exit" ? t.presenceContext?.custom : void 0);
3471
3524
  if (h) {
@@ -3564,7 +3617,7 @@ function wu(t) {
3564
3617
  setAnimateFunction: o,
3565
3618
  getState: () => n,
3566
3619
  reset: () => {
3567
- n = Ts();
3620
+ n = vs();
3568
3621
  }
3569
3622
  };
3570
3623
  }
@@ -3579,7 +3632,7 @@ function Et(t = !1) {
3579
3632
  prevResolvedValues: {}
3580
3633
  };
3581
3634
  }
3582
- function Ts() {
3635
+ function vs() {
3583
3636
  return {
3584
3637
  animate: Et(!0),
3585
3638
  whileInView: Et(),
@@ -3590,13 +3643,13 @@ function Ts() {
3590
3643
  exit: Et()
3591
3644
  };
3592
3645
  }
3593
- function xs(t, e) {
3646
+ function Ts(t, e) {
3594
3647
  t.min = e.min, t.max = e.max;
3595
3648
  }
3596
3649
  function ot(t, e) {
3597
- xs(t.x, e.x), xs(t.y, e.y);
3650
+ Ts(t.x, e.x), Ts(t.y, e.y);
3598
3651
  }
3599
- function bs(t, e) {
3652
+ function xs(t, e) {
3600
3653
  t.translate = e.translate, t.scale = e.scale, t.originPoint = e.originPoint, t.origin = e.origin;
3601
3654
  }
3602
3655
  const Po = 1e-4, Su = 1 - Po, Eu = 1 + Po, So = 0.01, Au = 0 - So, Cu = 0 + So;
@@ -3606,62 +3659,62 @@ function Z(t) {
3606
3659
  function Vu(t, e, n) {
3607
3660
  return Math.abs(t - e) <= n;
3608
3661
  }
3609
- function ws(t, e, n, i = 0.5) {
3662
+ function bs(t, e, n, i = 0.5) {
3610
3663
  t.origin = i, t.originPoint = B(e.min, e.max, t.origin), t.scale = Z(n) / Z(e), t.translate = B(n.min, n.max, t.origin) - t.originPoint, (t.scale >= Su && t.scale <= Eu || isNaN(t.scale)) && (t.scale = 1), (t.translate >= Au && t.translate <= Cu || isNaN(t.translate)) && (t.translate = 0);
3611
3664
  }
3612
3665
  function Qt(t, e, n, i) {
3613
- ws(t.x, e.x, n.x, i ? i.originX : void 0), ws(t.y, e.y, n.y, i ? i.originY : void 0);
3666
+ bs(t.x, e.x, n.x, i ? i.originX : void 0), bs(t.y, e.y, n.y, i ? i.originY : void 0);
3614
3667
  }
3615
- function Ps(t, e, n) {
3668
+ function ws(t, e, n) {
3616
3669
  t.min = n.min + e.min, t.max = t.min + Z(e);
3617
3670
  }
3618
3671
  function Ru(t, e, n) {
3619
- Ps(t.x, e.x, n.x), Ps(t.y, e.y, n.y);
3672
+ ws(t.x, e.x, n.x), ws(t.y, e.y, n.y);
3620
3673
  }
3621
- function Ss(t, e, n) {
3674
+ function Ps(t, e, n) {
3622
3675
  t.min = e.min - n.min, t.max = t.min + Z(e);
3623
3676
  }
3624
3677
  function Oe(t, e, n) {
3625
- Ss(t.x, e.x, n.x), Ss(t.y, e.y, n.y);
3678
+ Ps(t.x, e.x, n.x), Ps(t.y, e.y, n.y);
3626
3679
  }
3627
- function Es(t, e, n, i, s) {
3680
+ function Ss(t, e, n, i, s) {
3628
3681
  return t -= e, t = je(t, 1 / n, i), s !== void 0 && (t = je(t, 1 / s, i)), t;
3629
3682
  }
3630
3683
  function Du(t, e = 0, n = 1, i = 0.5, s, o = t, r = t) {
3631
3684
  if (ht.test(e) && (e = parseFloat(e), e = B(r.min, r.max, e / 100) - r.min), typeof e != "number")
3632
3685
  return;
3633
3686
  let a = B(o.min, o.max, i);
3634
- t === o && (a -= e), t.min = Es(t.min, e, n, a, s), t.max = Es(t.max, e, n, a, s);
3687
+ t === o && (a -= e), t.min = Ss(t.min, e, n, a, s), t.max = Ss(t.max, e, n, a, s);
3635
3688
  }
3636
- function As(t, e, [n, i, s], o, r) {
3689
+ function Es(t, e, [n, i, s], o, r) {
3637
3690
  Du(t, e[n], e[i], e[s], e.scale, o, r);
3638
3691
  }
3639
3692
  const Mu = ["x", "scaleX", "originX"], ku = ["y", "scaleY", "originY"];
3640
- function Cs(t, e, n, i) {
3641
- As(t.x, e, Mu, n ? n.x : void 0, i ? i.x : void 0), As(t.y, e, ku, n ? n.y : void 0, i ? i.y : void 0);
3693
+ function As(t, e, n, i) {
3694
+ Es(t.x, e, Mu, n ? n.x : void 0, i ? i.x : void 0), Es(t.y, e, ku, n ? n.y : void 0, i ? i.y : void 0);
3642
3695
  }
3643
- function Vs(t) {
3696
+ function Cs(t) {
3644
3697
  return t.translate === 0 && t.scale === 1;
3645
3698
  }
3646
3699
  function Eo(t) {
3647
- return Vs(t.x) && Vs(t.y);
3700
+ return Cs(t.x) && Cs(t.y);
3648
3701
  }
3649
- function Rs(t, e) {
3702
+ function Vs(t, e) {
3650
3703
  return t.min === e.min && t.max === e.max;
3651
3704
  }
3652
3705
  function Lu(t, e) {
3653
- return Rs(t.x, e.x) && Rs(t.y, e.y);
3706
+ return Vs(t.x, e.x) && Vs(t.y, e.y);
3654
3707
  }
3655
- function Ds(t, e) {
3708
+ function Rs(t, e) {
3656
3709
  return Math.round(t.min) === Math.round(e.min) && Math.round(t.max) === Math.round(e.max);
3657
3710
  }
3658
3711
  function Ao(t, e) {
3659
- return Ds(t.x, e.x) && Ds(t.y, e.y);
3712
+ return Rs(t.x, e.x) && Rs(t.y, e.y);
3660
3713
  }
3661
- function Ms(t) {
3714
+ function Ds(t) {
3662
3715
  return Z(t.x) / Z(t.y);
3663
3716
  }
3664
- function ks(t, e) {
3717
+ function Ms(t, e) {
3665
3718
  return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
3666
3719
  }
3667
3720
  function ft(t) {
@@ -3677,19 +3730,19 @@ function ju(t, e, n) {
3677
3730
  const a = t.x.scale * e.x, l = t.y.scale * e.y;
3678
3731
  return (a !== 1 || l !== 1) && (i += `scale(${a}, ${l})`), i || "none";
3679
3732
  }
3680
- const Co = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Ou = Co.length, Ls = (t) => typeof t == "string" ? parseFloat(t) : t, js = (t) => typeof t == "number" || P.test(t);
3733
+ const Co = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Ou = Co.length, ks = (t) => typeof t == "string" ? parseFloat(t) : t, Ls = (t) => typeof t == "number" || P.test(t);
3681
3734
  function Fu(t, e, n, i, s, o) {
3682
3735
  s ? (t.opacity = B(0, n.opacity ?? 1, Iu(i)), t.opacityExit = B(e.opacity ?? 1, 0, Bu(i))) : o && (t.opacity = B(e.opacity ?? 1, n.opacity ?? 1, i));
3683
3736
  for (let r = 0; r < Ou; r++) {
3684
3737
  const a = `border${Co[r]}Radius`;
3685
- let l = Os(e, a), u = Os(n, a);
3738
+ let l = js(e, a), u = js(n, a);
3686
3739
  if (l === void 0 && u === void 0)
3687
3740
  continue;
3688
- l || (l = 0), u || (u = 0), l === 0 || u === 0 || js(l) === js(u) ? (t[a] = Math.max(B(Ls(l), Ls(u), i), 0), (ht.test(u) || ht.test(l)) && (t[a] += "%")) : t[a] = u;
3741
+ l || (l = 0), u || (u = 0), l === 0 || u === 0 || Ls(l) === Ls(u) ? (t[a] = Math.max(B(ks(l), ks(u), i), 0), (ht.test(u) || ht.test(l)) && (t[a] += "%")) : t[a] = u;
3689
3742
  }
3690
3743
  (e.rotate || n.rotate) && (t.rotate = B(e.rotate || 0, n.rotate || 0, i));
3691
3744
  }
3692
- function Os(t, e) {
3745
+ function js(t, e) {
3693
3746
  return t[e] !== void 0 ? t[e] : t.borderRadius;
3694
3747
  }
3695
3748
  const Iu = /* @__PURE__ */ Vo(0, 0.5, Tr), Bu = /* @__PURE__ */ Vo(0.5, 0.95, st);
@@ -3698,7 +3751,7 @@ function Vo(t, e, n) {
3698
3751
  }
3699
3752
  function _u(t, e, n) {
3700
3753
  const i = H(t) ? t : Wt(t);
3701
- return i.start(ai("", i, e, n)), i.animation;
3754
+ return i.start(oi("", i, e, n)), i.animation;
3702
3755
  }
3703
3756
  function oe(t, e, n, i = { passive: !0 }) {
3704
3757
  return t.addEventListener(e, n, i), () => t.removeEventListener(e, n);
@@ -3709,7 +3762,7 @@ class Wu {
3709
3762
  this.children = [], this.isDirty = !1;
3710
3763
  }
3711
3764
  add(e) {
3712
- zn(this.children, e), this.isDirty = !0;
3765
+ Kn(this.children, e), this.isDirty = !0;
3713
3766
  }
3714
3767
  remove(e) {
3715
3768
  Re(this.children, e), this.isDirty = !0;
@@ -3733,7 +3786,7 @@ class $u {
3733
3786
  this.members = [];
3734
3787
  }
3735
3788
  add(e) {
3736
- zn(this.members, e);
3789
+ Kn(this.members, e);
3737
3790
  for (let n = this.members.length - 1; n >= 0; n--) {
3738
3791
  const i = this.members[n];
3739
3792
  if (i === e || i === this.lead || i === this.prevLead)
@@ -3839,7 +3892,7 @@ function Do({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3839
3892
  this.root === this && (this.nodes = new Wu());
3840
3893
  }
3841
3894
  addEventListener(r, a) {
3842
- return this.eventHandlers.has(r) || this.eventHandlers.set(r, new Hn()), this.eventHandlers.get(r).add(a);
3895
+ return this.eventHandlers.has(r) || this.eventHandlers.set(r, new Yn()), this.eventHandlers.get(r).add(a);
3843
3896
  }
3844
3897
  notifyListeners(r, ...a) {
3845
3898
  const l = this.eventHandlers.get(r);
@@ -3854,7 +3907,7 @@ function Do({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3854
3907
  mount(r) {
3855
3908
  if (this.instance)
3856
3909
  return;
3857
- this.isSVG = di(r) && !Hc(r), this.instance = r;
3910
+ this.isSVG = hi(r) && !Hc(r), this.instance = r;
3858
3911
  const { layoutId: a, layout: l, visualElement: u } = this.options;
3859
3912
  if (u && !u.current && u.mount(r), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (l || a) && (this.isLayoutDirty = !0), t) {
3860
3913
  let c, h = 0;
@@ -3863,7 +3916,7 @@ function Do({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3863
3916
  h = window.innerWidth;
3864
3917
  }), t(r, () => {
3865
3918
  const p = window.innerWidth;
3866
- p !== h && (h = p, this.root.updateBlockedByResize = !0, c && c(), c = Uu(d, 250), Ce.hasAnimatedSinceResize && (Ce.hasAnimatedSinceResize = !1, this.nodes.forEach(Bs)));
3919
+ p !== h && (h = p, this.root.updateBlockedByResize = !0, c && c(), c = Uu(d, 250), Ce.hasAnimatedSinceResize && (Ce.hasAnimatedSinceResize = !1, this.nodes.forEach(Is)));
3867
3920
  });
3868
3921
  }
3869
3922
  a && this.root.registerSharedNode(a, this), this.options.animate !== !1 && u && (a || l) && this.addEventListener("didUpdate", ({ delta: c, hasLayoutChanged: h, hasRelativeLayoutChanged: d, layout: p }) => {
@@ -3875,13 +3928,13 @@ function Do({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3875
3928
  if (this.options.layoutRoot || this.resumeFrom || v || h && (y || !this.currentAnimation)) {
3876
3929
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
3877
3930
  const b = {
3878
- ...oi(m, "layout"),
3931
+ ...ri(m, "layout"),
3879
3932
  onPlay: x,
3880
3933
  onComplete: T
3881
3934
  };
3882
3935
  (u.shouldReduceMotion || this.options.layoutRoot) && (b.delay = 0, b.type = !1), this.startAnimation(b), this.setAnimationOrigin(c, v);
3883
3936
  } else
3884
- h || Bs(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
3937
+ h || Is(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
3885
3938
  this.targetLayout = p;
3886
3939
  });
3887
3940
  }
@@ -3931,19 +3984,19 @@ function Do({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3931
3984
  }
3932
3985
  update() {
3933
3986
  if (this.updateScheduled = !1, this.isUpdateBlocked()) {
3934
- this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Fs);
3987
+ this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Os);
3935
3988
  return;
3936
3989
  }
3937
3990
  if (this.animationId <= this.animationCommitId) {
3938
- this.nodes.forEach(Is);
3991
+ this.nodes.forEach(Fs);
3939
3992
  return;
3940
3993
  }
3941
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Zu), this.nodes.forEach(Yu), this.nodes.forEach(Hu)) : this.nodes.forEach(Is), this.clearAllSnapshots();
3994
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Zu), this.nodes.forEach(Yu), this.nodes.forEach(Hu)) : this.nodes.forEach(Fs), this.clearAllSnapshots();
3942
3995
  const a = q.now();
3943
3996
  z.delta = dt(0, 1e3 / 60, a - z.timestamp), z.timestamp = a, z.isProcessing = !0, Je.update.process(z), Je.preRender.process(z), Je.render.process(z), z.isProcessing = !1;
3944
3997
  }
3945
3998
  didUpdate() {
3946
- this.updateScheduled || (this.updateScheduled = !0, fi.read(this.scheduleUpdate));
3999
+ this.updateScheduled || (this.updateScheduled = !0, ui.read(this.scheduleUpdate));
3947
4000
  }
3948
4001
  clearAllSnapshots() {
3949
4002
  this.nodes.forEach(qu), this.sharedNodes.forEach(ef);
@@ -4045,9 +4098,9 @@ function Do({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4045
4098
  continue;
4046
4099
  On(u.latestValues) && u.updateSnapshot();
4047
4100
  const c = K(), h = u.measurePageBox();
4048
- ot(c, h), Cs(a, u.latestValues, u.snapshot ? u.snapshot.layoutBox : void 0, c);
4101
+ ot(c, h), As(a, u.latestValues, u.snapshot ? u.snapshot.layoutBox : void 0, c);
4049
4102
  }
4050
- return At(this.latestValues) && Cs(a, this.latestValues), a;
4103
+ return At(this.latestValues) && As(a, this.latestValues), a;
4051
4104
  }
4052
4105
  setTargetDelta(r) {
4053
4106
  this.targetDelta = r, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -4107,7 +4160,7 @@ function Do({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4107
4160
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
4108
4161
  return;
4109
4162
  }
4110
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (bs(this.prevProjectionDelta.x, this.projectionDelta.x), bs(this.prevProjectionDelta.y, this.projectionDelta.y)), Qt(this.projectionDelta, this.layoutCorrected, p, this.latestValues), (this.treeScale.x !== h || this.treeScale.y !== d || !ks(this.projectionDelta.x, this.prevProjectionDelta.x) || !ks(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p));
4163
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (xs(this.prevProjectionDelta.x, this.projectionDelta.x), xs(this.prevProjectionDelta.y, this.projectionDelta.y)), Qt(this.projectionDelta, this.layoutCorrected, p, this.latestValues), (this.treeScale.x !== h || this.treeScale.y !== d || !Ms(this.projectionDelta.x, this.prevProjectionDelta.x) || !Ms(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p));
4111
4164
  }
4112
4165
  hide() {
4113
4166
  this.isVisible = !1;
@@ -4133,7 +4186,7 @@ function Do({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4133
4186
  let b;
4134
4187
  this.mixTargetDelta = (E) => {
4135
4188
  const S = E / 1e3;
4136
- _s(h.x, r.x, S), _s(h.y, r.y, S), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Oe(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), nf(this.relativeTarget, this.relativeTargetOrigin, d, S), b && Lu(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = K()), ot(b, this.relativeTarget)), x && (this.animationValues = c, Fu(c, u, this.latestValues, S, v, y)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = S;
4189
+ Bs(h.x, r.x, S), Bs(h.y, r.y, S), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Oe(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), nf(this.relativeTarget, this.relativeTargetOrigin, d, S), b && Lu(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = K()), ot(b, this.relativeTarget)), x && (this.animationValues = c, Fu(c, u, this.latestValues, S, v, y)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = S;
4137
4190
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
4138
4191
  }
4139
4192
  startAnimation(r) {
@@ -4267,7 +4320,7 @@ function Do({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4267
4320
  }
4268
4321
  // Only run on root
4269
4322
  resetTree() {
4270
- this.root.nodes.forEach((r) => r.currentAnimation?.stop()), this.root.nodes.forEach(Fs), this.root.sharedNodes.clear();
4323
+ this.root.nodes.forEach((r) => r.currentAnimation?.stop()), this.root.nodes.forEach(Os), this.root.sharedNodes.clear();
4271
4324
  }
4272
4325
  };
4273
4326
  }
@@ -4326,17 +4379,17 @@ function Xu(t) {
4326
4379
  function qu(t) {
4327
4380
  t.clearSnapshot();
4328
4381
  }
4329
- function Fs(t) {
4382
+ function Os(t) {
4330
4383
  t.clearMeasurements();
4331
4384
  }
4332
- function Is(t) {
4385
+ function Fs(t) {
4333
4386
  t.isLayoutDirty = !1;
4334
4387
  }
4335
4388
  function Zu(t) {
4336
4389
  const { visualElement: e } = t.options;
4337
4390
  e && e.getProps().onBeforeLayoutMeasure && e.notify("BeforeLayoutMeasure"), t.resetTransform();
4338
4391
  }
4339
- function Bs(t) {
4392
+ function Is(t) {
4340
4393
  t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0, t.isProjectionDirty = !0;
4341
4394
  }
4342
4395
  function Ju(t) {
@@ -4351,14 +4404,14 @@ function tf(t) {
4351
4404
  function ef(t) {
4352
4405
  t.removeLeadSnapshot();
4353
4406
  }
4354
- function _s(t, e, n) {
4407
+ function Bs(t, e, n) {
4355
4408
  t.translate = B(e.translate, 0, n), t.scale = B(e.scale, 1, n), t.origin = e.origin, t.originPoint = e.originPoint;
4356
4409
  }
4357
- function Ns(t, e, n, i) {
4410
+ function _s(t, e, n, i) {
4358
4411
  t.min = B(e.min, n.min, i), t.max = B(e.max, n.max, i);
4359
4412
  }
4360
4413
  function nf(t, e, n, i) {
4361
- Ns(t.x, e.x, n.x, i), Ns(t.y, e.y, n.y, i);
4414
+ _s(t.x, e.x, n.x, i), _s(t.y, e.y, n.y, i);
4362
4415
  }
4363
4416
  function sf(t) {
4364
4417
  return t.animationValues && t.animationValues.opacityExit !== void 0;
@@ -4366,15 +4419,15 @@ function sf(t) {
4366
4419
  const rf = {
4367
4420
  duration: 0.45,
4368
4421
  ease: [0.4, 0, 0.1, 1]
4369
- }, Ws = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Us = Ws("applewebkit/") && !Ws("chrome/") ? Math.round : st;
4370
- function $s(t) {
4371
- t.min = Us(t.min), t.max = Us(t.max);
4422
+ }, Ns = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Ws = Ns("applewebkit/") && !Ns("chrome/") ? Math.round : st;
4423
+ function Us(t) {
4424
+ t.min = Ws(t.min), t.max = Ws(t.max);
4372
4425
  }
4373
4426
  function of(t) {
4374
- $s(t.x), $s(t.y);
4427
+ Us(t.x), Us(t.y);
4375
4428
  }
4376
4429
  function Mo(t, e, n) {
4377
- return t === "position" || t === "preserve-aspect" && !Vu(Ms(e), Ms(n), 0.2);
4430
+ return t === "position" || t === "preserve-aspect" && !Vu(Ds(e), Ds(n), 0.2);
4378
4431
  }
4379
4432
  function af(t) {
4380
4433
  return t !== t.root && t.scroll?.wasRoot;
@@ -4404,12 +4457,12 @@ const lf = Do({
4404
4457
  t.style.transform = e !== void 0 ? e : "none";
4405
4458
  },
4406
4459
  checkIsScrollRoot: (t) => window.getComputedStyle(t).position === "fixed"
4407
- }), vi = Ut({
4460
+ }), yi = Ut({
4408
4461
  transformPagePoint: (t) => t,
4409
4462
  isStatic: !1,
4410
4463
  reducedMotion: "never"
4411
4464
  });
4412
- function Ks(t, e) {
4465
+ function $s(t, e) {
4413
4466
  if (typeof t == "function")
4414
4467
  return t(e);
4415
4468
  t != null && (t.current = e);
@@ -4418,14 +4471,14 @@ function cf(...t) {
4418
4471
  return (e) => {
4419
4472
  let n = !1;
4420
4473
  const i = t.map((s) => {
4421
- const o = Ks(s, e);
4474
+ const o = $s(s, e);
4422
4475
  return !n && typeof o == "function" && (n = !0), o;
4423
4476
  });
4424
4477
  if (n)
4425
4478
  return () => {
4426
4479
  for (let s = 0; s < i.length; s++) {
4427
4480
  const o = i[s];
4428
- typeof o == "function" ? o() : Ks(t[s], null);
4481
+ typeof o == "function" ? o() : $s(t[s], null);
4429
4482
  }
4430
4483
  };
4431
4484
  };
@@ -4459,8 +4512,8 @@ function hf({ children: t, isPresent: e, anchorX: n, anchorY: i, root: s, pop: o
4459
4512
  left: 0,
4460
4513
  right: 0,
4461
4514
  bottom: 0
4462
- }), { nonce: u } = Y(vi), c = t.props?.ref ?? t?.ref, h = uf(a, c);
4463
- return Un(() => {
4515
+ }), { nonce: u } = Y(yi), c = t.props?.ref ?? t?.ref, h = uf(a, c);
4516
+ return Wn(() => {
4464
4517
  const { width: d, height: p, top: m, left: x, right: T, bottom: y } = l.current;
4465
4518
  if (e || o === !1 || !a.current || !d || !p)
4466
4519
  return;
@@ -4483,7 +4536,7 @@ function hf({ children: t, isPresent: e, anchorX: n, anchorY: i, root: s, pop: o
4483
4536
  }, [e]), D.jsx(ff, { isPresent: e, childRef: a, sizeRef: l, pop: o, children: o === !1 ? t : Ie.cloneElement(t, { ref: h }) });
4484
4537
  }
4485
4538
  const df = ({ children: t, initial: e, isPresent: n, onExitComplete: i, custom: s, presenceAffectsLayout: o, mode: r, anchorX: a, anchorY: l, root: u }) => {
4486
- const c = Kn(pf), h = Be();
4539
+ const c = $n(pf), h = Be();
4487
4540
  let d = !0, p = Dt(() => (d = !1, {
4488
4541
  id: h,
4489
4542
  initial: e,
@@ -4512,7 +4565,7 @@ function Lo(t = !0) {
4512
4565
  if (e === null)
4513
4566
  return [!0, null];
4514
4567
  const { isPresent: n, onExitComplete: i, register: s } = e, o = Be();
4515
- Wn(() => {
4568
+ Nn(() => {
4516
4569
  if (t)
4517
4570
  return s(o);
4518
4571
  }, [t]);
@@ -4520,14 +4573,14 @@ function Lo(t = !0) {
4520
4573
  return !n && i ? [!1, r] : [!0];
4521
4574
  }
4522
4575
  const Te = (t) => t.key || "";
4523
- function zs(t) {
4576
+ function Ks(t) {
4524
4577
  const e = [];
4525
4578
  return xa.forEach(t, (n) => {
4526
4579
  ba(n) && e.push(n);
4527
4580
  }), e;
4528
4581
  }
4529
4582
  const mf = ({ children: t, custom: e, initial: n = !0, onExitComplete: i, presenceAffectsLayout: s = !0, mode: o = "sync", propagate: r = !1, anchorX: a = "left", anchorY: l = "top", root: u }) => {
4530
- const [c, h] = Lo(r), d = Dt(() => zs(t), [t]), p = r && !c ? [] : d.map(Te), m = nt(!0), x = nt(d), T = Kn(() => /* @__PURE__ */ new Map()), y = nt(/* @__PURE__ */ new Set()), [v, b] = ee(d), [E, S] = ee(d);
4583
+ const [c, h] = Lo(r), d = Dt(() => Ks(t), [t]), p = r && !c ? [] : d.map(Te), m = nt(!0), x = nt(d), T = $n(() => /* @__PURE__ */ new Map()), y = nt(/* @__PURE__ */ new Set()), [v, b] = ee(d), [E, S] = ee(d);
4531
4584
  lr(() => {
4532
4585
  m.current = !1, x.current = d;
4533
4586
  for (let A = 0; A < E.length; A++) {
@@ -4542,10 +4595,10 @@ const mf = ({ children: t, custom: e, initial: n = !0, onExitComplete: i, presen
4542
4595
  const _ = E[R], Q = Te(_);
4543
4596
  p.includes(Q) || (A.splice(R, 0, _), k.push(_));
4544
4597
  }
4545
- return o === "wait" && k.length && (A = k), S(zs(A)), b(d), null;
4598
+ return o === "wait" && k.length && (A = k), S(Ks(A)), b(d), null;
4546
4599
  }
4547
4600
  process.env.NODE_ENV !== "production" && o === "wait" && E.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
4548
- const { forceRender: F } = Y($n);
4601
+ const { forceRender: F } = Y(Un);
4549
4602
  return D.jsx(D.Fragment, { children: E.map((A) => {
4550
4603
  const R = Te(A), _ = r && !c ? !1 : d === E || p.includes(R), Q = () => {
4551
4604
  if (y.current.has(R))
@@ -4561,7 +4614,7 @@ const mf = ({ children: t, custom: e, initial: n = !0, onExitComplete: i, presen
4561
4614
  };
4562
4615
  return D.jsx(df, { isPresent: _, initial: !m.current || n ? void 0 : !1, custom: e, presenceAffectsLayout: s, mode: o, root: u, onExitComplete: _ ? void 0 : Q, anchorX: a, anchorY: l, children: A }, R);
4563
4616
  }) });
4564
- }, jo = Ut({ strict: !1 }), Ys = {
4617
+ }, jo = Ut({ strict: !1 }), zs = {
4565
4618
  animation: [
4566
4619
  "animate",
4567
4620
  "variants",
@@ -4581,16 +4634,16 @@ const mf = ({ children: t, custom: e, initial: n = !0, onExitComplete: i, presen
4581
4634
  inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
4582
4635
  layout: ["layout", "layoutId"]
4583
4636
  };
4584
- let Hs = !1;
4637
+ let Ys = !1;
4585
4638
  function gf() {
4586
- if (Hs)
4639
+ if (Ys)
4587
4640
  return;
4588
4641
  const t = {};
4589
- for (const e in Ys)
4642
+ for (const e in zs)
4590
4643
  t[e] = {
4591
- isEnabled: (n) => Ys[e].some((i) => !!n[i])
4644
+ isEnabled: (n) => zs[e].some((i) => !!n[i])
4592
4645
  };
4593
- lo(t), Hs = !0;
4646
+ lo(t), Ys = !0;
4594
4647
  }
4595
4648
  function Oo() {
4596
4649
  return gf(), tu();
@@ -4668,12 +4721,12 @@ function bf(t, e) {
4668
4721
  }
4669
4722
  function wf(t) {
4670
4723
  const { initial: e, animate: n } = bf(t, Y(Ue));
4671
- return Dt(() => ({ initial: e, animate: n }), [Gs(e), Gs(n)]);
4724
+ return Dt(() => ({ initial: e, animate: n }), [Hs(e), Hs(n)]);
4672
4725
  }
4673
- function Gs(t) {
4726
+ function Hs(t) {
4674
4727
  return Array.isArray(t) ? t.join(" ") : t;
4675
4728
  }
4676
- const Ti = () => ({
4729
+ const vi = () => ({
4677
4730
  style: {},
4678
4731
  transform: {},
4679
4732
  transformOrigin: {},
@@ -4685,8 +4738,8 @@ function Io(t, e, n) {
4685
4738
  }
4686
4739
  function Pf({ transformTemplate: t }, e) {
4687
4740
  return Dt(() => {
4688
- const n = Ti();
4689
- return gi(n, e, t), Object.assign({}, n.vars, n.style);
4741
+ const n = vi();
4742
+ return mi(n, e, t), Object.assign({}, n.vars, n.style);
4690
4743
  }, [e]);
4691
4744
  }
4692
4745
  function Sf(t, e) {
@@ -4698,7 +4751,7 @@ function Ef(t, e) {
4698
4751
  return t.drag && t.dragListener !== !1 && (n.draggable = !1, i.userSelect = i.WebkitUserSelect = i.WebkitTouchCallout = "none", i.touchAction = t.drag === !0 ? "none" : `pan-${t.drag === "x" ? "y" : "x"}`), t.tabIndex === void 0 && (t.onTap || t.onTapStart || t.whileTap) && (n.tabIndex = 0), n.style = i, n;
4699
4752
  }
4700
4753
  const Bo = () => ({
4701
- ...Ti(),
4754
+ ...vi(),
4702
4755
  attrs: {}
4703
4756
  });
4704
4757
  function Af(t, e, n, i) {
@@ -4742,7 +4795,7 @@ const Cf = [
4742
4795
  "use",
4743
4796
  "view"
4744
4797
  ];
4745
- function xi(t) {
4798
+ function Ti(t) {
4746
4799
  return (
4747
4800
  /**
4748
4801
  * If it's not a string, it's a custom React component. Currently we only support
@@ -4763,7 +4816,7 @@ function xi(t) {
4763
4816
  );
4764
4817
  }
4765
4818
  function Vf(t, e, n, { latestValues: i }, s, o = !1, r) {
4766
- const l = (r ?? xi(t) ? Af : Ef)(e, i, s, t), u = xf(e, typeof t == "string", o), c = t !== or ? { ...u, ...l, ref: n } : {}, { children: h } = e, d = Dt(() => H(h) ? h.get() : h, [h]);
4819
+ const l = (r ?? Ti(t) ? Af : Ef)(e, i, s, t), u = xf(e, typeof t == "string", o), c = t !== or ? { ...u, ...l, ref: n } : {}, { children: h } = e, d = Dt(() => H(h) ? h.get() : h, [h]);
4767
4820
  return wa(t, {
4768
4821
  ...c,
4769
4822
  children: d
@@ -4788,7 +4841,7 @@ function Df(t, e, n, i) {
4788
4841
  if (h && typeof h != "boolean" && !Ne(h)) {
4789
4842
  const d = Array.isArray(h) ? h : [h];
4790
4843
  for (let p = 0; p < d.length; p++) {
4791
- const m = li(t, d[p]);
4844
+ const m = ai(t, d[p]);
4792
4845
  if (m) {
4793
4846
  const { transitionEnd: x, transition: T, ...y } = m;
4794
4847
  for (const v in y) {
@@ -4808,17 +4861,17 @@ function Df(t, e, n, i) {
4808
4861
  }
4809
4862
  const _o = (t) => (e, n) => {
4810
4863
  const i = Y(Ue), s = Y(_e), o = () => Rf(t, e, i, s);
4811
- return n ? o() : Kn(o);
4864
+ return n ? o() : $n(o);
4812
4865
  }, Mf = /* @__PURE__ */ _o({
4813
- scrapeMotionValuesFromProps: yi,
4814
- createRenderState: Ti
4866
+ scrapeMotionValuesFromProps: gi,
4867
+ createRenderState: vi
4815
4868
  }), kf = /* @__PURE__ */ _o({
4816
4869
  scrapeMotionValuesFromProps: xo,
4817
4870
  createRenderState: Bo
4818
4871
  }), Lf = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
4819
4872
  function jf(t, e, n) {
4820
4873
  const i = nt(n);
4821
- Un(() => {
4874
+ Wn(() => {
4822
4875
  i.current = n;
4823
4876
  });
4824
4877
  const s = nt(null);
@@ -4838,7 +4891,7 @@ function Lt(t) {
4838
4891
  return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
4839
4892
  }
4840
4893
  function Of(t, e, n, i, s, o) {
4841
- const { visualElement: r } = Y(Ue), a = Y(jo), l = Y(_e), u = Y(vi), c = u.reducedMotion, h = u.skipAnimations, d = nt(null), p = nt(!1);
4894
+ const { visualElement: r } = Y(Ue), a = Y(jo), l = Y(_e), u = Y(yi), c = u.reducedMotion, h = u.skipAnimations, d = nt(null), p = nt(!1);
4842
4895
  i = i || a.renderer, !d.current && i && (d.current = i(t, {
4843
4896
  visualState: e,
4844
4897
  parent: r,
@@ -4852,13 +4905,13 @@ function Of(t, e, n, i, s, o) {
4852
4905
  const m = d.current, x = Y(No);
4853
4906
  m && !m.projection && s && (m.type === "html" || m.type === "svg") && Ff(d.current, n, s, x);
4854
4907
  const T = nt(!1);
4855
- Un(() => {
4908
+ Wn(() => {
4856
4909
  m && T.current && m.update(n, l);
4857
4910
  });
4858
4911
  const y = n[Hr], v = nt(!!y && !window.MotionHandoffIsComplete?.(y) && window.MotionHasOptimisedAnimation?.(y));
4859
4912
  return lr(() => {
4860
4913
  p.current = !0, m && (T.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
4861
- }), Wn(() => {
4914
+ }), Nn(() => {
4862
4915
  m && (!v.current && m.animationState && m.animationState.animateChanges(), v.current && (queueMicrotask(() => {
4863
4916
  window.MotionHandoffMarkAsComplete?.(y);
4864
4917
  }), v.current = !1), m.enteringChildren = void 0);
@@ -4891,11 +4944,11 @@ function Wo(t) {
4891
4944
  }
4892
4945
  function un(t, { forwardMotionProps: e = !1, type: n } = {}, i, s) {
4893
4946
  i && yf(i);
4894
- const o = n ? n === "svg" : xi(t), r = o ? kf : Mf;
4947
+ const o = n ? n === "svg" : Ti(t), r = o ? kf : Mf;
4895
4948
  function a(u, c) {
4896
4949
  let h;
4897
4950
  const d = {
4898
- ...Y(vi),
4951
+ ...Y(yi),
4899
4952
  ...u,
4900
4953
  layoutId: If(u)
4901
4954
  }, { isStatic: p } = d, m = wf(u), x = r(u, p);
@@ -4911,7 +4964,7 @@ function un(t, { forwardMotionProps: e = !1, type: n } = {}, i, s) {
4911
4964
  return l[Lf] = t, l;
4912
4965
  }
4913
4966
  function If({ layoutId: t }) {
4914
- const e = Y($n).id;
4967
+ const e = Y(Un).id;
4915
4968
  return e && t !== void 0 ? e + "-" + t : t;
4916
4969
  }
4917
4970
  function Bf(t, e) {
@@ -4934,7 +4987,7 @@ function _f(t) {
4934
4987
  function Nf(t, e) {
4935
4988
  if (typeof Proxy > "u")
4936
4989
  return un;
4937
- const n = /* @__PURE__ */ new Map(), i = (o, r) => un(o, r, t, e), s = (o, r) => (process.env.NODE_ENV !== "production" && Gn(!1, "motion() is deprecated. Use motion.create() instead."), i(o, r));
4990
+ const n = /* @__PURE__ */ new Map(), i = (o, r) => un(o, r, t, e), s = (o, r) => (process.env.NODE_ENV !== "production" && Hn(!1, "motion() is deprecated. Use motion.create() instead."), i(o, r));
4938
4991
  return new Proxy(s, {
4939
4992
  /**
4940
4993
  * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
@@ -4944,7 +4997,7 @@ function Nf(t, e) {
4944
4997
  get: (o, r) => r === "create" ? i : (n.has(r) || n.set(r, un(r, void 0, t, e)), n.get(r))
4945
4998
  });
4946
4999
  }
4947
- const Wf = (t, e) => e.isSVG ?? xi(t) ? new yu(e) : new fu(e, {
5000
+ const Wf = (t, e) => e.isSVG ?? Ti(t) ? new yu(e) : new fu(e, {
4948
5001
  allowProjection: t !== or
4949
5002
  });
4950
5003
  class Uf extends Pt {
@@ -5013,16 +5066,16 @@ function ue(t) {
5013
5066
  }
5014
5067
  };
5015
5068
  }
5016
- const Yf = (t) => (e) => hi(e) && t(e, ue(e));
5069
+ const Yf = (t) => (e) => fi(e) && t(e, ue(e));
5017
5070
  function te(t, e, n, i) {
5018
5071
  return oe(t, e, Yf(n), i);
5019
5072
  }
5020
- const Uo = ({ current: t }) => t ? t.ownerDocument.defaultView : null, Xs = (t, e) => Math.abs(t - e);
5073
+ const Uo = ({ current: t }) => t ? t.ownerDocument.defaultView : null, Gs = (t, e) => Math.abs(t - e);
5021
5074
  function Hf(t, e) {
5022
- const n = Xs(t.x, e.x), i = Xs(t.y, e.y);
5075
+ const n = Gs(t.x, e.x), i = Gs(t.y, e.y);
5023
5076
  return Math.sqrt(n ** 2 + i ** 2);
5024
5077
  }
5025
- const qs = /* @__PURE__ */ new Set(["auto", "scroll"]);
5078
+ const Xs = /* @__PURE__ */ new Set(["auto", "scroll"]);
5026
5079
  class $o {
5027
5080
  constructor(e, n, { transformPagePoint: i, contextWindow: s = window, dragSnapToOrigin: o = !1, distanceThreshold: r = 3, element: a } = {}) {
5028
5081
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (p) => {
@@ -5048,7 +5101,7 @@ class $o {
5048
5101
  return;
5049
5102
  const v = hn(p.type === "pointercancel" ? this.lastMoveEventInfo : fn(m, this.transformPagePoint), this.history);
5050
5103
  this.startEvent && x && x(p, v), T && T(p, v);
5051
- }, !hi(e))
5104
+ }, !fi(e))
5052
5105
  return;
5053
5106
  this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = i, this.distanceThreshold = r, this.contextWindow = s || window;
5054
5107
  const l = ue(e), u = fn(l, this.transformPagePoint), { point: c } = u, { timestamp: h } = z;
@@ -5063,7 +5116,7 @@ class $o {
5063
5116
  let n = e.parentElement;
5064
5117
  for (; n; ) {
5065
5118
  const i = getComputedStyle(n);
5066
- (qs.has(i.overflowX) || qs.has(i.overflowY)) && this.scrollPositions.set(n, {
5119
+ (Xs.has(i.overflowX) || Xs.has(i.overflowY)) && this.scrollPositions.set(n, {
5067
5120
  x: n.scrollLeft,
5068
5121
  y: n.scrollTop
5069
5122
  }), n = n.parentElement;
@@ -5108,14 +5161,14 @@ class $o {
5108
5161
  function fn(t, e) {
5109
5162
  return e ? { point: e(t.point) } : t;
5110
5163
  }
5111
- function Zs(t, e) {
5164
+ function qs(t, e) {
5112
5165
  return { x: t.x - e.x, y: t.y - e.y };
5113
5166
  }
5114
5167
  function hn({ point: t }, e) {
5115
5168
  return {
5116
5169
  point: t,
5117
- delta: Zs(t, Ko(e)),
5118
- offset: Zs(t, Gf(e)),
5170
+ delta: qs(t, Ko(e)),
5171
+ offset: qs(t, Gf(e)),
5119
5172
  velocity: Xf(e, 0.1)
5120
5173
  };
5121
5174
  }
@@ -5147,7 +5200,7 @@ function Xf(t, e) {
5147
5200
  function qf(t, { min: e, max: n }, i) {
5148
5201
  return e !== void 0 && t < e ? t = i ? B(e, t, i.min) : Math.max(t, e) : n !== void 0 && t > n && (t = i ? B(n, t, i.max) : Math.min(t, n)), t;
5149
5202
  }
5150
- function Js(t, e, n) {
5203
+ function Zs(t, e, n) {
5151
5204
  return {
5152
5205
  min: e !== void 0 ? t.min + e : void 0,
5153
5206
  max: n !== void 0 ? t.max + n - (t.max - t.min) : void 0
@@ -5155,18 +5208,18 @@ function Js(t, e, n) {
5155
5208
  }
5156
5209
  function Zf(t, { top: e, left: n, bottom: i, right: s }) {
5157
5210
  return {
5158
- x: Js(t.x, n, s),
5159
- y: Js(t.y, e, i)
5211
+ x: Zs(t.x, n, s),
5212
+ y: Zs(t.y, e, i)
5160
5213
  };
5161
5214
  }
5162
- function Qs(t, e) {
5215
+ function Js(t, e) {
5163
5216
  let n = e.min - t.min, i = e.max - t.max;
5164
5217
  return e.max - e.min < t.max - t.min && ([n, i] = [i, n]), { min: n, max: i };
5165
5218
  }
5166
5219
  function Jf(t, e) {
5167
5220
  return {
5168
- x: Qs(t.x, e.x),
5169
- y: Qs(t.y, e.y)
5221
+ x: Js(t.x, e.x),
5222
+ y: Js(t.y, e.y)
5170
5223
  };
5171
5224
  }
5172
5225
  function Qf(t, e) {
@@ -5181,17 +5234,17 @@ function th(t, e) {
5181
5234
  const Bn = 0.35;
5182
5235
  function eh(t = Bn) {
5183
5236
  return t === !1 ? t = 0 : t === !0 && (t = Bn), {
5184
- x: tr(t, "left", "right"),
5185
- y: tr(t, "top", "bottom")
5237
+ x: Qs(t, "left", "right"),
5238
+ y: Qs(t, "top", "bottom")
5186
5239
  };
5187
5240
  }
5188
- function tr(t, e, n) {
5241
+ function Qs(t, e, n) {
5189
5242
  return {
5190
- min: er(t, e),
5191
- max: er(t, n)
5243
+ min: tr(t, e),
5244
+ max: tr(t, n)
5192
5245
  };
5193
5246
  }
5194
- function er(t, e) {
5247
+ function tr(t, e) {
5195
5248
  return typeof t == "number" ? t : t[e] || 0;
5196
5249
  }
5197
5250
  const nh = /* @__PURE__ */ new WeakMap();
@@ -5338,7 +5391,7 @@ class ih {
5338
5391
  }
5339
5392
  startAxisValueAnimation(e, n) {
5340
5393
  const i = this.getAxisMotionValue(e);
5341
- return Dn(this.visualElement, e), i.start(ai(e, i, 0, n, this.visualElement, !1));
5394
+ return Dn(this.visualElement, e), i.start(oi(e, i, 0, n, this.visualElement, !1));
5342
5395
  }
5343
5396
  stopAnimation() {
5344
5397
  ft((e) => this.getAxisMotionValue(e).stop());
@@ -5430,7 +5483,7 @@ class ih {
5430
5483
  };
5431
5484
  }
5432
5485
  }
5433
- function nr(t) {
5486
+ function er(t) {
5434
5487
  let e = !0;
5435
5488
  return () => {
5436
5489
  if (e) {
@@ -5441,7 +5494,7 @@ function nr(t) {
5441
5494
  };
5442
5495
  }
5443
5496
  function sh(t, e, n) {
5444
- const i = cs(t, nr(n)), s = cs(e, nr(n));
5497
+ const i = ls(t, er(n)), s = ls(e, er(n));
5445
5498
  return () => {
5446
5499
  i(), s();
5447
5500
  };
@@ -5532,7 +5585,7 @@ class lh extends Sa {
5532
5585
  }
5533
5586
  componentDidUpdate() {
5534
5587
  const { projection: e } = this.props.visualElement;
5535
- e && (e.root.didUpdate(), fi.postRender(() => {
5588
+ e && (e.root.didUpdate(), ui.postRender(() => {
5536
5589
  !e.currentAnimation && e.isLead() && this.safeToRemove();
5537
5590
  }));
5538
5591
  }
@@ -5549,7 +5602,7 @@ class lh extends Sa {
5549
5602
  }
5550
5603
  }
5551
5604
  function zo(t) {
5552
- const [e, n] = Lo(), i = Y($n);
5605
+ const [e, n] = Lo(), i = Y(Un);
5553
5606
  return D.jsx(lh, { ...t, layoutGroup: i, switchLayoutGroup: Y(No), isPresent: e, safeToRemove: n });
5554
5607
  }
5555
5608
  const ch = {
@@ -5562,7 +5615,7 @@ const ch = {
5562
5615
  MeasureLayout: zo
5563
5616
  }
5564
5617
  };
5565
- function ir(t, e, n) {
5618
+ function nr(t, e, n) {
5566
5619
  const { props: i } = t;
5567
5620
  t.animationState && i.whileHover && t.animationState.setActive("whileHover", n === "Start");
5568
5621
  const s = "onHover" + n, o = i[s];
@@ -5571,7 +5624,7 @@ function ir(t, e, n) {
5571
5624
  class uh extends Pt {
5572
5625
  mount() {
5573
5626
  const { current: e } = this.node;
5574
- e && (this.unmount = kc(e, (n, i) => (ir(this.node, i, "Start"), (s) => ir(this.node, s, "End"))));
5627
+ e && (this.unmount = kc(e, (n, i) => (nr(this.node, i, "Start"), (s) => nr(this.node, s, "End"))));
5575
5628
  }
5576
5629
  unmount() {
5577
5630
  }
@@ -5598,7 +5651,7 @@ class fh extends Pt {
5598
5651
  unmount() {
5599
5652
  }
5600
5653
  }
5601
- function sr(t, e, n) {
5654
+ function ir(t, e, n) {
5602
5655
  const { props: i } = t;
5603
5656
  if (t.current instanceof HTMLButtonElement && t.current.disabled)
5604
5657
  return;
@@ -5612,7 +5665,7 @@ class hh extends Pt {
5612
5665
  if (!e)
5613
5666
  return;
5614
5667
  const { globalTapTarget: n, propagate: i } = this.node.props;
5615
- this.unmount = Bc(e, (s, o) => (sr(this.node, o, "Start"), (r, { success: a }) => sr(this.node, r, a ? "End" : "Cancel")), {
5668
+ this.unmount = Bc(e, (s, o) => (ir(this.node, o, "Start"), (r, { success: a }) => ir(this.node, r, a ? "End" : "Cancel")), {
5616
5669
  useGlobalTarget: n,
5617
5670
  stopPropagation: i?.tap === !1
5618
5671
  });
@@ -5700,63 +5753,7 @@ const xh = {
5700
5753
  ...xh,
5701
5754
  ...ch,
5702
5755
  ...bh
5703
- }, Nn = /* @__PURE__ */ Nf(wh, Wf), Fh = ({ cards: t = [] }) => {
5704
- const [e, n] = ee(0), [i, s] = ee(!1);
5705
- if (!t || t.length === 0)
5706
- return /* @__PURE__ */ D.jsx("div", { className: "flashcard-deck-container", children: /* @__PURE__ */ D.jsx("p", { className: "flashcard-empty-message", children: "No cards available" }) });
5707
- const o = t[e], r = e > 0, a = e < t.length - 1, l = () => {
5708
- r && (n(e - 1), s(!1));
5709
- }, u = () => {
5710
- a && (n(e + 1), s(!1));
5711
- }, c = () => {
5712
- s(!i);
5713
- };
5714
- return /* @__PURE__ */ D.jsxs("div", { className: "flashcard-deck-container", children: [
5715
- /* @__PURE__ */ D.jsx("div", { className: "flashcard-deck-header", children: /* @__PURE__ */ D.jsxs("span", { className: "flashcard-counter", children: [
5716
- "Card ",
5717
- e + 1,
5718
- " of ",
5719
- t.length
5720
- ] }) }),
5721
- /* @__PURE__ */ D.jsx("div", { className: "flashcard-wrapper", children: /* @__PURE__ */ D.jsxs(
5722
- Nn.div,
5723
- {
5724
- className: "flashcard",
5725
- onClick: c,
5726
- animate: { rotateY: i ? 180 : 0 },
5727
- transition: { duration: 0.6, type: "spring", stiffness: 100 },
5728
- style: { transformStyle: "preserve-3d" },
5729
- children: [
5730
- /* @__PURE__ */ D.jsx("div", { className: "flashcard-face flashcard-front", children: /* @__PURE__ */ D.jsx("div", { className: "flashcard-content", children: o.front }) }),
5731
- /* @__PURE__ */ D.jsx("div", { className: "flashcard-face flashcard-back", children: /* @__PURE__ */ D.jsx("div", { className: "flashcard-content", children: o.back }) })
5732
- ]
5733
- },
5734
- e
5735
- ) }),
5736
- /* @__PURE__ */ D.jsxs("div", { className: "flashcard-controls", children: [
5737
- /* @__PURE__ */ D.jsx(
5738
- "button",
5739
- {
5740
- className: "flashcard-button flashcard-button-previous",
5741
- onClick: l,
5742
- disabled: !r,
5743
- "aria-label": "Previous card",
5744
- children: "Previous"
5745
- }
5746
- ),
5747
- /* @__PURE__ */ D.jsx(
5748
- "button",
5749
- {
5750
- className: "flashcard-button flashcard-button-next",
5751
- onClick: u,
5752
- disabled: !a,
5753
- "aria-label": "Next card",
5754
- children: "Next"
5755
- }
5756
- )
5757
- ] })
5758
- ] });
5759
- }, Ph = "_accordion_1gkiv_1", Sh = "_empty_1gkiv_17", Eh = "_item_1gkiv_31", Ah = "_heading_1gkiv_73", Ch = "_trigger_1gkiv_85", Vh = "_title_1gkiv_145", Rh = "_icon_1gkiv_155", Dh = "_panelWrapper_1gkiv_179", Mh = "_panel_1gkiv_179", kh = "_content_1gkiv_195", at = {
5756
+ }, sr = /* @__PURE__ */ Nf(wh, Wf), Ph = "_accordion_1gkiv_1", Sh = "_empty_1gkiv_17", Eh = "_item_1gkiv_31", Ah = "_heading_1gkiv_73", Ch = "_trigger_1gkiv_85", Vh = "_title_1gkiv_145", Rh = "_icon_1gkiv_155", Dh = "_panelWrapper_1gkiv_179", Mh = "_panel_1gkiv_179", kh = "_content_1gkiv_195", at = {
5760
5757
  accordion: Ph,
5761
5758
  empty: Sh,
5762
5759
  item: Eh,
@@ -5842,7 +5839,7 @@ const xh = {
5842
5839
  children: [
5843
5840
  /* @__PURE__ */ D.jsx("span", { className: at.title, children: c.title }),
5844
5841
  /* @__PURE__ */ D.jsx(
5845
- Nn.span,
5842
+ sr.span,
5846
5843
  {
5847
5844
  className: at.icon,
5848
5845
  animate: { rotate: d ? 180 : 0 },
@@ -5863,7 +5860,7 @@ const xh = {
5863
5860
  "aria-hidden": !d,
5864
5861
  className: at.panelWrapper,
5865
5862
  children: /* @__PURE__ */ D.jsx(mf, { initial: !1, children: d && /* @__PURE__ */ D.jsx(
5866
- Nn.div,
5863
+ sr.div,
5867
5864
  {
5868
5865
  initial: { height: 0, opacity: 0 },
5869
5866
  animate: { height: "auto", opacity: 1 },
@@ -5885,5 +5882,5 @@ const xh = {
5885
5882
  };
5886
5883
  export {
5887
5884
  Ih as Accordion,
5888
- Fh as FlashcardDeck
5885
+ Oh as FlashcardDeck
5889
5886
  };