bonuspluscomponents 0.0.318 → 0.0.320

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.
@@ -216,18 +216,18 @@ function Kp() {
216
216
  }
217
217
  return null;
218
218
  }
219
- var S = 0, j, H, Z, Q, _, A, F;
220
- function I() {
219
+ var S = 0, j, H, Z, Q, _, I, F;
220
+ function A() {
221
221
  }
222
- I.__reactDisabledLog = !0;
222
+ A.__reactDisabledLog = !0;
223
223
  function L() {
224
224
  {
225
225
  if (S === 0) {
226
- j = console.log, H = console.info, Z = console.warn, Q = console.error, _ = console.group, A = console.groupCollapsed, F = console.groupEnd;
226
+ j = console.log, H = console.info, Z = console.warn, Q = console.error, _ = console.group, I = console.groupCollapsed, F = console.groupEnd;
227
227
  var P = {
228
228
  configurable: !0,
229
229
  enumerable: !0,
230
- value: I,
230
+ value: A,
231
231
  writable: !0
232
232
  };
233
233
  Object.defineProperties(console, {
@@ -268,7 +268,7 @@ function Kp() {
268
268
  value: _
269
269
  }),
270
270
  groupCollapsed: n({}, P, {
271
- value: A
271
+ value: I
272
272
  }),
273
273
  groupEnd: n({}, P, {
274
274
  value: F
@@ -815,10 +815,10 @@ const di = ui, Xp = {
815
815
  if (!p || !a || e === null || e === 3)
816
816
  return;
817
817
  t("GetCabinetSettings", !0);
818
- const A = await W().post("/externalCustomerCabinet/cabinetInfo", {
818
+ const I = await W().post("/externalCustomerCabinet/cabinetInfo", {
819
819
  linkId: x
820
820
  });
821
- N(A.data), (A.data.isReg || !A.data.formFilled) && n("registration"), t("GetCabinetSettings", !1);
821
+ N(I.data), (I.data.isReg || !I.data.formFilled) && n("registration"), t("GetCabinetSettings", !1);
822
822
  })();
823
823
  }, [a, p, x]), Oe(() => {
824
824
  (async () => {
@@ -849,7 +849,7 @@ const di = ui, Xp = {
849
849
  })();
850
850
  }, [a, z]);
851
851
  const H = async () => {
852
- var A, F;
852
+ var I, F;
853
853
  if (!p || e === 3)
854
854
  return;
855
855
  t("GetCabinetUISettings", !0);
@@ -858,13 +858,18 @@ const di = ui, Xp = {
858
858
  reviewId: b,
859
859
  recommend: D
860
860
  });
861
- if (j(_.data.settings), (F = (A = _.data) == null ? void 0 : A.settings) != null && F.ymIdentifier && ym(_.data.settings.ymIdentifier, "init", {
861
+ if (j(_.data.settings), (F = (I = _.data) == null ? void 0 : I.settings) != null && F.ymIdentifier && ym(_.data.settings.ymIdentifier, "init", {
862
862
  clickmap: !0,
863
863
  trackLinks: !0,
864
864
  accurateTrackBounce: !0
865
865
  }), _.data.settings.externalCss) {
866
- const I = document.head || document.getElementsByTagName("head")[0], L = document.createElement("style");
867
- I.appendChild(L), L.type = "text/css", L.appendChild(document.createTextNode(_.data.settings.externalCss));
866
+ const A = document.head || document.getElementsByTagName("head")[0], L = document.createElement("style");
867
+ A.appendChild(L), L.type = "text/css", L.appendChild(document.createTextNode(_.data.settings.externalCss));
868
+ }
869
+ try {
870
+ const A = _.data.settings.title;
871
+ console.log(A), A && (document.title = A);
872
+ } catch {
868
873
  }
869
874
  t("GetCabinetUISettings", !1);
870
875
  };
@@ -929,7 +934,7 @@ const di = ui, Xp = {
929
934
  const { cabinetUISettings: e } = ve(ot), [t, n] = me(di), [r, o] = me("light"), a = (s) => {
930
935
  o(s);
931
936
  }, i = () => {
932
- var s, c, u, d, p, h, m, g, v, y, E, M, x, C, b, T, D, $, V, R, W, X, z, N, S, j, H, Z, Q, _, A, F, I, L;
937
+ var s, c, u, d, p, h, m, g, v, y, E, M, x, C, b, T, D, $, V, R, W, X, z, N, S, j, H, Z, Q, _, I, F, A, L;
933
938
  return {
934
939
  mode: "light",
935
940
  primary: {
@@ -995,7 +1000,7 @@ const di = ui, Xp = {
995
1000
  borderBottom: `solid 1px ${((_ = (Q = e == null ? void 0 : e.theme) == null ? void 0 : Q[r]) == null ? void 0 : _.input) ?? "#ffffff"}`
996
1001
  },
997
1002
  "&::after": {
998
- borderBottomColor: `${(F = (A = e == null ? void 0 : e.theme) == null ? void 0 : A[r]) == null ? void 0 : F.input}!important`
1003
+ borderBottomColor: `${(F = (I = e == null ? void 0 : e.theme) == null ? void 0 : I[r]) == null ? void 0 : F.input}!important`
999
1004
  }
1000
1005
  }
1001
1006
  }
@@ -1003,7 +1008,7 @@ const di = ui, Xp = {
1003
1008
  MuiFormLabel: {
1004
1009
  styleOverrides: {
1005
1010
  root: {
1006
- color: ((L = (I = e == null ? void 0 : e.theme) == null ? void 0 : I[r]) == null ? void 0 : L.input) ?? "#ffffff"
1011
+ color: ((L = (A = e == null ? void 0 : e.theme) == null ? void 0 : A[r]) == null ? void 0 : L.input) ?? "#ffffff"
1007
1012
  }
1008
1013
  }
1009
1014
  }
@@ -1383,13 +1388,13 @@ function yh() {
1383
1388
  function _(k) {
1384
1389
  return C(k) === u;
1385
1390
  }
1386
- function A(k) {
1391
+ function I(k) {
1387
1392
  return C(k) === s;
1388
1393
  }
1389
1394
  function F(k) {
1390
1395
  return C(k) === i;
1391
1396
  }
1392
- function I(k) {
1397
+ function A(k) {
1393
1398
  return typeof k == "object" && k !== null && k.$$typeof === t;
1394
1399
  }
1395
1400
  function L(k) {
@@ -1416,7 +1421,7 @@ function yh() {
1416
1421
  function fe(k) {
1417
1422
  return C(k) === p;
1418
1423
  }
1419
- Ie.AsyncMode = b, Ie.ConcurrentMode = T, Ie.ContextConsumer = D, Ie.ContextProvider = $, Ie.Element = V, Ie.ForwardRef = R, Ie.Fragment = W, Ie.Lazy = X, Ie.Memo = z, Ie.Portal = N, Ie.Profiler = S, Ie.StrictMode = j, Ie.Suspense = H, Ie.isAsyncMode = Q, Ie.isConcurrentMode = _, Ie.isContextConsumer = A, Ie.isContextProvider = F, Ie.isElement = I, Ie.isForwardRef = L, Ie.isFragment = G, Ie.isLazy = J, Ie.isMemo = B, Ie.isPortal = Y, Ie.isProfiler = U, Ie.isStrictMode = re, Ie.isSuspense = fe, Ie.isValidElementType = x, Ie.typeOf = C;
1424
+ Ie.AsyncMode = b, Ie.ConcurrentMode = T, Ie.ContextConsumer = D, Ie.ContextProvider = $, Ie.Element = V, Ie.ForwardRef = R, Ie.Fragment = W, Ie.Lazy = X, Ie.Memo = z, Ie.Portal = N, Ie.Profiler = S, Ie.StrictMode = j, Ie.Suspense = H, Ie.isAsyncMode = Q, Ie.isConcurrentMode = _, Ie.isContextConsumer = I, Ie.isContextProvider = F, Ie.isElement = A, Ie.isForwardRef = L, Ie.isFragment = G, Ie.isLazy = J, Ie.isMemo = B, Ie.isPortal = Y, Ie.isProfiler = U, Ie.isStrictMode = re, Ie.isSuspense = fe, Ie.isValidElementType = x, Ie.typeOf = C;
1420
1425
  }()), Ie;
1421
1426
  }
1422
1427
  var wl;
@@ -1506,9 +1511,9 @@ function xh() {
1506
1511
  return Ha = function(s, c) {
1507
1512
  var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
1508
1513
  function p(_) {
1509
- var A = _ && (u && _[u] || _[d]);
1510
- if (typeof A == "function")
1511
- return A;
1514
+ var I = _ && (u && _[u] || _[d]);
1515
+ if (typeof I == "function")
1516
+ return I;
1512
1517
  }
1513
1518
  var h = "<<anonymous>>", m = {
1514
1519
  array: E("array"),
@@ -1531,17 +1536,17 @@ function xh() {
1531
1536
  shape: X,
1532
1537
  exact: z
1533
1538
  };
1534
- function g(_, A) {
1535
- return _ === A ? _ !== 0 || 1 / _ === 1 / A : _ !== _ && A !== A;
1539
+ function g(_, I) {
1540
+ return _ === I ? _ !== 0 || 1 / _ === 1 / I : _ !== _ && I !== I;
1536
1541
  }
1537
- function v(_, A) {
1538
- this.message = _, this.data = A && typeof A == "object" ? A : {}, this.stack = "";
1542
+ function v(_, I) {
1543
+ this.message = _, this.data = I && typeof I == "object" ? I : {}, this.stack = "";
1539
1544
  }
1540
1545
  v.prototype = Error.prototype;
1541
1546
  function y(_) {
1542
1547
  if (process.env.NODE_ENV !== "production")
1543
- var A = {}, F = 0;
1544
- function I(G, J, B, Y, U, re, fe) {
1548
+ var I = {}, F = 0;
1549
+ function A(G, J, B, Y, U, re, fe) {
1545
1550
  if (Y = Y || h, re = re || B, fe !== n) {
1546
1551
  if (c) {
1547
1552
  var k = new Error(
@@ -1550,20 +1555,20 @@ function xh() {
1550
1555
  throw k.name = "Invariant Violation", k;
1551
1556
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1552
1557
  var ne = Y + ":" + B;
1553
- !A[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
1558
+ !I[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
1554
1559
  F < 3 && (a(
1555
1560
  "You are manually calling a React.PropTypes validation function for the `" + re + "` prop on `" + Y + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1556
- ), A[ne] = !0, F++);
1561
+ ), I[ne] = !0, F++);
1557
1562
  }
1558
1563
  }
1559
1564
  return J[B] == null ? G ? J[B] === null ? new v("The " + U + " `" + re + "` is marked as required " + ("in `" + Y + "`, but its value is `null`.")) : new v("The " + U + " `" + re + "` is marked as required in " + ("`" + Y + "`, but its value is `undefined`.")) : null : _(J, B, Y, U, re);
1560
1565
  }
1561
- var L = I.bind(null, !1);
1562
- return L.isRequired = I.bind(null, !0), L;
1566
+ var L = A.bind(null, !1);
1567
+ return L.isRequired = A.bind(null, !0), L;
1563
1568
  }
1564
1569
  function E(_) {
1565
- function A(F, I, L, G, J, B) {
1566
- var Y = F[I], U = j(Y);
1570
+ function I(F, A, L, G, J, B) {
1571
+ var Y = F[A], U = j(Y);
1567
1572
  if (U !== _) {
1568
1573
  var re = H(Y);
1569
1574
  return new v(
@@ -1573,16 +1578,16 @@ function xh() {
1573
1578
  }
1574
1579
  return null;
1575
1580
  }
1576
- return y(A);
1581
+ return y(I);
1577
1582
  }
1578
1583
  function M() {
1579
1584
  return y(i);
1580
1585
  }
1581
1586
  function x(_) {
1582
- function A(F, I, L, G, J) {
1587
+ function I(F, A, L, G, J) {
1583
1588
  if (typeof _ != "function")
1584
1589
  return new v("Property `" + J + "` of component `" + L + "` has invalid PropType notation inside arrayOf.");
1585
- var B = F[I];
1590
+ var B = F[A];
1586
1591
  if (!Array.isArray(B)) {
1587
1592
  var Y = j(B);
1588
1593
  return new v("Invalid " + G + " `" + J + "` of type " + ("`" + Y + "` supplied to `" + L + "`, expected an array."));
@@ -1594,47 +1599,47 @@ function xh() {
1594
1599
  }
1595
1600
  return null;
1596
1601
  }
1597
- return y(A);
1602
+ return y(I);
1598
1603
  }
1599
1604
  function C() {
1600
- function _(A, F, I, L, G) {
1601
- var J = A[F];
1605
+ function _(I, F, A, L, G) {
1606
+ var J = I[F];
1602
1607
  if (!s(J)) {
1603
1608
  var B = j(J);
1604
- return new v("Invalid " + L + " `" + G + "` of type " + ("`" + B + "` supplied to `" + I + "`, expected a single ReactElement."));
1609
+ return new v("Invalid " + L + " `" + G + "` of type " + ("`" + B + "` supplied to `" + A + "`, expected a single ReactElement."));
1605
1610
  }
1606
1611
  return null;
1607
1612
  }
1608
1613
  return y(_);
1609
1614
  }
1610
1615
  function b() {
1611
- function _(A, F, I, L, G) {
1612
- var J = A[F];
1616
+ function _(I, F, A, L, G) {
1617
+ var J = I[F];
1613
1618
  if (!e.isValidElementType(J)) {
1614
1619
  var B = j(J);
1615
- return new v("Invalid " + L + " `" + G + "` of type " + ("`" + B + "` supplied to `" + I + "`, expected a single ReactElement type."));
1620
+ return new v("Invalid " + L + " `" + G + "` of type " + ("`" + B + "` supplied to `" + A + "`, expected a single ReactElement type."));
1616
1621
  }
1617
1622
  return null;
1618
1623
  }
1619
1624
  return y(_);
1620
1625
  }
1621
1626
  function T(_) {
1622
- function A(F, I, L, G, J) {
1623
- if (!(F[I] instanceof _)) {
1624
- var B = _.name || h, Y = Q(F[I]);
1627
+ function I(F, A, L, G, J) {
1628
+ if (!(F[A] instanceof _)) {
1629
+ var B = _.name || h, Y = Q(F[A]);
1625
1630
  return new v("Invalid " + G + " `" + J + "` of type " + ("`" + Y + "` supplied to `" + L + "`, expected ") + ("instance of `" + B + "`."));
1626
1631
  }
1627
1632
  return null;
1628
1633
  }
1629
- return y(A);
1634
+ return y(I);
1630
1635
  }
1631
1636
  function D(_) {
1632
1637
  if (!Array.isArray(_))
1633
1638
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1634
1639
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1635
1640
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
1636
- function A(F, I, L, G, J) {
1637
- for (var B = F[I], Y = 0; Y < _.length; Y++)
1641
+ function I(F, A, L, G, J) {
1642
+ for (var B = F[A], Y = 0; Y < _.length; Y++)
1638
1643
  if (g(B, _[Y]))
1639
1644
  return null;
1640
1645
  var U = JSON.stringify(_, function(fe, k) {
@@ -1643,13 +1648,13 @@ function xh() {
1643
1648
  });
1644
1649
  return new v("Invalid " + G + " `" + J + "` of value `" + String(B) + "` " + ("supplied to `" + L + "`, expected one of " + U + "."));
1645
1650
  }
1646
- return y(A);
1651
+ return y(I);
1647
1652
  }
1648
1653
  function $(_) {
1649
- function A(F, I, L, G, J) {
1654
+ function I(F, A, L, G, J) {
1650
1655
  if (typeof _ != "function")
1651
1656
  return new v("Property `" + J + "` of component `" + L + "` has invalid PropType notation inside objectOf.");
1652
- var B = F[I], Y = j(B);
1657
+ var B = F[A], Y = j(B);
1653
1658
  if (Y !== "object")
1654
1659
  return new v("Invalid " + G + " `" + J + "` of type " + ("`" + Y + "` supplied to `" + L + "`, expected an object."));
1655
1660
  for (var U in B)
@@ -1660,19 +1665,19 @@ function xh() {
1660
1665
  }
1661
1666
  return null;
1662
1667
  }
1663
- return y(A);
1668
+ return y(I);
1664
1669
  }
1665
1670
  function V(_) {
1666
1671
  if (!Array.isArray(_))
1667
1672
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i;
1668
- for (var A = 0; A < _.length; A++) {
1669
- var F = _[A];
1673
+ for (var I = 0; I < _.length; I++) {
1674
+ var F = _[I];
1670
1675
  if (typeof F != "function")
1671
1676
  return a(
1672
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Z(F) + " at index " + A + "."
1677
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Z(F) + " at index " + I + "."
1673
1678
  ), i;
1674
1679
  }
1675
- function I(L, G, J, B, Y) {
1680
+ function A(L, G, J, B, Y) {
1676
1681
  for (var U = [], re = 0; re < _.length; re++) {
1677
1682
  var fe = _[re], k = fe(L, G, J, B, Y, n);
1678
1683
  if (k == null)
@@ -1682,22 +1687,22 @@ function xh() {
1682
1687
  var ne = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
1683
1688
  return new v("Invalid " + B + " `" + Y + "` supplied to " + ("`" + J + "`" + ne + "."));
1684
1689
  }
1685
- return y(I);
1690
+ return y(A);
1686
1691
  }
1687
1692
  function R() {
1688
- function _(A, F, I, L, G) {
1689
- return N(A[F]) ? null : new v("Invalid " + L + " `" + G + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
1693
+ function _(I, F, A, L, G) {
1694
+ return N(I[F]) ? null : new v("Invalid " + L + " `" + G + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
1690
1695
  }
1691
1696
  return y(_);
1692
1697
  }
1693
- function W(_, A, F, I, L) {
1698
+ function W(_, I, F, A, L) {
1694
1699
  return new v(
1695
- (_ || "React class") + ": " + A + " type `" + F + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
1700
+ (_ || "React class") + ": " + I + " type `" + F + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
1696
1701
  );
1697
1702
  }
1698
1703
  function X(_) {
1699
- function A(F, I, L, G, J) {
1700
- var B = F[I], Y = j(B);
1704
+ function I(F, A, L, G, J) {
1705
+ var B = F[A], Y = j(B);
1701
1706
  if (Y !== "object")
1702
1707
  return new v("Invalid " + G + " `" + J + "` of type `" + Y + "` " + ("supplied to `" + L + "`, expected `object`."));
1703
1708
  for (var U in _) {
@@ -1710,21 +1715,21 @@ function xh() {
1710
1715
  }
1711
1716
  return null;
1712
1717
  }
1713
- return y(A);
1718
+ return y(I);
1714
1719
  }
1715
1720
  function z(_) {
1716
- function A(F, I, L, G, J) {
1717
- var B = F[I], Y = j(B);
1721
+ function I(F, A, L, G, J) {
1722
+ var B = F[A], Y = j(B);
1718
1723
  if (Y !== "object")
1719
1724
  return new v("Invalid " + G + " `" + J + "` of type `" + Y + "` " + ("supplied to `" + L + "`, expected `object`."));
1720
- var U = t({}, F[I], _);
1725
+ var U = t({}, F[A], _);
1721
1726
  for (var re in U) {
1722
1727
  var fe = _[re];
1723
1728
  if (r(_, re) && typeof fe != "function")
1724
1729
  return W(L, G, J, re, H(fe));
1725
1730
  if (!fe)
1726
1731
  return new v(
1727
- "Invalid " + G + " `" + J + "` key `" + re + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(F[I], null, " ") + `
1732
+ "Invalid " + G + " `" + J + "` key `" + re + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(F[A], null, " ") + `
1728
1733
  Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1729
1734
  );
1730
1735
  var k = fe(B, re, L, G, J + "." + re, n);
@@ -1733,7 +1738,7 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1733
1738
  }
1734
1739
  return null;
1735
1740
  }
1736
- return y(A);
1741
+ return y(I);
1737
1742
  }
1738
1743
  function N(_) {
1739
1744
  switch (typeof _) {
@@ -1748,16 +1753,16 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1748
1753
  return _.every(N);
1749
1754
  if (_ === null || s(_))
1750
1755
  return !0;
1751
- var A = p(_);
1752
- if (A) {
1753
- var F = A.call(_), I;
1754
- if (A !== _.entries) {
1755
- for (; !(I = F.next()).done; )
1756
- if (!N(I.value))
1756
+ var I = p(_);
1757
+ if (I) {
1758
+ var F = I.call(_), A;
1759
+ if (I !== _.entries) {
1760
+ for (; !(A = F.next()).done; )
1761
+ if (!N(A.value))
1757
1762
  return !1;
1758
1763
  } else
1759
- for (; !(I = F.next()).done; ) {
1760
- var L = I.value;
1764
+ for (; !(A = F.next()).done; ) {
1765
+ var L = A.value;
1761
1766
  if (L && !N(L[1]))
1762
1767
  return !1;
1763
1768
  }
@@ -1768,37 +1773,37 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1768
1773
  return !1;
1769
1774
  }
1770
1775
  }
1771
- function S(_, A) {
1772
- return _ === "symbol" ? !0 : A ? A["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && A instanceof Symbol : !1;
1776
+ function S(_, I) {
1777
+ return _ === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
1773
1778
  }
1774
1779
  function j(_) {
1775
- var A = typeof _;
1776
- return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : S(A, _) ? "symbol" : A;
1780
+ var I = typeof _;
1781
+ return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : S(I, _) ? "symbol" : I;
1777
1782
  }
1778
1783
  function H(_) {
1779
1784
  if (typeof _ > "u" || _ === null)
1780
1785
  return "" + _;
1781
- var A = j(_);
1782
- if (A === "object") {
1786
+ var I = j(_);
1787
+ if (I === "object") {
1783
1788
  if (_ instanceof Date)
1784
1789
  return "date";
1785
1790
  if (_ instanceof RegExp)
1786
1791
  return "regexp";
1787
1792
  }
1788
- return A;
1793
+ return I;
1789
1794
  }
1790
1795
  function Z(_) {
1791
- var A = H(_);
1792
- switch (A) {
1796
+ var I = H(_);
1797
+ switch (I) {
1793
1798
  case "array":
1794
1799
  case "object":
1795
- return "an " + A;
1800
+ return "an " + I;
1796
1801
  case "boolean":
1797
1802
  case "date":
1798
1803
  case "regexp":
1799
- return "a " + A;
1804
+ return "a " + I;
1800
1805
  default:
1801
- return A;
1806
+ return I;
1802
1807
  }
1803
1808
  }
1804
1809
  function Q(_) {
@@ -2053,13 +2058,13 @@ function _h() {
2053
2058
  function _(q) {
2054
2059
  return Z || (Z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2055
2060
  }
2056
- function A(q) {
2061
+ function I(q) {
2057
2062
  return Q || (Q = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2058
2063
  }
2059
2064
  function F(q) {
2060
2065
  return b(q) === i;
2061
2066
  }
2062
- function I(q) {
2067
+ function A(q) {
2063
2068
  return b(q) === a;
2064
2069
  }
2065
2070
  function L(q) {
@@ -2092,7 +2097,7 @@ function _h() {
2092
2097
  function ne(q) {
2093
2098
  return b(q) === d;
2094
2099
  }
2095
- Be.ContextConsumer = T, Be.ContextProvider = D, Be.Element = $, Be.ForwardRef = V, Be.Fragment = R, Be.Lazy = W, Be.Memo = X, Be.Portal = z, Be.Profiler = N, Be.StrictMode = S, Be.Suspense = j, Be.SuspenseList = H, Be.isAsyncMode = _, Be.isConcurrentMode = A, Be.isContextConsumer = F, Be.isContextProvider = I, Be.isElement = L, Be.isForwardRef = G, Be.isFragment = J, Be.isLazy = B, Be.isMemo = Y, Be.isPortal = U, Be.isProfiler = re, Be.isStrictMode = fe, Be.isSuspense = k, Be.isSuspenseList = ne, Be.isValidElementType = C, Be.typeOf = b;
2100
+ Be.ContextConsumer = T, Be.ContextProvider = D, Be.Element = $, Be.ForwardRef = V, Be.Fragment = R, Be.Lazy = W, Be.Memo = X, Be.Portal = z, Be.Profiler = N, Be.StrictMode = S, Be.Suspense = j, Be.SuspenseList = H, Be.isAsyncMode = _, Be.isConcurrentMode = I, Be.isContextConsumer = F, Be.isContextProvider = A, Be.isElement = L, Be.isForwardRef = G, Be.isFragment = J, Be.isLazy = B, Be.isMemo = Y, Be.isPortal = U, Be.isProfiler = re, Be.isStrictMode = fe, Be.isSuspense = k, Be.isSuspenseList = ne, Be.isValidElementType = C, Be.typeOf = b;
2096
2101
  }()), Be;
2097
2102
  }
2098
2103
  process.env.NODE_ENV === "production" ? pi.exports = kh() : pi.exports = _h();
@@ -3255,7 +3260,7 @@ function ov(e) {
3255
3260
  D.set(W, Q);
3256
3261
  }
3257
3262
  if ($)
3258
- for (var _ = g ? 3 : 1, A = function(G) {
3263
+ for (var _ = g ? 3 : 1, I = function(G) {
3259
3264
  var J = C.find(function(B) {
3260
3265
  var Y = D.get(B);
3261
3266
  if (Y)
@@ -3266,8 +3271,8 @@ function ov(e) {
3266
3271
  if (J)
3267
3272
  return V = J, "break";
3268
3273
  }, F = _; F > 0; F--) {
3269
- var I = A(F);
3270
- if (I === "break")
3274
+ var A = I(F);
3275
+ if (A === "break")
3271
3276
  break;
3272
3277
  }
3273
3278
  t.placement !== V && (t.modifiersData[r]._skip = !0, t.placement = V, t.reset = !0);
@@ -3386,10 +3391,10 @@ function hv(e) {
3386
3391
  };
3387
3392
  if (T) {
3388
3393
  if (a) {
3389
- var z, N = C === "y" ? xt : wt, S = C === "y" ? At : It, j = C === "y" ? "height" : "width", H = T[C], Z = H + y[N], Q = H - y[S], _ = m ? -$[j] / 2 : 0, A = M === ur ? D[j] : $[j], F = M === ur ? -$[j] : -D[j], I = t.elements.arrow, L = m && I ? Zi(I) : {
3394
+ var z, N = C === "y" ? xt : wt, S = C === "y" ? At : It, j = C === "y" ? "height" : "width", H = T[C], Z = H + y[N], Q = H - y[S], _ = m ? -$[j] / 2 : 0, I = M === ur ? D[j] : $[j], F = M === ur ? -$[j] : -D[j], A = t.elements.arrow, L = m && A ? Zi(A) : {
3390
3395
  width: 0,
3391
3396
  height: 0
3392
- }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Lu(), J = G[N], B = G[S], Y = Nr(0, D[j], L[j]), U = x ? D[j] / 2 - _ - Y - J - R.mainAxis : A - Y - J - R.mainAxis, re = x ? -D[j] / 2 + _ + Y + B + R.mainAxis : F + Y + B + R.mainAxis, fe = t.elements.arrow && ro(t.elements.arrow), k = fe ? C === "y" ? fe.clientTop || 0 : fe.clientLeft || 0 : 0, ne = (z = W == null ? void 0 : W[C]) != null ? z : 0, q = H + U - ne - k, le = H + re - ne, ce = Nr(m ? Wo(Z, q) : Z, H, m ? In(Q, le) : Q);
3397
+ }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Lu(), J = G[N], B = G[S], Y = Nr(0, D[j], L[j]), U = x ? D[j] / 2 - _ - Y - J - R.mainAxis : I - Y - J - R.mainAxis, re = x ? -D[j] / 2 + _ + Y + B + R.mainAxis : F + Y + B + R.mainAxis, fe = t.elements.arrow && ro(t.elements.arrow), k = fe ? C === "y" ? fe.clientTop || 0 : fe.clientLeft || 0 : 0, ne = (z = W == null ? void 0 : W[C]) != null ? z : 0, q = H + U - ne - k, le = H + re - ne, ce = Nr(m ? Wo(Z, q) : Z, H, m ? In(Q, le) : Q);
3393
3398
  T[C] = ce, X[C] = ce - H;
3394
3399
  }
3395
3400
  if (s) {
@@ -4711,13 +4716,13 @@ function xg() {
4711
4716
  function _(k) {
4712
4717
  return C(k) === u;
4713
4718
  }
4714
- function A(k) {
4719
+ function I(k) {
4715
4720
  return C(k) === s;
4716
4721
  }
4717
4722
  function F(k) {
4718
4723
  return C(k) === i;
4719
4724
  }
4720
- function I(k) {
4725
+ function A(k) {
4721
4726
  return typeof k == "object" && k !== null && k.$$typeof === t;
4722
4727
  }
4723
4728
  function L(k) {
@@ -4744,7 +4749,7 @@ function xg() {
4744
4749
  function fe(k) {
4745
4750
  return C(k) === p;
4746
4751
  }
4747
- Ve.AsyncMode = b, Ve.ConcurrentMode = T, Ve.ContextConsumer = D, Ve.ContextProvider = $, Ve.Element = V, Ve.ForwardRef = R, Ve.Fragment = W, Ve.Lazy = X, Ve.Memo = z, Ve.Portal = N, Ve.Profiler = S, Ve.StrictMode = j, Ve.Suspense = H, Ve.isAsyncMode = Q, Ve.isConcurrentMode = _, Ve.isContextConsumer = A, Ve.isContextProvider = F, Ve.isElement = I, Ve.isForwardRef = L, Ve.isFragment = G, Ve.isLazy = J, Ve.isMemo = B, Ve.isPortal = Y, Ve.isProfiler = U, Ve.isStrictMode = re, Ve.isSuspense = fe, Ve.isValidElementType = x, Ve.typeOf = C;
4752
+ Ve.AsyncMode = b, Ve.ConcurrentMode = T, Ve.ContextConsumer = D, Ve.ContextProvider = $, Ve.Element = V, Ve.ForwardRef = R, Ve.Fragment = W, Ve.Lazy = X, Ve.Memo = z, Ve.Portal = N, Ve.Profiler = S, Ve.StrictMode = j, Ve.Suspense = H, Ve.isAsyncMode = Q, Ve.isConcurrentMode = _, Ve.isContextConsumer = I, Ve.isContextProvider = F, Ve.isElement = A, Ve.isForwardRef = L, Ve.isFragment = G, Ve.isLazy = J, Ve.isMemo = B, Ve.isPortal = Y, Ve.isProfiler = U, Ve.isStrictMode = re, Ve.isSuspense = fe, Ve.isValidElementType = x, Ve.typeOf = C;
4748
4753
  }()), Ve;
4749
4754
  }
4750
4755
  process.env.NODE_ENV === "production" ? wi.exports = bg() : wi.exports = xg();
@@ -8350,9 +8355,9 @@ const M0 = Tt("MuiButtonBase", ["root", "disabled", "focusVisible"]), k0 = M0, _
8350
8355
  type: S
8351
8356
  } = r, j = de(r, _0), H = w.useRef(null), Z = w.useRef(null), Q = ht(Z, N), {
8352
8357
  isFocusVisibleRef: _,
8353
- onFocus: A,
8358
+ onFocus: I,
8354
8359
  onBlur: F,
8355
- ref: I
8360
+ ref: A
8356
8361
  } = Gi(), [L, G] = w.useState(!1);
8357
8362
  u && L && G(!1), w.useImperativeHandle(o, () => ({
8358
8363
  focusVisible: () => {
@@ -8375,7 +8380,7 @@ const M0 = Tt("MuiButtonBase", ["root", "disabled", "focusVisible"]), k0 = M0, _
8375
8380
  }), le = U("start", W), ce = U("stop", V), pe = U("stop", R), Re = U("stop", (be) => {
8376
8381
  F(be), _.current === !1 && G(!1), g && g(be);
8377
8382
  }, !1), ge = Nn((be) => {
8378
- H.current || (H.current = be.currentTarget), A(be), _.current === !0 && (G(!0), x && x(be)), M && M(be);
8383
+ H.current || (H.current = be.currentTarget), I(be), _.current === !0 && (G(!0), x && x(be)), M && M(be);
8379
8384
  }), we = () => {
8380
8385
  const be = H.current;
8381
8386
  return c && c !== "button" && !(be.tagName === "A" && be.href);
@@ -8392,7 +8397,7 @@ const M0 = Tt("MuiButtonBase", ["root", "disabled", "focusVisible"]), k0 = M0, _
8392
8397
  Pt === "button" && (j.href || j.to) && (Pt = m);
8393
8398
  const _t = {};
8394
8399
  Pt === "button" ? (_t.type = S === void 0 ? "button" : S, _t.disabled = u) : (!j.href && !j.to && (_t.role = "button"), u && (_t["aria-disabled"] = u));
8395
- const Wn = ht(n, I, H);
8400
+ const Wn = ht(n, A, H);
8396
8401
  process.env.NODE_ENV !== "production" && w.useEffect(() => {
8397
8402
  Y && !Z.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
8398
8403
  `));
@@ -10174,9 +10179,9 @@ const kd = /* @__PURE__ */ w.forwardRef(function(t, n) {
10174
10179
  onBlur: Z,
10175
10180
  onFocus: Q,
10176
10181
  ref: _
10177
- } = Gi(), [A, F] = w.useState(!1), I = w.useRef(), L = ht(_, I, n), G = (le) => {
10182
+ } = Gi(), [I, F] = w.useState(!1), A = w.useRef(), L = ht(_, A, n), G = (le) => {
10178
10183
  M && M(le);
10179
- const ce = I.current, {
10184
+ const ce = A.current, {
10180
10185
  right: pe,
10181
10186
  left: Re
10182
10187
  } = ce.getBoundingClientRect(), {
@@ -10226,7 +10231,7 @@ const kd = /* @__PURE__ */ w.forwardRef(function(t, n) {
10226
10231
  emptyIcon: s,
10227
10232
  emptyLabelText: c,
10228
10233
  emptyValueFocused: fe,
10229
- focusVisible: A,
10234
+ focusVisible: I,
10230
10235
  getLabelText: u,
10231
10236
  icon: p,
10232
10237
  IconContainerComponent: h,
@@ -14119,17 +14124,17 @@ function jC(e, t, n, r) {
14119
14124
  });
14120
14125
  }).map(function(Y) {
14121
14126
  return Y[0];
14122
- }), A = te(n);
14123
- if (isNaN(A.getTime()))
14127
+ }), I = te(n);
14128
+ if (isNaN(I.getTime()))
14124
14129
  return /* @__PURE__ */ new Date(NaN);
14125
- var F = Fd(A, Jo(A)), I = {}, L = Vc(_), G;
14130
+ var F = Fd(I, Jo(I)), A = {}, L = Vc(_), G;
14126
14131
  try {
14127
14132
  for (L.s(); !(G = L.n()).done; ) {
14128
14133
  var J = G.value;
14129
14134
  if (!J.validate(F, X))
14130
14135
  return /* @__PURE__ */ new Date(NaN);
14131
- var B = J.set(F, I, X);
14132
- Array.isArray(B) ? (F = B[0], Bw(I, B[1])) : F = B;
14136
+ var B = J.set(F, A, X);
14137
+ Array.isArray(B) ? (F = B[0], Bw(A, B[1])) : F = B;
14133
14138
  }
14134
14139
  } catch (Y) {
14135
14140
  L.e(Y);
@@ -15413,45 +15418,45 @@ const fT = ae("div", {
15413
15418
  onMonthFocus: M,
15414
15419
  hasFocus: x,
15415
15420
  onFocusedViewChange: C
15416
- } = a, b = de(a, cT), T = a, D = uT(T), $ = gs(), V = w.useMemo(() => s ?? r.startOfMonth(o), [o, r, s]), R = w.useMemo(() => s != null ? r.getMonth(s) : y ? null : r.getMonth(o), [o, s, r, y]), [W, X] = w.useState(() => R || r.getMonth(o)), z = w.useCallback((I) => {
15421
+ } = a, b = de(a, cT), T = a, D = uT(T), $ = gs(), V = w.useMemo(() => s ?? r.startOfMonth(o), [o, r, s]), R = w.useMemo(() => s != null ? r.getMonth(s) : y ? null : r.getMonth(o), [o, s, r, y]), [W, X] = w.useState(() => R || r.getMonth(o)), z = w.useCallback((A) => {
15417
15422
  const L = r.startOfMonth(d && r.isAfter(o, h) ? o : h), G = r.startOfMonth(u && r.isBefore(o, p) ? o : p);
15418
- return r.isBefore(I, L) || r.isAfter(I, G) ? !0 : g ? g(I) : !1;
15419
- }, [u, d, p, h, o, g, r]), N = (I) => {
15423
+ return r.isBefore(A, L) || r.isAfter(A, G) ? !0 : g ? g(A) : !1;
15424
+ }, [u, d, p, h, o, g, r]), N = (A) => {
15420
15425
  if (v)
15421
15426
  return;
15422
- const L = r.setMonth(V, I);
15427
+ const L = r.setMonth(V, A);
15423
15428
  m(L, "finish");
15424
15429
  }, [S, j] = $p({
15425
15430
  name: "MonthPicker",
15426
15431
  state: "hasFocus",
15427
15432
  controlled: x,
15428
15433
  default: E
15429
- }), H = w.useCallback((I) => {
15430
- j(I), C && C(I);
15431
- }, [j, C]), Z = w.useCallback((I) => {
15432
- z(r.setMonth(V, I)) || (X(I), H(!0), M && M(I));
15434
+ }), H = w.useCallback((A) => {
15435
+ j(A), C && C(A);
15436
+ }, [j, C]), Z = w.useCallback((A) => {
15437
+ z(r.setMonth(V, A)) || (X(A), H(!0), M && M(A));
15433
15438
  }, [z, r, V, H, M]);
15434
15439
  w.useEffect(() => {
15435
- X((I) => R !== null && I !== R ? R : I);
15440
+ X((A) => R !== null && A !== R ? R : A);
15436
15441
  }, [R]);
15437
- const Q = Np((I) => {
15438
- switch (I.key) {
15442
+ const Q = Np((A) => {
15443
+ switch (A.key) {
15439
15444
  case "ArrowUp":
15440
- Z((12 + W - 3) % 12), I.preventDefault();
15445
+ Z((12 + W - 3) % 12), A.preventDefault();
15441
15446
  break;
15442
15447
  case "ArrowDown":
15443
- Z((12 + W + 3) % 12), I.preventDefault();
15448
+ Z((12 + W + 3) % 12), A.preventDefault();
15444
15449
  break;
15445
15450
  case "ArrowLeft":
15446
- Z((12 + W + ($.direction === "ltr" ? -1 : 1)) % 12), I.preventDefault();
15451
+ Z((12 + W + ($.direction === "ltr" ? -1 : 1)) % 12), A.preventDefault();
15447
15452
  break;
15448
15453
  case "ArrowRight":
15449
- Z((12 + W + ($.direction === "ltr" ? 1 : -1)) % 12), I.preventDefault();
15454
+ Z((12 + W + ($.direction === "ltr" ? 1 : -1)) % 12), A.preventDefault();
15450
15455
  break;
15451
15456
  }
15452
- }), _ = w.useCallback((I, L) => {
15457
+ }), _ = w.useCallback((A, L) => {
15453
15458
  Z(L);
15454
- }, [Z]), A = w.useCallback(() => {
15459
+ }, [Z]), I = w.useCallback(() => {
15455
15460
  H(!1);
15456
15461
  }, [H]), F = r.getMonth(o);
15457
15462
  return /* @__PURE__ */ f.jsx(fT, O({
@@ -15460,8 +15465,8 @@ const fT = ae("div", {
15460
15465
  ownerState: T,
15461
15466
  onKeyDown: Q
15462
15467
  }, b, {
15463
- children: r.getMonthArray(V).map((I) => {
15464
- const L = r.getMonth(I), G = r.format(I, "monthShort"), J = c || z(I);
15468
+ children: r.getMonthArray(V).map((A) => {
15469
+ const L = r.getMonth(A), G = r.format(A, "monthShort"), J = c || z(A);
15465
15470
  return /* @__PURE__ */ f.jsx(iT, {
15466
15471
  value: L,
15467
15472
  selected: L === R,
@@ -15469,7 +15474,7 @@ const fT = ae("div", {
15469
15474
  hasFocus: S && L === W,
15470
15475
  onSelect: N,
15471
15476
  onFocus: _,
15472
- onBlur: A,
15477
+ onBlur: I,
15473
15478
  disabled: J,
15474
15479
  "aria-current": F === L ? "date" : void 0,
15475
15480
  children: G
@@ -16314,16 +16319,16 @@ function UT(e) {
16314
16319
  N && N(k);
16315
16320
  }, [N]), _ = w.useCallback((k, ne = "finish") => {
16316
16321
  y || g(k, ne);
16317
- }, [g, y]), A = w.useCallback((k) => {
16322
+ }, [g, y]), I = w.useCallback((k) => {
16318
16323
  j(k) || (a(k), Z(k), Q(!0));
16319
16324
  }, [j, a, Q]), F = Tn();
16320
- function I(k, ne) {
16325
+ function A(k, ne) {
16321
16326
  switch (k.key) {
16322
16327
  case "ArrowUp":
16323
- A(n.addDays(ne, -7)), k.preventDefault();
16328
+ I(n.addDays(ne, -7)), k.preventDefault();
16324
16329
  break;
16325
16330
  case "ArrowDown":
16326
- A(n.addDays(ne, 7)), k.preventDefault();
16331
+ I(n.addDays(ne, 7)), k.preventDefault();
16327
16332
  break;
16328
16333
  case "ArrowLeft": {
16329
16334
  const q = n.addDays(ne, F.direction === "ltr" ? -1 : 1), le = F.direction === "ltr" ? n.getPreviousMonth(ne) : n.getNextMonth(ne), ce = Br({
@@ -16333,7 +16338,7 @@ function UT(e) {
16333
16338
  maxDate: F.direction === "ltr" ? q : n.endOfMonth(le),
16334
16339
  isDateDisabled: j
16335
16340
  });
16336
- A(ce || q), k.preventDefault();
16341
+ I(ce || q), k.preventDefault();
16337
16342
  break;
16338
16343
  }
16339
16344
  case "ArrowRight": {
@@ -16344,25 +16349,25 @@ function UT(e) {
16344
16349
  maxDate: F.direction === "ltr" ? n.endOfMonth(le) : q,
16345
16350
  isDateDisabled: j
16346
16351
  });
16347
- A(ce || q), k.preventDefault();
16352
+ I(ce || q), k.preventDefault();
16348
16353
  break;
16349
16354
  }
16350
16355
  case "Home":
16351
- A(n.startOfWeek(ne)), k.preventDefault();
16356
+ I(n.startOfWeek(ne)), k.preventDefault();
16352
16357
  break;
16353
16358
  case "End":
16354
- A(n.endOfWeek(ne)), k.preventDefault();
16359
+ I(n.endOfWeek(ne)), k.preventDefault();
16355
16360
  break;
16356
16361
  case "PageUp":
16357
- A(n.getNextMonth(ne)), k.preventDefault();
16362
+ I(n.getNextMonth(ne)), k.preventDefault();
16358
16363
  break;
16359
16364
  case "PageDown":
16360
- A(n.getPreviousMonth(ne)), k.preventDefault();
16365
+ I(n.getPreviousMonth(ne)), k.preventDefault();
16361
16366
  break;
16362
16367
  }
16363
16368
  }
16364
16369
  function L(k, ne) {
16365
- A(ne);
16370
+ I(ne);
16366
16371
  }
16367
16372
  function G(k, ne) {
16368
16373
  z && n.isSameDay(H, ne) && Q(!1);
@@ -16425,7 +16430,7 @@ function UT(e) {
16425
16430
  selected: le,
16426
16431
  disableHighlightToday: d,
16427
16432
  showDaysOutsideCurrentMonth: C,
16428
- onKeyDown: I,
16433
+ onKeyDown: A,
16429
16434
  onFocus: L,
16430
16435
  onBlur: G,
16431
16436
  onDaySelect: _,
@@ -17148,7 +17153,7 @@ const $P = ae("div", {
17148
17153
  w.useEffect(() => {
17149
17154
  z((B) => V !== null && B !== V ? V : B);
17150
17155
  }, [V]);
17151
- const _ = R === "desktop" ? 4 : 3, A = w.useCallback((B, Y) => {
17156
+ const _ = R === "desktop" ? 4 : 3, I = w.useCallback((B, Y) => {
17152
17157
  switch (B.key) {
17153
17158
  case "ArrowUp":
17154
17159
  Q(Y - _), B.preventDefault();
@@ -17165,7 +17170,7 @@ const $P = ae("div", {
17165
17170
  }
17166
17171
  }, [Q, o.direction, _]), F = w.useCallback((B, Y) => {
17167
17172
  Q(Y);
17168
- }, [Q]), I = w.useCallback((B, Y) => {
17173
+ }, [Q]), A = w.useCallback((B, Y) => {
17169
17174
  X === Y && j(!1);
17170
17175
  }, [X, j]), L = a.getYear(r), G = w.useRef(null), J = ht(n, G);
17171
17176
  return w.useEffect(() => {
@@ -17186,13 +17191,13 @@ const $P = ae("div", {
17186
17191
  selected: U,
17187
17192
  value: Y,
17188
17193
  onClick: Z,
17189
- onKeyDown: A,
17194
+ onKeyDown: I,
17190
17195
  autoFocus: N && Y === X,
17191
17196
  ref: U ? W : void 0,
17192
17197
  disabled: d || H(B),
17193
17198
  tabIndex: Y === X ? 0 : -1,
17194
17199
  onFocus: F,
17195
- onBlur: I,
17200
+ onBlur: A,
17196
17201
  "aria-current": L === Y ? "date" : void 0,
17197
17202
  children: a.format(B, "year")
17198
17203
  }, a.format(B, "year"));
@@ -17336,9 +17341,9 @@ const BP = ae(Us, {
17336
17341
  calendarState: Z,
17337
17342
  changeFocusedDay: Q,
17338
17343
  changeMonth: _,
17339
- handleChangeMonth: A,
17344
+ handleChangeMonth: I,
17340
17345
  isDateDisabled: F,
17341
- onMonthSwitchingAnimationEnd: I
17346
+ onMonthSwitchingAnimationEnd: A
17342
17347
  } = gT({
17343
17348
  date: c,
17344
17349
  defaultCalendarMonth: p,
@@ -17407,7 +17412,7 @@ const BP = ae(Us, {
17407
17412
  openView: S,
17408
17413
  currentMonth: Z.currentMonth,
17409
17414
  onViewChange: j,
17410
- onMonthChange: (ge, we) => A({
17415
+ onMonthChange: (ge, we) => I({
17411
17416
  newMonth: ge,
17412
17417
  direction: we
17413
17418
  }),
@@ -17441,7 +17446,7 @@ const BP = ae(Us, {
17441
17446
  onFocusedViewChange: pe("month")
17442
17447
  })), S === "day" && /* @__PURE__ */ f.jsx(UT, O({}, N, Z, U, k, {
17443
17448
  autoFocus: i,
17444
- onMonthSwitchingAnimationEnd: I,
17449
+ onMonthSwitchingAnimationEnd: A,
17445
17450
  onFocusedDayChange: Q,
17446
17451
  reduceAnimations: v,
17447
17452
  selectedDays: [c],
@@ -17883,19 +17888,19 @@ function s2(e) {
17883
17888
  disabled: y,
17884
17889
  readOnly: E,
17885
17890
  className: M
17886
- } = t, x = t, C = tt(), b = w.useContext(Er), T = w.useRef(!1), D = JP(x), $ = u(v, g), V = !n && g === "hours" && (v < 1 || v > 12), R = (_, A) => {
17887
- y || E || u(_, g) || h(_, A);
17888
- }, W = (_, A) => {
17891
+ } = t, x = t, C = tt(), b = w.useContext(Er), T = w.useRef(!1), D = JP(x), $ = u(v, g), V = !n && g === "hours" && (v < 1 || v > 12), R = (_, I) => {
17892
+ y || E || u(_, g) || h(_, I);
17893
+ }, W = (_, I) => {
17889
17894
  let {
17890
17895
  offsetX: F,
17891
- offsetY: I
17896
+ offsetY: A
17892
17897
  } = _;
17893
17898
  if (F === void 0) {
17894
17899
  const G = _.target.getBoundingClientRect();
17895
- F = _.changedTouches[0].clientX - G.left, I = _.changedTouches[0].clientY - G.top;
17900
+ F = _.changedTouches[0].clientX - G.left, A = _.changedTouches[0].clientY - G.top;
17896
17901
  }
17897
- const L = g === "seconds" || g === "minutes" ? zP(F, I, p) : HP(F, I, !!n);
17898
- R(L, A);
17902
+ const L = g === "seconds" || g === "minutes" ? zP(F, A, p) : HP(F, A, !!n);
17903
+ R(L, I);
17899
17904
  }, X = (_) => {
17900
17905
  T.current = !0, W(_, "shallow");
17901
17906
  }, z = (_) => {
@@ -18167,9 +18172,9 @@ const h2 = (e) => {
18167
18172
  getSecondsClockNumberText: g
18168
18173
  });
18169
18174
  const N = wr(), S = v ?? N.openPreviousView, j = x ?? N.openNextView, H = p ?? N.clockLabelText, Z = h ?? N.hoursClockNumberText, Q = m ?? N.minutesClockNumberText, _ = g ?? N.secondsClockNumberText, {
18170
- openView: A,
18175
+ openView: I,
18171
18176
  setOpenView: F,
18172
- nextView: I,
18177
+ nextView: A,
18173
18178
  previousView: L,
18174
18179
  handleChangeAndOpenNext: G
18175
18180
  } = Hs({
@@ -18212,7 +18217,7 @@ const h2 = (e) => {
18212
18217
  throw new Error("not supported");
18213
18218
  }
18214
18219
  }, [o, Y, d, y, U, E, M, C, B]), k = br(), ne = w.useMemo(() => {
18215
- switch (A) {
18220
+ switch (I) {
18216
18221
  case "hours": {
18217
18222
  const ce = (pe, Re) => {
18218
18223
  const ge = $i(pe, U, o);
@@ -18269,7 +18274,7 @@ const h2 = (e) => {
18269
18274
  default:
18270
18275
  throw new Error("You must provide the type for ClockView");
18271
18276
  }
18272
- }, [A, B, u, o, Z, Q, _, U, G, Y, fe, k, X]), q = r, le = h2(q);
18277
+ }, [I, B, u, o, Z, Q, _, U, G, Y, fe, k, X]), q = r, le = h2(q);
18273
18278
  return /* @__PURE__ */ f.jsxs(m2, {
18274
18279
  ref: n,
18275
18280
  className: ye(le.root, W),
@@ -18281,15 +18286,15 @@ const h2 = (e) => {
18281
18286
  components: s,
18282
18287
  componentsProps: c,
18283
18288
  onLeftClick: () => F(L),
18284
- onRightClick: () => F(I),
18289
+ onRightClick: () => F(A),
18285
18290
  isLeftDisabled: !L,
18286
- isRightDisabled: !I,
18291
+ isRightDisabled: !A,
18287
18292
  ownerState: q
18288
18293
  }), /* @__PURE__ */ f.jsx(s2, O({
18289
18294
  autoFocus: i,
18290
18295
  date: u,
18291
18296
  ampmInClock: a,
18292
- type: A,
18297
+ type: I,
18293
18298
  ampm: o,
18294
18299
  getClockLabelText: H,
18295
18300
  minutesStep: M,
@@ -19832,11 +19837,11 @@ function wO(e) {
19832
19837
  tabIndex: -1,
19833
19838
  elevation: 8,
19834
19839
  ref: R,
19835
- onClick: (A) => {
19836
- T(A), z && z(A);
19840
+ onClick: (I) => {
19841
+ T(I), z && z(I);
19837
19842
  },
19838
- onTouchStart: (A) => {
19839
- D(A), N && N(A);
19843
+ onTouchStart: (I) => {
19844
+ D(I), N && N(I);
19840
19845
  },
19841
19846
  ownerState: O({}, W, {
19842
19847
  placement: _
@@ -20200,12 +20205,12 @@ const NO = (e, t) => (n) => {
20200
20205
  const H = u === null ? null : g.date(u), Z = u === null || g.isValid(H);
20201
20206
  let Q = C === null && H === null;
20202
20207
  if (C !== null && H !== null) {
20203
- const A = g.isEqual(C, H);
20204
- if (A)
20208
+ const I = g.isEqual(C, H);
20209
+ if (I)
20205
20210
  Q = !0;
20206
20211
  else {
20207
20212
  const F = Math.abs(g.getDiff(C, H));
20208
- Q = F === 0 ? A : F < 1e3;
20213
+ Q = F === 0 ? I : F < 1e3;
20209
20214
  }
20210
20215
  }
20211
20216
  if (!S && !j && (!Z || Q))
@@ -20355,8 +20360,8 @@ function HO(e) {
20355
20360
  dateRangeIcon: x,
20356
20361
  timeIcon: C,
20357
20362
  hideTabs: b
20358
- } = r, T = de(r, FO), D = (t = T.components) == null ? void 0 : t.Tabs, $ = IO(M, p), V = w.useContext(Er), R = VO(r), W = h ?? V !== "desktop", X = !b && typeof window < "u" && window.innerHeight > 667, z = w.useCallback((_, A) => {
20359
- c(_, V, A);
20363
+ } = r, T = de(r, FO), D = (t = T.components) == null ? void 0 : t.Tabs, $ = IO(M, p), V = w.useContext(Er), R = VO(r), W = h ?? V !== "desktop", X = !b && typeof window < "u" && window.innerHeight > 667, z = w.useCallback((_, I) => {
20364
+ c(_, V, I);
20360
20365
  }, [c, V]), N = w.useCallback((_) => {
20361
20366
  s && m(), u && u(_);
20362
20367
  }, [s, u, m]);
@@ -21386,19 +21391,19 @@ const rD = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21386
21391
  }, [C]);
21387
21392
  const j = () => {
21388
21393
  const F = {};
21389
- return C.map((I) => F[I.id] = I.text), F;
21394
+ return C.map((A) => F[A.id] = A.text), F;
21390
21395
  };
21391
21396
  Oe(() => {
21392
21397
  r || (async () => {
21393
21398
  v("GetControls", !0);
21394
- const I = await a().post("/externalCustomerCabinet/form/registration", {
21399
+ const A = await a().post("/externalCustomerCabinet/form/registration", {
21395
21400
  alfaCode: g,
21396
21401
  linkId: p,
21397
21402
  isReg: n
21398
21403
  });
21399
- e == null || e(I.data.controls);
21400
- let L = I.data.controls;
21401
- L.some((G) => G.id === "parentphone") && h && (L = L.filter((G) => G.id !== "parentphone")), b(L), D(I.data.controls.filter((G) => {
21404
+ e == null || e(A.data.controls);
21405
+ let L = A.data.controls;
21406
+ L.some((G) => G.id === "parentphone") && h && (L = L.filter((G) => G.id !== "parentphone")), b(L), D(A.data.controls.filter((G) => {
21402
21407
  var J;
21403
21408
  return ((J = G.validation) == null ? void 0 : J.readOnly) && !!G.text;
21404
21409
  })), v("GetControls", !1);
@@ -21413,29 +21418,29 @@ const rD = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21413
21418
  VKUserId: s,
21414
21419
  ...d ?? {}
21415
21420
  }).then((F) => {
21416
- c((I) => ({ ...I, isReg: !1, formFilled: !0 })), u(F.data.phoneNumber), x(!0), E("info"), D(C.filter((I) => {
21421
+ c((A) => ({ ...A, isReg: !1, formFilled: !0 })), u(F.data.phoneNumber), x(!0), E("info"), D(C.filter((A) => {
21417
21422
  var L;
21418
- return ((L = I.validation) == null ? void 0 : L.readOnly) && !!I.text;
21423
+ return ((L = A.validation) == null ? void 0 : L.readOnly) && !!A.text;
21419
21424
  })), o == null || o(), n && (m != null && m.ymIdentifier) && (m != null && m.ymReachGoalIdentifier) && ym(m == null ? void 0 : m.ymIdentifier, "reachGoal", m == null ? void 0 : m.ymReachGoalIdentifier);
21420
21425
  }).catch((F) => {
21421
21426
  y(F.response.data.msg);
21422
21427
  }).finally(() => {
21423
21428
  W(!1);
21424
21429
  }));
21425
- }, Z = (F, I) => {
21426
- Date.parse(I) && (I = S(I)), b((L) => {
21430
+ }, Z = (F, A) => {
21431
+ Date.parse(A) && (A = S(A)), b((L) => {
21427
21432
  const G = L.find((J) => J.id === F);
21428
- return G && (G.text = I), [...L];
21433
+ return G && (G.text = A), [...L];
21429
21434
  });
21430
- }, Q = (F, I) => {
21435
+ }, Q = (F, A) => {
21431
21436
  b((L) => {
21432
21437
  const G = L.find((J) => J.id === F);
21433
- return G && (G.checked = I), [...L];
21438
+ return G && (G.checked = A), [...L];
21434
21439
  });
21435
21440
  }, _ = (F) => {
21436
- b((I) => {
21437
- let L = I.find((G) => G.id === F.id);
21438
- return L && (L = { ...F }, V(Math.random())), [...I];
21441
+ b((A) => {
21442
+ let L = A.find((G) => G.id === F.id);
21443
+ return L && (L = { ...F }, V(Math.random())), [...A];
21439
21444
  });
21440
21445
  };
21441
21446
  return {
@@ -21453,7 +21458,7 @@ const rD = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21453
21458
  },
21454
21459
  children: [
21455
21460
  /* @__PURE__ */ f.jsx("div", { style: { display: "flex", flexDirection: "column", gap: "1em" }, children: C == null ? void 0 : C.map(
21456
- (F, I) => /* @__PURE__ */ f.jsx("div", { children: /* @__PURE__ */ f.jsx(
21461
+ (F, A) => /* @__PURE__ */ f.jsx("div", { children: /* @__PURE__ */ f.jsx(
21457
21462
  sD,
21458
21463
  {
21459
21464
  isReg: n,
@@ -21464,7 +21469,7 @@ const rD = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21464
21469
  value: F.text ?? "",
21465
21470
  readonlyControls: T.map((L) => L.id)
21466
21471
  }
21467
- ) }, I)
21472
+ ) }, A)
21468
21473
  ) }),
21469
21474
  /* @__PURE__ */ f.jsx("div", { style: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ f.jsx(
21470
21475
  Rs,