@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.js CHANGED
@@ -894,7 +894,7 @@ var count = 0;
894
894
  function useId(deterministicId) {
895
895
  const [id, setId] = React__namespace.useState(useReactId());
896
896
  useLayoutEffect2(() => {
897
- if (!deterministicId) setId((reactId) => reactId ?? String(count++));
897
+ setId((reactId) => reactId ?? String(count++));
898
898
  }, [deterministicId]);
899
899
  return deterministicId || (id ? `radix-${id}` : "");
900
900
  }
@@ -3498,7 +3498,7 @@ var applyAttributeToOthers = function (originalTarget, parentNode, markerName, c
3498
3498
  var hideOthers = function (originalTarget, parentNode, markerName) {
3499
3499
  if (markerName === void 0) { markerName = 'data-aria-hidden'; }
3500
3500
  var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
3501
- var activeParentNode = parentNode || getDefaultParent(originalTarget);
3501
+ var activeParentNode = getDefaultParent(originalTarget);
3502
3502
  if (!activeParentNode) {
3503
3503
  return function () { return null; };
3504
3504
  }
@@ -3521,6 +3521,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3521
3521
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3522
3522
  PERFORMANCE OF THIS SOFTWARE.
3523
3523
  ***************************************************************************** */
3524
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
3525
+
3524
3526
 
3525
3527
  var __assign = function() {
3526
3528
  __assign = Object.assign || function __assign(t) {
@@ -3553,7 +3555,12 @@ function __spreadArray(to, from, pack) {
3553
3555
  }
3554
3556
  }
3555
3557
  return to.concat(ar || Array.prototype.slice.call(from));
3556
- }
3558
+ }
3559
+
3560
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
3561
+ var e = new Error(message);
3562
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
3563
+ };
3557
3564
 
3558
3565
  var zeroRightClassName = 'right-scroll-bar-position';
3559
3566
  var fullWidthClassName = 'width-before-scroll-bar';
@@ -3643,7 +3650,7 @@ var currentValues = new WeakMap();
3643
3650
  * }
3644
3651
  */
