@seeqdev/qomponents 0.0.134 → 0.0.136

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.
Files changed (39) hide show
  1. package/dist/Accordion/Accordion.stories.d.ts +2 -1
  2. package/dist/Alert/Alert.stories.d.ts +2 -1
  3. package/dist/Button/Button.stories.d.ts +5 -4
  4. package/dist/Button/Button.types.d.ts +1 -1
  5. package/dist/ButtonGroup/ButtonGroup.stories.d.ts +2 -1
  6. package/dist/ButtonWithDropdown/ButtonWithDropdown.stories.d.ts +2 -1
  7. package/dist/ButtonWithPopover/ButtonWithPopover.stories.d.ts +2 -1
  8. package/dist/Carousel/Carousel.stories.d.ts +2 -1
  9. package/dist/Checkbox/Checkbox.stories.d.ts +2 -1
  10. package/dist/Collapse/Collapse.stories.d.ts +2 -1
  11. package/dist/Icon/Icon.stories.d.ts +2 -1
  12. package/dist/InputGroup/InputGroup.stories.d.ts +2 -1
  13. package/dist/ProgressBar/ProgressBar.stories.d.ts +2 -1
  14. package/dist/SeeqActionDropdown/SeeqActionDropdown.stories.d.ts +2 -1
  15. package/dist/Select/Select.stories.d.ts +2 -1
  16. package/dist/Slider/Slider.stories.d.ts +2 -1
  17. package/dist/SvgIcon/SvgIcon.d.ts +20 -0
  18. package/dist/SvgIcon/SvgIcon.stories.d.ts +6 -0
  19. package/dist/SvgIcon/SvgIcon.test.d.ts +1 -0
  20. package/dist/SvgIcon/SvgIcon.types.d.ts +25 -0
  21. package/dist/SvgIcon/index.d.ts +1 -0
  22. package/dist/Tabs/Tabs.stories.d.ts +2 -1
  23. package/dist/Tabs/Tabs.types.d.ts +1 -1
  24. package/dist/TextArea/TextArea.stories.d.ts +2 -1
  25. package/dist/TextField/TextField.stories.d.ts +2 -1
  26. package/dist/ToolbarButton/ToolbarButton.stories.d.ts +2 -1
  27. package/dist/Tooltip/QTip.stories.d.ts +2 -1
  28. package/dist/Tooltip/QTipPerformance.stories.d.ts +2 -1
  29. package/dist/Tooltip/Qtip.js +4 -2
  30. package/dist/Tooltip/Qtip.js.map +1 -1
  31. package/dist/Tooltip/Tooltip.stories.d.ts +2 -1
  32. package/dist/Tooltip/Tooltip.types.d.ts +2 -2
  33. package/dist/Tooltip/TooltipPerformance.stories.d.ts +2 -1
  34. package/dist/index.esm.js +1462 -1255
  35. package/dist/index.esm.js.map +1 -1
  36. package/dist/index.js +1462 -1255
  37. package/dist/index.js.map +1 -1
  38. package/dist/styles.css +12 -0
  39. package/package.json +57 -48
package/dist/index.esm.js CHANGED
@@ -874,7 +874,7 @@ var count = 0;
874
874
  function useId(deterministicId) {
875
875
  const [id, setId] = React.useState(useReactId());
876
876
  useLayoutEffect2(() => {
877
- if (!deterministicId) setId((reactId) => reactId ?? String(count++));
877
+ setId((reactId) => reactId ?? String(count++));
878
878
  }, [deterministicId]);
879
879
  return deterministicId || (id ? `radix-${id}` : "");
880
880
  }
@@ -3478,7 +3478,7 @@ var applyAttributeToOthers = function (originalTarget, parentNode, markerName, c
3478
3478
  var hideOthers = function (originalTarget, parentNode, markerName) {
3479
3479
  if (markerName === void 0) { markerName = 'data-aria-hidden'; }
3480
3480
  var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
3481
- var activeParentNode = parentNode || getDefaultParent(originalTarget);
3481
+ var activeParentNode = getDefaultParent(originalTarget);
3482
3482
  if (!activeParentNode) {
3483
3483
  return function () { return null; };
3484
3484
  }
@@ -3501,6 +3501,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3501
3501
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3502
3502
  PERFORMANCE OF THIS SOFTWARE.
3503
3503
  ***************************************************************************** */
3504
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
3505
+
3504
3506
 
3505
3507
  var __assign = function() {
3506
3508
  __assign = Object.assign || function __assign(t) {
@@ -3533,7 +3535,12 @@ function __spreadArray(to, from, pack) {
3533
3535
  }
3534
3536
  }
3535
3537
  return to.concat(ar || Array.prototype.slice.call(from));
3536
- }
3538
+ }
3539
+
3540
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
3541
+ var e = new Error(message);
3542
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
3543
+ };
3537
3544
 
3538
3545
  var zeroRightClassName = 'right-scroll-bar-position';
3539
3546
  var fullWidthClassName = 'width-before-scroll-bar';
@@ -3623,7 +3630,7 @@ var currentValues = new WeakMap();
3623
3630
  * }
3624
3631
  */
