@seeqdev/qomponents 0.0.135 → 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 (243) hide show
  1. package/dist/Accordion/Accordion.js +9 -0
  2. package/dist/Accordion/Accordion.js.map +1 -0
  3. package/dist/Accordion/Accordion.stories.js +115 -0
  4. package/dist/Accordion/Accordion.stories.js.map +1 -0
  5. package/dist/Accordion/Accordion.test.js +55 -0
  6. package/dist/Accordion/Accordion.test.js.map +1 -0
  7. package/dist/Accordion/Accordion.types.js +2 -0
  8. package/dist/Accordion/Accordion.types.js.map +1 -0
  9. package/dist/Accordion/index.js +2 -0
  10. package/dist/Accordion/index.js.map +1 -0
  11. package/dist/Alert/Alert.js +34 -0
  12. package/dist/Alert/Alert.js.map +1 -0
  13. package/dist/Alert/Alert.stories.js +52 -0
  14. package/dist/Alert/Alert.stories.js.map +1 -0
  15. package/dist/Alert/Alert.test.js +51 -0
  16. package/dist/Alert/Alert.test.js.map +1 -0
  17. package/dist/Alert/Alert.types.js +2 -0
  18. package/dist/Alert/Alert.types.js.map +1 -0
  19. package/dist/Alert/index.js +2 -0
  20. package/dist/Alert/index.js.map +1 -0
  21. package/dist/Button/Button.js +92 -0
  22. package/dist/Button/Button.js.map +1 -0
  23. package/dist/Button/Button.stories.js +100 -0
  24. package/dist/Button/Button.stories.js.map +1 -0
  25. package/dist/Button/Button.test.js +49 -0
  26. package/dist/Button/Button.test.js.map +1 -0
  27. package/dist/Button/Button.types.js +5 -0
  28. package/dist/Button/Button.types.js.map +1 -0
  29. package/dist/Button/index.js +2 -0
  30. package/dist/Button/index.js.map +1 -0
  31. package/dist/ButtonGroup/ButtonGroup.js +33 -0
  32. package/dist/ButtonGroup/ButtonGroup.js.map +1 -0
  33. package/dist/ButtonGroup/ButtonGroup.stories.js +385 -0
  34. package/dist/ButtonGroup/ButtonGroup.stories.js.map +1 -0
  35. package/dist/ButtonGroup/ButtonGroup.test.js +67 -0
  36. package/dist/ButtonGroup/ButtonGroup.test.js.map +1 -0
  37. package/dist/ButtonGroup/ButtonGroup.types.js +2 -0
  38. package/dist/ButtonGroup/ButtonGroup.types.js.map +1 -0
  39. package/dist/ButtonGroup/index.js +2 -0
  40. package/dist/ButtonGroup/index.js.map +1 -0
  41. package/dist/ButtonWithDropdown/ButtonWithDropdown.js +60 -0
  42. package/dist/ButtonWithDropdown/ButtonWithDropdown.js.map +1 -0
  43. package/dist/ButtonWithDropdown/ButtonWithDropdown.stories.js +143 -0
  44. package/dist/ButtonWithDropdown/ButtonWithDropdown.stories.js.map +1 -0
  45. package/dist/ButtonWithDropdown/ButtonWithDropdown.test.js +93 -0
  46. package/dist/ButtonWithDropdown/ButtonWithDropdown.test.js.map +1 -0
  47. package/dist/ButtonWithDropdown/ButtonWithDropdown.types.js +2 -0
  48. package/dist/ButtonWithDropdown/ButtonWithDropdown.types.js.map +1 -0
  49. package/dist/ButtonWithDropdown/index.js +2 -0
  50. package/dist/ButtonWithDropdown/index.js.map +1 -0
  51. package/dist/ButtonWithPopover/ButtonWithPopover.js +62 -0
  52. package/dist/ButtonWithPopover/ButtonWithPopover.js.map +1 -0
  53. package/dist/ButtonWithPopover/ButtonWithPopover.stories.js +75 -0
  54. package/dist/ButtonWithPopover/ButtonWithPopover.stories.js.map +1 -0
  55. package/dist/ButtonWithPopover/ButtonWithPopover.test.js +82 -0
  56. package/dist/ButtonWithPopover/ButtonWithPopover.test.js.map +1 -0
  57. package/dist/ButtonWithPopover/ButtonWithPopover.types.js +2 -0
  58. package/dist/ButtonWithPopover/ButtonWithPopover.types.js.map +1 -0
  59. package/dist/ButtonWithPopover/index.js +2 -0
  60. package/dist/ButtonWithPopover/index.js.map +1 -0
  61. package/dist/Carousel/Carousel.js +70 -0
  62. package/dist/Carousel/Carousel.js.map +1 -0
  63. package/dist/Carousel/Carousel.stories.js +115 -0
  64. package/dist/Carousel/Carousel.stories.js.map +1 -0
  65. package/dist/Carousel/Carousel.test.js +48 -0
  66. package/dist/Carousel/Carousel.test.js.map +1 -0
  67. package/dist/Carousel/Carousel.types.js +2 -0
  68. package/dist/Carousel/Carousel.types.js.map +1 -0
  69. package/dist/Carousel/index.js +2 -0
  70. package/dist/Carousel/index.js.map +1 -0
  71. package/dist/Checkbox/Checkbox.js +26 -0
  72. package/dist/Checkbox/Checkbox.js.map +1 -0
  73. package/dist/Checkbox/Checkbox.stories.js +34 -0
  74. package/dist/Checkbox/Checkbox.stories.js.map +1 -0
  75. package/dist/Checkbox/Checkbox.test.js +94 -0
  76. package/dist/Checkbox/Checkbox.test.js.map +1 -0
  77. package/dist/Checkbox/Checkbox.types.js +2 -0
  78. package/dist/Checkbox/Checkbox.types.js.map +1 -0
  79. package/dist/Checkbox/index.js +2 -0
  80. package/dist/Checkbox/index.js.map +1 -0
  81. package/dist/Collapse/Collapse.js +15 -0
  82. package/dist/Collapse/Collapse.js.map +1 -0
  83. package/dist/Collapse/Collapse.stories.js +37 -0
  84. package/dist/Collapse/Collapse.stories.js.map +1 -0
  85. package/dist/Collapse/Collapse.test.js +19 -0
  86. package/dist/Collapse/Collapse.test.js.map +1 -0
  87. package/dist/Collapse/Collapse.types.js +2 -0
  88. package/dist/Collapse/Collapse.types.js.map +1 -0
  89. package/dist/Collapse/index.js +2 -0
  90. package/dist/Collapse/index.js.map +1 -0
  91. package/dist/Icon/Icon.js +55 -0
  92. package/dist/Icon/Icon.js.map +1 -0
  93. package/dist/Icon/Icon.stories.js +47 -0
  94. package/dist/Icon/Icon.stories.js.map +1 -0
  95. package/dist/Icon/Icon.test.js +55 -0
  96. package/dist/Icon/Icon.test.js.map +1 -0
  97. package/dist/Icon/Icon.types.js +16 -0
  98. package/dist/Icon/Icon.types.js.map +1 -0
  99. package/dist/Icon/index.js +2 -0
  100. package/dist/Icon/index.js.map +1 -0
  101. package/dist/InputGroup/InputGroup.js +32 -0
  102. package/dist/InputGroup/InputGroup.js.map +1 -0
  103. package/dist/InputGroup/InputGroup.stories.js +168 -0
  104. package/dist/InputGroup/InputGroup.stories.js.map +1 -0
  105. package/dist/InputGroup/InputGroup.test.js +43 -0
  106. package/dist/InputGroup/InputGroup.test.js.map +1 -0
  107. package/dist/InputGroup/InputGroup.types.js +2 -0
  108. package/dist/InputGroup/InputGroup.types.js.map +1 -0
  109. package/dist/InputGroup/index.js +2 -0
  110. package/dist/InputGroup/index.js.map +1 -0
  111. package/dist/Modal/Modal.js +100 -0
  112. package/dist/Modal/Modal.js.map +1 -0
  113. package/dist/Modal/Modal.stories.js +127 -0
  114. package/dist/Modal/Modal.stories.js.map +1 -0
  115. package/dist/Modal/Modal.test.js +108 -0
  116. package/dist/Modal/Modal.test.js.map +1 -0
  117. package/dist/Modal/Modal.types.js +2 -0
  118. package/dist/Modal/Modal.types.js.map +1 -0
  119. package/dist/Modal/index.js +2 -0
  120. package/dist/Modal/index.js.map +1 -0
  121. package/dist/ProgressBar/ProgressBar.js +50 -0
  122. package/dist/ProgressBar/ProgressBar.js.map +1 -0
  123. package/dist/ProgressBar/ProgressBar.stories.js +81 -0
  124. package/dist/ProgressBar/ProgressBar.stories.js.map +1 -0
  125. package/dist/ProgressBar/ProgressBar.test.js +44 -0
  126. package/dist/ProgressBar/ProgressBar.test.js.map +1 -0
  127. package/dist/ProgressBar/ProgressBar.types.js +2 -0
  128. package/dist/ProgressBar/ProgressBar.types.js.map +1 -0
  129. package/dist/ProgressBar/index.js +2 -0
  130. package/dist/ProgressBar/index.js.map +1 -0
  131. package/dist/SeeqActionDropdown/SeeqActionDropdown.js +48 -0
  132. package/dist/SeeqActionDropdown/SeeqActionDropdown.js.map +1 -0
  133. package/dist/SeeqActionDropdown/SeeqActionDropdown.stories.js +80 -0
  134. package/dist/SeeqActionDropdown/SeeqActionDropdown.stories.js.map +1 -0
  135. package/dist/SeeqActionDropdown/SeeqActionDropdown.test.js +73 -0
  136. package/dist/SeeqActionDropdown/SeeqActionDropdown.test.js.map +1 -0
  137. package/dist/SeeqActionDropdown/SeeqActionDropdown.types.js +2 -0
  138. package/dist/SeeqActionDropdown/SeeqActionDropdown.types.js.map +1 -0
  139. package/dist/SeeqActionDropdown/index.js +2 -0
  140. package/dist/SeeqActionDropdown/index.js.map +1 -0
  141. package/dist/SeeqActionDropdown/variants.js +23 -0
  142. package/dist/SeeqActionDropdown/variants.js.map +1 -0
  143. package/dist/Select/Select.js +174 -0
  144. package/dist/Select/Select.js.map +1 -0
  145. package/dist/Select/Select.stories.js +80 -0
  146. package/dist/Select/Select.stories.js.map +1 -0
  147. package/dist/Select/Select.test.js +182 -0
  148. package/dist/Select/Select.test.js.map +1 -0
  149. package/dist/Select/Select.types.js +2 -0
  150. package/dist/Select/Select.types.js.map +1 -0
  151. package/dist/Select/index.js +3 -0
  152. package/dist/Select/index.js.map +1 -0
  153. package/dist/Slider/Slider.js +13 -0
  154. package/dist/Slider/Slider.js.map +1 -0
  155. package/dist/Slider/Slider.stories.js +58 -0
  156. package/dist/Slider/Slider.stories.js.map +1 -0
  157. package/dist/Slider/Slider.test.js +33 -0
  158. package/dist/Slider/Slider.test.js.map +1 -0
  159. package/dist/Slider/Slider.types.js +2 -0
  160. package/dist/Slider/Slider.types.js.map +1 -0
  161. package/dist/Slider/index.js +2 -0
  162. package/dist/Slider/index.js.map +1 -0
  163. package/dist/SvgIcon/SvgIcon.d.ts +20 -0
  164. package/dist/SvgIcon/SvgIcon.stories.d.ts +6 -0
  165. package/dist/SvgIcon/SvgIcon.test.d.ts +1 -0
  166. package/dist/SvgIcon/SvgIcon.types.d.ts +25 -0
  167. package/dist/SvgIcon/index.d.ts +1 -0
  168. package/dist/Tabs/Tabs.js +22 -0
  169. package/dist/Tabs/Tabs.js.map +1 -0
  170. package/dist/Tabs/Tabs.stories.js +91 -0
  171. package/dist/Tabs/Tabs.stories.js.map +1 -0
  172. package/dist/Tabs/Tabs.test.js +91 -0
  173. package/dist/Tabs/Tabs.test.js.map +1 -0
  174. package/dist/Tabs/Tabs.types.js +2 -0
  175. package/dist/Tabs/Tabs.types.js.map +1 -0
  176. package/dist/Tabs/index.js +2 -0
  177. package/dist/Tabs/index.js.map +1 -0
  178. package/dist/TextArea/TextArea.js +25 -0
  179. package/dist/TextArea/TextArea.js.map +1 -0
  180. package/dist/TextArea/TextArea.stories.js +46 -0
  181. package/dist/TextArea/TextArea.stories.js.map +1 -0
  182. package/dist/TextArea/TextArea.test.js +68 -0
  183. package/dist/TextArea/TextArea.test.js.map +1 -0
  184. package/dist/TextArea/TextArea.types.js +2 -0
  185. package/dist/TextArea/TextArea.types.js.map +1 -0
  186. package/dist/TextArea/index.js +2 -0
  187. package/dist/TextArea/index.js.map +1 -0
  188. package/dist/TextField/TextField.js +79 -0
  189. package/dist/TextField/TextField.js.map +1 -0
  190. package/dist/TextField/TextField.stories.js +70 -0
  191. package/dist/TextField/TextField.stories.js.map +1 -0
  192. package/dist/TextField/TextField.test.js +39 -0
  193. package/dist/TextField/TextField.test.js.map +1 -0
  194. package/dist/TextField/TextField.types.js +2 -0
  195. package/dist/TextField/TextField.types.js.map +1 -0
  196. package/dist/TextField/index.js +2 -0
  197. package/dist/TextField/index.js.map +1 -0
  198. package/dist/ToolbarButton/ToolbarButton.js +75 -0
  199. package/dist/ToolbarButton/ToolbarButton.js.map +1 -0
  200. package/dist/ToolbarButton/ToolbarButton.stories.js +94 -0
  201. package/dist/ToolbarButton/ToolbarButton.stories.js.map +1 -0
  202. package/dist/ToolbarButton/ToolbarButton.test.js +93 -0
  203. package/dist/ToolbarButton/ToolbarButton.test.js.map +1 -0
  204. package/dist/ToolbarButton/ToolbarButton.types.js +2 -0
  205. package/dist/ToolbarButton/ToolbarButton.types.js.map +1 -0
  206. package/dist/ToolbarButton/index.js +2 -0
  207. package/dist/ToolbarButton/index.js.map +1 -0
  208. package/dist/Tooltip/QTip.stories.js +45 -0
  209. package/dist/Tooltip/QTip.stories.js.map +1 -0
  210. package/dist/Tooltip/QTip.types.js +2 -0
  211. package/dist/Tooltip/QTip.types.js.map +1 -0
  212. package/dist/Tooltip/QTipPerformance.stories.js +30 -0
  213. package/dist/Tooltip/QTipPerformance.stories.js.map +1 -0
  214. package/dist/Tooltip/Qtip.js +170 -0
  215. package/dist/Tooltip/Qtip.js.map +1 -0
  216. package/dist/Tooltip/Tooltip.js +36 -0
  217. package/dist/Tooltip/Tooltip.js.map +1 -0
  218. package/dist/Tooltip/Tooltip.stories.js +32 -0
  219. package/dist/Tooltip/Tooltip.stories.js.map +1 -0
  220. package/dist/Tooltip/Tooltip.types.js +3 -0
  221. package/dist/Tooltip/Tooltip.types.js.map +1 -0
  222. package/dist/Tooltip/TooltipPerformance.stories.js +30 -0
  223. package/dist/Tooltip/TooltipPerformance.stories.js.map +1 -0
  224. package/dist/Tooltip/index.js +3 -0
  225. package/dist/Tooltip/index.js.map +1 -0
  226. package/dist/Tooltip/qTip.utilities.js +11 -0
  227. package/dist/Tooltip/qTip.utilities.js.map +1 -0
  228. package/dist/index.esm.js +947 -496
  229. package/dist/index.esm.js.map +1 -1
  230. package/dist/index.js +947 -496
  231. package/dist/index.js.map +1 -1
  232. package/dist/styles.css +12 -0
  233. package/dist/types.js +2 -0
  234. package/dist/types.js.map +1 -0
  235. package/dist/utils/browserId.js +29 -0
  236. package/dist/utils/browserId.js.map +1 -0
  237. package/dist/utils/svg.js +20 -0
  238. package/dist/utils/svg.js.map +1 -0
  239. package/dist/utils/validateStyleDimension.js +14 -0
  240. package/dist/utils/validateStyleDimension.js.map +1 -0
  241. package/dist/utils/validateStyleDimension.test.js +20 -0
  242. package/dist/utils/validateStyleDimension.test.js.map +1 -0
  243. package/package.json +49 -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) {
@@ -6123,6 +6125,10 @@ var purify = createDOMPurify();
6123
6125
 
6124
6126
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6125
6127
 
6128
+ function getDefaultExportFromCjs (x) {
6129
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
6130
+ }
6131
+
6126
6132
  /**
6127
6133
  * lodash (Custom Build) <https://lodash.com/>
6128
6134
  * Build: `lodash modularize exports="npm" -o ./`
@@ -6132,20 +6138,386 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof win
6132
6138
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
6133
6139
  */
6134
6140
 
6135
- /** Detect free variable `global` from Node.js. */
6136
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
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;
6137
6294
 
6138
- /** Detect free variable `self`. */
6139
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
6295
+ lastArgs = lastThis = undefined;
6296
+ lastInvokeTime = time;
6297
+ result = func.apply(thisArg, args);
6298
+ return result;
6299
+ }
6140
6300
 
