mytek-components 0.0.9 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2,7 +2,9 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  import * as React from "react";
5
- import React__default, { forwardRef, useContext, useState, useRef, useEffect, isValidElement, cloneElement, Children, useMemo, useCallback, useLayoutEffect, createContext } from "react";
5
+ import React__default, { useState, useRef, useEffect, isValidElement, cloneElement, Children, useContext, useMemo, useCallback, useLayoutEffect, createContext } from "react";
6
+ import emStyled from "@emotion/styled";
7
+ import { keyframes } from "@emotion/react";
6
8
  import ReactDOM from "react-dom";
7
9
  function getDefaultExportFromCjs(x) {
8
10
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -266,8 +268,8 @@ function requireReactJsxRuntime_development() {
266
268
  debugTask
267
269
  );
268
270
  }
269
- function validateChildKeys(node2) {
270
- "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_ELEMENT_TYPE && node2._store && (node2._store.validated = 1);
271
+ function validateChildKeys(node) {
272
+ "object" === typeof node && null !== node && node.$$typeof === REACT_ELEMENT_TYPE && node._store && (node._store.validated = 1);
271
273
  }
272
274
  var React2 = React__default, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
273
275
  var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
@@ -626,9 +628,9 @@ function _toPrimitive(t, r2) {
626
628
  return ("string" === r2 ? String : Number)(t);
627
629
  }
628
630
  function Tree2Element(tree) {
629
- return tree && tree.map((node2, i) => /* @__PURE__ */ React__default.createElement(node2.tag, _objectSpread$5({
631
+ return tree && tree.map((node, i) => /* @__PURE__ */ React__default.createElement(node.tag, _objectSpread$5({
630
632
  key: i
631
- }, node2.attr), Tree2Element(node2.child)));
633
+ }, node.attr), Tree2Element(node.child)));
632
634
  }
633
635
  function GenIcon(data) {
634
636
  return (props) => /* @__PURE__ */ React__default.createElement(IconBase, _extends$1({
@@ -705,8 +707,8 @@ function createChainedFunction(...funcs) {
705
707
  });
706
708
  }
707
709
  var propTypes$2 = { exports: {} };
708
- var reactIs$2 = { exports: {} };
709
- var reactIs_production_min$1 = {};
710
+ var reactIs$1 = { exports: {} };
711
+ var reactIs_production_min = {};
710
712
  /** @license React v16.13.1
711
713
  * react-is.production.min.js
712
714
  *
@@ -715,10 +717,10 @@ var reactIs_production_min$1 = {};
715
717
  * This source code is licensed under the MIT license found in the
716
718
  * LICENSE file in the root directory of this source tree.
717
719
  */
718
- var hasRequiredReactIs_production_min$1;
719
- function requireReactIs_production_min$1() {
720
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
721
- hasRequiredReactIs_production_min$1 = 1;
720
+ var hasRequiredReactIs_production_min;
721
+ function requireReactIs_production_min() {
722
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
723
+ hasRequiredReactIs_production_min = 1;
722
724
  var b = "function" === typeof Symbol && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r2 = b ? Symbol.for("react.memo") : 60115, t = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
723
725
  function z(a) {
724
726
  if ("object" === typeof a && null !== a) {
@@ -753,63 +755,63 @@ function requireReactIs_production_min$1() {
753
755
  function A(a) {
754
756
  return z(a) === m;
755
757
  }
756
- reactIs_production_min$1.AsyncMode = l;
757
- reactIs_production_min$1.ConcurrentMode = m;
758
- reactIs_production_min$1.ContextConsumer = k;
759
- reactIs_production_min$1.ContextProvider = h;
760
- reactIs_production_min$1.Element = c;
761
- reactIs_production_min$1.ForwardRef = n;
762
- reactIs_production_min$1.Fragment = e;
763
- reactIs_production_min$1.Lazy = t;
764
- reactIs_production_min$1.Memo = r2;
765
- reactIs_production_min$1.Portal = d;
766
- reactIs_production_min$1.Profiler = g;
767
- reactIs_production_min$1.StrictMode = f;
768
- reactIs_production_min$1.Suspense = p;
769
- reactIs_production_min$1.isAsyncMode = function(a) {
758
+ reactIs_production_min.AsyncMode = l;
759
+ reactIs_production_min.ConcurrentMode = m;
760
+ reactIs_production_min.ContextConsumer = k;
761
+ reactIs_production_min.ContextProvider = h;
762
+ reactIs_production_min.Element = c;
763
+ reactIs_production_min.ForwardRef = n;
764
+ reactIs_production_min.Fragment = e;
765
+ reactIs_production_min.Lazy = t;
766
+ reactIs_production_min.Memo = r2;
767
+ reactIs_production_min.Portal = d;
768
+ reactIs_production_min.Profiler = g;
769
+ reactIs_production_min.StrictMode = f;
770
+ reactIs_production_min.Suspense = p;
771
+ reactIs_production_min.isAsyncMode = function(a) {
770
772
  return A(a) || z(a) === l;
771
773
  };
772
- reactIs_production_min$1.isConcurrentMode = A;
773
- reactIs_production_min$1.isContextConsumer = function(a) {
774
+ reactIs_production_min.isConcurrentMode = A;
775
+ reactIs_production_min.isContextConsumer = function(a) {
774
776
  return z(a) === k;
775
777
  };
776
- reactIs_production_min$1.isContextProvider = function(a) {
778
+ reactIs_production_min.isContextProvider = function(a) {
777
779
  return z(a) === h;
778
780
  };
779
- reactIs_production_min$1.isElement = function(a) {
781
+ reactIs_production_min.isElement = function(a) {
780
782
  return "object" === typeof a && null !== a && a.$$typeof === c;
781
783
  };
782
- reactIs_production_min$1.isForwardRef = function(a) {
784
+ reactIs_production_min.isForwardRef = function(a) {
783
785
  return z(a) === n;
784
786
  };
785
- reactIs_production_min$1.isFragment = function(a) {
787
+ reactIs_production_min.isFragment = function(a) {
786
788
  return z(a) === e;
787
789
  };
788
- reactIs_production_min$1.isLazy = function(a) {
790
+ reactIs_production_min.isLazy = function(a) {
789
791
  return z(a) === t;
790
792
  };
791
- reactIs_production_min$1.isMemo = function(a) {
793
+ reactIs_production_min.isMemo = function(a) {
792
794
  return z(a) === r2;
793
795
  };
794
- reactIs_production_min$1.isPortal = function(a) {
796
+ reactIs_production_min.isPortal = function(a) {
795
797
  return z(a) === d;
796
798
  };
797
- reactIs_production_min$1.isProfiler = function(a) {
799
+ reactIs_production_min.isProfiler = function(a) {
798
800
  return z(a) === g;
799
801
  };
800
- reactIs_production_min$1.isStrictMode = function(a) {
802
+ reactIs_production_min.isStrictMode = function(a) {
801
803
  return z(a) === f;
802
804
  };
803
- reactIs_production_min$1.isSuspense = function(a) {
805
+ reactIs_production_min.isSuspense = function(a) {
804
806
  return z(a) === p;
805
807
  };
806
- reactIs_production_min$1.isValidElementType = function(a) {
808
+ reactIs_production_min.isValidElementType = function(a) {
807
809
  return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r2 || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
808
810
  };
809
- reactIs_production_min$1.typeOf = z;
810
- return reactIs_production_min$1;
811
+ reactIs_production_min.typeOf = z;
812
+ return reactIs_production_min;
811
813
  }
812
- var reactIs_development$2 = {};
814
+ var reactIs_development$1 = {};
813
815
  /** @license React v16.13.1
814
816
  * react-is.development.js
815
817
  *
@@ -818,10 +820,10 @@ var reactIs_development$2 = {};
818
820
  * This source code is licensed under the MIT license found in the
819
821
  * LICENSE file in the root directory of this source tree.
820
822
  */
821
- var hasRequiredReactIs_development$2;
822
- function requireReactIs_development$2() {
823
- if (hasRequiredReactIs_development$2) return reactIs_development$2;
824
- hasRequiredReactIs_development$2 = 1;
823
+ var hasRequiredReactIs_development$1;
824
+ function requireReactIs_development$1() {
825
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
826
+ hasRequiredReactIs_development$1 = 1;
825
827
  if (process.env.NODE_ENV !== "production") {
826
828
  (function() {
827
829
  var hasSymbol = typeof Symbol === "function" && Symbol.for;
@@ -939,48 +941,48 @@ function requireReactIs_development$2() {
939
941
  function isSuspense(object) {
940
942
  return typeOf3(object) === REACT_SUSPENSE_TYPE;
941
943
  }
942
- reactIs_development$2.AsyncMode = AsyncMode;
943
- reactIs_development$2.ConcurrentMode = ConcurrentMode;
944
- reactIs_development$2.ContextConsumer = ContextConsumer;
945
- reactIs_development$2.ContextProvider = ContextProvider;
946
- reactIs_development$2.Element = Element2;
947
- reactIs_development$2.ForwardRef = ForwardRef;
948
- reactIs_development$2.Fragment = Fragment;
949
- reactIs_development$2.Lazy = Lazy;
950
- reactIs_development$2.Memo = Memo;
951
- reactIs_development$2.Portal = Portal;
952
- reactIs_development$2.Profiler = Profiler;
953
- reactIs_development$2.StrictMode = StrictMode;
954
- reactIs_development$2.Suspense = Suspense;
955
- reactIs_development$2.isAsyncMode = isAsyncMode;
956
- reactIs_development$2.isConcurrentMode = isConcurrentMode;
957
- reactIs_development$2.isContextConsumer = isContextConsumer;
958
- reactIs_development$2.isContextProvider = isContextProvider;
959
- reactIs_development$2.isElement = isElement2;
960
- reactIs_development$2.isForwardRef = isForwardRef;
961
- reactIs_development$2.isFragment = isFragment;
962
- reactIs_development$2.isLazy = isLazy;
963
- reactIs_development$2.isMemo = isMemo;
964
- reactIs_development$2.isPortal = isPortal;
965
- reactIs_development$2.isProfiler = isProfiler;
966
- reactIs_development$2.isStrictMode = isStrictMode;
967
- reactIs_development$2.isSuspense = isSuspense;
968
- reactIs_development$2.isValidElementType = isValidElementType;
969
- reactIs_development$2.typeOf = typeOf3;
944
+ reactIs_development$1.AsyncMode = AsyncMode;
945
+ reactIs_development$1.ConcurrentMode = ConcurrentMode;
946
+ reactIs_development$1.ContextConsumer = ContextConsumer;
947
+ reactIs_development$1.ContextProvider = ContextProvider;
948
+ reactIs_development$1.Element = Element2;
949
+ reactIs_development$1.ForwardRef = ForwardRef;
950
+ reactIs_development$1.Fragment = Fragment;
951
+ reactIs_development$1.Lazy = Lazy;
952
+ reactIs_development$1.Memo = Memo;
953
+ reactIs_development$1.Portal = Portal;
954
+ reactIs_development$1.Profiler = Profiler;
955
+ reactIs_development$1.StrictMode = StrictMode;
956
+ reactIs_development$1.Suspense = Suspense;
957
+ reactIs_development$1.isAsyncMode = isAsyncMode;
958
+ reactIs_development$1.isConcurrentMode = isConcurrentMode;
959
+ reactIs_development$1.isContextConsumer = isContextConsumer;
960
+ reactIs_development$1.isContextProvider = isContextProvider;
961
+ reactIs_development$1.isElement = isElement2;
962
+ reactIs_development$1.isForwardRef = isForwardRef;
963
+ reactIs_development$1.isFragment = isFragment;
964
+ reactIs_development$1.isLazy = isLazy;
965
+ reactIs_development$1.isMemo = isMemo;
966
+ reactIs_development$1.isPortal = isPortal;
967
+ reactIs_development$1.isProfiler = isProfiler;
968
+ reactIs_development$1.isStrictMode = isStrictMode;
969
+ reactIs_development$1.isSuspense = isSuspense;
970
+ reactIs_development$1.isValidElementType = isValidElementType;
971
+ reactIs_development$1.typeOf = typeOf3;
970
972
  })();
971
973
  }
972
- return reactIs_development$2;
974
+ return reactIs_development$1;
973
975
  }
974
- var hasRequiredReactIs$2;
975
- function requireReactIs$2() {
976
- if (hasRequiredReactIs$2) return reactIs$2.exports;
977
- hasRequiredReactIs$2 = 1;
976
+ var hasRequiredReactIs$1;
977
+ function requireReactIs$1() {
978
+ if (hasRequiredReactIs$1) return reactIs$1.exports;
979
+ hasRequiredReactIs$1 = 1;
978
980
  if (process.env.NODE_ENV === "production") {
979
- reactIs$2.exports = requireReactIs_production_min$1();
981
+ reactIs$1.exports = requireReactIs_production_min();
980
982
  } else {
981
- reactIs$2.exports = requireReactIs_development$2();
983
+ reactIs$1.exports = requireReactIs_development$1();
982
984
  }
983
- return reactIs$2.exports;
985
+ return reactIs$1.exports;
984
986
  }
985
987
  /*
986
988
  object-assign
@@ -1034,21 +1036,21 @@ function requireObjectAssign() {
1034
1036
  }
1035
1037
  }
1036
1038
  objectAssign = shouldUseNative() ? Object.assign : function(target, source) {
1037
- var from2;
1039
+ var from;
1038
1040
  var to = toObject(target);
1039
1041
  var symbols;
1040
1042
  for (var s = 1; s < arguments.length; s++) {
1041
- from2 = Object(arguments[s]);
1042
- for (var key in from2) {
1043
- if (hasOwnProperty.call(from2, key)) {
1044
- to[key] = from2[key];
1043
+ from = Object(arguments[s]);
1044
+ for (var key in from) {
1045
+ if (hasOwnProperty.call(from, key)) {
1046
+ to[key] = from[key];
1045
1047
  }
1046
1048
  }
1047
1049
  if (getOwnPropertySymbols) {
1048
- symbols = getOwnPropertySymbols(from2);
1050
+ symbols = getOwnPropertySymbols(from);
1049
1051
  for (var i = 0; i < symbols.length; i++) {
1050
- if (propIsEnumerable.call(from2, symbols[i])) {
1051
- to[symbols[i]] = from2[symbols[i]];
1052
+ if (propIsEnumerable.call(from, symbols[i])) {
1053
+ to[symbols[i]] = from[symbols[i]];
1052
1054
  }
1053
1055
  }
1054
1056
  }
@@ -1142,8 +1144,8 @@ var hasRequiredFactoryWithTypeCheckers;
1142
1144
  function requireFactoryWithTypeCheckers() {
1143
1145
  if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
1144
1146
  hasRequiredFactoryWithTypeCheckers = 1;
1145
- var ReactIs = requireReactIs$2();
1146
- var assign2 = requireObjectAssign();
1147
+ var ReactIs = requireReactIs$1();
1148
+ var assign = requireObjectAssign();
1147
1149
  var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
1148
1150
  var has2 = /* @__PURE__ */ requireHas();
1149
1151
  var checkPropTypes = /* @__PURE__ */ requireCheckPropTypes();
@@ -1448,7 +1450,7 @@ function requireFactoryWithTypeCheckers() {
1448
1450
  if (propType !== "object") {
1449
1451
  return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
1450
1452
  }
1451
- var allKeys = assign2({}, props[propName], shapeTypes);
1453
+ var allKeys = assign({}, props[propName], shapeTypes);
1452
1454
  for (var key in allKeys) {
1453
1455
  var checker = shapeTypes[key];
1454
1456
  if (has2(shapeTypes, key) && typeof checker !== "function") {
@@ -1639,7 +1641,7 @@ function requirePropTypes() {
1639
1641
  if (hasRequiredPropTypes) return propTypes$2.exports;
1640
1642
  hasRequiredPropTypes = 1;
1641
1643
  if (process.env.NODE_ENV !== "production") {
1642
- var ReactIs = requireReactIs$2();
1644
+ var ReactIs = requireReactIs$1();
1643
1645
  var throwOnDirectAccess = true;
1644
1646
  propTypes$2.exports = /* @__PURE__ */ requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
1645
1647
  } else {
@@ -1682,7 +1684,7 @@ function composeClasses(slots, getUtilityClass, classes = void 0) {
1682
1684
  }
1683
1685
  return output;
1684
1686
  }
1685
- var reactIs$1 = { exports: {} };
1687
+ var reactIs = { exports: {} };
1686
1688
  var reactIs_production = {};
1687
1689
  /**
1688
1690
  * @license React
@@ -1784,7 +1786,7 @@ function requireReactIs_production() {
1784
1786
  reactIs_production.typeOf = typeOf3;
1785
1787
  return reactIs_production;
1786
1788
  }
1787
- var reactIs_development$1 = {};
1789
+ var reactIs_development = {};
1788
1790
  /**
1789
1791
  * @license React
1790
1792
  * react-is.development.js
@@ -1794,10 +1796,10 @@ var reactIs_development$1 = {};
1794
1796
  * This source code is licensed under the MIT license found in the
1795
1797
  * LICENSE file in the root directory of this source tree.
1796
1798
  */
1797
- var hasRequiredReactIs_development$1;
1798
- function requireReactIs_development$1() {
1799
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
1800
- hasRequiredReactIs_development$1 = 1;
1799
+ var hasRequiredReactIs_development;
1800
+ function requireReactIs_development() {
1801
+ if (hasRequiredReactIs_development) return reactIs_development;
1802
+ hasRequiredReactIs_development = 1;
1801
1803
  "production" !== process.env.NODE_ENV && function() {
1802
1804
  function typeOf3(object) {
1803
1805
  if ("object" === typeof object && null !== object) {
@@ -1832,73 +1834,73 @@ function requireReactIs_development$1() {
1832
1834
  }
1833
1835
  var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
1834
1836
  var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
1835
- reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE;
1836
- reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE;
1837
- reactIs_development$1.Element = REACT_ELEMENT_TYPE;
1838
- reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE;
1839
- reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE;
1840
- reactIs_development$1.Lazy = REACT_LAZY_TYPE;
1841
- reactIs_development$1.Memo = REACT_MEMO_TYPE;
1842
- reactIs_development$1.Portal = REACT_PORTAL_TYPE;
1843
- reactIs_development$1.Profiler = REACT_PROFILER_TYPE;
1844
- reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE;
1845
- reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE;
1846
- reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
1847
- reactIs_development$1.isContextConsumer = function(object) {
1837
+ reactIs_development.ContextConsumer = REACT_CONSUMER_TYPE;
1838
+ reactIs_development.ContextProvider = REACT_CONTEXT_TYPE;
1839
+ reactIs_development.Element = REACT_ELEMENT_TYPE;
1840
+ reactIs_development.ForwardRef = REACT_FORWARD_REF_TYPE;
1841
+ reactIs_development.Fragment = REACT_FRAGMENT_TYPE;
1842
+ reactIs_development.Lazy = REACT_LAZY_TYPE;
1843
+ reactIs_development.Memo = REACT_MEMO_TYPE;
1844
+ reactIs_development.Portal = REACT_PORTAL_TYPE;
1845
+ reactIs_development.Profiler = REACT_PROFILER_TYPE;
1846
+ reactIs_development.StrictMode = REACT_STRICT_MODE_TYPE;
1847
+ reactIs_development.Suspense = REACT_SUSPENSE_TYPE;
1848
+ reactIs_development.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
1849
+ reactIs_development.isContextConsumer = function(object) {
1848
1850
  return typeOf3(object) === REACT_CONSUMER_TYPE;
1849
1851
  };
1850
- reactIs_development$1.isContextProvider = function(object) {
1852
+ reactIs_development.isContextProvider = function(object) {
1851
1853
  return typeOf3(object) === REACT_CONTEXT_TYPE;
1852
1854
  };
1853
- reactIs_development$1.isElement = function(object) {
1855
+ reactIs_development.isElement = function(object) {
1854
1856
  return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
1855
1857
  };
1856
- reactIs_development$1.isForwardRef = function(object) {
1858
+ reactIs_development.isForwardRef = function(object) {
1857
1859
  return typeOf3(object) === REACT_FORWARD_REF_TYPE;
1858
1860
  };
1859
- reactIs_development$1.isFragment = function(object) {
1861
+ reactIs_development.isFragment = function(object) {
1860
1862
  return typeOf3(object) === REACT_FRAGMENT_TYPE;
1861
1863
  };
1862
- reactIs_development$1.isLazy = function(object) {
1864
+ reactIs_development.isLazy = function(object) {
1863
1865
  return typeOf3(object) === REACT_LAZY_TYPE;
1864
1866
  };
1865
- reactIs_development$1.isMemo = function(object) {
1867
+ reactIs_development.isMemo = function(object) {
1866
1868
  return typeOf3(object) === REACT_MEMO_TYPE;
1867
1869
  };
1868
- reactIs_development$1.isPortal = function(object) {
1870
+ reactIs_development.isPortal = function(object) {
1869
1871
  return typeOf3(object) === REACT_PORTAL_TYPE;
1870
1872
  };
1871
- reactIs_development$1.isProfiler = function(object) {
1873
+ reactIs_development.isProfiler = function(object) {
1872
1874
  return typeOf3(object) === REACT_PROFILER_TYPE;
1873
1875
  };
1874
- reactIs_development$1.isStrictMode = function(object) {
1876
+ reactIs_development.isStrictMode = function(object) {
1875
1877
  return typeOf3(object) === REACT_STRICT_MODE_TYPE;
1876
1878
  };
1877
- reactIs_development$1.isSuspense = function(object) {
1879
+ reactIs_development.isSuspense = function(object) {
1878
1880
  return typeOf3(object) === REACT_SUSPENSE_TYPE;
1879
1881
  };
1880
- reactIs_development$1.isSuspenseList = function(object) {
1882
+ reactIs_development.isSuspenseList = function(object) {
1881
1883
  return typeOf3(object) === REACT_SUSPENSE_LIST_TYPE;
1882
1884
  };
1883
- reactIs_development$1.isValidElementType = function(type) {
1885
+ reactIs_development.isValidElementType = function(type) {
1884
1886
  return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
1885
1887
  };
1886
- reactIs_development$1.typeOf = typeOf3;
1888
+ reactIs_development.typeOf = typeOf3;
1887
1889
  }();
1888
- return reactIs_development$1;
1890
+ return reactIs_development;
1889
1891
  }
1890
- var hasRequiredReactIs$1;
1891
- function requireReactIs$1() {
1892
- if (hasRequiredReactIs$1) return reactIs$1.exports;
1893
- hasRequiredReactIs$1 = 1;
1892
+ var hasRequiredReactIs;
1893
+ function requireReactIs() {
1894
+ if (hasRequiredReactIs) return reactIs.exports;
1895
+ hasRequiredReactIs = 1;
1894
1896
  if (process.env.NODE_ENV === "production") {
1895
- reactIs$1.exports = /* @__PURE__ */ requireReactIs_production();
1897
+ reactIs.exports = /* @__PURE__ */ requireReactIs_production();
1896
1898
  } else {
1897
- reactIs$1.exports = /* @__PURE__ */ requireReactIs_development$1();
1899
+ reactIs.exports = /* @__PURE__ */ requireReactIs_development();
1898
1900
  }
1899
- return reactIs$1.exports;
1901
+ return reactIs.exports;
1900
1902
  }
1901
- var reactIsExports = /* @__PURE__ */ requireReactIs$1();
1903
+ var reactIsExports = /* @__PURE__ */ requireReactIs();
1902
1904
  function isPlainObject(item) {
1903
1905
  if (typeof item !== "object" || item === null) {
1904
1906
  return false;
@@ -1948,25 +1950,25 @@ function merge(acc, item) {
1948
1950
  });
1949
1951
  }
1950
1952
  const responsivePropType = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
1951
- function sortContainerQueries(theme, css2) {
1953
+ function sortContainerQueries(theme, css) {
1952
1954
  if (!theme.containerQueries) {
1953
- return css2;
1955
+ return css;
1954
1956
  }
1955
- const sorted = Object.keys(css2).filter((key) => key.startsWith("@container")).sort((a, b) => {
1957
+ const sorted = Object.keys(css).filter((key) => key.startsWith("@container")).sort((a, b) => {
1956
1958
  var _a, _b;
1957
1959
  const regex = /min-width:\s*([0-9.]+)/;
1958
1960
  return +(((_a = a.match(regex)) == null ? void 0 : _a[1]) || 0) - +(((_b = b.match(regex)) == null ? void 0 : _b[1]) || 0);
1959
1961
  });
1960
1962
  if (!sorted.length) {
1961
- return css2;
1963
+ return css;
1962
1964
  }
1963
1965
  return sorted.reduce((acc, key) => {
1964
- const value = css2[key];
1966
+ const value = css[key];
1965
1967
  delete acc[key];
1966
1968
  acc[key] = value;
1967
1969
  return acc;
1968
1970
  }, {
1969
- ...css2
1971
+ ...css
1970
1972
  });
1971
1973
  }
1972
1974
  function isCqShorthand(breakpointKeys, value) {
@@ -1987,12 +1989,12 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
1987
1989
  }
1988
1990
  function cssContainerQueries(themeInput) {
1989
1991
  const toContainerQuery = (mediaQuery, name) => mediaQuery.replace("@media", name ? `@container ${name}` : "@container");
1990
- function attachCq(node3, name) {
1991
- node3.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
1992
- node3.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);
1993
- node3.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);
1994
- node3.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);
1995
- node3.not = (...args) => {
1992
+ function attachCq(node2, name) {
1993
+ node2.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
1994
+ node2.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);
1995
+ node2.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);
1996
+ node2.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);
1997
+ node2.not = (...args) => {
1996
1998
  const result2 = toContainerQuery(themeInput.breakpoints.not(...args), name);
1997
1999
  if (result2.includes("not all and")) {
1998
2000
  return result2.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or");
@@ -2000,10 +2002,10 @@ function cssContainerQueries(themeInput) {
2000
2002
  return result2;
2001
2003
  };
2002
2004
  }
2003
- const node2 = {};
2005
+ const node = {};
2004
2006
  const containerQueries = (name) => {
2005
- attachCq(node2, name);
2006
- return node2;
2007
+ attachCq(node, name);
2008
+ return node;
2007
2009
  };
2008
2010
  attachCq(containerQueries);
2009
2011
  return {
@@ -2226,15 +2228,15 @@ function createUnaryUnit(theme, themeKey, defaultValue, propName) {
2226
2228
  if (typeof val === "string") {
2227
2229
  return val;
2228
2230
  }
2229
- const abs2 = Math.abs(val);
2231
+ const abs = Math.abs(val);
2230
2232
  if (process.env.NODE_ENV !== "production") {
2231
- if (!Number.isInteger(abs2)) {
2233
+ if (!Number.isInteger(abs)) {
2232
2234
  console.error([`MUI: The \`theme.${themeKey}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${themeKey}\` as a number.`].join("\n"));
2233
- } else if (abs2 > themeSpacing.length - 1) {
2234
- console.error([`MUI: The value provided (${abs2}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs2} > ${themeSpacing.length - 1}, you need to add the missing values.`].join("\n"));
2235
+ } else if (abs > themeSpacing.length - 1) {
2236
+ console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join("\n"));
2235
2237
  }
2236
2238
  }
2237
- const transformed = themeSpacing[abs2];
2239
+ const transformed = themeSpacing[abs];
2238
2240
  if (val >= 0) {
2239
2241
  return transformed;
2240
2242
  }
@@ -2877,13 +2879,13 @@ function unstable_createStyleFunctionSx() {
2877
2879
  }
2878
2880
  const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);
2879
2881
  const breakpointsKeys = Object.keys(emptyBreakpoints);
2880
- let css2 = emptyBreakpoints;
2882
+ let css = emptyBreakpoints;
2881
2883
  Object.keys(sxObject).forEach((styleKey) => {
2882
2884
  const value = callIfFn(sxObject[styleKey], theme);
2883
2885
  if (value !== null && value !== void 0) {
2884
2886
  if (typeof value === "object") {
2885
2887
  if (config2[styleKey]) {
2886
- css2 = merge(css2, getThemeValue(styleKey, value, theme, config2));
2888
+ css = merge(css, getThemeValue(styleKey, value, theme, config2));
2887
2889
  } else {
2888
2890
  const breakpointsValues = handleBreakpoints({
2889
2891
  theme
@@ -2891,20 +2893,20 @@ function unstable_createStyleFunctionSx() {
2891
2893
  [styleKey]: x
2892
2894
  }));
2893
2895
  if (objectsHaveSameKeys(breakpointsValues, value)) {
2894
- css2[styleKey] = styleFunctionSx2({
2896
+ css[styleKey] = styleFunctionSx2({
2895
2897
  sx: value,
2896
2898
  theme
2897
2899
  });
2898
2900
  } else {
2899
- css2 = merge(css2, breakpointsValues);
2901
+ css = merge(css, breakpointsValues);
2900
2902
  }
2901
2903
  }
2902
2904
  } else {
2903
- css2 = merge(css2, getThemeValue(styleKey, value, theme, config2));
2905
+ css = merge(css, getThemeValue(styleKey, value, theme, config2));
2904
2906
  }
2905
2907
  }
2906
2908
  });
2907
- return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css2));
2909
+ return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css));
2908
2910
  }
2909
2911
  return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
2910
2912
  }
@@ -2962,7 +2964,6 @@ function extendSxProp$1(props) {
2962
2964
  sx: finalSx
2963
2965
  };
2964
2966
  }
2965
- const emStyled = {};
2966
2967
  function murmur2(str) {
2967
2968
  var h = 0;
2968
2969
  var k, i = 0, len = str.length;
@@ -3064,7 +3065,7 @@ var processStyleValue = function processStyleValue2(key, value) {
3064
3065
  case "animation":
3065
3066
  case "animationName": {
3066
3067
  if (typeof value === "string") {
3067
- return value.replace(animationRegex, function(match2, p1, p2) {
3068
+ return value.replace(animationRegex, function(match, p1, p2) {
3068
3069
  cursor = {
3069
3070
  name: p1,
3070
3071
  styles: p2,
@@ -3104,15 +3105,15 @@ function handleInterpolation(mergedProps, registered, interpolation) {
3104
3105
  }
3105
3106
  var serializedStyles = interpolation;
3106
3107
  if (serializedStyles.styles !== void 0) {
3107
- var next2 = serializedStyles.next;
3108
- if (next2 !== void 0) {
3109
- while (next2 !== void 0) {
3108
+ var next = serializedStyles.next;
3109
+ if (next !== void 0) {
3110
+ while (next !== void 0) {
3110
3111
  cursor = {
3111
- name: next2.name,
3112
- styles: next2.styles,
3112
+ name: next.name,
3113
+ styles: next.styles,
3113
3114
  next: cursor
3114
3115
  };
3115
- next2 = next2.next;
3116
+ next = next.next;
3116
3117
  }
3117
3118
  }
3118
3119
  var styles = serializedStyles.styles + ";";
@@ -3120,15 +3121,6 @@ function handleInterpolation(mergedProps, registered, interpolation) {
3120
3121
  }
3121
3122
  return createStringFromObject(mergedProps, registered, interpolation);
3122
3123
  }
3123
- case "function": {
3124
- if (mergedProps !== void 0) {
3125
- var previousCursor = cursor;
3126
- var result2 = interpolation(mergedProps);
3127
- cursor = previousCursor;
3128
- return handleInterpolation(mergedProps, registered, result2);
3129
- }
3130
- break;
3131
- }
3132
3124
  }
3133
3125
  var asString = interpolation;
3134
3126
  {
@@ -3200,9 +3192,9 @@ function serializeStyles(args, registered, mergedProps) {
3200
3192
  }
3201
3193
  labelPattern.lastIndex = 0;
3202
3194
  var identifierName = "";
3203
- var match2;
3204
- while ((match2 = labelPattern.exec(styles)) !== null) {
3205
- identifierName += "-" + match2[1];
3195
+ var match;
3196
+ while ((match = labelPattern.exec(styles)) !== null) {
3197
+ identifierName += "-" + match[1];
3206
3198
  }
3207
3199
  var name = murmur2(styles) + identifierName;
3208
3200
  return {
@@ -3211,1315 +3203,6 @@ function serializeStyles(args, registered, mergedProps) {
3211
3203
  next: cursor
3212
3204
  };
3213
3205
  }
3214
- function sheetForTag(tag) {
3215
- if (tag.sheet) {
3216
- return tag.sheet;
3217
- }
3218
- for (var i = 0; i < document.styleSheets.length; i++) {
3219
- if (document.styleSheets[i].ownerNode === tag) {
3220
- return document.styleSheets[i];
3221
- }
3222
- }
3223
- return void 0;
3224
- }
3225
- function createStyleElement(options) {
3226
- var tag = document.createElement("style");
3227
- tag.setAttribute("data-emotion", options.key);
3228
- if (options.nonce !== void 0) {
3229
- tag.setAttribute("nonce", options.nonce);
3230
- }
3231
- tag.appendChild(document.createTextNode(""));
3232
- tag.setAttribute("data-s", "");
3233
- return tag;
3234
- }
3235
- var StyleSheet = /* @__PURE__ */ function() {
3236
- function StyleSheet2(options) {
3237
- var _this = this;
3238
- this._insertTag = function(tag) {
3239
- var before;
3240
- if (_this.tags.length === 0) {
3241
- if (_this.insertionPoint) {
3242
- before = _this.insertionPoint.nextSibling;
3243
- } else if (_this.prepend) {
3244
- before = _this.container.firstChild;
3245
- } else {
3246
- before = _this.before;
3247
- }
3248
- } else {
3249
- before = _this.tags[_this.tags.length - 1].nextSibling;
3250
- }
3251
- _this.container.insertBefore(tag, before);
3252
- _this.tags.push(tag);
3253
- };
3254
- this.isSpeedy = options.speedy === void 0 ? true : options.speedy;
3255
- this.tags = [];
3256
- this.ctr = 0;
3257
- this.nonce = options.nonce;
3258
- this.key = options.key;
3259
- this.container = options.container;
3260
- this.prepend = options.prepend;
3261
- this.insertionPoint = options.insertionPoint;
3262
- this.before = null;
3263
- }
3264
- var _proto = StyleSheet2.prototype;
3265
- _proto.hydrate = function hydrate(nodes) {
3266
- nodes.forEach(this._insertTag);
3267
- };
3268
- _proto.insert = function insert(rule) {
3269
- if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
3270
- this._insertTag(createStyleElement(this));
3271
- }
3272
- var tag = this.tags[this.tags.length - 1];
3273
- if (this.isSpeedy) {
3274
- var sheet = sheetForTag(tag);
3275
- try {
3276
- sheet.insertRule(rule, sheet.cssRules.length);
3277
- } catch (e) {
3278
- }
3279
- } else {
3280
- tag.appendChild(document.createTextNode(rule));
3281
- }
3282
- this.ctr++;
3283
- };
3284
- _proto.flush = function flush() {
3285
- this.tags.forEach(function(tag) {
3286
- var _tag$parentNode;
3287
- return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
3288
- });
3289
- this.tags = [];
3290
- this.ctr = 0;
3291
- };
3292
- return StyleSheet2;
3293
- }();
3294
- var MS = "-ms-";
3295
- var MOZ = "-moz-";
3296
- var WEBKIT = "-webkit-";
3297
- var COMMENT = "comm";
3298
- var RULESET = "rule";
3299
- var DECLARATION = "decl";
3300
- var IMPORT = "@import";
3301
- var KEYFRAMES = "@keyframes";
3302
- var LAYER = "@layer";
3303
- var abs = Math.abs;
3304
- var from = String.fromCharCode;
3305
- var assign = Object.assign;
3306
- function hash$2(value, length2) {
3307
- return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
3308
- }
3309
- function trim(value) {
3310
- return value.trim();
3311
- }
3312
- function match(value, pattern) {
3313
- return (value = pattern.exec(value)) ? value[0] : value;
3314
- }
3315
- function replace(value, pattern, replacement) {
3316
- return value.replace(pattern, replacement);
3317
- }
3318
- function indexof(value, search) {
3319
- return value.indexOf(search);
3320
- }
3321
- function charat(value, index) {
3322
- return value.charCodeAt(index) | 0;
3323
- }
3324
- function substr(value, begin, end2) {
3325
- return value.slice(begin, end2);
3326
- }
3327
- function strlen(value) {
3328
- return value.length;
3329
- }
3330
- function sizeof(value) {
3331
- return value.length;
3332
- }
3333
- function append(value, array) {
3334
- return array.push(value), value;
3335
- }
3336
- function combine(array, callback) {
3337
- return array.map(callback).join("");
3338
- }
3339
- var line = 1;
3340
- var column = 1;
3341
- var length = 0;
3342
- var position = 0;
3343
- var character = 0;
3344
- var characters = "";
3345
- function node(value, root, parent, type, props, children, length2) {
3346
- return { value, root, parent, type, props, children, line, column, length: length2, return: "" };
3347
- }
3348
- function copy(root, props) {
3349
- return assign(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
3350
- }
3351
- function char() {
3352
- return character;
3353
- }
3354
- function prev() {
3355
- character = position > 0 ? charat(characters, --position) : 0;
3356
- if (column--, character === 10)
3357
- column = 1, line--;
3358
- return character;
3359
- }
3360
- function next() {
3361
- character = position < length ? charat(characters, position++) : 0;
3362
- if (column++, character === 10)
3363
- column = 1, line++;
3364
- return character;
3365
- }
3366
- function peek() {
3367
- return charat(characters, position);
3368
- }
3369
- function caret() {
3370
- return position;
3371
- }
3372
- function slice(begin, end2) {
3373
- return substr(characters, begin, end2);
3374
- }
3375
- function token(type) {
3376
- switch (type) {
3377
- // \0 \t \n \r \s whitespace token
3378
- case 0:
3379
- case 9:
3380
- case 10:
3381
- case 13:
3382
- case 32:
3383
- return 5;
3384
- // ! + , / > @ ~ isolate token
3385
- case 33:
3386
- case 43:
3387
- case 44:
3388
- case 47:
3389
- case 62:
3390
- case 64:
3391
- case 126:
3392
- // ; { } breakpoint token
3393
- case 59:
3394
- case 123:
3395
- case 125:
3396
- return 4;
3397
- // : accompanied token
3398
- case 58:
3399
- return 3;
3400
- // " ' ( [ opening delimit token
3401
- case 34:
3402
- case 39:
3403
- case 40:
3404
- case 91:
3405
- return 2;
3406
- // ) ] closing delimit token
3407
- case 41:
3408
- case 93:
3409
- return 1;
3410
- }
3411
- return 0;
3412
- }
3413
- function alloc(value) {
3414
- return line = column = 1, length = strlen(characters = value), position = 0, [];
3415
- }
3416
- function dealloc(value) {
3417
- return characters = "", value;
3418
- }
3419
- function delimit(type) {
3420
- return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
3421
- }
3422
- function whitespace(type) {
3423
- while (character = peek())
3424
- if (character < 33)
3425
- next();
3426
- else
3427
- break;
3428
- return token(type) > 2 || token(character) > 3 ? "" : " ";
3429
- }
3430
- function escaping(index, count) {
3431
- while (--count && next())
3432
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
3433
- break;
3434
- return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
3435
- }
3436
- function delimiter(type) {
3437
- while (next())
3438
- switch (character) {
3439
- // ] ) " '
3440
- case type:
3441
- return position;
3442
- // " '
3443
- case 34:
3444
- case 39:
3445
- if (type !== 34 && type !== 39)
3446
- delimiter(character);
3447
- break;
3448
- // (
3449
- case 40:
3450
- if (type === 41)
3451
- delimiter(type);
3452
- break;
3453
- // \
3454
- case 92:
3455
- next();
3456
- break;
3457
- }
3458
- return position;
3459
- }
3460
- function commenter(type, index) {
3461
- while (next())
3462
- if (type + character === 47 + 10)
3463
- break;
3464
- else if (type + character === 42 + 42 && peek() === 47)
3465
- break;
3466
- return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
3467
- }
3468
- function identifier(index) {
3469
- while (!token(peek()))
3470
- next();
3471
- return slice(index, position);
3472
- }
3473
- function compile(value) {
3474
- return dealloc(parse$1("", null, null, null, [""], value = alloc(value), 0, [0], value));
3475
- }
3476
- function parse$1(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
3477
- var index = 0;
3478
- var offset2 = 0;
3479
- var length2 = pseudo;
3480
- var atrule = 0;
3481
- var property = 0;
3482
- var previous = 0;
3483
- var variable = 1;
3484
- var scanning = 1;
3485
- var ampersand = 1;
3486
- var character2 = 0;
3487
- var type = "";
3488
- var props = rules;
3489
- var children = rulesets;
3490
- var reference2 = rule;
3491
- var characters2 = type;
3492
- while (scanning)
3493
- switch (previous = character2, character2 = next()) {
3494
- // (
3495
- case 40:
3496
- if (previous != 108 && charat(characters2, length2 - 1) == 58) {
3497
- if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
3498
- ampersand = -1;
3499
- break;
3500
- }
3501
- // " ' [
3502
- case 34:
3503
- case 39:
3504
- case 91:
3505
- characters2 += delimit(character2);
3506
- break;
3507
- // \t \n \r \s
3508
- case 9:
3509
- case 10:
3510
- case 13:
3511
- case 32:
3512
- characters2 += whitespace(previous);
3513
- break;
3514
- // \
3515
- case 92:
3516
- characters2 += escaping(caret() - 1, 7);
3517
- continue;
3518
- // /
3519
- case 47:
3520
- switch (peek()) {
3521
- case 42:
3522
- case 47:
3523
- append(comment(commenter(next(), caret()), root, parent), declarations);
3524
- break;
3525
- default:
3526
- characters2 += "/";
3527
- }
3528
- break;
3529
- // {
3530
- case 123 * variable:
3531
- points[index++] = strlen(characters2) * ampersand;
3532
- // } ; \0
3533
- case 125 * variable:
3534
- case 59:
3535
- case 0:
3536
- switch (character2) {
3537
- // \0 }
3538
- case 0:
3539
- case 125:
3540
- scanning = 0;
3541
- // ;
3542
- case 59 + offset2:
3543
- if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
3544
- if (property > 0 && strlen(characters2) - length2)
3545
- append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
3546
- break;
3547
- // @ ;
3548
- case 59:
3549
- characters2 += ";";
3550
- // { rule/at-rule
3551
- default:
3552
- append(reference2 = ruleset(characters2, root, parent, index, offset2, rules, points, type, props = [], children = [], length2), rulesets);
3553
- if (character2 === 123)
3554
- if (offset2 === 0)
3555
- parse$1(characters2, root, reference2, reference2, props, rulesets, length2, points, children);
3556
- else
3557
- switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
3558
- // d l m s
3559
- case 100:
3560
- case 108:
3561
- case 109:
3562
- case 115:
3563
- parse$1(value, reference2, reference2, rule && append(ruleset(value, reference2, reference2, 0, 0, rules, points, type, rules, props = [], length2), children), rules, children, length2, points, rule ? props : children);
3564
- break;
3565
- default:
3566
- parse$1(characters2, reference2, reference2, reference2, [""], children, 0, points, children);
3567
- }
3568
- }
3569
- index = offset2 = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
3570
- break;
3571
- // :
3572
- case 58:
3573
- length2 = 1 + strlen(characters2), property = previous;
3574
- default:
3575
- if (variable < 1) {
3576
- if (character2 == 123)
3577
- --variable;
3578
- else if (character2 == 125 && variable++ == 0 && prev() == 125)
3579
- continue;
3580
- }
3581
- switch (characters2 += from(character2), character2 * variable) {
3582
- // &
3583
- case 38:
3584
- ampersand = offset2 > 0 ? 1 : (characters2 += "\f", -1);
3585
- break;
3586
- // ,
3587
- case 44:
3588
- points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
3589
- break;
3590
- // @
3591
- case 64:
3592
- if (peek() === 45)
3593
- characters2 += delimit(next());
3594
- atrule = peek(), offset2 = length2 = strlen(type = characters2 += identifier(caret())), character2++;
3595
- break;
3596
- // -
3597
- case 45:
3598
- if (previous === 45 && strlen(characters2) == 2)
3599
- variable = 0;
3600
- }
3601
- }
3602
- return rulesets;
3603
- }
3604
- function ruleset(value, root, parent, index, offset2, rules, points, type, props, children, length2) {
3605
- var post = offset2 - 1;
3606
- var rule = offset2 === 0 ? rules : [""];
3607
- var size = sizeof(rule);
3608
- for (var i = 0, j = 0, k = 0; i < index; ++i)
3609
- for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
3610
- if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
3611
- props[k++] = z;
3612
- return node(value, root, parent, offset2 === 0 ? RULESET : type, props, children, length2);
3613
- }
3614
- function comment(value, root, parent) {
3615
- return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
3616
- }
3617
- function declaration(value, root, parent, length2) {
3618
- return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
3619
- }
3620
- function serialize(children, callback) {
3621
- var output = "";
3622
- var length2 = sizeof(children);
3623
- for (var i = 0; i < length2; i++)
3624
- output += callback(children[i], i, children, callback) || "";
3625
- return output;
3626
- }
3627
- function stringify(element, index, children, callback) {
3628
- switch (element.type) {
3629
- case LAYER:
3630
- if (element.children.length) break;
3631
- case IMPORT:
3632
- case DECLARATION:
3633
- return element.return = element.return || element.value;
3634
- case COMMENT:
3635
- return "";
3636
- case KEYFRAMES:
3637
- return element.return = element.value + "{" + serialize(element.children, callback) + "}";
3638
- case RULESET:
3639
- element.value = element.props.join(",");
3640
- }
3641
- return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
3642
- }
3643
- function middleware(collection) {
3644
- var length2 = sizeof(collection);
3645
- return function(element, index, children, callback) {
3646
- var output = "";
3647
- for (var i = 0; i < length2; i++)
3648
- output += collection[i](element, index, children, callback) || "";
3649
- return output;
3650
- };
3651
- }
3652
- function rulesheet(callback) {
3653
- return function(element) {
3654
- if (!element.root) {
3655
- if (element = element.return)
3656
- callback(element);
3657
- }
3658
- };
3659
- }
3660
- var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
3661
- var previous = 0;
3662
- var character2 = 0;
3663
- while (true) {
3664
- previous = character2;
3665
- character2 = peek();
3666
- if (previous === 38 && character2 === 12) {
3667
- points[index] = 1;
3668
- }
3669
- if (token(character2)) {
3670
- break;
3671
- }
3672
- next();
3673
- }
3674
- return slice(begin, position);
3675
- };
3676
- var toRules = function toRules2(parsed, points) {
3677
- var index = -1;
3678
- var character2 = 44;
3679
- do {
3680
- switch (token(character2)) {
3681
- case 0:
3682
- if (character2 === 38 && peek() === 12) {
3683
- points[index] = 1;
3684
- }
3685
- parsed[index] += identifierWithPointTracking(position - 1, points, index);
3686
- break;
3687
- case 2:
3688
- parsed[index] += delimit(character2);
3689
- break;
3690
- case 4:
3691
- if (character2 === 44) {
3692
- parsed[++index] = peek() === 58 ? "&\f" : "";
3693
- points[index] = parsed[index].length;
3694
- break;
3695
- }
3696
- // fallthrough
3697
- default:
3698
- parsed[index] += from(character2);
3699
- }
3700
- } while (character2 = next());
3701
- return parsed;
3702
- };
3703
- var getRules = function getRules2(value, points) {
3704
- return dealloc(toRules(alloc(value), points));
3705
- };
3706
- var fixedElements = /* @__PURE__ */ new WeakMap();
3707
- var compat = function compat2(element) {
3708
- if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
3709
- // negative .length indicates that this rule has been already prefixed
3710
- element.length < 1) {
3711
- return;
3712
- }
3713
- var value = element.value;
3714
- var parent = element.parent;
3715
- var isImplicitRule = element.column === parent.column && element.line === parent.line;
3716
- while (parent.type !== "rule") {
3717
- parent = parent.parent;
3718
- if (!parent) return;
3719
- }
3720
- if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
3721
- return;
3722
- }
3723
- if (isImplicitRule) {
3724
- return;
3725
- }
3726
- fixedElements.set(element, true);
3727
- var points = [];
3728
- var rules = getRules(value, points);
3729
- var parentRules = parent.props;
3730
- for (var i = 0, k = 0; i < rules.length; i++) {
3731
- for (var j = 0; j < parentRules.length; j++, k++) {
3732
- element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
3733
- }
3734
- }
3735
- };
3736
- var removeLabel = function removeLabel2(element) {
3737
- if (element.type === "decl") {
3738
- var value = element.value;
3739
- if (
3740
- // charcode for l
3741
- value.charCodeAt(0) === 108 && // charcode for b
3742
- value.charCodeAt(2) === 98
3743
- ) {
3744
- element["return"] = "";
3745
- element.value = "";
3746
- }
3747
- }
3748
- };
3749
- function prefix(value, length2) {
3750
- switch (hash$2(value, length2)) {
3751
- // color-adjust
3752
- case 5103:
3753
- return WEBKIT + "print-" + value + value;
3754
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
3755
- case 5737:
3756
- case 4201:
3757
- case 3177:
3758
- case 3433:
3759
- case 1641:
3760
- case 4457:
3761
- case 2921:
3762
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
3763
- case 5572:
3764
- case 6356:
3765
- case 5844:
3766
- case 3191:
3767
- case 6645:
3768
- case 3005:
3769
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
3770
- case 6391:
3771
- case 5879:
3772
- case 5623:
3773
- case 6135:
3774
- case 4599:
3775
- case 4855:
3776
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
3777
- case 4215:
3778
- case 6389:
3779
- case 5109:
3780
- case 5365:
3781
- case 5621:
3782
- case 3829:
3783
- return WEBKIT + value + value;
3784
- // appearance, user-select, transform, hyphens, text-size-adjust
3785
- case 5349:
3786
- case 4246:
3787
- case 4810:
3788
- case 6968:
3789
- case 2756:
3790
- return WEBKIT + value + MOZ + value + MS + value + value;
3791
- // flex, flex-direction
3792
- case 6828:
3793
- case 4268:
3794
- return WEBKIT + value + MS + value + value;
3795
- // order
3796
- case 6165:
3797
- return WEBKIT + value + MS + "flex-" + value + value;
3798
- // align-items
3799
- case 5187:
3800
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
3801
- // align-self
3802
- case 5443:
3803
- return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
3804
- // align-content
3805
- case 4675:
3806
- return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
3807
- // flex-shrink
3808
- case 5548:
3809
- return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
3810
- // flex-basis
3811
- case 5292:
3812
- return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
3813
- // flex-grow
3814
- case 6060:
3815
- return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
3816
- // transition
3817
- case 4554:
3818
- return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
3819
- // cursor
3820
- case 6187:
3821
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
3822
- // background, background-image
3823
- case 5495:
3824
- case 3959:
3825
- return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
3826
- // justify-content
3827
- case 4968:
3828
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
3829
- // (margin|padding)-inline-(start|end)
3830
- case 4095:
3831
- case 3583:
3832
- case 4068:
3833
- case 2532:
3834
- return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
3835
- // (min|max)?(width|height|inline-size|block-size)
3836
- case 8116:
3837
- case 7059:
3838
- case 5753:
3839
- case 5535:
3840
- case 5445:
3841
- case 5701:
3842
- case 4933:
3843
- case 4677:
3844
- case 5533:
3845
- case 5789:
3846
- case 5021:
3847
- case 4765:
3848
- if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
3849
- // (m)ax-content, (m)in-content
3850
- case 109:
3851
- if (charat(value, length2 + 4) !== 45) break;
3852
- // (f)ill-available, (f)it-content
3853
- case 102:
3854
- return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
3855
- // (s)tretch
3856
- case 115:
3857
- return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
3858
- }
3859
- break;
3860
- // position: sticky
3861
- case 4949:
3862
- if (charat(value, length2 + 1) !== 115) break;
3863
- // display: (flex|inline-flex)
3864
- case 6444:
3865
- switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
3866
- // stic(k)y
3867
- case 107:
3868
- return replace(value, ":", ":" + WEBKIT) + value;
3869
- // (inline-)?fl(e)x
3870
- case 101:
3871
- return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
3872
- }
3873
- break;
3874
- // writing-mode
3875
- case 5936:
3876
- switch (charat(value, length2 + 11)) {
3877
- // vertical-l(r)
3878
- case 114:
3879
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
3880
- // vertical-r(l)
3881
- case 108:
3882
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
3883
- // horizontal(-)tb
3884
- case 45:
3885
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
3886
- }
3887
- return WEBKIT + value + MS + value + value;
3888
- }
3889
- return value;
3890
- }
3891
- var prefixer = function prefixer2(element, index, children, callback) {
3892
- if (element.length > -1) {
3893
- if (!element["return"]) switch (element.type) {
3894
- case DECLARATION:
3895
- element["return"] = prefix(element.value, element.length);
3896
- break;
3897
- case KEYFRAMES:
3898
- return serialize([copy(element, {
3899
- value: replace(element.value, "@", "@" + WEBKIT)
3900
- })], callback);
3901
- case RULESET:
3902
- if (element.length) return combine(element.props, function(value) {
3903
- switch (match(value, /(::plac\w+|:read-\w+)/)) {
3904
- // :read-(only|write)
3905
- case ":read-only":
3906
- case ":read-write":
3907
- return serialize([copy(element, {
3908
- props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
3909
- })], callback);
3910
- // :placeholder
3911
- case "::placeholder":
3912
- return serialize([copy(element, {
3913
- props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
3914
- }), copy(element, {
3915
- props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
3916
- }), copy(element, {
3917
- props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
3918
- })], callback);
3919
- }
3920
- return "";
3921
- });
3922
- }
3923
- }
3924
- };
3925
- var defaultStylisPlugins = [prefixer];
3926
- var createCache = function createCache2(options) {
3927
- var key = options.key;
3928
- if (key === "css") {
3929
- var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
3930
- Array.prototype.forEach.call(ssrStyles, function(node2) {
3931
- var dataEmotionAttribute = node2.getAttribute("data-emotion");
3932
- if (dataEmotionAttribute.indexOf(" ") === -1) {
3933
- return;
3934
- }
3935
- document.head.appendChild(node2);
3936
- node2.setAttribute("data-s", "");
3937
- });
3938
- }
3939
- var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
3940
- var inserted = {};
3941
- var container;
3942
- var nodesToHydrate = [];
3943
- {
3944
- container = options.container || document.head;
3945
- Array.prototype.forEach.call(
3946
- // this means we will ignore elements which don't have a space in them which
3947
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
3948
- document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
3949
- function(node2) {
3950
- var attrib = node2.getAttribute("data-emotion").split(" ");
3951
- for (var i = 1; i < attrib.length; i++) {
3952
- inserted[attrib[i]] = true;
3953
- }
3954
- nodesToHydrate.push(node2);
3955
- }
3956
- );
3957
- }
3958
- var _insert;
3959
- var omnipresentPlugins = [compat, removeLabel];
3960
- {
3961
- var currentSheet;
3962
- var finalizingPlugins = [stringify, rulesheet(function(rule) {
3963
- currentSheet.insert(rule);
3964
- })];
3965
- var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
3966
- var stylis = function stylis2(styles) {
3967
- return serialize(compile(styles), serializer);
3968
- };
3969
- _insert = function insert(selector, serialized, sheet, shouldCache) {
3970
- currentSheet = sheet;
3971
- stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
3972
- if (shouldCache) {
3973
- cache.inserted[serialized.name] = true;
3974
- }
3975
- };
3976
- }
3977
- var cache = {
3978
- key,
3979
- sheet: new StyleSheet({
3980
- key,
3981
- container,
3982
- nonce: options.nonce,
3983
- speedy: options.speedy,
3984
- prepend: options.prepend,
3985
- insertionPoint: options.insertionPoint
3986
- }),
3987
- nonce: options.nonce,
3988
- inserted,
3989
- registered: {},
3990
- insert: _insert
3991
- };
3992
- cache.sheet.hydrate(nodesToHydrate);
3993
- return cache;
3994
- };
3995
- function _extends() {
3996
- return _extends = Object.assign ? Object.assign.bind() : function(n) {
3997
- for (var e = 1; e < arguments.length; e++) {
3998
- var t = arguments[e];
3999
- for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n[r2] = t[r2]);
4000
- }
4001
- return n;
4002
- }, _extends.apply(null, arguments);
4003
- }
4004
- var reactIs = { exports: {} };
4005
- var reactIs_production_min = {};
4006
- /** @license React v16.13.1
4007
- * react-is.production.min.js
4008
- *
4009
- * Copyright (c) Facebook, Inc. and its affiliates.
4010
- *
4011
- * This source code is licensed under the MIT license found in the
4012
- * LICENSE file in the root directory of this source tree.
4013
- */
4014
- var hasRequiredReactIs_production_min;
4015
- function requireReactIs_production_min() {
4016
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
4017
- hasRequiredReactIs_production_min = 1;
4018
- var b = "function" === typeof Symbol && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r2 = b ? Symbol.for("react.memo") : 60115, t = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
4019
- function z(a) {
4020
- if ("object" === typeof a && null !== a) {
4021
- var u = a.$$typeof;
4022
- switch (u) {
4023
- case c:
4024
- switch (a = a.type, a) {
4025
- case l:
4026
- case m:
4027
- case e:
4028
- case g:
4029
- case f:
4030
- case p:
4031
- return a;
4032
- default:
4033
- switch (a = a && a.$$typeof, a) {
4034
- case k:
4035
- case n:
4036
- case t:
4037
- case r2:
4038
- case h:
4039
- return a;
4040
- default:
4041
- return u;
4042
- }
4043
- }
4044
- case d:
4045
- return u;
4046
- }
4047
- }
4048
- }
4049
- function A(a) {
4050
- return z(a) === m;
4051
- }
4052
- reactIs_production_min.AsyncMode = l;
4053
- reactIs_production_min.ConcurrentMode = m;
4054
- reactIs_production_min.ContextConsumer = k;
4055
- reactIs_production_min.ContextProvider = h;
4056
- reactIs_production_min.Element = c;
4057
- reactIs_production_min.ForwardRef = n;
4058
- reactIs_production_min.Fragment = e;
4059
- reactIs_production_min.Lazy = t;
4060
- reactIs_production_min.Memo = r2;
4061
- reactIs_production_min.Portal = d;
4062
- reactIs_production_min.Profiler = g;
4063
- reactIs_production_min.StrictMode = f;
4064
- reactIs_production_min.Suspense = p;
4065
- reactIs_production_min.isAsyncMode = function(a) {
4066
- return A(a) || z(a) === l;
4067
- };
4068
- reactIs_production_min.isConcurrentMode = A;
4069
- reactIs_production_min.isContextConsumer = function(a) {
4070
- return z(a) === k;
4071
- };
4072
- reactIs_production_min.isContextProvider = function(a) {
4073
- return z(a) === h;
4074
- };
4075
- reactIs_production_min.isElement = function(a) {
4076
- return "object" === typeof a && null !== a && a.$$typeof === c;
4077
- };
4078
- reactIs_production_min.isForwardRef = function(a) {
4079
- return z(a) === n;
4080
- };
4081
- reactIs_production_min.isFragment = function(a) {
4082
- return z(a) === e;
4083
- };
4084
- reactIs_production_min.isLazy = function(a) {
4085
- return z(a) === t;
4086
- };
4087
- reactIs_production_min.isMemo = function(a) {
4088
- return z(a) === r2;
4089
- };
4090
- reactIs_production_min.isPortal = function(a) {
4091
- return z(a) === d;
4092
- };
4093
- reactIs_production_min.isProfiler = function(a) {
4094
- return z(a) === g;
4095
- };
4096
- reactIs_production_min.isStrictMode = function(a) {
4097
- return z(a) === f;
4098
- };
4099
- reactIs_production_min.isSuspense = function(a) {
4100
- return z(a) === p;
4101
- };
4102
- reactIs_production_min.isValidElementType = function(a) {
4103
- return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r2 || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
4104
- };
4105
- reactIs_production_min.typeOf = z;
4106
- return reactIs_production_min;
4107
- }
4108
- var reactIs_development = {};
4109
- /** @license React v16.13.1
4110
- * react-is.development.js
4111
- *
4112
- * Copyright (c) Facebook, Inc. and its affiliates.
4113
- *
4114
- * This source code is licensed under the MIT license found in the
4115
- * LICENSE file in the root directory of this source tree.
4116
- */
4117
- var hasRequiredReactIs_development;
4118
- function requireReactIs_development() {
4119
- if (hasRequiredReactIs_development) return reactIs_development;
4120
- hasRequiredReactIs_development = 1;
4121
- if (process.env.NODE_ENV !== "production") {
4122
- (function() {
4123
- var hasSymbol = typeof Symbol === "function" && Symbol.for;
4124
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
4125
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
4126
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
4127
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
4128
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
4129
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
4130
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
4131
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
4132
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
4133
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
4134
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
4135
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
4136
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
4137
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
4138
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
4139
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
4140
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
4141
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
4142
- function isValidElementType(type) {
4143
- return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
4144
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
4145
- }
4146
- function typeOf3(object) {
4147
- if (typeof object === "object" && object !== null) {
4148
- var $$typeof = object.$$typeof;
4149
- switch ($$typeof) {
4150
- case REACT_ELEMENT_TYPE:
4151
- var type = object.type;
4152
- switch (type) {
4153
- case REACT_ASYNC_MODE_TYPE:
4154
- case REACT_CONCURRENT_MODE_TYPE:
4155
- case REACT_FRAGMENT_TYPE:
4156
- case REACT_PROFILER_TYPE:
4157
- case REACT_STRICT_MODE_TYPE:
4158
- case REACT_SUSPENSE_TYPE:
4159
- return type;
4160
- default:
4161
- var $$typeofType = type && type.$$typeof;
4162
- switch ($$typeofType) {
4163
- case REACT_CONTEXT_TYPE:
4164
- case REACT_FORWARD_REF_TYPE:
4165
- case REACT_LAZY_TYPE:
4166
- case REACT_MEMO_TYPE:
4167
- case REACT_PROVIDER_TYPE:
4168
- return $$typeofType;
4169
- default:
4170
- return $$typeof;
4171
- }
4172
- }
4173
- case REACT_PORTAL_TYPE:
4174
- return $$typeof;
4175
- }
4176
- }
4177
- return void 0;
4178
- }
4179
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
4180
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
4181
- var ContextConsumer = REACT_CONTEXT_TYPE;
4182
- var ContextProvider = REACT_PROVIDER_TYPE;
4183
- var Element2 = REACT_ELEMENT_TYPE;
4184
- var ForwardRef = REACT_FORWARD_REF_TYPE;
4185
- var Fragment = REACT_FRAGMENT_TYPE;
4186
- var Lazy = REACT_LAZY_TYPE;
4187
- var Memo = REACT_MEMO_TYPE;
4188
- var Portal = REACT_PORTAL_TYPE;
4189
- var Profiler = REACT_PROFILER_TYPE;
4190
- var StrictMode = REACT_STRICT_MODE_TYPE;
4191
- var Suspense = REACT_SUSPENSE_TYPE;
4192
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
4193
- function isAsyncMode(object) {
4194
- {
4195
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
4196
- hasWarnedAboutDeprecatedIsAsyncMode = true;
4197
- 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.");
4198
- }
4199
- }
4200
- return isConcurrentMode(object) || typeOf3(object) === REACT_ASYNC_MODE_TYPE;
4201
- }
4202
- function isConcurrentMode(object) {
4203
- return typeOf3(object) === REACT_CONCURRENT_MODE_TYPE;
4204
- }
4205
- function isContextConsumer(object) {
4206
- return typeOf3(object) === REACT_CONTEXT_TYPE;
4207
- }
4208
- function isContextProvider(object) {
4209
- return typeOf3(object) === REACT_PROVIDER_TYPE;
4210
- }
4211
- function isElement2(object) {
4212
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
4213
- }
4214
- function isForwardRef(object) {
4215
- return typeOf3(object) === REACT_FORWARD_REF_TYPE;
4216
- }
4217
- function isFragment(object) {
4218
- return typeOf3(object) === REACT_FRAGMENT_TYPE;
4219
- }
4220
- function isLazy(object) {
4221
- return typeOf3(object) === REACT_LAZY_TYPE;
4222
- }
4223
- function isMemo(object) {
4224
- return typeOf3(object) === REACT_MEMO_TYPE;
4225
- }
4226
- function isPortal(object) {
4227
- return typeOf3(object) === REACT_PORTAL_TYPE;
4228
- }
4229
- function isProfiler(object) {
4230
- return typeOf3(object) === REACT_PROFILER_TYPE;
4231
- }
4232
- function isStrictMode(object) {
4233
- return typeOf3(object) === REACT_STRICT_MODE_TYPE;
4234
- }
4235
- function isSuspense(object) {
4236
- return typeOf3(object) === REACT_SUSPENSE_TYPE;
4237
- }
4238
- reactIs_development.AsyncMode = AsyncMode;
4239
- reactIs_development.ConcurrentMode = ConcurrentMode;
4240
- reactIs_development.ContextConsumer = ContextConsumer;
4241
- reactIs_development.ContextProvider = ContextProvider;
4242
- reactIs_development.Element = Element2;
4243
- reactIs_development.ForwardRef = ForwardRef;
4244
- reactIs_development.Fragment = Fragment;
4245
- reactIs_development.Lazy = Lazy;
4246
- reactIs_development.Memo = Memo;
4247
- reactIs_development.Portal = Portal;
4248
- reactIs_development.Profiler = Profiler;
4249
- reactIs_development.StrictMode = StrictMode;
4250
- reactIs_development.Suspense = Suspense;
4251
- reactIs_development.isAsyncMode = isAsyncMode;
4252
- reactIs_development.isConcurrentMode = isConcurrentMode;
4253
- reactIs_development.isContextConsumer = isContextConsumer;
4254
- reactIs_development.isContextProvider = isContextProvider;
4255
- reactIs_development.isElement = isElement2;
4256
- reactIs_development.isForwardRef = isForwardRef;
4257
- reactIs_development.isFragment = isFragment;
4258
- reactIs_development.isLazy = isLazy;
4259
- reactIs_development.isMemo = isMemo;
4260
- reactIs_development.isPortal = isPortal;
4261
- reactIs_development.isProfiler = isProfiler;
4262
- reactIs_development.isStrictMode = isStrictMode;
4263
- reactIs_development.isSuspense = isSuspense;
4264
- reactIs_development.isValidElementType = isValidElementType;
4265
- reactIs_development.typeOf = typeOf3;
4266
- })();
4267
- }
4268
- return reactIs_development;
4269
- }
4270
- var hasRequiredReactIs;
4271
- function requireReactIs() {
4272
- if (hasRequiredReactIs) return reactIs.exports;
4273
- hasRequiredReactIs = 1;
4274
- if (process.env.NODE_ENV === "production") {
4275
- reactIs.exports = requireReactIs_production_min();
4276
- } else {
4277
- reactIs.exports = requireReactIs_development();
4278
- }
4279
- return reactIs.exports;
4280
- }
4281
- var hoistNonReactStatics_cjs;
4282
- var hasRequiredHoistNonReactStatics_cjs;
4283
- function requireHoistNonReactStatics_cjs() {
4284
- if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
4285
- hasRequiredHoistNonReactStatics_cjs = 1;
4286
- var reactIs2 = requireReactIs();
4287
- var REACT_STATICS = {
4288
- childContextTypes: true,
4289
- contextType: true,
4290
- contextTypes: true,
4291
- defaultProps: true,
4292
- displayName: true,
4293
- getDefaultProps: true,
4294
- getDerivedStateFromError: true,
4295
- getDerivedStateFromProps: true,
4296
- mixins: true,
4297
- propTypes: true,
4298
- type: true
4299
- };
4300
- var KNOWN_STATICS = {
4301
- name: true,
4302
- length: true,
4303
- prototype: true,
4304
- caller: true,
4305
- callee: true,
4306
- arguments: true,
4307
- arity: true
4308
- };
4309
- var FORWARD_REF_STATICS = {
4310
- "$$typeof": true,
4311
- render: true,
4312
- defaultProps: true,
4313
- displayName: true,
4314
- propTypes: true
4315
- };
4316
- var MEMO_STATICS = {
4317
- "$$typeof": true,
4318
- compare: true,
4319
- defaultProps: true,
4320
- displayName: true,
4321
- propTypes: true,
4322
- type: true
4323
- };
4324
- var TYPE_STATICS = {};
4325
- TYPE_STATICS[reactIs2.ForwardRef] = FORWARD_REF_STATICS;
4326
- TYPE_STATICS[reactIs2.Memo] = MEMO_STATICS;
4327
- function getStatics(component) {
4328
- if (reactIs2.isMemo(component)) {
4329
- return MEMO_STATICS;
4330
- }
4331
- return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS;
4332
- }
4333
- var defineProperty = Object.defineProperty;
4334
- var getOwnPropertyNames = Object.getOwnPropertyNames;
4335
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
4336
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
4337
- var getPrototypeOf = Object.getPrototypeOf;
4338
- var objectPrototype = Object.prototype;
4339
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
4340
- if (typeof sourceComponent !== "string") {
4341
- if (objectPrototype) {
4342
- var inheritedComponent = getPrototypeOf(sourceComponent);
4343
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
4344
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
4345
- }
4346
- }
4347
- var keys = getOwnPropertyNames(sourceComponent);
4348
- if (getOwnPropertySymbols) {
4349
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
4350
- }
4351
- var targetStatics = getStatics(targetComponent);
4352
- var sourceStatics = getStatics(sourceComponent);
4353
- for (var i = 0; i < keys.length; ++i) {
4354
- var key = keys[i];
4355
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
4356
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
4357
- try {
4358
- defineProperty(targetComponent, key, descriptor);
4359
- } catch (e) {
4360
- }
4361
- }
4362
- }
4363
- }
4364
- return targetComponent;
4365
- }
4366
- hoistNonReactStatics_cjs = hoistNonReactStatics;
4367
- return hoistNonReactStatics_cjs;
4368
- }
4369
- requireHoistNonReactStatics_cjs();
4370
- var isBrowser = true;
4371
- function getRegisteredStyles(registered, registeredStyles, classNames2) {
4372
- var rawClassName = "";
4373
- classNames2.split(" ").forEach(function(className) {
4374
- if (registered[className] !== void 0) {
4375
- registeredStyles.push(registered[className] + ";");
4376
- } else if (className) {
4377
- rawClassName += className + " ";
4378
- }
4379
- });
4380
- return rawClassName;
4381
- }
4382
- var registerStyles = function registerStyles2(cache, serialized, isStringTag2) {
4383
- var className = cache.key + "-" + serialized.name;
4384
- if (
4385
- // we only need to add the styles to the registered cache if the
4386
- // class name could be used further down
4387
- // the tree but if it's a string tag, we know it won't
4388
- // so we don't have to add it to registered cache.
4389
- // this improves memory usage since we can avoid storing the whole style string
4390
- (isStringTag2 === false || // we need to always store it if we're in compat mode and
4391
- // in node since emotion-server relies on whether a style is in
4392
- // the registered cache to know whether a style is global or not
4393
- // also, note that this check will be dead code eliminated in the browser
4394
- isBrowser === false) && cache.registered[className] === void 0
4395
- ) {
4396
- cache.registered[className] = serialized.styles;
4397
- }
4398
- };
4399
- var insertStyles = function insertStyles2(cache, serialized, isStringTag2) {
4400
- registerStyles(cache, serialized, isStringTag2);
4401
- var className = cache.key + "-" + serialized.name;
4402
- if (cache.inserted[serialized.name] === void 0) {
4403
- var current = serialized;
4404
- do {
4405
- cache.insert(serialized === current ? "." + className : "", current, cache.sheet, true);
4406
- current = current.next;
4407
- } while (current !== void 0);
4408
- }
4409
- };
4410
- var syncFallback = function syncFallback2(create) {
4411
- return create();
4412
- };
4413
- var useInsertionEffect = React["useInsertionEffect"] ? React["useInsertionEffect"] : false;
4414
- var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
4415
- var EmotionCacheContext = /* @__PURE__ */ React.createContext(
4416
- // we're doing this to avoid preconstruct's dead code elimination in this one case
4417
- // because this module is primarily intended for the browser and node
4418
- // but it's also required in react native and similar environments sometimes
4419
- // and we could have a special build just for that
4420
- // but this is much easier and the native packages
4421
- // might use a different theme context in the future anyway
4422
- typeof HTMLElement !== "undefined" ? /* @__PURE__ */ createCache({
4423
- key: "css"
4424
- }) : null
4425
- );
4426
- EmotionCacheContext.Provider;
4427
- var withEmotionCache = function withEmotionCache2(func) {
4428
- return /* @__PURE__ */ forwardRef(function(props, ref) {
4429
- var cache = useContext(EmotionCacheContext);
4430
- return func(props, cache, ref);
4431
- });
4432
- };
4433
- var ThemeContext$1 = /* @__PURE__ */ React.createContext({});
4434
- var hasOwn = {}.hasOwnProperty;
4435
- var typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__";
4436
- var createEmotionProps = function createEmotionProps2(type, props) {
4437
- var newProps = {};
4438
- for (var _key in props) {
4439
- if (hasOwn.call(props, _key)) {
4440
- newProps[_key] = props[_key];
4441
- }
4442
- }
4443
- newProps[typePropName] = type;
4444
- return newProps;
4445
- };
4446
- var Insertion = function Insertion2(_ref) {
4447
- var cache = _ref.cache, serialized = _ref.serialized, isStringTag2 = _ref.isStringTag;
4448
- registerStyles(cache, serialized, isStringTag2);
4449
- useInsertionEffectAlwaysWithSyncFallback(function() {
4450
- return insertStyles(cache, serialized, isStringTag2);
4451
- });
4452
- return null;
4453
- };
4454
- var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
4455
- var cssProp = props.css;
4456
- if (typeof cssProp === "string" && cache.registered[cssProp] !== void 0) {
4457
- cssProp = cache.registered[cssProp];
4458
- }
4459
- var WrappedComponent = props[typePropName];
4460
- var registeredStyles = [cssProp];
4461
- var className = "";
4462
- if (typeof props.className === "string") {
4463
- className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
4464
- } else if (props.className != null) {
4465
- className = props.className + " ";
4466
- }
4467
- var serialized = serializeStyles(registeredStyles, void 0, React.useContext(ThemeContext$1));
4468
- className += cache.key + "-" + serialized.name;
4469
- var newProps = {};
4470
- for (var _key2 in props) {
4471
- if (hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && true) {
4472
- newProps[_key2] = props[_key2];
4473
- }
4474
- }
4475
- newProps.className = className;
4476
- if (ref) {
4477
- newProps.ref = ref;
4478
- }
4479
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Insertion, {
4480
- cache,
4481
- serialized,
4482
- isStringTag: typeof WrappedComponent === "string"
4483
- }), /* @__PURE__ */ React.createElement(WrappedComponent, newProps));
4484
- });
4485
- var Emotion$1 = Emotion;
4486
- var jsx = function jsx2(type, props) {
4487
- var args = arguments;
4488
- if (props == null || !hasOwn.call(props, "css")) {
4489
- return React.createElement.apply(void 0, args);
4490
- }
4491
- var argsLength = args.length;
4492
- var createElementArgArray = new Array(argsLength);
4493
- createElementArgArray[0] = Emotion$1;
4494
- createElementArgArray[1] = createEmotionProps(type, props);
4495
- for (var i = 2; i < argsLength; i++) {
4496
- createElementArgArray[i] = args[i];
4497
- }
4498
- return React.createElement.apply(null, createElementArgArray);
4499
- };
4500
- (function(_jsx) {
4501
- var JSX;
4502
- /* @__PURE__ */ (function(_JSX) {
4503
- })(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
4504
- })(jsx || (jsx = {}));
4505
- function css() {
4506
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4507
- args[_key] = arguments[_key];
4508
- }
4509
- return serializeStyles(args);
4510
- }
4511
- function keyframes() {
4512
- var insertable = css.apply(void 0, arguments);
4513
- var name = "animation-" + insertable.name;
4514
- return {
4515
- name,
4516
- styles: "@keyframes " + name + "{" + insertable.styles + "}",
4517
- anim: 1,
4518
- toString: function toString() {
4519
- return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
4520
- }
4521
- };
4522
- }
4523
3206
  /**
4524
3207
  * @mui/styled-engine v7.1.1
4525
3208
  *
@@ -5323,19 +4006,19 @@ function unstable_memoTheme(styleFn) {
5323
4006
  return value;
5324
4007
  };
5325
4008
  }
5326
- function createGetCssVar$1(prefix2 = "") {
4009
+ function createGetCssVar$1(prefix = "") {
5327
4010
  function appendVar(...vars) {
5328
4011
  if (!vars.length) {
5329
4012
  return "";
5330
4013
  }
5331
4014
  const value = vars[0];
5332
4015
  if (typeof value === "string" && !value.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)) {
5333
- return `, var(--${prefix2 ? `${prefix2}-` : ""}${value}${appendVar(...vars.slice(1))})`;
4016
+ return `, var(--${prefix ? `${prefix}-` : ""}${value}${appendVar(...vars.slice(1))})`;
5334
4017
  }
5335
4018
  return `, ${value}`;
5336
4019
  }
5337
4020
  const getCssVar = (field, ...fallbacks) => {
5338
- return `var(--${prefix2 ? `${prefix2}-` : ""}${field}${appendVar(...fallbacks)})`;
4021
+ return `var(--${prefix ? `${prefix}-` : ""}${field}${appendVar(...fallbacks)})`;
5339
4022
  };
5340
4023
  return getCssVar;
5341
4024
  }
@@ -5387,10 +4070,10 @@ const getCssValue = (keys, value) => {
5387
4070
  };
5388
4071
  function cssVarsParser(theme, options) {
5389
4072
  const {
5390
- prefix: prefix2,
4073
+ prefix,
5391
4074
  shouldSkipGeneratingVar: shouldSkipGeneratingVar2
5392
4075
  } = options || {};
5393
- const css2 = {};
4076
+ const css = {};
5394
4077
  const vars = {};
5395
4078
  const varsWithDefaults = {};
5396
4079
  walkObjectDeep(
@@ -5398,9 +4081,9 @@ function cssVarsParser(theme, options) {
5398
4081
  (keys, value, arrayKeys) => {
5399
4082
  if (typeof value === "string" || typeof value === "number") {
5400
4083
  if (!shouldSkipGeneratingVar2 || !shouldSkipGeneratingVar2(keys, value)) {
5401
- const cssVar = `--${prefix2 ? `${prefix2}-` : ""}${keys.join("-")}`;
4084
+ const cssVar = `--${prefix ? `${prefix}-` : ""}${keys.join("-")}`;
5402
4085
  const resolvedValue = getCssValue(keys, value);
5403
- Object.assign(css2, {
4086
+ Object.assign(css, {
5404
4087
  [cssVar]: resolvedValue
5405
4088
  });
5406
4089
  assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);
@@ -5412,7 +4095,7 @@ function cssVarsParser(theme, options) {
5412
4095
  // skip 'vars/*' paths
5413
4096
  );
5414
4097
  return {
5415
- css: css2,
4098
+ css,
5416
4099
  vars,
5417
4100
  varsWithDefaults
5418
4101
  };
@@ -5443,24 +4126,24 @@ function prepareCssVars(theme, parserConfig = {}) {
5443
4126
  Object.entries(otherColorSchemes || {}).forEach(([key, scheme]) => {
5444
4127
  const {
5445
4128
  vars,
5446
- css: css2,
4129
+ css,
5447
4130
  varsWithDefaults
5448
4131
  } = cssVarsParser(scheme, parserConfig);
5449
4132
  themeVars = deepmerge(themeVars, varsWithDefaults);
5450
4133
  colorSchemesMap[key] = {
5451
- css: css2,
4134
+ css,
5452
4135
  vars
5453
4136
  };
5454
4137
  });
5455
4138
  if (defaultScheme) {
5456
4139
  const {
5457
- css: css2,
4140
+ css,
5458
4141
  vars,
5459
4142
  varsWithDefaults
5460
4143
  } = cssVarsParser(defaultScheme, parserConfig);
5461
4144
  themeVars = deepmerge(themeVars, varsWithDefaults);
5462
4145
  colorSchemesMap[defaultColorScheme] = {
5463
- css: css2,
4146
+ css,
5464
4147
  vars
5465
4148
  };
5466
4149
  }
@@ -5512,11 +4195,11 @@ function prepareCssVars(theme, parserConfig = {}) {
5512
4195
  var _a, _b;
5513
4196
  const stylesheets = [];
5514
4197
  const colorScheme = theme.defaultColorScheme || "light";
5515
- function insertStyleSheet(key, css2) {
5516
- if (Object.keys(css2).length) {
4198
+ function insertStyleSheet(key, css) {
4199
+ if (Object.keys(css).length) {
5517
4200
  stylesheets.push(typeof key === "string" ? {
5518
4201
  [key]: {
5519
- ...css2
4202
+ ...css
5520
4203
  }
5521
4204
  } : key);
5522
4205
  }
@@ -5530,29 +4213,29 @@ function prepareCssVars(theme, parserConfig = {}) {
5530
4213
  } = colorSchemesMap;
5531
4214
  if (defaultSchemeVal) {
5532
4215
  const {
5533
- css: css2
4216
+ css
5534
4217
  } = defaultSchemeVal;
5535
4218
  const cssColorSheme = (_b = (_a = colorSchemes[colorScheme]) == null ? void 0 : _a.palette) == null ? void 0 : _b.mode;
5536
4219
  const finalCss = !disableCssColorScheme && cssColorSheme ? {
5537
4220
  colorScheme: cssColorSheme,
5538
- ...css2
4221
+ ...css
5539
4222
  } : {
5540
- ...css2
4223
+ ...css
5541
4224
  };
5542
4225
  insertStyleSheet(getSelector(colorScheme, {
5543
4226
  ...finalCss
5544
4227
  }), finalCss);
5545
4228
  }
5546
4229
  Object.entries(other).forEach(([key, {
5547
- css: css2
4230
+ css
5548
4231
  }]) => {
5549
4232
  var _a2, _b2;
5550
4233
  const cssColorSheme = (_b2 = (_a2 = colorSchemes[key]) == null ? void 0 : _a2.palette) == null ? void 0 : _b2.mode;
5551
4234
  const finalCss = !disableCssColorScheme && cssColorSheme ? {
5552
4235
  colorScheme: cssColorSheme,
5553
- ...css2
4236
+ ...css
5554
4237
  } : {
5555
- ...css2
4238
+ ...css
5556
4239
  };
5557
4240
  insertStyleSheet(getSelector(key, {
5558
4241
  ...finalCss
@@ -6233,20 +4916,20 @@ function createThemeNoVars(options = {}, ...args) {
6233
4916
  muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
6234
4917
  if (process.env.NODE_ENV !== "production") {
6235
4918
  const stateClasses = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"];
6236
- const traverse = (node2, component) => {
4919
+ const traverse = (node, component) => {
6237
4920
  let key;
6238
- for (key in node2) {
6239
- const child = node2[key];
4921
+ for (key in node) {
4922
+ const child = node[key];
6240
4923
  if (stateClasses.includes(key) && Object.keys(child).length > 0) {
6241
4924
  if (process.env.NODE_ENV !== "production") {
6242
4925
  const stateClass = generateUtilityClass("", key);
6243
- console.error([`MUI: The \`${component}\` component increases the CSS specificity of the \`${key}\` internal state.`, "You can not override it like this: ", JSON.stringify(node2, null, 2), "", `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
4926
+ console.error([`MUI: The \`${component}\` component increases the CSS specificity of the \`${key}\` internal state.`, "You can not override it like this: ", JSON.stringify(node, null, 2), "", `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
6244
4927
  root: {
6245
4928
  [`&.${stateClass}`]: child
6246
4929
  }
6247
4930
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join("\n"));
6248
4931
  }
6249
- node2[key] = {};
4932
+ node[key] = {};
6250
4933
  }
6251
4934
  }
6252
4935
  };
@@ -6324,7 +5007,7 @@ function shouldSkipGeneratingVar(keys) {
6324
5007
  keys[0] === "palette" && !!((_a = keys[1]) == null ? void 0 : _a.match(/(mode|contrastThreshold|tonalOffset)/));
6325
5008
  }
6326
5009
  const excludeVariablesFromRoot = (cssVarPrefix) => [...[...Array(25)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ""}overlays-${index}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ""}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ""}palette-AppBar-darkColor`];
6327
- const defaultGetSelector = (theme) => (colorScheme, css2) => {
5010
+ const defaultGetSelector = (theme) => (colorScheme, css) => {
6328
5011
  const root = theme.rootSelector || ":root";
6329
5012
  const selector = theme.colorSchemeSelector;
6330
5013
  let rule = selector;
@@ -6341,12 +5024,12 @@ const defaultGetSelector = (theme) => (colorScheme, css2) => {
6341
5024
  if (colorScheme === "dark") {
6342
5025
  const excludedVariables = {};
6343
5026
  excludeVariablesFromRoot(theme.cssVarPrefix).forEach((cssVar) => {
6344
- excludedVariables[cssVar] = css2[cssVar];
6345
- delete css2[cssVar];
5027
+ excludedVariables[cssVar] = css[cssVar];
5028
+ delete css[cssVar];
6346
5029
  });
6347
5030
  if (rule === "media") {
6348
5031
  return {
6349
- [root]: css2,
5032
+ [root]: css,
6350
5033
  [`@media (prefers-color-scheme: dark)`]: {
6351
5034
  [root]: excludedVariables
6352
5035
  }
@@ -6355,12 +5038,12 @@ const defaultGetSelector = (theme) => (colorScheme, css2) => {
6355
5038
  if (rule) {
6356
5039
  return {
6357
5040
  [rule.replace("%s", colorScheme)]: excludedVariables,
6358
- [`${root}, ${rule.replace("%s", colorScheme)}`]: css2
5041
+ [`${root}, ${rule.replace("%s", colorScheme)}`]: css
6359
5042
  };
6360
5043
  }
6361
5044
  return {
6362
5045
  [root]: {
6363
- ...css2,
5046
+ ...css,
6364
5047
  ...excludedVariables
6365
5048
  }
6366
5049
  };
@@ -6372,7 +5055,7 @@ const defaultGetSelector = (theme) => (colorScheme, css2) => {
6372
5055
  if (rule === "media") {
6373
5056
  return {
6374
5057
  [`@media (prefers-color-scheme: ${String(colorScheme)})`]: {
6375
- [root]: css2
5058
+ [root]: css
6376
5059
  }
6377
5060
  };
6378
5061
  }
@@ -7453,6 +6136,15 @@ function chainPropTypes(propType1, propType2) {
7453
6136
  return propType1(...args) || propType2(...args);
7454
6137
  };
7455
6138
  }
6139
+ function _extends() {
6140
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
6141
+ for (var e = 1; e < arguments.length; e++) {
6142
+ var t = arguments[e];
6143
+ for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n[r2] = t[r2]);
6144
+ }
6145
+ return n;
6146
+ }, _extends.apply(null, arguments);
6147
+ }
7456
6148
  function _objectWithoutPropertiesLoose$4(r2, e) {
7457
6149
  if (null == r2) return {};
7458
6150
  var t = {};
@@ -7495,8 +6187,8 @@ process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.string, P
7495
6187
  exitActive: PropTypes.string
7496
6188
  })]) : null;
7497
6189
  const TransitionGroupContext = React__default.createContext(null);
7498
- var forceReflow = function forceReflow2(node2) {
7499
- return node2.scrollTop;
6190
+ var forceReflow = function forceReflow2(node) {
6191
+ return node.scrollTop;
7500
6192
  };
7501
6193
  var UNMOUNTED = "unmounted";
7502
6194
  var EXITED = "exited";
@@ -7587,8 +6279,8 @@ var Transition = /* @__PURE__ */ function(_React$Component) {
7587
6279
  this.cancelNextCallback();
7588
6280
  if (nextStatus === ENTERING) {
7589
6281
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
7590
- var node2 = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
7591
- if (node2) forceReflow(node2);
6282
+ var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
6283
+ if (node) forceReflow(node);
7592
6284
  }
7593
6285
  this.performEnter(mounting);
7594
6286
  } else {
@@ -7683,14 +6375,14 @@ var Transition = /* @__PURE__ */ function(_React$Component) {
7683
6375
  };
7684
6376
  _proto.onTransitionEnd = function onTransitionEnd(timeout2, handler) {
7685
6377
  this.setNextCallback(handler);
7686
- var node2 = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
6378
+ var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
7687
6379
  var doesNotHaveTimeoutOrListener = timeout2 == null && !this.props.addEndListener;
7688
- if (!node2 || doesNotHaveTimeoutOrListener) {
6380
+ if (!node || doesNotHaveTimeoutOrListener) {
7689
6381
  setTimeout(this.nextCallback, 0);
7690
6382
  return;
7691
6383
  }
7692
6384
  if (this.props.addEndListener) {
7693
- var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node2, this.nextCallback], maybeNode = _ref3[0], maybeNextCallback = _ref3[1];
6385
+ var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback], maybeNode = _ref3[0], maybeNextCallback = _ref3[1];
7694
6386
  this.props.addEndListener(maybeNode, maybeNextCallback);
7695
6387
  }
7696
6388
  if (timeout2 != null) {
@@ -7936,16 +6628,16 @@ function getChildMapping(children, mapFn) {
7936
6628
  });
7937
6629
  return result2;
7938
6630
  }
7939
- function mergeChildMappings(prev2, next2) {
7940
- prev2 = prev2 || {};
7941
- next2 = next2 || {};
6631
+ function mergeChildMappings(prev, next) {
6632
+ prev = prev || {};
6633
+ next = next || {};
7942
6634
  function getValueForKey(key) {
7943
- return key in next2 ? next2[key] : prev2[key];
6635
+ return key in next ? next[key] : prev[key];
7944
6636
  }
7945
6637
  var nextKeysPending = /* @__PURE__ */ Object.create(null);
7946
6638
  var pendingKeys = [];
7947
- for (var prevKey in prev2) {
7948
- if (prevKey in next2) {
6639
+ for (var prevKey in prev) {
6640
+ if (prevKey in next) {
7949
6641
  if (pendingKeys.length) {
7950
6642
  nextKeysPending[prevKey] = pendingKeys;
7951
6643
  pendingKeys = [];
@@ -7956,7 +6648,7 @@ function mergeChildMappings(prev2, next2) {
7956
6648
  }
7957
6649
  var i;
7958
6650
  var childMapping = {};
7959
- for (var nextKey in next2) {
6651
+ for (var nextKey in next) {
7960
6652
  if (nextKeysPending[nextKey]) {
7961
6653
  for (i = 0; i < nextKeysPending[nextKey].length; i++) {
7962
6654
  var pendingNextKey = nextKeysPending[nextKey][i];
@@ -8061,11 +6753,11 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
8061
6753
  firstRender: false
8062
6754
  };
8063
6755
  };
8064
- _proto.handleExited = function handleExited(child, node2) {
6756
+ _proto.handleExited = function handleExited(child, node) {
8065
6757
  var currentChildMapping = getChildMapping(this.props.children);
8066
6758
  if (child.key in currentChildMapping) return;
8067
6759
  if (child.props.onExited) {
8068
- child.props.onExited(node2);
6760
+ child.props.onExited(node);
8069
6761
  }
8070
6762
  if (this.mounted) {
8071
6763
  this.setState(function(state) {
@@ -9546,30 +8238,30 @@ var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain,
9546
8238
  function getNodeName(element) {
9547
8239
  return element ? (element.nodeName || "").toLowerCase() : null;
9548
8240
  }
9549
- function getWindow(node2) {
9550
- if (node2 == null) {
8241
+ function getWindow(node) {
8242
+ if (node == null) {
9551
8243
  return window;
9552
8244
  }
9553
- if (node2.toString() !== "[object Window]") {
9554
- var ownerDocument2 = node2.ownerDocument;
8245
+ if (node.toString() !== "[object Window]") {
8246
+ var ownerDocument2 = node.ownerDocument;
9555
8247
  return ownerDocument2 ? ownerDocument2.defaultView || window : window;
9556
8248
  }
9557
- return node2;
8249
+ return node;
9558
8250
  }
9559
- function isElement(node2) {
9560
- var OwnElement = getWindow(node2).Element;
9561
- return node2 instanceof OwnElement || node2 instanceof Element;
8251
+ function isElement(node) {
8252
+ var OwnElement = getWindow(node).Element;
8253
+ return node instanceof OwnElement || node instanceof Element;
9562
8254
  }
9563
- function isHTMLElement(node2) {
9564
- var OwnElement = getWindow(node2).HTMLElement;
9565
- return node2 instanceof OwnElement || node2 instanceof HTMLElement;
8255
+ function isHTMLElement(node) {
8256
+ var OwnElement = getWindow(node).HTMLElement;
8257
+ return node instanceof OwnElement || node instanceof HTMLElement;
9566
8258
  }
9567
- function isShadowRoot(node2) {
8259
+ function isShadowRoot(node) {
9568
8260
  if (typeof ShadowRoot === "undefined") {
9569
8261
  return false;
9570
8262
  }
9571
- var OwnElement = getWindow(node2).ShadowRoot;
9572
- return node2 instanceof OwnElement || node2 instanceof ShadowRoot;
8263
+ var OwnElement = getWindow(node).ShadowRoot;
8264
+ return node instanceof OwnElement || node instanceof ShadowRoot;
9573
8265
  }
9574
8266
  function getBasePlacement(placement) {
9575
8267
  return placement.split("-")[0];
@@ -9642,13 +8334,13 @@ function contains$1(parent, child) {
9642
8334
  if (parent.contains(child)) {
9643
8335
  return true;
9644
8336
  } else if (rootNode && isShadowRoot(rootNode)) {
9645
- var next2 = child;
8337
+ var next = child;
9646
8338
  do {
9647
- if (next2 && parent.isSameNode(next2)) {
8339
+ if (next && parent.isSameNode(next)) {
9648
8340
  return true;
9649
8341
  }
9650
- next2 = next2.parentNode || next2.host;
9651
- } while (next2);
8342
+ next = next.parentNode || next.host;
8343
+ } while (next);
9652
8344
  }
9653
8345
  return false;
9654
8346
  }
@@ -9700,8 +8392,8 @@ function getContainingBlock(element) {
9700
8392
  currentNode = currentNode.host;
9701
8393
  }
9702
8394
  while (isHTMLElement(currentNode) && ["html", "body"].indexOf(getNodeName(currentNode)) < 0) {
9703
- var css2 = getComputedStyle$1(currentNode);
9704
- if (css2.transform !== "none" || css2.perspective !== "none" || css2.contain === "paint" || ["transform", "perspective"].indexOf(css2.willChange) !== -1 || isFirefox && css2.willChange === "filter" || isFirefox && css2.filter && css2.filter !== "none") {
8395
+ var css = getComputedStyle$1(currentNode);
8396
+ if (css.transform !== "none" || css.perspective !== "none" || css.contain === "paint" || ["transform", "perspective"].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === "filter" || isFirefox && css.filter && css.filter !== "none") {
9705
8397
  return currentNode;
9706
8398
  } else {
9707
8399
  currentNode = currentNode.parentNode;
@@ -9826,7 +8518,7 @@ function roundOffsetsByDPR(_ref, win) {
9826
8518
  }
9827
8519
  function mapToStyles(_ref2) {
9828
8520
  var _Object$assign2;
9829
- var popper2 = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position2 = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
8521
+ var popper2 = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
9830
8522
  var _offsets$x = offsets.x, x = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y = _offsets$y === void 0 ? 0 : _offsets$y;
9831
8523
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
9832
8524
  x,
@@ -9848,7 +8540,7 @@ function mapToStyles(_ref2) {
9848
8540
  var widthProp = "clientWidth";
9849
8541
  if (offsetParent === getWindow(popper2)) {
9850
8542
  offsetParent = getDocumentElement(popper2);
9851
- if (getComputedStyle$1(offsetParent).position !== "static" && position2 === "absolute") {
8543
+ if (getComputedStyle$1(offsetParent).position !== "static" && position === "absolute") {
9852
8544
  heightProp = "scrollHeight";
9853
8545
  widthProp = "scrollWidth";
9854
8546
  }
@@ -9874,7 +8566,7 @@ function mapToStyles(_ref2) {
9874
8566
  }
9875
8567
  }
9876
8568
  var commonStyles = Object.assign({
9877
- position: position2
8569
+ position
9878
8570
  }, adaptive && unsetSides);
9879
8571
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
9880
8572
  x,
@@ -9985,8 +8677,8 @@ function getOppositeVariationPlacement(placement) {
9985
8677
  return hash[matched];
9986
8678
  });
9987
8679
  }
9988
- function getWindowScroll(node2) {
9989
- var win = getWindow(node2);
8680
+ function getWindowScroll(node) {
8681
+ var win = getWindow(node);
9990
8682
  var scrollLeft = win.pageXOffset;
9991
8683
  var scrollTop = win.pageYOffset;
9992
8684
  return {
@@ -10044,14 +8736,14 @@ function isScrollParent(element) {
10044
8736
  var _getComputedStyle = getComputedStyle$1(element), overflow = _getComputedStyle.overflow, overflowX = _getComputedStyle.overflowX, overflowY = _getComputedStyle.overflowY;
10045
8737
  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
10046
8738
  }
10047
- function getScrollParent(node2) {
10048
- if (["html", "body", "#document"].indexOf(getNodeName(node2)) >= 0) {
10049
- return node2.ownerDocument.body;
8739
+ function getScrollParent(node) {
8740
+ if (["html", "body", "#document"].indexOf(getNodeName(node)) >= 0) {
8741
+ return node.ownerDocument.body;
10050
8742
  }
10051
- if (isHTMLElement(node2) && isScrollParent(node2)) {
10052
- return node2;
8743
+ if (isHTMLElement(node) && isScrollParent(node)) {
8744
+ return node;
10053
8745
  }
10054
- return getScrollParent(getParentNode(node2));
8746
+ return getScrollParent(getParentNode(node));
10055
8747
  }
10056
8748
  function listScrollParents(element, list) {
10057
8749
  var _element$ownerDocumen;
@@ -10542,11 +9234,11 @@ function getHTMLElementScroll(element) {
10542
9234
  scrollTop: element.scrollTop
10543
9235
  };
10544
9236
  }
10545
- function getNodeScroll(node2) {
10546
- if (node2 === getWindow(node2) || !isHTMLElement(node2)) {
10547
- return getWindowScroll(node2);
9237
+ function getNodeScroll(node) {
9238
+ if (node === getWindow(node) || !isHTMLElement(node)) {
9239
+ return getWindowScroll(node);
10548
9240
  } else {
10549
- return getHTMLElementScroll(node2);
9241
+ return getHTMLElementScroll(node);
10550
9242
  }
10551
9243
  }
10552
9244
  function isElementScaled(element) {
@@ -11849,7 +10541,7 @@ function requireClassnames() {
11849
10541
  hasRequiredClassnames = 1;
11850
10542
  (function(module) {
11851
10543
  (function() {
11852
- var hasOwn2 = {}.hasOwnProperty;
10544
+ var hasOwn = {}.hasOwnProperty;
11853
10545
  function classNames2() {
11854
10546
  var classes = "";
11855
10547
  for (var i = 0; i < arguments.length; i++) {
@@ -11875,7 +10567,7 @@ function requireClassnames() {
11875
10567
  }
11876
10568
  var classes = "";
11877
10569
  for (var key in arg2) {
11878
- if (hasOwn2.call(arg2, key) && arg2[key]) {
10570
+ if (hasOwn.call(arg2, key) && arg2[key]) {
11879
10571
  classes = appendClass(classes, key);
11880
10572
  }
11881
10573
  }
@@ -11941,11 +10633,11 @@ const {
11941
10633
  Consumer,
11942
10634
  Provider
11943
10635
  } = ThemeContext;
11944
- function useBootstrapPrefix(prefix2, defaultPrefix) {
10636
+ function useBootstrapPrefix(prefix, defaultPrefix) {
11945
10637
  const {
11946
10638
  prefixes
11947
10639
  } = useContext(ThemeContext);
11948
- return prefix2 || prefixes[defaultPrefix] || defaultPrefix;
10640
+ return prefix || prefixes[defaultPrefix] || defaultPrefix;
11949
10641
  }
11950
10642
  function useBootstrapBreakpoints() {
11951
10643
  const {
@@ -12250,7 +10942,7 @@ const FormLabel = /* @__PURE__ */ React.forwardRef(({
12250
10942
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
12251
10943
  as: Component = "label",
12252
10944
  bsPrefix,
12253
- column: column2 = false,
10945
+ column = false,
12254
10946
  visuallyHidden = false,
12255
10947
  className,
12256
10948
  htmlFor,
@@ -12261,11 +10953,11 @@ const FormLabel = /* @__PURE__ */ React.forwardRef(({
12261
10953
  } = useContext(FormContext);
12262
10954
  bsPrefix = useBootstrapPrefix(bsPrefix, "form-label");
12263
10955
  let columnClass = "col-form-label";
12264
- if (typeof column2 === "string") columnClass = `${columnClass} ${columnClass}-${column2}`;
12265
- const classes = classNames(className, bsPrefix, visuallyHidden && "visually-hidden", column2 && columnClass);
10956
+ if (typeof column === "string") columnClass = `${columnClass} ${columnClass}-${column}`;
10957
+ const classes = classNames(className, bsPrefix, visuallyHidden && "visually-hidden", column && columnClass);
12266
10958
  process.env.NODE_ENV !== "production" ? warning(controlId == null || !htmlFor, "`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified.") : void 0;
12267
10959
  htmlFor = htmlFor || controlId;
12268
- if (column2) return /* @__PURE__ */ jsxRuntimeExports.jsx(Col, {
10960
+ if (column) return /* @__PURE__ */ jsxRuntimeExports.jsx(Col, {
12269
10961
  ref,
12270
10962
  as: "label",
12271
10963
  className: classes,
@@ -12500,13 +11192,13 @@ const ComboDropdown = ({
12500
11192
  if (e.key === "ArrowDown") {
12501
11193
  e.preventDefault();
12502
11194
  setHighlightIndex(
12503
- (prev2) => prev2 < filteredOptions.length - 1 ? prev2 + 1 : 0
11195
+ (prev) => prev < filteredOptions.length - 1 ? prev + 1 : 0
12504
11196
  );
12505
11197
  }
12506
11198
  if (e.key === "ArrowUp") {
12507
11199
  e.preventDefault();
12508
11200
  setHighlightIndex(
12509
- (prev2) => prev2 > 0 ? prev2 - 1 : filteredOptions.length - 1
11201
+ (prev) => prev > 0 ? prev - 1 : filteredOptions.length - 1
12510
11202
  );
12511
11203
  }
12512
11204
  if (e.key === "Enter") {
@@ -12528,9 +11220,9 @@ const ComboDropdown = ({
12528
11220
  if (!showDropdown && mode !== "type") {
12529
11221
  setFilteredOptions(normalizeOptions(options));
12530
11222
  }
12531
- setShowDropdown((prev2) => {
11223
+ setShowDropdown((prev) => {
12532
11224
  var _a;
12533
- const willShow = !prev2;
11225
+ const willShow = !prev;
12534
11226
  if (willShow) (_a = inputRef.current) == null ? void 0 : _a.focus();
12535
11227
  return willShow;
12536
11228
  });
@@ -12643,15 +11335,15 @@ function useUncontrolledProp(propValue, defaultValue, handler) {
12643
11335
  setState(value);
12644
11336
  }, [handler])];
12645
11337
  }
12646
- function ownerDocument(node2) {
12647
- return node2 && node2.ownerDocument || document;
11338
+ function ownerDocument(node) {
11339
+ return node && node.ownerDocument || document;
12648
11340
  }
12649
- function ownerWindow(node2) {
12650
- var doc = ownerDocument(node2);
11341
+ function ownerWindow(node) {
11342
+ var doc = ownerDocument(node);
12651
11343
  return doc && doc.defaultView || window;
12652
11344
  }
12653
- function getComputedStyle(node2, psuedoElement) {
12654
- return ownerWindow(node2).getComputedStyle(node2, psuedoElement);
11345
+ function getComputedStyle(node, psuedoElement) {
11346
+ return ownerWindow(node).getComputedStyle(node, psuedoElement);
12655
11347
  }
12656
11348
  var rUpper = /([A-Z])/g;
12657
11349
  function hyphenate(string) {
@@ -12665,26 +11357,26 @@ var supportedTransforms = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|per
12665
11357
  function isTransform(value) {
12666
11358
  return !!(value && supportedTransforms.test(value));
12667
11359
  }
12668
- function style(node2, property) {
12669
- var css2 = "";
11360
+ function style(node, property) {
11361
+ var css = "";
12670
11362
  var transforms = "";
12671
11363
  if (typeof property === "string") {
12672
- return node2.style.getPropertyValue(hyphenateStyleName(property)) || getComputedStyle(node2).getPropertyValue(hyphenateStyleName(property));
11364
+ return node.style.getPropertyValue(hyphenateStyleName(property)) || getComputedStyle(node).getPropertyValue(hyphenateStyleName(property));
12673
11365
  }
12674
11366
  Object.keys(property).forEach(function(key) {
12675
11367
  var value = property[key];
12676
11368
  if (!value && value !== 0) {
12677
- node2.style.removeProperty(hyphenateStyleName(key));
11369
+ node.style.removeProperty(hyphenateStyleName(key));
12678
11370
  } else if (isTransform(key)) {
12679
11371
  transforms += key + "(" + value + ") ";
12680
11372
  } else {
12681
- css2 += hyphenateStyleName(key) + ": " + value + ";";
11373
+ css += hyphenateStyleName(key) + ": " + value + ";";
12682
11374
  }
12683
11375
  });
12684
11376
  if (transforms) {
12685
- css2 += "transform: " + transforms + ";";
11377
+ css += "transform: " + transforms + ";";
12686
11378
  }
12687
- node2.style.cssText += ";" + css2;
11379
+ node.style.cssText += ";" + css;
12688
11380
  }
12689
11381
  function isEscKey(e) {
12690
11382
  return e.code === "Escape" || e.keyCode === 27;
@@ -12725,7 +11417,7 @@ try {
12725
11417
  }
12726
11418
  } catch (e) {
12727
11419
  }
12728
- function addEventListener(node2, eventName, handler, options) {
11420
+ function addEventListener(node, eventName, handler, options) {
12729
11421
  if (options && typeof options !== "boolean" && !onceSupported) {
12730
11422
  var once = options.once, capture = options.capture;
12731
11423
  var wrappedHandler = handler;
@@ -12736,35 +11428,35 @@ function addEventListener(node2, eventName, handler, options) {
12736
11428
  };
12737
11429
  handler.__once = wrappedHandler;
12738
11430
  }
12739
- node2.addEventListener(eventName, wrappedHandler, optionsSupported ? options : capture);
11431
+ node.addEventListener(eventName, wrappedHandler, optionsSupported ? options : capture);
12740
11432
  }
12741
- node2.addEventListener(eventName, handler, options);
11433
+ node.addEventListener(eventName, handler, options);
12742
11434
  }
12743
- function removeEventListener(node2, eventName, handler, options) {
11435
+ function removeEventListener(node, eventName, handler, options) {
12744
11436
  var capture = options && typeof options !== "boolean" ? options.capture : options;
12745
- node2.removeEventListener(eventName, handler, capture);
11437
+ node.removeEventListener(eventName, handler, capture);
12746
11438
  if (handler.__once) {
12747
- node2.removeEventListener(eventName, handler.__once, capture);
11439
+ node.removeEventListener(eventName, handler.__once, capture);
12748
11440
  }
12749
11441
  }
12750
- function listen(node2, eventName, handler, options) {
12751
- addEventListener(node2, eventName, handler, options);
11442
+ function listen(node, eventName, handler, options) {
11443
+ addEventListener(node, eventName, handler, options);
12752
11444
  return function() {
12753
- removeEventListener(node2, eventName, handler, options);
11445
+ removeEventListener(node, eventName, handler, options);
12754
11446
  };
12755
11447
  }
12756
- function triggerEvent(node2, eventName, bubbles, cancelable) {
11448
+ function triggerEvent(node, eventName, bubbles, cancelable) {
12757
11449
  if (cancelable === void 0) {
12758
11450
  cancelable = true;
12759
11451
  }
12760
- if (node2) {
11452
+ if (node) {
12761
11453
  var event = document.createEvent("HTMLEvents");
12762
11454
  event.initEvent(eventName, bubbles, cancelable);
12763
- node2.dispatchEvent(event);
11455
+ node.dispatchEvent(event);
12764
11456
  }
12765
11457
  }
12766
- function parseDuration$1(node2) {
12767
- var str = style(node2, "transitionDuration") || "";
11458
+ function parseDuration$1(node) {
11459
+ var str = style(node, "transitionDuration") || "";
12768
11460
  var mult = str.indexOf("ms") === -1 ? 1e3 : 1;
12769
11461
  return parseFloat(str) * mult;
12770
11462
  }
@@ -12795,8 +11487,8 @@ function transitionEnd(element, handler, duration2, padding2) {
12795
11487
  remove();
12796
11488
  };
12797
11489
  }
12798
- function parseDuration(node2, property) {
12799
- const str = style(node2, property) || "";
11490
+ function parseDuration(node, property) {
11491
+ const str = style(node, property) || "";
12800
11492
  const mult = str.indexOf("ms") === -1 ? 1e3 : 1;
12801
11493
  return parseFloat(str) * mult;
12802
11494
  }
@@ -12810,8 +11502,8 @@ function transitionEndListener(element, handler) {
12810
11502
  }
12811
11503
  }, duration2 + delay);
12812
11504
  }
12813
- function triggerBrowserReflow(node2) {
12814
- node2.offsetHeight;
11505
+ function triggerBrowserReflow(node) {
11506
+ node.offsetHeight;
12815
11507
  }
12816
11508
  const toFnRef$1 = (ref) => !ref || typeof ref === "function" ? ref : (value) => {
12817
11509
  ref.current = value;
@@ -13041,9 +11733,9 @@ const Fade = /* @__PURE__ */ React.forwardRef(({
13041
11733
  appear: false,
13042
11734
  ...rest
13043
11735
  };
13044
- const handleEnter = useCallback((node2, isAppearing) => {
13045
- triggerBrowserReflow(node2);
13046
- onEnter == null || onEnter(node2, isAppearing);
11736
+ const handleEnter = useCallback((node, isAppearing) => {
11737
+ triggerBrowserReflow(node);
11738
+ onEnter == null || onEnter(node, isAppearing);
13047
11739
  }, [onEnter]);
13048
11740
  return /* @__PURE__ */ jsxRuntimeExports.jsx(TransitionWrapper, {
13049
11741
  ref,
@@ -13068,7 +11760,7 @@ const Button = /* @__PURE__ */ React.forwardRef(({
13068
11760
  className,
13069
11761
  ...props
13070
11762
  }, ref) => {
13071
- const prefix2 = useBootstrapPrefix(bsPrefix, "btn");
11763
+ const prefix = useBootstrapPrefix(bsPrefix, "btn");
13072
11764
  const [buttonProps, {
13073
11765
  tagName
13074
11766
  }] = useButtonProps({
@@ -13082,7 +11774,7 @@ const Button = /* @__PURE__ */ React.forwardRef(({
13082
11774
  ...props,
13083
11775
  ref,
13084
11776
  disabled,
13085
- className: classNames(className, prefix2, active && "active", variant && `${prefix2}-${variant}`, size && `${prefix2}-${size}`, props.href && disabled && "disabled")
11777
+ className: classNames(className, prefix, active && "active", variant && `${prefix}-${variant}`, size && `${prefix}-${size}`, props.href && disabled && "disabled")
13086
11778
  });
13087
11779
  });
13088
11780
  Button.displayName = "Button";
@@ -13358,9 +12050,9 @@ function usePopper(referenceElement, popperElement, _ref = {}) {
13358
12050
  }, [enabled, referenceElement, popperElement]);
13359
12051
  return popperState;
13360
12052
  }
13361
- function contains(context2, node2) {
13362
- if (context2.contains) return context2.contains(node2);
13363
- if (context2.compareDocumentPosition) return context2 === node2 || !!(context2.compareDocumentPosition(node2) & 16);
12053
+ function contains(context2, node) {
12054
+ if (context2.contains) return context2.contains(node);
12055
+ if (context2.compareDocumentPosition) return context2 === node || !!(context2.compareDocumentPosition(node) & 16);
13364
12056
  }
13365
12057
  const noop$1 = () => {
13366
12058
  };
@@ -13928,9 +12620,9 @@ function getOverlayDirection(placement, isRTL) {
13928
12620
  }
13929
12621
  return bsDirection;
13930
12622
  }
13931
- function getInitialPopperStyles(position2 = "absolute") {
12623
+ function getInitialPopperStyles(position = "absolute") {
13932
12624
  return {
13933
- position: position2,
12625
+ position,
13934
12626
  top: "0",
13935
12627
  left: "0",
13936
12628
  opacity: "0",
@@ -15829,8 +14521,8 @@ var DIGITS = {
15829
14521
  "۹": "9"
15830
14522
  // Eastern-Arabic digit 9
15831
14523
  };
15832
- function parseDigit(character2) {
15833
- return DIGITS[character2];
14524
+ function parseDigit(character) {
14525
+ return DIGITS[character];
15834
14526
  }
15835
14527
  function _createForOfIteratorHelperLoose$1(o, allowArrayLike) {
15836
14528
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
@@ -15863,19 +14555,19 @@ function _arrayLikeToArray$2(arr, len) {
15863
14555
  function parseIncompletePhoneNumber(string) {
15864
14556
  var result2 = "";
15865
14557
  for (var _iterator = _createForOfIteratorHelperLoose$1(string.split("")), _step; !(_step = _iterator()).done; ) {
15866
- var character2 = _step.value;
15867
- result2 += parsePhoneNumberCharacter(character2, result2) || "";
14558
+ var character = _step.value;
14559
+ result2 += parsePhoneNumberCharacter(character, result2) || "";
15868
14560
  }
15869
14561
  return result2;
15870
14562
  }
15871
- function parsePhoneNumberCharacter(character2, prevParsedCharacters, emitEvent) {
15872
- if (character2 === "+") {
14563
+ function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent) {
14564
+ if (character === "+") {
15873
14565
  if (prevParsedCharacters) {
15874
14566
  return;
15875
14567
  }
15876
14568
  return "+";
15877
14569
  }
15878
- return parseDigit(character2);
14570
+ return parseDigit(character);
15879
14571
  }
15880
14572
  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
15881
14573
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
@@ -18151,34 +16843,34 @@ const CustomInput = ({
18151
16843
  break;
18152
16844
  case "gst":
18153
16845
  var gstin = val.toUpperCase();
18154
- var length2 = gstin.length;
16846
+ var length = gstin.length;
18155
16847
  setEnable(true);
18156
- if (length2 === 0) ;
18157
- else if (length2 === 1 || length2 === 2) {
16848
+ if (length === 0) ;
16849
+ else if (length === 1 || length === 2) {
18158
16850
  if (!/^[0-9]+$/.test(gstin)) {
18159
16851
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18160
16852
  }
18161
- } else if (length2 >= 3 && length2 <= 7) {
16853
+ } else if (length >= 3 && length <= 7) {
18162
16854
  if (!/^[0-9]{2}[A-Z]{1,5}$/.test(gstin)) {
18163
16855
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18164
16856
  }
18165
- } else if (length2 >= 8 && length2 <= 11) {
16857
+ } else if (length >= 8 && length <= 11) {
18166
16858
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{1,4}$/.test(gstin)) {
18167
16859
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18168
16860
  }
18169
- } else if (length2 === 12) {
16861
+ } else if (length === 12) {
18170
16862
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]$/.test(gstin)) {
18171
16863
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18172
16864
  }
18173
- } else if (length2 === 13) {
16865
+ } else if (length === 13) {
18174
16866
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z][A-Z0-9]$/.test(gstin)) {
18175
16867
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18176
16868
  }
18177
- } else if (length2 === 14) {
16869
+ } else if (length === 14) {
18178
16870
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z][A-Z0-9][A-Z]$/.test(gstin)) {
18179
16871
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18180
16872
  }
18181
- } else if (length2 === 15) {
16873
+ } else if (length === 15) {
18182
16874
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z][A-Z0-9][A-Z][A-Z0-9]$/.test(gstin)) {
18183
16875
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18184
16876
  }
@@ -18310,15 +17002,15 @@ const CustomInput = ({
18310
17002
  const nationalNumber1 = parsed.nationalNumber || "";
18311
17003
  setNationalNumber(nationalNumber1);
18312
17004
  console.log(nationalNumber);
18313
- const { length: length2, startsWith } = rules;
17005
+ const { length, startsWith } = rules;
18314
17006
  const callingCodeLength = country.dialCode.length;
18315
- const maxTotalLength = callingCodeLength + length2;
17007
+ const maxTotalLength = callingCodeLength + length;
18316
17008
  console.log(value2, value2.length, maxTotalLength, "len");
18317
17009
  if (value2.length > maxTotalLength) {
18318
17010
  setError("Invalid phone number for selected country");
18319
17011
  setEnable(true);
18320
17012
  }
18321
- if (nationalNumber.length === length2 && startsWith.test(nationalNumber)) {
17013
+ if (nationalNumber.length === length && startsWith.test(nationalNumber)) {
18322
17014
  setError("");
18323
17015
  setEnable(false);
18324
17016
  }
@@ -18327,7 +17019,7 @@ const CustomInput = ({
18327
17019
  const isPassword = category === "password";
18328
17020
  const isAmount = category === "amount" && (format === "us" || format === "indian");
18329
17021
  const isPercentage = category === "percentage";
18330
- const prefix2 = isAmount ? currency : null;
17022
+ const prefix = isAmount ? currency : null;
18331
17023
  const suffix = isPercentage ? "%" : null;
18332
17024
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
18333
17025
  Form$1.Group,
@@ -18342,11 +17034,11 @@ const CustomInput = ({
18342
17034
  isRequired && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { color: "red" }, children: "*" })
18343
17035
  ] }),
18344
17036
  /* @__PURE__ */ jsxRuntimeExports.jsxs(InputGroup$1, { children: [
18345
- prefix2 && /* @__PURE__ */ jsxRuntimeExports.jsx(
17037
+ prefix && /* @__PURE__ */ jsxRuntimeExports.jsx(
18346
17038
  InputGroup$1.Text,
18347
17039
  {
18348
17040
  style: { backgroundColor: "#fff", borderColor: "#12AB5B" },
18349
- children: prefix2
17041
+ children: prefix
18350
17042
  }
18351
17043
  ),
18352
17044
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -18378,8 +17070,8 @@ const CustomInput = ({
18378
17070
  height: height2 || "40px",
18379
17071
  borderTopRightRadius: !isPassword && !(button == null ? void 0 : button.label) && !suffix ? "0.375rem" : 0,
18380
17072
  borderBottomRightRadius: !isPassword && !(button == null ? void 0 : button.label) && !suffix ? "0.375rem" : 0,
18381
- borderTopLeftRadius: prefix2 ? 0 : "0.375rem",
18382
- borderBottomLeftRadius: prefix2 ? 0 : "0.375rem",
17073
+ borderTopLeftRadius: prefix ? 0 : "0.375rem",
17074
+ borderBottomLeftRadius: prefix ? 0 : "0.375rem",
18383
17075
  width: "100%"
18384
17076
  // paddingLeft: '48px', // make space for the flag
18385
17077
  // fontSize: '14px',
@@ -18419,8 +17111,8 @@ const CustomInput = ({
18419
17111
  height: height2 || "40px",
18420
17112
  borderTopRightRadius: !isPassword && !(button == null ? void 0 : button.label) && !suffix ? "0.375rem" : 0,
18421
17113
  borderBottomRightRadius: !isPassword && !(button == null ? void 0 : button.label) && !suffix ? "0.375rem" : 0,
18422
- borderTopLeftRadius: prefix2 ? 0 : "0.375rem",
18423
- borderBottomLeftRadius: prefix2 ? 0 : "0.375rem"
17114
+ borderTopLeftRadius: prefix ? 0 : "0.375rem",
17115
+ borderBottomLeftRadius: prefix ? 0 : "0.375rem"
18424
17116
  },
18425
17117
  name,
18426
17118
  value,