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.
@@ -1,6 +1,6 @@
1
1
  (function(global2, factory) {
2
- typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.MytekComponents = {}, global2.React, global2.ReactDOM));
3
- })(this, function(exports2, React, ReactDOM) {
2
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("@emotion/styled"), require("@emotion/react"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "@emotion/styled", "@emotion/react", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.MytekComponents = {}, global2.React, global2.emotionStyled, global2.emotionReact, global2.ReactDOM));
3
+ })(this, function(exports2, React, emStyled, react, ReactDOM) {
4
4
  "use strict";var __defProp = Object.defineProperty;
5
5
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
6
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -284,8 +284,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
284
284
  debugTask
285
285
  );
286
286
  }
287
- function validateChildKeys(node2) {
288
- "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_ELEMENT_TYPE && node2._store && (node2._store.validated = 1);
287
+ function validateChildKeys(node) {
288
+ "object" === typeof node && null !== node && node.$$typeof === REACT_ELEMENT_TYPE && node._store && (node._store.validated = 1);
289
289
  }
290
290
  var React$1 = React, 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");
291
291
  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 = React$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
@@ -644,9 +644,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
644
644
  return ("string" === r2 ? String : Number)(t);
645
645
  }
646
646
  function Tree2Element(tree) {
647
- return tree && tree.map((node2, i) => /* @__PURE__ */ React.createElement(node2.tag, _objectSpread$5({
647
+ return tree && tree.map((node, i) => /* @__PURE__ */ React.createElement(node.tag, _objectSpread$5({
648
648
  key: i
649
- }, node2.attr), Tree2Element(node2.child)));
649
+ }, node.attr), Tree2Element(node.child)));
650
650
  }