6141
- /** Used as a reference to the global object. */
6142
- freeGlobal || freeSelf || Function('return this')();
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
+ }
6143
6309
 
6144
- var shimExports = {};
6145
- var shim = {
6146
- get exports(){ return shimExports; },
6147
- set exports(v){ shimExports = v; },
6148
- };
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: {}};
6149
6521
 
6150
6522
  var useSyncExternalStoreShim_production = {};
6151
6523
 
@@ -6205,7 +6577,7 @@ function requireUseSyncExternalStoreShim_production () {
6205
6577
  var nextValue = latestGetSnapshot();
6206
6578
  return !objectIs(inst, nextValue);
6207
6579
  } catch (error) {
6208
- return !0;
6580
+ return true;
6209
6581
  }
6210
6582
  }
6211
6583
  function useSyncExternalStore$1(subscribe, getSnapshot) {
@@ -6247,7 +6619,7 @@ function requireUseSyncExternalStoreShim_development () {
6247
6619
  function useSyncExternalStore$2(subscribe, getSnapshot) {
6248
6620
  didWarnOld18Alpha ||
6249
6621
  void 0 === React$1.startTransition ||
6250
- ((didWarnOld18Alpha = !0),
6622
+ ((didWarnOld18Alpha = true),
6251
6623
  console.error(
6252
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."
6253
6625
  ));
@@ -6258,7 +6630,7 @@ function requireUseSyncExternalStoreShim_development () {
6258
6630
  (console.error(
6259
6631
  "The result of getSnapshot should be cached to avoid an infinite loop"
6260
6632
  ),
6261
- (didWarnUncachedGetSnapshot = !0));
6633
+ (didWarnUncachedGetSnapshot = true));
6262
6634
  }
6263
6635
  cachedValue = useState({
6264
6636
  inst: { value: value, getSnapshot: getSnapshot }
@@ -6292,7 +6664,7 @@ function requireUseSyncExternalStoreShim_development () {
6292
6664
  var nextValue = latestGetSnapshot();
6293
6665
  return !objectIs(inst, nextValue);
6294
6666
  } catch (error) {
6295
- return !0;
6667
+ return true;
6296
6668
  }
6297
6669
  }
6298
6670
  function useSyncExternalStore$1(subscribe, getSnapshot) {
@@ -6308,8 +6680,8 @@ function requireUseSyncExternalStoreShim_development () {
6308
6680
  useEffect = React$1.useEffect,
6309
6681
  useLayoutEffect = React$1.useLayoutEffect,
6310
6682
  useDebugValue = React$1.useDebugValue,
6311
- didWarnOld18Alpha = !1,
6312
- didWarnUncachedGetSnapshot = !1,
6683
+ didWarnOld18Alpha = false,
6684
+ didWarnUncachedGetSnapshot = false,
6313
6685
  shim =
6314
6686
  "undefined" === typeof window ||
6315
6687
  "undefined" === typeof window.document ||
@@ -6326,137 +6698,156 @@ function requireUseSyncExternalStoreShim_development () {
6326
6698
  return useSyncExternalStoreShim_development;
6327
6699
  }
6328
6700
 
6329
- (function (module) {
6701
+ var hasRequiredShim;
6702
+
6703
+ function requireShim () {
6704
+ if (hasRequiredShim) return shim.exports;
6705
+ hasRequiredShim = 1;
6330
6706
 
6331
6707
  if (process.env.NODE_ENV === 'production') {
6332
- module.exports = requireUseSyncExternalStoreShim_production();
6708
+ shim.exports = requireUseSyncExternalStoreShim_production();
6333
6709
  } else {
6334
- module.exports = requireUseSyncExternalStoreShim_development();
6710
+ shim.exports = requireUseSyncExternalStoreShim_development();
6335
6711
  }
6336
- } (shim));
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
+ }
6337
6760
 
6338
- var rafExports = {};
6339
- var raf$1 = {
6340
- get exports(){ return rafExports; },
6341
- set exports(v){ rafExports = v; },
6342
- };
6761
+ }).call(performanceNow);
6343
6762
 
6344
- var performanceNowExports = {};
6345
- var performanceNow = {
6346
- get exports(){ return performanceNowExports; },
6347
- set exports(v){ performanceNowExports = v; },
6348
- };
6763
+
6764
+ return performanceNow$1.exports;
6765
+ }
6349
6766
 
6350
- // Generated by CoffeeScript 1.12.2
6351
- (function() {
6352
- var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;
6767
+ var hasRequiredRaf;
6353
6768
 
6354
- if ((typeof performance !== "undefined" && performance !== null) && performance.now) {
6355
- performanceNow.exports = function() {
6356
- return performance.now();
6357
- };
6358
- } else if ((typeof process !== "undefined" && process !== null) && process.hrtime) {
6359
- performanceNow.exports = function() {
6360
- return (getNanoSeconds() - nodeLoadTime) / 1e6;
6361
- };
6362
- hrtime = process.hrtime;
6363
- getNanoSeconds = function() {
6364
- var hr;
6365
- hr = hrtime();
6366
- return hr[0] * 1e9 + hr[1];
6367
- };
6368
- moduleLoadTime = getNanoSeconds();
6369
- upTime = process.uptime() * 1e9;
6370
- nodeLoadTime = moduleLoadTime - upTime;
6371
- } else if (Date.now) {
6372
- performanceNow.exports = function() {
6373
- return Date.now() - loadTime;
6374
- };
6375
- loadTime = Date.now();
6376
- } else {
6377
- performanceNow.exports = function() {
6378
- return new Date().getTime() - loadTime;
6379
- };
6380
- loadTime = new Date().getTime();
6381
- }
6382
-
6383
- }).call(commonjsGlobal);
6384
-
6385
- var now$1 = performanceNowExports
6386
- , root = typeof window === 'undefined' ? commonjsGlobal : window
6387
- , vendors = ['moz', 'webkit']
6388
- , suffix = 'AnimationFrame'
6389
- , raf = root['request' + suffix]
6390
- , caf = root['cancel' + suffix] || root['cancelRequest' + suffix];
6391
-
6392
- for(var i$1 = 0; !raf && i$1 < vendors.length; i$1++) {
6393
- raf = root[vendors[i$1] + 'Request' + suffix];
6394
- caf = root[vendors[i$1] + 'Cancel' + suffix]
6395
- || root[vendors[i$1] + 'CancelRequest' + suffix];
6396
- }
6397
-
6398
- // Some versions of FF have rAF but not cAF
6399
- if(!raf || !caf) {
6400
- var last = 0
6401
- , id$2 = 0
6402
- , queue = []
6403
- , frameDuration = 1000 / 60;
6404
-
6405
- raf = function(callback) {
6406
- if(queue.length === 0) {
6407
- var _now = now$1()
6408
- , next = Math.max(0, frameDuration - (_now - last));
6409
- last = next + _now;
6410
- setTimeout(function() {
6411
- var cp = queue.slice(0);
6412
- // Clear queue here to prevent
6413
- // callbacks from appending listeners
6414
- // to the current frame's queue
6415
- queue.length = 0;
6416
- for(var i = 0; i < cp.length; i++) {
6417
- if(!cp[i].cancelled) {
6418
- try{
6419
- cp[i].callback(last);
6420
- } catch(e) {
6421
- setTimeout(function() { throw e }, 0);
6422
- }
6423
- }
6424
- }
6425
- }, Math.round(next));
6426
- }
6427
- queue.push({
6428
- handle: ++id$2,
6429
- callback: callback,
6430
- cancelled: false
6431
- });
6432
- return id$2
6433
- };
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];
6434
6778
 
6435
- caf = function(handle) {
6436
- for(var i = 0; i < queue.length; i++) {
6437
- if(queue[i].handle === handle) {
6438
- queue[i].cancelled = true;
6439
- }
6440
- }
6441
- };
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;
6442
6848
  }
6443
6849
 
6444
- raf$1.exports = function(fn) {
6445
- // Wrap in a new function to prevent
6446
- // `cancel` potentially being assigned
6447
- // to the native rAF function
6448
- return raf.call(root, fn)
6449
- };
6450
- rafExports.cancel = function() {
6451
- caf.apply(root, arguments);
6452
- };
6453
- rafExports.polyfill = function(object) {
6454
- if (!object) {
6455
- object = root;
6456
- }
6457
- object.requestAnimationFrame = raf;
6458
- object.cancelAnimationFrame = caf;
6459
- };
6850
+ requireRaf();
6460
6851
 
6461
6852
  // src/hooks/useOnLongHover.ts
6462
6853
 
@@ -6653,151 +7044,137 @@ const QTip = () => {
6653
7044
  React.createElement("div", { className: "tw-absolute tw-w-[10px] tw-h-[10px] tw-rotate-45 tw-bg-black", ref: tooltipArrowRef }))));
