@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.esm.js CHANGED
@@ -874,7 +874,7 @@ var count = 0;
874
874
  function useId(deterministicId) {
875
875
  const [id, setId] = React.useState(useReactId());
876
876
  useLayoutEffect2(() => {
877
- if (!deterministicId) setId((reactId) => reactId ?? String(count++));
877
+ setId((reactId) => reactId ?? String(count++));
878
878
  }, [deterministicId]);
879
879
  return deterministicId || (id ? `radix-${id}` : "");
880
880
  }
@@ -3478,7 +3478,7 @@ var applyAttributeToOthers = function (originalTarget, parentNode, markerName, c
3478
3478
  var hideOthers = function (originalTarget, parentNode, markerName) {
3479
3479
  if (markerName === void 0) { markerName = 'data-aria-hidden'; }
3480
3480
  var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
3481
- var activeParentNode = parentNode || getDefaultParent(originalTarget);
3481
+ var activeParentNode = getDefaultParent(originalTarget);
3482
3482
  if (!activeParentNode) {
3483
3483
  return function () { return null; };
3484
3484
  }
@@ -3501,6 +3501,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3501
3501
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3502
3502
  PERFORMANCE OF THIS SOFTWARE.
3503
3503
  ***************************************************************************** */
3504
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
3505
+
3504
3506
 
3505
3507
  var __assign = function() {
3506
3508
  __assign = Object.assign || function __assign(t) {
@@ -3533,7 +3535,12 @@ function __spreadArray(to, from, pack) {
3533
3535
  }
3534
3536
  }
3535
3537
  return to.concat(ar || Array.prototype.slice.call(from));
3536
- }
3538
+ }
3539
+
3540
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
3541
+ var e = new Error(message);
3542
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
3543
+ };
3537
3544
 
3538
3545
  var zeroRightClassName = 'right-scroll-bar-position';
3539
3546
  var fullWidthClassName = 'width-before-scroll-bar';
@@ -3623,7 +3630,7 @@ var currentValues = new WeakMap();
3623
3630
  * }
3624
3631
  */
