@helpdice/ui 2.6.2-beta.1 → 2.6.2-beta.2

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.
@@ -981,11 +981,11 @@ var CardFooterComponent = function CardFooterComponent(_ref) {
981
981
  'auto-margin': !disableAutoMargin
982
982
  }, className);
983
983
  return /*#__PURE__*/jsxRuntime.jsxs("footer", _objectSpread2(_objectSpread2({}, props), {}, {
984
- className: _JSXStyle.dynamic([["1602358380", [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme$1.palette.border, theme$1.layout.radius, theme$1.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme$1.layout.gapQuarter]]]) + " " + (props && props.className != null && props.className || classes || ""),
984
+ className: _JSXStyle.dynamic([["1801130739", [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme$1.palette.border, theme$1.layout.radius, theme$1.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme$1.layout.gapQuarter]]]) + " " + (props && props.className != null && props.className || classes || ""),
985
985
  children: [children, /*#__PURE__*/jsxRuntime.jsx(_JSXStyle, {
986
- id: "1602358380",
986
+ id: "1801130739",
987
987
  dynamic: [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme$1.palette.border, theme$1.layout.radius, theme$1.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme$1.layout.gapQuarter],
988
- children: "footer.__jsx-style-dynamic-selector{padding:".concat(SCALES.py(0.66), " ").concat(SCALES.px(1.31), ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;color:inherit;background-color:inherit;font-size:").concat(SCALES.font(0.875), ";border-top:1px solid ").concat(theme$1.palette.border, ";border-bottom-left-radius:").concat(theme$1.layout.radius, ";border-bottom-right-radius:").concat(theme$1.layout.radius, ";min-height:").concat(SCALES.height(3.3), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.auto-margin.__jsx-style-dynamic-selector *{margin-top:0;margin-bottom:0;margin-right:").concat(theme$1.layout.gapQuarter, ";}")
988
+ children: "footer.__jsx-style-dynamic-selector{padding:".concat(SCALES.py(0.66), " ").concat(SCALES.px(1.31), ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;color:inherit;background-color:inherit;font-size:").concat(SCALES.font(0.875), ";border-top:1px solid ").concat(theme$1.palette.border, ";border-bottom-left-radius:").concat(theme$1.layout.radius, ";border-bottom-right-radius:").concat(theme$1.layout.radius, ";min-height:").concat(SCALES.height(3.3), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}footer.__jsx-style-dynamic-selector .auto-margin.__jsx-style-dynamic-selector{margin-top:0;margin-bottom:0;margin-right:").concat(theme$1.layout.gapQuarter, ";}")
989
989
  })]
990
990
  }));
991
991
  };