6654
7045
  };
6655
7046
 
6656
- function _typeof$1(obj) {
7047
+ function _typeof$1(o) {
6657
7048
  "@babel/helpers - typeof";
6658
7049
 
6659
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
6660
- return typeof obj;
6661
- } : function (obj) {
6662
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
6663
- }, _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);
6664
7055
  }
6665
7056
 
6666
- function _toPrimitive(input, hint) {
6667
- if (_typeof$1(input) !== "object" || input === null) return input;
6668
- var prim = input[Symbol.toPrimitive];
6669
- if (prim !== undefined) {
6670
- var res = prim.call(input, hint || "default");
6671
- 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;
6672
7063
  throw new TypeError("@@toPrimitive must return a primitive value.");
6673
7064
  }
6674
- return (hint === "string" ? String : Number)(input);
7065
+ return ("string" === r ? String : Number)(t);
6675
7066
  }
6676
7067
 
6677
- function _toPropertyKey(arg) {
6678
- var key = _toPrimitive(arg, "string");
6679
- 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 + "";
6680
7071
  }
6681
7072
 
6682
- function _defineProperty(obj, key, value) {
6683
- key = _toPropertyKey(key);
6684
- if (key in obj) {
6685
- Object.defineProperty(obj, key, {
6686
- value: value,
6687
- enumerable: true,
6688
- configurable: true,
6689
- writable: true
6690
- });
6691
- } else {
6692
- obj[key] = value;
6693
- }
6694
- 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;
6695
7080
  }