3625
3632
  function useMergeRefs(refs, defaultValue) {
3626
- var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {
3633
+ var callbackRef = useCallbackRef(null, function (newValue) {
3627
3634
  return refs.forEach(function (ref) { return assignRef(ref, newValue); });
3628
3635
  });
3629
3636
  // handle refs changes - added or removed
@@ -3748,7 +3755,7 @@ var nothing = function () {
3748
3755
  /**
3749
3756
  * Removes scrollbar from the page and contain the scroll within the Lock
3750
3757
  */
3751
- var RemoveScroll$1 = React.forwardRef(function (props, parentRef) {
3758
+ var RemoveScroll = React.forwardRef(function (props, parentRef) {
3752
3759
  var ref = React.useRef(null);
3753
3760
  var _a = React.useState({
3754
3761
  onScrollCapture: nothing,
@@ -3763,21 +3770,17 @@ var RemoveScroll$1 = React.forwardRef(function (props, parentRef) {
3763
3770
  enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),
3764
3771
  forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));
3765
3772
  });
3766
- RemoveScroll$1.defaultProps = {
3773
+ RemoveScroll.defaultProps = {
3767
3774
  enabled: true,
3768
3775
  removeScrollBar: true,
3769
3776
  inert: false,
3770
3777
  };
3771
- RemoveScroll$1.classNames = {
3778
+ RemoveScroll.classNames = {
3772
3779
  fullWidth: fullWidthClassName,
3773
3780
  zeroRight: zeroRightClassName,
3774
3781
  };
3775
3782
 
3776
- var currentNonce;
3777
3783
  var getNonce = function () {
3778
- if (currentNonce) {
3779
- return currentNonce;
3780
- }
3781
3784
  if (typeof __webpack_nonce__ !== 'undefined') {
3782
3785
  return __webpack_nonce__;
3783
3786
  }
@@ -4067,11 +4070,11 @@ var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll)
4067
4070
  (targetInLock && (endTarget.contains(target) || endTarget === target)));
4068
4071
  // handle epsilon around 0 (non standard zoom levels)
4069
4072
  if (isDeltaPositive &&
4070
- ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {
4073
+ ((Math.abs(availableScroll) < 1) || (false))) {
4071
4074
  shouldCancelScroll = true;
4072
4075
  }
4073
4076
  else if (!isDeltaPositive &&
4074
- ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {
4077
+ ((Math.abs(availableScrollTop) < 1) || (false))) {
4075
4078
  shouldCancelScroll = true;
4076
4079
  }
4077
4080
  return shouldCancelScroll;
@@ -4147,7 +4150,7 @@ function RemoveScrollSideCar(props) {
4147
4150
  return true;
4148
4151
  }
4149
4152
  var cancelingAxis = activeAxis.current || currentAxis;
4150
- return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);
4153
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY);
4151
4154
  }, []);
4152
4155
  var shouldPrevent = React.useCallback(function (_event) {
4153
4156
  var event = _event;
@@ -4231,9 +4234,8 @@ function getOutermostShadowParent(node) {
4231
4234
 
4232
4235
  var SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
4233
4236
 
4234
- var ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll$1, __assign({}, props, { ref: ref, sideCar: SideCar }))); });
4235
- ReactRemoveScroll.classNames = RemoveScroll$1.classNames;
4236
- var RemoveScroll = ReactRemoveScroll;
4237
+ var ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });
4238
+ ReactRemoveScroll.classNames = RemoveScroll.classNames;
4237
4239
 
4238
4240
  var POPOVER_NAME = "Popover";
4239
4241
  var [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [
@@ -4345,7 +4347,7 @@ var PopoverContentModal = React.forwardRef(
4345
4347
  const content = contentRef.current;
4346
4348
  if (content) return hideOthers(content);
4347
4349
  }, []);
4348
- return /* @__PURE__ */ jsx$1(RemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsx$1(
4350
+ return /* @__PURE__ */ jsx$1(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsx$1(
4349
4351
  PopoverContentImpl,
4350
4352
  {
4351
4353
  ...props,
@@ -4771,7 +4773,7 @@ const Tooltip = ({ position = 'bottom', children, text, delay = DEFAULT_TOOL_TIP
4771
4773
  tw-absolute tw-opacity-0 group-hover:tw-opacity-100 tw-rounded tw-bg-black tw-p-2 tw-text-xs tw-text-white ${placements[position]}` }, text)));
4772
4774
  };
4773
4775
 
4774
- /*! @license DOMPurify 3.2.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.2.3/LICENSE */
4776
+ /*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */
4775
4777
 
4776
4778
  const {
4777
4779
  entries,
@@ -4810,8 +4812,10 @@ if (!construct) {
4810
4812
  };
4811
4813
  }
4812
4814
  const arrayForEach = unapply(Array.prototype.forEach);
4815
+ const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
4813
4816
  const arrayPop = unapply(Array.prototype.pop);
4814
4817
  const arrayPush = unapply(Array.prototype.push);
4818
+ const arraySplice = unapply(Array.prototype.splice);
4815
4819
  const stringToLowerCase = unapply(String.prototype.toLowerCase);
4816
4820
  const stringToString = unapply(String.prototype.toString);
4817
4821
  const stringMatch = unapply(String.prototype.match);
@@ -4829,6 +4833,9 @@ const typeErrorCreate = unconstruct(TypeError);
4829
4833
  */
4830
4834
  function unapply(func) {
4831
4835
  return function (thisArg) {
4836
+ if (thisArg instanceof RegExp) {
4837
+ thisArg.lastIndex = 0;
4838
+ }
4832
4839
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
4833
4840
  args[_key - 1] = arguments[_key];
4834
4841
  }
@@ -4967,7 +4974,7 @@ const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:x
4967
4974
  // eslint-disable-next-line unicorn/better-regex
4968
4975
  const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
4969
4976
  const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
4970
- const TMPLIT_EXPR = seal(/\$\{[\w\W]*}/gm); // eslint-disable-line unicorn/better-regex
4977
+ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex
4971
4978
  const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape
4972
4979
  const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
4973
4980
  const IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
@@ -4996,20 +5003,11 @@ var EXPRESSIONS = /*#__PURE__*/Object.freeze({
4996
5003
  // https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
4997
5004
  const NODE_TYPE = {
4998
5005
  element: 1,
4999
- attribute: 2,
5000
5006
  text: 3,
5001
- cdataSection: 4,
5002
- entityReference: 5,
5003
- // Deprecated
5004
- entityNode: 6,
5005
5007
  // Deprecated
5006
5008
  progressingInstruction: 7,
5007
5009
  comment: 8,
5008
- document: 9,
5009
- documentType: 10,
5010
- documentFragment: 11,
5011
- notation: 12 // Deprecated
5012
- };
5010
+ document: 9};
5013
5011
  const getGlobal = function getGlobal() {
5014
5012
  return typeof window === 'undefined' ? null : window;
5015
5013
  };
@@ -5067,9 +5065,9 @@ const _createHooksMap = function _createHooksMap() {
5067
5065
  function createDOMPurify() {
5068
5066
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
5069
5067
  const DOMPurify = root => createDOMPurify(root);
5070
- DOMPurify.version = '3.2.3';
5068
+ DOMPurify.version = '3.2.5';
5071
5069
  DOMPurify.removed = [];
5072
- if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document) {
5070
+ if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
5073
5071
  // Not running in a browser, provide a factory function
5074
5072
  // so that you can pass your own Window
5075
5073
  DOMPurify.isSupported = false;
@@ -5672,7 +5670,7 @@ function createDOMPurify() {
5672
5670
  allowedTags: ALLOWED_TAGS
5673
5671
  });
5674
5672
  /* Detect mXSS attempts abusing namespace confusion */
5675
- if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
5673
+ if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
5676
5674
  _forceRemove(currentNode);
5677
5675
  return true;
5678
5676
  }
@@ -6088,7 +6086,11 @@ function createDOMPurify() {
6088
6086
  }
6089
6087
  arrayPush(hooks[entryPoint], hookFunction);
6090
6088
  };
6091
- DOMPurify.removeHook = function (entryPoint) {
6089
+ DOMPurify.removeHook = function (entryPoint, hookFunction) {
6090
+ if (hookFunction !== undefined) {
6091
+ const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
6092
+ return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];
6093
+ }
6092
6094
  return arrayPop(hooks[entryPoint]);
6093
6095
  };
6094
6096
  DOMPurify.removeHooks = function (entryPoint) {
@@ -6101,41 +6103,762 @@ function createDOMPurify() {
6101
6103
  }
6102
6104
  var purify = createDOMPurify();
6103
6105
 
6104
- const noop$2 = () => { };
6106
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6105
6107
 
6106
- /**
6107
- * A setInterval hook that calls a callback after a interval duration
6108
- * when a condition is true
6109
- *
6110
- * @param callback The callback to be invoked after interval
6111
- * @param intervalDurationMs Amount of time in ms after which to invoke
6112
- * @param when The condition which when true, sets the interval
6113
- * @param startImmediate If the callback should be invoked immediately
6114
- * @see https://rooks.vercel.app/docs/useIntervalWhen
6115
- */
6116
- function useIntervalWhen(callback, intervalDurationMs = 0, when = true, startImmediate = false) {
6117
- const savedRefCallback = useRef();
6118
- useEffect(() => {
6119
- savedRefCallback.current = callback;
6120
- });
6121
- useEffect(() => {
6122
- if (when) {
6123
- function internalCallback() {
6124
- var _a;
6125
- (_a = savedRefCallback.current) === null || _a === void 0 ? void 0 : _a.call(savedRefCallback);
6126
- }
6127
- if (startImmediate) {
6128
- internalCallback();
6129
- }
6130
- const interval = window.setInterval(internalCallback, intervalDurationMs);
6131
- return () => {
6132
- window.clearInterval(interval);
6133
- };
6134
- }
6135
- return noop$2;
6136
- }, [when, intervalDurationMs, startImmediate]);
6108
+ function getDefaultExportFromCjs (x) {
6109
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
6110
+ }
6111
+
6112
+ /**
6113
+ * lodash (Custom Build) <https://lodash.com/>
6114
+ * Build: `lodash modularize exports="npm" -o ./`
6115
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
6116
+ * Released under MIT license <https://lodash.com/license>
6117
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
6118
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
6119
+ */
6120
+
6121
+ var lodash_debounce;
6122
+ var hasRequiredLodash_debounce;
6123
+
6124
+ function requireLodash_debounce () {
6125
+ if (hasRequiredLodash_debounce) return lodash_debounce;
6126
+ hasRequiredLodash_debounce = 1;
6127
+ /** Used as the `TypeError` message for "Functions" methods. */
6128
+ var FUNC_ERROR_TEXT = 'Expected a function';
6129
+
6130
+ /** Used as references for various `Number` constants. */
6131
+ var NAN = 0 / 0;
6132
+
6133
+ /** `Object#toString` result references. */
6134
+ var symbolTag = '[object Symbol]';
6135
+
6136
+ /** Used to match leading and trailing whitespace. */
6137
+ var reTrim = /^\s+|\s+$/g;
6138
+
6139
+ /** Used to detect bad signed hexadecimal string values. */
6140
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
6141
+
6142
+ /** Used to detect binary string values. */
6143
+ var reIsBinary = /^0b[01]+$/i;
6144
+
6145
+ /** Used to detect octal string values. */
6146
+ var reIsOctal = /^0o[0-7]+$/i;
6147
+
6148
+ /** Built-in method references without a dependency on `root`. */
6149
+ var freeParseInt = parseInt;
6150
+
6151
+ /** Detect free variable `global` from Node.js. */
6152
+ var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
6153
+
6154
+ /** Detect free variable `self`. */
6155
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
6156
+
6157
+ /** Used as a reference to the global object. */
6158
+ var root = freeGlobal || freeSelf || Function('return this')();
6159
+
6160
+ /** Used for built-in method references. */
6161
+ var objectProto = Object.prototype;
6162
+
6163
+ /**
6164
+ * Used to resolve the
6165
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
6166
+ * of values.
6167
+ */
6168
+ var objectToString = objectProto.toString;
6169
+
6170
+ /* Built-in method references for those with the same name as other `lodash` methods. */
6171
+ var nativeMax = Math.max,
6172
+ nativeMin = Math.min;
6173
+
6174
+ /**
6175
+ * Gets the timestamp of the number of milliseconds that have elapsed since
6176
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
6177
+ *
6178
+ * @static
6179
+ * @memberOf _
6180
+ * @since 2.4.0
6181
+ * @category Date
6182
+ * @returns {number} Returns the timestamp.
6183
+ * @example
6184
+ *
6185
+ * _.defer(function(stamp) {
6186
+ * console.log(_.now() - stamp);
6187
+ * }, _.now());
6188
+ * // => Logs the number of milliseconds it took for the deferred invocation.
6189
+ */
6190
+ var now = function() {
6191
+ return root.Date.now();
6192
+ };
6193
+
6194
+ /**
6195
+ * Creates a debounced function that delays invoking `func` until after `wait`
6196
+ * milliseconds have elapsed since the last time the debounced function was
6197
+ * invoked. The debounced function comes with a `cancel` method to cancel
6198
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
6199
+ * Provide `options` to indicate whether `func` should be invoked on the
6200
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
6201
+ * with the last arguments provided to the debounced function. Subsequent
6202
+ * calls to the debounced function return the result of the last `func`
6203
+ * invocation.
6204
+ *
6205
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
6206
+ * invoked on the trailing edge of the timeout only if the debounced function
6207
+ * is invoked more than once during the `wait` timeout.
6208
+ *
6209
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
6210
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
6211
+ *
6212
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
6213
+ * for details over the differences between `_.debounce` and `_.throttle`.
6214
+ *
6215
+ * @static
6216
+ * @memberOf _
6217
+ * @since 0.1.0
6218
+ * @category Function
6219
+ * @param {Function} func The function to debounce.
6220
+ * @param {number} [wait=0] The number of milliseconds to delay.
6221
+ * @param {Object} [options={}] The options object.
6222
+ * @param {boolean} [options.leading=false]
6223
+ * Specify invoking on the leading edge of the timeout.
6224
+ * @param {number} [options.maxWait]
6225
+ * The maximum time `func` is allowed to be delayed before it's invoked.
6226
+ * @param {boolean} [options.trailing=true]
6227
+ * Specify invoking on the trailing edge of the timeout.
6228
+ * @returns {Function} Returns the new debounced function.
6229
+ * @example
6230
+ *
6231
+ * // Avoid costly calculations while the window size is in flux.
6232
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
6233
+ *
6234
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
6235
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
6236
+ * 'leading': true,
6237
+ * 'trailing': false
6238
+ * }));
6239
+ *
6240
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
6241
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
6242
+ * var source = new EventSource('/stream');
6243
+ * jQuery(source).on('message', debounced);
6244
+ *
6245
+ * // Cancel the trailing debounced invocation.
6246
+ * jQuery(window).on('popstate', debounced.cancel);
6247
+ */
6248
+ function debounce(func, wait, options) {
6249
+ var lastArgs,
6250
+ lastThis,
6251
+ maxWait,
6252
+ result,
6253
+ timerId,
6254
+ lastCallTime,
6255
+ lastInvokeTime = 0,
6256
+ leading = false,
6257
+ maxing = false,
6258
+ trailing = true;
6259
+
6260
+ if (typeof func != 'function') {
6261
+ throw new TypeError(FUNC_ERROR_TEXT);
6262
+ }
6263
+ wait = toNumber(wait) || 0;
6264
+ if (isObject(options)) {
6265
+ leading = !!options.leading;
6266
+ maxing = 'maxWait' in options;
6267
+ maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
6268
+ trailing = 'trailing' in options ? !!options.trailing : trailing;
6269
+ }
6270
+
6271
+ function invokeFunc(time) {
6272
+ var args = lastArgs,
6273
+ thisArg = lastThis;
6274
+
6275
+ lastArgs = lastThis = undefined;
6276
+ lastInvokeTime = time;
6277
+ result = func.apply(thisArg, args);
6278
+ return result;
6279
+ }
6280
+
6281
+ function leadingEdge(time) {
6282
+ // Reset any `maxWait` timer.
6283
+ lastInvokeTime = time;
6284
+ // Start the timer for the trailing edge.
6285
+ timerId = setTimeout(timerExpired, wait);
6286
+ // Invoke the leading edge.
6287
+ return leading ? invokeFunc(time) : result;
6288
+ }
6289
+
6290
+ function remainingWait(time) {
6291
+ var timeSinceLastCall = time - lastCallTime,
6292
+ timeSinceLastInvoke = time - lastInvokeTime,
6293
+ result = wait - timeSinceLastCall;
6294
+
6295
+ return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
6296
+ }
6297
+
6298
+ function shouldInvoke(time) {
6299
+ var timeSinceLastCall = time - lastCallTime,
6300
+ timeSinceLastInvoke = time - lastInvokeTime;
6301
+
6302
+ // Either this is the first call, activity has stopped and we're at the
6303
+ // trailing edge, the system time has gone backwards and we're treating
6304
+ // it as the trailing edge, or we've hit the `maxWait` limit.
6305
+ return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
6306
+ (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
6307
+ }
6308
+
6309
+ function timerExpired() {
6310
+ var time = now();
6311
+ if (shouldInvoke(time)) {
6312
+ return trailingEdge(time);
6313
+ }
6314
+ // Restart the timer.
6315
+ timerId = setTimeout(timerExpired, remainingWait(time));
6316
+ }
6317
+
6318
+ function trailingEdge(time) {
6319
+ timerId = undefined;
6320
+
6321
+ // Only invoke if we have `lastArgs` which means `func` has been
6322
+ // debounced at least once.
6323
+ if (trailing && lastArgs) {
6324
+ return invokeFunc(time);
6325
+ }
6326
+ lastArgs = lastThis = undefined;
6327
+ return result;
6328
+ }
6329
+
6330
+ function cancel() {
6331
+ if (timerId !== undefined) {
6332
+ clearTimeout(timerId);
6333
+ }
6334
+ lastInvokeTime = 0;
6335
+ lastArgs = lastCallTime = lastThis = timerId = undefined;
6336
+ }
6337
+
6338
+ function flush() {
6339
+ return timerId === undefined ? result : trailingEdge(now());
6340
+ }
6341
+
6342
+ function debounced() {
6343
+ var time = now(),
6344
+ isInvoking = shouldInvoke(time);
6345
+
6346
+ lastArgs = arguments;
6347
+ lastThis = this;
6348
+ lastCallTime = time;
6349
+
6350
+ if (isInvoking) {
6351
+ if (timerId === undefined) {
6352
+ return leadingEdge(lastCallTime);
6353
+ }
6354
+ if (maxing) {
6355
+ // Handle invocations in a tight loop.
6356
+ timerId = setTimeout(timerExpired, wait);
6357
+ return invokeFunc(lastCallTime);
6358
+ }
6359
+ }
6360
+ if (timerId === undefined) {
6361
+ timerId = setTimeout(timerExpired, wait);
6362
+ }
6363
+ return result;
6364
+ }
6365
+ debounced.cancel = cancel;
6366
+ debounced.flush = flush;
6367
+ return debounced;
6368
+ }
6369
+
6370
+ /**
6371
+ * Checks if `value` is the
6372
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
6373
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
6374
+ *
6375
+ * @static
6376
+ * @memberOf _
6377
+ * @since 0.1.0
6378
+ * @category Lang
6379
+ * @param {*} value The value to check.
6380
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
6381
+ * @example
6382
+ *
6383
+ * _.isObject({});
6384
+ * // => true
6385
+ *
6386
+ * _.isObject([1, 2, 3]);
6387
+ * // => true
6388
+ *
6389
+ * _.isObject(_.noop);
6390
+ * // => true
6391
+ *
6392
+ * _.isObject(null);
6393
+ * // => false
6394
+ */
6395
+ function isObject(value) {
6396
+ var type = typeof value;
6397
+ return !!value && (type == 'object' || type == 'function');
6398
+ }
6399
+
6400
+ /**
6401
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
6402
+ * and has a `typeof` result of "object".
6403
+ *
6404
+ * @static
6405
+ * @memberOf _
6406
+ * @since 4.0.0
6407
+ * @category Lang
6408
+ * @param {*} value The value to check.
6409
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
6410
+ * @example
6411
+ *
6412
+ * _.isObjectLike({});
6413
+ * // => true
6414
+ *
6415
+ * _.isObjectLike([1, 2, 3]);
6416
+ * // => true
6417
+ *
6418
+ * _.isObjectLike(_.noop);
6419
+ * // => false
6420
+ *
6421
+ * _.isObjectLike(null);
6422
+ * // => false
6423
+ */
6424
+ function isObjectLike(value) {
6425
+ return !!value && typeof value == 'object';
6426
+ }
6427
+
6428
+ /**
6429
+ * Checks if `value` is classified as a `Symbol` primitive or object.
6430
+ *
6431
+ * @static
6432
+ * @memberOf _
6433
+ * @since 4.0.0
6434
+ * @category Lang
6435
+ * @param {*} value The value to check.
6436
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
6437
+ * @example
6438
+ *
6439
+ * _.isSymbol(Symbol.iterator);
6440
+ * // => true
6441
+ *
6442
+ * _.isSymbol('abc');
6443
+ * // => false
6444
+ */
6445
+ function isSymbol(value) {
6446
+ return typeof value == 'symbol' ||
6447
+ (isObjectLike(value) && objectToString.call(value) == symbolTag);
6448
+ }
6449
+
6450
+ /**
6451
+ * Converts `value` to a number.
6452
+ *
6453
+ * @static
6454
+ * @memberOf _
6455
+ * @since 4.0.0
6456
+ * @category Lang
6457
+ * @param {*} value The value to process.
6458
+ * @returns {number} Returns the number.
6459
+ * @example
6460
+ *
6461
+ * _.toNumber(3.2);
6462
+ * // => 3.2
6463
+ *
6464
+ * _.toNumber(Number.MIN_VALUE);
6465
+ * // => 5e-324
6466
+ *
6467
+ * _.toNumber(Infinity);
6468
+ * // => Infinity
6469
+ *
6470
+ * _.toNumber('3.2');
6471
+ * // => 3.2
6472
+ */
6473
+ function toNumber(value) {
6474
+ if (typeof value == 'number') {
6475
+ return value;
6476
+ }
6477
+ if (isSymbol(value)) {
6478
+ return NAN;
6479
+ }
6480
+ if (isObject(value)) {
6481
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
6482
+ value = isObject(other) ? (other + '') : other;
6483
+ }
6484
+ if (typeof value != 'string') {
6485
+ return value === 0 ? value : +value;
6486
+ }
6487
+ value = value.replace(reTrim, '');
6488
+ var isBinary = reIsBinary.test(value);
6489
+ return (isBinary || reIsOctal.test(value))
6490
+ ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
6491
+ : (reIsBadHex.test(value) ? NAN : +value);
6492
+ }
6493
+
6494
+ lodash_debounce = debounce;
6495
+ return lodash_debounce;
6496
+ }
6497
+
6498
+ requireLodash_debounce();
6499
+
6500
+ var shim = {exports: {}};
6501
+
6502
+ var useSyncExternalStoreShim_production = {};
6503
+
6504
+ /**
6505
+ * @license React
6506
+ * use-sync-external-store-shim.production.js
6507
+ *
6508
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6509
+ *
6510
+ * This source code is licensed under the MIT license found in the
6511
+ * LICENSE file in the root directory of this source tree.
6512
+ */
6513
+
6514
+ var hasRequiredUseSyncExternalStoreShim_production;
6515
+
6516
+ function requireUseSyncExternalStoreShim_production () {
6517
+ if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
6518
+ hasRequiredUseSyncExternalStoreShim_production = 1;
6519
+ var React = React__default;
6520
+ function is(x, y) {
6521
+ return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
6522
+ }
6523
+ var objectIs = "function" === typeof Object.is ? Object.is : is,
6524
+ useState = React.useState,
6525
+ useEffect = React.useEffect,
6526
+ useLayoutEffect = React.useLayoutEffect,
6527
+ useDebugValue = React.useDebugValue;
6528
+ function useSyncExternalStore$2(subscribe, getSnapshot) {
6529
+ var value = getSnapshot(),
6530
+ _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),
6531
+ inst = _useState[0].inst,
6532
+ forceUpdate = _useState[1];
6533
+ useLayoutEffect(
6534
+ function () {
6535
+ inst.value = value;
6536
+ inst.getSnapshot = getSnapshot;
6537
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6538
+ },
6539
+ [subscribe, value, getSnapshot]
6540
+ );
6541
+ useEffect(
6542
+ function () {
6543
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6544
+ return subscribe(function () {
6545
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6546
+ });
6547
+ },
6548
+ [subscribe]
6549
+ );
6550
+ useDebugValue(value);
6551
+ return value;
6552
+ }
6553
+ function checkIfSnapshotChanged(inst) {
6554
+ var latestGetSnapshot = inst.getSnapshot;
6555
+ inst = inst.value;
6556
+ try {
6557
+ var nextValue = latestGetSnapshot();
6558
+ return !objectIs(inst, nextValue);
6559
+ } catch (error) {
6560
+ return true;
6561
+ }
6562
+ }
6563
+ function useSyncExternalStore$1(subscribe, getSnapshot) {
6564
+ return getSnapshot();
6565
+ }
6566
+ var shim =
6567
+ "undefined" === typeof window ||
6568
+ "undefined" === typeof window.document ||
6569
+ "undefined" === typeof window.document.createElement
6570
+ ? useSyncExternalStore$1
6571
+ : useSyncExternalStore$2;
6572
+ useSyncExternalStoreShim_production.useSyncExternalStore =
6573
+ void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
6574
+ return useSyncExternalStoreShim_production;
6575
+ }
6576
+
6577
+ var useSyncExternalStoreShim_development = {};
6578
+
6579
+ /**
6580
+ * @license React
6581
+ * use-sync-external-store-shim.development.js
6582
+ *
6583
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6584
+ *
6585
+ * This source code is licensed under the MIT license found in the
6586
+ * LICENSE file in the root directory of this source tree.
6587
+ */
6588
+
6589
+ var hasRequiredUseSyncExternalStoreShim_development;
6590
+
6591
+ function requireUseSyncExternalStoreShim_development () {
6592
+ if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
6593
+ hasRequiredUseSyncExternalStoreShim_development = 1;
6594
+ "production" !== process.env.NODE_ENV &&
6595
+ (function () {
6596
+ function is(x, y) {
6597
+ return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
6598
+ }
6599
+ function useSyncExternalStore$2(subscribe, getSnapshot) {
6600
+ didWarnOld18Alpha ||
6601
+ void 0 === React.startTransition ||
6602
+ ((didWarnOld18Alpha = true),
6603
+ console.error(
6604
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
6605
+ ));
6606
+ var value = getSnapshot();
6607
+ if (!didWarnUncachedGetSnapshot) {
6608
+ var cachedValue = getSnapshot();
6609
+ objectIs(value, cachedValue) ||
6610
+ (console.error(
6611
+ "The result of getSnapshot should be cached to avoid an infinite loop"
6612
+ ),
6613
+ (didWarnUncachedGetSnapshot = true));
6614
+ }
6615
+ cachedValue = useState({
6616
+ inst: { value: value, getSnapshot: getSnapshot }
6617
+ });
6618
+ var inst = cachedValue[0].inst,
6619
+ forceUpdate = cachedValue[1];
6620
+ useLayoutEffect(
6621
+ function () {
6622
+ inst.value = value;
6623
+ inst.getSnapshot = getSnapshot;
6624
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6625
+ },
6626
+ [subscribe, value, getSnapshot]
6627
+ );
6628
+ useEffect(
6629
+ function () {
6630
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6631
+ return subscribe(function () {
6632
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6633
+ });
6634
+ },
6635
+ [subscribe]
6636
+ );
6637
+ useDebugValue(value);
6638
+ return value;
6639
+ }
6640
+ function checkIfSnapshotChanged(inst) {
6641
+ var latestGetSnapshot = inst.getSnapshot;
6642
+ inst = inst.value;
6643
+ try {
6644
+ var nextValue = latestGetSnapshot();
6645
+ return !objectIs(inst, nextValue);
6646
+ } catch (error) {
6647
+ return true;
6648
+ }
6649
+ }
6650
+ function useSyncExternalStore$1(subscribe, getSnapshot) {
6651
+ return getSnapshot();
6652
+ }
6653
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
6654
+ "function" ===
6655
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
6656
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
6657
+ var React = React__default,
6658
+ objectIs = "function" === typeof Object.is ? Object.is : is,
6659
+ useState = React.useState,
6660
+ useEffect = React.useEffect,
6661
+ useLayoutEffect = React.useLayoutEffect,
6662
+ useDebugValue = React.useDebugValue,
6663
+ didWarnOld18Alpha = false,
6664
+ didWarnUncachedGetSnapshot = false,
6665
+ shim =
6666
+ "undefined" === typeof window ||
6667
+ "undefined" === typeof window.document ||
6668
+ "undefined" === typeof window.document.createElement
6669
+ ? useSyncExternalStore$1
6670
+ : useSyncExternalStore$2;
6671
+ useSyncExternalStoreShim_development.useSyncExternalStore =
6672
+ void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
6673
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
6674
+ "function" ===
6675
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
6676
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
6677
+ })();
6678
+ return useSyncExternalStoreShim_development;
6137
6679
  }
6138
6680
 
6681
+ var hasRequiredShim;
6682
+
6683
+ function requireShim () {
6684
+ if (hasRequiredShim) return shim.exports;
6685
+ hasRequiredShim = 1;
6686
+
6687
+ if (process.env.NODE_ENV === 'production') {
6688
+ shim.exports = requireUseSyncExternalStoreShim_production();
6689
+ } else {
6690
+ shim.exports = requireUseSyncExternalStoreShim_development();
6691
+ }
6692
+ return shim.exports;
6693
+ }
6694
+
6695
+ requireShim();
6696
+
6697
+ var raf = {exports: {}};
6698
+
6699
+ var performanceNow$1 = {exports: {}};
6700
+
6701
+ var performanceNow = performanceNow$1.exports;
6702
+
6703
+ var hasRequiredPerformanceNow;
6704
+
6705
+ function requirePerformanceNow () {
6706
+ if (hasRequiredPerformanceNow) return performanceNow$1.exports;
6707
+ hasRequiredPerformanceNow = 1;
6708
+ // Generated by CoffeeScript 1.12.2
6709
+ (function() {
6710
+ var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;
6711
+
6712
+ if ((typeof performance !== "undefined" && performance !== null) && performance.now) {
6713
+ performanceNow$1.exports = function() {
6714
+ return performance.now();
6715
+ };
6716
+ } else if ((typeof process !== "undefined" && process !== null) && process.hrtime) {
6717
+ performanceNow$1.exports = function() {
6718
+ return (getNanoSeconds() - nodeLoadTime) / 1e6;
6719
+ };
6720
+ hrtime = process.hrtime;
6721
+ getNanoSeconds = function() {
6722
+ var hr;
6723
+ hr = hrtime();
6724
+ return hr[0] * 1e9 + hr[1];
6725
+ };
6726
+ moduleLoadTime = getNanoSeconds();
6727
+ upTime = process.uptime() * 1e9;
6728
+ nodeLoadTime = moduleLoadTime - upTime;
6729
+ } else if (Date.now) {
6730
+ performanceNow$1.exports = function() {
6731
+ return Date.now() - loadTime;
6732
+ };
6733
+ loadTime = Date.now();
6734
+ } else {
6735
+ performanceNow$1.exports = function() {
6736
+ return new Date().getTime() - loadTime;
6737
+ };
6738
+ loadTime = new Date().getTime();
6739
+ }
6740
+
6741
+ }).call(performanceNow);
6742
+
6743
+
6744
+ return performanceNow$1.exports;
6745
+ }
6746
+
6747
+ var hasRequiredRaf;
6748
+
6749
+ function requireRaf () {
6750
+ if (hasRequiredRaf) return raf.exports;
6751
+ hasRequiredRaf = 1;
6752
+ var now = requirePerformanceNow()
6753
+ , root = typeof window === 'undefined' ? commonjsGlobal : window
6754
+ , vendors = ['moz', 'webkit']
6755
+ , suffix = 'AnimationFrame'
6756
+ , raf$1 = root['request' + suffix]
6757
+ , caf = root['cancel' + suffix] || root['cancelRequest' + suffix];
6758
+
6759
+ for(var i = 0; !raf$1 && i < vendors.length; i++) {
6760
+ raf$1 = root[vendors[i] + 'Request' + suffix];
6761
+ caf = root[vendors[i] + 'Cancel' + suffix]
6762
+ || root[vendors[i] + 'CancelRequest' + suffix];
6763
+ }
6764
+
6765
+ // Some versions of FF have rAF but not cAF
6766
+ if(!raf$1 || !caf) {
6767
+ var last = 0
6768
+ , id = 0
6769
+ , queue = []
6770
+ , frameDuration = 1000 / 60;
6771
+
6772
+ raf$1 = function(callback) {
6773
+ if(queue.length === 0) {
6774
+ var _now = now()
6775
+ , next = Math.max(0, frameDuration - (_now - last));
6776
+ last = next + _now;
6777
+ setTimeout(function() {
6778
+ var cp = queue.slice(0);
6779
+ // Clear queue here to prevent
6780
+ // callbacks from appending listeners
6781
+ // to the current frame's queue
6782
+ queue.length = 0;
6783
+ for(var i = 0; i < cp.length; i++) {
6784
+ if(!cp[i].cancelled) {
6785
+ try{
6786
+ cp[i].callback(last);
6787
+ } catch(e) {
6788
+ setTimeout(function() { throw e }, 0);
6789
+ }
6790
+ }
6791
+ }
6792
+ }, Math.round(next));
6793
+ }
6794
+ queue.push({
6795
+ handle: ++id,
6796
+ callback: callback,
6797
+ cancelled: false
6798
+ });
6799
+ return id
6800
+ };
6801
+
6802
+ caf = function(handle) {
6803
+ for(var i = 0; i < queue.length; i++) {
6804
+ if(queue[i].handle === handle) {
6805
+ queue[i].cancelled = true;
6806
+ }
6807
+ }
6808
+ };
6809
+ }
6810
+
6811
+ raf.exports = function(fn) {
6812
+ // Wrap in a new function to prevent
6813
+ // `cancel` potentially being assigned
6814
+ // to the native rAF function
6815
+ return raf$1.call(root, fn)
6816
+ };
6817
+ raf.exports.cancel = function() {
6818
+ caf.apply(root, arguments);
6819
+ };
6820
+ raf.exports.polyfill = function(object) {
6821
+ if (!object) {
6822
+ object = root;
6823
+ }
6824
+ object.requestAnimationFrame = raf$1;
6825
+ object.cancelAnimationFrame = caf;
6826
+ };
6827
+ return raf.exports;
6828
+ }
6829
+
6830
+ requireRaf();
6831
+
6832
+ // src/hooks/useOnLongHover.ts
6833
+
6834
+ // src/utils/noop.ts
6835
+ var noop$2 = () => {
6836
+ };
6837
+ function useIntervalWhen(callback, intervalDurationMs = 0, when = true, startImmediate = false) {
6838
+ const savedRefCallback = useRef(void 0);
6839
+ useEffect(() => {
6840
+ savedRefCallback.current = callback;
6841
+ });
6842
+ useEffect(() => {
6843
+ if (when) {
6844
+ let internalCallback2 = function() {
6845
+ savedRefCallback.current?.();
6846
+ };
6847
+ if (startImmediate) {
6848
+ internalCallback2();
6849
+ }
6850
+ const interval = window.setInterval(internalCallback2, intervalDurationMs);
6851
+ return () => {
6852
+ window.clearInterval(interval);
6853
+ };
6854
+ }
6855
+ return noop$2;
6856
+ }, [when, intervalDurationMs, startImmediate]);
6857
+ }
6858
+
6859
+ // src/hooks/warning.ts
6860
+ process.env.NODE_ENV !== "production";
6861
+
6139
6862
  const getArrowStyle = (position, x, arrowWidth, tooltipHeight, tooltipWidth) => {
6140
6863
  switch (position) {
6141
6864
  case 'bottom':
@@ -6220,7 +6943,7 @@ const QTip = () => {
6220
6943
  !suppressTooltip() && document.removeEventListener('mousemove', onMouseMove);
6221
6944
  };
6222
6945
  }, []);
6223
- const ttTimeout = useRef();
6946
+ const ttTimeout = useRef(null);
6224
6947
  const findTooltipData = (element) => {
6225
6948
  // Traverse up to 8 levels to find the tooltip data
6226
6949
  for (let i = 0; i < 8 && element; i++) {
@@ -6235,7 +6958,9 @@ const QTip = () => {
6235
6958
  return null;
6236
6959
  };
6237
6960
  const onMouseMove = (e) => {
6238
- clearTimeout(ttTimeout.current);
6961
+ if (ttTimeout.current) {
6962
+ clearTimeout(ttTimeout.current);
6963
+ }
6239
6964
  // Find tooltip data on the current or parent elements
6240
6965
  const target = e.target;
6241
6966
  const dataset = findTooltipData(target);
@@ -6299,154 +7024,140 @@ const QTip = () => {
6299
7024
  React__default.createElement("div", { className: "tw-absolute tw-w-[10px] tw-h-[10px] tw-rotate-45 tw-bg-black", ref: tooltipArrowRef }))));
6300
7025
  };
6301
7026
 
6302
- function _typeof$1(obj) {
7027
+ function _typeof$1(o) {
6303
7028
  "@babel/helpers - typeof";
6304
7029
 
6305
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
6306
- return typeof obj;
6307
- } : function (obj) {
6308
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
6309
- }, _typeof$1(obj);
7030
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
7031
+ return typeof o;
7032
+ } : function (o) {
7033
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
7034
+ }, _typeof$1(o);
6310
7035
  }
6311
7036
 
6312
- function _toPrimitive(input, hint) {
6313
- if (_typeof$1(input) !== "object" || input === null) return input;
6314
- var prim = input[Symbol.toPrimitive];
6315
- if (prim !== undefined) {
6316
- var res = prim.call(input, hint || "default");
6317
- if (_typeof$1(res) !== "object") return res;
7037
+ function toPrimitive(t, r) {
7038
+ if ("object" != _typeof$1(t) || !t) return t;
7039
+ var e = t[Symbol.toPrimitive];
7040
+ if (void 0 !== e) {
7041
+ var i = e.call(t, r);
7042
+ if ("object" != _typeof$1(i)) return i;
6318
7043
  throw new TypeError("@@toPrimitive must return a primitive value.");
6319
7044
  }
6320
- return (hint === "string" ? String : Number)(input);
7045
+ return ("string" === r ? String : Number)(t);
6321
7046
  }
6322
7047
 
6323
- function _toPropertyKey(arg) {
6324
- var key = _toPrimitive(arg, "string");
6325
- return _typeof$1(key) === "symbol" ? key : String(key);
7048
+ function toPropertyKey(t) {
7049
+ var i = toPrimitive(t, "string");
7050
+ return "symbol" == _typeof$1(i) ? i : i + "";
6326
7051
  }
6327
7052
 
6328
- function _defineProperty(obj, key, value) {
6329
- key = _toPropertyKey(key);
6330
- if (key in obj) {
6331
- Object.defineProperty(obj, key, {
6332
- value: value,
6333
- enumerable: true,
6334
- configurable: true,
6335
- writable: true
6336
- });
6337
- } else {
6338
- obj[key] = value;
6339
- }
6340
- return obj;
7053
+ function _defineProperty(e, r, t) {
7054
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
7055
+ value: t,
7056
+ enumerable: true,
7057
+ configurable: true,
7058
+ writable: true
7059
+ }) : e[r] = t, e;
6341
7060
  }
6342
7061
 
6343
- function ownKeys(object, enumerableOnly) {
6344
- var keys = Object.keys(object);
7062
+ function ownKeys(e, r) {
7063
+ var t = Object.keys(e);
6345
7064
  if (Object.getOwnPropertySymbols) {
6346
- var symbols = Object.getOwnPropertySymbols(object);
6347
- enumerableOnly && (symbols = symbols.filter(function (sym) {
6348
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6349
- })), keys.push.apply(keys, symbols);
6350
- }
6351
- return keys;
6352
- }
6353
- function _objectSpread2(target) {
6354
- for (var i = 1; i < arguments.length; i++) {
6355
- var source = null != arguments[i] ? arguments[i] : {};
6356
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
6357
- _defineProperty(target, key, source[key]);
6358
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
6359
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7065
+ var o = Object.getOwnPropertySymbols(e);
7066
+ r && (o = o.filter(function (r) {
7067
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
7068
+ })), t.push.apply(t, o);
7069
+ }
7070
+ return t;
7071
+ }
7072
+ function _objectSpread2(e) {
7073
+ for (var r = 1; r < arguments.length; r++) {
7074
+ var t = null != arguments[r] ? arguments[r] : {};
7075
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
7076
+ _defineProperty(e, r, t[r]);
7077
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
7078
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
6360
7079
  });
6361
7080
  }
6362
- return target;
7081
+ return e;
6363
7082
  }
6364
7083
 
6365
- function _arrayWithHoles(arr) {
6366
- if (Array.isArray(arr)) return arr;
7084
+ function _arrayWithHoles(r) {
7085
+ if (Array.isArray(r)) return r;
6367
7086
  }
6368
7087
 
6369
- function _iterableToArrayLimit(arr, i) {
6370
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
6371
- if (null != _i) {
6372
- var _s,
6373
- _e,
6374
- _x,
6375
- _r,
6376
- _arr = [],
6377
- _n = !0,
6378
- _d = !1;
7088
+ function _iterableToArrayLimit(r, l) {
7089
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
7090
+ if (null != t) {
7091
+ var e,
7092
+ n,
7093
+ i,
7094
+ u,
7095
+ a = [],
7096
+ f = true,
7097
+ o = false;
6379
7098
  try {
6380
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
6381
- if (Object(_i) !== _i) return;
6382
- _n = !1;
6383
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
6384
- } catch (err) {
6385
- _d = !0, _e = err;
7099
+ if (i = (t = t.call(r)).next, 0 === l) {
7100
+ if (Object(t) !== t) return;
7101
+ f = !1;
7102
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
7103
+ } catch (r) {
7104
+ o = true, n = r;
6386
7105
  } finally {
6387
7106
  try {
6388
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
7107
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
6389
7108
  } finally {
6390
- if (_d) throw _e;
7109
+ if (o) throw n;
6391
7110
  }
6392
7111
  }
6393
- return _arr;
7112
+ return a;
6394
7113
  }
6395
7114
  }
6396
7115
 
6397
- function _arrayLikeToArray(arr, len) {
6398
- if (len == null || len > arr.length) len = arr.length;
6399
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
6400
- return arr2;
7116
+ function _arrayLikeToArray(r, a) {
7117
+ (null == a || a > r.length) && (a = r.length);
7118
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
7119
+ return n;
6401
7120
  }
6402
7121
 
6403
- function _unsupportedIterableToArray(o, minLen) {
6404
- if (!o) return;
6405
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
6406
- var n = Object.prototype.toString.call(o).slice(8, -1);
6407
- if (n === "Object" && o.constructor) n = o.constructor.name;
6408
- if (n === "Map" || n === "Set") return Array.from(o);
6409
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
7122
+ function _unsupportedIterableToArray(r, a) {
7123
+ if (r) {
7124
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
7125
+ var t = {}.toString.call(r).slice(8, -1);
7126
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
7127
+ }
6410
7128
  }
6411
7129
 
6412
7130
  function _nonIterableRest() {
6413
7131
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6414
7132
  }
6415
7133
 
6416
- function _slicedToArray(arr, i) {
6417
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
7134
+ function _slicedToArray(r, e) {
7135
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
6418
7136
  }
6419
7137
 
6420
- function _objectWithoutPropertiesLoose(source, excluded) {
6421
- if (source == null) return {};
6422
- var target = {};
6423
- var sourceKeys = Object.keys(source);
6424
- var key, i;
6425
- for (i = 0; i < sourceKeys.length; i++) {
6426
- key = sourceKeys[i];
6427
- if (excluded.indexOf(key) >= 0) continue;
6428
- target[key] = source[key];
7138
+ function _objectWithoutPropertiesLoose(r, e) {
7139
+ if (null == r) return {};
7140
+ var t = {};
7141
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
7142
+ if (-1 !== e.indexOf(n)) continue;
7143
+ t[n] = r[n];
6429
7144
  }
6430
- return target;
7145
+ return t;
6431
7146
  }
6432
7147
 
6433
- function _objectWithoutProperties(source, excluded) {
6434
- if (source == null) return {};
6435
- var target = _objectWithoutPropertiesLoose(source, excluded);
6436
- var key, i;
7148
+ function _objectWithoutProperties(e, t) {
7149
+ if (null == e) return {};
7150
+ var o,
7151
+ r,
7152
+ i = _objectWithoutPropertiesLoose(e, t);
6437
7153
  if (Object.getOwnPropertySymbols) {
6438
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
6439
- for (i = 0; i < sourceSymbolKeys.length; i++) {
6440
- key = sourceSymbolKeys[i];
6441
- if (excluded.indexOf(key) >= 0) continue;
6442
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
6443
- target[key] = source[key];
6444
- }
7154
+ var n = Object.getOwnPropertySymbols(e);
7155
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
6445
7156
  }
6446
- return target;
7157
+ return i;
6447
7158
  }
6448
7159
 
6449
- var _excluded$5 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
7160
+ var _excluded$6 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
6450
7161
  function useStateManager(_ref) {
6451
7162
  var _ref$defaultInputValu = _ref.defaultInputValue,
6452
7163
  defaultInputValue = _ref$defaultInputValu === void 0 ? '' : _ref$defaultInputValu,
@@ -6461,7 +7172,7 @@ function useStateManager(_ref) {
6461
7172
  propsOnMenuClose = _ref.onMenuClose,
6462
7173
  propsOnMenuOpen = _ref.onMenuOpen,
6463
7174
  propsValue = _ref.value,
6464
- restSelectProps = _objectWithoutProperties(_ref, _excluded$5);
7175
+ restSelectProps = _objectWithoutProperties(_ref, _excluded$6);
6465
7176
  var _useState = useState(propsInputValue !== undefined ? propsInputValue : defaultInputValue),
6466
7177
  _useState2 = _slicedToArray(_useState, 2),
6467
7178
  stateInputValue = _useState2[0],
@@ -6514,133 +7225,103 @@ function useStateManager(_ref) {
6514
7225
  }
6515
7226
 
6516
7227
  function _extends() {
6517
- _extends = Object.assign ? Object.assign.bind() : function (target) {
6518
- for (var i = 1; i < arguments.length; i++) {
6519
- var source = arguments[i];
6520
- for (var key in source) {
6521
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6522
- target[key] = source[key];
6523
- }
6524
- }
7228
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
7229
+ for (var e = 1; e < arguments.length; e++) {
7230
+ var t = arguments[e];
7231
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
6525
7232
  }
6526
- return target;
6527
- };
6528
- return _extends.apply(this, arguments);
7233
+ return n;
7234
+ }, _extends.apply(null, arguments);
6529
7235
  }
6530
7236
 
6531
- function _classCallCheck(instance, Constructor) {
6532
- if (!(instance instanceof Constructor)) {
6533
- throw new TypeError("Cannot call a class as a function");
6534
- }
7237
+ function _classCallCheck(a, n) {
7238
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
6535
7239
  }
6536
7240
 
6537
- function _defineProperties(target, props) {
6538
- for (var i = 0; i < props.length; i++) {
6539
- var descriptor = props[i];
6540
- descriptor.enumerable = descriptor.enumerable || false;
6541
- descriptor.configurable = true;
6542
- if ("value" in descriptor) descriptor.writable = true;
6543
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
7241
+ function _defineProperties(e, r) {
7242
+ for (var t = 0; t < r.length; t++) {
7243
+ var o = r[t];
7244
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, toPropertyKey(o.key), o);
6544
7245
  }
6545
7246
  }
6546
- function _createClass(Constructor, protoProps, staticProps) {
6547
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
6548
- if (staticProps) _defineProperties(Constructor, staticProps);
6549
- Object.defineProperty(Constructor, "prototype", {
7247
+ function _createClass(e, r, t) {
7248
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
6550
7249
  writable: false
6551
- });
6552
- return Constructor;
7250
+ }), e;
6553
7251
  }
6554
7252
 
6555
- function _setPrototypeOf(o, p) {
6556
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
6557
- o.__proto__ = p;
6558
- return o;
6559
- };
6560
- return _setPrototypeOf(o, p);
7253
+ function _setPrototypeOf(t, e) {
7254
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
7255
+ return t.__proto__ = e, t;
7256
+ }, _setPrototypeOf(t, e);
6561
7257
  }
6562
7258
 
6563
- function _inherits(subClass, superClass) {
6564
- if (typeof superClass !== "function" && superClass !== null) {
6565
- throw new TypeError("Super expression must either be null or a function");
6566
- }
6567
- subClass.prototype = Object.create(superClass && superClass.prototype, {
7259
+ function _inherits(t, e) {
7260
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
7261
+ t.prototype = Object.create(e && e.prototype, {
6568
7262
  constructor: {
6569
- value: subClass,
7263
+ value: t,
6570
7264
  writable: true,
6571
7265
  configurable: true
6572
7266
  }
6573
- });
6574
- Object.defineProperty(subClass, "prototype", {
7267
+ }), Object.defineProperty(t, "prototype", {
6575
7268
  writable: false
6576
- });
6577
- if (superClass) _setPrototypeOf(subClass, superClass);
7269
+ }), e && _setPrototypeOf(t, e);
6578
7270
  }
6579
7271
 
6580
- function _getPrototypeOf(o) {
6581
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
6582
- return o.__proto__ || Object.getPrototypeOf(o);
6583
- };
6584
- return _getPrototypeOf(o);
7272
+ function _getPrototypeOf(t) {
7273
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
7274
+ return t.__proto__ || Object.getPrototypeOf(t);
7275
+ }, _getPrototypeOf(t);
6585
7276
  }
6586
7277
 
6587
7278
  function _isNativeReflectConstruct() {
6588
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6589
- if (Reflect.construct.sham) return false;
6590
- if (typeof Proxy === "function") return true;
6591
7279
  try {
6592
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6593
- return true;
6594
- } catch (e) {
6595
- return false;
6596
- }
7280
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
7281
+ } catch (t) {}
7282
+ return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
7283
+ return !!t;
7284
+ })();
6597
7285
  }
6598
7286
 
6599
- function _assertThisInitialized(self) {
6600
- if (self === void 0) {
6601
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6602
- }
6603
- return self;
7287
+ function _assertThisInitialized(e) {
7288
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7289
+ return e;
6604
7290
  }
6605
7291
 
6606
- function _possibleConstructorReturn(self, call) {
6607
- if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
6608
- return call;
6609
- } else if (call !== void 0) {
6610
- throw new TypeError("Derived constructors may only return object or undefined");
6611
- }
6612
- return _assertThisInitialized(self);
7292
+ function _possibleConstructorReturn(t, e) {
7293
+ if (e && ("object" == _typeof$1(e) || "function" == typeof e)) return e;
7294
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
7295
+ return _assertThisInitialized(t);
6613
7296
  }
6614
7297
 
6615
- function _createSuper(Derived) {
6616
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
6617
- return function _createSuperInternal() {
6618
- var Super = _getPrototypeOf(Derived),
6619
- result;
6620
- if (hasNativeReflectConstruct) {
6621
- var NewTarget = _getPrototypeOf(this).constructor;
6622
- result = Reflect.construct(Super, arguments, NewTarget);
6623
- } else {
6624
- result = Super.apply(this, arguments);
6625
- }
6626
- return _possibleConstructorReturn(this, result);
7298
+ function _createSuper(t) {
7299
+ var r = _isNativeReflectConstruct();
7300
+ return function () {
7301
+ var e,
7302
+ o = _getPrototypeOf(t);
7303
+ if (r) {
7304
+ var s = _getPrototypeOf(this).constructor;
7305
+ e = Reflect.construct(o, arguments, s);
7306
+ } else e = o.apply(this, arguments);
7307
+ return _possibleConstructorReturn(this, e);
6627
7308
  };
6628
7309
  }
6629
7310
 
6630
- function _arrayWithoutHoles(arr) {
6631
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
7311
+ function _arrayWithoutHoles(r) {
7312
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
6632
7313
  }
6633
7314
 
6634
- function _iterableToArray(iter) {
6635
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
7315
+ function _iterableToArray(r) {
7316
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
6636
7317
  }
6637
7318
 
6638
7319
  function _nonIterableSpread() {
6639
7320
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6640
7321
  }
6641
7322
 
6642
- function _toConsumableArray(arr) {
6643
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
7323
+ function _toConsumableArray(r) {
7324
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
6644
7325
  }
6645
7326
 
6646
7327
  /*
@@ -6665,10 +7346,9 @@ styleSheet.flush()
6665
7346
  - empties the stylesheet of all its contents
6666
7347
 
6667
7348
  */
6668
- // $FlowFixMe
7349
+
6669
7350
  function sheetForTag(tag) {
6670
7351
  if (tag.sheet) {
6671
- // $FlowFixMe
6672
7352
  return tag.sheet;
6673
7353
  } // this weirdness brought to you by firefox
6674
7354
 
@@ -6677,10 +7357,13 @@ function sheetForTag(tag) {
6677
7357
 
6678
7358
  for (var i = 0; i < document.styleSheets.length; i++) {
6679
7359
  if (document.styleSheets[i].ownerNode === tag) {
6680
- // $FlowFixMe
6681
7360
  return document.styleSheets[i];
6682
7361
  }
6683
- }
7362
+ } // this function should always return with a value
7363
+ // TS can't understand it though so we make it stop complaining here
7364
+
7365
+
7366
+ return undefined;
6684
7367
  }
6685
7368
 
6686
7369
  function createStyleElement(options) {
@@ -6721,7 +7404,7 @@ var StyleSheet = /*#__PURE__*/function () {
6721
7404
  _this.tags.push(tag);
6722
7405
  };
6723
7406
 
6724
- this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;
7407
+ this.isSpeedy = options.speedy === undefined ? true : options.speedy;
6725
7408
  this.tags = [];
6726
7409
  this.ctr = 0;
6727
7410
  this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
@@ -6749,18 +7432,6 @@ var StyleSheet = /*#__PURE__*/function () {
6749
7432
 
6750
7433
  var tag = this.tags[this.tags.length - 1];
6751
7434
 
6752
- if (process.env.NODE_ENV !== 'production') {
6753
- var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
6754
-
6755
- if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
6756
- // this would only cause problem in speedy mode
6757
- // but we don't want enabling speedy to affect the observable behavior
6758
- // so we report this error at all times
6759
- console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');
6760
- }
6761
- this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
6762
- }
6763
-
6764
7435
  if (this.isSpeedy) {
6765
7436
  var sheet = sheetForTag(tag);
6766
7437
 
@@ -6769,9 +7440,6 @@ var StyleSheet = /*#__PURE__*/function () {
6769
7440
  // the big drawback is that the css won't be editable in devtools
6770
7441
  sheet.insertRule(rule, sheet.cssRules.length);
6771
7442
  } catch (e) {
6772
- if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {
6773
- console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
6774
- }
6775
7443
  }
6776
7444
  } else {
6777
7445
  tag.appendChild(document.createTextNode(rule));
@@ -6781,16 +7449,13 @@ var StyleSheet = /*#__PURE__*/function () {
6781
7449
  };
6782
7450
 
6783
7451
  _proto.flush = function flush() {
6784
- // $FlowFixMe
6785
7452
  this.tags.forEach(function (tag) {
6786
- return tag.parentNode && tag.parentNode.removeChild(tag);
7453
+ var _tag$parentNode;
7454
+
7455
+ return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
6787
7456
  });
6788
7457
  this.tags = [];
6789
7458
  this.ctr = 0;
6790
-
6791
- if (process.env.NODE_ENV !== 'production') {
6792
- this._alreadyInsertedOrderInsensitiveRule = false;
6793
- }
6794
7459
  };
6795
7460
 
6796
7461
  return StyleSheet;
@@ -7480,8 +8145,8 @@ var compat = function compat(element) {
7480
8145
  return;
7481
8146
  }
7482
8147
 
7483
- var value = element.value,
7484
- parent = element.parent;
8148
+ var value = element.value;
8149
+ var parent = element.parent;
7485
8150
  var isImplicitRule = element.column === parent.column && element.line === parent.line;
7486
8151
 
7487
8152
  while (parent.type !== 'rule') {
@@ -7526,114 +8191,6 @@ var removeLabel = function removeLabel(element) {
7526
8191
  }
7527
8192
  }
7528
8193
  };
7529
- var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
7530
-
7531
- var isIgnoringComment = function isIgnoringComment(element) {
7532
- return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
7533
- };
7534
-
7535
- var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
7536
- return function (element, index, children) {
7537
- if (element.type !== 'rule' || cache.compat) return;
7538
- var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
7539
-
7540
- if (unsafePseudoClasses) {
7541
- var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
7542
- //
7543
- // considering this input:
7544
- // .a {
7545
- // .b /* comm */ {}
7546
- // color: hotpink;
7547
- // }
7548
- // we get output corresponding to this:
7549
- // .a {
7550
- // & {
7551
- // /* comm */
7552
- // color: hotpink;
7553
- // }
7554
- // .b {}
7555
- // }
7556
-
7557
- var commentContainer = isNested ? element.parent.children : // global rule at the root level
7558
- children;
7559
-
7560
- for (var i = commentContainer.length - 1; i >= 0; i--) {
7561
- var node = commentContainer[i];
7562
-
7563
- if (node.line < element.line) {
7564
- break;
7565
- } // it is quite weird but comments are *usually* put at `column: element.column - 1`
7566
- // so we seek *from the end* for the node that is earlier than the rule's `element` and check that
7567
- // this will also match inputs like this:
7568
- // .a {
7569
- // /* comm */
7570
- // .b {}
7571
- // }
7572
- //
7573
- // but that is fine
7574
- //
7575
- // it would be the easiest to change the placement of the comment to be the first child of the rule:
7576
- // .a {
7577
- // .b { /* comm */ }
7578
- // }
7579
- // with such inputs we wouldn't have to search for the comment at all
7580
- // TODO: consider changing this comment placement in the next major version
7581
-
7582
-
7583
- if (node.column < element.column) {
7584
- if (isIgnoringComment(node)) {
7585
- return;
7586
- }
7587
-
7588
- break;
7589
- }
7590
- }
7591
-
7592
- unsafePseudoClasses.forEach(function (unsafePseudoClass) {
7593
- console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
7594
- });
7595
- }
7596
- };
7597
- };
7598
-
7599
- var isImportRule = function isImportRule(element) {
7600
- return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
7601
- };
7602
-
7603
- var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
7604
- for (var i = index - 1; i >= 0; i--) {
7605
- if (!isImportRule(children[i])) {
7606
- return true;
7607
- }
7608
- }
7609
-
7610
- return false;
7611
- }; // use this to remove incorrect elements from further processing
7612
- // so they don't get handed to the `sheet` (or anything else)
7613
- // as that could potentially lead to additional logs which in turn could be overhelming to the user
7614
-
7615
-
7616
- var nullifyElement = function nullifyElement(element) {
7617
- element.type = '';
7618
- element.value = '';
7619
- element["return"] = '';
7620
- element.children = '';
7621
- element.props = '';
7622
- };
7623
-
7624
- var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
7625
- if (!isImportRule(element)) {
7626
- return;
7627
- }
7628
-
7629
- if (element.parent) {
7630
- console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
7631
- nullifyElement(element);
7632
- } else if (isPrependedWithRegularRules(index, children)) {
7633
- console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
7634
- nullifyElement(element);
7635
- }
7636
- };
7637
8194
 
7638
8195
  /* eslint-disable no-fallthrough */
7639
8196
 
@@ -7852,10 +8409,6 @@ var defaultStylisPlugins = [prefixer];
7852
8409
  var createCache = function createCache(options) {
7853
8410
  var key = options.key;
7854
8411
 
7855
- if (process.env.NODE_ENV !== 'production' && !key) {
7856
- throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
7857
- }
7858
-
7859
8412
  if (key === 'css') {
7860
8413
  var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
7861
8414
  // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
@@ -7874,6 +8427,7 @@ var createCache = function createCache(options) {
7874
8427
  if (dataEmotionAttribute.indexOf(' ') === -1) {
7875
8428
  return;
7876
8429
  }
8430
+
7877
8431
  document.head.appendChild(node);
7878
8432
  node.setAttribute('data-s', '');
7879
8433
  });
@@ -7881,13 +8435,6 @@ var createCache = function createCache(options) {
7881
8435
 
7882
8436
  var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
7883
8437
 
7884
- if (process.env.NODE_ENV !== 'production') {
7885
- // $FlowFixMe
7886
- if (/[^a-z-]/.test(key)) {
7887
- throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
7888
- }
7889
- }
7890
-
7891
8438
  var inserted = {};
7892
8439
  var container;
7893
8440
  var nodesToHydrate = [];
@@ -7897,7 +8444,7 @@ var createCache = function createCache(options) {
7897
8444
  Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
7898
8445
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
7899
8446
  document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
7900
- var attrib = node.getAttribute("data-emotion").split(' '); // $FlowFixMe
8447
+ var attrib = node.getAttribute("data-emotion").split(' ');
7901
8448
 
7902
8449
  for (var i = 1; i < attrib.length; i++) {
7903
8450
  inserted[attrib[i]] = true;
@@ -7911,28 +8458,9 @@ var createCache = function createCache(options) {
7911
8458
 
7912
8459
  var omnipresentPlugins = [compat, removeLabel];
7913
8460
 
7914
- if (process.env.NODE_ENV !== 'production') {
7915
- omnipresentPlugins.push(createUnsafeSelectorsAlarm({
7916
- get compat() {
7917
- return cache.compat;
7918
- }
7919
-
7920
- }), incorrectImportAlarm);
7921
- }
7922
-
7923
8461
  {
7924
8462
  var currentSheet;
7925
- var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {
7926
- if (!element.root) {
7927
- if (element["return"]) {
7928
- currentSheet.insert(element["return"]);
7929
- } else if (element.value && element.type !== COMMENT) {
7930
- // insert empty rule in non-production environments
7931
- // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
7932
- currentSheet.insert(element.value + "{}");
7933
- }
7934
- }
7935
- } : rulesheet(function (rule) {
8463
+ var finalizingPlugins = [stringify, rulesheet(function (rule) {
7936
8464
  currentSheet.insert(rule);
7937
8465
  })];
7938
8466
  var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
@@ -7944,14 +8472,6 @@ var createCache = function createCache(options) {
7944
8472
  _insert = function insert(selector, serialized, sheet, shouldCache) {
7945
8473
  currentSheet = sheet;
7946
8474
 
7947
- if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {
7948
- currentSheet = {
7949
- insert: function insert(rule) {
7950
- sheet.insert(rule + serialized.map);
7951
- }
7952
- };
7953
- }
7954
-
7955
8475
  stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
7956
8476
 
7957
8477
  if (shouldCache) {
@@ -7979,11 +8499,7 @@ var createCache = function createCache(options) {
7979
8499
  return cache;
7980
8500
  };
7981
8501
 
7982
- var reactIsExports = {};
7983
- var reactIs$1 = {
7984
- get exports(){ return reactIsExports; },
7985
- set exports(v){ reactIsExports = v; },
7986
- };
8502
+ var reactIs = {exports: {}};
7987
8503
 
7988
8504
  var reactIs_production_min = {};
7989
8505
 
@@ -8199,42 +8715,141 @@ function requireReactIs_development () {
8199
8715
  return reactIs_development;
8200
8716
  }
8201
8717
 
8202
- (function (module) {
8718
+ var hasRequiredReactIs;
8719
+
8720
+ function requireReactIs () {
8721
+ if (hasRequiredReactIs) return reactIs.exports;
8722
+ hasRequiredReactIs = 1;
8203
8723
 
8204
8724
  if (process.env.NODE_ENV === 'production') {
8205
- module.exports = requireReactIs_production_min();
8725
+ reactIs.exports = requireReactIs_production_min();
8206
8726
  } else {
8207
- module.exports = requireReactIs_development();
8727
+ reactIs.exports = requireReactIs_development();
8728
+ }
8729
+ return reactIs.exports;
8730
+ }
8731
+
8732
+ var hoistNonReactStatics_cjs;
8733
+ var hasRequiredHoistNonReactStatics_cjs;
8734
+
8735
+ function requireHoistNonReactStatics_cjs () {
8736
+ if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
8737
+ hasRequiredHoistNonReactStatics_cjs = 1;
8738
+
8739
+ var reactIs = requireReactIs();
8740
+
8741
+ /**
8742
+ * Copyright 2015, Yahoo! Inc.
8743
+ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
8744
+ */
8745
+ var REACT_STATICS = {
8746
+ childContextTypes: true,
8747
+ contextType: true,
8748
+ contextTypes: true,
8749
+ defaultProps: true,
8750
+ displayName: true,
8751
+ getDefaultProps: true,
8752
+ getDerivedStateFromError: true,
8753
+ getDerivedStateFromProps: true,
8754
+ mixins: true,
8755
+ propTypes: true,
8756
+ type: true
8757
+ };
8758
+ var KNOWN_STATICS = {
8759
+ name: true,
8760
+ length: true,
8761
+ prototype: true,
8762
+ caller: true,
8763
+ callee: true,
8764
+ arguments: true,
8765
+ arity: true
8766
+ };
8767
+ var FORWARD_REF_STATICS = {
8768
+ '$$typeof': true,
8769
+ render: true,
8770
+ defaultProps: true,
8771
+ displayName: true,
8772
+ propTypes: true
8773
+ };
8774
+ var MEMO_STATICS = {
8775
+ '$$typeof': true,
8776
+ compare: true,
8777
+ defaultProps: true,
8778
+ displayName: true,
8779
+ propTypes: true,
8780
+ type: true
8781
+ };
8782
+ var TYPE_STATICS = {};
8783
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
8784
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
8785
+
8786
+ function getStatics(component) {
8787
+ // React v16.11 and below
8788
+ if (reactIs.isMemo(component)) {
8789
+ return MEMO_STATICS;
8790
+ } // React v16.12 and above
8791
+
8792
+
8793
+ return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
8794
+ }
8795
+
8796
+ var defineProperty = Object.defineProperty;
8797
+ var getOwnPropertyNames = Object.getOwnPropertyNames;
8798
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
8799
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
8800
+ var getPrototypeOf = Object.getPrototypeOf;
8801
+ var objectPrototype = Object.prototype;
8802
+ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
8803
+ if (typeof sourceComponent !== 'string') {
8804
+ // don't hoist over string (html) components
8805
+ if (objectPrototype) {
8806
+ var inheritedComponent = getPrototypeOf(sourceComponent);
8807
+
8808
+ if (inheritedComponent && inheritedComponent !== objectPrototype) {
8809
+ hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
8810
+ }
8811
+ }
8812
+
8813
+ var keys = getOwnPropertyNames(sourceComponent);
8814
+
8815
+ if (getOwnPropertySymbols) {
8816
+ keys = keys.concat(getOwnPropertySymbols(sourceComponent));
8817
+ }
8818
+
8819
+ var targetStatics = getStatics(targetComponent);
8820
+ var sourceStatics = getStatics(sourceComponent);
8821
+
8822
+ for (var i = 0; i < keys.length; ++i) {
8823
+ var key = keys[i];
8824
+
8825
+ if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
8826
+ var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
8827
+
8828
+ try {
8829
+ // Avoid failures from read-only properties
8830
+ defineProperty(targetComponent, key, descriptor);
8831
+ } catch (e) {}
8832
+ }
8833
+ }
8834
+ }
8835
+
8836
+ return targetComponent;
8208
8837
  }
8209
- } (reactIs$1));
8210
-
8211
- var reactIs = reactIsExports;
8212
- var FORWARD_REF_STATICS = {
8213
- '$$typeof': true,
8214
- render: true,
8215
- defaultProps: true,
8216
- displayName: true,
8217
- propTypes: true
8218
- };
8219
- var MEMO_STATICS = {
8220
- '$$typeof': true,
8221
- compare: true,
8222
- defaultProps: true,
8223
- displayName: true,
8224
- propTypes: true,
8225
- type: true
8226
- };
8227
- var TYPE_STATICS = {};
8228
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
8229
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
8230
-
8231
- var isBrowser$2 = "object" !== 'undefined';
8838
+
8839
+ hoistNonReactStatics_cjs = hoistNonReactStatics;
8840
+ return hoistNonReactStatics_cjs;
8841
+ }
8842
+
8843
+ requireHoistNonReactStatics_cjs();
8844
+
8845
+ var isBrowser$1 = true;
8846
+
8232
8847
  function getRegisteredStyles(registered, registeredStyles, classNames) {
8233
8848
  var rawClassName = '';
8234
8849
  classNames.split(' ').forEach(function (className) {
8235
8850
  if (registered[className] !== undefined) {
8236
8851
  registeredStyles.push(registered[className] + ";");
8237
- } else {
8852
+ } else if (className) {
8238
8853
  rawClassName += className + " ";
8239
8854
  }
8240
8855
  });
@@ -8252,7 +8867,7 @@ var registerStyles = function registerStyles(cache, serialized, isStringTag) {
8252
8867
  // in node since emotion-server relies on whether a style is in
8253
8868
  // the registered cache to know whether a style is global or not
8254
8869
  // also, note that this check will be dead code eliminated in the browser
8255
- isBrowser$2 === false ) && cache.registered[className] === undefined) {
8870
+ isBrowser$1 === false ) && cache.registered[className] === undefined) {
8256
8871
  cache.registered[className] = serialized.styles;
8257
8872
  }
8258
8873
  };
@@ -8359,6 +8974,7 @@ var unitlessKeys = {
8359
8974
  opacity: 1,
8360
8975
  order: 1,
8361
8976
  orphans: 1,
8977
+ scale: 1,
8362
8978
  tabSize: 1,
8363
8979
  widows: 1,
8364
8980
  zIndex: 1,
@@ -8375,8 +8991,6 @@ var unitlessKeys = {
8375
8991
  strokeWidth: 1
8376
8992
  };
8377
8993
 
8378
- var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
8379
- var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
8380
8994
  var hyphenateRegex = /[A-Z]|^ms/g;
8381
8995
  var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
8382
8996
 
@@ -8417,47 +9031,16 @@ var processStyleValue = function processStyleValue(key, value) {
8417
9031
  return value;
8418
9032
  };
8419
9033
 
8420
- if (process.env.NODE_ENV !== 'production') {
8421
- var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
8422
- var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
8423
- var oldProcessStyleValue = processStyleValue;
8424
- var msPattern = /^-ms-/;
8425
- var hyphenPattern = /-(.)/g;
8426
- var hyphenatedCache = {};
8427
-
8428
- processStyleValue = function processStyleValue(key, value) {
8429
- if (key === 'content') {
8430
- if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
8431
- throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
8432
- }
8433
- }
8434
-
8435
- var processed = oldProcessStyleValue(key, value);
8436
-
8437
- if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
8438
- hyphenatedCache[key] = true;
8439
- console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
8440
- return _char.toUpperCase();
8441
- }) + "?");
8442
- }
8443
-
8444
- return processed;
8445
- };
8446
- }
8447
-
8448
- var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
8449
-
8450
9034
  function handleInterpolation(mergedProps, registered, interpolation) {
8451
9035
  if (interpolation == null) {
8452
9036
  return '';
8453
9037
  }
8454
9038
 
8455
- if (interpolation.__emotion_styles !== undefined) {
8456
- if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
8457
- throw new Error(noComponentSelectorMessage);
8458
- }
9039
+ var componentSelector = interpolation;
9040
+
9041
+ if (componentSelector.__emotion_styles !== undefined) {
8459
9042
 
8460
- return interpolation;
9043
+ return componentSelector;
8461
9044
  }
8462
9045
 
8463
9046
  switch (typeof interpolation) {
@@ -8468,17 +9051,21 @@ function handleInterpolation(mergedProps, registered, interpolation) {
8468
9051
 
8469
9052
  case 'object':
8470
9053
  {
8471
- if (interpolation.anim === 1) {
9054
+ var keyframes = interpolation;
9055
+
9056
+ if (keyframes.anim === 1) {
8472
9057
  cursor = {
8473
- name: interpolation.name,
8474
- styles: interpolation.styles,
9058
+ name: keyframes.name,
9059
+ styles: keyframes.styles,
8475
9060
  next: cursor
8476
9061
  };
8477
- return interpolation.name;
9062
+ return keyframes.name;
8478
9063
  }
8479
9064
 
8480
- if (interpolation.styles !== undefined) {
8481
- var next = interpolation.next;
9065
+ var serializedStyles = interpolation;
9066
+
9067
+ if (serializedStyles.styles !== undefined) {
9068
+ var next = serializedStyles.next;
8482
9069
 
8483
9070
  if (next !== undefined) {
8484
9071
  // not the most efficient thing ever but this is a pretty rare case
@@ -8493,12 +9080,7 @@ function handleInterpolation(mergedProps, registered, interpolation) {
8493
9080
  }
8494
9081
  }
8495
9082
 
8496
- var styles = interpolation.styles + ";";
8497
-
8498
- if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {
8499
- styles += interpolation.map;
8500
- }
8501
-
9083
+ var styles = serializedStyles.styles + ";";
8502
9084
  return styles;
8503
9085
  }
8504
9086
 
@@ -8512,37 +9094,18 @@ function handleInterpolation(mergedProps, registered, interpolation) {
8512
9094
  var result = interpolation(mergedProps);
8513
9095
  cursor = previousCursor;
8514
9096
  return handleInterpolation(mergedProps, registered, result);
8515
- } else if (process.env.NODE_ENV !== 'production') {
8516
- console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
8517
9097
  }
8518
9098
 
8519
9099
  break;
8520
9100
  }
8521
-
8522
- case 'string':
8523
- if (process.env.NODE_ENV !== 'production') {
8524
- var matched = [];
8525
- var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
8526
- var fakeVarName = "animation" + matched.length;
8527
- matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
8528
- return "${" + fakeVarName + "}";
8529
- });
8530
-
8531
- if (matched.length) {
8532
- console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
8533
- }
8534
- }
8535
-
8536
- break;
8537
9101
  } // finalize string values (regular strings and functions interpolated into css calls)
8538
9102
 
8539
9103
 
8540
- if (registered == null) {
8541
- return interpolation;
9104
+ var asString = interpolation;
9105
+
9106
+ {
9107
+ return asString;
8542
9108
  }
8543
-
8544
- var cached = registered[interpolation];
8545
- return cached !== undefined ? cached : interpolation;
8546
9109
  }
8547
9110
 
8548
9111
  function createStringFromObject(mergedProps, registered, obj) {
@@ -8553,44 +9116,38 @@ function createStringFromObject(mergedProps, registered, obj) {
8553
9116
  string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
8554
9117
  }
8555
9118
  } else {
8556
- for (var _key in obj) {
8557
- var value = obj[_key];
9119
+ for (var key in obj) {
9120
+ var value = obj[key];
8558
9121
 
8559
9122
  if (typeof value !== 'object') {
8560
- if (registered != null && registered[value] !== undefined) {
8561
- string += _key + "{" + registered[value] + "}";
8562
- } else if (isProcessableValue(value)) {
8563
- string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
9123
+ var asString = value;
9124
+
9125
+ if (isProcessableValue(asString)) {
9126
+ string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
8564
9127
  }
8565
9128
  } else {
8566
- if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {
8567
- throw new Error(noComponentSelectorMessage);
8568
- }
8569
9129
 
8570
- if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
9130
+ if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null)) {
8571
9131
  for (var _i = 0; _i < value.length; _i++) {
8572
9132
  if (isProcessableValue(value[_i])) {
8573
- string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
9133
+ string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
8574
9134
  }
8575
9135
  }
8576
9136
  } else {
8577
9137
  var interpolated = handleInterpolation(mergedProps, registered, value);
8578
9138
 
8579
- switch (_key) {
9139
+ switch (key) {
8580
9140
  case 'animation':
8581
9141
  case 'animationName':
8582
9142
  {
8583
- string += processStyleName(_key) + ":" + interpolated + ";";
9143
+ string += processStyleName(key) + ":" + interpolated + ";";
8584
9144
  break;
8585
9145
  }
8586
9146
 
8587
9147
  default:
8588
9148
  {
8589
- if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {
8590
- console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
8591
- }
8592
9149
 
8593
- string += _key + "{" + interpolated + "}";
9150
+ string += key + "{" + interpolated + "}";
8594
9151
  }
8595
9152
  }
8596
9153
  }
@@ -8601,17 +9158,11 @@ function createStringFromObject(mergedProps, registered, obj) {
8601
9158
  return string;
8602
9159
  }
8603
9160
 
8604
- var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
8605
- var sourceMapPattern;
8606
-
8607
- if (process.env.NODE_ENV !== 'production') {
8608
- sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
8609
- } // this is the cursor for keyframes
9161
+ var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g; // this is the cursor for keyframes
8610
9162
  // keyframes are stored on the SerializedStyles object as a linked list
8611
9163
 
8612
-
8613
9164
  var cursor;
8614
- var serializeStyles = function serializeStyles(args, registered, mergedProps) {
9165
+ function serializeStyles(args, registered, mergedProps) {
8615
9166
  if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
8616
9167
  return args[0];
8617
9168
  }
@@ -8625,11 +9176,9 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
8625
9176
  stringMode = false;
8626
9177
  styles += handleInterpolation(mergedProps, registered, strings);
8627
9178
  } else {
8628
- if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {
8629
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
8630
- }
9179
+ var asTemplateStringsArr = strings;
8631
9180
 
8632
- styles += strings[0];
9181
+ styles += asTemplateStringsArr[0];
8633
9182
  } // we start at 1 since we've already handled the first arg
8634
9183
 
8635
9184
 
@@ -8637,21 +9186,10 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
8637
9186
  styles += handleInterpolation(mergedProps, registered, args[i]);
8638
9187
 
8639
9188
  if (stringMode) {
8640
- if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {
8641
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
8642
- }
9189
+ var templateStringsArr = strings;
8643
9190
 
8644
- styles += strings[i];
9191
+ styles += templateStringsArr[i];
8645
9192
  }
8646
- }
8647
-
8648
- var sourceMap;
8649
-
8650
- if (process.env.NODE_ENV !== 'production') {
8651
- styles = styles.replace(sourceMapPattern, function (match) {
8652
- sourceMap = match;
8653
- return '';
8654
- });
8655
9193
  } // using a global regex with .exec is stateful so lastIndex has to be reset each time
8656
9194
 
8657
9195
 
@@ -8660,31 +9198,17 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
8660
9198
  var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
8661
9199
 
8662
9200
  while ((match = labelPattern.exec(styles)) !== null) {
8663
- identifierName += '-' + // $FlowFixMe we know it's not null
8664
- match[1];
9201
+ identifierName += '-' + match[1];
8665
9202
  }
8666
9203
 
8667
9204
  var name = murmur2(styles) + identifierName;
8668
9205
 
8669
- if (process.env.NODE_ENV !== 'production') {
8670
- // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
8671
- return {
8672
- name: name,
8673
- styles: styles,
8674
- map: sourceMap,
8675
- next: cursor,
8676
- toString: function toString() {
8677
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
8678
- }
8679
- };
8680
- }
8681
-
8682
9206
  return {
8683
9207
  name: name,
8684
9208
  styles: styles,
8685
9209
  next: cursor
8686
9210
  };
8687
- };
9211
+ }
8688
9212
 
8689
9213
  var syncFallback = function syncFallback(create) {
8690
9214
  return create();
@@ -8692,9 +9216,6 @@ var syncFallback = function syncFallback(create) {
8692
9216
 
8693
9217
  var useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;
8694
9218
  var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
8695
- var useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;
8696
-
8697
- var hasOwnProperty = {}.hasOwnProperty;
8698
9219
 
8699
9220
  var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
8700
9221
  // because this module is primarily intended for the browser and node
@@ -8706,14 +9227,9 @@ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
8706
9227
  key: 'css'
8707
9228
  }) : null);
8708
9229
 
8709
- if (process.env.NODE_ENV !== 'production') {
8710
- EmotionCacheContext.displayName = 'EmotionCacheContext';
8711
- }
8712
-
8713
9230
  EmotionCacheContext.Provider;
8714
9231
 
8715
9232
  var withEmotionCache = function withEmotionCache(func) {
8716
- // $FlowFixMe
8717
9233
  return /*#__PURE__*/forwardRef(function (props, ref) {
8718
9234
  // the cache will never be null in the browser
8719
9235
  var cache = useContext(EmotionCacheContext);
@@ -8723,81 +9239,25 @@ var withEmotionCache = function withEmotionCache(func) {
8723
9239
 
8724
9240
  var ThemeContext = /* #__PURE__ */React.createContext({});
8725
9241
 
8726
- if (process.env.NODE_ENV !== 'production') {
8727
- ThemeContext.displayName = 'EmotionThemeContext';
8728
- }
8729
-
8730
- var getLastPart = function getLastPart(functionName) {
8731
- // The match may be something like 'Object.createEmotionProps' or
8732
- // 'Loader.prototype.render'
8733
- var parts = functionName.split('.');
8734
- return parts[parts.length - 1];
8735
- };
8736
-
8737
- var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
8738
- // V8
8739
- var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
8740
- if (match) return getLastPart(match[1]); // Safari / Firefox
8741
-
8742
- match = /^([A-Za-z0-9$.]+)@/.exec(line);
8743
- if (match) return getLastPart(match[1]);
8744
- return undefined;
8745
- };
8746
-
8747
- var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
8748
- // identifiers, thus we only need to replace what is a valid character for JS,
8749
- // but not for CSS.
8750
-
8751
- var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
8752
- return identifier.replace(/\$/g, '-');
8753
- };
8754
-
8755
- var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
8756
- if (!stackTrace) return undefined;
8757
- var lines = stackTrace.split('\n');
8758
-
8759
- for (var i = 0; i < lines.length; i++) {
8760
- var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
8761
-
8762
- if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
8763
-
8764
- if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
8765
- // uppercase letter
8766
-
8767
- if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
8768
- }
8769
-
8770
- return undefined;
8771
- };
9242
+ var hasOwn = {}.hasOwnProperty;
8772
9243
 
8773
9244
  var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
8774
- var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
8775
9245
  var createEmotionProps = function createEmotionProps(type, props) {
8776
- if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration
8777
- props.css.indexOf(':') !== -1) {
8778
- throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + props.css + "`");
8779
- }
8780
9246
 
8781
9247
  var newProps = {};
8782
9248
 
8783
- for (var key in props) {
8784
- if (hasOwnProperty.call(props, key)) {
8785
- newProps[key] = props[key];
9249
+ for (var _key in props) {
9250
+ if (hasOwn.call(props, _key)) {
9251
+ newProps[_key] = props[_key];
8786
9252
  }
8787
9253
  }
8788
9254
 
8789
- newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
8790
- // the label hasn't already been computed
8791
-
8792
- if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
8793
- var label = getLabelFromStackTrace(new Error().stack);
8794
- if (label) newProps[labelPropName] = label;
8795
- }
9255
+ newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
8796
9256
 
8797
9257
  return newProps;
8798
9258
  };
8799
9259
 
8800
- var Insertion$1 = function Insertion(_ref) {
9260
+ var Insertion = function Insertion(_ref) {
8801
9261
  var cache = _ref.cache,
8802
9262
  serialized = _ref.serialized,
8803
9263
  isStringTag = _ref.isStringTag;
@@ -8830,175 +9290,35 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
8830
9290
 
8831
9291
  var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));
8832
9292
 
8833
- if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
8834
- var labelFromStack = props[labelPropName];
8835
-
8836
- if (labelFromStack) {
8837
- serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);
8838
- }
8839
- }
8840
-
8841
9293
  className += cache.key + "-" + serialized.name;
8842
9294
  var newProps = {};
8843
9295
 
8844
- for (var key in props) {
8845
- if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
8846
- newProps[key] = props[key];
9296
+ for (var _key2 in props) {
9297
+ if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (true )) {
9298
+ newProps[_key2] = props[_key2];
8847
9299
  }
8848
9300
  }
8849
9301
 
8850
- newProps.ref = ref;
8851
9302
  newProps.className = className;
8852
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion$1, {
9303
+
9304
+ if (ref) {
9305
+ newProps.ref = ref;
9306
+ }
9307
+
9308
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {
8853
9309
  cache: cache,
8854
9310
  serialized: serialized,
8855
9311
  isStringTag: typeof WrappedComponent === 'string'
8856
9312
  }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));
8857
9313
  });
8858
9314
 
8859
- if (process.env.NODE_ENV !== 'production') {
8860
- Emotion.displayName = 'EmotionCssPropInternal';
8861
- }
8862
-
8863
9315
  var Emotion$1 = Emotion;
8864
9316
 
8865
- var pkg = {
8866
- name: "@emotion/react",
8867
- version: "11.11.0",
8868
- main: "dist/emotion-react.cjs.js",
8869
- module: "dist/emotion-react.esm.js",
8870
- browser: {
8871
- "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
8872
- },
8873
- exports: {
8874
- ".": {
8875
- module: {
8876
- worker: "./dist/emotion-react.worker.esm.js",
8877
- browser: "./dist/emotion-react.browser.esm.js",
8878
- "default": "./dist/emotion-react.esm.js"
8879
- },
8880
- "import": "./dist/emotion-react.cjs.mjs",
8881
- "default": "./dist/emotion-react.cjs.js"
8882
- },
8883
- "./jsx-runtime": {
8884
- module: {
8885
- worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",
8886
- browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
8887
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
8888
- },
8889
- "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
8890
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
8891
- },
8892
- "./_isolated-hnrs": {
8893
- module: {
8894
- worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",
8895
- browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
8896
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
8897
- },
8898
- "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
8899
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
8900
- },
8901
- "./jsx-dev-runtime": {
8902
- module: {
8903
- worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",
8904
- browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
8905
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
8906
- },
8907
- "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
8908
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
8909
- },
8910
- "./package.json": "./package.json",
8911
- "./types/css-prop": "./types/css-prop.d.ts",
8912
- "./macro": {
8913
- types: {
8914
- "import": "./macro.d.mts",
8915
- "default": "./macro.d.ts"
8916
- },
8917
- "default": "./macro.js"
8918
- }
8919
- },
8920
- types: "types/index.d.ts",
8921
- files: [
8922
- "src",
8923
- "dist",
8924
- "jsx-runtime",
8925
- "jsx-dev-runtime",
8926
- "_isolated-hnrs",
8927
- "types/*.d.ts",
8928
- "macro.*"
8929
- ],
8930
- sideEffects: false,
8931
- author: "Emotion Contributors",
8932
- license: "MIT",
8933
- scripts: {
8934
- "test:typescript": "dtslint types"
8935
- },
8936
- dependencies: {
8937
- "@babel/runtime": "^7.18.3",
8938
- "@emotion/babel-plugin": "^11.11.0",
8939
- "@emotion/cache": "^11.11.0",
8940
- "@emotion/serialize": "^1.1.2",
8941
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
8942
- "@emotion/utils": "^1.2.1",
8943
- "@emotion/weak-memoize": "^0.3.1",
8944
- "hoist-non-react-statics": "^3.3.1"
8945
- },
8946
- peerDependencies: {
8947
- react: ">=16.8.0"
8948
- },
8949
- peerDependenciesMeta: {
8950
- "@types/react": {
8951
- optional: true
8952
- }
8953
- },
8954
- devDependencies: {
8955
- "@definitelytyped/dtslint": "0.0.112",
8956
- "@emotion/css": "11.11.0",
8957
- "@emotion/css-prettifier": "1.1.3",
8958
- "@emotion/server": "11.11.0",
8959
- "@emotion/styled": "11.11.0",
8960
- "html-tag-names": "^1.1.2",
8961
- react: "16.14.0",
8962
- "svg-tag-names": "^1.1.1",
8963
- typescript: "^4.5.5"
8964
- },
8965
- repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
8966
- publishConfig: {
8967
- access: "public"
8968
- },
8969
- "umd:main": "dist/emotion-react.umd.min.js",
8970
- preconstruct: {
8971
- entrypoints: [
8972
- "./index.js",
8973
- "./jsx-runtime.js",
8974
- "./jsx-dev-runtime.js",
8975
- "./_isolated-hnrs.js"
8976
- ],
8977
- umdName: "emotionReact",
8978
- exports: {
8979
- envConditions: [
8980
- "browser",
8981
- "worker"
8982
- ],
8983
- extra: {
8984
- "./types/css-prop": "./types/css-prop.d.ts",
8985
- "./macro": {
8986
- types: {
8987
- "import": "./macro.d.mts",
8988
- "default": "./macro.d.ts"
8989
- },
8990
- "default": "./macro.js"
8991
- }
8992
- }
8993
- }
8994
- }
8995
- };
8996
-
8997
9317
  var jsx = function jsx(type, props) {
9318
+ // eslint-disable-next-line prefer-rest-params
8998
9319
  var args = arguments;
8999
9320
 
9000
- if (props == null || !hasOwnProperty.call(props, 'css')) {
9001
- // $FlowFixMe
9321
+ if (props == null || !hasOwn.call(props, 'css')) {
9002
9322
  return React.createElement.apply(undefined, args);
9003
9323
  }
9004
9324
 
@@ -9009,93 +9329,16 @@ var jsx = function jsx(type, props) {
9009
9329
 
9010
9330
  for (var i = 2; i < argsLength; i++) {
9011
9331
  createElementArgArray[i] = args[i];
9012
- } // $FlowFixMe
9013
-
9332
+ }
9014
9333
 
9015
9334
  return React.createElement.apply(null, createElementArgArray);
9016
9335
  };
9017
9336
 
9018
- var warnedAboutCssPropForGlobal = false; // maintain place over rerenders.
9019
- // initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
9020
- // initial client-side render from SSR, use place of hydrating tag
9021
-
9022
- var Global = /* #__PURE__ */withEmotionCache(function (props, cache) {
9023
- if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is
9024
- // probably using the custom createElement which
9025
- // means it will be turned into a className prop
9026
- // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
9027
- props.className || props.css)) {
9028
- console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?");
9029
- warnedAboutCssPropForGlobal = true;
9030
- }
9031
-
9032
- var styles = props.styles;
9033
- var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext));
9034
- // but it is based on a constant that will never change at runtime
9035
- // it's effectively like having two implementations and switching them out
9036
- // so it's not actually breaking anything
9037
-
9038
-
9039
- var sheetRef = React.useRef();
9040
- useInsertionEffectWithLayoutFallback(function () {
9041
- var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
9042
-
9043
- var sheet = new cache.sheet.constructor({
9044
- key: key,
9045
- nonce: cache.sheet.nonce,
9046
- container: cache.sheet.container,
9047
- speedy: cache.sheet.isSpeedy
9048
- });
9049
- var rehydrating = false; // $FlowFixMe
9050
-
9051
- var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");
9052
-
9053
- if (cache.sheet.tags.length) {
9054
- sheet.before = cache.sheet.tags[0];
9055
- }
9056
-
9057
- if (node !== null) {
9058
- rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s
9059
-
9060
- node.setAttribute('data-emotion', key);
9061
- sheet.hydrate([node]);
9062
- }
9063
-
9064
- sheetRef.current = [sheet, rehydrating];
9065
- return function () {
9066
- sheet.flush();
9067
- };
9068
- }, [cache]);
9069
- useInsertionEffectWithLayoutFallback(function () {
9070
- var sheetRefCurrent = sheetRef.current;
9071
- var sheet = sheetRefCurrent[0],
9072
- rehydrating = sheetRefCurrent[1];
9073
-
9074
- if (rehydrating) {
9075
- sheetRefCurrent[1] = false;
9076
- return;
9077
- }
9078
-
9079
- if (serialized.next !== undefined) {
9080
- // insert keyframes
9081
- insertStyles(cache, serialized.next, true);
9082
- }
9083
-
9084
- if (sheet.tags.length) {
9085
- // if this doesn't exist then it will be null so the style element will be appended
9086
- var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
9087
- sheet.before = element;
9088
- sheet.flush();
9089
- }
9337
+ (function (_jsx) {
9338
+ var JSX;
9090
9339
 
9091
- cache.insert("", serialized, sheet, false);
9092
- }, [cache, serialized.name]);
9093
- return null;
9094
- });
9095
-
9096
- if (process.env.NODE_ENV !== 'production') {
9097
- Global.displayName = 'EmotionGlobal';
9098
- }
9340
+ (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
9341
+ })(jsx || (jsx = {}));
9099
9342
 
9100
9343
  function css$2() {
9101
9344
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -9105,10 +9348,9 @@ function css$2() {
9105
9348
  return serializeStyles(args);
9106
9349
  }
9107
9350
 
9108
- var keyframes$1 = function keyframes() {
9351
+ function keyframes$1() {
9109
9352
  var insertable = css$2.apply(void 0, arguments);
9110
- var name = "animation-" + insertable.name; // $FlowFixMe
9111
-
9353
+ var name = "animation-" + insertable.name;
9112
9354
  return {
9113
9355
  name: name,
9114
9356
  styles: "@keyframes " + name + "{" + insertable.styles + "}",
@@ -9117,166 +9359,19 @@ var keyframes$1 = function keyframes() {
9117
9359
  return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
9118
9360
  }
9119
9361
  };
9120
- };
9121
-
9122
- var classnames$1 = function classnames(args) {
9123
- var len = args.length;
9124
- var i = 0;
9125
- var cls = '';
9126
-
9127
- for (; i < len; i++) {
9128
- var arg = args[i];
9129
- if (arg == null) continue;
9130
- var toAdd = void 0;
9131
-
9132
- switch (typeof arg) {
9133
- case 'boolean':
9134
- break;
9135
-
9136
- case 'object':
9137
- {
9138
- if (Array.isArray(arg)) {
9139
- toAdd = classnames(arg);
9140
- } else {
9141
- if (process.env.NODE_ENV !== 'production' && arg.styles !== undefined && arg.name !== undefined) {
9142
- console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component.');
9143
- }
9144
-
9145
- toAdd = '';
9146
-
9147
- for (var k in arg) {
9148
- if (arg[k] && k) {
9149
- toAdd && (toAdd += ' ');
9150
- toAdd += k;
9151
- }
9152
- }
9153
- }
9154
-
9155
- break;
9156
- }
9157
-
9158
- default:
9159
- {
9160
- toAdd = arg;
9161
- }
9162
- }
9163
-
9164
- if (toAdd) {
9165
- cls && (cls += ' ');
9166
- cls += toAdd;
9167
- }
9168
- }
9169
-
9170
- return cls;
9171
- };
9172
-
9173
- function merge(registered, css, className) {
9174
- var registeredStyles = [];
9175
- var rawClassName = getRegisteredStyles(registered, registeredStyles, className);
9176
-
9177
- if (registeredStyles.length < 2) {
9178
- return className;
9179
- }
9180
-
9181
- return rawClassName + css(registeredStyles);
9182
- }
9183
-
9184
- var Insertion = function Insertion(_ref) {
9185
- var cache = _ref.cache,
9186
- serializedArr = _ref.serializedArr;
9187
- useInsertionEffectAlwaysWithSyncFallback(function () {
9188
-
9189
- for (var i = 0; i < serializedArr.length; i++) {
9190
- insertStyles(cache, serializedArr[i], false);
9191
- }
9192
- });
9193
-
9194
- return null;
9195
- };
9196
-
9197
- var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
9198
- var hasRendered = false;
9199
- var serializedArr = [];
9200
-
9201
- var css = function css() {
9202
- if (hasRendered && process.env.NODE_ENV !== 'production') {
9203
- throw new Error('css can only be used during render');
9204
- }
9205
-
9206
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9207
- args[_key] = arguments[_key];
9208
- }
9209
-
9210
- var serialized = serializeStyles(args, cache.registered);
9211
- serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`
9212
-
9213
- registerStyles(cache, serialized, false);
9214
- return cache.key + "-" + serialized.name;
9215
- };
9216
-
9217
- var cx = function cx() {
9218
- if (hasRendered && process.env.NODE_ENV !== 'production') {
9219
- throw new Error('cx can only be used during render');
9220
- }
9221
-
9222
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
9223
- args[_key2] = arguments[_key2];
9224
- }
9225
-
9226
- return merge(cache.registered, css, classnames$1(args));
9227
- };
9228
-
9229
- var content = {
9230
- css: css,
9231
- cx: cx,
9232
- theme: React.useContext(ThemeContext)
9233
- };
9234
- var ele = props.children(content);
9235
- hasRendered = true;
9236
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {
9237
- cache: cache,
9238
- serializedArr: serializedArr
9239
- }), ele);
9240
- });
9241
-
9242
- if (process.env.NODE_ENV !== 'production') {
9243
- ClassNames.displayName = 'EmotionClassNames';
9244
- }
9245
-
9246
- if (process.env.NODE_ENV !== 'production') {
9247
- var isBrowser$1 = "object" !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked
9248
-
9249
- var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';
9250
-
9251
- if (isBrowser$1 && !isTestEnv) {
9252
- // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
9253
- var globalContext = // $FlowIgnore
9254
- typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
9255
- : isBrowser$1 ? window : global;
9256
- var globalKey = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";
9257
-
9258
- if (globalContext[globalKey]) {
9259
- console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');
9260
- }
9261
-
9262
- globalContext[globalKey] = true;
9263
- }
9264
9362
  }
9265
9363
 
9266
- function _taggedTemplateLiteral(strings, raw) {
9267
- if (!raw) {
9268
- raw = strings.slice(0);
9269
- }
9270
- return Object.freeze(Object.defineProperties(strings, {
9364
+ function _taggedTemplateLiteral(e, t) {
9365
+ return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
9271
9366
  raw: {
9272
- value: Object.freeze(raw)
9367
+ value: Object.freeze(t)
9273
9368
  }
9274
9369
  }));
9275
9370
  }
9276
9371
 
9277
- var index = useLayoutEffect ;
9372
+ var index = useLayoutEffect ;
9278
9373
 
9279
- var _excluded$3 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
9374
+ var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
9280
9375
  // ==============================
9281
9376
  // NO OP
9282
9377
  // ==============================
@@ -9353,7 +9448,7 @@ var cleanCommonProps = function cleanCommonProps(props) {
9353
9448
  props.selectProps;
9354
9449
  props.setValue;
9355
9450
  props.theme;
9356
- var innerProps = _objectWithoutProperties(props, _excluded$3);
9451
+ var innerProps = _objectWithoutProperties(props, _excluded$4);
9357
9452
  return _objectSpread2({}, innerProps);
9358
9453
  };
9359
9454
 
@@ -9567,6 +9662,8 @@ var removeProps = function removeProps(propsObj) {
9567
9662
  }, {});
9568
9663
  };
9569
9664
 
9665
+ var _excluded$3 = ["children", "innerProps"],
9666
+ _excluded2$1 = ["children", "innerProps"];
9570
9667
  function getMenuPlacement(_ref) {
9571
9668
  var preferredMaxHeight = _ref.maxHeight,
9572
9669
  menuEl = _ref.menuEl,
@@ -9861,37 +9958,41 @@ var noticeCSS = function noticeCSS(_ref5, unstyled) {
9861
9958
  };
9862
9959
  var noOptionsMessageCSS = noticeCSS;
9863
9960
  var loadingMessageCSS = noticeCSS;
9864
- var NoOptionsMessage = function NoOptionsMessage(props) {
9865
- var children = props.children,
9866
- innerProps = props.innerProps;
9867
- return jsx("div", _extends({}, getStyleProps(props, 'noOptionsMessage', {
9961
+ var NoOptionsMessage = function NoOptionsMessage(_ref6) {
9962
+ var _ref6$children = _ref6.children,
9963
+ children = _ref6$children === void 0 ? 'No options' : _ref6$children,
9964
+ innerProps = _ref6.innerProps,
9965
+ restProps = _objectWithoutProperties(_ref6, _excluded$3);
9966
+ return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
9967
+ children: children,
9968
+ innerProps: innerProps
9969
+ }), 'noOptionsMessage', {
9868
9970
  'menu-notice': true,
9869
9971
  'menu-notice--no-options': true
9870
9972
  }), innerProps), children);
9871
9973
  };
9872
- NoOptionsMessage.defaultProps = {
9873
- children: 'No options'
9874
- };
9875
- var LoadingMessage = function LoadingMessage(props) {
9876
- var children = props.children,
9877
- innerProps = props.innerProps;
9878
- return jsx("div", _extends({}, getStyleProps(props, 'loadingMessage', {
9974
+ var LoadingMessage = function LoadingMessage(_ref7) {
9975
+ var _ref7$children = _ref7.children,
9976
+ children = _ref7$children === void 0 ? 'Loading...' : _ref7$children,
9977
+ innerProps = _ref7.innerProps,
9978
+ restProps = _objectWithoutProperties(_ref7, _excluded2$1);
9979
+ return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
9980
+ children: children,
9981
+ innerProps: innerProps
9982
+ }), 'loadingMessage', {
9879
9983
  'menu-notice': true,
9880
9984
  'menu-notice--loading': true
9881
9985
  }), innerProps), children);
9882
9986
  };
9883
- LoadingMessage.defaultProps = {
9884
- children: 'Loading...'
9885
- };
9886
9987
 
9887
9988
  // ==============================
9888
9989
  // Menu Portal
9889
9990
  // ==============================
9890
9991
 
9891
- var menuPortalCSS = function menuPortalCSS(_ref6) {
9892
- var rect = _ref6.rect,
9893
- offset = _ref6.offset,
9894
- position = _ref6.position;
9992
+ var menuPortalCSS = function menuPortalCSS(_ref8) {
9993
+ var rect = _ref8.rect,
9994
+ offset = _ref8.offset,
9995
+ position = _ref8.position;
9895
9996
  return {
9896
9997
  left: rect.left,
9897
9998
  position: position,
@@ -10054,7 +10155,8 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
10054
10155
  };
10055
10156
 
10056
10157
  var _templateObject;
10057
- var _excluded$2 = ["size"];
10158
+ var _excluded$2 = ["size"],
10159
+ _excluded2 = ["innerProps", "isRtl", "size"];
10058
10160
  function _EMOTION_STRINGIFIED_CSS_ERROR__$3() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
10059
10161
 
10060
10162
  // ==============================
@@ -10066,7 +10168,7 @@ var _ref2$2 = process.env.NODE_ENV === "production" ? {
10066
10168
  } : {
10067
10169
  name: "tj5bde-Svg",
10068
10170
  styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
10069
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNv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90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */",
10171
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3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HJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
10070
10172
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
10071
10173
  };
10072
10174
  var Svg = function Svg(_ref) {
@@ -10201,13 +10303,20 @@ var LoadingDot = function LoadingDot(_ref6) {
10201
10303
  height: '1em',
10202
10304
  verticalAlign: 'top',
10203
10305
  width: '1em'
10204
- }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1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10306
+ }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcic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zLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
10205
10307
  });
10206
10308
  };
10207
- var LoadingIndicator = function LoadingIndicator(props) {
10208
- var innerProps = props.innerProps,
10209
- isRtl = props.isRtl;
10210
- return jsx("div", _extends({}, getStyleProps(props, 'loadingIndicator', {
10309
+ var LoadingIndicator = function LoadingIndicator(_ref7) {
10310
+ var innerProps = _ref7.innerProps,
10311
+ isRtl = _ref7.isRtl,
10312
+ _ref7$size = _ref7.size,
10313
+ size = _ref7$size === void 0 ? 4 : _ref7$size,
10314
+ restProps = _objectWithoutProperties(_ref7, _excluded2);
10315
+ return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
10316
+ innerProps: innerProps,
10317
+ isRtl: isRtl,
10318
+ size: size
10319
+ }), 'loadingIndicator', {
10211
10320
  indicator: true,
10212
10321
  'loading-indicator': true
10213
10322
  }), innerProps), jsx(LoadingDot, {
@@ -10221,9 +10330,6 @@ var LoadingIndicator = function LoadingIndicator(props) {
10221
10330
  offset: !isRtl
10222
10331
  }));
10223
10332
  };
10224
- LoadingIndicator.defaultProps = {
10225
- size: 4
10226
- };
10227
10333
 
10228
10334
  var css$1 = function css(_ref, unstyled) {
10229
10335
  var isDisabled = _ref.isDisabled,
@@ -10269,7 +10375,9 @@ var Control = function Control(props) {
10269
10375
  'control--is-disabled': isDisabled,
10270
10376
  'control--is-focused': isFocused,
10271
10377
  'control--menu-is-open': menuIsOpen
10272
- }), innerProps), children);
10378
+ }), innerProps, {
10379
+ "aria-disabled": isDisabled || undefined
10380
+ }), children);
10273
10381
  };
10274
10382
  var Control$1 = Control;
10275
10383
 
@@ -10330,7 +10438,7 @@ var GroupHeading = function GroupHeading(props) {
10330
10438
  };
10331
10439
  var Group$1$1 = Group$1;
10332
10440
 
10333
- var _excluded$4 = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
10441
+ var _excluded$5 = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
10334
10442
  var inputCSS = function inputCSS(_ref, unstyled) {
10335
10443
  var isDisabled = _ref.isDisabled,
10336
10444
  value = _ref.value,
@@ -10386,7 +10494,7 @@ var Input = function Input(props) {
10386
10494
  isDisabled = _cleanCommonProps.isDisabled,
10387
10495
  isHidden = _cleanCommonProps.isHidden,
10388
10496
  inputClassName = _cleanCommonProps.inputClassName,
10389
- innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$4);
10497
+ innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$5);
10390
10498
  return jsx("div", _extends({}, getStyleProps(props, 'input', {
10391
10499
  'input-container': true
10392
10500
  }), {
@@ -10691,7 +10799,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
10691
10799
  } : {
10692
10800
  name: "1f43avz-a11yText-A11yText",
10693
10801
  styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",
10694
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
10802
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
10695
10803
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
10696
10804
  };
10697
10805
  var A11yText = function A11yText(props) {
@@ -10705,14 +10813,14 @@ var defaultAriaLiveMessages = {
10705
10813
  guidance: function guidance(props) {
10706
10814
  var isSearchable = props.isSearchable,
10707
10815
  isMulti = props.isMulti,
10708
- isDisabled = props.isDisabled,
10709
10816
  tabSelectsValue = props.tabSelectsValue,
10710
- context = props.context;
10817
+ context = props.context,
10818
+ isInitialFocus = props.isInitialFocus;
10711
10819
  switch (context) {
10712
10820
  case 'menu':
10713
- return "Use Up and Down to choose options".concat(isDisabled ? '' : ', press Enter to select the currently focused option', ", press Escape to exit the menu").concat(tabSelectsValue ? ', press Tab to select the option and exit the menu' : '', ".");
10821
+ return "Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(tabSelectsValue ? ', press Tab to select the option and exit the menu' : '', ".");
10714
10822
  case 'input':
10715
- return "".concat(props['aria-label'] || 'Select', " is focused ").concat(isSearchable ? ',type to refine list' : '', ", press Down to open the menu, ").concat(isMulti ? ' press left to focus selected values' : '');
10823
+ return isInitialFocus ? "".concat(props['aria-label'] || 'Select', " is focused ").concat(isSearchable ? ',type to refine list' : '', ", press Down to open the menu, ").concat(isMulti ? ' press left to focus selected values' : '') : '';
10716
10824
  case 'value':
10717
10825
  return 'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';
10718
10826
  default:
@@ -10748,17 +10856,18 @@ var defaultAriaLiveMessages = {
10748
10856
  label = _props$label2 === void 0 ? '' : _props$label2,
10749
10857
  selectValue = props.selectValue,
10750
10858
  isDisabled = props.isDisabled,
10751
- isSelected = props.isSelected;
10859
+ isSelected = props.isSelected,
10860
+ isAppleDevice = props.isAppleDevice;
10752
10861
  var getArrayIndex = function getArrayIndex(arr, item) {
10753
10862
  return arr && arr.length ? "".concat(arr.indexOf(item) + 1, " of ").concat(arr.length) : '';
10754
10863
  };
10755
10864
  if (context === 'value' && selectValue) {
10756
10865
  return "value ".concat(label, " focused, ").concat(getArrayIndex(selectValue, focused), ".");
10757
10866
  }
10758
- if (context === 'menu') {
10867
+ if (context === 'menu' && isAppleDevice) {
10759
10868
  var disabled = isDisabled ? ' disabled' : '';
10760
- var status = "".concat(isSelected ? 'selected' : 'focused').concat(disabled);
10761
- return "option ".concat(label, " ").concat(status, ", ").concat(getArrayIndex(options, focused), ".");
10869
+ var status = "".concat(isSelected ? ' selected' : '').concat(disabled);
10870
+ return "".concat(label).concat(status, ", ").concat(getArrayIndex(options, focused), ".");
10762
10871
  }
10763
10872
  return '';
10764
10873
  },
@@ -10777,7 +10886,8 @@ var LiveRegion = function LiveRegion(props) {
10777
10886
  isFocused = props.isFocused,
10778
10887
  selectValue = props.selectValue,
10779
10888
  selectProps = props.selectProps,
10780
- id = props.id;
10889
+ id = props.id,
10890
+ isAppleDevice = props.isAppleDevice;
10781
10891
  var ariaLiveMessages = selectProps.ariaLiveMessages,
10782
10892
  getOptionLabel = selectProps.getOptionLabel,
10783
10893
  inputValue = selectProps.inputValue,
@@ -10787,7 +10897,8 @@ var LiveRegion = function LiveRegion(props) {
10787
10897
  menuIsOpen = selectProps.menuIsOpen,
10788
10898
  options = selectProps.options,
10789
10899
  screenReaderStatus = selectProps.screenReaderStatus,
10790
- tabSelectsValue = selectProps.tabSelectsValue;
10900
+ tabSelectsValue = selectProps.tabSelectsValue,
10901
+ isLoading = selectProps.isLoading;
10791
10902
  var ariaLabel = selectProps['aria-label'];
10792
10903
  var ariaLive = selectProps['aria-live'];
10793
10904
 
@@ -10840,15 +10951,16 @@ var LiveRegion = function LiveRegion(props) {
10840
10951
  isSelected: isSelected,
10841
10952
  options: focusableOptions,
10842
10953
  context: focused === focusedOption ? 'menu' : 'value',
10843
- selectValue: selectValue
10954
+ selectValue: selectValue,
10955
+ isAppleDevice: isAppleDevice
10844
10956
  };
10845
10957
  focusMsg = messages.onFocus(onFocusProps);
10846
10958
  }
10847
10959
  return focusMsg;
10848
- }, [focusedOption, focusedValue, getOptionLabel, isOptionDisabled, messages, focusableOptions, selectValue]);
10960
+ }, [focusedOption, focusedValue, getOptionLabel, isOptionDisabled, messages, focusableOptions, selectValue, isAppleDevice]);
10849
10961
  var ariaResults = useMemo(function () {
10850
10962
  var resultsMsg = '';
10851
- if (menuIsOpen && options.length && messages.onFilter) {
10963
+ if (menuIsOpen && options.length && !isLoading && messages.onFilter) {
10852
10964
  var resultsMessage = screenReaderStatus({
10853
10965
  count: focusableOptions.length
10854
10966
  });
@@ -10858,7 +10970,8 @@ var LiveRegion = function LiveRegion(props) {
10858
10970
  });
10859
10971
  }
10860
10972
  return resultsMsg;
10861
- }, [focusableOptions, inputValue, menuIsOpen, messages, options, screenReaderStatus]);
10973
+ }, [focusableOptions, inputValue, menuIsOpen, messages, options, screenReaderStatus, isLoading]);
10974
+ var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus';
10862
10975
  var ariaGuidance = useMemo(function () {
10863
10976
  var guidanceMsg = '';
10864
10977
  if (messages.guidance) {
@@ -10869,24 +10982,28 @@ var LiveRegion = function LiveRegion(props) {
10869
10982
  isDisabled: focusedOption && isOptionDisabled(focusedOption, selectValue),
10870
10983
  isMulti: isMulti,
10871
10984
  isSearchable: isSearchable,
10872
- tabSelectsValue: tabSelectsValue
10985
+ tabSelectsValue: tabSelectsValue,
10986
+ isInitialFocus: isInitialFocus
10873
10987
  });
10874
10988
  }
10875
10989
  return guidanceMsg;
10876
- }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue]);
10877
- var ariaContext = "".concat(ariaFocused, " ").concat(ariaResults, " ").concat(ariaGuidance);
10990
+ }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
10878
10991
  var ScreenReaderText = jsx(Fragment$1, null, jsx("span", {
10879
10992
  id: "aria-selection"
10880
10993
  }, ariaSelected), jsx("span", {
10881
- id: "aria-context"
10882
- }, ariaContext));
10883
- var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus';
10994
+ id: "aria-focused"
10995
+ }, ariaFocused), jsx("span", {
10996
+ id: "aria-results"
10997
+ }, ariaResults), jsx("span", {
10998
+ id: "aria-guidance"
10999
+ }, ariaGuidance));
10884
11000
  return jsx(Fragment$1, null, jsx(A11yText$1, {
10885
11001
  id: id
10886
11002
  }, isInitialFocus && ScreenReaderText), jsx(A11yText$1, {
10887
11003
  "aria-live": ariaLive,
10888
11004
  "aria-atomic": "false",
10889
- "aria-relevant": "additions text"
11005
+ "aria-relevant": "additions text",
11006
+ role: "log"
10890
11007
  }, isFocused && !isInitialFocus && ScreenReaderText));
10891
11008
  };
10892
11009
  var LiveRegion$1 = LiveRegion;
@@ -11226,12 +11343,12 @@ function DummyInput(_ref) {
11226
11343
  opacity: 0,
11227
11344
  position: 'relative',
11228
11345
  transform: 'scale(.01)'
11229
- }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")
11346
+ }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIs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mVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")
11230
11347
  }));
11231
11348
  }
11232
11349
 
11233
11350
  var cancelScroll = function cancelScroll(event) {
11234
- event.preventDefault();
11351
+ if (event.cancelable) event.preventDefault();
11235
11352
  event.stopPropagation();
11236
11353
  };
11237
11354
  function useScrollCapture(_ref) {
@@ -11339,7 +11456,7 @@ var LOCK_STYLES = {
11339
11456
  height: '100%'
11340
11457
  };
11341
11458
  function preventTouchMove(e) {
11342
- e.preventDefault();
11459
+ if (e.cancelable) e.preventDefault();
11343
11460
  }
11344
11461
  function allowTouchMove(e) {
11345
11462
  e.stopPropagation();
@@ -11456,8 +11573,9 @@ function useScrollLock(_ref) {
11456
11573
  }
11457
11574
 
11458
11575
  function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
11459
- var blurSelectInput = function blurSelectInput() {
11460
- return document.activeElement && document.activeElement.blur();
11576
+ var blurSelectInput = function blurSelectInput(event) {
11577
+ var element = event.target;
11578
+ return element.ownerDocument.activeElement && element.ownerDocument.activeElement.blur();
11461
11579
  };
11462
11580
  var _ref2$1 = process.env.NODE_ENV === "production" ? {
11463
11581
  name: "1kfdb0e",
@@ -11465,7 +11583,7 @@ var _ref2$1 = process.env.NODE_ENV === "production" ? {
11465
11583
  } : {
11466
11584
  name: "bp8cua-ScrollManager",
11467
11585
  styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
11468
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2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gb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",
11469
11587
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
11470
11588
  };
11471
11589
  function ScrollManager(_ref) {
@@ -11525,6 +11643,30 @@ var RequiredInput = function RequiredInput(_ref) {
11525
11643
  };
11526
11644
  var RequiredInput$1 = RequiredInput;
11527
11645
 
11646
+ /// <reference types="user-agent-data-types" />
11647
+
11648
+ function testPlatform(re) {
11649
+ var _window$navigator$use;
11650
+ return typeof window !== 'undefined' && window.navigator != null ? re.test(((_window$navigator$use = window.navigator['userAgentData']) === null || _window$navigator$use === void 0 ? void 0 : _window$navigator$use.platform) || window.navigator.platform) : false;
11651
+ }
11652
+ function isIPhone() {
11653
+ return testPlatform(/^iPhone/i);
11654
+ }
11655
+ function isMac() {
11656
+ return testPlatform(/^Mac/i);
11657
+ }
11658
+ function isIPad() {
11659
+ return testPlatform(/^iPad/i) ||
11660
+ // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
11661
+ isMac() && navigator.maxTouchPoints > 1;
11662
+ }
11663
+ function isIOS() {
11664
+ return isIPhone() || isIPad();
11665
+ }
11666
+ function isAppleDevice() {
11667
+ return isMac() || isIOS();
11668
+ }
11669
+
11528
11670
  var formatGroupLabel = function formatGroupLabel(group) {
11529
11671
  return group.label;
11530
11672
  };
@@ -11694,6 +11836,24 @@ function buildFocusableOptionsFromCategorizedOptions(categorizedOptions) {
11694
11836
  return optionsAccumulator;
11695
11837
  }, []);
11696
11838
  }
11839
+ function buildFocusableOptionsWithIds(categorizedOptions, optionId) {
11840
+ return categorizedOptions.reduce(function (optionsAccumulator, categorizedOption) {
11841
+ if (categorizedOption.type === 'group') {
11842
+ optionsAccumulator.push.apply(optionsAccumulator, _toConsumableArray(categorizedOption.options.map(function (option) {
11843
+ return {
11844
+ data: option.data,
11845
+ id: "".concat(optionId, "-").concat(categorizedOption.index, "-").concat(option.index)
11846
+ };
11847
+ })));
11848
+ } else {
11849
+ optionsAccumulator.push({
11850
+ data: categorizedOption.data,
11851
+ id: "".concat(optionId, "-").concat(categorizedOption.index)
11852
+ });
11853
+ }
11854
+ return optionsAccumulator;
11855
+ }, []);
11856
+ }
11697
11857
  function buildFocusableOptions(props, selectValue) {
11698
11858
  return buildFocusableOptionsFromCategorizedOptions(buildCategorizedOptions(props, selectValue));
11699
11859
  }
@@ -11731,6 +11891,13 @@ function getNextFocusedOption(state, options) {
11731
11891
  var lastFocusedOption = state.focusedOption;
11732
11892
  return lastFocusedOption && options.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options[0];
11733
11893
  }
11894
+ var getFocusedOptionId = function getFocusedOptionId(focusableOptionsWithIds, focusedOption) {
11895
+ var _focusableOptionsWith;
11896
+ var focusedOptionId = (_focusableOptionsWith = focusableOptionsWithIds.find(function (option) {
11897
+ return option.data === focusedOption;
11898
+ })) === null || _focusableOptionsWith === void 0 ? void 0 : _focusableOptionsWith.id;
11899
+ return focusedOptionId || null;
11900
+ };
11734
11901
  var getOptionLabel = function getOptionLabel(props, data) {
11735
11902
  return props.getOptionLabel(data);
11736
11903
  };
@@ -11781,6 +11948,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
11781
11948
  _this.state = {
11782
11949
  ariaSelection: null,
11783
11950
  focusedOption: null,
11951
+ focusedOptionId: null,
11952
+ focusableOptionsWithIds: [],
11784
11953
  focusedValue: null,
11785
11954
  inputIsHidden: false,
11786
11955
  isFocused: false,
@@ -11788,17 +11957,18 @@ var Select$1 = /*#__PURE__*/function (_Component) {
11788
11957
  clearFocusValueOnUpdate: false,
11789
11958
  prevWasFocused: false,
11790
11959
  inputIsHiddenAfterUpdate: undefined,
11791
- prevProps: undefined
11960
+ prevProps: undefined,
11961
+ instancePrefix: ''
11792
11962
  };
11793
11963
  _this.blockOptionHover = false;
11794
11964
  _this.isComposing = false;
11795
11965
  _this.commonProps = void 0;
11796
11966
  _this.initialTouchX = 0;
11797
11967
  _this.initialTouchY = 0;
11798
- _this.instancePrefix = '';
11799
11968
  _this.openAfterFocus = false;
11800
11969
  _this.scrollToFocusedOptionOnUpdate = false;
11801
11970
  _this.userIsDragging = void 0;
11971
+ _this.isAppleDevice = isAppleDevice();
11802
11972
  _this.controlRef = null;
11803
11973
  _this.getControlRef = function (ref) {
11804
11974
  _this.controlRef = ref;
@@ -11908,10 +12078,18 @@ var Select$1 = /*#__PURE__*/function (_Component) {
11908
12078
  var lastSelectedValue = selectValue[selectValue.length - 1];
11909
12079
  var newValueArray = selectValue.slice(0, selectValue.length - 1);
11910
12080
  var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);
11911
- _this.onChange(newValue, {
11912
- action: 'pop-value',
11913
- removedValue: lastSelectedValue
11914
- });
12081
+ if (lastSelectedValue) {
12082
+ _this.onChange(newValue, {
12083
+ action: 'pop-value',
12084
+ removedValue: lastSelectedValue
12085
+ });
12086
+ }
12087
+ };
12088
+ _this.getFocusedOptionId = function (focusedOption) {
12089
+ return getFocusedOptionId(_this.state.focusableOptionsWithIds, focusedOption);
12090
+ };
12091
+ _this.getFocusableOptionsWithIds = function () {
12092
+ return buildFocusableOptionsWithIds(buildCategorizedOptions(_this.props, _this.state.selectValue), _this.getElementId('option'));
11915
12093
  };
11916
12094
  _this.getValue = function () {
11917
12095
  return _this.state.selectValue;
@@ -11940,7 +12118,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
11940
12118
  return (_this$props$className = (_this$props$className2 = _this.props.classNames)[key]) === null || _this$props$className === void 0 ? void 0 : _this$props$className.call(_this$props$className2, props);
11941
12119
  };
11942
12120
  _this.getElementId = function (element) {
11943
- return "".concat(_this.instancePrefix, "-").concat(element);
12121
+ return "".concat(_this.state.instancePrefix, "-").concat(element);
11944
12122
  };
11945
12123
  _this.getComponents = function () {
11946
12124
  return defaultComponents(_this.props);
@@ -12149,8 +12327,11 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12149
12327
  if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) {
12150
12328
  return;
12151
12329
  }
12330
+ var options = _this.getFocusableOptions();
12331
+ var focusedOptionIndex = options.indexOf(focusedOption);
12152
12332
  _this.setState({
12153
- focusedOption: focusedOption
12333
+ focusedOption: focusedOption,
12334
+ focusedOptionId: focusedOptionIndex > -1 ? _this.getFocusedOptionId(focusedOption) : null
12154
12335
  });
12155
12336
  };
12156
12337
  _this.shouldHideSelectedOptions = function () {
@@ -12294,14 +12475,16 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12294
12475
  }
12295
12476
  event.preventDefault();
12296
12477
  };
12297
- _this.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
12478
+ _this.state.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
12298
12479
  _this.state.selectValue = cleanValue(_props.value);
12299
-
12300
12480
  // Set focusedOption if menuIsOpen is set on init (e.g. defaultMenuIsOpen)
12301
12481
  if (_props.menuIsOpen && _this.state.selectValue.length) {
12482
+ var focusableOptionsWithIds = _this.getFocusableOptionsWithIds();
12302
12483
  var focusableOptions = _this.buildFocusableOptions();
12303
12484
  var optionIndex = focusableOptions.indexOf(_this.state.selectValue[0]);
12485
+ _this.state.focusableOptionsWithIds = focusableOptionsWithIds;
12304
12486
  _this.state.focusedOption = focusableOptions[optionIndex];
12487
+ _this.state.focusedOptionId = getFocusedOptionId(focusableOptionsWithIds, focusableOptions[optionIndex]);
12305
12488
  }
12306
12489
  return _this;
12307
12490
  }
@@ -12426,7 +12609,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12426
12609
  this.setState({
12427
12610
  inputIsHiddenAfterUpdate: false,
12428
12611
  focusedValue: null,
12429
- focusedOption: focusableOptions[openAtIndex]
12612
+ focusedOption: focusableOptions[openAtIndex],
12613
+ focusedOptionId: this.getFocusedOptionId(focusableOptions[openAtIndex])
12430
12614
  }, function () {
12431
12615
  return _this2.onMenuOpen();
12432
12616
  });
@@ -12502,7 +12686,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12502
12686
  this.scrollToFocusedOptionOnUpdate = true;
12503
12687
  this.setState({
12504
12688
  focusedOption: options[nextFocus],
12505
- focusedValue: null
12689
+ focusedValue: null,
12690
+ focusedOptionId: this.getFocusedOptionId(options[nextFocus])
12506
12691
  });
12507
12692
  }
12508
12693
  }, {
@@ -12698,10 +12883,10 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12698
12883
  'aria-label': this.props['aria-label'],
12699
12884
  'aria-labelledby': this.props['aria-labelledby'],
12700
12885
  'aria-required': required,
12701
- role: 'combobox'
12886
+ role: 'combobox',
12887
+ 'aria-activedescendant': this.isAppleDevice ? undefined : this.state.focusedOptionId || ''
12702
12888
  }, menuIsOpen && {
12703
- 'aria-controls': this.getElementId('listbox'),
12704
- 'aria-owns': this.getElementId('listbox')
12889
+ 'aria-controls': this.getElementId('listbox')
12705
12890
  }), !isSearchable && {
12706
12891
  'aria-readonly': true
12707
12892
  }), this.hasValue() ? (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus' && {
@@ -12946,8 +13131,11 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12946
13131
  onClick: onSelect,
12947
13132
  onMouseMove: onHover,
12948
13133
  onMouseOver: onHover,
12949
- tabIndex: -1
13134
+ tabIndex: -1,
13135
+ role: 'option',
13136
+ 'aria-selected': _this4.isAppleDevice ? undefined : isSelected // is not supported on Apple devices
12950
13137
  };
13138
+
12951
13139
  return /*#__PURE__*/React.createElement(Option, _extends({}, commonProps, {
12952
13140
  innerProps: innerProps,
12953
13141
  data: data,
@@ -13016,8 +13204,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13016
13204
  innerRef: ref,
13017
13205
  innerProps: {
13018
13206
  onMouseDown: _this4.onMenuMouseDown,
13019
- onMouseMove: _this4.onMenuMouseMove,
13020
- id: _this4.getElementId('listbox')
13207
+ onMouseMove: _this4.onMenuMouseMove
13021
13208
  },
13022
13209
  isLoading: isLoading,
13023
13210
  placement: placement
@@ -13032,6 +13219,11 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13032
13219
  _this4.getMenuListRef(instance);
13033
13220
  scrollTargetRef(instance);
13034
13221
  },
13222
+ innerProps: {
13223
+ role: 'listbox',
13224
+ 'aria-multiselectable': commonProps.isMulti,
13225
+ id: _this4.getElementId('listbox')
13226
+ },
13035
13227
  isLoading: isLoading,
13036
13228
  maxHeight: maxHeight,
13037
13229
  focusedOption: focusedOption
@@ -13119,7 +13311,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13119
13311
  focusedValue: focusedValue,
13120
13312
  isFocused: isFocused,
13121
13313
  selectValue: selectValue,
13122
- focusableOptions: focusableOptions
13314
+ focusableOptions: focusableOptions,
13315
+ isAppleDevice: this.isAppleDevice
13123
13316
  }));
13124
13317
  }
13125
13318
  }, {
@@ -13168,7 +13361,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13168
13361
  inputIsHiddenAfterUpdate = state.inputIsHiddenAfterUpdate,
13169
13362
  ariaSelection = state.ariaSelection,
13170
13363
  isFocused = state.isFocused,
13171
- prevWasFocused = state.prevWasFocused;
13364
+ prevWasFocused = state.prevWasFocused,
13365
+ instancePrefix = state.instancePrefix;
13172
13366
  var options = props.options,
13173
13367
  value = props.value,
13174
13368
  menuIsOpen = props.menuIsOpen,
@@ -13178,11 +13372,15 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13178
13372
  var newMenuOptionsState = {};
13179
13373
  if (prevProps && (value !== prevProps.value || options !== prevProps.options || menuIsOpen !== prevProps.menuIsOpen || inputValue !== prevProps.inputValue)) {
13180
13374
  var focusableOptions = menuIsOpen ? buildFocusableOptions(props, selectValue) : [];
13375
+ var focusableOptionsWithIds = menuIsOpen ? buildFocusableOptionsWithIds(buildCategorizedOptions(props, selectValue), "".concat(instancePrefix, "-option")) : [];
13181
13376
  var focusedValue = clearFocusValueOnUpdate ? getNextFocusedValue(state, selectValue) : null;
13182
13377
  var focusedOption = getNextFocusedOption(state, focusableOptions);
13378
+ var focusedOptionId = getFocusedOptionId(focusableOptionsWithIds, focusedOption);
13183
13379
  newMenuOptionsState = {
13184
13380
  selectValue: selectValue,
13185
13381
  focusedOption: focusedOption,
13382
+ focusedOptionId: focusedOptionId,
13383
+ focusableOptionsWithIds: focusableOptionsWithIds,
13186
13384
  focusedValue: focusedValue,
13187
13385
  clearFocusValueOnUpdate: false
13188
13386
  };
@@ -13581,7 +13779,7 @@ var DialogOverlayImpl = React.forwardRef(
13581
13779
  return (
13582
13780
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
13583
13781
  // ie. when `Overlay` and `Content` are siblings
13584
- /* @__PURE__ */ jsx$1(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx$1(
13782
+ /* @__PURE__ */ jsx$1(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx$1(
13585
13783
  Primitive.div,
13586
13784
  {
13587
13785
  "data-state": getState$2(context.open),
@@ -13794,11 +13992,7 @@ var Title = DialogTitle$1;
13794
13992
  var Description = DialogDescription$1;
13795
13993
  var Close = DialogClose$1;
13796
13994
 
13797
- var classnamesExports = {};
13798
- var classnames = {
13799
- get exports(){ return classnamesExports; },
13800
- set exports(v){ classnamesExports = v; },
13801
- };
13995
+ var classnames = {exports: {}};
13802
13996
 
13803
13997
  /*!
13804
13998
  Copyright (c) 2018 Jed Watson.
@@ -13806,58 +14000,84 @@ var classnames = {
13806
14000
  http://jedwatson.github.io/classnames
13807
14001
  */
13808
14002
 
13809
- (function (module) {
13810
- /* global define */
13811
-
13812
- (function () {
14003
+ var hasRequiredClassnames;
13813
14004
 
13814
- var hasOwn = {}.hasOwnProperty;
14005
+ function requireClassnames () {
14006
+ if (hasRequiredClassnames) return classnames.exports;
14007
+ hasRequiredClassnames = 1;
14008
+ (function (module) {
14009
+ /* global define */
13815
14010
 
13816
- function classNames() {
13817
- var classes = [];
14011
+ (function () {
13818
14012
 
13819
- for (var i = 0; i < arguments.length; i++) {
13820
- var arg = arguments[i];
13821
- if (!arg) continue;
14013
+ var hasOwn = {}.hasOwnProperty;
13822
14014
 
13823
- var argType = typeof arg;
14015
+ function classNames () {
14016
+ var classes = '';
13824
14017
 
13825
- if (argType === 'string' || argType === 'number') {
13826
- classes.push(arg);
13827
- } else if (Array.isArray(arg)) {
13828
- if (arg.length) {
13829
- var inner = classNames.apply(null, arg);
13830
- if (inner) {
13831
- classes.push(inner);
13832
- }
13833
- }
13834
- } else if (argType === 'object') {
13835
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
13836
- classes.push(arg.toString());
13837
- continue;
14018
+ for (var i = 0; i < arguments.length; i++) {
14019
+ var arg = arguments[i];
14020
+ if (arg) {
14021
+ classes = appendClass(classes, parseValue(arg));
13838
14022
  }
14023
+ }
14024
+
14025
+ return classes;
14026
+ }
14027
+
14028
+ function parseValue (arg) {
14029
+ if (typeof arg === 'string' || typeof arg === 'number') {
14030
+ return arg;
14031
+ }
14032
+
14033
+ if (typeof arg !== 'object') {
14034
+ return '';
14035
+ }
14036
+
14037
+ if (Array.isArray(arg)) {
14038
+ return classNames.apply(null, arg);
14039
+ }
13839
14040
 
13840
- for (var key in arg) {
13841
- if (hasOwn.call(arg, key) && arg[key]) {
13842
- classes.push(key);
13843
- }
14041
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
14042
+ return arg.toString();
14043
+ }
14044
+
14045
+ var classes = '';
14046
+
14047
+ for (var key in arg) {
14048
+ if (hasOwn.call(arg, key) && arg[key]) {
14049
+ classes = appendClass(classes, key);
13844
14050
  }
13845
14051
  }
14052
+
14053
+ return classes;
13846
14054
  }
13847
14055
 
13848
- return classes.join(' ');
13849
- }
14056
+ function appendClass (value, newClass) {
14057
+ if (!newClass) {
14058
+ return value;
14059
+ }
14060
+
14061
+ if (value) {
14062
+ return value + ' ' + newClass;
14063
+ }
14064
+
14065
+ return value + newClass;
14066
+ }
13850
14067
 
13851
- if (module.exports) {
13852
- classNames.default = classNames;
13853
- module.exports = classNames;
13854
- } else {
13855
- window.classNames = classNames;
13856
- }
13857
- }());
13858
- } (classnames));
14068
+ if (module.exports) {
14069
+ classNames.default = classNames;
14070
+ module.exports = classNames;
14071
+ } else {
14072
+ window.classNames = classNames;
14073
+ }
14074
+ }());
14075
+ } (classnames));
14076
+ return classnames.exports;
14077
+ }
13859
14078
 
13860
- var classNames = classnamesExports;
14079
+ var classnamesExports = requireClassnames();
14080
+ var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
13861
14081
 
13862
14082
  const Dialog = Root$4;
13863
14083
  const DialogPortal = Portal$1;
@@ -15072,7 +15292,7 @@ var MenuContentImpl = React.forwardRef(
15072
15292
  const pointerGraceIntentRef = React.useRef(null);
15073
15293
  const pointerDirRef = React.useRef("right");
15074
15294
  const lastPointerXRef = React.useRef(0);
15075
- const ScrollLockWrapper = disableOutsideScroll ? RemoveScroll : React.Fragment;
15295
+ const ScrollLockWrapper = disableOutsideScroll ? ReactRemoveScroll : React.Fragment;
15076
15296
  const scrollLockWrapperProps = disableOutsideScroll ? { as: Slot, allowPinchZoom: true } : void 0;
15077
15297
  const handleTypeaheadSearch = (key) => {
15078
15298
  const search = searchRef.current + key;
@@ -16047,19 +16267,57 @@ const Alert = ({ children, dismissible = true, onClose, show = true, variant, te
16047
16267
  dismissible && (React__default.createElement(Icon, { icon: "fc-delete", type: variant.match(/danger|warning/) ? 'color' : 'theme', color: variant.match(/danger|warning/) ? 'inherit' : undefined, extraClassNames: `tw-self-end tw-text-[11px] tw-cursor-pointer tw-absolute tw-right-[10px] tw-top-[10px] ${variant.match(/danger|warning|gray/) ? 'tw-text-sq-text-color dark:tw-text-sq-dark-text' : ''}`, testId: `${testId}-close-btn`, onClick: onClose, ...tooltipProps }))));
16048
16268
  };
16049
16269
 
16270
+ /**
16271
+ * Renders an icon that has an SVG icon path (see {@link isSvgIcon() })
16272
+ *
16273
+ * @param onClick - function to call when clicking the icon (takes no parameters)
16274
+ * @param id - id that can be placed on the SvgIcon component
16275
+ * @param testId - id that will be used in the data-testid attribute on the icon
16276
+ * @param customId - id that will be used in the data-customid attribute on the icon. Can be used to identify the icon
16277
+ * as the click event target in an event handler
16278
+ * @param icon - the SVG icon
16279
+ * @param color - used to add a custom color to the icon (required if type="color")
16280
+ * @param extraClassNames - extra class names to apply
16281
+ * @param [viewBox='0 0 19 19'] - optional SVG view box
16282
+ * @param type - default will use dark/light text colors otherwise will use the theme color
16283
+ * @param tooltipProps - props to pass to the tooltip
16284
+ */
16285
+ const SvgIcon = ({ onClick, icon, color, type = 'default', extraClassNames, viewBox = '0 0 19 19', id, testId, customId, ...tooltipProps }) => {
16286
+ const appliedClassNames = `${onClick ? 'tw-cursor-pointer' : ''} ${extraClassNames} focus:tw-outline-none focus-visible:tw-outline-none
16287
+ tw-outline-none`;
16288
+ const tooltipData = getQTipData(tooltipProps);
16289
+ const appliedType = type === 'default' ? 'currentColor' : 'rgb(var(--sq-icon))';
16290
+ return (React__default.createElement("div", { onClick: onClick, ...tooltipData, className: `svgContainer ${appliedClassNames}` },
16291
+ React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: `tw-sq-icon dark:tw-text-white`, viewBox: viewBox, fill: color ? color : appliedType, "data-testid": testId },
16292
+ React__default.createElement("path", { d: getSvgIconPath(icon) }))));
16293
+ };
16294
+
16050
16295
  const SeeqActionDropdownItem = (item) => {
16296
+ let renderIcon = React__default.createElement(React__default.Fragment, null);
16297
+ if (item.icon) {
16298
+ renderIcon = isSvgIcon(item.icon) ? (React__default.createElement(SvgIcon, { icon: item.icon, extraClassNames: 'tw-rounded-[3px] tw-h-8 tw-w-8 tw-p-1 tw-flex tw-justify-center tw-items-center tw-bg-sq-color-dark' +
16299
+ ' dark:tw-text-sq-white tw-text-[22px] tw-text-sq-white ' +
16300
+ item.iconExtraClassNames, ...item })) : (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-rounded-[3px] tw-h-8 tw-w-8 tw-flex tw-justify-center tw-items-center tw-bg-sq-color-dark dark:tw-text-sq-white tw-text-[22px] tw-text-sq-white ' +
16301
+ item.iconExtraClassNames }));
16302
+ }
16051
16303
  return (React__default.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px] tw-pl-5 tw-w-[600px]" },
16052
16304
  React__default.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
16053
- item.icon && (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-rounded-[3px] tw-h-8 tw-w-8 tw-flex tw-justify-center tw-items-center tw-bg-sq-color-dark dark:tw-text-sq-white tw-text-[22px] tw-text-sq-white ' +
16054
- item.iconExtraClassNames })),
16305
+ renderIcon,
16055
16306
  React__default.createElement("h4", { className: "tw-text-base tw-font-[600] tw-leading-[20px] mb-0" }, item.display)),
16056
16307
  React__default.createElement("div", { className: "tw-text-[13px] tw-font-normal" }, item.text)));
16057
16308
  };
16058
16309
  const ViewWorkbench = (item) => {
16310
+ let renderIcon = React__default.createElement(React__default.Fragment, null);
16311
+ if (item.icon) {
16312
+ renderIcon = isSvgIcon(item.icon) ? (React__default.createElement(SvgIcon, { icon: item.icon, extraClassNames: 'tw-flex tw-w-5 tw-justify-center tw-items-center tw-text-[20px] dark:tw-text-sq-white' +
16313
+ ' tw-text-sq-text-color ' +
16314
+ item.iconExtraClassNames, type: "default", ...item })) : (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-flex tw-justify-center tw-items-center tw-text-[20px] dark:tw-text-sq-white' +
16315
+ ' tw-text-sq-text-color ' +
16316
+ item.iconExtraClassNames }));
16317
+ }
16059
16318
  return (React__default.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px]" },
16060
16319
  React__default.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
16061
- item.icon && (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-flex tw-justify-center tw-items-center tw-text-[20px] dark:tw-text-sq-white tw-text-sq-text-color ' +
16062
- item.iconExtraClassNames })),
16320
+ renderIcon,
16063
16321
  React__default.createElement("div", { className: "tw-text-[13px]" }, item.display))));
16064
16322
  };
16065
16323
  const InsertSeeqContent = (item) => {
@@ -16536,7 +16794,6 @@ if (process.env.NODE_ENV !== "production") {
16536
16794
  }
16537
16795
 
16538
16796
  const MotionGlobalConfig = {
16539
- skipAnimations: false,
16540
16797
  useManualTiming: false,
16541
16798
  };
16542
16799
 
@@ -16631,8 +16888,6 @@ function warnOnce(condition, message, element) {
16631
16888
  if (condition || warned.has(message))
16632
16889
  return;
16633
16890
  console.warn(message);
16634
- if (element)
16635
- console.warn(element);
16636
16891
  warned.add(message);
16637
16892
  }
16638
16893
 
@@ -16847,9 +17102,7 @@ const stepsOrder = [
16847
17102
  ];
16848
17103
 
16849
17104
  const statsBuffer = {
16850
- value: null,
16851
- addProjectionMetrics: null,
16852
- };
17105
+ value: null};
16853
17106
 
16854
17107
  function createRenderStep(runNextFrame, stepName) {
16855
17108
  /**
@@ -17004,7 +17257,7 @@ function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
17004
17257
 
17005
17258
  const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps, } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
17006
17259
 
17007
- const { schedule: microtask, cancel: cancelMicrotask } =
17260
+ const { schedule: microtask} =
17008
17261
  /* @__PURE__ */ createRenderBatcher(queueMicrotask, false);
17009
17262
 
17010
17263
  let now;
@@ -17074,15 +17327,7 @@ function resolveElements(elementOrSelector, scope, selectorCache) {
17074
17327
  }
17075
17328
  else if (typeof elementOrSelector === "string") {
17076
17329
  let root = document;
17077
- if (scope) {
17078
- // TODO: Refactor to utils package
17079
- // invariant(
17080
- // Boolean(scope.current),
17081
- // "Scope provided, but no element detected."
17082
- // )
17083
- root = scope.current;
17084
- }
17085
- const elements = (_a = selectorCache === null || selectorCache === void 0 ? void 0 : selectorCache[elementOrSelector]) !== null && _a !== void 0 ? _a : root.querySelectorAll(elementOrSelector);
17330
+ const elements = (_a = void 0 ) !== null && _a !== void 0 ? _a : root.querySelectorAll(elementOrSelector);
17086
17331
  return elements ? Array.from(elements) : [];
17087
17332
  }
17088
17333
  return Array.from(elementOrSelector);
@@ -17133,18 +17378,6 @@ function hover(elementOrSelector, onHoverStart, options = {}) {
17133
17378
  return cancel;
17134
17379
  }
17135
17380
 
17136
- function capturePointer(event, action) {
17137
- const actionName = `${action}PointerCapture`;
17138
- if (event.target instanceof Element &&
17139
- actionName in event.target &&
17140
- event.pointerId !== undefined) {
17141
- try {
17142
- event.target[actionName](event.pointerId);
17143
- }
17144
- catch (e) { }
17145
- }
17146
- }
17147
-
17148
17381
  /**
17149
17382
  * Recursively traverse up the tree to check whether the provided child node
17150
17383
  * is the parent or a descendant of it.
@@ -17260,15 +17493,13 @@ function press(targetOrSelector, onPressStart, options = {}) {
17260
17493
  const [targets, eventOptions, cancelEvents] = setupGesture(targetOrSelector, options);
17261
17494
  const startPress = (startEvent) => {
17262
17495
  const target = startEvent.currentTarget;
17263
- if (!target || !isValidPressEvent(startEvent) || isPressing.has(target))
17496
+ if (!isValidPressEvent(startEvent) || isPressing.has(target))
17264
17497
  return;
17265
17498
  isPressing.add(target);
17266
- capturePointer(startEvent, "set");
17267
17499
  const onPressEnd = onPressStart(target, startEvent);
17268
17500
  const onPointerEnd = (endEvent, success) => {
17269
- target.removeEventListener("pointerup", onPointerUp);
17270
- target.removeEventListener("pointercancel", onPointerCancel);
17271
- capturePointer(endEvent, "release");
17501
+ window.removeEventListener("pointerup", onPointerUp);
17502
+ window.removeEventListener("pointercancel", onPointerCancel);
17272
17503
  if (!isValidPressEvent(endEvent) || !isPressing.has(target)) {
17273
17504
  return;
17274
17505
  }
@@ -17278,54 +17509,30 @@ function press(targetOrSelector, onPressStart, options = {}) {
17278
17509
  }
17279
17510
  };
17280
17511
  const onPointerUp = (upEvent) => {
17281
- const isOutside = !upEvent.isTrusted
17282
- ? false
17283
- : checkOutside(upEvent, target instanceof Element
17284
- ? target.getBoundingClientRect()
17285
- : {
17286
- left: 0,
17287
- top: 0,
17288
- right: window.innerWidth,
17289
- bottom: window.innerHeight,
17290
- });
17291
- if (isOutside) {
17292
- onPointerEnd(upEvent, false);
17293
- }
17294
- else {
17295
- onPointerEnd(upEvent, !(target instanceof Element) ||
17296
- isNodeOrChild(target, upEvent.target));
17297
- }
17512
+ onPointerEnd(upEvent, target === window ||
17513
+ target === document ||
17514
+ options.useGlobalTarget ||
17515
+ isNodeOrChild(target, upEvent.target));
17298
17516
  };
17299
17517
  const onPointerCancel = (cancelEvent) => {
17300
17518
  onPointerEnd(cancelEvent, false);
17301
17519
  };
17302
- target.addEventListener("pointerup", onPointerUp, eventOptions);
17303
- target.addEventListener("pointercancel", onPointerCancel, eventOptions);
17304
- target.addEventListener("lostpointercapture", onPointerCancel, eventOptions);
17520
+ window.addEventListener("pointerup", onPointerUp, eventOptions);
17521
+ window.addEventListener("pointercancel", onPointerCancel, eventOptions);
17305
17522
  };
17306
17523
  targets.forEach((target) => {
17307
- target = options.useGlobalTarget ? window : target;
17308
- let canAddKeyboardAccessibility = false;
17524
+ const pointerDownTarget = options.useGlobalTarget ? window : target;
17525
+ pointerDownTarget.addEventListener("pointerdown", startPress, eventOptions);
17309
17526
  if (target instanceof HTMLElement) {
17310
- canAddKeyboardAccessibility = true;
17527
+ target.addEventListener("focus", (event) => enableKeyboardPress(event, eventOptions));
17311
17528
  if (!isElementKeyboardAccessible(target) &&
17312
- target.getAttribute("tabindex") === null) {
17529
+ target.tabIndex === null) {
17313
17530
  target.tabIndex = 0;
17314
17531
  }
17315
17532
  }
17316
- target.addEventListener("pointerdown", startPress, eventOptions);
17317
- if (canAddKeyboardAccessibility) {
17318
- target.addEventListener("focus", (event) => enableKeyboardPress(event, eventOptions), eventOptions);
17319
- }
17320
17533
  });
17321
17534
  return cancelEvents;
17322
17535
  }
17323
- function checkOutside(event, rect) {
17324
- return (event.clientX < rect.left ||
17325
- event.clientX > rect.right ||
17326
- event.clientY < rect.top ||
17327
- event.clientY > rect.bottom);
17328
- }
17329
17536
 
17330
17537
  /**
17331
17538
  * Maximum time between the value of two frames, beyond which we
@@ -17352,7 +17559,7 @@ class MotionValue {
17352
17559
  * This will be replaced by the build step with the latest version number.
17353
17560
  * When MotionValues are provided to motion components, warn if versions are mixed.
17354
17561
  */
17355
- this.version = "12.5.0";
17562
+ this.version = "12.6.1";
17356
17563
  /**
17357
17564
  * Tracks whether this value can output a velocity. Currently this is only true
17358
17565
  * if the value is numerical, but we might be able to widen the scope here and support
@@ -20373,7 +20580,7 @@ function findSpring({ duration = springDefaults.duration, bounce = springDefault
20373
20580
  envelope = (undampedFreq) => {
20374
20581
  const a = Math.exp(-undampedFreq * duration);
20375
20582
  const b = (undampedFreq - velocity) * duration + 1;
20376
- return -safeMin + a * b;
20583
+ return -1e-3 + a * b;
20377
20584
  };
20378
20585
  derivative = (undampedFreq) => {
20379
20586
  const a = Math.exp(-undampedFreq * duration);