@latte-macchiat-io/latte-vanilla-components 0.0.146 → 0.0.148

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import * as ke from "react/jsx-runtime";
2
- import { jsxs as La, jsx as Fs } from "react/jsx-runtime";
2
+ import { jsxs as qa, jsx as Fs } from "react/jsx-runtime";
3
3
  import * as lt from "react";
4
- import $a, { forwardRef as Bs, useContext as rt, useState as _t, useEffect as wt, useRef as le, createContext as pe, useId as Oa, useCallback as Is, useLayoutEffect as Fa, useMemo as xn, useInsertionEffect as Ba, Fragment as js, createElement as Ia, Component as ja, createRef as Na } from "react";
5
- function Ua(t) {
4
+ import Ga, { forwardRef as Bs, useContext as rt, useState as _t, useEffect as wt, useRef as le, createContext as pe, useId as Ha, useCallback as Is, useLayoutEffect as Ka, useMemo as xn, useInsertionEffect as Ya, Fragment as js, createElement as Xa, Component as Za, createRef as Ja } from "react";
5
+ function Qa(t) {
6
6
  if (t.sheet)
7
7
  return t.sheet;
8
8
  for (var e = 0; e < document.styleSheets.length; e++)
9
9
  if (document.styleSheets[e].ownerNode === t)
10
10
  return document.styleSheets[e];
11
11
  }
12
- function za(t) {
12
+ function tl(t) {
13
13
  var e = document.createElement("style");
14
14
  return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
15
15
  }
16
- var Wa = /* @__PURE__ */ function() {
16
+ var el = /* @__PURE__ */ function() {
17
17
  function t(n) {
18
18
  var r = this;
19
19
  this._insertTag = function(i) {
@@ -25,10 +25,10 @@ var Wa = /* @__PURE__ */ function() {
25
25
  return e.hydrate = function(r) {
26
26
  r.forEach(this._insertTag);
27
27
  }, e.insert = function(r) {
28
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(za(this));
28
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(tl(this));
29
29
  var i = this.tags[this.tags.length - 1];
30
30
  if (this.isSpeedy) {
31
- var s = Ua(i);
31
+ var s = Qa(i);
32
32
  try {
33
33
  s.insertRule(r, s.cssRules.length);
34
34
  } catch {
@@ -42,14 +42,14 @@ var Wa = /* @__PURE__ */ function() {
42
42
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
43
43
  }), this.tags = [], this.ctr = 0;
44
44
  }, t;
45
- }(), X = "-ms-", fn = "-moz-", _ = "-webkit-", Ns = "comm", vr = "rule", br = "decl", qa = "@import", Us = "@keyframes", Ga = "@layer", Ha = Math.abs, wn = String.fromCharCode, Ka = Object.assign;
46
- function Ya(t, e) {
45
+ }(), X = "-ms-", fn = "-moz-", _ = "-webkit-", Ns = "comm", vr = "rule", br = "decl", nl = "@import", Us = "@keyframes", rl = "@layer", il = Math.abs, wn = String.fromCharCode, sl = Object.assign;
46
+ function ol(t, e) {
47
47
  return K(t, 0) ^ 45 ? (((e << 2 ^ K(t, 0)) << 2 ^ K(t, 1)) << 2 ^ K(t, 2)) << 2 ^ K(t, 3) : 0;
48
48
  }
49
49
  function zs(t) {
50
50
  return t.trim();
51
51
  }
52
- function Xa(t, e) {
52
+ function al(t, e) {
53
53
  return (t = e.exec(t)) ? t[0] : t;
54
54
  }
55
55
  function L(t, e, n) {
@@ -73,7 +73,7 @@ function xr(t) {
73
73
  function He(t, e) {
74
74
  return e.push(t), t;
75
75
  }
76
- function Za(t, e) {
76
+ function ll(t, e) {
77
77
  return t.map(e).join("");
78
78
  }
79
79
  var Sn = 1, ue = 1, Ws = 0, ut = 0, q = 0, me = "";
@@ -81,15 +81,15 @@ function Tn(t, e, n, r, i, s, o) {
81
81
  return { value: t, root: e, parent: n, type: r, props: i, children: s, line: Sn, column: ue, length: o, return: "" };
82
82
  }
83
83
  function be(t, e) {
84
- return Ka(Tn("", null, null, "", null, null, 0), t, { length: -t.length }, e);
84
+ return sl(Tn("", null, null, "", null, null, 0), t, { length: -t.length }, e);
85
85
  }
86
- function Ja() {
86
+ function cl() {
87
87
  return q;
88
88
  }
89
- function Qa() {
89
+ function ul() {
90
90
  return q = ut > 0 ? K(me, --ut) : 0, ue--, q === 10 && (ue = 1, Sn--), q;
91
91
  }
92
- function ft() {
92
+ function ht() {
93
93
  return q = ut < Ws ? K(me, ut++) : 0, ue++, q === 10 && (ue = 1, Sn++), q;
94
94
  }
95
95
  function At() {
@@ -148,18 +148,18 @@ function Gs(t) {
148
148
  function nn(t) {
149
149
  return zs(Ue(ut - 1, Xn(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
150
150
  }
151
- function tl(t) {
151
+ function dl(t) {
152
152
  for (; (q = At()) && q < 33; )
153
- ft();
153
+ ht();
154
154
  return _e(t) > 2 || _e(q) > 3 ? "" : " ";
155
155
  }
156
- function el(t, e) {
157
- for (; --e && ft() && !(q < 48 || q > 102 || q > 57 && q < 65 || q > 70 && q < 97); )
156
+ function fl(t, e) {
157
+ for (; --e && ht() && !(q < 48 || q > 102 || q > 57 && q < 65 || q > 70 && q < 97); )
158
158
  ;
159
- return Ue(t, en() + (e < 6 && At() == 32 && ft() == 32));
159
+ return Ue(t, en() + (e < 6 && At() == 32 && ht() == 32));
160
160
  }
161
161
  function Xn(t) {
162
- for (; ft(); )
162
+ for (; ht(); )
163
163
  switch (q) {
164
164
  // ] ) " '
165
165
  case t:
@@ -175,28 +175,28 @@ function Xn(t) {
175
175
  break;
176
176
  // \
177
177
  case 92:
178
- ft();
178
+ ht();
179
179
  break;
180
180
  }
181
181
  return ut;
182
182
  }
183
- function nl(t, e) {
184
- for (; ft() && t + q !== 57; )
183
+ function hl(t, e) {
184
+ for (; ht() && t + q !== 57; )
185
185
  if (t + q === 84 && At() === 47)
186
186
  break;
187
- return "/*" + Ue(e, ut - 1) + "*" + wn(t === 47 ? t : ft());
187
+ return "/*" + Ue(e, ut - 1) + "*" + wn(t === 47 ? t : ht());
188
188
  }
189
- function rl(t) {
189
+ function pl(t) {
190
190
  for (; !_e(At()); )
191
- ft();
191
+ ht();
192
192
  return Ue(t, ut);
193
193
  }
194
- function il(t) {
194
+ function ml(t) {
195
195
  return Gs(rn("", null, null, null, [""], t = qs(t), 0, [0], t));
196
196
  }
197
197
  function rn(t, e, n, r, i, s, o, a, l) {
198
198
  for (var c = 0, u = 0, d = o, f = 0, h = 0, p = 0, g = 1, x = 1, v = 1, w = 0, S = "", P = i, m = s, V = r, E = S; x; )
199
- switch (p = w, w = ft()) {
199
+ switch (p = w, w = ht()) {
200
200
  // (
201
201
  case 40:
202
202
  if (p != 108 && K(E, d - 1) == 58) {
@@ -214,18 +214,18 @@ function rn(t, e, n, r, i, s, o, a, l) {
214
214
  case 10:
215
215
  case 13:
216
216
  case 32:
217
- E += tl(p);
217
+ E += dl(p);
218
218
  break;
219
219
  // \
220
220
  case 92:
221
- E += el(en() - 1, 7);
221
+ E += fl(en() - 1, 7);
222
222
  continue;
223
223
  // /
224
224
  case 47:
225
225
  switch (At()) {
226
226
  case 42:
227
227
  case 47:
228
- He(sl(nl(ft(), en()), e, n), l);
228
+ He(gl(hl(ht(), en()), e, n), l);
229
229
  break;
230
230
  default:
231
231
  E += "/";
@@ -277,7 +277,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
277
277
  if (g < 1) {
278
278
  if (w == 123)
279
279
  --g;
280
- else if (w == 125 && g++ == 0 && Qa() == 125)
280
+ else if (w == 125 && g++ == 0 && ul() == 125)
281
281
  continue;
282
282
  }
283
283
  switch (E += wn(w), w * g) {
@@ -291,7 +291,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
291
291
  break;
292
292
  // @
293
293
  case 64:
294
- At() === 45 && (E += nn(ft())), f = At(), u = d = Ct(S = E += rl(en())), w++;
294
+ At() === 45 && (E += nn(ht())), f = At(), u = d = Ct(S = E += pl(en())), w++;
295
295
  break;
296
296
  // -
297
297
  case 45:
@@ -302,12 +302,12 @@ function rn(t, e, n, r, i, s, o, a, l) {
302
302
  }
303
303
  function ni(t, e, n, r, i, s, o, a, l, c, u) {
304
304
  for (var d = i - 1, f = i === 0 ? s : [""], h = xr(f), p = 0, g = 0, x = 0; p < r; ++p)
305
- for (var v = 0, w = De(t, d + 1, d = Ha(g = o[p])), S = t; v < h; ++v)
305
+ for (var v = 0, w = De(t, d + 1, d = il(g = o[p])), S = t; v < h; ++v)
306
306
  (S = zs(g > 0 ? f[v] + " " + w : L(w, /&\f/g, f[v]))) && (l[x++] = S);
307
307
  return Tn(t, e, n, i === 0 ? vr : a, l, c, u);
308
308
  }
309
- function sl(t, e, n) {
310
- return Tn(t, e, n, Ns, wn(Ja()), De(t, 2, -2), 0);
309
+ function gl(t, e, n) {
310
+ return Tn(t, e, n, Ns, wn(cl()), De(t, 2, -2), 0);
311
311
  }
312
312
  function ri(t, e, n, r) {
313
313
  return Tn(t, e, n, br, De(t, 0, r), De(t, r + 1, -1), r);
@@ -317,11 +317,11 @@ function ce(t, e) {
317
317
  n += e(t[i], i, t, e) || "";
318
318
  return n;
319
319
  }
320
- function ol(t, e, n, r) {
320
+ function yl(t, e, n, r) {
321
321
  switch (t.type) {
322
- case Ga:
322
+ case rl:
323
323
  if (t.children.length) break;
324
- case qa:
324
+ case nl:
325
325
  case br:
326
326
  return t.return = t.return || t.value;
327
327
  case Ns:
@@ -333,7 +333,7 @@ function ol(t, e, n, r) {
333
333
  }
334
334
  return Ct(n = ce(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
335
335
  }
336
- function al(t) {
336
+ function vl(t) {
337
337
  var e = xr(t);
338
338
  return function(n, r, i, s) {
339
339
  for (var o = "", a = 0; a < e; a++)
@@ -341,27 +341,27 @@ function al(t) {
341
341
  return o;
342
342
  };
343
343
  }
344
- function ll(t) {
344
+ function bl(t) {
345
345
  return function(e) {
346
346
  e.root || (e = e.return) && t(e);
347
347
  };
348
348
  }
349
- function cl(t) {
349
+ function xl(t) {
350
350
  var e = /* @__PURE__ */ Object.create(null);
351
351
  return function(n) {
352
352
  return e[n] === void 0 && (e[n] = t(n)), e[n];
353
353
  };
354
354
  }
355
- var ul = function(e, n, r) {
355
+ var wl = function(e, n, r) {
356
356
  for (var i = 0, s = 0; i = s, s = At(), i === 38 && s === 12 && (n[r] = 1), !_e(s); )
357
- ft();
357
+ ht();
358
358
  return Ue(e, ut);
359
- }, dl = function(e, n) {
359
+ }, Sl = function(e, n) {
360
360
  var r = -1, i = 44;
361
361
  do
362
362
  switch (_e(i)) {
363
363
  case 0:
364
- i === 38 && At() === 12 && (n[r] = 1), e[r] += ul(ut - 1, n, r);
364
+ i === 38 && At() === 12 && (n[r] = 1), e[r] += wl(ut - 1, n, r);
365
365
  break;
366
366
  case 2:
367
367
  e[r] += nn(i);
@@ -375,11 +375,11 @@ var ul = function(e, n, r) {
375
375
  default:
376
376
  e[r] += wn(i);
377
377
  }
378
- while (i = ft());
378
+ while (i = ht());
379
379
  return e;
380
- }, fl = function(e, n) {
381
- return Gs(dl(qs(e), n));
382
- }, ii = /* @__PURE__ */ new WeakMap(), hl = function(e) {
380
+ }, Tl = function(e, n) {
381
+ return Gs(Sl(qs(e), n));
382
+ }, ii = /* @__PURE__ */ new WeakMap(), Cl = function(e) {
383
383
  if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
384
384
  // negative .length indicates that this rule has been already prefixed
385
385
  e.length < 1)) {
@@ -387,12 +387,12 @@ var ul = function(e, n, r) {
387
387
  if (r = r.parent, !r) return;
388
388
  if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !ii.get(r)) && !i) {
389
389
  ii.set(e, !0);
390
- for (var s = [], o = fl(n, s), a = r.props, l = 0, c = 0; l < o.length; l++)
390
+ for (var s = [], o = Tl(n, s), a = r.props, l = 0, c = 0; l < o.length; l++)
391
391
  for (var u = 0; u < a.length; u++, c++)
392
392
  e.props[c] = s[l] ? o[l].replace(/&\f/g, a[u]) : a[u] + " " + o[l];
393
393
  }
394
394
  }
395
- }, pl = function(e) {
395
+ }, Pl = function(e) {
396
396
  if (e.type === "decl") {
397
397
  var n = e.value;
398
398
  // charcode for l
@@ -401,7 +401,7 @@ var ul = function(e, n, r) {
401
401
  }
402
402
  };
403
403
  function Hs(t, e) {
404
- switch (Ya(t, e)) {
404
+ switch (ol(t, e)) {
405
405
  // color-adjust
406
406
  case 5103:
407
407
  return _ + "print-" + t + t;
@@ -542,7 +542,7 @@ function Hs(t, e) {
542
542
  }
543
543
  return t;
544
544
  }
545
- var ml = function(e, n, r, i) {
545
+ var Al = function(e, n, r, i) {
546
546
  if (e.length > -1 && !e.return) switch (e.type) {
547
547
  case br:
548
548
  e.return = Hs(e.value, e.length);
@@ -552,8 +552,8 @@ var ml = function(e, n, r, i) {
552
552
  value: L(e.value, "@", "@" + _)
553
553
  })], i);
554
554
  case vr:
555
- if (e.length) return Za(e.props, function(s) {
556
- switch (Xa(s, /(::plac\w+|:read-\w+)/)) {
555
+ if (e.length) return ll(e.props, function(s) {
556
+ switch (al(s, /(::plac\w+|:read-\w+)/)) {
557
557
  // :read-(only|write)
558
558
  case ":read-only":
559
559
  case ":read-write":
@@ -573,7 +573,7 @@ var ml = function(e, n, r, i) {
573
573
  return "";
574
574
  });
575
575
  }
576
- }, gl = [ml], yl = function(e) {
576
+ }, Vl = [Al], Rl = function(e) {
577
577
  var n = e.key;
578
578
  if (n === "css") {
579
579
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -582,7 +582,7 @@ var ml = function(e, n, r, i) {
582
582
  x.indexOf(" ") !== -1 && (document.head.appendChild(g), g.setAttribute("data-s", ""));
583
583
  });
584
584
  }
585
- var i = e.stylisPlugins || gl, s = {}, o, a = [];
585
+ var i = e.stylisPlugins || Vl, s = {}, o, a = [];
586
586
  o = e.container || document.head, Array.prototype.forEach.call(
587
587
  // this means we will ignore elements which don't have a space in them which
588
588
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -593,12 +593,12 @@ var ml = function(e, n, r, i) {
593
593
  a.push(g);
594
594
  }
595
595
  );
596
- var l, c = [hl, pl];
596
+ var l, c = [Cl, Pl];
597
597
  {
598
- var u, d = [ol, ll(function(g) {
598
+ var u, d = [yl, bl(function(g) {
599
599
  u.insert(g);
600
- })], f = al(c.concat(i, d)), h = function(x) {
601
- return ce(il(x), f);
600
+ })], f = vl(c.concat(i, d)), h = function(x) {
601
+ return ce(ml(x), f);
602
602
  };
603
603
  l = function(x, v, w, S) {
604
604
  u = w, h(x ? x + "{" + v.styles + "}" : v.styles), S && (p.inserted[v.name] = !0);
@@ -606,7 +606,7 @@ var ml = function(e, n, r, i) {
606
606
  }
607
607
  var p = {
608
608
  key: n,
609
- sheet: new Wa({
609
+ sheet: new el({
610
610
  key: n,
611
611
  container: o,
612
612
  nonce: e.nonce,
@@ -621,10 +621,10 @@ var ml = function(e, n, r, i) {
621
621
  };
622
622
  return p.sheet.hydrate(a), p;
623
623
  };
624
- function vl(t) {
624
+ function El(t) {
625
625
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
626
626
  }
627
- function bl(t) {
627
+ function Ml(t) {
628
628
  if (t.__esModule) return t;
629
629
  var e = t.default;
630
630
  if (typeof e == "function") {
@@ -653,7 +653,7 @@ var Ke = { exports: {} }, $ = {};
653
653
  * LICENSE file in the root directory of this source tree.
654
654
  */
655
655
  var si;
656
- function xl() {
656
+ function kl() {
657
657
  if (si) return $;
658
658
  si = 1;
659
659
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, s = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, p = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, x = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
@@ -728,7 +728,7 @@ var O = {};
728
728
  * LICENSE file in the root directory of this source tree.
729
729
  */
730
730
  var oi;
731
- function wl() {
731
+ function Dl() {
732
732
  return oi || (oi = 1, process.env.NODE_ENV !== "production" && function() {
733
733
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, s = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, p = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, x = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
734
734
  function S(R) {
@@ -789,7 +789,7 @@ function wl() {
789
789
  function Ft(R) {
790
790
  return P(R) === r;
791
791
  }
792
- function dt(R) {
792
+ function ft(R) {
793
793
  return P(R) === p;
794
794
  }
795
795
  function Bt(R) {
@@ -807,18 +807,18 @@ function wl() {
807
807
  function Gt(R) {
808
808
  return P(R) === d;
809
809
  }
810
- O.AsyncMode = m, O.ConcurrentMode = V, O.ContextConsumer = E, O.ContextProvider = y, O.Element = b, O.ForwardRef = T, O.Fragment = C, O.Lazy = k, O.Memo = z, O.Portal = Q, O.Profiler = tt, O.StrictMode = G, O.Suspense = D, O.isAsyncMode = st, O.isConcurrentMode = et, O.isContextConsumer = $t, O.isContextProvider = Ot, O.isElement = yt, O.isForwardRef = pt, O.isFragment = Ft, O.isLazy = dt, O.isMemo = Bt, O.isPortal = vt, O.isProfiler = bt, O.isStrictMode = qt, O.isSuspense = Gt, O.isValidElementType = S, O.typeOf = P;
810
+ O.AsyncMode = m, O.ConcurrentMode = V, O.ContextConsumer = E, O.ContextProvider = y, O.Element = b, O.ForwardRef = T, O.Fragment = C, O.Lazy = k, O.Memo = z, O.Portal = Q, O.Profiler = tt, O.StrictMode = G, O.Suspense = D, O.isAsyncMode = st, O.isConcurrentMode = et, O.isContextConsumer = $t, O.isContextProvider = Ot, O.isElement = yt, O.isForwardRef = pt, O.isFragment = Ft, O.isLazy = ft, O.isMemo = Bt, O.isPortal = vt, O.isProfiler = bt, O.isStrictMode = qt, O.isSuspense = Gt, O.isValidElementType = S, O.typeOf = P;
811
811
  }()), O;
812
812
  }
813
813
  var ai;
814
- function Sl() {
815
- return ai || (ai = 1, process.env.NODE_ENV === "production" ? Ke.exports = xl() : Ke.exports = wl()), Ke.exports;
814
+ function _l() {
815
+ return ai || (ai = 1, process.env.NODE_ENV === "production" ? Ke.exports = kl() : Ke.exports = Dl()), Ke.exports;
816
816
  }
817
817
  var Mn, li;
818
- function Tl() {
818
+ function Ll() {
819
819
  if (li) return Mn;
820
820
  li = 1;
821
- var t = Sl(), e = {
821
+ var t = _l(), e = {
822
822
  childContextTypes: !0,
823
823
  contextType: !0,
824
824
  contextTypes: !0,
@@ -880,9 +880,9 @@ function Tl() {
880
880
  }
881
881
  return Mn = h, Mn;
882
882
  }
883
- Tl();
884
- var Cl = !0;
885
- function Pl(t, e, n) {
883
+ Ll();
884
+ var $l = !0;
885
+ function Ol(t, e, n) {
886
886
  var r = "";
887
887
  return n.split(" ").forEach(function(i) {
888
888
  t[i] !== void 0 ? e.push(t[i] + ";") : i && (r += i + " ");
@@ -899,8 +899,8 @@ var Ks = function(e, n, r) {
899
899
  // in node since emotion-server relies on whether a style is in
900
900
  // the registered cache to know whether a style is global or not
901
901
  // also, note that this check will be dead code eliminated in the browser
902
- Cl === !1) && e.registered[i] === void 0 && (e.registered[i] = n.styles);
903
- }, Al = function(e, n, r) {
902
+ $l === !1) && e.registered[i] === void 0 && (e.registered[i] = n.styles);
903
+ }, Fl = function(e, n, r) {
904
904
  Ks(e, n, r);
905
905
  var i = e.key + "-" + n.name;
906
906
  if (e.inserted[n.name] === void 0) {
@@ -910,7 +910,7 @@ var Ks = function(e, n, r) {
910
910
  while (s !== void 0);
911
911
  }
912
912
  };
913
- function Vl(t) {
913
+ function Bl(t) {
914
914
  for (var e = 0, n, r = 0, i = t.length; i >= 4; ++r, i -= 4)
915
915
  n = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
916
916
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -929,7 +929,7 @@ function Vl(t) {
929
929
  return e ^= e >>> 13, e = /* Math.imul(h, m): */
930
930
  (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
931
931
  }
932
- var Rl = {
932
+ var Il = {
933
933
  animationIterationCount: 1,
934
934
  aspectRatio: 1,
935
935
  borderImageOutset: 1,
@@ -978,18 +978,18 @@ var Rl = {
978
978
  strokeMiterlimit: 1,
979
979
  strokeOpacity: 1,
980
980
  strokeWidth: 1
981
- }, El = /[A-Z]|^ms/g, Ml = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ys = function(e) {
981
+ }, jl = /[A-Z]|^ms/g, Nl = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ys = function(e) {
982
982
  return e.charCodeAt(1) === 45;
983
983
  }, ci = function(e) {
984
984
  return e != null && typeof e != "boolean";
985
- }, kn = /* @__PURE__ */ cl(function(t) {
986
- return Ys(t) ? t : t.replace(El, "-$&").toLowerCase();
985
+ }, kn = /* @__PURE__ */ xl(function(t) {
986
+ return Ys(t) ? t : t.replace(jl, "-$&").toLowerCase();
987
987
  }), ui = function(e, n) {
988
988
  switch (e) {
989
989
  case "animation":
990
990
  case "animationName":
991
991
  if (typeof n == "string")
992
- return n.replace(Ml, function(r, i, s) {
992
+ return n.replace(Nl, function(r, i, s) {
993
993
  return Pt = {
994
994
  name: i,
995
995
  styles: s,
@@ -997,7 +997,7 @@ var Rl = {
997
997
  }, i;
998
998
  });
999
999
  }
1000
- return Rl[e] !== 1 && !Ys(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1000
+ return Il[e] !== 1 && !Ys(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1001
1001
  };
1002
1002
  function Le(t, e, n) {
1003
1003
  if (n == null)
@@ -1029,7 +1029,7 @@ function Le(t, e, n) {
1029
1029
  var a = s.styles + ";";
1030
1030
  return a;
1031
1031
  }
1032
- return kl(t, e, n);
1032
+ return Ul(t, e, n);
1033
1033
  }
1034
1034
  case "function": {
1035
1035
  if (t !== void 0) {
@@ -1042,7 +1042,7 @@ function Le(t, e, n) {
1042
1042
  var u = n;
1043
1043
  return u;
1044
1044
  }
1045
- function kl(t, e, n) {
1045
+ function Ul(t, e, n) {
1046
1046
  var r = "";
1047
1047
  if (Array.isArray(n))
1048
1048
  for (var i = 0; i < n.length; i++)
@@ -1072,7 +1072,7 @@ function kl(t, e, n) {
1072
1072
  return r;
1073
1073
  }
1074
1074
  var di = /label:\s*([^\s;{]+)\s*(;|$)/g, Pt;
1075
- function Dl(t, e, n) {
1075
+ function zl(t, e, n) {
1076
1076
  if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1077
1077
  return t[0];
1078
1078
  var r = !0, i = "";
@@ -1092,63 +1092,63 @@ function Dl(t, e, n) {
1092
1092
  di.lastIndex = 0;
1093
1093
  for (var c = "", u; (u = di.exec(i)) !== null; )
1094
1094
  c += "-" + u[1];
1095
- var d = Vl(i) + c;
1095
+ var d = Bl(i) + c;
1096
1096
  return {
1097
1097
  name: d,
1098
1098
  styles: i,
1099
1099
  next: Pt
1100
1100
  };
1101
1101
  }
1102
- var _l = function(e) {
1102
+ var Wl = function(e) {
1103
1103
  return e();
1104
- }, Ll = lt.useInsertionEffect ? lt.useInsertionEffect : !1, $l = Ll || _l, Xs = /* @__PURE__ */ lt.createContext(
1104
+ }, ql = lt.useInsertionEffect ? lt.useInsertionEffect : !1, Gl = ql || Wl, Xs = /* @__PURE__ */ lt.createContext(
1105
1105
  // we're doing this to avoid preconstruct's dead code elimination in this one case
1106
1106
  // because this module is primarily intended for the browser and node
1107
1107
  // but it's also required in react native and similar environments sometimes
1108
1108
  // and we could have a special build just for that
1109
1109
  // but this is much easier and the native packages
1110
1110
  // might use a different theme context in the future anyway
1111
- typeof HTMLElement < "u" ? /* @__PURE__ */ yl({
1111
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Rl({
1112
1112
  key: "css"
1113
1113
  }) : null
1114
1114
  );
1115
1115
  Xs.Provider;
1116
- var Ol = function(e) {
1116
+ var Hl = function(e) {
1117
1117
  return /* @__PURE__ */ Bs(function(n, r) {
1118
1118
  var i = rt(Xs);
1119
1119
  return e(n, i, r);
1120
1120
  });
1121
- }, Fl = /* @__PURE__ */ lt.createContext({}), Cn = {}.hasOwnProperty, Zn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Zs = function(e, n) {
1121
+ }, Kl = /* @__PURE__ */ lt.createContext({}), Cn = {}.hasOwnProperty, Zn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Zs = function(e, n) {
1122
1122
  var r = {};
1123
1123
  for (var i in n)
1124
1124
  Cn.call(n, i) && (r[i] = n[i]);
1125
1125
  return r[Zn] = e, r;
1126
- }, Bl = function(e) {
1126
+ }, Yl = function(e) {
1127
1127
  var n = e.cache, r = e.serialized, i = e.isStringTag;
1128
- return Ks(n, r, i), $l(function() {
1129
- return Al(n, r, i);
1128
+ return Ks(n, r, i), Gl(function() {
1129
+ return Fl(n, r, i);
1130
1130
  }), null;
1131
- }, Il = /* @__PURE__ */ Ol(function(t, e, n) {
1131
+ }, Xl = /* @__PURE__ */ Hl(function(t, e, n) {
1132
1132
  var r = t.css;
1133
1133
  typeof r == "string" && e.registered[r] !== void 0 && (r = e.registered[r]);
1134
1134
  var i = t[Zn], s = [r], o = "";
1135
- typeof t.className == "string" ? o = Pl(e.registered, s, t.className) : t.className != null && (o = t.className + " ");
1136
- var a = Dl(s, void 0, lt.useContext(Fl));
1135
+ typeof t.className == "string" ? o = Ol(e.registered, s, t.className) : t.className != null && (o = t.className + " ");
1136
+ var a = zl(s, void 0, lt.useContext(Kl));
1137
1137
  o += e.key + "-" + a.name;
1138
1138
  var l = {};
1139
1139
  for (var c in t)
1140
1140
  Cn.call(t, c) && c !== "css" && c !== Zn && (l[c] = t[c]);
1141
- return l.className = o, n && (l.ref = n), /* @__PURE__ */ lt.createElement(lt.Fragment, null, /* @__PURE__ */ lt.createElement(Bl, {
1141
+ return l.className = o, n && (l.ref = n), /* @__PURE__ */ lt.createElement(lt.Fragment, null, /* @__PURE__ */ lt.createElement(Yl, {
1142
1142
  cache: e,
1143
1143
  serialized: a,
1144
1144
  isStringTag: typeof i == "string"
1145
1145
  }), /* @__PURE__ */ lt.createElement(i, l));
1146
- }), Js = Il, jl = ke.Fragment, A = function(e, n, r) {
1146
+ }), Js = Xl, Zl = ke.Fragment, A = function(e, n, r) {
1147
1147
  return Cn.call(n, "css") ? ke.jsx(Js, Zs(e, n), r) : ke.jsx(e, n, r);
1148
- }, ht = function(e, n, r) {
1148
+ }, dt = function(e, n, r) {
1149
1149
  return Cn.call(n, "css") ? ke.jsxs(Js, Zs(e, n), r) : ke.jsxs(e, n, r);
1150
1150
  };
1151
- function Nl(t) {
1151
+ function Jl(t) {
1152
1152
  var e = t.match(/^var\((.*)\)$/);
1153
1153
  return e ? e[1] : t;
1154
1154
  }
@@ -1158,7 +1158,7 @@ function F(t, e) {
1158
1158
  var r = t;
1159
1159
  for (var i in r) {
1160
1160
  var s = r[i];
1161
- s != null && (n[Nl(i)] = s);
1161
+ s != null && (n[Jl(i)] = s);
1162
1162
  }
1163
1163
  }
1164
1164
  return Object.defineProperty(n, "toString", {
@@ -1168,7 +1168,7 @@ function F(t, e) {
1168
1168
  writable: !1
1169
1169
  }), n;
1170
1170
  }
1171
- const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif', Qs = "#FF7377", _n = "#C8AE96", Y = "#FCEFE6", Ul = "#2E2E2E", hi = "#CCCCCC", zl = " #888888", nt = "#000000", Ln = Qs, B = {
1171
+ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif', Qs = "#FF7377", _n = "#C8AE96", Y = "#FCEFE6", Ql = "#2E2E2E", hi = "#CCCCCC", tc = " #888888", nt = "#000000", Ln = Qs, B = {
1172
1172
  global: {
1173
1173
  maxWidth: 1200,
1174
1174
  paddingLeft: [15, 15, 30, 30],
@@ -1215,8 +1215,8 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
1215
1215
  letterSpacing: 0.1,
1216
1216
  color: {
1217
1217
  primary: Y,
1218
- secondary: Ul,
1219
- disabled: zl
1218
+ secondary: Ql,
1219
+ disabled: tc
1220
1220
  },
1221
1221
  backgroundColor: {
1222
1222
  primary: Ln,
@@ -1447,7 +1447,7 @@ function St() {
1447
1447
  return r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r);
1448
1448
  }, []), ["mobile", "sm", "md", "lg", "xl", "2xl"].indexOf(t);
1449
1449
  }
1450
- var Wl = "var(--_1h0tdm50)", ql = "var(--_1h0tdm51)", Gl = "var(--_1h0tdm52)", Hl = "var(--_1h0tdm53)", Kl = "var(--_1h0tdm54)", Yl = "var(--_1h0tdm55)", Xl = "var(--_1h0tdm56)", Zl = "var(--_1h0tdm57)", Jl = "var(--_1h0tdm58)", Ql = "var(--_1h0tdm59)", tc = "var(--_1h0tdm5a)", ec = "var(--_1h0tdm5b)", nc = "var(--_1h0tdm5c)", rc = "var(--_1h0tdm5d)", Zp = { position: "relative", display: "inline-block", color: "var(--_1h0tdm50)", border: "var(--_1h0tdm52)", cursor: "var(--_1h0tdm51)", minWidth: "var(--_1h0tdm53)", fontWeight: "var(--_1h0tdm54)", transition: "var(--_1h0tdm55)", paddingTop: "var(--_1h0tdm56)", paddingLeft: "var(--_1h0tdm57)", paddingRight: "var(--_1h0tdm58)", paddingBottom: "var(--_1h0tdm59)", pointerEvent: "var(--_1h0tdm5a)", borderRadius: "var(--_1h0tdm5b)", letterSpacing: "var(--_1h0tdm5c)", backgroundColor: "var(--_1h0tdm5d)", selectors: { "&:hover": { opacity: 0.5 } } }, Jn = /* @__PURE__ */ ((t) => (t[t.Primary = 0] = "Primary", t[t.Secondary = 1] = "Secondary", t))(Jn || {}), Qn = /* @__PURE__ */ ((t) => (t[t.Fill = 0] = "Fill", t[t.Outline = 1] = "Outline", t))(Qn || {}), sn = /* @__PURE__ */ ((t) => (t[t.Small = 0] = "Small", t[t.Medium = 1] = "Medium", t[t.Large = 2] = "Large", t))(sn || {}), to = /* @__PURE__ */ ((t) => (t.Reset = "reset", t.Button = "button", t.Submit = "submit", t))(to || {});
1450
+ var ec = "var(--_1h0tdm50)", nc = "var(--_1h0tdm51)", rc = "var(--_1h0tdm52)", ic = "var(--_1h0tdm53)", sc = "var(--_1h0tdm54)", oc = "var(--_1h0tdm55)", ac = "var(--_1h0tdm56)", lc = "var(--_1h0tdm57)", cc = "var(--_1h0tdm58)", uc = "var(--_1h0tdm59)", dc = "var(--_1h0tdm5a)", fc = "var(--_1h0tdm5b)", hc = "var(--_1h0tdm5c)", pc = "var(--_1h0tdm5d)", Qp = { position: "relative", display: "inline-block", color: "var(--_1h0tdm50)", border: "var(--_1h0tdm52)", cursor: "var(--_1h0tdm51)", minWidth: "var(--_1h0tdm53)", fontWeight: "var(--_1h0tdm54)", transition: "var(--_1h0tdm55)", paddingTop: "var(--_1h0tdm56)", paddingLeft: "var(--_1h0tdm57)", paddingRight: "var(--_1h0tdm58)", paddingBottom: "var(--_1h0tdm59)", pointerEvent: "var(--_1h0tdm5a)", borderRadius: "var(--_1h0tdm5b)", letterSpacing: "var(--_1h0tdm5c)", backgroundColor: "var(--_1h0tdm5d)", selectors: { "&:hover": { opacity: 0.5 } } }, Jn = /* @__PURE__ */ ((t) => (t[t.Primary = 0] = "Primary", t[t.Secondary = 1] = "Secondary", t))(Jn || {}), Qn = /* @__PURE__ */ ((t) => (t[t.Fill = 0] = "Fill", t[t.Outline = 1] = "Outline", t))(Qn || {}), sn = /* @__PURE__ */ ((t) => (t[t.Small = 0] = "Small", t[t.Medium = 1] = "Medium", t[t.Large = 2] = "Large", t))(sn || {}), to = /* @__PURE__ */ ((t) => (t.Reset = "reset", t.Button = "button", t.Submit = "submit", t))(to || {});
1451
1451
  const pi = ({
1452
1452
  children: t,
1453
1453
  className: e,
@@ -1469,38 +1469,38 @@ const pi = ({
1469
1469
  onClick: l,
1470
1470
  className: e,
1471
1471
  style: F({
1472
- [Yl]: v,
1473
- [Hl]: `${g}px`,
1474
- [Kl]: `${x}px`,
1475
- [ec]: `${w}px`,
1476
- [nc]: `${S}px`,
1477
- [ql]: i || r ? "default" : "pointer",
1478
- [tc]: i || r ? "none" : "auto",
1479
- [Wl]: T && n ? n : T && C ? h.secondary : T ? h.primary : C ? f.secondary : i || r ? f.disabled : f.primary,
1480
- [rc]: T ? "transparent" : n || (C ? h.secondary : i ? h.disabled : h.primary),
1481
- [Gl]: n ? `${p.width}px ${p.style} ${n}` : C ? `${p.width}px ${p.style} ${p.color.secondary}` : i ? `${p.width}px ${p.style} ${p.color.disabled}` : `${p.width}px ${p.style} ${p.color.primary}`,
1482
- [Xl]: b ? `${P.small[d]}px` : y ? `${P.large[d]}px` : `${P.medium[d]}px`,
1483
- [Ql]: b ? `${m.small[d]}px` : y ? `${m.large[d]}px` : `${m.medium[d]}px`,
1484
- [Zl]: b ? `${V.small[d]}px` : y ? `${V.large[d]}px` : `${V.medium[d]}px`,
1485
- [Jl]: b ? `${E.small[d]}px` : y ? `${E.large[d]}px` : `${E.medium[d]}px`
1472
+ [oc]: v,
1473
+ [ic]: `${g}px`,
1474
+ [sc]: `${x}px`,
1475
+ [fc]: `${w}px`,
1476
+ [hc]: `${S}px`,
1477
+ [nc]: i || r ? "default" : "pointer",
1478
+ [dc]: i || r ? "none" : "auto",
1479
+ [ec]: T && n ? n : T && C ? h.secondary : T ? h.primary : C ? f.secondary : i || r ? f.disabled : f.primary,
1480
+ [pc]: T ? "transparent" : n || (C ? h.secondary : i ? h.disabled : h.primary),
1481
+ [rc]: n ? `${p.width}px ${p.style} ${n}` : C ? `${p.width}px ${p.style} ${p.color.secondary}` : i ? `${p.width}px ${p.style} ${p.color.disabled}` : `${p.width}px ${p.style} ${p.color.primary}`,
1482
+ [ac]: b ? `${P.small[d]}px` : y ? `${P.large[d]}px` : `${P.medium[d]}px`,
1483
+ [uc]: b ? `${m.small[d]}px` : y ? `${m.large[d]}px` : `${m.medium[d]}px`,
1484
+ [lc]: b ? `${V.small[d]}px` : y ? `${V.large[d]}px` : `${V.medium[d]}px`,
1485
+ [cc]: b ? `${E.small[d]}px` : y ? `${E.large[d]}px` : `${E.medium[d]}px`
1486
1486
  }),
1487
1487
  children: t
1488
1488
  }
1489
1489
  );
1490
1490
  };
1491
- var ic = "var(--_1v7zi9y0)", sc = "var(--_1v7zi9y1)", oc = "var(--_1v7zi9y2)", ac = "var(--_1v7zi9y3)", lc = "var(--_1v7zi9y4)", Jp = { width: "100%", display: "flex", flexWrap: "wrap", flexDirection: "row", gap: "var(--_1v7zi9y0)", alignItems: "var(--_1v7zi9y1)", paddingTop: "var(--_1v7zi9y2)", paddingBottom: "var(--_1v7zi9y3)", justifyContent: "var(--_1v7zi9y4)" }, Te = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(Te || {});
1492
- const Qp = ({ children: t, className: e, theme: n = B, align: r = Te.Left }) => {
1491
+ var mc = "var(--_1v7zi9y0)", gc = "var(--_1v7zi9y1)", yc = "var(--_1v7zi9y2)", vc = "var(--_1v7zi9y3)", bc = "var(--_1v7zi9y4)", tm = { width: "100%", display: "flex", flexWrap: "wrap", flexDirection: "row", gap: "var(--_1v7zi9y0)", alignItems: "var(--_1v7zi9y1)", paddingTop: "var(--_1v7zi9y2)", paddingBottom: "var(--_1v7zi9y3)", justifyContent: "var(--_1v7zi9y4)" }, Te = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(Te || {});
1492
+ const em = ({ children: t, className: e, theme: n = B, align: r = Te.Left }) => {
1493
1493
  const i = St(), { actions: { gap: s, paddingTop: o, paddingBottom: a } } = n;
1494
1494
  return /* @__PURE__ */ A("div", { className: e, style: F({
1495
- [ic]: `${s[i]}px`,
1496
- [oc]: `${o[i]}px`,
1497
- [ac]: `${a[i]}px`,
1498
- [sc]: r === Te.Center ? "center" : "flex-start",
1499
- [lc]: r === Te.Right ? "flex-end" : r === Te.Left ? "flex-start" : "center"
1495
+ [mc]: `${s[i]}px`,
1496
+ [yc]: `${o[i]}px`,
1497
+ [vc]: `${a[i]}px`,
1498
+ [gc]: r === Te.Center ? "center" : "flex-start",
1499
+ [bc]: r === Te.Right ? "flex-end" : r === Te.Left ? "flex-start" : "center"
1500
1500
  }), children: t });
1501
1501
  };
1502
- var mi = { iconSize: "var(--_1slxfz50)", iconColor: "var(--_1slxfz51)" }, tm = { margin: "0 auto", display: "inline-block", verticalAlign: "middle" }, cc = "_1slxfz53";
1503
- const uc = {
1502
+ var mi = { iconSize: "var(--_1slxfz50)", iconColor: "var(--_1slxfz51)" }, nm = { margin: "0 auto", display: "inline-block", verticalAlign: "middle" }, xc = "_1slxfz53";
1503
+ const wc = {
1504
1504
  caret: "M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.9959.9959 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0",
1505
1505
  close: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4",
1506
1506
  arrowBack: "M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59c-.39.39-.39 1.02 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1",
@@ -1541,14 +1541,14 @@ const uc = {
1541
1541
  children: /* @__PURE__ */ A(
1542
1542
  "path",
1543
1543
  {
1544
- className: cc,
1545
- d: n || uc[t] || ""
1544
+ className: xc,
1545
+ d: n || wc[t] || ""
1546
1546
  }
1547
1547
  )
1548
1548
  }
1549
1549
  );
1550
- var at = { overlayOpacity: "var(--_18bqyaq0)", overlayBackgroundColor: "var(--_18bqyaq1)", overlayBlur: "var(--_18bqyaq2)", modalWidth: "var(--_18bqyaq3)", modalPaddingTop: "var(--_18bqyaq4)", modalPaddingBottom: "var(--_18bqyaq5)", modalPaddingLeft: "var(--_18bqyaq6)", modalPaddingRight: "var(--_18bqyaq7)", modalMaxWidth: "var(--_18bqyaq8)", modalMaxHeight: "var(--_18bqyaq9)", modalContentTextAlign: "var(--_18bqyaqa)", modalContentBackgroundColor: "var(--_18bqyaqb)", modalContentBorderRadius: "var(--_18bqyaqc)", modalContentBorders: "var(--_18bqyaqd)" }, em = { zIndex: 100, position: "fixed", width: "100%", height: "100%", selectors: { "&:before": { content: "''", position: "fixed", top: 0, left: 0, right: 0, bottom: 0, opacity: "var(--_18bqyaq0)", backgroundColor: "var(--_18bqyaq1)", backdropFilter: "blur(var(--_18bqyaq2))" } } }, dc = "_18bqyaqf", fc = "_18bqyaqg", on = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(on || {});
1551
- const nm = ({
1550
+ var at = { overlayOpacity: "var(--_18bqyaq0)", overlayBackgroundColor: "var(--_18bqyaq1)", overlayBlur: "var(--_18bqyaq2)", modalWidth: "var(--_18bqyaq3)", modalPaddingTop: "var(--_18bqyaq4)", modalPaddingBottom: "var(--_18bqyaq5)", modalPaddingLeft: "var(--_18bqyaq6)", modalPaddingRight: "var(--_18bqyaq7)", modalMaxWidth: "var(--_18bqyaq8)", modalMaxHeight: "var(--_18bqyaq9)", modalContentTextAlign: "var(--_18bqyaqa)", modalContentBackgroundColor: "var(--_18bqyaqb)", modalContentBorderRadius: "var(--_18bqyaqc)", modalContentBorders: "var(--_18bqyaqd)" }, rm = { zIndex: 100, position: "fixed", width: "100%", height: "100%", selectors: { "&:before": { content: "''", position: "fixed", top: 0, left: 0, right: 0, bottom: 0, opacity: "var(--_18bqyaq0)", backgroundColor: "var(--_18bqyaq1)", backdropFilter: "blur(var(--_18bqyaq2))" } } }, Sc = "_18bqyaqf", Tc = "_18bqyaqg", on = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(on || {});
1551
+ const im = ({
1552
1552
  children: t,
1553
1553
  align: e = on.Left,
1554
1554
  theme: n = B,
@@ -1575,20 +1575,20 @@ const nm = ({
1575
1575
  [at.modalMaxWidth]: `calc(100% - ${o[s] + a[s]}px)`,
1576
1576
  [at.modalMaxHeight]: `calc(100% - ${o[s] + a[s]}px)`
1577
1577
  }),
1578
- children: /* @__PURE__ */ ht("div", { className: dc, style: F({
1578
+ children: /* @__PURE__ */ dt("div", { className: Sc, style: F({
1579
1579
  [at.modalContentTextAlign]: e === on.Left ? "left" : e === on.Right ? "right" : "center",
1580
1580
  [at.modalContentBackgroundColor]: p,
1581
1581
  [at.modalContentBorderRadius]: `${h}px`,
1582
1582
  [at.modalContentBorders]: d
1583
1583
  }), children: [
1584
- r && /* @__PURE__ */ A("button", { className: fc, onClick: r, children: /* @__PURE__ */ A(Xt, { className: "", theme: n, icon: "close" }) }),
1584
+ r && /* @__PURE__ */ A("button", { className: Tc, onClick: r, children: /* @__PURE__ */ A(Xt, { className: "", theme: n, icon: "close" }) }),
1585
1585
  t
1586
1586
  ] })
1587
1587
  }
1588
1588
  );
1589
1589
  };
1590
- var hc = { videoMaxHeight: "var(--_18hbdtx0)" }, pc = "_18hbdtx1", mc = "_18hbdtx2", gc = "_18hbdtx3", yc = "_18hbdtx4", vc = "_18hbdtx5", bc = "_18hbdtx6";
1591
- const xc = ({
1590
+ var Cc = { videoMaxHeight: "var(--_18hbdtx0)" }, Pc = "_18hbdtx1", Ac = "_18hbdtx2", Vc = "_18hbdtx3", Rc = "_18hbdtx4", Ec = "_18hbdtx5", Mc = "_18hbdtx6";
1591
+ const kc = ({
1592
1592
  video: t,
1593
1593
  isAutoPlay: e,
1594
1594
  poster: n = "",
@@ -1621,29 +1621,29 @@ const xc = ({
1621
1621
  y.key === "Escape" && S();
1622
1622
  };
1623
1623
  return wt(() => (window.addEventListener("keydown", E), () => window.removeEventListener("keydown", E)), []), /* @__PURE__ */ A("div", { className: f, style: F({
1624
- [hc.videoMaxHeight]: u ? "100vw" : "100%"
1625
- }), children: /* @__PURE__ */ ht("div", { className: pc, children: [
1624
+ [Cc.videoMaxHeight]: u ? "100vw" : "100%"
1625
+ }), children: /* @__PURE__ */ dt("div", { className: Pc, children: [
1626
1626
  /* @__PURE__ */ A("video", { ref: h, playsInline: !0, onEnded: V, children: /* @__PURE__ */ A("source", { src: t, type: "video/mp4" }) }),
1627
- n && /* @__PURE__ */ A("div", { className: mc, children: /* @__PURE__ */ A("img", { src: n, alt: "" }) }),
1628
- (!c || !e) && /* @__PURE__ */ A("button", { className: gc, onClick: w, "aria-label": "Play", children: /* @__PURE__ */ A(Xt, { icon: "play", size: 50, theme: l }) }),
1629
- d && /* @__PURE__ */ A("button", { className: vc, onClick: S, "aria-label": "Close", children: /* @__PURE__ */ A(Xt, { icon: "close", size: 28, theme: l }) }),
1630
- p && a && /* @__PURE__ */ A("button", { className: yc, onClick: p ? P : w, "aria-label": "Pause", children: /* @__PURE__ */ A(Xt, { icon: "pause", size: 28, theme: l }) }),
1631
- a && /* @__PURE__ */ A("button", { className: bc, onClick: m, "aria-label": "Sound", children: /* @__PURE__ */ A(Xt, { icon: x ? "volumeUp" : "volumeMute", size: 28, theme: l }) })
1627
+ n && /* @__PURE__ */ A("div", { className: Ac, children: /* @__PURE__ */ A("img", { src: n, alt: "" }) }),
1628
+ (!c || !e) && /* @__PURE__ */ A("button", { className: Vc, onClick: w, "aria-label": "Play", children: /* @__PURE__ */ A(Xt, { icon: "play", size: 50, theme: l }) }),
1629
+ d && /* @__PURE__ */ A("button", { className: Ec, onClick: S, "aria-label": "Close", children: /* @__PURE__ */ A(Xt, { icon: "close", size: 28, theme: l }) }),
1630
+ p && a && /* @__PURE__ */ A("button", { className: Rc, onClick: p ? P : w, "aria-label": "Pause", children: /* @__PURE__ */ A(Xt, { icon: "pause", size: 28, theme: l }) }),
1631
+ a && /* @__PURE__ */ A("button", { className: Mc, onClick: m, "aria-label": "Sound", children: /* @__PURE__ */ A(Xt, { icon: x ? "volumeUp" : "volumeMute", size: 28, theme: l }) })
1632
1632
  ] }) });
1633
1633
  };
1634
- var wc = { imgMaxWidth: "var(--_13pkfbg0)" }, rm = {};
1635
- const im = ({ children: t, theme: e = B, className: n }) => /* @__PURE__ */ A(
1634
+ var Dc = { imgMaxWidth: "var(--_13pkfbg0)" }, sm = {};
1635
+ const om = ({ children: t, theme: e = B, className: n }) => /* @__PURE__ */ A(
1636
1636
  "div",
1637
1637
  {
1638
1638
  className: n,
1639
1639
  style: F({
1640
- [wc.imgMaxWidth]: "100%"
1640
+ [Dc.imgMaxWidth]: "100%"
1641
1641
  }),
1642
1642
  children: t
1643
1643
  }
1644
1644
  );
1645
- var $n = { gap: "var(--_1vea7fs0)", displayItem: "var(--_1vea7fs1)", isFullWidth: "var(--_1vea7fs2)" }, sm = { gap: "var(--_1vea7fs0)", display: "flex", flexWrap: "nowrap", overflow: "hidden", width: "var(--_1vea7fs2)" };
1646
- function Sc() {
1645
+ var $n = { gap: "var(--_1vea7fs0)", displayItem: "var(--_1vea7fs1)", isFullWidth: "var(--_1vea7fs2)" }, am = { gap: "var(--_1vea7fs0)", display: "flex", flexWrap: "nowrap", overflow: "hidden", width: "var(--_1vea7fs2)" };
1646
+ function _c() {
1647
1647
  const [t, e] = _t({
1648
1648
  width: void 0,
1649
1649
  height: void 0
@@ -1658,7 +1658,7 @@ function Sc() {
1658
1658
  return window.addEventListener("resize", n), n(), () => window.removeEventListener("resize", n);
1659
1659
  }, []), t;
1660
1660
  }
1661
- const om = ({
1661
+ const lm = ({
1662
1662
  data: t,
1663
1663
  theme: e = B,
1664
1664
  displayItem: n = 1,
@@ -1667,10 +1667,10 @@ const om = ({
1667
1667
  displayNavButtons: s = !1,
1668
1668
  className: o
1669
1669
  }) => {
1670
- const { width: a } = Sc(), [l, c] = _t(0), u = le(null), [d, f] = _t(n);
1670
+ const { width: a } = _c(), [l, c] = _t(0), u = le(null), [d, f] = _t(n);
1671
1671
  return wt(() => {
1672
1672
  a && a > 1024 ? f(n) : a && a > 768 ? f(Math.min(n, 2)) : f(1);
1673
- }, [a, n]), /* @__PURE__ */ ht(
1673
+ }, [a, n]), /* @__PURE__ */ dt(
1674
1674
  "div",
1675
1675
  {
1676
1676
  ref: u,
@@ -1694,7 +1694,7 @@ var we = {}, hn = function() {
1694
1694
  for (var e, n = 1, r = arguments.length; n < r; n++) for (var i in e = arguments[n]) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
1695
1695
  return t;
1696
1696
  }, hn.apply(this, arguments);
1697
- }, Tc = function() {
1697
+ }, Lc = function() {
1698
1698
  function t(e, n, r) {
1699
1699
  var i = this;
1700
1700
  this.endVal = n, this.options = r, this.version = "2.8.0", this.defaults = { startVal: 0, decimalPlaces: 0, duration: 2, useEasing: !0, useGrouping: !0, useIndianSeparators: !1, smartEasingThreshold: 999, smartEasingAmount: 333, separator: ",", decimal: ".", prefix: "", suffix: "", enableScrollSpy: !1, scrollSpyDelay: 200, scrollSpyOnce: !1 }, this.finalEndVal = null, this.useEasing = !0, this.countDown = !1, this.error = "", this.startVal = 0, this.paused = !0, this.once = !1, this.count = function(s) {
@@ -1767,15 +1767,15 @@ var we = {}, hn = function() {
1767
1767
  this.startTime = null, this.duration = 1e3 * Number(this.options.duration), this.remaining = this.duration;
1768
1768
  }, t;
1769
1769
  }();
1770
- const Cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1770
+ const $c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1771
1771
  __proto__: null,
1772
- CountUp: Tc
1773
- }, Symbol.toStringTag, { value: "Module" })), Pc = /* @__PURE__ */ bl(Cc);
1772
+ CountUp: Lc
1773
+ }, Symbol.toStringTag, { value: "Module" })), Oc = /* @__PURE__ */ Ml($c);
1774
1774
  var gi;
1775
- function Ac() {
1775
+ function Fc() {
1776
1776
  if (gi) return we;
1777
1777
  gi = 1, Object.defineProperty(we, "__esModule", { value: !0 });
1778
- var t = $a, e = Pc;
1778
+ var t = Ga, e = Oc;
1779
1779
  function n(y, b) {
1780
1780
  var T = y == null ? null : typeof Symbol < "u" && y[Symbol.iterator] || y["@@iterator"];
1781
1781
  if (T != null) {
@@ -1899,7 +1899,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1899
1899
  }, []);
1900
1900
  }
1901
1901
  var w = function(b, T) {
1902
- var C = T.decimal, k = T.decimals, z = T.duration, Q = T.easingFn, tt = T.end, G = T.formattingFn, D = T.numerals, I = T.prefix, st = T.separator, et = T.start, $t = T.suffix, Ot = T.useEasing, yt = T.useGrouping, pt = T.useIndianSeparators, Ft = T.enableScrollSpy, dt = T.scrollSpyDelay, Bt = T.scrollSpyOnce, vt = T.plugin;
1902
+ var C = T.decimal, k = T.decimals, z = T.duration, Q = T.easingFn, tt = T.end, G = T.formattingFn, D = T.numerals, I = T.prefix, st = T.separator, et = T.start, $t = T.suffix, Ot = T.useEasing, yt = T.useGrouping, pt = T.useIndianSeparators, Ft = T.enableScrollSpy, ft = T.scrollSpyDelay, Bt = T.scrollSpyOnce, vt = T.plugin;
1903
1903
  return new e.CountUp(b, tt, {
1904
1904
  startVal: et,
1905
1905
  duration: z,
@@ -1916,7 +1916,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1916
1916
  useIndianSeparators: pt,
1917
1917
  useGrouping: yt,
1918
1918
  enableScrollSpy: Ft,
1919
- scrollSpyDelay: dt,
1919
+ scrollSpyDelay: ft,
1920
1920
  scrollSpyOnce: Bt
1921
1921
  });
1922
1922
  }, S = ["ref", "startOnMount", "enableReinitialize", "delay", "onEnd", "onStart", "onPauseResume", "onReset", "onUpdate"], P = {
@@ -1941,7 +1941,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1941
1941
  return i(i({}, P), T);
1942
1942
  }, [b]), k = C.ref, z = C.startOnMount, Q = C.enableReinitialize, tt = C.delay, G = C.onEnd, D = C.onStart, I = C.onPauseResume, st = C.onReset, et = C.onUpdate, $t = u(C, S), Ot = t.useRef(), yt = t.useRef(), pt = t.useRef(!1), Ft = v(function() {
1943
1943
  return w(typeof k == "string" ? k : k.current, $t);
1944
- }), dt = v(function(ot) {
1944
+ }), ft = v(function(ot) {
1945
1945
  var Tt = Ot.current;
1946
1946
  if (Tt && !ot)
1947
1947
  return Tt;
@@ -1949,7 +1949,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1949
1949
  return Ot.current = Ht, Ht;
1950
1950
  }), Bt = v(function() {
1951
1951
  var ot = function() {
1952
- return dt(!0).start(function() {
1952
+ return ft(!0).start(function() {
1953
1953
  G == null || G({
1954
1954
  pauseResume: vt,
1955
1955
  reset: bt,
@@ -1964,19 +1964,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1964
1964
  update: qt
1965
1965
  });
1966
1966
  }), vt = v(function() {
1967
- dt().pauseResume(), I == null || I({
1967
+ ft().pauseResume(), I == null || I({
1968
1968
  reset: bt,
1969
1969
  start: Gt,
1970
1970
  update: qt
1971
1971
  });
1972
1972
  }), bt = v(function() {
1973
- dt().el && (yt.current && clearTimeout(yt.current), dt().reset(), st == null || st({
1973
+ ft().el && (yt.current && clearTimeout(yt.current), ft().reset(), st == null || st({
1974
1974
  pauseResume: vt,
1975
1975
  start: Gt,
1976
1976
  update: qt
1977
1977
  }));
1978
1978
  }), qt = v(function(ot) {
1979
- dt().update(ot), et == null || et({
1979
+ ft().update(ot), et == null || et({
1980
1980
  pauseResume: vt,
1981
1981
  reset: bt,
1982
1982
  start: Gt
@@ -1997,7 +1997,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1997
1997
  pauseResume: vt,
1998
1998
  reset: bt,
1999
1999
  update: qt,
2000
- getCountUp: dt
2000
+ getCountUp: ft
2001
2001
  };
2002
2002
  }, V = ["className", "redraw", "containerProps", "children", "style"], E = function(b) {
2003
2003
  var T = b.className, C = b.redraw, k = b.containerProps, z = b.children, Q = b.style, tt = u(b, V), G = t.useRef(null), D = t.useRef(!1), I = m(i(i({}, tt), {}, {
@@ -2009,7 +2009,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2009
2009
  st();
2010
2010
  }), Ft = v(function(vt) {
2011
2011
  b.preserveValue || et(), $t(vt);
2012
- }), dt = v(function() {
2012
+ }), ft = v(function() {
2013
2013
  if (typeof b.children == "function" && !(G.current instanceof Element)) {
2014
2014
  console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.`);
2015
2015
  return;
@@ -2017,8 +2017,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2017
2017
  yt();
2018
2018
  });
2019
2019
  t.useEffect(function() {
2020
- dt();
2021
- }, [dt]), t.useEffect(function() {
2020
+ ft();
2021
+ }, [ft]), t.useEffect(function() {
2022
2022
  D.current && Ft(b.end);
2023
2023
  }, [b.end, Ft]);
2024
2024
  var Bt = C && b;
@@ -2043,19 +2043,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2043
2043
  };
2044
2044
  return we.default = E, we.useCountUp = m, we;
2045
2045
  }
2046
- var Vc = Ac();
2047
- const Rc = /* @__PURE__ */ vl(Vc);
2048
- var tr = /* @__PURE__ */ new Map(), Ye = /* @__PURE__ */ new WeakMap(), yi = 0, Ec = void 0;
2049
- function Mc(t) {
2046
+ var Bc = Fc();
2047
+ const Ic = /* @__PURE__ */ El(Bc);
2048
+ var tr = /* @__PURE__ */ new Map(), Ye = /* @__PURE__ */ new WeakMap(), yi = 0, jc = void 0;
2049
+ function Nc(t) {
2050
2050
  return t ? (Ye.has(t) || (yi += 1, Ye.set(t, yi.toString())), Ye.get(t)) : "0";
2051
2051
  }
2052
- function kc(t) {
2052
+ function Uc(t) {
2053
2053
  return Object.keys(t).sort().filter(
2054
2054
  (e) => t[e] !== void 0
2055
- ).map((e) => `${e}_${e === "root" ? Mc(t.root) : t[e]}`).toString();
2055
+ ).map((e) => `${e}_${e === "root" ? Nc(t.root) : t[e]}`).toString();
2056
2056
  }
2057
- function Dc(t) {
2058
- const e = kc(t);
2057
+ function zc(t) {
2058
+ const e = Uc(t);
2059
2059
  let n = tr.get(e);
2060
2060
  if (!n) {
2061
2061
  const r = /* @__PURE__ */ new Map();
@@ -2077,7 +2077,7 @@ function Dc(t) {
2077
2077
  }
2078
2078
  return n;
2079
2079
  }
2080
- function _c(t, e, n = {}, r = Ec) {
2080
+ function Wc(t, e, n = {}, r = jc) {
2081
2081
  if (typeof window.IntersectionObserver > "u" && r !== void 0) {
2082
2082
  const l = t.getBoundingClientRect();
2083
2083
  return e(r, {
@@ -2091,12 +2091,12 @@ function _c(t, e, n = {}, r = Ec) {
2091
2091
  }), () => {
2092
2092
  };
2093
2093
  }
2094
- const { id: i, observer: s, elements: o } = Dc(n), a = o.get(t) || [];
2094
+ const { id: i, observer: s, elements: o } = zc(n), a = o.get(t) || [];
2095
2095
  return o.has(t) || o.set(t, a), a.push(e), s.observe(t), function() {
2096
2096
  a.splice(a.indexOf(e), 1), a.length === 0 && (o.delete(t), s.unobserve(t)), o.size === 0 && (s.disconnect(), tr.delete(i));
2097
2097
  };
2098
2098
  }
2099
- function Lc({
2099
+ function qc({
2100
2100
  threshold: t,
2101
2101
  delay: e,
2102
2102
  trackVisibility: n,
@@ -2117,7 +2117,7 @@ function Lc({
2117
2117
  () => {
2118
2118
  if (o || !d) return;
2119
2119
  let S;
2120
- return S = _c(
2120
+ return S = Wc(
2121
2121
  d,
2122
2122
  (P, m) => {
2123
2123
  g({
@@ -2162,28 +2162,28 @@ function Lc({
2162
2162
  const w = [f, p.inView, p.entry];
2163
2163
  return w.ref = w[0], w.inView = w[1], w.entry = w[2], w;
2164
2164
  }
2165
- var $c = { keyNumberPaddingBottom: "var(--_177g97f0)" }, am = { display: "flex", flexDirection: "column" }, Oc = "_177g97f1";
2166
- const lm = ({
2165
+ var Gc = { keyNumberPaddingBottom: "var(--_177g97f0)" }, cm = { display: "flex", flexDirection: "column" }, Hc = "_177g97f1";
2166
+ const um = ({
2167
2167
  label: t,
2168
2168
  suffix: e,
2169
2169
  keyNumber: n,
2170
2170
  className: r,
2171
2171
  theme: i = B
2172
2172
  }) => {
2173
- const s = St(), [o, a] = Lc({
2173
+ const s = St(), [o, a] = qc({
2174
2174
  threshold: 0.3,
2175
2175
  triggerOnce: !0
2176
2176
  }), { keyNumber: { paddingBottom: l } } = i;
2177
- return /* @__PURE__ */ ht(
2177
+ return /* @__PURE__ */ dt(
2178
2178
  "div",
2179
2179
  {
2180
2180
  ref: o,
2181
2181
  className: r,
2182
2182
  children: [
2183
- /* @__PURE__ */ ht("div", { className: Oc, style: F({
2184
- [$c.keyNumberPaddingBottom]: `${l[s]}px`
2183
+ /* @__PURE__ */ dt("div", { className: Hc, style: F({
2184
+ [Gc.keyNumberPaddingBottom]: `${l[s]}px`
2185
2185
  }), children: [
2186
- /* @__PURE__ */ A("span", { children: /* @__PURE__ */ A(Rc, { end: a ? n : 0, duration: 8 }) }),
2186
+ /* @__PURE__ */ A("span", { children: /* @__PURE__ */ A(Ic, { end: a ? n : 0, duration: 8 }) }),
2187
2187
  e
2188
2188
  ] }),
2189
2189
  /* @__PURE__ */ A("p", { children: t })
@@ -2191,8 +2191,8 @@ const lm = ({
2191
2191
  }
2192
2192
  );
2193
2193
  };
2194
- var vi = { videoFullWidthLeft: "var(--_29n9il0)", videoFullWidthRight: "var(--_29n9il1)" }, cm = { height: 0, width: "100vw", overflow: "hidden", position: "relative", paddingBottom: "56.25%", left: "var(--_29n9il0)", right: "var(--_29n9il1)" };
2195
- const um = ({
2194
+ var vi = { videoFullWidthLeft: "var(--_29n9il0)", videoFullWidthRight: "var(--_29n9il1)" }, dm = { height: 0, width: "100vw", overflow: "hidden", position: "relative", paddingBottom: "56.25%", left: "var(--_29n9il0)", right: "var(--_29n9il1)" };
2195
+ const fm = ({
2196
2196
  video: t,
2197
2197
  poster: e,
2198
2198
  className: n,
@@ -2213,7 +2213,7 @@ const um = ({
2213
2213
  [vi.videoFullWidthRight]: `min(calc((100vw - ${l}px) / -2), -${u[a]}px)`
2214
2214
  }),
2215
2215
  children: /* @__PURE__ */ A(
2216
- xc,
2216
+ kc,
2217
2217
  {
2218
2218
  video: t,
2219
2219
  theme: o,
@@ -2227,8 +2227,8 @@ const um = ({
2227
2227
  }
2228
2228
  );
2229
2229
  };
2230
- var Fc = { languageSwitcherWidth: "var(--_9kkynw0)" }, dm = { marginLeft: "auto", marginRight: "auto", position: "relative", width: "var(--_9kkynw0)" }, Bc = "_9kkynw1", Ic = "_9kkynw2";
2231
- const fm = ({
2230
+ var Kc = { languageSwitcherWidth: "var(--_9kkynw0)" }, hm = { marginLeft: "auto", marginRight: "auto", position: "relative", width: "var(--_9kkynw0)" }, Yc = "_9kkynw1", Xc = "_9kkynw2";
2231
+ const pm = ({
2232
2232
  currentLocale: t,
2233
2233
  handleChange: e,
2234
2234
  locales: n,
@@ -2237,19 +2237,19 @@ const fm = ({
2237
2237
  translations: s
2238
2238
  }) => {
2239
2239
  const o = St(), { languageSwitcher: a } = r;
2240
- return /* @__PURE__ */ ht(
2240
+ return /* @__PURE__ */ dt(
2241
2241
  "div",
2242
2242
  {
2243
2243
  className: i,
2244
2244
  style: F({
2245
- [Fc.languageSwitcherWidth]: `${a.width[o]}px`
2245
+ [Kc.languageSwitcherWidth]: `${a.width[o]}px`
2246
2246
  }),
2247
2247
  children: [
2248
- /* @__PURE__ */ A("div", { className: Bc, children: /* @__PURE__ */ A(Xt, { theme: r, icon: "caret" }) }),
2248
+ /* @__PURE__ */ A("div", { className: Yc, children: /* @__PURE__ */ A(Xt, { theme: r, icon: "caret" }) }),
2249
2249
  /* @__PURE__ */ A(
2250
2250
  "select",
2251
2251
  {
2252
- className: Ic,
2252
+ className: Xc,
2253
2253
  value: t,
2254
2254
  onChange: e,
2255
2255
  "aria-label": "Switch Language",
@@ -2260,16 +2260,16 @@ const fm = ({
2260
2260
  }
2261
2261
  );
2262
2262
  };
2263
- var jc = "var(--_1wp326d0)", Nc = "var(--_1wp326d1)", hm = { display: "flex", backgroundColor: "var(--_1wp326d1)", flex: "1 1 auto", minHeight: "45vh", textAlign: "center", alignItems: "center", flexDirection: "column", justifyContent: "center", "@media": { "screen and (min-width: 768px)": { minHeight: "var(--_1wp326d0)" } } };
2264
- const pm = ({ children: t, className: e, theme: n = B }) => {
2263
+ var Zc = "var(--_1wp326d0)", Jc = "var(--_1wp326d1)", mm = { display: "flex", backgroundColor: "var(--_1wp326d1)", flex: "1 1 auto", minHeight: "45vh", textAlign: "center", alignItems: "center", flexDirection: "column", justifyContent: "center", "@media": { "screen and (min-width: 768px)": { minHeight: "var(--_1wp326d0)" } } };
2264
+ const gm = ({ children: t, className: e, theme: n = B }) => {
2265
2265
  const { main: { backgroundColor: r, minHeight: i } } = n;
2266
2266
  return /* @__PURE__ */ A("main", { className: e, style: F({
2267
- [jc]: i,
2268
- [Nc]: r
2267
+ [Zc]: i,
2268
+ [Jc]: r
2269
2269
  }), children: t });
2270
2270
  };
2271
- var bi = { overlayBottom: "var(--xr8l1e0)", overlayTransform: "var(--xr8l1e1)" }, Uc = "xr8l1e2";
2272
- const zc = ({
2271
+ var bi = { overlayBottom: "var(--xr8l1e0)", overlayTransform: "var(--xr8l1e1)" }, Qc = "xr8l1e2";
2272
+ const tu = ({
2273
2273
  theme: t = B,
2274
2274
  isOpen: e = !1,
2275
2275
  children: n,
@@ -2280,7 +2280,7 @@ const zc = ({
2280
2280
  }, [e]), /* @__PURE__ */ A(
2281
2281
  "div",
2282
2282
  {
2283
- className: `${Uc} ${r}`,
2283
+ className: `${Qc} ${r}`,
2284
2284
  style: F({
2285
2285
  [bi.overlayBottom]: e ? "-100vh" : "100%",
2286
2286
  [bi.overlayTransform]: e ? "translate(0, 0)" : "translate(0, -100%)"
@@ -2288,8 +2288,8 @@ const zc = ({
2288
2288
  children: n
2289
2289
  }
2290
2290
  ));
2291
- var Wc = { displayOnDesktop: "var(--_1c0ak730)" }, qc = "_1c0ak731", xi = "_1c0ak732";
2292
- const Gc = ({
2291
+ var eu = { displayOnDesktop: "var(--_1c0ak730)" }, nu = "_1c0ak731", xi = "_1c0ak732";
2292
+ const ru = ({
2293
2293
  theme: t = B,
2294
2294
  isNavOpen: e = !1,
2295
2295
  onToggleNav: n,
@@ -2299,12 +2299,12 @@ const Gc = ({
2299
2299
  const s = () => {
2300
2300
  window.scrollTo({ top: 0, behavior: "smooth" }), n();
2301
2301
  };
2302
- return /* @__PURE__ */ ht(
2302
+ return /* @__PURE__ */ dt(
2303
2303
  "button",
2304
2304
  {
2305
- className: `${qc} ${i}`,
2305
+ className: `${nu} ${i}`,
2306
2306
  style: F({
2307
- [Wc.displayOnDesktop]: r ? "block" : "none"
2307
+ [eu.displayOnDesktop]: r ? "block" : "none"
2308
2308
  }),
2309
2309
  onClick: s,
2310
2310
  "aria-label": "Toggle nav",
@@ -2315,8 +2315,8 @@ const Gc = ({
2315
2315
  }
2316
2316
  );
2317
2317
  };
2318
- var Hc = { isFixed: "var(--_15wg1hu0)" }, mm = { zIndex: 30, width: "100%", display: "flex", alignItems: "center", justifyContent: "space-between", position: "var(--_15wg1hu0)", backgroundColor: "var(--header-bg, white)" }, Kc = "_15wg1hu1", Yc = "_15wg1hu2";
2319
- const gm = ({
2318
+ var iu = { isFixed: "var(--_15wg1hu0)" }, ym = { zIndex: 30, width: "100%", display: "flex", alignItems: "center", justifyContent: "space-between", position: "var(--_15wg1hu0)", backgroundColor: "var(--header-bg, white)" }, su = "_15wg1hu1", ou = "_15wg1hu2";
2319
+ const vm = ({
2320
2320
  children: t,
2321
2321
  isFixed: e = !1,
2322
2322
  childrenOverlay: n,
@@ -2326,19 +2326,19 @@ const gm = ({
2326
2326
  className: o
2327
2327
  }) => {
2328
2328
  const [a, l] = _t(!1);
2329
- return /* @__PURE__ */ ht(jl, { children: [
2330
- /* @__PURE__ */ ht(
2329
+ return /* @__PURE__ */ dt(Zl, { children: [
2330
+ /* @__PURE__ */ dt(
2331
2331
  "header",
2332
2332
  {
2333
- className: `${Kc} ${o}`,
2333
+ className: `${su} ${o}`,
2334
2334
  style: F({
2335
- [Hc.isFixed]: e ? "fixed" : "relative"
2335
+ [iu.isFixed]: e ? "fixed" : "relative"
2336
2336
  }),
2337
2337
  children: [
2338
- n && /* @__PURE__ */ A(zc, { className: "", theme: r, isOpen: a, children: n }),
2338
+ n && /* @__PURE__ */ A(tu, { className: "", theme: r, isOpen: a, children: n }),
2339
2339
  t,
2340
2340
  !i && /* @__PURE__ */ A(
2341
- Gc,
2341
+ ru,
2342
2342
  {
2343
2343
  className: "",
2344
2344
  theme: r,
@@ -2350,11 +2350,11 @@ const gm = ({
2350
2350
  ]
2351
2351
  }
2352
2352
  ),
2353
- e && /* @__PURE__ */ A("div", { className: Yc })
2353
+ e && /* @__PURE__ */ A("div", { className: ou })
2354
2354
  ] });
2355
2355
  };
2356
- var te = { footerGap: "var(--fl7h880)", footerBackgroundColor: "var(--fl7h881)", footerPaddingTop: "var(--fl7h882)", footerPaddingBottom: "var(--fl7h883)", footerPaddingLeft: "var(--fl7h884)", footerPaddingRight: "var(--fl7h885)" }, ym = { zIndex: 20, display: "flex", fontSize: "0.8em", alignItems: "center", flexDirection: "column", justifyContent: "space-between", gap: "var(--fl7h880)", backgroundColor: "var(--fl7h881)", paddingTop: "var(--fl7h882)", paddingBottom: "var(--fl7h883)", paddingLeft: "var(--fl7h884)", paddingRight: "var(--fl7h885)" };
2357
- const vm = ({ children: t, className: e, theme: n = B }) => {
2356
+ var te = { footerGap: "var(--fl7h880)", footerBackgroundColor: "var(--fl7h881)", footerPaddingTop: "var(--fl7h882)", footerPaddingBottom: "var(--fl7h883)", footerPaddingLeft: "var(--fl7h884)", footerPaddingRight: "var(--fl7h885)" }, bm = { zIndex: 20, display: "flex", fontSize: "0.8em", alignItems: "center", flexDirection: "column", justifyContent: "space-between", gap: "var(--fl7h880)", backgroundColor: "var(--fl7h881)", paddingTop: "var(--fl7h882)", paddingBottom: "var(--fl7h883)", paddingLeft: "var(--fl7h884)", paddingRight: "var(--fl7h885)" };
2357
+ const xm = ({ children: t, className: e, theme: n = B }) => {
2358
2358
  const r = St(), {
2359
2359
  global: { paddingLeft: i, paddingRight: s },
2360
2360
  footer: { gap: o, backgroundColor: a, paddingTop: l, paddingBottom: c }
@@ -2368,8 +2368,8 @@ const vm = ({ children: t, className: e, theme: n = B }) => {
2368
2368
  [te.footerPaddingRight]: `${s[r]}px`
2369
2369
  }), children: t });
2370
2370
  };
2371
- var ee = { columnsGap: "var(--mx2tfy0)", columnsTextAlign: "var(--mx2tfy1)", columnsJustifyContent: "var(--mx2tfy2)", isCentered: "var(--mx2tfy3)", isInverted: "var(--mx2tfy4)", column0: "var(--mx2tfy5)", column1: "var(--mx2tfy6)", column2: "var(--mx2tfy7)", column3: "var(--mx2tfy8)" }, bm = {}, Ce = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(Ce || {});
2372
- const xm = ({
2371
+ var ee = { columnsGap: "var(--mx2tfy0)", columnsTextAlign: "var(--mx2tfy1)", columnsJustifyContent: "var(--mx2tfy2)", isCentered: "var(--mx2tfy3)", isInverted: "var(--mx2tfy4)", column0: "var(--mx2tfy5)", column1: "var(--mx2tfy6)", column2: "var(--mx2tfy7)", column3: "var(--mx2tfy8)" }, wm = {}, Ce = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(Ce || {});
2372
+ const Sm = ({
2373
2373
  columns: t,
2374
2374
  children: e,
2375
2375
  align: n = Ce.Left,
@@ -2404,11 +2404,11 @@ const wr = /* @__PURE__ */ pe(null), ro = pe({
2404
2404
  isStatic: !1,
2405
2405
  reducedMotion: "never"
2406
2406
  });
2407
- function Xc(t = !0) {
2407
+ function au(t = !0) {
2408
2408
  const e = rt(wr);
2409
2409
  if (e === null)
2410
2410
  return [!0, null];
2411
- const { isPresent: n, onExitComplete: r, register: i } = e, s = Oa();
2411
+ const { isPresent: n, onExitComplete: r, register: i } = e, s = Ha();
2412
2412
  wt(() => {
2413
2413
  if (t)
2414
2414
  return i(s);
@@ -2416,7 +2416,7 @@ function Xc(t = !0) {
2416
2416
  const o = Is(() => t && r && r(s), [s, r, t]);
2417
2417
  return !n && r ? [!1, o] : [!0];
2418
2418
  }
2419
- const Sr = typeof window < "u", io = Sr ? Fa : wt, ct = /* @__NO_SIDE_EFFECTS__ */ (t) => t;
2419
+ const Sr = typeof window < "u", io = Sr ? Ka : wt, ct = /* @__NO_SIDE_EFFECTS__ */ (t) => t;
2420
2420
  let ge = ct, Mt = ct;
2421
2421
  process.env.NODE_ENV !== "production" && (ge = (t, e) => {
2422
2422
  !t && typeof console < "u" && console.warn(e);
@@ -2432,7 +2432,7 @@ function Tr(t) {
2432
2432
  const de = /* @__NO_SIDE_EFFECTS__ */ (t, e, n) => {
2433
2433
  const r = e - t;
2434
2434
  return r === 0 ? 1 : (n - t) / r;
2435
- }, Vt = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, Dt = /* @__NO_SIDE_EFFECTS__ */ (t) => t / 1e3, Zc = {
2435
+ }, Vt = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, Dt = /* @__NO_SIDE_EFFECTS__ */ (t) => t / 1e3, lu = {
2436
2436
  skipAnimations: !1,
2437
2437
  useManualTiming: !1
2438
2438
  }, Xe = [
@@ -2449,7 +2449,7 @@ const de = /* @__NO_SIDE_EFFECTS__ */ (t, e, n) => {
2449
2449
  "postRender"
2450
2450
  // Compute
2451
2451
  ];
2452
- function Jc(t, e) {
2452
+ function cu(t, e) {
2453
2453
  let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = !1, s = !1;
2454
2454
  const o = /* @__PURE__ */ new WeakSet();
2455
2455
  let a = {
@@ -2487,16 +2487,16 @@ function Jc(t, e) {
2487
2487
  };
2488
2488
  return c;
2489
2489
  }
2490
- const Qc = 40;
2490
+ const uu = 40;
2491
2491
  function so(t, e) {
2492
2492
  let n = !1, r = !0;
2493
2493
  const i = {
2494
2494
  delta: 0,
2495
2495
  timestamp: 0,
2496
2496
  isProcessing: !1
2497
- }, s = () => n = !0, o = Xe.reduce((v, w) => (v[w] = Jc(s), v), {}), { read: a, resolveKeyframes: l, update: c, preRender: u, render: d, postRender: f } = o, h = () => {
2497
+ }, s = () => n = !0, o = Xe.reduce((v, w) => (v[w] = cu(s), v), {}), { read: a, resolveKeyframes: l, update: c, preRender: u, render: d, postRender: f } = o, h = () => {
2498
2498
  const v = performance.now();
2499
- n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(v - i.timestamp, Qc), 1), i.timestamp = v, i.isProcessing = !0, a.process(i), l.process(i), c.process(i), u.process(i), d.process(i), f.process(i), i.isProcessing = !1, n && e && (r = !1, t(h));
2499
+ n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(v - i.timestamp, uu), 1), i.timestamp = v, i.isProcessing = !0, a.process(i), l.process(i), c.process(i), u.process(i), d.process(i), f.process(i), i.isProcessing = !1, n && e && (r = !1, t(h));
2500
2500
  }, p = () => {
2501
2501
  n = !0, r = !0, i.isProcessing || t(h);
2502
2502
  };
@@ -2532,14 +2532,14 @@ for (const t in wi)
2532
2532
  fe[t] = {
2533
2533
  isEnabled: (e) => wi[t].some((n) => !!e[n])
2534
2534
  };
2535
- function tu(t) {
2535
+ function du(t) {
2536
2536
  for (const e in t)
2537
2537
  fe[e] = {
2538
2538
  ...fe[e],
2539
2539
  ...t[e]
2540
2540
  };
2541
2541
  }
2542
- const eu = /* @__PURE__ */ new Set([
2542
+ const fu = /* @__PURE__ */ new Set([
2543
2543
  "animate",
2544
2544
  "exit",
2545
2545
  "variants",
@@ -2572,17 +2572,17 @@ const eu = /* @__PURE__ */ new Set([
2572
2572
  "viewport"
2573
2573
  ]);
2574
2574
  function pn(t) {
2575
- return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || eu.has(t);
2575
+ return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || fu.has(t);
2576
2576
  }
2577
2577
  let ao = (t) => !pn(t);
2578
- function nu(t) {
2578
+ function hu(t) {
2579
2579
  t && (ao = (e) => e.startsWith("on") ? !pn(e) : t(e));
2580
2580
  }
2581
2581
  try {
2582
- nu(require("@emotion/is-prop-valid").default);
2582
+ hu(require("@emotion/is-prop-valid").default);
2583
2583
  } catch {
2584
2584
  }
2585
- function ru(t, e, n) {
2585
+ function pu(t, e, n) {
2586
2586
  const r = {};
2587
2587
  for (const i in t)
2588
2588
  i === "values" && typeof t.values == "object" || (ao(i) || n === !0 && pn(i) || !e && !pn(i) || // If trying to use native HTML drag events, forward drag listeners
@@ -2593,7 +2593,7 @@ const Si = /* @__PURE__ */ new Set();
2593
2593
  function Pn(t, e, n) {
2594
2594
  t || Si.has(e) || (console.warn(e), Si.add(e));
2595
2595
  }
2596
- function iu(t) {
2596
+ function mu(t) {
2597
2597
  if (typeof Proxy > "u")
2598
2598
  return t;
2599
2599
  const e = /* @__PURE__ */ new Map(), n = (...r) => (process.env.NODE_ENV !== "production" && Pn(!1, "motion() is deprecated. Use motion.create() instead."), t(...r));
@@ -2628,7 +2628,7 @@ function Rn(t) {
2628
2628
  function lo(t) {
2629
2629
  return !!(Rn(t) || t.variants);
2630
2630
  }
2631
- function su(t, e) {
2631
+ function gu(t, e) {
2632
2632
  if (Rn(t)) {
2633
2633
  const { initial: n, animate: r } = t;
2634
2634
  return {
@@ -2638,18 +2638,18 @@ function su(t, e) {
2638
2638
  }
2639
2639
  return t.inherit !== !1 ? e : {};
2640
2640
  }
2641
- function ou(t) {
2642
- const { initial: e, animate: n } = su(t, rt(An));
2641
+ function yu(t) {
2642
+ const { initial: e, animate: n } = gu(t, rt(An));
2643
2643
  return xn(() => ({ initial: e, animate: n }), [Ti(e), Ti(n)]);
2644
2644
  }
2645
2645
  function Ti(t) {
2646
2646
  return Array.isArray(t) ? t.join(" ") : t;
2647
2647
  }
2648
- const au = Symbol.for("motionComponentSymbol");
2648
+ const vu = Symbol.for("motionComponentSymbol");
2649
2649
  function ne(t) {
2650
2650
  return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
2651
2651
  }
2652
- function lu(t, e, n) {
2652
+ function bu(t, e, n) {
2653
2653
  return Is(
2654
2654
  (r) => {
2655
2655
  r && t.onMount && t.onMount(r), e && (r ? e.mount(r) : e.unmount()), n && (typeof n == "function" ? n(r) : ne(n) && (n.current = r));
@@ -2662,8 +2662,8 @@ function lu(t, e, n) {
2662
2662
  [e]
2663
2663
  );
2664
2664
  }
2665
- const Ar = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), cu = "framerAppearId", co = "data-" + Ar(cu), { schedule: Vr, cancel: wm } = so(queueMicrotask, !1), uo = pe({});
2666
- function uu(t, e, n, r, i) {
2665
+ const Ar = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), xu = "framerAppearId", co = "data-" + Ar(xu), { schedule: Vr, cancel: Tm } = so(queueMicrotask, !1), uo = pe({});
2666
+ function wu(t, e, n, r, i) {
2667
2667
  var s, o;
2668
2668
  const { visualElement: a } = rt(An), l = rt(oo), c = rt(wr), u = rt(ro).reducedMotion, d = le(null);
2669
2669
  r = r || l.renderer, !d.current && r && (d.current = r(t, {
@@ -2675,9 +2675,9 @@ function uu(t, e, n, r, i) {
2675
2675
  reducedMotionConfig: u
2676
2676
  }));
2677
2677
  const f = d.current, h = rt(uo);
2678
- f && !f.projection && i && (f.type === "html" || f.type === "svg") && du(d.current, n, i, h);
2678
+ f && !f.projection && i && (f.type === "html" || f.type === "svg") && Su(d.current, n, i, h);
2679
2679
  const p = le(!1);
2680
- Ba(() => {
2680
+ Ya(() => {
2681
2681
  f && p.current && f.update(n, c);
2682
2682
  });
2683
2683
  const g = n[co], x = le(!!g && !(!((s = window.MotionHandoffIsComplete) === null || s === void 0) && s.call(window, g)) && ((o = window.MotionHasOptimisedAnimation) === null || o === void 0 ? void 0 : o.call(window, g)));
@@ -2690,7 +2690,7 @@ function uu(t, e, n, r, i) {
2690
2690
  }), x.current = !1));
2691
2691
  }), f;
2692
2692
  }
2693
- function du(t, e, n, r) {
2693
+ function Su(t, e, n, r) {
2694
2694
  const { layoutId: i, layout: s, drag: o, dragConstraints: a, layoutScroll: l, layoutRoot: c } = e;
2695
2695
  t.projection = new n(t.latestValues, e["data-framer-portal-id"] ? void 0 : fo(t.parent)), t.projection.setOptions({
2696
2696
  layoutId: i,
@@ -2714,39 +2714,39 @@ function fo(t) {
2714
2714
  if (t)
2715
2715
  return t.options.allowProjection !== !1 ? t.projection : fo(t.parent);
2716
2716
  }
2717
- function fu({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVisualState: r, Component: i }) {
2717
+ function Tu({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVisualState: r, Component: i }) {
2718
2718
  var s, o;
2719
- t && tu(t);
2719
+ t && du(t);
2720
2720
  function a(c, u) {
2721
2721
  let d;
2722
2722
  const f = {
2723
2723
  ...rt(ro),
2724
2724
  ...c,
2725
- layoutId: hu(c)
2726
- }, { isStatic: h } = f, p = ou(c), g = r(c, h);
2725
+ layoutId: Cu(c)
2726
+ }, { isStatic: h } = f, p = yu(c), g = r(c, h);
2727
2727
  if (!h && Sr) {
2728
- pu(f, t);
2729
- const x = mu(f);
2730
- d = x.MeasureLayout, p.visualElement = uu(i, g, f, e, x.ProjectionNode);
2728
+ Pu(f, t);
2729
+ const x = Au(f);
2730
+ d = x.MeasureLayout, p.visualElement = wu(i, g, f, e, x.ProjectionNode);
2731
2731
  }
2732
- return La(An.Provider, { value: p, children: [d && p.visualElement ? Fs(d, { visualElement: p.visualElement, ...f }) : null, n(i, c, lu(g, p.visualElement, u), g, h, p.visualElement)] });
2732
+ return qa(An.Provider, { value: p, children: [d && p.visualElement ? Fs(d, { visualElement: p.visualElement, ...f }) : null, n(i, c, bu(g, p.visualElement, u), g, h, p.visualElement)] });
2733
2733
  }
2734
2734
  a.displayName = `motion.${typeof i == "string" ? i : `create(${(o = (s = i.displayName) !== null && s !== void 0 ? s : i.name) !== null && o !== void 0 ? o : ""})`}`;
2735
2735
  const l = Bs(a);
2736
- return l[au] = i, l;
2736
+ return l[vu] = i, l;
2737
2737
  }
2738
- function hu({ layoutId: t }) {
2738
+ function Cu({ layoutId: t }) {
2739
2739
  const e = rt(eo).id;
2740
2740
  return e && t !== void 0 ? e + "-" + t : t;
2741
2741
  }
2742
- function pu(t, e) {
2742
+ function Pu(t, e) {
2743
2743
  const n = rt(oo).strict;
2744
2744
  if (process.env.NODE_ENV !== "production" && e && n) {
2745
2745
  const r = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
2746
2746
  t.ignoreStrict ? ge(!1, r) : Mt(!1, r);
2747
2747
  }
2748
2748
  }
2749
- function mu(t) {
2749
+ function Au(t) {
2750
2750
  const { drag: e, layout: n } = fe;
2751
2751
  if (!e && !n)
2752
2752
  return {};
@@ -2756,8 +2756,8 @@ function mu(t) {
2756
2756
  ProjectionNode: r.ProjectionNode
2757
2757
  };
2758
2758
  }
2759
- const ho = (t) => (e) => typeof e == "string" && e.startsWith(t), Rr = /* @__PURE__ */ ho("--"), gu = /* @__PURE__ */ ho("var(--"), Er = (t) => gu(t) ? yu.test(t.split("/*")[0].trim()) : !1, yu = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Oe = {};
2760
- function vu(t) {
2759
+ const ho = (t) => (e) => typeof e == "string" && e.startsWith(t), Rr = /* @__PURE__ */ ho("--"), Vu = /* @__PURE__ */ ho("var(--"), Er = (t) => Vu(t) ? Ru.test(t.split("/*")[0].trim()) : !1, Ru = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Oe = {};
2760
+ function Eu(t) {
2761
2761
  for (const e in t)
2762
2762
  Oe[e] = t[e], Rr(e) && (Oe[e].isCSSVariable = !0);
2763
2763
  }
@@ -2797,11 +2797,11 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
2797
2797
  test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
2798
2798
  parse: parseFloat,
2799
2799
  transform: (e) => `${e}${t}`
2800
- }), Nt = /* @__PURE__ */ ze("deg"), Rt = /* @__PURE__ */ ze("%"), M = /* @__PURE__ */ ze("px"), bu = /* @__PURE__ */ ze("vh"), xu = /* @__PURE__ */ ze("vw"), Ci = {
2800
+ }), Nt = /* @__PURE__ */ ze("deg"), Rt = /* @__PURE__ */ ze("%"), M = /* @__PURE__ */ ze("px"), Mu = /* @__PURE__ */ ze("vh"), ku = /* @__PURE__ */ ze("vw"), Ci = {
2801
2801
  ...Rt,
2802
2802
  parse: (t) => Rt.parse(t) / 100,
2803
2803
  transform: (t) => Rt.transform(t * 100)
2804
- }, wu = {
2804
+ }, Du = {
2805
2805
  // Border props
2806
2806
  borderWidth: M,
2807
2807
  borderTopWidth: M,
@@ -2837,7 +2837,7 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
2837
2837
  // Misc
2838
2838
  backgroundPositionX: M,
2839
2839
  backgroundPositionY: M
2840
- }, Su = {
2840
+ }, _u = {
2841
2841
  rotate: Nt,
2842
2842
  rotateX: Nt,
2843
2843
  rotateY: Nt,
@@ -2866,23 +2866,23 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
2866
2866
  ...ve,
2867
2867
  transform: Math.round
2868
2868
  }, Mr = {
2869
- ...wu,
2870
- ...Su,
2869
+ ...Du,
2870
+ ..._u,
2871
2871
  zIndex: Pi,
2872
2872
  size: M,
2873
2873
  // SVG
2874
2874
  fillOpacity: Fe,
2875
2875
  strokeOpacity: Fe,
2876
2876
  numOctaves: Pi
2877
- }, Tu = {
2877
+ }, Lu = {
2878
2878
  x: "translateX",
2879
2879
  y: "translateY",
2880
2880
  z: "translateZ",
2881
2881
  transformPerspective: "perspective"
2882
- }, Cu = ye.length;
2883
- function Pu(t, e, n) {
2882
+ }, $u = ye.length;
2883
+ function Ou(t, e, n) {
2884
2884
  let r = "", i = !0;
2885
- for (let s = 0; s < Cu; s++) {
2885
+ for (let s = 0; s < $u; s++) {
2886
2886
  const o = ye[s], a = t[o];
2887
2887
  if (a === void 0)
2888
2888
  continue;
@@ -2891,7 +2891,7 @@ function Pu(t, e, n) {
2891
2891
  const c = mo(a, Mr[o]);
2892
2892
  if (!l) {
2893
2893
  i = !1;
2894
- const u = Tu[o] || o;
2894
+ const u = Lu[o] || o;
2895
2895
  r += `${u}(${c}) `;
2896
2896
  }
2897
2897
  n && (e[o] = c);
@@ -2915,7 +2915,7 @@ function kr(t, e, n) {
2915
2915
  l.startsWith("origin") ? (a = !0, s[l] = u) : r[l] = u;
2916
2916
  }
2917
2917
  }
2918
- if (e.transform || (o || n ? r.transform = Pu(e, t.transform, n) : r.transform && (r.transform = "none")), a) {
2918
+ if (e.transform || (o || n ? r.transform = Ou(e, t.transform, n) : r.transform && (r.transform = "none")), a) {
2919
2919
  const { originX: l = "50%", originY: c = "50%", originZ: u = 0 } = s;
2920
2920
  r.transformOrigin = `${l} ${c} ${u}`;
2921
2921
  }
@@ -2930,21 +2930,21 @@ function go(t, e, n) {
2930
2930
  for (const r in e)
2931
2931
  !J(e[r]) && !po(r, n) && (t[r] = e[r]);
2932
2932
  }
2933
- function Au({ transformTemplate: t }, e) {
2933
+ function Fu({ transformTemplate: t }, e) {
2934
2934
  return xn(() => {
2935
2935
  const n = Dr();
2936
2936
  return kr(n, e, t), Object.assign({}, n.vars, n.style);
2937
2937
  }, [e]);
2938
2938
  }
2939
- function Vu(t, e) {
2939
+ function Bu(t, e) {
2940
2940
  const n = t.style || {}, r = {};
2941
- return go(r, n, t), Object.assign(r, Au(t, e)), r;
2941
+ return go(r, n, t), Object.assign(r, Fu(t, e)), r;
2942
2942
  }
2943
- function Ru(t, e) {
2944
- const n = {}, r = Vu(t, e);
2943
+ function Iu(t, e) {
2944
+ const n = {}, r = Bu(t, e);
2945
2945
  return t.drag && t.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.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 = r, n;
2946
2946
  }
2947
- const Eu = [
2947
+ const ju = [
2948
2948
  "animate",
2949
2949
  "circle",
2950
2950
  "defs",
@@ -2984,23 +2984,23 @@ function _r(t) {
2984
2984
  /**
2985
2985
  * If it's in our list of lowercase SVG tags, it's an SVG component
2986
2986
  */
2987
- !!(Eu.indexOf(t) > -1 || /**
2987
+ !!(ju.indexOf(t) > -1 || /**
2988
2988
  * If it contains a capital letter, it's an SVG component
2989
2989
  */
2990
2990
  /[A-Z]/u.test(t))
2991
2991
  )
2992
2992
  );
2993
2993
  }
2994
- const Mu = {
2994
+ const Nu = {
2995
2995
  offset: "stroke-dashoffset",
2996
2996
  array: "stroke-dasharray"
2997
- }, ku = {
2997
+ }, Uu = {
2998
2998
  offset: "strokeDashoffset",
2999
2999
  array: "strokeDasharray"
3000
3000
  };
3001
- function Du(t, e, n = 1, r = 0, i = !0) {
3001
+ function zu(t, e, n = 1, r = 0, i = !0) {
3002
3002
  t.pathLength = 1;
3003
- const s = i ? Mu : ku;
3003
+ const s = i ? Nu : Uu;
3004
3004
  t[s.offset] = M.transform(-r);
3005
3005
  const o = M.transform(e), a = M.transform(n);
3006
3006
  t[s.array] = `${o} ${a}`;
@@ -3008,7 +3008,7 @@ function Du(t, e, n = 1, r = 0, i = !0) {
3008
3008
  function Ai(t, e, n) {
3009
3009
  return typeof t == "string" ? t : M.transform(e + n * t);
3010
3010
  }
3011
- function _u(t, e, n) {
3011
+ function Wu(t, e, n) {
3012
3012
  const r = Ai(e, t.x, t.width), i = Ai(n, t.y, t.height);
3013
3013
  return `${r} ${i}`;
3014
3014
  }
@@ -3030,13 +3030,13 @@ function Lr(t, {
3030
3030
  }
3031
3031
  t.attrs = t.style, t.style = {};
3032
3032
  const { attrs: f, style: h, dimensions: p } = t;
3033
- f.transform && (p && (h.transform = f.transform), delete f.transform), p && (i !== void 0 || s !== void 0 || h.transform) && (h.transformOrigin = _u(p, i !== void 0 ? i : 0.5, s !== void 0 ? s : 0.5)), e !== void 0 && (f.x = e), n !== void 0 && (f.y = n), r !== void 0 && (f.scale = r), o !== void 0 && Du(f, o, a, l, !1);
3033
+ f.transform && (p && (h.transform = f.transform), delete f.transform), p && (i !== void 0 || s !== void 0 || h.transform) && (h.transformOrigin = Wu(p, i !== void 0 ? i : 0.5, s !== void 0 ? s : 0.5)), e !== void 0 && (f.x = e), n !== void 0 && (f.y = n), r !== void 0 && (f.scale = r), o !== void 0 && zu(f, o, a, l, !1);
3034
3034
  }
3035
3035
  const yo = () => ({
3036
3036
  ...Dr(),
3037
3037
  attrs: {}
3038
3038
  }), $r = (t) => typeof t == "string" && t.toLowerCase() === "svg";
3039
- function Lu(t, e, n, r) {
3039
+ function qu(t, e, n, r) {
3040
3040
  const i = xn(() => {
3041
3041
  const s = yo();
3042
3042
  return Lr(s, e, $r(r), t.transformTemplate), {
@@ -3050,10 +3050,10 @@ function Lu(t, e, n, r) {
3050
3050
  }
3051
3051
  return i;
3052
3052
  }
3053
- function $u(t = !1) {
3053
+ function Gu(t = !1) {
3054
3054
  return (n, r, i, { latestValues: s }, o) => {
3055
- const l = (_r(n) ? Lu : Ru)(r, s, o, n), c = ru(r, typeof n == "string", t), u = n !== js ? { ...c, ...l, ref: i } : {}, { children: d } = r, f = xn(() => J(d) ? d.get() : d, [d]);
3056
- return Ia(n, {
3055
+ const l = (_r(n) ? qu : Iu)(r, s, o, n), c = pu(r, typeof n == "string", t), u = n !== js ? { ...c, ...l, ref: i } : {}, { children: d } = r, f = xn(() => J(d) ? d.get() : d, [d]);
3056
+ return Xa(n, {
3057
3057
  ...u,
3058
3058
  children: f
3059
3059
  });
@@ -3076,23 +3076,23 @@ function Or(t, e, n, r) {
3076
3076
  }
3077
3077
  return e;
3078
3078
  }
3079
- const er = (t) => Array.isArray(t), Ou = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), Fu = (t) => er(t) ? t[t.length - 1] || 0 : t;
3079
+ const er = (t) => Array.isArray(t), Hu = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), Ku = (t) => er(t) ? t[t.length - 1] || 0 : t;
3080
3080
  function an(t) {
3081
3081
  const e = J(t) ? t.get() : t;
3082
- return Ou(e) ? e.toValue() : e;
3082
+ return Hu(e) ? e.toValue() : e;
3083
3083
  }
3084
- function Bu({ scrapeMotionValuesFromProps: t, createRenderState: e, onUpdate: n }, r, i, s) {
3084
+ function Yu({ scrapeMotionValuesFromProps: t, createRenderState: e, onUpdate: n }, r, i, s) {
3085
3085
  const o = {
3086
- latestValues: Iu(r, i, s, t),
3086
+ latestValues: Xu(r, i, s, t),
3087
3087
  renderState: e()
3088
3088
  };
3089
3089
  return n && (o.onMount = (a) => n({ props: r, current: a, ...o }), o.onUpdate = (a) => n(a)), o;
3090
3090
  }
3091
3091
  const vo = (t) => (e, n) => {
3092
- const r = rt(An), i = rt(wr), s = () => Bu(t, e, r, i);
3092
+ const r = rt(An), i = rt(wr), s = () => Yu(t, e, r, i);
3093
3093
  return n ? s() : no(s);
3094
3094
  };
3095
- function Iu(t, e, n, r) {
3095
+ function Xu(t, e, n, r) {
3096
3096
  const i = {}, s = r(t, {});
3097
3097
  for (const f in s)
3098
3098
  i[f] = an(s[f]);
@@ -3130,7 +3130,7 @@ function Fr(t, e, n) {
3130
3130
  (J(i[o]) || e.style && J(e.style[o]) || po(o, t) || ((r = n == null ? void 0 : n.getValue(o)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (s[o] = i[o]);
3131
3131
  return s;
3132
3132
  }
3133
- const ju = {
3133
+ const Zu = {
3134
3134
  useVisualState: vo({
3135
3135
  scrapeMotionValuesFromProps: Fr,
3136
3136
  createRenderState: Dr
@@ -3192,7 +3192,7 @@ function To(t, e, n) {
3192
3192
  }
3193
3193
  return r;
3194
3194
  }
3195
- const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Nu = {
3195
+ const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Ju = {
3196
3196
  useVisualState: vo({
3197
3197
  scrapeMotionValuesFromProps: To,
3198
3198
  createRenderState: yo,
@@ -3223,24 +3223,24 @@ const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Nu = {
3223
3223
  }
3224
3224
  })
3225
3225
  };
3226
- function Uu(t, e) {
3226
+ function Qu(t, e) {
3227
3227
  return function(r, { forwardMotionProps: i } = { forwardMotionProps: !1 }) {
3228
3228
  const o = {
3229
- ..._r(r) ? Nu : ju,
3229
+ ..._r(r) ? Ju : Zu,
3230
3230
  preloadedFeatures: t,
3231
- useRender: $u(i),
3231
+ useRender: Gu(i),
3232
3232
  createVisualElement: e,
3233
3233
  Component: r
3234
3234
  };
3235
- return fu(o);
3235
+ return Tu(o);
3236
3236
  };
3237
3237
  }
3238
3238
  function Be(t, e, n) {
3239
3239
  const r = t.getProps();
3240
3240
  return Or(r, e, n !== void 0 ? n : r.custom, t);
3241
3241
  }
3242
- const zu = /* @__PURE__ */ Tr(() => window.ScrollTimeline !== void 0);
3243
- class Wu {
3242
+ const td = /* @__PURE__ */ Tr(() => window.ScrollTimeline !== void 0);
3243
+ class ed {
3244
3244
  constructor(e) {
3245
3245
  this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
3246
3246
  }
@@ -3259,7 +3259,7 @@ class Wu {
3259
3259
  }
3260
3260
  attachTimeline(e, n) {
3261
3261
  const r = this.animations.map((i) => {
3262
- if (zu() && i.attachTimeline)
3262
+ if (td() && i.attachTimeline)
3263
3263
  return i.attachTimeline(e);
3264
3264
  if (typeof n == "function")
3265
3265
  return n(i);
@@ -3310,7 +3310,7 @@ class Wu {
3310
3310
  this.runAll("complete");
3311
3311
  }
3312
3312
  }
3313
- class qu extends Wu {
3313
+ class nd extends ed {
3314
3314
  then(e, n) {
3315
3315
  return Promise.all(this.animations).then(e).catch(n);
3316
3316
  }
@@ -3333,17 +3333,17 @@ function Ir(t) {
3333
3333
  function Ei(t, e) {
3334
3334
  t.timeline = e, t.onfinish = null;
3335
3335
  }
3336
- const jr = (t) => Array.isArray(t) && typeof t[0] == "number", Gu = {
3336
+ const jr = (t) => Array.isArray(t) && typeof t[0] == "number", rd = {
3337
3337
  linearEasing: void 0
3338
3338
  };
3339
- function Hu(t, e) {
3339
+ function id(t, e) {
3340
3340
  const n = /* @__PURE__ */ Tr(t);
3341
3341
  return () => {
3342
3342
  var r;
3343
- return (r = Gu[e]) !== null && r !== void 0 ? r : n();
3343
+ return (r = rd[e]) !== null && r !== void 0 ? r : n();
3344
3344
  };
3345
3345
  }
3346
- const mn = /* @__PURE__ */ Hu(() => {
3346
+ const mn = /* @__PURE__ */ id(() => {
3347
3347
  try {
3348
3348
  document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
3349
3349
  } catch {
@@ -3404,7 +3404,7 @@ function Mo(t, e) {
3404
3404
  function Mi(t) {
3405
3405
  return !(t.pointerType === "touch" || Ro());
3406
3406
  }
3407
- function Ku(t, e, n = {}) {
3407
+ function sd(t, e, n = {}) {
3408
3408
  const [r, i, s] = Mo(t, n), o = (a) => {
3409
3409
  if (!Mi(a))
3410
3410
  return;
@@ -3428,15 +3428,15 @@ function gn(t, e) {
3428
3428
  } catch {
3429
3429
  }
3430
3430
  }
3431
- const ko = (t, e) => e ? t === e ? !0 : ko(t, e.parentElement) : !1, Nr = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, Yu = /* @__PURE__ */ new Set([
3431
+ const ko = (t, e) => e ? t === e ? !0 : ko(t, e.parentElement) : !1, Nr = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, od = /* @__PURE__ */ new Set([
3432
3432
  "BUTTON",
3433
3433
  "INPUT",
3434
3434
  "SELECT",
3435
3435
  "TEXTAREA",
3436
3436
  "A"
3437
3437
  ]);
3438
- function Xu(t) {
3439
- return Yu.has(t.tagName) || t.tabIndex !== -1;
3438
+ function ad(t) {
3439
+ return od.has(t.tagName) || t.tabIndex !== -1;
3440
3440
  }
3441
3441
  const Ae = /* @__PURE__ */ new WeakSet();
3442
3442
  function ki(t) {
@@ -3447,7 +3447,7 @@ function ki(t) {
3447
3447
  function Fn(t, e) {
3448
3448
  t.dispatchEvent(new PointerEvent("pointer" + e, { isPrimary: !0, bubbles: !0 }));
3449
3449
  }
3450
- const Zu = (t, e) => {
3450
+ const ld = (t, e) => {
3451
3451
  const n = t.currentTarget;
3452
3452
  if (!n)
3453
3453
  return;
@@ -3465,7 +3465,7 @@ const Zu = (t, e) => {
3465
3465
  function Di(t) {
3466
3466
  return Nr(t) && !Ro();
3467
3467
  }
3468
- function Ju(t, e, n = {}) {
3468
+ function cd(t, e, n = {}) {
3469
3469
  const [r, i, s] = Mo(t, n), o = (a) => {
3470
3470
  const l = a.currentTarget;
3471
3471
  if (!l || !Di(a) || Ae.has(l))
@@ -3474,7 +3474,7 @@ function Ju(t, e, n = {}) {
3474
3474
  const c = e(l, a), u = (h, p) => {
3475
3475
  l.removeEventListener("pointerup", d), l.removeEventListener("pointercancel", f), gn(h, "release"), !(!Di(h) || !Ae.has(l)) && (Ae.delete(l), typeof c == "function" && c(h, { success: p }));
3476
3476
  }, d = (h) => {
3477
- (h.isTrusted ? Qu(h, l instanceof Element ? l.getBoundingClientRect() : {
3477
+ (h.isTrusted ? ud(h, l instanceof Element ? l.getBoundingClientRect() : {
3478
3478
  left: 0,
3479
3479
  top: 0,
3480
3480
  right: window.innerWidth,
@@ -3488,13 +3488,13 @@ function Ju(t, e, n = {}) {
3488
3488
  return r.forEach((a) => {
3489
3489
  a = n.useGlobalTarget ? window : a;
3490
3490
  let l = !1;
3491
- a instanceof HTMLElement && (l = !0, !Xu(a) && a.getAttribute("tabindex") === null && (a.tabIndex = 0)), a.addEventListener("pointerdown", o, i), l && a.addEventListener("focus", (c) => Zu(c, i), i);
3491
+ a instanceof HTMLElement && (l = !0, !ad(a) && a.getAttribute("tabindex") === null && (a.tabIndex = 0)), a.addEventListener("pointerdown", o, i), l && a.addEventListener("focus", (c) => ld(c, i), i);
3492
3492
  }), s;
3493
3493
  }
3494
- function Qu(t, e) {
3494
+ function ud(t, e) {
3495
3495
  return t.clientX < e.left || t.clientX > e.right || t.clientY < e.top || t.clientY > e.bottom;
3496
3496
  }
3497
- function td(t) {
3497
+ function dd(t) {
3498
3498
  return t === "x" || t === "y" ? xt[t] ? null : (xt[t] = !0, () => {
3499
3499
  xt[t] = !1;
3500
3500
  }) : xt.x || xt.y ? null : (xt.x = xt.y = !0, () => {
@@ -3511,13 +3511,13 @@ const Do = /* @__PURE__ */ new Set([
3511
3511
  ...ye
3512
3512
  ]);
3513
3513
  let ln;
3514
- function ed() {
3514
+ function fd() {
3515
3515
  ln = void 0;
3516
3516
  }
3517
3517
  const Et = {
3518
- now: () => (ln === void 0 && Et.set(H.isProcessing || Zc.useManualTiming ? H.timestamp : performance.now()), ln),
3518
+ now: () => (ln === void 0 && Et.set(H.isProcessing || lu.useManualTiming ? H.timestamp : performance.now()), ln),
3519
3519
  set: (t) => {
3520
- ln = t, queueMicrotask(ed);
3520
+ ln = t, queueMicrotask(fd);
3521
3521
  }
3522
3522
  };
3523
3523
  function Ur(t, e) {
@@ -3555,8 +3555,8 @@ class Wr {
3555
3555
  function _o(t, e) {
3556
3556
  return e ? t * (1e3 / e) : 0;
3557
3557
  }
3558
- const _i = 30, nd = (t) => !isNaN(parseFloat(t));
3559
- class rd {
3558
+ const _i = 30, hd = (t) => !isNaN(parseFloat(t));
3559
+ class pd {
3560
3560
  /**
3561
3561
  * @param init - The initiating value
3562
3562
  * @param config - Optional configuration options
@@ -3572,7 +3572,7 @@ class rd {
3572
3572
  }, this.hasAnimated = !1, this.setCurrent(e), this.owner = n.owner;
3573
3573
  }
3574
3574
  setCurrent(e) {
3575
- this.current = e, this.updatedAt = Et.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = nd(this.current));
3575
+ this.current = e, this.updatedAt = Et.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = hd(this.current));
3576
3576
  }
3577
3577
  setPrevFrameValue(e = this.current) {
3578
3578
  this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -3751,9 +3751,9 @@ class rd {
3751
3751
  }
3752
3752
  }
3753
3753
  function Ie(t, e) {
3754
- return new rd(t, e);
3754
+ return new pd(t, e);
3755
3755
  }
3756
- function id(t, e, n) {
3756
+ function md(t, e, n) {
3757
3757
  t.hasValue(e) ? t.getValue(e).set(n) : t.addValue(e, Ie(n));
3758
3758
  }
3759
3759
  function qr(t, e) {
@@ -3761,44 +3761,44 @@ function qr(t, e) {
3761
3761
  let { transitionEnd: r = {}, transition: i = {}, ...s } = n || {};
3762
3762
  s = { ...s, ...r };
3763
3763
  for (const o in s) {
3764
- const a = Fu(s[o]);
3765
- id(t, o, a);
3764
+ const a = Ku(s[o]);
3765
+ md(t, o, a);
3766
3766
  }
3767
3767
  }
3768
- function sd(t) {
3768
+ function gd(t) {
3769
3769
  return !!(J(t) && t.add);
3770
3770
  }
3771
3771
  function ir(t, e) {
3772
3772
  const n = t.getValue("willChange");
3773
- if (sd(n))
3773
+ if (gd(n))
3774
3774
  return n.add(e);
3775
3775
  }
3776
3776
  function Lo(t) {
3777
3777
  return t.props[co];
3778
3778
  }
3779
- const $o = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, od = 1e-7, ad = 12;
3780
- function ld(t, e, n, r, i) {
3779
+ const $o = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, yd = 1e-7, vd = 12;
3780
+ function bd(t, e, n, r, i) {
3781
3781
  let s, o, a = 0;
3782
3782
  do
3783
3783
  o = e + (n - e) / 2, s = $o(o, r, i) - t, s > 0 ? n = o : e = o;
3784
- while (Math.abs(s) > od && ++a < ad);
3784
+ while (Math.abs(s) > yd && ++a < vd);
3785
3785
  return o;
3786
3786
  }
3787
3787
  function We(t, e, n, r) {
3788
3788
  if (t === e && n === r)
3789
3789
  return ct;
3790
- const i = (s) => ld(s, 0, 1, t, n);
3790
+ const i = (s) => bd(s, 0, 1, t, n);
3791
3791
  return (s) => s === 0 || s === 1 ? s : $o(i(s), e, r);
3792
3792
  }
3793
3793
  const Oo = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Fo = (t) => (e) => 1 - t(1 - e), Bo = /* @__PURE__ */ We(0.33, 1.53, 0.69, 0.99), Gr = /* @__PURE__ */ Fo(Bo), Io = /* @__PURE__ */ Oo(Gr), jo = (t) => (t *= 2) < 1 ? 0.5 * Gr(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), Hr = (t) => 1 - Math.sin(Math.acos(t)), No = Fo(Hr), Uo = Oo(Hr), zo = (t) => /^0[^.\s]+$/u.test(t);
3794
- function cd(t) {
3794
+ function xd(t) {
3795
3795
  return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || zo(t) : !0;
3796
3796
  }
3797
3797
  const Ve = (t) => Math.round(t * 1e5) / 1e5, Kr = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
3798
- function ud(t) {
3798
+ function wd(t) {
3799
3799
  return t == null;
3800
3800
  }
3801
- const dd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Yr = (t, e) => (n) => !!(typeof n == "string" && dd.test(n) && n.startsWith(t) || e && !ud(n) && Object.prototype.hasOwnProperty.call(n, e)), Wo = (t, e, n) => (r) => {
3801
+ const Sd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Yr = (t, e) => (n) => !!(typeof n == "string" && Sd.test(n) && n.startsWith(t) || e && !wd(n) && Object.prototype.hasOwnProperty.call(n, e)), Wo = (t, e, n) => (r) => {
3802
3802
  if (typeof r != "string")
3803
3803
  return r;
3804
3804
  const [i, s, o, a] = r.match(Kr);
@@ -3808,15 +3808,15 @@ const dd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
3808
3808
  [n]: parseFloat(o),
3809
3809
  alpha: a !== void 0 ? parseFloat(a) : 1
3810
3810
  };
3811
- }, fd = (t) => Lt(0, 255, t), Bn = {
3811
+ }, Td = (t) => Lt(0, 255, t), Bn = {
3812
3812
  ...ve,
3813
- transform: (t) => Math.round(fd(t))
3813
+ transform: (t) => Math.round(Td(t))
3814
3814
  }, Zt = {
3815
3815
  test: /* @__PURE__ */ Yr("rgb", "red"),
3816
3816
  parse: /* @__PURE__ */ Wo("red", "green", "blue"),
3817
3817
  transform: ({ red: t, green: e, blue: n, alpha: r = 1 }) => "rgba(" + Bn.transform(t) + ", " + Bn.transform(e) + ", " + Bn.transform(n) + ", " + Ve(Fe.transform(r)) + ")"
3818
3818
  };
3819
- function hd(t) {
3819
+ function Cd(t) {
3820
3820
  let e = "", n = "", r = "", i = "";
3821
3821
  return t.length > 5 ? (e = t.substring(1, 3), n = t.substring(3, 5), r = t.substring(5, 7), i = t.substring(7, 9)) : (e = t.substring(1, 2), n = t.substring(2, 3), r = t.substring(3, 4), i = t.substring(4, 5), e += e, n += n, r += r, i += i), {
3822
3822
  red: parseInt(e, 16),
@@ -3827,7 +3827,7 @@ function hd(t) {
3827
3827
  }
3828
3828
  const sr = {
3829
3829
  test: /* @__PURE__ */ Yr("#"),
3830
- parse: hd,
3830
+ parse: Cd,
3831
3831
  transform: Zt.transform
3832
3832
  }, re = {
3833
3833
  test: /* @__PURE__ */ Yr("hsl", "hue"),
@@ -3837,12 +3837,12 @@ const sr = {
3837
3837
  test: (t) => Zt.test(t) || sr.test(t) || re.test(t),
3838
3838
  parse: (t) => Zt.test(t) ? Zt.parse(t) : re.test(t) ? re.parse(t) : sr.parse(t),
3839
3839
  transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? Zt.transform(t) : re.transform(t)
3840
- }, pd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
3841
- function md(t) {
3840
+ }, Pd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
3841
+ function Ad(t) {
3842
3842
  var e, n;
3843
- return isNaN(t) && typeof t == "string" && (((e = t.match(Kr)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(pd)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
3843
+ return isNaN(t) && typeof t == "string" && (((e = t.match(Kr)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(Pd)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
3844
3844
  }
3845
- const qo = "number", Go = "color", gd = "var", yd = "var(", Li = "${}", vd = /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;
3845
+ const qo = "number", Go = "color", Vd = "var", Rd = "var(", Li = "${}", Ed = /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;
3846
3846
  function je(t) {
3847
3847
  const e = t.toString(), n = [], r = {
3848
3848
  color: [],
@@ -3850,7 +3850,7 @@ function je(t) {
3850
3850
  var: []
3851
3851
  }, i = [];
3852
3852
  let s = 0;
3853
- const a = e.replace(vd, (l) => (Z.test(l) ? (r.color.push(s), i.push(Go), n.push(Z.parse(l))) : l.startsWith(yd) ? (r.var.push(s), i.push(gd), n.push(l)) : (r.number.push(s), i.push(qo), n.push(parseFloat(l))), ++s, Li)).split(Li);
3853
+ const a = e.replace(Ed, (l) => (Z.test(l) ? (r.color.push(s), i.push(Go), n.push(Z.parse(l))) : l.startsWith(Rd) ? (r.var.push(s), i.push(Vd), n.push(l)) : (r.number.push(s), i.push(qo), n.push(parseFloat(l))), ++s, Li)).split(Li);
3854
3854
  return { values: n, split: a, indexes: r, types: i };
3855
3855
  }
3856
3856
  function Ho(t) {
@@ -3868,18 +3868,18 @@ function Ko(t) {
3868
3868
  return s;
3869
3869
  };
3870
3870
  }
3871
- const bd = (t) => typeof t == "number" ? 0 : t;
3872
- function xd(t) {
3871
+ const Md = (t) => typeof t == "number" ? 0 : t;
3872
+ function kd(t) {
3873
3873
  const e = Ho(t);
3874
- return Ko(t)(e.map(bd));
3874
+ return Ko(t)(e.map(Md));
3875
3875
  }
3876
3876
  const zt = {
3877
- test: md,
3877
+ test: Ad,
3878
3878
  parse: Ho,
3879
3879
  createTransformer: Ko,
3880
- getAnimatableNone: xd
3881
- }, wd = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
3882
- function Sd(t) {
3880
+ getAnimatableNone: kd
3881
+ }, Dd = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
3882
+ function _d(t) {
3883
3883
  const [e, n] = t.slice(0, -1).split("(");
3884
3884
  if (e === "drop-shadow")
3885
3885
  return t;
@@ -3887,16 +3887,16 @@ function Sd(t) {
3887
3887
  if (!r)
3888
3888
  return t;
3889
3889
  const i = n.replace(r, "");
3890
- let s = wd.has(e) ? 1 : 0;
3890
+ let s = Dd.has(e) ? 1 : 0;
3891
3891
  return r !== n && (s *= 100), e + "(" + s + i + ")";
3892
3892
  }
3893
- const Td = /\b([a-z-]*)\(.*?\)/gu, or = {
3893
+ const Ld = /\b([a-z-]*)\(.*?\)/gu, or = {
3894
3894
  ...zt,
3895
3895
  getAnimatableNone: (t) => {
3896
- const e = t.match(Td);
3897
- return e ? e.map(Sd).join(" ") : t;
3896
+ const e = t.match(Ld);
3897
+ return e ? e.map(_d).join(" ") : t;
3898
3898
  }
3899
- }, Cd = {
3899
+ }, $d = {
3900
3900
  ...Mr,
3901
3901
  // Color props
3902
3902
  color: Z,
@@ -3912,17 +3912,17 @@ const Td = /\b([a-z-]*)\(.*?\)/gu, or = {
3912
3912
  borderLeftColor: Z,
3913
3913
  filter: or,
3914
3914
  WebkitFilter: or
3915
- }, Xr = (t) => Cd[t];
3915
+ }, Xr = (t) => $d[t];
3916
3916
  function Yo(t, e) {
3917
3917
  let n = Xr(t);
3918
3918
  return n !== or && (n = zt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
3919
3919
  }
3920
- const Pd = /* @__PURE__ */ new Set(["auto", "none", "0"]);
3921
- function Ad(t, e, n) {
3920
+ const Od = /* @__PURE__ */ new Set(["auto", "none", "0"]);
3921
+ function Fd(t, e, n) {
3922
3922
  let r = 0, i;
3923
3923
  for (; r < t.length && !i; ) {
3924
3924
  const s = t[r];
3925
- typeof s == "string" && !Pd.has(s) && je(s).values.length && (i = t[r]), r++;
3925
+ typeof s == "string" && !Od.has(s) && je(s).values.length && (i = t[r]), r++;
3926
3926
  }
3927
3927
  if (i && n)
3928
3928
  for (const s of e)
@@ -3938,10 +3938,10 @@ const $i = (t) => t === ve || t === M, Oi = (t, e) => parseFloat(t.split(", ")[e
3938
3938
  const s = r.match(/^matrix\((.+)\)$/u);
3939
3939
  return s ? Oi(s[1], t) : 0;
3940
3940
  }
3941
- }, Vd = /* @__PURE__ */ new Set(["x", "y", "z"]), Rd = ye.filter((t) => !Vd.has(t));
3942
- function Ed(t) {
3941
+ }, Bd = /* @__PURE__ */ new Set(["x", "y", "z"]), Id = ye.filter((t) => !Bd.has(t));
3942
+ function jd(t) {
3943
3943
  const e = [];
3944
- return Rd.forEach((n) => {
3944
+ return Id.forEach((n) => {
3945
3945
  const r = t.getValue(n);
3946
3946
  r !== void 0 && (e.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0));
3947
3947
  }), e;
@@ -3966,7 +3966,7 @@ function Xo() {
3966
3966
  if (lr) {
3967
3967
  const t = Array.from(Jt).filter((r) => r.needsMeasurement), e = new Set(t.map((r) => r.element)), n = /* @__PURE__ */ new Map();
3968
3968
  e.forEach((r) => {
3969
- const i = Ed(r);
3969
+ const i = jd(r);
3970
3970
  i.length && (n.set(r, i), r.render());
3971
3971
  }), t.forEach((r) => r.measureInitialState()), e.forEach((r) => {
3972
3972
  r.render();
@@ -3986,7 +3986,7 @@ function Zo() {
3986
3986
  t.readKeyframes(), t.needsMeasurement && (lr = !0);
3987
3987
  });
3988
3988
  }
3989
- function Md() {
3989
+ function Nd() {
3990
3990
  Zo(), Xo();
3991
3991
  }
3992
3992
  class Zr {
@@ -4030,21 +4030,21 @@ class Zr {
4030
4030
  this.isComplete || this.scheduleResolve();
4031
4031
  }
4032
4032
  }
4033
- const Jo = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t), kd = (
4033
+ const Jo = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t), Ud = (
4034
4034
  // eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
4035
4035
  /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
4036
4036
  );
4037
- function Dd(t) {
4038
- const e = kd.exec(t);
4037
+ function zd(t) {
4038
+ const e = Ud.exec(t);
4039
4039
  if (!e)
4040
4040
  return [,];
4041
4041
  const [, n, r, i] = e;
4042
4042
  return [`--${n ?? r}`, i];
4043
4043
  }
4044
- const _d = 4;
4044
+ const Wd = 4;
4045
4045
  function Qo(t, e, n = 1) {
4046
- Mt(n <= _d, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
4047
- const [r, i] = Dd(t);
4046
+ Mt(n <= Wd, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
4047
+ const [r, i] = zd(t);
4048
4048
  if (!r)
4049
4049
  return;
4050
4050
  const s = window.getComputedStyle(e).getPropertyValue(r);
@@ -4054,10 +4054,10 @@ function Qo(t, e, n = 1) {
4054
4054
  }
4055
4055
  return Er(i) ? Qo(i, e, n + 1) : i;
4056
4056
  }
4057
- const ta = (t) => (e) => e.test(t), Ld = {
4057
+ const ta = (t) => (e) => e.test(t), qd = {
4058
4058
  test: (t) => t === "auto",
4059
4059
  parse: (t) => t
4060
- }, ea = [ve, M, Rt, Nt, xu, bu, Ld], Bi = (t) => ea.find(ta(t));
4060
+ }, ea = [ve, M, Rt, Nt, ku, Mu, qd], Bi = (t) => ea.find(ta(t));
4061
4061
  class na extends Zr {
4062
4062
  constructor(e, n, r, i, s) {
4063
4063
  super(e, n, r, i, s, !0);
@@ -4089,8 +4089,8 @@ class na extends Zr {
4089
4089
  resolveNoneKeyframes() {
4090
4090
  const { unresolvedKeyframes: e, name: n } = this, r = [];
4091
4091
  for (let i = 0; i < e.length; i++)
4092
- cd(e[i]) && r.push(i);
4093
- r.length && Ad(e, r, n);
4092
+ xd(e[i]) && r.push(i);
4093
+ r.length && Fd(e, r, n);
4094
4094
  }
4095
4095
  measureInitialState() {
4096
4096
  const { element: e, unresolvedKeyframes: n, name: r } = this;
@@ -4116,7 +4116,7 @@ class na extends Zr {
4116
4116
  const Ii = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
4117
4117
  (zt.test(t) || t === "0") && // And it contains numbers and/or colors
4118
4118
  !t.startsWith("url("));
4119
- function $d(t) {
4119
+ function Gd(t) {
4120
4120
  const e = t[0];
4121
4121
  if (t.length === 1)
4122
4122
  return !0;
@@ -4124,21 +4124,21 @@ function $d(t) {
4124
4124
  if (t[n] !== e)
4125
4125
  return !0;
4126
4126
  }
4127
- function Od(t, e, n, r) {
4127
+ function Hd(t, e, n, r) {
4128
4128
  const i = t[0];
4129
4129
  if (i === null)
4130
4130
  return !1;
4131
4131
  if (e === "display" || e === "visibility")
4132
4132
  return !0;
4133
4133
  const s = t[t.length - 1], o = Ii(i, e), a = Ii(s, e);
4134
- return ge(o === a, `You are trying to animate ${e} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`), !o || !a ? !1 : $d(t) || (n === "spring" || Ir(n)) && r;
4134
+ return ge(o === a, `You are trying to animate ${e} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`), !o || !a ? !1 : Gd(t) || (n === "spring" || Ir(n)) && r;
4135
4135
  }
4136
- const Fd = (t) => t !== null;
4136
+ const Kd = (t) => t !== null;
4137
4137
  function En(t, { repeat: e, repeatType: n = "loop" }, r) {
4138
- const i = t.filter(Fd), s = e && n !== "loop" && e % 2 === 1 ? 0 : i.length - 1;
4138
+ const i = t.filter(Kd), s = e && n !== "loop" && e % 2 === 1 ? 0 : i.length - 1;
4139
4139
  return !s || r === void 0 ? i[s] : r;
4140
4140
  }
4141
- const Bd = 40;
4141
+ const Yd = 40;
4142
4142
  class ra {
4143
4143
  constructor({ autoplay: e = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: s = 0, repeatType: o = "loop", ...a }) {
4144
4144
  this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = Et.now(), this.options = {
@@ -4162,7 +4162,7 @@ class ra {
4162
4162
  * to avoid a sudden jump into the animation.
4163
4163
  */
4164
4164
  calcStartTime() {
4165
- return this.resolvedAt ? this.resolvedAt - this.createdAt > Bd ? this.resolvedAt : this.createdAt : this.createdAt;
4165
+ return this.resolvedAt ? this.resolvedAt - this.createdAt > Yd ? this.resolvedAt : this.createdAt : this.createdAt;
4166
4166
  }
4167
4167
  /**
4168
4168
  * A getter for resolved data. If keyframes are not yet resolved, accessing
@@ -4170,7 +4170,7 @@ class ra {
4170
4170
  * This is a deoptimisation, but at its worst still batches read/writes.
4171
4171
  */
4172
4172
  get resolved() {
4173
- return !this._resolved && !this.hasAttemptedResolve && Md(), this._resolved;
4173
+ return !this._resolved && !this.hasAttemptedResolve && Nd(), this._resolved;
4174
4174
  }
4175
4175
  /**
4176
4176
  * A method to be called when the keyframes resolver completes. This method
@@ -4180,7 +4180,7 @@ class ra {
4180
4180
  onKeyframesResolved(e, n) {
4181
4181
  this.resolvedAt = Et.now(), this.hasAttemptedResolve = !0;
4182
4182
  const { name: r, type: i, velocity: s, delay: o, onComplete: a, onUpdate: l, isGenerator: c } = this.options;
4183
- if (!c && !Od(e, r, i, s))
4183
+ if (!c && !Hd(e, r, i, s))
4184
4184
  if (o)
4185
4185
  this.options.duration = 0;
4186
4186
  else {
@@ -4217,7 +4217,7 @@ const U = (t, e, n) => t + (e - t) * n;
4217
4217
  function In(t, e, n) {
4218
4218
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (e - t) * 6 * n : n < 1 / 2 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t;
4219
4219
  }
4220
- function Id({ hue: t, saturation: e, lightness: n, alpha: r }) {
4220
+ function Xd({ hue: t, saturation: e, lightness: n, alpha: r }) {
4221
4221
  t /= 360, e /= 100, n /= 100;
4222
4222
  let i = 0, s = 0, o = 0;
4223
4223
  if (!e)
@@ -4239,13 +4239,13 @@ function yn(t, e) {
4239
4239
  const jn = (t, e, n) => {
4240
4240
  const r = t * t, i = n * (e * e - r) + r;
4241
4241
  return i < 0 ? 0 : Math.sqrt(i);
4242
- }, jd = [sr, Zt, re], Nd = (t) => jd.find((e) => e.test(t));
4242
+ }, Zd = [sr, Zt, re], Jd = (t) => Zd.find((e) => e.test(t));
4243
4243
  function ji(t) {
4244
- const e = Nd(t);
4244
+ const e = Jd(t);
4245
4245
  if (ge(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`), !e)
4246
4246
  return !1;
4247
4247
  let n = e.parse(t);
4248
- return e === re && (n = Id(n)), n;
4248
+ return e === re && (n = Xd(n)), n;
4249
4249
  }
4250
4250
  const Ni = (t, e) => {
4251
4251
  const n = ji(t), r = ji(e);
@@ -4253,15 +4253,15 @@ const Ni = (t, e) => {
4253
4253
  return yn(t, e);
4254
4254
  const i = { ...n };
4255
4255
  return (s) => (i.red = jn(n.red, r.red, s), i.green = jn(n.green, r.green, s), i.blue = jn(n.blue, r.blue, s), i.alpha = U(n.alpha, r.alpha, s), Zt.transform(i));
4256
- }, Ud = (t, e) => (n) => e(t(n)), qe = (...t) => t.reduce(Ud), cr = /* @__PURE__ */ new Set(["none", "hidden"]);
4257
- function zd(t, e) {
4256
+ }, Qd = (t, e) => (n) => e(t(n)), qe = (...t) => t.reduce(Qd), cr = /* @__PURE__ */ new Set(["none", "hidden"]);
4257
+ function tf(t, e) {
4258
4258
  return cr.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
4259
4259
  }
4260
- function Wd(t, e) {
4260
+ function ef(t, e) {
4261
4261
  return (n) => U(t, e, n);
4262
4262
  }
4263
4263
  function Jr(t) {
4264
- return typeof t == "number" ? Wd : typeof t == "string" ? Er(t) ? yn : Z.test(t) ? Ni : Hd : Array.isArray(t) ? ia : typeof t == "object" ? Z.test(t) ? Ni : qd : yn;
4264
+ return typeof t == "number" ? ef : typeof t == "string" ? Er(t) ? yn : Z.test(t) ? Ni : sf : Array.isArray(t) ? ia : typeof t == "object" ? Z.test(t) ? Ni : nf : yn;
4265
4265
  }
4266
4266
  function ia(t, e) {
4267
4267
  const n = [...t], r = n.length, i = t.map((s, o) => Jr(s)(s, e[o]));
@@ -4271,7 +4271,7 @@ function ia(t, e) {
4271
4271
  return n;
4272
4272
  };
4273
4273
  }
4274
- function qd(t, e) {
4274
+ function nf(t, e) {
4275
4275
  const n = { ...t, ...e }, r = {};
4276
4276
  for (const i in n)
4277
4277
  t[i] !== void 0 && e[i] !== void 0 && (r[i] = Jr(t[i])(t[i], e[i]));
@@ -4281,7 +4281,7 @@ function qd(t, e) {
4281
4281
  return n;
4282
4282
  };
4283
4283
  }
4284
- function Gd(t, e) {
4284
+ function rf(t, e) {
4285
4285
  var n;
4286
4286
  const r = [], i = { color: 0, var: 0, number: 0 };
4287
4287
  for (let s = 0; s < e.values.length; s++) {
@@ -4290,16 +4290,16 @@ function Gd(t, e) {
4290
4290
  }
4291
4291
  return r;
4292
4292
  }
4293
- const Hd = (t, e) => {
4293
+ const sf = (t, e) => {
4294
4294
  const n = zt.createTransformer(e), r = je(t), i = je(e);
4295
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? cr.has(t) && !i.values.length || cr.has(e) && !r.values.length ? zd(t, e) : qe(ia(Gd(r, i), i.values), n) : (ge(!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.`), yn(t, e));
4295
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? cr.has(t) && !i.values.length || cr.has(e) && !r.values.length ? tf(t, e) : qe(ia(rf(r, i), i.values), n) : (ge(!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.`), yn(t, e));
4296
4296
  };
4297
4297
  function sa(t, e, n) {
4298
4298
  return typeof t == "number" && typeof e == "number" && typeof n == "number" ? U(t, e, n) : Jr(t)(t, e);
4299
4299
  }
4300
- const Kd = 5;
4300
+ const of = 5;
4301
4301
  function oa(t, e, n) {
4302
- const r = Math.max(e - Kd, 0);
4302
+ const r = Math.max(e - of, 0);
4303
4303
  return _o(n - t(r), e - r);
4304
4304
  }
4305
4305
  const N = {
@@ -4331,7 +4331,7 @@ const N = {
4331
4331
  minDamping: 0.05,
4332
4332
  maxDamping: 1
4333
4333
  }, Ui = 1e-3;
4334
- function Yd({ duration: t = N.duration, bounce: e = N.bounce, velocity: n = N.velocity, mass: r = N.mass }) {
4334
+ function af({ duration: t = N.duration, bounce: e = N.bounce, velocity: n = N.velocity, mass: r = N.mass }) {
4335
4335
  let i, s;
4336
4336
  ge(t <= /* @__PURE__ */ Vt(N.maxDuration), "Spring duration must be 10 seconds or less");
4337
4337
  let o = 1 - e;
@@ -4348,7 +4348,7 @@ function Yd({ duration: t = N.duration, bounce: e = N.bounce, velocity: n = N.ve
4348
4348
  const u = Math.exp(-c * t), d = (n - c) * (t * t);
4349
4349
  return u * d;
4350
4350
  });
4351
- const a = 5 / t, l = Zd(i, s, a);
4351
+ const a = 5 / t, l = cf(i, s, a);
4352
4352
  if (t = /* @__PURE__ */ Vt(t), isNaN(l))
4353
4353
  return {
4354
4354
  stiffness: N.stiffness,
@@ -4364,21 +4364,21 @@ function Yd({ duration: t = N.duration, bounce: e = N.bounce, velocity: n = N.ve
4364
4364
  };
4365
4365
  }
4366
4366
  }
4367
- const Xd = 12;
4368
- function Zd(t, e, n) {
4367
+ const lf = 12;
4368
+ function cf(t, e, n) {
4369
4369
  let r = n;
4370
- for (let i = 1; i < Xd; i++)
4370
+ for (let i = 1; i < lf; i++)
4371
4371
  r = r - t(r) / e(r);
4372
4372
  return r;
4373
4373
  }
4374
4374
  function ur(t, e) {
4375
4375
  return t * Math.sqrt(1 - e * e);
4376
4376
  }
4377
- const Jd = ["duration", "bounce"], Qd = ["stiffness", "damping", "mass"];
4377
+ const uf = ["duration", "bounce"], df = ["stiffness", "damping", "mass"];
4378
4378
  function zi(t, e) {
4379
4379
  return e.some((n) => t[n] !== void 0);
4380
4380
  }
4381
- function tf(t) {
4381
+ function ff(t) {
4382
4382
  let e = {
4383
4383
  velocity: N.velocity,
4384
4384
  stiffness: N.stiffness,
@@ -4387,7 +4387,7 @@ function tf(t) {
4387
4387
  isResolvedFromDuration: !1,
4388
4388
  ...t
4389
4389
  };
4390
- if (!zi(t, Qd) && zi(t, Jd))
4390
+ if (!zi(t, df) && zi(t, uf))
4391
4391
  if (t.visualDuration) {
4392
4392
  const n = t.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, s = 2 * Lt(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(i);
4393
4393
  e = {
@@ -4397,7 +4397,7 @@ function tf(t) {
4397
4397
  damping: s
4398
4398
  };
4399
4399
  } else {
4400
- const n = Yd(t);
4400
+ const n = af(t);
4401
4401
  e = {
4402
4402
  ...e,
4403
4403
  ...n,
@@ -4413,7 +4413,7 @@ function aa(t = N.visualDuration, e = N.bounce) {
4413
4413
  bounce: e
4414
4414
  } : t;
4415
4415
  let { restSpeed: r, restDelta: i } = n;
4416
- const s = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: s }, { stiffness: l, damping: c, mass: u, duration: d, velocity: f, isResolvedFromDuration: h } = tf({
4416
+ const s = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: s }, { stiffness: l, damping: c, mass: u, duration: d, velocity: f, isResolvedFromDuration: h } = ff({
4417
4417
  ...n,
4418
4418
  velocity: -/* @__PURE__ */ Dt(n.velocity || 0)
4419
4419
  }), p = f || 0, g = c / (2 * Math.sqrt(l * u)), x = o - s, v = /* @__PURE__ */ Dt(Math.sqrt(l / u)), w = Math.abs(x) < 5;
@@ -4487,11 +4487,11 @@ function Wi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 3
4487
4487
  }
4488
4488
  };
4489
4489
  }
4490
- const ef = /* @__PURE__ */ We(0.42, 0, 1, 1), nf = /* @__PURE__ */ We(0, 0, 0.58, 1), la = /* @__PURE__ */ We(0.42, 0, 0.58, 1), rf = (t) => Array.isArray(t) && typeof t[0] != "number", qi = {
4490
+ const hf = /* @__PURE__ */ We(0.42, 0, 1, 1), pf = /* @__PURE__ */ We(0, 0, 0.58, 1), la = /* @__PURE__ */ We(0.42, 0, 0.58, 1), mf = (t) => Array.isArray(t) && typeof t[0] != "number", qi = {
4491
4491
  linear: ct,
4492
- easeIn: ef,
4492
+ easeIn: hf,
4493
4493
  easeInOut: la,
4494
- easeOut: nf,
4494
+ easeOut: pf,
4495
4495
  circIn: Hr,
4496
4496
  circInOut: Uo,
4497
4497
  circOut: No,
@@ -4508,7 +4508,7 @@ const ef = /* @__PURE__ */ We(0.42, 0, 1, 1), nf = /* @__PURE__ */ We(0, 0, 0.58
4508
4508
  return Mt(qi[t] !== void 0, `Invalid easing type '${t}'`), qi[t];
4509
4509
  return t;
4510
4510
  };
4511
- function sf(t, e, n) {
4511
+ function gf(t, e, n) {
4512
4512
  const r = [], i = n || sa, s = t.length - 1;
4513
4513
  for (let o = 0; o < s; o++) {
4514
4514
  let a = i(t[o], t[o + 1]);
@@ -4520,7 +4520,7 @@ function sf(t, e, n) {
4520
4520
  }
4521
4521
  return r;
4522
4522
  }
4523
- function of(t, e, { clamp: n = !0, ease: r, mixer: i } = {}) {
4523
+ function yf(t, e, { clamp: n = !0, ease: r, mixer: i } = {}) {
4524
4524
  const s = t.length;
4525
4525
  if (Mt(s === e.length, "Both input and output ranges must be the same length"), s === 1)
4526
4526
  return () => e[0];
@@ -4528,7 +4528,7 @@ function of(t, e, { clamp: n = !0, ease: r, mixer: i } = {}) {
4528
4528
  return () => e[1];
4529
4529
  const o = t[0] === t[1];
4530
4530
  t[0] > t[s - 1] && (t = [...t].reverse(), e = [...e].reverse());
4531
- const a = sf(e, r, i), l = a.length, c = (u) => {
4531
+ const a = gf(e, r, i), l = a.length, c = (u) => {
4532
4532
  if (o && u < t[0])
4533
4533
  return e[0];
4534
4534
  let d = 0;
@@ -4540,41 +4540,41 @@ function of(t, e, { clamp: n = !0, ease: r, mixer: i } = {}) {
4540
4540
  };
4541
4541
  return n ? (u) => c(Lt(t[0], t[s - 1], u)) : c;
4542
4542
  }
4543
- function af(t, e) {
4543
+ function vf(t, e) {
4544
4544
  const n = t[t.length - 1];
4545
4545
  for (let r = 1; r <= e; r++) {
4546
4546
  const i = /* @__PURE__ */ de(0, e, r);
4547
4547
  t.push(U(n, 1, i));
4548
4548
  }
4549
4549
  }
4550
- function lf(t) {
4550
+ function bf(t) {
4551
4551
  const e = [0];
4552
- return af(e, t.length - 1), e;
4552
+ return vf(e, t.length - 1), e;
4553
4553
  }
4554
- function cf(t, e) {
4554
+ function xf(t, e) {
4555
4555
  return t.map((n) => n * e);
4556
4556
  }
4557
- function uf(t, e) {
4557
+ function wf(t, e) {
4558
4558
  return t.map(() => e || la).splice(0, t.length - 1);
4559
4559
  }
4560
4560
  function Re({ duration: t = 300, keyframes: e, times: n, ease: r = "easeInOut" }) {
4561
- const i = rf(r) ? r.map(Gi) : Gi(r), s = {
4561
+ const i = mf(r) ? r.map(Gi) : Gi(r), s = {
4562
4562
  done: !1,
4563
4563
  value: e[0]
4564
- }, o = cf(
4564
+ }, o = xf(
4565
4565
  // Only use the provided offsets if they're the correct length
4566
4566
  // TODO Maybe we should warn here if there's a length mismatch
4567
- n && n.length === e.length ? n : lf(e),
4567
+ n && n.length === e.length ? n : bf(e),
4568
4568
  t
4569
- ), a = of(o, e, {
4570
- ease: Array.isArray(i) ? i : uf(e, i)
4569
+ ), a = yf(o, e, {
4570
+ ease: Array.isArray(i) ? i : wf(e, i)
4571
4571
  });
4572
4572
  return {
4573
4573
  calculatedDuration: t,
4574
4574
  next: (l) => (s.value = a(l), s.done = l >= t, s)
4575
4575
  };
4576
4576
  }
4577
- const df = (t) => {
4577
+ const Sf = (t) => {
4578
4578
  const e = ({ timestamp: n }) => t(n);
4579
4579
  return {
4580
4580
  start: () => j.update(e, !0),
@@ -4585,13 +4585,13 @@ const df = (t) => {
4585
4585
  */
4586
4586
  now: () => H.isProcessing ? H.timestamp : Et.now()
4587
4587
  };
4588
- }, ff = {
4588
+ }, Tf = {
4589
4589
  decay: Wi,
4590
4590
  inertia: Wi,
4591
4591
  tween: Re,
4592
4592
  keyframes: Re,
4593
4593
  spring: aa
4594
- }, hf = (t) => t / 100;
4594
+ }, Cf = (t) => t / 100;
4595
4595
  class Qr extends ra {
4596
4596
  constructor(e) {
4597
4597
  super(e), this.holdTime = null, this.cancelTime = null, this.currentTime = 0, this.playbackSpeed = 1, this.pendingPlayState = "running", this.startTime = null, this.state = "idle", this.stop = () => {
@@ -4608,9 +4608,9 @@ class Qr extends ra {
4608
4608
  super.flatten(), this._resolved && Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
4609
4609
  }
4610
4610
  initPlayback(e) {
4611
- const { type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: s, velocity: o = 0 } = this.options, a = Ir(n) ? n : ff[n] || Re;
4611
+ const { type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: s, velocity: o = 0 } = this.options, a = Ir(n) ? n : Tf[n] || Re;
4612
4612
  let l, c;
4613
- process.env.NODE_ENV !== "production" && a !== Re && Mt(e.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), a !== Re && typeof e[0] != "number" && (l = qe(hf, sa(e[0], e[1])), e = [0, 100]);
4613
+ process.env.NODE_ENV !== "production" && a !== Re && Mt(e.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), a !== Re && typeof e[0] != "number" && (l = qe(Cf, sa(e[0], e[1])), e = [0, 100]);
4614
4614
  const u = a({ ...this.options, keyframes: e });
4615
4615
  s === "mirror" && (c = a({
4616
4616
  ...this.options,
@@ -4681,7 +4681,7 @@ class Qr extends ra {
4681
4681
  }
4682
4682
  if (this.isStopped)
4683
4683
  return;
4684
- const { driver: e = df, onPlay: n, startTime: r } = this.options;
4684
+ const { driver: e = Sf, onPlay: n, startTime: r } = this.options;
4685
4685
  this.driver || (this.driver = e((s) => this.tick(s))), n && n();
4686
4686
  const i = this.driver.now();
4687
4687
  this.holdTime !== null ? this.startTime = i - this.holdTime : this.startTime ? this.state === "finished" && (this.startTime = i) : this.startTime = r ?? this.calcStartTime(), this.state === "finished" && this.updateFinishedPromise(), this.cancelTime = this.startTime, this.holdTime = null, this.state = "running", this.driver.start();
@@ -4715,7 +4715,7 @@ class Qr extends ra {
4715
4715
  return this.startTime = 0, this.tick(e, !0);
4716
4716
  }
4717
4717
  }
4718
- const pf = /* @__PURE__ */ new Set([
4718
+ const Pf = /* @__PURE__ */ new Set([
4719
4719
  "opacity",
4720
4720
  "clipPath",
4721
4721
  "filter",
@@ -4724,7 +4724,7 @@ const pf = /* @__PURE__ */ new Set([
4724
4724
  // or until we implement support for linear() easing.
4725
4725
  // "background-color"
4726
4726
  ]);
4727
- function mf(t, e, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatType: o = "loop", ease: a = "easeInOut", times: l } = {}) {
4727
+ function Af(t, e, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatType: o = "loop", ease: a = "easeInOut", times: l } = {}) {
4728
4728
  const c = { [e]: n };
4729
4729
  l && (c.offset = l);
4730
4730
  const u = Vo(a, i);
@@ -4737,11 +4737,11 @@ function mf(t, e, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatTyp
4737
4737
  direction: o === "reverse" ? "alternate" : "normal"
4738
4738
  });
4739
4739
  }
4740
- const gf = /* @__PURE__ */ Tr(() => Object.hasOwnProperty.call(Element.prototype, "animate")), vn = 10, yf = 2e4;
4741
- function vf(t) {
4740
+ const Vf = /* @__PURE__ */ Tr(() => Object.hasOwnProperty.call(Element.prototype, "animate")), vn = 10, Rf = 2e4;
4741
+ function Ef(t) {
4742
4742
  return Ir(t.type) || t.type === "spring" || !Ao(t.ease);
4743
4743
  }
4744
- function bf(t, e) {
4744
+ function Mf(t, e) {
4745
4745
  const n = new Qr({
4746
4746
  ...e,
4747
4747
  keyframes: t,
@@ -4752,7 +4752,7 @@ function bf(t, e) {
4752
4752
  let r = { done: !1, value: t[0] };
4753
4753
  const i = [];
4754
4754
  let s = 0;
4755
- for (; !r.done && s < yf; )
4755
+ for (; !r.done && s < Rf; )
4756
4756
  r = n.sample(s), i.push(r.value), s += vn;
4757
4757
  return {
4758
4758
  times: void 0,
@@ -4766,7 +4766,7 @@ const ca = {
4766
4766
  backInOut: Io,
4767
4767
  circInOut: Uo
4768
4768
  };
4769
- function xf(t) {
4769
+ function kf(t) {
4770
4770
  return t in ca;
4771
4771
  }
4772
4772
  class Hi extends ra {
@@ -4779,11 +4779,11 @@ class Hi extends ra {
4779
4779
  let { duration: r = 300, times: i, ease: s, type: o, motionValue: a, name: l, startTime: c } = this.options;
4780
4780
  if (!a.owner || !a.owner.current)
4781
4781
  return !1;
4782
- if (typeof s == "string" && mn() && xf(s) && (s = ca[s]), vf(this.options)) {
4783
- const { onComplete: d, onUpdate: f, motionValue: h, element: p, ...g } = this.options, x = bf(e, g);
4782
+ if (typeof s == "string" && mn() && kf(s) && (s = ca[s]), Ef(this.options)) {
4783
+ const { onComplete: d, onUpdate: f, motionValue: h, element: p, ...g } = this.options, x = Mf(e, g);
4784
4784
  e = x.keyframes, e.length === 1 && (e[1] = e[0]), r = x.duration, i = x.times, s = x.ease, o = "keyframes";
4785
4785
  }
4786
- const u = mf(a.owner.current, l, e, { ...this.options, duration: r, times: i, ease: s });
4786
+ const u = Af(a.owner.current, l, e, { ...this.options, duration: r, times: i, ease: s });
4787
4787
  return u.startTime = c ?? this.calcStartTime(), this.pendingTimeline ? (Ei(u, this.pendingTimeline), this.pendingTimeline = void 0) : u.onfinish = () => {
4788
4788
  const { onComplete: d } = this.options;
4789
4789
  a.set(En(e, this.options, n)), d && d(), this.cancel(), this.resolveFinishedPromise();
@@ -4915,32 +4915,32 @@ class Hi extends ra {
4915
4915
  if (!n || !n.owner || !(n.owner.current instanceof HTMLElement))
4916
4916
  return !1;
4917
4917
  const { onUpdate: l, transformTemplate: c } = n.owner.getProps();
4918
- return gf() && r && pf.has(r) && /**
4918
+ return Vf() && r && Pf.has(r) && /**
4919
4919
  * If we're outputting values to onUpdate then we can't use WAAPI as there's
4920
4920
  * no way to read the value from WAAPI every frame.
4921
4921
  */
4922
4922
  !l && !c && !i && s !== "mirror" && o !== 0 && a !== "inertia";
4923
4923
  }
4924
4924
  }
4925
- const wf = {
4925
+ const Df = {
4926
4926
  type: "spring",
4927
4927
  stiffness: 500,
4928
4928
  damping: 25,
4929
4929
  restSpeed: 10
4930
- }, Sf = (t) => ({
4930
+ }, _f = (t) => ({
4931
4931
  type: "spring",
4932
4932
  stiffness: 550,
4933
4933
  damping: t === 0 ? 2 * Math.sqrt(550) : 30,
4934
4934
  restSpeed: 10
4935
- }), Tf = {
4935
+ }), Lf = {
4936
4936
  type: "keyframes",
4937
4937
  duration: 0.8
4938
- }, Cf = {
4938
+ }, $f = {
4939
4939
  type: "keyframes",
4940
4940
  ease: [0.25, 0.1, 0.35, 1],
4941
4941
  duration: 0.3
4942
- }, Pf = (t, { keyframes: e }) => e.length > 2 ? Tf : Qt.has(t) ? t.startsWith("scale") ? Sf(e[1]) : wf : Cf;
4943
- function Af({ when: t, delay: e, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: s, repeatType: o, repeatDelay: a, from: l, elapsed: c, ...u }) {
4942
+ }, Of = (t, { keyframes: e }) => e.length > 2 ? Lf : Qt.has(t) ? t.startsWith("scale") ? _f(e[1]) : Df : $f;
4943
+ function Ff({ when: t, delay: e, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: s, repeatType: o, repeatDelay: a, from: l, elapsed: c, ...u }) {
4944
4944
  return !!Object.keys(u).length;
4945
4945
  }
4946
4946
  const ti = (t, e, n, r = {}, i, s) => (o) => {
@@ -4963,9 +4963,9 @@ const ti = (t, e, n, r = {}, i, s) => (o) => {
4963
4963
  motionValue: e,
4964
4964
  element: s ? void 0 : i
4965
4965
  };
4966
- Af(a) || (u = {
4966
+ Ff(a) || (u = {
4967
4967
  ...u,
4968
- ...Pf(t, u)
4968
+ ...Of(t, u)
4969
4969
  }), u.duration && (u.duration = /* @__PURE__ */ Vt(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ Vt(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
4970
4970
  let d = !1;
4971
4971
  if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (u.duration = 0, u.delay === 0 && (d = !0)), d && !s && e.get() !== void 0) {
@@ -4973,11 +4973,11 @@ const ti = (t, e, n, r = {}, i, s) => (o) => {
4973
4973
  if (f !== void 0)
4974
4974
  return j.update(() => {
4975
4975
  u.onUpdate(f), u.onComplete();
4976
- }), new qu([]);
4976
+ }), new nd([]);
4977
4977
  }
4978
4978
  return !s && Hi.supports(u) ? new Hi(u) : new Qr(u);
4979
4979
  };
4980
- function Vf({ protectedKeys: t, needsAnimating: e }, n) {
4980
+ function Bf({ protectedKeys: t, needsAnimating: e }, n) {
4981
4981
  const r = t.hasOwnProperty(n) && e[n] !== !0;
4982
4982
  return e[n] = !1, r;
4983
4983
  }
@@ -4988,7 +4988,7 @@ function ua(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
4988
4988
  const c = [], u = i && t.animationState && t.animationState.getState()[i];
4989
4989
  for (const d in l) {
4990
4990
  const f = t.getValue(d, (s = t.latestValues[d]) !== null && s !== void 0 ? s : null), h = l[d];
4991
- if (h === void 0 || u && Vf(u, d))
4991
+ if (h === void 0 || u && Bf(u, d))
4992
4992
  continue;
4993
4993
  const p = {
4994
4994
  delay: n,
@@ -5019,7 +5019,7 @@ function dr(t, e, n = {}) {
5019
5019
  n.transitionOverride && (s = n.transitionOverride);
5020
5020
  const o = i ? () => Promise.all(ua(t, i, n)) : () => Promise.resolve(), a = t.variantChildren && t.variantChildren.size ? (c = 0) => {
5021
5021
  const { delayChildren: u = 0, staggerChildren: d, staggerDirection: f } = s;
5022
- return Rf(t, e, u + c, d, f, n);
5022
+ return If(t, e, u + c, d, f, n);
5023
5023
  } : () => Promise.resolve(), { when: l } = s;
5024
5024
  if (l) {
5025
5025
  const [c, u] = l === "beforeChildren" ? [o, a] : [a, o];
@@ -5027,16 +5027,16 @@ function dr(t, e, n = {}) {
5027
5027
  } else
5028
5028
  return Promise.all([o(), a(n.delay)]);
5029
5029
  }
5030
- function Rf(t, e, n = 0, r = 0, i = 1, s) {
5030
+ function If(t, e, n = 0, r = 0, i = 1, s) {
5031
5031
  const o = [], a = (t.variantChildren.size - 1) * r, l = i === 1 ? (c = 0) => c * r : (c = 0) => a - c * r;
5032
- return Array.from(t.variantChildren).sort(Ef).forEach((c, u) => {
5032
+ return Array.from(t.variantChildren).sort(jf).forEach((c, u) => {
5033
5033
  c.notify("AnimationStart", e), o.push(dr(c, e, {
5034
5034
  ...s,
5035
5035
  delay: n + l(u)
5036
5036
  }).then(() => c.notify("AnimationComplete", e)));
5037
5037
  }), Promise.all(o);
5038
5038
  }
5039
- function Ef(t, e) {
5039
+ function jf(t, e) {
5040
5040
  return t.sortNodePosition(e);
5041
5041
  }
5042
5042
  function da(t, e, n = {}) {
@@ -5066,7 +5066,7 @@ function fa(t, e) {
5066
5066
  return !1;
5067
5067
  return !0;
5068
5068
  }
5069
- const Mf = Pr.length;
5069
+ const Nf = Pr.length;
5070
5070
  function ha(t) {
5071
5071
  if (!t)
5072
5072
  return;
@@ -5075,18 +5075,18 @@ function ha(t) {
5075
5075
  return t.props.initial !== void 0 && (n.initial = t.props.initial), n;
5076
5076
  }
5077
5077
  const e = {};
5078
- for (let n = 0; n < Mf; n++) {
5078
+ for (let n = 0; n < Nf; n++) {
5079
5079
  const r = Pr[n], i = t.props[r];
5080
5080
  ($e(i) || i === !1) && (e[r] = i);
5081
5081
  }
5082
5082
  return e;
5083
5083
  }
5084
- const kf = [...Cr].reverse(), Df = Cr.length;
5085
- function _f(t) {
5084
+ const Uf = [...Cr].reverse(), zf = Cr.length;
5085
+ function Wf(t) {
5086
5086
  return (e) => Promise.all(e.map(({ animation: n, options: r }) => da(t, n, r)));
5087
5087
  }
5088
- function Lf(t) {
5089
- let e = _f(t), n = Ki(), r = !0;
5088
+ function qf(t) {
5089
+ let e = Wf(t), n = Ki(), r = !0;
5090
5090
  const i = (l) => (c, u) => {
5091
5091
  var d;
5092
5092
  const f = Be(t, u, l === "exit" ? (d = t.presenceContext) === null || d === void 0 ? void 0 : d.custom : void 0);
@@ -5102,8 +5102,8 @@ function Lf(t) {
5102
5102
  function o(l) {
5103
5103
  const { props: c } = t, u = ha(t.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
5104
5104
  let h = {}, p = 1 / 0;
5105
- for (let x = 0; x < Df; x++) {
5106
- const v = kf[x], w = n[v], S = c[v] !== void 0 ? c[v] : u[v], P = $e(S), m = v === l ? w.isActive : null;
5105
+ for (let x = 0; x < zf; x++) {
5106
+ const v = Uf[x], w = n[v], S = c[v] !== void 0 ? c[v] : u[v], P = $e(S), m = v === l ? w.isActive : null;
5107
5107
  m === !1 && (p = x);
5108
5108
  let V = S === u[v] && S !== c[v] && P;
5109
5109
  if (V && r && t.manuallyAnimateOnMount && (V = !1), w.protectedKeys = { ...h }, // If it isn't active and hasn't *just* been set as inactive
@@ -5111,7 +5111,7 @@ function Lf(t) {
5111
5111
  !S && !w.prevProp || // Or if the prop doesn't define an animation
5112
5112
  Vn(S) || typeof S == "boolean")
5113
5113
  continue;
5114
- const E = $f(w.prevProp, S);
5114
+ const E = Gf(w.prevProp, S);
5115
5115
  let y = E || // If we're making this variant active, we want to always make it active
5116
5116
  v === l && w.isActive && !V && P || // If we removed a higher-priority variant (i is in reverse order)
5117
5117
  x > p && P, b = !1;
@@ -5175,7 +5175,7 @@ function Lf(t) {
5175
5175
  }
5176
5176
  };
5177
5177
  }
5178
- function $f(t, e) {
5178
+ function Gf(t, e) {
5179
5179
  return typeof e == "string" ? e !== t : Array.isArray(e) ? !fa(e, t) : !1;
5180
5180
  }
5181
5181
  function Kt(t = !1) {
@@ -5204,14 +5204,14 @@ class Wt {
5204
5204
  update() {
5205
5205
  }
5206
5206
  }
5207
- class Of extends Wt {
5207
+ class Hf extends Wt {
5208
5208
  /**
5209
5209
  * We dynamically generate the AnimationState manager as it contains a reference
5210
5210
  * to the underlying animation library. We only want to load that if we load this,
5211
5211
  * so people can optionally code split it out using the `m` component.
5212
5212
  */
5213
5213
  constructor(e) {
5214
- super(e), e.animationState || (e.animationState = Lf(e));
5214
+ super(e), e.animationState || (e.animationState = qf(e));
5215
5215
  }
5216
5216
  updateAnimationControlsSubscription() {
5217
5217
  const { animate: e } = this.node.getProps();
@@ -5232,10 +5232,10 @@ class Of extends Wt {
5232
5232
  this.node.animationState.reset(), (e = this.unmountControls) === null || e === void 0 || e.call(this);
5233
5233
  }
5234
5234
  }
5235
- let Ff = 0;
5236
- class Bf extends Wt {
5235
+ let Kf = 0;
5236
+ class Yf extends Wt {
5237
5237
  constructor() {
5238
- super(...arguments), this.id = Ff++;
5238
+ super(...arguments), this.id = Kf++;
5239
5239
  }
5240
5240
  update() {
5241
5241
  if (!this.node.presenceContext)
@@ -5255,12 +5255,12 @@ class Bf extends Wt {
5255
5255
  unmount() {
5256
5256
  }
5257
5257
  }
5258
- const If = {
5258
+ const Xf = {
5259
5259
  animation: {
5260
- Feature: Of
5260
+ Feature: Hf
5261
5261
  },
5262
5262
  exit: {
5263
- Feature: Bf
5263
+ Feature: Yf
5264
5264
  }
5265
5265
  };
5266
5266
  function Ne(t, e, n, r = { passive: !0 }) {
@@ -5274,9 +5274,9 @@ function Ge(t) {
5274
5274
  }
5275
5275
  };
5276
5276
  }
5277
- const jf = (t) => (e) => Nr(e) && t(e, Ge(e));
5277
+ const Zf = (t) => (e) => Nr(e) && t(e, Ge(e));
5278
5278
  function ie(t, e, n, r) {
5279
- return Ne(t, e, jf(n), r);
5279
+ return Ne(t, e, Zf(n), r);
5280
5280
  }
5281
5281
  function pa({ top: t, left: e, right: n, bottom: r }) {
5282
5282
  return {
@@ -5284,10 +5284,10 @@ function pa({ top: t, left: e, right: n, bottom: r }) {
5284
5284
  y: { min: t, max: r }
5285
5285
  };
5286
5286
  }
5287
- function Nf({ x: t, y: e }) {
5287
+ function Jf({ x: t, y: e }) {
5288
5288
  return { top: e.min, right: t.max, bottom: e.max, left: t.min };
5289
5289
  }
5290
- function Uf(t, e) {
5290
+ function Qf(t, e) {
5291
5291
  if (!e)
5292
5292
  return t;
5293
5293
  const n = e({ x: t.left, y: t.top }), r = e({ x: t.right, y: t.bottom });
@@ -5298,15 +5298,15 @@ function Uf(t, e) {
5298
5298
  right: r.x
5299
5299
  };
5300
5300
  }
5301
- const ma = 1e-4, zf = 1 - ma, Wf = 1 + ma, ga = 0.01, qf = 0 - ga, Gf = 0 + ga;
5301
+ const ma = 1e-4, th = 1 - ma, eh = 1 + ma, ga = 0.01, nh = 0 - ga, rh = 0 + ga;
5302
5302
  function it(t) {
5303
5303
  return t.max - t.min;
5304
5304
  }
5305
- function Hf(t, e, n) {
5305
+ function ih(t, e, n) {
5306
5306
  return Math.abs(t - e) <= n;
5307
5307
  }
5308
5308
  function Yi(t, e, n, r = 0.5) {
5309
- t.origin = r, t.originPoint = U(e.min, e.max, t.origin), t.scale = it(n) / it(e), t.translate = U(n.min, n.max, t.origin) - t.originPoint, (t.scale >= zf && t.scale <= Wf || isNaN(t.scale)) && (t.scale = 1), (t.translate >= qf && t.translate <= Gf || isNaN(t.translate)) && (t.translate = 0);
5309
+ t.origin = r, t.originPoint = U(e.min, e.max, t.origin), t.scale = it(n) / it(e), t.translate = U(n.min, n.max, t.origin) - t.originPoint, (t.scale >= th && t.scale <= eh || isNaN(t.scale)) && (t.scale = 1), (t.translate >= nh && t.translate <= rh || isNaN(t.translate)) && (t.translate = 0);
5310
5310
  }
5311
5311
  function Ee(t, e, n, r) {
5312
5312
  Yi(t.x, e.x, n.x, r ? r.originX : void 0), Yi(t.y, e.y, n.y, r ? r.originY : void 0);
@@ -5314,7 +5314,7 @@ function Ee(t, e, n, r) {
5314
5314
  function Xi(t, e, n) {
5315
5315
  t.min = n.min + e.min, t.max = t.min + it(e);
5316
5316
  }
5317
- function Kf(t, e, n) {
5317
+ function sh(t, e, n) {
5318
5318
  Xi(t.x, e.x, n.x), Xi(t.y, e.y, n.y);
5319
5319
  }
5320
5320
  function Zi(t, e, n) {
@@ -5367,7 +5367,7 @@ function va(t, { x: e, y: n }) {
5367
5367
  hr(t.x, e.translate, e.scale, e.originPoint), hr(t.y, n.translate, n.scale, n.originPoint);
5368
5368
  }
5369
5369
  const ns = 0.999999999999, rs = 1.0000000000001;
5370
- function Yf(t, e, n, r = !1) {
5370
+ function oh(t, e, n, r = !1) {
5371
5371
  const i = n.length;
5372
5372
  if (!i)
5373
5373
  return;
@@ -5394,14 +5394,14 @@ function ae(t, e) {
5394
5394
  is(t.x, e.x, e.scaleX, e.scale, e.originX), is(t.y, e.y, e.scaleY, e.scale, e.originY);
5395
5395
  }
5396
5396
  function ba(t, e) {
5397
- return pa(Uf(t.getBoundingClientRect(), e));
5397
+ return pa(Qf(t.getBoundingClientRect(), e));
5398
5398
  }
5399
- function Xf(t, e, n) {
5399
+ function ah(t, e, n) {
5400
5400
  const r = ba(t, n), { scroll: i } = e;
5401
5401
  return i && (oe(r.x, i.offset.x), oe(r.y, i.offset.y)), r;
5402
5402
  }
5403
5403
  const ss = (t, e) => Math.abs(t - e);
5404
- function Zf(t, e) {
5404
+ function lh(t, e) {
5405
5405
  const n = ss(t.x, e.x), r = ss(t.y, e.y);
5406
5406
  return Math.sqrt(n ** 2 + r ** 2);
5407
5407
  }
@@ -5410,7 +5410,7 @@ class xa {
5410
5410
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.updatePoint = () => {
5411
5411
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
5412
5412
  return;
5413
- const u = zn(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, f = Zf(u.offset, { x: 0, y: 0 }) >= 3;
5413
+ const u = zn(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, f = lh(u.offset, { x: 0, y: 0 }) >= 3;
5414
5414
  if (!d && !f)
5415
5415
  return;
5416
5416
  const { point: h } = u, { timestamp: p } = H;
@@ -5457,17 +5457,17 @@ function zn({ point: t }, e) {
5457
5457
  return {
5458
5458
  point: t,
5459
5459
  delta: os(t, wa(e)),
5460
- offset: os(t, Jf(e)),
5461
- velocity: Qf(e, 0.1)
5460
+ offset: os(t, ch(e)),
5461
+ velocity: uh(e, 0.1)
5462
5462
  };
5463
5463
  }
5464
- function Jf(t) {
5464
+ function ch(t) {
5465
5465
  return t[0];
5466
5466
  }
5467
5467
  function wa(t) {
5468
5468
  return t[t.length - 1];
5469
5469
  }
5470
- function Qf(t, e) {
5470
+ function uh(t, e) {
5471
5471
  if (t.length < 2)
5472
5472
  return { x: 0, y: 0 };
5473
5473
  let n = t.length - 1, r = null;
@@ -5485,7 +5485,7 @@ function Qf(t, e) {
5485
5485
  };
5486
5486
  return o.x === 1 / 0 && (o.x = 0), o.y === 1 / 0 && (o.y = 0), o;
5487
5487
  }
5488
- function th(t, { min: e, max: n }, r) {
5488
+ function dh(t, { min: e, max: n }, r) {
5489
5489
  return e !== void 0 && t < e ? t = r ? U(e, t, r.min) : Math.max(t, e) : n !== void 0 && t > n && (t = r ? U(n, t, r.max) : Math.min(t, n)), t;
5490
5490
  }
5491
5491
  function as(t, e, n) {
@@ -5494,7 +5494,7 @@ function as(t, e, n) {
5494
5494
  max: n !== void 0 ? t.max + n - (t.max - t.min) : void 0
5495
5495
  };
5496
5496
  }
5497
- function eh(t, { top: e, left: n, bottom: r, right: i }) {
5497
+ function fh(t, { top: e, left: n, bottom: r, right: i }) {
5498
5498
  return {
5499
5499
  x: as(t.x, n, i),
5500
5500
  y: as(t.y, e, r)
@@ -5504,23 +5504,23 @@ function ls(t, e) {
5504
5504
  let n = e.min - t.min, r = e.max - t.max;
5505
5505
  return e.max - e.min < t.max - t.min && ([n, r] = [r, n]), { min: n, max: r };
5506
5506
  }
5507
- function nh(t, e) {
5507
+ function hh(t, e) {
5508
5508
  return {
5509
5509
  x: ls(t.x, e.x),
5510
5510
  y: ls(t.y, e.y)
5511
5511
  };
5512
5512
  }
5513
- function rh(t, e) {
5513
+ function ph(t, e) {
5514
5514
  let n = 0.5;
5515
5515
  const r = it(t), i = it(e);
5516
5516
  return i > r ? n = /* @__PURE__ */ de(e.min, e.max - r, t.min) : r > i && (n = /* @__PURE__ */ de(t.min, t.max - i, e.min)), Lt(0, 1, n);
5517
5517
  }
5518
- function ih(t, e) {
5518
+ function mh(t, e) {
5519
5519
  const n = {};
5520
5520
  return e.min !== void 0 && (n.min = e.min - t.min), e.max !== void 0 && (n.max = e.max - t.min), n;
5521
5521
  }
5522
5522
  const pr = 0.35;
5523
- function sh(t = pr) {
5523
+ function gh(t = pr) {
5524
5524
  return t === !1 ? t = 0 : t === !0 && (t = pr), {
5525
5525
  x: cs(t, "left", "right"),
5526
5526
  y: cs(t, "top", "bottom")
@@ -5535,8 +5535,8 @@ function cs(t, e, n) {
5535
5535
  function us(t, e) {
5536
5536
  return typeof t == "number" ? t : t[e] || 0;
5537
5537
  }
5538
- const oh = /* @__PURE__ */ new WeakMap();
5539
- class ah {
5538
+ const yh = /* @__PURE__ */ new WeakMap();
5539
+ class vh {
5540
5540
  constructor(e) {
5541
5541
  this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = W(), this.visualElement = e;
5542
5542
  }
@@ -5549,7 +5549,7 @@ class ah {
5549
5549
  d ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(Ge(u).point);
5550
5550
  }, s = (u, d) => {
5551
5551
  const { drag: f, dragPropagation: h, onDragStart: p } = this.getProps();
5552
- if (f && !h && (this.openDragLock && this.openDragLock(), this.openDragLock = td(f), !this.openDragLock))
5552
+ if (f && !h && (this.openDragLock && this.openDragLock(), this.openDragLock = dd(f), !this.openDragLock))
5553
5553
  return;
5554
5554
  this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), gt((x) => {
5555
5555
  let v = this.getAxisMotionValue(x).get() || 0;
@@ -5570,7 +5570,7 @@ class ah {
5570
5570
  return;
5571
5571
  const { offset: x } = d;
5572
5572
  if (h && this.currentDirection === null) {
5573
- this.currentDirection = lh(x), this.currentDirection !== null && p && p(this.currentDirection);
5573
+ this.currentDirection = bh(x), this.currentDirection !== null && p && p(this.currentDirection);
5574
5574
  return;
5575
5575
  }
5576
5576
  this.updateAxis("x", d.point, x), this.updateAxis("y", d.point, x), this.visualElement.render(), g && g(u, d);
@@ -5611,13 +5611,13 @@ class ah {
5611
5611
  return;
5612
5612
  const s = this.getAxisMotionValue(e);
5613
5613
  let o = this.originPoint[e] + r[e];
5614
- this.constraints && this.constraints[e] && (o = th(o, this.constraints[e], this.elastic[e])), s.set(o);
5614
+ this.constraints && this.constraints[e] && (o = dh(o, this.constraints[e], this.elastic[e])), s.set(o);
5615
5615
  }
5616
5616
  resolveConstraints() {
5617
5617
  var e;
5618
5618
  const { dragConstraints: n, dragElastic: r } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (e = this.visualElement.projection) === null || e === void 0 ? void 0 : e.layout, s = this.constraints;
5619
- n && ne(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = eh(i.layoutBox, n) : this.constraints = !1, this.elastic = sh(r), s !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && gt((o) => {
5620
- this.constraints !== !1 && this.getAxisMotionValue(o) && (this.constraints[o] = ih(i.layoutBox[o], this.constraints[o]));
5619
+ n && ne(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = fh(i.layoutBox, n) : this.constraints = !1, this.elastic = gh(r), s !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && gt((o) => {
5620
+ this.constraints !== !1 && this.getAxisMotionValue(o) && (this.constraints[o] = mh(i.layoutBox[o], this.constraints[o]));
5621
5621
  });
5622
5622
  }
5623
5623
  resolveRefConstraints() {
@@ -5629,10 +5629,10 @@ class ah {
5629
5629
  const { projection: i } = this.visualElement;
5630
5630
  if (!i || !i.layout)
5631
5631
  return !1;
5632
- const s = Xf(r, i.root, this.visualElement.getTransformPagePoint());
5633
- let o = nh(i.layout.layoutBox, s);
5632
+ const s = ah(r, i.root, this.visualElement.getTransformPagePoint());
5633
+ let o = hh(i.layout.layoutBox, s);
5634
5634
  if (n) {
5635
- const a = n(Nf(o));
5635
+ const a = n(Jf(o));
5636
5636
  this.hasMutatedConstraints = !!a, a && (o = pa(a));
5637
5637
  }
5638
5638
  return o;
@@ -5714,7 +5714,7 @@ class ah {
5714
5714
  const a = this.getAxisMotionValue(o);
5715
5715
  if (a && this.constraints !== !1) {
5716
5716
  const l = a.get();
5717
- i[o] = rh({ min: l, max: l }, this.constraints[o]);
5717
+ i[o] = ph({ min: l, max: l }, this.constraints[o]);
5718
5718
  }
5719
5719
  });
5720
5720
  const { transformTemplate: s } = this.visualElement.getProps();
@@ -5728,7 +5728,7 @@ class ah {
5728
5728
  addListeners() {
5729
5729
  if (!this.visualElement.current)
5730
5730
  return;
5731
- oh.set(this.visualElement, this);
5731
+ yh.set(this.visualElement, this);
5732
5732
  const e = this.visualElement.current, n = ie(e, "pointerdown", (l) => {
5733
5733
  const { drag: c, dragListener: u = !0 } = this.getProps();
5734
5734
  c && u && this.start(l);
@@ -5763,13 +5763,13 @@ class ah {
5763
5763
  function Je(t, e, n) {
5764
5764
  return (e === !0 || e === t) && (n === null || n === t);
5765
5765
  }
5766
- function lh(t, e = 10) {
5766
+ function bh(t, e = 10) {
5767
5767
  let n = null;
5768
5768
  return Math.abs(t.y) > e ? n = "y" : Math.abs(t.x) > e && (n = "x"), n;
5769
5769
  }
5770
- class ch extends Wt {
5770
+ class xh extends Wt {
5771
5771
  constructor(e) {
5772
- super(e), this.removeGroupControls = ct, this.removeListeners = ct, this.controls = new ah(e);
5772
+ super(e), this.removeGroupControls = ct, this.removeListeners = ct, this.controls = new vh(e);
5773
5773
  }
5774
5774
  mount() {
5775
5775
  const { dragControls: e } = this.node.getProps();
@@ -5782,7 +5782,7 @@ class ch extends Wt {
5782
5782
  const ds = (t) => (e, n) => {
5783
5783
  t && j.postRender(() => t(e, n));
5784
5784
  };
5785
- class uh extends Wt {
5785
+ class wh extends Wt {
5786
5786
  constructor() {
5787
5787
  super(...arguments), this.removePointerDownListener = ct;
5788
5788
  }
@@ -5839,7 +5839,7 @@ const Se = {
5839
5839
  const n = fs(t, e.target.x), r = fs(t, e.target.y);
5840
5840
  return `${n}% ${r}%`;
5841
5841
  }
5842
- }, dh = {
5842
+ }, Sh = {
5843
5843
  correct: (t, { treeScale: e, projectionDelta: n }) => {
5844
5844
  const r = t, i = zt.parse(t);
5845
5845
  if (i.length > 5)
@@ -5850,7 +5850,7 @@ const Se = {
5850
5850
  return typeof i[2 + o] == "number" && (i[2 + o] /= c), typeof i[3 + o] == "number" && (i[3 + o] /= c), s(i);
5851
5851
  }
5852
5852
  };
5853
- class fh extends ja {
5853
+ class Th extends Za {
5854
5854
  /**
5855
5855
  * This only mounts projection nodes for components that
5856
5856
  * need measuring, we might want to do it for all components
@@ -5858,7 +5858,7 @@ class fh extends ja {
5858
5858
  */
5859
5859
  componentDidMount() {
5860
5860
  const { visualElement: e, layoutGroup: n, switchLayoutGroup: r, layoutId: i } = this.props, { projection: s } = e;
5861
- vu(hh), s && (n.group && n.group.add(s), r && r.register && i && r.register(s), s.root.didUpdate(), s.addEventListener("animationComplete", () => {
5861
+ Eu(Ch), s && (n.group && n.group.add(s), r && r.register && i && r.register(s), s.root.didUpdate(), s.addEventListener("animationComplete", () => {
5862
5862
  this.safeToRemove();
5863
5863
  }), s.setOptions({
5864
5864
  ...s.options,
@@ -5891,10 +5891,10 @@ class fh extends ja {
5891
5891
  }
5892
5892
  }
5893
5893
  function Sa(t) {
5894
- const [e, n] = Xc(), r = rt(eo);
5895
- return Fs(fh, { ...t, layoutGroup: r, switchLayoutGroup: rt(uo), isPresent: e, safeToRemove: n });
5894
+ const [e, n] = au(), r = rt(eo);
5895
+ return Fs(Th, { ...t, layoutGroup: r, switchLayoutGroup: rt(uo), isPresent: e, safeToRemove: n });
5896
5896
  }
5897
- const hh = {
5897
+ const Ch = {
5898
5898
  borderRadius: {
5899
5899
  ...Se,
5900
5900
  applyTo: [
@@ -5908,17 +5908,17 @@ const hh = {
5908
5908
  borderTopRightRadius: Se,
5909
5909
  borderBottomLeftRadius: Se,
5910
5910
  borderBottomRightRadius: Se,
5911
- boxShadow: dh
5911
+ boxShadow: Sh
5912
5912
  };
5913
- function ph(t, e, n) {
5913
+ function Ph(t, e, n) {
5914
5914
  const r = J(t) ? t : Ie(t);
5915
5915
  return r.start(ti("", r, e, n)), r.animation;
5916
5916
  }
5917
- function mh(t) {
5917
+ function Ah(t) {
5918
5918
  return t instanceof SVGElement && t.tagName !== "svg";
5919
5919
  }
5920
- const gh = (t, e) => t.depth - e.depth;
5921
- class yh {
5920
+ const Vh = (t, e) => t.depth - e.depth;
5921
+ class Rh {
5922
5922
  constructor() {
5923
5923
  this.children = [], this.isDirty = !1;
5924
5924
  }
@@ -5929,25 +5929,25 @@ class yh {
5929
5929
  zr(this.children, e), this.isDirty = !0;
5930
5930
  }
5931
5931
  forEach(e) {
5932
- this.isDirty && this.children.sort(gh), this.isDirty = !1, this.children.forEach(e);
5932
+ this.isDirty && this.children.sort(Vh), this.isDirty = !1, this.children.forEach(e);
5933
5933
  }
5934
5934
  }
5935
- function vh(t, e) {
5935
+ function Eh(t, e) {
5936
5936
  const n = Et.now(), r = ({ timestamp: i }) => {
5937
5937
  const s = i - n;
5938
5938
  s >= e && (Ut(r), t(s - e));
5939
5939
  };
5940
5940
  return j.read(r, !0), () => Ut(r);
5941
5941
  }
5942
- const Ta = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], bh = Ta.length, hs = (t) => typeof t == "string" ? parseFloat(t) : t, ps = (t) => typeof t == "number" || M.test(t);
5943
- function xh(t, e, n, r, i, s) {
5942
+ const Ta = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Mh = Ta.length, hs = (t) => typeof t == "string" ? parseFloat(t) : t, ps = (t) => typeof t == "number" || M.test(t);
5943
+ function kh(t, e, n, r, i, s) {
5944
5944
  i ? (t.opacity = U(
5945
5945
  0,
5946
5946
  // TODO Reinstate this if only child
5947
5947
  n.opacity !== void 0 ? n.opacity : 1,
5948
- wh(r)
5949
- ), t.opacityExit = U(e.opacity !== void 0 ? e.opacity : 1, 0, Sh(r))) : s && (t.opacity = U(e.opacity !== void 0 ? e.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
5950
- for (let o = 0; o < bh; o++) {
5948
+ Dh(r)
5949
+ ), t.opacityExit = U(e.opacity !== void 0 ? e.opacity : 1, 0, _h(r))) : s && (t.opacity = U(e.opacity !== void 0 ? e.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
5950
+ for (let o = 0; o < Mh; o++) {
5951
5951
  const a = `border${Ta[o]}Radius`;
5952
5952
  let l = ms(e, a), c = ms(n, a);
5953
5953
  if (l === void 0 && c === void 0)
@@ -5959,7 +5959,7 @@ function xh(t, e, n, r, i, s) {
5959
5959
  function ms(t, e) {
5960
5960
  return t[e] !== void 0 ? t[e] : t.borderRadius;
5961
5961
  }
5962
- const wh = /* @__PURE__ */ Ca(0, 0.5, No), Sh = /* @__PURE__ */ Ca(0.5, 0.95, ct);
5962
+ const Dh = /* @__PURE__ */ Ca(0, 0.5, No), _h = /* @__PURE__ */ Ca(0.5, 0.95, ct);
5963
5963
  function Ca(t, e, n) {
5964
5964
  return (r) => r < t ? 0 : r > e ? 1 : n(/* @__PURE__ */ de(t, e, r));
5965
5965
  }
@@ -5975,18 +5975,18 @@ function ys(t, e) {
5975
5975
  function vs(t, e, n, r, i) {
5976
5976
  return t -= e, t = bn(t, 1 / n, r), i !== void 0 && (t = bn(t, 1 / i, r)), t;
5977
5977
  }
5978
- function Th(t, e = 0, n = 1, r = 0.5, i, s = t, o = t) {
5978
+ function Lh(t, e = 0, n = 1, r = 0.5, i, s = t, o = t) {
5979
5979
  if (Rt.test(e) && (e = parseFloat(e), e = U(o.min, o.max, e / 100) - o.min), typeof e != "number")
5980
5980
  return;
5981
5981
  let a = U(s.min, s.max, r);
5982
5982
  t === s && (a -= e), t.min = vs(t.min, e, n, a, i), t.max = vs(t.max, e, n, a, i);
5983
5983
  }
5984
5984
  function bs(t, e, [n, r, i], s, o) {
5985
- Th(t, e[n], e[r], e[i], e.scale, s, o);
5985
+ Lh(t, e[n], e[r], e[i], e.scale, s, o);
5986
5986
  }
5987
- const Ch = ["x", "scaleX", "originX"], Ph = ["y", "scaleY", "originY"];
5987
+ const $h = ["x", "scaleX", "originX"], Oh = ["y", "scaleY", "originY"];
5988
5988
  function xs(t, e, n, r) {
5989
- bs(t.x, e, Ch, n ? n.x : void 0, r ? r.x : void 0), bs(t.y, e, Ph, n ? n.y : void 0, r ? r.y : void 0);
5989
+ bs(t.x, e, $h, n ? n.x : void 0, r ? r.x : void 0), bs(t.y, e, Oh, n ? n.y : void 0, r ? r.y : void 0);
5990
5990
  }
5991
5991
  function ws(t) {
5992
5992
  return t.translate === 0 && t.scale === 1;
@@ -5997,7 +5997,7 @@ function Pa(t) {
5997
5997
  function Ss(t, e) {
5998
5998
  return t.min === e.min && t.max === e.max;
5999
5999
  }
6000
- function Ah(t, e) {
6000
+ function Fh(t, e) {
6001
6001
  return Ss(t.x, e.x) && Ss(t.y, e.y);
6002
6002
  }
6003
6003
  function Ts(t, e) {
@@ -6012,7 +6012,7 @@ function Cs(t) {
6012
6012
  function Ps(t, e) {
6013
6013
  return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
6014
6014
  }
6015
- class Vh {
6015
+ class Bh {
6016
6016
  constructor() {
6017
6017
  this.members = [];
6018
6018
  }
@@ -6066,7 +6066,7 @@ class Vh {
6066
6066
  this.lead && this.lead.snapshot && (this.lead.snapshot = void 0);
6067
6067
  }
6068
6068
  }
6069
- function Rh(t, e, n) {
6069
+ function Ih(t, e, n) {
6070
6070
  let r = "";
6071
6071
  const i = t.x.translate / e.x, s = t.y.translate / e.y, o = (n == null ? void 0 : n.z) || 0;
6072
6072
  if ((i || s || o) && (r = `translate3d(${i}px, ${s}px, ${o}px) `), (e.x !== 1 || e.y !== 1) && (r += `scale(${1 / e.x}, ${1 / e.y}) `), n) {
@@ -6076,8 +6076,8 @@ function Rh(t, e, n) {
6076
6076
  const a = t.x.scale * e.x, l = t.y.scale * e.y;
6077
6077
  return (a !== 1 || l !== 1) && (r += `scale(${a}, ${l})`), r || "none";
6078
6078
  }
6079
- const Wn = ["", "X", "Y", "Z"], Eh = { visibility: "hidden" }, As = 1e3;
6080
- let Mh = 0;
6079
+ const Wn = ["", "X", "Y", "Z"], jh = { visibility: "hidden" }, As = 1e3;
6080
+ let Nh = 0;
6081
6081
  function qn(t, e, n, r) {
6082
6082
  const { latestValues: i } = e;
6083
6083
  i[t] && (n[t] = i[t], e.setStaticValue(t, 0), r && (r[t] = 0));
@@ -6099,14 +6099,14 @@ function Va(t) {
6099
6099
  function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
6100
6100
  return class {
6101
6101
  constructor(o = {}, a = e == null ? void 0 : e()) {
6102
- this.id = Mh++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
6102
+ this.id = Nh++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
6103
6103
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
6104
6104
  }, this.updateProjection = () => {
6105
- this.projectionUpdateScheduled = !1, this.nodes.forEach(_h), this.nodes.forEach(Bh), this.nodes.forEach(Ih), this.nodes.forEach(Lh);
6105
+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Wh), this.nodes.forEach(Yh), this.nodes.forEach(Xh), this.nodes.forEach(qh);
6106
6106
  }, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = o, this.root = a ? a.root || a : this, this.path = a ? [...a.path, a] : [], this.parent = a, this.depth = a ? a.depth + 1 : 0;
6107
6107
  for (let l = 0; l < this.path.length; l++)
6108
6108
  this.path[l].shouldResetTransform = !0;
6109
- this.root === this && (this.nodes = new yh());
6109
+ this.root === this && (this.nodes = new Rh());
6110
6110
  }
6111
6111
  addEventListener(o, a) {
6112
6112
  return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Wr()), this.eventHandlers.get(o).add(a);
@@ -6124,13 +6124,13 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6124
6124
  mount(o, a = this.root.hasTreeAnimated) {
6125
6125
  if (this.instance)
6126
6126
  return;
6127
- this.isSVG = mh(o), this.instance = o;
6127
+ this.isSVG = Ah(o), this.instance = o;
6128
6128
  const { layoutId: l, layout: c, visualElement: u } = this.options;
6129
6129
  if (u && !u.current && u.mount(o), this.root.nodes.add(this), this.parent && this.parent.children.add(this), a && (c || l) && (this.isLayoutDirty = !0), t) {
6130
6130
  let d;
6131
6131
  const f = () => this.root.updateBlockedByResize = !1;
6132
6132
  t(o, () => {
6133
- this.root.updateBlockedByResize = !0, d && d(), d = vh(f, 250), cn.hasAnimatedSinceResize && (cn.hasAnimatedSinceResize = !1, this.nodes.forEach(Rs));
6133
+ this.root.updateBlockedByResize = !0, d && d(), d = Eh(f, 250), cn.hasAnimatedSinceResize && (cn.hasAnimatedSinceResize = !1, this.nodes.forEach(Rs));
6134
6134
  });
6135
6135
  }
6136
6136
  l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && u && (l || c) && this.addEventListener("didUpdate", ({ delta: d, hasLayoutChanged: f, hasRelativeLayoutChanged: h, layout: p }) => {
@@ -6138,7 +6138,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6138
6138
  this.target = void 0, this.relativeTarget = void 0;
6139
6139
  return;
6140
6140
  }
6141
- const g = this.options.transition || u.getDefaultTransition() || Wh, { onLayoutAnimationStart: x, onLayoutAnimationComplete: v } = u.getProps(), w = !this.targetLayout || !Aa(this.targetLayout, p), S = !f && h;
6141
+ const g = this.options.transition || u.getDefaultTransition() || ep, { onLayoutAnimationStart: x, onLayoutAnimationComplete: v } = u.getProps(), w = !this.targetLayout || !Aa(this.targetLayout, p), S = !f && h;
6142
6142
  if (this.options.layoutRoot || this.resumeFrom || S || f && (w || !this.currentAnimation)) {
6143
6143
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(d, S);
6144
6144
  const P = {
@@ -6172,7 +6172,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6172
6172
  }
6173
6173
  // Note: currently only running on root node
6174
6174
  startUpdate() {
6175
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(jh), this.animationId++);
6175
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Zh), this.animationId++);
6176
6176
  }
6177
6177
  getTransformTemplate() {
6178
6178
  const { visualElement: o } = this.options;
@@ -6201,7 +6201,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6201
6201
  this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Vs);
6202
6202
  return;
6203
6203
  }
6204
- this.isUpdating || this.nodes.forEach(Oh), this.isUpdating = !1, this.nodes.forEach(Fh), this.nodes.forEach(kh), this.nodes.forEach(Dh), this.clearAllSnapshots();
6204
+ this.isUpdating || this.nodes.forEach(Hh), this.isUpdating = !1, this.nodes.forEach(Kh), this.nodes.forEach(Uh), this.nodes.forEach(zh), this.clearAllSnapshots();
6205
6205
  const a = Et.now();
6206
6206
  H.delta = Lt(0, 1e3 / 60, a - H.timestamp), H.timestamp = a, H.isProcessing = !0, On.update.process(H), On.preRender.process(H), On.render.process(H), H.isProcessing = !1;
6207
6207
  }
@@ -6209,7 +6209,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6209
6209
  this.updateScheduled || (this.updateScheduled = !0, Vr.read(this.scheduleUpdate));
6210
6210
  }
6211
6211
  clearAllSnapshots() {
6212
- this.nodes.forEach($h), this.sharedNodes.forEach(Nh);
6212
+ this.nodes.forEach(Gh), this.sharedNodes.forEach(Jh);
6213
6213
  }
6214
6214
  scheduleUpdateProjection() {
6215
6215
  this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, j.preRender(this.updateProjection, !1, !0));
@@ -6258,7 +6258,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6258
6258
  measure(o = !0) {
6259
6259
  const a = this.measurePageBox();
6260
6260
  let l = this.removeElementScroll(a);
6261
- return o && (l = this.removeTransform(l)), qh(l), {
6261
+ return o && (l = this.removeTransform(l)), np(l), {
6262
6262
  animationId: this.root.animationId,
6263
6263
  measuredBox: a,
6264
6264
  layoutBox: l,
@@ -6272,7 +6272,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6272
6272
  if (!a)
6273
6273
  return W();
6274
6274
  const l = a.measureViewportBox();
6275
- if (!(((o = this.scroll) === null || o === void 0 ? void 0 : o.wasRoot) || this.path.some(Gh))) {
6275
+ if (!(((o = this.scroll) === null || o === void 0 ? void 0 : o.wasRoot) || this.path.some(rp))) {
6276
6276
  const { scroll: u } = this.root;
6277
6277
  u && (oe(l.x, u.offset.x), oe(l.y, u.offset.y));
6278
6278
  }
@@ -6343,7 +6343,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6343
6343
  const h = this.getClosestProjectingParent();
6344
6344
  h && h.layout && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = W(), this.relativeTargetOrigin = W(), Me(this.relativeTargetOrigin, this.layout.layoutBox, h.layout.layoutBox), mt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6345
6345
  }
6346
- if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = W(), this.targetWithTransforms = W()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Kf(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : mt(this.target, this.layout.layoutBox), va(this.target, this.targetDelta)) : mt(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
6346
+ if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = W(), this.targetWithTransforms = W()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), sh(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : mt(this.target, this.layout.layoutBox), va(this.target, this.targetDelta)) : mt(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
6347
6347
  this.attemptToResolveRelativeTarget = !1;
6348
6348
  const h = this.getClosestProjectingParent();
6349
6349
  h && !!h.resumingFrom == !!this.resumingFrom && !h.options.layoutScroll && h.target && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = W(), this.relativeTargetOrigin = W(), Me(this.relativeTargetOrigin, this.target, h.target), mt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
@@ -6368,7 +6368,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6368
6368
  return;
6369
6369
  mt(this.layoutCorrected, this.layout.layoutBox);
6370
6370
  const f = this.treeScale.x, h = this.treeScale.y;
6371
- Yf(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox, a.targetWithTransforms = W());
6371
+ oh(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox, a.targetWithTransforms = W());
6372
6372
  const { target: p } = a;
6373
6373
  if (!p) {
6374
6374
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
@@ -6396,17 +6396,17 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6396
6396
  setAnimationOrigin(o, a = !1) {
6397
6397
  const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d = se();
6398
6398
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
6399
- const f = W(), h = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, g = h !== p, x = this.getStack(), v = !x || x.members.length <= 1, w = !!(g && !v && this.options.crossfade === !0 && !this.path.some(zh));
6399
+ const f = W(), h = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, g = h !== p, x = this.getStack(), v = !x || x.members.length <= 1, w = !!(g && !v && this.options.crossfade === !0 && !this.path.some(tp));
6400
6400
  this.animationProgress = 0;
6401
6401
  let S;
6402
6402
  this.mixTargetDelta = (P) => {
6403
6403
  const m = P / 1e3;
6404
- Es(d.x, o.x, m), Es(d.y, o.y, m), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Me(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Uh(this.relativeTarget, this.relativeTargetOrigin, f, m), S && Ah(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = W()), mt(S, this.relativeTarget)), g && (this.animationValues = u, xh(u, c, this.latestValues, m, w, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = m;
6404
+ Es(d.x, o.x, m), Es(d.y, o.y, m), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Me(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Qh(this.relativeTarget, this.relativeTargetOrigin, f, m), S && Fh(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = W()), mt(S, this.relativeTarget)), g && (this.animationValues = u, kh(u, c, this.latestValues, m, w, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = m;
6405
6405
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
6406
6406
  }
6407
6407
  startAnimation(o) {
6408
6408
  this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (Ut(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = j.update(() => {
6409
- cn.hasAnimatedSinceResize = !0, this.currentAnimation = ph(0, As, {
6409
+ cn.hasAnimatedSinceResize = !0, this.currentAnimation = Ph(0, As, {
6410
6410
  ...o,
6411
6411
  onUpdate: (a) => {
6412
6412
  this.mixTargetDelta(a), o.onUpdate && o.onUpdate(a);
@@ -6442,7 +6442,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6442
6442
  }
6443
6443
  }
6444
6444
  registerSharedNode(o, a) {
6445
- this.sharedNodes.has(o) || this.sharedNodes.set(o, new Vh()), this.sharedNodes.get(o).add(a);
6445
+ this.sharedNodes.has(o) || this.sharedNodes.set(o, new Bh()), this.sharedNodes.get(o).add(a);
6446
6446
  const c = a.options.initialPromotionConfig;
6447
6447
  a.promote({
6448
6448
  transition: c ? c.transition : void 0,
@@ -6498,7 +6498,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6498
6498
  if (!this.instance || this.isSVG)
6499
6499
  return;
6500
6500
  if (!this.isVisible)
6501
- return Eh;
6501
+ return jh;
6502
6502
  const c = {
6503
6503
  visibility: ""
6504
6504
  }, u = this.getTransformTemplate();
@@ -6510,7 +6510,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6510
6510
  return this.options.layoutId && (g.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, g.pointerEvents = an(o == null ? void 0 : o.pointerEvents) || ""), this.hasProjected && !Yt(this.latestValues) && (g.transform = u ? u({}, "") : "none", this.hasProjected = !1), g;
6511
6511
  }
6512
6512
  const f = d.animationValues || d.latestValues;
6513
- this.applyTransformsToTarget(), c.transform = Rh(this.projectionDeltaWithTransform, this.treeScale, f), u && (c.transform = u(f, c.transform));
6513
+ this.applyTransformsToTarget(), c.transform = Ih(this.projectionDeltaWithTransform, this.treeScale, f), u && (c.transform = u(f, c.transform));
6514
6514
  const { x: h, y: p } = this.projectionDelta;
6515
6515
  c.transformOrigin = `${h.origin * 100}% ${p.origin * 100}% 0`, d.animationValues ? c.opacity = d === this ? (l = (a = f.opacity) !== null && a !== void 0 ? a : this.latestValues.opacity) !== null && l !== void 0 ? l : 1 : this.preserveOpacity ? this.latestValues.opacity : f.opacityExit : c.opacity = d === this ? f.opacity !== void 0 ? f.opacity : "" : f.opacityExit !== void 0 ? f.opacityExit : 0;
6516
6516
  for (const g in Oe) {
@@ -6538,10 +6538,10 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6538
6538
  }
6539
6539
  };
6540
6540
  }
6541
- function kh(t) {
6541
+ function Uh(t) {
6542
6542
  t.updateLayout();
6543
6543
  }
6544
- function Dh(t) {
6544
+ function zh(t) {
6545
6545
  var e;
6546
6546
  const n = ((e = t.resumeFrom) === null || e === void 0 ? void 0 : e.snapshot) || t.snapshot;
6547
6547
  if (t.isLead() && t.layout && n && t.hasListeners("didUpdate")) {
@@ -6585,38 +6585,38 @@ function Dh(t) {
6585
6585
  }
6586
6586
  t.options.transition = void 0;
6587
6587
  }
6588
- function _h(t) {
6588
+ function Wh(t) {
6589
6589
  t.parent && (t.isProjecting() || (t.isProjectionDirty = t.parent.isProjectionDirty), t.isSharedProjectionDirty || (t.isSharedProjectionDirty = !!(t.isProjectionDirty || t.parent.isProjectionDirty || t.parent.isSharedProjectionDirty)), t.isTransformDirty || (t.isTransformDirty = t.parent.isTransformDirty));
6590
6590
  }
6591
- function Lh(t) {
6591
+ function qh(t) {
6592
6592
  t.isProjectionDirty = t.isSharedProjectionDirty = t.isTransformDirty = !1;
6593
6593
  }
6594
- function $h(t) {
6594
+ function Gh(t) {
6595
6595
  t.clearSnapshot();
6596
6596
  }
6597
6597
  function Vs(t) {
6598
6598
  t.clearMeasurements();
6599
6599
  }
6600
- function Oh(t) {
6600
+ function Hh(t) {
6601
6601
  t.isLayoutDirty = !1;
6602
6602
  }
6603
- function Fh(t) {
6603
+ function Kh(t) {
6604
6604
  const { visualElement: e } = t.options;
6605
6605
  e && e.getProps().onBeforeLayoutMeasure && e.notify("BeforeLayoutMeasure"), t.resetTransform();
6606
6606
  }
6607
6607
  function Rs(t) {
6608
6608
  t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0, t.isProjectionDirty = !0;
6609
6609
  }
6610
- function Bh(t) {
6610
+ function Yh(t) {
6611
6611
  t.resolveTargetDelta();
6612
6612
  }
6613
- function Ih(t) {
6613
+ function Xh(t) {
6614
6614
  t.calcProjection();
6615
6615
  }
6616
- function jh(t) {
6616
+ function Zh(t) {
6617
6617
  t.resetSkewAndRotation();
6618
6618
  }
6619
- function Nh(t) {
6619
+ function Jh(t) {
6620
6620
  t.removeLeadSnapshot();
6621
6621
  }
6622
6622
  function Es(t, e, n) {
@@ -6625,30 +6625,30 @@ function Es(t, e, n) {
6625
6625
  function Ms(t, e, n, r) {
6626
6626
  t.min = U(e.min, n.min, r), t.max = U(e.max, n.max, r);
6627
6627
  }
6628
- function Uh(t, e, n, r) {
6628
+ function Qh(t, e, n, r) {
6629
6629
  Ms(t.x, e.x, n.x, r), Ms(t.y, e.y, n.y, r);
6630
6630
  }
6631
- function zh(t) {
6631
+ function tp(t) {
6632
6632
  return t.animationValues && t.animationValues.opacityExit !== void 0;
6633
6633
  }
6634
- const Wh = {
6634
+ const ep = {
6635
6635
  duration: 0.45,
6636
6636
  ease: [0.4, 0, 0.1, 1]
6637
6637
  }, ks = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Ds = ks("applewebkit/") && !ks("chrome/") ? Math.round : ct;
6638
6638
  function _s(t) {
6639
6639
  t.min = Ds(t.min), t.max = Ds(t.max);
6640
6640
  }
6641
- function qh(t) {
6641
+ function np(t) {
6642
6642
  _s(t.x), _s(t.y);
6643
6643
  }
6644
6644
  function Ea(t, e, n) {
6645
- return t === "position" || t === "preserve-aspect" && !Hf(Cs(e), Cs(n), 0.2);
6645
+ return t === "position" || t === "preserve-aspect" && !ih(Cs(e), Cs(n), 0.2);
6646
6646
  }
6647
- function Gh(t) {
6647
+ function rp(t) {
6648
6648
  var e;
6649
6649
  return t !== t.root && ((e = t.scroll) === null || e === void 0 ? void 0 : e.wasRoot);
6650
6650
  }
6651
- const Hh = Ra({
6651
+ const ip = Ra({
6652
6652
  attachResizeListener: (t, e) => Ne(t, "resize", e),
6653
6653
  measureScroll: () => ({
6654
6654
  x: document.documentElement.scrollLeft || document.body.scrollLeft,
@@ -6664,7 +6664,7 @@ const Hh = Ra({
6664
6664
  }),
6665
6665
  defaultParent: () => {
6666
6666
  if (!Gn.current) {
6667
- const t = new Hh({});
6667
+ const t = new ip({});
6668
6668
  t.mount(window), t.setOptions({ layoutScroll: !0 }), Gn.current = t;
6669
6669
  }
6670
6670
  return Gn.current;
@@ -6673,12 +6673,12 @@ const Hh = Ra({
6673
6673
  t.style.transform = e !== void 0 ? e : "none";
6674
6674
  },
6675
6675
  checkIsScrollRoot: (t) => window.getComputedStyle(t).position === "fixed"
6676
- }), Kh = {
6676
+ }), sp = {
6677
6677
  pan: {
6678
- Feature: uh
6678
+ Feature: wh
6679
6679
  },
6680
6680
  drag: {
6681
- Feature: ch,
6681
+ Feature: xh,
6682
6682
  ProjectionNode: Ma,
6683
6683
  MeasureLayout: Sa
6684
6684
  }
@@ -6689,15 +6689,15 @@ function Ls(t, e, n) {
6689
6689
  const i = "onHover" + n, s = r[i];
6690
6690
  s && j.postRender(() => s(e, Ge(e)));
6691
6691
  }
6692
- class Yh extends Wt {
6692
+ class op extends Wt {
6693
6693
  mount() {
6694
6694
  const { current: e } = this.node;
6695
- e && (this.unmount = Ku(e, (n, r) => (Ls(this.node, r, "Start"), (i) => Ls(this.node, i, "End"))));
6695
+ e && (this.unmount = sd(e, (n, r) => (Ls(this.node, r, "Start"), (i) => Ls(this.node, i, "End"))));
6696
6696
  }
6697
6697
  unmount() {
6698
6698
  }
6699
6699
  }
6700
- class Xh extends Wt {
6700
+ class ap extends Wt {
6701
6701
  constructor() {
6702
6702
  super(...arguments), this.isActive = !1;
6703
6703
  }
@@ -6727,37 +6727,37 @@ function $s(t, e, n) {
6727
6727
  const i = "onTap" + (n === "End" ? "" : n), s = r[i];
6728
6728
  s && j.postRender(() => s(e, Ge(e)));
6729
6729
  }
6730
- class Zh extends Wt {
6730
+ class lp extends Wt {
6731
6731
  mount() {
6732
6732
  const { current: e } = this.node;
6733
- e && (this.unmount = Ju(e, (n, r) => ($s(this.node, r, "Start"), (i, { success: s }) => $s(this.node, i, s ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
6733
+ e && (this.unmount = cd(e, (n, r) => ($s(this.node, r, "Start"), (i, { success: s }) => $s(this.node, i, s ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
6734
6734
  }
6735
6735
  unmount() {
6736
6736
  }
6737
6737
  }
6738
- const mr = /* @__PURE__ */ new WeakMap(), Hn = /* @__PURE__ */ new WeakMap(), Jh = (t) => {
6738
+ const mr = /* @__PURE__ */ new WeakMap(), Hn = /* @__PURE__ */ new WeakMap(), cp = (t) => {
6739
6739
  const e = mr.get(t.target);
6740
6740
  e && e(t);
6741
- }, Qh = (t) => {
6742
- t.forEach(Jh);
6741
+ }, up = (t) => {
6742
+ t.forEach(cp);
6743
6743
  };
6744
- function tp({ root: t, ...e }) {
6744
+ function dp({ root: t, ...e }) {
6745
6745
  const n = t || document;
6746
6746
  Hn.has(n) || Hn.set(n, {});
6747
6747
  const r = Hn.get(n), i = JSON.stringify(e);
6748
- return r[i] || (r[i] = new IntersectionObserver(Qh, { root: t, ...e })), r[i];
6748
+ return r[i] || (r[i] = new IntersectionObserver(up, { root: t, ...e })), r[i];
6749
6749
  }
6750
- function ep(t, e, n) {
6751
- const r = tp(e);
6750
+ function fp(t, e, n) {
6751
+ const r = dp(e);
6752
6752
  return mr.set(t, n), r.observe(t), () => {
6753
6753
  mr.delete(t), r.unobserve(t);
6754
6754
  };
6755
6755
  }
6756
- const np = {
6756
+ const hp = {
6757
6757
  some: 0,
6758
6758
  all: 1
6759
6759
  };
6760
- class rp extends Wt {
6760
+ class pp extends Wt {
6761
6761
  constructor() {
6762
6762
  super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
6763
6763
  }
@@ -6766,7 +6766,7 @@ class rp extends Wt {
6766
6766
  const { viewport: e = {} } = this.node.getProps(), { root: n, margin: r, amount: i = "some", once: s } = e, o = {
6767
6767
  root: n ? n.current : void 0,
6768
6768
  rootMargin: r,
6769
- threshold: typeof i == "number" ? i : np[i]
6769
+ threshold: typeof i == "number" ? i : hp[i]
6770
6770
  }, a = (l) => {
6771
6771
  const { isIntersecting: c } = l;
6772
6772
  if (this.isInView === c || (this.isInView = c, s && !c && this.hasEnteredView))
@@ -6775,7 +6775,7 @@ class rp extends Wt {
6775
6775
  const { onViewportEnter: u, onViewportLeave: d } = this.node.getProps(), f = c ? u : d;
6776
6776
  f && f(l);
6777
6777
  };
6778
- return ep(this.node.current, o, a);
6778
+ return fp(this.node.current, o, a);
6779
6779
  }
6780
6780
  mount() {
6781
6781
  this.startObserver();
@@ -6784,34 +6784,34 @@ class rp extends Wt {
6784
6784
  if (typeof IntersectionObserver > "u")
6785
6785
  return;
6786
6786
  const { props: e, prevProps: n } = this.node;
6787
- ["amount", "margin", "root"].some(ip(e, n)) && this.startObserver();
6787
+ ["amount", "margin", "root"].some(mp(e, n)) && this.startObserver();
6788
6788
  }
6789
6789
  unmount() {
6790
6790
  }
6791
6791
  }
6792
- function ip({ viewport: t = {} }, { viewport: e = {} } = {}) {
6792
+ function mp({ viewport: t = {} }, { viewport: e = {} } = {}) {
6793
6793
  return (n) => t[n] !== e[n];
6794
6794
  }
6795
- const sp = {
6795
+ const gp = {
6796
6796
  inView: {
6797
- Feature: rp
6797
+ Feature: pp
6798
6798
  },
6799
6799
  tap: {
6800
- Feature: Zh
6800
+ Feature: lp
6801
6801
  },
6802
6802
  focus: {
6803
- Feature: Xh
6803
+ Feature: ap
6804
6804
  },
6805
6805
  hover: {
6806
- Feature: Yh
6806
+ Feature: op
6807
6807
  }
6808
- }, op = {
6808
+ }, yp = {
6809
6809
  layout: {
6810
6810
  ProjectionNode: Ma,
6811
6811
  MeasureLayout: Sa
6812
6812
  }
6813
6813
  }, gr = { current: null }, ka = { current: !1 };
6814
- function ap() {
6814
+ function vp() {
6815
6815
  if (ka.current = !0, !!Sr)
6816
6816
  if (window.matchMedia) {
6817
6817
  const t = window.matchMedia("(prefers-reduced-motion)"), e = () => gr.current = t.matches;
@@ -6819,8 +6819,8 @@ function ap() {
6819
6819
  } else
6820
6820
  gr.current = !1;
6821
6821
  }
6822
- const lp = [...ea, Z, zt], cp = (t) => lp.find(ta(t)), up = /* @__PURE__ */ new WeakMap();
6823
- function dp(t, e, n) {
6822
+ const bp = [...ea, Z, zt], xp = (t) => bp.find(ta(t)), wp = /* @__PURE__ */ new WeakMap();
6823
+ function Sp(t, e, n) {
6824
6824
  for (const r in e) {
6825
6825
  const i = e[r], s = n[r];
6826
6826
  if (J(i))
@@ -6849,7 +6849,7 @@ const Os = [
6849
6849
  "LayoutAnimationStart",
6850
6850
  "LayoutAnimationComplete"
6851
6851
  ];
6852
- class fp {
6852
+ class Tp {
6853
6853
  /**
6854
6854
  * This method takes React props and returns found MotionValues. For example, HTML
6855
6855
  * MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
@@ -6876,7 +6876,7 @@ class fp {
6876
6876
  }
6877
6877
  }
6878
6878
  mount(e) {
6879
- this.current = e, up.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, r) => this.bindToMotionValue(r, n)), ka.current || ap(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : gr.current, process.env.NODE_ENV !== "production" && Pn(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
6879
+ this.current = e, wp.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, r) => this.bindToMotionValue(r, n)), ka.current || vp(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : gr.current, process.env.NODE_ENV !== "production" && Pn(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
6880
6880
  }
6881
6881
  unmount() {
6882
6882
  this.projection && this.projection.unmount(), Ut(this.notifyUpdate), Ut(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
@@ -6945,7 +6945,7 @@ class fp {
6945
6945
  const s = "on" + i, o = e[s];
6946
6946
  o && (this.propEventSubscriptions[i] = this.on(i, o));
6947
6947
  }
6948
- this.prevMotionValues = dp(this, this.scrapeMotionValuesFromProps(e, this.prevProps, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue(), this.onUpdate && this.onUpdate(this);
6948
+ this.prevMotionValues = Sp(this, this.scrapeMotionValuesFromProps(e, this.prevProps, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue(), this.onUpdate && this.onUpdate(this);
6949
6949
  }
6950
6950
  getProps() {
6951
6951
  return this.props;
@@ -7011,7 +7011,7 @@ class fp {
7011
7011
  readValue(e, n) {
7012
7012
  var r;
7013
7013
  let i = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : (r = this.getBaseTargetFromProps(this.props, e)) !== null && r !== void 0 ? r : this.readValueFromInstance(this.current, e, this.options);
7014
- return i != null && (typeof i == "string" && (Jo(i) || zo(i)) ? i = parseFloat(i) : !cp(i) && zt.test(n) && (i = Yo(e, n)), this.setBaseTarget(e, J(i) ? i.get() : i)), J(i) ? i.get() : i;
7014
+ return i != null && (typeof i == "string" && (Jo(i) || zo(i)) ? i = parseFloat(i) : !xp(i) && zt.test(n) && (i = Yo(e, n)), this.setBaseTarget(e, J(i) ? i.get() : i)), J(i) ? i.get() : i;
7015
7015
  }
7016
7016
  /**
7017
7017
  * Set the base target to later animate back to. This is currently
@@ -7044,7 +7044,7 @@ class fp {
7044
7044
  this.events[e] && this.events[e].notify(...n);
7045
7045
  }
7046
7046
  }
7047
- class Da extends fp {
7047
+ class Da extends Tp {
7048
7048
  constructor() {
7049
7049
  super(...arguments), this.KeyframeResolver = na;
7050
7050
  }
@@ -7065,10 +7065,10 @@ class Da extends fp {
7065
7065
  }));
7066
7066
  }
7067
7067
  }
7068
- function hp(t) {
7068
+ function Cp(t) {
7069
7069
  return window.getComputedStyle(t);
7070
7070
  }
7071
- class pp extends Da {
7071
+ class Pp extends Da {
7072
7072
  constructor() {
7073
7073
  super(...arguments), this.type = "html", this.renderInstance = xo;
7074
7074
  }
@@ -7077,7 +7077,7 @@ class pp extends Da {
7077
7077
  const r = Xr(n);
7078
7078
  return r && r.default || 0;
7079
7079
  } else {
7080
- const r = hp(e), i = (Rr(n) ? r.getPropertyValue(n) : r[n]) || 0;
7080
+ const r = Cp(e), i = (Rr(n) ? r.getPropertyValue(n) : r[n]) || 0;
7081
7081
  return typeof i == "string" ? i.trim() : i;
7082
7082
  }
7083
7083
  }
@@ -7091,7 +7091,7 @@ class pp extends Da {
7091
7091
  return Fr(e, n, r);
7092
7092
  }
7093
7093
  }
7094
- class mp extends Da {
7094
+ class Ap extends Da {
7095
7095
  constructor() {
7096
7096
  super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = W, this.updateDimensions = () => {
7097
7097
  this.current && !this.renderState.dimensions && bo(this.current, this.renderState);
@@ -7123,15 +7123,15 @@ class mp extends Da {
7123
7123
  this.isSVGTag = $r(e.tagName), super.mount(e);
7124
7124
  }
7125
7125
  }
7126
- const gp = (t, e) => _r(t) ? new mp(e) : new pp(e, {
7126
+ const Vp = (t, e) => _r(t) ? new Ap(e) : new Pp(e, {
7127
7127
  allowProjection: t !== js
7128
- }), yp = /* @__PURE__ */ Uu({
7129
- ...If,
7128
+ }), Rp = /* @__PURE__ */ Qu({
7129
+ ...Xf,
7130
+ ...gp,
7130
7131
  ...sp,
7131
- ...Kh,
7132
- ...op
7133
- }, gp), vp = /* @__PURE__ */ iu(yp);
7134
- function bp(t) {
7132
+ ...yp
7133
+ }, Vp), Ep = /* @__PURE__ */ mu(Rp);
7134
+ function Mp(t) {
7135
7135
  t.values.forEach((e) => e.stop());
7136
7136
  }
7137
7137
  function yr(t, e) {
@@ -7142,14 +7142,14 @@ function yr(t, e) {
7142
7142
  });
7143
7143
  });
7144
7144
  }
7145
- function xp(t, e) {
7145
+ function kp(t, e) {
7146
7146
  if (Array.isArray(e))
7147
7147
  return yr(t, e);
7148
7148
  if (typeof e == "string")
7149
7149
  return yr(t, [e]);
7150
7150
  qr(t, e);
7151
7151
  }
7152
- function wp() {
7152
+ function Dp() {
7153
7153
  let t = !1;
7154
7154
  const e = /* @__PURE__ */ new Set(), n = {
7155
7155
  subscribe(r) {
@@ -7166,12 +7166,12 @@ function wp() {
7166
7166
  },
7167
7167
  set(r) {
7168
7168
  return Mt(t, "controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."), e.forEach((i) => {
7169
- xp(i, r);
7169
+ kp(i, r);
7170
7170
  });
7171
7171
  },
7172
7172
  stop() {
7173
7173
  e.forEach((r) => {
7174
- bp(r);
7174
+ Mp(r);
7175
7175
  });
7176
7176
  },
7177
7177
  mount() {
@@ -7182,15 +7182,15 @@ function wp() {
7182
7182
  };
7183
7183
  return n;
7184
7184
  }
7185
- function Sp() {
7186
- const t = no(wp);
7185
+ function _p() {
7186
+ const t = no(Dp);
7187
7187
  return io(t.mount, []), t;
7188
7188
  }
7189
- const Tp = Sp, Cp = {
7189
+ const Lp = _p, $p = {
7190
7190
  some: 0,
7191
7191
  all: 1
7192
7192
  };
7193
- function Pp(t, e, { root: n, margin: r, amount: i = "some" } = {}) {
7193
+ function Op(t, e, { root: n, margin: r, amount: i = "some" } = {}) {
7194
7194
  const s = Eo(t), o = /* @__PURE__ */ new WeakMap(), a = (c) => {
7195
7195
  c.forEach((u) => {
7196
7196
  const d = o.get(u.target);
@@ -7203,11 +7203,11 @@ function Pp(t, e, { root: n, margin: r, amount: i = "some" } = {}) {
7203
7203
  }, l = new IntersectionObserver(a, {
7204
7204
  root: n,
7205
7205
  rootMargin: r,
7206
- threshold: typeof i == "number" ? i : Cp[i]
7206
+ threshold: typeof i == "number" ? i : $p[i]
7207
7207
  });
7208
7208
  return s.forEach((c) => l.observe(c)), () => l.disconnect();
7209
7209
  }
7210
- function Ap(t, { root: e, margin: n, amount: r, once: i = !1, initial: s = !1 } = {}) {
7210
+ function Fp(t, { root: e, margin: n, amount: r, once: i = !1, initial: s = !1 } = {}) {
7211
7211
  const [o, a] = _t(s);
7212
7212
  return wt(() => {
7213
7213
  if (!t.current || i && o)
@@ -7217,11 +7217,28 @@ function Ap(t, { root: e, margin: n, amount: r, once: i = !1, initial: s = !1 }
7217
7217
  margin: n,
7218
7218
  amount: r
7219
7219
  };
7220
- return Pp(t.current, l, c);
7220
+ return Op(t.current, l, c);
7221
7221
  }, [e, t, n, i, r]), o;
7222
7222
  }
7223
- var Vp = "var(--_14qm28z0)", Rp = "var(--_14qm28z1)", Ep = "var(--_14qm28z2)", Mp = "var(--_14qm28z3)", kp = "var(--_14qm28z4)", Dp = "var(--_14qm28z5)", _p = "var(--_14qm28z6)", Lp = "var(--_14qm28z7)", $p = "var(--_14qm28z8)", Op = "var(--_14qm28z9)", Tm = { width: "100%", display: "flex", alignItems: "center", position: "relative", flexDirection: "column", animation: "background 0.5s ease-in-out", color: "var(--_14qm28z2)", zIndex: "var(--_14qm28z1)", minHeight: "var(--_14qm28z7)", paddingTop: "var(--_14qm28z3)", paddingLeft: "var(--_14qm28z4)", paddingRight: "var(--_14qm28z5)", paddingBottom: "var(--_14qm28z6)", background: "var(--_14qm28z9)", justifyContent: "var(--_14qm28z8)" }, Fp = "_14qm28zb", un = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(un || {});
7224
- const Bp = {
7223
+ var _a = "var(--_14qm28z0)", La = "var(--_14qm28z1)", $a = "var(--_14qm28z2)", Oa = "var(--_14qm28z3)", Fa = "var(--_14qm28z4)", Ba = "var(--_14qm28z5)", Ia = "var(--_14qm28z6)", ja = "var(--_14qm28z7)", Na = "var(--_14qm28z8)", Ua = "var(--_14qm28z9)", Bp = { width: "100%", display: "flex", alignItems: "center", position: "relative", flexDirection: "column", animation: "background 0.5s ease-in-out", color: "var(--_14qm28z2)", zIndex: "var(--_14qm28z1)", minHeight: "var(--_14qm28z7)", paddingTop: "var(--_14qm28z3)", paddingLeft: "var(--_14qm28z4)", paddingRight: "var(--_14qm28z5)", paddingBottom: "var(--_14qm28z6)", background: "var(--_14qm28z9)", justifyContent: "var(--_14qm28z8)" }, Ip = "_14qm28za", za = "_14qm28zb";
7224
+ const Pm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7225
+ __proto__: null,
7226
+ sectionAlignVar: _a,
7227
+ sectionBackgroundColorVar: Ua,
7228
+ sectionColorVar: $a,
7229
+ sectionContentStyle: za,
7230
+ sectionJustifyContentVar: Na,
7231
+ sectionMinHeightVar: ja,
7232
+ sectionPaddingBottomVar: Ia,
7233
+ sectionPaddingLeftVar: Fa,
7234
+ sectionPaddingRightVar: Ba,
7235
+ sectionPaddingTopVar: Oa,
7236
+ sectionStyle: Ip,
7237
+ sectionZIndexVar: La,
7238
+ styles: Bp
7239
+ }, Symbol.toStringTag, { value: "Module" }));
7240
+ var un = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(un || {});
7241
+ const jp = {
7225
7242
  hidden: {
7226
7243
  opacity: 0
7227
7244
  },
@@ -7234,7 +7251,7 @@ const Bp = {
7234
7251
  type: "spring"
7235
7252
  }
7236
7253
  }
7237
- }, Cm = ({
7254
+ }, Am = ({
7238
7255
  children: t,
7239
7256
  className: e,
7240
7257
  zIndex: n = 20,
@@ -7247,47 +7264,50 @@ const Bp = {
7247
7264
  backgroundColor: c = "",
7248
7265
  noPaddingBottom: u = !1
7249
7266
  }) => {
7250
- const d = Tp(), f = St(), h = Na(), {
7267
+ const d = Lp(), f = St(), h = Ja(), {
7251
7268
  colors: p,
7252
7269
  header: { height: g },
7253
7270
  footer: { height: x },
7254
7271
  global: { paddingRight: v, paddingLeft: w },
7255
7272
  section: { paddingTop: S, paddingBottom: P }
7256
- } = l, m = Ap(h, {
7273
+ } = l, m = Fp(h, {
7257
7274
  margin: "0px 0px 0px 0px"
7258
7275
  });
7259
7276
  return wt(() => {
7260
7277
  m && d.start("visible");
7261
7278
  }, [d, m]), /* @__PURE__ */ A("section", { id: r, ref: h, className: e, style: F({
7262
- [Rp]: `${n}`,
7263
- [Op]: c,
7264
- [$p]: o ? "center" : "flex-start",
7265
- [Ep]: i ? p.defaultLightText : p.defaultText,
7266
- [Lp]: o ? `calc(100vh - ${g[f]}px - ${x[f]}px)` : "0",
7267
- [kp]: `${w[f]}px`,
7268
- [Dp]: `${v[f]}px`,
7269
- [Mp]: a ? "0px" : `${S[f]}px`,
7270
- [_p]: u ? "0px" : `${P[f]}px`
7271
- }), children: /* @__PURE__ */ A(vp.div, { className: Fp, initial: "hidden", animate: d, variants: Bp, style: F({
7272
- [Vp]: s === un.Center ? "center" : s === un.Right ? "right" : "left"
7273
- }), children: t }) });
7279
+ [La]: `${n}`,
7280
+ [Ua]: c,
7281
+ [Na]: o ? "center" : "flex-start",
7282
+ [$a]: i ? p.defaultLightText : p.defaultText,
7283
+ [ja]: o ? `calc(100vh - ${g[f]}px - ${x[f]}px)` : "0",
7284
+ [Fa]: `${w[f]}px`,
7285
+ [Ba]: `${v[f]}px`,
7286
+ [Oa]: a ? "0px" : `${S[f]}px`,
7287
+ [Ia]: u ? "0px" : `${P[f]}px`
7288
+ }), children: /* @__PURE__ */ dt(Ep.div, { className: za, initial: "hidden", animate: d, variants: jp, style: F({
7289
+ [_a]: s === un.Center ? "center" : s === un.Right ? "right" : "left"
7290
+ }), children: [
7291
+ t,
7292
+ "ff"
7293
+ ] }) });
7274
7294
  };
7275
- var Ip = { navGap: "var(--_1h6zt340)" }, Pm = { display: "flex", flexDirection: "column", gap: "var(--_1h6zt340)" };
7276
- const Am = ({ children: t, theme: e = B, className: n }) => {
7295
+ var Np = { navGap: "var(--_1h6zt340)" }, Vm = { display: "flex", flexDirection: "column", gap: "var(--_1h6zt340)" };
7296
+ const Rm = ({ children: t, theme: e = B, className: n }) => {
7277
7297
  const r = St(), { nav: { gap: i } } = e;
7278
7298
  return /* @__PURE__ */ A(
7279
7299
  "nav",
7280
7300
  {
7281
7301
  className: n,
7282
7302
  style: F({
7283
- [Ip.navGap]: `${i[r]}px`
7303
+ [Np.navGap]: `${i[r]}px`
7284
7304
  }),
7285
7305
  children: t
7286
7306
  }
7287
7307
  );
7288
7308
  };
7289
- var jp = { navSocialGap: "var(--g7q46n0)" }, Vm = { display: "flex", flexDirection: "row", marginLeft: 0, marginRight: 0, gap: "var(--g7q46n0)" }, Np = "g7q46n1";
7290
- const Rm = ({ navSocial: t, className: e, theme: n = B }) => {
7309
+ var Up = { navSocialGap: "var(--g7q46n0)" }, Em = { display: "flex", flexDirection: "row", marginLeft: 0, marginRight: 0, gap: "var(--g7q46n0)" }, zp = "g7q46n1";
7310
+ const Mm = ({ navSocial: t, className: e, theme: n = B }) => {
7291
7311
  const r = St(), {
7292
7312
  navSocial: { gap: i }
7293
7313
  } = n;
@@ -7296,17 +7316,17 @@ const Rm = ({ navSocial: t, className: e, theme: n = B }) => {
7296
7316
  {
7297
7317
  className: e,
7298
7318
  style: F({
7299
- [jp.navSocialGap]: `${i[r]}px`
7319
+ [Up.navSocialGap]: `${i[r]}px`
7300
7320
  }),
7301
7321
  children: t.map(({ name: s, link: o }, a) => {
7302
7322
  const l = s[0].toUpperCase() + s.slice(1);
7303
- return /* @__PURE__ */ A("div", { className: Np, children: /* @__PURE__ */ A("a", { target: "_blank", rel: "noopener noreferrer", "aria-label": s, href: o, children: /* @__PURE__ */ A(Xt, { theme: n, icon: `social${l}` }) }) }, `navSocialItem-${a}`);
7323
+ return /* @__PURE__ */ A("div", { className: zp, children: /* @__PURE__ */ A("a", { target: "_blank", rel: "noopener noreferrer", "aria-label": s, href: o, children: /* @__PURE__ */ A(Xt, { theme: n, icon: `social${l}` }) }) }, `navSocialItem-${a}`);
7304
7324
  })
7305
7325
  }
7306
7326
  );
7307
7327
  };
7308
- var Up = { navLegalGap: "var(--vehv9e0)" }, Em = { display: "flex", flexDirection: "row", gap: "var(--vehv9e0)" };
7309
- const Mm = ({ children: t, className: e, theme: n = B }) => {
7328
+ var Wp = { navLegalGap: "var(--vehv9e0)" }, km = { display: "flex", flexDirection: "row", gap: "var(--vehv9e0)" };
7329
+ const Dm = ({ children: t, className: e, theme: n = B }) => {
7310
7330
  const r = St(), {
7311
7331
  navLegal: { gap: i }
7312
7332
  } = n;
@@ -7315,14 +7335,14 @@ const Mm = ({ children: t, className: e, theme: n = B }) => {
7315
7335
  {
7316
7336
  className: e,
7317
7337
  style: F({
7318
- [Up.navLegalGap]: `${i[r]}px`
7338
+ [Wp.navLegalGap]: `${i[r]}px`
7319
7339
  }),
7320
7340
  children: t
7321
7341
  }
7322
7342
  );
7323
7343
  };
7324
- var Kn = { formWidth: "var(--dvq5w80)", formPadding: "var(--dvq5w81)", formBackgroundColor: "var(--dvq5w82)" }, km = { width: "100%", maxWidth: "var(--dvq5w80)", backgroundColor: "var(--dvq5w82)", padding: "var(--dvq5w81)", position: "relative", "@media": { "(min-width: 768px)": { padding: "var(--formPadding)" } } };
7325
- const Dm = ({ action: t, children: e, theme: n = B, className: r }) => /* @__PURE__ */ A(
7344
+ var Kn = { formWidth: "var(--dvq5w80)", formPadding: "var(--dvq5w81)", formBackgroundColor: "var(--dvq5w82)" }, _m = { width: "100%", maxWidth: "var(--dvq5w80)", backgroundColor: "var(--dvq5w82)", padding: "var(--dvq5w81)", position: "relative", "@media": { "(min-width: 768px)": { padding: "var(--formPadding)" } } };
7345
+ const Lm = ({ action: t, children: e, theme: n = B, className: r }) => /* @__PURE__ */ A(
7326
7346
  "form",
7327
7347
  {
7328
7348
  className: r,
@@ -7336,7 +7356,7 @@ const Dm = ({ action: t, children: e, theme: n = B, className: r }) => /* @__PUR
7336
7356
  }
7337
7357
  );
7338
7358
  var Qe = { rowGap: "var(--_223sdz0)", rowPadding: "var(--_223sdz1)", rowFontSize: "var(--_223sdz2)", rowJustifyContent: "var(--_223sdz3)" }, dn = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(dn || {});
7339
- const _m = ({
7359
+ const $m = ({
7340
7360
  children: t,
7341
7361
  theme: e = B,
7342
7362
  className: n,
@@ -7356,8 +7376,8 @@ const _m = ({
7356
7376
  children: t
7357
7377
  }
7358
7378
  );
7359
- var It = { font: "var(--k6gj0i0)", color: "var(--k6gj0i1)", border: "var(--k6gj0i2)", borderRadius: "var(--k6gj0i3)", backgroundColor: "var(--k6gj0i4)", padding: "var(--k6gj0i5)", placeholderColor: "var(--k6gj0i6)", placeholderOpacity: "var(--k6gj0i7)" }, Lm = { width: "100%", fontSize: "inherit", lineHeight: "1.5em", fontFamily: "var(--k6gj0i0)", color: "var(--k6gj0i1)", border: "var(--k6gj0i2)", borderRadius: "var(--k6gj0i3)", backgroundColor: "var(--k6gj0i4)", padding: "var(--k6gj0i5)", selectors: { "&:focus": { outline: "var(--k6gj0i2)" } } }, ei = /* @__PURE__ */ ((t) => (t.Text = "text", t.Email = "email", t.Search = "search", t.Number = "number", t.Hidden = "hidden", t.Password = "password", t))(ei || {});
7360
- const zp = ({
7379
+ var It = { font: "var(--k6gj0i0)", color: "var(--k6gj0i1)", border: "var(--k6gj0i2)", borderRadius: "var(--k6gj0i3)", backgroundColor: "var(--k6gj0i4)", padding: "var(--k6gj0i5)", placeholderColor: "var(--k6gj0i6)", placeholderOpacity: "var(--k6gj0i7)" }, Om = { width: "100%", fontSize: "inherit", lineHeight: "1.5em", fontFamily: "var(--k6gj0i0)", color: "var(--k6gj0i1)", border: "var(--k6gj0i2)", borderRadius: "var(--k6gj0i3)", backgroundColor: "var(--k6gj0i4)", padding: "var(--k6gj0i5)", selectors: { "&:focus": { outline: "var(--k6gj0i2)" } } }, ei = /* @__PURE__ */ ((t) => (t.Text = "text", t.Email = "email", t.Search = "search", t.Number = "number", t.Hidden = "hidden", t.Password = "password", t))(ei || {});
7380
+ const qp = ({
7361
7381
  name: t,
7362
7382
  value: e = "",
7363
7383
  type: n = ei.Text,
@@ -7389,8 +7409,8 @@ const zp = ({
7389
7409
  })
7390
7410
  }
7391
7411
  );
7392
- var jt = { font: "var(--l5ei120)", color: "var(--l5ei121)", border: "var(--l5ei122)", borderRadius: "var(--l5ei123)", padding: "var(--l5ei124)", backgroundColor: "var(--l5ei125)", placeholderColor: "var(--l5ei126)", placeholderOpacity: "var(--l5ei127)" }, $m = {};
7393
- const Wp = ({
7412
+ var jt = { font: "var(--l5ei120)", color: "var(--l5ei121)", border: "var(--l5ei122)", borderRadius: "var(--l5ei123)", padding: "var(--l5ei124)", backgroundColor: "var(--l5ei125)", placeholderColor: "var(--l5ei126)", placeholderOpacity: "var(--l5ei127)" }, Fm = {};
7413
+ const Gp = ({
7394
7414
  name: t,
7395
7415
  value: e,
7396
7416
  rows: n = 2,
@@ -7422,14 +7442,14 @@ const Wp = ({
7422
7442
  })
7423
7443
  }
7424
7444
  );
7425
- var tn = { font: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" }, Om = { width: "100%", textAlign: "left", fontFamily: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" };
7426
- const qp = ({
7445
+ var tn = { font: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" }, Bm = { width: "100%", textAlign: "left", fontFamily: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" };
7446
+ const Hp = ({
7427
7447
  name: t,
7428
7448
  label: e,
7429
7449
  required: n = !1,
7430
7450
  theme: r = B,
7431
7451
  className: i
7432
- }) => /* @__PURE__ */ ht(
7452
+ }) => /* @__PURE__ */ dt(
7433
7453
  "label",
7434
7454
  {
7435
7455
  htmlFor: t,
@@ -7446,8 +7466,8 @@ const qp = ({
7446
7466
  ]
7447
7467
  }
7448
7468
  );
7449
- var Gp = { errorColor: "var(--_1e95ziv0)" }, Fm = {}, _a = /* @__PURE__ */ ((t) => (t.Textarea = "textarea", t))(_a || {});
7450
- const Bm = ({
7469
+ var Kp = { errorColor: "var(--_1e95ziv0)" }, Im = {}, Wa = /* @__PURE__ */ ((t) => (t.Textarea = "textarea", t))(Wa || {});
7470
+ const jm = ({
7451
7471
  name: t,
7452
7472
  label: e = "",
7453
7473
  value: n = "",
@@ -7460,15 +7480,15 @@ const Bm = ({
7460
7480
  onChange: c = void 0,
7461
7481
  type: u = ei.Text,
7462
7482
  className: d
7463
- }) => /* @__PURE__ */ ht("div", { className: d, style: F({
7464
- [Gp.errorColor]: l.form.error.color
7483
+ }) => /* @__PURE__ */ dt("div", { className: d, style: F({
7484
+ [Kp.errorColor]: l.form.error.color
7465
7485
  }), children: [
7466
- e && /* @__PURE__ */ A(qp, { className: "", theme: l, label: e, name: t, required: i }),
7467
- u === _a.Textarea ? /* @__PURE__ */ A(Wp, { className: "", value: n, rows: r, name: t, theme: l, onChange: c, disabled: s, placeholder: o }) : /* @__PURE__ */ A(zp, { className: "", value: n, type: u, name: t, theme: l, onChange: c, disabled: s, placeholder: o }),
7486
+ e && /* @__PURE__ */ A(Hp, { className: "", theme: l, label: e, name: t, required: i }),
7487
+ u === Wa.Textarea ? /* @__PURE__ */ A(Gp, { className: "", value: n, rows: r, name: t, theme: l, onChange: c, disabled: s, placeholder: o }) : /* @__PURE__ */ A(qp, { className: "", value: n, type: u, name: t, theme: l, onChange: c, disabled: s, placeholder: o }),
7468
7488
  a && /* @__PURE__ */ A("div", { children: a instanceof Array ? a.map((f, h) => /* @__PURE__ */ A("span", { children: f }, h)) : a })
7469
7489
  ] });
7470
- var kt = { overlayBlur: "var(--pewdww0)", overlayOpacity: "var(--pewdww1)", overlayBackgroundColor: "var(--pewdww2)", width: "var(--pewdww3)", backgroundColor: "var(--pewdww4)", borderRadius: "var(--pewdww5)", borders: "var(--pewdww6)", actionsGap: "var(--pewdww7)", actionsPaddingTop: "var(--pewdww8)" }, Im = {};
7471
- function Hp(t) {
7490
+ var kt = { overlayBlur: "var(--pewdww0)", overlayOpacity: "var(--pewdww1)", overlayBackgroundColor: "var(--pewdww2)", width: "var(--pewdww3)", backgroundColor: "var(--pewdww4)", borderRadius: "var(--pewdww5)", borders: "var(--pewdww6)", actionsGap: "var(--pewdww7)", actionsPaddingTop: "var(--pewdww8)" }, Nm = {};
7491
+ function Yp(t) {
7472
7492
  const e = t + "=", r = decodeURIComponent(document.cookie).split(";");
7473
7493
  for (let i = 0; i < r.length; i++) {
7474
7494
  let s = r[i];
@@ -7479,13 +7499,13 @@ function Hp(t) {
7479
7499
  }
7480
7500
  return "";
7481
7501
  }
7482
- function Kp(t, e, n) {
7502
+ function Xp(t, e, n) {
7483
7503
  const r = /* @__PURE__ */ new Date();
7484
7504
  r.setTime(r.getTime() + n * 24 * 60 * 60 * 1e3);
7485
7505
  const i = "expires=" + r.toUTCString();
7486
7506
  document.cookie = t + "=" + e + ";" + i + ";path=/";
7487
7507
  }
7488
- const jm = ({
7508
+ const Um = ({
7489
7509
  children: t,
7490
7510
  theme: e = B,
7491
7511
  cookieName: n = "consent",
@@ -7494,14 +7514,14 @@ const jm = ({
7494
7514
  className: s
7495
7515
  }) => {
7496
7516
  const [o, a] = _t(!1), l = (c) => {
7497
- a(!1), Kp(n, `${c}`, i);
7517
+ a(!1), Xp(n, `${c}`, i);
7498
7518
  };
7499
7519
  return wt(() => {
7500
- const c = Hp(n), u = c !== "true" && c !== "false", d = c === "true";
7520
+ const c = Yp(n), u = c !== "true" && c !== "false", d = c === "true";
7501
7521
  u && a(!0);
7502
7522
  const f = d ? "granted" : "denied";
7503
7523
  typeof window.gtag < "u" && window.gtag("consent", "update", { analytics_storage: f });
7504
- }, [o]), o ? /* @__PURE__ */ ht(
7524
+ }, [o]), o ? /* @__PURE__ */ dt(
7505
7525
  "div",
7506
7526
  {
7507
7527
  className: s,
@@ -7518,7 +7538,7 @@ const jm = ({
7518
7538
  }),
7519
7539
  children: [
7520
7540
  t,
7521
- /* @__PURE__ */ ht("div", { children: [
7541
+ /* @__PURE__ */ dt("div", { children: [
7522
7542
  /* @__PURE__ */ A(pi, { className: "", onClick: () => l(!1), children: (r == null ? void 0 : r.actions.reject) || "Reject" }),
7523
7543
  /* @__PURE__ */ A(pi, { className: "", onClick: () => l(!0), children: (r == null ? void 0 : r.actions.accept) || "Accept" })
7524
7544
  ] })
@@ -7527,62 +7547,63 @@ const jm = ({
7527
7547
  ) : null;
7528
7548
  };
7529
7549
  export {
7530
- Qp as Actions,
7550
+ em as Actions,
7531
7551
  Te as ActionsAlign,
7532
- Jp as ActionsStyles,
7552
+ tm as ActionsStyles,
7533
7553
  pi as Button,
7534
7554
  sn as ButtonSize,
7535
7555
  Qn as ButtonStyle,
7536
- Zp as ButtonStyles,
7556
+ Qp as ButtonStyles,
7537
7557
  to as ButtonType,
7538
7558
  Jn as ButtonVariant,
7539
- om as Carousel,
7540
- sm as CarouselStyles,
7541
- xm as Columns,
7559
+ lm as Carousel,
7560
+ am as CarouselStyles,
7561
+ Sm as Columns,
7542
7562
  Ce as ColumnsAlign,
7543
- bm as ColumnsStyles,
7544
- jm as ConsentCookie,
7545
- Im as ConsentCookieStyles,
7546
- vm as Footer,
7547
- ym as FooterStyles,
7548
- Dm as Form,
7549
- _m as FormRow,
7563
+ wm as ColumnsStyles,
7564
+ Um as ConsentCookie,
7565
+ Nm as ConsentCookieStyles,
7566
+ xm as Footer,
7567
+ bm as FooterStyles,
7568
+ Lm as Form,
7569
+ $m as FormRow,
7550
7570
  dn as FormRowAlign,
7551
- km as FormStyles,
7552
- gm as Header,
7553
- mm as HeaderStyles,
7571
+ _m as FormStyles,
7572
+ vm as Header,
7573
+ ym as HeaderStyles,
7554
7574
  Xt as Icon,
7555
- tm as IconStyles,
7556
- Lm as InputStyles,
7575
+ nm as IconStyles,
7576
+ Om as InputStyles,
7557
7577
  ei as InputType,
7558
- lm as KeyNumber,
7559
- am as KeyNumberStyles,
7560
- fm as LanguageSwitcher,
7561
- dm as LanguageSwitcherStyles,
7562
- im as Logo,
7563
- rm as LogoStyles,
7564
- pm as Main,
7565
- hm as MainStyles,
7566
- nm as Modal,
7567
- em as ModalStyles,
7568
- Am as Nav,
7569
- Mm as NavLegal,
7570
- Em as NavLegalStyles,
7571
- Rm as NavSocial,
7572
- Vm as NavSocialStyles,
7573
- Pm as NavStyles,
7574
- Cm as Section,
7578
+ um as KeyNumber,
7579
+ cm as KeyNumberStyles,
7580
+ pm as LanguageSwitcher,
7581
+ hm as LanguageSwitcherStyles,
7582
+ om as Logo,
7583
+ sm as LogoStyles,
7584
+ gm as Main,
7585
+ mm as MainStyles,
7586
+ im as Modal,
7587
+ rm as ModalStyles,
7588
+ Rm as Nav,
7589
+ Dm as NavLegal,
7590
+ km as NavLegalStyles,
7591
+ Mm as NavSocial,
7592
+ Em as NavSocialStyles,
7593
+ Vm as NavStyles,
7594
+ Am as Section,
7575
7595
  un as SectionAlign,
7576
- Tm as SectionStyles,
7577
- Bm as TextField,
7578
- zp as TextFieldInput,
7579
- qp as TextFieldLabel,
7580
- Om as TextFieldLabelStyles,
7581
- Fm as TextFieldStyles,
7582
- Wp as TextFieldTextarea,
7583
- $m as TextareaStyles,
7584
- _a as TextareaType,
7585
- xc as Video,
7586
- um as VideoFullWidth,
7587
- cm as VideoFullWidthStyles
7596
+ Bp as SectionStyles,
7597
+ jm as TextField,
7598
+ qp as TextFieldInput,
7599
+ Hp as TextFieldLabel,
7600
+ Bm as TextFieldLabelStyles,
7601
+ Im as TextFieldStyles,
7602
+ Gp as TextFieldTextarea,
7603
+ Fm as TextareaStyles,
7604
+ Wa as TextareaType,
7605
+ kc as Video,
7606
+ fm as VideoFullWidth,
7607
+ dm as VideoFullWidthStyles,
7608
+ Pm as allStyles
7588
7609
  };