@ukpc-lib/react 0.2.35 → 0.2.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import { C as ln, p as Zn, a as Hc, b as Uc, L as lo, u as Yc, i as Gc, g as qc, Q as ma, R as Kc, l as Xc, c as kn, d as Zc, s as On, _ as W, e as st, P as R, f as Fe, h as Jc, o as Qc, j as eu, k as tu, m as co, n as uo, I as nu, q as ru, r as fo, D as iu, t as ut, v as ou, w as su, x as au, y as Mn } from "../index.module-68397449.js";
2
- import { z as i5, A as o5 } from "../index.module-68397449.js";
1
+ import { C as ln, p as Zn, a as Hc, b as Uc, L as lo, u as Yc, i as Gc, g as qc, Q as ma, R as Kc, l as Xc, c as kn, d as Zc, s as On, _ as W, e as st, P as R, f as Fe, h as Jc, o as Qc, j as eu, k as tu, m as co, n as uo, I as nu, q as ru, r as fo, D as iu, t as ut, v as ou, w as su, x as au, y as Mn } from "../index.module-bed22321.js";
2
+ import { z as i5, A as o5 } from "../index.module-bed22321.js";
3
3
  import { jsxs as P, Fragment as jt, jsx as g } from "react/jsx-runtime";
4
4
  import * as N from "react";
5
- import xi, { useContext as ie, useState as Y, useEffect as be, useRef as ze, createContext as Bt, useLayoutEffect as wi, useInsertionEffect as lu, useCallback as en, useMemo as hr, forwardRef as ga, createElement as tn, useId as cu, PureComponent as uu } from "react";
5
+ import xi, { useContext as ie, useState as U, useEffect as be, useRef as ze, createContext as Bt, useLayoutEffect as wi, useInsertionEffect as lu, useCallback as en, useMemo as hr, forwardRef as ga, createElement as tn, useId as cu, PureComponent as uu } from "react";
6
6
  import { c as ya } from "../Colors-4ad88021.js";
7
7
  import oe from "moment";
8
8
  import cn from "axios";
@@ -42,7 +42,7 @@ function ba({
42
42
  ] }) })
43
43
  ] });
44
44
  }