651
651
  function GenIcon(data) {
652
652
  return (props) => /* @__PURE__ */ React.createElement(IconBase, _extends$1({
@@ -723,8 +723,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
723
723
  });
724
724
  }
725
725
  var propTypes$2 = { exports: {} };
726
- var reactIs$2 = { exports: {} };
727
- var reactIs_production_min$1 = {};
726
+ var reactIs$1 = { exports: {} };
727
+ var reactIs_production_min = {};
728
728
  /** @license React v16.13.1
729
729
  * react-is.production.min.js
730
730
  *
@@ -733,10 +733,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
733
733
  * This source code is licensed under the MIT license found in the
734
734
  * LICENSE file in the root directory of this source tree.
735
735
  */
736
- var hasRequiredReactIs_production_min$1;
737
- function requireReactIs_production_min$1() {
738
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
739
- hasRequiredReactIs_production_min$1 = 1;
736
+ var hasRequiredReactIs_production_min;
737
+ function requireReactIs_production_min() {
738
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
739
+ hasRequiredReactIs_production_min = 1;
740
740
  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;
741
741
  function z(a) {
742
742
  if ("object" === typeof a && null !== a) {
@@ -771,63 +771,63 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
771
771
  function A(a) {
772
772
  return z(a) === m;
773
773
  }
774
- reactIs_production_min$1.AsyncMode = l;
775
- reactIs_production_min$1.ConcurrentMode = m;
776
- reactIs_production_min$1.ContextConsumer = k;
777
- reactIs_production_min$1.ContextProvider = h;
778
- reactIs_production_min$1.Element = c;
779
- reactIs_production_min$1.ForwardRef = n;
780
- reactIs_production_min$1.Fragment = e;
781
- reactIs_production_min$1.Lazy = t;
782
- reactIs_production_min$1.Memo = r2;
783
- reactIs_production_min$1.Portal = d;
784
- reactIs_production_min$1.Profiler = g;
785
- reactIs_production_min$1.StrictMode = f;
786
- reactIs_production_min$1.Suspense = p;
787
- reactIs_production_min$1.isAsyncMode = function(a) {
774
+ reactIs_production_min.AsyncMode = l;
775
+ reactIs_production_min.ConcurrentMode = m;
776
+ reactIs_production_min.ContextConsumer = k;
777
+ reactIs_production_min.ContextProvider = h;
778
+ reactIs_production_min.Element = c;
779
+ reactIs_production_min.ForwardRef = n;
780
+ reactIs_production_min.Fragment = e;
781
+ reactIs_production_min.Lazy = t;
782
+ reactIs_production_min.Memo = r2;
783
+ reactIs_production_min.Portal = d;
784
+ reactIs_production_min.Profiler = g;
785
+ reactIs_production_min.StrictMode = f;
786
+ reactIs_production_min.Suspense = p;
787
+ reactIs_production_min.isAsyncMode = function(a) {
788
788
  return A(a) || z(a) === l;
789
789
  };
790
- reactIs_production_min$1.isConcurrentMode = A;
791
- reactIs_production_min$1.isContextConsumer = function(a) {
790
+ reactIs_production_min.isConcurrentMode = A;
791
+ reactIs_production_min.isContextConsumer = function(a) {
792
792
  return z(a) === k;
793
793
  };
794
- reactIs_production_min$1.isContextProvider = function(a) {
794
+ reactIs_production_min.isContextProvider = function(a) {
795
795
  return z(a) === h;
796
796
  };
797
- reactIs_production_min$1.isElement = function(a) {
797
+ reactIs_production_min.isElement = function(a) {
798
798
  return "object" === typeof a && null !== a && a.$$typeof === c;
799
799
  };
800
- reactIs_production_min$1.isForwardRef = function(a) {
800
+ reactIs_production_min.isForwardRef = function(a) {
801
801
  return z(a) === n;
802
802
  };
803
- reactIs_production_min$1.isFragment = function(a) {
803
+ reactIs_production_min.isFragment = function(a) {
804
804
  return z(a) === e;
805
805
  };
806
- reactIs_production_min$1.isLazy = function(a) {
806
+ reactIs_production_min.isLazy = function(a) {
807
807
  return z(a) === t;
808
808
  };
809
- reactIs_production_min$1.isMemo = function(a) {
809
+ reactIs_production_min.isMemo = function(a) {
810
810
  return z(a) === r2;
811
811
  };
812
- reactIs_production_min$1.isPortal = function(a) {
812
+ reactIs_production_min.isPortal = function(a) {
813
813
  return z(a) === d;
814
814
  };
815
- reactIs_production_min$1.isProfiler = function(a) {
815
+ reactIs_production_min.isProfiler = function(a) {
816
816
  return z(a) === g;
817
817
  };
818
- reactIs_production_min$1.isStrictMode = function(a) {
818
+ reactIs_production_min.isStrictMode = function(a) {
819
819
  return z(a) === f;
820
820
  };
821
- reactIs_production_min$1.isSuspense = function(a) {
821
+ reactIs_production_min.isSuspense = function(a) {
822
822
  return z(a) === p;
823
823
  };
824
- reactIs_production_min$1.isValidElementType = function(a) {
824
+ reactIs_production_min.isValidElementType = function(a) {
825
825
  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);
826
826
  };
827
- reactIs_production_min$1.typeOf = z;
828
- return reactIs_production_min$1;
827
+ reactIs_production_min.typeOf = z;
828
+ return reactIs_production_min;
829
829
  }
830
- var reactIs_development$2 = {};
830
+ var reactIs_development$1 = {};
831
831
  /** @license React v16.13.1
832
832
  * react-is.development.js
833
833
  *
@@ -836,10 +836,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
836
836
  * This source code is licensed under the MIT license found in the
837
837
  * LICENSE file in the root directory of this source tree.
838
838
  */
839
- var hasRequiredReactIs_development$2;
840
- function requireReactIs_development$2() {
841
- if (hasRequiredReactIs_development$2) return reactIs_development$2;
842
- hasRequiredReactIs_development$2 = 1;
839
+ var hasRequiredReactIs_development$1;
840
+ function requireReactIs_development$1() {
841
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
842
+ hasRequiredReactIs_development$1 = 1;
843
843
  if (process.env.NODE_ENV !== "production") {
844
844
  (function() {
845
845
  var hasSymbol = typeof Symbol === "function" && Symbol.for;
@@ -957,48 +957,48 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
957
957
  function isSuspense(object) {
958
958
  return typeOf2(object) === REACT_SUSPENSE_TYPE;
959
959
  }
960
- reactIs_development$2.AsyncMode = AsyncMode;
961
- reactIs_development$2.ConcurrentMode = ConcurrentMode;
962
- reactIs_development$2.ContextConsumer = ContextConsumer;
963
- reactIs_development$2.ContextProvider = ContextProvider;
964
- reactIs_development$2.Element = Element2;
965
- reactIs_development$2.ForwardRef = ForwardRef;
966
- reactIs_development$2.Fragment = Fragment;
967
- reactIs_development$2.Lazy = Lazy;
968
- reactIs_development$2.Memo = Memo;
969
- reactIs_development$2.Portal = Portal;
970
- reactIs_development$2.Profiler = Profiler;
971
- reactIs_development$2.StrictMode = StrictMode;
972
- reactIs_development$2.Suspense = Suspense;
973
- reactIs_development$2.isAsyncMode = isAsyncMode;
974
- reactIs_development$2.isConcurrentMode = isConcurrentMode;
975
- reactIs_development$2.isContextConsumer = isContextConsumer;
976
- reactIs_development$2.isContextProvider = isContextProvider;
977
- reactIs_development$2.isElement = isElement2;
978
- reactIs_development$2.isForwardRef = isForwardRef;
979
- reactIs_development$2.isFragment = isFragment;
980
- reactIs_development$2.isLazy = isLazy;
981
- reactIs_development$2.isMemo = isMemo;
982
- reactIs_development$2.isPortal = isPortal;
983
- reactIs_development$2.isProfiler = isProfiler;
984
- reactIs_development$2.isStrictMode = isStrictMode;
985
- reactIs_development$2.isSuspense = isSuspense;
986
- reactIs_development$2.isValidElementType = isValidElementType;
987
- reactIs_development$2.typeOf = typeOf2;
960
+ reactIs_development$1.AsyncMode = AsyncMode;
961
+ reactIs_development$1.ConcurrentMode = ConcurrentMode;
962
+ reactIs_development$1.ContextConsumer = ContextConsumer;
963
+ reactIs_development$1.ContextProvider = ContextProvider;
964
+ reactIs_development$1.Element = Element2;
965
+ reactIs_development$1.ForwardRef = ForwardRef;
966
+ reactIs_development$1.Fragment = Fragment;
967
+ reactIs_development$1.Lazy = Lazy;
968
+ reactIs_development$1.Memo = Memo;
969
+ reactIs_development$1.Portal = Portal;
970
+ reactIs_development$1.Profiler = Profiler;
971
+ reactIs_development$1.StrictMode = StrictMode;
972
+ reactIs_development$1.Suspense = Suspense;
973
+ reactIs_development$1.isAsyncMode = isAsyncMode;
974
+ reactIs_development$1.isConcurrentMode = isConcurrentMode;
975
+ reactIs_development$1.isContextConsumer = isContextConsumer;
976
+ reactIs_development$1.isContextProvider = isContextProvider;
977
+ reactIs_development$1.isElement = isElement2;
978
+ reactIs_development$1.isForwardRef = isForwardRef;
979
+ reactIs_development$1.isFragment = isFragment;
980
+ reactIs_development$1.isLazy = isLazy;
981
+ reactIs_development$1.isMemo = isMemo;
982
+ reactIs_development$1.isPortal = isPortal;
983
+ reactIs_development$1.isProfiler = isProfiler;
984
+ reactIs_development$1.isStrictMode = isStrictMode;
985
+ reactIs_development$1.isSuspense = isSuspense;
986
+ reactIs_development$1.isValidElementType = isValidElementType;
987
+ reactIs_development$1.typeOf = typeOf2;
988
988
  })();
989
989
  }
990
- return reactIs_development$2;
990
+ return reactIs_development$1;
991
991
  }
992
- var hasRequiredReactIs$2;
993
- function requireReactIs$2() {
994
- if (hasRequiredReactIs$2) return reactIs$2.exports;
995
- hasRequiredReactIs$2 = 1;
992
+ var hasRequiredReactIs$1;
993
+ function requireReactIs$1() {
994
+ if (hasRequiredReactIs$1) return reactIs$1.exports;
995
+ hasRequiredReactIs$1 = 1;
996
996
  if (process.env.NODE_ENV === "production") {
997
- reactIs$2.exports = requireReactIs_production_min$1();
997
+ reactIs$1.exports = requireReactIs_production_min();
998
998
  } else {
999
- reactIs$2.exports = requireReactIs_development$2();
999
+ reactIs$1.exports = requireReactIs_development$1();
1000
1000
  }
1001
- return reactIs$2.exports;
1001
+ return reactIs$1.exports;
1002
1002
  }
1003
1003
  /*
1004
1004
  object-assign
@@ -1052,21 +1052,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1052
1052
  }
1053
1053
  }
1054
1054
  objectAssign = shouldUseNative() ? Object.assign : function(target, source) {
1055
- var from2;
1055
+ var from;
1056
1056
  var to = toObject(target);
1057
1057
  var symbols;
1058
1058
  for (var s = 1; s < arguments.length; s++) {
1059
- from2 = Object(arguments[s]);
1060
- for (var key in from2) {
1061
- if (hasOwnProperty.call(from2, key)) {
1062
- to[key] = from2[key];
1059
+ from = Object(arguments[s]);
1060
+ for (var key in from) {
1061
+ if (hasOwnProperty.call(from, key)) {
1062
+ to[key] = from[key];
1063
1063
  }
1064
1064
  }
1065
1065
  if (getOwnPropertySymbols) {
1066
- symbols = getOwnPropertySymbols(from2);
1066
+ symbols = getOwnPropertySymbols(from);
1067
1067
  for (var i = 0; i < symbols.length; i++) {
1068
- if (propIsEnumerable.call(from2, symbols[i])) {
1069
- to[symbols[i]] = from2[symbols[i]];
1068
+ if (propIsEnumerable.call(from, symbols[i])) {
1069
+ to[symbols[i]] = from[symbols[i]];
1070
1070
  }
1071
1071
  }
1072
1072
  }
@@ -1160,8 +1160,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1160
1160
  function requireFactoryWithTypeCheckers() {
1161
1161
  if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
1162
1162
  hasRequiredFactoryWithTypeCheckers = 1;
1163
- var ReactIs = requireReactIs$2();
1164
- var assign2 = requireObjectAssign();
1163
+ var ReactIs = requireReactIs$1();
1164
+ var assign = requireObjectAssign();
1165
1165
  var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
1166
1166
  var has2 = /* @__PURE__ */ requireHas();
1167
1167
  var checkPropTypes = /* @__PURE__ */ requireCheckPropTypes();
@@ -1466,7 +1466,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1466
1466
  if (propType !== "object") {
1467
1467
  return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
1468
1468
  }
1469
- var allKeys = assign2({}, props[propName], shapeTypes);
1469
+ var allKeys = assign({}, props[propName], shapeTypes);
1470
1470
  for (var key in allKeys) {
1471
1471
  var checker = shapeTypes[key];
1472
1472
  if (has2(shapeTypes, key) && typeof checker !== "function") {
@@ -1657,7 +1657,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1657
1657
  if (hasRequiredPropTypes) return propTypes$2.exports;
1658
1658
  hasRequiredPropTypes = 1;
1659
1659
  if (process.env.NODE_ENV !== "production") {
1660
- var ReactIs = requireReactIs$2();
1660
+ var ReactIs = requireReactIs$1();
1661
1661
  var throwOnDirectAccess = true;
1662
1662
  propTypes$2.exports = /* @__PURE__ */ requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
1663
1663
  } else {
@@ -1700,7 +1700,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1700
1700
  }
1701
1701
  return output;
1702
1702
  }
1703
- var reactIs$1 = { exports: {} };
1703
+ var reactIs = { exports: {} };
1704
1704
  var reactIs_production = {};
1705
1705
  /**
1706
1706
  * @license React
@@ -1802,7 +1802,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1802
1802
  reactIs_production.typeOf = typeOf2;
1803
1803
  return reactIs_production;
1804
1804
  }
1805
- var reactIs_development$1 = {};
1805
+ var reactIs_development = {};
1806
1806
  /**
1807
1807
  * @license React
1808
1808
  * react-is.development.js
@@ -1812,10 +1812,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1812
1812
  * This source code is licensed under the MIT license found in the
1813
1813
  * LICENSE file in the root directory of this source tree.
1814
1814
  */
1815
- var hasRequiredReactIs_development$1;
1816
- function requireReactIs_development$1() {
1817
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
1818
- hasRequiredReactIs_development$1 = 1;
1815
+ var hasRequiredReactIs_development;
1816
+ function requireReactIs_development() {
1817
+ if (hasRequiredReactIs_development) return reactIs_development;
1818
+ hasRequiredReactIs_development = 1;
1819
1819
  "production" !== process.env.NODE_ENV && function() {
1820
1820
  function typeOf2(object) {
1821
1821
  if ("object" === typeof object && null !== object) {
@@ -1850,73 +1850,73 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1850
1850
  }
1851
1851
  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");
1852
1852
  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");
1853
- reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE;
1854
- reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE;
1855
- reactIs_development$1.Element = REACT_ELEMENT_TYPE;
1856
- reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE;
1857
- reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE;
1858
- reactIs_development$1.Lazy = REACT_LAZY_TYPE;
1859
- reactIs_development$1.Memo = REACT_MEMO_TYPE;
1860
- reactIs_development$1.Portal = REACT_PORTAL_TYPE;
1861
- reactIs_development$1.Profiler = REACT_PROFILER_TYPE;
1862
- reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE;
1863
- reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE;
1864
- reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
1865
- reactIs_development$1.isContextConsumer = function(object) {
1853
+ reactIs_development.ContextConsumer = REACT_CONSUMER_TYPE;
1854
+ reactIs_development.ContextProvider = REACT_CONTEXT_TYPE;
1855
+ reactIs_development.Element = REACT_ELEMENT_TYPE;
1856
+ reactIs_development.ForwardRef = REACT_FORWARD_REF_TYPE;
1857
+ reactIs_development.Fragment = REACT_FRAGMENT_TYPE;
1858
+ reactIs_development.Lazy = REACT_LAZY_TYPE;
1859
+ reactIs_development.Memo = REACT_MEMO_TYPE;
1860
+ reactIs_development.Portal = REACT_PORTAL_TYPE;
1861
+ reactIs_development.Profiler = REACT_PROFILER_TYPE;
1862
+ reactIs_development.StrictMode = REACT_STRICT_MODE_TYPE;
1863
+ reactIs_development.Suspense = REACT_SUSPENSE_TYPE;
1864
+ reactIs_development.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
1865
+ reactIs_development.isContextConsumer = function(object) {
1866
1866
  return typeOf2(object) === REACT_CONSUMER_TYPE;
1867
1867
  };
1868
- reactIs_development$1.isContextProvider = function(object) {
1868
+ reactIs_development.isContextProvider = function(object) {
1869
1869
  return typeOf2(object) === REACT_CONTEXT_TYPE;
1870
1870
  };
1871
- reactIs_development$1.isElement = function(object) {
1871
+ reactIs_development.isElement = function(object) {
1872
1872
  return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
1873
1873
  };
1874
- reactIs_development$1.isForwardRef = function(object) {
1874
+ reactIs_development.isForwardRef = function(object) {
1875
1875
  return typeOf2(object) === REACT_FORWARD_REF_TYPE;
1876
1876
  };
1877
- reactIs_development$1.isFragment = function(object) {
1877
+ reactIs_development.isFragment = function(object) {
1878
1878
  return typeOf2(object) === REACT_FRAGMENT_TYPE;
1879
1879
  };
1880
- reactIs_development$1.isLazy = function(object) {
1880
+ reactIs_development.isLazy = function(object) {
1881
1881
  return typeOf2(object) === REACT_LAZY_TYPE;
1882
1882
  };
1883
- reactIs_development$1.isMemo = function(object) {
1883
+ reactIs_development.isMemo = function(object) {
1884
1884
  return typeOf2(object) === REACT_MEMO_TYPE;
1885
1885
  };
1886
- reactIs_development$1.isPortal = function(object) {
1886
+ reactIs_development.isPortal = function(object) {
1887
1887
  return typeOf2(object) === REACT_PORTAL_TYPE;
1888
1888
  };
1889
- reactIs_development$1.isProfiler = function(object) {
1889
+ reactIs_development.isProfiler = function(object) {
1890
1890
  return typeOf2(object) === REACT_PROFILER_TYPE;
1891
1891
  };
1892
- reactIs_development$1.isStrictMode = function(object) {
1892
+ reactIs_development.isStrictMode = function(object) {
1893
1893
  return typeOf2(object) === REACT_STRICT_MODE_TYPE;
1894
1894
  };
1895
- reactIs_development$1.isSuspense = function(object) {
1895
+ reactIs_development.isSuspense = function(object) {
1896
1896
  return typeOf2(object) === REACT_SUSPENSE_TYPE;
1897
1897
  };
1898
- reactIs_development$1.isSuspenseList = function(object) {
1898
+ reactIs_development.isSuspenseList = function(object) {
1899
1899
  return typeOf2(object) === REACT_SUSPENSE_LIST_TYPE;
1900
1900
  };
1901
- reactIs_development$1.isValidElementType = function(type) {
1901
+ reactIs_development.isValidElementType = function(type) {
1902
1902
  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;
1903
1903
  };
1904
- reactIs_development$1.typeOf = typeOf2;
1904
+ reactIs_development.typeOf = typeOf2;
1905
1905
  }();
1906
- return reactIs_development$1;
1906
+ return reactIs_development;
1907
1907
  }
1908
- var hasRequiredReactIs$1;
1909
- function requireReactIs$1() {
1910
- if (hasRequiredReactIs$1) return reactIs$1.exports;
1911
- hasRequiredReactIs$1 = 1;
1908
+ var hasRequiredReactIs;
1909
+ function requireReactIs() {
1910
+ if (hasRequiredReactIs) return reactIs.exports;
1911
+ hasRequiredReactIs = 1;
1912
1912
  if (process.env.NODE_ENV === "production") {
1913
- reactIs$1.exports = /* @__PURE__ */ requireReactIs_production();
1913
+ reactIs.exports = /* @__PURE__ */ requireReactIs_production();
1914
1914
  } else {
1915
- reactIs$1.exports = /* @__PURE__ */ requireReactIs_development$1();
1915
+ reactIs.exports = /* @__PURE__ */ requireReactIs_development();
1916
1916
  }
1917
- return reactIs$1.exports;
1917
+ return reactIs.exports;
1918
1918
  }
1919
- var reactIsExports = /* @__PURE__ */ requireReactIs$1();
1919
+ var reactIsExports = /* @__PURE__ */ requireReactIs();
1920
1920
  function isPlainObject(item) {
1921
1921
  if (typeof item !== "object" || item === null) {
1922
1922
  return false;
@@ -1966,25 +1966,25 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1966
1966
  });
1967
1967
  }
1968
1968
  const responsivePropType = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
1969
- function sortContainerQueries(theme, css2) {
1969
+ function sortContainerQueries(theme, css) {
1970
1970
  if (!theme.containerQueries) {
1971
- return css2;
1971
+ return css;
1972
1972
  }
1973
- const sorted = Object.keys(css2).filter((key) => key.startsWith("@container")).sort((a, b) => {
1973
+ const sorted = Object.keys(css).filter((key) => key.startsWith("@container")).sort((a, b) => {
1974
1974
  var _a, _b;
1975
1975
  const regex = /min-width:\s*([0-9.]+)/;
1976
1976
  return +(((_a = a.match(regex)) == null ? void 0 : _a[1]) || 0) - +(((_b = b.match(regex)) == null ? void 0 : _b[1]) || 0);
1977
1977
  });
1978
1978
  if (!sorted.length) {
1979
- return css2;
1979
+ return css;
1980
1980
  }
1981
1981
  return sorted.reduce((acc, key) => {
1982
- const value = css2[key];
1982
+ const value = css[key];
1983
1983
  delete acc[key];
1984
1984
  acc[key] = value;
1985
1985
  return acc;
1986
1986
  }, {
1987
- ...css2
1987
+ ...css
1988
1988
  });
1989
1989
  }
1990
1990
  function isCqShorthand(breakpointKeys, value) {
@@ -2005,12 +2005,12 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
2005
2005
  }
2006
2006
  function cssContainerQueries(themeInput) {
2007
2007
  const toContainerQuery = (mediaQuery, name) => mediaQuery.replace("@media", name ? `@container ${name}` : "@container");
2008
- function attachCq(node3, name) {
2009
- node3.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
2010
- node3.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);
2011
- node3.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);
2012
- node3.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);
2013
- node3.not = (...args) => {
2008
+ function attachCq(node2, name) {
2009
+ node2.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
2010
+ node2.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);
2011
+ node2.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);
2012
+ node2.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);
2013
+ node2.not = (...args) => {
2014
2014
  const result2 = toContainerQuery(themeInput.breakpoints.not(...args), name);
2015
2015
  if (result2.includes("not all and")) {
2016
2016
  return result2.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or");
@@ -2018,10 +2018,10 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
2018
2018
  return result2;
2019
2019
  };
2020
2020
  }
2021
- const node2 = {};
2021
+ const node = {};
2022
2022
  const containerQueries = (name) => {
2023
- attachCq(node2, name);
2024
- return node2;
2023
+ attachCq(node, name);
2024
+ return node;
2025
2025
  };
2026
2026
  attachCq(containerQueries);
2027
2027
  return {
@@ -2244,15 +2244,15 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
2244
2244
  if (typeof val === "string") {
2245
2245
  return val;
2246
2246
  }
2247
- const abs2 = Math.abs(val);
2247
+ const abs = Math.abs(val);
2248
2248
  if (process.env.NODE_ENV !== "production") {
2249
- if (!Number.isInteger(abs2)) {
2249
+ if (!Number.isInteger(abs)) {
2250
2250
  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"));
2251
- } else if (abs2 > themeSpacing.length - 1) {
2252
- 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"));
2251
+ } else if (abs > themeSpacing.length - 1) {
2252
+ 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"));
2253
2253
  }
2254
2254
  }
2255
- const transformed = themeSpacing[abs2];
2255
+ const transformed = themeSpacing[abs];
2256
2256
  if (val >= 0) {
2257
2257
  return transformed;
2258
2258
  }
@@ -2895,13 +2895,13 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
2895
2895
  }
2896
2896
  const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);
2897
2897
  const breakpointsKeys = Object.keys(emptyBreakpoints);
2898
- let css2 = emptyBreakpoints;
2898
+ let css = emptyBreakpoints;
2899
2899
  Object.keys(sxObject).forEach((styleKey) => {
2900
2900
  const value = callIfFn(sxObject[styleKey], theme);
2901
2901
  if (value !== null && value !== void 0) {
2902
2902
  if (typeof value === "object") {
2903
2903
  if (config2[styleKey]) {
2904
- css2 = merge(css2, getThemeValue(styleKey, value, theme, config2));
2904
+ css = merge(css, getThemeValue(styleKey, value, theme, config2));
2905
2905
  } else {
2906
2906
  const breakpointsValues = handleBreakpoints({
2907
2907
  theme
@@ -2909,20 +2909,20 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
2909
2909
  [styleKey]: x
2910
2910
  }));
2911
2911
  if (objectsHaveSameKeys(breakpointsValues, value)) {
2912
- css2[styleKey] = styleFunctionSx2({
2912
+ css[styleKey] = styleFunctionSx2({
2913
2913
  sx: value,
2914
2914
  theme
2915
2915
  });
2916
2916
  } else {
2917
- css2 = merge(css2, breakpointsValues);
2917
+ css = merge(css, breakpointsValues);
2918
2918
  }
2919
2919
  }
2920
2920
  } else {
2921
- css2 = merge(css2, getThemeValue(styleKey, value, theme, config2));
2921
+ css = merge(css, getThemeValue(styleKey, value, theme, config2));
2922
2922
  }
2923
2923
  }
2924
2924
  });
2925
- return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css2));
2925
+ return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css));
2926
2926
  }
2927
2927
  return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
2928
2928
  }
@@ -2980,7 +2980,6 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
2980
2980
  sx: finalSx
2981
2981
  };
2982
2982
  }
2983
- const emStyled = {};
2984
2983
  function murmur2(str) {
2985
2984
  var h = 0;
2986
2985
  var k, i = 0, len = str.length;
@@ -3082,7 +3081,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
3082
3081
  case "animation":
3083
3082
  case "animationName": {
3084
3083
  if (typeof value === "string") {
3085
- return value.replace(animationRegex, function(match2, p1, p2) {
3084
+ return value.replace(animationRegex, function(match, p1, p2) {
3086
3085
  cursor = {
3087
3086
  name: p1,
3088
3087
  styles: p2,
@@ -3111,26 +3110,26 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
3111
3110
  return "";
3112
3111
  }
3113
3112
  case "object": {
3114
- var keyframes2 = interpolation;
3115
- if (keyframes2.anim === 1) {
3113
+ var keyframes = interpolation;
3114
+ if (keyframes.anim === 1) {
3116
3115
  cursor = {
3117
- name: keyframes2.name,
3118
- styles: keyframes2.styles,
3116
+ name: keyframes.name,
3117
+ styles: keyframes.styles,
3119
3118
  next: cursor
3120
3119
  };
3121
- return keyframes2.name;
3120
+ return keyframes.name;
3122
3121
  }
3123
3122
  var serializedStyles = interpolation;
3124
3123
  if (serializedStyles.styles !== void 0) {
3125
- var next2 = serializedStyles.next;
3126
- if (next2 !== void 0) {
3127
- while (next2 !== void 0) {
3124
+ var next = serializedStyles.next;
3125
+ if (next !== void 0) {
3126
+ while (next !== void 0) {
3128
3127
  cursor = {
3129
- name: next2.name,
3130
- styles: next2.styles,
3128
+ name: next.name,
3129
+ styles: next.styles,
3131
3130
  next: cursor
3132
3131
  };
3133
- next2 = next2.next;
3132
+ next = next.next;
3134
3133
  }
3135
3134
  }
3136
3135
  var styles = serializedStyles.styles + ";";
@@ -3138,15 +3137,6 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
3138
3137
  }
3139
3138
  return createStringFromObject(mergedProps, registered, interpolation);
3140
3139
  }
3141
- case "function": {
3142
- if (mergedProps !== void 0) {
3143
- var previousCursor = cursor;
3144
- var result2 = interpolation(mergedProps);
3145
- cursor = previousCursor;
3146
- return handleInterpolation(mergedProps, registered, result2);
3147
- }
3148
- break;
3149
- }
3150
3140
  }
3151
3141
  var asString = interpolation;
3152
3142
  {
@@ -3218,9 +3208,9 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
3218
3208
  }
3219
3209
  labelPattern.lastIndex = 0;
3220
3210
  var identifierName = "";
3221
- var match2;
3222
- while ((match2 = labelPattern.exec(styles)) !== null) {
3223
- identifierName += "-" + match2[1];
3211
+ var match;
3212
+ while ((match = labelPattern.exec(styles)) !== null) {
3213
+ identifierName += "-" + match[1];
3224
3214
  }
3225
3215
  var name = murmur2(styles) + identifierName;
3226
3216
  return {
@@ -3229,1315 +3219,6 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
3229
3219
  next: cursor
3230
3220
  };
3231
3221
  }
3232
- function sheetForTag(tag) {
3233
- if (tag.sheet) {
3234
- return tag.sheet;
3235
- }
3236
- for (var i = 0; i < document.styleSheets.length; i++) {
3237
- if (document.styleSheets[i].ownerNode === tag) {
3238
- return document.styleSheets[i];
3239
- }
3240
- }
3241
- return void 0;
3242
- }
3243
- function createStyleElement(options2) {
3244
- var tag = document.createElement("style");
3245
- tag.setAttribute("data-emotion", options2.key);
3246
- if (options2.nonce !== void 0) {
3247
- tag.setAttribute("nonce", options2.nonce);
3248
- }
3249
- tag.appendChild(document.createTextNode(""));
3250
- tag.setAttribute("data-s", "");
3251
- return tag;
3252
- }
3253
- var StyleSheet = /* @__PURE__ */ function() {
3254
- function StyleSheet2(options2) {
3255
- var _this = this;
3256
- this._insertTag = function(tag) {
3257
- var before;
3258
- if (_this.tags.length === 0) {
3259
- if (_this.insertionPoint) {
3260
- before = _this.insertionPoint.nextSibling;
3261
- } else if (_this.prepend) {
3262
- before = _this.container.firstChild;
3263
- } else {
3264
- before = _this.before;
3265
- }
3266
- } else {
3267
- before = _this.tags[_this.tags.length - 1].nextSibling;
3268
- }
3269
- _this.container.insertBefore(tag, before);
3270
- _this.tags.push(tag);
3271
- };
3272
- this.isSpeedy = options2.speedy === void 0 ? true : options2.speedy;
3273
- this.tags = [];
3274
- this.ctr = 0;
3275
- this.nonce = options2.nonce;
3276
- this.key = options2.key;
3277
- this.container = options2.container;
3278
- this.prepend = options2.prepend;
3279
- this.insertionPoint = options2.insertionPoint;
3280
- this.before = null;
3281
- }
3282
- var _proto = StyleSheet2.prototype;
3283
- _proto.hydrate = function hydrate(nodes) {
3284
- nodes.forEach(this._insertTag);
3285
- };
3286
- _proto.insert = function insert(rule) {
3287
- if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
3288
- this._insertTag(createStyleElement(this));
3289
- }
3290
- var tag = this.tags[this.tags.length - 1];
3291
- if (this.isSpeedy) {
3292
- var sheet = sheetForTag(tag);
3293
- try {
3294
- sheet.insertRule(rule, sheet.cssRules.length);
3295
- } catch (e) {
3296
- }
3297
- } else {
3298
- tag.appendChild(document.createTextNode(rule));
3299
- }
3300
- this.ctr++;
3301
- };
3302
- _proto.flush = function flush() {
3303
- this.tags.forEach(function(tag) {
3304
- var _tag$parentNode;
3305
- return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
3306
- });
3307
- this.tags = [];
3308
- this.ctr = 0;
3309
- };
3310
- return StyleSheet2;
3311
- }();
3312
- var MS = "-ms-";
3313
- var MOZ = "-moz-";
3314
- var WEBKIT = "-webkit-";
3315
- var COMMENT = "comm";
3316
- var RULESET = "rule";
3317
- var DECLARATION = "decl";
3318
- var IMPORT = "@import";
3319
- var KEYFRAMES = "@keyframes";
3320
- var LAYER = "@layer";
3321
- var abs = Math.abs;
3322
- var from = String.fromCharCode;
3323
- var assign = Object.assign;
3324
- function hash$2(value, length2) {
3325
- return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
3326
- }
3327
- function trim(value) {
3328
- return value.trim();
3329
- }
3330
- function match(value, pattern) {
3331
- return (value = pattern.exec(value)) ? value[0] : value;
3332
- }
3333
- function replace(value, pattern, replacement) {
3334
- return value.replace(pattern, replacement);
3335
- }
3336
- function indexof(value, search) {
3337
- return value.indexOf(search);
3338
- }
3339
- function charat(value, index) {
3340
- return value.charCodeAt(index) | 0;
3341
- }
3342
- function substr(value, begin, end2) {
3343
- return value.slice(begin, end2);
3344
- }
3345
- function strlen(value) {
3346
- return value.length;
3347
- }
3348
- function sizeof(value) {
3349
- return value.length;
3350
- }
3351
- function append(value, array) {
3352
- return array.push(value), value;
3353
- }
3354
- function combine(array, callback) {
3355
- return array.map(callback).join("");
3356
- }
3357
- var line = 1;
3358
- var column = 1;
3359
- var length = 0;
3360
- var position = 0;
3361
- var character = 0;
3362
- var characters = "";
3363
- function node(value, root, parent, type, props, children, length2) {
3364
- return { value, root, parent, type, props, children, line, column, length: length2, return: "" };
3365
- }
3366
- function copy(root, props) {
3367
- return assign(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
3368
- }
3369
- function char() {
3370
- return character;
3371
- }
3372
- function prev() {
3373
- character = position > 0 ? charat(characters, --position) : 0;
3374
- if (column--, character === 10)
3375
- column = 1, line--;
3376
- return character;
3377
- }
3378
- function next() {
3379
- character = position < length ? charat(characters, position++) : 0;
3380
- if (column++, character === 10)
3381
- column = 1, line++;
3382
- return character;
3383
- }
3384
- function peek() {
3385
- return charat(characters, position);
3386
- }
3387
- function caret() {
3388
- return position;
3389
- }
3390
- function slice(begin, end2) {
3391
- return substr(characters, begin, end2);
3392
- }
3393
- function token(type) {
3394
- switch (type) {
3395
- // \0 \t \n \r \s whitespace token
3396
- case 0:
3397
- case 9:
3398
- case 10:
3399
- case 13:
3400
- case 32:
3401
- return 5;
3402
- // ! + , / > @ ~ isolate token
3403
- case 33:
3404
- case 43:
3405
- case 44:
3406
- case 47:
3407
- case 62:
3408
- case 64:
3409
- case 126:
3410
- // ; { } breakpoint token
3411
- case 59:
3412
- case 123:
3413
- case 125:
3414
- return 4;
3415
- // : accompanied token
3416
- case 58:
3417
- return 3;
3418
- // " ' ( [ opening delimit token
3419
- case 34:
3420
- case 39:
3421
- case 40:
3422
- case 91:
3423
- return 2;
3424
- // ) ] closing delimit token
3425
- case 41:
3426
- case 93:
3427
- return 1;
3428
- }
3429
- return 0;
3430
- }
3431
- function alloc(value) {
3432
- return line = column = 1, length = strlen(characters = value), position = 0, [];
3433
- }
3434
- function dealloc(value) {
3435
- return characters = "", value;
3436
- }
3437
- function delimit(type) {
3438
- return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
3439
- }
3440
- function whitespace(type) {
3441
- while (character = peek())
3442
- if (character < 33)
3443
- next();
3444
- else
3445
- break;
3446
- return token(type) > 2 || token(character) > 3 ? "" : " ";
3447
- }
3448
- function escaping(index, count) {
3449
- while (--count && next())
3450
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
3451
- break;
3452
- return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
3453
- }
3454
- function delimiter(type) {
3455
- while (next())
3456
- switch (character) {
3457
- // ] ) " '
3458
- case type:
3459
- return position;
3460
- // " '
3461
- case 34:
3462
- case 39:
3463
- if (type !== 34 && type !== 39)
3464
- delimiter(character);
3465
- break;
3466
- // (
3467
- case 40:
3468
- if (type === 41)
3469
- delimiter(type);
3470
- break;
3471
- // \
3472
- case 92:
3473
- next();
3474
- break;
3475
- }
3476
- return position;
3477
- }
3478
- function commenter(type, index) {
3479
- while (next())
3480
- if (type + character === 47 + 10)
3481
- break;
3482
- else if (type + character === 42 + 42 && peek() === 47)
3483
- break;
3484
- return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
3485
- }
3486
- function identifier(index) {
3487
- while (!token(peek()))
3488
- next();
3489
- return slice(index, position);
3490
- }
3491
- function compile(value) {
3492
- return dealloc(parse$1("", null, null, null, [""], value = alloc(value), 0, [0], value));
3493
- }
3494
- function parse$1(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
3495
- var index = 0;
3496
- var offset2 = 0;
3497
- var length2 = pseudo;
3498
- var atrule = 0;
3499
- var property = 0;
3500
- var previous = 0;
3501
- var variable = 1;
3502
- var scanning = 1;
3503
- var ampersand = 1;
3504
- var character2 = 0;
3505
- var type = "";
3506
- var props = rules;
3507
- var children = rulesets;
3508
- var reference2 = rule;
3509
- var characters2 = type;
3510
- while (scanning)
3511
- switch (previous = character2, character2 = next()) {
3512
- // (
3513
- case 40:
3514
- if (previous != 108 && charat(characters2, length2 - 1) == 58) {
3515
- if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
3516
- ampersand = -1;
3517
- break;
3518
- }
3519
- // " ' [
3520
- case 34:
3521
- case 39:
3522
- case 91:
3523
- characters2 += delimit(character2);
3524
- break;
3525
- // \t \n \r \s
3526
- case 9:
3527
- case 10:
3528
- case 13:
3529
- case 32:
3530
- characters2 += whitespace(previous);
3531
- break;
3532
- // \
3533
- case 92:
3534
- characters2 += escaping(caret() - 1, 7);
3535
- continue;
3536
- // /
3537
- case 47:
3538
- switch (peek()) {
3539
- case 42:
3540
- case 47:
3541
- append(comment(commenter(next(), caret()), root, parent), declarations);
3542
- break;
3543
- default:
3544
- characters2 += "/";
3545
- }
3546
- break;
3547
- // {
3548
- case 123 * variable:
3549
- points[index++] = strlen(characters2) * ampersand;
3550
- // } ; \0
3551
- case 125 * variable:
3552
- case 59:
3553
- case 0:
3554
- switch (character2) {
3555
- // \0 }
3556
- case 0:
3557
- case 125:
3558
- scanning = 0;
3559
- // ;
3560
- case 59 + offset2:
3561
- if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
3562
- if (property > 0 && strlen(characters2) - length2)
3563
- append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
3564
- break;
3565
- // @ ;
3566
- case 59:
3567
- characters2 += ";";
3568
- // { rule/at-rule
3569
- default:
3570
- append(reference2 = ruleset(characters2, root, parent, index, offset2, rules, points, type, props = [], children = [], length2), rulesets);
3571
- if (character2 === 123)
3572
- if (offset2 === 0)
3573
- parse$1(characters2, root, reference2, reference2, props, rulesets, length2, points, children);
3574
- else
3575
- switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
3576
- // d l m s
3577
- case 100:
3578
- case 108:
3579
- case 109:
3580
- case 115:
3581
- 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);
3582
- break;
3583
- default:
3584
- parse$1(characters2, reference2, reference2, reference2, [""], children, 0, points, children);
3585
- }
3586
- }
3587
- index = offset2 = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
3588
- break;
3589
- // :
3590
- case 58:
3591
- length2 = 1 + strlen(characters2), property = previous;
3592
- default:
3593
- if (variable < 1) {
3594
- if (character2 == 123)
3595
- --variable;
3596
- else if (character2 == 125 && variable++ == 0 && prev() == 125)
3597
- continue;
3598
- }
3599
- switch (characters2 += from(character2), character2 * variable) {
3600
- // &
3601
- case 38:
3602
- ampersand = offset2 > 0 ? 1 : (characters2 += "\f", -1);
3603
- break;
3604
- // ,
3605
- case 44:
3606
- points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
3607
- break;
3608
- // @
3609
- case 64:
3610
- if (peek() === 45)
3611
- characters2 += delimit(next());
3612
- atrule = peek(), offset2 = length2 = strlen(type = characters2 += identifier(caret())), character2++;
3613
- break;
3614
- // -
3615
- case 45:
3616
- if (previous === 45 && strlen(characters2) == 2)
3617
- variable = 0;
3618
- }
3619
- }
3620
- return rulesets;
3621
- }
3622
- function ruleset(value, root, parent, index, offset2, rules, points, type, props, children, length2) {
3623
- var post = offset2 - 1;
3624
- var rule = offset2 === 0 ? rules : [""];
3625
- var size = sizeof(rule);
3626
- for (var i = 0, j = 0, k = 0; i < index; ++i)
3627
- for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
3628
- if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
3629
- props[k++] = z;
3630
- return node(value, root, parent, offset2 === 0 ? RULESET : type, props, children, length2);
3631
- }
3632
- function comment(value, root, parent) {
3633
- return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
3634
- }
3635
- function declaration(value, root, parent, length2) {
3636
- return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
3637
- }
3638
- function serialize(children, callback) {
3639
- var output = "";
3640
- var length2 = sizeof(children);
3641
- for (var i = 0; i < length2; i++)
3642
- output += callback(children[i], i, children, callback) || "";
3643
- return output;
3644
- }
3645
- function stringify(element, index, children, callback) {
3646
- switch (element.type) {
3647
- case LAYER:
3648
- if (element.children.length) break;
3649
- case IMPORT:
3650
- case DECLARATION:
3651
- return element.return = element.return || element.value;
3652
- case COMMENT:
3653
- return "";
3654
- case KEYFRAMES:
3655
- return element.return = element.value + "{" + serialize(element.children, callback) + "}";
3656
- case RULESET:
3657
- element.value = element.props.join(",");
3658
- }
3659
- return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
3660
- }
3661
- function middleware(collection) {
3662
- var length2 = sizeof(collection);
3663
- return function(element, index, children, callback) {
3664
- var output = "";
3665
- for (var i = 0; i < length2; i++)
3666
- output += collection[i](element, index, children, callback) || "";
3667
- return output;
3668
- };
3669
- }
3670
- function rulesheet(callback) {
3671
- return function(element) {
3672
- if (!element.root) {
3673
- if (element = element.return)
3674
- callback(element);
3675
- }
3676
- };
3677
- }
3678
- var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
3679
- var previous = 0;
3680
- var character2 = 0;
3681
- while (true) {
3682
- previous = character2;
3683
- character2 = peek();
3684
- if (previous === 38 && character2 === 12) {
3685
- points[index] = 1;
3686
- }
3687
- if (token(character2)) {
3688
- break;
3689
- }
3690
- next();
3691
- }
3692
- return slice(begin, position);
3693
- };
3694
- var toRules = function toRules2(parsed, points) {
3695
- var index = -1;
3696
- var character2 = 44;
3697
- do {
3698
- switch (token(character2)) {
3699
- case 0:
3700
- if (character2 === 38 && peek() === 12) {
3701
- points[index] = 1;
3702
- }
3703
- parsed[index] += identifierWithPointTracking(position - 1, points, index);
3704
- break;
3705
- case 2:
3706
- parsed[index] += delimit(character2);
3707
- break;
3708
- case 4:
3709
- if (character2 === 44) {
3710
- parsed[++index] = peek() === 58 ? "&\f" : "";
3711
- points[index] = parsed[index].length;
3712
- break;
3713
- }
3714
- // fallthrough
3715
- default:
3716
- parsed[index] += from(character2);
3717
- }
3718
- } while (character2 = next());
3719
- return parsed;
3720
- };
3721
- var getRules = function getRules2(value, points) {
3722
- return dealloc(toRules(alloc(value), points));
3723
- };
3724
- var fixedElements = /* @__PURE__ */ new WeakMap();
3725
- var compat = function compat2(element) {
3726
- if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
3727
- // negative .length indicates that this rule has been already prefixed
3728
- element.length < 1) {
3729
- return;
3730
- }
3731
- var value = element.value;
3732
- var parent = element.parent;
3733
- var isImplicitRule = element.column === parent.column && element.line === parent.line;
3734
- while (parent.type !== "rule") {
3735
- parent = parent.parent;
3736
- if (!parent) return;
3737
- }
3738
- if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
3739
- return;
3740
- }
3741
- if (isImplicitRule) {
3742
- return;
3743
- }
3744
- fixedElements.set(element, true);
3745
- var points = [];
3746
- var rules = getRules(value, points);
3747
- var parentRules = parent.props;
3748
- for (var i = 0, k = 0; i < rules.length; i++) {
3749
- for (var j = 0; j < parentRules.length; j++, k++) {
3750
- element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
3751
- }
3752
- }
3753
- };
3754
- var removeLabel = function removeLabel2(element) {
3755
- if (element.type === "decl") {
3756
- var value = element.value;
3757
- if (
3758
- // charcode for l
3759
- value.charCodeAt(0) === 108 && // charcode for b
3760
- value.charCodeAt(2) === 98
3761
- ) {
3762
- element["return"] = "";
3763
- element.value = "";
3764
- }
3765
- }
3766
- };
3767
- function prefix(value, length2) {
3768
- switch (hash$2(value, length2)) {
3769
- // color-adjust
3770
- case 5103:
3771
- return WEBKIT + "print-" + value + value;
3772
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
3773
- case 5737:
3774
- case 4201:
3775
- case 3177:
3776
- case 3433:
3777
- case 1641:
3778
- case 4457:
3779
- case 2921:
3780
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
3781
- case 5572:
3782
- case 6356:
3783
- case 5844:
3784
- case 3191:
3785
- case 6645:
3786
- case 3005:
3787
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
3788
- case 6391:
3789
- case 5879:
3790
- case 5623:
3791
- case 6135:
3792
- case 4599:
3793
- case 4855:
3794
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
3795
- case 4215:
3796
- case 6389:
3797
- case 5109:
3798
- case 5365:
3799
- case 5621:
3800
- case 3829:
3801
- return WEBKIT + value + value;
3802
- // appearance, user-select, transform, hyphens, text-size-adjust
3803
- case 5349:
3804
- case 4246:
3805
- case 4810:
3806
- case 6968:
3807
- case 2756:
3808
- return WEBKIT + value + MOZ + value + MS + value + value;
3809
- // flex, flex-direction
3810
- case 6828:
3811
- case 4268:
3812
- return WEBKIT + value + MS + value + value;
3813
- // order
3814
- case 6165:
3815
- return WEBKIT + value + MS + "flex-" + value + value;
3816
- // align-items
3817
- case 5187:
3818
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
3819
- // align-self
3820
- case 5443:
3821
- return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
3822
- // align-content
3823
- case 4675:
3824
- return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
3825
- // flex-shrink
3826
- case 5548:
3827
- return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
3828
- // flex-basis
3829
- case 5292:
3830
- return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
3831
- // flex-grow
3832
- case 6060:
3833
- return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
3834
- // transition
3835
- case 4554:
3836
- return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
3837
- // cursor
3838
- case 6187:
3839
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
3840
- // background, background-image
3841
- case 5495:
3842
- case 3959:
3843
- return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
3844
- // justify-content
3845
- case 4968:
3846
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
3847
- // (margin|padding)-inline-(start|end)
3848
- case 4095:
3849
- case 3583:
3850
- case 4068:
3851
- case 2532:
3852
- return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
3853
- // (min|max)?(width|height|inline-size|block-size)
3854
- case 8116:
3855
- case 7059:
3856
- case 5753:
3857
- case 5535:
3858
- case 5445:
3859
- case 5701:
3860
- case 4933:
3861
- case 4677:
3862
- case 5533:
3863
- case 5789:
3864
- case 5021:
3865
- case 4765:
3866
- if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
3867
- // (m)ax-content, (m)in-content
3868
- case 109:
3869
- if (charat(value, length2 + 4) !== 45) break;
3870
- // (f)ill-available, (f)it-content
3871
- case 102:
3872
- return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
3873
- // (s)tretch
3874
- case 115:
3875
- return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
3876
- }
3877
- break;
3878
- // position: sticky
3879
- case 4949:
3880
- if (charat(value, length2 + 1) !== 115) break;
3881
- // display: (flex|inline-flex)
3882
- case 6444:
3883
- switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
3884
- // stic(k)y
3885
- case 107:
3886
- return replace(value, ":", ":" + WEBKIT) + value;
3887
- // (inline-)?fl(e)x
3888
- case 101:
3889
- return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
3890
- }
3891
- break;
3892
- // writing-mode
3893
- case 5936:
3894
- switch (charat(value, length2 + 11)) {
3895
- // vertical-l(r)
3896
- case 114:
3897
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
3898
- // vertical-r(l)
3899
- case 108:
3900
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
3901
- // horizontal(-)tb
3902
- case 45:
3903
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
3904
- }
3905
- return WEBKIT + value + MS + value + value;
3906
- }
3907
- return value;
3908
- }
3909
- var prefixer = function prefixer2(element, index, children, callback) {
3910
- if (element.length > -1) {
3911
- if (!element["return"]) switch (element.type) {
3912
- case DECLARATION:
3913
- element["return"] = prefix(element.value, element.length);
3914
- break;
3915
- case KEYFRAMES:
3916
- return serialize([copy(element, {
3917
- value: replace(element.value, "@", "@" + WEBKIT)
3918
- })], callback);
3919
- case RULESET:
3920
- if (element.length) return combine(element.props, function(value) {
3921
- switch (match(value, /(::plac\w+|:read-\w+)/)) {
3922
- // :read-(only|write)
3923
- case ":read-only":
3924
- case ":read-write":
3925
- return serialize([copy(element, {
3926
- props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
3927
- })], callback);
3928
- // :placeholder
3929
- case "::placeholder":
3930
- return serialize([copy(element, {
3931
- props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
3932
- }), copy(element, {
3933
- props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
3934
- }), copy(element, {
3935
- props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
3936
- })], callback);
3937
- }
3938
- return "";
3939
- });
3940
- }
3941
- }
3942
- };
3943
- var defaultStylisPlugins = [prefixer];
3944
- var createCache = function createCache2(options2) {
3945
- var key = options2.key;
3946
- if (key === "css") {
3947
- var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
3948
- Array.prototype.forEach.call(ssrStyles, function(node2) {
3949
- var dataEmotionAttribute = node2.getAttribute("data-emotion");
3950
- if (dataEmotionAttribute.indexOf(" ") === -1) {
3951
- return;
3952
- }
3953
- document.head.appendChild(node2);
3954
- node2.setAttribute("data-s", "");
3955
- });
3956
- }
3957
- var stylisPlugins = options2.stylisPlugins || defaultStylisPlugins;
3958
- var inserted = {};
3959
- var container;
3960
- var nodesToHydrate = [];
3961
- {
3962
- container = options2.container || document.head;
3963
- Array.prototype.forEach.call(
3964
- // this means we will ignore elements which don't have a space in them which
3965
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
3966
- document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
3967
- function(node2) {
3968
- var attrib = node2.getAttribute("data-emotion").split(" ");
3969
- for (var i = 1; i < attrib.length; i++) {
3970
- inserted[attrib[i]] = true;
3971
- }
3972
- nodesToHydrate.push(node2);
3973
- }
3974
- );
3975
- }
3976
- var _insert;
3977
- var omnipresentPlugins = [compat, removeLabel];
3978
- {
3979
- var currentSheet;
3980
- var finalizingPlugins = [stringify, rulesheet(function(rule) {
3981
- currentSheet.insert(rule);
3982
- })];
3983
- var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
3984
- var stylis = function stylis2(styles) {
3985
- return serialize(compile(styles), serializer);
3986
- };
3987
- _insert = function insert(selector, serialized, sheet, shouldCache) {
3988
- currentSheet = sheet;
3989
- stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
3990
- if (shouldCache) {
3991
- cache.inserted[serialized.name] = true;
3992
- }
3993
- };
3994
- }
3995
- var cache = {
3996
- key,
3997
- sheet: new StyleSheet({
3998
- key,
3999
- container,
4000
- nonce: options2.nonce,
4001
- speedy: options2.speedy,
4002
- prepend: options2.prepend,
4003
- insertionPoint: options2.insertionPoint
4004
- }),
4005
- nonce: options2.nonce,
4006
- inserted,
4007
- registered: {},
4008
- insert: _insert
4009
- };
4010
- cache.sheet.hydrate(nodesToHydrate);
4011
- return cache;
4012
- };
4013
- function _extends() {
4014
- return _extends = Object.assign ? Object.assign.bind() : function(n) {
4015
- for (var e = 1; e < arguments.length; e++) {
4016
- var t = arguments[e];
4017
- for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n[r2] = t[r2]);
4018
- }
4019
- return n;
4020
- }, _extends.apply(null, arguments);
4021
- }
4022
- var reactIs = { exports: {} };
4023
- var reactIs_production_min = {};
4024
- /** @license React v16.13.1
4025
- * react-is.production.min.js
4026
- *
4027
- * Copyright (c) Facebook, Inc. and its affiliates.
4028
- *
4029
- * This source code is licensed under the MIT license found in the
4030
- * LICENSE file in the root directory of this source tree.
4031
- */
4032
- var hasRequiredReactIs_production_min;
4033
- function requireReactIs_production_min() {
4034
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
4035
- hasRequiredReactIs_production_min = 1;
4036
- 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;
4037
- function z(a) {
4038
- if ("object" === typeof a && null !== a) {
4039
- var u = a.$$typeof;
4040
- switch (u) {
4041
- case c:
4042
- switch (a = a.type, a) {
4043
- case l:
4044
- case m:
4045
- case e:
4046
- case g:
4047
- case f:
4048
- case p:
4049
- return a;
4050
- default:
4051
- switch (a = a && a.$$typeof, a) {
4052
- case k:
4053
- case n:
4054
- case t:
4055
- case r2:
4056
- case h:
4057
- return a;
4058
- default:
4059
- return u;
4060
- }
4061
- }
4062
- case d:
4063
- return u;
4064
- }
4065
- }
4066
- }
4067
- function A(a) {
4068
- return z(a) === m;
4069
- }
4070
- reactIs_production_min.AsyncMode = l;
4071
- reactIs_production_min.ConcurrentMode = m;
4072
- reactIs_production_min.ContextConsumer = k;
4073
- reactIs_production_min.ContextProvider = h;
4074
- reactIs_production_min.Element = c;
4075
- reactIs_production_min.ForwardRef = n;
4076
- reactIs_production_min.Fragment = e;
4077
- reactIs_production_min.Lazy = t;
4078
- reactIs_production_min.Memo = r2;
4079
- reactIs_production_min.Portal = d;
4080
- reactIs_production_min.Profiler = g;
4081
- reactIs_production_min.StrictMode = f;
4082
- reactIs_production_min.Suspense = p;
4083
- reactIs_production_min.isAsyncMode = function(a) {
4084
- return A(a) || z(a) === l;
4085
- };
4086
- reactIs_production_min.isConcurrentMode = A;
4087
- reactIs_production_min.isContextConsumer = function(a) {
4088
- return z(a) === k;
4089
- };
4090
- reactIs_production_min.isContextProvider = function(a) {
4091
- return z(a) === h;
4092
- };
4093
- reactIs_production_min.isElement = function(a) {
4094
- return "object" === typeof a && null !== a && a.$$typeof === c;
4095
- };
4096
- reactIs_production_min.isForwardRef = function(a) {
4097
- return z(a) === n;
4098
- };
4099
- reactIs_production_min.isFragment = function(a) {
4100
- return z(a) === e;
4101
- };
4102
- reactIs_production_min.isLazy = function(a) {
4103
- return z(a) === t;
4104
- };
4105
- reactIs_production_min.isMemo = function(a) {
4106
- return z(a) === r2;
4107
- };
4108
- reactIs_production_min.isPortal = function(a) {
4109
- return z(a) === d;
4110
- };
4111
- reactIs_production_min.isProfiler = function(a) {
4112
- return z(a) === g;
4113
- };
4114
- reactIs_production_min.isStrictMode = function(a) {
4115
- return z(a) === f;
4116
- };
4117
- reactIs_production_min.isSuspense = function(a) {
4118
- return z(a) === p;
4119
- };
4120
- reactIs_production_min.isValidElementType = function(a) {
4121
- 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);
4122
- };
4123
- reactIs_production_min.typeOf = z;
4124
- return reactIs_production_min;
4125
- }
4126
- var reactIs_development = {};
4127
- /** @license React v16.13.1
4128
- * react-is.development.js
4129
- *
4130
- * Copyright (c) Facebook, Inc. and its affiliates.
4131
- *
4132
- * This source code is licensed under the MIT license found in the
4133
- * LICENSE file in the root directory of this source tree.
4134
- */
4135
- var hasRequiredReactIs_development;
4136
- function requireReactIs_development() {
4137
- if (hasRequiredReactIs_development) return reactIs_development;
4138
- hasRequiredReactIs_development = 1;
4139
- if (process.env.NODE_ENV !== "production") {
4140
- (function() {
4141
- var hasSymbol = typeof Symbol === "function" && Symbol.for;
4142
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
4143
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
4144
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
4145
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
4146
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
4147
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
4148
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
4149
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
4150
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
4151
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
4152
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
4153
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
4154
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
4155
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
4156
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
4157
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
4158
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
4159
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
4160
- function isValidElementType(type) {
4161
- return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
4162
- 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);
4163
- }
4164
- function typeOf2(object) {
4165
- if (typeof object === "object" && object !== null) {
4166
- var $$typeof = object.$$typeof;
4167
- switch ($$typeof) {
4168
- case REACT_ELEMENT_TYPE:
4169
- var type = object.type;
4170
- switch (type) {
4171
- case REACT_ASYNC_MODE_TYPE:
4172
- case REACT_CONCURRENT_MODE_TYPE:
4173
- case REACT_FRAGMENT_TYPE:
4174
- case REACT_PROFILER_TYPE:
4175
- case REACT_STRICT_MODE_TYPE:
4176
- case REACT_SUSPENSE_TYPE:
4177
- return type;
4178
- default:
4179
- var $$typeofType = type && type.$$typeof;
4180
- switch ($$typeofType) {
4181
- case REACT_CONTEXT_TYPE:
4182
- case REACT_FORWARD_REF_TYPE:
4183
- case REACT_LAZY_TYPE:
4184
- case REACT_MEMO_TYPE:
4185
- case REACT_PROVIDER_TYPE:
4186
- return $$typeofType;
4187
- default:
4188
- return $$typeof;
4189
- }
4190
- }
4191
- case REACT_PORTAL_TYPE:
4192
- return $$typeof;
4193
- }
4194
- }
4195
- return void 0;
4196
- }
4197
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
4198
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
4199
- var ContextConsumer = REACT_CONTEXT_TYPE;
4200
- var ContextProvider = REACT_PROVIDER_TYPE;
4201
- var Element2 = REACT_ELEMENT_TYPE;
4202
- var ForwardRef = REACT_FORWARD_REF_TYPE;
4203
- var Fragment = REACT_FRAGMENT_TYPE;
4204
- var Lazy = REACT_LAZY_TYPE;
4205
- var Memo = REACT_MEMO_TYPE;
4206
- var Portal = REACT_PORTAL_TYPE;
4207
- var Profiler = REACT_PROFILER_TYPE;
4208
- var StrictMode = REACT_STRICT_MODE_TYPE;
4209
- var Suspense = REACT_SUSPENSE_TYPE;
4210
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
4211
- function isAsyncMode(object) {
4212
- {
4213
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
4214
- hasWarnedAboutDeprecatedIsAsyncMode = true;
4215
- 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.");
4216
- }
4217
- }
4218
- return isConcurrentMode(object) || typeOf2(object) === REACT_ASYNC_MODE_TYPE;
4219
- }
4220
- function isConcurrentMode(object) {
4221
- return typeOf2(object) === REACT_CONCURRENT_MODE_TYPE;
4222
- }
4223
- function isContextConsumer(object) {
4224
- return typeOf2(object) === REACT_CONTEXT_TYPE;
4225
- }
4226
- function isContextProvider(object) {
4227
- return typeOf2(object) === REACT_PROVIDER_TYPE;
4228
- }
4229
- function isElement2(object) {
4230
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
4231
- }
4232
- function isForwardRef(object) {
4233
- return typeOf2(object) === REACT_FORWARD_REF_TYPE;
4234
- }
4235
- function isFragment(object) {
4236
- return typeOf2(object) === REACT_FRAGMENT_TYPE;
4237
- }
4238
- function isLazy(object) {
4239
- return typeOf2(object) === REACT_LAZY_TYPE;
4240
- }
4241
- function isMemo(object) {
4242
- return typeOf2(object) === REACT_MEMO_TYPE;
4243
- }
4244
- function isPortal(object) {
4245
- return typeOf2(object) === REACT_PORTAL_TYPE;
4246
- }
4247
- function isProfiler(object) {
4248
- return typeOf2(object) === REACT_PROFILER_TYPE;
4249
- }
4250
- function isStrictMode(object) {
4251
- return typeOf2(object) === REACT_STRICT_MODE_TYPE;
4252
- }
4253
- function isSuspense(object) {
4254
- return typeOf2(object) === REACT_SUSPENSE_TYPE;
4255
- }
4256
- reactIs_development.AsyncMode = AsyncMode;
4257
- reactIs_development.ConcurrentMode = ConcurrentMode;
4258
- reactIs_development.ContextConsumer = ContextConsumer;
4259
- reactIs_development.ContextProvider = ContextProvider;
4260
- reactIs_development.Element = Element2;
4261
- reactIs_development.ForwardRef = ForwardRef;
4262
- reactIs_development.Fragment = Fragment;
4263
- reactIs_development.Lazy = Lazy;
4264
- reactIs_development.Memo = Memo;
4265
- reactIs_development.Portal = Portal;
4266
- reactIs_development.Profiler = Profiler;
4267
- reactIs_development.StrictMode = StrictMode;
4268
- reactIs_development.Suspense = Suspense;
4269
- reactIs_development.isAsyncMode = isAsyncMode;
4270
- reactIs_development.isConcurrentMode = isConcurrentMode;
4271
- reactIs_development.isContextConsumer = isContextConsumer;
4272
- reactIs_development.isContextProvider = isContextProvider;
4273
- reactIs_development.isElement = isElement2;
4274
- reactIs_development.isForwardRef = isForwardRef;
4275
- reactIs_development.isFragment = isFragment;
4276
- reactIs_development.isLazy = isLazy;
4277
- reactIs_development.isMemo = isMemo;
4278
- reactIs_development.isPortal = isPortal;
4279
- reactIs_development.isProfiler = isProfiler;
4280
- reactIs_development.isStrictMode = isStrictMode;
4281
- reactIs_development.isSuspense = isSuspense;
4282
- reactIs_development.isValidElementType = isValidElementType;
4283
- reactIs_development.typeOf = typeOf2;
4284
- })();
4285
- }
4286
- return reactIs_development;
4287
- }
4288
- var hasRequiredReactIs;
4289
- function requireReactIs() {
4290
- if (hasRequiredReactIs) return reactIs.exports;
4291
- hasRequiredReactIs = 1;
4292
- if (process.env.NODE_ENV === "production") {
4293
- reactIs.exports = requireReactIs_production_min();
4294
- } else {
4295
- reactIs.exports = requireReactIs_development();
4296
- }
4297
- return reactIs.exports;
4298
- }
4299
- var hoistNonReactStatics_cjs;
4300
- var hasRequiredHoistNonReactStatics_cjs;
4301
- function requireHoistNonReactStatics_cjs() {
4302
- if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
4303
- hasRequiredHoistNonReactStatics_cjs = 1;
4304
- var reactIs2 = requireReactIs();
4305
- var REACT_STATICS = {
4306
- childContextTypes: true,
4307
- contextType: true,
4308
- contextTypes: true,
4309
- defaultProps: true,
4310
- displayName: true,
4311
- getDefaultProps: true,
4312
- getDerivedStateFromError: true,
4313
- getDerivedStateFromProps: true,
4314
- mixins: true,
4315
- propTypes: true,
4316
- type: true
4317
- };
4318
- var KNOWN_STATICS = {
4319
- name: true,
4320
- length: true,
4321
- prototype: true,
4322
- caller: true,
4323
- callee: true,
4324
- arguments: true,
4325
- arity: true
4326
- };
4327
- var FORWARD_REF_STATICS = {
4328
- "$$typeof": true,
4329
- render: true,
4330
- defaultProps: true,
4331
- displayName: true,
4332
- propTypes: true
4333
- };
4334
- var MEMO_STATICS = {
4335
- "$$typeof": true,
4336
- compare: true,
4337
- defaultProps: true,
4338
- displayName: true,
4339
- propTypes: true,
4340
- type: true
4341
- };
4342
- var TYPE_STATICS = {};
4343
- TYPE_STATICS[reactIs2.ForwardRef] = FORWARD_REF_STATICS;
4344
- TYPE_STATICS[reactIs2.Memo] = MEMO_STATICS;
4345
- function getStatics(component) {
4346
- if (reactIs2.isMemo(component)) {
4347
- return MEMO_STATICS;
4348
- }
4349
- return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS;
4350
- }
4351
- var defineProperty = Object.defineProperty;
4352
- var getOwnPropertyNames = Object.getOwnPropertyNames;
4353
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
4354
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
4355
- var getPrototypeOf = Object.getPrototypeOf;
4356
- var objectPrototype = Object.prototype;
4357
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
4358
- if (typeof sourceComponent !== "string") {
4359
- if (objectPrototype) {
4360
- var inheritedComponent = getPrototypeOf(sourceComponent);
4361
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
4362
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
4363
- }
4364
- }
4365
- var keys = getOwnPropertyNames(sourceComponent);
4366
- if (getOwnPropertySymbols) {
4367
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
4368
- }
4369
- var targetStatics = getStatics(targetComponent);
4370
- var sourceStatics = getStatics(sourceComponent);
4371
- for (var i = 0; i < keys.length; ++i) {
4372
- var key = keys[i];
4373
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
4374
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
4375
- try {
4376
- defineProperty(targetComponent, key, descriptor);
4377
- } catch (e) {
4378
- }
4379
- }
4380
- }
4381
- }
4382
- return targetComponent;
4383
- }
4384
- hoistNonReactStatics_cjs = hoistNonReactStatics;
4385
- return hoistNonReactStatics_cjs;
4386
- }
4387
- requireHoistNonReactStatics_cjs();
4388
- var isBrowser = true;
4389
- function getRegisteredStyles(registered, registeredStyles, classNames2) {
4390
- var rawClassName = "";
4391
- classNames2.split(" ").forEach(function(className) {
4392
- if (registered[className] !== void 0) {
4393
- registeredStyles.push(registered[className] + ";");
4394
- } else if (className) {
4395
- rawClassName += className + " ";
4396
- }
4397
- });
4398
- return rawClassName;
4399
- }
4400
- var registerStyles = function registerStyles2(cache, serialized, isStringTag2) {
4401
- var className = cache.key + "-" + serialized.name;
4402
- if (
4403
- // we only need to add the styles to the registered cache if the
4404
- // class name could be used further down
4405
- // the tree but if it's a string tag, we know it won't
4406
- // so we don't have to add it to registered cache.
4407
- // this improves memory usage since we can avoid storing the whole style string
4408
- (isStringTag2 === false || // we need to always store it if we're in compat mode and
4409
- // in node since emotion-server relies on whether a style is in
4410
- // the registered cache to know whether a style is global or not
4411
- // also, note that this check will be dead code eliminated in the browser
4412
- isBrowser === false) && cache.registered[className] === void 0
4413
- ) {
4414
- cache.registered[className] = serialized.styles;
4415
- }
4416
- };
4417
- var insertStyles = function insertStyles2(cache, serialized, isStringTag2) {
4418
- registerStyles(cache, serialized, isStringTag2);
4419
- var className = cache.key + "-" + serialized.name;
4420
- if (cache.inserted[serialized.name] === void 0) {
4421
- var current = serialized;
4422
- do {
4423
- cache.insert(serialized === current ? "." + className : "", current, cache.sheet, true);
4424
- current = current.next;
4425
- } while (current !== void 0);
4426
- }
4427
- };
4428
- var syncFallback = function syncFallback2(create) {
4429
- return create();
4430
- };
4431
- var useInsertionEffect = React__namespace["useInsertionEffect"] ? React__namespace["useInsertionEffect"] : false;
4432
- var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
4433
- var EmotionCacheContext = /* @__PURE__ */ React__namespace.createContext(
4434
- // we're doing this to avoid preconstruct's dead code elimination in this one case
4435
- // because this module is primarily intended for the browser and node
4436
- // but it's also required in react native and similar environments sometimes
4437
- // and we could have a special build just for that
4438
- // but this is much easier and the native packages
4439
- // might use a different theme context in the future anyway
4440
- typeof HTMLElement !== "undefined" ? /* @__PURE__ */ createCache({
4441
- key: "css"
4442
- }) : null
4443
- );
4444
- EmotionCacheContext.Provider;
4445
- var withEmotionCache = function withEmotionCache2(func) {
4446
- return /* @__PURE__ */ React.forwardRef(function(props, ref) {
4447
- var cache = React.useContext(EmotionCacheContext);
4448
- return func(props, cache, ref);
4449
- });
4450
- };
4451
- var ThemeContext$1 = /* @__PURE__ */ React__namespace.createContext({});
4452
- var hasOwn = {}.hasOwnProperty;
4453
- var typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__";
4454
- var createEmotionProps = function createEmotionProps2(type, props) {
4455
- var newProps = {};
4456
- for (var _key in props) {
4457
- if (hasOwn.call(props, _key)) {
4458
- newProps[_key] = props[_key];
4459
- }
4460
- }
4461
- newProps[typePropName] = type;
4462
- return newProps;
4463
- };
4464
- var Insertion = function Insertion2(_ref) {
4465
- var cache = _ref.cache, serialized = _ref.serialized, isStringTag2 = _ref.isStringTag;
4466
- registerStyles(cache, serialized, isStringTag2);
4467
- useInsertionEffectAlwaysWithSyncFallback(function() {
4468
- return insertStyles(cache, serialized, isStringTag2);
4469
- });
4470
- return null;
4471
- };
4472
- var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
4473
- var cssProp = props.css;
4474
- if (typeof cssProp === "string" && cache.registered[cssProp] !== void 0) {
4475
- cssProp = cache.registered[cssProp];
4476
- }
4477
- var WrappedComponent = props[typePropName];
4478
- var registeredStyles = [cssProp];
4479
- var className = "";
4480
- if (typeof props.className === "string") {
4481
- className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
4482
- } else if (props.className != null) {
4483
- className = props.className + " ";
4484
- }
4485
- var serialized = serializeStyles(registeredStyles, void 0, React__namespace.useContext(ThemeContext$1));
4486
- className += cache.key + "-" + serialized.name;
4487
- var newProps = {};
4488
- for (var _key2 in props) {
4489
- if (hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && true) {
4490
- newProps[_key2] = props[_key2];
4491
- }
4492
- }
4493
- newProps.className = className;
4494
- if (ref) {
4495
- newProps.ref = ref;
4496
- }
4497
- return /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement(Insertion, {
4498
- cache,
4499
- serialized,
4500
- isStringTag: typeof WrappedComponent === "string"
4501
- }), /* @__PURE__ */ React__namespace.createElement(WrappedComponent, newProps));
4502
- });
4503
- var Emotion$1 = Emotion;
4504
- var jsx = function jsx2(type, props) {
4505
- var args = arguments;
4506
- if (props == null || !hasOwn.call(props, "css")) {
4507
- return React__namespace.createElement.apply(void 0, args);
4508
- }
4509
- var argsLength = args.length;
4510
- var createElementArgArray = new Array(argsLength);
4511
- createElementArgArray[0] = Emotion$1;
4512
- createElementArgArray[1] = createEmotionProps(type, props);
4513
- for (var i = 2; i < argsLength; i++) {
4514
- createElementArgArray[i] = args[i];
4515
- }
4516
- return React__namespace.createElement.apply(null, createElementArgArray);
4517
- };
4518
- (function(_jsx) {
4519
- var JSX;
4520
- /* @__PURE__ */ (function(_JSX) {
4521
- })(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
4522
- })(jsx || (jsx = {}));
4523
- function css() {
4524
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4525
- args[_key] = arguments[_key];
4526
- }
4527
- return serializeStyles(args);
4528
- }
4529
- function keyframes() {
4530
- var insertable = css.apply(void 0, arguments);
4531
- var name = "animation-" + insertable.name;
4532
- return {
4533
- name,
4534
- styles: "@keyframes " + name + "{" + insertable.styles + "}",
4535
- anim: 1,
4536
- toString: function toString() {
4537
- return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
4538
- }
4539
- };
4540
- }
4541
3222
  /**
4542
3223
  * @mui/styled-engine v7.1.1
4543
3224
  *
@@ -5341,19 +4022,19 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
5341
4022
  return value;
5342
4023
  };
5343
4024
  }
5344
- function createGetCssVar$1(prefix2 = "") {
4025
+ function createGetCssVar$1(prefix = "") {
5345
4026
  function appendVar(...vars) {
5346
4027
  if (!vars.length) {
5347
4028
  return "";
5348
4029
  }
5349
4030
  const value = vars[0];
5350
4031
  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+)/)) {
5351
- return `, var(--${prefix2 ? `${prefix2}-` : ""}${value}${appendVar(...vars.slice(1))})`;
4032
+ return `, var(--${prefix ? `${prefix}-` : ""}${value}${appendVar(...vars.slice(1))})`;
5352
4033
  }
5353
4034
  return `, ${value}`;
5354
4035
  }
5355
4036
  const getCssVar = (field, ...fallbacks) => {
5356
- return `var(--${prefix2 ? `${prefix2}-` : ""}${field}${appendVar(...fallbacks)})`;
4037
+ return `var(--${prefix ? `${prefix}-` : ""}${field}${appendVar(...fallbacks)})`;
5357
4038
  };
5358
4039
  return getCssVar;
5359
4040
  }
@@ -5405,10 +4086,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
5405
4086
  };
5406
4087
  function cssVarsParser(theme, options2) {
5407
4088
  const {
5408
- prefix: prefix2,
4089
+ prefix,
5409
4090
  shouldSkipGeneratingVar: shouldSkipGeneratingVar2
5410
4091
  } = options2 || {};
5411
- const css2 = {};
4092
+ const css = {};
5412
4093
  const vars = {};
5413
4094
  const varsWithDefaults = {};
5414
4095
  walkObjectDeep(
@@ -5416,9 +4097,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
5416
4097
  (keys, value, arrayKeys) => {
5417
4098
  if (typeof value === "string" || typeof value === "number") {
5418
4099
  if (!shouldSkipGeneratingVar2 || !shouldSkipGeneratingVar2(keys, value)) {
5419
- const cssVar = `--${prefix2 ? `${prefix2}-` : ""}${keys.join("-")}`;
4100
+ const cssVar = `--${prefix ? `${prefix}-` : ""}${keys.join("-")}`;
5420
4101
  const resolvedValue = getCssValue(keys, value);
5421
- Object.assign(css2, {
4102
+ Object.assign(css, {
5422
4103
  [cssVar]: resolvedValue
5423
4104
  });
5424
4105
  assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);
@@ -5430,7 +4111,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
5430
4111
  // skip 'vars/*' paths
5431
4112
  );
5432
4113
  return {
5433
- css: css2,
4114
+ css,
5434
4115
  vars,
5435
4116
  varsWithDefaults
5436
4117
  };
@@ -5461,24 +4142,24 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
5461
4142
  Object.entries(otherColorSchemes || {}).forEach(([key, scheme]) => {
5462
4143
  const {
5463
4144
  vars,
5464
- css: css2,
4145
+ css,
5465
4146
  varsWithDefaults
5466
4147
  } = cssVarsParser(scheme, parserConfig);
5467
4148
  themeVars = deepmerge(themeVars, varsWithDefaults);
5468
4149
  colorSchemesMap[key] = {
5469
- css: css2,
4150
+ css,
5470
4151
  vars
5471
4152
  };
5472
4153
  });
5473
4154
  if (defaultScheme) {
5474
4155
  const {
5475
- css: css2,
4156
+ css,
5476
4157
  vars,
5477
4158
  varsWithDefaults
5478
4159
  } = cssVarsParser(defaultScheme, parserConfig);
5479
4160
  themeVars = deepmerge(themeVars, varsWithDefaults);
5480
4161
  colorSchemesMap[defaultColorScheme] = {
5481
- css: css2,
4162
+ css,
5482
4163
  vars
5483
4164
  };
5484
4165
  }
@@ -5530,11 +4211,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
5530
4211
  var _a, _b;
5531
4212
  const stylesheets = [];
5532
4213
  const colorScheme = theme.defaultColorScheme || "light";
5533
- function insertStyleSheet(key, css2) {
5534
- if (Object.keys(css2).length) {
4214
+ function insertStyleSheet(key, css) {
4215
+ if (Object.keys(css).length) {
5535
4216
  stylesheets.push(typeof key === "string" ? {
5536
4217
  [key]: {
5537
- ...css2
4218
+ ...css
5538
4219
  }
5539
4220
  } : key);
5540
4221
  }
@@ -5548,29 +4229,29 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
5548
4229
  } = colorSchemesMap;
5549
4230
  if (defaultSchemeVal) {
5550
4231
  const {
5551
- css: css2
4232
+ css
5552
4233
  } = defaultSchemeVal;
5553
4234
  const cssColorSheme = (_b = (_a = colorSchemes[colorScheme]) == null ? void 0 : _a.palette) == null ? void 0 : _b.mode;
5554
4235
  const finalCss = !disableCssColorScheme && cssColorSheme ? {
5555
4236
  colorScheme: cssColorSheme,
5556
- ...css2
4237
+ ...css
5557
4238
  } : {
5558
- ...css2
4239
+ ...css
5559
4240
  };
5560
4241
  insertStyleSheet(getSelector(colorScheme, {
5561
4242
  ...finalCss
5562
4243
  }), finalCss);
5563
4244
  }
5564
4245
  Object.entries(other).forEach(([key, {
5565
- css: css2
4246
+ css
5566
4247
  }]) => {
5567
4248
  var _a2, _b2;
5568
4249
  const cssColorSheme = (_b2 = (_a2 = colorSchemes[key]) == null ? void 0 : _a2.palette) == null ? void 0 : _b2.mode;
5569
4250
  const finalCss = !disableCssColorScheme && cssColorSheme ? {
5570
4251
  colorScheme: cssColorSheme,
5571
- ...css2
4252
+ ...css
5572
4253
  } : {
5573
- ...css2
4254
+ ...css
5574
4255
  };
5575
4256
  insertStyleSheet(getSelector(key, {
5576
4257
  ...finalCss
@@ -6251,20 +4932,20 @@ export default theme;`;
6251
4932
  muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
6252
4933
  if (process.env.NODE_ENV !== "production") {
6253
4934
  const stateClasses = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"];
6254
- const traverse = (node2, component) => {
4935
+ const traverse = (node, component) => {
6255
4936
  let key;
6256
- for (key in node2) {
6257
- const child = node2[key];
4937
+ for (key in node) {
4938
+ const child = node[key];
6258
4939
  if (stateClasses.includes(key) && Object.keys(child).length > 0) {
6259
4940
  if (process.env.NODE_ENV !== "production") {
6260
4941
  const stateClass = generateUtilityClass("", key);
6261
- 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({
4942
+ 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({
6262
4943
  root: {
6263
4944
  [`&.${stateClass}`]: child
6264
4945
  }
6265
4946
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join("\n"));
6266
4947
  }
6267
- node2[key] = {};
4948
+ node[key] = {};
6268
4949
  }
6269
4950
  }
6270
4951
  };
@@ -6342,7 +5023,7 @@ export default theme;`;
6342
5023
  keys[0] === "palette" && !!((_a = keys[1]) == null ? void 0 : _a.match(/(mode|contrastThreshold|tonalOffset)/));
6343
5024
  }
6344
5025
  const excludeVariablesFromRoot = (cssVarPrefix) => [...[...Array(25)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ""}overlays-${index}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ""}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ""}palette-AppBar-darkColor`];
6345
- const defaultGetSelector = (theme) => (colorScheme, css2) => {
5026
+ const defaultGetSelector = (theme) => (colorScheme, css) => {
6346
5027
  const root = theme.rootSelector || ":root";
6347
5028
  const selector = theme.colorSchemeSelector;
6348
5029
  let rule = selector;
@@ -6359,12 +5040,12 @@ export default theme;`;
6359
5040
  if (colorScheme === "dark") {
6360
5041
  const excludedVariables = {};
6361
5042
  excludeVariablesFromRoot(theme.cssVarPrefix).forEach((cssVar) => {
6362
- excludedVariables[cssVar] = css2[cssVar];
6363
- delete css2[cssVar];
5043
+ excludedVariables[cssVar] = css[cssVar];
5044
+ delete css[cssVar];
6364
5045
  });
6365
5046
  if (rule === "media") {
6366
5047
  return {
6367
- [root]: css2,
5048
+ [root]: css,
6368
5049
  [`@media (prefers-color-scheme: dark)`]: {
6369
5050
  [root]: excludedVariables
6370
5051
  }
@@ -6373,12 +5054,12 @@ export default theme;`;
6373
5054
  if (rule) {
6374
5055
  return {
6375
5056
  [rule.replace("%s", colorScheme)]: excludedVariables,
6376
- [`${root}, ${rule.replace("%s", colorScheme)}`]: css2
5057
+ [`${root}, ${rule.replace("%s", colorScheme)}`]: css
6377
5058
  };
6378
5059
  }
6379
5060
  return {
6380
5061
  [root]: {
6381
- ...css2,
5062
+ ...css,
6382
5063
  ...excludedVariables
6383
5064
  }
6384
5065
  };
@@ -6390,7 +5071,7 @@ export default theme;`;
6390
5071
  if (rule === "media") {
6391
5072
  return {
6392
5073
  [`@media (prefers-color-scheme: ${String(colorScheme)})`]: {
6393
- [root]: css2
5074
+ [root]: css
6394
5075
  }
6395
5076
  };
6396
5077
  }
@@ -7471,6 +6152,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
7471
6152
  return propType1(...args) || propType2(...args);
7472
6153
  };
7473
6154
  }
6155
+ function _extends() {
6156
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
6157
+ for (var e = 1; e < arguments.length; e++) {
6158
+ var t = arguments[e];
6159
+ for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n[r2] = t[r2]);
6160
+ }
6161
+ return n;
6162
+ }, _extends.apply(null, arguments);
6163
+ }
7474
6164
  function _objectWithoutPropertiesLoose$4(r2, e) {
7475
6165
  if (null == r2) return {};
7476
6166
  var t = {};
@@ -7513,8 +6203,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
7513
6203
  exitActive: PropTypes.string
7514
6204
  })]) : null;
7515
6205
  const TransitionGroupContext = React.createContext(null);
7516
- var forceReflow = function forceReflow2(node2) {
7517
- return node2.scrollTop;
6206
+ var forceReflow = function forceReflow2(node) {
6207
+ return node.scrollTop;
7518
6208
  };
7519
6209
  var UNMOUNTED = "unmounted";
7520
6210
  var EXITED = "exited";
@@ -7605,8 +6295,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
7605
6295
  this.cancelNextCallback();
7606
6296
  if (nextStatus === ENTERING) {
7607
6297
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
7608
- var node2 = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
7609
- if (node2) forceReflow(node2);
6298
+ var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
6299
+ if (node) forceReflow(node);
7610
6300
  }
7611
6301
  this.performEnter(mounting);
7612
6302
  } else {
@@ -7701,14 +6391,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
7701
6391
  };
7702
6392
  _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
7703
6393
  this.setNextCallback(handler);
7704
- var node2 = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
6394
+ var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
7705
6395
  var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
7706
- if (!node2 || doesNotHaveTimeoutOrListener) {
6396
+ if (!node || doesNotHaveTimeoutOrListener) {
7707
6397
  setTimeout(this.nextCallback, 0);
7708
6398
  return;
7709
6399
  }
7710
6400
  if (this.props.addEndListener) {
7711
- var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node2, this.nextCallback], maybeNode = _ref3[0], maybeNextCallback = _ref3[1];
6401
+ var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback], maybeNode = _ref3[0], maybeNextCallback = _ref3[1];
7712
6402
  this.props.addEndListener(maybeNode, maybeNextCallback);
7713
6403
  }
7714
6404
  if (timeout != null) {
@@ -7954,16 +6644,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
7954
6644
  });
7955
6645
  return result2;
7956
6646
  }
7957
- function mergeChildMappings(prev2, next2) {
7958
- prev2 = prev2 || {};
7959
- next2 = next2 || {};
6647
+ function mergeChildMappings(prev, next) {
6648
+ prev = prev || {};
6649
+ next = next || {};
7960
6650
  function getValueForKey(key) {
7961
- return key in next2 ? next2[key] : prev2[key];
6651
+ return key in next ? next[key] : prev[key];
7962
6652
  }
7963
6653
  var nextKeysPending = /* @__PURE__ */ Object.create(null);
7964
6654
  var pendingKeys = [];
7965
- for (var prevKey in prev2) {
7966
- if (prevKey in next2) {
6655
+ for (var prevKey in prev) {
6656
+ if (prevKey in next) {
7967
6657
  if (pendingKeys.length) {
7968
6658
  nextKeysPending[prevKey] = pendingKeys;
7969
6659
  pendingKeys = [];
@@ -7974,7 +6664,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
7974
6664
  }
7975
6665
  var i;
7976
6666
  var childMapping = {};
7977
- for (var nextKey in next2) {
6667
+ for (var nextKey in next) {
7978
6668
  if (nextKeysPending[nextKey]) {
7979
6669
  for (i = 0; i < nextKeysPending[nextKey].length; i++) {
7980
6670
  var pendingNextKey = nextKeysPending[nextKey][i];
@@ -8079,11 +6769,11 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
8079
6769
  firstRender: false
8080
6770
  };
8081
6771
  };
8082
- _proto.handleExited = function handleExited(child, node2) {
6772
+ _proto.handleExited = function handleExited(child, node) {
8083
6773
  var currentChildMapping = getChildMapping(this.props.children);
8084
6774
  if (child.key in currentChildMapping) return;
8085
6775
  if (child.props.onExited) {
8086
- child.props.onExited(node2);
6776
+ child.props.onExited(node);
8087
6777
  }
8088
6778
  if (this.mounted) {
8089
6779
  this.setState(function(state) {
@@ -8556,7 +7246,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
8556
7246
  const touchRippleClasses = generateUtilityClasses("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]);
8557
7247
  const DURATION = 550;
8558
7248
  const DELAY_RIPPLE = 80;
8559
- const enterKeyframe = keyframes`
7249
+ const enterKeyframe = react.keyframes`
8560
7250
  0% {
8561
7251
  transform: scale(0);
8562
7252
  opacity: 0.1;
@@ -8567,7 +7257,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
8567
7257
  opacity: 0.3;
8568
7258
  }
8569
7259
  `;
8570
- const exitKeyframe = keyframes`
7260
+ const exitKeyframe = react.keyframes`
8571
7261
  0% {
8572
7262
  opacity: 1;
8573
7263
  }
@@ -8576,7 +7266,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
8576
7266
  opacity: 0;
8577
7267
  }
8578
7268
  `;
8579
- const pulsateKeyframe = keyframes`
7269
+ const pulsateKeyframe = react.keyframes`
8580
7270
  0% {
8581
7271
  transform: scale(1);
8582
7272
  }
@@ -9564,30 +8254,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
9564
8254
  function getNodeName(element) {
9565
8255
  return element ? (element.nodeName || "").toLowerCase() : null;
9566
8256
  }
9567
- function getWindow(node2) {
9568
- if (node2 == null) {
8257
+ function getWindow(node) {
8258
+ if (node == null) {
9569
8259
  return window;
9570
8260
  }
9571
- if (node2.toString() !== "[object Window]") {
9572
- var ownerDocument2 = node2.ownerDocument;
8261
+ if (node.toString() !== "[object Window]") {
8262
+ var ownerDocument2 = node.ownerDocument;
9573
8263
  return ownerDocument2 ? ownerDocument2.defaultView || window : window;
9574
8264
  }
9575
- return node2;
8265
+ return node;
9576
8266
  }
9577
- function isElement(node2) {
9578
- var OwnElement = getWindow(node2).Element;
9579
- return node2 instanceof OwnElement || node2 instanceof Element;
8267
+ function isElement(node) {
8268
+ var OwnElement = getWindow(node).Element;
8269
+ return node instanceof OwnElement || node instanceof Element;
9580
8270
  }
9581
- function isHTMLElement(node2) {
9582
- var OwnElement = getWindow(node2).HTMLElement;
9583
- return node2 instanceof OwnElement || node2 instanceof HTMLElement;
8271
+ function isHTMLElement(node) {
8272
+ var OwnElement = getWindow(node).HTMLElement;
8273
+ return node instanceof OwnElement || node instanceof HTMLElement;
9584
8274
  }
9585
- function isShadowRoot(node2) {
8275
+ function isShadowRoot(node) {
9586
8276
  if (typeof ShadowRoot === "undefined") {
9587
8277
  return false;
9588
8278
  }
9589
- var OwnElement = getWindow(node2).ShadowRoot;
9590
- return node2 instanceof OwnElement || node2 instanceof ShadowRoot;
8279
+ var OwnElement = getWindow(node).ShadowRoot;
8280
+ return node instanceof OwnElement || node instanceof ShadowRoot;
9591
8281
  }
9592
8282
  function getBasePlacement(placement) {
9593
8283
  return placement.split("-")[0];
@@ -9660,13 +8350,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
9660
8350
  if (parent.contains(child)) {
9661
8351
  return true;
9662
8352
  } else if (rootNode && isShadowRoot(rootNode)) {
9663
- var next2 = child;
8353
+ var next = child;
9664
8354
  do {
9665
- if (next2 && parent.isSameNode(next2)) {
8355
+ if (next && parent.isSameNode(next)) {
9666
8356
  return true;
9667
8357
  }
9668
- next2 = next2.parentNode || next2.host;
9669
- } while (next2);
8358
+ next = next.parentNode || next.host;
8359
+ } while (next);
9670
8360
  }
9671
8361
  return false;
9672
8362
  }
@@ -9718,8 +8408,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
9718
8408
  currentNode = currentNode.host;
9719
8409
  }
9720
8410
  while (isHTMLElement(currentNode) && ["html", "body"].indexOf(getNodeName(currentNode)) < 0) {
9721
- var css2 = getComputedStyle$1(currentNode);
9722
- 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") {
8411
+ var css = getComputedStyle$1(currentNode);
8412
+ 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") {
9723
8413
  return currentNode;
9724
8414
  } else {
9725
8415
  currentNode = currentNode.parentNode;
@@ -9844,7 +8534,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
9844
8534
  }
9845
8535
  function mapToStyles(_ref2) {
9846
8536
  var _Object$assign2;
9847
- 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;
8537
+ 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;
9848
8538
  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;
9849
8539
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
9850
8540
  x,
@@ -9866,7 +8556,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
9866
8556
  var widthProp = "clientWidth";
9867
8557
  if (offsetParent === getWindow(popper2)) {
9868
8558
  offsetParent = getDocumentElement(popper2);
9869
- if (getComputedStyle$1(offsetParent).position !== "static" && position2 === "absolute") {
8559
+ if (getComputedStyle$1(offsetParent).position !== "static" && position === "absolute") {
9870
8560
  heightProp = "scrollHeight";
9871
8561
  widthProp = "scrollWidth";
9872
8562
  }
@@ -9892,7 +8582,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
9892
8582
  }
9893
8583
  }
9894
8584
  var commonStyles = Object.assign({
9895
- position: position2
8585
+ position
9896
8586
  }, adaptive && unsetSides);
9897
8587
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
9898
8588
  x,
@@ -10003,8 +8693,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
10003
8693
  return hash[matched];
10004
8694
  });
10005
8695
  }
10006
- function getWindowScroll(node2) {
10007
- var win = getWindow(node2);
8696
+ function getWindowScroll(node) {
8697
+ var win = getWindow(node);
10008
8698
  var scrollLeft = win.pageXOffset;
10009
8699
  var scrollTop = win.pageYOffset;
10010
8700
  return {
@@ -10062,14 +8752,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
10062
8752
  var _getComputedStyle = getComputedStyle$1(element), overflow = _getComputedStyle.overflow, overflowX = _getComputedStyle.overflowX, overflowY = _getComputedStyle.overflowY;
10063
8753
  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
10064
8754
  }
10065
- function getScrollParent(node2) {
10066
- if (["html", "body", "#document"].indexOf(getNodeName(node2)) >= 0) {
10067
- return node2.ownerDocument.body;
8755
+ function getScrollParent(node) {
8756
+ if (["html", "body", "#document"].indexOf(getNodeName(node)) >= 0) {
8757
+ return node.ownerDocument.body;
10068
8758
  }
10069
- if (isHTMLElement(node2) && isScrollParent(node2)) {
10070
- return node2;
8759
+ if (isHTMLElement(node) && isScrollParent(node)) {
8760
+ return node;
10071
8761
  }
10072
- return getScrollParent(getParentNode(node2));
8762
+ return getScrollParent(getParentNode(node));
10073
8763
  }
10074
8764
  function listScrollParents(element, list) {
10075
8765
  var _element$ownerDocumen;
@@ -10560,11 +9250,11 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
10560
9250
  scrollTop: element.scrollTop
10561
9251
  };
10562
9252
  }
10563
- function getNodeScroll(node2) {
10564
- if (node2 === getWindow(node2) || !isHTMLElement(node2)) {
10565
- return getWindowScroll(node2);
9253
+ function getNodeScroll(node) {
9254
+ if (node === getWindow(node) || !isHTMLElement(node)) {
9255
+ return getWindowScroll(node);
10566
9256
  } else {
10567
- return getHTMLElementScroll(node2);
9257
+ return getHTMLElementScroll(node);
10568
9258
  }
10569
9259
  }
10570
9260
  function isElementScaled(element) {
@@ -11867,7 +10557,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
11867
10557
  hasRequiredClassnames = 1;
11868
10558
  (function(module2) {
11869
10559
  (function() {
11870
- var hasOwn2 = {}.hasOwnProperty;
10560
+ var hasOwn = {}.hasOwnProperty;
11871
10561
  function classNames2() {
11872
10562
  var classes = "";
11873
10563
  for (var i = 0; i < arguments.length; i++) {
@@ -11893,7 +10583,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
11893
10583
  }
11894
10584
  var classes = "";
11895
10585
  for (var key in arg2) {
11896
- if (hasOwn2.call(arg2, key) && arg2[key]) {
10586
+ if (hasOwn.call(arg2, key) && arg2[key]) {
11897
10587
  classes = appendClass(classes, key);
11898
10588
  }
11899
10589
  }
@@ -11959,11 +10649,11 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
11959
10649
  Consumer,
11960
10650
  Provider
11961
10651
  } = ThemeContext;
11962
- function useBootstrapPrefix(prefix2, defaultPrefix) {
10652
+ function useBootstrapPrefix(prefix, defaultPrefix) {
11963
10653
  const {
11964
10654
  prefixes
11965
10655
  } = React.useContext(ThemeContext);
11966
- return prefix2 || prefixes[defaultPrefix] || defaultPrefix;
10656
+ return prefix || prefixes[defaultPrefix] || defaultPrefix;
11967
10657
  }
11968
10658
  function useBootstrapBreakpoints() {
11969
10659
  const {
@@ -12268,7 +10958,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12268
10958
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
12269
10959
  as: Component = "label",
12270
10960
  bsPrefix,
12271
- column: column2 = false,
10961
+ column = false,
12272
10962
  visuallyHidden = false,
12273
10963
  className,
12274
10964
  htmlFor,
@@ -12279,11 +10969,11 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12279
10969
  } = React.useContext(FormContext);
12280
10970
  bsPrefix = useBootstrapPrefix(bsPrefix, "form-label");
12281
10971
  let columnClass = "col-form-label";
12282
- if (typeof column2 === "string") columnClass = `${columnClass} ${columnClass}-${column2}`;
12283
- const classes = classNames(className, bsPrefix, visuallyHidden && "visually-hidden", column2 && columnClass);
10972
+ if (typeof column === "string") columnClass = `${columnClass} ${columnClass}-${column}`;
10973
+ const classes = classNames(className, bsPrefix, visuallyHidden && "visually-hidden", column && columnClass);
12284
10974
  process.env.NODE_ENV !== "production" ? warning(controlId == null || !htmlFor, "`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified.") : void 0;
12285
10975
  htmlFor = htmlFor || controlId;
12286
- if (column2) return /* @__PURE__ */ jsxRuntimeExports.jsx(Col, {
10976
+ if (column) return /* @__PURE__ */ jsxRuntimeExports.jsx(Col, {
12287
10977
  ref,
12288
10978
  as: "label",
12289
10979
  className: classes,
@@ -12518,13 +11208,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12518
11208
  if (e.key === "ArrowDown") {
12519
11209
  e.preventDefault();
12520
11210
  setHighlightIndex(
12521
- (prev2) => prev2 < filteredOptions.length - 1 ? prev2 + 1 : 0
11211
+ (prev) => prev < filteredOptions.length - 1 ? prev + 1 : 0
12522
11212
  );
12523
11213
  }
12524
11214
  if (e.key === "ArrowUp") {
12525
11215
  e.preventDefault();
12526
11216
  setHighlightIndex(
12527
- (prev2) => prev2 > 0 ? prev2 - 1 : filteredOptions.length - 1
11217
+ (prev) => prev > 0 ? prev - 1 : filteredOptions.length - 1
12528
11218
  );
12529
11219
  }
12530
11220
  if (e.key === "Enter") {
@@ -12546,9 +11236,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12546
11236
  if (!showDropdown && mode !== "type") {
12547
11237
  setFilteredOptions(normalizeOptions(options2));
12548
11238
  }
12549
- setShowDropdown((prev2) => {
11239
+ setShowDropdown((prev) => {
12550
11240
  var _a;
12551
- const willShow = !prev2;
11241
+ const willShow = !prev;
12552
11242
  if (willShow) (_a = inputRef.current) == null ? void 0 : _a.focus();
12553
11243
  return willShow;
12554
11244
  });
@@ -12661,15 +11351,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12661
11351
  setState(value);
12662
11352
  }, [handler])];
12663
11353
  }
12664
- function ownerDocument(node2) {
12665
- return node2 && node2.ownerDocument || document;
11354
+ function ownerDocument(node) {
11355
+ return node && node.ownerDocument || document;
12666
11356
  }
12667
- function ownerWindow(node2) {
12668
- var doc = ownerDocument(node2);
11357
+ function ownerWindow(node) {
11358
+ var doc = ownerDocument(node);
12669
11359
  return doc && doc.defaultView || window;
12670
11360
  }
12671
- function getComputedStyle(node2, psuedoElement) {
12672
- return ownerWindow(node2).getComputedStyle(node2, psuedoElement);
11361
+ function getComputedStyle(node, psuedoElement) {
11362
+ return ownerWindow(node).getComputedStyle(node, psuedoElement);
12673
11363
  }
12674
11364
  var rUpper = /([A-Z])/g;
12675
11365
  function hyphenate(string) {
@@ -12683,26 +11373,26 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12683
11373
  function isTransform(value) {
12684
11374
  return !!(value && supportedTransforms.test(value));
12685
11375
  }
12686
- function style(node2, property) {
12687
- var css2 = "";
11376
+ function style(node, property) {
11377
+ var css = "";
12688
11378
  var transforms = "";
12689
11379
  if (typeof property === "string") {
12690
- return node2.style.getPropertyValue(hyphenateStyleName(property)) || getComputedStyle(node2).getPropertyValue(hyphenateStyleName(property));
11380
+ return node.style.getPropertyValue(hyphenateStyleName(property)) || getComputedStyle(node).getPropertyValue(hyphenateStyleName(property));
12691
11381
  }
12692
11382
  Object.keys(property).forEach(function(key) {
12693
11383
  var value = property[key];
12694
11384
  if (!value && value !== 0) {
12695
- node2.style.removeProperty(hyphenateStyleName(key));
11385
+ node.style.removeProperty(hyphenateStyleName(key));
12696
11386
  } else if (isTransform(key)) {
12697
11387
  transforms += key + "(" + value + ") ";
12698
11388
  } else {
12699
- css2 += hyphenateStyleName(key) + ": " + value + ";";
11389
+ css += hyphenateStyleName(key) + ": " + value + ";";
12700
11390
  }
12701
11391
  });
12702
11392
  if (transforms) {
12703
- css2 += "transform: " + transforms + ";";
11393
+ css += "transform: " + transforms + ";";
12704
11394
  }
12705
- node2.style.cssText += ";" + css2;
11395
+ node.style.cssText += ";" + css;
12706
11396
  }
12707
11397
  function isEscKey(e) {
12708
11398
  return e.code === "Escape" || e.keyCode === 27;
@@ -12743,7 +11433,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12743
11433
  }
12744
11434
  } catch (e) {
12745
11435
  }
12746
- function addEventListener(node2, eventName, handler, options2) {
11436
+ function addEventListener(node, eventName, handler, options2) {
12747
11437
  if (options2 && typeof options2 !== "boolean" && !onceSupported) {
12748
11438
  var once = options2.once, capture = options2.capture;
12749
11439
  var wrappedHandler = handler;
@@ -12754,35 +11444,35 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12754
11444
  };
12755
11445
  handler.__once = wrappedHandler;
12756
11446
  }
12757
- node2.addEventListener(eventName, wrappedHandler, optionsSupported ? options2 : capture);
11447
+ node.addEventListener(eventName, wrappedHandler, optionsSupported ? options2 : capture);
12758
11448
  }
12759
- node2.addEventListener(eventName, handler, options2);
11449
+ node.addEventListener(eventName, handler, options2);
12760
11450
  }
12761
- function removeEventListener(node2, eventName, handler, options2) {
11451
+ function removeEventListener(node, eventName, handler, options2) {
12762
11452
  var capture = options2 && typeof options2 !== "boolean" ? options2.capture : options2;
12763
- node2.removeEventListener(eventName, handler, capture);
11453
+ node.removeEventListener(eventName, handler, capture);
12764
11454
  if (handler.__once) {
12765
- node2.removeEventListener(eventName, handler.__once, capture);
11455
+ node.removeEventListener(eventName, handler.__once, capture);
12766
11456
  }
12767
11457
  }
12768
- function listen(node2, eventName, handler, options2) {
12769
- addEventListener(node2, eventName, handler, options2);
11458
+ function listen(node, eventName, handler, options2) {
11459
+ addEventListener(node, eventName, handler, options2);
12770
11460
  return function() {
12771
- removeEventListener(node2, eventName, handler, options2);
11461
+ removeEventListener(node, eventName, handler, options2);
12772
11462
  };
12773
11463
  }
12774
- function triggerEvent(node2, eventName, bubbles, cancelable) {
11464
+ function triggerEvent(node, eventName, bubbles, cancelable) {
12775
11465
  if (cancelable === void 0) {
12776
11466
  cancelable = true;
12777
11467
  }
12778
- if (node2) {
11468
+ if (node) {
12779
11469
  var event = document.createEvent("HTMLEvents");
12780
11470
  event.initEvent(eventName, bubbles, cancelable);
12781
- node2.dispatchEvent(event);
11471
+ node.dispatchEvent(event);
12782
11472
  }
12783
11473
  }
12784
- function parseDuration$1(node2) {
12785
- var str = style(node2, "transitionDuration") || "";
11474
+ function parseDuration$1(node) {
11475
+ var str = style(node, "transitionDuration") || "";
12786
11476
  var mult = str.indexOf("ms") === -1 ? 1e3 : 1;
12787
11477
  return parseFloat(str) * mult;
12788
11478
  }
@@ -12813,8 +11503,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12813
11503
  remove();
12814
11504
  };
12815
11505
  }
12816
- function parseDuration(node2, property) {
12817
- const str = style(node2, property) || "";
11506
+ function parseDuration(node, property) {
11507
+ const str = style(node, property) || "";
12818
11508
  const mult = str.indexOf("ms") === -1 ? 1e3 : 1;
12819
11509
  return parseFloat(str) * mult;
12820
11510
  }
@@ -12828,8 +11518,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
12828
11518
  }
12829
11519
  }, duration2 + delay);
12830
11520
  }
12831
- function triggerBrowserReflow(node2) {
12832
- node2.offsetHeight;
11521
+ function triggerBrowserReflow(node) {
11522
+ node.offsetHeight;
12833
11523
  }
12834
11524
  const toFnRef$1 = (ref) => !ref || typeof ref === "function" ? ref : (value) => {
12835
11525
  ref.current = value;
@@ -13059,9 +11749,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
13059
11749
  appear: false,
13060
11750
  ...rest
13061
11751
  };
13062
- const handleEnter = React.useCallback((node2, isAppearing) => {
13063
- triggerBrowserReflow(node2);
13064
- onEnter == null || onEnter(node2, isAppearing);
11752
+ const handleEnter = React.useCallback((node, isAppearing) => {
11753
+ triggerBrowserReflow(node);
11754
+ onEnter == null || onEnter(node, isAppearing);
13065
11755
  }, [onEnter]);
13066
11756
  return /* @__PURE__ */ jsxRuntimeExports.jsx(TransitionWrapper, {
13067
11757
  ref,
@@ -13086,7 +11776,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
13086
11776
  className,
13087
11777
  ...props
13088
11778
  }, ref) => {
13089
- const prefix2 = useBootstrapPrefix(bsPrefix, "btn");
11779
+ const prefix = useBootstrapPrefix(bsPrefix, "btn");
13090
11780
  const [buttonProps, {
13091
11781
  tagName
13092
11782
  }] = useButtonProps({
@@ -13100,7 +11790,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
13100
11790
  ...props,
13101
11791
  ref,
13102
11792
  disabled,
13103
- className: classNames(className, prefix2, active && "active", variant && `${prefix2}-${variant}`, size && `${prefix2}-${size}`, props.href && disabled && "disabled")
11793
+ className: classNames(className, prefix, active && "active", variant && `${prefix}-${variant}`, size && `${prefix}-${size}`, props.href && disabled && "disabled")
13104
11794
  });
13105
11795
  });
13106
11796
  Button.displayName = "Button";
@@ -13376,9 +12066,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
13376
12066
  }, [enabled, referenceElement, popperElement]);
13377
12067
  return popperState;
13378
12068
  }
13379
- function contains(context2, node2) {
13380
- if (context2.contains) return context2.contains(node2);
13381
- if (context2.compareDocumentPosition) return context2 === node2 || !!(context2.compareDocumentPosition(node2) & 16);
12069
+ function contains(context2, node) {
12070
+ if (context2.contains) return context2.contains(node);
12071
+ if (context2.compareDocumentPosition) return context2 === node || !!(context2.compareDocumentPosition(node) & 16);
13382
12072
  }
13383
12073
  const noop$1 = () => {
13384
12074
  };
@@ -13946,9 +12636,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
13946
12636
  }
13947
12637
  return bsDirection;
13948
12638
  }
13949
- function getInitialPopperStyles(position2 = "absolute") {
12639
+ function getInitialPopperStyles(position = "absolute") {
13950
12640
  return {
13951
- position: position2,
12641
+ position,
13952
12642
  top: "0",
13953
12643
  left: "0",
13954
12644
  opacity: "0",
@@ -15847,8 +14537,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
15847
14537
  "۹": "9"
15848
14538
  // Eastern-Arabic digit 9
15849
14539
  };
15850
- function parseDigit(character2) {
15851
- return DIGITS[character2];
14540
+ function parseDigit(character) {
14541
+ return DIGITS[character];
15852
14542
  }
15853
14543
  function _createForOfIteratorHelperLoose$1(o, allowArrayLike) {
15854
14544
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
@@ -15881,19 +14571,19 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
15881
14571
  function parseIncompletePhoneNumber(string) {
15882
14572
  var result2 = "";
15883
14573
  for (var _iterator = _createForOfIteratorHelperLoose$1(string.split("")), _step; !(_step = _iterator()).done; ) {
15884
- var character2 = _step.value;
15885
- result2 += parsePhoneNumberCharacter(character2, result2) || "";
14574
+ var character = _step.value;
14575
+ result2 += parsePhoneNumberCharacter(character, result2) || "";
15886
14576
  }
15887
14577
  return result2;
15888
14578
  }
15889
- function parsePhoneNumberCharacter(character2, prevParsedCharacters, emitEvent) {
15890
- if (character2 === "+") {
14579
+ function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent) {
14580
+ if (character === "+") {
15891
14581
  if (prevParsedCharacters) {
15892
14582
  return;
15893
14583
  }
15894
14584
  return "+";
15895
14585
  }
15896
- return parseDigit(character2);
14586
+ return parseDigit(character);
15897
14587
  }
15898
14588
  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
15899
14589
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
@@ -18169,34 +16859,34 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
18169
16859
  break;
18170
16860
  case "gst":
18171
16861
  var gstin = val.toUpperCase();
18172
- var length2 = gstin.length;
16862
+ var length = gstin.length;
18173
16863
  setEnable(true);
18174
- if (length2 === 0) ;
18175
- else if (length2 === 1 || length2 === 2) {
16864
+ if (length === 0) ;
16865
+ else if (length === 1 || length === 2) {
18176
16866
  if (!/^[0-9]+$/.test(gstin)) {
18177
16867
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18178
16868
  }
18179
- } else if (length2 >= 3 && length2 <= 7) {
16869
+ } else if (length >= 3 && length <= 7) {
18180
16870
  if (!/^[0-9]{2}[A-Z]{1,5}$/.test(gstin)) {
18181
16871
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18182
16872
  }
18183
- } else if (length2 >= 8 && length2 <= 11) {
16873
+ } else if (length >= 8 && length <= 11) {
18184
16874
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{1,4}$/.test(gstin)) {
18185
16875
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18186
16876
  }
18187
- } else if (length2 === 12) {
16877
+ } else if (length === 12) {
18188
16878
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]$/.test(gstin)) {
18189
16879
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18190
16880
  }
18191
- } else if (length2 === 13) {
16881
+ } else if (length === 13) {
18192
16882
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z][A-Z0-9]$/.test(gstin)) {
18193
16883
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18194
16884
  }
18195
- } else if (length2 === 14) {
16885
+ } else if (length === 14) {
18196
16886
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z][A-Z0-9][A-Z]$/.test(gstin)) {
18197
16887
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18198
16888
  }
18199
- } else if (length2 === 15) {
16889
+ } else if (length === 15) {
18200
16890
  if (!/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z][A-Z0-9][A-Z][A-Z0-9]$/.test(gstin)) {
18201
16891
  return setError("GSTIN should follow the format: 22ABCDE1234F1Z5");
18202
16892
  }
@@ -18328,15 +17018,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
18328
17018
  const nationalNumber1 = parsed.nationalNumber || "";
18329
17019
  setNationalNumber(nationalNumber1);
18330
17020
  console.log(nationalNumber);
18331
- const { length: length2, startsWith } = rules;
17021
+ const { length, startsWith } = rules;
18332
17022
  const callingCodeLength = country.dialCode.length;
18333
- const maxTotalLength = callingCodeLength + length2;
17023
+ const maxTotalLength = callingCodeLength + length;
18334
17024
  console.log(value2, value2.length, maxTotalLength, "len");
18335
17025
  if (value2.length > maxTotalLength) {
18336
17026
  setError("Invalid phone number for selected country");
18337
17027
  setEnable(true);
18338
17028
  }
18339
- if (nationalNumber.length === length2 && startsWith.test(nationalNumber)) {
17029
+ if (nationalNumber.length === length && startsWith.test(nationalNumber)) {
18340
17030
  setError("");
18341
17031
  setEnable(false);
18342
17032
  }
@@ -18345,7 +17035,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
18345
17035
  const isPassword = category === "password";
18346
17036
  const isAmount = category === "amount" && (format === "us" || format === "indian");
18347
17037
  const isPercentage = category === "percentage";
18348
- const prefix2 = isAmount ? currency : null;
17038
+ const prefix = isAmount ? currency : null;
18349
17039
  const suffix = isPercentage ? "%" : null;
18350
17040
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
18351
17041
  Form$1.Group,
@@ -18360,11 +17050,11 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
18360
17050
  isRequired && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { color: "red" }, children: "*" })
18361
17051
  ] }),
18362
17052
  /* @__PURE__ */ jsxRuntimeExports.jsxs(InputGroup$1, { children: [
18363
- prefix2 && /* @__PURE__ */ jsxRuntimeExports.jsx(
17053
+ prefix && /* @__PURE__ */ jsxRuntimeExports.jsx(
18364
17054
  InputGroup$1.Text,
18365
17055
  {
18366
17056
  style: { backgroundColor: "#fff", borderColor: "#12AB5B" },
18367
- children: prefix2
17057
+ children: prefix
18368
17058
  }
18369
17059
  ),
18370
17060
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -18396,8 +17086,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
18396
17086
  height: height2 || "40px",
18397
17087
  borderTopRightRadius: !isPassword && !(button == null ? void 0 : button.label) && !suffix ? "0.375rem" : 0,
18398
17088
  borderBottomRightRadius: !isPassword && !(button == null ? void 0 : button.label) && !suffix ? "0.375rem" : 0,
18399
- borderTopLeftRadius: prefix2 ? 0 : "0.375rem",
18400
- borderBottomLeftRadius: prefix2 ? 0 : "0.375rem",
17089
+ borderTopLeftRadius: prefix ? 0 : "0.375rem",
17090
+ borderBottomLeftRadius: prefix ? 0 : "0.375rem",
18401
17091
  width: "100%"
18402
17092
  // paddingLeft: '48px', // make space for the flag
18403
17093
  // fontSize: '14px',
@@ -18437,8 +17127,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
18437
17127
  height: height2 || "40px",
18438
17128
  borderTopRightRadius: !isPassword && !(button == null ? void 0 : button.label) && !suffix ? "0.375rem" : 0,
18439
17129
  borderBottomRightRadius: !isPassword && !(button == null ? void 0 : button.label) && !suffix ? "0.375rem" : 0,
18440
- borderTopLeftRadius: prefix2 ? 0 : "0.375rem",
18441
- borderBottomLeftRadius: prefix2 ? 0 : "0.375rem"
17130
+ borderTopLeftRadius: prefix ? 0 : "0.375rem",
17131
+ borderBottomLeftRadius: prefix ? 0 : "0.375rem"
18442
17132
  },
18443
17133
  name,
18444
17134
  value,