@@ -12,7 +12,7 @@ export declare function useFormik<Values extends FormikValues = FormikValues>({
12
12
  };
13
13
  handleChange: {
14
14
  (e: React.ChangeEvent<any>): void;
15
- <T = string | React.ChangeEvent<any>>(field: T): T extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
15
+ <T = string | React.ChangeEvent<any, Element>>(field: T): T extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
16
16
  };
17
17
  handleReset: (e: any) => void;
18
18
  handleSubmit: (e?: React.FormEvent<HTMLFormElement>) => void;
@@ -7,7 +7,7 @@ export type GridProps = Props & GridBasicItemProps;
7
7
  declare const Grid: React.ForwardRefExoticComponent<Props & import("./basic-item").GridBasicComponentProps & {
8
8
  children?: React.ReactNode;
9
9
  style?: React.CSSProperties | undefined;
10
- onChange?: React.FormEventHandler<any> | undefined;
10
+ onChange?: React.ChangeEventHandler<any, Element> | undefined;
11
11
  defaultChecked?: boolean | undefined | undefined;
12
12
  defaultValue?: string | number | readonly string[] | undefined;
13
13
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -133,17 +133,17 @@ declare const Grid: React.ForwardRefExoticComponent<Props & import("./basic-item
133
133
  onFocusCapture?: React.FocusEventHandler<any> | undefined;
134
134
  onBlur?: React.FocusEventHandler<any> | undefined;
135
135
  onBlurCapture?: React.FocusEventHandler<any> | undefined;
136
- onChangeCapture?: React.FormEventHandler<any> | undefined;
136
+ onChangeCapture?: React.ChangeEventHandler<any, Element> | undefined;
137
137
  onBeforeInput?: React.InputEventHandler<any> | undefined;
138
- onBeforeInputCapture?: React.FormEventHandler<any> | undefined;
139
- onInput?: React.FormEventHandler<any> | undefined;
140
- onInputCapture?: React.FormEventHandler<any> | undefined;
141
- onReset?: React.FormEventHandler<any> | undefined;
142
- onResetCapture?: React.FormEventHandler<any> | undefined;
143
- onSubmit?: React.FormEventHandler<any> | undefined;
144
- onSubmitCapture?: React.FormEventHandler<any> | undefined;
145
- onInvalid?: React.FormEventHandler<any> | undefined;
146
- onInvalidCapture?: React.FormEventHandler<any> | undefined;
138
+ onBeforeInputCapture?: React.InputEventHandler<any> | undefined;
139
+ onInput?: React.InputEventHandler<any> | undefined;
140
+ onInputCapture?: React.InputEventHandler<any> | undefined;
141
+ onReset?: React.ReactEventHandler<any> | undefined;
142
+ onResetCapture?: React.ReactEventHandler<any> | undefined;
143
+ onSubmit?: React.SubmitEventHandler<any> | undefined;
144
+ onSubmitCapture?: React.SubmitEventHandler<any> | undefined;
145
+ onInvalid?: React.ReactEventHandler<any> | undefined;
146
+ onInvalidCapture?: React.ReactEventHandler<any> | undefined;
147
147
  onLoad?: React.ReactEventHandler<any> | undefined;
148
148
  onLoadCapture?: React.ReactEventHandler<any> | undefined;
149
149
  onError?: React.ReactEventHandler<any> | undefined;
@@ -10,7 +10,7 @@ export type GridContainerProps = Props & GridBasicItemProps;
10
10
  declare const GridContainer: React.ForwardRefExoticComponent<Props & import("./basic-item").GridBasicComponentProps & {
11
11
  children?: React.ReactNode;
12
12
  style?: React.CSSProperties | undefined;
13
- onChange?: React.FormEventHandler<any> | undefined;
13
+ onChange?: React.ChangeEventHandler<any, Element> | undefined;
14
14
  defaultChecked?: boolean | undefined | undefined;
15
15
  defaultValue?: string | number | readonly string[] | undefined;
16
16
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -136,17 +136,17 @@ declare const GridContainer: React.ForwardRefExoticComponent<Props & import("./b
136
136
  onFocusCapture?: React.FocusEventHandler<any> | undefined;
137
137
  onBlur?: React.FocusEventHandler<any> | undefined;
138
138
  onBlurCapture?: React.FocusEventHandler<any> | undefined;
139
- onChangeCapture?: React.FormEventHandler<any> | undefined;
139
+ onChangeCapture?: React.ChangeEventHandler<any, Element> | undefined;
140
140
  onBeforeInput?: React.InputEventHandler<any> | undefined;
141
- onBeforeInputCapture?: React.FormEventHandler<any> | undefined;
142
- onInput?: React.FormEventHandler<any> | undefined;
143
- onInputCapture?: React.FormEventHandler<any> | undefined;
144
- onReset?: React.FormEventHandler<any> | undefined;
145
- onResetCapture?: React.FormEventHandler<any> | undefined;
146
- onSubmit?: React.FormEventHandler<any> | undefined;
147
- onSubmitCapture?: React.FormEventHandler<any> | undefined;
148
- onInvalid?: React.FormEventHandler<any> | undefined;
149
- onInvalidCapture?: React.FormEventHandler<any> | undefined;
141
+ onBeforeInputCapture?: React.InputEventHandler<any> | undefined;
142
+ onInput?: React.InputEventHandler<any> | undefined;
143
+ onInputCapture?: React.InputEventHandler<any> | undefined;
144
+ onReset?: React.ReactEventHandler<any> | undefined;
145
+ onResetCapture?: React.ReactEventHandler<any> | undefined;
146
+ onSubmit?: React.SubmitEventHandler<any> | undefined;
147
+ onSubmitCapture?: React.SubmitEventHandler<any> | undefined;
148
+ onInvalid?: React.ReactEventHandler<any> | undefined;
149
+ onInvalidCapture?: React.ReactEventHandler<any> | undefined;
150
150
  onLoad?: React.ReactEventHandler<any> | undefined;
151
151
  onLoadCapture?: React.ReactEventHandler<any> | undefined;
152
152
  onError?: React.ReactEventHandler<any> | undefined;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
 
8
- /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
8
+ /*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE */
9
9
 
10
10
  const {
11
11
  entries,
@@ -303,7 +303,7 @@ const _createHooksMap = function _createHooksMap() {
303
303
  function createDOMPurify() {
304
304
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
305
305
  const DOMPurify = root => createDOMPurify(root);
306
- DOMPurify.version = '3.3.1';
306
+ DOMPurify.version = '3.3.3';
307
307
  DOMPurify.removed = [];
308
308
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
309
309
  // Not running in a browser, provide a factory function
@@ -598,7 +598,7 @@ function createDOMPurify() {
598
598
  /* Parse profile info */
599
599
  if (USE_PROFILES) {
600
600
  ALLOWED_TAGS = addToSet({}, text);
601
- ALLOWED_ATTR = [];
601
+ ALLOWED_ATTR = create(null);
602
602
  if (USE_PROFILES.html === true) {
603
603
  addToSet(ALLOWED_TAGS, html$1);
604
604
  addToSet(ALLOWED_ATTR, html);
@@ -619,6 +619,13 @@ function createDOMPurify() {
619
619
  addToSet(ALLOWED_ATTR, xml);
620
620
  }
621
621
  }
622
+ /* Prevent function-based ADD_ATTR / ADD_TAGS from leaking across calls */
623
+ if (!objectHasOwnProperty(cfg, 'ADD_TAGS')) {
624
+ EXTRA_ELEMENT_HANDLING.tagCheck = null;
625
+ }
626
+ if (!objectHasOwnProperty(cfg, 'ADD_ATTR')) {
627
+ EXTRA_ELEMENT_HANDLING.attributeCheck = null;
628
+ }
622
629
  /* Merge configuration parameters */
623
630
  if (cfg.ADD_TAGS) {
624
631
  if (typeof cfg.ADD_TAGS === 'function') {
@@ -1016,6 +1023,10 @@ function createDOMPurify() {
1016
1023
  */
1017
1024
  // eslint-disable-next-line complexity
1018
1025
  const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
1026
+ /* FORBID_ATTR must always win, even if ADD_ATTR predicate would allow it */
1027
+ if (FORBID_ATTR[lcName]) {
1028
+ return false;
1029
+ }
1019
1030
  /* Make sure attribute cannot clobber */
1020
1031
  if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
1021
1032
  return false;
@@ -1108,7 +1119,7 @@ function createDOMPurify() {
1108
1119
  value = SANITIZE_NAMED_PROPS_PREFIX + value;
1109
1120
  }
1110
1121
  /* Work around a security issue with comments inside attributes */
1111
- if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, value)) {
1122
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {
1112
1123
  _removeAttribute(name, currentNode);
1113
1124
  continue;
1114
1125
  }
package/dist/index.js CHANGED
@@ -6015,11 +6015,11 @@ var CardFooterComponent = function CardFooterComponent(_ref) {
6015
6015
  'auto-margin': !disableAutoMargin
6016
6016
  }, className);
6017
6017
  return /*#__PURE__*/jsxRuntime.jsxs("footer", _objectSpread2(_objectSpread2({}, props), {}, {
6018
- className: _JSXStyle.dynamic([["1602358380", [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme$1.palette.border, theme$1.layout.radius, theme$1.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme$1.layout.gapQuarter]]]) + " " + (props && props.className != null && props.className || classes || ""),
6018
+ className: _JSXStyle.dynamic([["1801130739", [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme$1.palette.border, theme$1.layout.radius, theme$1.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme$1.layout.gapQuarter]]]) + " " + (props && props.className != null && props.className || classes || ""),
6019
6019
  children: [children, /*#__PURE__*/jsxRuntime.jsx(_JSXStyle, {
6020
- id: "1602358380",
6020
+ id: "1801130739",
6021
6021
  dynamic: [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme$1.palette.border, theme$1.layout.radius, theme$1.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme$1.layout.gapQuarter],
6022
- children: "footer.__jsx-style-dynamic-selector{padding:".concat(SCALES.py(0.66), " ").concat(SCALES.px(1.31), ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;color:inherit;background-color:inherit;font-size:").concat(SCALES.font(0.875), ";border-top:1px solid ").concat(theme$1.palette.border, ";border-bottom-left-radius:").concat(theme$1.layout.radius, ";border-bottom-right-radius:").concat(theme$1.layout.radius, ";min-height:").concat(SCALES.height(3.3), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.auto-margin.__jsx-style-dynamic-selector *{margin-top:0;margin-bottom:0;margin-right:").concat(theme$1.layout.gapQuarter, ";}")
6022
+ children: "footer.__jsx-style-dynamic-selector{padding:".concat(SCALES.py(0.66), " ").concat(SCALES.px(1.31), ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;color:inherit;background-color:inherit;font-size:").concat(SCALES.font(0.875), ";border-top:1px solid ").concat(theme$1.palette.border, ";border-bottom-left-radius:").concat(theme$1.layout.radius, ";border-bottom-right-radius:").concat(theme$1.layout.radius, ";min-height:").concat(SCALES.height(3.3), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}footer.__jsx-style-dynamic-selector .auto-margin.__jsx-style-dynamic-selector{margin-top:0;margin-bottom:0;margin-right:").concat(theme$1.layout.gapQuarter, ";}")
6023
6023
  })]
6024
6024
  }));
6025
6025
  };
@@ -13762,7 +13762,7 @@ var Container = function Container(_ref) {
13762
13762
  Container.displayName = 'Container';
13763
13763
  var Container$1 = withScale(Container);
13764
13764
 
13765
- /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
13765
+ /*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE */
13766
13766
 
13767
13767
  const {
13768
13768
  entries,
@@ -14060,7 +14060,7 @@ const _createHooksMap = function _createHooksMap() {
14060
14060
  function createDOMPurify() {
14061
14061
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
14062
14062
  const DOMPurify = root => createDOMPurify(root);
14063
- DOMPurify.version = '3.3.1';
14063
+ DOMPurify.version = '3.3.3';
14064
14064
  DOMPurify.removed = [];
14065
14065
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
14066
14066
  // Not running in a browser, provide a factory function
@@ -14355,7 +14355,7 @@ function createDOMPurify() {
14355
14355
  /* Parse profile info */
14356
14356
  if (USE_PROFILES) {
14357
14357
  ALLOWED_TAGS = addToSet({}, text);
14358
- ALLOWED_ATTR = [];
14358
+ ALLOWED_ATTR = create$1(null);
14359
14359
  if (USE_PROFILES.html === true) {
14360
14360
  addToSet(ALLOWED_TAGS, html$1);
14361
14361
  addToSet(ALLOWED_ATTR, html);
@@ -14376,6 +14376,13 @@ function createDOMPurify() {
14376
14376
  addToSet(ALLOWED_ATTR, xml);
14377
14377
  }
14378
14378
  }
14379
+ /* Prevent function-based ADD_ATTR / ADD_TAGS from leaking across calls */
14380
+ if (!objectHasOwnProperty(cfg, 'ADD_TAGS')) {
14381
+ EXTRA_ELEMENT_HANDLING.tagCheck = null;
14382
+ }
14383
+ if (!objectHasOwnProperty(cfg, 'ADD_ATTR')) {
14384
+ EXTRA_ELEMENT_HANDLING.attributeCheck = null;
14385
+ }
14379
14386
  /* Merge configuration parameters */
14380
14387
  if (cfg.ADD_TAGS) {
14381
14388
  if (typeof cfg.ADD_TAGS === 'function') {
@@ -14773,6 +14780,10 @@ function createDOMPurify() {
14773
14780
  */
14774
14781
  // eslint-disable-next-line complexity
14775
14782
  const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
14783
+ /* FORBID_ATTR must always win, even if ADD_ATTR predicate would allow it */
14784
+ if (FORBID_ATTR[lcName]) {
14785
+ return false;
14786
+ }
14776
14787
  /* Make sure attribute cannot clobber */
14777
14788
  if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
14778
14789
  return false;
@@ -14865,7 +14876,7 @@ function createDOMPurify() {
14865
14876
  value = SANITIZE_NAMED_PROPS_PREFIX + value;
14866
14877
  }
14867
14878
  /* Work around a security issue with comments inside attributes */
14868
- if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, value)) {
14879
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {
14869
14880
  _removeAttribute(name, currentNode);
14870
14881
  continue;
14871
14882
  }
@@ -18340,7 +18351,7 @@ function requireLodash () {
18340
18351
  var undefined$1;
18341
18352
 
18342
18353
  /** Used as the semantic version number. */
18343
- var VERSION = '4.17.21';
18354
+ var VERSION = '4.17.23';
18344
18355
 
18345
18356
  /** Used as the size to enable large array optimizations. */
18346
18357
  var LARGE_ARRAY_SIZE = 200;
@@ -22094,7 +22105,7 @@ function requireLodash () {
22094
22105
  if (isArray(iteratee)) {
22095
22106
  return function(value) {
22096
22107
  return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
22097
- }
22108
+ };
22098
22109
  }
22099
22110
  return iteratee;
22100
22111
  });
@@ -22698,8 +22709,47 @@ function requireLodash () {
22698
22709
  */
22699
22710
  function baseUnset(object, path) {
22700
22711
  path = castPath(path, object);
22701
- object = parent(object, path);
22702
- return object == null || delete object[toKey(last(path))];
22712
+
22713
+ // Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
22714
+ var index = -1,
22715
+ length = path.length;
22716
+
22717
+ if (!length) {
22718
+ return true;
22719
+ }
22720
+
22721
+ var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
22722
+
22723
+ while (++index < length) {
22724
+ var key = path[index];
22725
+
22726
+ // skip non-string keys (e.g., Symbols, numbers)
22727
+ if (typeof key !== 'string') {
22728
+ continue;
22729
+ }
22730
+
22731
+ // Always block "__proto__" anywhere in the path if it's not expected
22732
+ if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
22733
+ return false;
22734
+ }
22735
+
22736
+ // Block "constructor.prototype" chains
22737
+ if (key === 'constructor' &&
22738
+ (index + 1) < length &&
22739
+ typeof path[index + 1] === 'string' &&
22740
+ path[index + 1] === 'prototype') {
22741
+
22742
+ // Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
22743
+ if (isRootPrimitive && index === 0) {
22744
+ continue;
22745
+ }
22746
+
22747
+ return false;
22748
+ }
22749
+ }
22750
+
22751
+ var obj = parent(object, path);
22752
+ return obj == null || delete obj[toKey(last(path))];
22703
22753
  }
22704
22754
 
22705
22755
  /**
@@ -2467,7 +2467,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2467
2467
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2468
2468
  PERFORMANCE OF THIS SOFTWARE.
2469
2469
  ***************************************************************************** */
2470
- /* global Reflect, Promise, SuppressedError, Symbol */
2470
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
2471
2471
 
2472
2472
 
2473
2473
  var __assign = function() {
@@ -2504,7 +2504,8 @@ function memoize(fn) {
2504
2504
  };
2505
2505
  }
2506
2506
 
2507
- var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
2507
+ // eslint-disable-next-line no-undef
2508
+ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
2508
2509
 
2509
2510
  var isPropValid = /* #__PURE__ */memoize(function (prop) {
2510
2511
  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
@@ -2516,6 +2517,57 @@ var isPropValid = /* #__PURE__ */memoize(function (prop) {
2516
2517
  /* Z+1 */
2517
2518
  );
2518
2519
 
2520
+ var unitlessKeys = {
2521
+ animationIterationCount: 1,
2522
+ aspectRatio: 1,
2523
+ borderImageOutset: 1,
2524
+ borderImageSlice: 1,
2525
+ borderImageWidth: 1,
2526
+ boxFlex: 1,
2527
+ boxFlexGroup: 1,
2528
+ boxOrdinalGroup: 1,
2529
+ columnCount: 1,
2530
+ columns: 1,
2531
+ flex: 1,
2532
+ flexGrow: 1,
2533
+ flexPositive: 1,
2534
+ flexShrink: 1,
2535
+ flexNegative: 1,
2536
+ flexOrder: 1,
2537
+ gridRow: 1,
2538
+ gridRowEnd: 1,
2539
+ gridRowSpan: 1,
2540
+ gridRowStart: 1,
2541
+ gridColumn: 1,
2542
+ gridColumnEnd: 1,
2543
+ gridColumnSpan: 1,
2544
+ gridColumnStart: 1,
2545
+ msGridRow: 1,
2546
+ msGridRowSpan: 1,
2547
+ msGridColumn: 1,
2548
+ msGridColumnSpan: 1,
2549
+ fontWeight: 1,
2550
+ lineHeight: 1,
2551
+ opacity: 1,
2552
+ order: 1,
2553
+ orphans: 1,
2554
+ scale: 1,
2555
+ tabSize: 1,
2556
+ widows: 1,
2557
+ zIndex: 1,
2558
+ zoom: 1,
2559
+ WebkitLineClamp: 1,
2560
+ // SVG-related properties
2561
+ fillOpacity: 1,
2562
+ floodOpacity: 1,
2563
+ stopOpacity: 1,
2564
+ strokeDasharray: 1,
2565
+ strokeDashoffset: 1,
2566
+ strokeMiterlimit: 1,
2567
+ strokeOpacity: 1,
2568
+ strokeWidth: 1
2569
+ };
2570
+
2519
2571
  var MS = '-ms-';
2520
2572
  var MOZ = '-moz-';
2521
2573
  var WEBKIT = '-webkit-';
@@ -2524,6 +2576,7 @@ var COMMENT = 'comm';
2524
2576
  var RULESET = 'rule';
2525
2577
  var DECLARATION = 'decl';
2526
2578
  var IMPORT = '@import';
2579
+ var NAMESPACE = '@namespace';
2527
2580
  var KEYFRAMES = '@keyframes';
2528
2581
  var LAYER = '@layer';
2529
2582
 
@@ -2947,6 +3000,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
2947
3000
  switch (peek()) {
2948
3001
  case 42: case 47:
2949
3002
  append(comment(commenter(next(), caret()), root, parent, declarations), declarations);
3003
+ if ((token(previous || 1) == 5 || token(peek() || 1) == 5) && strlen(characters) && substr(characters, -1, void 0) !== ' ') characters += ' ';
2950
3004
  break
2951
3005
  default:
2952
3006
  characters += '/';
@@ -2962,7 +3016,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
2962
3016
  case 0: case 125: scanning = 0;
2963
3017
  // ;
2964
3018
  case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
2965
- if (property > 0 && (strlen(characters) - length))
3019
+ if (property > 0 && (strlen(characters) - length || (variable === 0 && previous === 47)))
2966
3020
  append(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
2967
3021
  break
2968
3022
  // @ ;
@@ -2974,15 +3028,22 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
2974
3028
  if (character === 123)
2975
3029
  if (offset === 0)
2976
3030
  parse(characters, root, reference, reference, props, rulesets, length, points, children);
2977
- else
2978
- switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
2979
- // d l m s
2980
- case 100: case 108: case 109: case 115:
2981
- parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
2982
- break
3031
+ else {
3032
+ switch (atrule) {
3033
+ // c(ontainer)
3034
+ case 99:
3035
+ if (charat(characters, 3) === 110) break
3036
+ // l(ayer)
3037
+ case 108:
3038
+ if (charat(characters, 2) === 97) break
2983
3039
  default:
2984
- parse(characters, reference, reference, reference, [''], children, 0, points, children);
3040
+ offset = 0;
3041
+ // d(ocument) m(edia) s(upports)
3042
+ case 100: case 109: case 115:
2985
3043
  }
3044
+ if (offset) parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
3045
+ else parse(characters, reference, reference, reference, [''], children, 0, points, children);
3046
+ }
2986
3047
  }
2987
3048
 
2988
3049
  index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
@@ -3090,11 +3151,14 @@ function prefix (value, length, children) {
3090
3151
  case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:
3091
3152
  // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
3092
3153
  case 5572: case 6356: case 5844: case 3191: case 6645: case 3005:
3093
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
3094
- case 6391: case 5879: case 5623: case 6135: case 4599: case 4855:
3095
3154
  // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
3096
3155
  case 4215: case 6389: case 5109: case 5365: case 5621: case 3829:
3156
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position
3157
+ case 6391: case 5879: case 5623: case 6135: case 4599:
3097
3158
  return WEBKIT + value + value
3159
+ // mask-composite
3160
+ case 4855:
3161
+ return WEBKIT + value.replace('add', 'source-over').replace('substract', 'source-out').replace('intersect', 'source-in').replace('exclude', 'xor') + value
3098
3162
  // tab-size
3099
3163
  case 4789:
3100
3164
  return MOZ + value + value
@@ -3150,7 +3214,7 @@ function prefix (value, length, children) {
3150
3214
  return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1')
3151
3215
  // justify-content
3152
3216
  case 4968:
3153
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value
3217
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /space-between/, 'justify') + WEBKIT + value + value
3154
3218
  // justify-self
3155
3219
  case 4200:
3156
3220
  if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value
@@ -3242,7 +3306,7 @@ function serialize (children, callback) {
3242
3306
  function stringify (element, index, children, callback) {
3243
3307
  switch (element.type) {
3244
3308
  case LAYER: if (element.children.length) break
3245
- case IMPORT: case DECLARATION: return element.return = element.return || element.value
3309
+ case IMPORT: case NAMESPACE: case DECLARATION: return element.return = element.return || element.value
3246
3310
  case COMMENT: return ''
3247
3311
  case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
3248
3312
  case RULESET: if (!strlen(element.value = element.props.join(','))) return ''
@@ -3319,57 +3383,7 @@ function prefixer (element, index, children, callback) {
3319
3383
  }
3320
3384
  }
3321
3385
 
3322
- var unitlessKeys = {
3323
- animationIterationCount: 1,
3324
- aspectRatio: 1,
3325
- borderImageOutset: 1,
3326
- borderImageSlice: 1,
3327
- borderImageWidth: 1,
3328
- boxFlex: 1,
3329
- boxFlexGroup: 1,
3330
- boxOrdinalGroup: 1,
3331
- columnCount: 1,
3332
- columns: 1,
3333
- flex: 1,
3334
- flexGrow: 1,
3335
- flexPositive: 1,
3336
- flexShrink: 1,
3337
- flexNegative: 1,
3338
- flexOrder: 1,
3339
- gridRow: 1,
3340
- gridRowEnd: 1,
3341
- gridRowSpan: 1,
3342
- gridRowStart: 1,
3343
- gridColumn: 1,
3344
- gridColumnEnd: 1,
3345
- gridColumnSpan: 1,
3346
- gridColumnStart: 1,
3347
- msGridRow: 1,
3348
- msGridRowSpan: 1,
3349
- msGridColumn: 1,
3350
- msGridColumnSpan: 1,
3351
- fontWeight: 1,
3352
- lineHeight: 1,
3353
- opacity: 1,
3354
- order: 1,
3355
- orphans: 1,
3356
- tabSize: 1,
3357
- widows: 1,
3358
- zIndex: 1,
3359
- zoom: 1,
3360
- WebkitLineClamp: 1,
3361
- // SVG-related properties
3362
- fillOpacity: 1,
3363
- floodOpacity: 1,
3364
- stopOpacity: 1,
3365
- strokeDasharray: 1,
3366
- strokeDashoffset: 1,
3367
- strokeMiterlimit: 1,
3368
- strokeOpacity: 1,
3369
- strokeWidth: 1
3370
- };
3371
-
3372
- var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y="data-styled-version",v="6.1.19",g="/*!sc*/\n",S="undefined"!=typeof window&&"undefined"!=typeof document,w=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),E=/invalid hook call/i,N=new Set,P=function(t,n){if("production"!==process.env.NODE_ENV){var o$1=n?' with the id of "'.concat(n,'"'):"",s="The component ".concat(t).concat(o$1," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.\nSee https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.\n",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,__spreadArray([t],n,!1));},o.useRef(),a&&!N.has(s)&&(console.warn(s),N.add(s));}catch(e){E.test(e.message)&&N.delete(s);}finally{console.error=i;}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,"-").replace(D,"")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n="";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return (j(t%k)+n).replace(T,"$1-$2")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function L(e){return "string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G="function"==typeof Symbol&&Symbol.for,Y=G?Symbol.for("react.memo"):60115,W=G?Symbol.for("react.forward_ref"):60112,q={childContextTypes:true,contextType:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,getDerivedStateFromError:true,getDerivedStateFromProps:true,mixins:true,propTypes:true,type:true},H={name:true,length:true,prototype:true,caller:true,callee:true,arguments:true,arity:true},U={$$typeof:true,compare:true,defaultProps:true,displayName:true,propTypes:true,type:true},J=((V={})[W]={$$typeof:true,render:true,defaultProps:true,displayName:true,propTypes:true},V[Y]=U,V);function X(e){return ("type"in(t=e)&&t.type.$$typeof)===Y?U:"$$typeof"in e?J[e.$$typeof]:q;var t;}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if("string"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n);}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l);}catch(e){}}}}return e}function re(e){return "function"==typeof e}function se(e){return "object"==typeof e&&"styledComponentId"in e}function ie(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=e[o];return n}function ce(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=false),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,"toString",{value:t});}var pe="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e);}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return "production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):"")):new Error(de.apply(void 0,__spreadArray([pe[t]],n,false)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,"".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y,'="').concat(v,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return false}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,true}return false},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,true)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){ void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=false,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=true),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=C,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){ void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():"",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;o.createContext(void 0);function Ge(){return o.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){ void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||false===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push("".concat(He(s),":"),i,";"):ce(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),false),["}"],false)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se(e))return [".".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return "production"===process.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error("".concat(B(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return false}return true}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else {var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie(o,s),this.staticRulesId=s;}else {for(var a=M(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u,"production"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p;}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie(o,d);}}return o},e}(),et=o.createContext(void 0);et.Consumer;var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R(e);rt[n]=(rt[n]||0)+1;var o="".concat(n,"-").concat($(v+n+rt[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?"styled.".concat(e):"Styled(".concat(B(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;"production"!==process.env.NODE_ENV&&o.useDebugValue(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g) void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!==process.env.NODE_ENV||isPropValid(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o$1=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return "production"!==process.env.NODE_ENV&&o.useDebugValue(o$1),o$1}(a,g);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L(S)&&!A.has(S)?"class":"className"]=N,s&&(w.ref=s),o.createElement(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],true);return e}({},a.defaultProps,e):e;}}),"production"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=false;return function(r){if(!o&&(n[r]=true,Object.keys(n).length>=200)){var s=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(s,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=true,n={};}}}(y,g)),ue(D,function(){return ".".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:true,componentStyle:true,displayName:true,foldedComponentIds:true,shouldForwardProp:true,styledComponentId:true,target:true}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:true})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,__spreadArray([t],n,true))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,__spreadArray([t],s,false)))};return s.attrs=function(e){return ut(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,__assign(__assign({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e);});"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var St="__sc-".concat(f,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[St]+=1);
3386
+ var a="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",c="active",u="data-styled-version",l="6.3.12",p="/*!sc*/\n",h="undefined"!=typeof window&&"undefined"!=typeof document,d=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),m="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e);}),n}function v(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return "production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):"")):new Error(y.apply(void 0,__spreadArray([m[t]],n,false)).trim())}var g=1<<30,S=new Map,w=new Map,b=1,N=function(e){if(S.has(e))return S.get(e);for(;w.has(b);)b++;var t=b++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>g))throw v(16,"".concat(t));return S.set(e,t),w.set(t,e),t},E=function(e,t){b=t+1,S.set(e,t),w.set(t,e);},C=/invalid hook call/i,_=new Set,A=function(t,n){if("production"!==process.env.NODE_ENV){var r=n?' with the id of "'.concat(n,'"'):"",s="The component ".concat(t).concat(r," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.\nSee https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.\n",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];C.test(t)?(a=!1,_.delete(s)):i.apply(void 0,__spreadArray([t],n,!1));},"function"==typeof o.useState&&o.useState(null),a&&!_.has(s)&&(console.warn(s),_.add(s));}catch(e){C.test(e.message)&&_.delete(s);}finally{console.error=i;}}},P=Object.freeze([]),I=Object.freeze({});function O(e,t,n){return void 0===n&&(n=I),e.theme!==n.theme&&e.theme||t||n.theme}var D=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),R=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,T=/(^-|-$)/g;function x(e){return e.replace(R,"-").replace(T,"")}var j=/(a)(d)/gi,k=function(e){return String.fromCharCode(e+(e>25?39:97))};function M(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=k(t%52)+n;return (k(t%52)+n).replace(j,"$1-$2")}var V,F=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},G=function(e){return F(5381,e)};function L(e){return M(G(e)>>>0)}function B(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function z(e){return "string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var $="function"==typeof Symbol&&Symbol.for,Y=$?Symbol.for("react.memo"):60115,W=$?Symbol.for("react.forward_ref"):60112,q={childContextTypes:true,contextType:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,getDerivedStateFromError:true,getDerivedStateFromProps:true,mixins:true,propTypes:true,type:true},H={name:true,length:true,prototype:true,caller:true,callee:true,arguments:true,arity:true},U={$$typeof:true,compare:true,defaultProps:true,displayName:true,propTypes:true,type:true},J=((V={})[W]={$$typeof:true,render:true,defaultProps:true,displayName:true,propTypes:true},V[Y]=U,V);function X(e){return ("type"in(t=e)&&t.type.$$typeof)===Y?U:"$$typeof"in e?J[e.$$typeof]:q;var t;}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if("string"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n);}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var u=ee(t,c);try{Z(e,c,u);}catch(e){}}}}return e}function re(e){return "function"==typeof e}function se(e){return "object"==typeof e&&"styledComponentId"in e}function ie(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae(e,t){return e.join("")}function ce(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ue(e,t,n){if(void 0===n&&(n=false),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=ue(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=ue(e[o],t[o]);return e}function le(e,t){Object.defineProperty(e,"toString",{value:t});}var pe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0;}return e.prototype.indexOfGroup=function(e){if(e===this._cGroup)return this._cIndex;var t=this._cIndex;if(e>this._cGroup)for(var n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw v(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=0,c=(s=0,t.length);s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++,a++);a>0&&this._cGroup>e&&(this._cIndex+=a);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+=this.tag.getRule(s)+p;return t},e}(),he="style[".concat(a,"][").concat(u,'="').concat(l,'"]'),de=new RegExp("^".concat(a,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),fe=function(e){return "undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType},me=function(e){if(!e)return document;if(fe(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(fe(t))return t}return document},ye=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},ve=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(p),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(de);if(c){var u=0|parseInt(c[1],10),l=c[2];0!==u&&(E(l,u),ye(e,l,c[3]),e.getTag().insertRules(u,r)),r.length=0;}else r.push(a);}}},ge=function(e){for(var t=me(e.options.target).querySelectorAll(he),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(a)!==c&&(ve(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Se(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var we=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(a,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(a,c),o.setAttribute(u,l);var i=Se();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},be=function(){function e(e){this.element=we(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){var t;if(e.sheet)return e.sheet;for(var n=null!==(t=e.getRootNode().styleSheets)&&void 0!==t?t:document.styleSheets,o=0,r=n.length;o<r;o++){var s=n[o];if(s.ownerNode===e)return s}throw v(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return false}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Ne=function(){function e(e){this.element=we(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,true}return false},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ee=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(e===this.length?this.rules.push(t):this.rules.splice(e,0,t),this.length++,true)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Ce=h,_e={isServer:!h,useCSSOMInjection:!d},Ae=function(){function e(e,n,o){ void 0===e&&(e=I),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},_e),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&h&&Ce&&(Ce=false,ge(this)),le(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return w.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r);if(void 0===s||!s.size)return "continue";var i=t.getGroup(n);if(0===i.length)return "continue";var c=a+".g"+n+'[id="'+r+'"]',u="";s.forEach(function(e){e.length>0&&(u+=e+",");}),o+=i+c+'{content:"'+u+'"}'+p;},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return N(e)},e.prototype.rehydrate=function(){!this.server&&h&&ge(this);},e.prototype.reconstructWithOptions=function(n,o){ void 0===o&&(o=true);var r=new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0);return !this.server&&h&&n.target!==this.options.target&&me(this.options.target)!==me(n.target)&&ge(r),r},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Ee(n):t?new be(n):new Ne(n)}(this.options),new pe(e)));var e;},e.prototype.hasNameForId=function(e,t){var n,o;return null!==(o=null===(n=this.names.get(e))||void 0===n?void 0:n.has(t))&&void 0!==o&&o},e.prototype.registerName=function(e,t){N(e);var n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]));},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(N(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(N(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}();function Pe(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||e in unitlessKeys||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var Ie=function(e){return e>="A"&&e<="Z"};function Oe(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;Ie(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var De=Symbol.for("sc-keyframes");function Re(e){return "object"==typeof e&&null!==e&&De in e}var Te=function(e){return null==e||false===e||""===e},xe=function(t){var n=[];for(var o in t){var r=t[o];t.hasOwnProperty(o)&&!Te(r)&&(Array.isArray(r)&&r.isCss||re(r)?n.push("".concat(Oe(o),":"),r,";"):ce(r)?n.push.apply(n,__spreadArray(__spreadArray(["".concat(o," {")],xe(r),false),["}"],false)):n.push("".concat(Oe(o),": ").concat(Pe(o,r),";")));}return n};function je(e,t,n,o,r){if(void 0===r&&(r=[]),"string"==typeof e)return e&&r.push(e),r;if(Te(e))return r;if(se(e))return r.push(".".concat(e.styledComponentId)),r;if(re(e)){if(!re(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return r.push(e),r;var s=e(t);return "production"===process.env.NODE_ENV||"object"!=typeof s||Array.isArray(s)||Re(s)||ce(s)||null===s||console.error("".concat(B(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),je(s,t,n,o,r)}var i;if(Re(e))return n?(e.inject(n,o),r.push(e.getName(o))):r.push(e),r;if(ce(e)){for(var a=xe(e),c=0;c<a.length;c++)r.push(a[c]);return r}if(!Array.isArray(e))return r.push(e.toString()),r;for(c=0;c<e.length;c++)je(e[c],t,n,o,r);return r}function ke(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return false}return true}var Me=G(l),Ve=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&ke(e),this.componentId=t,this.baseHash=F(Me,t),this.baseStyle=n,Ae.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else {var r=ae(je(this.rules,e,t,n)),s=M(F(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie(o,s),this.staticRulesId=s;}else {for(var a=F(this.baseHash,n.hash),c="",u=0;u<this.rules.length;u++){var l=this.rules[u];if("string"==typeof l)c+=l,"production"!==process.env.NODE_ENV&&(a=F(a,l));else if(l){var p=ae(je(l,e,t,n));a=F(F(a,String(u)),p),c+=p;}}if(c){var h=M(a>>>0);if(!t.hasNameForId(this.componentId,h)){var d=n(c,".".concat(h),void 0,this.componentId);t.insertRules(this.componentId,h,d);}o=ie(o,h);}}return {className:o,css:"undefined"==typeof window?t.getTag().getGroup(N(this.componentId)):""}},e}(),Fe=/&/g,Ge=47,Le=42;function Be(e){if(-1===e.indexOf("}"))return false;for(var t=e.length,n=0,o=0,r=false,s=0;s<t;s++){var i=e.charCodeAt(s);if(0!==o||r||i!==Ge||e.charCodeAt(s+1)!==Le)if(r)i===Le&&e.charCodeAt(s+1)===Ge&&(r=false,s++);else if(34!==i&&39!==i||0!==s&&92===e.charCodeAt(s-1)){if(0===o)if(123===i)n++;else if(125===i&&--n<0)return true}else 0===o?o=i:o===i&&(o=0);else r=true,s++;}return 0!==n||0!==o}function ze(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=ze(e.children,t)),e})}function $e(e){var t,n,o,r=I,s=r.options,a=void 0===s?I:s,c=r.plugins,u=void 0===c?P:c,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},p=u.slice();p.push(function(e){e.type===RULESET&&e.value.includes("&")&&(o||(o=new RegExp("\\".concat(n,"\\b"),"g")),e.props[0]=e.props[0].replace(Fe,n).replace(o,l));}),a.prefix&&p.push(prefixer),p.push(stringify);var h=[],d=middleware(p.concat(rulesheet(function(e){return h.push(e)}))),f=function(e,r,s,c){ void 0===r&&(r=""),void 0===s&&(s=""),void 0===c&&(c="&"),t=c,n=r,o=void 0;var u=function(e){if(!Be(e))return e;for(var t=e.length,n="",o=0,r=0,s=0,i=false,a=0;a<t;a++){var c=e.charCodeAt(a);if(0!==s||i||c!==Ge||e.charCodeAt(a+1)!==Le)if(i)c===Le&&e.charCodeAt(a+1)===Ge&&(i=false,a++);else if(34!==c&&39!==c||0!==a&&92===e.charCodeAt(a-1)){if(0===s)if(123===c)r++;else if(125===c){if(--r<0){for(var u=a+1;u<t;){var l=e.charCodeAt(u);if(59===l||10===l)break;u++;}u<t&&59===e.charCodeAt(u)&&u++,r=0,a=u-1,o=u;continue}0===r&&(n+=e.substring(o,a+1),o=a+1);}else 59===c&&0===r&&(n+=e.substring(o,a+1),o=a+1);}else 0===s?s=c:s===c&&(s=0);else i=true,a++;}if(o<t){var p=e.substring(o);Be(p)||(n+=p);}return n}(function(e){if(-1===e.indexOf("//"))return e;for(var t=e.length,n=[],o=0,r=0,s=0,i=0;r<t;){var a=e.charCodeAt(r);if(34!==a&&39!==a||0!==r&&92===e.charCodeAt(r-1))if(0===s)if(a===Ge&&r+1<t&&e.charCodeAt(r+1)===Le){for(r+=2;r+1<t&&(e.charCodeAt(r)!==Le||e.charCodeAt(r+1)!==Ge);)r++;r+=2;}else if(40===a&&r>=3&&108==(32|e.charCodeAt(r-1))&&114==(32|e.charCodeAt(r-2))&&117==(32|e.charCodeAt(r-3)))i=1,r++;else if(i>0)41===a?i--:40===a&&i++,r++;else if(a===Le&&r+1<t&&e.charCodeAt(r+1)===Ge)r>o&&n.push(e.substring(o,r)),o=r+=2;else if(a===Ge&&r+1<t&&e.charCodeAt(r+1)===Ge){for(r>o&&n.push(e.substring(o,r));r<t&&10!==e.charCodeAt(r);)r++;o=r;}else r++;else r++;else 0===s?s=a:s===a&&(s=0),r++;}return 0===o?e:(o<t&&n.push(e.substring(o)),n.join(""))}(e)),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(u," }"):u);return a.namespace&&(l=ze(l,a.namespace)),h=[],serialize(l,d),h};return f.hash=u.length?u.reduce(function(e,t){return t.name||v(15),F(e,t.name)},5381).toString():"",f}var Ye=new Ae,We=$e(),qe=o.createContext({shouldForwardProp:void 0,styleSheet:Ye,stylis:We});qe.Consumer;o.createContext(void 0);function Je(){return o.useContext(qe)}var Ze=o.createContext(void 0);Ze.Consumer;var tt={},nt=new Set;function ot(e,s,i){var a=se(e),c=e,u=!z(e),p=s.attrs,h=void 0===p?P:p,d=s.componentId,f=void 0===d?function(e,t){var n="string"!=typeof e?"sc":x(e);tt[n]=(tt[n]||0)+1;var o="".concat(n,"-").concat(L(l+n+tt[n]));return t?"".concat(t,"-").concat(o):o}(s.displayName,s.parentComponentId):d,m=s.displayName,y=void 0===m?function(e){return z(e)?"styled.".concat(e):"Styled(".concat(B(e),")")}(e):m,v=s.displayName&&s.componentId?"".concat(x(s.displayName),"-").concat(s.componentId):s.componentId||f,g=a&&c.attrs?c.attrs.concat(h).filter(Boolean):h,S=s.shouldForwardProp;if(a&&c.shouldForwardProp){var w=c.shouldForwardProp;if(s.shouldForwardProp){var b=s.shouldForwardProp;S=function(e,t){return w(e,t)&&b(e,t)};}else S=w;}var N=new Ve(i,v,a?c.componentStyle:void 0);function E(e,s){return function(e,s,i){var a=e.attrs,c=e.componentStyle,u=e.defaultProps,l=e.foldedComponentIds,p=e.styledComponentId,h=e.target,d=o.useContext(Ze),f=Je(),m=e.shouldForwardProp||f.shouldForwardProp;"production"!==process.env.NODE_ENV&&o.useDebugValue&&o.useDebugValue(p);var y=O(s,d,u)||I,v=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)"className"===c?s.className=ie(s.className,a[c]):"style"===c?s.style=__assign(__assign({},s.style),a[c]):c in n&&void 0===n[c]||(s[c]=a[c]);}return "className"in n&&"string"==typeof n.className&&(s.className=ie(s.className,n.className)),s}(a,s,y),g=v.as||h,S={};for(var w in v) void 0===v[w]||"$"===w[0]||"as"===w||"theme"===w&&v.theme===y||("forwardedAs"===w?S.as=v.forwardedAs:m&&!m(w,g)||(S[w]=v[w],m||"development"!==process.env.NODE_ENV||isPropValid(w)||nt.has(w)||!D.has(g)||(nt.add(w),console.warn('styled-components: it looks like an unknown prop "'.concat(w,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var b=function(e,t){var n=Je(),r=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return "production"!==process.env.NODE_ENV&&o.useDebugValue&&o.useDebugValue(r.className),r}(c,v),N=b.className;"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(N);var E=ie(l,p);return N&&(E+=" "+N),v.className&&(E+=" "+v.className),S[z(g)&&!D.has(g)?"class":"className"]=E,i&&(S.ref=i),o.createElement(g,S)}(C,e,s)}E.displayName=y;var C=o.forwardRef(E);return C.attrs=g,C.componentStyle=N,C.displayName=y,C.shouldForwardProp=S,C.foldedComponentIds=a?ie(c.foldedComponentIds,c.styledComponentId):"",C.styledComponentId=v,C.target=a?c.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)ue(e,r[o],true);return e}({},c.defaultProps,e):e;}}),"production"!==process.env.NODE_ENV&&(A(y,v),C.warnTooManyClasses=function(e,t){var n={},o=false;return function(r){if(!o&&(n[r]=true,Object.keys(n).length>=200)){var s=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(s,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=true,n={};}}}(y,v)),le(C,function(){return ".".concat(C.styledComponentId)}),u&&oe(C,e,{attrs:true,componentStyle:true,displayName:true,foldedComponentIds:true,shouldForwardProp:true,styledComponentId:true,target:true}),C}function rt(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var st=function(e){return Object.assign(e,{isCss:true})};function it(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return st(je(rt(P,__spreadArray([t],n,true))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?je(r):st(je(rt(r,n)))}function at(n,o,r){if(void 0===r&&(r=I),!o)throw v(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,it.apply(void 0,__spreadArray([t],s,false)))};return s.attrs=function(e){return at(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return at(n,o,__assign(__assign({},r),e))},s}var ct=function(e){return at(ot,e)},ut=ct;D.forEach(function(e){ut[e]=ct(e);});"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var gt="__sc-".concat(a,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[gt]||(window[gt]=0),1===window[gt]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info."),window[gt]+=1);
3373
3387
 
3374
3388
  var _templateObject$3;
3375
3389
  var SearchIcon = function SearchIcon(_ref) {
@@ -3389,7 +3403,7 @@ var SearchIcon = function SearchIcon(_ref) {
3389
3403
  })
3390
3404
  });
3391
3405
  };
3392
- var StyledSearchIcon = dt.svg(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n flex-shrink: 0;\n margin: ", ";\n fill: ", ";\n"])), function (props) {
3406
+ var StyledSearchIcon = ut.svg(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n flex-shrink: 0;\n margin: ", ";\n fill: ", ";\n"])), function (props) {
3393
3407
  return props.theme.searchIconMargin;
3394
3408
  }, function (props) {
3395
3409
  return props.theme.iconColor;
@@ -3483,7 +3497,7 @@ var ResultsWrapper = function ResultsWrapper(_ref3) {
3483
3497
  })]
3484
3498
  });
3485
3499
  };
3486
- var StyledResults = dt.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n > div.line {\n border-top-color: ", ";\n border-top-style: solid;\n border-top-width: 1px;\n\n margin-bottom: 0px;\n margin-left: 14px;\n margin-right: 20px;\n margin-top: 0px;\n\n padding-bottom: 4px;\n }\n\n > ul {\n list-style-type: none;\n margin: 0;\n padding: 0px 0 16px 0;\n max-height: ", ";\n\n > li {\n display: flex;\n align-items: center;\n padding: 4px 0 4px 0;\n\n > div {\n margin-left: 13px;\n }\n }\n }\n\n .ellipsis {\n text-align: left;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .selected {\n background-color: ", ";\n }\n"])), function (props) {
3500
+ var StyledResults = ut.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n > div.line {\n border-top-color: ", ";\n border-top-style: solid;\n border-top-width: 1px;\n\n margin-bottom: 0px;\n margin-left: 14px;\n margin-right: 20px;\n margin-top: 0px;\n\n padding-bottom: 4px;\n }\n\n > ul {\n list-style-type: none;\n margin: 0;\n padding: 0px 0 16px 0;\n max-height: ", ";\n\n > li {\n display: flex;\n align-items: center;\n padding: 4px 0 4px 0;\n\n > div {\n margin-left: 13px;\n }\n }\n }\n\n .ellipsis {\n text-align: left;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .selected {\n background-color: ", ";\n }\n"])), function (props) {
3487
3501
  return props.theme.lineColor;
3488
3502
  }, function (props) {
3489
3503
  return props.theme.maxHeight;
@@ -3528,7 +3542,7 @@ var ClearIcon = function ClearIcon(_ref) {
3528
3542
  })
3529
3543
  });
3530
3544
  };
3531
- var StyledClearIcon = dt.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n margin: ", ";\n\n &:hover {\n cursor: pointer;\n }\n\n > svg {\n fill: ", ";\n }\n"])), function (props) {
3545
+ var StyledClearIcon = ut.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n margin: ", ";\n\n &:hover {\n cursor: pointer;\n }\n\n > svg {\n fill: ", ";\n }\n"])), function (props) {
3532
3546
  return props.theme.clearIconMargin;
3533
3547
  }, function (props) {
3534
3548
  return props.theme.iconColor;
@@ -3592,7 +3606,7 @@ function SearchInput(_ref) {
3592
3606
  })]
3593
3607
  });
3594
3608
  }
3595
- var StyledSearchInput = dt.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n min-height: ", ";\n width: 100%;\n\n display: flex;\n align-items: center;\n\n > input {\n width: 100%;\n\n padding: 0 0 0 13px;\n\n border: none;\n outline: none;\n\n background-color: rgba(0, 0, 0, 0);\n font-size: inherit;\n font-family: inherit;\n\n color: ", ";\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n }\n }\n"])), function (props) {
3609
+ var StyledSearchInput = ut.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n min-height: ", ";\n width: 100%;\n\n display: flex;\n align-items: center;\n\n > input {\n width: 100%;\n\n padding: 0 0 0 13px;\n\n border: none;\n outline: none;\n\n background-color: rgba(0, 0, 0, 0);\n font-size: inherit;\n font-family: inherit;\n\n color: ", ";\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n }\n }\n"])), function (props) {
3596
3610
  return props.theme.height;
3597
3611
  }, function (props) {
3598
3612
  return props.theme.color;
@@ -3951,7 +3951,7 @@ function requireLodash () {
3951
3951
  var undefined$1;
3952
3952
 
3953
3953
  /** Used as the semantic version number. */
3954
- var VERSION = '4.17.21';
3954
+ var VERSION = '4.17.23';
3955
3955
 
3956
3956
  /** Used as the size to enable large array optimizations. */
3957
3957
  var LARGE_ARRAY_SIZE = 200;
@@ -7705,7 +7705,7 @@ function requireLodash () {
7705
7705
  if (isArray(iteratee)) {
7706
7706
  return function(value) {
7707
7707
  return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
7708
- }
7708
+ };
7709
7709
  }
7710
7710
  return iteratee;
7711
7711
  });
@@ -8309,8 +8309,47 @@ function requireLodash () {
8309
8309
  */
8310
8310
  function baseUnset(object, path) {
8311
8311
  path = castPath(path, object);
8312
- object = parent(object, path);
8313
- return object == null || delete object[toKey(last(path))];
8312
+
8313
+ // Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
8314
+ var index = -1,
8315
+ length = path.length;
8316
+
8317
+ if (!length) {
8318
+ return true;
8319
+ }
8320
+
8321
+ var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
8322
+
8323
+ while (++index < length) {
8324
+ var key = path[index];
8325
+
8326
+ // skip non-string keys (e.g., Symbols, numbers)
8327
+ if (typeof key !== 'string') {
8328
+ continue;
8329
+ }
8330
+
8331
+ // Always block "__proto__" anywhere in the path if it's not expected
8332
+ if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
8333
+ return false;
8334
+ }
8335
+
8336
+ // Block "constructor.prototype" chains
8337
+ if (key === 'constructor' &&
8338
+ (index + 1) < length &&
8339
+ typeof path[index + 1] === 'string' &&
8340
+ path[index + 1] === 'prototype') {
8341
+
8342
+ // Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
8343
+ if (isRootPrimitive && index === 0) {
8344
+ continue;
8345
+ }
8346
+
8347
+ return false;
8348
+ }
8349
+ }
8350
+
8351
+ var obj = parent(object, path);
8352
+ return obj == null || delete obj[toKey(last(path))];
8314
8353
  }
8315
8354
 
8316
8355
  /**
@@ -19,11 +19,11 @@ var CardFooterComponent = function CardFooterComponent(_ref) {
19
19
  'auto-margin': !disableAutoMargin
20
20
  }, className);
21
21
  return /*#__PURE__*/React.createElement("footer", _extends({}, props, {
22
- className: _JSXStyle.dynamic([["1602358380", [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme.palette.border, theme.layout.radius, theme.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme.layout.gapQuarter]]]) + " " + (props && props.className != null && props.className || classes || "")
22
+ className: _JSXStyle.dynamic([["1801130739", [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme.palette.border, theme.layout.radius, theme.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme.layout.gapQuarter]]]) + " " + (props && props.className != null && props.className || classes || "")
23
23
  }), children, /*#__PURE__*/React.createElement(_JSXStyle, {
24
- id: "1602358380",
24
+ id: "1801130739",
25
25
  dynamic: [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme.palette.border, theme.layout.radius, theme.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme.layout.gapQuarter]
26
- }, "footer.__jsx-style-dynamic-selector{padding:".concat(SCALES.py(0.66), " ").concat(SCALES.px(1.31), ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;color:inherit;background-color:inherit;font-size:").concat(SCALES.font(0.875), ";border-top:1px solid ").concat(theme.palette.border, ";border-bottom-left-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";min-height:").concat(SCALES.height(3.3), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.auto-margin.__jsx-style-dynamic-selector *{margin-top:0;margin-bottom:0;margin-right:").concat(theme.layout.gapQuarter, ";}")));
26
+ }, "footer.__jsx-style-dynamic-selector{padding:".concat(SCALES.py(0.66), " ").concat(SCALES.px(1.31), ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;color:inherit;background-color:inherit;font-size:").concat(SCALES.font(0.875), ";border-top:1px solid ").concat(theme.palette.border, ";border-bottom-left-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";min-height:").concat(SCALES.height(3.3), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}footer.__jsx-style-dynamic-selector .auto-margin.__jsx-style-dynamic-selector{margin-top:0;margin-bottom:0;margin-right:").concat(theme.layout.gapQuarter, ";}")));
27
27
  };
28
28
  CardFooterComponent.displayName = 'CardFooter';
29
29
  var CardFooter = withScale(CardFooterComponent);
@@ -12,7 +12,7 @@ export declare function useFormik<Values extends FormikValues = FormikValues>({
12
12
  };
13
13
  handleChange: {
14
14
  (e: React.ChangeEvent<any>): void;
15
- <T = string | React.ChangeEvent<any>>(field: T): T extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
15
+ <T = string | React.ChangeEvent<any, Element>>(field: T): T extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
16
16
  };
17
17
  handleReset: (e: any) => void;
18
18
  handleSubmit: (e?: React.FormEvent<HTMLFormElement>) => void;
@@ -7,7 +7,7 @@ export type GridProps = Props & GridBasicItemProps;
7
7
  declare const Grid: React.ForwardRefExoticComponent<Props & import("./basic-item").GridBasicComponentProps & {
8
8
  children?: React.ReactNode;
9
9
  style?: React.CSSProperties | undefined;
10
- onChange?: React.FormEventHandler<any> | undefined;
10
+ onChange?: React.ChangeEventHandler<any, Element> | undefined;
11
11
  defaultChecked?: boolean | undefined | undefined;
12
12
  defaultValue?: string | number | readonly string[] | undefined;
13
13
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -133,17 +133,17 @@ declare const Grid: React.ForwardRefExoticComponent<Props & import("./basic-item
133
133
  onFocusCapture?: React.FocusEventHandler<any> | undefined;
134
134
  onBlur?: React.FocusEventHandler<any> | undefined;
135
135
  onBlurCapture?: React.FocusEventHandler<any> | undefined;
136
- onChangeCapture?: React.FormEventHandler<any> | undefined;
136
+ onChangeCapture?: React.ChangeEventHandler<any, Element> | undefined;
137
137
  onBeforeInput?: React.InputEventHandler<any> | undefined;
138
- onBeforeInputCapture?: React.FormEventHandler<any> | undefined;
139
- onInput?: React.FormEventHandler<any> | undefined;
140
- onInputCapture?: React.FormEventHandler<any> | undefined;
141
- onReset?: React.FormEventHandler<any> | undefined;
142
- onResetCapture?: React.FormEventHandler<any> | undefined;
143
- onSubmit?: React.FormEventHandler<any> | undefined;
144
- onSubmitCapture?: React.FormEventHandler<any> | undefined;
145
- onInvalid?: React.FormEventHandler<any> | undefined;
146
- onInvalidCapture?: React.FormEventHandler<any> | undefined;
138
+ onBeforeInputCapture?: React.InputEventHandler<any> | undefined;
139
+ onInput?: React.InputEventHandler<any> | undefined;
140
+ onInputCapture?: React.InputEventHandler<any> | undefined;
141
+ onReset?: React.ReactEventHandler<any> | undefined;
142
+ onResetCapture?: React.ReactEventHandler<any> | undefined;
143
+ onSubmit?: React.SubmitEventHandler<any> | undefined;
144
+ onSubmitCapture?: React.SubmitEventHandler<any> | undefined;
145
+ onInvalid?: React.ReactEventHandler<any> | undefined;
146
+ onInvalidCapture?: React.ReactEventHandler<any> | undefined;
147
147
  onLoad?: React.ReactEventHandler<any> | undefined;
148
148
  onLoadCapture?: React.ReactEventHandler<any> | undefined;
149
149
  onError?: React.ReactEventHandler<any> | undefined;
@@ -10,7 +10,7 @@ export type GridContainerProps = Props & GridBasicItemProps;
10
10
  declare const GridContainer: React.ForwardRefExoticComponent<Props & import("./basic-item").GridBasicComponentProps & {
11
11
  children?: React.ReactNode;
12
12
  style?: React.CSSProperties | undefined;
13
- onChange?: React.FormEventHandler<any> | undefined;
13
+ onChange?: React.ChangeEventHandler<any, Element> | undefined;
14
14
  defaultChecked?: boolean | undefined | undefined;
15
15
  defaultValue?: string | number | readonly string[] | undefined;
16
16
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -136,17 +136,17 @@ declare const GridContainer: React.ForwardRefExoticComponent<Props & import("./b
136
136
  onFocusCapture?: React.FocusEventHandler<any> | undefined;
137
137
  onBlur?: React.FocusEventHandler<any> | undefined;
138
138
  onBlurCapture?: React.FocusEventHandler<any> | undefined;
139
- onChangeCapture?: React.FormEventHandler<any> | undefined;
139
+ onChangeCapture?: React.ChangeEventHandler<any, Element> | undefined;
140
140
  onBeforeInput?: React.InputEventHandler<any> | undefined;
141
- onBeforeInputCapture?: React.FormEventHandler<any> | undefined;
142
- onInput?: React.FormEventHandler<any> | undefined;
143
- onInputCapture?: React.FormEventHandler<any> | undefined;
144
- onReset?: React.FormEventHandler<any> | undefined;
145
- onResetCapture?: React.FormEventHandler<any> | undefined;
146
- onSubmit?: React.FormEventHandler<any> | undefined;
147
- onSubmitCapture?: React.FormEventHandler<any> | undefined;
148
- onInvalid?: React.FormEventHandler<any> | undefined;
149
- onInvalidCapture?: React.FormEventHandler<any> | undefined;
141
+ onBeforeInputCapture?: React.InputEventHandler<any> | undefined;
142
+ onInput?: React.InputEventHandler<any> | undefined;
143
+ onInputCapture?: React.InputEventHandler<any> | undefined;
144
+ onReset?: React.ReactEventHandler<any> | undefined;
145
+ onResetCapture?: React.ReactEventHandler<any> | undefined;
146
+ onSubmit?: React.SubmitEventHandler<any> | undefined;
147
+ onSubmitCapture?: React.SubmitEventHandler<any> | undefined;
148
+ onInvalid?: React.ReactEventHandler<any> | undefined;
149
+ onInvalidCapture?: React.ReactEventHandler<any> | undefined;
150
150
  onLoad?: React.ReactEventHandler<any> | undefined;
151
151
  onLoadCapture?: React.ReactEventHandler<any> | undefined;
152
152
  onError?: React.ReactEventHandler<any> | undefined;
@@ -111,9 +111,9 @@ export var InputCurrency = /*#__PURE__*/forwardRef(function (_ref, ref) {
111
111
  changeCount = _useState8[0],
112
112
  setChangeCount = _useState8[1];
113
113
  var _useState9 = useState(null),
114
- _useState10 = _slicedToArray(_useState9, 2),
115
- lastKeyStroke = _useState10[0],
116
- setLastKeyStroke = _useState10[1];
114
+ _useState0 = _slicedToArray(_useState9, 2),
115
+ lastKeyStroke = _useState0[0],
116
+ setLastKeyStroke = _useState0[1];
117
117
  var inputRef = useRef(null);
118
118
  useImperativeHandle(ref, function () {
119
119
  return inputRef.current;
@@ -1042,9 +1042,9 @@ function PhoneInput(_ref) {
1042
1042
  dropdownOpen = _useState8[0],
1043
1043
  setDropdownOpen = _useState8[1];
1044
1044
  var _useState9 = useState(''),
1045
- _useState10 = _slicedToArray(_useState9, 2),
1046
- searchTerm = _useState10[0],
1047
- setSearchTerm = _useState10[1];
1045
+ _useState0 = _slicedToArray(_useState9, 2),
1046
+ searchTerm = _useState0[0],
1047
+ setSearchTerm = _useState0[1];
1048
1048
  var dropdownRef = useRef(null);
1049
1049
  var _useMemo = useMemo(function () {
1050
1050
  return getColors(theme.palette, _color);
@@ -72,17 +72,17 @@ export default function ReactSearchAutocomplete(_ref) {
72
72
  isSearchComplete = _useState8[0],
73
73
  setIsSearchComplete = _useState8[1];
74
74
  var _useState9 = useState(false),
75
- _useState10 = _slicedToArray(_useState9, 2),
76
- isTyping = _useState10[0],
77
- setIsTyping = _useState10[1];
75
+ _useState0 = _slicedToArray(_useState9, 2),
76
+ isTyping = _useState0[0],
77
+ setIsTyping = _useState0[1];
78
+ var _useState1 = useState(false),
79
+ _useState10 = _slicedToArray(_useState1, 2),
80
+ showNoResultsFlag = _useState10[0],
81
+ setShowNoResultsFlag = _useState10[1];
78
82
  var _useState11 = useState(false),
79
83
  _useState12 = _slicedToArray(_useState11, 2),
80
- showNoResultsFlag = _useState12[0],
81
- setShowNoResultsFlag = _useState12[1];
82
- var _useState13 = useState(false),
83
- _useState14 = _slicedToArray(_useState13, 2),
84
- hasFocus = _useState14[0],
85
- setHasFocus = _useState14[1];
84
+ hasFocus = _useState12[0],
85
+ setHasFocus = _useState12[1];
86
86
  useEffect(function () {
87
87
  setSearchString(inputSearchString);
88
88
  var timeoutId = setTimeout(function () {
@@ -35,9 +35,9 @@ export default function useTimer() {
35
35
  didStart = _useState8[0],
36
36
  setDidStart = _useState8[1];
37
37
  var _useState9 = useState(getDelayFromExpiryTimestamp(expiryTimestamp)),
38
- _useState10 = _slicedToArray(_useState9, 2),
39
- delay = _useState10[0],
40
- setDelay = _useState10[1];
38
+ _useState0 = _slicedToArray(_useState9, 2),
39
+ delay = _useState0[0],
40
+ setDelay = _useState0[1];
41
41
  var handleExpire = useCallback(function () {
42
42
  Validate.onExpire(onExpire) && onExpire();
43
43
  setIsRunning(false);
@@ -15,7 +15,7 @@ var reduceScaleCoefficient = function reduceScaleCoefficient(scale) {
15
15
  };
16
16
  var withScale = function withScale(Render) {
17
17
  var ScaleFC = /*#__PURE__*/forwardRef(function (_ref, ref) {
18
- var _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _ref27, _ref28, _ref29, _ref30, _ref31, _ref32, _ref33;
18
+ var _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref0, _ref1, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _ref27, _ref28, _ref29, _ref30, _ref31;
19
19
  var children = _ref.children,
20
20
  props = _objectWithoutProperties(_ref, _excluded);
21
21
  var _useTheme = useTheme(),
@@ -75,14 +75,14 @@ var withScale = function withScale(Render) {
75
75
  pr: makeScaleHandler((_ref4 = (_ref5 = paddingRight !== null && paddingRight !== void 0 ? paddingRight : pr) !== null && _ref5 !== void 0 ? _ref5 : px) !== null && _ref4 !== void 0 ? _ref4 : padding),
76
76
  pb: makeScaleHandler((_ref6 = (_ref7 = paddingBottom !== null && paddingBottom !== void 0 ? paddingBottom : pb) !== null && _ref7 !== void 0 ? _ref7 : py) !== null && _ref6 !== void 0 ? _ref6 : padding),
77
77
  pl: makeScaleHandler((_ref8 = (_ref9 = paddingLeft !== null && paddingLeft !== void 0 ? paddingLeft : pl) !== null && _ref9 !== void 0 ? _ref9 : px) !== null && _ref8 !== void 0 ? _ref8 : padding),
78
- px: makeScaleHandler((_ref10 = (_ref11 = (_ref12 = (_ref13 = px !== null && px !== void 0 ? px : paddingLeft) !== null && _ref13 !== void 0 ? _ref13 : paddingRight) !== null && _ref12 !== void 0 ? _ref12 : pl) !== null && _ref11 !== void 0 ? _ref11 : pr) !== null && _ref10 !== void 0 ? _ref10 : padding),
79
- py: makeScaleHandler((_ref14 = (_ref15 = (_ref16 = (_ref17 = py !== null && py !== void 0 ? py : paddingTop) !== null && _ref17 !== void 0 ? _ref17 : paddingBottom) !== null && _ref16 !== void 0 ? _ref16 : pt) !== null && _ref15 !== void 0 ? _ref15 : pb) !== null && _ref14 !== void 0 ? _ref14 : padding),
80
- mt: makeScaleHandler((_ref18 = (_ref19 = marginTop !== null && marginTop !== void 0 ? marginTop : mt) !== null && _ref19 !== void 0 ? _ref19 : my) !== null && _ref18 !== void 0 ? _ref18 : margin),
81
- mr: makeScaleHandler((_ref20 = (_ref21 = marginRight !== null && marginRight !== void 0 ? marginRight : mr) !== null && _ref21 !== void 0 ? _ref21 : mx) !== null && _ref20 !== void 0 ? _ref20 : margin),
82
- mb: makeScaleHandler((_ref22 = (_ref23 = marginBottom !== null && marginBottom !== void 0 ? marginBottom : mb) !== null && _ref23 !== void 0 ? _ref23 : my) !== null && _ref22 !== void 0 ? _ref22 : margin),
83
- ml: makeScaleHandler((_ref24 = (_ref25 = marginLeft !== null && marginLeft !== void 0 ? marginLeft : ml) !== null && _ref25 !== void 0 ? _ref25 : mx) !== null && _ref24 !== void 0 ? _ref24 : margin),
84
- mx: makeScaleHandler((_ref26 = (_ref27 = (_ref28 = (_ref29 = mx !== null && mx !== void 0 ? mx : marginLeft) !== null && _ref29 !== void 0 ? _ref29 : marginRight) !== null && _ref28 !== void 0 ? _ref28 : ml) !== null && _ref27 !== void 0 ? _ref27 : mr) !== null && _ref26 !== void 0 ? _ref26 : margin),
85
- my: makeScaleHandler((_ref30 = (_ref31 = (_ref32 = (_ref33 = my !== null && my !== void 0 ? my : marginTop) !== null && _ref33 !== void 0 ? _ref33 : marginBottom) !== null && _ref32 !== void 0 ? _ref32 : mt) !== null && _ref31 !== void 0 ? _ref31 : mb) !== null && _ref30 !== void 0 ? _ref30 : margin),
78
+ px: makeScaleHandler((_ref0 = (_ref1 = (_ref10 = (_ref11 = px !== null && px !== void 0 ? px : paddingLeft) !== null && _ref11 !== void 0 ? _ref11 : paddingRight) !== null && _ref10 !== void 0 ? _ref10 : pl) !== null && _ref1 !== void 0 ? _ref1 : pr) !== null && _ref0 !== void 0 ? _ref0 : padding),
79
+ py: makeScaleHandler((_ref12 = (_ref13 = (_ref14 = (_ref15 = py !== null && py !== void 0 ? py : paddingTop) !== null && _ref15 !== void 0 ? _ref15 : paddingBottom) !== null && _ref14 !== void 0 ? _ref14 : pt) !== null && _ref13 !== void 0 ? _ref13 : pb) !== null && _ref12 !== void 0 ? _ref12 : padding),
80
+ mt: makeScaleHandler((_ref16 = (_ref17 = marginTop !== null && marginTop !== void 0 ? marginTop : mt) !== null && _ref17 !== void 0 ? _ref17 : my) !== null && _ref16 !== void 0 ? _ref16 : margin),
81
+ mr: makeScaleHandler((_ref18 = (_ref19 = marginRight !== null && marginRight !== void 0 ? marginRight : mr) !== null && _ref19 !== void 0 ? _ref19 : mx) !== null && _ref18 !== void 0 ? _ref18 : margin),
82
+ mb: makeScaleHandler((_ref20 = (_ref21 = marginBottom !== null && marginBottom !== void 0 ? marginBottom : mb) !== null && _ref21 !== void 0 ? _ref21 : my) !== null && _ref20 !== void 0 ? _ref20 : margin),
83
+ ml: makeScaleHandler((_ref22 = (_ref23 = marginLeft !== null && marginLeft !== void 0 ? marginLeft : ml) !== null && _ref23 !== void 0 ? _ref23 : mx) !== null && _ref22 !== void 0 ? _ref22 : margin),
84
+ mx: makeScaleHandler((_ref24 = (_ref25 = (_ref26 = (_ref27 = mx !== null && mx !== void 0 ? mx : marginLeft) !== null && _ref27 !== void 0 ? _ref27 : marginRight) !== null && _ref26 !== void 0 ? _ref26 : ml) !== null && _ref25 !== void 0 ? _ref25 : mr) !== null && _ref24 !== void 0 ? _ref24 : margin),
85
+ my: makeScaleHandler((_ref28 = (_ref29 = (_ref30 = (_ref31 = my !== null && my !== void 0 ? my : marginTop) !== null && _ref31 !== void 0 ? _ref31 : marginBottom) !== null && _ref30 !== void 0 ? _ref30 : mt) !== null && _ref29 !== void 0 ? _ref29 : mb) !== null && _ref28 !== void 0 ? _ref28 : margin),
86
86
  width: makeScaleHandler(width !== null && width !== void 0 ? width : w),
87
87
  height: makeScaleHandler(height !== null && height !== void 0 ? height : h),
88
88
  font: makeScaleHandler(font)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helpdice/ui",
3
- "version": "2.6.2-beta.1",
3
+ "version": "2.6.2-beta.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "unpkg": "dist/index.min.js",
@@ -21,7 +21,7 @@
21
21
  "build:clear": "rm -rf ./dist ./esm",
22
22
  "build:rollup": "rollup --bundleConfigAsCjs -c scripts/rollup.config.js",
23
23
  "build:webpack": "webpack --config scripts/webpack.config.js",
24
- "build:babel": "babel --no-babelrc --config-file ./scripts/babel.config.js --extensions \".js,.ts,.tsx\" ./components --out-dir ./esm --ignore \"**/__tests__/**/*,**/*.d.ts\"",
24
+ "build:babel": "npx babel --no-babelrc --config-file ./scripts/babel.config.js --extensions \".js,.ts,.tsx\" ./components --out-dir ./esm --ignore \"**/__tests__/**/*,**/*.d.ts\"",
25
25
  "build:after": "node scripts/move-built-in.js && node scripts/generate-exports.js",
26
26
  "build:types": "tsc -p ./scripts & tsc -p ./scripts --outDir ./esm",
27
27
  "build:package": "yarn build:rollup && yarn build:babel && yarn build:types && yarn build:after",
@@ -62,7 +62,7 @@
62
62
  "@babel/preset-react": "^7.14.5",
63
63
  "@babel/preset-typescript": "^7.14.5",
64
64
  "@babel/standalone": "^7.28.3",
65
- "@helpdice/icons": "1.3.9",
65
+ "@helpdice/icons": "file:../icons/helpdice-icons-1.4.4.tgz",
66
66
  "@helpdice/pro": "2.2.0",
67
67
  "@helpdice/sdk": "^0.4.3",
68
68
  "@helpdice/utils": "^0.1.4",
@@ -142,8 +142,8 @@
142
142
  "peerDependencies": {
143
143
  "@helpdice/theme": "^1.1.0",
144
144
  "dashjs": "^5.1.1",
145
- "react": "^19.2.3",
146
145
  "hls.js": "^1.6.15",
146
+ "react": "^19.2.3",
147
147
  "react-dom": "^19.2.3",
148
148
  "react-router-dom": "^7.8.2"
149
149
  },