6696
7081
 
6697
- function ownKeys(object, enumerableOnly) {
6698
- var keys = Object.keys(object);
7082
+ function ownKeys(e, r) {
7083
+ var t = Object.keys(e);
6699
7084
  if (Object.getOwnPropertySymbols) {
6700
- var symbols = Object.getOwnPropertySymbols(object);
6701
- enumerableOnly && (symbols = symbols.filter(function (sym) {
6702
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6703
- })), keys.push.apply(keys, symbols);
6704
- }
6705
- return keys;
6706
- }
6707
- function _objectSpread2(target) {
6708
- for (var i = 1; i < arguments.length; i++) {
6709
- var source = null != arguments[i] ? arguments[i] : {};
6710
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
6711
- _defineProperty(target, key, source[key]);
6712
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
6713
- 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));
6714
7099
  });
6715
7100
  }
6716
- return target;
7101
+ return e;
6717
7102
  }
6718
7103
 
6719
- function _arrayWithHoles(arr) {
6720
- if (Array.isArray(arr)) return arr;
7104
+ function _arrayWithHoles(r) {
7105
+ if (Array.isArray(r)) return r;
6721
7106
  }
6722
7107
 
6723
- function _iterableToArrayLimit(arr, i) {
6724
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
6725
- if (null != _i) {
6726
- var _s,
6727
- _e,
6728
- _x,
6729
- _r,
6730
- _arr = [],
6731
- _n = !0,
6732
- _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;
6733
7118
  try {
6734
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
6735
- if (Object(_i) !== _i) return;
6736
- _n = !1;
6737
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
6738
- } catch (err) {
6739
- _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;
6740
7125
  } finally {
6741
7126
  try {
6742
- 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;
6743
7128
  } finally {
6744
- if (_d) throw _e;
7129
+ if (o) throw n;
6745
7130
  }
6746
7131
  }
6747
- return _arr;
7132
+ return a;
6748
7133
  }
6749
7134
  }
6750
7135
 
6751
- function _arrayLikeToArray(arr, len) {
6752
- if (len == null || len > arr.length) len = arr.length;
6753
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
6754
- 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;
6755
7140
  }
6756
7141
 
6757
- function _unsupportedIterableToArray(o, minLen) {
6758
- if (!o) return;
6759
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
6760
- var n = Object.prototype.toString.call(o).slice(8, -1);
6761
- if (n === "Object" && o.constructor) n = o.constructor.name;
6762
- if (n === "Map" || n === "Set") return Array.from(o);
6763
- 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
+ }
6764
7148
  }