3645
3652
  function useMergeRefs(refs, defaultValue) {
3646
- var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {
3653
+ var callbackRef = useCallbackRef(null, function (newValue) {
3647
3654
  return refs.forEach(function (ref) { return assignRef(ref, newValue); });
3648
3655
  });
3649
3656
  // handle refs changes - added or removed
@@ -3768,7 +3775,7 @@ var nothing = function () {
3768
3775
  /**
3769
3776
  * Removes scrollbar from the page and contain the scroll within the Lock
3770
3777
  */
3771
- var RemoveScroll$1 = React__namespace.forwardRef(function (props, parentRef) {
3778
+ var RemoveScroll = React__namespace.forwardRef(function (props, parentRef) {
3772
3779
  var ref = React__namespace.useRef(null);
3773
3780
  var _a = React__namespace.useState({
3774
3781
  onScrollCapture: nothing,
@@ -3783,21 +3790,17 @@ var RemoveScroll$1 = React__namespace.forwardRef(function (props, parentRef) {
3783
3790
  enabled && (React__namespace.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),
3784
3791
  forwardProps ? (React__namespace.cloneElement(React__namespace.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React__namespace.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));
3785
3792
  });
3786
- RemoveScroll$1.defaultProps = {
3793
+ RemoveScroll.defaultProps = {
3787
3794
  enabled: true,
3788
3795
  removeScrollBar: true,
3789
3796
  inert: false,
3790
3797
  };
3791
- RemoveScroll$1.classNames = {
3798
+ RemoveScroll.classNames = {
3792
3799
  fullWidth: fullWidthClassName,
3793
3800
  zeroRight: zeroRightClassName,
3794
3801
  };
3795
3802
 
3796
- var currentNonce;
3797
3803
  var getNonce = function () {
3798
- if (currentNonce) {
3799
- return currentNonce;
3800
- }
3801
3804
  if (typeof __webpack_nonce__ !== 'undefined') {
3802
3805
  return __webpack_nonce__;
3803
3806
  }
@@ -4087,11 +4090,11 @@ var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll)
4087
4090
  (targetInLock && (endTarget.contains(target) || endTarget === target)));
4088
4091
  // handle epsilon around 0 (non standard zoom levels)
4089
4092
  if (isDeltaPositive &&
4090
- ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {
4093
+ ((Math.abs(availableScroll) < 1) || (false))) {
4091
4094
  shouldCancelScroll = true;
4092
4095
  }
4093
4096
  else if (!isDeltaPositive &&
4094
- ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {
4097
+ ((Math.abs(availableScrollTop) < 1) || (false))) {
4095
4098
  shouldCancelScroll = true;
4096
4099
  }
4097
4100
  return shouldCancelScroll;
@@ -4167,7 +4170,7 @@ function RemoveScrollSideCar(props) {
4167
4170
  return true;
4168
4171
  }
4169
4172
  var cancelingAxis = activeAxis.current || currentAxis;
4170
- return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);
4173
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY);
4171
4174
  }, []);
4172
4175
  var shouldPrevent = React__namespace.useCallback(function (_event) {
4173
4176
  var event = _event;
@@ -4251,9 +4254,8 @@ function getOutermostShadowParent(node) {
4251
4254
 
4252
4255
  var SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
4253
4256
 
4254
- var ReactRemoveScroll = React__namespace.forwardRef(function (props, ref) { return (React__namespace.createElement(RemoveScroll$1, __assign({}, props, { ref: ref, sideCar: SideCar }))); });
4255
- ReactRemoveScroll.classNames = RemoveScroll$1.classNames;
4256
- var RemoveScroll = ReactRemoveScroll;
4257
+ var ReactRemoveScroll = React__namespace.forwardRef(function (props, ref) { return (React__namespace.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });
4258
+ ReactRemoveScroll.classNames = RemoveScroll.classNames;
4257
4259
 
4258
4260
  var POPOVER_NAME = "Popover";
4259
4261
  var [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [
@@ -4365,7 +4367,7 @@ var PopoverContentModal = React__namespace.forwardRef(
4365
4367
  const content = contentRef.current;
4366
4368
  if (content) return hideOthers(content);
4367
4369
  }, []);
4368
- return /* @__PURE__ */ jsxRuntime.jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsxRuntime.jsx(
4370
+ return /* @__PURE__ */ jsxRuntime.jsx(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsxRuntime.jsx(
4369
4371
  PopoverContentImpl,
4370
4372
  {
4371
4373
  ...props,
@@ -4791,7 +4793,7 @@ const Tooltip = ({ position = 'bottom', children, text, delay = DEFAULT_TOOL_TIP
4791
4793
  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)));
4792
4794
  };
4793
4795
 
4794
- /*! @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 */
4796
+ /*! @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 */
4795
4797
 
4796
4798
  const {
4797
4799
  entries,
@@ -4830,8 +4832,10 @@ if (!construct) {
4830
4832
  };
4831
4833
  }
4832
4834
  const arrayForEach = unapply(Array.prototype.forEach);
4835
+ const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
4833
4836
  const arrayPop = unapply(Array.prototype.pop);
4834
4837
  const arrayPush = unapply(Array.prototype.push);
4838
+ const arraySplice = unapply(Array.prototype.splice);
4835
4839
  const stringToLowerCase = unapply(String.prototype.toLowerCase);
4836
4840
  const stringToString = unapply(String.prototype.toString);
4837
4841
  const stringMatch = unapply(String.prototype.match);
@@ -4849,6 +4853,9 @@ const typeErrorCreate = unconstruct(TypeError);
4849
4853
  */
4850
4854
  function unapply(func) {
4851
4855
  return function (thisArg) {
4856
+ if (thisArg instanceof RegExp) {
4857
+ thisArg.lastIndex = 0;
4858
+ }
4852
4859
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
4853
4860
  args[_key - 1] = arguments[_key];
4854
4861
  }
@@ -4987,7 +4994,7 @@ const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:x
4987
4994
  // eslint-disable-next-line unicorn/better-regex
4988
4995
  const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
4989
4996
  const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
4990
- const TMPLIT_EXPR = seal(/\$\{[\w\W]*}/gm); // eslint-disable-line unicorn/better-regex
4997
+ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex
4991
4998
  const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape
4992
4999
  const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
4993
5000
  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
@@ -5016,20 +5023,11 @@ var EXPRESSIONS = /*#__PURE__*/Object.freeze({
5016
5023
  // https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
5017
5024
  const NODE_TYPE = {
5018
5025
  element: 1,
5019
- attribute: 2,
5020
5026
  text: 3,
5021
- cdataSection: 4,
5022
- entityReference: 5,
5023
- // Deprecated
5024
- entityNode: 6,
5025
5027
  // Deprecated
5026
5028
  progressingInstruction: 7,
5027
5029
  comment: 8,
5028
- document: 9,
5029
- documentType: 10,
5030
- documentFragment: 11,
5031
- notation: 12 // Deprecated
5032
- };
5030
+ document: 9};
5033
5031
  const getGlobal = function getGlobal() {
5034
5032
  return typeof window === 'undefined' ? null : window;
5035
5033
  };
@@ -5087,9 +5085,9 @@ const _createHooksMap = function _createHooksMap() {
5087
5085
  function createDOMPurify() {
5088
5086
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
5089
5087
  const DOMPurify = root => createDOMPurify(root);
5090
- DOMPurify.version = '3.2.3';
5088
+ DOMPurify.version = '3.2.5';
5091
5089
  DOMPurify.removed = [];
5092
- if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document) {
5090
+ if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
5093
5091
  // Not running in a browser, provide a factory function
5094
5092
  // so that you can pass your own Window
5095
5093
  DOMPurify.isSupported = false;
@@ -5692,7 +5690,7 @@ function createDOMPurify() {
5692
5690
  allowedTags: ALLOWED_TAGS
5693
5691
  });
5694
5692
  /* Detect mXSS attempts abusing namespace confusion */
5695
- if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
5693
+ if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
5696
5694
  _forceRemove(currentNode);
5697
5695
  return true;
5698
5696
  }
@@ -6108,7 +6106,11 @@ function createDOMPurify() {
6108
6106
  }
6109
6107
  arrayPush(hooks[entryPoint], hookFunction);
6110
6108
  };
6111
- DOMPurify.removeHook = function (entryPoint) {
6109
+ DOMPurify.removeHook = function (entryPoint, hookFunction) {
6110
+ if (hookFunction !== undefined) {
6111
+ const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
6112
+ return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];
6113
+ }
6112
6114
  return arrayPop(hooks[entryPoint]);
6113
6115
  };
6114
6116
  DOMPurify.removeHooks = function (entryPoint) {
@@ -6121,41 +6123,762 @@ function createDOMPurify() {
6121
6123
  }
6122
6124
  var purify = createDOMPurify();
6123
6125
 
6124
- const noop$2 = () => { };
6126
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6125
6127
 
6126
- /**
6127
- * A setInterval hook that calls a callback after a interval duration
6128
- * when a condition is true
6129
- *
6130
- * @param callback The callback to be invoked after interval
6131
- * @param intervalDurationMs Amount of time in ms after which to invoke
6132
- * @param when The condition which when true, sets the interval
6133
- * @param startImmediate If the callback should be invoked immediately
6134
- * @see https://rooks.vercel.app/docs/useIntervalWhen
6135
- */
6136
- function useIntervalWhen(callback, intervalDurationMs = 0, when = true, startImmediate = false) {
6137
- const savedRefCallback = React.useRef();
6138
- React.useEffect(() => {
6139
- savedRefCallback.current = callback;
6140
- });
6141
- React.useEffect(() => {
6142
- if (when) {
6143
- function internalCallback() {
6144
- var _a;
6145
- (_a = savedRefCallback.current) === null || _a === void 0 ? void 0 : _a.call(savedRefCallback);
6146
- }
6147
- if (startImmediate) {
6148
- internalCallback();
6149
- }
6150
- const interval = window.setInterval(internalCallback, intervalDurationMs);
6151
- return () => {
6152
- window.clearInterval(interval);
6153
- };
6154
- }
6155
- return noop$2;
6156
- }, [when, intervalDurationMs, startImmediate]);
6128
+ function getDefaultExportFromCjs (x) {
6129
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
6130
+ }
6131
+
6132
+ /**
6133
+ * lodash (Custom Build) <https://lodash.com/>
6134
+ * Build: `lodash modularize exports="npm" -o ./`
6135
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
6136
+ * Released under MIT license <https://lodash.com/license>
6137
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
6138
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
6139
+ */
6140
+
6141
+ var lodash_debounce;
6142
+ var hasRequiredLodash_debounce;
6143
+
6144
+ function requireLodash_debounce () {
6145
+ if (hasRequiredLodash_debounce) return lodash_debounce;
6146
+ hasRequiredLodash_debounce = 1;
6147
+ /** Used as the `TypeError` message for "Functions" methods. */
6148
+ var FUNC_ERROR_TEXT = 'Expected a function';
6149
+
6150
+ /** Used as references for various `Number` constants. */
6151
+ var NAN = 0 / 0;
6152
+
6153
+ /** `Object#toString` result references. */
6154
+ var symbolTag = '[object Symbol]';
6155
+
6156
+ /** Used to match leading and trailing whitespace. */
6157
+ var reTrim = /^\s+|\s+$/g;
6158
+
6159
+ /** Used to detect bad signed hexadecimal string values. */
6160
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
6161
+
6162
+ /** Used to detect binary string values. */
6163
+ var reIsBinary = /^0b[01]+$/i;
6164
+
6165
+ /** Used to detect octal string values. */
6166
+ var reIsOctal = /^0o[0-7]+$/i;
6167
+
6168
+ /** Built-in method references without a dependency on `root`. */
6169
+ var freeParseInt = parseInt;
6170
+
6171
+ /** Detect free variable `global` from Node.js. */
6172
+ var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
6173
+
6174
+ /** Detect free variable `self`. */
6175
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
6176
+
6177
+ /** Used as a reference to the global object. */
6178
+ var root = freeGlobal || freeSelf || Function('return this')();
6179
+
6180
+ /** Used for built-in method references. */
6181
+ var objectProto = Object.prototype;
6182
+
6183
+ /**
6184
+ * Used to resolve the
6185
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
6186
+ * of values.
6187
+ */
6188
+ var objectToString = objectProto.toString;
6189
+
6190
+ /* Built-in method references for those with the same name as other `lodash` methods. */
6191
+ var nativeMax = Math.max,
6192
+ nativeMin = Math.min;
6193
+
6194
+ /**
6195
+ * Gets the timestamp of the number of milliseconds that have elapsed since
6196
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
6197
+ *
6198
+ * @static
6199
+ * @memberOf _
6200
+ * @since 2.4.0
6201
+ * @category Date
6202
+ * @returns {number} Returns the timestamp.
6203
+ * @example
6204
+ *
6205
+ * _.defer(function(stamp) {
6206
+ * console.log(_.now() - stamp);
6207
+ * }, _.now());
6208
+ * // => Logs the number of milliseconds it took for the deferred invocation.
6209
+ */
6210
+ var now = function() {
6211
+ return root.Date.now();
6212
+ };
6213
+
6214
+ /**
6215
+ * Creates a debounced function that delays invoking `func` until after `wait`
6216
+ * milliseconds have elapsed since the last time the debounced function was
6217
+ * invoked. The debounced function comes with a `cancel` method to cancel
6218
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
6219
+ * Provide `options` to indicate whether `func` should be invoked on the
6220
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
6221
+ * with the last arguments provided to the debounced function. Subsequent
6222
+ * calls to the debounced function return the result of the last `func`
6223
+ * invocation.
6224
+ *
6225
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
6226
+ * invoked on the trailing edge of the timeout only if the debounced function
6227
+ * is invoked more than once during the `wait` timeout.
6228
+ *
6229
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
6230
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
6231
+ *
6232
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
6233
+ * for details over the differences between `_.debounce` and `_.throttle`.
6234
+ *
6235
+ * @static
6236
+ * @memberOf _
6237
+ * @since 0.1.0
6238
+ * @category Function
6239
+ * @param {Function} func The function to debounce.
6240
+ * @param {number} [wait=0] The number of milliseconds to delay.
6241
+ * @param {Object} [options={}] The options object.
6242
+ * @param {boolean} [options.leading=false]
6243
+ * Specify invoking on the leading edge of the timeout.
6244
+ * @param {number} [options.maxWait]
6245
+ * The maximum time `func` is allowed to be delayed before it's invoked.
6246
+ * @param {boolean} [options.trailing=true]
6247
+ * Specify invoking on the trailing edge of the timeout.
6248
+ * @returns {Function} Returns the new debounced function.
6249
+ * @example
6250
+ *
6251
+ * // Avoid costly calculations while the window size is in flux.
6252
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
6253
+ *
6254
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
6255
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
6256
+ * 'leading': true,
6257
+ * 'trailing': false
6258
+ * }));
6259
+ *
6260
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
6261
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
6262
+ * var source = new EventSource('/stream');
6263
+ * jQuery(source).on('message', debounced);
6264
+ *
6265
+ * // Cancel the trailing debounced invocation.
6266
+ * jQuery(window).on('popstate', debounced.cancel);
6267
+ */
6268
+ function debounce(func, wait, options) {
6269
+ var lastArgs,
6270
+ lastThis,
6271
+ maxWait,
6272
+ result,
6273
+ timerId,
6274
+ lastCallTime,
6275
+ lastInvokeTime = 0,
6276
+ leading = false,
6277
+ maxing = false,
6278
+ trailing = true;
6279
+
6280
+ if (typeof func != 'function') {
6281
+ throw new TypeError(FUNC_ERROR_TEXT);
6282
+ }
6283
+ wait = toNumber(wait) || 0;
6284
+ if (isObject(options)) {
6285
+ leading = !!options.leading;
6286
+ maxing = 'maxWait' in options;
6287
+ maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
6288
+ trailing = 'trailing' in options ? !!options.trailing : trailing;
6289
+ }
6290
+
6291
+ function invokeFunc(time) {
6292
+ var args = lastArgs,
6293
+ thisArg = lastThis;
6294
+
6295
+ lastArgs = lastThis = undefined;
6296
+ lastInvokeTime = time;
6297
+ result = func.apply(thisArg, args);
6298
+ return result;
6299
+ }
6300
+
6301
+ function leadingEdge(time) {
6302
+ // Reset any `maxWait` timer.
6303
+ lastInvokeTime = time;
6304
+ // Start the timer for the trailing edge.
6305
+ timerId = setTimeout(timerExpired, wait);
6306
+ // Invoke the leading edge.
6307
+ return leading ? invokeFunc(time) : result;
6308
+ }
6309
+
6310
+ function remainingWait(time) {
6311
+ var timeSinceLastCall = time - lastCallTime,
6312
+ timeSinceLastInvoke = time - lastInvokeTime,
6313
+ result = wait - timeSinceLastCall;
6314
+
6315
+ return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
6316
+ }
6317
+
6318
+ function shouldInvoke(time) {
6319
+ var timeSinceLastCall = time - lastCallTime,
6320
+ timeSinceLastInvoke = time - lastInvokeTime;
6321
+
6322
+ // Either this is the first call, activity has stopped and we're at the
6323
+ // trailing edge, the system time has gone backwards and we're treating
6324
+ // it as the trailing edge, or we've hit the `maxWait` limit.
6325
+ return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
6326
+ (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
6327
+ }
6328
+
6329
+ function timerExpired() {
6330
+ var time = now();
6331
+ if (shouldInvoke(time)) {
6332
+ return trailingEdge(time);
6333
+ }
6334
+ // Restart the timer.
6335
+ timerId = setTimeout(timerExpired, remainingWait(time));
6336
+ }
6337
+
6338
+ function trailingEdge(time) {
6339
+ timerId = undefined;
6340
+
6341
+ // Only invoke if we have `lastArgs` which means `func` has been
6342
+ // debounced at least once.
6343
+ if (trailing && lastArgs) {
6344
+ return invokeFunc(time);
6345
+ }
6346
+ lastArgs = lastThis = undefined;
6347
+ return result;
6348
+ }
6349
+
6350
+ function cancel() {
6351
+ if (timerId !== undefined) {
6352
+ clearTimeout(timerId);
6353
+ }
6354
+ lastInvokeTime = 0;
6355
+ lastArgs = lastCallTime = lastThis = timerId = undefined;
6356
+ }
6357
+
6358
+ function flush() {
6359
+ return timerId === undefined ? result : trailingEdge(now());
6360
+ }
6361
+
6362
+ function debounced() {
6363
+ var time = now(),
6364
+ isInvoking = shouldInvoke(time);
6365
+
6366
+ lastArgs = arguments;
6367
+ lastThis = this;
6368
+ lastCallTime = time;
6369
+
6370
+ if (isInvoking) {
6371
+ if (timerId === undefined) {
6372
+ return leadingEdge(lastCallTime);
6373
+ }
6374
+ if (maxing) {
6375
+ // Handle invocations in a tight loop.
6376
+ timerId = setTimeout(timerExpired, wait);
6377
+ return invokeFunc(lastCallTime);
6378
+ }
6379
+ }
6380
+ if (timerId === undefined) {
6381
+ timerId = setTimeout(timerExpired, wait);
6382
+ }
6383
+ return result;
6384
+ }
6385
+ debounced.cancel = cancel;
6386
+ debounced.flush = flush;
6387
+ return debounced;
6388
+ }
6389
+
6390
+ /**
6391
+ * Checks if `value` is the
6392
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
6393
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
6394
+ *
6395
+ * @static
6396
+ * @memberOf _
6397
+ * @since 0.1.0
6398
+ * @category Lang
6399
+ * @param {*} value The value to check.
6400
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
6401
+ * @example
6402
+ *
6403
+ * _.isObject({});
6404
+ * // => true
6405
+ *
6406
+ * _.isObject([1, 2, 3]);
6407
+ * // => true
6408
+ *
6409
+ * _.isObject(_.noop);
6410
+ * // => true
6411
+ *
6412
+ * _.isObject(null);
6413
+ * // => false
6414
+ */
6415
+ function isObject(value) {
6416
+ var type = typeof value;
6417
+ return !!value && (type == 'object' || type == 'function');
6418
+ }
6419
+
6420
+ /**
6421
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
6422
+ * and has a `typeof` result of "object".
6423
+ *
6424
+ * @static
6425
+ * @memberOf _
6426
+ * @since 4.0.0
6427
+ * @category Lang
6428
+ * @param {*} value The value to check.
6429
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
6430
+ * @example
6431
+ *
6432
+ * _.isObjectLike({});
6433
+ * // => true
6434
+ *
6435
+ * _.isObjectLike([1, 2, 3]);
6436
+ * // => true
6437
+ *
6438
+ * _.isObjectLike(_.noop);
6439
+ * // => false
6440
+ *
6441
+ * _.isObjectLike(null);
6442
+ * // => false
6443
+ */
6444
+ function isObjectLike(value) {
6445
+ return !!value && typeof value == 'object';
6446
+ }
6447
+
6448
+ /**
6449
+ * Checks if `value` is classified as a `Symbol` primitive or object.
6450
+ *
6451
+ * @static
6452
+ * @memberOf _
6453
+ * @since 4.0.0
6454
+ * @category Lang
6455
+ * @param {*} value The value to check.
6456
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
6457
+ * @example
6458
+ *
6459
+ * _.isSymbol(Symbol.iterator);
6460
+ * // => true
6461
+ *
6462
+ * _.isSymbol('abc');
6463
+ * // => false
6464
+ */
6465
+ function isSymbol(value) {
6466
+ return typeof value == 'symbol' ||
6467
+ (isObjectLike(value) && objectToString.call(value) == symbolTag);
6468
+ }
6469
+
6470
+ /**
6471
+ * Converts `value` to a number.
6472
+ *
6473
+ * @static
6474
+ * @memberOf _
6475
+ * @since 4.0.0
6476
+ * @category Lang
6477
+ * @param {*} value The value to process.
6478
+ * @returns {number} Returns the number.
6479
+ * @example
6480
+ *
6481
+ * _.toNumber(3.2);
6482
+ * // => 3.2
6483
+ *
6484
+ * _.toNumber(Number.MIN_VALUE);
6485
+ * // => 5e-324
6486
+ *
6487
+ * _.toNumber(Infinity);
6488
+ * // => Infinity
6489
+ *
6490
+ * _.toNumber('3.2');
6491
+ * // => 3.2
6492
+ */
6493
+ function toNumber(value) {
6494
+ if (typeof value == 'number') {
6495
+ return value;
6496
+ }
6497
+ if (isSymbol(value)) {
6498
+ return NAN;
6499
+ }
6500
+ if (isObject(value)) {
6501
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
6502
+ value = isObject(other) ? (other + '') : other;
6503
+ }
6504
+ if (typeof value != 'string') {
6505
+ return value === 0 ? value : +value;
6506
+ }
6507
+ value = value.replace(reTrim, '');
6508
+ var isBinary = reIsBinary.test(value);
6509
+ return (isBinary || reIsOctal.test(value))
6510
+ ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
6511
+ : (reIsBadHex.test(value) ? NAN : +value);
6512
+ }
6513
+
6514
+ lodash_debounce = debounce;
6515
+ return lodash_debounce;
6516
+ }
6517
+
6518
+ requireLodash_debounce();
6519
+
6520
+ var shim = {exports: {}};
6521
+
6522
+ var useSyncExternalStoreShim_production = {};
6523
+
6524
+ /**
6525
+ * @license React
6526
+ * use-sync-external-store-shim.production.js
6527
+ *
6528
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6529
+ *
6530
+ * This source code is licensed under the MIT license found in the
6531
+ * LICENSE file in the root directory of this source tree.
6532
+ */
6533
+
6534
+ var hasRequiredUseSyncExternalStoreShim_production;
6535
+
6536
+ function requireUseSyncExternalStoreShim_production () {
6537
+ if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
6538
+ hasRequiredUseSyncExternalStoreShim_production = 1;
6539
+ var React$1 = React;
6540
+ function is(x, y) {
6541
+ return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
6542
+ }
6543
+ var objectIs = "function" === typeof Object.is ? Object.is : is,
6544
+ useState = React$1.useState,
6545
+ useEffect = React$1.useEffect,
6546
+ useLayoutEffect = React$1.useLayoutEffect,
6547
+ useDebugValue = React$1.useDebugValue;
6548
+ function useSyncExternalStore$2(subscribe, getSnapshot) {
6549
+ var value = getSnapshot(),
6550
+ _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),
6551
+ inst = _useState[0].inst,
6552
+ forceUpdate = _useState[1];
6553
+ useLayoutEffect(
6554
+ function () {
6555
+ inst.value = value;
6556
+ inst.getSnapshot = getSnapshot;
6557
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6558
+ },
6559
+ [subscribe, value, getSnapshot]
6560
+ );
6561
+ useEffect(
6562
+ function () {
6563
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6564
+ return subscribe(function () {
6565
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6566
+ });
6567
+ },
6568
+ [subscribe]
6569
+ );
6570
+ useDebugValue(value);
6571
+ return value;
6572
+ }
6573
+ function checkIfSnapshotChanged(inst) {
6574
+ var latestGetSnapshot = inst.getSnapshot;
6575
+ inst = inst.value;
6576
+ try {
6577
+ var nextValue = latestGetSnapshot();
6578
+ return !objectIs(inst, nextValue);
6579
+ } catch (error) {
6580
+ return true;
6581
+ }
6582
+ }
6583
+ function useSyncExternalStore$1(subscribe, getSnapshot) {
6584
+ return getSnapshot();
6585
+ }
6586
+ var shim =
6587
+ "undefined" === typeof window ||
6588
+ "undefined" === typeof window.document ||
6589
+ "undefined" === typeof window.document.createElement
6590
+ ? useSyncExternalStore$1
6591
+ : useSyncExternalStore$2;
6592
+ useSyncExternalStoreShim_production.useSyncExternalStore =
6593
+ void 0 !== React$1.useSyncExternalStore ? React$1.useSyncExternalStore : shim;
6594
+ return useSyncExternalStoreShim_production;
6595
+ }
6596
+
6597
+ var useSyncExternalStoreShim_development = {};
6598
+
6599
+ /**
6600
+ * @license React
6601
+ * use-sync-external-store-shim.development.js
6602
+ *
6603
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6604
+ *
6605
+ * This source code is licensed under the MIT license found in the
6606
+ * LICENSE file in the root directory of this source tree.
6607
+ */
6608
+
6609
+ var hasRequiredUseSyncExternalStoreShim_development;
6610
+
6611
+ function requireUseSyncExternalStoreShim_development () {
6612
+ if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
6613
+ hasRequiredUseSyncExternalStoreShim_development = 1;
6614
+ "production" !== process.env.NODE_ENV &&
6615
+ (function () {
6616
+ function is(x, y) {
6617
+ return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
6618
+ }
6619
+ function useSyncExternalStore$2(subscribe, getSnapshot) {
6620
+ didWarnOld18Alpha ||
6621
+ void 0 === React$1.startTransition ||
6622
+ ((didWarnOld18Alpha = true),
6623
+ console.error(
6624
+ "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."
6625
+ ));
6626
+ var value = getSnapshot();
6627
+ if (!didWarnUncachedGetSnapshot) {
6628
+ var cachedValue = getSnapshot();
6629
+ objectIs(value, cachedValue) ||
6630
+ (console.error(
6631
+ "The result of getSnapshot should be cached to avoid an infinite loop"
6632
+ ),
6633
+ (didWarnUncachedGetSnapshot = true));
6634
+ }
6635
+ cachedValue = useState({
6636
+ inst: { value: value, getSnapshot: getSnapshot }
6637
+ });
6638
+ var inst = cachedValue[0].inst,
6639
+ forceUpdate = cachedValue[1];
6640
+ useLayoutEffect(
6641
+ function () {
6642
+ inst.value = value;
6643
+ inst.getSnapshot = getSnapshot;
6644
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6645
+ },
6646
+ [subscribe, value, getSnapshot]
6647
+ );
6648
+ useEffect(
6649
+ function () {
6650
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6651
+ return subscribe(function () {
6652
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6653
+ });
6654
+ },
6655
+ [subscribe]
6656
+ );
6657
+ useDebugValue(value);
6658
+ return value;
6659
+ }
6660
+ function checkIfSnapshotChanged(inst) {
6661
+ var latestGetSnapshot = inst.getSnapshot;
6662
+ inst = inst.value;
6663
+ try {
6664
+ var nextValue = latestGetSnapshot();
6665
+ return !objectIs(inst, nextValue);
6666
+ } catch (error) {
6667
+ return true;
6668
+ }
6669
+ }
6670
+ function useSyncExternalStore$1(subscribe, getSnapshot) {
6671
+ return getSnapshot();
6672
+ }
6673
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
6674
+ "function" ===
6675
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
6676
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
6677
+ var React$1 = React,
6678
+ objectIs = "function" === typeof Object.is ? Object.is : is,
6679
+ useState = React$1.useState,
6680
+ useEffect = React$1.useEffect,
6681
+ useLayoutEffect = React$1.useLayoutEffect,
6682
+ useDebugValue = React$1.useDebugValue,
6683
+ didWarnOld18Alpha = false,
6684
+ didWarnUncachedGetSnapshot = false,
6685
+ shim =
6686
+ "undefined" === typeof window ||
6687
+ "undefined" === typeof window.document ||
6688
+ "undefined" === typeof window.document.createElement
6689
+ ? useSyncExternalStore$1
6690
+ : useSyncExternalStore$2;
6691
+ useSyncExternalStoreShim_development.useSyncExternalStore =
6692
+ void 0 !== React$1.useSyncExternalStore ? React$1.useSyncExternalStore : shim;
6693
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
6694
+ "function" ===
6695
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
6696
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
6697
+ })();
6698
+ return useSyncExternalStoreShim_development;
6157
6699
  }
6158
6700
 
6701
+ var hasRequiredShim;
6702
+
6703
+ function requireShim () {
6704
+ if (hasRequiredShim) return shim.exports;
6705
+ hasRequiredShim = 1;
6706
+
6707
+ if (process.env.NODE_ENV === 'production') {
6708
+ shim.exports = requireUseSyncExternalStoreShim_production();
6709
+ } else {
6710
+ shim.exports = requireUseSyncExternalStoreShim_development();
6711
+ }
6712
+ return shim.exports;
6713
+ }
6714
+
6715
+ requireShim();
6716
+
6717
+ var raf = {exports: {}};
6718
+
6719
+ var performanceNow$1 = {exports: {}};
6720
+
6721
+ var performanceNow = performanceNow$1.exports;
6722
+
6723
+ var hasRequiredPerformanceNow;
6724
+
6725
+ function requirePerformanceNow () {
6726
+ if (hasRequiredPerformanceNow) return performanceNow$1.exports;
6727
+ hasRequiredPerformanceNow = 1;
6728
+ // Generated by CoffeeScript 1.12.2
6729
+ (function() {
6730
+ var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;
6731
+
6732
+ if ((typeof performance !== "undefined" && performance !== null) && performance.now) {
6733
+ performanceNow$1.exports = function() {
6734
+ return performance.now();
6735
+ };
6736
+ } else if ((typeof process !== "undefined" && process !== null) && process.hrtime) {
6737
+ performanceNow$1.exports = function() {
6738
+ return (getNanoSeconds() - nodeLoadTime) / 1e6;
6739
+ };
6740
+ hrtime = process.hrtime;
6741
+ getNanoSeconds = function() {
6742
+ var hr;
6743
+ hr = hrtime();
6744
+ return hr[0] * 1e9 + hr[1];
6745
+ };
6746
+ moduleLoadTime = getNanoSeconds();
6747
+ upTime = process.uptime() * 1e9;
6748
+ nodeLoadTime = moduleLoadTime - upTime;
6749
+ } else if (Date.now) {
6750
+ performanceNow$1.exports = function() {
6751
+ return Date.now() - loadTime;
6752
+ };
6753
+ loadTime = Date.now();
6754
+ } else {
6755
+ performanceNow$1.exports = function() {
6756
+ return new Date().getTime() - loadTime;
6757
+ };
6758
+ loadTime = new Date().getTime();
6759
+ }
6760
+
6761
+ }).call(performanceNow);
6762
+
6763
+
6764
+ return performanceNow$1.exports;
6765
+ }
6766
+
6767
+ var hasRequiredRaf;
6768
+
6769
+ function requireRaf () {
6770
+ if (hasRequiredRaf) return raf.exports;
6771
+ hasRequiredRaf = 1;
6772
+ var now = requirePerformanceNow()
6773
+ , root = typeof window === 'undefined' ? commonjsGlobal : window
6774
+ , vendors = ['moz', 'webkit']
6775
+ , suffix = 'AnimationFrame'
6776
+ , raf$1 = root['request' + suffix]
6777
+ , caf = root['cancel' + suffix] || root['cancelRequest' + suffix];
6778
+
6779
+ for(var i = 0; !raf$1 && i < vendors.length; i++) {
6780
+ raf$1 = root[vendors[i] + 'Request' + suffix];
6781
+ caf = root[vendors[i] + 'Cancel' + suffix]
6782
+ || root[vendors[i] + 'CancelRequest' + suffix];
6783
+ }
6784
+
6785
+ // Some versions of FF have rAF but not cAF
6786
+ if(!raf$1 || !caf) {
6787
+ var last = 0
6788
+ , id = 0
6789
+ , queue = []
6790
+ , frameDuration = 1000 / 60;
6791
+
6792
+ raf$1 = function(callback) {
6793
+ if(queue.length === 0) {
6794
+ var _now = now()
6795
+ , next = Math.max(0, frameDuration - (_now - last));
6796
+ last = next + _now;
6797
+ setTimeout(function() {
6798
+ var cp = queue.slice(0);
6799
+ // Clear queue here to prevent
6800
+ // callbacks from appending listeners
6801
+ // to the current frame's queue
6802
+ queue.length = 0;
6803
+ for(var i = 0; i < cp.length; i++) {
6804
+ if(!cp[i].cancelled) {
6805
+ try{
6806
+ cp[i].callback(last);
6807
+ } catch(e) {
6808
+ setTimeout(function() { throw e }, 0);
6809
+ }
6810
+ }
6811
+ }
6812
+ }, Math.round(next));
6813
+ }
6814
+ queue.push({
6815
+ handle: ++id,
6816
+ callback: callback,
6817
+ cancelled: false
6818
+ });
6819
+ return id
6820
+ };
6821
+
6822
+ caf = function(handle) {
6823
+ for(var i = 0; i < queue.length; i++) {
6824
+ if(queue[i].handle === handle) {
6825
+ queue[i].cancelled = true;
6826
+ }
6827
+ }
6828
+ };
6829
+ }
6830
+
6831
+ raf.exports = function(fn) {
6832
+ // Wrap in a new function to prevent
6833
+ // `cancel` potentially being assigned
6834
+ // to the native rAF function
6835
+ return raf$1.call(root, fn)
6836
+ };
6837
+ raf.exports.cancel = function() {
6838
+ caf.apply(root, arguments);
6839
+ };
6840
+ raf.exports.polyfill = function(object) {
6841
+ if (!object) {
6842
+ object = root;
6843
+ }
6844
+ object.requestAnimationFrame = raf$1;
6845
+ object.cancelAnimationFrame = caf;
6846
+ };
6847
+ return raf.exports;
6848
+ }
6849
+
6850
+ requireRaf();
6851
+
6852
+ // src/hooks/useOnLongHover.ts
6853
+
6854
+ // src/utils/noop.ts
6855
+ var noop$2 = () => {
6856
+ };
6857
+ function useIntervalWhen(callback, intervalDurationMs = 0, when = true, startImmediate = false) {
6858
+ const savedRefCallback = React.useRef(void 0);
6859
+ React.useEffect(() => {
6860
+ savedRefCallback.current = callback;
6861
+ });
6862
+ React.useEffect(() => {
6863
+ if (when) {
6864
+ let internalCallback2 = function() {
6865
+ savedRefCallback.current?.();
6866
+ };
6867
+ if (startImmediate) {
6868
+ internalCallback2();
6869
+ }
6870
+ const interval = window.setInterval(internalCallback2, intervalDurationMs);
6871
+ return () => {
6872
+ window.clearInterval(interval);
6873
+ };
6874
+ }
6875
+ return noop$2;
6876
+ }, [when, intervalDurationMs, startImmediate]);
6877
+ }
6878
+
6879
+ // src/hooks/warning.ts
6880
+ process.env.NODE_ENV !== "production";
6881
+
6159
6882
  const getArrowStyle = (position, x, arrowWidth, tooltipHeight, tooltipWidth) => {
6160
6883
  switch (position) {
6161
6884
  case 'bottom':
@@ -6240,7 +6963,7 @@ const QTip = () => {
6240
6963
  !suppressTooltip() && document.removeEventListener('mousemove', onMouseMove);
6241
6964
  };
6242
6965
  }, []);
6243
- const ttTimeout = React.useRef();
6966
+ const ttTimeout = React.useRef(null);
6244
6967
  const findTooltipData = (element) => {
6245
6968
  // Traverse up to 8 levels to find the tooltip data
6246
6969
  for (let i = 0; i < 8 && element; i++) {
@@ -6255,7 +6978,9 @@ const QTip = () => {
6255
6978
  return null;
6256
6979
  };
6257
6980
  const onMouseMove = (e) => {
6258
- clearTimeout(ttTimeout.current);
6981
+ if (ttTimeout.current) {
6982
+ clearTimeout(ttTimeout.current);
6983
+ }
6259
6984
  // Find tooltip data on the current or parent elements
6260
6985
  const target = e.target;
6261
6986
  const dataset = findTooltipData(target);
@@ -6319,154 +7044,140 @@ const QTip = () => {
6319
7044
  React.createElement("div", { className: "tw-absolute tw-w-[10px] tw-h-[10px] tw-rotate-45 tw-bg-black", ref: tooltipArrowRef }))));
6320
7045
  };
6321
7046
 
6322
- function _typeof$1(obj) {
7047
+ function _typeof$1(o) {
6323
7048
  "@babel/helpers - typeof";
6324
7049
 
6325
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
6326
- return typeof obj;
6327
- } : function (obj) {
6328
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
6329
- }, _typeof$1(obj);
7050
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
7051
+ return typeof o;
7052
+ } : function (o) {
7053
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
7054
+ }, _typeof$1(o);
6330
7055
  }
6331
7056
 
6332
- function _toPrimitive(input, hint) {
6333
- if (_typeof$1(input) !== "object" || input === null) return input;
6334
- var prim = input[Symbol.toPrimitive];
6335
- if (prim !== undefined) {
6336
- var res = prim.call(input, hint || "default");
6337
- if (_typeof$1(res) !== "object") return res;
7057
+ function toPrimitive(t, r) {
7058
+ if ("object" != _typeof$1(t) || !t) return t;
7059
+ var e = t[Symbol.toPrimitive];
7060
+ if (void 0 !== e) {
7061
+ var i = e.call(t, r);
7062
+ if ("object" != _typeof$1(i)) return i;
6338
7063
  throw new TypeError("@@toPrimitive must return a primitive value.");
6339
7064
  }
6340
- return (hint === "string" ? String : Number)(input);
7065
+ return ("string" === r ? String : Number)(t);
6341
7066
  }
6342
7067
 
6343
- function _toPropertyKey(arg) {
6344
- var key = _toPrimitive(arg, "string");
6345
- return _typeof$1(key) === "symbol" ? key : String(key);
7068
+ function toPropertyKey(t) {
7069
+ var i = toPrimitive(t, "string");
7070
+ return "symbol" == _typeof$1(i) ? i : i + "";
6346
7071
  }
6347
7072
 
6348
- function _defineProperty(obj, key, value) {
6349
- key = _toPropertyKey(key);
6350
- if (key in obj) {
6351
- Object.defineProperty(obj, key, {
6352
- value: value,
6353
- enumerable: true,
6354
- configurable: true,
6355
- writable: true
6356
- });
6357
- } else {
6358
- obj[key] = value;
6359
- }
6360
- return obj;
7073
+ function _defineProperty(e, r, t) {
7074
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
7075
+ value: t,
7076
+ enumerable: true,
7077
+ configurable: true,
7078
+ writable: true
7079
+ }) : e[r] = t, e;
6361
7080
  }
6362
7081
 
6363
- function ownKeys(object, enumerableOnly) {
6364
- var keys = Object.keys(object);
7082
+ function ownKeys(e, r) {
7083
+ var t = Object.keys(e);
6365
7084
  if (Object.getOwnPropertySymbols) {
6366
- var symbols = Object.getOwnPropertySymbols(object);
6367
- enumerableOnly && (symbols = symbols.filter(function (sym) {
6368
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6369
- })), keys.push.apply(keys, symbols);
6370
- }
6371
- return keys;
6372
- }
6373
- function _objectSpread2(target) {
6374
- for (var i = 1; i < arguments.length; i++) {
6375
- var source = null != arguments[i] ? arguments[i] : {};
6376
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
6377
- _defineProperty(target, key, source[key]);
6378
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
6379
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7085
+ var o = Object.getOwnPropertySymbols(e);
7086
+ r && (o = o.filter(function (r) {
7087
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
7088
+ })), t.push.apply(t, o);
7089
+ }
7090
+ return t;
7091
+ }
7092
+ function _objectSpread2(e) {
7093
+ for (var r = 1; r < arguments.length; r++) {
7094
+ var t = null != arguments[r] ? arguments[r] : {};
7095
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
7096
+ _defineProperty(e, r, t[r]);
7097
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
7098
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
6380
7099
  });
6381
7100
  }
6382
- return target;
7101
+ return e;
6383
7102
  }
6384
7103
 
6385
- function _arrayWithHoles(arr) {
6386
- if (Array.isArray(arr)) return arr;
7104
+ function _arrayWithHoles(r) {
7105
+ if (Array.isArray(r)) return r;
6387
7106
  }
6388
7107
 
6389
- function _iterableToArrayLimit(arr, i) {
6390
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
6391
- if (null != _i) {
6392
- var _s,
6393
- _e,
6394
- _x,
6395
- _r,
6396
- _arr = [],
6397
- _n = !0,
6398
- _d = !1;
7108
+ function _iterableToArrayLimit(r, l) {
7109
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
7110
+ if (null != t) {
7111
+ var e,
7112
+ n,
7113
+ i,
7114
+ u,
7115
+ a = [],
7116
+ f = true,
7117
+ o = false;
6399
7118
  try {
6400
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
6401
- if (Object(_i) !== _i) return;
6402
- _n = !1;
6403
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
6404
- } catch (err) {
6405
- _d = !0, _e = err;
7119
+ if (i = (t = t.call(r)).next, 0 === l) {
7120
+ if (Object(t) !== t) return;
7121
+ f = !1;
7122
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
7123
+ } catch (r) {
7124
+ o = true, n = r;
6406
7125
  } finally {
6407
7126
  try {
6408
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
7127
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
6409
7128
  } finally {
6410
- if (_d) throw _e;
7129
+ if (o) throw n;
6411
7130
  }
6412
7131
  }
6413
- return _arr;
7132
+ return a;
6414
7133
  }
6415
7134
  }
6416
7135
 
6417
- function _arrayLikeToArray(arr, len) {
6418
- if (len == null || len > arr.length) len = arr.length;
6419
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
6420
- return arr2;
7136
+ function _arrayLikeToArray(r, a) {
7137
+ (null == a || a > r.length) && (a = r.length);
7138
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
7139
+ return n;
6421
7140
  }
6422
7141
 
6423
- function _unsupportedIterableToArray(o, minLen) {
6424
- if (!o) return;
6425
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
6426
- var n = Object.prototype.toString.call(o).slice(8, -1);
6427
- if (n === "Object" && o.constructor) n = o.constructor.name;
6428
- if (n === "Map" || n === "Set") return Array.from(o);
6429
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
7142
+ function _unsupportedIterableToArray(r, a) {
7143
+ if (r) {
7144
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
7145
+ var t = {}.toString.call(r).slice(8, -1);
7146
+ 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;
7147
+ }
6430
7148
  }
6431
7149
 
6432
7150
  function _nonIterableRest() {
6433
7151
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6434
7152
  }
6435
7153
 
6436
- function _slicedToArray(arr, i) {
6437
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
7154
+ function _slicedToArray(r, e) {
7155
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
6438
7156
  }
6439
7157
 
6440
- function _objectWithoutPropertiesLoose(source, excluded) {
6441
- if (source == null) return {};
6442
- var target = {};
6443
- var sourceKeys = Object.keys(source);
6444
- var key, i;
6445
- for (i = 0; i < sourceKeys.length; i++) {
6446
- key = sourceKeys[i];
6447
- if (excluded.indexOf(key) >= 0) continue;
6448
- target[key] = source[key];
7158
+ function _objectWithoutPropertiesLoose(r, e) {
7159
+ if (null == r) return {};
7160
+ var t = {};
7161
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
7162
+ if (-1 !== e.indexOf(n)) continue;
7163
+ t[n] = r[n];
6449
7164
  }
6450
- return target;
7165
+ return t;
6451
7166
  }
6452
7167
 
6453
- function _objectWithoutProperties(source, excluded) {
6454
- if (source == null) return {};
6455
- var target = _objectWithoutPropertiesLoose(source, excluded);
6456
- var key, i;
7168
+ function _objectWithoutProperties(e, t) {
7169
+ if (null == e) return {};
7170
+ var o,
7171
+ r,
7172
+ i = _objectWithoutPropertiesLoose(e, t);
6457
7173
  if (Object.getOwnPropertySymbols) {
6458
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
6459
- for (i = 0; i < sourceSymbolKeys.length; i++) {
6460
- key = sourceSymbolKeys[i];
6461
- if (excluded.indexOf(key) >= 0) continue;
6462
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
6463
- target[key] = source[key];
6464
- }
7174
+ var n = Object.getOwnPropertySymbols(e);
7175
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
6465
7176
  }
6466
- return target;
7177
+ return i;
6467
7178
  }
6468
7179
 
6469
- var _excluded$5 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
7180
+ var _excluded$6 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
6470
7181
  function useStateManager(_ref) {
6471
7182
  var _ref$defaultInputValu = _ref.defaultInputValue,
6472
7183
  defaultInputValue = _ref$defaultInputValu === void 0 ? '' : _ref$defaultInputValu,
@@ -6481,7 +7192,7 @@ function useStateManager(_ref) {
6481
7192
  propsOnMenuClose = _ref.onMenuClose,
6482
7193
  propsOnMenuOpen = _ref.onMenuOpen,
6483
7194
  propsValue = _ref.value,
6484
- restSelectProps = _objectWithoutProperties(_ref, _excluded$5);
7195
+ restSelectProps = _objectWithoutProperties(_ref, _excluded$6);
6485
7196
  var _useState = React.useState(propsInputValue !== undefined ? propsInputValue : defaultInputValue),
6486
7197
  _useState2 = _slicedToArray(_useState, 2),
6487
7198
  stateInputValue = _useState2[0],
@@ -6534,133 +7245,103 @@ function useStateManager(_ref) {
6534
7245
  }
6535
7246
 
6536
7247
  function _extends() {
6537
- _extends = Object.assign ? Object.assign.bind() : function (target) {
6538
- for (var i = 1; i < arguments.length; i++) {
6539
- var source = arguments[i];
6540
- for (var key in source) {
6541
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6542
- target[key] = source[key];
6543
- }
6544
- }
7248
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
7249
+ for (var e = 1; e < arguments.length; e++) {
7250
+ var t = arguments[e];
7251
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
6545
7252
  }
6546
- return target;
6547
- };
6548
- return _extends.apply(this, arguments);
7253
+ return n;
7254
+ }, _extends.apply(null, arguments);
6549
7255
  }
6550
7256
 
6551
- function _classCallCheck(instance, Constructor) {
6552
- if (!(instance instanceof Constructor)) {
6553
- throw new TypeError("Cannot call a class as a function");
6554
- }
7257
+ function _classCallCheck(a, n) {
7258
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
6555
7259
  }
6556
7260
 
6557
- function _defineProperties(target, props) {
6558
- for (var i = 0; i < props.length; i++) {
6559
- var descriptor = props[i];
6560
- descriptor.enumerable = descriptor.enumerable || false;
6561
- descriptor.configurable = true;
6562
- if ("value" in descriptor) descriptor.writable = true;
6563
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
7261
+ function _defineProperties(e, r) {
7262
+ for (var t = 0; t < r.length; t++) {
7263
+ var o = r[t];
7264
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, toPropertyKey(o.key), o);
6564
7265
  }
6565
7266
  }
6566
- function _createClass(Constructor, protoProps, staticProps) {
6567
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
6568
- if (staticProps) _defineProperties(Constructor, staticProps);
6569
- Object.defineProperty(Constructor, "prototype", {
7267
+ function _createClass(e, r, t) {
7268
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
6570
7269
  writable: false
6571
- });
6572
- return Constructor;
7270
+ }), e;
6573
7271
  }
6574
7272
 
6575
- function _setPrototypeOf(o, p) {
6576
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
6577
- o.__proto__ = p;
6578
- return o;
6579
- };
6580
- return _setPrototypeOf(o, p);
7273
+ function _setPrototypeOf(t, e) {
7274
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
7275
+ return t.__proto__ = e, t;
7276
+ }, _setPrototypeOf(t, e);
6581
7277
  }
6582
7278
 
6583
- function _inherits(subClass, superClass) {
6584
- if (typeof superClass !== "function" && superClass !== null) {
6585
- throw new TypeError("Super expression must either be null or a function");
6586
- }
6587
- subClass.prototype = Object.create(superClass && superClass.prototype, {
7279
+ function _inherits(t, e) {
7280
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
7281
+ t.prototype = Object.create(e && e.prototype, {
6588
7282
  constructor: {
6589
- value: subClass,
7283
+ value: t,
6590
7284
  writable: true,
6591
7285
  configurable: true
6592
7286
  }
6593
- });
6594
- Object.defineProperty(subClass, "prototype", {
7287
+ }), Object.defineProperty(t, "prototype", {
6595
7288
  writable: false
6596
- });
6597
- if (superClass) _setPrototypeOf(subClass, superClass);
7289
+ }), e && _setPrototypeOf(t, e);
6598
7290
  }
6599
7291
 
6600
- function _getPrototypeOf(o) {
6601
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
6602
- return o.__proto__ || Object.getPrototypeOf(o);
6603
- };
6604
- return _getPrototypeOf(o);
7292
+ function _getPrototypeOf(t) {
7293
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
7294
+ return t.__proto__ || Object.getPrototypeOf(t);
7295
+ }, _getPrototypeOf(t);
6605
7296
  }
6606
7297
 
6607
7298
  function _isNativeReflectConstruct() {
6608
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6609
- if (Reflect.construct.sham) return false;
6610
- if (typeof Proxy === "function") return true;
6611
7299
  try {
6612
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6613
- return true;
6614
- } catch (e) {
6615
- return false;
6616
- }
7300
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
7301
+ } catch (t) {}
7302
+ return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
7303
+ return !!t;
7304
+ })();
6617
7305
  }
6618
7306
 
6619
- function _assertThisInitialized(self) {
6620
- if (self === void 0) {
6621
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6622
- }
6623
- return self;
7307
+ function _assertThisInitialized(e) {
7308
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7309
+ return e;
6624
7310
  }
6625
7311
 
6626
- function _possibleConstructorReturn(self, call) {
6627
- if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
6628
- return call;
6629
- } else if (call !== void 0) {
6630
- throw new TypeError("Derived constructors may only return object or undefined");
6631
- }
6632
- return _assertThisInitialized(self);
7312
+ function _possibleConstructorReturn(t, e) {
7313
+ if (e && ("object" == _typeof$1(e) || "function" == typeof e)) return e;
7314
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
7315
+ return _assertThisInitialized(t);
6633
7316
  }
6634
7317
 
6635
- function _createSuper(Derived) {
6636
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
6637
- return function _createSuperInternal() {
6638
- var Super = _getPrototypeOf(Derived),
6639
- result;
6640
- if (hasNativeReflectConstruct) {
6641
- var NewTarget = _getPrototypeOf(this).constructor;
6642
- result = Reflect.construct(Super, arguments, NewTarget);
6643
- } else {
6644
- result = Super.apply(this, arguments);
6645
- }
6646
- return _possibleConstructorReturn(this, result);
7318
+ function _createSuper(t) {
7319
+ var r = _isNativeReflectConstruct();
7320
+ return function () {
7321
+ var e,
7322
+ o = _getPrototypeOf(t);
7323
+ if (r) {
7324
+ var s = _getPrototypeOf(this).constructor;
7325
+ e = Reflect.construct(o, arguments, s);
7326
+ } else e = o.apply(this, arguments);
7327
+ return _possibleConstructorReturn(this, e);
6647
7328
  };
6648
7329
  }
6649
7330
 
6650
- function _arrayWithoutHoles(arr) {
6651
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
7331
+ function _arrayWithoutHoles(r) {
7332
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
6652
7333
  }
6653
7334
 
6654
- function _iterableToArray(iter) {
6655
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
7335
+ function _iterableToArray(r) {
7336
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
6656
7337
  }
6657
7338
 
6658
7339
  function _nonIterableSpread() {
6659
7340
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6660
7341
  }
6661
7342
 
6662
- function _toConsumableArray(arr) {
6663
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
7343
+ function _toConsumableArray(r) {
7344
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
6664
7345
  }
6665
7346
 
6666
7347
  /*
@@ -6685,10 +7366,9 @@ styleSheet.flush()
6685
7366
  - empties the stylesheet of all its contents
6686
7367
 
6687
7368
  */
6688
- // $FlowFixMe
7369
+
6689
7370
  function sheetForTag(tag) {
6690
7371
  if (tag.sheet) {
6691
- // $FlowFixMe
6692
7372
  return tag.sheet;
6693
7373
  } // this weirdness brought to you by firefox
6694
7374
 
@@ -6697,10 +7377,13 @@ function sheetForTag(tag) {
6697
7377
 
6698
7378
  for (var i = 0; i < document.styleSheets.length; i++) {
6699
7379
  if (document.styleSheets[i].ownerNode === tag) {
6700
- // $FlowFixMe
6701
7380
  return document.styleSheets[i];
6702
7381
  }
6703
- }
7382
+ } // this function should always return with a value
7383
+ // TS can't understand it though so we make it stop complaining here
7384
+
7385
+
7386
+ return undefined;
6704
7387
  }
6705
7388
 
6706
7389
  function createStyleElement(options) {
@@ -6741,7 +7424,7 @@ var StyleSheet = /*#__PURE__*/function () {
6741
7424
  _this.tags.push(tag);
6742
7425
  };
6743
7426
 
6744
- this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;
7427
+ this.isSpeedy = options.speedy === undefined ? true : options.speedy;
6745
7428
  this.tags = [];
6746
7429
  this.ctr = 0;
6747
7430
  this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
@@ -6769,18 +7452,6 @@ var StyleSheet = /*#__PURE__*/function () {
6769
7452
 
6770
7453
  var tag = this.tags[this.tags.length - 1];
6771
7454
 
6772
- if (process.env.NODE_ENV !== 'production') {
6773
- var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
6774
-
6775
- if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
6776
- // this would only cause problem in speedy mode
6777
- // but we don't want enabling speedy to affect the observable behavior
6778
- // so we report this error at all times
6779
- 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.');
6780
- }
6781
- this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
6782
- }
6783
-
6784
7455
  if (this.isSpeedy) {
6785
7456
  var sheet = sheetForTag(tag);
6786
7457
 
@@ -6789,9 +7460,6 @@ var StyleSheet = /*#__PURE__*/function () {
6789
7460
  // the big drawback is that the css won't be editable in devtools
6790
7461
  sheet.insertRule(rule, sheet.cssRules.length);
6791
7462
  } catch (e) {
6792
- 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)) {
6793
- console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
6794
- }
6795
7463
  }
6796
7464
  } else {
6797
7465
  tag.appendChild(document.createTextNode(rule));
@@ -6801,16 +7469,13 @@ var StyleSheet = /*#__PURE__*/function () {
6801
7469
  };
6802
7470
 
6803
7471
  _proto.flush = function flush() {
6804
- // $FlowFixMe
6805
7472
  this.tags.forEach(function (tag) {
6806
- return tag.parentNode && tag.parentNode.removeChild(tag);
7473
+ var _tag$parentNode;
7474
+
7475
+ return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
6807
7476
  });
6808
7477
  this.tags = [];
6809
7478
  this.ctr = 0;
6810
-
6811
- if (process.env.NODE_ENV !== 'production') {
6812
- this._alreadyInsertedOrderInsensitiveRule = false;
6813
- }
6814
7479
  };
6815
7480
 
6816
7481
  return StyleSheet;
@@ -7500,8 +8165,8 @@ var compat = function compat(element) {
7500
8165
  return;
7501
8166
  }
7502
8167
 
7503
- var value = element.value,
7504
- parent = element.parent;
8168
+ var value = element.value;
8169
+ var parent = element.parent;
7505
8170
  var isImplicitRule = element.column === parent.column && element.line === parent.line;
7506
8171
 
7507
8172
  while (parent.type !== 'rule') {
@@ -7546,114 +8211,6 @@ var removeLabel = function removeLabel(element) {
7546
8211
  }
7547
8212
  }
7548
8213
  };
7549
- var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
7550
-
7551
- var isIgnoringComment = function isIgnoringComment(element) {
7552
- return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
7553
- };
7554
-
7555
- var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
7556
- return function (element, index, children) {
7557
- if (element.type !== 'rule' || cache.compat) return;
7558
- var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
7559
-
7560
- if (unsafePseudoClasses) {
7561
- var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
7562
- //
7563
- // considering this input:
7564
- // .a {
7565
- // .b /* comm */ {}
7566
- // color: hotpink;
7567
- // }
7568
- // we get output corresponding to this:
7569
- // .a {
7570
- // & {
7571
- // /* comm */
7572
- // color: hotpink;
7573
- // }
7574
- // .b {}
7575
- // }
7576
-
7577
- var commentContainer = isNested ? element.parent.children : // global rule at the root level
7578
- children;
7579
-
7580
- for (var i = commentContainer.length - 1; i >= 0; i--) {
7581
- var node = commentContainer[i];
7582
-
7583
- if (node.line < element.line) {
7584
- break;
7585
- } // it is quite weird but comments are *usually* put at `column: element.column - 1`
7586
- // so we seek *from the end* for the node that is earlier than the rule's `element` and check that
7587
- // this will also match inputs like this:
7588
- // .a {
7589
- // /* comm */
7590
- // .b {}
7591
- // }
7592
- //
7593
- // but that is fine
7594
- //
7595
- // it would be the easiest to change the placement of the comment to be the first child of the rule:
7596
- // .a {
7597
- // .b { /* comm */ }
7598
- // }
7599
- // with such inputs we wouldn't have to search for the comment at all
7600
- // TODO: consider changing this comment placement in the next major version
7601
-
7602
-
7603
- if (node.column < element.column) {
7604
- if (isIgnoringComment(node)) {
7605
- return;
7606
- }
7607
-
7608
- break;
7609
- }
7610
- }
7611
-
7612
- unsafePseudoClasses.forEach(function (unsafePseudoClass) {
7613
- console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
7614
- });
7615
- }
7616
- };
7617
- };
7618
-
7619
- var isImportRule = function isImportRule(element) {
7620
- return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
7621
- };
7622
-
7623
- var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
7624
- for (var i = index - 1; i >= 0; i--) {
7625
- if (!isImportRule(children[i])) {
7626
- return true;
7627
- }
7628
- }
7629
-
7630
- return false;
7631
- }; // use this to remove incorrect elements from further processing
7632
- // so they don't get handed to the `sheet` (or anything else)
7633
- // as that could potentially lead to additional logs which in turn could be overhelming to the user
7634
-
7635
-
7636
- var nullifyElement = function nullifyElement(element) {
7637
- element.type = '';
7638
- element.value = '';
7639
- element["return"] = '';
7640
- element.children = '';
7641
- element.props = '';
7642
- };
7643
-
7644
- var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
7645
- if (!isImportRule(element)) {
7646
- return;
7647
- }
7648
-
7649
- if (element.parent) {
7650
- 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.");
7651
- nullifyElement(element);
7652
- } else if (isPrependedWithRegularRules(index, children)) {
7653
- console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
7654
- nullifyElement(element);
7655
- }
7656
- };
7657
8214
 
7658
8215
  /* eslint-disable no-fallthrough */
7659
8216
 
@@ -7872,10 +8429,6 @@ var defaultStylisPlugins = [prefixer];
7872
8429
  var createCache = function createCache(options) {
7873
8430
  var key = options.key;
7874
8431
 
7875
- if (process.env.NODE_ENV !== 'production' && !key) {
7876
- 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.");
7877
- }
7878
-
7879
8432
  if (key === 'css') {
7880
8433
  var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
7881
8434
  // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
@@ -7894,6 +8447,7 @@ var createCache = function createCache(options) {
7894
8447
  if (dataEmotionAttribute.indexOf(' ') === -1) {
7895
8448
  return;
7896
8449
  }
8450
+
7897
8451
  document.head.appendChild(node);
7898
8452
  node.setAttribute('data-s', '');
7899
8453
  });
@@ -7901,13 +8455,6 @@ var createCache = function createCache(options) {
7901
8455
 
7902
8456
  var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
7903
8457
 
7904
- if (process.env.NODE_ENV !== 'production') {
7905
- // $FlowFixMe
7906
- if (/[^a-z-]/.test(key)) {
7907
- throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
7908
- }
7909
- }
7910
-
7911
8458
  var inserted = {};
7912
8459
  var container;
7913
8460
  var nodesToHydrate = [];
@@ -7917,7 +8464,7 @@ var createCache = function createCache(options) {
7917
8464
  Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
7918
8465
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
7919
8466
  document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
7920
- var attrib = node.getAttribute("data-emotion").split(' '); // $FlowFixMe
8467
+ var attrib = node.getAttribute("data-emotion").split(' ');
7921
8468
 
7922
8469
  for (var i = 1; i < attrib.length; i++) {
7923
8470
  inserted[attrib[i]] = true;
@@ -7931,28 +8478,9 @@ var createCache = function createCache(options) {
7931
8478
 
7932
8479
  var omnipresentPlugins = [compat, removeLabel];
7933
8480
 
7934
- if (process.env.NODE_ENV !== 'production') {
7935
- omnipresentPlugins.push(createUnsafeSelectorsAlarm({
7936
- get compat() {
7937
- return cache.compat;
7938
- }
7939
-
7940
- }), incorrectImportAlarm);
7941
- }
7942
-
7943
8481
  {
7944
8482
  var currentSheet;
7945
- var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {
7946
- if (!element.root) {
7947
- if (element["return"]) {
7948
- currentSheet.insert(element["return"]);
7949
- } else if (element.value && element.type !== COMMENT) {
7950
- // insert empty rule in non-production environments
7951
- // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
7952
- currentSheet.insert(element.value + "{}");
7953
- }
7954
- }
7955
- } : rulesheet(function (rule) {
8483
+ var finalizingPlugins = [stringify, rulesheet(function (rule) {
7956
8484
  currentSheet.insert(rule);
7957
8485
  })];
7958
8486
  var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
@@ -7964,14 +8492,6 @@ var createCache = function createCache(options) {
7964
8492
  _insert = function insert(selector, serialized, sheet, shouldCache) {
7965
8493
  currentSheet = sheet;
7966
8494
 
7967
- if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {
7968
- currentSheet = {
7969
- insert: function insert(rule) {
7970
- sheet.insert(rule + serialized.map);
7971
- }
7972
- };
7973
- }
7974
-
7975
8495
  stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
7976
8496
 
7977
8497
  if (shouldCache) {
@@ -7999,11 +8519,7 @@ var createCache = function createCache(options) {
7999
8519
  return cache;
8000
8520
  };
8001
8521
 
8002
- var reactIsExports = {};
8003
- var reactIs$1 = {
8004
- get exports(){ return reactIsExports; },
8005
- set exports(v){ reactIsExports = v; },
8006
- };
8522
+ var reactIs = {exports: {}};
8007
8523
 
8008
8524
  var reactIs_production_min = {};
8009
8525
 
@@ -8219,42 +8735,141 @@ function requireReactIs_development () {
8219
8735
  return reactIs_development;
8220
8736
  }
8221
8737
 
8222
- (function (module) {
8738
+ var hasRequiredReactIs;
8739
+
8740
+ function requireReactIs () {
8741
+ if (hasRequiredReactIs) return reactIs.exports;
8742
+ hasRequiredReactIs = 1;
8223
8743
 
8224
8744
  if (process.env.NODE_ENV === 'production') {
8225
- module.exports = requireReactIs_production_min();
8745
+ reactIs.exports = requireReactIs_production_min();
8226
8746
  } else {
8227
- module.exports = requireReactIs_development();
8747
+ reactIs.exports = requireReactIs_development();
8748
+ }
8749
+ return reactIs.exports;
8750
+ }
8751
+
8752
+ var hoistNonReactStatics_cjs;
8753
+ var hasRequiredHoistNonReactStatics_cjs;
8754
+
8755
+ function requireHoistNonReactStatics_cjs () {
8756
+ if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
8757
+ hasRequiredHoistNonReactStatics_cjs = 1;
8758
+
8759
+ var reactIs = requireReactIs();
8760
+
8761
+ /**
8762
+ * Copyright 2015, Yahoo! Inc.
8763
+ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
8764
+ */
8765
+ var REACT_STATICS = {
8766
+ childContextTypes: true,
8767
+ contextType: true,
8768
+ contextTypes: true,
8769
+ defaultProps: true,
8770
+ displayName: true,
8771
+ getDefaultProps: true,
8772
+ getDerivedStateFromError: true,
8773
+ getDerivedStateFromProps: true,
8774
+ mixins: true,
8775
+ propTypes: true,
8776
+ type: true
8777
+ };
8778
+ var KNOWN_STATICS = {
8779
+ name: true,
8780
+ length: true,
8781
+ prototype: true,
8782
+ caller: true,
8783
+ callee: true,
8784
+ arguments: true,
8785
+ arity: true
8786
+ };
8787
+ var FORWARD_REF_STATICS = {
8788
+ '$$typeof': true,
8789
+ render: true,
8790
+ defaultProps: true,
8791
+ displayName: true,
8792
+ propTypes: true
8793
+ };
8794
+ var MEMO_STATICS = {
8795
+ '$$typeof': true,
8796
+ compare: true,
8797
+ defaultProps: true,
8798
+ displayName: true,
8799
+ propTypes: true,
8800
+ type: true
8801
+ };
8802
+ var TYPE_STATICS = {};
8803
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
8804
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
8805
+
8806
+ function getStatics(component) {
8807
+ // React v16.11 and below
8808
+ if (reactIs.isMemo(component)) {
8809
+ return MEMO_STATICS;
8810
+ } // React v16.12 and above
8811
+
8812
+
8813
+ return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
8814
+ }
8815
+
8816
+ var defineProperty = Object.defineProperty;
8817
+ var getOwnPropertyNames = Object.getOwnPropertyNames;
8818
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
8819
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
8820
+ var getPrototypeOf = Object.getPrototypeOf;
8821
+ var objectPrototype = Object.prototype;
8822
+ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
8823
+ if (typeof sourceComponent !== 'string') {
8824
+ // don't hoist over string (html) components
8825
+ if (objectPrototype) {
8826
+ var inheritedComponent = getPrototypeOf(sourceComponent);
8827
+
8828
+ if (inheritedComponent && inheritedComponent !== objectPrototype) {
8829
+ hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
8830
+ }
8831
+ }
8832
+
8833
+ var keys = getOwnPropertyNames(sourceComponent);
8834
+
8835
+ if (getOwnPropertySymbols) {
8836
+ keys = keys.concat(getOwnPropertySymbols(sourceComponent));
8837
+ }
8838
+
8839
+ var targetStatics = getStatics(targetComponent);
8840
+ var sourceStatics = getStatics(sourceComponent);
8841
+
8842
+ for (var i = 0; i < keys.length; ++i) {
8843
+ var key = keys[i];
8844
+
8845
+ if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
8846
+ var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
8847
+
8848
+ try {
8849
+ // Avoid failures from read-only properties
8850
+ defineProperty(targetComponent, key, descriptor);
8851
+ } catch (e) {}
8852
+ }
8853
+ }
8854
+ }
8855
+
8856
+ return targetComponent;
8228
8857
  }
8229
- } (reactIs$1));
8230
-
8231
- var reactIs = reactIsExports;
8232
- var FORWARD_REF_STATICS = {
8233
- '$$typeof': true,
8234
- render: true,
8235
- defaultProps: true,
8236
- displayName: true,
8237
- propTypes: true
8238
- };
8239
- var MEMO_STATICS = {
8240
- '$$typeof': true,
8241
- compare: true,
8242
- defaultProps: true,
8243
- displayName: true,
8244
- propTypes: true,
8245
- type: true
8246
- };
8247
- var TYPE_STATICS = {};
8248
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
8249
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
8250
-
8251
- var isBrowser$2 = "object" !== 'undefined';
8858
+
8859
+ hoistNonReactStatics_cjs = hoistNonReactStatics;
8860
+ return hoistNonReactStatics_cjs;
8861
+ }
8862
+
8863
+ requireHoistNonReactStatics_cjs();
8864
+
8865
+ var isBrowser$1 = true;
8866
+
8252
8867
  function getRegisteredStyles(registered, registeredStyles, classNames) {
8253
8868
  var rawClassName = '';
8254
8869
  classNames.split(' ').forEach(function (className) {
8255
8870
  if (registered[className] !== undefined) {
8256
8871
  registeredStyles.push(registered[className] + ";");
8257
- } else {
8872
+ } else if (className) {
8258
8873
  rawClassName += className + " ";
8259
8874
  }
8260
8875
  });
@@ -8272,7 +8887,7 @@ var registerStyles = function registerStyles(cache, serialized, isStringTag) {
8272
8887
  // in node since emotion-server relies on whether a style is in
8273
8888
  // the registered cache to know whether a style is global or not
8274
8889
  // also, note that this check will be dead code eliminated in the browser
8275
- isBrowser$2 === false ) && cache.registered[className] === undefined) {
8890
+ isBrowser$1 === false ) && cache.registered[className] === undefined) {
8276
8891
  cache.registered[className] = serialized.styles;
8277
8892
  }
8278
8893
  };
@@ -8379,6 +8994,7 @@ var unitlessKeys = {
8379
8994
  opacity: 1,
8380
8995
  order: 1,
8381
8996
  orphans: 1,
8997
+ scale: 1,
8382
8998
  tabSize: 1,
8383
8999
  widows: 1,
8384
9000
  zIndex: 1,
@@ -8395,8 +9011,6 @@ var unitlessKeys = {
8395
9011
  strokeWidth: 1
8396
9012
  };
8397
9013
 
8398
- 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";
8399
- 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).";
8400
9014
  var hyphenateRegex = /[A-Z]|^ms/g;
8401
9015
  var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
8402
9016
 
@@ -8437,47 +9051,16 @@ var processStyleValue = function processStyleValue(key, value) {
8437
9051
  return value;
8438
9052
  };
8439
9053
 
8440
- if (process.env.NODE_ENV !== 'production') {
8441
- var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
8442
- var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
8443
- var oldProcessStyleValue = processStyleValue;
8444
- var msPattern = /^-ms-/;
8445
- var hyphenPattern = /-(.)/g;
8446
- var hyphenatedCache = {};
8447
-
8448
- processStyleValue = function processStyleValue(key, value) {
8449
- if (key === 'content') {
8450
- 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) !== "'")) {
8451
- throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
8452
- }
8453
- }
8454
-
8455
- var processed = oldProcessStyleValue(key, value);
8456
-
8457
- if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
8458
- hyphenatedCache[key] = true;
8459
- 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) {
8460
- return _char.toUpperCase();
8461
- }) + "?");
8462
- }
8463
-
8464
- return processed;
8465
- };
8466
- }
8467
-
8468
- var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
8469
-
8470
9054
  function handleInterpolation(mergedProps, registered, interpolation) {
8471
9055
  if (interpolation == null) {
8472
9056
  return '';
8473
9057
  }
8474
9058
 
8475
- if (interpolation.__emotion_styles !== undefined) {
8476
- if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
8477
- throw new Error(noComponentSelectorMessage);
8478
- }
9059
+ var componentSelector = interpolation;
9060
+
9061
+ if (componentSelector.__emotion_styles !== undefined) {
8479
9062
 
8480
- return interpolation;
9063
+ return componentSelector;
8481
9064
  }
8482
9065
 
8483
9066
  switch (typeof interpolation) {
@@ -8488,17 +9071,21 @@ function handleInterpolation(mergedProps, registered, interpolation) {
8488
9071
 
8489
9072
  case 'object':
8490
9073
  {
8491
- if (interpolation.anim === 1) {
9074
+ var keyframes = interpolation;
9075
+
9076
+ if (keyframes.anim === 1) {
8492
9077
  cursor = {
8493
- name: interpolation.name,
8494
- styles: interpolation.styles,
9078
+ name: keyframes.name,
9079
+ styles: keyframes.styles,
8495
9080
  next: cursor
8496
9081
  };
8497
- return interpolation.name;
9082
+ return keyframes.name;
8498
9083
  }
8499
9084
 
8500
- if (interpolation.styles !== undefined) {
8501
- var next = interpolation.next;
9085
+ var serializedStyles = interpolation;
9086
+
9087
+ if (serializedStyles.styles !== undefined) {
9088
+ var next = serializedStyles.next;
8502
9089
 
8503
9090
  if (next !== undefined) {
8504
9091
  // not the most efficient thing ever but this is a pretty rare case
@@ -8513,12 +9100,7 @@ function handleInterpolation(mergedProps, registered, interpolation) {
8513
9100
  }
8514
9101
  }
8515
9102
 
8516
- var styles = interpolation.styles + ";";
8517
-
8518
- if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {
8519
- styles += interpolation.map;
8520
- }
8521
-
9103
+ var styles = serializedStyles.styles + ";";
8522
9104
  return styles;
8523
9105
  }
8524
9106
 
@@ -8532,37 +9114,18 @@ function handleInterpolation(mergedProps, registered, interpolation) {
8532
9114
  var result = interpolation(mergedProps);
8533
9115
  cursor = previousCursor;
8534
9116
  return handleInterpolation(mergedProps, registered, result);
8535
- } else if (process.env.NODE_ENV !== 'production') {
8536
- 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}`");
8537
9117
  }
8538
9118
 
8539
9119
  break;
8540
9120
  }
8541
-
8542
- case 'string':
8543
- if (process.env.NODE_ENV !== 'production') {
8544
- var matched = [];
8545
- var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
8546
- var fakeVarName = "animation" + matched.length;
8547
- matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
8548
- return "${" + fakeVarName + "}";
8549
- });
8550
-
8551
- if (matched.length) {
8552
- 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 + "`"));
8553
- }
8554
- }
8555
-
8556
- break;
8557
9121
  } // finalize string values (regular strings and functions interpolated into css calls)
8558
9122
 
8559
9123
 
8560
- if (registered == null) {
8561
- return interpolation;
9124
+ var asString = interpolation;
9125
+
9126
+ {
9127
+ return asString;
8562
9128
  }
8563
-
8564
- var cached = registered[interpolation];
8565
- return cached !== undefined ? cached : interpolation;
8566
9129
  }
8567
9130
 
8568
9131
  function createStringFromObject(mergedProps, registered, obj) {
@@ -8573,44 +9136,38 @@ function createStringFromObject(mergedProps, registered, obj) {
8573
9136
  string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
8574
9137
  }
8575
9138
  } else {
8576
- for (var _key in obj) {
8577
- var value = obj[_key];
9139
+ for (var key in obj) {
9140
+ var value = obj[key];
8578
9141
 
8579
9142
  if (typeof value !== 'object') {
8580
- if (registered != null && registered[value] !== undefined) {
8581
- string += _key + "{" + registered[value] + "}";
8582
- } else if (isProcessableValue(value)) {
8583
- string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
9143
+ var asString = value;
9144
+
9145
+ if (isProcessableValue(asString)) {
9146
+ string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
8584
9147
  }
8585
9148
  } else {
8586
- if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {
8587
- throw new Error(noComponentSelectorMessage);
8588
- }
8589
9149
 
8590
- if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
9150
+ if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null)) {
8591
9151
  for (var _i = 0; _i < value.length; _i++) {
8592
9152
  if (isProcessableValue(value[_i])) {
8593
- string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
9153
+ string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
8594
9154
  }
8595
9155
  }
8596
9156
  } else {
8597
9157
  var interpolated = handleInterpolation(mergedProps, registered, value);
8598
9158
 
8599
- switch (_key) {
9159
+ switch (key) {
8600
9160
  case 'animation':
8601
9161
  case 'animationName':
8602
9162
  {
8603
- string += processStyleName(_key) + ":" + interpolated + ";";
9163
+ string += processStyleName(key) + ":" + interpolated + ";";
8604
9164
  break;
8605
9165
  }
8606
9166
 
8607
9167
  default:
8608
9168
  {
8609
- if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {
8610
- console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
8611
- }
8612
9169
 
8613
- string += _key + "{" + interpolated + "}";
9170
+ string += key + "{" + interpolated + "}";
8614
9171
  }
8615
9172
  }
8616
9173
  }
@@ -8621,17 +9178,11 @@ function createStringFromObject(mergedProps, registered, obj) {
8621
9178
  return string;
8622
9179
  }
8623
9180
 
8624
- var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
8625
- var sourceMapPattern;
8626
-
8627
- if (process.env.NODE_ENV !== 'production') {
8628
- sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
8629
- } // this is the cursor for keyframes
9181
+ var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g; // this is the cursor for keyframes
8630
9182
  // keyframes are stored on the SerializedStyles object as a linked list
8631
9183
 
8632
-
8633
9184
  var cursor;
8634
- var serializeStyles = function serializeStyles(args, registered, mergedProps) {
9185
+ function serializeStyles(args, registered, mergedProps) {
8635
9186
  if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
8636
9187
  return args[0];
8637
9188
  }
@@ -8645,11 +9196,9 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
8645
9196
  stringMode = false;
8646
9197
  styles += handleInterpolation(mergedProps, registered, strings);
8647
9198
  } else {
8648
- if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {
8649
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
8650
- }
9199
+ var asTemplateStringsArr = strings;
8651
9200
 
8652
- styles += strings[0];
9201
+ styles += asTemplateStringsArr[0];
8653
9202
  } // we start at 1 since we've already handled the first arg
8654
9203
 
8655
9204
 
@@ -8657,21 +9206,10 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
8657
9206
  styles += handleInterpolation(mergedProps, registered, args[i]);
8658
9207
 
8659
9208
  if (stringMode) {
8660
- if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {
8661
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
8662
- }
9209
+ var templateStringsArr = strings;
8663
9210
 
8664
- styles += strings[i];
9211
+ styles += templateStringsArr[i];
8665
9212
  }
8666
- }
8667
-
8668
- var sourceMap;
8669
-
8670
- if (process.env.NODE_ENV !== 'production') {
8671
- styles = styles.replace(sourceMapPattern, function (match) {
8672
- sourceMap = match;
8673
- return '';
8674
- });
8675
9213
  } // using a global regex with .exec is stateful so lastIndex has to be reset each time
8676
9214
 
8677
9215
 
@@ -8680,31 +9218,17 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
8680
9218
  var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
8681
9219
 
8682
9220
  while ((match = labelPattern.exec(styles)) !== null) {
8683
- identifierName += '-' + // $FlowFixMe we know it's not null
8684
- match[1];
9221
+ identifierName += '-' + match[1];
8685
9222
  }
8686
9223
 
8687
9224
  var name = murmur2(styles) + identifierName;
8688
9225
 
8689
- if (process.env.NODE_ENV !== 'production') {
8690
- // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
8691
- return {
8692
- name: name,
8693
- styles: styles,
8694
- map: sourceMap,
8695
- next: cursor,
8696
- toString: function toString() {
8697
- 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).";
8698
- }
8699
- };
8700
- }
8701
-
8702
9226
  return {
8703
9227
  name: name,
8704
9228
  styles: styles,
8705
9229
  next: cursor
8706
9230
  };
8707
- };
9231
+ }
8708
9232
 
8709
9233
  var syncFallback = function syncFallback(create) {
8710
9234
  return create();
@@ -8712,9 +9236,6 @@ var syncFallback = function syncFallback(create) {
8712
9236
 
8713
9237
  var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
8714
9238
  var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
8715
- var useInsertionEffectWithLayoutFallback = useInsertionEffect || React__namespace.useLayoutEffect;
8716
-
8717
- var hasOwnProperty = {}.hasOwnProperty;
8718
9239
 
8719
9240
  var EmotionCacheContext = /* #__PURE__ */React__namespace.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
8720
9241
  // because this module is primarily intended for the browser and node
@@ -8726,14 +9247,9 @@ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
8726
9247
  key: 'css'
8727
9248
  }) : null);
8728
9249
 
8729
- if (process.env.NODE_ENV !== 'production') {
8730
- EmotionCacheContext.displayName = 'EmotionCacheContext';
8731
- }
8732
-
8733
9250
  EmotionCacheContext.Provider;
8734
9251
 
8735
9252
  var withEmotionCache = function withEmotionCache(func) {
8736
- // $FlowFixMe
8737
9253
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
8738
9254
  // the cache will never be null in the browser
8739
9255
  var cache = React.useContext(EmotionCacheContext);
@@ -8743,81 +9259,25 @@ var withEmotionCache = function withEmotionCache(func) {
8743
9259
 
8744
9260
  var ThemeContext = /* #__PURE__ */React__namespace.createContext({});
8745
9261
 
8746
- if (process.env.NODE_ENV !== 'production') {
8747
- ThemeContext.displayName = 'EmotionThemeContext';
8748
- }
8749
-
8750
- var getLastPart = function getLastPart(functionName) {
8751
- // The match may be something like 'Object.createEmotionProps' or
8752
- // 'Loader.prototype.render'
8753
- var parts = functionName.split('.');
8754
- return parts[parts.length - 1];
8755
- };
8756
-
8757
- var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
8758
- // V8
8759
- var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
8760
- if (match) return getLastPart(match[1]); // Safari / Firefox
8761
-
8762
- match = /^([A-Za-z0-9$.]+)@/.exec(line);
8763
- if (match) return getLastPart(match[1]);
8764
- return undefined;
8765
- };
8766
-
8767
- var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
8768
- // identifiers, thus we only need to replace what is a valid character for JS,
8769
- // but not for CSS.
8770
-
8771
- var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
8772
- return identifier.replace(/\$/g, '-');
8773
- };
8774
-
8775
- var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
8776
- if (!stackTrace) return undefined;
8777
- var lines = stackTrace.split('\n');
8778
-
8779
- for (var i = 0; i < lines.length; i++) {
8780
- var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
8781
-
8782
- if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
8783
-
8784
- if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
8785
- // uppercase letter
8786
-
8787
- if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
8788
- }
8789
-
8790
- return undefined;
8791
- };
9262
+ var hasOwn = {}.hasOwnProperty;
8792
9263
 
8793
9264
  var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
8794
- var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
8795
9265
  var createEmotionProps = function createEmotionProps(type, props) {
8796
- if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration
8797
- props.css.indexOf(':') !== -1) {
8798
- 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 + "`");
8799
- }
8800
9266
 
8801
9267
  var newProps = {};
8802
9268
 
8803
- for (var key in props) {
8804
- if (hasOwnProperty.call(props, key)) {
8805
- newProps[key] = props[key];
9269
+ for (var _key in props) {
9270
+ if (hasOwn.call(props, _key)) {
9271
+ newProps[_key] = props[_key];
8806
9272
  }
8807
9273
  }
8808
9274
 
8809
- newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
8810
- // the label hasn't already been computed
8811
-
8812
- if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
8813
- var label = getLabelFromStackTrace(new Error().stack);
8814
- if (label) newProps[labelPropName] = label;
8815
- }
9275
+ newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
8816
9276
 
8817
9277
  return newProps;
8818
9278
  };
8819
9279
 
8820
- var Insertion$1 = function Insertion(_ref) {
9280
+ var Insertion = function Insertion(_ref) {
8821
9281
  var cache = _ref.cache,
8822
9282
  serialized = _ref.serialized,
8823
9283
  isStringTag = _ref.isStringTag;
@@ -8850,175 +9310,35 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
8850
9310
 
8851
9311
  var serialized = serializeStyles(registeredStyles, undefined, React__namespace.useContext(ThemeContext));
8852
9312
 
8853
- if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
8854
- var labelFromStack = props[labelPropName];
8855
-
8856
- if (labelFromStack) {
8857
- serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);
8858
- }
8859
- }
8860
-
8861
9313
  className += cache.key + "-" + serialized.name;
8862
9314
  var newProps = {};
8863
9315
 
8864
- for (var key in props) {
8865
- if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
8866
- newProps[key] = props[key];
9316
+ for (var _key2 in props) {
9317
+ if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (true )) {
9318
+ newProps[_key2] = props[_key2];
8867
9319
  }
8868
9320
  }
8869
9321
 
8870
- newProps.ref = ref;
8871
9322
  newProps.className = className;
8872
- return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion$1, {
9323
+
9324
+ if (ref) {
9325
+ newProps.ref = ref;
9326
+ }
9327
+
9328
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion, {
8873
9329
  cache: cache,
8874
9330
  serialized: serialized,
8875
9331
  isStringTag: typeof WrappedComponent === 'string'
8876
9332
  }), /*#__PURE__*/React__namespace.createElement(WrappedComponent, newProps));
8877
9333
  });
8878
9334
 
8879
- if (process.env.NODE_ENV !== 'production') {
8880
- Emotion.displayName = 'EmotionCssPropInternal';
8881
- }
8882
-
8883
9335
  var Emotion$1 = Emotion;
8884
9336
 
8885
- var pkg = {
8886
- name: "@emotion/react",
8887
- version: "11.11.0",
8888
- main: "dist/emotion-react.cjs.js",
8889
- module: "dist/emotion-react.esm.js",
8890
- browser: {
8891
- "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
8892
- },
8893
- exports: {
8894
- ".": {
8895
- module: {
8896
- worker: "./dist/emotion-react.worker.esm.js",
8897
- browser: "./dist/emotion-react.browser.esm.js",
8898
- "default": "./dist/emotion-react.esm.js"
8899
- },
8900
- "import": "./dist/emotion-react.cjs.mjs",
8901
- "default": "./dist/emotion-react.cjs.js"
8902
- },
8903
- "./jsx-runtime": {
8904
- module: {
8905
- worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",
8906
- browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
8907
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
8908
- },
8909
- "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
8910
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
8911
- },
8912
- "./_isolated-hnrs": {
8913
- module: {
8914
- worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",
8915
- browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
8916
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
8917
- },
8918
- "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
8919
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
8920
- },
8921
- "./jsx-dev-runtime": {
8922
- module: {
8923
- worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",
8924
- browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
8925
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
8926
- },
8927
- "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
8928
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
8929
- },
8930
- "./package.json": "./package.json",
8931
- "./types/css-prop": "./types/css-prop.d.ts",
8932
- "./macro": {
8933
- types: {
8934
- "import": "./macro.d.mts",
8935
- "default": "./macro.d.ts"
8936
- },
8937
- "default": "./macro.js"
8938
- }
8939
- },
8940
- types: "types/index.d.ts",
8941
- files: [
8942
- "src",
8943
- "dist",
8944
- "jsx-runtime",
8945
- "jsx-dev-runtime",
8946
- "_isolated-hnrs",
8947
- "types/*.d.ts",
8948
- "macro.*"
8949
- ],
8950
- sideEffects: false,
8951
- author: "Emotion Contributors",
8952
- license: "MIT",
8953
- scripts: {
8954
- "test:typescript": "dtslint types"
8955
- },
8956
- dependencies: {
8957
- "@babel/runtime": "^7.18.3",
8958
- "@emotion/babel-plugin": "^11.11.0",
8959
- "@emotion/cache": "^11.11.0",
8960
- "@emotion/serialize": "^1.1.2",
8961
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
8962
- "@emotion/utils": "^1.2.1",
8963
- "@emotion/weak-memoize": "^0.3.1",
8964
- "hoist-non-react-statics": "^3.3.1"
8965
- },
8966
- peerDependencies: {
8967
- react: ">=16.8.0"
8968
- },
8969
- peerDependenciesMeta: {
8970
- "@types/react": {
8971
- optional: true
8972
- }
8973
- },
8974
- devDependencies: {
8975
- "@definitelytyped/dtslint": "0.0.112",
8976
- "@emotion/css": "11.11.0",
8977
- "@emotion/css-prettifier": "1.1.3",
8978
- "@emotion/server": "11.11.0",
8979
- "@emotion/styled": "11.11.0",
8980
- "html-tag-names": "^1.1.2",
8981
- react: "16.14.0",
8982
- "svg-tag-names": "^1.1.1",
8983
- typescript: "^4.5.5"
8984
- },
8985
- repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
8986
- publishConfig: {
8987
- access: "public"
8988
- },
8989
- "umd:main": "dist/emotion-react.umd.min.js",
8990
- preconstruct: {
8991
- entrypoints: [
8992
- "./index.js",
8993
- "./jsx-runtime.js",
8994
- "./jsx-dev-runtime.js",
8995
- "./_isolated-hnrs.js"
8996
- ],
8997
- umdName: "emotionReact",
8998
- exports: {
8999
- envConditions: [
9000
- "browser",
9001
- "worker"
9002
- ],
9003
- extra: {
9004
- "./types/css-prop": "./types/css-prop.d.ts",
9005
- "./macro": {
9006
- types: {
9007
- "import": "./macro.d.mts",
9008
- "default": "./macro.d.ts"
9009
- },
9010
- "default": "./macro.js"
9011
- }
9012
- }
9013
- }
9014
- }
9015
- };
9016
-
9017
9337
  var jsx = function jsx(type, props) {
9338
+ // eslint-disable-next-line prefer-rest-params
9018
9339
  var args = arguments;
9019
9340
 
9020
- if (props == null || !hasOwnProperty.call(props, 'css')) {
9021
- // $FlowFixMe
9341
+ if (props == null || !hasOwn.call(props, 'css')) {
9022
9342
  return React__namespace.createElement.apply(undefined, args);
9023
9343
  }
9024
9344
 
@@ -9029,93 +9349,16 @@ var jsx = function jsx(type, props) {
9029
9349
 
9030
9350
  for (var i = 2; i < argsLength; i++) {
9031
9351
  createElementArgArray[i] = args[i];
9032
- } // $FlowFixMe
9033
-
9352
+ }
9034
9353
 
9035
9354
  return React__namespace.createElement.apply(null, createElementArgArray);
9036
9355
  };
9037
9356
 
9038
- var warnedAboutCssPropForGlobal = false; // maintain place over rerenders.
9039
- // initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
9040
- // initial client-side render from SSR, use place of hydrating tag
9041
-
9042
- var Global = /* #__PURE__ */withEmotionCache(function (props, cache) {
9043
- if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is
9044
- // probably using the custom createElement which
9045
- // means it will be turned into a className prop
9046
- // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
9047
- props.className || props.css)) {
9048
- console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?");
9049
- warnedAboutCssPropForGlobal = true;
9050
- }
9051
-
9052
- var styles = props.styles;
9053
- var serialized = serializeStyles([styles], undefined, React__namespace.useContext(ThemeContext));
9054
- // but it is based on a constant that will never change at runtime
9055
- // it's effectively like having two implementations and switching them out
9056
- // so it's not actually breaking anything
9057
-
9058
-
9059
- var sheetRef = React__namespace.useRef();
9060
- useInsertionEffectWithLayoutFallback(function () {
9061
- var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
9062
-
9063
- var sheet = new cache.sheet.constructor({
9064
- key: key,
9065
- nonce: cache.sheet.nonce,
9066
- container: cache.sheet.container,
9067
- speedy: cache.sheet.isSpeedy
9068
- });
9069
- var rehydrating = false; // $FlowFixMe
9070
-
9071
- var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");
9072
-
9073
- if (cache.sheet.tags.length) {
9074
- sheet.before = cache.sheet.tags[0];
9075
- }
9076
-
9077
- if (node !== null) {
9078
- rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s
9079
-
9080
- node.setAttribute('data-emotion', key);
9081
- sheet.hydrate([node]);
9082
- }
9083
-
9084
- sheetRef.current = [sheet, rehydrating];
9085
- return function () {
9086
- sheet.flush();
9087
- };
9088
- }, [cache]);
9089
- useInsertionEffectWithLayoutFallback(function () {
9090
- var sheetRefCurrent = sheetRef.current;
9091
- var sheet = sheetRefCurrent[0],
9092
- rehydrating = sheetRefCurrent[1];
9093
-
9094
- if (rehydrating) {
9095
- sheetRefCurrent[1] = false;
9096
- return;
9097
- }
9098
-
9099
- if (serialized.next !== undefined) {
9100
- // insert keyframes
9101
- insertStyles(cache, serialized.next, true);
9102
- }
9103
-
9104
- if (sheet.tags.length) {
9105
- // if this doesn't exist then it will be null so the style element will be appended
9106
- var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
9107
- sheet.before = element;
9108
- sheet.flush();
9109
- }
9357
+ (function (_jsx) {
9358
+ var JSX;
9110
9359
 
9111
- cache.insert("", serialized, sheet, false);
9112
- }, [cache, serialized.name]);
9113
- return null;
9114
- });
9115
-
9116
- if (process.env.NODE_ENV !== 'production') {
9117
- Global.displayName = 'EmotionGlobal';
9118
- }
9360
+ (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
9361
+ })(jsx || (jsx = {}));
9119
9362
 
9120
9363
  function css$2() {
9121
9364
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -9125,10 +9368,9 @@ function css$2() {
9125
9368
  return serializeStyles(args);
9126
9369
  }
9127
9370
 
9128
- var keyframes$1 = function keyframes() {
9371
+ function keyframes$1() {
9129
9372
  var insertable = css$2.apply(void 0, arguments);
9130
- var name = "animation-" + insertable.name; // $FlowFixMe
9131
-
9373
+ var name = "animation-" + insertable.name;
9132
9374
  return {
9133
9375
  name: name,
9134
9376
  styles: "@keyframes " + name + "{" + insertable.styles + "}",
@@ -9137,166 +9379,19 @@ var keyframes$1 = function keyframes() {
9137
9379
  return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
9138
9380
  }
9139
9381
  };
9140
- };
9141
-
9142
- var classnames$1 = function classnames(args) {
9143
- var len = args.length;
9144
- var i = 0;
9145
- var cls = '';
9146
-
9147
- for (; i < len; i++) {
9148
- var arg = args[i];
9149
- if (arg == null) continue;
9150
- var toAdd = void 0;
9151
-
9152
- switch (typeof arg) {
9153
- case 'boolean':
9154
- break;
9155
-
9156
- case 'object':
9157
- {
9158
- if (Array.isArray(arg)) {
9159
- toAdd = classnames(arg);
9160
- } else {
9161
- if (process.env.NODE_ENV !== 'production' && arg.styles !== undefined && arg.name !== undefined) {
9162
- 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.');
9163
- }
9164
-
9165
- toAdd = '';
9166
-
9167
- for (var k in arg) {
9168
- if (arg[k] && k) {
9169
- toAdd && (toAdd += ' ');
9170
- toAdd += k;
9171
- }
9172
- }
9173
- }
9174
-
9175
- break;
9176
- }
9177
-
9178
- default:
9179
- {
9180
- toAdd = arg;
9181
- }
9182
- }
9183
-
9184
- if (toAdd) {
9185
- cls && (cls += ' ');
9186
- cls += toAdd;
9187
- }
9188
- }
9189
-
9190
- return cls;
9191
- };
9192
-
9193
- function merge(registered, css, className) {
9194
- var registeredStyles = [];
9195
- var rawClassName = getRegisteredStyles(registered, registeredStyles, className);
9196
-
9197
- if (registeredStyles.length < 2) {
9198
- return className;
9199
- }
9200
-
9201
- return rawClassName + css(registeredStyles);
9202
- }
9203
-
9204
- var Insertion = function Insertion(_ref) {
9205
- var cache = _ref.cache,
9206
- serializedArr = _ref.serializedArr;
9207
- useInsertionEffectAlwaysWithSyncFallback(function () {
9208
-
9209
- for (var i = 0; i < serializedArr.length; i++) {
9210
- insertStyles(cache, serializedArr[i], false);
9211
- }
9212
- });
9213
-
9214
- return null;
9215
- };
9216
-
9217
- var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
9218
- var hasRendered = false;
9219
- var serializedArr = [];
9220
-
9221
- var css = function css() {
9222
- if (hasRendered && process.env.NODE_ENV !== 'production') {
9223
- throw new Error('css can only be used during render');
9224
- }
9225
-
9226
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9227
- args[_key] = arguments[_key];
9228
- }
9229
-
9230
- var serialized = serializeStyles(args, cache.registered);
9231
- serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`
9232
-
9233
- registerStyles(cache, serialized, false);
9234
- return cache.key + "-" + serialized.name;
9235
- };
9236
-
9237
- var cx = function cx() {
9238
- if (hasRendered && process.env.NODE_ENV !== 'production') {
9239
- throw new Error('cx can only be used during render');
9240
- }
9241
-
9242
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
9243
- args[_key2] = arguments[_key2];
9244
- }
9245
-
9246
- return merge(cache.registered, css, classnames$1(args));
9247
- };
9248
-
9249
- var content = {
9250
- css: css,
9251
- cx: cx,
9252
- theme: React__namespace.useContext(ThemeContext)
9253
- };
9254
- var ele = props.children(content);
9255
- hasRendered = true;
9256
- return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion, {
9257
- cache: cache,
9258
- serializedArr: serializedArr
9259
- }), ele);
9260
- });
9261
-
9262
- if (process.env.NODE_ENV !== 'production') {
9263
- ClassNames.displayName = 'EmotionClassNames';
9264
- }
9265
-
9266
- if (process.env.NODE_ENV !== 'production') {
9267
- var isBrowser$1 = "object" !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked
9268
-
9269
- var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';
9270
-
9271
- if (isBrowser$1 && !isTestEnv) {
9272
- // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
9273
- var globalContext = // $FlowIgnore
9274
- typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
9275
- : isBrowser$1 ? window : global;
9276
- var globalKey = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";
9277
-
9278
- if (globalContext[globalKey]) {
9279
- 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.');
9280
- }
9281
-
9282
- globalContext[globalKey] = true;
9283
- }
9284
9382
  }
9285
9383
 
9286
- function _taggedTemplateLiteral(strings, raw) {
9287
- if (!raw) {
9288
- raw = strings.slice(0);
9289
- }
9290
- return Object.freeze(Object.defineProperties(strings, {
9384
+ function _taggedTemplateLiteral(e, t) {
9385
+ return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
9291
9386
  raw: {
9292
- value: Object.freeze(raw)
9387
+ value: Object.freeze(t)
9293
9388
  }
9294
9389
  }));
9295
9390
  }
9296
9391
 
9297
- var index = React.useLayoutEffect ;
9392
+ var index = React.useLayoutEffect ;
9298
9393
 
9299
- var _excluded$3 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
9394
+ var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
9300
9395
  // ==============================
9301
9396
  // NO OP
9302
9397
  // ==============================
@@ -9373,7 +9468,7 @@ var cleanCommonProps = function cleanCommonProps(props) {
9373
9468
  props.selectProps;
9374
9469
  props.setValue;
9375
9470
  props.theme;
9376
- var innerProps = _objectWithoutProperties(props, _excluded$3);
9471
+ var innerProps = _objectWithoutProperties(props, _excluded$4);
9377
9472
  return _objectSpread2({}, innerProps);
9378
9473
  };
9379
9474
 
@@ -9587,6 +9682,8 @@ var removeProps = function removeProps(propsObj) {
9587
9682
  }, {});
9588
9683
  };
9589
9684
 
9685
+ var _excluded$3 = ["children", "innerProps"],
9686
+ _excluded2$1 = ["children", "innerProps"];
9590
9687
  function getMenuPlacement(_ref) {
9591
9688
  var preferredMaxHeight = _ref.maxHeight,
9592
9689
  menuEl = _ref.menuEl,
@@ -9881,37 +9978,41 @@ var noticeCSS = function noticeCSS(_ref5, unstyled) {
9881
9978
  };
9882
9979
  var noOptionsMessageCSS = noticeCSS;
9883
9980
  var loadingMessageCSS = noticeCSS;
9884
- var NoOptionsMessage = function NoOptionsMessage(props) {
9885
- var children = props.children,
9886
- innerProps = props.innerProps;
9887
- return jsx("div", _extends({}, getStyleProps(props, 'noOptionsMessage', {
9981
+ var NoOptionsMessage = function NoOptionsMessage(_ref6) {
9982
+ var _ref6$children = _ref6.children,
9983
+ children = _ref6$children === void 0 ? 'No options' : _ref6$children,
9984
+ innerProps = _ref6.innerProps,
9985
+ restProps = _objectWithoutProperties(_ref6, _excluded$3);
9986
+ return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
9987
+ children: children,
9988
+ innerProps: innerProps
9989
+ }), 'noOptionsMessage', {
9888
9990
  'menu-notice': true,
9889
9991
  'menu-notice--no-options': true
9890
9992
  }), innerProps), children);
9891
9993
  };
9892
- NoOptionsMessage.defaultProps = {
9893
- children: 'No options'
9894
- };
9895
- var LoadingMessage = function LoadingMessage(props) {
9896
- var children = props.children,
9897
- innerProps = props.innerProps;
9898
- return jsx("div", _extends({}, getStyleProps(props, 'loadingMessage', {
9994
+ var LoadingMessage = function LoadingMessage(_ref7) {
9995
+ var _ref7$children = _ref7.children,
9996
+ children = _ref7$children === void 0 ? 'Loading...' : _ref7$children,
9997
+ innerProps = _ref7.innerProps,
9998
+ restProps = _objectWithoutProperties(_ref7, _excluded2$1);
9999
+ return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
10000
+ children: children,
10001
+ innerProps: innerProps
10002
+ }), 'loadingMessage', {
9899
10003
  'menu-notice': true,
9900
10004
  'menu-notice--loading': true
9901
10005
  }), innerProps), children);
9902
10006
  };
9903
- LoadingMessage.defaultProps = {
9904
- children: 'Loading...'
9905
- };
9906
10007
 
9907
10008
  // ==============================
9908
10009
  // Menu Portal
9909
10010
  // ==============================
9910
10011
 
9911
- var menuPortalCSS = function menuPortalCSS(_ref6) {
9912
- var rect = _ref6.rect,
9913
- offset = _ref6.offset,
9914
- position = _ref6.position;
10012
+ var menuPortalCSS = function menuPortalCSS(_ref8) {
10013
+ var rect = _ref8.rect,
10014
+ offset = _ref8.offset,
10015
+ position = _ref8.position;
9915
10016
  return {
9916
10017
  left: rect.left,
9917
10018
  position: position,
@@ -10074,7 +10175,8 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
10074
10175
  };
10075
10176
 
10076
10177
  var _templateObject;
10077
- var _excluded$2 = ["size"];
10178
+ var _excluded$2 = ["size"],
10179
+ _excluded2 = ["innerProps", "isRtl", "size"];
10078
10180
  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)."; }
10079
10181
 
10080
10182
  // ==============================
@@ -10086,7 +10188,7 @@ var _ref2$2 = process.env.NODE_ENV === "production" ? {
10086
10188
  } : {
10087
10189
  name: "tj5bde-Svg",
10088
10190
  styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
10089
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3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ICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgICAgey4uLmlubmVyUHJvcHN9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */",
10191
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpb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x0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
10090
10192
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
10091
10193
  };
10092
10194
  var Svg = function Svg(_ref) {
@@ -10221,13 +10323,20 @@ var LoadingDot = function LoadingDot(_ref6) {
10221
10323
  height: '1em',
10222
10324
  verticalAlign: 'top',
10223
10325
  width: '1em'
10224
- }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZG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NldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */")
10326
+ }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdod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uICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
10225
10327
  });
10226
10328
  };
10227
- var LoadingIndicator = function LoadingIndicator(props) {
10228
- var innerProps = props.innerProps,
10229
- isRtl = props.isRtl;
10230
- return jsx("div", _extends({}, getStyleProps(props, 'loadingIndicator', {
10329
+ var LoadingIndicator = function LoadingIndicator(_ref7) {
10330
+ var innerProps = _ref7.innerProps,
10331
+ isRtl = _ref7.isRtl,
10332
+ _ref7$size = _ref7.size,
10333
+ size = _ref7$size === void 0 ? 4 : _ref7$size,
10334
+ restProps = _objectWithoutProperties(_ref7, _excluded2);
10335
+ return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
10336
+ innerProps: innerProps,
10337
+ isRtl: isRtl,
10338
+ size: size
10339
+ }), 'loadingIndicator', {
10231
10340
  indicator: true,
10232
10341
  'loading-indicator': true
10233
10342
  }), innerProps), jsx(LoadingDot, {
@@ -10241,9 +10350,6 @@ var LoadingIndicator = function LoadingIndicator(props) {
10241
10350
  offset: !isRtl
10242
10351
  }));
10243
10352
  };
10244
- LoadingIndicator.defaultProps = {
10245
- size: 4
10246
- };
10247
10353
 
10248
10354
  var css$1 = function css(_ref, unstyled) {
10249
10355
  var isDisabled = _ref.isDisabled,
@@ -10289,7 +10395,9 @@ var Control = function Control(props) {
10289
10395
  'control--is-disabled': isDisabled,
10290
10396
  'control--is-focused': isFocused,
10291
10397
  'control--menu-is-open': menuIsOpen
10292
- }), innerProps), children);
10398
+ }), innerProps, {
10399
+ "aria-disabled": isDisabled || undefined
10400
+ }), children);
10293
10401
  };
10294
10402
  var Control$1 = Control;
10295
10403
 
@@ -10350,7 +10458,7 @@ var GroupHeading = function GroupHeading(props) {
10350
10458
  };
10351
10459
  var Group$1$1 = Group$1;
10352
10460
 
10353
- var _excluded$4 = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
10461
+ var _excluded$5 = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
10354
10462
  var inputCSS = function inputCSS(_ref, unstyled) {
10355
10463
  var isDisabled = _ref.isDisabled,
10356
10464
  value = _ref.value,
@@ -10406,7 +10514,7 @@ var Input = function Input(props) {
10406
10514
  isDisabled = _cleanCommonProps.isDisabled,
10407
10515
  isHidden = _cleanCommonProps.isHidden,
10408
10516
  inputClassName = _cleanCommonProps.inputClassName,
10409
- innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$4);
10517
+ innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$5);
10410
10518
  return jsx("div", _extends({}, getStyleProps(props, 'input', {
10411
10519
  'input-container': true
10412
10520
  }), {
@@ -10711,7 +10819,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
10711
10819
  } : {
10712
10820
  name: "1f43avz-a11yText-A11yText",
10713
10821
  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;",
10714
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
10822
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
10715
10823
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
10716
10824
  };
10717
10825
  var A11yText = function A11yText(props) {
@@ -10725,14 +10833,14 @@ var defaultAriaLiveMessages = {
10725
10833
  guidance: function guidance(props) {
10726
10834
  var isSearchable = props.isSearchable,
10727
10835
  isMulti = props.isMulti,
10728
- isDisabled = props.isDisabled,
10729
10836
  tabSelectsValue = props.tabSelectsValue,
10730
- context = props.context;
10837
+ context = props.context,
10838
+ isInitialFocus = props.isInitialFocus;
10731
10839
  switch (context) {
10732
10840
  case 'menu':
10733
- 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' : '', ".");
10841
+ 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' : '', ".");
10734
10842
  case 'input':
10735
- 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' : '');
10843
+ 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' : '') : '';
10736
10844
  case 'value':
10737
10845
  return 'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';
10738
10846
  default:
@@ -10768,17 +10876,18 @@ var defaultAriaLiveMessages = {
10768
10876
  label = _props$label2 === void 0 ? '' : _props$label2,
10769
10877
  selectValue = props.selectValue,
10770
10878
  isDisabled = props.isDisabled,
10771
- isSelected = props.isSelected;
10879
+ isSelected = props.isSelected,
10880
+ isAppleDevice = props.isAppleDevice;
10772
10881
  var getArrayIndex = function getArrayIndex(arr, item) {
10773
10882
  return arr && arr.length ? "".concat(arr.indexOf(item) + 1, " of ").concat(arr.length) : '';
10774
10883
  };
10775
10884
  if (context === 'value' && selectValue) {
10776
10885
  return "value ".concat(label, " focused, ").concat(getArrayIndex(selectValue, focused), ".");
10777
10886
  }
10778
- if (context === 'menu') {
10887
+ if (context === 'menu' && isAppleDevice) {
10779
10888
  var disabled = isDisabled ? ' disabled' : '';
10780
- var status = "".concat(isSelected ? 'selected' : 'focused').concat(disabled);
10781
- return "option ".concat(label, " ").concat(status, ", ").concat(getArrayIndex(options, focused), ".");
10889
+ var status = "".concat(isSelected ? ' selected' : '').concat(disabled);
10890
+ return "".concat(label).concat(status, ", ").concat(getArrayIndex(options, focused), ".");
10782
10891
  }
10783
10892
  return '';
10784
10893
  },
@@ -10797,7 +10906,8 @@ var LiveRegion = function LiveRegion(props) {
10797
10906
  isFocused = props.isFocused,
10798
10907
  selectValue = props.selectValue,
10799
10908
  selectProps = props.selectProps,
10800
- id = props.id;
10909
+ id = props.id,
10910
+ isAppleDevice = props.isAppleDevice;
10801
10911
  var ariaLiveMessages = selectProps.ariaLiveMessages,
10802
10912
  getOptionLabel = selectProps.getOptionLabel,
10803
10913
  inputValue = selectProps.inputValue,
@@ -10807,7 +10917,8 @@ var LiveRegion = function LiveRegion(props) {
10807
10917
  menuIsOpen = selectProps.menuIsOpen,
10808
10918
  options = selectProps.options,
10809
10919
  screenReaderStatus = selectProps.screenReaderStatus,
10810
- tabSelectsValue = selectProps.tabSelectsValue;
10920
+ tabSelectsValue = selectProps.tabSelectsValue,
10921
+ isLoading = selectProps.isLoading;
10811
10922
  var ariaLabel = selectProps['aria-label'];
10812
10923
  var ariaLive = selectProps['aria-live'];
10813
10924
 
@@ -10860,15 +10971,16 @@ var LiveRegion = function LiveRegion(props) {
10860
10971
  isSelected: isSelected,
10861
10972
  options: focusableOptions,
10862
10973
  context: focused === focusedOption ? 'menu' : 'value',
10863
- selectValue: selectValue
10974
+ selectValue: selectValue,
10975
+ isAppleDevice: isAppleDevice
10864
10976
  };
10865
10977
  focusMsg = messages.onFocus(onFocusProps);
10866
10978
  }
10867
10979
  return focusMsg;
10868
- }, [focusedOption, focusedValue, getOptionLabel, isOptionDisabled, messages, focusableOptions, selectValue]);
10980
+ }, [focusedOption, focusedValue, getOptionLabel, isOptionDisabled, messages, focusableOptions, selectValue, isAppleDevice]);
10869
10981
  var ariaResults = React.useMemo(function () {
10870
10982
  var resultsMsg = '';
10871
- if (menuIsOpen && options.length && messages.onFilter) {
10983
+ if (menuIsOpen && options.length && !isLoading && messages.onFilter) {
10872
10984
  var resultsMessage = screenReaderStatus({
10873
10985
  count: focusableOptions.length
10874
10986
  });
@@ -10878,7 +10990,8 @@ var LiveRegion = function LiveRegion(props) {
10878
10990
  });
10879
10991
  }
10880
10992
  return resultsMsg;
10881
- }, [focusableOptions, inputValue, menuIsOpen, messages, options, screenReaderStatus]);
10993
+ }, [focusableOptions, inputValue, menuIsOpen, messages, options, screenReaderStatus, isLoading]);
10994
+ var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus';
10882
10995
  var ariaGuidance = React.useMemo(function () {
10883
10996
  var guidanceMsg = '';
10884
10997
  if (messages.guidance) {
@@ -10889,24 +11002,28 @@ var LiveRegion = function LiveRegion(props) {
10889
11002
  isDisabled: focusedOption && isOptionDisabled(focusedOption, selectValue),
10890
11003
  isMulti: isMulti,
10891
11004
  isSearchable: isSearchable,
10892
- tabSelectsValue: tabSelectsValue
11005
+ tabSelectsValue: tabSelectsValue,
11006
+ isInitialFocus: isInitialFocus
10893
11007
  });
10894
11008
  }
10895
11009
  return guidanceMsg;
10896
- }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue]);
10897
- var ariaContext = "".concat(ariaFocused, " ").concat(ariaResults, " ").concat(ariaGuidance);
11010
+ }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
10898
11011
  var ScreenReaderText = jsx(React.Fragment, null, jsx("span", {
10899
11012
  id: "aria-selection"
10900
11013
  }, ariaSelected), jsx("span", {
10901
- id: "aria-context"
10902
- }, ariaContext));
10903
- var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus';
11014
+ id: "aria-focused"
11015
+ }, ariaFocused), jsx("span", {
11016
+ id: "aria-results"
11017
+ }, ariaResults), jsx("span", {
11018
+ id: "aria-guidance"
11019
+ }, ariaGuidance));
10904
11020
  return jsx(React.Fragment, null, jsx(A11yText$1, {
10905
11021
  id: id
10906
11022
  }, isInitialFocus && ScreenReaderText), jsx(A11yText$1, {
10907
11023
  "aria-live": ariaLive,
10908
11024
  "aria-atomic": "false",
10909
- "aria-relevant": "additions text"
11025
+ "aria-relevant": "additions text",
11026
+ role: "log"
10910
11027
  }, isFocused && !isInitialFocus && ScreenReaderText));
10911
11028
  };
10912
11029
  var LiveRegion$1 = LiveRegion;
@@ -11246,12 +11363,12 @@ function DummyInput(_ref) {
11246
11363
  opacity: 0,
11247
11364
  position: 'relative',
11248
11365
  transform: 'scale(.01)'
11249
- }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")
11366
+ }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")
11250
11367
  }));
11251
11368
  }
11252
11369
 
11253
11370
  var cancelScroll = function cancelScroll(event) {
11254
- event.preventDefault();
11371
+ if (event.cancelable) event.preventDefault();
11255
11372
  event.stopPropagation();
11256
11373
  };
11257
11374
  function useScrollCapture(_ref) {
@@ -11359,7 +11476,7 @@ var LOCK_STYLES = {
11359
11476
  height: '100%'
11360
11477
  };
11361
11478
  function preventTouchMove(e) {
11362
- e.preventDefault();
11479
+ if (e.cancelable) e.preventDefault();
11363
11480
  }
11364
11481
  function allowTouchMove(e) {
11365
11482
  e.stopPropagation();
@@ -11476,8 +11593,9 @@ function useScrollLock(_ref) {
11476
11593
  }
11477
11594
 
11478
11595
  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)."; }
11479
- var blurSelectInput = function blurSelectInput() {
11480
- return document.activeElement && document.activeElement.blur();
11596
+ var blurSelectInput = function blurSelectInput(event) {
11597
+ var element = event.target;
11598
+ return element.ownerDocument.activeElement && element.ownerDocument.activeElement.blur();
11481
11599
  };
11482
11600
  var _ref2$1 = process.env.NODE_ENV === "production" ? {
11483
11601
  name: "1kfdb0e",
@@ -11485,7 +11603,7 @@ var _ref2$1 = process.env.NODE_ENV === "production" ? {
11485
11603
  } : {
11486
11604
  name: "bp8cua-ScrollManager",
11487
11605
  styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
11488
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3Bz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XJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",
11489
11607
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
11490
11608
  };
11491
11609
  function ScrollManager(_ref) {
@@ -11545,6 +11663,30 @@ var RequiredInput = function RequiredInput(_ref) {
11545
11663
  };
11546
11664
  var RequiredInput$1 = RequiredInput;
11547
11665
 
11666
+ /// <reference types="user-agent-data-types" />
11667
+
11668
+ function testPlatform(re) {
11669
+ var _window$navigator$use;
11670
+ 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;
11671
+ }
11672
+ function isIPhone() {
11673
+ return testPlatform(/^iPhone/i);
11674
+ }
11675
+ function isMac() {
11676
+ return testPlatform(/^Mac/i);
11677
+ }
11678
+ function isIPad() {
11679
+ return testPlatform(/^iPad/i) ||
11680
+ // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
11681
+ isMac() && navigator.maxTouchPoints > 1;
11682
+ }
11683
+ function isIOS() {
11684
+ return isIPhone() || isIPad();
11685
+ }
11686
+ function isAppleDevice() {
11687
+ return isMac() || isIOS();
11688
+ }
11689
+
11548
11690
  var formatGroupLabel = function formatGroupLabel(group) {
11549
11691
  return group.label;
11550
11692
  };
@@ -11714,6 +11856,24 @@ function buildFocusableOptionsFromCategorizedOptions(categorizedOptions) {
11714
11856
  return optionsAccumulator;
11715
11857
  }, []);
11716
11858
  }
11859
+ function buildFocusableOptionsWithIds(categorizedOptions, optionId) {
11860
+ return categorizedOptions.reduce(function (optionsAccumulator, categorizedOption) {
11861
+ if (categorizedOption.type === 'group') {
11862
+ optionsAccumulator.push.apply(optionsAccumulator, _toConsumableArray(categorizedOption.options.map(function (option) {
11863
+ return {
11864
+ data: option.data,
11865
+ id: "".concat(optionId, "-").concat(categorizedOption.index, "-").concat(option.index)
11866
+ };
11867
+ })));
11868
+ } else {
11869
+ optionsAccumulator.push({
11870
+ data: categorizedOption.data,
11871
+ id: "".concat(optionId, "-").concat(categorizedOption.index)
11872
+ });
11873
+ }
11874
+ return optionsAccumulator;
11875
+ }, []);
11876
+ }
11717
11877
  function buildFocusableOptions(props, selectValue) {
11718
11878
  return buildFocusableOptionsFromCategorizedOptions(buildCategorizedOptions(props, selectValue));
11719
11879
  }
@@ -11751,6 +11911,13 @@ function getNextFocusedOption(state, options) {
11751
11911
  var lastFocusedOption = state.focusedOption;
11752
11912
  return lastFocusedOption && options.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options[0];
11753
11913
  }
11914
+ var getFocusedOptionId = function getFocusedOptionId(focusableOptionsWithIds, focusedOption) {
11915
+ var _focusableOptionsWith;
11916
+ var focusedOptionId = (_focusableOptionsWith = focusableOptionsWithIds.find(function (option) {
11917
+ return option.data === focusedOption;
11918
+ })) === null || _focusableOptionsWith === void 0 ? void 0 : _focusableOptionsWith.id;
11919
+ return focusedOptionId || null;
11920
+ };
11754
11921
  var getOptionLabel = function getOptionLabel(props, data) {
11755
11922
  return props.getOptionLabel(data);
11756
11923
  };
@@ -11801,6 +11968,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
11801
11968
  _this.state = {
11802
11969
  ariaSelection: null,
11803
11970
  focusedOption: null,
11971
+ focusedOptionId: null,
11972
+ focusableOptionsWithIds: [],
11804
11973
  focusedValue: null,
11805
11974
  inputIsHidden: false,
11806
11975
  isFocused: false,
@@ -11808,17 +11977,18 @@ var Select$1 = /*#__PURE__*/function (_Component) {
11808
11977
  clearFocusValueOnUpdate: false,
11809
11978
  prevWasFocused: false,
11810
11979
  inputIsHiddenAfterUpdate: undefined,
11811
- prevProps: undefined
11980
+ prevProps: undefined,
11981
+ instancePrefix: ''
11812
11982
  };
11813
11983
  _this.blockOptionHover = false;
11814
11984
  _this.isComposing = false;
11815
11985
  _this.commonProps = void 0;
11816
11986
  _this.initialTouchX = 0;
11817
11987
  _this.initialTouchY = 0;
11818
- _this.instancePrefix = '';
11819
11988
  _this.openAfterFocus = false;
11820
11989
  _this.scrollToFocusedOptionOnUpdate = false;
11821
11990
  _this.userIsDragging = void 0;
11991
+ _this.isAppleDevice = isAppleDevice();
11822
11992
  _this.controlRef = null;
11823
11993
  _this.getControlRef = function (ref) {
11824
11994
  _this.controlRef = ref;
@@ -11928,10 +12098,18 @@ var Select$1 = /*#__PURE__*/function (_Component) {
11928
12098
  var lastSelectedValue = selectValue[selectValue.length - 1];
11929
12099
  var newValueArray = selectValue.slice(0, selectValue.length - 1);
11930
12100
  var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);
11931
- _this.onChange(newValue, {
11932
- action: 'pop-value',
11933
- removedValue: lastSelectedValue
11934
- });
12101
+ if (lastSelectedValue) {
12102
+ _this.onChange(newValue, {
12103
+ action: 'pop-value',
12104
+ removedValue: lastSelectedValue
12105
+ });
12106
+ }
12107
+ };
12108
+ _this.getFocusedOptionId = function (focusedOption) {
12109
+ return getFocusedOptionId(_this.state.focusableOptionsWithIds, focusedOption);
12110
+ };
12111
+ _this.getFocusableOptionsWithIds = function () {
12112
+ return buildFocusableOptionsWithIds(buildCategorizedOptions(_this.props, _this.state.selectValue), _this.getElementId('option'));
11935
12113
  };
11936
12114
  _this.getValue = function () {
11937
12115
  return _this.state.selectValue;
@@ -11960,7 +12138,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
11960
12138
  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);
11961
12139
  };
11962
12140
  _this.getElementId = function (element) {
11963
- return "".concat(_this.instancePrefix, "-").concat(element);
12141
+ return "".concat(_this.state.instancePrefix, "-").concat(element);
11964
12142
  };
11965
12143
  _this.getComponents = function () {
11966
12144
  return defaultComponents(_this.props);
@@ -12169,8 +12347,11 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12169
12347
  if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) {
12170
12348
  return;
12171
12349
  }
12350
+ var options = _this.getFocusableOptions();
12351
+ var focusedOptionIndex = options.indexOf(focusedOption);
12172
12352
  _this.setState({
12173
- focusedOption: focusedOption
12353
+ focusedOption: focusedOption,
12354
+ focusedOptionId: focusedOptionIndex > -1 ? _this.getFocusedOptionId(focusedOption) : null
12174
12355
  });
12175
12356
  };
12176
12357
  _this.shouldHideSelectedOptions = function () {
@@ -12314,14 +12495,16 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12314
12495
  }
12315
12496
  event.preventDefault();
12316
12497
  };
12317
- _this.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
12498
+ _this.state.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
12318
12499
  _this.state.selectValue = cleanValue(_props.value);
12319
-
12320
12500
  // Set focusedOption if menuIsOpen is set on init (e.g. defaultMenuIsOpen)
12321
12501
  if (_props.menuIsOpen && _this.state.selectValue.length) {
12502
+ var focusableOptionsWithIds = _this.getFocusableOptionsWithIds();
12322
12503
  var focusableOptions = _this.buildFocusableOptions();
12323
12504
  var optionIndex = focusableOptions.indexOf(_this.state.selectValue[0]);
12505
+ _this.state.focusableOptionsWithIds = focusableOptionsWithIds;
12324
12506
  _this.state.focusedOption = focusableOptions[optionIndex];
12507
+ _this.state.focusedOptionId = getFocusedOptionId(focusableOptionsWithIds, focusableOptions[optionIndex]);
12325
12508
  }
12326
12509
  return _this;
12327
12510
  }
@@ -12446,7 +12629,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12446
12629
  this.setState({
12447
12630
  inputIsHiddenAfterUpdate: false,
12448
12631
  focusedValue: null,
12449
- focusedOption: focusableOptions[openAtIndex]
12632
+ focusedOption: focusableOptions[openAtIndex],
12633
+ focusedOptionId: this.getFocusedOptionId(focusableOptions[openAtIndex])
12450
12634
  }, function () {
12451
12635
  return _this2.onMenuOpen();
12452
12636
  });
@@ -12522,7 +12706,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12522
12706
  this.scrollToFocusedOptionOnUpdate = true;
12523
12707
  this.setState({
12524
12708
  focusedOption: options[nextFocus],
12525
- focusedValue: null
12709
+ focusedValue: null,
12710
+ focusedOptionId: this.getFocusedOptionId(options[nextFocus])
12526
12711
  });
12527
12712
  }
12528
12713
  }, {
@@ -12718,10 +12903,10 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12718
12903
  'aria-label': this.props['aria-label'],
12719
12904
  'aria-labelledby': this.props['aria-labelledby'],
12720
12905
  'aria-required': required,
12721
- role: 'combobox'
12906
+ role: 'combobox',
12907
+ 'aria-activedescendant': this.isAppleDevice ? undefined : this.state.focusedOptionId || ''
12722
12908
  }, menuIsOpen && {
12723
- 'aria-controls': this.getElementId('listbox'),
12724
- 'aria-owns': this.getElementId('listbox')
12909
+ 'aria-controls': this.getElementId('listbox')
12725
12910
  }), !isSearchable && {
12726
12911
  'aria-readonly': true
12727
12912
  }), this.hasValue() ? (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus' && {
@@ -12966,8 +13151,11 @@ var Select$1 = /*#__PURE__*/function (_Component) {
12966
13151
  onClick: onSelect,
12967
13152
  onMouseMove: onHover,
12968
13153
  onMouseOver: onHover,
12969
- tabIndex: -1
13154
+ tabIndex: -1,
13155
+ role: 'option',
13156
+ 'aria-selected': _this4.isAppleDevice ? undefined : isSelected // is not supported on Apple devices
12970
13157
  };
13158
+
12971
13159
  return /*#__PURE__*/React__namespace.createElement(Option, _extends({}, commonProps, {
12972
13160
  innerProps: innerProps,
12973
13161
  data: data,
@@ -13036,8 +13224,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13036
13224
  innerRef: ref,
13037
13225
  innerProps: {
13038
13226
  onMouseDown: _this4.onMenuMouseDown,
13039
- onMouseMove: _this4.onMenuMouseMove,
13040
- id: _this4.getElementId('listbox')
13227
+ onMouseMove: _this4.onMenuMouseMove
13041
13228
  },
13042
13229
  isLoading: isLoading,
13043
13230
  placement: placement
@@ -13052,6 +13239,11 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13052
13239
  _this4.getMenuListRef(instance);
13053
13240
  scrollTargetRef(instance);
13054
13241
  },
13242
+ innerProps: {
13243
+ role: 'listbox',
13244
+ 'aria-multiselectable': commonProps.isMulti,
13245
+ id: _this4.getElementId('listbox')
13246
+ },
13055
13247
  isLoading: isLoading,
13056
13248
  maxHeight: maxHeight,
13057
13249
  focusedOption: focusedOption
@@ -13139,7 +13331,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13139
13331
  focusedValue: focusedValue,
13140
13332
  isFocused: isFocused,
13141
13333
  selectValue: selectValue,
13142
- focusableOptions: focusableOptions
13334
+ focusableOptions: focusableOptions,
13335
+ isAppleDevice: this.isAppleDevice
13143
13336
  }));
13144
13337
  }
13145
13338
  }, {
@@ -13188,7 +13381,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13188
13381
  inputIsHiddenAfterUpdate = state.inputIsHiddenAfterUpdate,
13189
13382
  ariaSelection = state.ariaSelection,
13190
13383
  isFocused = state.isFocused,
13191
- prevWasFocused = state.prevWasFocused;
13384
+ prevWasFocused = state.prevWasFocused,
13385
+ instancePrefix = state.instancePrefix;
13192
13386
  var options = props.options,
13193
13387
  value = props.value,
13194
13388
  menuIsOpen = props.menuIsOpen,
@@ -13198,11 +13392,15 @@ var Select$1 = /*#__PURE__*/function (_Component) {
13198
13392
  var newMenuOptionsState = {};
13199
13393
  if (prevProps && (value !== prevProps.value || options !== prevProps.options || menuIsOpen !== prevProps.menuIsOpen || inputValue !== prevProps.inputValue)) {
13200
13394
  var focusableOptions = menuIsOpen ? buildFocusableOptions(props, selectValue) : [];
13395
+ var focusableOptionsWithIds = menuIsOpen ? buildFocusableOptionsWithIds(buildCategorizedOptions(props, selectValue), "".concat(instancePrefix, "-option")) : [];
13201
13396
  var focusedValue = clearFocusValueOnUpdate ? getNextFocusedValue(state, selectValue) : null;
13202
13397
  var focusedOption = getNextFocusedOption(state, focusableOptions);
13398
+ var focusedOptionId = getFocusedOptionId(focusableOptionsWithIds, focusedOption);
13203
13399
  newMenuOptionsState = {
13204
13400
  selectValue: selectValue,
13205
13401
  focusedOption: focusedOption,
13402
+ focusedOptionId: focusedOptionId,
13403
+ focusableOptionsWithIds: focusableOptionsWithIds,
13206
13404
  focusedValue: focusedValue,
13207
13405
  clearFocusValueOnUpdate: false
13208
13406
  };
@@ -13601,7 +13799,7 @@ var DialogOverlayImpl = React__namespace.forwardRef(
13601
13799
  return (
13602
13800
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
13603
13801
  // ie. when `Overlay` and `Content` are siblings
13604
- /* @__PURE__ */ jsxRuntime.jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsxRuntime.jsx(
13802
+ /* @__PURE__ */ jsxRuntime.jsx(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsxRuntime.jsx(
13605
13803
  Primitive.div,
13606
13804
  {
13607
13805
  "data-state": getState$2(context.open),
@@ -13814,11 +14012,7 @@ var Title = DialogTitle$1;
13814
14012
  var Description = DialogDescription$1;
13815
14013
  var Close = DialogClose$1;
13816
14014
 
13817
- var classnamesExports = {};
13818
- var classnames = {
13819
- get exports(){ return classnamesExports; },
13820
- set exports(v){ classnamesExports = v; },
13821
- };
14015
+ var classnames = {exports: {}};
13822
14016
 
13823
14017
  /*!
13824
14018
  Copyright (c) 2018 Jed Watson.
@@ -13826,58 +14020,84 @@ var classnames = {
13826
14020
  http://jedwatson.github.io/classnames
13827
14021
  */
13828
14022
 
13829
- (function (module) {
13830
- /* global define */
13831
-
13832
- (function () {
14023
+ var hasRequiredClassnames;
13833
14024
 
13834
- var hasOwn = {}.hasOwnProperty;
14025
+ function requireClassnames () {
14026
+ if (hasRequiredClassnames) return classnames.exports;
14027
+ hasRequiredClassnames = 1;
14028
+ (function (module) {
14029
+ /* global define */
13835
14030
 
13836
- function classNames() {
13837
- var classes = [];
14031
+ (function () {
13838
14032
 
13839
- for (var i = 0; i < arguments.length; i++) {
13840
- var arg = arguments[i];
13841
- if (!arg) continue;
14033
+ var hasOwn = {}.hasOwnProperty;
13842
14034
 
13843
- var argType = typeof arg;
14035
+ function classNames () {
14036
+ var classes = '';
13844
14037
 
13845
- if (argType === 'string' || argType === 'number') {
13846
- classes.push(arg);
13847
- } else if (Array.isArray(arg)) {
13848
- if (arg.length) {
13849
- var inner = classNames.apply(null, arg);
13850
- if (inner) {
13851
- classes.push(inner);
13852
- }
13853
- }
13854
- } else if (argType === 'object') {
13855
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
13856
- classes.push(arg.toString());
13857
- continue;
14038
+ for (var i = 0; i < arguments.length; i++) {
14039
+ var arg = arguments[i];
14040
+ if (arg) {
14041
+ classes = appendClass(classes, parseValue(arg));
13858
14042
  }
14043
+ }
14044
+
14045
+ return classes;
14046
+ }
14047
+
14048
+ function parseValue (arg) {
14049
+ if (typeof arg === 'string' || typeof arg === 'number') {
14050
+ return arg;
14051
+ }
14052
+
14053
+ if (typeof arg !== 'object') {
14054
+ return '';
14055
+ }
14056
+
14057
+ if (Array.isArray(arg)) {
14058
+ return classNames.apply(null, arg);
14059
+ }
13859
14060
 
13860
- for (var key in arg) {
13861
- if (hasOwn.call(arg, key) && arg[key]) {
13862
- classes.push(key);
13863
- }
14061
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
14062
+ return arg.toString();
14063
+ }
14064
+
14065
+ var classes = '';
14066
+
14067
+ for (var key in arg) {
14068
+ if (hasOwn.call(arg, key) && arg[key]) {
14069
+ classes = appendClass(classes, key);
13864
14070
  }
13865
14071
  }
14072
+
14073
+ return classes;
13866
14074
  }
13867
14075
 
13868
- return classes.join(' ');
13869
- }
14076
+ function appendClass (value, newClass) {
14077
+ if (!newClass) {
14078
+ return value;
14079
+ }
14080
+
14081
+ if (value) {
14082
+ return value + ' ' + newClass;
14083
+ }
14084
+
14085
+ return value + newClass;
14086
+ }
13870
14087
 
13871
- if (module.exports) {
13872
- classNames.default = classNames;
13873
- module.exports = classNames;
13874
- } else {
13875
- window.classNames = classNames;
13876
- }
13877
- }());
13878
- } (classnames));
14088
+ if (module.exports) {
14089
+ classNames.default = classNames;
14090
+ module.exports = classNames;
14091
+ } else {
14092
+ window.classNames = classNames;
14093
+ }
14094
+ }());
14095
+ } (classnames));
14096
+ return classnames.exports;
14097
+ }
13879
14098
 
13880
- var classNames = classnamesExports;
14099
+ var classnamesExports = requireClassnames();
14100
+ var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
13881
14101
 
13882
14102
  const Dialog = Root$4;
13883
14103
  const DialogPortal = Portal$1;
@@ -15092,7 +15312,7 @@ var MenuContentImpl = React__namespace.forwardRef(
15092
15312
  const pointerGraceIntentRef = React__namespace.useRef(null);
15093
15313
  const pointerDirRef = React__namespace.useRef("right");
15094
15314
  const lastPointerXRef = React__namespace.useRef(0);
15095
- const ScrollLockWrapper = disableOutsideScroll ? RemoveScroll : React__namespace.Fragment;
15315
+ const ScrollLockWrapper = disableOutsideScroll ? ReactRemoveScroll : React__namespace.Fragment;
15096
15316
  const scrollLockWrapperProps = disableOutsideScroll ? { as: Slot, allowPinchZoom: true } : void 0;
15097
15317
  const handleTypeaheadSearch = (key) => {
15098
15318
  const search = searchRef.current + key;
@@ -16067,19 +16287,57 @@ const Alert = ({ children, dismissible = true, onClose, show = true, variant, te
16067
16287
  dismissible && (React.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 }))));
16068
16288
  };
16069
16289
 
16290
+ /**
16291
+ * Renders an icon that has an SVG icon path (see {@link isSvgIcon() })
16292
+ *
16293
+ * @param onClick - function to call when clicking the icon (takes no parameters)
16294
+ * @param id - id that can be placed on the SvgIcon component
16295
+ * @param testId - id that will be used in the data-testid attribute on the icon
16296
+ * @param customId - id that will be used in the data-customid attribute on the icon. Can be used to identify the icon
16297
+ * as the click event target in an event handler
16298
+ * @param icon - the SVG icon
16299
+ * @param color - used to add a custom color to the icon (required if type="color")
16300
+ * @param extraClassNames - extra class names to apply
16301
+ * @param [viewBox='0 0 19 19'] - optional SVG view box
16302
+ * @param type - default will use dark/light text colors otherwise will use the theme color
16303
+ * @param tooltipProps - props to pass to the tooltip
16304
+ */
16305
+ const SvgIcon = ({ onClick, icon, color, type = 'default', extraClassNames, viewBox = '0 0 19 19', id, testId, customId, ...tooltipProps }) => {
16306
+ const appliedClassNames = `${onClick ? 'tw-cursor-pointer' : ''} ${extraClassNames} focus:tw-outline-none focus-visible:tw-outline-none
16307
+ tw-outline-none`;
16308
+ const tooltipData = getQTipData(tooltipProps);
16309
+ const appliedType = type === 'default' ? 'currentColor' : 'rgb(var(--sq-icon))';
16310
+ return (React.createElement("div", { onClick: onClick, ...tooltipData, className: `svgContainer ${appliedClassNames}` },
16311
+ React.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 },
16312
+ React.createElement("path", { d: getSvgIconPath(icon) }))));
16313
+ };
16314
+
16070
16315
  const SeeqActionDropdownItem = (item) => {
16316
+ let renderIcon = React.createElement(React.Fragment, null);
16317
+ if (item.icon) {
16318
+ renderIcon = isSvgIcon(item.icon) ? (React.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' +
16319
+ ' dark:tw-text-sq-white tw-text-[22px] tw-text-sq-white ' +
16320
+ item.iconExtraClassNames, ...item })) : (React.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 ' +
16321
+ item.iconExtraClassNames }));
16322
+ }
16071
16323
  return (React.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px] tw-pl-5 tw-w-[600px]" },
16072
16324
  React.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
16073
- item.icon && (React.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 ' +
16074
- item.iconExtraClassNames })),
16325
+ renderIcon,
16075
16326
  React.createElement("h4", { className: "tw-text-base tw-font-[600] tw-leading-[20px] mb-0" }, item.display)),
16076
16327
  React.createElement("div", { className: "tw-text-[13px] tw-font-normal" }, item.text)));
16077
16328
  };
16078
16329
  const ViewWorkbench = (item) => {
16330
+ let renderIcon = React.createElement(React.Fragment, null);
16331
+ if (item.icon) {
16332
+ renderIcon = isSvgIcon(item.icon) ? (React.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' +
16333
+ ' tw-text-sq-text-color ' +
16334
+ item.iconExtraClassNames, type: "default", ...item })) : (React.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-flex tw-justify-center tw-items-center tw-text-[20px] dark:tw-text-sq-white' +
16335
+ ' tw-text-sq-text-color ' +
16336
+ item.iconExtraClassNames }));
16337
+ }
16079
16338
  return (React.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px]" },
16080
16339
  React.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
16081
- item.icon && (React.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 ' +
16082
- item.iconExtraClassNames })),
16340
+ renderIcon,
16083
16341
  React.createElement("div", { className: "tw-text-[13px]" }, item.display))));
16084
16342
  };
16085
16343
  const InsertSeeqContent = (item) => {
@@ -16556,7 +16814,6 @@ if (process.env.NODE_ENV !== "production") {
16556
16814
  }
16557
16815
 
16558
16816
  const MotionGlobalConfig = {
16559
- skipAnimations: false,
16560
16817
  useManualTiming: false,
16561
16818
  };
16562
16819
 
@@ -16651,8 +16908,6 @@ function warnOnce(condition, message, element) {
16651
16908
  if (condition || warned.has(message))
16652
16909
  return;
16653
16910
  console.warn(message);
16654
- if (element)
16655
- console.warn(element);
16656
16911
  warned.add(message);
16657
16912
  }
16658
16913
 
@@ -16867,9 +17122,7 @@ const stepsOrder = [
16867
17122
  ];
16868
17123
 
16869
17124
  const statsBuffer = {
16870
- value: null,
16871
- addProjectionMetrics: null,
16872
- };
17125
+ value: null};
16873
17126
 
16874
17127
  function createRenderStep(runNextFrame, stepName) {
16875
17128
  /**
@@ -17024,7 +17277,7 @@ function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
17024
17277
 
17025
17278
  const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps, } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
17026
17279
 
17027
- const { schedule: microtask, cancel: cancelMicrotask } =
17280
+ const { schedule: microtask} =
17028
17281
  /* @__PURE__ */ createRenderBatcher(queueMicrotask, false);
17029
17282
 
17030
17283
  let now;
@@ -17094,15 +17347,7 @@ function resolveElements(elementOrSelector, scope, selectorCache) {
17094
17347
  }
17095
17348
  else if (typeof elementOrSelector === "string") {
17096
17349
  let root = document;
17097
- if (scope) {
17098
- // TODO: Refactor to utils package
17099
- // invariant(
17100
- // Boolean(scope.current),
17101
- // "Scope provided, but no element detected."
17102
- // )
17103
- root = scope.current;
17104
- }
17105
- const elements = (_a = selectorCache === null || selectorCache === void 0 ? void 0 : selectorCache[elementOrSelector]) !== null && _a !== void 0 ? _a : root.querySelectorAll(elementOrSelector);
17350
+ const elements = (_a = void 0 ) !== null && _a !== void 0 ? _a : root.querySelectorAll(elementOrSelector);
17106
17351
  return elements ? Array.from(elements) : [];
17107
17352
  }
17108
17353
  return Array.from(elementOrSelector);
@@ -17153,18 +17398,6 @@ function hover(elementOrSelector, onHoverStart, options = {}) {
17153
17398
  return cancel;
17154
17399
  }
17155
17400
 
17156
- function capturePointer(event, action) {
17157
- const actionName = `${action}PointerCapture`;
17158
- if (event.target instanceof Element &&
17159
- actionName in event.target &&
17160
- event.pointerId !== undefined) {
17161
- try {
17162
- event.target[actionName](event.pointerId);
17163
- }
17164
- catch (e) { }
17165
- }
17166
- }
17167
-
17168
17401
  /**
17169
17402
  * Recursively traverse up the tree to check whether the provided child node
17170
17403
  * is the parent or a descendant of it.
@@ -17280,15 +17513,13 @@ function press(targetOrSelector, onPressStart, options = {}) {
17280
17513
  const [targets, eventOptions, cancelEvents] = setupGesture(targetOrSelector, options);
17281
17514
  const startPress = (startEvent) => {
17282
17515
  const target = startEvent.currentTarget;
17283
- if (!target || !isValidPressEvent(startEvent) || isPressing.has(target))
17516
+ if (!isValidPressEvent(startEvent) || isPressing.has(target))
17284
17517
  return;
17285
17518
  isPressing.add(target);
17286
- capturePointer(startEvent, "set");
17287
17519
  const onPressEnd = onPressStart(target, startEvent);
17288
17520
  const onPointerEnd = (endEvent, success) => {
17289
- target.removeEventListener("pointerup", onPointerUp);
17290
- target.removeEventListener("pointercancel", onPointerCancel);
17291
- capturePointer(endEvent, "release");
17521
+ window.removeEventListener("pointerup", onPointerUp);
17522
+ window.removeEventListener("pointercancel", onPointerCancel);
17292
17523
  if (!isValidPressEvent(endEvent) || !isPressing.has(target)) {
17293
17524
  return;
17294
17525
  }
@@ -17298,54 +17529,30 @@ function press(targetOrSelector, onPressStart, options = {}) {
17298
17529
  }
17299
17530
  };
17300
17531
  const onPointerUp = (upEvent) => {
17301
- const isOutside = !upEvent.isTrusted
17302
- ? false
17303
- : checkOutside(upEvent, target instanceof Element
17304
- ? target.getBoundingClientRect()
17305
- : {
17306
- left: 0,
17307
- top: 0,
17308
- right: window.innerWidth,
17309
- bottom: window.innerHeight,
17310
- });
17311
- if (isOutside) {
17312
- onPointerEnd(upEvent, false);
17313
- }
17314
- else {
17315
- onPointerEnd(upEvent, !(target instanceof Element) ||
17316
- isNodeOrChild(target, upEvent.target));
17317
- }
17532
+ onPointerEnd(upEvent, target === window ||
17533
+ target === document ||
17534
+ options.useGlobalTarget ||
17535
+ isNodeOrChild(target, upEvent.target));
17318
17536
  };
17319
17537
  const onPointerCancel = (cancelEvent) => {
17320
17538
  onPointerEnd(cancelEvent, false);
17321
17539
  };
17322
- target.addEventListener("pointerup", onPointerUp, eventOptions);
17323
- target.addEventListener("pointercancel", onPointerCancel, eventOptions);
17324
- target.addEventListener("lostpointercapture", onPointerCancel, eventOptions);
17540
+ window.addEventListener("pointerup", onPointerUp, eventOptions);
17541
+ window.addEventListener("pointercancel", onPointerCancel, eventOptions);
17325
17542
  };
17326
17543
  targets.forEach((target) => {
17327
- target = options.useGlobalTarget ? window : target;
17328
- let canAddKeyboardAccessibility = false;
17544
+ const pointerDownTarget = options.useGlobalTarget ? window : target;
17545
+ pointerDownTarget.addEventListener("pointerdown", startPress, eventOptions);
17329
17546
  if (target instanceof HTMLElement) {
17330
- canAddKeyboardAccessibility = true;
17547
+ target.addEventListener("focus", (event) => enableKeyboardPress(event, eventOptions));
17331
17548
  if (!isElementKeyboardAccessible(target) &&
17332
- target.getAttribute("tabindex") === null) {
17549
+ target.tabIndex === null) {
17333
17550
  target.tabIndex = 0;
17334
17551
  }
17335
17552
  }
17336
- target.addEventListener("pointerdown", startPress, eventOptions);
17337
- if (canAddKeyboardAccessibility) {
17338
- target.addEventListener("focus", (event) => enableKeyboardPress(event, eventOptions), eventOptions);
17339
- }
17340
17553
  });
17341
17554
  return cancelEvents;
17342
17555
  }
17343
- function checkOutside(event, rect) {
17344
- return (event.clientX < rect.left ||
17345
- event.clientX > rect.right ||
17346
- event.clientY < rect.top ||
17347
- event.clientY > rect.bottom);
17348
- }
17349
17556
 
17350
17557
  /**
17351
17558
  * Maximum time between the value of two frames, beyond which we
@@ -17372,7 +17579,7 @@ class MotionValue {
17372
17579
  * This will be replaced by the build step with the latest version number.
17373
17580
  * When MotionValues are provided to motion components, warn if versions are mixed.
17374
17581
  */
17375
- this.version = "12.5.0";
17582
+ this.version = "12.6.1";
17376
17583
  /**
17377
17584
  * Tracks whether this value can output a velocity. Currently this is only true
17378
17585
  * if the value is numerical, but we might be able to widen the scope here and support
@@ -20393,7 +20600,7 @@ function findSpring({ duration = springDefaults.duration, bounce = springDefault
20393
20600
  envelope = (undampedFreq) => {
20394
20601
  const a = Math.exp(-undampedFreq * duration);
20395
20602
  const b = (undampedFreq - velocity) * duration + 1;
20396
- return -safeMin + a * b;
20603
+ return -1e-3 + a * b;
20397
20604
  };
20398
20605
  derivative = (undampedFreq) => {
20399
20606
  const a = Math.exp(-undampedFreq * duration);