3625
3632
  function useMergeRefs(refs, defaultValue) {
3626
- var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {
3633
+ var callbackRef = useCallbackRef(null, function (newValue) {
3627
3634
  return refs.forEach(function (ref) { return assignRef(ref, newValue); });
3628
3635
  });
3629
3636
  // handle refs changes - added or removed
@@ -3748,7 +3755,7 @@ var nothing = function () {
3748
3755
  /**
3749
3756
  * Removes scrollbar from the page and contain the scroll within the Lock
3750
3757
  */
3751
- var RemoveScroll$1 = React.forwardRef(function (props, parentRef) {
3758
+ var RemoveScroll = React.forwardRef(function (props, parentRef) {
3752
3759
  var ref = React.useRef(null);
3753
3760
  var _a = React.useState({
3754
3761
  onScrollCapture: nothing,
@@ -3763,21 +3770,17 @@ var RemoveScroll$1 = React.forwardRef(function (props, parentRef) {
3763
3770
  enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),
3764
3771
  forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));
3765
3772
  });
3766
- RemoveScroll$1.defaultProps = {
3773
+ RemoveScroll.defaultProps = {
3767
3774
  enabled: true,
3768
3775
  removeScrollBar: true,
3769
3776
  inert: false,
3770
3777
  };
3771
- RemoveScroll$1.classNames = {
3778
+ RemoveScroll.classNames = {
3772
3779
  fullWidth: fullWidthClassName,
3773
3780
  zeroRight: zeroRightClassName,
3774
3781
  };
3775
3782
 
3776
- var currentNonce;
3777
3783
  var getNonce = function () {
3778
- if (currentNonce) {
3779
- return currentNonce;
3780
- }
3781
3784
  if (typeof __webpack_nonce__ !== 'undefined') {
3782
3785
  return __webpack_nonce__;
3783
3786
  }
@@ -4067,11 +4070,11 @@ var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll)
4067
4070
  (targetInLock && (endTarget.contains(target) || endTarget === target)));
4068
4071
  // handle epsilon around 0 (non standard zoom levels)
4069
4072
  if (isDeltaPositive &&
4070
- ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {
4073
+ ((Math.abs(availableScroll) < 1) || (false))) {
4071
4074
  shouldCancelScroll = true;
4072
4075
  }
4073
4076
  else if (!isDeltaPositive &&
4074
- ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {
4077
+ ((Math.abs(availableScrollTop) < 1) || (false))) {
4075
4078
  shouldCancelScroll = true;
4076
4079
  }
4077
4080
  return shouldCancelScroll;
@@ -4147,7 +4150,7 @@ function RemoveScrollSideCar(props) {
4147
4150
  return true;
4148
4151
  }
4149
4152
  var cancelingAxis = activeAxis.current || currentAxis;
4150
- return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);
4153
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY);
4151
4154
  }, []);
4152
4155
  var shouldPrevent = React.useCallback(function (_event) {
4153
4156
  var event = _event;
@@ -4231,9 +4234,8 @@ function getOutermostShadowParent(node) {
4231
4234
 
4232
4235
  var SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
4233
4236
 
4234
- var ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll$1, __assign({}, props, { ref: ref, sideCar: SideCar }))); });
4235
- ReactRemoveScroll.classNames = RemoveScroll$1.classNames;
4236
- var RemoveScroll = ReactRemoveScroll;
4237
+ var ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });
4238
+ ReactRemoveScroll.classNames = RemoveScroll.classNames;
4237
4239
 
4238
4240
  var POPOVER_NAME = "Popover";
4239
4241
  var [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [
@@ -4345,7 +4347,7 @@ var PopoverContentModal = React.forwardRef(
4345
4347
  const content = contentRef.current;
4346
4348
  if (content) return hideOthers(content);
4347
4349
  }, []);
4348
- return /* @__PURE__ */ jsx$1(RemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsx$1(
4350
+ return /* @__PURE__ */ jsx$1(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsx$1(
4349
4351
  PopoverContentImpl,
4350
4352
  {
4351
4353
  ...props,
@@ -4771,7 +4773,7 @@ const Tooltip = ({ position = 'bottom', children, text, delay = DEFAULT_TOOL_TIP
4771
4773
  tw-absolute tw-opacity-0 group-hover:tw-opacity-100 tw-rounded tw-bg-black tw-p-2 tw-text-xs tw-text-white ${placements[position]}` }, text)));
4772
4774
  };
4773
4775
 
4774
- /*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */
4776
+ /*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */
4775
4777
 
4776
4778
  const {
4777
4779
  entries,
@@ -4810,8 +4812,10 @@ if (!construct) {
4810
4812
  };
4811
4813
  }
4812
4814
  const arrayForEach = unapply(Array.prototype.forEach);
4815
+ const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
4813
4816
  const arrayPop = unapply(Array.prototype.pop);
4814
4817
  const arrayPush = unapply(Array.prototype.push);
4818
+ const arraySplice = unapply(Array.prototype.splice);
4815
4819
  const stringToLowerCase = unapply(String.prototype.toLowerCase);
4816
4820
  const stringToString = unapply(String.prototype.toString);
4817
4821
  const stringMatch = unapply(String.prototype.match);
@@ -4829,6 +4833,9 @@ const typeErrorCreate = unconstruct(TypeError);
4829
4833
  */
4830
4834
  function unapply(func) {
4831
4835
  return function (thisArg) {
4836
+ if (thisArg instanceof RegExp) {
4837
+ thisArg.lastIndex = 0;
4838
+ }
4832
4839
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
4833
4840
  args[_key - 1] = arguments[_key];
4834
4841
  }
@@ -4967,7 +4974,7 @@ const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:x
4967
4974
  // eslint-disable-next-line unicorn/better-regex
4968
4975
  const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
4969
4976
  const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
4970
- const TMPLIT_EXPR = seal(/\$\{[\w\W]*}/gm); // eslint-disable-line unicorn/better-regex
4977
+ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex
4971
4978
  const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape
4972
4979
  const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
4973
4980
  const IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
@@ -4996,20 +5003,11 @@ var EXPRESSIONS = /*#__PURE__*/Object.freeze({
4996
5003
  // https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
4997
5004
  const NODE_TYPE = {
4998
5005
  element: 1,
4999
- attribute: 2,
5000
5006
  text: 3,
5001
- cdataSection: 4,
5002
- entityReference: 5,
5003
- // Deprecated
5004
- entityNode: 6,
5005
5007
  // Deprecated
5006
5008
  progressingInstruction: 7,
5007
5009
  comment: 8,
5008
- document: 9,
5009
- documentType: 10,
5010
- documentFragment: 11,
5011
- notation: 12 // Deprecated
5012
- };
5010
+ document: 9};
5013
5011
  const getGlobal = function getGlobal() {
5014
5012
  return typeof window === 'undefined' ? null : window;
5015
5013
  };
@@ -5067,9 +5065,9 @@ const _createHooksMap = function _createHooksMap() {
5067
5065
  function createDOMPurify() {
5068
5066
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
5069
5067
  const DOMPurify = root => createDOMPurify(root);
5070
- DOMPurify.version = '3.2.3';
5068
+ DOMPurify.version = '3.2.5';
5071
5069
  DOMPurify.removed = [];
5072
- if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document) {
5070
+ if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
5073
5071
  // Not running in a browser, provide a factory function
5074
5072
  // so that you can pass your own Window
5075
5073
  DOMPurify.isSupported = false;
@@ -5672,7 +5670,7 @@ function createDOMPurify() {
5672
5670
  allowedTags: ALLOWED_TAGS
5673
5671
  });
5674
5672
  /* Detect mXSS attempts abusing namespace confusion */
5675
- if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
5673
+ if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
5676
5674
  _forceRemove(currentNode);
5677
5675
  return true;
5678
5676
  }
@@ -6088,7 +6086,11 @@ function createDOMPurify() {
6088
6086
  }
6089
6087
  arrayPush(hooks[entryPoint], hookFunction);
6090
6088
  };
6091
- DOMPurify.removeHook = function (entryPoint) {
6089
+ DOMPurify.removeHook = function (entryPoint, hookFunction) {
6090
+ if (hookFunction !== undefined) {
6091
+ const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
6092
+ return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];
6093
+ }
6092
6094
  return arrayPop(hooks[entryPoint]);
6093
6095
  };
6094
6096
  DOMPurify.removeHooks = function (entryPoint) {
@@ -6103,6 +6105,10 @@ var purify = createDOMPurify();
6103
6105
 
6104
6106
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6105
6107
 
6108
+ function getDefaultExportFromCjs (x) {
6109
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
6110
+ }
6111
+
6106
6112
  /**
6107
6113
  * lodash (Custom Build) <https://lodash.com/>
6108
6114
  * Build: `lodash modularize exports="npm" -o ./`
@@ -6112,20 +6118,386 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof win
6112
6118
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
6113
6119
  */
6114
6120
 
6115
- /** Detect free variable `global` from Node.js. */
6116
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
6121
+ var lodash_debounce;
6122
+ var hasRequiredLodash_debounce;
6123
+
6124
+ function requireLodash_debounce () {
6125
+ if (hasRequiredLodash_debounce) return lodash_debounce;
6126
+ hasRequiredLodash_debounce = 1;
6127
+ /** Used as the `TypeError` message for "Functions" methods. */
6128
+ var FUNC_ERROR_TEXT = 'Expected a function';
6129
+
6130
+ /** Used as references for various `Number` constants. */
6131
+ var NAN = 0 / 0;
6132
+
6133
+ /** `Object#toString` result references. */
6134
+ var symbolTag = '[object Symbol]';
6135
+
6136
+ /** Used to match leading and trailing whitespace. */
6137
+ var reTrim = /^\s+|\s+$/g;
6138
+
6139
+ /** Used to detect bad signed hexadecimal string values. */
6140
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
6141
+
6142
+ /** Used to detect binary string values. */
6143
+ var reIsBinary = /^0b[01]+$/i;
6144
+
6145
+ /** Used to detect octal string values. */
6146
+ var reIsOctal = /^0o[0-7]+$/i;
6147
+
6148
+ /** Built-in method references without a dependency on `root`. */
6149
+ var freeParseInt = parseInt;
6150
+
6151
+ /** Detect free variable `global` from Node.js. */
6152
+ var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
6153
+
6154
+ /** Detect free variable `self`. */
6155
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
6156
+
6157
+ /** Used as a reference to the global object. */
6158
+ var root = freeGlobal || freeSelf || Function('return this')();
6159
+
6160
+ /** Used for built-in method references. */
6161
+ var objectProto = Object.prototype;
6162
+
6163
+ /**
6164
+ * Used to resolve the
6165
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
6166
+ * of values.
6167
+ */
6168
+ var objectToString = objectProto.toString;
6169
+
6170
+ /* Built-in method references for those with the same name as other `lodash` methods. */
6171
+ var nativeMax = Math.max,
6172
+ nativeMin = Math.min;
6173
+
6174
+ /**
6175
+ * Gets the timestamp of the number of milliseconds that have elapsed since
6176
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
6177
+ *
6178
+ * @static
6179
+ * @memberOf _
6180
+ * @since 2.4.0
6181
+ * @category Date
6182
+ * @returns {number} Returns the timestamp.
6183
+ * @example
6184
+ *
6185
+ * _.defer(function(stamp) {
6186
+ * console.log(_.now() - stamp);
6187
+ * }, _.now());
6188
+ * // => Logs the number of milliseconds it took for the deferred invocation.
6189
+ */
6190
+ var now = function() {
6191
+ return root.Date.now();
6192
+ };
6193
+
6194
+ /**
6195
+ * Creates a debounced function that delays invoking `func` until after `wait`
6196
+ * milliseconds have elapsed since the last time the debounced function was
6197
+ * invoked. The debounced function comes with a `cancel` method to cancel
6198
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
6199
+ * Provide `options` to indicate whether `func` should be invoked on the
6200
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
6201
+ * with the last arguments provided to the debounced function. Subsequent
6202
+ * calls to the debounced function return the result of the last `func`
6203
+ * invocation.
6204
+ *
6205
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
6206
+ * invoked on the trailing edge of the timeout only if the debounced function
6207
+ * is invoked more than once during the `wait` timeout.
6208
+ *
6209
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
6210
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
6211
+ *
6212
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
6213
+ * for details over the differences between `_.debounce` and `_.throttle`.
6214
+ *
6215
+ * @static
6216
+ * @memberOf _
6217
+ * @since 0.1.0
6218
+ * @category Function
6219
+ * @param {Function} func The function to debounce.
6220
+ * @param {number} [wait=0] The number of milliseconds to delay.
6221
+ * @param {Object} [options={}] The options object.
6222
+ * @param {boolean} [options.leading=false]
6223
+ * Specify invoking on the leading edge of the timeout.
6224
+ * @param {number} [options.maxWait]
6225
+ * The maximum time `func` is allowed to be delayed before it's invoked.
6226
+ * @param {boolean} [options.trailing=true]
6227
+ * Specify invoking on the trailing edge of the timeout.
6228
+ * @returns {Function} Returns the new debounced function.
6229
+ * @example
6230
+ *
6231
+ * // Avoid costly calculations while the window size is in flux.
6232
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
6233
+ *
6234
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
6235
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
6236
+ * 'leading': true,
6237
+ * 'trailing': false
6238
+ * }));
6239
+ *
6240
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
6241
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
6242
+ * var source = new EventSource('/stream');
6243
+ * jQuery(source).on('message', debounced);
6244
+ *
6245
+ * // Cancel the trailing debounced invocation.
6246
+ * jQuery(window).on('popstate', debounced.cancel);
6247
+ */
6248
+ function debounce(func, wait, options) {
6249
+ var lastArgs,
6250
+ lastThis,
6251
+ maxWait,
6252
+ result,
6253
+ timerId,
6254
+ lastCallTime,
6255
+ lastInvokeTime = 0,
6256
+ leading = false,
6257
+ maxing = false,
6258
+ trailing = true;
6259
+
6260
+ if (typeof func != 'function') {
6261
+ throw new TypeError(FUNC_ERROR_TEXT);
6262
+ }
6263
+ wait = toNumber(wait) || 0;
6264
+ if (isObject(options)) {
6265
+ leading = !!options.leading;
6266
+ maxing = 'maxWait' in options;
6267
+ maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
6268
+ trailing = 'trailing' in options ? !!options.trailing : trailing;
6269
+ }
6270
+
6271
+ function invokeFunc(time) {
6272
+ var args = lastArgs,
6273
+ thisArg = lastThis;
6117
6274
 
6118
- /** Detect free variable `self`. */
6119
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
6275
+ lastArgs = lastThis = undefined;
6276
+ lastInvokeTime = time;
6277
+ result = func.apply(thisArg, args);
6278
+ return result;
6279
+ }
6120
6280
 
6121
- /** Used as a reference to the global object. */
6122
- freeGlobal || freeSelf || Function('return this')();
6281
+ function leadingEdge(time) {
6282
+ // Reset any `maxWait` timer.
6283
+ lastInvokeTime = time;
6284
+ // Start the timer for the trailing edge.
6285
+ timerId = setTimeout(timerExpired, wait);
6286
+ // Invoke the leading edge.
6287
+ return leading ? invokeFunc(time) : result;
6288
+ }
6123
6289
 
6124
- var shimExports = {};
6125
- var shim = {
6126
- get exports(){ return shimExports; },
6127
- set exports(v){ shimExports = v; },
6128
- };
6290
+ function remainingWait(time) {
6291
+ var timeSinceLastCall = time - lastCallTime,
6292
+ timeSinceLastInvoke = time - lastInvokeTime,
6293
+ result = wait - timeSinceLastCall;
6294
+
6295
+ return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
6296
+ }
6297
+
6298
+ function shouldInvoke(time) {
6299
+ var timeSinceLastCall = time - lastCallTime,
6300
+ timeSinceLastInvoke = time - lastInvokeTime;
6301
+
6302
+ // Either this is the first call, activity has stopped and we're at the
6303
+ // trailing edge, the system time has gone backwards and we're treating
6304
+ // it as the trailing edge, or we've hit the `maxWait` limit.
6305
+ return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
6306
+ (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
6307
+ }
6308
+
6309
+ function timerExpired() {
6310
+ var time = now();
6311
+ if (shouldInvoke(time)) {
6312
+ return trailingEdge(time);
6313
+ }
6314
+ // Restart the timer.
6315
+ timerId = setTimeout(timerExpired, remainingWait(time));
6316
+ }
6317
+
6318
+ function trailingEdge(time) {
6319
+ timerId = undefined;
6320
+
6321
+ // Only invoke if we have `lastArgs` which means `func` has been
6322
+ // debounced at least once.
6323
+ if (trailing && lastArgs) {
6324
+ return invokeFunc(time);
6325
+ }
6326
+ lastArgs = lastThis = undefined;
6327
+ return result;
6328
+ }
6329
+
6330
+ function cancel() {
6331
+ if (timerId !== undefined) {
6332
+ clearTimeout(timerId);
6333
+ }
6334
+ lastInvokeTime = 0;
6335
+ lastArgs = lastCallTime = lastThis = timerId = undefined;
6336
+ }
6337
+
6338
+ function flush() {
6339
+ return timerId === undefined ? result : trailingEdge(now());
6340
+ }
6341
+
6342
+ function debounced() {
6343
+ var time = now(),
6344
+ isInvoking = shouldInvoke(time);
6345
+
6346
+ lastArgs = arguments;
6347
+ lastThis = this;
6348
+ lastCallTime = time;
6349
+
6350
+ if (isInvoking) {
6351
+ if (timerId === undefined) {
6352
+ return leadingEdge(lastCallTime);
6353
+ }
6354
+ if (maxing) {
6355
+ // Handle invocations in a tight loop.
6356
+ timerId = setTimeout(timerExpired, wait);
6357
+ return invokeFunc(lastCallTime);
6358
+ }
6359
+ }
6360
+ if (timerId === undefined) {
6361
+ timerId = setTimeout(timerExpired, wait);
6362
+ }
6363
+ return result;
6364
+ }
6365
+ debounced.cancel = cancel;
6366
+ debounced.flush = flush;
6367
+ return debounced;
6368
+ }
6369
+
6370
+ /**
6371
+ * Checks if `value` is the
6372
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
6373
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
6374
+ *
6375
+ * @static
6376
+ * @memberOf _
6377
+ * @since 0.1.0
6378
+ * @category Lang
6379
+ * @param {*} value The value to check.
6380
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
6381
+ * @example
6382
+ *
6383
+ * _.isObject({});
6384
+ * // => true
6385
+ *
6386
+ * _.isObject([1, 2, 3]);
6387
+ * // => true
6388
+ *
6389
+ * _.isObject(_.noop);
6390
+ * // => true
6391
+ *
6392
+ * _.isObject(null);
6393
+ * // => false
6394
+ */
6395
+ function isObject(value) {
6396
+ var type = typeof value;
6397
+ return !!value && (type == 'object' || type == 'function');
6398
+ }
6399
+
6400
+ /**
6401
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
6402
+ * and has a `typeof` result of "object".
6403
+ *
6404
+ * @static
6405
+ * @memberOf _
6406
+ * @since 4.0.0
6407
+ * @category Lang
6408
+ * @param {*} value The value to check.
6409
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
6410
+ * @example
6411
+ *
6412
+ * _.isObjectLike({});
6413
+ * // => true
6414
+ *
6415
+ * _.isObjectLike([1, 2, 3]);
6416
+ * // => true
6417
+ *
6418
+ * _.isObjectLike(_.noop);
6419
+ * // => false
6420
+ *
6421
+ * _.isObjectLike(null);
6422
+ * // => false
6423
+ */
6424
+ function isObjectLike(value) {
6425
+ return !!value && typeof value == 'object';
6426
+ }
6427
+
6428
+ /**
6429
+ * Checks if `value` is classified as a `Symbol` primitive or object.
6430
+ *
6431
+ * @static
6432
+ * @memberOf _
6433
+ * @since 4.0.0
6434
+ * @category Lang
6435
+ * @param {*} value The value to check.
6436
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
6437
+ * @example
6438
+ *
6439
+ * _.isSymbol(Symbol.iterator);
6440
+ * // => true
6441
+ *
6442
+ * _.isSymbol('abc');
6443
+ * // => false
6444
+ */
6445
+ function isSymbol(value) {
6446
+ return typeof value == 'symbol' ||
6447
+ (isObjectLike(value) && objectToString.call(value) == symbolTag);
6448
+ }
6449
+
6450
+ /**
6451
+ * Converts `value` to a number.
6452
+ *
6453
+ * @static
6454
+ * @memberOf _
6455
+ * @since 4.0.0
6456
+ * @category Lang
6457
+ * @param {*} value The value to process.
6458
+ * @returns {number} Returns the number.
6459
+ * @example
6460
+ *
6461
+ * _.toNumber(3.2);
6462
+ * // => 3.2
6463
+ *
6464
+ * _.toNumber(Number.MIN_VALUE);
6465
+ * // => 5e-324
6466
+ *
6467
+ * _.toNumber(Infinity);
6468
+ * // => Infinity
6469
+ *
6470
+ * _.toNumber('3.2');
6471
+ * // => 3.2
6472
+ */
6473
+ function toNumber(value) {
6474
+ if (typeof value == 'number') {
6475
+ return value;
6476
+ }
6477
+ if (isSymbol(value)) {
6478
+ return NAN;
6479
+ }
6480
+ if (isObject(value)) {
6481
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
6482
+ value = isObject(other) ? (other + '') : other;
6483
+ }
6484
+ if (typeof value != 'string') {
6485
+ return value === 0 ? value : +value;
6486
+ }
6487
+ value = value.replace(reTrim, '');
6488
+ var isBinary = reIsBinary.test(value);
6489
+ return (isBinary || reIsOctal.test(value))
6490
+ ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
6491
+ : (reIsBadHex.test(value) ? NAN : +value);
6492
+ }
6493
+
6494
+ lodash_debounce = debounce;
6495
+ return lodash_debounce;
6496
+ }
6497
+
6498
+ requireLodash_debounce();
6499
+
6500
+ var shim = {exports: {}};
6129
6501
 
6130
6502
  var useSyncExternalStoreShim_production = {};
6131
6503
 
@@ -6185,7 +6557,7 @@ function requireUseSyncExternalStoreShim_production () {
6185
6557
  var nextValue = latestGetSnapshot();
6186
6558
  return !objectIs(inst, nextValue);
6187
6559
  } catch (error) {
6188
- return !0;
6560
+ return true;
6189
6561
  }
6190
6562
  }
6191
6563
  function useSyncExternalStore$1(subscribe, getSnapshot) {
@@ -6227,7 +6599,7 @@ function requireUseSyncExternalStoreShim_development () {
6227
6599
  function useSyncExternalStore$2(subscribe, getSnapshot) {
6228
6600
  didWarnOld18Alpha ||
6229
6601
  void 0 === React.startTransition ||
6230
- ((didWarnOld18Alpha = !0),
6602
+ ((didWarnOld18Alpha = true),
6231
6603
  console.error(
6232
6604
  "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
6233
6605
  ));
@@ -6238,7 +6610,7 @@ function requireUseSyncExternalStoreShim_development () {
6238
6610
  (console.error(
6239
6611
  "The result of getSnapshot should be cached to avoid an infinite loop"
6240
6612
  ),
6241
- (didWarnUncachedGetSnapshot = !0));
6613
+ (didWarnUncachedGetSnapshot = true));
6242
6614
  }
6243
6615
  cachedValue = useState({
6244
6616
  inst: { value: value, getSnapshot: getSnapshot }
@@ -6272,7 +6644,7 @@ function requireUseSyncExternalStoreShim_development () {
6272
6644
  var nextValue = latestGetSnapshot();
6273
6645
  return !objectIs(inst, nextValue);
6274
6646
  } catch (error) {
6275
- return !0;
6647
+ return true;
6276
6648
  }
6277
6649
  }
6278
6650
  function useSyncExternalStore$1(subscribe, getSnapshot) {
@@ -6288,8 +6660,8 @@ function requireUseSyncExternalStoreShim_development () {
6288
6660
  useEffect = React.useEffect,
6289
6661
  useLayoutEffect = React.useLayoutEffect,
6290
6662
  useDebugValue = React.useDebugValue,
6291
- didWarnOld18Alpha = !1,
6292
- didWarnUncachedGetSnapshot = !1,
6663
+ didWarnOld18Alpha = false,
6664
+ didWarnUncachedGetSnapshot = false,
6293
6665
  shim =
6294
6666
  "undefined" === typeof window ||
6295
6667
  "undefined" === typeof window.document ||
@@ -6306,137 +6678,156 @@ function requireUseSyncExternalStoreShim_development () {
6306
6678
  return useSyncExternalStoreShim_development;
6307
6679
  }
6308
6680
 
6309
- (function (module) {
6681
+ var hasRequiredShim;
6682
+
6683
+ function requireShim () {
6684
+ if (hasRequiredShim) return shim.exports;
6685
+ hasRequiredShim = 1;
6310
6686
 
6311
6687
  if (process.env.NODE_ENV === 'production') {
6312
- module.exports = requireUseSyncExternalStoreShim_production();
6688
+ shim.exports = requireUseSyncExternalStoreShim_production();
6313
6689
  } else {
6314
- module.exports = requireUseSyncExternalStoreShim_development();
6690
+ shim.exports = requireUseSyncExternalStoreShim_development();
6315
6691
  }
6316
- } (shim));
6692
+ return shim.exports;
6693
+ }
6694
+
6695
+ requireShim();
6696
+
6697
+ var raf = {exports: {}};
6698
+
6699
+ var performanceNow$1 = {exports: {}};
6700
+
6701
+ var performanceNow = performanceNow$1.exports;
6702
+
6703
+ var hasRequiredPerformanceNow;
6704
+
6705
+ function requirePerformanceNow () {
6706
+ if (hasRequiredPerformanceNow) return performanceNow$1.exports;
6707
+ hasRequiredPerformanceNow = 1;
6708
+ // Generated by CoffeeScript 1.12.2
6709
+ (function() {
6710
+ var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;
6711
+
6712
+ if ((typeof performance !== "undefined" && performance !== null) && performance.now) {
6713
+ performanceNow$1.exports = function() {
6714
+ return performance.now();
6715
+ };
6716
+ } else if ((typeof process !== "undefined" && process !== null) && process.hrtime) {
6717
+ performanceNow$1.exports = function() {
6718
+ return (getNanoSeconds() - nodeLoadTime) / 1e6;
6719
+ };
6720
+ hrtime = process.hrtime;
6721
+ getNanoSeconds = function() {
6722
+ var hr;
6723
+ hr = hrtime();
6724
+ return hr[0] * 1e9 + hr[1];
6725
+ };
6726
+ moduleLoadTime = getNanoSeconds();
6727
+ upTime = process.uptime() * 1e9;
6728
+ nodeLoadTime = moduleLoadTime - upTime;
6729
+ } else if (Date.now) {
6730
+ performanceNow$1.exports = function() {
6731
+ return Date.now() - loadTime;
6732
+ };
6733
+ loadTime = Date.now();
6734
+ } else {
6735
+ performanceNow$1.exports = function() {
6736
+ return new Date().getTime() - loadTime;
6737
+ };
6738
+ loadTime = new Date().getTime();
6739
+ }
6317
6740
 
6318
- var rafExports = {};
6319
- var raf$1 = {
6320
- get exports(){ return rafExports; },
6321
- set exports(v){ rafExports = v; },
6322
- };
6741
+ }).call(performanceNow);
6323
6742
 
6324
- var performanceNowExports = {};
6325
- var performanceNow = {
6326
- get exports(){ return performanceNowExports; },
6327
- set exports(v){ performanceNowExports = v; },
6328
- };
6743
+
6744
+ return performanceNow$1.exports;
6745
+ }
6329
6746
 
6330
- // Generated by CoffeeScript 1.12.2
6331
- (function() {
6332
- var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;
6747
+ var hasRequiredRaf;
6333
6748
 
6334
- if ((typeof performance !== "undefined" && performance !== null) && performance.now) {
6335
- performanceNow.exports = function() {
6336
- return performance.now();
6337
- };
6338
- } else if ((typeof process !== "undefined" && process !== null) && process.hrtime) {
6339
- performanceNow.exports = function() {
6340
- return (getNanoSeconds() - nodeLoadTime) / 1e6;
6341
- };
6342
- hrtime = process.hrtime;
6343
- getNanoSeconds = function() {
6344
- var hr;
6345
- hr = hrtime();
6346
- return hr[0] * 1e9 + hr[1];
6347
- };
6348
- moduleLoadTime = getNanoSeconds();
6349
- upTime = process.uptime() * 1e9;
6350
- nodeLoadTime = moduleLoadTime - upTime;
6351
- } else if (Date.now) {
6352
- performanceNow.exports = function() {
6353
- return Date.now() - loadTime;
6354
- };
6355
- loadTime = Date.now();
6356
- } else {
6357
- performanceNow.exports = function() {
6358
- return new Date().getTime() - loadTime;
6359
- };
6360
- loadTime = new Date().getTime();
6361
- }
6362
-
6363
- }).call(commonjsGlobal);
6364
-
6365
- var now$1 = performanceNowExports
6366
- , root = typeof window === 'undefined' ? commonjsGlobal : window
6367
- , vendors = ['moz', 'webkit']
6368
- , suffix = 'AnimationFrame'
6369
- , raf = root['request' + suffix]
6370
- , caf = root['cancel' + suffix] || root['cancelRequest' + suffix];
6371
-
6372
- for(var i$1 = 0; !raf && i$1 < vendors.length; i$1++) {
6373
- raf = root[vendors[i$1] + 'Request' + suffix];
6374
- caf = root[vendors[i$1] + 'Cancel' + suffix]
6375
- || root[vendors[i$1] + 'CancelRequest' + suffix];
6376
- }
6377
-
6378
- // Some versions of FF have rAF but not cAF
6379
- if(!raf || !caf) {
6380
- var last = 0
6381
- , id$2 = 0
6382
- , queue = []
6383
- , frameDuration = 1000 / 60;
6384
-
6385
- raf = function(callback) {
6386
- if(queue.length === 0) {
6387
- var _now = now$1()
6388
- , next = Math.max(0, frameDuration - (_now - last));
6389
- last = next + _now;
6390
- setTimeout(function() {
6391
- var cp = queue.slice(0);
6392
- // Clear queue here to prevent
6393
- // callbacks from appending listeners
6394
- // to the current frame's queue
6395
- queue.length = 0;
6396
- for(var i = 0; i < cp.length; i++) {
6397
- if(!cp[i].cancelled) {
6398
- try{
6399
- cp[i].callback(last);
6400
- } catch(e) {
6401
- setTimeout(function() { throw e }, 0);
6402
- }
6403
- }
6404
- }
6405
- }, Math.round(next));
6406
- }
6407
- queue.push({
6408
- handle: ++id$2,
6409
- callback: callback,
6410
- cancelled: false
6411
- });
6412
- return id$2
6413
- };
6749
+ function requireRaf () {
6750
+ if (hasRequiredRaf) return raf.exports;
6751
+ hasRequiredRaf = 1;
6752
+ var now = requirePerformanceNow()
6753
+ , root = typeof window === 'undefined' ? commonjsGlobal : window
6754
+ , vendors = ['moz', 'webkit']
6755
+ , suffix = 'AnimationFrame'
6756
+ , raf$1 = root['request' + suffix]
6757
+ , caf = root['cancel' + suffix] || root['cancelRequest' + suffix];
6414
6758
 
6415
- caf = function(handle) {
6416
- for(var i = 0; i < queue.length; i++) {
6417
- if(queue[i].handle === handle) {
6418
- queue[i].cancelled = true;
6419
- }
6420
- }
6421
- };
6759
+ for(var i = 0; !raf$1 && i < vendors.length; i++) {
6760
+ raf$1 = root[vendors[i] + 'Request' + suffix];
6761
+ caf = root[vendors[i] + 'Cancel' + suffix]
6762
+ || root[vendors[i] + 'CancelRequest' + suffix];
6763
+ }
6764
+
6765
+ // Some versions of FF have rAF but not cAF
6766
+ if(!raf$1 || !caf) {
6767
+ var last = 0
6768
+ , id = 0
6769
+ , queue = []
6770
+ , frameDuration = 1000 / 60;
6771
+
6772
+ raf$1 = function(callback) {
6773
+ if(queue.length === 0) {
6774
+ var _now = now()
6775
+ , next = Math.max(0, frameDuration - (_now - last));
6776
+ last = next + _now;
6777
+ setTimeout(function() {
6778
+ var cp = queue.slice(0);
6779
+ // Clear queue here to prevent
6780
+ // callbacks from appending listeners
6781
+ // to the current frame's queue
6782
+ queue.length = 0;
6783
+ for(var i = 0; i < cp.length; i++) {
6784
+ if(!cp[i].cancelled) {
6785
+ try{
6786
+ cp[i].callback(last);
6787
+ } catch(e) {
6788
+ setTimeout(function() { throw e }, 0);
6789
+ }
6790
+ }
6791
+ }
6792
+ }, Math.round(next));
6793
+ }
6794
+ queue.push({
6795
+ handle: ++id,
6796
+ callback: callback,
6797
+ cancelled: false
6798
+ });
6799
+ return id
6800
+ };
6801
+
6802
+ caf = function(handle) {
6803
+ for(var i = 0; i < queue.length; i++) {
6804
+ if(queue[i].handle === handle) {
6805
+ queue[i].cancelled = true;
6806
+ }
6807
+ }
6808
+ };
6809
+ }
6810
+
6811
+ raf.exports = function(fn) {
6812
+ // Wrap in a new function to prevent
6813
+ // `cancel` potentially being assigned
6814
+ // to the native rAF function
6815
+ return raf$1.call(root, fn)
6816
+ };
6817
+ raf.exports.cancel = function() {
6818
+ caf.apply(root, arguments);
6819
+ };
6820
+ raf.exports.polyfill = function(object) {
6821
+ if (!object) {
6822
+ object = root;
6823
+ }
6824
+ object.requestAnimationFrame = raf$1;
6825
+ object.cancelAnimationFrame = caf;
6826
+ };
6827
+ return raf.exports;
6422
6828
  }
6423
6829
 
6424
- raf$1.exports = function(fn) {
6425
- // Wrap in a new function to prevent
6426
- // `cancel` potentially being assigned
6427
- // to the native rAF function
6428
- return raf.call(root, fn)
6429
- };
6430
- rafExports.cancel = function() {
6431
- caf.apply(root, arguments);
6432
- };
6433
- rafExports.polyfill = function(object) {
6434
- if (!object) {
6435
- object = root;
6436
- }
6437
- object.requestAnimationFrame = raf;
6438
- object.cancelAnimationFrame = caf;
6439
- };
6830
+ requireRaf();
6440
6831
 
6441
6832
  // src/hooks/useOnLongHover.ts
6442
6833
 
@@ -6633,151 +7024,137 @@ const QTip = () => {
6633
7024
  React__default.createElement("div", { className: "tw-absolute tw-w-[10px] tw-h-[10px] tw-rotate-45 tw-bg-black", ref: tooltipArrowRef }))));
6634
7025
  };
6635
7026
 
6636
- function _typeof$1(obj) {
7027
+ function _typeof$1(o) {
6637
7028
  "@babel/helpers - typeof";
6638
7029
 
6639
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
6640
- return typeof obj;
6641
- } : function (obj) {
6642
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
6643
- }, _typeof$1(obj);
7030
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
7031
+ return typeof o;
7032
+ } : function (o) {
7033
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
7034
+ }, _typeof$1(o);
6644
7035
  }
6645
7036
 
6646
- function _toPrimitive(input, hint) {
6647
- if (_typeof$1(input) !== "object" || input === null) return input;
6648
- var prim = input[Symbol.toPrimitive];
6649
- if (prim !== undefined) {
6650
- var res = prim.call(input, hint || "default");
6651
- if (_typeof$1(res) !== "object") return res;
7037
+ function toPrimitive(t, r) {
7038
+ if ("object" != _typeof$1(t) || !t) return t;
7039
+ var e = t[Symbol.toPrimitive];
7040
+ if (void 0 !== e) {
7041
+ var i = e.call(t, r);
7042
+ if ("object" != _typeof$1(i)) return i;
6652
7043
  throw new TypeError("@@toPrimitive must return a primitive value.");
6653
7044
  }
6654
- return (hint === "string" ? String : Number)(input);
7045
+ return ("string" === r ? String : Number)(t);
6655
7046
  }
6656
7047
 
6657
- function _toPropertyKey(arg) {
6658
- var key = _toPrimitive(arg, "string");
6659
- return _typeof$1(key) === "symbol" ? key : String(key);
7048
+ function toPropertyKey(t) {
7049
+ var i = toPrimitive(t, "string");
7050
+ return "symbol" == _typeof$1(i) ? i : i + "";
6660
7051
  }
6661
7052
 
6662
- function _defineProperty(obj, key, value) {
6663
- key = _toPropertyKey(key);
6664
- if (key in obj) {
6665
- Object.defineProperty(obj, key, {
6666
- value: value,
6667
- enumerable: true,
6668
- configurable: true,
6669
- writable: true
6670
- });
6671
- } else {
6672
- obj[key] = value;
6673
- }
6674
- return obj;
7053
+ function _defineProperty(e, r, t) {
7054
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
7055
+ value: t,
7056
+ enumerable: true,
7057
+ configurable: true,
7058
+ writable: true
7059
+ }) : e[r] = t, e;
6675
7060
  }
6676
7061
 
6677
- function ownKeys(object, enumerableOnly) {
6678
- var keys = Object.keys(object);
7062
+ function ownKeys(e, r) {
7063
+ var t = Object.keys(e);
6679
7064
  if (Object.getOwnPropertySymbols) {
6680
- var symbols = Object.getOwnPropertySymbols(object);
6681
- enumerableOnly && (symbols = symbols.filter(function (sym) {
6682
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6683
- })), keys.push.apply(keys, symbols);
6684
- }
6685
- return keys;
6686
- }
6687
- function _objectSpread2(target) {
6688
- for (var i = 1; i < arguments.length; i++) {
6689
- var source = null != arguments[i] ? arguments[i] : {};
6690
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
6691
- _defineProperty(target, key, source[key]);
6692
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
6693
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7065
+ var o = Object.getOwnPropertySymbols(e);
7066
+ r && (o = o.filter(function (r) {
7067
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
7068
+ })), t.push.apply(t, o);
7069
+ }
7070
+ return t;
7071
+ }
7072
+ function _objectSpread2(e) {
7073
+ for (var r = 1; r < arguments.length; r++) {
7074
+ var t = null != arguments[r] ? arguments[r] : {};
7075
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
7076
+ _defineProperty(e, r, t[r]);
7077
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
7078
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
6694
7079
  });
6695
7080
  }
6696
- return target;
7081
+ return e;
6697
7082
  }
6698
7083
 
6699
- function _arrayWithHoles(arr) {
6700
- if (Array.isArray(arr)) return arr;
7084
+ function _arrayWithHoles(r) {
7085
+ if (Array.isArray(r)) return r;
6701
7086
  }
6702
7087
 
6703
- function _iterableToArrayLimit(arr, i) {
6704
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
6705
- if (null != _i) {
6706
- var _s,
6707
- _e,
6708
- _x,
6709
- _r,
6710
- _arr = [],
6711
- _n = !0,
6712
- _d = !1;
7088
+ function _iterableToArrayLimit(r, l) {
7089
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
7090
+ if (null != t) {
7091
+ var e,
7092
+ n,
7093
+ i,
7094
+ u,
7095
+ a = [],
7096
+ f = true,
7097
+ o = false;
6713
7098
  try {
6714
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
6715
- if (Object(_i) !== _i) return;
6716
- _n = !1;
6717
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
6718
- } catch (err) {
6719
- _d = !0, _e = err;
7099
+ if (i = (t = t.call(r)).next, 0 === l) {
7100
+ if (Object(t) !== t) return;
7101
+ f = !1;
7102
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
7103
+ } catch (r) {
7104
+ o = true, n = r;
6720
7105
  } finally {
6721
7106
  try {
6722
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
7107
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
6723
7108
  } finally {
6724
- if (_d) throw _e;
7109
+ if (o) throw n;
6725
7110
  }
6726
7111
  }
6727
- return _arr;
7112
+ return a;
6728
7113
  }
6729
7114
  }
6730
7115
 
6731
- function _arrayLikeToArray(arr, len) {
6732
- if (len == null || len > arr.length) len = arr.length;
6733
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
6734
- return arr2;
7116
+ function _arrayLikeToArray(r, a) {
7117
+ (null == a || a > r.length) && (a = r.length);
7118
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
7119
+ return n;
6735
7120
  }
6736
7121
 
6737
- function _unsupportedIterableToArray(o, minLen) {
6738
- if (!o) return;
6739
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
6740
- var n = Object.prototype.toString.call(o).slice(8, -1);
6741
- if (n === "Object" && o.constructor) n = o.constructor.name;
6742
- if (n === "Map" || n === "Set") return Array.from(o);
6743
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
7122
+ function _unsupportedIterableToArray(r, a) {
7123
+ if (r) {
7124
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
7125
+ var t = {}.toString.call(r).slice(8, -1);
7126
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
7127
+ }
6744
7128
  }
6745
7129
 
6746
7130
  function _nonIterableRest() {
6747
7131
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6748
7132
  }
6749
7133
 
6750
- function _slicedToArray(arr, i) {
6751
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
7134
+ function _slicedToArray(r, e) {
7135
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
6752
7136
  }
6753
7137
 
6754
- function _objectWithoutPropertiesLoose(source, excluded) {
6755
- if (source == null) return {};
6756
- var target = {};
6757
- var sourceKeys = Object.keys(source);
6758
- var key, i;
6759
- for (i = 0; i < sourceKeys.length; i++) {
6760
- key = sourceKeys[i];
6761
- if (excluded.indexOf(key) >= 0) continue;
6762
- target[key] = source[key];
7138
+ function _objectWithoutPropertiesLoose(r, e) {
7139
+ if (null == r) return {};
7140
+ var t = {};
7141
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
7142
+ if (-1 !== e.indexOf(n)) continue;
7143
+ t[n] = r[n];
6763
7144
  }
6764
- return target;
7145
+ return t;
6765
7146
  }
6766
7147
 
6767
- function _objectWithoutProperties(source, excluded) {
6768
- if (source == null) return {};
6769
- var target = _objectWithoutPropertiesLoose(source, excluded);
6770
- var key, i;
7148
+ function _objectWithoutProperties(e, t) {
7149
+ if (null == e) return {};
7150
+ var o,
7151
+ r,
7152
+ i = _objectWithoutPropertiesLoose(e, t);
6771
7153
  if (Object.getOwnPropertySymbols) {
6772
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
6773
- for (i = 0; i < sourceSymbolKeys.length; i++) {
6774
- key = sourceSymbolKeys[i];
6775
- if (excluded.indexOf(key) >= 0) continue;
6776
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
6777
- target[key] = source[key];
6778
- }
7154
+ var n = Object.getOwnPropertySymbols(e);
7155
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
6779
7156
  }
6780
- return target;
7157
+ return i;
6781
7158
  }
6782
7159
 
6783
7160
  var _excluded$6 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
@@ -6848,137 +7225,105 @@ function useStateManager(_ref) {
6848
7225
  }
6849
7226
 
6850
7227
  function _extends() {
6851
- _extends = Object.assign ? Object.assign.bind() : function (target) {
6852
- for (var i = 1; i < arguments.length; i++) {
6853
- var source = arguments[i];
6854
- for (var key in source) {
6855
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6856
- target[key] = source[key];
6857
- }
6858
- }
7228
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
7229
+ for (var e = 1; e < arguments.length; e++) {
7230
+ var t = arguments[e];
7231
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
6859
7232
  }
6860
- return target;
6861
- };
6862
- return _extends.apply(this, arguments);
7233
+ return n;
7234
+ }, _extends.apply(null, arguments);
6863
7235
  }
6864
7236
 
6865
- function _classCallCheck(instance, Constructor) {
6866
- if (!(instance instanceof Constructor)) {
6867
- throw new TypeError("Cannot call a class as a function");
6868
- }
7237
+ function _classCallCheck(a, n) {
7238
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
6869
7239
  }
6870
7240
 
6871
- function _defineProperties(target, props) {
6872
- for (var i = 0; i < props.length; i++) {
6873
- var descriptor = props[i];
6874
- descriptor.enumerable = descriptor.enumerable || false;
6875
- descriptor.configurable = true;
6876
- if ("value" in descriptor) descriptor.writable = true;
6877
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
7241
+ function _defineProperties(e, r) {
7242
+ for (var t = 0; t < r.length; t++) {
7243
+ var o = r[t];
7244
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, toPropertyKey(o.key), o);
6878
7245
  }
6879
7246
  }
6880
- function _createClass(Constructor, protoProps, staticProps) {
6881
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
6882
- if (staticProps) _defineProperties(Constructor, staticProps);
6883
- Object.defineProperty(Constructor, "prototype", {
7247
+ function _createClass(e, r, t) {
7248
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
6884
7249
  writable: false
6885
- });
6886
- return Constructor;
7250
+ }), e;
6887
7251
  }
6888
7252
 
6889
- function _setPrototypeOf(o, p) {
6890
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
6891
- o.__proto__ = p;
6892
- return o;
6893
- };
6894
- return _setPrototypeOf(o, p);
7253
+ function _setPrototypeOf(t, e) {
7254
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
7255
+ return t.__proto__ = e, t;
7256
+ }, _setPrototypeOf(t, e);
6895
7257
  }
6896
7258
 
6897
- function _inherits(subClass, superClass) {
6898
- if (typeof superClass !== "function" && superClass !== null) {
6899
- throw new TypeError("Super expression must either be null or a function");
6900
- }
6901
- subClass.prototype = Object.create(superClass && superClass.prototype, {
7259
+ function _inherits(t, e) {
7260
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
7261
+ t.prototype = Object.create(e && e.prototype, {
6902
7262
  constructor: {
6903
- value: subClass,
7263
+ value: t,
6904
7264
  writable: true,
6905
7265
  configurable: true
6906
7266
  }
6907
- });
6908
- Object.defineProperty(subClass, "prototype", {
7267
+ }), Object.defineProperty(t, "prototype", {
6909
7268
  writable: false
6910
- });
6911
- if (superClass) _setPrototypeOf(subClass, superClass);
7269
+ }), e && _setPrototypeOf(t, e);
6912
7270
  }
6913
7271
 
6914
- function _getPrototypeOf(o) {
6915
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
6916
- return o.__proto__ || Object.getPrototypeOf(o);
6917
- };
6918
- return _getPrototypeOf(o);
7272
+ function _getPrototypeOf(t) {
7273
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
7274
+ return t.__proto__ || Object.getPrototypeOf(t);
7275
+ }, _getPrototypeOf(t);
6919
7276
  }
6920
7277
 
6921
7278
  function _isNativeReflectConstruct() {
6922
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6923
- if (Reflect.construct.sham) return false;
6924
- if (typeof Proxy === "function") return true;
6925
7279
  try {
6926
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6927
- return true;
6928
- } catch (e) {
6929
- return false;
6930
- }
7280
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
7281
+ } catch (t) {}
7282
+ return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
7283
+ return !!t;
7284
+ })();
6931
7285
  }
6932
7286
 
6933
- function _assertThisInitialized(self) {
6934
- if (self === void 0) {
6935
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6936
- }
6937
- return self;
7287
+ function _assertThisInitialized(e) {
7288
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7289
+ return e;
6938
7290
  }
6939
7291
 
6940
- function _possibleConstructorReturn(self, call) {
6941
- if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
6942
- return call;
6943
- } else if (call !== void 0) {
6944
- throw new TypeError("Derived constructors may only return object or undefined");
6945
- }
6946
- return _assertThisInitialized(self);
7292
+ function _possibleConstructorReturn(t, e) {
7293
+ if (e && ("object" == _typeof$1(e) || "function" == typeof e)) return e;
7294
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
7295
+ return _assertThisInitialized(t);
6947
7296
  }
6948
7297
 
6949
- function _createSuper(Derived) {
6950
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
6951
- return function _createSuperInternal() {
6952
- var Super = _getPrototypeOf(Derived),
6953
- result;
6954
- if (hasNativeReflectConstruct) {
6955
- var NewTarget = _getPrototypeOf(this).constructor;
6956
- result = Reflect.construct(Super, arguments, NewTarget);
6957
- } else {
6958
- result = Super.apply(this, arguments);
6959
- }
6960
- return _possibleConstructorReturn(this, result);
7298
+ function _createSuper(t) {
7299
+ var r = _isNativeReflectConstruct();
7300
+ return function () {
7301
+ var e,
7302
+ o = _getPrototypeOf(t);
7303
+ if (r) {
7304
+ var s = _getPrototypeOf(this).constructor;
7305
+ e = Reflect.construct(o, arguments, s);
7306
+ } else e = o.apply(this, arguments);
7307
+ return _possibleConstructorReturn(this, e);
6961
7308
  };
6962
7309
  }
6963
7310
 
6964
- function _arrayWithoutHoles(arr) {
6965
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
7311
+ function _arrayWithoutHoles(r) {
7312
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
6966
7313
  }
6967
7314
 
6968
- function _iterableToArray(iter) {
6969
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
7315
+ function _iterableToArray(r) {
7316
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
6970
7317
  }
6971
7318
 
6972
7319
  function _nonIterableSpread() {
6973
7320
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6974
7321
  }
6975
7322
 
6976
- function _toConsumableArray(arr) {
6977
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
7323
+ function _toConsumableArray(r) {
7324
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
6978
7325
  }
6979
7326
 
6980
- var isDevelopment$2 = false;
6981
-
6982
7327
  /*
6983
7328
 
6984
7329
  Based off glamor's StyleSheet, thanks Sunil ❤️
@@ -7059,7 +7404,7 @@ var StyleSheet = /*#__PURE__*/function () {
7059
7404
  _this.tags.push(tag);
7060
7405
  };
7061
7406
 
7062
- this.isSpeedy = options.speedy === undefined ? !isDevelopment$2 : options.speedy;
7407
+ this.isSpeedy = options.speedy === undefined ? true : options.speedy;
7063
7408
  this.tags = [];
7064
7409
  this.ctr = 0;
7065
7410
  this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
@@ -8154,11 +8499,7 @@ var createCache = function createCache(options) {
8154
8499
  return cache;
8155
8500
  };
8156
8501
 
8157
- var reactIsExports = {};
8158
- var reactIs$1 = {
8159
- get exports(){ return reactIsExports; },
8160
- set exports(v){ reactIsExports = v; },
8161
- };
8502
+ var reactIs = {exports: {}};
8162
8503
 
8163
8504
  var reactIs_production_min = {};
8164
8505
 
@@ -8374,34 +8715,132 @@ function requireReactIs_development () {
8374
8715
  return reactIs_development;
8375
8716
  }
8376
8717
 
8377
- (function (module) {
8718
+ var hasRequiredReactIs;
8719
+
8720
+ function requireReactIs () {
8721
+ if (hasRequiredReactIs) return reactIs.exports;
8722
+ hasRequiredReactIs = 1;
8378
8723
 
8379
8724
  if (process.env.NODE_ENV === 'production') {
8380
- module.exports = requireReactIs_production_min();
8725
+ reactIs.exports = requireReactIs_production_min();
8381
8726
  } else {
8382
- module.exports = requireReactIs_development();
8727
+ reactIs.exports = requireReactIs_development();
8728
+ }
8729
+ return reactIs.exports;
8730
+ }
8731
+
8732
+ var hoistNonReactStatics_cjs;
8733
+ var hasRequiredHoistNonReactStatics_cjs;
8734
+
8735
+ function requireHoistNonReactStatics_cjs () {
8736
+ if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
8737
+ hasRequiredHoistNonReactStatics_cjs = 1;
8738
+
8739
+ var reactIs = requireReactIs();
8740
+
8741
+ /**
8742
+ * Copyright 2015, Yahoo! Inc.
8743
+ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
8744
+ */
8745
+ var REACT_STATICS = {
8746
+ childContextTypes: true,
8747
+ contextType: true,
8748
+ contextTypes: true,
8749
+ defaultProps: true,
8750
+ displayName: true,
8751
+ getDefaultProps: true,
8752
+ getDerivedStateFromError: true,
8753
+ getDerivedStateFromProps: true,
8754
+ mixins: true,
8755
+ propTypes: true,
8756
+ type: true
8757
+ };
8758
+ var KNOWN_STATICS = {
8759
+ name: true,
8760
+ length: true,
8761
+ prototype: true,
8762
+ caller: true,
8763
+ callee: true,
8764
+ arguments: true,
8765
+ arity: true
8766
+ };
8767
+ var FORWARD_REF_STATICS = {
8768
+ '$$typeof': true,
8769
+ render: true,
8770
+ defaultProps: true,
8771
+ displayName: true,
8772
+ propTypes: true
8773
+ };
8774
+ var MEMO_STATICS = {
8775
+ '$$typeof': true,
8776
+ compare: true,
8777
+ defaultProps: true,
8778
+ displayName: true,
8779
+ propTypes: true,
8780
+ type: true
8781
+ };
8782
+ var TYPE_STATICS = {};
8783
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
8784
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
8785
+
8786
+ function getStatics(component) {
8787
+ // React v16.11 and below
8788
+ if (reactIs.isMemo(component)) {
8789
+ return MEMO_STATICS;
8790
+ } // React v16.12 and above
8791
+
8792
+
8793
+ return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
8794
+ }
8795
+
8796
+ var defineProperty = Object.defineProperty;
8797
+ var getOwnPropertyNames = Object.getOwnPropertyNames;
8798
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
8799
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
8800
+ var getPrototypeOf = Object.getPrototypeOf;
8801
+ var objectPrototype = Object.prototype;
8802
+ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
8803
+ if (typeof sourceComponent !== 'string') {
8804
+ // don't hoist over string (html) components
8805
+ if (objectPrototype) {
8806
+ var inheritedComponent = getPrototypeOf(sourceComponent);
8807
+
8808
+ if (inheritedComponent && inheritedComponent !== objectPrototype) {
8809
+ hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
8810
+ }
8811
+ }
8812
+
8813
+ var keys = getOwnPropertyNames(sourceComponent);
8814
+
8815
+ if (getOwnPropertySymbols) {
8816
+ keys = keys.concat(getOwnPropertySymbols(sourceComponent));
8817
+ }
8818
+
8819
+ var targetStatics = getStatics(targetComponent);
8820
+ var sourceStatics = getStatics(sourceComponent);
8821
+
8822
+ for (var i = 0; i < keys.length; ++i) {
8823
+ var key = keys[i];
8824
+
8825
+ if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
8826
+ var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
8827
+
8828
+ try {
8829
+ // Avoid failures from read-only properties
8830
+ defineProperty(targetComponent, key, descriptor);
8831
+ } catch (e) {}
8832
+ }
8833
+ }
8834
+ }
8835
+
8836
+ return targetComponent;
8383
8837
  }
8384
- } (reactIs$1));
8385
-
8386
- var reactIs = reactIsExports;
8387
- var FORWARD_REF_STATICS = {
8388
- '$$typeof': true,
8389
- render: true,
8390
- defaultProps: true,
8391
- displayName: true,
8392
- propTypes: true
8393
- };
8394
- var MEMO_STATICS = {
8395
- '$$typeof': true,
8396
- compare: true,
8397
- defaultProps: true,
8398
- displayName: true,
8399
- propTypes: true,
8400
- type: true
8401
- };
8402
- var TYPE_STATICS = {};
8403
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
8404
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
8838
+
8839
+ hoistNonReactStatics_cjs = hoistNonReactStatics;
8840
+ return hoistNonReactStatics_cjs;
8841
+ }
8842
+
8843
+ requireHoistNonReactStatics_cjs();
8405
8844
 
8406
8845
  var isBrowser$1 = true;
8407
8846
 
@@ -8552,8 +8991,6 @@ var unitlessKeys = {
8552
8991
  strokeWidth: 1
8553
8992
  };
8554
8993
 
8555
- var isDevelopment$1 = false;
8556
-
8557
8994
  var hyphenateRegex = /[A-Z]|^ms/g;
8558
8995
  var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
8559
8996
 
@@ -8594,8 +9031,6 @@ var processStyleValue = function processStyleValue(key, value) {
8594
9031
  return value;
8595
9032
  };
8596
9033
 
8597
- var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
8598
-
8599
9034
  function handleInterpolation(mergedProps, registered, interpolation) {
8600
9035
  if (interpolation == null) {
8601
9036
  return '';
@@ -8668,12 +9103,9 @@ function handleInterpolation(mergedProps, registered, interpolation) {
8668
9103
 
8669
9104
  var asString = interpolation;
8670
9105
 
8671
- if (registered == null) {
9106
+ {
8672
9107
  return asString;
8673
9108
  }
8674
-
8675
- var cached = registered[asString];
8676
- return cached !== undefined ? cached : asString;
8677
9109
  }
8678
9110
 
8679
9111
  function createStringFromObject(mergedProps, registered, obj) {
@@ -8690,17 +9122,12 @@ function createStringFromObject(mergedProps, registered, obj) {
8690
9122
  if (typeof value !== 'object') {
8691
9123
  var asString = value;
8692
9124
 
8693
- if (registered != null && registered[asString] !== undefined) {
8694
- string += key + "{" + registered[asString] + "}";
8695
- } else if (isProcessableValue(asString)) {
9125
+ if (isProcessableValue(asString)) {
8696
9126
  string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
8697
9127
  }
8698
9128
  } else {
8699
- if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment$1) {
8700
- throw new Error(noComponentSelectorMessage);
8701
- }
8702
9129
 
8703
- if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
9130
+ if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null)) {
8704
9131
  for (var _i = 0; _i < value.length; _i++) {
8705
9132
  if (isProcessableValue(value[_i])) {
8706
9133
  string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
@@ -8790,8 +9217,6 @@ var syncFallback = function syncFallback(create) {
8790
9217
  var useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;
8791
9218
  var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
8792
9219
 
8793
- var isDevelopment = false;
8794
-
8795
9220
  var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
8796
9221
  // because this module is primarily intended for the browser and node
8797
9222
  // but it's also required in react native and similar environments sometimes
@@ -8869,7 +9294,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
8869
9294
  var newProps = {};
8870
9295
 
8871
9296
  for (var _key2 in props) {
8872
- if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (!isDevelopment )) {
9297
+ if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (true )) {
8873
9298
  newProps[_key2] = props[_key2];
8874
9299
  }
8875
9300
  }
@@ -8936,13 +9361,10 @@ function keyframes$1() {
8936
9361
  };
8937
9362
  }
8938
9363
 
8939
- function _taggedTemplateLiteral(strings, raw) {
8940
- if (!raw) {
8941
- raw = strings.slice(0);
8942
- }
8943
- return Object.freeze(Object.defineProperties(strings, {
9364
+ function _taggedTemplateLiteral(e, t) {
9365
+ return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
8944
9366
  raw: {
8945
- value: Object.freeze(raw)
9367
+ value: Object.freeze(t)
8946
9368
  }
8947
9369
  }));
8948
9370
  }
@@ -13357,7 +13779,7 @@ var DialogOverlayImpl = React.forwardRef(
13357
13779
  return (
13358
13780
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
13359
13781
  // ie. when `Overlay` and `Content` are siblings
13360
- /* @__PURE__ */ jsx$1(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx$1(
13782
+ /* @__PURE__ */ jsx$1(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx$1(
13361
13783
  Primitive.div,
13362
13784
  {
13363
13785
  "data-state": getState$2(context.open),
@@ -13570,11 +13992,7 @@ var Title = DialogTitle$1;
13570
13992
  var Description = DialogDescription$1;
13571
13993
  var Close = DialogClose$1;
13572
13994
 
13573
- var classnamesExports = {};
13574
- var classnames = {
13575
- get exports(){ return classnamesExports; },
13576
- set exports(v){ classnamesExports = v; },
13577
- };
13995
+ var classnames = {exports: {}};
13578
13996
 
13579
13997
  /*!
13580
13998
  Copyright (c) 2018 Jed Watson.
@@ -13582,76 +14000,84 @@ var classnames = {
13582
14000
  http://jedwatson.github.io/classnames
13583
14001
  */
13584
14002
 
13585
- (function (module) {
13586
- /* global define */
14003
+ var hasRequiredClassnames;
13587
14004
 
13588
- (function () {
14005
+ function requireClassnames () {
14006
+ if (hasRequiredClassnames) return classnames.exports;
14007
+ hasRequiredClassnames = 1;
14008
+ (function (module) {
14009
+ /* global define */
13589
14010
 
13590
- var hasOwn = {}.hasOwnProperty;
14011
+ (function () {
13591
14012
 
13592
- function classNames () {
13593
- var classes = '';
14013
+ var hasOwn = {}.hasOwnProperty;
13594
14014
 
13595
- for (var i = 0; i < arguments.length; i++) {
13596
- var arg = arguments[i];
13597
- if (arg) {
13598
- classes = appendClass(classes, parseValue(arg));
13599
- }
13600
- }
14015
+ function classNames () {
14016
+ var classes = '';
13601
14017
 
13602
- return classes;
13603
- }
13604
-
13605
- function parseValue (arg) {
13606
- if (typeof arg === 'string' || typeof arg === 'number') {
13607
- return arg;
13608
- }
14018
+ for (var i = 0; i < arguments.length; i++) {
14019
+ var arg = arguments[i];
14020
+ if (arg) {
14021
+ classes = appendClass(classes, parseValue(arg));
14022
+ }
14023
+ }
13609
14024
 
13610
- if (typeof arg !== 'object') {
13611
- return '';
14025
+ return classes;
13612
14026
  }
13613
14027
 
13614
- if (Array.isArray(arg)) {
13615
- return classNames.apply(null, arg);
13616
- }
14028
+ function parseValue (arg) {
14029
+ if (typeof arg === 'string' || typeof arg === 'number') {
14030
+ return arg;
14031
+ }
13617
14032
 
13618
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
13619
- return arg.toString();
13620
- }
14033
+ if (typeof arg !== 'object') {
14034
+ return '';
14035
+ }
13621
14036
 
13622
- var classes = '';
14037
+ if (Array.isArray(arg)) {
14038
+ return classNames.apply(null, arg);
14039
+ }
13623
14040
 
13624
- for (var key in arg) {
13625
- if (hasOwn.call(arg, key) && arg[key]) {
13626
- classes = appendClass(classes, key);
14041
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
14042
+ return arg.toString();
13627
14043
  }
13628
- }
13629
14044
 
13630
- return classes;
13631
- }
14045
+ var classes = '';
14046
+
14047
+ for (var key in arg) {
14048
+ if (hasOwn.call(arg, key) && arg[key]) {
14049
+ classes = appendClass(classes, key);
14050
+ }
14051
+ }
13632
14052
 
13633
- function appendClass (value, newClass) {
13634
- if (!newClass) {
13635
- return value;
14053
+ return classes;
13636
14054
  }
13637
-
13638
- if (value) {
13639
- return value + ' ' + newClass;
14055
+
14056
+ function appendClass (value, newClass) {
14057
+ if (!newClass) {
14058
+ return value;
14059
+ }
14060
+
14061
+ if (value) {
14062
+ return value + ' ' + newClass;
14063
+ }
14064
+
14065
+ return value + newClass;
13640
14066
  }
13641
-
13642
- return value + newClass;
13643
- }
13644
14067
 
13645
- if (module.exports) {
13646
- classNames.default = classNames;
13647
- module.exports = classNames;
13648
- } else {
13649
- window.classNames = classNames;
13650
- }
13651
- }());
13652
- } (classnames));
14068
+ if (module.exports) {
14069
+ classNames.default = classNames;
14070
+ module.exports = classNames;
14071
+ } else {
14072
+ window.classNames = classNames;
14073
+ }
14074
+ }());
14075
+ } (classnames));
14076
+ return classnames.exports;
14077
+ }
13653
14078
 
13654
- var classNames = classnamesExports;
14079
+ var classnamesExports = requireClassnames();
14080
+ var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
13655
14081
 
13656
14082
  const Dialog = Root$4;
13657
14083
  const DialogPortal = Portal$1;
@@ -14866,7 +15292,7 @@ var MenuContentImpl = React.forwardRef(
14866
15292
  const pointerGraceIntentRef = React.useRef(null);
14867
15293
  const pointerDirRef = React.useRef("right");
14868
15294
  const lastPointerXRef = React.useRef(0);
14869
- const ScrollLockWrapper = disableOutsideScroll ? RemoveScroll : React.Fragment;
15295
+ const ScrollLockWrapper = disableOutsideScroll ? ReactRemoveScroll : React.Fragment;
14870
15296
  const scrollLockWrapperProps = disableOutsideScroll ? { as: Slot, allowPinchZoom: true } : void 0;
14871
15297
  const handleTypeaheadSearch = (key) => {
14872
15298
  const search = searchRef.current + key;
@@ -15841,19 +16267,57 @@ const Alert = ({ children, dismissible = true, onClose, show = true, variant, te
15841
16267
  dismissible && (React__default.createElement(Icon, { icon: "fc-delete", type: variant.match(/danger|warning/) ? 'color' : 'theme', color: variant.match(/danger|warning/) ? 'inherit' : undefined, extraClassNames: `tw-self-end tw-text-[11px] tw-cursor-pointer tw-absolute tw-right-[10px] tw-top-[10px] ${variant.match(/danger|warning|gray/) ? 'tw-text-sq-text-color dark:tw-text-sq-dark-text' : ''}`, testId: `${testId}-close-btn`, onClick: onClose, ...tooltipProps }))));
15842
16268
  };
15843
16269
 
16270
+ /**
16271
+ * Renders an icon that has an SVG icon path (see {@link isSvgIcon() })
16272
+ *
16273
+ * @param onClick - function to call when clicking the icon (takes no parameters)
16274
+ * @param id - id that can be placed on the SvgIcon component
16275
+ * @param testId - id that will be used in the data-testid attribute on the icon
16276
+ * @param customId - id that will be used in the data-customid attribute on the icon. Can be used to identify the icon
16277
+ * as the click event target in an event handler
16278
+ * @param icon - the SVG icon
16279
+ * @param color - used to add a custom color to the icon (required if type="color")
16280
+ * @param extraClassNames - extra class names to apply
16281
+ * @param [viewBox='0 0 19 19'] - optional SVG view box
16282
+ * @param type - default will use dark/light text colors otherwise will use the theme color
16283
+ * @param tooltipProps - props to pass to the tooltip
16284
+ */
16285
+ const SvgIcon = ({ onClick, icon, color, type = 'default', extraClassNames, viewBox = '0 0 19 19', id, testId, customId, ...tooltipProps }) => {
16286
+ const appliedClassNames = `${onClick ? 'tw-cursor-pointer' : ''} ${extraClassNames} focus:tw-outline-none focus-visible:tw-outline-none
16287
+ tw-outline-none`;
16288
+ const tooltipData = getQTipData(tooltipProps);
16289
+ const appliedType = type === 'default' ? 'currentColor' : 'rgb(var(--sq-icon))';
16290
+ return (React__default.createElement("div", { onClick: onClick, ...tooltipData, className: `svgContainer ${appliedClassNames}` },
16291
+ React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: `tw-sq-icon dark:tw-text-white`, viewBox: viewBox, fill: color ? color : appliedType, "data-testid": testId },
16292
+ React__default.createElement("path", { d: getSvgIconPath(icon) }))));
16293
+ };
16294
+
15844
16295
  const SeeqActionDropdownItem = (item) => {
16296
+ let renderIcon = React__default.createElement(React__default.Fragment, null);
16297
+ if (item.icon) {
16298
+ renderIcon = isSvgIcon(item.icon) ? (React__default.createElement(SvgIcon, { icon: item.icon, extraClassNames: 'tw-rounded-[3px] tw-h-8 tw-w-8 tw-p-1 tw-flex tw-justify-center tw-items-center tw-bg-sq-color-dark' +
16299
+ ' dark:tw-text-sq-white tw-text-[22px] tw-text-sq-white ' +
16300
+ item.iconExtraClassNames, ...item })) : (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-rounded-[3px] tw-h-8 tw-w-8 tw-flex tw-justify-center tw-items-center tw-bg-sq-color-dark dark:tw-text-sq-white tw-text-[22px] tw-text-sq-white ' +
16301
+ item.iconExtraClassNames }));
16302
+ }
15845
16303
  return (React__default.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px] tw-pl-5 tw-w-[600px]" },
15846
16304
  React__default.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
15847
- item.icon && (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-rounded-[3px] tw-h-8 tw-w-8 tw-flex tw-justify-center tw-items-center tw-bg-sq-color-dark dark:tw-text-sq-white tw-text-[22px] tw-text-sq-white ' +
15848
- item.iconExtraClassNames })),
16305
+ renderIcon,
15849
16306
  React__default.createElement("h4", { className: "tw-text-base tw-font-[600] tw-leading-[20px] mb-0" }, item.display)),
15850
16307
  React__default.createElement("div", { className: "tw-text-[13px] tw-font-normal" }, item.text)));
15851
16308
  };
15852
16309
  const ViewWorkbench = (item) => {
16310
+ let renderIcon = React__default.createElement(React__default.Fragment, null);
16311
+ if (item.icon) {
16312
+ renderIcon = isSvgIcon(item.icon) ? (React__default.createElement(SvgIcon, { icon: item.icon, extraClassNames: 'tw-flex tw-w-5 tw-justify-center tw-items-center tw-text-[20px] dark:tw-text-sq-white' +
16313
+ ' tw-text-sq-text-color ' +
16314
+ item.iconExtraClassNames, type: "default", ...item })) : (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-flex tw-justify-center tw-items-center tw-text-[20px] dark:tw-text-sq-white' +
16315
+ ' tw-text-sq-text-color ' +
16316
+ item.iconExtraClassNames }));
16317
+ }
15853
16318
  return (React__default.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px]" },
15854
16319
  React__default.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
15855
- item.icon && (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-flex tw-justify-center tw-items-center tw-text-[20px] dark:tw-text-sq-white tw-text-sq-text-color ' +
15856
- item.iconExtraClassNames })),
16320
+ renderIcon,
15857
16321
  React__default.createElement("div", { className: "tw-text-[13px]" }, item.display))));
15858
16322
  };
15859
16323
  const InsertSeeqContent = (item) => {
@@ -16330,7 +16794,6 @@ if (process.env.NODE_ENV !== "production") {
16330
16794
  }
16331
16795
 
16332
16796
  const MotionGlobalConfig = {
16333
- skipAnimations: false,
16334
16797
  useManualTiming: false,
16335
16798
  };
16336
16799
 
@@ -16425,8 +16888,6 @@ function warnOnce(condition, message, element) {
16425
16888
  if (condition || warned.has(message))
16426
16889
  return;
16427
16890
  console.warn(message);
16428
- if (element)
16429
- console.warn(element);
16430
16891
  warned.add(message);
16431
16892
  }
16432
16893
 
@@ -16641,9 +17102,7 @@ const stepsOrder = [
16641
17102
  ];
16642
17103
 
16643
17104
  const statsBuffer = {
16644
- value: null,
16645
- addProjectionMetrics: null,
16646
- };
17105
+ value: null};
16647
17106
 
16648
17107
  function createRenderStep(runNextFrame, stepName) {
16649
17108
  /**
@@ -16798,7 +17257,7 @@ function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
16798
17257
 
16799
17258
  const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps, } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
16800
17259
 
16801
- const { schedule: microtask, cancel: cancelMicrotask } =
17260
+ const { schedule: microtask} =
16802
17261
  /* @__PURE__ */ createRenderBatcher(queueMicrotask, false);
16803
17262
 
16804
17263
  let now;
@@ -16868,15 +17327,7 @@ function resolveElements(elementOrSelector, scope, selectorCache) {
16868
17327
  }
16869
17328
  else if (typeof elementOrSelector === "string") {
16870
17329
  let root = document;
16871
- if (scope) {
16872
- // TODO: Refactor to utils package
16873
- // invariant(
16874
- // Boolean(scope.current),
16875
- // "Scope provided, but no element detected."
16876
- // )
16877
- root = scope.current;
16878
- }
16879
- const elements = (_a = selectorCache === null || selectorCache === void 0 ? void 0 : selectorCache[elementOrSelector]) !== null && _a !== void 0 ? _a : root.querySelectorAll(elementOrSelector);
17330
+ const elements = (_a = void 0 ) !== null && _a !== void 0 ? _a : root.querySelectorAll(elementOrSelector);
16880
17331
  return elements ? Array.from(elements) : [];
16881
17332
  }
16882
17333
  return Array.from(elementOrSelector);
@@ -20129,7 +20580,7 @@ function findSpring({ duration = springDefaults.duration, bounce = springDefault
20129
20580
  envelope = (undampedFreq) => {
20130
20581
  const a = Math.exp(-undampedFreq * duration);
20131
20582
  const b = (undampedFreq - velocity) * duration + 1;
20132
- return -safeMin + a * b;
20583
+ return -1e-3 + a * b;
20133
20584
  };
20134
20585
  derivative = (undampedFreq) => {
20135
20586
  const a = Math.exp(-undampedFreq * duration);