6765
7149
 
6766
7150
  function _nonIterableRest() {
6767
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.");
6768
7152
  }
6769
7153
 
6770
- function _slicedToArray(arr, i) {
6771
- 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();
6772
7156
  }
6773
7157
 
6774
- function _objectWithoutPropertiesLoose(source, excluded) {
6775
- if (source == null) return {};
6776
- var target = {};
6777
- var sourceKeys = Object.keys(source);
6778
- var key, i;
6779
- for (i = 0; i < sourceKeys.length; i++) {
6780
- key = sourceKeys[i];
6781
- if (excluded.indexOf(key) >= 0) continue;
6782
- 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];
6783
7164
  }
6784
- return target;
7165
+ return t;
6785
7166
  }
6786
7167
 
6787
- function _objectWithoutProperties(source, excluded) {
6788
- if (source == null) return {};
6789
- var target = _objectWithoutPropertiesLoose(source, excluded);
6790
- var key, i;
7168
+ function _objectWithoutProperties(e, t) {
7169
+ if (null == e) return {};
7170
+ var o,
7171
+ r,
7172
+ i = _objectWithoutPropertiesLoose(e, t);
6791
7173
  if (Object.getOwnPropertySymbols) {
6792
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
6793
- for (i = 0; i < sourceSymbolKeys.length; i++) {
6794
- key = sourceSymbolKeys[i];
6795
- if (excluded.indexOf(key) >= 0) continue;
6796
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
6797
- target[key] = source[key];
6798
- }
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]);
6799
7176
  }
6800
- return target;
7177
+ return i;
6801
7178
  }
6802
7179
 
6803
7180
  var _excluded$6 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
@@ -6868,137 +7245,105 @@ function useStateManager(_ref) {
6868
7245
  }
6869
7246
 