45
- function Cu({ primaryColor: e = "#009d4f" }) {
45
+ function _u({ primaryColor: e = "#009d4f" }) {
46
46
  return /* @__PURE__ */ P(
47
47
  "svg",
48
48
  {
@@ -97,7 +97,7 @@ function Cu({ primaryColor: e = "#009d4f" }) {
97
97
  }
98
98
  );
99
99
  }
100
- const _u = (e) => {
100
+ const Cu = (e) => {
101
101
  const { tabs: t } = e, n = (r) => {
102
102
  e.setCurrentTab(r.target.id);
103
103
  };
@@ -135,16 +135,16 @@ const _u = (e) => {
135
135
  if (o === 0) {
136
136
  if (a <= 60)
137
137
  return `${a} minute${a > 1 ? "s" : ""} ago`;
138
- const u = Math.floor(a / 60);
139
- return console.log("diffIhours", u), `${u} hour${u > 1 ? "s" : ""} ago`;
138
+ const d = Math.floor(a / 60);
139
+ return console.log("diffIhours", d), `${d} hour${d > 1 ? "s" : ""} ago`;
140
140
  }
141
141
  if (o === 1)
142
142
  return "Yesterday";
143
143
  if (o >= 2 && o < 7)
144
144
  return `${o} days ago`;
145
145
  if (o < 30) {
146
- const u = Math.floor(o / 7);
147
- return `${u} week${u > 1 ? "s" : ""} ago`;
146
+ const d = Math.floor(o / 7);
147
+ return `${d} week${d > 1 ? "s" : ""} ago`;
148
148
  }
149
149
  return l === 1 ? "1 month ago" : l < 12 ? `${l} months ago` : c === 1 ? "1 year ago" : "Over 1 year ago";
150
150
  };
@@ -224,20 +224,20 @@ const _u = (e) => {
224
224
  withCredentials: !0
225
225
  });
226
226
  Promise.all([o, a]).then((l) => {
227
- var c, u, d, h;
227
+ var c, d, u, h;
228
228
  console.log("result: " + l), n({
229
- all: { rows: (c = l[0].data) == null ? void 0 : c.rows, total: (u = l[0].data) == null ? void 0 : u.total },
229
+ all: { rows: (c = l[0].data) == null ? void 0 : c.rows, total: (d = l[0].data) == null ? void 0 : d.total },
230
230
  unread: {
231
- rows: (d = l[1].data) == null ? void 0 : d.rows,
231
+ rows: (u = l[1].data) == null ? void 0 : u.rows,
232
232
  total: (h = l[1].data) == null ? void 0 : h.total
233
233
  }
234
234
  });
235
235
  });
236
236
  }, Pu = ({ baseUrl: e, notiPath: t }) => {
237
- var d, h, p, y;
237
+ var u, h, p, y;
238
238
  const { setShowModalFalse: n } = ie(ln), { notidata: r, setNotiData: i } = ie(ln);
239
239
  console.log(r);
240
- const [s, o] = Y("all"), a = xa({ baseUrl: e, notiPath: t, setNotiData: i }), l = async () => {
240
+ const [s, o] = U("all"), a = xa({ baseUrl: e, notiPath: t, setNotiData: i }), l = async () => {
241
241
  var f, m;
242
242
  try {
243
243
  const w = e + (t || "/notification-management/api/v1/notifications");
@@ -267,10 +267,10 @@ const _u = (e) => {
267
267
  );
268
268
  }
269
269
  await a();
270
- }, u = [
270
+ }, d = [
271
271
  {
272
272
  id: "all",
273
- tabTitle: `All (${((d = r == null ? void 0 : r.all) == null ? void 0 : d.total) || 0})`,
273
+ tabTitle: `All (${((u = r == null ? void 0 : r.all) == null ? void 0 : u.total) || 0})`,
274
274
  children: /* @__PURE__ */ g(
275
275
  po,
276
276
  {
@@ -347,9 +347,9 @@ const _u = (e) => {
347
347
  }
348
348
  ),
349
349
  /* @__PURE__ */ g(
350
- _u,
350
+ Cu,
351
351
  {
352
- tabs: u,
352
+ tabs: d,
353
353
  setCurrentTab: o,
354
354
  currentTab: s
355
355
  }
@@ -363,14 +363,14 @@ function Au({
363
363
  baseUrl: t,
364
364
  notiPath: n
365
365
  }) {
366
- var c, u;
366
+ var c, d;
367
367
  const { isOpen: r, toggleOpen: i } = ie(ln), { notidata: s, setNotiData: o } = ie(ln), a = xa({ baseUrl: t, notiPath: n, setNotiData: o }), l = async () => {
368
- var d, h;
368
+ var u, h;
369
369
  try {
370
370
  await a();
371
371
  } catch (p) {
372
372
  Zn(
373
- ((h = (d = p.response) == null ? void 0 : d.data) == null ? void 0 : h.errorMessage) || "Have error when get notification list"
373
+ ((h = (u = p.response) == null ? void 0 : u.data) == null ? void 0 : h.errorMessage) || "Have error when get notification list"
374
374
  );
375
375
  }
376
376
  };
@@ -433,7 +433,7 @@ function Au({
433
433
  justifyContent: "center"
434
434
  },
435
435
  className: "notification-badge",
436
- children: ((c = s == null ? void 0 : s.unread) == null ? void 0 : c.total) > 9 ? "9+" : `${(u = s == null ? void 0 : s.unread) == null ? void 0 : u.total}`
436
+ children: ((c = s == null ? void 0 : s.unread) == null ? void 0 : c.total) > 9 ? "9+" : `${(d = s == null ? void 0 : s.unread) == null ? void 0 : d.total}`
437
437
  }
438
438
  )
439
439
  ] }),
@@ -454,7 +454,7 @@ const Ou = `.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.
454
454
  `, Du = `._notification-massage_container_ql4az_1{background:#fff;padding:0 64px 0 84px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif}._notification-massage_container_ql4az_1:before{position:absolute;content:"";width:48px;height:48px;background:url(https://ukpcsaprod.blob.core.windows.net/saas/notification-icon.svg) no-repeat center/100%;top:12px;left:24px}._notification-name_ql4az_18{font-weight:500;font-size:14px}._notification-message_service_ql4az_23{font-size:12px}._notification-message_button-close_ql4az_27{position:absolute;top:12px;right:24px;width:24px;height:24px}
455
455
  `, Ru = `._subscription-diaglog_12x9u_2{position:fixed;width:100vw;height:100vh;top:0;left:0;background-color:#0006;z-index:10000;display:flex;align-items:center;justify-content:center}._subscription-container_12x9u_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff}._subscription-title_12x9u_24{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_12x9u_24,._subscription-text_12x9u_33{margin-bottom:24px}._subscription-btn__container_12x9u_37{display:flex;justify-content:space-between;align-items:center}._btn-success_12x9u_43,._btn-cancel_12x9u_44{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px}._btn-cancel_12x9u_44{background-color:#ddd}._btn-success_12x9u_43{background-color:#93d500}
456
456
  `;
457
- function Vu(e) {
457
+ function Iu(e) {
458
458
  return /* @__PURE__ */ P(
459
459
  "svg",
460
460
  {
@@ -523,7 +523,7 @@ function Vu(e) {
523
523
  }
524
524
  );
525
525
  }
526
- function Iu(e) {
526
+ function Vu(e) {
527
527
  return /* @__PURE__ */ P(
528
528
  "svg",
529
529
  {
@@ -574,7 +574,7 @@ function j3({
574
574
  ...i,
575
575
  color: (o == null ? void 0 : o.color) || "black",
576
576
  backgroundColor: (o == null ? void 0 : o.bgColor) || "black"
577
- }, [u, d] = Y(!1), h = () => {
577
+ }, [d, u] = U(!1), h = () => {
578
578
  window.location.href = `${n}/authentication/logout?callbackUrl=${window.location.href}`;
579
579
  };
580
580
  return /* @__PURE__ */ P(
@@ -622,7 +622,7 @@ function j3({
622
622
  }
623
623
  )
624
624
  ] }) }),
625
- /* @__PURE__ */ g("span", { className: "cursor-pointer", children: /* @__PURE__ */ g(Cu, { primaryColor: o == null ? void 0 : o.primaryColor }) }),
625
+ /* @__PURE__ */ g("span", { className: "cursor-pointer", children: /* @__PURE__ */ g(_u, { primaryColor: o == null ? void 0 : o.primaryColor }) }),
626
626
  /* @__PURE__ */ g(
627
627
  Lu,
628
628
  {
@@ -636,7 +636,7 @@ function j3({
636
636
  primaryColor: o == null ? void 0 : o.primaryColor,
637
637
  avatarUrl: t == null ? void 0 : t.avatarUrl,
638
638
  userName: t == null ? void 0 : t.firstName,
639
- setShowConfirmModal: d
639
+ setShowConfirmModal: u
640
640
  }
641
641
  ),
642
642
  /* @__PURE__ */ g("p", { className: "userFullName", children: `${(t == null ? void 0 : t.firstName) || "Unknown"} ${(t == null ? void 0 : t.lastName) || "User"}` })
@@ -648,8 +648,8 @@ function j3({
648
648
  /* @__PURE__ */ g(
649
649
  ba,
650
650
  {
651
- isOpen: u,
652
- onClose: () => d(!1),
651
+ isOpen: d,
652
+ onClose: () => u(!1),
653
653
  onConfirm: h
654
654
  }
655
655
  )
@@ -660,25 +660,43 @@ function j3({
660
660
  function Lu({
661
661
  primaryColor: e = "#009d4f"
662
662
  }) {
663
- var a;
664
- const [t, n] = Y(!1), r = ze(null), i = [
663
+ var h;
664
+ const t = [
665
665
  {
666
666
  value: lo.en,
667
- element: /* @__PURE__ */ g(Vu, {})
667
+ element: /* @__PURE__ */ g(Iu, {})
668
668
  },
669
669
  {
670
670
  value: lo.de,
671
- element: /* @__PURE__ */ g(Iu, {})
671
+ element: /* @__PURE__ */ g(Vu, {})
672
672
  }
673
- ], { language: s, setLanguage: o } = Yc();
674
- return be(() => {
675
- const l = (c) => {
676
- r.current && !r.current.contains(c.target) && n(!1);
673
+ ], [n, r] = U(!1), i = ze(null), [s, o] = U(
674
+ new Array(t.length).fill(!1)
675
+ ), a = {
676
+ width: "100px",
677
+ padding: "8px",
678
+ display: "flex",
679
+ alignItems: "center",
680
+ justifyContent: "center",
681
+ cursor: "pointer",
682
+ transition: "background-color 0.2s ease-in-out"
683
+ }, { language: l, setLanguage: c } = Yc();
684
+ be(() => {
685
+ const p = (y) => {
686
+ i.current && !i.current.contains(y.target) && r(!1);
677
687
  };
678
- return document.addEventListener("click", l, !0), () => {
679
- document.removeEventListener("click", l, !0);
688
+ return document.addEventListener("click", p, !0), () => {
689
+ document.removeEventListener("click", p, !0);
680
690
  };
681
- }, [r]), /* @__PURE__ */ P(
691
+ }, [i]);
692
+ const d = (p) => {
693
+ o((y) => y.map((f, m) => m === p));
694
+ }, u = (p) => {
695
+ o(
696
+ (y) => y.map((f, m) => !1)
697
+ );
698
+ };
699
+ return /* @__PURE__ */ P(
682
700
  "div",
683
701
  {
684
702
  className: "languageDropdownContainer",
@@ -689,11 +707,11 @@ function Lu({
689
707
  {
690
708
  className: "languageDropdown",
691
709
  onClick: () => {
692
- n(!t);
710
+ r(!n);
693
711
  },
694
- ref: r,
712
+ ref: i,
695
713
  children: [
696
- (a = i.find((l) => l.value == s)) == null ? void 0 : a.element,
714
+ (h = t.find((p) => p.value == l)) == null ? void 0 : h.element,
697
715
  /* @__PURE__ */ g(
698
716
  "svg",
699
717
  {
@@ -719,7 +737,7 @@ function Lu({
719
737
  {
720
738
  className: "dropdownListLanguage",
721
739
  style: {
722
- display: t ? "block" : "none",
740
+ display: n ? "block" : "none",
723
741
  position: "absolute",
724
742
  top: "53px",
725
743
  right: "0px",
@@ -727,28 +745,20 @@ function Lu({
727
745
  boxShadow: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
728
746
  backgroundColor: "#fafafa"
729
747
  },
730
- children: i.filter((l) => l.value !== s).map((l) => /* @__PURE__ */ g(
748
+ children: t.filter((p) => p.value !== l).map((p, y) => /* @__PURE__ */ g(
731
749
  "div",
732
750
  {
733
751
  className: "languageItem",
734
752
  style: {
735
- width: "100px",
736
- padding: "8px",
737
- display: "flex",
738
- alignItems: "center",
739
- justifyContent: "center",
740
- cursor: "pointer"
741
- },
742
- onMouseEnter: (c) => {
743
- c.currentTarget.style.backgroundColor = e, c.currentTarget.style.transition = "background-color 0.3s ease-in-out";
744
- },
745
- onMouseLeave: (c) => {
746
- c.currentTarget.style.backgroundColor = "#fafafa", c.currentTarget.style.transition = "background-color 0.3s ease-out";
753
+ ...a,
754
+ backgroundColor: s[y] ? e : "transparent"
747
755
  },
756
+ onMouseEnter: () => d(y),
757
+ onMouseLeave: () => u(y),
748
758
  onClick: () => {
749
- o(l.value), localStorage.setItem("language", l.value), Gc.changeLanguage(l.value), n(!1), window.location.reload();
759
+ c(p.value), localStorage.setItem("language", p.value), Gc.changeLanguage(p.value), r(!1), u(y);
750
760
  },
751
- children: l.element
761
+ children: p.element
752
762
  }
753
763
  ))
754
764
  }
@@ -763,10 +773,10 @@ function $u({
763
773
  setShowConfirmModal: n,
764
774
  primaryColor: r = "#009d4f"
765
775
  }) {
766
- const [i, s] = Y(!1), o = ze(null), a = ze(null), [l, c] = Y(!1), [u, d] = Y(!1), h = {
776
+ const [i, s] = U(!1), o = ze(null), a = ze(null), [l, c] = U(!1), [d, u] = U(!1), h = {
767
777
  backgroundColor: l ? r : "transparent"
768
778
  }, p = {
769
- backgroundColor: u ? r : "transparent"
779
+ backgroundColor: d ? r : "transparent"
770
780
  };
771
781
  return be(() => {
772
782
  const y = (f) => {
@@ -804,8 +814,8 @@ function $u({
804
814
  /* @__PURE__ */ g(
805
815
  "li",
806
816
  {
807
- onMouseEnter: () => d(!0),
808
- onMouseLeave: () => d(!1),
817
+ onMouseEnter: () => u(!0),
818
+ onMouseLeave: () => u(!1),
809
819
  style: p,
810
820
  className: "avatar-dropdown-item",
811
821
  children: "Profile"
@@ -892,30 +902,30 @@ function yo(e) {
892
902
  var ud = function() {
893
903
  return Sa.Date.now();
894
904
  };
895
- const Vr = ud;
905
+ const Ir = ud;
896
906
  var dd = "Expected a function", fd = Math.max, hd = Math.min;
897
907
  function Fn(e, t, n) {
898
- var r, i, s, o, a, l, c = 0, u = !1, d = !1, h = !0;
908
+ var r, i, s, o, a, l, c = 0, d = !1, u = !1, h = !0;
899
909
  if (typeof e != "function")
900
910
  throw new TypeError(dd);
901
- t = yo(t) || 0, Qn(n) && (u = !!n.leading, d = "maxWait" in n, s = d ? fd(yo(n.maxWait) || 0, t) : s, h = "trailing" in n ? !!n.trailing : h);
911
+ t = yo(t) || 0, Qn(n) && (d = !!n.leading, u = "maxWait" in n, s = u ? fd(yo(n.maxWait) || 0, t) : s, h = "trailing" in n ? !!n.trailing : h);
902
912
  function p(E) {
903
- var C = r, _ = i;
904
- return r = i = void 0, c = E, o = e.apply(_, C), o;
913
+ var _ = r, C = i;
914
+ return r = i = void 0, c = E, o = e.apply(C, _), o;
905
915
  }
906
916
  function y(E) {
907
- return c = E, a = setTimeout(b, t), u ? p(E) : o;
917
+ return c = E, a = setTimeout(b, t), d ? p(E) : o;
908
918
  }
909
919
  function f(E) {
910
- var C = E - l, _ = E - c, A = t - C;
911
- return d ? hd(A, s - _) : A;
920
+ var _ = E - l, C = E - c, A = t - _;
921
+ return u ? hd(A, s - C) : A;
912
922
  }
913
923
  function m(E) {
914
- var C = E - l, _ = E - c;
915
- return l === void 0 || C >= t || C < 0 || d && _ >= s;
924
+ var _ = E - l, C = E - c;
925
+ return l === void 0 || _ >= t || _ < 0 || u && C >= s;
916
926
  }
917
927
  function b() {
918
- var E = Vr();
928
+ var E = Ir();
919
929
  if (m(E))
920
930
  return w(E);
921
931
  a = setTimeout(b, f(E));
@@ -927,14 +937,14 @@ function Fn(e, t, n) {
927
937
  a !== void 0 && clearTimeout(a), c = 0, r = l = i = a = void 0;
928
938
  }
929
939
  function S() {
930
- return a === void 0 ? o : w(Vr());
940
+ return a === void 0 ? o : w(Ir());
931
941
  }
932
942
  function v() {
933
- var E = Vr(), C = m(E);
934
- if (r = arguments, i = this, l = E, C) {
943
+ var E = Ir(), _ = m(E);
944
+ if (r = arguments, i = this, l = E, _) {
935
945
  if (a === void 0)
936
946
  return y(l);
937
- if (d)
947
+ if (u)
938
948
  return clearTimeout(a), a = setTimeout(b, t), p(l);
939
949
  }
940
950
  return a === void 0 && (a = setTimeout(b, t)), o;
@@ -953,7 +963,7 @@ function md(e, t, n) {
953
963
  });
954
964
  }
955
965
  var gd = !!(typeof window < "u" && window.document && window.document.createElement), yd = gd;
956
- const Ca = /* @__PURE__ */ qc(yd);
966
+ const _a = /* @__PURE__ */ qc(yd);
957
967
  var kt = function() {
958
968
  return kt = Object.assign || function(t) {
959
969
  for (var n, r = 1, i = arguments.length; r < i; r++) {
@@ -964,7 +974,7 @@ var kt = function() {
964
974
  return t;
965
975
  }, kt.apply(this, arguments);
966
976
  }, At = null, vo = null;
967
- Ca && window.addEventListener("resize", function() {
977
+ _a && window.addEventListener("resize", function() {
968
978
  vo !== window.devicePixelRatio && (vo = window.devicePixelRatio, At = null);
969
979
  });
970
980
  function bo() {
@@ -978,7 +988,7 @@ function bo() {
978
988
  }
979
989
  return At;
980
990
  }
981
- function _a(e) {
991
+ function Ca(e) {
982
992
  return !e || !e.ownerDocument || !e.ownerDocument.defaultView ? window : e.ownerDocument.defaultView;
983
993
  }
984
994
  function Ta(e) {
@@ -1023,13 +1033,13 @@ function Oa(e) {
1023
1033
  }
1024
1034
  var vd = /* @__PURE__ */ Object.freeze({
1025
1035
  __proto__: null,
1026
- getElementWindow: _a,
1036
+ getElementWindow: Ca,
1027
1037
  getElementDocument: Ta,
1028
1038
  getOptions: Pa,
1029
1039
  addClasses: Aa,
1030
1040
  removeClasses: ka,
1031
1041
  classNamesToQuery: Oa
1032
- }), Xe = _a, Ir = Ta, bd = Pa, Ze = Aa, Je = ka, he = Oa, Nn = (
1042
+ }), Xe = Ca, Vr = Ta, bd = Pa, Ze = Aa, Je = ka, he = Oa, Nn = (
1033
1043
  /** @class */
1034
1044
  function() {
1035
1045
  function e(t, n) {
@@ -1064,17 +1074,17 @@ var vd = /* @__PURE__ */ Object.freeze({
1064
1074
  r.axis.x.track.rect = r.axis.x.track.el.getBoundingClientRect(), r.axis.y.track.rect = r.axis.y.track.el.getBoundingClientRect(), (r.axis.x.isOverflowing || r.axis.x.forceVisible) && (s = r.isWithinBounds(r.axis.x.track.rect)), (r.axis.y.isOverflowing || r.axis.y.forceVisible) && (o = r.isWithinBounds(r.axis.y.track.rect)), (s || o) && (i.stopPropagation(), i.type === "pointerdown" && i.pointerType !== "touch" && (s && (r.axis.x.scrollbar.rect = r.axis.x.scrollbar.el.getBoundingClientRect(), r.isWithinBounds(r.axis.x.scrollbar.rect) ? r.onDragStart(i, "x") : r.onTrackClick(i, "x")), o && (r.axis.y.scrollbar.rect = r.axis.y.scrollbar.el.getBoundingClientRect(), r.isWithinBounds(r.axis.y.scrollbar.rect) ? r.onDragStart(i, "y") : r.onTrackClick(i, "y"))));
1065
1075
  }
1066
1076
  }, this.drag = function(i) {
1067
- var s, o, a, l, c, u, d, h, p, y, f;
1077
+ var s, o, a, l, c, d, u, h, p, y, f;
1068
1078
  if (!(!r.draggedAxis || !r.contentWrapperEl)) {
1069
- var m, b = r.axis[r.draggedAxis].track, w = (o = (s = b.rect) === null || s === void 0 ? void 0 : s[r.axis[r.draggedAxis].sizeAttr]) !== null && o !== void 0 ? o : 0, x = r.axis[r.draggedAxis].scrollbar, S = (l = (a = r.contentWrapperEl) === null || a === void 0 ? void 0 : a[r.axis[r.draggedAxis].scrollSizeAttr]) !== null && l !== void 0 ? l : 0, v = parseInt((u = (c = r.elStyles) === null || c === void 0 ? void 0 : c[r.axis[r.draggedAxis].sizeAttr]) !== null && u !== void 0 ? u : "0px", 10);
1079
+ var m, b = r.axis[r.draggedAxis].track, w = (o = (s = b.rect) === null || s === void 0 ? void 0 : s[r.axis[r.draggedAxis].sizeAttr]) !== null && o !== void 0 ? o : 0, x = r.axis[r.draggedAxis].scrollbar, S = (l = (a = r.contentWrapperEl) === null || a === void 0 ? void 0 : a[r.axis[r.draggedAxis].scrollSizeAttr]) !== null && l !== void 0 ? l : 0, v = parseInt((d = (c = r.elStyles) === null || c === void 0 ? void 0 : c[r.axis[r.draggedAxis].sizeAttr]) !== null && d !== void 0 ? d : "0px", 10);
1070
1080
  i.preventDefault(), i.stopPropagation(), r.draggedAxis === "y" ? m = i.pageY : m = i.pageX;
1071
- var E = m - ((h = (d = b.rect) === null || d === void 0 ? void 0 : d[r.axis[r.draggedAxis].offsetAttr]) !== null && h !== void 0 ? h : 0) - r.axis[r.draggedAxis].dragOffset;
1081
+ var E = m - ((h = (u = b.rect) === null || u === void 0 ? void 0 : u[r.axis[r.draggedAxis].offsetAttr]) !== null && h !== void 0 ? h : 0) - r.axis[r.draggedAxis].dragOffset;
1072
1082
  E = r.draggedAxis === "x" && r.isRtl ? ((y = (p = b.rect) === null || p === void 0 ? void 0 : p[r.axis[r.draggedAxis].sizeAttr]) !== null && y !== void 0 ? y : 0) - x.size - E : E;
1073
- var C = E / (w - x.size), _ = C * (S - v);
1074
- r.draggedAxis === "x" && r.isRtl && (_ = !((f = e.getRtlHelpers()) === null || f === void 0) && f.isScrollingToNegative ? -_ : _), r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr] = _;
1083
+ var _ = E / (w - x.size), C = _ * (S - v);
1084
+ r.draggedAxis === "x" && r.isRtl && (C = !((f = e.getRtlHelpers()) === null || f === void 0) && f.isScrollingToNegative ? -C : C), r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr] = C;
1075
1085
  }
1076
1086
  }, this.onEndDrag = function(i) {
1077
- var s = Ir(r.el), o = Xe(r.el);
1087
+ var s = Vr(r.el), o = Xe(r.el);
1078
1088
  i.preventDefault(), i.stopPropagation(), Je(r.el, r.classNames.dragging), s.removeEventListener("mousemove", r.drag, !0), s.removeEventListener("mouseup", r.onEndDrag, !0), r.removePreventClickId = o.setTimeout(function() {
1079
1089
  s.removeEventListener("click", r.preventClick, !0), s.removeEventListener("dblclick", r.preventClick, !0), r.removePreventClickId = null;
1080
1090
  });
@@ -1136,13 +1146,13 @@ var vd = /* @__PURE__ */ Object.freeze({
1136
1146
  return bo();
1137
1147
  }
1138
1148
  }, e.getOffset = function(t) {
1139
- var n = t.getBoundingClientRect(), r = Ir(t), i = Xe(t);
1149
+ var n = t.getBoundingClientRect(), r = Vr(t), i = Xe(t);
1140
1150
  return {
1141
1151
  top: n.top + (i.pageYOffset || r.documentElement.scrollTop),
1142
1152
  left: n.left + (i.pageXOffset || r.documentElement.scrollLeft)
1143
1153
  };
1144
1154
  }, e.prototype.init = function() {
1145
- Ca && (this.initDOM(), this.rtlHelpers = e.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
1155
+ _a && (this.initDOM(), this.rtlHelpers = e.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
1146
1156
  }, e.prototype.initDOM = function() {
1147
1157
  var t, n;
1148
1158
  this.wrapperEl = this.el.querySelector(he(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(he(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(he(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(he(this.classNames.offset)), this.maskEl = this.el.querySelector(he(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, he(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(he(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(he(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, "".concat(he(this.classNames.track)).concat(he(this.classNames.horizontal))), this.axis.y.track.el = this.findChild(this.el, "".concat(he(this.classNames.track)).concat(he(this.classNames.vertical))), this.axis.x.scrollbar.el = ((t = this.axis.x.track.el) === null || t === void 0 ? void 0 : t.querySelector(he(this.classNames.scrollbar))) || null, this.axis.y.scrollbar.el = ((n = this.axis.y.track.el) === null || n === void 0 ? void 0 : n.querySelector(he(this.classNames.scrollbar))) || null, this.options.autoHide || (Ze(this.axis.x.scrollbar.el, this.classNames.visible), Ze(this.axis.y.scrollbar.el, this.classNames.visible));
@@ -1177,10 +1187,10 @@ var vd = /* @__PURE__ */ Object.freeze({
1177
1187
  this.contentEl.style.padding = "".concat(this.elStyles.paddingTop, " ").concat(this.elStyles.paddingRight, " ").concat(this.elStyles.paddingBottom, " ").concat(this.elStyles.paddingLeft), this.wrapperEl.style.margin = "-".concat(this.elStyles.paddingTop, " -").concat(this.elStyles.paddingRight, " -").concat(this.elStyles.paddingBottom, " -").concat(this.elStyles.paddingLeft);
1178
1188
  var l = this.contentEl.scrollHeight, c = this.contentEl.scrollWidth;
1179
1189
  this.contentWrapperEl.style.height = r ? "auto" : "100%", this.placeholderEl.style.width = i ? "".concat(n || c, "px") : "auto", this.placeholderEl.style.height = "".concat(l, "px");
1180
- var u = this.contentWrapperEl.offsetHeight;
1181
- this.axis.x.isOverflowing = n !== 0 && c > n, this.axis.y.isOverflowing = l > u, this.axis.x.isOverflowing = o === "hidden" ? !1 : this.axis.x.isOverflowing, this.axis.y.isOverflowing = a === "hidden" ? !1 : this.axis.y.isOverflowing, this.axis.x.forceVisible = this.options.forceVisible === "x" || this.options.forceVisible === !0, this.axis.y.forceVisible = this.options.forceVisible === "y" || this.options.forceVisible === !0, this.hideNativeScrollbar();
1182
- var d = this.axis.x.isOverflowing ? this.scrollbarWidth : 0, h = this.axis.y.isOverflowing ? this.scrollbarWidth : 0;
1183
- this.axis.x.isOverflowing = this.axis.x.isOverflowing && c > s - h, this.axis.y.isOverflowing = this.axis.y.isOverflowing && l > u - d, this.axis.x.scrollbar.size = this.getScrollbarSize("x"), this.axis.y.scrollbar.size = this.getScrollbarSize("y"), this.axis.x.scrollbar.el && (this.axis.x.scrollbar.el.style.width = "".concat(this.axis.x.scrollbar.size, "px")), this.axis.y.scrollbar.el && (this.axis.y.scrollbar.el.style.height = "".concat(this.axis.y.scrollbar.size, "px")), this.positionScrollbar("x"), this.positionScrollbar("y"), this.toggleTrackVisibility("x"), this.toggleTrackVisibility("y");
1190
+ var d = this.contentWrapperEl.offsetHeight;
1191
+ this.axis.x.isOverflowing = n !== 0 && c > n, this.axis.y.isOverflowing = l > d, this.axis.x.isOverflowing = o === "hidden" ? !1 : this.axis.x.isOverflowing, this.axis.y.isOverflowing = a === "hidden" ? !1 : this.axis.y.isOverflowing, this.axis.x.forceVisible = this.options.forceVisible === "x" || this.options.forceVisible === !0, this.axis.y.forceVisible = this.options.forceVisible === "y" || this.options.forceVisible === !0, this.hideNativeScrollbar();
1192
+ var u = this.axis.x.isOverflowing ? this.scrollbarWidth : 0, h = this.axis.y.isOverflowing ? this.scrollbarWidth : 0;
1193
+ this.axis.x.isOverflowing = this.axis.x.isOverflowing && c > s - h, this.axis.y.isOverflowing = this.axis.y.isOverflowing && l > d - u, this.axis.x.scrollbar.size = this.getScrollbarSize("x"), this.axis.y.scrollbar.size = this.getScrollbarSize("y"), this.axis.x.scrollbar.el && (this.axis.x.scrollbar.el.style.width = "".concat(this.axis.x.scrollbar.size, "px")), this.axis.y.scrollbar.el && (this.axis.y.scrollbar.el.style.height = "".concat(this.axis.y.scrollbar.size, "px")), this.positionScrollbar("x"), this.positionScrollbar("y"), this.toggleTrackVisibility("x"), this.toggleTrackVisibility("y");
1184
1194
  }
1185
1195
  }, e.prototype.getScrollbarSize = function(t) {
1186
1196
  var n, r;
@@ -1195,8 +1205,8 @@ var vd = /* @__PURE__ */ Object.freeze({
1195
1205
  if (!(!this.axis[t].isOverflowing || !this.contentWrapperEl || !s.el || !this.elStyles)) {
1196
1206
  var o = this.contentWrapperEl[this.axis[t].scrollSizeAttr], a = ((n = this.axis[t].track.el) === null || n === void 0 ? void 0 : n[this.axis[t].offsetSizeAttr]) || 0, l = parseInt(this.elStyles[this.axis[t].sizeAttr], 10), c = this.contentWrapperEl[this.axis[t].scrollOffsetAttr];
1197
1207
  c = t === "x" && this.isRtl && (!((r = e.getRtlHelpers()) === null || r === void 0) && r.isScrollOriginAtZero) ? -c : c, t === "x" && this.isRtl && (c = !((i = e.getRtlHelpers()) === null || i === void 0) && i.isScrollingToNegative ? c : -c);
1198
- var u = c / (o - l), d = ~~((a - s.size) * u);
1199
- d = t === "x" && this.isRtl ? -d + (a - s.size) : d, s.el.style.transform = t === "x" ? "translate3d(".concat(d, "px, 0, 0)") : "translate3d(0, ".concat(d, "px, 0)");
1208
+ var d = c / (o - l), u = ~~((a - s.size) * d);
1209
+ u = t === "x" && this.isRtl ? -u + (a - s.size) : u, s.el.style.transform = t === "x" ? "translate3d(".concat(u, "px, 0, 0)") : "translate3d(0, ".concat(u, "px, 0)");
1200
1210
  }
1201
1211
  }, e.prototype.toggleTrackVisibility = function(t) {
1202
1212
  t === void 0 && (t = "y");
@@ -1217,7 +1227,7 @@ var vd = /* @__PURE__ */ Object.freeze({
1217
1227
  }, e.prototype.onDragStart = function(t, n) {
1218
1228
  var r;
1219
1229
  n === void 0 && (n = "y");
1220
- var i = Ir(this.el), s = Xe(this.el), o = this.axis[n].scrollbar, a = n === "y" ? t.pageY : t.pageX;
1230
+ var i = Vr(this.el), s = Xe(this.el), o = this.axis[n].scrollbar, a = n === "y" ? t.pageY : t.pageX;
1221
1231
  this.axis[n].dragOffset = a - (((r = o.rect) === null || r === void 0 ? void 0 : r[this.axis[n].offsetAttr]) || 0), this.draggedAxis = n, Ze(this.el, this.classNames.dragging), i.addEventListener("mousemove", this.drag, !0), i.addEventListener("mouseup", this.onEndDrag, !0), this.removePreventClickId === null ? (i.addEventListener("click", this.preventClick, !0), i.addEventListener("dblclick", this.preventClick, !0)) : (s.clearTimeout(this.removePreventClickId), this.removePreventClickId = null);
1222
1232
  }, e.prototype.onTrackClick = function(t, n) {
1223
1233
  var r = this, i, s, o, a;
@@ -1227,7 +1237,7 @@ var vd = /* @__PURE__ */ Object.freeze({
1227
1237
  t.preventDefault();
1228
1238
  var c = Xe(this.el);
1229
1239
  this.axis[n].scrollbar.rect = l.scrollbar.el.getBoundingClientRect();
1230
- var u = this.axis[n].scrollbar, d = (s = (i = u.rect) === null || i === void 0 ? void 0 : i[this.axis[n].offsetAttr]) !== null && s !== void 0 ? s : 0, h = parseInt((a = (o = this.elStyles) === null || o === void 0 ? void 0 : o[this.axis[n].sizeAttr]) !== null && a !== void 0 ? a : "0px", 10), p = this.contentWrapperEl[this.axis[n].scrollOffsetAttr], y = n === "y" ? this.mouseY - d : this.mouseX - d, f = y < 0 ? -1 : 1, m = f === -1 ? p - h : p + h, b = 40, w = function() {
1240
+ var d = this.axis[n].scrollbar, u = (s = (i = d.rect) === null || i === void 0 ? void 0 : i[this.axis[n].offsetAttr]) !== null && s !== void 0 ? s : 0, h = parseInt((a = (o = this.elStyles) === null || o === void 0 ? void 0 : o[this.axis[n].sizeAttr]) !== null && a !== void 0 ? a : "0px", 10), p = this.contentWrapperEl[this.axis[n].scrollOffsetAttr], y = n === "y" ? this.mouseY - u : this.mouseX - u, f = y < 0 ? -1 : 1, m = f === -1 ? p - h : p + h, b = 40, w = function() {
1231
1241
  r.contentWrapperEl && (f === -1 ? p > m && (p -= b, r.contentWrapperEl[r.axis[n].scrollOffsetAttr] = p, c.requestAnimationFrame(w)) : p < m && (p += b, r.contentWrapperEl[r.axis[n].scrollOffsetAttr] = p, c.requestAnimationFrame(w)));
1232
1242
  };
1233
1243
  w();
@@ -1299,11 +1309,11 @@ function xd(e, t) {
1299
1309
  return n;
1300
1310
  }
1301
1311
  var Ma = N.forwardRef(function(e, t) {
1302
- var n = e.children, r = e.scrollableNodeProps, i = r === void 0 ? {} : r, s = xd(e, ["children", "scrollableNodeProps"]), o = N.useRef(), a = N.useRef(), l = N.useRef(), c = {}, u = {};
1312
+ var n = e.children, r = e.scrollableNodeProps, i = r === void 0 ? {} : r, s = xd(e, ["children", "scrollableNodeProps"]), o = N.useRef(), a = N.useRef(), l = N.useRef(), c = {}, d = {};
1303
1313
  Object.keys(s).forEach(function(p) {
1304
- Object.prototype.hasOwnProperty.call(Nn.defaultOptions, p) ? c[p] = s[p] : u[p] = s[p];
1314
+ Object.prototype.hasOwnProperty.call(Nn.defaultOptions, p) ? c[p] = s[p] : d[p] = s[p];
1305
1315
  });
1306
- var d = ye(ye({}, Nn.defaultOptions.classNames), c.classNames), h = ye(ye({}, i), { className: "".concat(d.contentWrapper).concat(i.className ? " ".concat(i.className) : ""), tabIndex: 0, role: "region", "aria-label": c.ariaLabel || Nn.defaultOptions.ariaLabel });
1316
+ var u = ye(ye({}, Nn.defaultOptions.classNames), c.classNames), h = ye(ye({}, i), { className: "".concat(u.contentWrapper).concat(i.className ? " ".concat(i.className) : ""), tabIndex: 0, role: "region", "aria-label": c.ariaLabel || Nn.defaultOptions.ariaLabel });
1307
1317
  return N.useEffect(function() {
1308
1318
  var p;
1309
1319
  return a.current = h.ref ? h.ref.current : a.current, o.current && (p = new Nn(o.current, ye(ye(ye({}, c), a.current && {
@@ -1315,43 +1325,43 @@ var Ma = N.forwardRef(function(e, t) {
1315
1325
  };
1316
1326
  }, []), N.createElement(
1317
1327
  "div",
1318
- ye({ "data-simplebar": "init", ref: o }, u),
1328
+ ye({ "data-simplebar": "init", ref: o }, d),
1319
1329
  N.createElement(
1320
1330
  "div",
1321
- { className: d.wrapper },
1331
+ { className: u.wrapper },
1322
1332
  N.createElement(
1323
1333
  "div",
1324
- { className: d.heightAutoObserverWrapperEl },
1325
- N.createElement("div", { className: d.heightAutoObserverEl })
1334
+ { className: u.heightAutoObserverWrapperEl },
1335
+ N.createElement("div", { className: u.heightAutoObserverEl })
1326
1336
  ),
1327
1337
  N.createElement(
1328
1338
  "div",
1329
- { className: d.mask },
1330
- N.createElement("div", { className: d.offset }, typeof n == "function" ? n({
1339
+ { className: u.mask },
1340
+ N.createElement("div", { className: u.offset }, typeof n == "function" ? n({
1331
1341
  scrollableNodeRef: a,
1332
1342
  scrollableNodeProps: ye(ye({}, h), { ref: a }),
1333
1343
  contentNodeRef: l,
1334
1344
  contentNodeProps: {
1335
- className: d.contentEl,
1345
+ className: u.contentEl,
1336
1346
  ref: l
1337
1347
  }
1338
1348
  }) : N.createElement(
1339
1349
  "div",
1340
1350
  ye({}, h),
1341
- N.createElement("div", { className: d.contentEl }, n)
1351
+ N.createElement("div", { className: u.contentEl }, n)
1342
1352
  ))
1343
1353
  ),
1344
- N.createElement("div", { className: d.placeholder })
1354
+ N.createElement("div", { className: u.placeholder })
1345
1355
  ),
1346
1356
  N.createElement(
1347
1357
  "div",
1348
- { className: "".concat(d.track, " simplebar-horizontal") },
1349
- N.createElement("div", { className: d.scrollbar })
1358
+ { className: "".concat(u.track, " simplebar-horizontal") },
1359
+ N.createElement("div", { className: u.scrollbar })
1350
1360
  ),
1351
1361
  N.createElement(
1352
1362
  "div",
1353
- { className: "".concat(d.track, " simplebar-vertical") },
1354
- N.createElement("div", { className: d.scrollbar })
1363
+ { className: "".concat(u.track, " simplebar-vertical") },
1364
+ N.createElement("div", { className: u.scrollbar })
1355
1365
  )
1356
1366
  );
1357
1367
  });
@@ -1387,7 +1397,7 @@ const wd = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:w
1387
1397
  isStatic: !1,
1388
1398
  reducedMotion: "never"
1389
1399
  }), pr = Bt({}), Si = Bt(null), mr = typeof document < "u", Sd = mr ? wi : be, Da = Bt({ strict: !1 }), Ei = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Ed = "framerAppearId", Ra = "data-" + Ei(Ed);
1390
- function Cd(e, t, n, r) {
1400
+ function _d(e, t, n, r) {
1391
1401
  const { visualElement: i } = ie(pr), s = ie(Da), o = ie(Si), a = ie(Na).reducedMotion, l = ze();
1392
1402
  r = r || s.renderer, !l.current && r && (l.current = r(e, {
1393
1403
  visualState: t,
@@ -1401,17 +1411,17 @@ function Cd(e, t, n, r) {
1401
1411
  lu(() => {
1402
1412
  c && c.update(n, o);
1403
1413
  });
1404
- const u = ze(!!(n[Ra] && !window.HandoffComplete));
1414
+ const d = ze(!!(n[Ra] && !window.HandoffComplete));
1405
1415
  return Sd(() => {
1406
- c && (c.render(), u.current && c.animationState && c.animationState.animateChanges());
1416
+ c && (c.render(), d.current && c.animationState && c.animationState.animateChanges());
1407
1417
  }), be(() => {
1408
- c && (c.updateFeatures(), !u.current && c.animationState && c.animationState.animateChanges(), u.current && (u.current = !1, window.HandoffComplete = !0));
1418
+ c && (c.updateFeatures(), !d.current && c.animationState && c.animationState.animateChanges(), d.current && (d.current = !1, window.HandoffComplete = !0));
1409
1419
  }), c;
1410
1420
  }
1411
1421
  function Ot(e) {
1412
1422
  return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
1413
1423
  }
1414
- function _d(e, t, n) {
1424
+ function Cd(e, t, n) {
1415
1425
  return en(
1416
1426
  (r) => {
1417
1427
  r && e.mount && e.mount(r), t && (r ? t.mount(r) : t.unmount()), n && (typeof n == "function" ? n(r) : Ot(n) && (n.current = r));
@@ -1430,7 +1440,7 @@ function un(e) {
1430
1440
  function gr(e) {
1431
1441
  return e !== null && typeof e == "object" && typeof e.start == "function";
1432
1442
  }
1433
- const Ci = [
1443
+ const _i = [
1434
1444
  "animate",
1435
1445
  "whileInView",
1436
1446
  "whileFocus",
@@ -1438,11 +1448,11 @@ const Ci = [
1438
1448
  "whileTap",
1439
1449
  "whileDrag",
1440
1450
  "exit"
1441
- ], _i = ["initial", ...Ci];
1451
+ ], Ci = ["initial", ..._i];
1442
1452
  function yr(e) {
1443
- return gr(e.animate) || _i.some((t) => un(e[t]));
1453
+ return gr(e.animate) || Ci.some((t) => un(e[t]));
1444
1454
  }
1445
- function Va(e) {
1455
+ function Ia(e) {
1446
1456
  return !!(yr(e) || e.variants);
1447
1457
  }
1448
1458
  function Td(e, t) {
@@ -1493,22 +1503,22 @@ function Ad(e) {
1493
1503
  ...e[t]
1494
1504
  };
1495
1505
  }
1496
- const Ia = Bt({}), La = Bt({}), kd = Symbol.for("motionComponentSymbol");
1506
+ const Va = Bt({}), La = Bt({}), kd = Symbol.for("motionComponentSymbol");
1497
1507
  function Od({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVisualState: r, Component: i }) {
1498
1508
  e && Ad(e);
1499
1509
  function s(a, l) {
1500
1510
  let c;
1501
- const u = {
1511
+ const d = {
1502
1512
  ...ie(Na),
1503
1513
  ...a,
1504
1514
  layoutId: Md(a)
1505
- }, { isStatic: d } = u, h = Pd(a), p = r(a, d);
1506
- if (!d && mr) {
1507
- h.visualElement = Cd(i, p, u, t);
1515
+ }, { isStatic: u } = d, h = Pd(a), p = r(a, u);
1516
+ if (!u && mr) {
1517
+ h.visualElement = _d(i, p, d, t);
1508
1518
  const y = ie(La), f = ie(Da).strict;
1509
1519
  h.visualElement && (c = h.visualElement.loadFeatures(
1510
1520
  // Note: Pass the full new combined props to correctly re-render dynamic feature components.
1511
- u,
1521
+ d,
1512
1522
  f,
1513
1523
  e,
1514
1524
  y
@@ -1517,15 +1527,15 @@ function Od({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
1517
1527
  return N.createElement(
1518
1528
  pr.Provider,
1519
1529
  { value: h },
1520
- c && h.visualElement ? N.createElement(c, { visualElement: h.visualElement, ...u }) : null,
1521
- n(i, a, _d(p, h.visualElement, l), p, d, h.visualElement)
1530
+ c && h.visualElement ? N.createElement(c, { visualElement: h.visualElement, ...d }) : null,
1531
+ n(i, a, Cd(p, h.visualElement, l), p, u, h.visualElement)
1522
1532
  );
1523
1533
  }
1524
1534
  const o = ga(s);
1525
1535
  return o[kd] = i, o;
1526
1536
  }
1527
1537
  function Md({ layoutId: e }) {
1528
- const t = ie(Ia).id;
1538
+ const t = ie(Va).id;
1529
1539
  return t && e !== void 0 ? t + "-" + e : e;
1530
1540
  }
1531
1541
  function Nd(e) {
@@ -1617,18 +1627,18 @@ const vn = [
1617
1627
  function $a(e, { layout: t, layoutId: n }) {
1618
1628
  return yt.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!er[e] || e === "opacity");
1619
1629
  }
1620
- const pe = (e) => !!(e && e.getVelocity), Vd = {
1630
+ const pe = (e) => !!(e && e.getVelocity), Id = {
1621
1631
  x: "translateX",
1622
1632
  y: "translateY",
1623
1633
  z: "translateZ",
1624
1634
  transformPerspective: "perspective"
1625
- }, Id = vn.length;
1635
+ }, Vd = vn.length;
1626
1636
  function Ld(e, { enableHardwareAcceleration: t = !0, allowTransformNone: n = !0 }, r, i) {
1627
1637
  let s = "";
1628
- for (let o = 0; o < Id; o++) {
1638
+ for (let o = 0; o < Vd; o++) {
1629
1639
  const a = vn[o];
1630
1640
  if (e[a] !== void 0) {
1631
- const l = Vd[a] || a;
1641
+ const l = Id[a] || a;
1632
1642
  s += `${l}(${e[a]}) `;
1633
1643
  }
1634
1644
  }
@@ -1652,10 +1662,10 @@ const xn = (e) => ({
1652
1662
  test: (t) => bn(t) && t.endsWith(e) && t.split(" ").length === 1,
1653
1663
  parse: parseFloat,
1654
1664
  transform: (t) => `${t}${e}`
1655
- }), Qe = xn("deg"), Ie = xn("%"), M = xn("px"), jd = xn("vh"), Bd = xn("vw"), So = {
1656
- ...Ie,
1657
- parse: (e) => Ie.parse(e) / 100,
1658
- transform: (e) => Ie.transform(e * 100)
1665
+ }), Qe = xn("deg"), Ve = xn("%"), M = xn("px"), jd = xn("vh"), Bd = xn("vw"), So = {
1666
+ ...Ve,
1667
+ parse: (e) => Ve.parse(e) / 100,
1668
+ transform: (e) => Ve.transform(e * 100)
1659
1669
  }, Eo = {
1660
1670
  ...vt,
1661
1671
  transform: Math.round
@@ -1727,24 +1737,24 @@ const xn = (e) => ({
1727
1737
  };
1728
1738
  function Pi(e, t, n, r) {
1729
1739
  const { style: i, vars: s, transform: o, transformOrigin: a } = e;
1730
- let l = !1, c = !1, u = !0;
1731
- for (const d in t) {
1732
- const h = t[d];
1733
- if (Fa(d)) {
1734
- s[d] = h;
1740
+ let l = !1, c = !1, d = !0;
1741
+ for (const u in t) {
1742
+ const h = t[u];
1743
+ if (Fa(u)) {
1744
+ s[u] = h;
1735
1745
  continue;
1736
1746
  }
1737
- const p = Ba[d], y = zd(h, p);
1738
- if (yt.has(d)) {
1739
- if (l = !0, o[d] = y, !u)
1747
+ const p = Ba[u], y = zd(h, p);
1748
+ if (yt.has(u)) {
1749
+ if (l = !0, o[u] = y, !d)
1740
1750
  continue;
1741
- h !== (p.default || 0) && (u = !1);
1751
+ h !== (p.default || 0) && (d = !1);
1742
1752
  } else
1743
- d.startsWith("origin") ? (c = !0, a[d] = y) : i[d] = y;
1753
+ u.startsWith("origin") ? (c = !0, a[u] = y) : i[u] = y;
1744
1754
  }
1745
- if (t.transform || (l || r ? i.transform = Ld(e.transform, n, u, r) : i.transform && (i.transform = "none")), c) {
1746
- const { originX: d = "50%", originY: h = "50%", originZ: p = 0 } = a;
1747
- i.transformOrigin = `${d} ${h} ${p}`;
1755
+ if (t.transform || (l || r ? i.transform = Ld(e.transform, n, d, r) : i.transform && (i.transform = "none")), c) {
1756
+ const { originX: u = "50%", originY: h = "50%", originZ: p = 0 } = a;
1757
+ i.transformOrigin = `${u} ${h} ${p}`;
1748
1758
  }
1749
1759
  }
1750
1760
  const Ai = () => ({
@@ -1822,11 +1832,11 @@ function qd(e, t, n) {
1822
1832
  e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]);
1823
1833
  return r;
1824
1834
  }
1825
- function Co(e, t, n) {
1835
+ function _o(e, t, n) {
1826
1836
  return typeof e == "string" ? e : M.transform(t + n * e);
1827
1837
  }
1828
1838
  function Kd(e, t, n) {
1829
- const r = Co(t, e.x, e.width), i = Co(n, e.y, e.height);
1839
+ const r = _o(t, e.x, e.width), i = _o(n, e.y, e.height);
1830
1840
  return `${r} ${i}`;
1831
1841
  }
1832
1842
  const Xd = {
@@ -1854,8 +1864,8 @@ function ki(e, {
1854
1864
  pathOffset: l = 0,
1855
1865
  // This is object creation, which we try to avoid per-frame.
1856
1866
  ...c
1857
- }, u, d, h) {
1858
- if (Pi(e, c, u, h), d) {
1867
+ }, d, u, h) {
1868
+ if (Pi(e, c, d, h), u) {
1859
1869
  e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
1860
1870
  return;
1861
1871
  }
@@ -1883,13 +1893,13 @@ function Qd(e, t, n, r) {
1883
1893
  }
1884
1894
  function e0(e = !1) {
1885
1895
  return (n, r, i, { latestValues: s }, o) => {
1886
- const l = (Ti(n) ? Qd : Ud)(r, s, o, n), u = {
1896
+ const l = (Ti(n) ? Qd : Ud)(r, s, o, n), d = {
1887
1897
  ...qd(r, typeof n == "string", e),
1888
1898
  ...l,
1889
1899
  ref: i
1890
- }, { children: d } = r, h = hr(() => pe(d) ? d.get() : d, [d]);
1900
+ }, { children: u } = r, h = hr(() => pe(u) ? u.get() : u, [u]);
1891
1901
  return tn(n, {
1892
- ...u,
1902
+ ...d,
1893
1903
  children: h
1894
1904
  });
1895
1905
  };
@@ -1972,12 +1982,12 @@ function o0(e, t, n, r) {
1972
1982
  for (const h in s)
1973
1983
  i[h] = jn(s[h]);
1974
1984
  let { initial: o, animate: a } = e;
1975
- const l = yr(e), c = Va(e);
1985
+ const l = yr(e), c = Ia(e);
1976
1986
  t && c && !l && e.inherit !== !1 && (o === void 0 && (o = t.initial), a === void 0 && (a = t.animate));
1977
- let u = n ? n.initial === !1 : !1;
1978
- u = u || o === !1;
1979
- const d = u ? a : o;
1980
- return d && typeof d != "boolean" && !gr(d) && (Array.isArray(d) ? d : [d]).forEach((p) => {
1987
+ let d = n ? n.initial === !1 : !1;
1988
+ d = d || o === !1;
1989
+ const u = d ? a : o;
1990
+ return u && typeof u != "boolean" && !gr(u) && (Array.isArray(u) ? u : [u]).forEach((p) => {
1981
1991
  const y = Ni(e, p);
1982
1992
  if (!y)
1983
1993
  return;
@@ -1985,7 +1995,7 @@ function o0(e, t, n, r) {
1985
1995
  for (const w in b) {
1986
1996
  let x = b[w];
1987
1997
  if (Array.isArray(x)) {
1988
- const S = u ? x.length - 1 : 0;
1998
+ const S = d ? x.length - 1 : 0;
1989
1999
  x = x[S];
1990
2000
  }
1991
2001
  x !== null && (i[w] = x);
@@ -1995,7 +2005,7 @@ function o0(e, t, n, r) {
1995
2005
  }), i;
1996
2006
  }
1997
2007
  const Q = (e) => e;
1998
- class _o {
2008
+ class Co {
1999
2009
  constructor() {
2000
2010
  this.order = [], this.scheduled = /* @__PURE__ */ new Set();
2001
2011
  }
@@ -2012,14 +2022,14 @@ class _o {
2012
2022
  }
2013
2023
  }
2014
2024
  function s0(e) {
2015
- let t = new _o(), n = new _o(), r = 0, i = !1, s = !1;
2025
+ let t = new Co(), n = new Co(), r = 0, i = !1, s = !1;
2016
2026
  const o = /* @__PURE__ */ new WeakSet(), a = {
2017
2027
  /**
2018
2028
  * Schedule a process to run on the next frame.
2019
2029
  */
2020
- schedule: (l, c = !1, u = !1) => {
2021
- const d = u && i, h = d ? t : n;
2022
- return c && o.add(l), h.add(l) && d && i && (r = t.order.length), l;
2030
+ schedule: (l, c = !1, d = !1) => {
2031
+ const u = d && i, h = u ? t : n;
2032
+ return c && o.add(l), h.add(l) && u && i && (r = t.order.length), l;
2023
2033
  },
2024
2034
  /**
2025
2035
  * Cancel the provided callback from running on the next frame.
@@ -2037,8 +2047,8 @@ function s0(e) {
2037
2047
  }
2038
2048
  if (i = !0, [t, n] = [n, t], n.clear(), r = t.order.length, r)
2039
2049
  for (let c = 0; c < r; c++) {
2040
- const u = t.order[c];
2041
- u(l), o.has(u) && (a.schedule(u), e());
2050
+ const d = t.order[c];
2051
+ d(l), o.has(d) && (a.schedule(d), e());
2042
2052
  }
2043
2053
  i = !1, s && (s = !1, a.process(l));
2044
2054
  }
@@ -2059,16 +2069,16 @@ function l0(e, t) {
2059
2069
  delta: 0,
2060
2070
  timestamp: 0,
2061
2071
  isProcessing: !1
2062
- }, s = Rn.reduce((d, h) => (d[h] = s0(() => n = !0), d), {}), o = (d) => s[d].process(i), a = () => {
2063
- const d = performance.now();
2064
- n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(d - i.timestamp, a0), 1), i.timestamp = d, i.isProcessing = !0, Rn.forEach(o), i.isProcessing = !1, n && t && (r = !1, e(a));
2072
+ }, s = Rn.reduce((u, h) => (u[h] = s0(() => n = !0), u), {}), o = (u) => s[u].process(i), a = () => {
2073
+ const u = performance.now();
2074
+ n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(u - i.timestamp, a0), 1), i.timestamp = u, i.isProcessing = !0, Rn.forEach(o), i.isProcessing = !1, n && t && (r = !1, e(a));
2065
2075
  }, l = () => {
2066
2076
  n = !0, r = !0, i.isProcessing || e(a);
2067
2077
  };
2068
- return { schedule: Rn.reduce((d, h) => {
2078
+ return { schedule: Rn.reduce((u, h) => {
2069
2079
  const p = s[h];
2070
- return d[h] = (y, f = !1, m = !1) => (n || l(), p.schedule(y, f, m)), d;
2071
- }, {}), cancel: (d) => Rn.forEach((h) => s[h].cancel(d)), state: i, steps: s };
2080
+ return u[h] = (y, f = !1, m = !1) => (n || l(), p.schedule(y, f, m)), u;
2081
+ }, {}), cancel: (u) => Rn.forEach((h) => s[h].cancel(u)), state: i, steps: s };
2072
2082
  }
2073
2083
  const { schedule: G, cancel: Ge, state: le, steps: Lr } = l0(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Q, !0), c0 = {
2074
2084
  useVisualState: Xa({
@@ -2214,9 +2224,9 @@ class g0 extends at {
2214
2224
  const r = this.node.getProps(), s = Ue(window, "pointerup", (a, l) => {
2215
2225
  if (!this.checkPressEnd())
2216
2226
  return;
2217
- const { onTap: c, onTapCancel: u, globalTapTarget: d } = this.node.getProps();
2227
+ const { onTap: c, onTapCancel: d, globalTapTarget: u } = this.node.getProps();
2218
2228
  G.update(() => {
2219
- !d && !tl(this.node.current, a.target) ? u && u(a, l) : c && c(a, l);
2229
+ !u && !tl(this.node.current, a.target) ? d && d(a, l) : c && c(a, l);
2220
2230
  });
2221
2231
  }, { passive: !(r.onTap || r.onPointerUp) }), o = Ue(window, "pointercancel", (a, l) => this.cancelPress(a, l), { passive: !(r.onTapCancel || r.onPointerCancel) });
2222
2232
  this.removeEndListeners = nt(s, o), this.startPress(t, n);
@@ -2226,8 +2236,8 @@ class g0 extends at {
2226
2236
  return;
2227
2237
  const o = (a) => {
2228
2238
  a.key !== "Enter" || !this.checkPressEnd() || $r("up", (l, c) => {
2229
- const { onTap: u } = this.node.getProps();
2230
- u && G.update(() => u(l, c));
2239
+ const { onTap: d } = this.node.getProps();
2240
+ d && G.update(() => d(l, c));
2231
2241
  });
2232
2242
  };
2233
2243
  this.removeEndListeners(), this.removeEndListeners = He(this.node.current, "keyup", o), $r("down", (a, l) => {
@@ -2298,7 +2308,7 @@ class S0 extends at {
2298
2308
  if (this.isInView === c || (this.isInView = c, s && !c && this.hasEnteredView))
2299
2309
  return;
2300
2310
  c && (this.hasEnteredView = !0), this.node.animationState && this.node.animationState.setActive("whileInView", c);
2301
- const { onViewportEnter: u, onViewportLeave: d } = this.node.getProps(), h = c ? u : d;
2311
+ const { onViewportEnter: d, onViewportLeave: u } = this.node.getProps(), h = c ? d : u;
2302
2312
  h && h(l);
2303
2313
  };
2304
2314
  return x0(this.node.current, o, a);
@@ -2318,7 +2328,7 @@ class S0 extends at {
2318
2328
  function E0({ viewport: e = {} }, { viewport: t = {} } = {}) {
2319
2329
  return (n) => e[n] !== t[n];
2320
2330
  }
2321
- const C0 = {
2331
+ const _0 = {
2322
2332
  inView: {
2323
2333
  Feature: S0
2324
2334
  },
@@ -2343,7 +2353,7 @@ function nl(e, t) {
2343
2353
  return !1;
2344
2354
  return !0;
2345
2355
  }
2346
- function _0(e) {
2356
+ function C0(e) {
2347
2357
  const t = {};
2348
2358
  return e.values.forEach((n, r) => t[r] = n.get()), t;
2349
2359
  }
@@ -2353,7 +2363,7 @@ function T0(e) {
2353
2363
  }
2354
2364
  function xr(e, t, n) {
2355
2365
  const r = e.getProps();
2356
- return Ni(r, t, n !== void 0 ? n : r.custom, _0(e), T0(e));
2366
+ return Ni(r, t, n !== void 0 ? n : r.custom, C0(e), T0(e));
2357
2367
  }
2358
2368
  let wn = Q, De = Q;
2359
2369
  process.env.NODE_ENV !== "production" && (wn = (e, t) => {
@@ -2386,11 +2396,11 @@ function sl(e) {
2386
2396
  function A0(e, t, n, { delay: r = 0, duration: i, repeat: s = 0, repeatType: o = "loop", ease: a, times: l } = {}) {
2387
2397
  const c = { [t]: n };
2388
2398
  l && (c.offset = l);
2389
- const u = sl(a);
2390
- return Array.isArray(u) && (c.easing = u), e.animate(c, {
2399
+ const d = sl(a);
2400
+ return Array.isArray(d) && (c.easing = d), e.animate(c, {
2391
2401
  delay: r,
2392
2402
  duration: i,
2393
- easing: Array.isArray(u) ? "linear" : u,
2403
+ easing: Array.isArray(d) ? "linear" : d,
2394
2404
  fill: "both",
2395
2405
  iterations: s + 1,
2396
2406
  direction: o === "reverse" ? "alternate" : "normal"
@@ -2414,13 +2424,13 @@ function Sn(e, t, n, r) {
2414
2424
  const i = (s) => N0(s, 0, 1, e, n);
2415
2425
  return (s) => s === 0 || s === 1 ? s : al(i(s), t, r);
2416
2426
  }
2417
- const D0 = Sn(0.42, 0, 1, 1), R0 = Sn(0, 0, 0.58, 1), ll = Sn(0.42, 0, 0.58, 1), V0 = (e) => Array.isArray(e) && typeof e[0] != "number", cl = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, ul = (e) => (t) => 1 - e(1 - t), Di = (e) => 1 - Math.sin(Math.acos(e)), dl = ul(Di), I0 = cl(Di), fl = Sn(0.33, 1.53, 0.69, 0.99), Ri = ul(fl), L0 = cl(Ri), $0 = (e) => (e *= 2) < 1 ? 0.5 * Ri(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), ko = {
2427
+ const D0 = Sn(0.42, 0, 1, 1), R0 = Sn(0, 0, 0.58, 1), ll = Sn(0.42, 0, 0.58, 1), I0 = (e) => Array.isArray(e) && typeof e[0] != "number", cl = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, ul = (e) => (t) => 1 - e(1 - t), Di = (e) => 1 - Math.sin(Math.acos(e)), dl = ul(Di), V0 = cl(Di), fl = Sn(0.33, 1.53, 0.69, 0.99), Ri = ul(fl), L0 = cl(Ri), $0 = (e) => (e *= 2) < 1 ? 0.5 * Ri(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), ko = {
2418
2428
  linear: Q,
2419
2429
  easeIn: D0,
2420
2430
  easeInOut: ll,
2421
2431
  easeOut: R0,
2422
2432
  circIn: Di,
2423
- circInOut: I0,
2433
+ circInOut: V0,
2424
2434
  circOut: dl,
2425
2435
  backIn: Ri,
2426
2436
  backInOut: L0,
@@ -2434,7 +2444,7 @@ const D0 = Sn(0.42, 0, 1, 1), R0 = Sn(0, 0, 0.58, 1), ll = Sn(0.42, 0, 0.58, 1),
2434
2444
  } else if (typeof e == "string")
2435
2445
  return De(ko[e] !== void 0, `Invalid easing type '${e}'`), ko[e];
2436
2446
  return e;
2437
- }, Vi = (e, t) => (n) => !!(bn(n) && Fd.test(n) && n.startsWith(e) || t && Object.prototype.hasOwnProperty.call(n, t)), hl = (e, t, n) => (r) => {
2447
+ }, Ii = (e, t) => (n) => !!(bn(n) && Fd.test(n) && n.startsWith(e) || t && Object.prototype.hasOwnProperty.call(n, t)), hl = (e, t, n) => (r) => {
2438
2448
  if (!bn(r))
2439
2449
  return r;
2440
2450
  const [i, s, o, a] = r.match(vr);
@@ -2448,7 +2458,7 @@ const D0 = Sn(0.42, 0, 1, 1), R0 = Sn(0, 0, 0.58, 1), ll = Sn(0.42, 0, 0.58, 1),
2448
2458
  ...vt,
2449
2459
  transform: (e) => Math.round(z0(e))
2450
2460
  }, mt = {
2451
- test: Vi("rgb", "red"),
2461
+ test: Ii("rgb", "red"),
2452
2462
  parse: hl("red", "green", "blue"),
2453
2463
  transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Fr.transform(e) + ", " + Fr.transform(t) + ", " + Fr.transform(n) + ", " + rn(nn.transform(r)) + ")"
2454
2464
  };
@@ -2462,13 +2472,13 @@ function F0(e) {
2462
2472
  };
2463
2473
  }
2464
2474
  const ti = {
2465
- test: Vi("#"),
2475
+ test: Ii("#"),
2466
2476
  parse: F0,
2467
2477
  transform: mt.transform
2468
2478
  }, Mt = {
2469
- test: Vi("hsl", "hue"),
2479
+ test: Ii("hsl", "hue"),
2470
2480
  parse: hl("hue", "saturation", "lightness"),
2471
- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Ie.transform(rn(t)) + ", " + Ie.transform(rn(n)) + ", " + rn(nn.transform(r)) + ")"
2481
+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Ve.transform(rn(t)) + ", " + Ve.transform(rn(n)) + ", " + rn(nn.transform(r)) + ")"
2472
2482
  }, de = {
2473
2483
  test: (e) => mt.test(e) || ti.test(e) || Mt.test(e),
2474
2484
  parse: (e) => mt.test(e) ? mt.parse(e) : Mt.test(e) ? Mt.parse(e) : ti.parse(e),
@@ -2606,18 +2616,18 @@ function K0(e, t, n) {
2606
2616
  }
2607
2617
  return r;
2608
2618
  }
2609
- function Cl(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
2619
+ function _l(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
2610
2620
  const s = e.length;
2611
2621
  if (De(s === t.length, "Both input and output ranges must be the same length"), s === 1)
2612
2622
  return () => t[0];
2613
2623
  e[0] > e[s - 1] && (e = [...e].reverse(), t = [...t].reverse());
2614
2624
  const o = K0(t, r, i), a = o.length, l = (c) => {
2615
- let u = 0;
2625
+ let d = 0;
2616
2626
  if (a > 1)
2617
- for (; u < e.length - 2 && !(c < e[u + 1]); u++)
2627
+ for (; d < e.length - 2 && !(c < e[d + 1]); d++)
2618
2628
  ;
2619
- const d = fn(e[u], e[u + 1], c);
2620
- return o[u](d);
2629
+ const u = fn(e[d], e[d + 1], c);
2630
+ return o[d](u);
2621
2631
  };
2622
2632
  return n ? (c) => l(it(e[0], e[s - 1], c)) : l;
2623
2633
  }
@@ -2639,7 +2649,7 @@ function Q0(e, t) {
2639
2649
  return e.map(() => t || ll).splice(0, e.length - 1);
2640
2650
  }
2641
2651
  function ir({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
2642
- const i = V0(r) ? r.map(Oo) : Oo(r), s = {
2652
+ const i = I0(r) ? r.map(Oo) : Oo(r), s = {
2643
2653
  done: !1,
2644
2654
  value: t[0]
2645
2655
  }, o = J0(
@@ -2647,7 +2657,7 @@ function ir({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
2647
2657
  // TODO Maybe we should warn here if there's a length mismatch
2648
2658
  n && n.length === t.length ? n : Z0(t),
2649
2659
  e
2650
- ), a = Cl(o, t, {
2660
+ ), a = _l(o, t, {
2651
2661
  ease: Array.isArray(i) ? i : Q0(t, i)
2652
2662
  });
2653
2663
  return {
@@ -2655,13 +2665,13 @@ function ir({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
2655
2665
  next: (l) => (s.value = a(l), s.done = l >= e, s)
2656
2666
  };
2657
2667
  }
2658
- function _l(e, t) {
2668
+ function Cl(e, t) {
2659
2669
  return t ? e * (1e3 / t) : 0;
2660
2670
  }
2661
2671
  const ef = 5;
2662
2672
  function Tl(e, t, n) {
2663
2673
  const r = Math.max(t - ef, 0);
2664
- return _l(n - e(r), t - r);
2674
+ return Cl(n - e(r), t - r);
2665
2675
  }
2666
2676
  const Hr = 1e-3, tf = 0.01, Do = 10, nf = 0.05, rf = 1;
2667
2677
  function of({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1 }) {
@@ -2669,17 +2679,17 @@ function of({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1
2669
2679
  wn(e <= rt(Do), "Spring duration must be 10 seconds or less");
2670
2680
  let o = 1 - t;
2671
2681
  o = it(nf, rf, o), e = it(tf, Do, Ye(e)), o < 1 ? (i = (c) => {
2672
- const u = c * o, d = u * e, h = u - n, p = ni(c, o), y = Math.exp(-d);
2682
+ const d = c * o, u = d * e, h = d - n, p = ni(c, o), y = Math.exp(-u);
2673
2683
  return Hr - h / p * y;
2674
2684
  }, s = (c) => {
2675
- const d = c * o * e, h = d * n + n, p = Math.pow(o, 2) * Math.pow(c, 2) * e, y = Math.exp(-d), f = ni(Math.pow(c, 2), o);
2685
+ const u = c * o * e, h = u * n + n, p = Math.pow(o, 2) * Math.pow(c, 2) * e, y = Math.exp(-u), f = ni(Math.pow(c, 2), o);
2676
2686
  return (-i(c) + Hr > 0 ? -1 : 1) * ((h - p) * y) / f;
2677
2687
  }) : (i = (c) => {
2678
- const u = Math.exp(-c * e), d = (c - n) * e + 1;
2679
- return -Hr + u * d;
2688
+ const d = Math.exp(-c * e), u = (c - n) * e + 1;
2689
+ return -Hr + d * u;
2680
2690
  }, s = (c) => {
2681
- const u = Math.exp(-c * e), d = (n - c) * (e * e);
2682
- return u * d;
2691
+ const d = Math.exp(-c * e), u = (n - c) * (e * e);
2692
+ return d * u;
2683
2693
  });
2684
2694
  const a = 5 / e, l = af(i, s, a);
2685
2695
  if (e = rt(e), isNaN(l))
@@ -2731,10 +2741,10 @@ function uf(e) {
2731
2741
  return t;
2732
2742
  }
2733
2743
  function Pl({ keyframes: e, restDelta: t, restSpeed: n, ...r }) {
2734
- const i = e[0], s = e[e.length - 1], o = { done: !1, value: i }, { stiffness: a, damping: l, mass: c, duration: u, velocity: d, isResolvedFromDuration: h } = uf({
2744
+ const i = e[0], s = e[e.length - 1], o = { done: !1, value: i }, { stiffness: a, damping: l, mass: c, duration: d, velocity: u, isResolvedFromDuration: h } = uf({
2735
2745
  ...r,
2736
2746
  velocity: -Ye(r.velocity || 0)
2737
- }), p = d || 0, y = l / (2 * Math.sqrt(a * c)), f = s - i, m = Ye(Math.sqrt(a / c)), b = Math.abs(f) < 5;
2747
+ }), p = u || 0, y = l / (2 * Math.sqrt(a * c)), f = s - i, m = Ye(Math.sqrt(a / c)), b = Math.abs(f) < 5;
2738
2748
  n || (n = b ? 0.01 : 2), t || (t = b ? 5e-3 : 0.5);
2739
2749
  let w;
2740
2750
  if (y < 1) {
@@ -2753,49 +2763,49 @@ function Pl({ keyframes: e, restDelta: t, restSpeed: n, ...r }) {
2753
2763
  };
2754
2764
  }
2755
2765
  return {
2756
- calculatedDuration: h && u || null,
2766
+ calculatedDuration: h && d || null,
2757
2767
  next: (x) => {
2758
2768
  const S = w(x);
2759
2769
  if (h)
2760
- o.done = x >= u;
2770
+ o.done = x >= d;
2761
2771
  else {
2762
2772
  let v = p;
2763
2773
  x !== 0 && (y < 1 ? v = Tl(w, x, S) : v = 0);
2764
- const E = Math.abs(v) <= n, C = Math.abs(s - S) <= t;
2765
- o.done = E && C;
2774
+ const E = Math.abs(v) <= n, _ = Math.abs(s - S) <= t;
2775
+ o.done = E && _;
2766
2776
  }
2767
2777
  return o.value = o.done ? s : S, o;
2768
2778
  }
2769
2779
  };
2770
2780
  }
2771
- function Vo({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: s = 500, modifyTarget: o, min: a, max: l, restDelta: c = 0.5, restSpeed: u }) {
2772
- const d = e[0], h = {
2781
+ function Io({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: s = 500, modifyTarget: o, min: a, max: l, restDelta: c = 0.5, restSpeed: d }) {
2782
+ const u = e[0], h = {
2773
2783
  done: !1,
2774
- value: d
2775
- }, p = (_) => a !== void 0 && _ < a || l !== void 0 && _ > l, y = (_) => a === void 0 ? l : l === void 0 || Math.abs(a - _) < Math.abs(l - _) ? a : l;
2784
+ value: u
2785
+ }, p = (C) => a !== void 0 && C < a || l !== void 0 && C > l, y = (C) => a === void 0 ? l : l === void 0 || Math.abs(a - C) < Math.abs(l - C) ? a : l;
2776
2786
  let f = n * t;
2777
- const m = d + f, b = o === void 0 ? m : o(m);
2778
- b !== m && (f = b - d);
2779
- const w = (_) => -f * Math.exp(-_ / r), x = (_) => b + w(_), S = (_) => {
2780
- const A = w(_), D = x(_);
2787
+ const m = u + f, b = o === void 0 ? m : o(m);
2788
+ b !== m && (f = b - u);
2789
+ const w = (C) => -f * Math.exp(-C / r), x = (C) => b + w(C), S = (C) => {
2790
+ const A = w(C), D = x(C);
2781
2791
  h.done = Math.abs(A) <= c, h.value = h.done ? b : D;
2782
2792
  };
2783
2793
  let v, E;
2784
- const C = (_) => {
2785
- p(h.value) && (v = _, E = Pl({
2794
+ const _ = (C) => {
2795
+ p(h.value) && (v = C, E = Pl({
2786
2796
  keyframes: [h.value, y(h.value)],
2787
- velocity: Tl(x, _, h.value),
2797
+ velocity: Tl(x, C, h.value),
2788
2798
  damping: i,
2789
2799
  stiffness: s,
2790
2800
  restDelta: c,
2791
- restSpeed: u
2801
+ restSpeed: d
2792
2802
  }));
2793
2803
  };
2794
- return C(0), {
2804
+ return _(0), {
2795
2805
  calculatedDuration: null,
2796
- next: (_) => {
2806
+ next: (C) => {
2797
2807
  let A = !1;
2798
- return !E && v === void 0 && (A = !0, S(_), C(_)), v !== void 0 && _ > v ? E.next(_ - v) : (!A && S(_), h);
2808
+ return !E && v === void 0 && (A = !0, S(C), _(C)), v !== void 0 && C > v ? E.next(C - v) : (!A && S(C), h);
2799
2809
  }
2800
2810
  };
2801
2811
  }
@@ -2810,23 +2820,23 @@ const df = (e) => {
2810
2820
  */
2811
2821
  now: () => le.isProcessing ? le.timestamp : performance.now()
2812
2822
  };
2813
- }, Io = 2e4;
2823
+ }, Vo = 2e4;
2814
2824
  function Lo(e) {
2815
2825
  let t = 0;
2816
2826
  const n = 50;
2817
2827
  let r = e.next(t);
2818
- for (; !r.done && t < Io; )
2828
+ for (; !r.done && t < Vo; )
2819
2829
  t += n, r = e.next(t);
2820
- return t >= Io ? 1 / 0 : t;
2830
+ return t >= Vo ? 1 / 0 : t;
2821
2831
  }
2822
2832
  const ff = {
2823
- decay: Vo,
2824
- inertia: Vo,
2833
+ decay: Io,
2834
+ inertia: Io,
2825
2835
  tween: ir,
2826
2836
  keyframes: ir,
2827
2837
  spring: Pl
2828
2838
  };
2829
- function or({ autoplay: e = !0, delay: t = 0, driver: n = df, keyframes: r, type: i = "keyframes", repeat: s = 0, repeatDelay: o = 0, repeatType: a = "loop", onPlay: l, onStop: c, onComplete: u, onUpdate: d, ...h }) {
2839
+ function or({ autoplay: e = !0, delay: t = 0, driver: n = df, keyframes: r, type: i = "keyframes", repeat: s = 0, repeatDelay: o = 0, repeatType: a = "loop", onPlay: l, onStop: c, onComplete: d, onUpdate: u, ...h }) {
2830
2840
  let p = 1, y = !1, f, m;
2831
2841
  const b = () => {
2832
2842
  m = new Promise((B) => {
@@ -2837,7 +2847,7 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = df, keyframes: r, type
2837
2847
  let w;
2838
2848
  const x = ff[i] || ir;
2839
2849
  let S;
2840
- x !== ir && typeof r[0] != "number" && (process.env.NODE_ENV !== "production" && De(r.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`), S = Cl([0, 100], r, {
2850
+ x !== ir && typeof r[0] != "number" && (process.env.NODE_ENV !== "production" && De(r.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`), S = _l([0, 100], r, {
2841
2851
  clamp: !1
2842
2852
  }), r = [0, 100]);
2843
2853
  const v = x({ ...h, keyframes: r });
@@ -2847,42 +2857,42 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = df, keyframes: r, type
2847
2857
  keyframes: [...r].reverse(),
2848
2858
  velocity: -(h.velocity || 0)
2849
2859
  }));
2850
- let C = "idle", _ = null, A = null, D = null;
2860
+ let _ = "idle", C = null, A = null, D = null;
2851
2861
  v.calculatedDuration === null && s && (v.calculatedDuration = Lo(v));
2852
2862
  const { calculatedDuration: O } = v;
2853
- let V = 1 / 0, K = 1 / 0;
2854
- O !== null && (V = O + o, K = V * (s + 1) - o);
2863
+ let I = 1 / 0, K = 1 / 0;
2864
+ O !== null && (I = O + o, K = I * (s + 1) - o);
2855
2865
  let H = 0;
2856
2866
  const fe = (B) => {
2857
2867
  if (A === null)
2858
2868
  return;
2859
- p > 0 && (A = Math.min(A, B)), p < 0 && (A = Math.min(B - K / p, A)), _ !== null ? H = _ : H = Math.round(B - A) * p;
2869
+ p > 0 && (A = Math.min(A, B)), p < 0 && (A = Math.min(B - K / p, A)), C !== null ? H = C : H = Math.round(B - A) * p;
2860
2870
  const ke = H - t * (p >= 0 ? 1 : -1), je = p >= 0 ? ke < 0 : ke > K;
2861
- H = Math.max(ke, 0), C === "finished" && _ === null && (H = K);
2871
+ H = Math.max(ke, 0), _ === "finished" && C === null && (H = K);
2862
2872
  let Se = H, Be = v;
2863
2873
  if (s) {
2864
- const ct = Math.min(H, K) / V;
2874
+ const ct = Math.min(H, K) / I;
2865
2875
  let Ke = Math.floor(ct), Oe = ct % 1;
2866
- !Oe && ct >= 1 && (Oe = 1), Oe === 1 && Ke--, Ke = Math.min(Ke, s + 1), !!(Ke % 2) && (a === "reverse" ? (Oe = 1 - Oe, o && (Oe -= o / V)) : a === "mirror" && (Be = E)), Se = it(0, 1, Oe) * V;
2876
+ !Oe && ct >= 1 && (Oe = 1), Oe === 1 && Ke--, Ke = Math.min(Ke, s + 1), !!(Ke % 2) && (a === "reverse" ? (Oe = 1 - Oe, o && (Oe -= o / I)) : a === "mirror" && (Be = E)), Se = it(0, 1, Oe) * I;
2867
2877
  }
2868
2878
  const We = je ? { done: !1, value: r[0] } : Be.next(Se);
2869
2879
  S && (We.value = S(We.value));
2870
2880
  let { done: xt } = We;
2871
2881
  !je && O !== null && (xt = p >= 0 ? H >= K : H <= 0);
2872
- const Yt = _ === null && (C === "finished" || C === "running" && xt);
2873
- return d && d(We.value), Yt && ue(), We;
2874
- }, U = () => {
2882
+ const Yt = C === null && (_ === "finished" || _ === "running" && xt);
2883
+ return u && u(We.value), Yt && ue(), We;
2884
+ }, Y = () => {
2875
2885
  w && w.stop(), w = void 0;
2876
2886
  }, ce = () => {
2877
- C = "idle", U(), f(), b(), A = D = null;
2887
+ _ = "idle", Y(), f(), b(), A = D = null;
2878
2888
  }, ue = () => {
2879
- C = "finished", u && u(), U(), f();
2889
+ _ = "finished", d && d(), Y(), f();
2880
2890
  }, ge = () => {
2881
2891
  if (y)
2882
2892
  return;
2883
2893
  w || (w = n(fe));
2884
2894
  const B = w.now();
2885
- l && l(), _ !== null ? A = B - _ : (!A || C === "finished") && (A = B), C === "finished" && b(), D = A, _ = null, C = "running", w.start();
2895
+ l && l(), C !== null ? A = B - C : (!A || _ === "finished") && (A = B), _ === "finished" && b(), D = A, C = null, _ = "running", w.start();
2886
2896
  };
2887
2897
  e && ge();
2888
2898
  const Re = {
@@ -2893,7 +2903,7 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = df, keyframes: r, type
2893
2903
  return Ye(H);
2894
2904
  },
2895
2905
  set time(B) {
2896
- B = rt(B), H = B, _ !== null || !w || p === 0 ? _ = B : A = w.now() - B / p;
2906
+ B = rt(B), H = B, C !== null || !w || p === 0 ? C = B : A = w.now() - B / p;
2897
2907
  },
2898
2908
  get duration() {
2899
2909
  const B = v.calculatedDuration === null ? Lo(v) : v.calculatedDuration;
@@ -2906,20 +2916,20 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = df, keyframes: r, type
2906
2916
  B === p || !w || (p = B, Re.time = Ye(H));
2907
2917
  },
2908
2918
  get state() {
2909
- return C;
2919
+ return _;
2910
2920
  },
2911
2921
  play: ge,
2912
2922
  pause: () => {
2913
- C = "paused", _ = H;
2923
+ _ = "paused", C = H;
2914
2924
  },
2915
2925
  stop: () => {
2916
- y = !0, C !== "idle" && (C = "idle", c && c(), ce());
2926
+ y = !0, _ !== "idle" && (_ = "idle", c && c(), ce());
2917
2927
  },
2918
2928
  cancel: () => {
2919
2929
  D !== null && fe(D), ce();
2920
2930
  },
2921
2931
  complete: () => {
2922
- C = "finished";
2932
+ _ = "finished";
2923
2933
  },
2924
2934
  sample: (B) => (A = 0, fe(B))
2925
2935
  };
@@ -2935,32 +2945,32 @@ const pf = hf(() => Object.hasOwnProperty.call(Element.prototype, "animate")), m
2935
2945
  "filter",
2936
2946
  "transform",
2937
2947
  "backgroundColor"
2938
- ]), Vn = 10, gf = 2e4, yf = (e, t) => t.type === "spring" || e === "backgroundColor" || !il(t.ease);
2948
+ ]), In = 10, gf = 2e4, yf = (e, t) => t.type === "spring" || e === "backgroundColor" || !il(t.ease);
2939
2949
  function vf(e, t, { onUpdate: n, onComplete: r, ...i }) {
2940
2950
  if (!(pf() && mf.has(t) && !i.repeatDelay && i.repeatType !== "mirror" && i.damping !== 0 && i.type !== "inertia"))
2941
2951
  return !1;
2942
2952
  let o = !1, a, l, c = !1;
2943
- const u = () => {
2953
+ const d = () => {
2944
2954
  l = new Promise((x) => {
2945
2955
  a = x;
2946
2956
  });
2947
2957
  };
2948
- u();
2949
- let { keyframes: d, duration: h = 300, ease: p, times: y } = i;
2958
+ d();
2959
+ let { keyframes: u, duration: h = 300, ease: p, times: y } = i;
2950
2960
  if (yf(t, i)) {
2951
2961
  const x = or({
2952
2962
  ...i,
2953
2963
  repeat: 0,
2954
2964
  delay: 0
2955
2965
  });
2956
- let S = { done: !1, value: d[0] };
2966
+ let S = { done: !1, value: u[0] };
2957
2967
  const v = [];
2958
2968
  let E = 0;
2959
2969
  for (; !S.done && E < gf; )
2960
- S = x.sample(E), v.push(S.value), E += Vn;
2961
- y = void 0, d = v, h = E - Vn, p = "linear";
2970
+ S = x.sample(E), v.push(S.value), E += In;
2971
+ y = void 0, u = v, h = E - In, p = "linear";
2962
2972
  }
2963
- const f = A0(e.owner.current, t, d, {
2973
+ const f = A0(e.owner.current, t, u, {
2964
2974
  ...i,
2965
2975
  duration: h,
2966
2976
  /**
@@ -2976,10 +2986,10 @@ function vf(e, t, { onUpdate: n, onComplete: r, ...i }) {
2976
2986
  }), m = () => {
2977
2987
  c = !1, f.cancel();
2978
2988
  }, b = () => {
2979
- c = !0, G.update(m), a(), u();
2989
+ c = !0, G.update(m), a(), d();
2980
2990
  };
2981
2991
  return f.onfinish = () => {
2982
- c || (e.set(k0(d, i)), r && r(), b());
2992
+ c || (e.set(k0(u, i)), r && r(), b());
2983
2993
  }, {
2984
2994
  then(x, S) {
2985
2995
  return l.then(x, S);
@@ -3015,7 +3025,7 @@ function vf(e, t, { onUpdate: n, onComplete: r, ...i }) {
3015
3025
  ...i,
3016
3026
  autoplay: !1
3017
3027
  });
3018
- e.setWithVelocity(S.sample(x - Vn).value, S.sample(x).value, Vn);
3028
+ e.setWithVelocity(S.sample(x - In).value, S.sample(x).value, In);
3019
3029
  }
3020
3030
  b();
3021
3031
  },
@@ -3061,9 +3071,9 @@ const xf = {
3061
3071
  type: "keyframes",
3062
3072
  ease: [0.25, 0.1, 0.35, 1],
3063
3073
  duration: 0.3
3064
- }, Cf = (e, { keyframes: t }) => t.length > 2 ? Sf : yt.has(e) ? e.startsWith("scale") ? wf(t[1]) : xf : Ef, ri = (e, t) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
3074
+ }, _f = (e, { keyframes: t }) => t.length > 2 ? Sf : yt.has(e) ? e.startsWith("scale") ? wf(t[1]) : xf : Ef, ri = (e, t) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
3065
3075
  (ot.test(t) || t === "0") && // And it contains numbers and/or colors
3066
- !t.startsWith("url(")), _f = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
3076
+ !t.startsWith("url(")), Cf = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
3067
3077
  function Tf(e) {
3068
3078
  const [t, n] = e.slice(0, -1).split("(");
3069
3079
  if (t === "drop-shadow")
@@ -3072,7 +3082,7 @@ function Tf(e) {
3072
3082
  if (!r)
3073
3083
  return e;
3074
3084
  const i = n.replace(r, "");
3075
- let s = _f.has(t) ? 1 : 0;
3085
+ let s = Cf.has(t) ? 1 : 0;
3076
3086
  return r !== n && (s *= 100), t + "(" + s + i + ")";
3077
3087
  }
3078
3088
  const Pf = /([a-z-]*)\(.*?\)/g, ii = {
@@ -3097,9 +3107,9 @@ const Pf = /([a-z-]*)\(.*?\)/g, ii = {
3097
3107
  borderLeftColor: de,
3098
3108
  filter: ii,
3099
3109
  WebkitFilter: ii
3100
- }, Ii = (e) => Af[e];
3110
+ }, Vi = (e) => Af[e];
3101
3111
  function Al(e, t) {
3102
- let n = Ii(e);
3112
+ let n = Vi(e);
3103
3113
  return n !== ii && (n = ot), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
3104
3114
  }
3105
3115
  const kl = (e) => /^0[^.\s]+$/.test(e);
@@ -3120,13 +3130,13 @@ function Of(e, t, n, r) {
3120
3130
  s[c] === null && (s[c] = c === 0 ? o : s[c - 1]), kf(s[c]) && l.push(c), typeof s[c] == "string" && s[c] !== "none" && s[c] !== "0" && (a = s[c]);
3121
3131
  if (i && l.length && a)
3122
3132
  for (let c = 0; c < l.length; c++) {
3123
- const u = l[c];
3124
- s[u] = Al(t, a);
3133
+ const d = l[c];
3134
+ s[d] = Al(t, a);
3125
3135
  }
3126
3136
  return s;
3127
3137
  }
3128
- function Mf({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: s, repeatType: o, repeatDelay: a, from: l, elapsed: c, ...u }) {
3129
- return !!Object.keys(u).length;
3138
+ function Mf({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: s, repeatType: o, repeatDelay: a, from: l, elapsed: c, ...d }) {
3139
+ return !!Object.keys(d).length;
3130
3140
  }
3131
3141
  function Li(e, t) {
3132
3142
  return e[t] || e.default || e;
@@ -3137,8 +3147,8 @@ const Nf = {
3137
3147
  const s = Li(r, e) || {}, o = s.delay || r.delay || 0;
3138
3148
  let { elapsed: a = 0 } = r;
3139
3149
  a = a - rt(o);
3140
- const l = Of(t, e, n, s), c = l[0], u = l[l.length - 1], d = ri(e, c), h = ri(e, u);
3141
- wn(d === h, `You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);
3150
+ const l = Of(t, e, n, s), c = l[0], d = l[l.length - 1], u = ri(e, c), h = ri(e, d);
3151
+ wn(u === h, `You are trying to animate ${e} from "${c}" to "${d}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${d} via the \`style\` property.`);
3142
3152
  let p = {
3143
3153
  keyframes: l,
3144
3154
  velocity: t.getVelocity(),
@@ -3154,8 +3164,8 @@ const Nf = {
3154
3164
  };
3155
3165
  if (Mf(s) || (p = {
3156
3166
  ...p,
3157
- ...Cf(e, p)
3158
- }), p.duration && (p.duration = rt(p.duration)), p.repeatDelay && (p.repeatDelay = rt(p.repeatDelay)), !d || !h || P0.current || s.type === !1 || Nf.skipAnimations)
3167
+ ..._f(e, p)
3168
+ }), p.duration && (p.duration = rt(p.duration)), p.repeatDelay && (p.repeatDelay = rt(p.repeatDelay)), !u || !h || P0.current || s.type === !1 || Nf.skipAnimations)
3159
3169
  return bf(p);
3160
3170
  if (
3161
3171
  /**
@@ -3352,7 +3362,7 @@ class Rf {
3352
3362
  getVelocity() {
3353
3363
  return this.canTrackVelocity ? (
3354
3364
  // These casts could be avoided if parseFloat would be typed better
3355
- _l(parseFloat(this.current) - parseFloat(this.prev), this.timeDelta)
3365
+ Cl(parseFloat(this.current) - parseFloat(this.prev), this.timeDelta)
3356
3366
  ) : 0;
3357
3367
  }
3358
3368
  /**
@@ -3409,10 +3419,10 @@ class Rf {
3409
3419
  function Lt(e, t) {
3410
3420
  return new Rf(e, t);
3411
3421
  }
3412
- const Ml = (e) => (t) => t.test(e), Vf = {
3422
+ const Ml = (e) => (t) => t.test(e), If = {
3413
3423
  test: (e) => e === "auto",
3414
3424
  parse: (e) => e
3415
- }, Nl = [vt, M, Ie, Qe, Bd, jd, Vf], Kt = (e) => Nl.find(Ml(e)), If = [...Nl, de, ot], Lf = (e) => If.find(Ml(e));
3425
+ }, Nl = [vt, M, Ve, Qe, Bd, jd, If], Kt = (e) => Nl.find(Ml(e)), Vf = [...Nl, de, ot], Lf = (e) => Vf.find(Ml(e));
3416
3426
  function $f(e, t, n) {
3417
3427
  e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Lt(n));
3418
3428
  }
@@ -3431,8 +3441,8 @@ function Ff(e, t, n) {
3431
3441
  if (o)
3432
3442
  for (let a = 0; a < o; a++) {
3433
3443
  const l = s[a], c = t[l];
3434
- let u = null;
3435
- Array.isArray(c) && (u = c[0]), u === null && (u = (i = (r = n[l]) !== null && r !== void 0 ? r : e.readValue(l)) !== null && i !== void 0 ? i : t[l]), u != null && (typeof u == "string" && (Ol(u) || kl(u)) ? u = parseFloat(u) : !Lf(u) && ot.test(c) && (u = Al(l, c)), e.addValue(l, Lt(u, { owner: e })), n[l] === void 0 && (n[l] = u), u !== null && e.setBaseTarget(l, u));
3444
+ let d = null;
3445
+ Array.isArray(c) && (d = c[0]), d === null && (d = (i = (r = n[l]) !== null && r !== void 0 ? r : e.readValue(l)) !== null && i !== void 0 ? i : t[l]), d != null && (typeof d == "string" && (Ol(d) || kl(d)) ? d = parseFloat(d) : !Lf(d) && ot.test(c) && (d = Al(l, c)), e.addValue(l, Lt(d, { owner: e })), n[l] === void 0 && (n[l] = d), d !== null && e.setBaseTarget(l, d));
3436
3446
  }
3437
3447
  }
3438
3448
  function jf(e, t) {
@@ -3468,29 +3478,29 @@ function Dl(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
3468
3478
  let { transition: s = e.getDefaultTransition(), transitionEnd: o, ...a } = e.makeTargetAnimatable(t);
3469
3479
  const l = e.getValue("willChange");
3470
3480
  r && (s = r);
3471
- const c = [], u = i && e.animationState && e.animationState.getState()[i];
3472
- for (const d in a) {
3473
- const h = e.getValue(d), p = a[d];
3474
- if (!h || p === void 0 || u && Wf(u, d))
3481
+ const c = [], d = i && e.animationState && e.animationState.getState()[i];
3482
+ for (const u in a) {
3483
+ const h = e.getValue(u), p = a[u];
3484
+ if (!h || p === void 0 || d && Wf(d, u))
3475
3485
  continue;
3476
3486
  const y = {
3477
3487
  delay: n,
3478
3488
  elapsed: 0,
3479
- ...Li(s || {}, d)
3489
+ ...Li(s || {}, u)
3480
3490
  };
3481
3491
  if (window.HandoffAppearAnimations) {
3482
3492
  const b = e.getProps()[Ra];
3483
3493
  if (b) {
3484
- const w = window.HandoffAppearAnimations(b, d, h, G);
3494
+ const w = window.HandoffAppearAnimations(b, u, h, G);
3485
3495
  w !== null && (y.elapsed = w, y.isHandoff = !0);
3486
3496
  }
3487
3497
  }
3488
3498
  let f = !y.isHandoff && !Hf(h, p);
3489
3499
  if (y.type === "spring" && (h.getVelocity() || y.velocity) && (f = !1), h.animation && (f = !1), f)
3490
3500
  continue;
3491
- h.start($i(d, h, p, e.shouldReduceMotion && yt.has(d) ? { type: !1 } : y));
3501
+ h.start($i(u, h, p, e.shouldReduceMotion && yt.has(u) ? { type: !1 } : y));
3492
3502
  const m = h.animation;
3493
- sr(l) && (l.add(d), m.then(() => l.remove(d))), c.push(m);
3503
+ sr(l) && (l.add(u), m.then(() => l.remove(u))), c.push(m);
3494
3504
  }
3495
3505
  return o && Promise.all(c).then(() => {
3496
3506
  o && zf(e, o);
@@ -3501,8 +3511,8 @@ function oi(e, t, n = {}) {
3501
3511
  let { transition: i = e.getDefaultTransition() || {} } = r || {};
3502
3512
  n.transitionOverride && (i = n.transitionOverride);
3503
3513
  const s = r ? () => Promise.all(Dl(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (l = 0) => {
3504
- const { delayChildren: c = 0, staggerChildren: u, staggerDirection: d } = i;
3505
- return Uf(e, t, c + l, u, d, n);
3514
+ const { delayChildren: c = 0, staggerChildren: d, staggerDirection: u } = i;
3515
+ return Uf(e, t, c + l, d, u, n);
3506
3516
  } : () => Promise.resolve(), { when: a } = i;
3507
3517
  if (a) {
3508
3518
  const [l, c] = a === "beforeChildren" ? [s, o] : [o, s];
@@ -3512,10 +3522,10 @@ function oi(e, t, n = {}) {
3512
3522
  }
3513
3523
  function Uf(e, t, n = 0, r = 0, i = 1, s) {
3514
3524
  const o = [], a = (e.variantChildren.size - 1) * r, l = i === 1 ? (c = 0) => c * r : (c = 0) => a - c * r;
3515
- return Array.from(e.variantChildren).sort(Yf).forEach((c, u) => {
3525
+ return Array.from(e.variantChildren).sort(Yf).forEach((c, d) => {
3516
3526
  c.notify("AnimationStart", t), o.push(oi(c, t, {
3517
3527
  ...s,
3518
- delay: n + l(u)
3528
+ delay: n + l(d)
3519
3529
  }).then(() => c.notify("AnimationComplete", t)));
3520
3530
  }), Promise.all(o);
3521
3531
  }
@@ -3536,7 +3546,7 @@ function Gf(e, t, n = {}) {
3536
3546
  }
3537
3547
  return r.then(() => e.notify("AnimationComplete", t));
3538
3548
  }
3539
- const qf = [...Ci].reverse(), Kf = Ci.length;
3549
+ const qf = [..._i].reverse(), Kf = _i.length;
3540
3550
  function Xf(e) {
3541
3551
  return (t) => Promise.all(t.map(({ animation: n, options: r }) => Gf(e, n, r)));
3542
3552
  }
@@ -3545,9 +3555,9 @@ function Zf(e) {
3545
3555
  const n = Qf();
3546
3556
  let r = !0;
3547
3557
  const i = (l, c) => {
3548
- const u = xr(e, c);
3549
- if (u) {
3550
- const { transition: d, transitionEnd: h, ...p } = u;
3558
+ const d = xr(e, c);
3559
+ if (d) {
3560
+ const { transition: u, transitionEnd: h, ...p } = d;
3551
3561
  l = { ...l, ...p, ...h };
3552
3562
  }
3553
3563
  return l;
@@ -3556,38 +3566,38 @@ function Zf(e) {
3556
3566
  t = l(e);
3557
3567
  }
3558
3568
  function o(l, c) {
3559
- const u = e.getProps(), d = e.getVariantContext(!0) || {}, h = [], p = /* @__PURE__ */ new Set();
3569
+ const d = e.getProps(), u = e.getVariantContext(!0) || {}, h = [], p = /* @__PURE__ */ new Set();
3560
3570
  let y = {}, f = 1 / 0;
3561
3571
  for (let b = 0; b < Kf; b++) {
3562
- const w = qf[b], x = n[w], S = u[w] !== void 0 ? u[w] : d[w], v = un(S), E = w === c ? x.isActive : null;
3572
+ const w = qf[b], x = n[w], S = d[w] !== void 0 ? d[w] : u[w], v = un(S), E = w === c ? x.isActive : null;
3563
3573
  E === !1 && (f = b);
3564
- let C = S === d[w] && S !== u[w] && v;
3565
- if (C && r && e.manuallyAnimateOnMount && (C = !1), x.protectedKeys = { ...y }, // If it isn't active and hasn't *just* been set as inactive
3574
+ let _ = S === u[w] && S !== d[w] && v;
3575
+ if (_ && r && e.manuallyAnimateOnMount && (_ = !1), x.protectedKeys = { ...y }, // If it isn't active and hasn't *just* been set as inactive
3566
3576
  !x.isActive && E === null || // If we didn't and don't have any defined prop for this animation type
3567
3577
  !S && !x.prevProp || // Or if the prop doesn't define an animation
3568
3578
  gr(S) || typeof S == "boolean")
3569
3579
  continue;
3570
3580
  let A = Jf(x.prevProp, S) || // If we're making this variant active, we want to always make it active
3571
- w === c && x.isActive && !C && v || // If we removed a higher-priority variant (i is in reverse order)
3581
+ w === c && x.isActive && !_ && v || // If we removed a higher-priority variant (i is in reverse order)
3572
3582
  b > f && v, D = !1;
3573
3583
  const O = Array.isArray(S) ? S : [S];
3574
- let V = O.reduce(i, {});
3575
- E === !1 && (V = {});
3584
+ let I = O.reduce(i, {});
3585
+ E === !1 && (I = {});
3576
3586
  const { prevResolvedValues: K = {} } = x, H = {
3577
3587
  ...K,
3578
- ...V
3579
- }, fe = (U) => {
3580
- A = !0, p.has(U) && (D = !0, p.delete(U)), x.needsAnimating[U] = !0;
3588
+ ...I
3589
+ }, fe = (Y) => {
3590
+ A = !0, p.has(Y) && (D = !0, p.delete(Y)), x.needsAnimating[Y] = !0;
3581
3591
  };
3582
- for (const U in H) {
3583
- const ce = V[U], ue = K[U];
3584
- if (y.hasOwnProperty(U))
3592
+ for (const Y in H) {
3593
+ const ce = I[Y], ue = K[Y];
3594
+ if (y.hasOwnProperty(Y))
3585
3595
  continue;
3586
3596
  let ge = !1;
3587
- nr(ce) && nr(ue) ? ge = !nl(ce, ue) : ge = ce !== ue, ge ? ce !== void 0 ? fe(U) : p.add(U) : ce !== void 0 && p.has(U) ? fe(U) : x.protectedKeys[U] = !0;
3597
+ nr(ce) && nr(ue) ? ge = !nl(ce, ue) : ge = ce !== ue, ge ? ce !== void 0 ? fe(Y) : p.add(Y) : ce !== void 0 && p.has(Y) ? fe(Y) : x.protectedKeys[Y] = !0;
3588
3598
  }
3589
- x.prevProp = S, x.prevResolvedValues = V, x.isActive && (y = { ...y, ...V }), r && e.blockInitialAnimation && (A = !1), A && (!C || D) && h.push(...O.map((U) => ({
3590
- animation: U,
3599
+ x.prevProp = S, x.prevResolvedValues = I, x.isActive && (y = { ...y, ...I }), r && e.blockInitialAnimation && (A = !1), A && (!_ || D) && h.push(...O.map((Y) => ({
3600
+ animation: Y,
3591
3601
  options: { type: w, ...l }
3592
3602
  })));
3593
3603
  }
@@ -3599,17 +3609,17 @@ function Zf(e) {
3599
3609
  }), h.push({ animation: b });
3600
3610
  }
3601
3611
  let m = !!h.length;
3602
- return r && (u.initial === !1 || u.initial === u.animate) && !e.manuallyAnimateOnMount && (m = !1), r = !1, m ? t(h) : Promise.resolve();
3612
+ return r && (d.initial === !1 || d.initial === d.animate) && !e.manuallyAnimateOnMount && (m = !1), r = !1, m ? t(h) : Promise.resolve();
3603
3613
  }
3604
- function a(l, c, u) {
3605
- var d;
3614
+ function a(l, c, d) {
3615
+ var u;
3606
3616
  if (n[l].isActive === c)
3607
3617
  return Promise.resolve();
3608
- (d = e.variantChildren) === null || d === void 0 || d.forEach((p) => {
3618
+ (u = e.variantChildren) === null || u === void 0 || u.forEach((p) => {
3609
3619
  var y;
3610
3620
  return (y = p.animationState) === null || y === void 0 ? void 0 : y.setActive(l, c);
3611
3621
  }), n[l].isActive = c;
3612
- const h = o(u, l);
3622
+ const h = o(d, l);
3613
3623
  for (const p in n)
3614
3624
  n[p].protectedKeys = {};
3615
3625
  return h;
@@ -3707,29 +3717,29 @@ class Rl {
3707
3717
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
3708
3718
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
3709
3719
  return;
3710
- const d = Yr(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, p = ih(d.offset, { x: 0, y: 0 }) >= 3;
3720
+ const u = Yr(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, p = ih(u.offset, { x: 0, y: 0 }) >= 3;
3711
3721
  if (!h && !p)
3712
3722
  return;
3713
- const { point: y } = d, { timestamp: f } = le;
3723
+ const { point: y } = u, { timestamp: f } = le;
3714
3724
  this.history.push({ ...y, timestamp: f });
3715
3725
  const { onStart: m, onMove: b } = this.handlers;
3716
- h || (m && m(this.lastMoveEvent, d), this.startEvent = this.lastMoveEvent), b && b(this.lastMoveEvent, d);
3717
- }, this.handlePointerMove = (d, h) => {
3718
- this.lastMoveEvent = d, this.lastMoveEventInfo = Ur(h, this.transformPagePoint), G.update(this.updatePoint, !0);
3719
- }, this.handlePointerUp = (d, h) => {
3726
+ h || (m && m(this.lastMoveEvent, u), this.startEvent = this.lastMoveEvent), b && b(this.lastMoveEvent, u);
3727
+ }, this.handlePointerMove = (u, h) => {
3728
+ this.lastMoveEvent = u, this.lastMoveEventInfo = Ur(h, this.transformPagePoint), G.update(this.updatePoint, !0);
3729
+ }, this.handlePointerUp = (u, h) => {
3720
3730
  this.end();
3721
3731
  const { onEnd: p, onSessionEnd: y, resumeAnimation: f } = this.handlers;
3722
3732
  if (this.dragSnapToOrigin && f && f(), !(this.lastMoveEvent && this.lastMoveEventInfo))
3723
3733
  return;
3724
- const m = Yr(d.type === "pointercancel" ? this.lastMoveEventInfo : Ur(h, this.transformPagePoint), this.history);
3725
- this.startEvent && p && p(d, m), y && y(d, m);
3734
+ const m = Yr(u.type === "pointercancel" ? this.lastMoveEventInfo : Ur(h, this.transformPagePoint), this.history);
3735
+ this.startEvent && p && p(u, m), y && y(u, m);
3726
3736
  }, !Za(t))
3727
3737
  return;
3728
3738
  this.dragSnapToOrigin = s, this.handlers = n, this.transformPagePoint = r, this.contextWindow = i || window;
3729
3739
  const o = br(t), a = Ur(o, this.transformPagePoint), { point: l } = a, { timestamp: c } = le;
3730
3740
  this.history = [{ ...l, timestamp: c }];
3731
- const { onSessionStart: u } = n;
3732
- u && u(t, Yr(a, this.history)), this.removeListeners = nt(Ue(this.contextWindow, "pointermove", this.handlePointerMove), Ue(this.contextWindow, "pointerup", this.handlePointerUp), Ue(this.contextWindow, "pointercancel", this.handlePointerUp));
3741
+ const { onSessionStart: d } = n;
3742
+ d && d(t, Yr(a, this.history)), this.removeListeners = nt(Ue(this.contextWindow, "pointermove", this.handlePointerMove), Ue(this.contextWindow, "pointerup", this.handlePointerUp), Ue(this.contextWindow, "pointercancel", this.handlePointerUp));
3733
3743
  }
3734
3744
  updateHandlers(t) {
3735
3745
  this.handlers = t;
@@ -3747,7 +3757,7 @@ function Fo(e, t) {
3747
3757
  function Yr({ point: e }, t) {
3748
3758
  return {
3749
3759
  point: e,
3750
- delta: Fo(e, Vl(t)),
3760
+ delta: Fo(e, Il(t)),
3751
3761
  offset: Fo(e, oh(t)),
3752
3762
  velocity: sh(t, 0.1)
3753
3763
  };
@@ -3755,14 +3765,14 @@ function Yr({ point: e }, t) {
3755
3765
  function oh(e) {
3756
3766
  return e[0];
3757
3767
  }
3758
- function Vl(e) {
3768
+ function Il(e) {
3759
3769
  return e[e.length - 1];
3760
3770
  }
3761
3771
  function sh(e, t) {
3762
3772
  if (e.length < 2)
3763
3773
  return { x: 0, y: 0 };
3764
3774
  let n = e.length - 1, r = null;
3765
- const i = Vl(e);
3775
+ const i = Il(e);
3766
3776
  for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > rt(t))); )
3767
3777
  n--;
3768
3778
  if (!r)
@@ -3862,10 +3872,10 @@ const qo = () => ({
3862
3872
  x: Ko(),
3863
3873
  y: Ko()
3864
3874
  });
3865
- function Ce(e) {
3875
+ function _e(e) {
3866
3876
  return [e("x"), e("y")];
3867
3877
  }
3868
- function Il({ top: e, left: t, right: n, bottom: r }) {
3878
+ function Vl({ top: e, left: t, right: n, bottom: r }) {
3869
3879
  return {
3870
3880
  x: { min: t, max: n },
3871
3881
  y: { min: e, max: r }
@@ -3944,7 +3954,7 @@ function Dt(e, t) {
3944
3954
  Qo(e.x, t, yh), Qo(e.y, t, vh);
3945
3955
  }
3946
3956
  function zl(e, t) {
3947
- return Il(mh(e.getBoundingClientRect(), t));
3957
+ return Vl(mh(e.getBoundingClientRect(), t));
3948
3958
  }
3949
3959
  function bh(e, t, n) {
3950
3960
  const r = zl(e, n), { scroll: i } = t;
@@ -3959,16 +3969,16 @@ class wh {
3959
3969
  const { presenceContext: r } = this.visualElement;
3960
3970
  if (r && r.isPresent === !1)
3961
3971
  return;
3962
- const i = (u) => {
3963
- const { dragSnapToOrigin: d } = this.getProps();
3964
- d ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(br(u, "page").point);
3965
- }, s = (u, d) => {
3972
+ const i = (d) => {
3973
+ const { dragSnapToOrigin: u } = this.getProps();
3974
+ u ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(br(d, "page").point);
3975
+ }, s = (d, u) => {
3966
3976
  const { drag: h, dragPropagation: p, onDragStart: y } = this.getProps();
3967
3977
  if (h && !p && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = Qa(h), !this.openGlobalLock))
3968
3978
  return;
3969
- this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Ce((m) => {
3979
+ this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), _e((m) => {
3970
3980
  let b = this.getAxisMotionValue(m).get() || 0;
3971
- if (Ie.test(b)) {
3981
+ if (Ve.test(b)) {
3972
3982
  const { projection: w } = this.visualElement;
3973
3983
  if (w && w.layout) {
3974
3984
  const x = w.layout.layoutBox[m];
@@ -3976,22 +3986,22 @@ class wh {
3976
3986
  }
3977
3987
  }
3978
3988
  this.originPoint[m] = b;
3979
- }), y && G.update(() => y(u, d), !1, !0);
3989
+ }), y && G.update(() => y(d, u), !1, !0);
3980
3990
  const { animationState: f } = this.visualElement;
3981
3991
  f && f.setActive("whileDrag", !0);
3982
- }, o = (u, d) => {
3992
+ }, o = (d, u) => {
3983
3993
  const { dragPropagation: h, dragDirectionLock: p, onDirectionLock: y, onDrag: f } = this.getProps();
3984
3994
  if (!h && !this.openGlobalLock)
3985
3995
  return;
3986
- const { offset: m } = d;
3996
+ const { offset: m } = u;
3987
3997
  if (p && this.currentDirection === null) {
3988
3998
  this.currentDirection = Sh(m), this.currentDirection !== null && y && y(this.currentDirection);
3989
3999
  return;
3990
4000
  }
3991
- this.updateAxis("x", d.point, m), this.updateAxis("y", d.point, m), this.visualElement.render(), f && f(u, d);
3992
- }, a = (u, d) => this.stop(u, d), l = () => Ce((u) => {
3993
- var d;
3994
- return this.getAnimationState(u) === "paused" && ((d = this.getAxisMotionValue(u).animation) === null || d === void 0 ? void 0 : d.play());
4001
+ this.updateAxis("x", u.point, m), this.updateAxis("y", u.point, m), this.visualElement.render(), f && f(d, u);
4002
+ }, a = (d, u) => this.stop(d, u), l = () => _e((d) => {
4003
+ var u;
4004
+ return this.getAnimationState(d) === "paused" && ((u = this.getAxisMotionValue(d).animation) === null || u === void 0 ? void 0 : u.play());
3995
4005
  }), { dragSnapToOrigin: c } = this.getProps();
3996
4006
  this.panSession = new Rl(t, {
3997
4007
  onSessionStart: i,
@@ -4023,7 +4033,7 @@ class wh {
4023
4033
  }
4024
4034
  updateAxis(t, n, r) {
4025
4035
  const { drag: i } = this.getProps();
4026
- if (!r || !In(t, i, this.currentDirection))
4036
+ if (!r || !Vn(t, i, this.currentDirection))
4027
4037
  return;
4028
4038
  const s = this.getAxisMotionValue(t);
4029
4039
  let o = this.originPoint[t] + r[t];
@@ -4032,7 +4042,7 @@ class wh {
4032
4042
  resolveConstraints() {
4033
4043
  var t;
4034
4044
  const { dragConstraints: n, dragElastic: r } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, s = this.constraints;
4035
- n && Ot(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = ch(i.layoutBox, n) : this.constraints = !1, this.elastic = hh(r), s !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && Ce((o) => {
4045
+ n && Ot(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = ch(i.layoutBox, n) : this.constraints = !1, this.elastic = hh(r), s !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && _e((o) => {
4036
4046
  this.getAxisMotionValue(o) && (this.constraints[o] = fh(i.layoutBox[o], this.constraints[o]));
4037
4047
  });
4038
4048
  }
@@ -4049,28 +4059,28 @@ class wh {
4049
4059
  let o = uh(i.layout.layoutBox, s);
4050
4060
  if (n) {
4051
4061
  const a = n(ph(o));
4052
- this.hasMutatedConstraints = !!a, a && (o = Il(a));
4062
+ this.hasMutatedConstraints = !!a, a && (o = Vl(a));
4053
4063
  }
4054
4064
  return o;
4055
4065
  }
4056
4066
  startAnimation(t) {
4057
- const { drag: n, dragMomentum: r, dragElastic: i, dragTransition: s, dragSnapToOrigin: o, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, c = Ce((u) => {
4058
- if (!In(u, n, this.currentDirection))
4067
+ const { drag: n, dragMomentum: r, dragElastic: i, dragTransition: s, dragSnapToOrigin: o, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, c = _e((d) => {
4068
+ if (!Vn(d, n, this.currentDirection))
4059
4069
  return;
4060
- let d = l && l[u] || {};
4061
- o && (d = { min: 0, max: 0 });
4070
+ let u = l && l[d] || {};
4071
+ o && (u = { min: 0, max: 0 });
4062
4072
  const h = i ? 200 : 1e6, p = i ? 40 : 1e7, y = {
4063
4073
  type: "inertia",
4064
- velocity: r ? t[u] : 0,
4074
+ velocity: r ? t[d] : 0,
4065
4075
  bounceStiffness: h,
4066
4076
  bounceDamping: p,
4067
4077
  timeConstant: 750,
4068
4078
  restDelta: 1,
4069
4079
  restSpeed: 10,
4070
4080
  ...s,
4071
- ...d
4081
+ ...u
4072
4082
  };
4073
- return this.startAxisValueAnimation(u, y);
4083
+ return this.startAxisValueAnimation(d, y);
4074
4084
  });
4075
4085
  return Promise.all(c).then(a);
4076
4086
  }
@@ -4079,10 +4089,10 @@ class wh {
4079
4089
  return r.start($i(t, r, 0, n));
4080
4090
  }
4081
4091
  stopAnimation() {
4082
- Ce((t) => this.getAxisMotionValue(t).stop());
4092
+ _e((t) => this.getAxisMotionValue(t).stop());
4083
4093
  }
4084
4094
  pauseAnimation() {
4085
- Ce((t) => {
4095
+ _e((t) => {
4086
4096
  var n;
4087
4097
  return (n = this.getAxisMotionValue(t).animation) === null || n === void 0 ? void 0 : n.pause();
4088
4098
  });
@@ -4102,9 +4112,9 @@ class wh {
4102
4112
  return i || this.visualElement.getValue(t, (r.initial ? r.initial[t] : void 0) || 0);
4103
4113
  }
4104
4114
  snapToCursor(t) {
4105
- Ce((n) => {
4115
+ _e((n) => {
4106
4116
  const { drag: r } = this.getProps();
4107
- if (!In(n, r, this.currentDirection))
4117
+ if (!Vn(n, r, this.currentDirection))
4108
4118
  return;
4109
4119
  const { projection: i } = this.visualElement, s = this.getAxisMotionValue(n);
4110
4120
  if (i && i.layout) {
@@ -4126,7 +4136,7 @@ class wh {
4126
4136
  return;
4127
4137
  this.stopAnimation();
4128
4138
  const i = { x: 0, y: 0 };
4129
- Ce((o) => {
4139
+ _e((o) => {
4130
4140
  const a = this.getAxisMotionValue(o);
4131
4141
  if (a) {
4132
4142
  const l = a.get();
@@ -4134,8 +4144,8 @@ class wh {
4134
4144
  }
4135
4145
  });
4136
4146
  const { transformTemplate: s } = this.visualElement.getProps();
4137
- this.visualElement.current.style.transform = s ? s({}, "") : "none", r.root && r.root.updateScroll(), r.updateLayout(), this.resolveConstraints(), Ce((o) => {
4138
- if (!In(o, t, null))
4147
+ this.visualElement.current.style.transform = s ? s({}, "") : "none", r.root && r.root.updateScroll(), r.updateLayout(), this.resolveConstraints(), _e((o) => {
4148
+ if (!Vn(o, t, null))
4139
4149
  return;
4140
4150
  const a = this.getAxisMotionValue(o), { min: l, max: c } = this.constraints[o];
4141
4151
  a.set(X(l, c, i[o]));
@@ -4146,17 +4156,17 @@ class wh {
4146
4156
  return;
4147
4157
  xh.set(this.visualElement, this);
4148
4158
  const t = this.visualElement.current, n = Ue(t, "pointerdown", (l) => {
4149
- const { drag: c, dragListener: u = !0 } = this.getProps();
4150
- c && u && this.start(l);
4159
+ const { drag: c, dragListener: d = !0 } = this.getProps();
4160
+ c && d && this.start(l);
4151
4161
  }), r = () => {
4152
4162
  const { dragConstraints: l } = this.getProps();
4153
4163
  Ot(l) && (this.constraints = this.resolveRefConstraints());
4154
4164
  }, { projection: i } = this.visualElement, s = i.addEventListener("measure", r);
4155
4165
  i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), r();
4156
4166
  const o = He(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
4157
- this.isDragging && c && (Ce((u) => {
4158
- const d = this.getAxisMotionValue(u);
4159
- d && (this.originPoint[u] += l[u].translate, d.set(d.get() + l[u].translate));
4167
+ this.isDragging && c && (_e((d) => {
4168
+ const u = this.getAxisMotionValue(d);
4169
+ u && (this.originPoint[d] += l[d].translate, u.set(u.get() + l[d].translate));
4160
4170
  }), this.visualElement.render());
4161
4171
  });
4162
4172
  return () => {
@@ -4176,7 +4186,7 @@ class wh {
4176
4186
  };
4177
4187
  }
4178
4188
  }
4179
- function In(e, t, n) {
4189
+ function Vn(e, t, n) {
4180
4190
  return (t === !0 || t === e) && (n === null || n === e);
4181
4191
  }
4182
4192
  function Sh(e, t = 10) {
@@ -4198,7 +4208,7 @@ class Eh extends at {
4198
4208
  const es = (e) => (t, n) => {
4199
4209
  e && G.update(() => e(t, n));
4200
4210
  };
4201
- class Ch extends at {
4211
+ class _h extends at {
4202
4212
  constructor() {
4203
4213
  super(...arguments), this.removePointerDownListener = Q;
4204
4214
  }
@@ -4229,7 +4239,7 @@ class Ch extends at {
4229
4239
  this.removePointerDownListener(), this.session && this.session.end();
4230
4240
  }
4231
4241
  }
4232
- function _h() {
4242
+ function Ch() {
4233
4243
  const e = ie(Si);
4234
4244
  if (e === null)
4235
4245
  return [!0, null];
@@ -4315,7 +4325,7 @@ class Ph extends xi.Component {
4315
4325
  }
4316
4326
  }
4317
4327
  function jl(e) {
4318
- const [t, n] = _h(), r = ie(Ia);
4328
+ const [t, n] = Ch(), r = ie(Va);
4319
4329
  return xi.createElement(Ph, { ...e, layoutGroup: r, switchLayoutGroup: ie(La), isPresent: t, safeToRemove: n });
4320
4330
  }
4321
4331
  const Ah = {
@@ -4346,7 +4356,7 @@ function Oh(e, t, n, r, i, s) {
4346
4356
  let l = is(t, a), c = is(n, a);
4347
4357
  if (l === void 0 && c === void 0)
4348
4358
  continue;
4349
- l || (l = 0), c || (c = 0), l === 0 || c === 0 || rs(l) === rs(c) ? (e[a] = Math.max(X(ns(l), ns(c), r), 0), (Ie.test(c) || Ie.test(l)) && (e[a] += "%")) : e[a] = c;
4359
+ l || (l = 0), c || (c = 0), l === 0 || c === 0 || rs(l) === rs(c) ? (e[a] = Math.max(X(ns(l), ns(c), r), 0), (Ve.test(c) || Ve.test(l)) && (e[a] += "%")) : e[a] = c;
4350
4360
  }
4351
4361
  (t.rotate || n.rotate) && (e.rotate = X(t.rotate || 0, n.rotate || 0, r));
4352
4362
  }
@@ -4367,7 +4377,7 @@ function ss(e, t, n, r, i) {
4367
4377
  return e -= t, e = ar(e, 1 / n, r), i !== void 0 && (e = ar(e, 1 / i, r)), e;
4368
4378
  }
4369
4379
  function Dh(e, t = 0, n = 1, r = 0.5, i, s = e, o = e) {
4370
- if (Ie.test(t) && (t = parseFloat(t), t = X(o.min, o.max, t / 100) - o.min), typeof t != "number")
4380
+ if (Ve.test(t) && (t = parseFloat(t), t = X(o.min, o.max, t / 100) - o.min), typeof t != "number")
4371
4381
  return;
4372
4382
  let a = X(s.min, s.max, r);
4373
4383
  e === s && (a -= t), e.min = ss(e.min, t, n, a, i), e.max = ss(e.max, t, n, a, i);
@@ -4375,9 +4385,9 @@ function Dh(e, t = 0, n = 1, r = 0.5, i, s = e, o = e) {
4375
4385
  function as(e, t, [n, r, i], s, o) {
4376
4386
  Dh(e, t[n], t[r], t[i], t.scale, s, o);
4377
4387
  }
4378
- const Rh = ["x", "scaleX", "originX"], Vh = ["y", "scaleY", "originY"];
4388
+ const Rh = ["x", "scaleX", "originX"], Ih = ["y", "scaleY", "originY"];
4379
4389
  function ls(e, t, n, r) {
4380
- as(e.x, t, Rh, n ? n.x : void 0, r ? r.x : void 0), as(e.y, t, Vh, n ? n.y : void 0, r ? r.y : void 0);
4390
+ as(e.x, t, Rh, n ? n.x : void 0, r ? r.x : void 0), as(e.y, t, Ih, n ? n.y : void 0, r ? r.y : void 0);
4381
4391
  }
4382
4392
  function cs(e) {
4383
4393
  return e.translate === 0 && e.scale === 1;
@@ -4385,7 +4395,7 @@ function cs(e) {
4385
4395
  function Hl(e) {
4386
4396
  return cs(e.x) && cs(e.y);
4387
4397
  }
4388
- function Ih(e, t) {
4398
+ function Vh(e, t) {
4389
4399
  return e.x.min === t.x.min && e.x.max === t.x.max && e.y.min === t.y.min && e.y.max === t.y.max;
4390
4400
  }
4391
4401
  function Ul(e, t) {
@@ -4452,8 +4462,8 @@ function ds(e, t, n) {
4452
4462
  let r = "";
4453
4463
  const i = e.x.translate / t.x, s = e.y.translate / t.y;
4454
4464
  if ((i || s) && (r = `translate3d(${i}px, ${s}px, 0) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
4455
- const { rotate: l, rotateX: c, rotateY: u } = n;
4456
- l && (r += `rotate(${l}deg) `), c && (r += `rotateX(${c}deg) `), u && (r += `rotateY(${u}deg) `);
4465
+ const { rotate: l, rotateX: c, rotateY: d } = n;
4466
+ l && (r += `rotate(${l}deg) `), c && (r += `rotateX(${c}deg) `), d && (r += `rotateY(${d}deg) `);
4457
4467
  }
4458
4468
  const o = e.x.scale * t.x, a = e.y.scale * t.y;
4459
4469
  return (o !== 1 || a !== 1) && (r += `scale(${o}, ${a})`), r || "none";
@@ -4527,28 +4537,28 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4527
4537
  if (this.instance)
4528
4538
  return;
4529
4539
  this.isSVG = Bh(o), this.instance = o;
4530
- const { layoutId: l, layout: c, visualElement: u } = this.options;
4531
- 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), e) {
4532
- let d;
4540
+ const { layoutId: l, layout: c, visualElement: d } = this.options;
4541
+ if (d && !d.current && d.mount(o), this.root.nodes.add(this), this.parent && this.parent.children.add(this), a && (c || l) && (this.isLayoutDirty = !0), e) {
4542
+ let u;
4533
4543
  const h = () => this.root.updateBlockedByResize = !1;
4534
4544
  e(o, () => {
4535
- this.root.updateBlockedByResize = !0, d && d(), d = Fh(h, 250), Bn.hasAnimatedSinceResize && (Bn.hasAnimatedSinceResize = !1, this.nodes.forEach(ms));
4545
+ this.root.updateBlockedByResize = !0, u && u(), u = Fh(h, 250), Bn.hasAnimatedSinceResize && (Bn.hasAnimatedSinceResize = !1, this.nodes.forEach(ms));
4536
4546
  });
4537
4547
  }
4538
- l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && u && (l || c) && this.addEventListener("didUpdate", ({ delta: d, hasLayoutChanged: h, hasRelativeTargetChanged: p, layout: y }) => {
4548
+ l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && d && (l || c) && this.addEventListener("didUpdate", ({ delta: u, hasLayoutChanged: h, hasRelativeTargetChanged: p, layout: y }) => {
4539
4549
  if (this.isTreeAnimationBlocked()) {
4540
4550
  this.target = void 0, this.relativeTarget = void 0;
4541
4551
  return;
4542
4552
  }
4543
- const f = this.options.transition || u.getDefaultTransition() || o1, { onLayoutAnimationStart: m, onLayoutAnimationComplete: b } = u.getProps(), w = !this.targetLayout || !Ul(this.targetLayout, y) || p, x = !h && p;
4553
+ const f = this.options.transition || d.getDefaultTransition() || o1, { onLayoutAnimationStart: m, onLayoutAnimationComplete: b } = d.getProps(), w = !this.targetLayout || !Ul(this.targetLayout, y) || p, x = !h && p;
4544
4554
  if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || x || h && (w || !this.currentAnimation)) {
4545
- this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(d, x);
4555
+ this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(u, x);
4546
4556
  const S = {
4547
4557
  ...Li(f, "layout"),
4548
4558
  onPlay: m,
4549
4559
  onComplete: b
4550
4560
  };
4551
- (u.shouldReduceMotion || this.options.layoutRoot) && (S.delay = 0, S.type = !1), this.startAnimation(S);
4561
+ (d.shouldReduceMotion || this.options.layoutRoot) && (S.delay = 0, S.type = !1), this.startAnimation(S);
4552
4562
  } else
4553
4563
  h || ms(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
4554
4564
  this.targetLayout = y;
@@ -4588,9 +4598,9 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4588
4598
  if (!this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
4589
4599
  return;
4590
4600
  this.isLayoutDirty = !0;
4591
- for (let u = 0; u < this.path.length; u++) {
4592
- const d = this.path[u];
4593
- d.shouldResetTransform = !0, d.updateScroll("snapshot"), d.options.layoutRoot && d.willUpdate(!1);
4601
+ for (let d = 0; d < this.path.length; d++) {
4602
+ const u = this.path[d];
4603
+ u.shouldResetTransform = !0, u.updateScroll("snapshot"), u.options.layoutRoot && u.willUpdate(!1);
4594
4604
  }
4595
4605
  const { layoutId: a, layout: l } = this.options;
4596
4606
  if (a === void 0 && !l)
@@ -4650,8 +4660,8 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4650
4660
  resetTransform() {
4651
4661
  if (!i)
4652
4662
  return;
4653
- const o = this.isLayoutDirty || this.shouldResetTransform, a = this.projectionDelta && !Hl(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, u = c !== this.prevTransformTemplateValue;
4654
- o && (a || ft(this.latestValues) || u) && (i(this.instance, c), this.shouldResetTransform = !1, this.scheduleRender());
4663
+ const o = this.isLayoutDirty || this.shouldResetTransform, a = this.projectionDelta && !Hl(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, d = c !== this.prevTransformTemplateValue;
4664
+ o && (a || ft(this.latestValues) || d) && (i(this.instance, c), this.shouldResetTransform = !1, this.scheduleRender());
4655
4665
  }
4656
4666
  measure(o = !0) {
4657
4667
  const a = this.measurePageBox();
@@ -4675,14 +4685,14 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4675
4685
  const a = ne();
4676
4686
  Ee(a, o);
4677
4687
  for (let l = 0; l < this.path.length; l++) {
4678
- const c = this.path[l], { scroll: u, options: d } = c;
4679
- if (c !== this.root && u && d.layoutScroll) {
4680
- if (u.isRoot) {
4688
+ const c = this.path[l], { scroll: d, options: u } = c;
4689
+ if (c !== this.root && d && u.layoutScroll) {
4690
+ if (d.isRoot) {
4681
4691
  Ee(a, o);
4682
4692
  const { scroll: h } = this.root;
4683
4693
  h && (et(a.x, -h.offset.x), et(a.y, -h.offset.y));
4684
4694
  }
4685
- et(a.x, u.offset.x), et(a.y, u.offset.y);
4695
+ et(a.x, d.offset.x), et(a.y, d.offset.y);
4686
4696
  }
4687
4697
  }
4688
4698
  return a;
@@ -4691,11 +4701,11 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4691
4701
  const l = ne();
4692
4702
  Ee(l, o);
4693
4703
  for (let c = 0; c < this.path.length; c++) {
4694
- const u = this.path[c];
4695
- !a && u.options.layoutScroll && u.scroll && u !== u.root && Dt(l, {
4696
- x: -u.scroll.offset.x,
4697
- y: -u.scroll.offset.y
4698
- }), ft(u.latestValues) && Dt(l, u.latestValues);
4704
+ const d = this.path[c];
4705
+ !a && d.options.layoutScroll && d.scroll && d !== d.root && Dt(l, {
4706
+ x: -d.scroll.offset.x,
4707
+ y: -d.scroll.offset.y
4708
+ }), ft(d.latestValues) && Dt(l, d.latestValues);
4699
4709
  }
4700
4710
  return ft(this.latestValues) && Dt(l, this.latestValues), l;
4701
4711
  }
@@ -4707,8 +4717,8 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4707
4717
  if (!c.instance || !ft(c.latestValues))
4708
4718
  continue;
4709
4719
  li(c.latestValues) && c.updateSnapshot();
4710
- const u = ne(), d = c.measurePageBox();
4711
- Ee(u, d), ls(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
4720
+ const d = ne(), u = c.measurePageBox();
4721
+ Ee(d, u), ls(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, d);
4712
4722
  }
4713
4723
  return ft(this.latestValues) && ls(a, this.latestValues), a;
4714
4724
  }
@@ -4735,8 +4745,8 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4735
4745
  const c = !!this.resumingFrom || this !== l;
4736
4746
  if (!(o || c && this.isSharedProjectionDirty || this.isProjectionDirty || !((a = this.parent) === null || a === void 0) && a.isProjectionDirty || this.attemptToResolveRelativeTarget))
4737
4747
  return;
4738
- const { layout: d, layoutId: h } = this.options;
4739
- if (!(!this.layout || !(d || h))) {
4748
+ const { layout: u, layoutId: h } = this.options;
4749
+ if (!(!this.layout || !(u || h))) {
4740
4750
  if (this.resolvedRelativeTargetAt = le.timestamp, !this.targetDelta && !this.relativeTarget) {
4741
4751
  const p = this.getClosestProjectingParent();
4742
4752
  p && p.layout && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = ne(), this.relativeTargetOrigin = ne(), sn(this.relativeTargetOrigin, this.layout.layoutBox, p.layout.layoutBox), Ee(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
@@ -4764,8 +4774,8 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4764
4774
  let c = !0;
4765
4775
  if ((this.isProjectionDirty || !((o = this.parent) === null || o === void 0) && o.isProjectionDirty) && (c = !1), l && (this.isSharedProjectionDirty || this.isTransformDirty) && (c = !1), this.resolvedRelativeTargetAt === le.timestamp && (c = !1), c)
4766
4776
  return;
4767
- const { layout: u, layoutId: d } = this.options;
4768
- if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(u || d))
4777
+ const { layout: d, layoutId: u } = this.options;
4778
+ if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(d || u))
4769
4779
  return;
4770
4780
  Ee(this.layoutCorrected, this.layout.layoutBox);
4771
4781
  const h = this.treeScale.x, p = this.treeScale.y;
@@ -4793,14 +4803,14 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4793
4803
  this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
4794
4804
  }
4795
4805
  setAnimationOrigin(o, a = !1) {
4796
- const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d = Nt();
4806
+ const l = this.snapshot, c = l ? l.latestValues : {}, d = { ...this.latestValues }, u = Nt();
4797
4807
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
4798
4808
  const h = ne(), p = l ? l.source : void 0, y = this.layout ? this.layout.source : void 0, f = p !== y, m = this.getStack(), b = !m || m.members.length <= 1, w = !!(f && !b && this.options.crossfade === !0 && !this.path.some(i1));
4799
4809
  this.animationProgress = 0;
4800
4810
  let x;
4801
4811
  this.mixTargetDelta = (S) => {
4802
4812
  const v = S / 1e3;
4803
- gs(d.x, o.x, v), gs(d.y, o.y, v), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (sn(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), r1(this.relativeTarget, this.relativeTargetOrigin, h, v), x && Ih(this.relativeTarget, x) && (this.isProjectionDirty = !1), x || (x = ne()), Ee(x, this.relativeTarget)), f && (this.animationValues = u, Oh(u, c, this.latestValues, v, w, b)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = v;
4813
+ gs(u.x, o.x, v), gs(u.y, o.y, v), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (sn(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), r1(this.relativeTarget, this.relativeTargetOrigin, h, v), x && Vh(this.relativeTarget, x) && (this.isProjectionDirty = !1), x || (x = ne()), Ee(x, this.relativeTarget)), f && (this.animationValues = d, Oh(d, c, this.latestValues, v, w, b)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = v;
4804
4814
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
4805
4815
  }
4806
4816
  startAnimation(o) {
@@ -4826,16 +4836,16 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4826
4836
  }
4827
4837
  applyTransformsToTarget() {
4828
4838
  const o = this.getLead();
4829
- let { targetWithTransforms: a, target: l, layout: c, latestValues: u } = o;
4839
+ let { targetWithTransforms: a, target: l, layout: c, latestValues: d } = o;
4830
4840
  if (!(!a || !l || !c)) {
4831
4841
  if (this !== o && this.layout && c && Gl(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
4832
4842
  l = this.target || ne();
4833
- const d = we(this.layout.layoutBox.x);
4834
- l.x.min = o.target.x.min, l.x.max = l.x.min + d;
4843
+ const u = we(this.layout.layoutBox.x);
4844
+ l.x.min = o.target.x.min, l.x.max = l.x.min + u;
4835
4845
  const h = we(this.layout.layoutBox.y);
4836
4846
  l.y.min = o.target.y.min, l.y.max = l.y.min + h;
4837
4847
  }
4838
- Ee(a, l), Dt(a, u), on(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
4848
+ Ee(a, l), Dt(a, d), on(this.projectionDeltaWithTransform, this.layoutCorrected, a, d);
4839
4849
  }
4840
4850
  }
4841
4851
  registerSharedNode(o, a) {
@@ -4882,13 +4892,13 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4882
4892
  if ((l.rotate || l.rotateX || l.rotateY || l.rotateZ) && (a = !0), !a)
4883
4893
  return;
4884
4894
  const c = {};
4885
- for (let u = 0; u < fs.length; u++) {
4886
- const d = "rotate" + fs[u];
4887
- l[d] && (c[d] = l[d], o.setStaticValue(d, 0));
4895
+ for (let d = 0; d < fs.length; d++) {
4896
+ const u = "rotate" + fs[d];
4897
+ l[u] && (c[u] = l[u], o.setStaticValue(u, 0));
4888
4898
  }
4889
4899
  o.render();
4890
- for (const u in c)
4891
- o.setStaticValue(u, c[u]);
4900
+ for (const d in c)
4901
+ o.setStaticValue(d, c[d]);
4892
4902
  o.scheduleRender();
4893
4903
  }
4894
4904
  getProjectionStyles(o) {
@@ -4899,22 +4909,22 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4899
4909
  return Hh;
4900
4910
  const c = {
4901
4911
  visibility: ""
4902
- }, u = this.getTransformTemplate();
4912
+ }, d = this.getTransformTemplate();
4903
4913
  if (this.needsReset)
4904
- return this.needsReset = !1, c.opacity = "", c.pointerEvents = jn(o == null ? void 0 : o.pointerEvents) || "", c.transform = u ? u(this.latestValues, "") : "none", c;
4905
- const d = this.getLead();
4906
- if (!this.projectionDelta || !this.layout || !d.target) {
4914
+ return this.needsReset = !1, c.opacity = "", c.pointerEvents = jn(o == null ? void 0 : o.pointerEvents) || "", c.transform = d ? d(this.latestValues, "") : "none", c;
4915
+ const u = this.getLead();
4916
+ if (!this.projectionDelta || !this.layout || !u.target) {
4907
4917
  const f = {};
4908
- return this.options.layoutId && (f.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, f.pointerEvents = jn(o == null ? void 0 : o.pointerEvents) || ""), this.hasProjected && !ft(this.latestValues) && (f.transform = u ? u({}, "") : "none", this.hasProjected = !1), f;
4918
+ return this.options.layoutId && (f.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, f.pointerEvents = jn(o == null ? void 0 : o.pointerEvents) || ""), this.hasProjected && !ft(this.latestValues) && (f.transform = d ? d({}, "") : "none", this.hasProjected = !1), f;
4909
4919
  }
4910
- const h = d.animationValues || d.latestValues;
4911
- this.applyTransformsToTarget(), c.transform = ds(this.projectionDeltaWithTransform, this.treeScale, h), u && (c.transform = u(h, c.transform));
4920
+ const h = u.animationValues || u.latestValues;
4921
+ this.applyTransformsToTarget(), c.transform = ds(this.projectionDeltaWithTransform, this.treeScale, h), d && (c.transform = d(h, c.transform));
4912
4922
  const { x: p, y } = this.projectionDelta;
4913
- c.transformOrigin = `${p.origin * 100}% ${y.origin * 100}% 0`, d.animationValues ? c.opacity = d === this ? (l = (a = h.opacity) !== null && a !== void 0 ? a : this.latestValues.opacity) !== null && l !== void 0 ? l : 1 : this.preserveOpacity ? this.latestValues.opacity : h.opacityExit : c.opacity = d === this ? h.opacity !== void 0 ? h.opacity : "" : h.opacityExit !== void 0 ? h.opacityExit : 0;
4923
+ c.transformOrigin = `${p.origin * 100}% ${y.origin * 100}% 0`, u.animationValues ? c.opacity = u === this ? (l = (a = h.opacity) !== null && a !== void 0 ? a : this.latestValues.opacity) !== null && l !== void 0 ? l : 1 : this.preserveOpacity ? this.latestValues.opacity : h.opacityExit : c.opacity = u === this ? h.opacity !== void 0 ? h.opacity : "" : h.opacityExit !== void 0 ? h.opacityExit : 0;
4914
4924
  for (const f in er) {
4915
4925
  if (h[f] === void 0)
4916
4926
  continue;
4917
- const { correct: m, applyTo: b } = er[f], w = c.transform === "none" ? h[f] : m(h[f], d);
4927
+ const { correct: m, applyTo: b } = er[f], w = c.transform === "none" ? h[f] : m(h[f], u);
4918
4928
  if (b) {
4919
4929
  const x = b.length;
4920
4930
  for (let S = 0; S < x; S++)
@@ -4922,7 +4932,7 @@ function Yl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4922
4932
  } else
4923
4933
  c[f] = w;
4924
4934
  }
4925
- return this.options.layoutId && (c.pointerEvents = d === this ? jn(o == null ? void 0 : o.pointerEvents) || "" : "none"), c;
4935
+ return this.options.layoutId && (c.pointerEvents = u === this ? jn(o == null ? void 0 : o.pointerEvents) || "" : "none"), c;
4926
4936
  }
4927
4937
  clearSnapshot() {
4928
4938
  this.resumeFrom = this.snapshot = void 0;
@@ -4944,28 +4954,28 @@ function Gh(e) {
4944
4954
  const n = ((t = e.resumeFrom) === null || t === void 0 ? void 0 : t.snapshot) || e.snapshot;
4945
4955
  if (e.isLead() && e.layout && n && e.hasListeners("didUpdate")) {
4946
4956
  const { layoutBox: r, measuredBox: i } = e.layout, { animationType: s } = e.options, o = n.source !== e.layout.source;
4947
- s === "size" ? Ce((d) => {
4948
- const h = o ? n.measuredBox[d] : n.layoutBox[d], p = we(h);
4949
- h.min = r[d].min, h.max = h.min + p;
4950
- }) : Gl(s, n.layoutBox, r) && Ce((d) => {
4951
- const h = o ? n.measuredBox[d] : n.layoutBox[d], p = we(r[d]);
4952
- h.max = h.min + p, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[d].max = e.relativeTarget[d].min + p);
4957
+ s === "size" ? _e((u) => {
4958
+ const h = o ? n.measuredBox[u] : n.layoutBox[u], p = we(h);
4959
+ h.min = r[u].min, h.max = h.min + p;
4960
+ }) : Gl(s, n.layoutBox, r) && _e((u) => {
4961
+ const h = o ? n.measuredBox[u] : n.layoutBox[u], p = we(r[u]);
4962
+ h.max = h.min + p, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[u].max = e.relativeTarget[u].min + p);
4953
4963
  });
4954
4964
  const a = Nt();
4955
4965
  on(a, r, n.layoutBox);
4956
4966
  const l = Nt();
4957
4967
  o ? on(l, e.applyTransform(i, !0), n.measuredBox) : on(l, r, n.layoutBox);
4958
4968
  const c = !Hl(a);
4959
- let u = !1;
4969
+ let d = !1;
4960
4970
  if (!e.resumeFrom) {
4961
- const d = e.getClosestProjectingParent();
4962
- if (d && !d.resumeFrom) {
4963
- const { snapshot: h, layout: p } = d;
4971
+ const u = e.getClosestProjectingParent();
4972
+ if (u && !u.resumeFrom) {
4973
+ const { snapshot: h, layout: p } = u;
4964
4974
  if (h && p) {
4965
4975
  const y = ne();
4966
4976
  sn(y, n.layoutBox, h.layoutBox);
4967
4977
  const f = ne();
4968
- sn(f, r, p.layoutBox), Ul(y, f) || (u = !0), d.options.layoutRoot && (e.relativeTarget = f, e.relativeTargetOrigin = y, e.relativeParent = d);
4978
+ sn(f, r, p.layoutBox), Ul(y, f) || (d = !0), u.options.layoutRoot && (e.relativeTarget = f, e.relativeTargetOrigin = y, e.relativeParent = u);
4969
4979
  }
4970
4980
  }
4971
4981
  }
@@ -4975,7 +4985,7 @@ function Gh(e) {
4975
4985
  delta: l,
4976
4986
  layoutDelta: a,
4977
4987
  hasLayoutChanged: c,
4978
- hasRelativeTargetChanged: u
4988
+ hasRelativeTargetChanged: d
4979
4989
  });
4980
4990
  } else if (e.isLead()) {
4981
4991
  const { onExitComplete: r } = e.options;
@@ -5069,7 +5079,7 @@ const a1 = Yl({
5069
5079
  checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
5070
5080
  }), l1 = {
5071
5081
  pan: {
5072
- Feature: Ch
5082
+ Feature: _h
5073
5083
  },
5074
5084
  drag: {
5075
5085
  Feature: Eh,
@@ -5167,8 +5177,8 @@ const v1 = (e, t, n) => {
5167
5177
  }), t.render();
5168
5178
  const l = t.measureViewportBox();
5169
5179
  return n.forEach((c) => {
5170
- const u = t.getValue(c);
5171
- u && u.jump(a[c]), e[c] = $t[c](l, s);
5180
+ const d = t.getValue(c);
5181
+ d && d.jump(a[c]), e[c] = $t[c](l, s);
5172
5182
  }), e;
5173
5183
  }, b1 = (e, t, n = {}, r = {}) => {
5174
5184
  t = { ...t }, r = { ...r };
@@ -5179,26 +5189,26 @@ const v1 = (e, t, n) => {
5179
5189
  const c = e.getValue(l);
5180
5190
  if (!e.hasValue(l))
5181
5191
  return;
5182
- let u = n[l], d = Kt(u);
5192
+ let d = n[l], u = Kt(d);
5183
5193
  const h = t[l];
5184
5194
  let p;
5185
5195
  if (nr(h)) {
5186
5196
  const y = h.length, f = h[0] === null ? 1 : 0;
5187
- u = h[f], d = Kt(u);
5197
+ d = h[f], u = Kt(d);
5188
5198
  for (let m = f; m < y && h[m] !== null; m++)
5189
- p ? De(Kt(h[m]) === p, "All keyframes must be of the same type") : (p = Kt(h[m]), De(p === d || Ln(d) && Ln(p), "Keyframes must be of the same dimension as the current value"));
5199
+ p ? De(Kt(h[m]) === p, "All keyframes must be of the same type") : (p = Kt(h[m]), De(p === u || Ln(u) && Ln(p), "Keyframes must be of the same dimension as the current value"));
5190
5200
  } else
5191
5201
  p = Kt(h);
5192
- if (d !== p)
5193
- if (Ln(d) && Ln(p)) {
5202
+ if (u !== p)
5203
+ if (Ln(u) && Ln(p)) {
5194
5204
  const y = c.get();
5195
5205
  typeof y == "string" && c.set(parseFloat(y)), typeof h == "string" ? t[l] = parseFloat(h) : Array.isArray(h) && p === M && (t[l] = h.map(parseFloat));
5196
5206
  } else
5197
- d != null && d.transform && (p != null && p.transform) && (u === 0 || h === 0) ? u === 0 ? c.set(p.transform(u)) : t[l] = d.transform(h) : (o || (s = y1(e), o = !0), a.push(l), r[l] = r[l] !== void 0 ? r[l] : t[l], c.jump(h));
5207
+ u != null && u.transform && (p != null && p.transform) && (d === 0 || h === 0) ? d === 0 ? c.set(p.transform(d)) : t[l] = u.transform(h) : (o || (s = y1(e), o = !0), a.push(l), r[l] = r[l] !== void 0 ? r[l] : t[l], c.jump(h));
5198
5208
  }), a.length) {
5199
5209
  const l = a.indexOf("height") >= 0 ? window.pageYOffset : null, c = v1(t, e, a);
5200
- return s.length && s.forEach(([u, d]) => {
5201
- e.getValue(u).set(d);
5210
+ return s.length && s.forEach(([d, u]) => {
5211
+ e.getValue(d).set(u);
5202
5212
  }), e.render(), mr && l !== null && window.scrollTo({ top: l }), { target: c, transitionEnd: r };
5203
5213
  } else
5204
5214
  return { target: t, transitionEnd: r };
@@ -5239,7 +5249,7 @@ function E1(e, t, n) {
5239
5249
  t[i] === void 0 && e.removeValue(i);
5240
5250
  return t;
5241
5251
  }
5242
- const Es = /* @__PURE__ */ new WeakMap(), Zl = Object.keys(dn), C1 = Zl.length, Cs = [
5252
+ const Es = /* @__PURE__ */ new WeakMap(), Zl = Object.keys(dn), _1 = Zl.length, _s = [
5243
5253
  "AnimationStart",
5244
5254
  "AnimationComplete",
5245
5255
  "Update",
@@ -5247,18 +5257,18 @@ const Es = /* @__PURE__ */ new WeakMap(), Zl = Object.keys(dn), C1 = Zl.length,
5247
5257
  "LayoutMeasure",
5248
5258
  "LayoutAnimationStart",
5249
5259
  "LayoutAnimationComplete"
5250
- ], _1 = _i.length;
5260
+ ], C1 = Ci.length;
5251
5261
  class T1 {
5252
5262
  constructor({ parent: t, props: n, presenceContext: r, reducedMotionConfig: i, visualState: s }, o = {}) {
5253
5263
  this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
5254
5264
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
5255
5265
  }, this.scheduleRender = () => G.render(this.render, !1, !0);
5256
5266
  const { latestValues: a, renderState: l } = s;
5257
- this.latestValues = a, this.baseTarget = { ...a }, this.initialValues = n.initial ? { ...a } : {}, this.renderState = l, this.parent = t, this.props = n, this.presenceContext = r, this.depth = t ? t.depth + 1 : 0, this.reducedMotionConfig = i, this.options = o, this.isControllingVariants = yr(n), this.isVariantNode = Va(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(t && t.current);
5258
- const { willChange: c, ...u } = this.scrapeMotionValuesFromProps(n, {});
5259
- for (const d in u) {
5260
- const h = u[d];
5261
- a[d] !== void 0 && pe(h) && (h.set(a[d], !1), sr(c) && c.add(d));
5267
+ this.latestValues = a, this.baseTarget = { ...a }, this.initialValues = n.initial ? { ...a } : {}, this.renderState = l, this.parent = t, this.props = n, this.presenceContext = r, this.depth = t ? t.depth + 1 : 0, this.reducedMotionConfig = i, this.options = o, this.isControllingVariants = yr(n), this.isVariantNode = Ia(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(t && t.current);
5268
+ const { willChange: c, ...d } = this.scrapeMotionValuesFromProps(n, {});
5269
+ for (const u in d) {
5270
+ const h = d[u];
5271
+ a[u] !== void 0 && pe(h) && (h.set(a[u], !1), sr(c) && c.add(u));
5262
5272
  }
5263
5273
  }
5264
5274
  /**
@@ -5299,17 +5309,17 @@ class T1 {
5299
5309
  const l = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
5300
5310
  n.ignoreStrict ? wn(!1, l) : De(!1, l);
5301
5311
  }
5302
- for (let l = 0; l < C1; l++) {
5303
- const c = Zl[l], { isEnabled: u, Feature: d, ProjectionNode: h, MeasureLayout: p } = dn[c];
5304
- h && (o = h), u(n) && (!this.features[c] && d && (this.features[c] = new d(this)), p && (a = p));
5312
+ for (let l = 0; l < _1; l++) {
5313
+ const c = Zl[l], { isEnabled: d, Feature: u, ProjectionNode: h, MeasureLayout: p } = dn[c];
5314
+ h && (o = h), d(n) && (!this.features[c] && u && (this.features[c] = new u(this)), p && (a = p));
5305
5315
  }
5306
5316
  if ((this.type === "html" || this.type === "svg") && !this.projection && o) {
5307
5317
  this.projection = new o(this.latestValues, this.parent && this.parent.projection);
5308
- const { layoutId: l, layout: c, drag: u, dragConstraints: d, layoutScroll: h, layoutRoot: p } = n;
5318
+ const { layoutId: l, layout: c, drag: d, dragConstraints: u, layoutScroll: h, layoutRoot: p } = n;
5309
5319
  this.projection.setOptions({
5310
5320
  layoutId: l,
5311
5321
  layout: c,
5312
- alwaysMeasureLayout: !!u || d && Ot(d),
5322
+ alwaysMeasureLayout: !!d || u && Ot(u),
5313
5323
  visualElement: this,
5314
5324
  scheduleRender: () => this.scheduleRender(),
5315
5325
  /**
@@ -5366,8 +5376,8 @@ class T1 {
5366
5376
  */
5367
5377
  update(t, n) {
5368
5378
  (t.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
5369
- for (let r = 0; r < Cs.length; r++) {
5370
- const i = Cs[r];
5379
+ for (let r = 0; r < _s.length; r++) {
5380
+ const i = _s[r];
5371
5381
  this.propEventSubscriptions[i] && (this.propEventSubscriptions[i](), delete this.propEventSubscriptions[i]);
5372
5382
  const s = t["on" + i];
5373
5383
  s && (this.propEventSubscriptions[i] = this.on(i, s));
@@ -5403,8 +5413,8 @@ class T1 {
5403
5413
  return this.props.initial !== void 0 && (r.initial = this.props.initial), r;
5404
5414
  }
5405
5415
  const n = {};
5406
- for (let r = 0; r < _1; r++) {
5407
- const i = _i[r], s = this.props[i];
5416
+ for (let r = 0; r < C1; r++) {
5417
+ const i = Ci[r], s = this.props[i];
5408
5418
  (un(s) || s === !1) && (n[i] = s);
5409
5419
  }
5410
5420
  return n;
@@ -5511,7 +5521,7 @@ class A1 extends Jl {
5511
5521
  }
5512
5522
  readValueFromInstance(t, n) {
5513
5523
  if (yt.has(n)) {
5514
- const r = Ii(n);
5524
+ const r = Vi(n);
5515
5525
  return r && r.default || 0;
5516
5526
  } else {
5517
5527
  const r = P1(t), i = (Fa(n) ? r.getPropertyValue(n) : r[n]) || 0;
@@ -5547,7 +5557,7 @@ class k1 extends Jl {
5547
5557
  }
5548
5558
  readValueFromInstance(t, n) {
5549
5559
  if (yt.has(n)) {
5550
- const r = Ii(n);
5560
+ const r = Vi(n);
5551
5561
  return r && r.default || 0;
5552
5562
  }
5553
5563
  return n = Ga.has(n) ? n : Ei(n), t.getAttribute(n);
@@ -5575,7 +5585,7 @@ const O1 = (e, t) => Ti(e) ? new k1(t, { enableHardwareAcceleration: !1 }) : new
5575
5585
  }
5576
5586
  }, N1 = {
5577
5587
  ...rh,
5578
- ...C0,
5588
+ ..._0,
5579
5589
  ...l1,
5580
5590
  ...M1
5581
5591
  }, D1 = /* @__PURE__ */ Nd((e, t) => d0(e, t, N1, O1));
@@ -5599,8 +5609,8 @@ function R1(e) {
5599
5609
  }
5600
5610
  );
5601
5611
  }
5602
- function V1(e) {
5603
- const { children: t, parentRef: n, onlyChild: r } = e, [i, s] = Y({ top: 0, left: 0 });
5612
+ function I1(e) {
5613
+ const { children: t, parentRef: n, onlyChild: r } = e, [i, s] = U({ top: 0, left: 0 });
5604
5614
  return wi(() => {
5605
5615
  if (n.current) {
5606
5616
  const o = n.current.getBoundingClientRect();
@@ -5625,8 +5635,8 @@ function V1(e) {
5625
5635
  n.current
5626
5636
  );
5627
5637
  }
5628
- function I1(e) {
5629
- const { children: t, title: n, hasTooltip: r } = e, i = ze(), [s, o] = Y(!1), [a, l] = Y({ top: 0, left: 0 });
5638
+ function V1(e) {
5639
+ const { children: t, title: n, hasTooltip: r } = e, i = ze(), [s, o] = U(!1), [a, l] = U({ top: 0, left: 0 });
5630
5640
  return (
5631
5641
  // Tooltip wrapper
5632
5642
  /* @__PURE__ */ P(
@@ -5673,17 +5683,17 @@ function I1(e) {
5673
5683
  }
5674
5684
  function Ql({ item: e, level: t = 0, ...n }) {
5675
5685
  var A, D;
5676
- const { isActive: r, isCollapsed: i, expanded: s, toggleExpand: o } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", c = r(e.id) ? "active" : "", u = (O, V = a) => `${O} ${V} ${l} ${c}`, d = !!((A = e.children) != null && A.length), [h, p] = Y(!1), y = ze(), f = window.location.origin, m = e.path && e.path.includes("http") ? new URL(e.path) : { origin: "", pathname: "" }, b = window.location.pathname.split("/")[1], w = m.pathname.split("/")[1], x = n.ssr || !f.includes("local") && f !== m.origin || w !== b, S = d || t === 0 ? "div" : x ? "a" : du, v = e.path || "#", E = t + 1, C = d && !(i && E >= 2 && !h), _ = i || t === 0 ? void 0 : `${t}rem`;
5686
+ const { isActive: r, isCollapsed: i, expanded: s, toggleExpand: o } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", c = r(e.id) ? "active" : "", d = (O, I = a) => `${O} ${I} ${l} ${c}`, u = !!((A = e.children) != null && A.length), [h, p] = U(!1), y = ze(), f = window.location.origin, m = e.path && e.path.includes("http") ? new URL(e.path) : { origin: "", pathname: "" }, b = window.location.pathname.split("/")[1], w = m.pathname.split("/")[1], x = n.ssr || !f.includes("local") && f !== m.origin || w !== b, S = u || t === 0 ? "div" : x ? "a" : du, v = e.path || "#", E = t + 1, _ = u && !(i && E >= 2 && !h), C = i || t === 0 ? void 0 : `${t}rem`;
5677
5687
  return /* @__PURE__ */ P(
5678
5688
  "div",
5679
5689
  {
5680
5690
  ref: y,
5681
- className: u("menu-item__wrapper"),
5691
+ className: d("menu-item__wrapper"),
5682
5692
  onMouseEnter: () => i && p(!0),
5683
5693
  onMouseLeave: () => i && p(!1),
5684
5694
  children: [
5685
5695
  /* @__PURE__ */ g(
5686
- I1,
5696
+ V1,
5687
5697
  {
5688
5698
  hasTooltip: i && t === 1,
5689
5699
  children: /* @__PURE__ */ P(
@@ -5692,21 +5702,21 @@ function Ql({ item: e, level: t = 0, ...n }) {
5692
5702
  to: v,
5693
5703
  href: v,
5694
5704
  style: {
5695
- paddingLeft: _,
5705
+ paddingLeft: C,
5696
5706
  transition: "all 0.3s"
5697
5707
  // transitionDelay: '0.1s',
5698
5708
  },
5699
- className: u("menu-item__link"),
5709
+ className: d("menu-item__link"),
5700
5710
  onClick: (O) => {
5701
- d && (O.preventDefault(), i || o(e.id));
5711
+ u && (O.preventDefault(), i || o(e.id));
5702
5712
  },
5703
5713
  children: [
5704
- t !== 0 && /* @__PURE__ */ g(L1, { cls: u, item: e }),
5705
- /* @__PURE__ */ g("span", { className: u("menu-item__label"), children: e.name }),
5706
- d && /* @__PURE__ */ g("div", { className: u("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ g(
5714
+ t !== 0 && /* @__PURE__ */ g(L1, { cls: d, item: e }),
5715
+ /* @__PURE__ */ g("span", { className: d("menu-item__label"), children: e.name }),
5716
+ u && /* @__PURE__ */ g("div", { className: d("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ g(
5707
5717
  R1,
5708
5718
  {
5709
- className: u(
5719
+ className: d(
5710
5720
  `menu-item__icon-arrow__icon ${s(e.id) ? "open" : "close"}`
5711
5721
  )
5712
5722
  }
@@ -5717,15 +5727,15 @@ function Ql({ item: e, level: t = 0, ...n }) {
5717
5727
  title: e.name
5718
5728
  }
5719
5729
  ),
5720
- C && /* @__PURE__ */ g(
5721
- V1,
5730
+ _ && /* @__PURE__ */ g(
5731
+ I1,
5722
5732
  {
5723
5733
  parentRef: y,
5724
5734
  onlyChild: !i || i && E < 2,
5725
5735
  children: /* @__PURE__ */ g(
5726
5736
  D1.div,
5727
5737
  {
5728
- className: u("menu-item__dropdown", `level-${E}`),
5738
+ className: d("menu-item__dropdown", `level-${E}`),
5729
5739
  initial: {
5730
5740
  height: i || s(e.id) ? "auto" : 0
5731
5741
  },
@@ -5752,7 +5762,7 @@ function Ql({ item: e, level: t = 0, ...n }) {
5752
5762
  }
5753
5763
  function L1({ item: e, cls: t }) {
5754
5764
  var o, a;
5755
- const [n, r] = Y(!e.icon), i = () => {
5765
+ const [n, r] = U(!e.icon), i = () => {
5756
5766
  r(!0);
5757
5767
  }, s = (o = e.icon) == null ? void 0 : o.endsWith(".svg");
5758
5768
  return /* @__PURE__ */ g("div", { className: t("menu-item__icon"), children: n ? /* @__PURE__ */ g(
@@ -5774,8 +5784,8 @@ function L1({ item: e, cls: t }) {
5774
5784
  {
5775
5785
  src: e.icon,
5776
5786
  beforeInjection: (l) => {
5777
- l.setAttribute("style", "margin: 0 auto;"), l.querySelectorAll("path").forEach((u) => {
5778
- u.hasAttribute("fill") && u.setAttribute("fill", "currentColor"), u.hasAttribute("stroke") && u.setAttribute("stroke", "currentColor");
5787
+ l.setAttribute("style", "margin: 0 auto;"), l.querySelectorAll("path").forEach((d) => {
5788
+ d.hasAttribute("fill") && d.setAttribute("fill", "currentColor"), d.hasAttribute("stroke") && d.setAttribute("stroke", "currentColor");
5779
5789
  });
5780
5790
  }
5781
5791
  }
@@ -5844,16 +5854,16 @@ function F1(e) {
5844
5854
  const j1 = `.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-1{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:37px}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;height:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1;transition:all .15s ease-in-out}.menu-item__label.level-1.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0,.menu-item__label.collapsed.level-1{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:0}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__wrapper.level-0.collapsed{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
5845
5855
  `;
5846
5856
  function B1(e) {
5847
- const { baseUrl: t, menuPath: n } = e, r = fu(), [i, s] = Y([]), [o, a] = Y(
5857
+ const { baseUrl: t, menuPath: n } = e, r = fu(), [i, s] = U([]), [o, a] = U(
5848
5858
  localStorage.getItem("isCollapsed") === "true"
5849
- ), [l, c] = Y({}), u = Wi(i), [d, h] = Y(window.location.href);
5859
+ ), [l, c] = U({}), d = Wi(i), [u, h] = U(window.location.href);
5850
5860
  be(() => {
5851
5861
  h(window.location.href);
5852
5862
  }, [r]);
5853
- const p = ec(u, d).filter(
5863
+ const p = ec(d, u).filter(
5854
5864
  (v) => v.parentKey !== 0
5855
5865
  );
5856
- console.log("matchPaths:", d, r, p);
5866
+ console.log("matchPaths:", u, r, p);
5857
5867
  const y = (v) => {
5858
5868
  c({
5859
5869
  ...l,
@@ -5864,7 +5874,7 @@ function B1(e) {
5864
5874
  };
5865
5875
  wi(() => {
5866
5876
  (async () => {
5867
- var E, C;
5877
+ var E, _;
5868
5878
  try {
5869
5879
  const A = t + (n || "/global-menu-config/api/v1/menu-items/user"), { data: D } = await cn.get(A, {
5870
5880
  withCredentials: !0
@@ -5874,16 +5884,16 @@ function B1(e) {
5874
5884
  parentKey: 0
5875
5885
  }));
5876
5886
  O = nc(O), e.replacePath && (O = tc(O, e.replacePath));
5877
- const V = H1(O);
5878
- c(V), s(O);
5879
- } catch (_) {
5880
- console.log(_), Zn(
5881
- ((C = (E = _.response) == null ? void 0 : E.data) == null ? void 0 : C.errorMessage) || "Have error when get menu items"
5887
+ const I = H1(O);
5888
+ c(I), s(O);
5889
+ } catch (C) {
5890
+ console.log(C), Zn(
5891
+ ((_ = (E = C.response) == null ? void 0 : E.data) == null ? void 0 : _.errorMessage) || "Have error when get menu items"
5882
5892
  );
5883
5893
  }
5884
5894
  })();
5885
5895
  }, [t, n, e.replacePath]);
5886
- const [m, b] = Y(!1), w = o ? "collapsed" : "expanded", x = (v) => `${v} ${w}`, S = ze(null);
5896
+ const [m, b] = U(!1), w = o ? "collapsed" : "expanded", x = (v) => `${v} ${w}`, S = ze(null);
5887
5897
  return /* @__PURE__ */ P("div", { className: x("side-bar"), children: [
5888
5898
  /* @__PURE__ */ g("div", { className: x("wrap-section side-bar__wrapper-toggle-btn"), children: /* @__PURE__ */ g(
5889
5899
  "button",
@@ -5909,9 +5919,9 @@ function B1(e) {
5909
5919
  Ql,
5910
5920
  {
5911
5921
  item: v,
5912
- isActive: (C) => p.some((_) => _.id === C),
5922
+ isActive: (_) => p.some((C) => C.id === _),
5913
5923
  isCollapsed: o,
5914
- expanded: (C) => l[C],
5924
+ expanded: (_) => l[_],
5915
5925
  toggleExpand: y,
5916
5926
  replacePath: e.replacePath,
5917
5927
  ssr: e.ssr
@@ -6334,7 +6344,7 @@ function U1() {
6334
6344
  var Y1 = typeof kn == "object" && kn && kn.Object === Object && kn, G1 = typeof self == "object" && self && self.Object === Object && self;
6335
6345
  Y1 || G1 || Function("return this")();
6336
6346
  function q1(e) {
6337
- const [t, n] = Y(!!e), r = en(() => {
6347
+ const [t, n] = U(!!e), r = en(() => {
6338
6348
  n(!0);
6339
6349
  }, []), i = en(() => {
6340
6350
  n(!1);
@@ -6543,12 +6553,12 @@ var fi = { exports: {} }, $ = {};
6543
6553
  * This source code is licensed under the MIT license found in the
6544
6554
  * LICENSE file in the root directory of this source tree.
6545
6555
  */
6546
- var _s;
6556
+ var Cs;
6547
6557
  function J1() {
6548
- if (_s)
6558
+ if (Cs)
6549
6559
  return $;
6550
- _s = 1;
6551
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), o = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), y;
6560
+ Cs = 1;
6561
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), o = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), y;
6552
6562
  y = Symbol.for("react.module.reference");
6553
6563
  function f(m) {
6554
6564
  if (typeof m == "object" && m !== null) {
@@ -6560,7 +6570,7 @@ function J1() {
6560
6570
  case i:
6561
6571
  case r:
6562
6572
  case c:
6563
- case u:
6573
+ case d:
6564
6574
  return m;
6565
6575
  default:
6566
6576
  switch (m = m && m.$$typeof, m) {
@@ -6568,7 +6578,7 @@ function J1() {
6568
6578
  case o:
6569
6579
  case l:
6570
6580
  case h:
6571
- case d:
6581
+ case u:
6572
6582
  case s:
6573
6583
  return m;
6574
6584
  default:
@@ -6580,7 +6590,7 @@ function J1() {
6580
6590
  }
6581
6591
  }
6582
6592
  }
6583
- return $.ContextConsumer = o, $.ContextProvider = s, $.Element = e, $.ForwardRef = l, $.Fragment = n, $.Lazy = h, $.Memo = d, $.Portal = t, $.Profiler = i, $.StrictMode = r, $.Suspense = c, $.SuspenseList = u, $.isAsyncMode = function() {
6593
+ return $.ContextConsumer = o, $.ContextProvider = s, $.Element = e, $.ForwardRef = l, $.Fragment = n, $.Lazy = h, $.Memo = u, $.Portal = t, $.Profiler = i, $.StrictMode = r, $.Suspense = c, $.SuspenseList = d, $.isAsyncMode = function() {
6584
6594
  return !1;
6585
6595
  }, $.isConcurrentMode = function() {
6586
6596
  return !1;
@@ -6597,7 +6607,7 @@ function J1() {
6597
6607
  }, $.isLazy = function(m) {
6598
6608
  return f(m) === h;
6599
6609
  }, $.isMemo = function(m) {
6600
- return f(m) === d;
6610
+ return f(m) === u;
6601
6611
  }, $.isPortal = function(m) {
6602
6612
  return f(m) === t;
6603
6613
  }, $.isProfiler = function(m) {
@@ -6607,9 +6617,9 @@ function J1() {
6607
6617
  }, $.isSuspense = function(m) {
6608
6618
  return f(m) === c;
6609
6619
  }, $.isSuspenseList = function(m) {
6610
- return f(m) === u;
6620
+ return f(m) === d;
6611
6621
  }, $.isValidElementType = function(m) {
6612
- return typeof m == "string" || typeof m == "function" || m === n || m === i || m === r || m === c || m === u || m === p || typeof m == "object" && m !== null && (m.$$typeof === h || m.$$typeof === d || m.$$typeof === s || m.$$typeof === o || m.$$typeof === l || m.$$typeof === y || m.getModuleId !== void 0);
6622
+ return typeof m == "string" || typeof m == "function" || m === n || m === i || m === r || m === c || m === d || m === p || typeof m == "object" && m !== null && (m.$$typeof === h || m.$$typeof === u || m.$$typeof === s || m.$$typeof === o || m.$$typeof === l || m.$$typeof === y || m.getModuleId !== void 0);
6613
6623
  }, $.typeOf = f, $;
6614
6624
  }
6615
6625
  var z = {};
@@ -6625,10 +6635,10 @@ var z = {};
6625
6635
  var Ts;
6626
6636
  function Q1() {
6627
6637
  return Ts || (Ts = 1, process.env.NODE_ENV !== "production" && function() {
6628
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), o = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), y = !1, f = !1, m = !1, b = !1, w = !1, x;
6638
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), o = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), y = !1, f = !1, m = !1, b = !1, w = !1, x;
6629
6639
  x = Symbol.for("react.module.reference");
6630
6640
  function S(k) {
6631
- return !!(typeof k == "string" || typeof k == "function" || k === n || k === i || w || k === r || k === c || k === u || b || k === p || y || f || m || typeof k == "object" && k !== null && (k.$$typeof === h || k.$$typeof === d || k.$$typeof === s || k.$$typeof === o || k.$$typeof === l || // This needs to include all possible module reference object
6641
+ return !!(typeof k == "string" || typeof k == "function" || k === n || k === i || w || k === r || k === c || k === d || b || k === p || y || f || m || typeof k == "object" && k !== null && (k.$$typeof === h || k.$$typeof === u || k.$$typeof === s || k.$$typeof === o || k.$$typeof === l || // This needs to include all possible module reference object
6632
6642
  // types supported by any Flight configuration anywhere since
6633
6643
  // we don't know which Flight build this will end up being used
6634
6644
  // with.
@@ -6645,7 +6655,7 @@ function Q1() {
6645
6655
  case i:
6646
6656
  case r:
6647
6657
  case c:
6648
- case u:
6658
+ case d:
6649
6659
  return An;
6650
6660
  default:
6651
6661
  var ao = An && An.$$typeof;
@@ -6654,7 +6664,7 @@ function Q1() {
6654
6664
  case o:
6655
6665
  case l:
6656
6666
  case h:
6657
- case d:
6667
+ case u:
6658
6668
  case s:
6659
6669
  return ao;
6660
6670
  default:
@@ -6666,7 +6676,7 @@ function Q1() {
6666
6676
  }
6667
6677
  }
6668
6678
  }
6669
- var E = o, C = s, _ = e, A = l, D = n, O = h, V = d, K = t, H = i, fe = r, U = c, ce = u, ue = !1, ge = !1;
6679
+ var E = o, _ = s, C = e, A = l, D = n, O = h, I = u, K = t, H = i, fe = r, Y = c, ce = d, ue = !1, ge = !1;
6670
6680
  function Re(k) {
6671
6681
  return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
6672
6682
  }
@@ -6692,7 +6702,7 @@ function Q1() {
6692
6702
  return v(k) === h;
6693
6703
  }
6694
6704
  function Yt(k) {
6695
- return v(k) === d;
6705
+ return v(k) === u;
6696
6706
  }
6697
6707
  function ct(k) {
6698
6708
  return v(k) === t;
@@ -6707,9 +6717,9 @@ function Q1() {
6707
6717
  return v(k) === c;
6708
6718
  }
6709
6719
  function Gt(k) {
6710
- return v(k) === u;
6720
+ return v(k) === d;
6711
6721
  }
6712
- z.ContextConsumer = E, z.ContextProvider = C, z.Element = _, z.ForwardRef = A, z.Fragment = D, z.Lazy = O, z.Memo = V, z.Portal = K, z.Profiler = H, z.StrictMode = fe, z.Suspense = U, z.SuspenseList = ce, z.isAsyncMode = Re, z.isConcurrentMode = B, z.isContextConsumer = ke, z.isContextProvider = je, z.isElement = Se, z.isForwardRef = Be, z.isFragment = We, z.isLazy = xt, z.isMemo = Yt, z.isPortal = ct, z.isProfiler = Ke, z.isStrictMode = Oe, z.isSuspense = T, z.isSuspenseList = Gt, z.isValidElementType = S, z.typeOf = v;
6722
+ z.ContextConsumer = E, z.ContextProvider = _, z.Element = C, z.ForwardRef = A, z.Fragment = D, z.Lazy = O, z.Memo = I, z.Portal = K, z.Profiler = H, z.StrictMode = fe, z.Suspense = Y, z.SuspenseList = ce, z.isAsyncMode = Re, z.isConcurrentMode = B, z.isContextConsumer = ke, z.isContextProvider = je, z.isElement = Se, z.isForwardRef = Be, z.isFragment = We, z.isLazy = xt, z.isMemo = Yt, z.isPortal = ct, z.isProfiler = Ke, z.isStrictMode = Oe, z.isSuspense = T, z.isSuspenseList = Gt, z.isValidElementType = S, z.typeOf = v;
6713
6723
  }()), z;
6714
6724
  }
6715
6725
  process.env.NODE_ENV === "production" ? fi.exports = J1() : fi.exports = Q1();
@@ -6877,10 +6887,10 @@ function ac(e) {
6877
6887
  const y = o.indexOf(p);
6878
6888
  return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${n}) and (max-width:${(y !== -1 && typeof t[o[y]] == "number" ? t[o[y]] : p) - r / 100}${n})`;
6879
6889
  }
6880
- function u(h) {
6890
+ function d(h) {
6881
6891
  return o.indexOf(h) + 1 < o.length ? c(h, o[o.indexOf(h) + 1]) : a(h);
6882
6892
  }
6883
- function d(h) {
6893
+ function u(h) {
6884
6894
  const p = o.indexOf(h);
6885
6895
  return p === 0 ? a(o[1]) : p === o.length - 1 ? l(o[p]) : c(h, o[o.indexOf(h) + 1]).replace("@media", "@media not all and");
6886
6896
  }
@@ -6890,8 +6900,8 @@ function ac(e) {
6890
6900
  up: a,
6891
6901
  down: l,
6892
6902
  between: c,
6893
- only: u,
6894
- not: d,
6903
+ only: d,
6904
+ not: u,
6895
6905
  unit: n
6896
6906
  }, i);
6897
6907
  }
@@ -6979,9 +6989,9 @@ function ee(e) {
6979
6989
  if (o[t] == null)
6980
6990
  return null;
6981
6991
  const a = o[t], l = o.theme, c = wr(l, r) || {};
6982
- return qe(o, a, (d) => {
6983
- let h = lr(c, i, d);
6984
- return d === h && typeof d == "string" && (h = lr(c, i, `${t}${d === "default" ? "" : gt(d)}`, d)), n === !1 ? h : {
6992
+ return qe(o, a, (u) => {
6993
+ let h = lr(c, i, u);
6994
+ return u === h && typeof u == "string" && (h = lr(c, i, `${t}${u === "default" ? "" : gt(u)}`, u)), n === !1 ? h : {
6985
6995
  [n]: h
6986
6996
  };
6987
6997
  });
@@ -7017,7 +7027,7 @@ const wp = {
7017
7027
  return [e];
7018
7028
  const [t, n] = e.split(""), r = wp[t], i = Sp[n] || "";
7019
7029
  return Array.isArray(i) ? i.map((s) => r + s) : [r + i];
7020
- }), Sr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Er = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Cp = [...Sr, ...Er];
7030
+ }), Sr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Er = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], _p = [...Sr, ...Er];
7021
7031
  function En(e, t, n, r) {
7022
7032
  var i;
7023
7033
  const s = (i = wr(e, t, !1)) != null ? i : n;
@@ -7030,19 +7040,19 @@ function En(e, t, n, r) {
7030
7040
  function lc(e) {
7031
7041
  return En(e, "spacing", 8, "spacing");
7032
7042
  }
7033
- function Cn(e, t) {
7043
+ function _n(e, t) {
7034
7044
  if (typeof t == "string" || t == null)
7035
7045
  return t;
7036
7046
  const n = Math.abs(t), r = e(n);
7037
7047
  return t >= 0 ? r : typeof r == "number" ? -r : `-${r}`;
7038
7048
  }
7039
- function _p(e, t) {
7040
- return (n) => e.reduce((r, i) => (r[i] = Cn(t, n), r), {});
7049
+ function Cp(e, t) {
7050
+ return (n) => e.reduce((r, i) => (r[i] = _n(t, n), r), {});
7041
7051
  }
7042
7052
  function Tp(e, t, n, r) {
7043
7053
  if (t.indexOf(n) === -1)
7044
7054
  return null;
7045
- const i = Ep(n), s = _p(i, r), o = e[n];
7055
+ const i = Ep(n), s = Cp(i, r), o = e[n];
7046
7056
  return qe(e, o, s);
7047
7057
  }
7048
7058
  function cc(e, t) {
@@ -7059,7 +7069,7 @@ function J(e) {
7059
7069
  }
7060
7070
  J.propTypes = process.env.NODE_ENV !== "production" ? Er.reduce((e, t) => (e[t] = lt, e), {}) : {};
7061
7071
  J.filterProps = Er;
7062
- process.env.NODE_ENV !== "production" && Cp.reduce((e, t) => (e[t] = lt, e), {});
7072
+ process.env.NODE_ENV !== "production" && _p.reduce((e, t) => (e[t] = lt, e), {});
7063
7073
  function Pp(e = 8) {
7064
7074
  if (e.mui)
7065
7075
  return e;
@@ -7071,7 +7081,7 @@ function Pp(e = 8) {
7071
7081
  }).join(" "));
7072
7082
  return n.mui = !0, n;
7073
7083
  }
7074
- function Cr(...e) {
7084
+ function _r(...e) {
7075
7085
  const t = e.reduce((r, i) => (i.filterProps.forEach((s) => {
7076
7086
  r[s] = i;
7077
7087
  }), r), {}), n = (r) => Object.keys(r).reduce((i, s) => t[s] ? an(i, t[s](r)) : i, {});
@@ -7087,24 +7097,24 @@ function Ae(e, t) {
7087
7097
  transform: t
7088
7098
  });
7089
7099
  }
7090
- const Ap = Ae("border", Te), kp = Ae("borderTop", Te), Op = Ae("borderRight", Te), Mp = Ae("borderBottom", Te), Np = Ae("borderLeft", Te), Dp = Ae("borderColor"), Rp = Ae("borderTopColor"), Vp = Ae("borderRightColor"), Ip = Ae("borderBottomColor"), Lp = Ae("borderLeftColor"), $p = Ae("outline", Te), zp = Ae("outlineColor"), _r = (e) => {
7100
+ const Ap = Ae("border", Te), kp = Ae("borderTop", Te), Op = Ae("borderRight", Te), Mp = Ae("borderBottom", Te), Np = Ae("borderLeft", Te), Dp = Ae("borderColor"), Rp = Ae("borderTopColor"), Ip = Ae("borderRightColor"), Vp = Ae("borderBottomColor"), Lp = Ae("borderLeftColor"), $p = Ae("outline", Te), zp = Ae("outlineColor"), Cr = (e) => {
7091
7101
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
7092
7102
  const t = En(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
7093
- borderRadius: Cn(t, r)
7103
+ borderRadius: _n(t, r)
7094
7104
  });
7095
7105
  return qe(e, e.borderRadius, n);
7096
7106
  }
7097
7107
  return null;
7098
7108
  };
7099
- _r.propTypes = process.env.NODE_ENV !== "production" ? {
7109
+ Cr.propTypes = process.env.NODE_ENV !== "production" ? {
7100
7110
  borderRadius: lt
7101
7111
  } : {};
7102
- _r.filterProps = ["borderRadius"];
7103
- Cr(Ap, kp, Op, Mp, Np, Dp, Rp, Vp, Ip, Lp, _r, $p, zp);
7112
+ Cr.filterProps = ["borderRadius"];
7113
+ _r(Ap, kp, Op, Mp, Np, Dp, Rp, Ip, Vp, Lp, Cr, $p, zp);
7104
7114
  const Tr = (e) => {
7105
7115
  if (e.gap !== void 0 && e.gap !== null) {
7106
7116
  const t = En(e.theme, "spacing", 8, "gap"), n = (r) => ({
7107
- gap: Cn(t, r)
7117
+ gap: _n(t, r)
7108
7118
  });
7109
7119
  return qe(e, e.gap, n);
7110
7120
  }
@@ -7117,7 +7127,7 @@ Tr.filterProps = ["gap"];
7117
7127
  const Pr = (e) => {
7118
7128
  if (e.columnGap !== void 0 && e.columnGap !== null) {
7119
7129
  const t = En(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
7120
- columnGap: Cn(t, r)
7130
+ columnGap: _n(t, r)
7121
7131
  });
7122
7132
  return qe(e, e.columnGap, n);
7123
7133
  }
@@ -7130,7 +7140,7 @@ Pr.filterProps = ["columnGap"];
7130
7140
  const Ar = (e) => {
7131
7141
  if (e.rowGap !== void 0 && e.rowGap !== null) {
7132
7142
  const t = En(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
7133
- rowGap: Cn(t, r)
7143
+ rowGap: _n(t, r)
7134
7144
  });
7135
7145
  return qe(e, e.rowGap, n);
7136
7146
  }
@@ -7159,25 +7169,25 @@ const Fp = ee({
7159
7169
  }), qp = ee({
7160
7170
  prop: "gridArea"
7161
7171
  });
7162
- Cr(Tr, Pr, Ar, Fp, jp, Bp, Wp, Hp, Up, Yp, Gp, qp);
7163
- function Vt(e, t) {
7172
+ _r(Tr, Pr, Ar, Fp, jp, Bp, Wp, Hp, Up, Yp, Gp, qp);
7173
+ function It(e, t) {
7164
7174
  return t === "grey" ? t : e;
7165
7175
  }
7166
7176
  const Kp = ee({
7167
7177
  prop: "color",
7168
7178
  themeKey: "palette",
7169
- transform: Vt
7179
+ transform: It
7170
7180
  }), Xp = ee({
7171
7181
  prop: "bgcolor",
7172
7182
  cssProperty: "backgroundColor",
7173
7183
  themeKey: "palette",
7174
- transform: Vt
7184
+ transform: It
7175
7185
  }), Zp = ee({
7176
7186
  prop: "backgroundColor",
7177
7187
  themeKey: "palette",
7178
- transform: Vt
7188
+ transform: It
7179
7189
  });
7180
- Cr(Kp, Xp, Zp);
7190
+ _r(Kp, Xp, Zp);
7181
7191
  function ve(e) {
7182
7192
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
7183
7193
  }
@@ -7228,7 +7238,7 @@ ee({
7228
7238
  const rm = ee({
7229
7239
  prop: "boxSizing"
7230
7240
  });
7231
- Cr(Jp, Yi, Qp, em, tm, nm, rm);
7241
+ _r(Jp, Yi, Qp, em, tm, nm, rm);
7232
7242
  const im = {
7233
7243
  // borders
7234
7244
  border: {
@@ -7275,21 +7285,21 @@ const im = {
7275
7285
  },
7276
7286
  borderRadius: {
7277
7287
  themeKey: "shape.borderRadius",
7278
- style: _r
7288
+ style: Cr
7279
7289
  },
7280
7290
  // palette
7281
7291
  color: {
7282
7292
  themeKey: "palette",
7283
- transform: Vt
7293
+ transform: It
7284
7294
  },
7285
7295
  bgcolor: {
7286
7296
  themeKey: "palette",
7287
7297
  cssProperty: "backgroundColor",
7288
- transform: Vt
7298
+ transform: It
7289
7299
  },
7290
7300
  backgroundColor: {
7291
7301
  themeKey: "palette",
7292
- transform: Vt
7302
+ transform: It
7293
7303
  },
7294
7304
  // spacing
7295
7305
  p: {
@@ -7513,7 +7523,7 @@ const im = {
7513
7523
  cssProperty: !1,
7514
7524
  themeKey: "typography"
7515
7525
  }
7516
- }, _n = im;
7526
+ }, Cn = im;
7517
7527
  function om(...e) {
7518
7528
  const t = e.reduce((r, i) => r.concat(Object.keys(i)), []), n = new Set(t);
7519
7529
  return e.every((r) => n.size === Object.keys(r).length);
@@ -7534,8 +7544,8 @@ function uc() {
7534
7544
  const {
7535
7545
  cssProperty: l = n,
7536
7546
  themeKey: c,
7537
- transform: u,
7538
- style: d
7547
+ transform: d,
7548
+ style: u
7539
7549
  } = a;
7540
7550
  if (r == null)
7541
7551
  return null;
@@ -7544,9 +7554,9 @@ function uc() {
7544
7554
  [n]: r
7545
7555
  };
7546
7556
  const h = wr(i, c) || {};
7547
- return d ? d(o) : qe(o, r, (y) => {
7548
- let f = lr(h, u, y);
7549
- return y === f && typeof y == "string" && (f = lr(h, u, `${n}${y === "default" ? "" : gt(y)}`, y)), l === !1 ? f : {
7557
+ return u ? u(o) : qe(o, r, (y) => {
7558
+ let f = lr(h, d, y);
7559
+ return y === f && typeof y == "string" && (f = lr(h, d, `${n}${y === "default" ? "" : gt(y)}`, y)), l === !1 ? f : {
7550
7560
  [l]: f
7551
7561
  };
7552
7562
  });
@@ -7559,7 +7569,7 @@ function uc() {
7559
7569
  } = n || {};
7560
7570
  if (!i)
7561
7571
  return null;
7562
- const o = (r = s.unstable_sxConfig) != null ? r : _n;
7572
+ const o = (r = s.unstable_sxConfig) != null ? r : Cn;
7563
7573
  function a(l) {
7564
7574
  let c = l;
7565
7575
  if (typeof l == "function")
@@ -7568,8 +7578,8 @@ function uc() {
7568
7578
  return l;
7569
7579
  if (!c)
7570
7580
  return null;
7571
- const u = vp(s.breakpoints), d = Object.keys(u);
7572
- let h = u;
7581
+ const d = vp(s.breakpoints), u = Object.keys(d);
7582
+ let h = d;
7573
7583
  return Object.keys(c).forEach((p) => {
7574
7584
  const y = sm(c[p], s);
7575
7585
  if (y != null)
@@ -7589,7 +7599,7 @@ function uc() {
7589
7599
  }
7590
7600
  else
7591
7601
  h = an(h, e(p, y, s, o));
7592
- }), bp(d, h);
7602
+ }), bp(u, h);
7593
7603
  }
7594
7604
  return Array.isArray(i) ? i.map(a) : a(i);
7595
7605
  }
@@ -7623,9 +7633,9 @@ function qi(e = {}, ...t) {
7623
7633
  spacing: l,
7624
7634
  shape: W({}, gp, s)
7625
7635
  }, o);
7626
- return c.applyStyles = fc, c = t.reduce((u, d) => Le(u, d), c), c.unstable_sxConfig = W({}, _n, o == null ? void 0 : o.unstable_sxConfig), c.unstable_sx = function(d) {
7636
+ return c.applyStyles = fc, c = t.reduce((d, u) => Le(d, u), c), c.unstable_sxConfig = W({}, Cn, o == null ? void 0 : o.unstable_sxConfig), c.unstable_sx = function(u) {
7627
7637
  return Gi({
7628
- sx: d,
7638
+ sx: u,
7629
7639
  theme: this
7630
7640
  });
7631
7641
  }, c;
@@ -7693,7 +7703,7 @@ var hm = /* @__PURE__ */ function() {
7693
7703
  return r.parentNode && r.parentNode.removeChild(r);
7694
7704
  }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
7695
7705
  }, e;
7696
- }(), ae = "-ms-", cr = "-moz-", I = "-webkit-", Ki = "comm", Xi = "rule", Zi = "decl", pm = "@import", pc = "@keyframes", mm = "@layer", gm = Math.abs, kr = String.fromCharCode, ym = Object.assign;
7706
+ }(), ae = "-ms-", cr = "-moz-", V = "-webkit-", Ki = "comm", Xi = "rule", Zi = "decl", pm = "@import", pc = "@keyframes", mm = "@layer", gm = Math.abs, kr = String.fromCharCode, ym = Object.assign;
7697
7707
  function vm(e, t) {
7698
7708
  return se(e, 0) ^ 45 ? (((t << 2 ^ se(e, 0)) << 2 ^ se(e, 1)) << 2 ^ se(e, 2)) << 2 ^ se(e, 3) : 0;
7699
7709
  }
@@ -7715,7 +7725,7 @@ function se(e, t) {
7715
7725
  function pn(e, t, n) {
7716
7726
  return e.slice(t, n);
7717
7727
  }
7718
- function Ve(e) {
7728
+ function Ie(e) {
7719
7729
  return e.length;
7720
7730
  }
7721
7731
  function Ji(e) {
@@ -7785,7 +7795,7 @@ function mn(e) {
7785
7795
  return 0;
7786
7796
  }
7787
7797
  function yc(e) {
7788
- return Or = zt = 1, gc = Ve(Wt = e), me = 0, [];
7798
+ return Or = zt = 1, gc = Ie(Wt = e), me = 0, [];
7789
7799
  }
7790
7800
  function vc(e) {
7791
7801
  return Wt = "", e;
@@ -7798,7 +7808,7 @@ function Em(e) {
7798
7808
  xe();
7799
7809
  return mn(e) > 2 || mn(re) > 3 ? "" : " ";
7800
7810
  }
7801
- function Cm(e, t) {
7811
+ function _m(e, t) {
7802
7812
  for (; --t && xe() && !(re < 48 || re > 102 || re > 57 && re < 65 || re > 70 && re < 97); )
7803
7813
  ;
7804
7814
  return Tn(e, Wn() + (t < 6 && $e() == 32 && xe() == 32));
@@ -7821,7 +7831,7 @@ function pi(e) {
7821
7831
  }
7822
7832
  return me;
7823
7833
  }
7824
- function _m(e, t) {
7834
+ function Cm(e, t) {
7825
7835
  for (; xe() && e + re !== 47 + 10; )
7826
7836
  if (e + re === 42 + 42 && $e() === 47)
7827
7837
  break;
@@ -7836,39 +7846,39 @@ function Pm(e) {
7836
7846
  return vc(Un("", null, null, null, [""], e = yc(e), 0, [0], e));
7837
7847
  }
7838
7848
  function Un(e, t, n, r, i, s, o, a, l) {
7839
- for (var c = 0, u = 0, d = o, h = 0, p = 0, y = 0, f = 1, m = 1, b = 1, w = 0, x = "", S = i, v = s, E = r, C = x; m; )
7849
+ for (var c = 0, d = 0, u = o, h = 0, p = 0, y = 0, f = 1, m = 1, b = 1, w = 0, x = "", S = i, v = s, E = r, _ = x; m; )
7840
7850
  switch (y = w, w = xe()) {
7841
7851
  case 40:
7842
- if (y != 108 && se(C, d - 1) == 58) {
7843
- hi(C += L(Hn(w), "&", "&\f"), "&\f") != -1 && (b = -1);
7852
+ if (y != 108 && se(_, u - 1) == 58) {
7853
+ hi(_ += L(Hn(w), "&", "&\f"), "&\f") != -1 && (b = -1);
7844
7854
  break;
7845
7855
  }
7846
7856
  case 34:
7847
7857
  case 39:
7848
7858
  case 91:
7849
- C += Hn(w);
7859
+ _ += Hn(w);
7850
7860
  break;
7851
7861
  case 9:
7852
7862
  case 10:
7853
7863
  case 13:
7854
7864
  case 32:
7855
- C += Em(y);
7865
+ _ += Em(y);
7856
7866
  break;
7857
7867
  case 92:
7858
- C += Cm(Wn() - 1, 7);
7868
+ _ += _m(Wn() - 1, 7);
7859
7869
  continue;
7860
7870
  case 47:
7861
7871
  switch ($e()) {
7862
7872
  case 42:
7863
7873
  case 47:
7864
- $n(Am(_m(xe(), Wn()), t, n), l);
7874
+ $n(Am(Cm(xe(), Wn()), t, n), l);
7865
7875
  break;
7866
7876
  default:
7867
- C += "/";
7877
+ _ += "/";
7868
7878
  }
7869
7879
  break;
7870
7880
  case 123 * f:
7871
- a[c++] = Ve(C) * b;
7881
+ a[c++] = Ie(_) * b;
7872
7882
  case 125 * f:
7873
7883
  case 59:
7874
7884
  case 0:
@@ -7876,31 +7886,31 @@ function Un(e, t, n, r, i, s, o, a, l) {
7876
7886
  case 0:
7877
7887
  case 125:
7878
7888
  m = 0;
7879
- case 59 + u:
7880
- b == -1 && (C = L(C, /\f/g, "")), p > 0 && Ve(C) - d && $n(p > 32 ? Ds(C + ";", r, n, d - 1) : Ds(L(C, " ", "") + ";", r, n, d - 2), l);
7889
+ case 59 + d:
7890
+ b == -1 && (_ = L(_, /\f/g, "")), p > 0 && Ie(_) - u && $n(p > 32 ? Ds(_ + ";", r, n, u - 1) : Ds(L(_, " ", "") + ";", r, n, u - 2), l);
7881
7891
  break;
7882
7892
  case 59:
7883
- C += ";";
7893
+ _ += ";";
7884
7894
  default:
7885
- if ($n(E = Ns(C, t, n, c, u, i, a, x, S = [], v = [], d), s), w === 123)
7886
- if (u === 0)
7887
- Un(C, t, E, E, S, s, d, a, v);
7895
+ if ($n(E = Ns(_, t, n, c, d, i, a, x, S = [], v = [], u), s), w === 123)
7896
+ if (d === 0)
7897
+ Un(_, t, E, E, S, s, u, a, v);
7888
7898
  else
7889
- switch (h === 99 && se(C, 3) === 110 ? 100 : h) {
7899
+ switch (h === 99 && se(_, 3) === 110 ? 100 : h) {
7890
7900
  case 100:
7891
7901
  case 108:
7892
7902
  case 109:
7893
7903
  case 115:
7894
- Un(e, E, E, r && $n(Ns(e, E, E, 0, 0, i, a, x, i, S = [], d), v), i, v, d, a, r ? S : v);
7904
+ Un(e, E, E, r && $n(Ns(e, E, E, 0, 0, i, a, x, i, S = [], u), v), i, v, u, a, r ? S : v);
7895
7905
  break;
7896
7906
  default:
7897
- Un(C, E, E, E, [""], v, 0, a, v);
7907
+ Un(_, E, E, E, [""], v, 0, a, v);
7898
7908
  }
7899
7909
  }
7900
- c = u = p = 0, f = b = 1, x = C = "", d = o;
7910
+ c = d = p = 0, f = b = 1, x = _ = "", u = o;
7901
7911
  break;
7902
7912
  case 58:
7903
- d = 1 + Ve(C), p = y;
7913
+ u = 1 + Ie(_), p = y;
7904
7914
  default:
7905
7915
  if (f < 1) {
7906
7916
  if (w == 123)
@@ -7908,27 +7918,27 @@ function Un(e, t, n, r, i, s, o, a, l) {
7908
7918
  else if (w == 125 && f++ == 0 && Sm() == 125)
7909
7919
  continue;
7910
7920
  }
7911
- switch (C += kr(w), w * f) {
7921
+ switch (_ += kr(w), w * f) {
7912
7922
  case 38:
7913
- b = u > 0 ? 1 : (C += "\f", -1);
7923
+ b = d > 0 ? 1 : (_ += "\f", -1);
7914
7924
  break;
7915
7925
  case 44:
7916
- a[c++] = (Ve(C) - 1) * b, b = 1;
7926
+ a[c++] = (Ie(_) - 1) * b, b = 1;
7917
7927
  break;
7918
7928
  case 64:
7919
- $e() === 45 && (C += Hn(xe())), h = $e(), u = d = Ve(x = C += Tm(Wn())), w++;
7929
+ $e() === 45 && (_ += Hn(xe())), h = $e(), d = u = Ie(x = _ += Tm(Wn())), w++;
7920
7930
  break;
7921
7931
  case 45:
7922
- y === 45 && Ve(C) == 2 && (f = 0);
7932
+ y === 45 && Ie(_) == 2 && (f = 0);
7923
7933
  }
7924
7934
  }
7925
7935
  return s;
7926
7936
  }
7927
- function Ns(e, t, n, r, i, s, o, a, l, c, u) {
7928
- for (var d = i - 1, h = i === 0 ? s : [""], p = Ji(h), y = 0, f = 0, m = 0; y < r; ++y)
7929
- for (var b = 0, w = pn(e, d + 1, d = gm(f = o[y])), x = e; b < p; ++b)
7937
+ function Ns(e, t, n, r, i, s, o, a, l, c, d) {
7938
+ for (var u = i - 1, h = i === 0 ? s : [""], p = Ji(h), y = 0, f = 0, m = 0; y < r; ++y)
7939
+ for (var b = 0, w = pn(e, u + 1, u = gm(f = o[y])), x = e; b < p; ++b)
7930
7940
  (x = mc(f > 0 ? h[b] + " " + w : L(w, /&\f/g, h[b]))) && (l[m++] = x);
7931
- return Mr(e, t, n, i === 0 ? Xi : a, l, c, u);
7941
+ return Mr(e, t, n, i === 0 ? Xi : a, l, c, d);
7932
7942
  }
7933
7943
  function Am(e, t, n) {
7934
7944
  return Mr(e, t, n, Ki, kr(wm()), pn(e, 2, -2), 0);
@@ -7936,7 +7946,7 @@ function Am(e, t, n) {
7936
7946
  function Ds(e, t, n, r) {
7937
7947
  return Mr(e, t, n, Zi, pn(e, 0, r), pn(e, r + 1, -1), r);
7938
7948
  }
7939
- function It(e, t) {
7949
+ function Vt(e, t) {
7940
7950
  for (var n = "", r = Ji(e), i = 0; i < r; i++)
7941
7951
  n += t(e[i], i, e, t) || "";
7942
7952
  return n;
@@ -7952,11 +7962,11 @@ function km(e, t, n, r) {
7952
7962
  case Ki:
7953
7963
  return "";
7954
7964
  case pc:
7955
- return e.return = e.value + "{" + It(e.children, r) + "}";
7965
+ return e.return = e.value + "{" + Vt(e.children, r) + "}";
7956
7966
  case Xi:
7957
7967
  e.value = e.props.join(",");
7958
7968
  }
7959
- return Ve(n = It(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
7969
+ return Ie(n = Vt(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
7960
7970
  }
7961
7971
  function Om(e) {
7962
7972
  var t = Ji(e);
@@ -7997,7 +8007,7 @@ var Nm = function(t, n, r) {
7997
8007
  return t;
7998
8008
  }, Rm = function(t, n) {
7999
8009
  return vc(Dm(yc(t), n));
8000
- }, Rs = /* @__PURE__ */ new WeakMap(), Vm = function(t) {
8010
+ }, Rs = /* @__PURE__ */ new WeakMap(), Im = function(t) {
8001
8011
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
8002
8012
  // negative .length indicates that this rule has been already prefixed
8003
8013
  t.length < 1)) {
@@ -8007,11 +8017,11 @@ var Nm = function(t, n, r) {
8007
8017
  if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Rs.get(r)) && !i) {
8008
8018
  Rs.set(t, !0);
8009
8019
  for (var s = [], o = Rm(n, s), a = r.props, l = 0, c = 0; l < o.length; l++)
8010
- for (var u = 0; u < a.length; u++, c++)
8011
- t.props[c] = s[l] ? o[l].replace(/&\f/g, a[u]) : a[u] + " " + o[l];
8020
+ for (var d = 0; d < a.length; d++, c++)
8021
+ t.props[c] = s[l] ? o[l].replace(/&\f/g, a[d]) : a[d] + " " + o[l];
8012
8022
  }
8013
8023
  }
8014
- }, Im = function(t) {
8024
+ }, Vm = function(t) {
8015
8025
  if (t.type === "decl") {
8016
8026
  var n = t.value;
8017
8027
  // charcode for l
@@ -8038,8 +8048,8 @@ var Nm = function(t, n, r) {
8038
8048
  break;
8039
8049
  }
8040
8050
  }
8041
- s.forEach(function(u) {
8042
- console.error('The pseudo class "' + u + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + u.split("-child")[0] + '-of-type".');
8051
+ s.forEach(function(d) {
8052
+ console.error('The pseudo class "' + d + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + d.split("-child")[0] + '-of-type".');
8043
8053
  });
8044
8054
  }
8045
8055
  }
@@ -8051,15 +8061,15 @@ var Nm = function(t, n, r) {
8051
8061
  if (!bc(n[r]))
8052
8062
  return !0;
8053
8063
  return !1;
8054
- }, Vs = function(t) {
8064
+ }, Is = function(t) {
8055
8065
  t.type = "", t.value = "", t.return = "", t.children = "", t.props = "";
8056
8066
  }, jm = function(t, n, r) {
8057
- bc(t) && (t.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), Vs(t)) : Fm(n, r) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), Vs(t)));
8067
+ bc(t) && (t.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), Is(t)) : Fm(n, r) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), Is(t)));
8058
8068
  };
8059
8069
  function xc(e, t) {
8060
8070
  switch (vm(e, t)) {
8061
8071
  case 5103:
8062
- return I + "print-" + e + e;
8072
+ return V + "print-" + e + e;
8063
8073
  case 5737:
8064
8074
  case 4201:
8065
8075
  case 3177:
@@ -8085,44 +8095,44 @@ function xc(e, t) {
8085
8095
  case 5365:
8086
8096
  case 5621:
8087
8097
  case 3829:
8088
- return I + e + e;
8098
+ return V + e + e;
8089
8099
  case 5349:
8090
8100
  case 4246:
8091
8101
  case 4810:
8092
8102
  case 6968:
8093
8103
  case 2756:
8094
- return I + e + cr + e + ae + e + e;
8104
+ return V + e + cr + e + ae + e + e;
8095
8105
  case 6828:
8096
8106
  case 4268:
8097
- return I + e + ae + e + e;
8107
+ return V + e + ae + e + e;
8098
8108
  case 6165:
8099
- return I + e + ae + "flex-" + e + e;
8109
+ return V + e + ae + "flex-" + e + e;
8100
8110
  case 5187:
8101
- return I + e + L(e, /(\w+).+(:[^]+)/, I + "box-$1$2" + ae + "flex-$1$2") + e;
8111
+ return V + e + L(e, /(\w+).+(:[^]+)/, V + "box-$1$2" + ae + "flex-$1$2") + e;
8102
8112
  case 5443:
8103
- return I + e + ae + "flex-item-" + L(e, /flex-|-self/, "") + e;
8113
+ return V + e + ae + "flex-item-" + L(e, /flex-|-self/, "") + e;
8104
8114
  case 4675:
8105
- return I + e + ae + "flex-line-pack" + L(e, /align-content|flex-|-self/, "") + e;
8115
+ return V + e + ae + "flex-line-pack" + L(e, /align-content|flex-|-self/, "") + e;
8106
8116
  case 5548:
8107
- return I + e + ae + L(e, "shrink", "negative") + e;
8117
+ return V + e + ae + L(e, "shrink", "negative") + e;
8108
8118
  case 5292:
8109
- return I + e + ae + L(e, "basis", "preferred-size") + e;
8119
+ return V + e + ae + L(e, "basis", "preferred-size") + e;
8110
8120
  case 6060:
8111
- return I + "box-" + L(e, "-grow", "") + I + e + ae + L(e, "grow", "positive") + e;
8121
+ return V + "box-" + L(e, "-grow", "") + V + e + ae + L(e, "grow", "positive") + e;
8112
8122
  case 4554:
8113
- return I + L(e, /([^-])(transform)/g, "$1" + I + "$2") + e;
8123
+ return V + L(e, /([^-])(transform)/g, "$1" + V + "$2") + e;
8114
8124
  case 6187:
8115
- return L(L(L(e, /(zoom-|grab)/, I + "$1"), /(image-set)/, I + "$1"), e, "") + e;
8125
+ return L(L(L(e, /(zoom-|grab)/, V + "$1"), /(image-set)/, V + "$1"), e, "") + e;
8116
8126
  case 5495:
8117
8127
  case 3959:
8118
- return L(e, /(image-set\([^]*)/, I + "$1$`$1");
8128
+ return L(e, /(image-set\([^]*)/, V + "$1$`$1");
8119
8129
  case 4968:
8120
- return L(L(e, /(.+:)(flex-)?(.*)/, I + "box-pack:$3" + ae + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + I + e + e;
8130
+ return L(L(e, /(.+:)(flex-)?(.*)/, V + "box-pack:$3" + ae + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + V + e + e;
8121
8131
  case 4095:
8122
8132
  case 3583:
8123
8133
  case 4068:
8124
8134
  case 2532:
8125
- return L(e, /(.+)-inline(.+)/, I + "$1$2") + e;
8135
+ return L(e, /(.+)-inline(.+)/, V + "$1$2") + e;
8126
8136
  case 8116:
8127
8137
  case 7059:
8128
8138
  case 5753:
@@ -8135,13 +8145,13 @@ function xc(e, t) {
8135
8145
  case 5789:
8136
8146
  case 5021:
8137
8147
  case 4765:
8138
- if (Ve(e) - 1 - t > 6)
8148
+ if (Ie(e) - 1 - t > 6)
8139
8149
  switch (se(e, t + 1)) {
8140
8150
  case 109:
8141
8151
  if (se(e, t + 4) !== 45)
8142
8152
  break;
8143
8153
  case 102:
8144
- return L(e, /(.+:)(.+)-([^]+)/, "$1" + I + "$2-$3$1" + cr + (se(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
8154
+ return L(e, /(.+:)(.+)-([^]+)/, "$1" + V + "$2-$3$1" + cr + (se(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
8145
8155
  case 115:
8146
8156
  return ~hi(e, "stretch") ? xc(L(e, "stretch", "fill-available"), t) + e : e;
8147
8157
  }
@@ -8150,23 +8160,23 @@ function xc(e, t) {
8150
8160
  if (se(e, t + 1) !== 115)
8151
8161
  break;
8152
8162
  case 6444:
8153
- switch (se(e, Ve(e) - 3 - (~hi(e, "!important") && 10))) {
8163
+ switch (se(e, Ie(e) - 3 - (~hi(e, "!important") && 10))) {
8154
8164
  case 107:
8155
- return L(e, ":", ":" + I) + e;
8165
+ return L(e, ":", ":" + V) + e;
8156
8166
  case 101:
8157
- return L(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + I + (se(e, 14) === 45 ? "inline-" : "") + "box$3$1" + I + "$2$3$1" + ae + "$2box$3") + e;
8167
+ return L(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + V + (se(e, 14) === 45 ? "inline-" : "") + "box$3$1" + V + "$2$3$1" + ae + "$2box$3") + e;
8158
8168
  }
8159
8169
  break;
8160
8170
  case 5936:
8161
8171
  switch (se(e, t + 11)) {
8162
8172
  case 114:
8163
- return I + e + ae + L(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
8173
+ return V + e + ae + L(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
8164
8174
  case 108:
8165
- return I + e + ae + L(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
8175
+ return V + e + ae + L(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
8166
8176
  case 45:
8167
- return I + e + ae + L(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
8177
+ return V + e + ae + L(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
8168
8178
  }
8169
- return I + e + ae + e + e;
8179
+ return V + e + ae + e + e;
8170
8180
  }
8171
8181
  return e;
8172
8182
  }
@@ -8177,8 +8187,8 @@ var Bm = function(t, n, r, i) {
8177
8187
  t.return = xc(t.value, t.length);
8178
8188
  break;
8179
8189
  case pc:
8180
- return It([Zt(t, {
8181
- value: L(t.value, "@", "@" + I)
8190
+ return Vt([Zt(t, {
8191
+ value: L(t.value, "@", "@" + V)
8182
8192
  })], i);
8183
8193
  case Xi:
8184
8194
  if (t.length)
@@ -8186,12 +8196,12 @@ var Bm = function(t, n, r, i) {
8186
8196
  switch (bm(s, /(::plac\w+|:read-\w+)/)) {
8187
8197
  case ":read-only":
8188
8198
  case ":read-write":
8189
- return It([Zt(t, {
8199
+ return Vt([Zt(t, {
8190
8200
  props: [L(s, /:(read-\w+)/, ":" + cr + "$1")]
8191
8201
  })], i);
8192
8202
  case "::placeholder":
8193
- return It([Zt(t, {
8194
- props: [L(s, /:(plac\w+)/, ":" + I + "input-$1")]
8203
+ return Vt([Zt(t, {
8204
+ props: [L(s, /:(plac\w+)/, ":" + V + "input-$1")]
8195
8205
  }), Zt(t, {
8196
8206
  props: [L(s, /:(plac\w+)/, ":" + cr + "$1")]
8197
8207
  }), Zt(t, {
@@ -8227,22 +8237,22 @@ If multiple caches share the same key they might "fight" for each other's style
8227
8237
  a.push(f);
8228
8238
  }
8229
8239
  );
8230
- var l, c = [Vm, Im];
8240
+ var l, c = [Im, Vm];
8231
8241
  process.env.NODE_ENV !== "production" && c.push(zm({
8232
8242
  get compat() {
8233
8243
  return y.compat;
8234
8244
  }
8235
8245
  }), jm);
8236
8246
  {
8237
- var u, d = [km, process.env.NODE_ENV !== "production" ? function(f) {
8238
- f.root || (f.return ? u.insert(f.return) : f.value && f.type !== Ki && u.insert(f.value + "{}"));
8247
+ var d, u = [km, process.env.NODE_ENV !== "production" ? function(f) {
8248
+ f.root || (f.return ? d.insert(f.return) : f.value && f.type !== Ki && d.insert(f.value + "{}"));
8239
8249
  } : Mm(function(f) {
8240
- u.insert(f);
8241
- })], h = Om(c.concat(i, d)), p = function(m) {
8242
- return It(Pm(m), h);
8250
+ d.insert(f);
8251
+ })], h = Om(c.concat(i, u)), p = function(m) {
8252
+ return Vt(Pm(m), h);
8243
8253
  };
8244
8254
  l = function(m, b, w, x) {
8245
- u = w, process.env.NODE_ENV !== "production" && b.map !== void 0 && (u = {
8255
+ d = w, process.env.NODE_ENV !== "production" && b.map !== void 0 && (d = {
8246
8256
  insert: function(v) {
8247
8257
  w.insert(v + b.map);
8248
8258
  }
@@ -8274,12 +8284,12 @@ If multiple caches share the same key they might "fight" for each other's style
8274
8284
  * This source code is licensed under the MIT license found in the
8275
8285
  * LICENSE file in the root directory of this source tree.
8276
8286
  */
8277
- var Is;
8287
+ var Vs;
8278
8288
  function Hm() {
8279
- if (Is)
8289
+ if (Vs)
8280
8290
  return F;
8281
- Is = 1;
8282
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
8291
+ Vs = 1;
8292
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
8283
8293
  function x(v) {
8284
8294
  if (typeof v == "object" && v !== null) {
8285
8295
  var E = v.$$typeof;
@@ -8291,12 +8301,12 @@ function Hm() {
8291
8301
  case r:
8292
8302
  case s:
8293
8303
  case i:
8294
- case d:
8304
+ case u:
8295
8305
  return v;
8296
8306
  default:
8297
8307
  switch (v = v && v.$$typeof, v) {
8298
8308
  case a:
8299
- case u:
8309
+ case d:
8300
8310
  case y:
8301
8311
  case p:
8302
8312
  case o:
@@ -8313,7 +8323,7 @@ function Hm() {
8313
8323
  function S(v) {
8314
8324
  return x(v) === c;
8315
8325
  }
8316
- return F.AsyncMode = l, F.ConcurrentMode = c, F.ContextConsumer = a, F.ContextProvider = o, F.Element = t, F.ForwardRef = u, F.Fragment = r, F.Lazy = y, F.Memo = p, F.Portal = n, F.Profiler = s, F.StrictMode = i, F.Suspense = d, F.isAsyncMode = function(v) {
8326
+ return F.AsyncMode = l, F.ConcurrentMode = c, F.ContextConsumer = a, F.ContextProvider = o, F.Element = t, F.ForwardRef = d, F.Fragment = r, F.Lazy = y, F.Memo = p, F.Portal = n, F.Profiler = s, F.StrictMode = i, F.Suspense = u, F.isAsyncMode = function(v) {
8317
8327
  return S(v) || x(v) === l;
8318
8328
  }, F.isConcurrentMode = S, F.isContextConsumer = function(v) {
8319
8329
  return x(v) === a;
@@ -8322,7 +8332,7 @@ function Hm() {
8322
8332
  }, F.isElement = function(v) {
8323
8333
  return typeof v == "object" && v !== null && v.$$typeof === t;
8324
8334
  }, F.isForwardRef = function(v) {
8325
- return x(v) === u;
8335
+ return x(v) === d;
8326
8336
  }, F.isFragment = function(v) {
8327
8337
  return x(v) === r;
8328
8338
  }, F.isLazy = function(v) {
@@ -8336,9 +8346,9 @@ function Hm() {
8336
8346
  }, F.isStrictMode = function(v) {
8337
8347
  return x(v) === i;
8338
8348
  }, F.isSuspense = function(v) {
8339
- return x(v) === d;
8349
+ return x(v) === u;
8340
8350
  }, F.isValidElementType = function(v) {
8341
- return typeof v == "string" || typeof v == "function" || v === r || v === c || v === s || v === i || v === d || v === h || typeof v == "object" && v !== null && (v.$$typeof === y || v.$$typeof === p || v.$$typeof === o || v.$$typeof === a || v.$$typeof === u || v.$$typeof === m || v.$$typeof === b || v.$$typeof === w || v.$$typeof === f);
8351
+ return typeof v == "string" || typeof v == "function" || v === r || v === c || v === s || v === i || v === u || v === h || typeof v == "object" && v !== null && (v.$$typeof === y || v.$$typeof === p || v.$$typeof === o || v.$$typeof === a || v.$$typeof === d || v.$$typeof === m || v.$$typeof === b || v.$$typeof === w || v.$$typeof === f);
8342
8352
  }, F.typeOf = x, F;
8343
8353
  }
8344
8354
  var j = {};
@@ -8353,10 +8363,10 @@ var j = {};
8353
8363
  var Ls;
8354
8364
  function Um() {
8355
8365
  return Ls || (Ls = 1, process.env.NODE_ENV !== "production" && function() {
8356
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
8366
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
8357
8367
  function x(T) {
8358
8368
  return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
8359
- T === r || T === c || T === s || T === i || T === d || T === h || typeof T == "object" && T !== null && (T.$$typeof === y || T.$$typeof === p || T.$$typeof === o || T.$$typeof === a || T.$$typeof === u || T.$$typeof === m || T.$$typeof === b || T.$$typeof === w || T.$$typeof === f);
8369
+ T === r || T === c || T === s || T === i || T === u || T === h || typeof T == "object" && T !== null && (T.$$typeof === y || T.$$typeof === p || T.$$typeof === o || T.$$typeof === a || T.$$typeof === d || T.$$typeof === m || T.$$typeof === b || T.$$typeof === w || T.$$typeof === f);
8360
8370
  }
8361
8371
  function S(T) {
8362
8372
  if (typeof T == "object" && T !== null) {
@@ -8370,13 +8380,13 @@ function Um() {
8370
8380
  case r:
8371
8381
  case s:
8372
8382
  case i:
8373
- case d:
8383
+ case u:
8374
8384
  return k;
8375
8385
  default:
8376
8386
  var wt = k && k.$$typeof;
8377
8387
  switch (wt) {
8378
8388
  case a:
8379
- case u:
8389
+ case d:
8380
8390
  case y:
8381
8391
  case p:
8382
8392
  case o:
@@ -8390,7 +8400,7 @@ function Um() {
8390
8400
  }
8391
8401
  }
8392
8402
  }
8393
- var v = l, E = c, C = a, _ = o, A = t, D = u, O = r, V = y, K = p, H = n, fe = s, U = i, ce = d, ue = !1;
8403
+ var v = l, E = c, _ = a, C = o, A = t, D = d, O = r, I = y, K = p, H = n, fe = s, Y = i, ce = u, ue = !1;
8394
8404
  function ge(T) {
8395
8405
  return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Re(T) || S(T) === l;
8396
8406
  }
@@ -8407,7 +8417,7 @@ function Um() {
8407
8417
  return typeof T == "object" && T !== null && T.$$typeof === t;
8408
8418
  }
8409
8419
  function Se(T) {
8410
- return S(T) === u;
8420
+ return S(T) === d;
8411
8421
  }
8412
8422
  function Be(T) {
8413
8423
  return S(T) === r;
@@ -8428,9 +8438,9 @@ function Um() {
8428
8438
  return S(T) === i;
8429
8439
  }
8430
8440
  function Oe(T) {
8431
- return S(T) === d;
8441
+ return S(T) === u;
8432
8442
  }
8433
- j.AsyncMode = v, j.ConcurrentMode = E, j.ContextConsumer = C, j.ContextProvider = _, j.Element = A, j.ForwardRef = D, j.Fragment = O, j.Lazy = V, j.Memo = K, j.Portal = H, j.Profiler = fe, j.StrictMode = U, j.Suspense = ce, j.isAsyncMode = ge, j.isConcurrentMode = Re, j.isContextConsumer = B, j.isContextProvider = ke, j.isElement = je, j.isForwardRef = Se, j.isFragment = Be, j.isLazy = We, j.isMemo = xt, j.isPortal = Yt, j.isProfiler = ct, j.isStrictMode = Ke, j.isSuspense = Oe, j.isValidElementType = x, j.typeOf = S;
8443
+ j.AsyncMode = v, j.ConcurrentMode = E, j.ContextConsumer = _, j.ContextProvider = C, j.Element = A, j.ForwardRef = D, j.Fragment = O, j.Lazy = I, j.Memo = K, j.Portal = H, j.Profiler = fe, j.StrictMode = Y, j.Suspense = ce, j.isAsyncMode = ge, j.isConcurrentMode = Re, j.isContextConsumer = B, j.isContextProvider = ke, j.isElement = je, j.isForwardRef = Se, j.isFragment = Be, j.isLazy = We, j.isMemo = xt, j.isPortal = Yt, j.isProfiler = ct, j.isStrictMode = Ke, j.isSuspense = Oe, j.isValidElementType = x, j.typeOf = S;
8434
8444
  }()), j;
8435
8445
  }
8436
8446
  process.env.NODE_ENV === "production" ? mi.exports = Hm() : mi.exports = Um();
@@ -8549,7 +8559,7 @@ var Zm = {
8549
8559
  }, $s = `You have illegal escape sequence in your template literal, most likely inside content's property value.
8550
8560
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
8551
8561
  You can read more about this here:
8552
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Jm = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Qm = /[A-Z]|^ms/g, Cc = /_EMO_([^_]+?)_([^]*?)_EMO_/g, eo = function(t) {
8562
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Jm = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Qm = /[A-Z]|^ms/g, _c = /_EMO_([^_]+?)_([^]*?)_EMO_/g, eo = function(t) {
8553
8563
  return t.charCodeAt(1) === 45;
8554
8564
  }, zs = function(t) {
8555
8565
  return t != null && typeof t != "boolean";
@@ -8560,7 +8570,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
8560
8570
  case "animation":
8561
8571
  case "animationName":
8562
8572
  if (typeof n == "string")
8563
- return n.replace(Cc, function(r, i, s) {
8573
+ return n.replace(_c, function(r, i, s) {
8564
8574
  return Ne = {
8565
8575
  name: i,
8566
8576
  styles: s,
@@ -8581,13 +8591,13 @@ if (process.env.NODE_ENV !== "production") {
8581
8591
  }) + "?")), r;
8582
8592
  };
8583
8593
  }
8584
- var _c = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
8594
+ var Cc = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
8585
8595
  function gn(e, t, n) {
8586
8596
  if (n == null)
8587
8597
  return "";
8588
8598
  if (n.__emotion_styles !== void 0) {
8589
8599
  if (process.env.NODE_ENV !== "production" && n.toString() === "NO_COMPONENT_SELECTOR")
8590
- throw new Error(_c);
8600
+ throw new Error(Cc);
8591
8601
  return n;
8592
8602
  }
8593
8603
  switch (typeof n) {
@@ -8624,7 +8634,7 @@ function gn(e, t, n) {
8624
8634
  }
8625
8635
  case "string":
8626
8636
  if (process.env.NODE_ENV !== "production") {
8627
- var a = [], l = n.replace(Cc, function(u, d, h) {
8637
+ var a = [], l = n.replace(_c, function(d, u, h) {
8628
8638
  var p = "animation" + a.length;
8629
8639
  return a.push("const " + p + " = keyframes`" + h.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + p + "}";
8630
8640
  });
@@ -8654,7 +8664,7 @@ function o2(e, t, n) {
8654
8664
  t != null && t[o] !== void 0 ? r += s + "{" + t[o] + "}" : zs(o) && (r += Kr(s) + ":" + ur(s, o) + ";");
8655
8665
  else {
8656
8666
  if (s === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
8657
- throw new Error(_c);
8667
+ throw new Error(Cc);
8658
8668
  if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0))
8659
8669
  for (var a = 0; a < o.length; a++)
8660
8670
  zs(o[a]) && (r += Kr(s) + ":" + ur(s, o[a]) + ";");
@@ -8689,12 +8699,12 @@ var Ne, Ft = function(t, n, r) {
8689
8699
  process.env.NODE_ENV !== "production" && (s = s.replace(Tc, function(h) {
8690
8700
  return l = h, "";
8691
8701
  })), js.lastIndex = 0;
8692
- for (var c = "", u; (u = js.exec(s)) !== null; )
8702
+ for (var c = "", d; (d = js.exec(s)) !== null; )
8693
8703
  c += "-" + // $FlowFixMe we know it's not null
8694
- u[1];
8695
- var d = Xm(s) + c;
8704
+ d[1];
8705
+ var u = Xm(s) + c;
8696
8706
  return process.env.NODE_ENV !== "production" ? {
8697
- name: d,
8707
+ name: u,
8698
8708
  styles: s,
8699
8709
  map: l,
8700
8710
  next: Ne,
@@ -8702,7 +8712,7 @@ var Ne, Ft = function(t, n, r) {
8702
8712
  return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
8703
8713
  }
8704
8714
  } : {
8705
- name: d,
8715
+ name: u,
8706
8716
  styles: s,
8707
8717
  next: Ne
8708
8718
  };
@@ -8744,8 +8754,8 @@ var Ws = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Hs = "__EMOTION_LABEL_PLEASE_DO_N
8744
8754
  }
8745
8755
  o += t.key + "-" + a.name;
8746
8756
  var c = {};
8747
- for (var u in e)
8748
- a2.call(e, u) && u !== "css" && u !== Ws && (process.env.NODE_ENV === "production" || u !== Hs) && (c[u] = e[u]);
8757
+ for (var d in e)
8758
+ a2.call(e, d) && d !== "css" && d !== Ws && (process.env.NODE_ENV === "production" || d !== Hs) && (c[d] = e[d]);
8749
8759
  return c.ref = n, c.className = o, /* @__PURE__ */ N.createElement(N.Fragment, null, /* @__PURE__ */ N.createElement(c2, {
8750
8760
  cache: t,
8751
8761
  serialized: a,
@@ -8969,16 +8979,16 @@ var m2 = function(t) {
8969
8979
  var n = !1, r = [], i = function() {
8970
8980
  if (n && process.env.NODE_ENV !== "production")
8971
8981
  throw new Error("css can only be used during render");
8972
- for (var c = arguments.length, u = new Array(c), d = 0; d < c; d++)
8973
- u[d] = arguments[d];
8974
- var h = Ft(u, t.registered);
8982
+ for (var c = arguments.length, d = new Array(c), u = 0; u < c; u++)
8983
+ d[u] = arguments[u];
8984
+ var h = Ft(d, t.registered);
8975
8985
  return r.push(h), Nr(t, h, !1), t.key + "-" + h.name;
8976
8986
  }, s = function() {
8977
8987
  if (n && process.env.NODE_ENV !== "production")
8978
8988
  throw new Error("cx can only be used during render");
8979
- for (var c = arguments.length, u = new Array(c), d = 0; d < c; d++)
8980
- u[d] = arguments[d];
8981
- return p2(t.registered, i, h2(u));
8989
+ for (var c = arguments.length, d = new Array(c), u = 0; u < c; u++)
8990
+ d[u] = arguments[u];
8991
+ return p2(t.registered, i, h2(d));
8982
8992
  }, o = {
8983
8993
  css: i,
8984
8994
  cx: s,
@@ -9032,13 +9042,13 @@ You may have forgotten to import it.`);
9032
9042
  n !== void 0 && (s = n.label, o = n.target);
9033
9043
  var a = Xs(t, n, r), l = a || Ks(i), c = !l("as");
9034
9044
  return function() {
9035
- var u = arguments, d = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
9036
- if (s !== void 0 && d.push("label:" + s + ";"), u[0] == null || u[0].raw === void 0)
9037
- d.push.apply(d, u);
9045
+ var d = arguments, u = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
9046
+ if (s !== void 0 && u.push("label:" + s + ";"), d[0] == null || d[0].raw === void 0)
9047
+ u.push.apply(u, d);
9038
9048
  else {
9039
- process.env.NODE_ENV !== "production" && u[0][0] === void 0 && console.error(Zs), d.push(u[0][0]);
9040
- for (var h = u.length, p = 1; p < h; p++)
9041
- process.env.NODE_ENV !== "production" && u[0][p] === void 0 && console.error(Zs), d.push(u[p], u[0][p]);
9049
+ process.env.NODE_ENV !== "production" && d[0][0] === void 0 && console.error(Zs), u.push(d[0][0]);
9050
+ for (var h = d.length, p = 1; p < h; p++)
9051
+ process.env.NODE_ENV !== "production" && d[0][p] === void 0 && console.error(Zs), u.push(d[p], d[0][p]);
9042
9052
  }
9043
9053
  var y = Rr(function(f, m, b) {
9044
9054
  var w = c && f.as || i, x = "", S = [], v = f;
@@ -9049,26 +9059,26 @@ You may have forgotten to import it.`);
9049
9059
  v.theme = N.useContext(bt);
9050
9060
  }
9051
9061
  typeof f.className == "string" ? x = Qi(m.registered, S, f.className) : f.className != null && (x = f.className + " ");
9052
- var C = Ft(d.concat(S), m.registered, v);
9053
- x += m.key + "-" + C.name, o !== void 0 && (x += " " + o);
9054
- var _ = c && a === void 0 ? Ks(w) : l, A = {};
9062
+ var _ = Ft(u.concat(S), m.registered, v);
9063
+ x += m.key + "-" + _.name, o !== void 0 && (x += " " + o);
9064
+ var C = c && a === void 0 ? Ks(w) : l, A = {};
9055
9065
  for (var D in f)
9056
9066
  c && D === "as" || // $FlowFixMe
9057
- _(D) && (A[D] = f[D]);
9067
+ C(D) && (A[D] = f[D]);
9058
9068
  return A.className = x, A.ref = b, /* @__PURE__ */ N.createElement(N.Fragment, null, /* @__PURE__ */ N.createElement(x2, {
9059
9069
  cache: m,
9060
- serialized: C,
9070
+ serialized: _,
9061
9071
  isStringTag: typeof w == "string"
9062
9072
  }), /* @__PURE__ */ N.createElement(w, A));
9063
9073
  });
9064
- return y.displayName = s !== void 0 ? s : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = i, y.__emotion_styles = d, y.__emotion_forwardProp = a, Object.defineProperty(y, "toString", {
9074
+ return y.displayName = s !== void 0 ? s : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = i, y.__emotion_styles = u, y.__emotion_forwardProp = a, Object.defineProperty(y, "toString", {
9065
9075
  value: function() {
9066
9076
  return o === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + o;
9067
9077
  }
9068
9078
  }), y.withComponent = function(f, m) {
9069
9079
  return e(f, W({}, n, m, {
9070
9080
  shouldForwardProp: Xs(y, m, !0)
9071
- })).apply(void 0, d);
9081
+ })).apply(void 0, u);
9072
9082
  }, y;
9073
9083
  };
9074
9084
  }, S2 = [
@@ -9261,7 +9271,7 @@ process.env.NODE_ENV !== "production" && (Mc.propTypes = {
9261
9271
  * This source code is licensed under the MIT license found in the
9262
9272
  * LICENSE file in the root directory of this source tree.
9263
9273
  */
9264
- function C2(e, t) {
9274
+ function _2(e, t) {
9265
9275
  const n = gi(e, t);
9266
9276
  return process.env.NODE_ENV !== "production" ? (...r) => {
9267
9277
  const i = typeof e == "string" ? `"${e}"` : "component";
@@ -9269,7 +9279,7 @@ function C2(e, t) {
9269
9279
  `)) : r.some((s) => s === void 0) && console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`), n(...r);
9270
9280
  } : n;
9271
9281
  }
9272
- const _2 = (e, t) => {
9282
+ const C2 = (e, t) => {
9273
9283
  Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
9274
9284
  }, T2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9275
9285
  __proto__: null,
@@ -9277,8 +9287,8 @@ const _2 = (e, t) => {
9277
9287
  StyledEngineProvider: Oc,
9278
9288
  ThemeContext: bt,
9279
9289
  css: kc,
9280
- default: C2,
9281
- internal_processStyles: _2,
9290
+ default: _2,
9291
+ internal_processStyles: C2,
9282
9292
  keyframes: f2
9283
9293
  }, Symbol.toStringTag, { value: "Module" }));
9284
9294
  function P2(e) {
@@ -9310,7 +9320,7 @@ const N2 = ["sx"], D2 = (e) => {
9310
9320
  const r = {
9311
9321
  systemProps: {},
9312
9322
  otherProps: {}
9313
- }, i = (t = e == null || (n = e.theme) == null ? void 0 : n.unstable_sxConfig) != null ? t : _n;
9323
+ }, i = (t = e == null || (n = e.theme) == null ? void 0 : n.unstable_sxConfig) != null ? t : Cn;
9314
9324
  return Object.keys(e).forEach((s) => {
9315
9325
  i[s] ? r.systemProps[s] = e[s] : r.otherProps[s] = e[s];
9316
9326
  }), r;
@@ -9330,14 +9340,14 @@ function R2(e) {
9330
9340
  sx: s
9331
9341
  });
9332
9342
  }
9333
- const V2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9343
+ const I2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9334
9344
  __proto__: null,
9335
9345
  default: Gi,
9336
9346
  extendSxProp: R2,
9337
9347
  unstable_createStyleFunctionSx: uc,
9338
- unstable_defaultSxConfig: _n
9348
+ unstable_defaultSxConfig: Cn
9339
9349
  }, Symbol.toStringTag, { value: "Module" }));
9340
- function I2(e, t) {
9350
+ function V2(e, t) {
9341
9351
  return W({
9342
9352
  toolbar: {
9343
9353
  minHeight: 56,
@@ -9375,7 +9385,7 @@ te.decomposeColor = Pe;
9375
9385
  te.emphasize = K2;
9376
9386
  var Js = te.getContrastRatio = U2;
9377
9387
  te.getLuminance = dr;
9378
- te.hexToRgb = Vc;
9388
+ te.hexToRgb = Ic;
9379
9389
  te.hslToRgb = Lc;
9380
9390
  var F2 = te.lighten = oo;
9381
9391
  te.private_safeAlpha = Y2;
@@ -9389,7 +9399,7 @@ var Qs = Rc(L2), j2 = Rc($2);
9389
9399
  function ro(e, t = 0, n = 1) {
9390
9400
  return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), (0, j2.default)(e, t, n);
9391
9401
  }
9392
- function Vc(e) {
9402
+ function Ic(e) {
9393
9403
  e = e.slice(1);
9394
9404
  const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
9395
9405
  let n = e.match(t);
@@ -9403,7 +9413,7 @@ function Pe(e) {
9403
9413
  if (e.type)
9404
9414
  return e;
9405
9415
  if (e.charAt(0) === "#")
9406
- return Pe(Vc(e));
9416
+ return Pe(Ic(e));
9407
9417
  const t = e.indexOf("("), n = e.substring(0, t);
9408
9418
  if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(n) === -1)
9409
9419
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
@@ -9421,14 +9431,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9421
9431
  colorSpace: i
9422
9432
  };
9423
9433
  }
9424
- const Ic = (e) => {
9434
+ const Vc = (e) => {
9425
9435
  const t = Pe(e);
9426
9436
  return t.values.slice(0, 3).map((n, r) => t.type.indexOf("hsl") !== -1 && r !== 0 ? `${n}%` : n).join(" ");
9427
9437
  };
9428
- te.colorChannel = Ic;
9438
+ te.colorChannel = Vc;
9429
9439
  const W2 = (e, t) => {
9430
9440
  try {
9431
- return Ic(e);
9441
+ return Vc(e);
9432
9442
  } catch {
9433
9443
  return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
9434
9444
  }
@@ -9456,7 +9466,7 @@ function Lc(e) {
9456
9466
  e = Pe(e);
9457
9467
  const {
9458
9468
  values: t
9459
- } = e, n = t[0], r = t[1] / 100, i = t[2] / 100, s = r * Math.min(i, 1 - i), o = (c, u = (c + n / 30) % 12) => i - s * Math.max(Math.min(u - 3, 9 - u, 1), -1);
9469
+ } = e, n = t[0], r = t[1] / 100, i = t[2] / 100, s = r * Math.min(i, 1 - i), o = (c, d = (c + n / 30) % 12) => i - s * Math.max(Math.min(d - 3, 9 - d, 1), -1);
9460
9470
  let a = "rgb";
9461
9471
  const l = [Math.round(o(0) * 255), Math.round(o(8) * 255), Math.round(o(4) * 255)];
9462
9472
  return e.type === "hsla" && (a += "a", l.push(t[3])), Ht({
@@ -9611,7 +9621,7 @@ const Z2 = {
9611
9621
  A200: "#448aff",
9612
9622
  A400: "#2979ff",
9613
9623
  A700: "#2962ff"
9614
- }, Ct = rg, ig = {
9624
+ }, _t = rg, ig = {
9615
9625
  50: "#e1f5fe",
9616
9626
  100: "#b3e5fc",
9617
9627
  200: "#81d4fa",
@@ -9626,7 +9636,7 @@ const Z2 = {
9626
9636
  A200: "#40c4ff",
9627
9637
  A400: "#00b0ff",
9628
9638
  A700: "#0091ea"
9629
- }, _t = ig, og = {
9639
+ }, Ct = ig, og = {
9630
9640
  50: "#e8f5e9",
9631
9641
  100: "#c8e6c9",
9632
9642
  200: "#a5d6a7",
@@ -9710,13 +9720,13 @@ function ta(e, t, n, r) {
9710
9720
  }
9711
9721
  function ag(e = "light") {
9712
9722
  return e === "dark" ? {
9713
- main: Ct[200],
9714
- light: Ct[50],
9715
- dark: Ct[400]
9723
+ main: _t[200],
9724
+ light: _t[50],
9725
+ dark: _t[400]
9716
9726
  } : {
9717
- main: Ct[700],
9718
- light: Ct[400],
9719
- dark: Ct[800]
9727
+ main: _t[700],
9728
+ light: _t[400],
9729
+ dark: _t[800]
9720
9730
  };
9721
9731
  }
9722
9732
  function lg(e = "light") {
@@ -9743,13 +9753,13 @@ function cg(e = "light") {
9743
9753
  }
9744
9754
  function ug(e = "light") {
9745
9755
  return e === "dark" ? {
9746
- main: _t[400],
9747
- light: _t[300],
9748
- dark: _t[700]
9756
+ main: Ct[400],
9757
+ light: Ct[300],
9758
+ dark: Ct[700]
9749
9759
  } : {
9750
- main: _t[700],
9751
- light: _t[500],
9752
- dark: _t[900]
9760
+ main: Ct[700],
9761
+ light: Ct[500],
9762
+ dark: Ct[900]
9753
9763
  };
9754
9764
  }
9755
9765
  function dg(e = "light") {
@@ -9780,8 +9790,8 @@ function hg(e) {
9780
9790
  mode: t = "light",
9781
9791
  contrastThreshold: n = 3,
9782
9792
  tonalOffset: r = 0.2
9783
- } = e, i = st(e, sg), s = e.primary || ag(t), o = e.secondary || lg(t), a = e.error || cg(t), l = e.info || ug(t), c = e.success || dg(t), u = e.warning || fg(t);
9784
- function d(f) {
9793
+ } = e, i = st(e, sg), s = e.primary || ag(t), o = e.secondary || lg(t), a = e.error || cg(t), l = e.info || ug(t), c = e.success || dg(t), d = e.warning || fg(t);
9794
+ function u(f) {
9785
9795
  const m = Js(f, Xr.text.primary) >= n ? Xr.text.primary : ea.text.primary;
9786
9796
  if (process.env.NODE_ENV !== "production") {
9787
9797
  const b = Js(f, m);
@@ -9815,7 +9825,7 @@ const theme1 = createTheme({ palette: {
9815
9825
  const theme2 = createTheme({ palette: {
9816
9826
  primary: { main: green[500] },
9817
9827
  } });` : hn(12, m ? ` (${m})` : "", JSON.stringify(f.main)));
9818
- return ta(f, "light", w, r), ta(f, "dark", x, r), f.contrastText || (f.contrastText = d(f.main)), f;
9828
+ return ta(f, "light", w, r), ta(f, "dark", x, r), f.contrastText || (f.contrastText = u(f.main)), f;
9819
9829
  }, p = {
9820
9830
  dark: Xr,
9821
9831
  light: ea
@@ -9846,7 +9856,7 @@ const theme2 = createTheme({ palette: {
9846
9856
  }),
9847
9857
  // The colors used to represent potentially dangerous actions or important messages.
9848
9858
  warning: h({
9849
- color: u,
9859
+ color: d,
9850
9860
  name: "warning"
9851
9861
  }),
9852
9862
  // The colors used to present information to the user that is neutral and not necessarily important.
@@ -9865,7 +9875,7 @@ const theme2 = createTheme({ palette: {
9865
9875
  // the background and the text.
9866
9876
  contrastThreshold: n,
9867
9877
  // Takes a background color and returns the text color that maximizes the contrast.
9868
- getContrastText: d,
9878
+ getContrastText: u,
9869
9879
  // Generate a rich color object.
9870
9880
  augmentColor: h,
9871
9881
  // Used by the functions below to shift a color's luminance by approximately
@@ -9895,11 +9905,11 @@ function gg(e, t) {
9895
9905
  // 16px is the default font-size used by browsers.
9896
9906
  htmlFontSize: c = 16,
9897
9907
  // Apply the CSS properties to all the variants.
9898
- allVariants: u,
9899
- pxToRem: d
9908
+ allVariants: d,
9909
+ pxToRem: u
9900
9910
  } = n, h = st(n, pg);
9901
9911
  process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
9902
- const p = i / 14, y = d || ((b) => `${b / c * p}rem`), f = (b, w, x, S, v) => W({
9912
+ const p = i / 14, y = u || ((b) => `${b / c * p}rem`), f = (b, w, x, S, v) => W({
9903
9913
  fontFamily: r,
9904
9914
  fontWeight: b,
9905
9915
  fontSize: y(w),
@@ -9907,7 +9917,7 @@ function gg(e, t) {
9907
9917
  lineHeight: x
9908
9918
  }, r === ra ? {
9909
9919
  letterSpacing: `${mg(S / w)}em`
9910
- } : {}, v, u), m = {
9920
+ } : {}, v, d), m = {
9911
9921
  h1: f(s, 96, 1.167, -1.5),
9912
9922
  h2: f(s, 60, 1.2, -0.5),
9913
9923
  h3: f(o, 48, 1.167, 0),
@@ -9958,7 +9968,7 @@ const xg = ["none", q(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), q(0, 3, 1, -2, 0, 2,
9958
9968
  easeIn: "cubic-bezier(0.4, 0, 1, 1)",
9959
9969
  // The sharp curve is used by objects that may return to the screen at any time.
9960
9970
  sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
9961
- }, Cg = {
9971
+ }, _g = {
9962
9972
  shortest: 150,
9963
9973
  shorter: 200,
9964
9974
  short: 250,
@@ -9974,16 +9984,16 @@ const xg = ["none", q(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), q(0, 3, 1, -2, 0, 2,
9974
9984
  function ia(e) {
9975
9985
  return `${Math.round(e)}ms`;
9976
9986
  }
9977
- function _g(e) {
9987
+ function Cg(e) {
9978
9988
  if (!e)
9979
9989
  return 0;
9980
9990
  const t = e / 36;
9981
9991
  return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
9982
9992
  }
9983
9993
  function Tg(e) {
9984
- const t = W({}, Eg, e.easing), n = W({}, Cg, e.duration);
9994
+ const t = W({}, Eg, e.easing), n = W({}, _g, e.duration);
9985
9995
  return W({
9986
- getAutoHeightDuration: _g,
9996
+ getAutoHeightDuration: Cg,
9987
9997
  create: (i = ["all"], s = {}) => {
9988
9998
  const {
9989
9999
  duration: o = n.standard,
@@ -9991,11 +10001,11 @@ function Tg(e) {
9991
10001
  delay: l = 0
9992
10002
  } = s, c = st(s, Sg);
9993
10003
  if (process.env.NODE_ENV !== "production") {
9994
- const u = (h) => typeof h == "string", d = (h) => !isNaN(parseFloat(h));
9995
- !u(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !d(o) && !u(o) && console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`), u(a) || console.error('MUI: Argument "easing" must be a string.'), !d(l) && !u(l) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
10004
+ const d = (h) => typeof h == "string", u = (h) => !isNaN(parseFloat(h));
10005
+ !d(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !u(o) && !d(o) && console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`), d(a) || console.error('MUI: Argument "easing" must be a string.'), !u(l) && !d(l) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
9996
10006
  `)), Object.keys(c).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`);
9997
10007
  }
9998
- return (Array.isArray(i) ? i : [i]).map((u) => `${u} ${typeof o == "string" ? o : ia(o)} ${a} ${typeof l == "string" ? l : ia(l)}`).join(",");
10008
+ return (Array.isArray(i) ? i : [i]).map((d) => `${d} ${typeof o == "string" ? o : ia(o)} ${a} ${typeof l == "string" ? l : ia(l)}`).join(",");
9999
10009
  }
10000
10010
  }, e, {
10001
10011
  easing: t,
@@ -10023,7 +10033,7 @@ function Og(e = {}, ...t) {
10023
10033
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : hn(18));
10024
10034
  const a = hg(r), l = qi(e);
10025
10035
  let c = Le(l, {
10026
- mixins: I2(l.breakpoints, n),
10036
+ mixins: V2(l.breakpoints, n),
10027
10037
  palette: a,
10028
10038
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
10029
10039
  shadows: wg.slice(),
@@ -10031,12 +10041,12 @@ function Og(e = {}, ...t) {
10031
10041
  transitions: Tg(i),
10032
10042
  zIndex: W({}, Ag)
10033
10043
  });
10034
- if (c = Le(c, o), c = t.reduce((u, d) => Le(u, d), c), process.env.NODE_ENV !== "production") {
10035
- const u = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], d = (h, p) => {
10044
+ if (c = Le(c, o), c = t.reduce((d, u) => Le(d, u), c), process.env.NODE_ENV !== "production") {
10045
+ const d = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], u = (h, p) => {
10036
10046
  let y;
10037
10047
  for (y in h) {
10038
10048
  const f = h[y];
10039
- if (u.indexOf(y) !== -1 && Object.keys(f).length > 0) {
10049
+ if (d.indexOf(y) !== -1 && Object.keys(f).length > 0) {
10040
10050
  if (process.env.NODE_ENV !== "production") {
10041
10051
  const m = Hi("", y);
10042
10052
  console.error([`MUI: The \`${p}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(h, null, 2), "", `Instead, you need to use the '&.${m}' syntax:`, JSON.stringify({
@@ -10052,12 +10062,12 @@ function Og(e = {}, ...t) {
10052
10062
  };
10053
10063
  Object.keys(c.components).forEach((h) => {
10054
10064
  const p = c.components[h].styleOverrides;
10055
- p && h.indexOf("Mui") === 0 && d(p, h);
10065
+ p && h.indexOf("Mui") === 0 && u(p, h);
10056
10066
  });
10057
10067
  }
10058
- return c.unstable_sxConfig = W({}, _n, o == null ? void 0 : o.unstable_sxConfig), c.unstable_sx = function(d) {
10068
+ return c.unstable_sxConfig = W({}, Cn, o == null ? void 0 : o.unstable_sxConfig), c.unstable_sx = function(u) {
10059
10069
  return Gi({
10060
- sx: d,
10070
+ sx: u,
10061
10071
  theme: this
10062
10072
  });
10063
10073
  }, c;
@@ -10075,14 +10085,14 @@ function Ng({
10075
10085
  });
10076
10086
  }
10077
10087
  var Pn = {};
10078
- const Dg = /* @__PURE__ */ Fe(Jc), Rg = /* @__PURE__ */ Fe(Qc), Vg = /* @__PURE__ */ Fe(T2), Ig = /* @__PURE__ */ Fe(X1), Lg = /* @__PURE__ */ Fe(rp), $g = /* @__PURE__ */ Fe(np), zg = /* @__PURE__ */ Fe(lm), Fg = /* @__PURE__ */ Fe(V2);
10088
+ const Dg = /* @__PURE__ */ Fe(Jc), Rg = /* @__PURE__ */ Fe(Qc), Ig = /* @__PURE__ */ Fe(T2), Vg = /* @__PURE__ */ Fe(X1), Lg = /* @__PURE__ */ Fe(rp), $g = /* @__PURE__ */ Fe(np), zg = /* @__PURE__ */ Fe(lm), Fg = /* @__PURE__ */ Fe(I2);
10079
10089
  var Ut = Dc;
10080
10090
  Object.defineProperty(Pn, "__esModule", {
10081
10091
  value: !0
10082
10092
  });
10083
10093
  var jg = Pn.default = n3, Bg = Pn.shouldForwardProp = Yn;
10084
10094
  Pn.systemDefaultTheme = void 0;
10085
- var _e = Ut(Dg), bi = Ut(Rg), oa = Zg(Vg), Wg = Ig, Hg = Ut(Lg), Ug = Ut($g), Yg = Ut(zg), Gg = Ut(Fg);
10095
+ var Ce = Ut(Dg), bi = Ut(Rg), oa = Zg(Ig), Wg = Vg, Hg = Ut(Lg), Ug = Ut($g), Yg = Ut(zg), Gg = Ut(Fg);
10086
10096
  const qg = ["ownerState"], Kg = ["variants"], Xg = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
10087
10097
  function Bc(e) {
10088
10098
  if (typeof WeakMap != "function")
@@ -10135,11 +10145,11 @@ function Gn(e, t) {
10135
10145
  let {
10136
10146
  ownerState: n
10137
10147
  } = t, r = (0, bi.default)(t, qg);
10138
- const i = typeof e == "function" ? e((0, _e.default)({
10148
+ const i = typeof e == "function" ? e((0, Ce.default)({
10139
10149
  ownerState: n
10140
10150
  }, r)) : e;
10141
10151
  if (Array.isArray(i))
10142
- return i.flatMap((s) => Gn(s, (0, _e.default)({
10152
+ return i.flatMap((s) => Gn(s, (0, Ce.default)({
10143
10153
  ownerState: n
10144
10154
  }, r)));
10145
10155
  if (i && typeof i == "object" && Array.isArray(i.variants)) {
@@ -10149,11 +10159,11 @@ function Gn(e, t) {
10149
10159
  let a = (0, bi.default)(i, Kg);
10150
10160
  return s.forEach((l) => {
10151
10161
  let c = !0;
10152
- typeof l.props == "function" ? c = l.props((0, _e.default)({
10162
+ typeof l.props == "function" ? c = l.props((0, Ce.default)({
10153
10163
  ownerState: n
10154
- }, r, n)) : Object.keys(l.props).forEach((u) => {
10155
- (n == null ? void 0 : n[u]) !== l.props[u] && r[u] !== l.props[u] && (c = !1);
10156
- }), c && (Array.isArray(a) || (a = [a]), a.push(typeof l.style == "function" ? l.style((0, _e.default)({
10164
+ }, r, n)) : Object.keys(l.props).forEach((d) => {
10165
+ (n == null ? void 0 : n[d]) !== l.props[d] && r[d] !== l.props[d] && (c = !1);
10166
+ }), c && (Array.isArray(a) || (a = [a]), a.push(typeof l.style == "function" ? l.style((0, Ce.default)({
10157
10167
  ownerState: n
10158
10168
  }, r, n)) : l.style));
10159
10169
  }), a;
@@ -10166,8 +10176,8 @@ function n3(e = {}) {
10166
10176
  defaultTheme: n = e3,
10167
10177
  rootShouldForwardProp: r = Yn,
10168
10178
  slotShouldForwardProp: i = Yn
10169
- } = e, s = (o) => (0, Gg.default)((0, _e.default)({}, o, {
10170
- theme: zn((0, _e.default)({}, o, {
10179
+ } = e, s = (o) => (0, Gg.default)((0, Ce.default)({}, o, {
10180
+ theme: zn((0, Ce.default)({}, o, {
10171
10181
  defaultTheme: n,
10172
10182
  themeId: t
10173
10183
  }))
@@ -10177,63 +10187,63 @@ function n3(e = {}) {
10177
10187
  const {
10178
10188
  name: l,
10179
10189
  slot: c,
10180
- skipVariantsResolver: u,
10181
- skipSx: d,
10190
+ skipVariantsResolver: d,
10191
+ skipSx: u,
10182
10192
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
10183
10193
  // For more details: https://github.com/mui/material-ui/pull/37908
10184
10194
  overridesResolver: h = t3(sa(c))
10185
- } = a, p = (0, bi.default)(a, Xg), y = u !== void 0 ? u : (
10195
+ } = a, p = (0, bi.default)(a, Xg), y = d !== void 0 ? d : (
10186
10196
  // TODO v6: remove `Root` in the next major release
10187
10197
  // For more details: https://github.com/mui/material-ui/pull/37908
10188
10198
  c && c !== "Root" && c !== "root" || !1
10189
- ), f = d || !1;
10199
+ ), f = u || !1;
10190
10200
  let m;
10191
10201
  process.env.NODE_ENV !== "production" && l && (m = `${l}-${sa(c || "Root")}`);
10192
10202
  let b = Yn;
10193
10203
  c === "Root" || c === "root" ? b = r : c ? b = i : Qg(o) && (b = void 0);
10194
- const w = (0, oa.default)(o, (0, _e.default)({
10204
+ const w = (0, oa.default)(o, (0, Ce.default)({
10195
10205
  shouldForwardProp: b,
10196
10206
  label: m
10197
- }, p)), x = (v) => typeof v == "function" && v.__emotion_real !== v || (0, Wg.isPlainObject)(v) ? (E) => Gn(v, (0, _e.default)({}, E, {
10207
+ }, p)), x = (v) => typeof v == "function" && v.__emotion_real !== v || (0, Wg.isPlainObject)(v) ? (E) => Gn(v, (0, Ce.default)({}, E, {
10198
10208
  theme: zn({
10199
10209
  theme: E.theme,
10200
10210
  defaultTheme: n,
10201
10211
  themeId: t
10202
10212
  })
10203
10213
  })) : v, S = (v, ...E) => {
10204
- let C = x(v);
10205
- const _ = E ? E.map(x) : [];
10206
- l && h && _.push((O) => {
10207
- const V = zn((0, _e.default)({}, O, {
10214
+ let _ = x(v);
10215
+ const C = E ? E.map(x) : [];
10216
+ l && h && C.push((O) => {
10217
+ const I = zn((0, Ce.default)({}, O, {
10208
10218
  defaultTheme: n,
10209
10219
  themeId: t
10210
10220
  }));
10211
- if (!V.components || !V.components[l] || !V.components[l].styleOverrides)
10221
+ if (!I.components || !I.components[l] || !I.components[l].styleOverrides)
10212
10222
  return null;
10213
- const K = V.components[l].styleOverrides, H = {};
10214
- return Object.entries(K).forEach(([fe, U]) => {
10215
- H[fe] = Gn(U, (0, _e.default)({}, O, {
10216
- theme: V
10223
+ const K = I.components[l].styleOverrides, H = {};
10224
+ return Object.entries(K).forEach(([fe, Y]) => {
10225
+ H[fe] = Gn(Y, (0, Ce.default)({}, O, {
10226
+ theme: I
10217
10227
  }));
10218
10228
  }), h(O, H);
10219
- }), l && !y && _.push((O) => {
10220
- var V;
10221
- const K = zn((0, _e.default)({}, O, {
10229
+ }), l && !y && C.push((O) => {
10230
+ var I;
10231
+ const K = zn((0, Ce.default)({}, O, {
10222
10232
  defaultTheme: n,
10223
10233
  themeId: t
10224
- })), H = K == null || (V = K.components) == null || (V = V[l]) == null ? void 0 : V.variants;
10234
+ })), H = K == null || (I = K.components) == null || (I = I[l]) == null ? void 0 : I.variants;
10225
10235
  return Gn({
10226
10236
  variants: H
10227
- }, (0, _e.default)({}, O, {
10237
+ }, (0, Ce.default)({}, O, {
10228
10238
  theme: K
10229
10239
  }));
10230
- }), f || _.push(s);
10231
- const A = _.length - E.length;
10240
+ }), f || C.push(s);
10241
+ const A = C.length - E.length;
10232
10242
  if (Array.isArray(v) && A > 0) {
10233
10243
  const O = new Array(A).fill("");
10234
- C = [...v, ...O], C.raw = [...v.raw, ...O];
10244
+ _ = [...v, ...O], _.raw = [...v.raw, ...O];
10235
10245
  }
10236
- const D = w(C, ..._);
10246
+ const D = w(_, ...C);
10237
10247
  if (process.env.NODE_ENV !== "production") {
10238
10248
  let O;
10239
10249
  l && (O = `${l}${(0, Hg.default)(c || "")}`), O === void 0 && (O = `Styled(${(0, Ug.default)(o)})`), D.displayName = O;
@@ -10274,7 +10284,7 @@ const a3 = ["children", "className", "color", "component", "fontSize", "htmlColo
10274
10284
  theme: e,
10275
10285
  ownerState: t
10276
10286
  }) => {
10277
- var n, r, i, s, o, a, l, c, u, d, h, p, y;
10287
+ var n, r, i, s, o, a, l, c, d, u, h, p, y;
10278
10288
  return {
10279
10289
  userSelect: "none",
10280
10290
  width: "1em",
@@ -10291,10 +10301,10 @@ const a3 = ["children", "className", "color", "component", "fontSize", "htmlColo
10291
10301
  inherit: "inherit",
10292
10302
  small: ((s = e.typography) == null || (o = s.pxToRem) == null ? void 0 : o.call(s, 20)) || "1.25rem",
10293
10303
  medium: ((a = e.typography) == null || (l = a.pxToRem) == null ? void 0 : l.call(a, 24)) || "1.5rem",
10294
- large: ((c = e.typography) == null || (u = c.pxToRem) == null ? void 0 : u.call(c, 35)) || "2.1875rem"
10304
+ large: ((c = e.typography) == null || (d = c.pxToRem) == null ? void 0 : d.call(c, 35)) || "2.1875rem"
10295
10305
  }[t.fontSize],
10296
10306
  // TODO v5 deprecate, v6 remove for sx
10297
- color: (d = (h = (e.vars || e).palette) == null || (h = h[t.color]) == null ? void 0 : h.main) != null ? d : {
10307
+ color: (u = (h = (e.vars || e).palette) == null || (h = h[t.color]) == null ? void 0 : h.main) != null ? u : {
10298
10308
  action: (p = (e.vars || e).palette) == null || (p = p.action) == null ? void 0 : p.active,
10299
10309
  disabled: (y = (e.vars || e).palette) == null || (y = y.action) == null ? void 0 : y.disabled,
10300
10310
  inherit: void 0
@@ -10311,32 +10321,32 @@ const a3 = ["children", "className", "color", "component", "fontSize", "htmlColo
10311
10321
  component: a = "svg",
10312
10322
  fontSize: l = "medium",
10313
10323
  htmlColor: c,
10314
- inheritViewBox: u = !1,
10315
- titleAccess: d,
10324
+ inheritViewBox: d = !1,
10325
+ titleAccess: u,
10316
10326
  viewBox: h = "0 0 24 24"
10317
10327
  } = r, p = st(r, a3), y = /* @__PURE__ */ N.isValidElement(i) && i.type === "svg", f = W({}, r, {
10318
10328
  color: o,
10319
10329
  component: a,
10320
10330
  fontSize: l,
10321
10331
  instanceFontSize: t.fontSize,
10322
- inheritViewBox: u,
10332
+ inheritViewBox: d,
10323
10333
  viewBox: h,
10324
10334
  hasSvgAsChild: y
10325
10335
  }), m = {};
10326
- u || (m.viewBox = h);
10336
+ d || (m.viewBox = h);
10327
10337
  const b = l3(f);
10328
10338
  return /* @__PURE__ */ P(c3, W({
10329
10339
  as: a,
10330
10340
  className: eu(b.root, s),
10331
10341
  focusable: "false",
10332
10342
  color: c,
10333
- "aria-hidden": d ? void 0 : !0,
10334
- role: d ? "img" : void 0,
10343
+ "aria-hidden": u ? void 0 : !0,
10344
+ role: u ? "img" : void 0,
10335
10345
  ref: n
10336
10346
  }, m, p, y && i.props, {
10337
10347
  ownerState: f,
10338
- children: [y ? i.props.children : i, d ? /* @__PURE__ */ g("title", {
10339
- children: d
10348
+ children: [y ? i.props.children : i, u ? /* @__PURE__ */ g("title", {
10349
+ children: u
10340
10350
  }) : null]
10341
10351
  }));
10342
10352
  });
@@ -10494,12 +10504,12 @@ var g3 = 150, y3 = function(t, n) {
10494
10504
  }, qn = null, Kn = null;
10495
10505
  process.env.NODE_ENV !== "production" && typeof window < "u" && typeof window.WeakSet < "u" && (qn = /* @__PURE__ */ new WeakSet(), Kn = /* @__PURE__ */ new WeakSet());
10496
10506
  function v3(e) {
10497
- var t, n = e.getItemOffset, r = e.getEstimatedTotalSize, i = e.getItemSize, s = e.getOffsetForIndexAndAlignment, o = e.getStartIndexForOffset, a = e.getStopIndexForStartIndex, l = e.initInstanceProps, c = e.shouldResetStyleCacheOnItemSizeChange, u = e.validateProps;
10498
- return t = /* @__PURE__ */ function(d) {
10499
- tu(h, d);
10507
+ var t, n = e.getItemOffset, r = e.getEstimatedTotalSize, i = e.getItemSize, s = e.getOffsetForIndexAndAlignment, o = e.getStartIndexForOffset, a = e.getStopIndexForStartIndex, l = e.initInstanceProps, c = e.shouldResetStyleCacheOnItemSizeChange, d = e.validateProps;
10508
+ return t = /* @__PURE__ */ function(u) {
10509
+ tu(h, u);
10500
10510
  function h(y) {
10501
10511
  var f;
10502
- return f = d.call(this, y) || this, f._instanceProps = l(f.props, co(f)), f._outerRef = void 0, f._resetIsScrollingTimeoutId = null, f.state = {
10512
+ return f = u.call(this, y) || this, f._instanceProps = l(f.props, co(f)), f._outerRef = void 0, f._resetIsScrollingTimeoutId = null, f.state = {
10503
10513
  instance: co(f),
10504
10514
  isScrolling: !1,
10505
10515
  scrollDirection: "forward",
@@ -10523,14 +10533,14 @@ function v3(e) {
10523
10533
  if (v.hasOwnProperty(m))
10524
10534
  E = v[m];
10525
10535
  else {
10526
- var C = n(f.props, m, f._instanceProps), _ = i(f.props, m, f._instanceProps), A = w === "horizontal" || S === "horizontal", D = w === "rtl", O = A ? C : 0;
10536
+ var _ = n(f.props, m, f._instanceProps), C = i(f.props, m, f._instanceProps), A = w === "horizontal" || S === "horizontal", D = w === "rtl", O = A ? _ : 0;
10527
10537
  v[m] = E = {
10528
10538
  position: "absolute",
10529
10539
  left: D ? void 0 : O,
10530
10540
  right: D ? O : void 0,
10531
- top: A ? 0 : C,
10532
- height: A ? "100%" : _,
10533
- width: A ? _ : "100%"
10541
+ top: A ? 0 : _,
10542
+ height: A ? "100%" : C,
10543
+ width: A ? C : "100%"
10534
10544
  };
10535
10545
  }
10536
10546
  return E;
@@ -10541,20 +10551,20 @@ function v3(e) {
10541
10551
  f.setState(function(v) {
10542
10552
  if (v.scrollOffset === x)
10543
10553
  return null;
10544
- var E = f.props.direction, C = x;
10554
+ var E = f.props.direction, _ = x;
10545
10555
  if (E === "rtl")
10546
10556
  switch (fa()) {
10547
10557
  case "negative":
10548
- C = -x;
10558
+ _ = -x;
10549
10559
  break;
10550
10560
  case "positive-descending":
10551
- C = S - w - x;
10561
+ _ = S - w - x;
10552
10562
  break;
10553
10563
  }
10554
- return C = Math.max(0, Math.min(C, S - w)), {
10564
+ return _ = Math.max(0, Math.min(_, S - w)), {
10555
10565
  isScrolling: !0,
10556
- scrollDirection: v.scrollOffset < C ? "forward" : "backward",
10557
- scrollOffset: C,
10566
+ scrollDirection: v.scrollOffset < _ ? "forward" : "backward",
10567
+ scrollOffset: _,
10558
10568
  scrollUpdateWasRequested: !1
10559
10569
  };
10560
10570
  }, f._resetIsScrollingDebounced);
@@ -10585,7 +10595,7 @@ function v3(e) {
10585
10595
  }, f;
10586
10596
  }
10587
10597
  h.getDerivedStateFromProps = function(f, m) {
10588
- return b3(f, m), u(f), null;
10598
+ return b3(f, m), d(f), null;
10589
10599
  };
10590
10600
  var p = h.prototype;
10591
10601
  return p.scrollTo = function(f) {
@@ -10627,8 +10637,8 @@ function v3(e) {
10627
10637
  v.scrollLeft = x;
10628
10638
  break;
10629
10639
  default:
10630
- var E = v.clientWidth, C = v.scrollWidth;
10631
- v.scrollLeft = C - E - x;
10640
+ var E = v.clientWidth, _ = v.scrollWidth;
10641
+ v.scrollLeft = _ - E - x;
10632
10642
  break;
10633
10643
  }
10634
10644
  else
@@ -10640,25 +10650,25 @@ function v3(e) {
10640
10650
  }, p.componentWillUnmount = function() {
10641
10651
  this._resetIsScrollingTimeoutId !== null && ua(this._resetIsScrollingTimeoutId);
10642
10652
  }, p.render = function() {
10643
- var f = this.props, m = f.children, b = f.className, w = f.direction, x = f.height, S = f.innerRef, v = f.innerElementType, E = f.innerTagName, C = f.itemCount, _ = f.itemData, A = f.itemKey, D = A === void 0 ? y3 : A, O = f.layout, V = f.outerElementType, K = f.outerTagName, H = f.style, fe = f.useIsScrolling, U = f.width, ce = this.state.isScrolling, ue = w === "horizontal" || O === "horizontal", ge = ue ? this._onScrollHorizontal : this._onScrollVertical, Re = this._getRangeToRender(), B = Re[0], ke = Re[1], je = [];
10644
- if (C > 0)
10653
+ var f = this.props, m = f.children, b = f.className, w = f.direction, x = f.height, S = f.innerRef, v = f.innerElementType, E = f.innerTagName, _ = f.itemCount, C = f.itemData, A = f.itemKey, D = A === void 0 ? y3 : A, O = f.layout, I = f.outerElementType, K = f.outerTagName, H = f.style, fe = f.useIsScrolling, Y = f.width, ce = this.state.isScrolling, ue = w === "horizontal" || O === "horizontal", ge = ue ? this._onScrollHorizontal : this._onScrollVertical, Re = this._getRangeToRender(), B = Re[0], ke = Re[1], je = [];
10654
+ if (_ > 0)
10645
10655
  for (var Se = B; Se <= ke; Se++)
10646
10656
  je.push(tn(m, {
10647
- data: _,
10648
- key: D(Se, _),
10657
+ data: C,
10658
+ key: D(Se, C),
10649
10659
  index: Se,
10650
10660
  isScrolling: fe ? ce : void 0,
10651
10661
  style: this._getItemStyle(Se)
10652
10662
  }));
10653
10663
  var Be = r(this.props, this._instanceProps);
10654
- return tn(V || K || "div", {
10664
+ return tn(I || K || "div", {
10655
10665
  className: b,
10656
10666
  onScroll: ge,
10657
10667
  ref: this._outerRefSetter,
10658
10668
  style: W({
10659
10669
  position: "relative",
10660
10670
  height: x,
10661
- width: U,
10671
+ width: Y,
10662
10672
  overflow: "auto",
10663
10673
  WebkitOverflowScrolling: "touch",
10664
10674
  willChange: "transform",
@@ -10682,15 +10692,15 @@ function v3(e) {
10682
10692
  }
10683
10693
  }
10684
10694
  if (typeof this.props.onScroll == "function") {
10685
- var v = this.state, E = v.scrollDirection, C = v.scrollOffset, _ = v.scrollUpdateWasRequested;
10686
- this._callOnScroll(E, C, _);
10695
+ var v = this.state, E = v.scrollDirection, _ = v.scrollOffset, C = v.scrollUpdateWasRequested;
10696
+ this._callOnScroll(E, _, C);
10687
10697
  }
10688
10698
  }, p._getRangeToRender = function() {
10689
10699
  var f = this.props, m = f.itemCount, b = f.overscanCount, w = this.state, x = w.isScrolling, S = w.scrollDirection, v = w.scrollOffset;
10690
10700
  if (m === 0)
10691
10701
  return [0, 0, 0, 0];
10692
- var E = o(this.props, v, this._instanceProps), C = a(this.props, E, v, this._instanceProps), _ = !x || S === "backward" ? Math.max(1, b) : 1, A = !x || S === "forward" ? Math.max(1, b) : 1;
10693
- return [Math.max(0, E - _), Math.max(0, Math.min(m - 1, C + A)), E, C];
10702
+ var E = o(this.props, v, this._instanceProps), _ = a(this.props, E, v, this._instanceProps), C = !x || S === "backward" ? Math.max(1, b) : 1, A = !x || S === "forward" ? Math.max(1, b) : 1;
10703
+ return [Math.max(0, E - C), Math.max(0, Math.min(m - 1, _ + A)), E, _];
10694
10704
  }, h;
10695
10705
  }(uu), t.defaultProps = {
10696
10706
  direction: "ltr",
@@ -10701,14 +10711,14 @@ function v3(e) {
10701
10711
  }, t;
10702
10712
  }
10703
10713
  var b3 = function(t, n) {
10704
- var r = t.children, i = t.direction, s = t.height, o = t.layout, a = t.innerTagName, l = t.outerTagName, c = t.width, u = n.instance;
10714
+ var r = t.children, i = t.direction, s = t.height, o = t.layout, a = t.innerTagName, l = t.outerTagName, c = t.width, d = n.instance;
10705
10715
  if (process.env.NODE_ENV !== "production") {
10706
- (a != null || l != null) && Kn && !Kn.has(u) && (Kn.add(u), console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));
10707
- var d = i === "horizontal" || o === "horizontal";
10716
+ (a != null || l != null) && Kn && !Kn.has(d) && (Kn.add(d), console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));
10717
+ var u = i === "horizontal" || o === "horizontal";
10708
10718
  switch (i) {
10709
10719
  case "horizontal":
10710
10720
  case "vertical":
10711
- qn && !qn.has(u) && (qn.add(u), console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));
10721
+ qn && !qn.has(d) && (qn.add(d), console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));
10712
10722
  break;
10713
10723
  case "ltr":
10714
10724
  case "rtl":
@@ -10725,9 +10735,9 @@ var b3 = function(t, n) {
10725
10735
  }
10726
10736
  if (r == null)
10727
10737
  throw Error('An invalid "children" prop has been specified. Value should be a React component. ' + ('"' + (r === null ? "null" : typeof r) + '" was specified.'));
10728
- if (d && typeof c != "number")
10738
+ if (u && typeof c != "number")
10729
10739
  throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. ' + ('"' + (c === null ? "null" : typeof c) + '" was specified.'));
10730
- if (!d && typeof s != "number")
10740
+ if (!u && typeof s != "number")
10731
10741
  throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. ' + ('"' + (s === null ? "null" : typeof s) + '" was specified.'));
10732
10742
  }
10733
10743
  }, x3 = 50, Rt = function(t, n, r) {
@@ -10738,12 +10748,12 @@ var b3 = function(t, n) {
10738
10748
  var c = o[a];
10739
10749
  l = c.offset + c.size;
10740
10750
  }
10741
- for (var u = a + 1; u <= n; u++) {
10742
- var d = s(u);
10743
- o[u] = {
10751
+ for (var d = a + 1; d <= n; d++) {
10752
+ var u = s(d);
10753
+ o[d] = {
10744
10754
  offset: l,
10745
- size: d
10746
- }, l += d;
10755
+ size: u
10756
+ }, l += u;
10747
10757
  }
10748
10758
  r.lastMeasuredIndex = n;
10749
10759
  }
@@ -10769,8 +10779,8 @@ var b3 = function(t, n) {
10769
10779
  var l = i[o];
10770
10780
  a = l.offset + l.size;
10771
10781
  }
10772
- var c = r - o - 1, u = c * s;
10773
- return a + u;
10782
+ var c = r - o - 1, d = c * s;
10783
+ return a + d;
10774
10784
  }, E3 = /* @__PURE__ */ v3({
10775
10785
  getItemOffset: function(t, n, r) {
10776
10786
  return Rt(t, n, r).offset;
@@ -10780,7 +10790,7 @@ var b3 = function(t, n) {
10780
10790
  },
10781
10791
  getEstimatedTotalSize: ha,
10782
10792
  getOffsetForIndexAndAlignment: function(t, n, r, i, s, o) {
10783
- var a = t.direction, l = t.height, c = t.layout, u = t.width, d = a === "horizontal" || c === "horizontal", h = d ? u : l, p = Rt(t, n, s), y = ha(t, s), f = Math.max(0, Math.min(y - h, p.offset)), m = Math.max(0, p.offset - h + p.size + o);
10793
+ var a = t.direction, l = t.height, c = t.layout, d = t.width, u = a === "horizontal" || c === "horizontal", h = u ? d : l, p = Rt(t, n, s), y = ha(t, s), f = Math.max(0, Math.min(y - h, p.offset)), m = Math.max(0, p.offset - h + p.size + o);
10784
10794
  switch (r === "smart" && (i >= m - h && i <= f + h ? r = "auto" : r = "center"), r) {
10785
10795
  case "start":
10786
10796
  return f;
@@ -10797,7 +10807,7 @@ var b3 = function(t, n) {
10797
10807
  return w3(t, r, n);
10798
10808
  },
10799
10809
  getStopIndexForStartIndex: function(t, n, r, i) {
10800
- for (var s = t.direction, o = t.height, a = t.itemCount, l = t.layout, c = t.width, u = s === "horizontal" || l === "horizontal", d = u ? c : o, h = Rt(t, n, i), p = r + d, y = h.offset + h.size, f = n; f < a - 1 && y < p; )
10810
+ for (var s = t.direction, o = t.height, a = t.itemCount, l = t.layout, c = t.width, d = s === "horizontal" || l === "horizontal", u = d ? c : o, h = Rt(t, n, i), p = r + u, y = h.offset + h.size, f = n; f < a - 1 && y < p; )
10801
10811
  f++, y += Rt(t, f, i).size;
10802
10812
  return f;
10803
10813
  },
@@ -10852,23 +10862,23 @@ function pa(e) {
10852
10862
  }
10853
10863
  );
10854
10864
  }
10855
- const fr = 37, C3 = (e, t) => {
10865
+ const fr = 37, _3 = (e, t) => {
10856
10866
  const o = document.createElement("p");
10857
10867
  o.innerText = t, o.style.width = `${e - 16 - 16 - 4}px`, document.body.appendChild(o);
10858
10868
  const a = o.offsetHeight;
10859
10869
  return document.body.removeChild(o), a > 21 ? fr + 21 : fr;
10860
10870
  };
10861
10871
  function X3(e) {
10862
- const [t, n] = Y(!1), [r, i] = Y(""), [s, o] = Y(""), [a, l] = Y(!1), { isRequired: c = !1 } = e, u = en(
10872
+ const [t, n] = U(!1), [r, i] = U(""), [s, o] = U(""), [a, l] = U(!1), { isRequired: c = !1 } = e, d = en(
10863
10873
  uo.debounce((S) => {
10864
10874
  var v;
10865
10875
  (v = e.handleChangeSearch) == null || v.call(e, S);
10866
10876
  }, 300),
10867
10877
  [e.handleChangeSearch]
10868
- ), d = () => {
10878
+ ), u = () => {
10869
10879
  n(!t);
10870
10880
  }, h = () => {
10871
- n(!1), o(""), u("");
10881
+ n(!1), o(""), d("");
10872
10882
  };
10873
10883
  be(() => {
10874
10884
  i(e.value ? e.getOptionLabel(e.value) : "");
@@ -10878,7 +10888,7 @@ function X3(e) {
10878
10888
  l(e.searchLoading);
10879
10889
  }, [e.paging.rows, e.searchLoading]);
10880
10890
  const p = e.paging.rows, { hasNextPage: y } = e, f = y ? p.length + 1 : p.length, m = () => e.isNextPageLoading ? void 0 : e.loadNextPage(s), b = (S) => !y || S < p.length, w = (S) => {
10881
- i(S.target.value), t && (o(S.target.value), u(S.target.value), l(!0));
10891
+ i(S.target.value), t && (o(S.target.value), d(S.target.value), l(!0));
10882
10892
  }, x = ze(null);
10883
10893
  return /* @__PURE__ */ g(
10884
10894
  vu,
@@ -10928,7 +10938,7 @@ function X3(e) {
10928
10938
  padding: "1px"
10929
10939
  },
10930
10940
  onClick: (S) => {
10931
- S.preventDefault(), S.stopPropagation(), d();
10941
+ S.preventDefault(), S.stopPropagation(), u();
10932
10942
  },
10933
10943
  disabled: e.loading || e.disabled || e.readOnly,
10934
10944
  children: e.loading ? /* @__PURE__ */ g(xu, { size: "16px" }) : /* @__PURE__ */ g(
@@ -10994,22 +11004,22 @@ function X3(e) {
10994
11004
  height: fr * Math.min(e.itemsNumber || 6, f),
10995
11005
  itemCount: f,
10996
11006
  itemSize: (E) => {
10997
- var C;
10998
- return C3(
10999
- (C = x.current) == null ? void 0 : C.offsetWidth,
11007
+ var _;
11008
+ return _3(
11009
+ (_ = x.current) == null ? void 0 : _.offsetWidth,
11000
11010
  p[E] ? e.getOptionLabel(p[E]) : ""
11001
11011
  );
11002
11012
  },
11003
11013
  width: "100%",
11004
11014
  className: "styled-scroll",
11005
- children: ({ index: E, style: C }) => {
11015
+ children: ({ index: E, style: _ }) => {
11006
11016
  var A;
11007
- const _ = p[E];
11017
+ const C = p[E];
11008
11018
  return b(E) ? /* @__PURE__ */ g(
11009
11019
  pa,
11010
11020
  {
11011
- stackProps: { style: C },
11012
- option: _,
11021
+ stackProps: { style: _ },
11022
+ option: C,
11013
11023
  renderOption: (D) => {
11014
11024
  var O;
11015
11025
  return /* @__PURE__ */ P(
@@ -11029,12 +11039,12 @@ function X3(e) {
11029
11039
  var O;
11030
11040
  h(), (O = e.onChange) == null || O.call(e, D);
11031
11041
  },
11032
- select: ((A = e.isEqual) == null ? void 0 : A.call(e, _, e.value)) ?? uo.isEqual(_, e.value)
11042
+ select: ((A = e.isEqual) == null ? void 0 : A.call(e, C, e.value)) ?? uo.isEqual(C, e.value)
11033
11043
  }
11034
11044
  ) : /* @__PURE__ */ g(
11035
11045
  Me,
11036
11046
  {
11037
- style: C,
11047
+ style: _,
11038
11048
  sx: { height: fr, pl: 1 },
11039
11049
  justifyContent: "center",
11040
11050
  children: /* @__PURE__ */ g(pt, { children: "Loading..." })
@@ -11084,25 +11094,25 @@ function X3(e) {
11084
11094
  );
11085
11095
  }
11086
11096
  function Z3(e) {
11087
- var u;
11088
- const { listProps: t } = e, [n, r] = Y({
11097
+ var d;
11098
+ const { listProps: t } = e, [n, r] = U({
11089
11099
  initLoading: !e.disabled,
11090
11100
  searchLoading: !1,
11091
11101
  hasNextPage: !1,
11092
11102
  isNextPageLoading: !1,
11093
11103
  paging: {
11094
11104
  page: 1,
11095
- pageSize: ((u = e.listProps) == null ? void 0 : u.pageSize) || 20,
11105
+ pageSize: ((d = e.listProps) == null ? void 0 : d.pageSize) || 20,
11096
11106
  rows: [],
11097
11107
  total: 0,
11098
11108
  totalPages: 1
11099
11109
  }
11100
- }), i = async (d, h) => {
11110
+ }), i = async (u, h) => {
11101
11111
  var p, y;
11102
11112
  if (e.list)
11103
11113
  r(() => {
11104
11114
  var b;
11105
- const f = ((b = d == null ? void 0 : d.search) == null ? void 0 : b.content) || "";
11115
+ const f = ((b = u == null ? void 0 : u.search) == null ? void 0 : b.content) || "";
11106
11116
  return {
11107
11117
  hasNextPage: !1,
11108
11118
  isNextPageLoading: !1,
@@ -11127,13 +11137,13 @@ function Z3(e) {
11127
11137
  pageSize: 20,
11128
11138
  filter: {
11129
11139
  ...t == null ? void 0 : t.filter,
11130
- ...d == null ? void 0 : d.filter
11140
+ ...u == null ? void 0 : u.filter
11131
11141
  },
11132
11142
  ...fo.omit(t, "filter"),
11133
- ...fo.omit(d, "filter"),
11143
+ ...fo.omit(u, "filter"),
11134
11144
  search: {
11135
11145
  fields: ((p = t == null ? void 0 : t.search) == null ? void 0 : p.fields) ?? [],
11136
- content: ((y = d == null ? void 0 : d.search) == null ? void 0 : y.content) ?? ""
11146
+ content: ((y = u == null ? void 0 : u.search) == null ? void 0 : y.content) ?? ""
11137
11147
  }
11138
11148
  };
11139
11149
  h && (f.filter = {}, f.search && (f.search.content = ""), f.page = 1);
@@ -11144,26 +11154,26 @@ function Z3(e) {
11144
11154
  isNextPageLoading: !1,
11145
11155
  paging: {
11146
11156
  ...m,
11147
- rows: (d == null ? void 0 : d.page) === 1 ? m.rows : b.paging.rows.concat(m.rows)
11157
+ rows: (u == null ? void 0 : u.page) === 1 ? m.rows : b.paging.rows.concat(m.rows)
11148
11158
  },
11149
11159
  hasNextPage: m.page < m.totalPages
11150
11160
  }));
11151
11161
  } catch {
11152
11162
  }
11153
11163
  }
11154
- }, s = () => (r((d) => ({ ...d, initLoading: !0 })), i(void 0, !0)), o = (d) => (r((h) => ({ ...h, initLoading: !0 })), i(d)), a = (d) => {
11164
+ }, s = () => (r((u) => ({ ...u, initLoading: !0 })), i(void 0, !0)), o = (u) => (r((h) => ({ ...h, initLoading: !0 })), i(u)), a = (u) => {
11155
11165
  i({
11156
11166
  page: n.paging.page + 1,
11157
- search: { content: d }
11167
+ search: { content: u }
11158
11168
  });
11159
- }, l = (d) => {
11160
- r((h) => ({ ...h, searchLoading: !0 })), i({ page: 1, search: { content: d } });
11169
+ }, l = (u) => {
11170
+ r((h) => ({ ...h, searchLoading: !0 })), i({ page: 1, search: { content: u } });
11161
11171
  };
11162
11172
  be(() => {
11163
- e.disabled || (r((d) => ({ ...d, initLoading: !0 })), i({ page: 1 }));
11173
+ e.disabled || (r((u) => ({ ...u, initLoading: !0 })), i({ page: 1 }));
11164
11174
  }, [...e.dependencyList || []]);
11165
11175
  const c = () => {
11166
- r((d) => ({ ...d, initLoading: !d.initLoading }));
11176
+ r((u) => ({ ...u, initLoading: !u.initLoading }));
11167
11177
  };
11168
11178
  return {
11169
11179
  ...e,
@@ -11179,7 +11189,7 @@ function Z3(e) {
11179
11189
  toggleLoading: c
11180
11190
  };
11181
11191
  }
11182
- function _3(e) {
11192
+ function C3(e) {
11183
11193
  return /* @__PURE__ */ P(
11184
11194
  "svg",
11185
11195
  {
@@ -11256,7 +11266,7 @@ function _3(e) {
11256
11266
  const T3 = "Reset date";
11257
11267
  function J3(e) {
11258
11268
  var i, s;
11259
- const [t, n] = Y(e.value), r = !(t != null && t.startDate) || !(t != null && t.endDate) ? "" : oe(t == null ? void 0 : t.startDate).format("DD/MM/YYYY") + " ~ " + oe(t == null ? void 0 : t.endDate).format("DD/MM/YYYY");
11269
+ const [t, n] = U(e.value), r = !(t != null && t.startDate) || !(t != null && t.endDate) ? "" : oe(t == null ? void 0 : t.startDate).format("DD/MM/YYYY") + " ~ " + oe(t == null ? void 0 : t.endDate).format("DD/MM/YYYY");
11260
11270
  return be(() => {
11261
11271
  n(e.value);
11262
11272
  }, [e.value]), /* @__PURE__ */ g(
@@ -11291,8 +11301,8 @@ function J3(e) {
11291
11301
  },
11292
11302
  onApply: (o, a) => {
11293
11303
  var p, y, f;
11294
- const l = a.chosenLabel === T3, { startDate: c, endDate: u } = a, d = l ? ((p = e.dateReset) == null ? void 0 : p.startDate) ?? void 0 : c.toDate(), h = l ? ((y = e.dateReset) == null ? void 0 : y.endDate) ?? void 0 : u.toDate();
11295
- n({ startDate: d, endDate: h }), (f = e.onChange) == null || f.call(e, { startDate: d, endDate: h });
11304
+ const l = a.chosenLabel === T3, { startDate: c, endDate: d } = a, u = l ? ((p = e.dateReset) == null ? void 0 : p.startDate) ?? void 0 : c.toDate(), h = l ? ((y = e.dateReset) == null ? void 0 : y.endDate) ?? void 0 : d.toDate();
11305
+ n({ startDate: u, endDate: h }), (f = e.onChange) == null || f.call(e, { startDate: u, endDate: h });
11296
11306
  },
11297
11307
  children: /* @__PURE__ */ g(
11298
11308
  va,
@@ -11302,7 +11312,7 @@ function J3(e) {
11302
11312
  value: r,
11303
11313
  InputProps: {
11304
11314
  readOnly: !0,
11305
- endAdornment: /* @__PURE__ */ g(_3, { width: 24, height: 24, color: "gray" })
11315
+ endAdornment: /* @__PURE__ */ g(C3, { width: 24, height: 24, color: "gray" })
11306
11316
  },
11307
11317
  fullWidth: !0,
11308
11318
  sx: {
@@ -11373,7 +11383,7 @@ function e5(e) {
11373
11383
  );
11374
11384
  }
11375
11385
  const P3 = ["granted", "denied"], A3 = (e) => {
11376
- const [t, n] = Y(!1), r = () => {
11386
+ const [t, n] = U(!1), r = () => {
11377
11387
  Notification.requestPermission(function(s) {
11378
11388
  s === "granted" && ou(e), P3.includes(s) && n(!0);
11379
11389
  });
@@ -11396,7 +11406,7 @@ const P3 = ["granted", "denied"], A3 = (e) => {
11396
11406
  ] })
11397
11407
  ] }) }) });
11398
11408
  }, k3 = (e) => {
11399
- const [t, n] = Y({
11409
+ const [t, n] = U({
11400
11410
  userName: "",
11401
11411
  message: "",
11402
11412
  context: ""
@@ -11422,12 +11432,12 @@ const P3 = ["granted", "denied"], A3 = (e) => {
11422
11432
  message: (a = s == null ? void 0 : s.data) == null ? void 0 : a.message,
11423
11433
  context: (l = s == null ? void 0 : s.data) == null ? void 0 : l.context
11424
11434
  }), r((c) => {
11425
- var u;
11435
+ var d;
11426
11436
  return {
11427
11437
  ...c,
11428
11438
  unread: {
11429
11439
  ...c.unread,
11430
- total: ((u = c.unread) == null ? void 0 : u.total) + 1
11440
+ total: ((d = c.unread) == null ? void 0 : d.total) + 1
11431
11441
  }
11432
11442
  };
11433
11443
  });