6870
7247
  function _extends() {
6871
- _extends = Object.assign ? Object.assign.bind() : function (target) {
6872
- for (var i = 1; i < arguments.length; i++) {
6873
- var source = arguments[i];
6874
- for (var key in source) {
6875
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6876
- target[key] = source[key];
6877
- }
6878
- }
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]);
6879
7252
  }
6880
- return target;
6881
- };
6882
- return _extends.apply(this, arguments);
7253
+ return n;
7254
+ }, _extends.apply(null, arguments);
6883
7255
  }
6884
7256
 
6885
- function _classCallCheck(instance, Constructor) {
6886
- if (!(instance instanceof Constructor)) {
6887
- throw new TypeError("Cannot call a class as a function");
6888
- }
7257
+ function _classCallCheck(a, n) {
7258
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
6889
7259
  }
6890
7260
 
6891
- function _defineProperties(target, props) {
6892
- for (var i = 0; i < props.length; i++) {
6893
- var descriptor = props[i];
6894
- descriptor.enumerable = descriptor.enumerable || false;
6895
- descriptor.configurable = true;
6896
- if ("value" in descriptor) descriptor.writable = true;
6897
- 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);
6898
7265
  }
6899
7266
  }
6900
- function _createClass(Constructor, protoProps, staticProps) {
6901
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
6902
- if (staticProps) _defineProperties(Constructor, staticProps);
6903
- 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", {
6904
7269
  writable: false
6905
- });
6906
- return Constructor;
7270
+ }), e;
6907
7271
  }
6908
7272
 
6909
- function _setPrototypeOf(o, p) {
6910
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
6911
- o.__proto__ = p;
6912
- return o;
6913
- };
6914
- 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);
6915
7277
  }
6916
7278
 
6917
- function _inherits(subClass, superClass) {
6918
- if (typeof superClass !== "function" && superClass !== null) {
6919
- throw new TypeError("Super expression must either be null or a function");
6920
- }
6921
- 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, {
6922
7282
  constructor: {
6923
- value: subClass,
7283
+ value: t,
6924
7284
  writable: true,
6925
7285
  configurable: true
6926
7286
  }
6927
- });
6928
- Object.defineProperty(subClass, "prototype", {
7287
+ }), Object.defineProperty(t, "prototype", {
6929
7288
  writable: false
6930
- });
6931
- if (superClass) _setPrototypeOf(subClass, superClass);
7289
+ }), e && _setPrototypeOf(t, e);
6932
7290
  }
6933
7291
 
6934
- function _getPrototypeOf(o) {
6935
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
6936
- return o.__proto__ || Object.getPrototypeOf(o);
6937
- };
6938
- 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);
6939
7296
  }
6940
7297
 
6941
7298
  function _isNativeReflectConstruct() {
6942
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6943
- if (Reflect.construct.sham) return false;
6944
- if (typeof Proxy === "function") return true;
6945
7299
  try {
6946
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6947
- return true;
6948
- } catch (e) {
6949
- return false;
6950
- }
7300
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
7301
+ } catch (t) {}
7302
+ return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
7303
+ return !!t;
7304
+ })();
6951
7305
  }
6952
7306
 
6953
- function _assertThisInitialized(self) {
6954
- if (self === void 0) {
6955
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6956
- }
6957
- 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;
6958
7310
  }
6959
7311
 
6960
- function _possibleConstructorReturn(self, call) {
6961
- if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
6962
- return call;
6963
- } else if (call !== void 0) {
6964
- throw new TypeError("Derived constructors may only return object or undefined");
6965
- }
6966
- 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);
6967
7316
  }
6968
7317
 
6969
- function _createSuper(Derived) {
6970
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
6971
- return function _createSuperInternal() {
6972
- var Super = _getPrototypeOf(Derived),
6973
- result;
6974
- if (hasNativeReflectConstruct) {
6975
- var NewTarget = _getPrototypeOf(this).constructor;
6976
- result = Reflect.construct(Super, arguments, NewTarget);
6977
- } else {
6978
- result = Super.apply(this, arguments);
6979
- }
6980
- 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);
6981
7328
  };
6982
7329
  }
6983
7330
 
6984
- function _arrayWithoutHoles(arr) {
6985
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
7331
+ function _arrayWithoutHoles(r) {
7332
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
6986
7333
  }
6987
7334
 
6988
- function _iterableToArray(iter) {
6989
- 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);
6990
7337
  }
6991
7338
 
6992
7339
  function _nonIterableSpread() {
6993
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.");
6994
7341
  }
6995
7342
 
6996
- function _toConsumableArray(arr) {
6997
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
7343
+ function _toConsumableArray(r) {
7344
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
6998
7345
  }
6999
7346
 
7000
- var isDevelopment$2 = false;
7001
-
7002
7347
  /*
7003
7348
 
7004
7349
  Based off glamor's StyleSheet, thanks Sunil ❤️
@@ -7079,7 +7424,7 @@ var StyleSheet = /*#__PURE__*/function () {
7079
7424
  _this.tags.push(tag);
7080
7425
  };
7081
7426
 
7082
- this.isSpeedy = options.speedy === undefined ? !isDevelopment$2 : options.speedy;
7427
+ this.isSpeedy = options.speedy === undefined ? true : options.speedy;
7083
7428
  this.tags = [];
7084
7429
  this.ctr = 0;
7085
7430
  this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
@@ -8174,11 +8519,7 @@ var createCache = function createCache(options) {
8174
8519
  return cache;
8175
8520
  };
8176
8521
 
8177
- var reactIsExports = {};
8178
- var reactIs$1 = {
8179
- get exports(){ return reactIsExports; },
8180
- set exports(v){ reactIsExports = v; },
8181
- };
8522
+ var reactIs = {exports: {}};
8182
8523
 
8183
8524
  var reactIs_production_min = {};
8184
8525
 
@@ -8394,34 +8735,132 @@ function requireReactIs_development () {
8394
8735
  return reactIs_development;
8395
8736
  }
8396
8737
 
8397
- (function (module) {
8738
+ var hasRequiredReactIs;
8739
+
8740
+ function requireReactIs () {
8741
+ if (hasRequiredReactIs) return reactIs.exports;
8742
+ hasRequiredReactIs = 1;
8398
8743
 
8399
8744
  if (process.env.NODE_ENV === 'production') {
8400
- module.exports = requireReactIs_production_min();
8745
+ reactIs.exports = requireReactIs_production_min();
8401
8746
  } else {
8402
- 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;
8403
8857
  }
8404
- } (reactIs$1));
8405
-
8406
- var reactIs = reactIsExports;
8407
- var FORWARD_REF_STATICS = {
8408
- '$$typeof': true,
8409
- render: true,
8410
- defaultProps: true,
8411
- displayName: true,
8412
- propTypes: true
8413
- };
8414
- var MEMO_STATICS = {
8415
- '$$typeof': true,
8416
- compare: true,
8417
- defaultProps: true,
8418
- displayName: true,
8419
- propTypes: true,
8420
- type: true
8421
- };
8422
- var TYPE_STATICS = {};
8423
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
8424
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
8858
+
8859
+ hoistNonReactStatics_cjs = hoistNonReactStatics;
8860
+ return hoistNonReactStatics_cjs;
8861
+ }
8862
+
8863
+ requireHoistNonReactStatics_cjs();
8425
8864
 
8426
8865
  var isBrowser$1 = true;
8427
8866
 
@@ -8572,8 +9011,6 @@ var unitlessKeys = {
8572
9011
  strokeWidth: 1
8573
9012
  };
8574
9013
 
8575
- var isDevelopment$1 = false;
8576
-
8577
9014
  var hyphenateRegex = /[A-Z]|^ms/g;
8578
9015
  var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
8579
9016
 
@@ -8614,8 +9051,6 @@ var processStyleValue = function processStyleValue(key, value) {
8614
9051
  return value;
8615
9052
  };
8616
9053
 
8617
- var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
8618
-
8619
9054
  function handleInterpolation(mergedProps, registered, interpolation) {
8620
9055
  if (interpolation == null) {
8621
9056
  return '';
@@ -8688,12 +9123,9 @@ function handleInterpolation(mergedProps, registered, interpolation) {
8688
9123
 
8689
9124
  var asString = interpolation;
8690
9125
 
8691
- if (registered == null) {
9126
+ {
8692
9127
  return asString;
8693
9128
  }
8694
-
8695
- var cached = registered[asString];
8696
- return cached !== undefined ? cached : asString;
8697
9129
  }
8698
9130
 
8699
9131
  function createStringFromObject(mergedProps, registered, obj) {
@@ -8710,17 +9142,12 @@ function createStringFromObject(mergedProps, registered, obj) {
8710
9142
  if (typeof value !== 'object') {
8711
9143
  var asString = value;
8712
9144
 
8713
- if (registered != null && registered[asString] !== undefined) {
8714
- string += key + "{" + registered[asString] + "}";
8715
- } else if (isProcessableValue(asString)) {
9145
+ if (isProcessableValue(asString)) {
8716
9146
  string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
8717
9147
  }
8718
9148
  } else {
8719
- if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment$1) {
8720
- throw new Error(noComponentSelectorMessage);
8721
- }
8722
9149
 
8723
- 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)) {
8724
9151
  for (var _i = 0; _i < value.length; _i++) {
8725
9152
  if (isProcessableValue(value[_i])) {
8726
9153
  string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
@@ -8810,8 +9237,6 @@ var syncFallback = function syncFallback(create) {
8810
9237
  var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
8811
9238
  var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
8812
9239
 
8813
- var isDevelopment = false;
8814
-
8815
9240
  var EmotionCacheContext = /* #__PURE__ */React__namespace.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
8816
9241
  // because this module is primarily intended for the browser and node
8817
9242
  // but it's also required in react native and similar environments sometimes
@@ -8889,7 +9314,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
8889
9314
  var newProps = {};
8890
9315
 
8891
9316
  for (var _key2 in props) {
8892
- if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (!isDevelopment )) {
9317
+ if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (true )) {
8893
9318
  newProps[_key2] = props[_key2];
8894
9319
  }
8895
9320
  }
@@ -8956,13 +9381,10 @@ function keyframes$1() {
8956
9381
  };
8957
9382
  }
8958
9383
 
8959
- function _taggedTemplateLiteral(strings, raw) {
8960
- if (!raw) {
8961
- raw = strings.slice(0);
8962
- }
8963
- return Object.freeze(Object.defineProperties(strings, {
9384
+ function _taggedTemplateLiteral(e, t) {
9385
+ return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
8964
9386
  raw: {
8965
- value: Object.freeze(raw)
9387
+ value: Object.freeze(t)
8966
9388
  }
8967
9389
  }));
8968
9390
  }
@@ -13377,7 +13799,7 @@ var DialogOverlayImpl = React__namespace.forwardRef(
13377
13799
  return (
13378
13800
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
13379
13801
  // ie. when `Overlay` and `Content` are siblings
13380
- /* @__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(
13381
13803
  Primitive.div,
13382
13804
  {
13383
13805
  "data-state": getState$2(context.open),
@@ -13590,11 +14012,7 @@ var Title = DialogTitle$1;
13590
14012
  var Description = DialogDescription$1;
13591
14013
  var Close = DialogClose$1;
13592
14014
 
13593
- var classnamesExports = {};
13594
- var classnames = {
13595
- get exports(){ return classnamesExports; },
13596
- set exports(v){ classnamesExports = v; },
13597
- };
14015
+ var classnames = {exports: {}};
13598
14016
 
13599
14017
  /*!
13600
14018
  Copyright (c) 2018 Jed Watson.
@@ -13602,76 +14020,84 @@ var classnames = {
13602
14020
  http://jedwatson.github.io/classnames
13603
14021
  */
13604
14022
 
13605
- (function (module) {
13606
- /* global define */
14023
+ var hasRequiredClassnames;
13607
14024
 
13608
- (function () {
14025
+ function requireClassnames () {
14026
+ if (hasRequiredClassnames) return classnames.exports;
14027
+ hasRequiredClassnames = 1;
14028
+ (function (module) {
14029
+ /* global define */
13609
14030
 
13610
- var hasOwn = {}.hasOwnProperty;
14031
+ (function () {
13611
14032
 
13612
- function classNames () {
13613
- var classes = '';
14033
+ var hasOwn = {}.hasOwnProperty;
13614
14034
 
13615
- for (var i = 0; i < arguments.length; i++) {
13616
- var arg = arguments[i];
13617
- if (arg) {
13618
- classes = appendClass(classes, parseValue(arg));
13619
- }
13620
- }
14035
+ function classNames () {
14036
+ var classes = '';
13621
14037
 
13622
- return classes;
13623
- }
13624
-
13625
- function parseValue (arg) {
13626
- if (typeof arg === 'string' || typeof arg === 'number') {
13627
- return arg;
13628
- }
14038
+ for (var i = 0; i < arguments.length; i++) {
14039
+ var arg = arguments[i];
14040
+ if (arg) {
14041
+ classes = appendClass(classes, parseValue(arg));
14042
+ }
14043
+ }
13629
14044
 
13630
- if (typeof arg !== 'object') {
13631
- return '';
14045
+ return classes;
13632
14046
  }
13633
14047
 
13634
- if (Array.isArray(arg)) {
13635
- return classNames.apply(null, arg);
13636
- }
14048
+ function parseValue (arg) {
14049
+ if (typeof arg === 'string' || typeof arg === 'number') {
14050
+ return arg;
14051
+ }
13637
14052
 
13638
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
13639
- return arg.toString();
13640
- }
14053
+ if (typeof arg !== 'object') {
14054
+ return '';
14055
+ }
13641
14056
 
13642
- var classes = '';
14057
+ if (Array.isArray(arg)) {
14058
+ return classNames.apply(null, arg);
14059
+ }
13643
14060
 
13644
- for (var key in arg) {
13645
- if (hasOwn.call(arg, key) && arg[key]) {
13646
- classes = appendClass(classes, key);
14061
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
14062
+ return arg.toString();
13647
14063
  }
13648
- }
13649
14064
 
13650
- return classes;
13651
- }
14065
+ var classes = '';
14066
+
14067
+ for (var key in arg) {
14068
+ if (hasOwn.call(arg, key) && arg[key]) {
14069
+ classes = appendClass(classes, key);
14070
+ }
14071
+ }
13652
14072
 
13653
- function appendClass (value, newClass) {
13654
- if (!newClass) {
13655
- return value;
14073
+ return classes;
13656
14074
  }
13657
-
13658
- if (value) {
13659
- return value + ' ' + newClass;
14075
+
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;
13660
14086
  }
13661
-
13662
- return value + newClass;
13663
- }
13664
14087
 
13665
- if (module.exports) {
13666
- classNames.default = classNames;
13667
- module.exports = classNames;
13668
- } else {
13669
- window.classNames = classNames;
13670
- }
13671
- }());
13672
- } (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
+ }
13673
14098
 
13674
- var classNames = classnamesExports;
14099
+ var classnamesExports = requireClassnames();
14100
+ var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
13675
14101
 
13676
14102
  const Dialog = Root$4;
13677
14103
  const DialogPortal = Portal$1;
@@ -14886,7 +15312,7 @@ var MenuContentImpl = React__namespace.forwardRef(
14886
15312
  const pointerGraceIntentRef = React__namespace.useRef(null);
14887
15313
  const pointerDirRef = React__namespace.useRef("right");
14888
15314
  const lastPointerXRef = React__namespace.useRef(0);
14889
- const ScrollLockWrapper = disableOutsideScroll ? RemoveScroll : React__namespace.Fragment;
15315
+ const ScrollLockWrapper = disableOutsideScroll ? ReactRemoveScroll : React__namespace.Fragment;
14890
15316
  const scrollLockWrapperProps = disableOutsideScroll ? { as: Slot, allowPinchZoom: true } : void 0;
14891
15317
  const handleTypeaheadSearch = (key) => {
14892
15318
  const search = searchRef.current + key;
@@ -15861,19 +16287,57 @@ const Alert = ({ children, dismissible = true, onClose, show = true, variant, te
15861
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 }))));
15862
16288
  };
15863
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
+
15864
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
+ }
15865
16323
  return (React.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px] tw-pl-5 tw-w-[600px]" },
15866
16324
  React.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
15867
- 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 ' +
15868
- item.iconExtraClassNames })),
16325
+ renderIcon,
15869
16326
  React.createElement("h4", { className: "tw-text-base tw-font-[600] tw-leading-[20px] mb-0" }, item.display)),
15870
16327
  React.createElement("div", { className: "tw-text-[13px] tw-font-normal" }, item.text)));
15871
16328
  };
15872
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
+ }
15873
16338
  return (React.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px]" },
15874
16339
  React.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
15875
- 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 ' +
15876
- item.iconExtraClassNames })),
16340
+ renderIcon,
15877
16341
  React.createElement("div", { className: "tw-text-[13px]" }, item.display))));
15878
16342
  };
15879
16343
  const InsertSeeqContent = (item) => {
@@ -16350,7 +16814,6 @@ if (process.env.NODE_ENV !== "production") {
16350
16814
  }
16351
16815
 
16352
16816
  const MotionGlobalConfig = {
16353
- skipAnimations: false,
16354
16817
  useManualTiming: false,
16355
16818
  };
16356
16819
 
@@ -16445,8 +16908,6 @@ function warnOnce(condition, message, element) {
16445
16908
  if (condition || warned.has(message))
16446
16909
  return;
16447
16910
  console.warn(message);
16448
- if (element)
16449
- console.warn(element);
16450
16911
  warned.add(message);
16451
16912
  }
16452
16913
 
@@ -16661,9 +17122,7 @@ const stepsOrder = [
16661
17122
  ];
16662
17123
 
16663
17124
  const statsBuffer = {
16664
- value: null,
16665
- addProjectionMetrics: null,
16666
- };
17125
+ value: null};
16667
17126
 
16668
17127
  function createRenderStep(runNextFrame, stepName) {
16669
17128
  /**
@@ -16818,7 +17277,7 @@ function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
16818
17277
 
16819
17278
  const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps, } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
16820
17279
 
16821
- const { schedule: microtask, cancel: cancelMicrotask } =
17280
+ const { schedule: microtask} =
16822
17281
  /* @__PURE__ */ createRenderBatcher(queueMicrotask, false);
16823
17282
 
16824
17283
  let now;
@@ -16888,15 +17347,7 @@ function resolveElements(elementOrSelector, scope, selectorCache) {
16888
17347
  }
16889
17348
  else if (typeof elementOrSelector === "string") {
16890
17349
  let root = document;
16891
- if (scope) {
16892
- // TODO: Refactor to utils package
16893
- // invariant(
16894
- // Boolean(scope.current),
16895
- // "Scope provided, but no element detected."
16896
- // )
16897
- root = scope.current;
16898
- }
16899
- 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);
16900
17351
  return elements ? Array.from(elements) : [];
16901
17352
  }
16902
17353
  return Array.from(elementOrSelector);
@@ -20149,7 +20600,7 @@ function findSpring({ duration = springDefaults.duration, bounce = springDefault
20149
20600
  envelope = (undampedFreq) => {
20150
20601
  const a = Math.exp(-undampedFreq * duration);
20151
20602
  const b = (undampedFreq - velocity) * duration + 1;
20152
- return -safeMin + a * b;
20603
+ return -1e-3 + a * b;
20153
20604
  };
20154
20605
  derivative = (undampedFreq) => {
20155
20606
  const a = Math.exp(-undampedFreq * duration);