@teselagen/ove 0.5.10 → 0.5.12

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 (317) hide show
  1. package/AlignmentTool/index.d.ts +6 -0
  2. package/AlignmentView/AlignmentVisibilityTool.d.ts +2 -0
  3. package/AlignmentView/EditTrackNameDialog.d.ts +1 -0
  4. package/AlignmentView/HorizontalPanelDragHandle.d.ts +3 -0
  5. package/AlignmentView/Minimap.d.ts +63 -0
  6. package/AlignmentView/Mismatches.d.ts +20 -0
  7. package/AlignmentView/PairwiseAlignmentView.d.ts +9 -0
  8. package/AlignmentView/PerformantSelectionLayer.d.ts +1 -0
  9. package/AlignmentView/coerceInitialValue.d.ts +4 -0
  10. package/AlignmentView/getGapMap.d.ts +1 -0
  11. package/AlignmentView/getGaps.d.ts +4 -0
  12. package/AlignmentView/getPairwiseOverviewLinearViewOptions.d.ts +22 -0
  13. package/AlignmentView/getTrackFromEvent.d.ts +1 -0
  14. package/AlignmentView/index.d.ts +107 -0
  15. package/AlignmentView/isTargetWithinEl.d.ts +1 -0
  16. package/AlignmentView/updateTrackHelper.d.ts +10 -0
  17. package/AutoAnnotate.d.ts +4 -0
  18. package/AutoAnnotateBpMatchingDialog.d.ts +1 -0
  19. package/CircularView/Axis.d.ts +12 -0
  20. package/CircularView/AxisNumbers.d.ts +7 -0
  21. package/CircularView/Caret.d.ts +2 -0
  22. package/CircularView/CircularDnaSequence.d.ts +10 -0
  23. package/CircularView/CircularZoomMinimap.d.ts +4 -0
  24. package/CircularView/Cutsite.d.ts +4 -0
  25. package/CircularView/Cutsites.d.ts +18 -0
  26. package/CircularView/DeletionLayer.d.ts +8 -0
  27. package/CircularView/Feature.d.ts +1 -0
  28. package/CircularView/Labels/index.d.ts +22 -0
  29. package/CircularView/Labels/relaxLabelAngles.d.ts +2 -0
  30. package/CircularView/Labels/relaxLabels_DEPRECATED.d.ts +1 -0
  31. package/CircularView/Orf.d.ts +6 -0
  32. package/CircularView/Part.d.ts +9 -0
  33. package/CircularView/PositionAnnotationOnCircle.d.ts +12 -0
  34. package/CircularView/Primer.d.ts +1 -0
  35. package/CircularView/RotateCircularViewSlider.d.ts +7 -0
  36. package/CircularView/SelectionLayer.d.ts +2 -0
  37. package/CircularView/VeTopRightContainer.d.ts +4 -0
  38. package/CircularView/ZoomCircularViewSlider.d.ts +8 -0
  39. package/CircularView/drawAnnotations.d.ts +10 -0
  40. package/CircularView/drawDirectedPiePiece.d.ts +11 -0
  41. package/CircularView/getAngleForPositionMidpoint.d.ts +1 -0
  42. package/CircularView/getInternalLabel.d.ts +11 -0
  43. package/CircularView/getRangeAnglesSpecial.d.ts +7 -0
  44. package/CircularView/getYOffset.d.ts +1 -0
  45. package/CircularView/index.d.ts +20 -0
  46. package/CircularView/normalizeAngle.d.ts +1 -0
  47. package/CircularView/normalizeAngleRange.d.ts +1 -0
  48. package/CircularView/positionCutsites.d.ts +4 -0
  49. package/CircularView/shouldFlipText.d.ts +1 -0
  50. package/CircularView/utils/polarToSpecialCartesian.d.ts +4 -0
  51. package/CreateAnnotationsPage.d.ts +10 -0
  52. package/CreateCustomEnzyme/index.d.ts +2 -0
  53. package/CutsiteFilter/AdditionalCutsiteInfoDialog.d.ts +29 -0
  54. package/CutsiteFilter/index.d.ts +3 -0
  55. package/CutsiteFilter/withRestrictionEnzymes.d.ts +1 -0
  56. package/DigestTool/AddLaddersDialog.d.ts +1 -0
  57. package/DigestTool/DigestTool.d.ts +11 -0
  58. package/DigestTool/Ladder.d.ts +11 -0
  59. package/DigestTool/createFragmentLines.d.ts +0 -0
  60. package/DigestTool/ladderDefaults.d.ts +5 -0
  61. package/Editor/CommandHotkeyHandler.d.ts +2 -0
  62. package/Editor/DropHandler.d.ts +7 -0
  63. package/Editor/FillWindow.d.ts +9 -0
  64. package/Editor/index.d.ts +41 -0
  65. package/Editor/userDefinedHandlersAndOpts.d.ts +1 -0
  66. package/EnzymeViewer/index.d.ts +11 -0
  67. package/FindBar/index.d.ts +12 -0
  68. package/GlobalDialog.d.ts +1 -0
  69. package/GlobalDialogUtils.d.ts +12 -0
  70. package/LinearView/SequenceName.d.ts +5 -0
  71. package/LinearView/ZoomLinearView.d.ts +7 -0
  72. package/LinearView/index.d.ts +5 -0
  73. package/ManageEnzymes/index.d.ts +2 -0
  74. package/MenuBar/defaultConfig.d.ts +225 -0
  75. package/MenuBar/index.d.ts +2 -0
  76. package/MenuBar/viewSubmenu.d.ts +146 -0
  77. package/PCRTool/PCRTool.d.ts +2 -0
  78. package/Reflex/Browser.d.ts +19 -0
  79. package/Reflex/ReflexContainer.d.ts +63 -0
  80. package/Reflex/ReflexElement.d.ts +33 -0
  81. package/Reflex/ReflexEvents.d.ts +7 -0
  82. package/Reflex/ReflexSplitter.d.ts +33 -0
  83. package/Reflex/index.d.ts +4 -0
  84. package/RowItem/AnnotationContainerHolder.d.ts +2 -0
  85. package/RowItem/AnnotationPositioner.d.ts +7 -0
  86. package/RowItem/Axis.d.ts +2 -0
  87. package/RowItem/Caret/index.d.ts +2 -0
  88. package/RowItem/Chromatograms/Chromatogram.d.ts +1 -0
  89. package/RowItem/CutsiteSelectionLayers.d.ts +4 -0
  90. package/RowItem/Cutsites.d.ts +2 -0
  91. package/RowItem/DeletionLayers/index.d.ts +2 -0
  92. package/RowItem/Labels.d.ts +2 -0
  93. package/RowItem/Orf.d.ts +2 -0
  94. package/RowItem/Orfs.d.ts +2 -0
  95. package/RowItem/SelectionLayer/index.d.ts +2 -0
  96. package/RowItem/Sequence.d.ts +8 -0
  97. package/RowItem/StackedAnnotations/PointedAnnotation.d.ts +2 -0
  98. package/RowItem/StackedAnnotations/getStructuredBases.d.ts +17 -0
  99. package/RowItem/StackedAnnotations/index.d.ts +2 -0
  100. package/RowItem/StackedAnnotations/primerBases.d.ts +10 -0
  101. package/RowItem/Translations/AASliver.d.ts +2 -0
  102. package/RowItem/Translations/Translation.d.ts +2 -0
  103. package/RowItem/Translations/index.d.ts +2 -0
  104. package/RowItem/constants.d.ts +3 -0
  105. package/RowItem/getCutsiteLabelHeights.d.ts +8 -0
  106. package/RowItem/getXStartAndWidthFromNonCircularRange.d.ts +4 -0
  107. package/RowItem/getXStartAndWidthOfRangeWrtRow.d.ts +11 -0
  108. package/RowItem/getXStartAndWidthOfRowAnnotation.d.ts +6 -0
  109. package/RowItem/index.d.ts +1 -0
  110. package/RowItem/partOverhangs.d.ts +1 -0
  111. package/RowItem/utils.d.ts +4 -0
  112. package/RowView/estimateRowHeight.d.ts +6 -0
  113. package/RowView/index.d.ts +10 -0
  114. package/SimpleCircularOrLinearView.d.ts +2 -0
  115. package/SimpleOligoPreview.d.ts +7 -0
  116. package/StatusBar/MeltingTemp.d.ts +5 -0
  117. package/StatusBar/index.d.ts +15 -0
  118. package/ToolBar/ToolbarItem.d.ts +14 -0
  119. package/ToolBar/alignmentTool.d.ts +6 -0
  120. package/ToolBar/array_move.d.ts +1 -0
  121. package/ToolBar/cutsiteTool.d.ts +5 -0
  122. package/ToolBar/downloadTool.d.ts +5 -0
  123. package/ToolBar/editTool.d.ts +10 -0
  124. package/ToolBar/featureTool.d.ts +5 -0
  125. package/ToolBar/findTool.d.ts +2 -0
  126. package/ToolBar/importTool.d.ts +2 -0
  127. package/ToolBar/index.d.ts +2 -0
  128. package/ToolBar/inlineFindTool.d.ts +5 -0
  129. package/ToolBar/oligoTool.d.ts +5 -0
  130. package/ToolBar/orfTool.d.ts +5 -0
  131. package/ToolBar/partTool.d.ts +5 -0
  132. package/ToolBar/printTool.d.ts +6 -0
  133. package/ToolBar/redoTool.d.ts +5 -0
  134. package/ToolBar/saveTool.d.ts +5 -0
  135. package/ToolBar/undoTool.d.ts +5 -0
  136. package/ToolBar/versionHistoryTool.d.ts +5 -0
  137. package/ToolBar/visibilityTool.d.ts +5 -0
  138. package/VersionHistoryView/index.d.ts +23 -0
  139. package/addAlignment.d.ts +1 -0
  140. package/commands/getOveHotkeyDefs.d.ts +4 -0
  141. package/commands/index.d.ts +648 -0
  142. package/constants/constants.d.ts +2 -0
  143. package/constants/dnaToColor.d.ts +8 -0
  144. package/constants/draggableClassnames.d.ts +6 -0
  145. package/constants/findToolConstants.d.ts +1 -0
  146. package/constants/orfFrameToColorMap.d.ts +7 -0
  147. package/constants/rowviewContants.d.ts +3 -0
  148. package/constants/specialCutsiteFilterOptions.d.ts +31 -0
  149. package/constants.d.ts +1 -0
  150. package/createVectorEditor/index.d.ts +21 -0
  151. package/createVectorEditor/makeStore.d.ts +2 -0
  152. package/fileUtils.d.ts +12 -0
  153. package/helperComponents/AddOrEditAnnotationDialog/index.d.ts +6 -0
  154. package/helperComponents/AddOrEditFeatureDialog/index.d.ts +2 -0
  155. package/helperComponents/AddOrEditPartDialog/index.d.ts +2 -0
  156. package/helperComponents/AddOrEditPrimerDialog/EditCaretPosition.d.ts +15 -0
  157. package/helperComponents/AddOrEditPrimerDialog/index.d.ts +2 -0
  158. package/helperComponents/EnzymesDialog/index.d.ts +2 -0
  159. package/helperComponents/GoToDialog.d.ts +2 -0
  160. package/helperComponents/MergeFeaturesDialog/index.d.ts +2 -0
  161. package/helperComponents/MultipleSeqsDetectedOnImportDialog.d.ts +1 -0
  162. package/helperComponents/PinchHelper/PinchHelper.d.ts +6 -0
  163. package/helperComponents/PrintDialog/index.d.ts +2 -0
  164. package/helperComponents/PropertiesDialog/ColorPicker.d.ts +6 -0
  165. package/helperComponents/PropertiesDialog/CutsiteProperties.d.ts +2 -0
  166. package/helperComponents/PropertiesDialog/FeatureProperties.d.ts +2 -0
  167. package/helperComponents/PropertiesDialog/GenbankView.d.ts +2 -0
  168. package/helperComponents/PropertiesDialog/GeneralProperties.d.ts +2 -0
  169. package/helperComponents/PropertiesDialog/GenericAnnotationProperties.d.ts +10 -0
  170. package/helperComponents/PropertiesDialog/OrfProperties.d.ts +2 -0
  171. package/helperComponents/PropertiesDialog/PartProperties.d.ts +2 -0
  172. package/helperComponents/PropertiesDialog/PrimerProperties.d.ts +2 -0
  173. package/helperComponents/PropertiesDialog/SingleEnzymeCutsiteInfo.d.ts +12 -0
  174. package/helperComponents/PropertiesDialog/TranslationProperties.d.ts +2 -0
  175. package/helperComponents/PropertiesDialog/index.d.ts +10 -0
  176. package/helperComponents/PropertiesDialog/typeField.d.ts +7 -0
  177. package/helperComponents/PropertiesDialog/utils.d.ts +5 -0
  178. package/helperComponents/RemoveDuplicates/index.d.ts +2 -0
  179. package/helperComponents/RenameSequenceDialog.d.ts +2 -0
  180. package/helperComponents/SelectDialog.d.ts +2 -0
  181. package/helperComponents/UncontrolledSliderWithPlusMinusBtns.d.ts +13 -0
  182. package/helperComponents/VeWarning/index.d.ts +2 -0
  183. package/helperComponents/createSimpleDialog.d.ts +1 -0
  184. package/helperComponents/partTagSearch.d.ts +1 -0
  185. package/helperComponents/withHover.d.ts +11 -0
  186. package/html2canvas.esm-GLpiTZLt.cjs +7891 -0
  187. package/html2canvas.esm-nFNn58sx.js +7891 -0
  188. package/index.cjs.js +508 -398
  189. package/index.d.ts +25 -0
  190. package/index.es.js +510 -400
  191. package/index.umd.js +1304 -326
  192. package/package.json +2 -2
  193. package/redux/alignments.d.ts +9 -0
  194. package/redux/annotationLabelVisibility.d.ts +8 -0
  195. package/redux/annotationVisibility.d.ts +45 -0
  196. package/redux/annotationsToSupport.d.ts +8 -0
  197. package/redux/caretPosition.d.ts +4 -0
  198. package/redux/charWidth.d.ts +3 -0
  199. package/redux/copyOptions.d.ts +14 -0
  200. package/redux/createYourOwnEnzyme.d.ts +11 -0
  201. package/redux/deletionLayers.d.ts +5 -0
  202. package/redux/digestTool.d.ts +7 -0
  203. package/redux/featureLengthsToHide.d.ts +7 -0
  204. package/redux/findTool.d.ts +12 -0
  205. package/redux/frameTranslations.d.ts +13 -0
  206. package/redux/hoveredAnnotation.d.ts +4 -0
  207. package/redux/index.d.ts +20 -0
  208. package/redux/labelLineIntensity.d.ts +3 -0
  209. package/redux/labelSize.d.ts +3 -0
  210. package/redux/lastSavedId.d.ts +3 -0
  211. package/redux/middleware.d.ts +2 -0
  212. package/redux/minimumOrfSize.d.ts +4 -0
  213. package/redux/modalActions.d.ts +0 -0
  214. package/redux/panelsShown.d.ts +21 -0
  215. package/redux/partLengthsToHide.d.ts +7 -0
  216. package/redux/primerLengthsToHide.d.ts +7 -0
  217. package/redux/propertiesTool.d.ts +6 -0
  218. package/redux/readOnly.d.ts +4 -0
  219. package/redux/replacementLayers.d.ts +5 -0
  220. package/redux/restrictionEnzymes.d.ts +13 -0
  221. package/redux/selectedAnnotations.d.ts +13 -0
  222. package/redux/selectedPartTags.d.ts +3 -0
  223. package/redux/selectionLayer.d.ts +7 -0
  224. package/redux/sequenceData/circular.d.ts +3 -0
  225. package/redux/sequenceData/description.d.ts +3 -0
  226. package/redux/sequenceData/features.d.ts +4 -0
  227. package/redux/sequenceData/index.d.ts +10 -0
  228. package/redux/sequenceData/lineageLines.d.ts +2 -0
  229. package/redux/sequenceData/materiallyAvailable.d.ts +3 -0
  230. package/redux/sequenceData/name.d.ts +3 -0
  231. package/redux/sequenceData/parts.d.ts +4 -0
  232. package/redux/sequenceData/primers.d.ts +4 -0
  233. package/redux/sequenceData/sequence.d.ts +3 -0
  234. package/redux/sequenceData/sharedActionCreators.d.ts +0 -0
  235. package/redux/sequenceData/translations.d.ts +4 -0
  236. package/redux/sequenceData/upsertDeleteActionGenerator.d.ts +3 -0
  237. package/redux/sequenceDataHistory.d.ts +8 -0
  238. package/redux/showGCContent.d.ts +3 -0
  239. package/redux/toolBar.d.ts +6 -0
  240. package/redux/uppercaseSequenceMapFont.d.ts +3 -0
  241. package/redux/useAdditionalOrfStartCodons.d.ts +3 -0
  242. package/redux/utils/addDashesForMatchStartAndEndForTracks/index.d.ts +1 -0
  243. package/redux/utils/addMetaToActionCreators.d.ts +1 -0
  244. package/redux/utils/createMergedDefaultStateReducer.d.ts +4 -0
  245. package/redux/utils/createMetaAction.d.ts +1 -0
  246. package/redux/versionHistory.d.ts +5 -0
  247. package/selectors/annotationLabelVisibility.d.ts +2 -0
  248. package/selectors/annotationSearchSelector.d.ts +7 -0
  249. package/selectors/cdsFeaturesSelector.d.ts +6 -0
  250. package/selectors/circularSelector.d.ts +1 -0
  251. package/selectors/cutsiteLabelColorSelector.d.ts +6 -0
  252. package/selectors/cutsitesByRangeSelector.d.ts +0 -0
  253. package/selectors/cutsitesSelector.d.ts +14 -0
  254. package/selectors/editorSelector.d.ts +2 -0
  255. package/selectors/featuresSelector.d.ts +6 -0
  256. package/selectors/filteredCutsitesSelector.d.ts +6 -0
  257. package/selectors/filteredFeaturesSelector.d.ts +6 -0
  258. package/selectors/filteredPartsSelector.d.ts +6 -0
  259. package/selectors/filteredPrimersSelector.d.ts +6 -0
  260. package/selectors/filteredRestrictionEnzymesSelector.d.ts +2 -0
  261. package/selectors/getAdditionalEnzymesSelector.d.ts +6 -0
  262. package/selectors/index.d.ts +41 -0
  263. package/selectors/isEnzymeFilterAndSelector.d.ts +2 -0
  264. package/selectors/minimumOrfSizeSelector.d.ts +2 -0
  265. package/selectors/orfsSelector.d.ts +26 -0
  266. package/selectors/partsSelector.d.ts +6 -0
  267. package/selectors/primersSelector.d.ts +6 -0
  268. package/selectors/restrictionEnzymesSelector.d.ts +6 -0
  269. package/selectors/searchLayersSelector.d.ts +6 -0
  270. package/selectors/selectedAnnotationsSelector.d.ts +2 -0
  271. package/selectors/selectedCutsitesSelector.d.ts +12 -0
  272. package/selectors/sequenceDataSelector.d.ts +2 -0
  273. package/selectors/sequenceLengthSelector.d.ts +1 -0
  274. package/selectors/sequenceSelector.d.ts +1 -0
  275. package/selectors/tagsToBoldSelector.d.ts +2 -0
  276. package/selectors/translationSearchMatchesSelector.d.ts +6 -0
  277. package/selectors/translationsRawSelector.d.ts +6 -0
  278. package/selectors/translationsSelector.d.ts +16 -0
  279. package/src/ToolBar/index.js +12 -12
  280. package/style.css +34 -0
  281. package/updateEditor.d.ts +3 -0
  282. package/utils/PassThrough.d.ts +3 -0
  283. package/utils/addWrappedAddons.d.ts +1 -0
  284. package/utils/annotationTypes.d.ts +6 -0
  285. package/utils/arrayUtils.d.ts +3 -0
  286. package/utils/calculateTickMarkPositionsForGivenRange.d.ts +7 -0
  287. package/utils/cleanSequenceData_DEPRECATED/arrayToObjWithIds.d.ts +1 -0
  288. package/utils/combineReducersDontIgnoreKeys.d.ts +1 -0
  289. package/utils/commandUtils.d.ts +1 -0
  290. package/utils/editorUtils.d.ts +36 -0
  291. package/utils/getAnnotationClassnames.d.ts +6 -0
  292. package/utils/getAnnotationNameAndStartStopString.d.ts +14 -0
  293. package/utils/getVisibleStartEnd.d.ts +7 -0
  294. package/utils/massageTickSpacing.d.ts +1 -0
  295. package/utils/onlyUpdateForKeysDeep.d.ts +2 -0
  296. package/utils/prepareRowData.d.ts +6 -0
  297. package/utils/proteinUtils.d.ts +1 -0
  298. package/utils/pureNoFunc.d.ts +2 -0
  299. package/utils/selectionLayer.d.ts +5 -0
  300. package/utils/shouldRerender.d.ts +2 -0
  301. package/utils/showFileDialog.d.ts +4 -0
  302. package/utils/updateLabelsForInViewFeatures.d.ts +3 -0
  303. package/utils/updateLabelsForInViewFeaturesCircView.d.ts +0 -0
  304. package/utils/useAAColorType.d.ts +2 -0
  305. package/utils/useAnnotationLimits.d.ts +14 -0
  306. package/utils/useChromatogramPrefs.d.ts +7 -0
  307. package/utils/useLadders.d.ts +2 -0
  308. package/utils/useMeltingTemp.d.ts +2 -0
  309. package/utils/useTmType.d.ts +2 -0
  310. package/withEditorInteractions/Keyboard.d.ts +16 -0
  311. package/withEditorInteractions/clickAndDragUtils.d.ts +67 -0
  312. package/withEditorInteractions/createSequenceInputPopup.d.ts +1 -0
  313. package/withEditorInteractions/getBpsPerRow.d.ts +9 -0
  314. package/withEditorInteractions/index.d.ts +2 -0
  315. package/withEditorInteractions/isElementInViewport.d.ts +2 -0
  316. package/withEditorInteractions/moveCaret.d.ts +10 -0
  317. package/withEditorProps/index.d.ts +17 -0
package/index.cjs.js CHANGED
@@ -2835,7 +2835,7 @@ var followCursor = {
2835
2835
  }
2836
2836
  }
2837
2837
  __name(onMouseMove, "onMouseMove");
2838
- function create5() {
2838
+ function create6() {
2839
2839
  if (instance.props.followCursor) {
2840
2840
  activeInstances.push({
2841
2841
  instance,
@@ -2844,7 +2844,7 @@ var followCursor = {
2844
2844
  addMouseCoordsListener(doc);
2845
2845
  }
2846
2846
  }
2847
- __name(create5, "create");
2847
+ __name(create6, "create");
2848
2848
  function destroy2() {
2849
2849
  activeInstances = activeInstances.filter(function(data) {
2850
2850
  return data.instance !== instance;
@@ -2857,7 +2857,7 @@ var followCursor = {
2857
2857
  }
2858
2858
  __name(destroy2, "destroy");
2859
2859
  return {
2860
- onCreate: create5,
2860
+ onCreate: create6,
2861
2861
  onDestroy: destroy2,
2862
2862
  onBeforeUpdate: /* @__PURE__ */ __name(function onBeforeUpdate2() {
2863
2863
  prevProps = instance.props;
@@ -2870,7 +2870,7 @@ var followCursor = {
2870
2870
  if (followCursor2 !== void 0 && prevProps.followCursor !== followCursor2) {
2871
2871
  destroy2();
2872
2872
  if (followCursor2) {
2873
- create5();
2873
+ create6();
2874
2874
  if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
2875
2875
  addListener();
2876
2876
  }
@@ -4233,6 +4233,7 @@ Dropzone.propTypes = {
4233
4233
  */
4234
4234
  validator: PropTypes.func
4235
4235
  };
4236
+ const Dropzone$1 = Dropzone;
4236
4237
  var initialState = {
4237
4238
  isFocused: false,
4238
4239
  isFileDialogActive: false,
@@ -5573,6 +5574,8 @@ __name(_defineProperties$2, "_defineProperties$2");
5573
5574
  function _createClass$e(Constructor, protoProps, staticProps) {
5574
5575
  if (protoProps)
5575
5576
  _defineProperties$2(Constructor.prototype, protoProps);
5577
+ if (staticProps)
5578
+ _defineProperties$2(Constructor, staticProps);
5576
5579
  Object.defineProperty(Constructor, "prototype", {
5577
5580
  writable: false
5578
5581
  });
@@ -5641,7 +5644,7 @@ function _createForOfIteratorHelperLoose$5(o2, allowArrayLike) {
5641
5644
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
5642
5645
  if (it)
5643
5646
  return (it = it.call(o2)).next.bind(it);
5644
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike) {
5647
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
5645
5648
  if (it)
5646
5649
  o2 = it;
5647
5650
  var i = 0;
@@ -5664,12 +5667,12 @@ function _toPrimitive$2(input, hint) {
5664
5667
  return input;
5665
5668
  var prim = input[Symbol.toPrimitive];
5666
5669
  if (prim !== void 0) {
5667
- var res = prim.call(input, hint);
5670
+ var res = prim.call(input, hint || "default");
5668
5671
  if (typeof res !== "object")
5669
5672
  return res;
5670
5673
  throw new TypeError("@@toPrimitive must return a primitive value.");
5671
5674
  }
5672
- return String(input);
5675
+ return (hint === "string" ? String : Number)(input);
5673
5676
  }
5674
5677
  __name(_toPrimitive$2, "_toPrimitive$2");
5675
5678
  function _toPropertyKey$1(arg) {
@@ -7412,7 +7415,7 @@ function onBecomeUnobserved(thing, arg2, arg3) {
7412
7415
  }
7413
7416
  __name(onBecomeUnobserved, "onBecomeUnobserved");
7414
7417
  function interceptHook(hook, thing, arg2, arg3) {
7415
- var atom = getAtom(thing);
7418
+ var atom = typeof arg3 === "function" ? getAtom(thing, arg2) : getAtom(thing);
7416
7419
  var cb = isFunction$7(arg3) ? arg3 : arg2;
7417
7420
  var listenersKey = hook + "L";
7418
7421
  if (atom[listenersKey]) {
@@ -7594,6 +7597,12 @@ function _isObservable(value, property2) {
7594
7597
  if (!value) {
7595
7598
  return false;
7596
7599
  }
7600
+ if (property2 !== void 0) {
7601
+ if (isObservableObject(value)) {
7602
+ return value[$mobx].values_.has(property2);
7603
+ }
7604
+ return false;
7605
+ }
7597
7606
  return isObservableObject(value) || !!value[$mobx] || isAtom(value) || isReaction(value) || isComputedValue(value);
7598
7607
  }
7599
7608
  __name(_isObservable, "_isObservable");
@@ -9353,6 +9362,9 @@ function getAdministration$1(thing, property2) {
9353
9362
  if (!thing) {
9354
9363
  die(29);
9355
9364
  }
9365
+ if (property2 !== void 0) {
9366
+ return getAdministration$1(getAtom(thing, property2));
9367
+ }
9356
9368
  if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {
9357
9369
  return thing;
9358
9370
  }
@@ -9785,7 +9797,7 @@ function observer$1(baseComponent, options) {
9785
9797
  if (ReactMemoSymbol && baseComponent["$$typeof"] === ReactMemoSymbol) {
9786
9798
  throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");
9787
9799
  }
9788
- var useForwardRef = (_a2 = void 0) !== null && _a2 !== void 0 ? _a2 : false;
9800
+ var useForwardRef = (_a2 = options === null || options === void 0 ? void 0 : options.forwardRef) !== null && _a2 !== void 0 ? _a2 : false;
9789
9801
  var render3 = baseComponent;
9790
9802
  var baseComponentName = baseComponent.displayName || baseComponent.name;
9791
9803
  if (ReactForwardRefSymbol && baseComponent["$$typeof"] === ReactForwardRefSymbol) {
@@ -10596,6 +10608,7 @@ an.setUseProxies.bind(an);
10596
10608
  var pn = an.applyPatches.bind(an);
10597
10609
  an.createDraft.bind(an);
10598
10610
  an.finishDraft.bind(an);
10611
+ const immer = fn3;
10599
10612
  var freeGlobal$2 = typeof global == "object" && global && global.Object === Object && global;
10600
10613
  var freeSelf$1 = typeof self == "object" && self && self.Object === Object && self;
10601
10614
  var root$b = freeGlobal$2 || freeSelf$1 || Function("return this")();
@@ -10879,7 +10892,8 @@ var baseSetToString$2 = !defineProperty$b ? identity$9 : function(func, string2)
10879
10892
  "writable": true
10880
10893
  });
10881
10894
  };
10882
- var setToString$3 = shortOut$2(baseSetToString$2);
10895
+ const baseSetToString$3 = baseSetToString$2;
10896
+ var setToString$3 = shortOut$2(baseSetToString$3);
10883
10897
  function arrayEach$3(array2, iteratee) {
10884
10898
  var index2 = -1, length = array2 == null ? 0 : array2.length;
10885
10899
  while (++index2 < length) {
@@ -10891,8 +10905,8 @@ function arrayEach$3(array2, iteratee) {
10891
10905
  }
10892
10906
  __name(arrayEach$3, "arrayEach$3");
10893
10907
  function baseFindIndex$3(array2, predicate, fromIndex, fromRight) {
10894
- var length = array2.length, index2 = fromIndex + -1;
10895
- while (++index2 < length) {
10908
+ var length = array2.length, index2 = fromIndex + (fromRight ? 1 : -1);
10909
+ while (fromRight ? index2-- : ++index2 < length) {
10896
10910
  if (predicate(array2[index2], index2, array2)) {
10897
10911
  return index2;
10898
10912
  }
@@ -10963,7 +10977,7 @@ function copyObject$7(source, props, object3, customizer) {
10963
10977
  var index2 = -1, length = props.length;
10964
10978
  while (++index2 < length) {
10965
10979
  var key = props[index2];
10966
- var newValue = void 0;
10980
+ var newValue = customizer ? customizer(object3[key], source[key], key, object3, source) : void 0;
10967
10981
  if (newValue === void 0) {
10968
10982
  newValue = source[key];
10969
10983
  }
@@ -11064,6 +11078,7 @@ var isArguments$7 = baseIsArguments$2(/* @__PURE__ */ function() {
11064
11078
  }()) ? baseIsArguments$2 : function(value) {
11065
11079
  return isObjectLike$d(value) && hasOwnProperty$v.call(value, "callee") && !propertyIsEnumerable$3.call(value, "callee");
11066
11080
  };
11081
+ const isArguments$8 = isArguments$7;
11067
11082
  function stubFalse$1() {
11068
11083
  return false;
11069
11084
  }
@@ -11074,6 +11089,7 @@ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
11074
11089
  var Buffer$4 = moduleExports$2 ? root$b.Buffer : void 0;
11075
11090
  var nativeIsBuffer = Buffer$4 ? Buffer$4.isBuffer : void 0;
11076
11091
  var isBuffer$8 = nativeIsBuffer || stubFalse$1;
11092
+ const isBuffer$9 = isBuffer$8;
11077
11093
  var argsTag$6 = "[object Arguments]", arrayTag$5 = "[object Array]", boolTag$7 = "[object Boolean]", dateTag$7 = "[object Date]", errorTag$5 = "[object Error]", funcTag$4 = "[object Function]", mapTag$d = "[object Map]", numberTag$9 = "[object Number]", objectTag$9 = "[object Object]", regexpTag$7 = "[object RegExp]", setTag$d = "[object Set]", stringTag$9 = "[object String]", weakMapTag$5 = "[object WeakMap]";
11078
11094
  var arrayBufferTag$7 = "[object ArrayBuffer]", dataViewTag$9 = "[object DataView]", float32Tag$5 = "[object Float32Array]", float64Tag$5 = "[object Float64Array]", int8Tag$5 = "[object Int8Array]", int16Tag$5 = "[object Int16Array]", int32Tag$5 = "[object Int32Array]", uint8Tag$5 = "[object Uint8Array]", uint8ClampedTag$5 = "[object Uint8ClampedArray]", uint16Tag$5 = "[object Uint16Array]", uint32Tag$5 = "[object Uint32Array]";
11079
11095
  var typedArrayTags$1 = {};
@@ -11105,10 +11121,11 @@ var nodeUtil$3 = function() {
11105
11121
  }();
11106
11122
  var nodeIsTypedArray$1 = nodeUtil$3 && nodeUtil$3.isTypedArray;
11107
11123
  var isTypedArray$3 = nodeIsTypedArray$1 ? baseUnary$6(nodeIsTypedArray$1) : baseIsTypedArray$2;
11124
+ const isTypedArray$4 = isTypedArray$3;
11108
11125
  var objectProto$u = Object.prototype;
11109
11126
  var hasOwnProperty$u = objectProto$u.hasOwnProperty;
11110
11127
  function arrayLikeKeys$3(value, inherited) {
11111
- var isArr = isArray$p(value), isArg = !isArr && isArguments$7(value), isBuff = !isArr && !isArg && isBuffer$8(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$3(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes$2(value.length, String) : [], length = result.length;
11128
+ var isArr = isArray$p(value), isArg = !isArr && isArguments$8(value), isBuff = !isArr && !isArg && isBuffer$9(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$4(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes$2(value.length, String) : [], length = result.length;
11112
11129
  for (var key in value) {
11113
11130
  if ((inherited || hasOwnProperty$u.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
11114
11131
  (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -11192,6 +11209,7 @@ __name(keysIn$4, "keysIn$4");
11192
11209
  var assignIn = createAssigner$2(function(object3, source) {
11193
11210
  copyObject$7(source, keysIn$4(source), object3);
11194
11211
  });
11212
+ const extend$2 = assignIn;
11195
11213
  var reIsDeepProp$1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp$1 = /^\w*$/;
11196
11214
  function isKey$4(value, object3) {
11197
11215
  if (isArray$p(value)) {
@@ -11465,7 +11483,7 @@ function arrayPush$4(array2, values3) {
11465
11483
  __name(arrayPush$4, "arrayPush$4");
11466
11484
  var spreadableSymbol$1 = Symbol$9 ? Symbol$9.isConcatSpreadable : void 0;
11467
11485
  function isFlattenable$2(value) {
11468
- return isArray$p(value) || isArguments$7(value) || !!(spreadableSymbol$1 && value && value[spreadableSymbol$1]);
11486
+ return isArray$p(value) || isArguments$8(value) || !!(spreadableSymbol$1 && value && value[spreadableSymbol$1]);
11469
11487
  }
11470
11488
  __name(isFlattenable$2, "isFlattenable$2");
11471
11489
  function baseFlatten$4(array2, depth, predicate, isStrict, result) {
@@ -11474,8 +11492,10 @@ function baseFlatten$4(array2, depth, predicate, isStrict, result) {
11474
11492
  result || (result = []);
11475
11493
  while (++index2 < length) {
11476
11494
  var value = array2[index2];
11477
- if (predicate(value)) {
11478
- {
11495
+ if (depth > 0 && predicate(value)) {
11496
+ if (depth > 1) {
11497
+ baseFlatten$4(value, depth - 1, predicate, isStrict, result);
11498
+ } else {
11479
11499
  arrayPush$4(result, value);
11480
11500
  }
11481
11501
  } else if (!isStrict) {
@@ -11487,7 +11507,7 @@ function baseFlatten$4(array2, depth, predicate, isStrict, result) {
11487
11507
  __name(baseFlatten$4, "baseFlatten$4");
11488
11508
  function flatten$2(array2) {
11489
11509
  var length = array2 == null ? 0 : array2.length;
11490
- return length ? baseFlatten$4(array2) : [];
11510
+ return length ? baseFlatten$4(array2, 1) : [];
11491
11511
  }
11492
11512
  __name(flatten$2, "flatten$2");
11493
11513
  function flatRest$2(func) {
@@ -11786,13 +11806,14 @@ var deburredLetters = {
11786
11806
  "ſ": "s"
11787
11807
  };
11788
11808
  var deburrLetter = basePropertyOf(deburredLetters);
11809
+ const deburrLetter$1 = deburrLetter;
11789
11810
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
11790
11811
  var rsComboMarksRange$2 = "\\u0300-\\u036f", reComboHalfMarksRange$2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange$2 = "\\u20d0-\\u20ff", rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2;
11791
11812
  var rsCombo$2 = "[" + rsComboRange$2 + "]";
11792
11813
  var reComboMark = RegExp(rsCombo$2, "g");
11793
11814
  function deburr(string2) {
11794
11815
  string2 = toString$6(string2);
11795
- return string2 && string2.replace(reLatin, deburrLetter).replace(reComboMark, "");
11816
+ return string2 && string2.replace(reLatin, deburrLetter$1).replace(reComboMark, "");
11796
11817
  }
11797
11818
  __name(deburr, "deburr");
11798
11819
  var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
@@ -11824,7 +11845,7 @@ function unicodeWords(string2) {
11824
11845
  __name(unicodeWords, "unicodeWords");
11825
11846
  function words(string2, pattern, guard) {
11826
11847
  string2 = toString$6(string2);
11827
- pattern = pattern;
11848
+ pattern = guard ? void 0 : pattern;
11828
11849
  if (pattern === void 0) {
11829
11850
  return hasUnicodeWord(string2) ? unicodeWords(string2) : asciiWords(string2);
11830
11851
  }
@@ -12037,6 +12058,7 @@ if (DataView$3 && getTag$6(new DataView$3(new ArrayBuffer(1))) != dataViewTag$8
12037
12058
  return result;
12038
12059
  }, "getTag$6");
12039
12060
  }
12061
+ const getTag$7 = getTag$6;
12040
12062
  var objectProto$m = Object.prototype;
12041
12063
  var hasOwnProperty$n = objectProto$m.hasOwnProperty;
12042
12064
  function initCloneArray$2(array2) {
@@ -12119,14 +12141,14 @@ function initCloneObject$2(object3) {
12119
12141
  __name(initCloneObject$2, "initCloneObject$2");
12120
12142
  var mapTag$a = "[object Map]";
12121
12143
  function baseIsMap$2(value) {
12122
- return isObjectLike$d(value) && getTag$6(value) == mapTag$a;
12144
+ return isObjectLike$d(value) && getTag$7(value) == mapTag$a;
12123
12145
  }
12124
12146
  __name(baseIsMap$2, "baseIsMap$2");
12125
12147
  var nodeIsMap$1 = nodeUtil$3 && nodeUtil$3.isMap;
12126
12148
  var isMap$3 = nodeIsMap$1 ? baseUnary$6(nodeIsMap$1) : baseIsMap$2;
12127
12149
  var setTag$a = "[object Set]";
12128
12150
  function baseIsSet$2(value) {
12129
- return isObjectLike$d(value) && getTag$6(value) == setTag$a;
12151
+ return isObjectLike$d(value) && getTag$7(value) == setTag$a;
12130
12152
  }
12131
12153
  __name(baseIsSet$2, "baseIsSet$2");
12132
12154
  var nodeIsSet$1 = nodeUtil$3 && nodeUtil$3.isSet;
@@ -12155,8 +12177,8 @@ function baseClone$3(value, bitmask, customizer, key, object3, stack) {
12155
12177
  return copyArray$2(value, result);
12156
12178
  }
12157
12179
  } else {
12158
- var tag = getTag$6(value), isFunc = tag == funcTag$3 || tag == genTag$2;
12159
- if (isBuffer$8(value)) {
12180
+ var tag = getTag$7(value), isFunc = tag == funcTag$3 || tag == genTag$2;
12181
+ if (isBuffer$9(value)) {
12160
12182
  return cloneBuffer$1(value, isDeep);
12161
12183
  }
12162
12184
  if (tag == objectTag$6 || tag == argsTag$5 || isFunc && !object3) {
@@ -12406,12 +12428,12 @@ var argsTag$4 = "[object Arguments]", arrayTag$3 = "[object Array]", objectTag$5
12406
12428
  var objectProto$k = Object.prototype;
12407
12429
  var hasOwnProperty$l = objectProto$k.hasOwnProperty;
12408
12430
  function baseIsEqualDeep$2(object3, other, bitmask, customizer, equalFunc, stack) {
12409
- var objIsArr = isArray$p(object3), othIsArr = isArray$p(other), objTag = objIsArr ? arrayTag$3 : getTag$6(object3), othTag = othIsArr ? arrayTag$3 : getTag$6(other);
12431
+ var objIsArr = isArray$p(object3), othIsArr = isArray$p(other), objTag = objIsArr ? arrayTag$3 : getTag$7(object3), othTag = othIsArr ? arrayTag$3 : getTag$7(other);
12410
12432
  objTag = objTag == argsTag$4 ? objectTag$5 : objTag;
12411
12433
  othTag = othTag == argsTag$4 ? objectTag$5 : othTag;
12412
12434
  var objIsObj = objTag == objectTag$5, othIsObj = othTag == objectTag$5, isSameTag = objTag == othTag;
12413
- if (isSameTag && isBuffer$8(object3)) {
12414
- if (!isBuffer$8(other)) {
12435
+ if (isSameTag && isBuffer$9(object3)) {
12436
+ if (!isBuffer$9(other)) {
12415
12437
  return false;
12416
12438
  }
12417
12439
  objIsArr = true;
@@ -12419,7 +12441,7 @@ function baseIsEqualDeep$2(object3, other, bitmask, customizer, equalFunc, stack
12419
12441
  }
12420
12442
  if (isSameTag && !objIsObj) {
12421
12443
  stack || (stack = new Stack$4());
12422
- return objIsArr || isTypedArray$3(object3) ? equalArrays$3(object3, other, bitmask, customizer, equalFunc, stack) : equalByTag$2(object3, other, objTag, bitmask, customizer, equalFunc, stack);
12444
+ return objIsArr || isTypedArray$4(object3) ? equalArrays$3(object3, other, bitmask, customizer, equalFunc, stack) : equalByTag$2(object3, other, objTag, bitmask, customizer, equalFunc, stack);
12423
12445
  }
12424
12446
  if (!(bitmask & COMPARE_PARTIAL_FLAG$8)) {
12425
12447
  var objIsWrapped = objIsObj && hasOwnProperty$l.call(object3, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$l.call(other, "__wrapped__");
@@ -12448,27 +12470,29 @@ function baseIsEqual$3(value, other, bitmask, customizer, stack) {
12448
12470
  __name(baseIsEqual$3, "baseIsEqual$3");
12449
12471
  var COMPARE_PARTIAL_FLAG$7 = 1, COMPARE_UNORDERED_FLAG$5 = 2;
12450
12472
  function baseIsMatch$2(object3, source, matchData, customizer) {
12451
- var index2 = matchData.length, length = index2;
12473
+ var index2 = matchData.length, length = index2, noCustomizer = !customizer;
12452
12474
  if (object3 == null) {
12453
12475
  return !length;
12454
12476
  }
12455
12477
  object3 = Object(object3);
12456
12478
  while (index2--) {
12457
12479
  var data = matchData[index2];
12458
- if (data[2] ? data[1] !== object3[data[0]] : !(data[0] in object3)) {
12480
+ if (noCustomizer && data[2] ? data[1] !== object3[data[0]] : !(data[0] in object3)) {
12459
12481
  return false;
12460
12482
  }
12461
12483
  }
12462
12484
  while (++index2 < length) {
12463
12485
  data = matchData[index2];
12464
12486
  var key = data[0], objValue = object3[key], srcValue = data[1];
12465
- if (data[2]) {
12487
+ if (noCustomizer && data[2]) {
12466
12488
  if (objValue === void 0 && !(key in object3)) {
12467
12489
  return false;
12468
12490
  }
12469
12491
  } else {
12470
12492
  var stack = new Stack$4();
12471
- var result;
12493
+ if (customizer) {
12494
+ var result = customizer(objValue, srcValue, key, object3, source, stack);
12495
+ }
12472
12496
  if (!(result === void 0 ? baseIsEqual$3(srcValue, objValue, COMPARE_PARTIAL_FLAG$7 | COMPARE_UNORDERED_FLAG$5, customizer, stack) : result)) {
12473
12497
  return false;
12474
12498
  }
@@ -12527,7 +12551,7 @@ function hasPath$2(object3, path2, hasFunc) {
12527
12551
  return result;
12528
12552
  }
12529
12553
  length = object3 == null ? 0 : object3.length;
12530
- return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$p(object3) || isArguments$7(object3));
12554
+ return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$p(object3) || isArguments$8(object3));
12531
12555
  }
12532
12556
  __name(hasPath$2, "hasPath$2");
12533
12557
  function hasIn$2(object3, path2) {
@@ -12587,7 +12611,7 @@ function createBaseFor$2(fromRight) {
12587
12611
  return function(object3, iteratee, keysFunc) {
12588
12612
  var index2 = -1, iterable = Object(object3), props = keysFunc(object3), length = props.length;
12589
12613
  while (length--) {
12590
- var key = props[++index2];
12614
+ var key = props[fromRight ? length : ++index2];
12591
12615
  if (iteratee(iterable[key], key, iterable) === false) {
12592
12616
  break;
12593
12617
  }
@@ -12609,8 +12633,8 @@ function createBaseEach$2(eachFunc, fromRight) {
12609
12633
  if (!isArrayLike$9(collection)) {
12610
12634
  return eachFunc(collection, iteratee);
12611
12635
  }
12612
- var length = collection.length, index2 = -1, iterable = Object(collection);
12613
- while (++index2 < length) {
12636
+ var length = collection.length, index2 = fromRight ? length : -1, iterable = Object(collection);
12637
+ while (fromRight ? index2-- : ++index2 < length) {
12614
12638
  if (iteratee(iterable[index2], index2, iterable) === false) {
12615
12639
  break;
12616
12640
  }
@@ -12620,8 +12644,9 @@ function createBaseEach$2(eachFunc, fromRight) {
12620
12644
  }
12621
12645
  __name(createBaseEach$2, "createBaseEach$2");
12622
12646
  var baseEach$3 = createBaseEach$2(baseForOwn$3);
12647
+ const baseEach$4 = baseEach$3;
12623
12648
  function baseAggregator(collection, setter2, iteratee, accumulator) {
12624
- baseEach$3(collection, function(value, key, collection2) {
12649
+ baseEach$4(collection, function(value, key, collection2) {
12625
12650
  setter2(accumulator, value, iteratee(value), collection2);
12626
12651
  });
12627
12652
  return accumulator;
@@ -12772,7 +12797,7 @@ function baseMergeDeep(object3, source, key, srcIndex, mergeFunc, customizer, st
12772
12797
  var newValue = customizer ? customizer(objValue, srcValue, key + "", object3, source, stack) : void 0;
12773
12798
  var isCommon = newValue === void 0;
12774
12799
  if (isCommon) {
12775
- var isArr = isArray$p(srcValue), isBuff = !isArr && isBuffer$8(srcValue), isTyped = !isArr && !isBuff && isTypedArray$3(srcValue);
12800
+ var isArr = isArray$p(srcValue), isBuff = !isArr && isBuffer$9(srcValue), isTyped = !isArr && !isBuff && isTypedArray$4(srcValue);
12776
12801
  newValue = srcValue;
12777
12802
  if (isArr || isBuff || isTyped) {
12778
12803
  if (isArray$p(objValue)) {
@@ -12788,9 +12813,9 @@ function baseMergeDeep(object3, source, key, srcIndex, mergeFunc, customizer, st
12788
12813
  } else {
12789
12814
  newValue = [];
12790
12815
  }
12791
- } else if (isPlainObject$4(srcValue) || isArguments$7(srcValue)) {
12816
+ } else if (isPlainObject$4(srcValue) || isArguments$8(srcValue)) {
12792
12817
  newValue = objValue;
12793
- if (isArguments$7(objValue)) {
12818
+ if (isArguments$8(objValue)) {
12794
12819
  newValue = toPlainObject(objValue);
12795
12820
  } else if (!isObject$e(objValue) || isFunction$6(objValue)) {
12796
12821
  newValue = initCloneObject$2(srcValue);
@@ -12825,6 +12850,16 @@ function baseMerge(object3, source, srcIndex, customizer, stack) {
12825
12850
  }, keysIn$4);
12826
12851
  }
12827
12852
  __name(baseMerge, "baseMerge");
12853
+ function arrayIncludesWith$2(array2, value, comparator) {
12854
+ var index2 = -1, length = array2 == null ? 0 : array2.length;
12855
+ while (++index2 < length) {
12856
+ if (comparator(value, array2[index2])) {
12857
+ return true;
12858
+ }
12859
+ }
12860
+ return false;
12861
+ }
12862
+ __name(arrayIncludesWith$2, "arrayIncludesWith$2");
12828
12863
  var LARGE_ARRAY_SIZE$3 = 200;
12829
12864
  function baseDifference$2(array2, values3, iteratee, comparator) {
12830
12865
  var index2 = -1, includes2 = arrayIncludes$2, isCommon = true, length = array2.length, result = [], valuesLength = values3.length;
@@ -12834,7 +12869,10 @@ function baseDifference$2(array2, values3, iteratee, comparator) {
12834
12869
  if (iteratee) {
12835
12870
  values3 = arrayMap$6(values3, baseUnary$6(iteratee));
12836
12871
  }
12837
- if (values3.length >= LARGE_ARRAY_SIZE$3) {
12872
+ if (comparator) {
12873
+ includes2 = arrayIncludesWith$2;
12874
+ isCommon = false;
12875
+ } else if (values3.length >= LARGE_ARRAY_SIZE$3) {
12838
12876
  includes2 = cacheHas$3;
12839
12877
  isCommon = false;
12840
12878
  values3 = new SetCache$3(values3);
@@ -12842,7 +12880,7 @@ function baseDifference$2(array2, values3, iteratee, comparator) {
12842
12880
  outer:
12843
12881
  while (++index2 < length) {
12844
12882
  var value = array2[index2], computed3 = iteratee == null ? value : iteratee(value);
12845
- value = value !== 0 ? value : 0;
12883
+ value = comparator || value !== 0 ? value : 0;
12846
12884
  if (isCommon && computed3 === computed3) {
12847
12885
  var valuesIndex = valuesLength;
12848
12886
  while (valuesIndex--) {
@@ -12873,12 +12911,13 @@ var differenceBy = baseRest$4(function(array2, values3) {
12873
12911
  }
12874
12912
  return isArrayLikeObject$2(array2) ? baseDifference$2(array2, baseFlatten$4(values3, 1, isArrayLikeObject$2, true), baseIteratee$5(iteratee)) : [];
12875
12913
  });
12914
+ const differenceBy$1 = differenceBy;
12876
12915
  function drop$2(array2, n2, guard) {
12877
12916
  var length = array2 == null ? 0 : array2.length;
12878
12917
  if (!length) {
12879
12918
  return [];
12880
12919
  }
12881
- n2 = n2 === void 0 ? 1 : toInteger$5(n2);
12920
+ n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
12882
12921
  return baseSlice$2(array2, n2 < 0 ? 0 : n2, length);
12883
12922
  }
12884
12923
  __name(drop$2, "drop$2");
@@ -12887,7 +12926,7 @@ function castFunction$3(value) {
12887
12926
  }
12888
12927
  __name(castFunction$3, "castFunction$3");
12889
12928
  function forEach$4(collection, iteratee) {
12890
- var func = isArray$p(collection) ? arrayEach$3 : baseEach$3;
12929
+ var func = isArray$p(collection) ? arrayEach$3 : baseEach$4;
12891
12930
  return func(collection, castFunction$3(iteratee));
12892
12931
  }
12893
12932
  __name(forEach$4, "forEach$4");
@@ -12913,7 +12952,7 @@ function arrayEvery(array2, predicate) {
12913
12952
  __name(arrayEvery, "arrayEvery");
12914
12953
  function baseEvery(collection, predicate) {
12915
12954
  var result = true;
12916
- baseEach$3(collection, function(value, index2, collection2) {
12955
+ baseEach$4(collection, function(value, index2, collection2) {
12917
12956
  result = !!predicate(value, index2, collection2);
12918
12957
  return result;
12919
12958
  });
@@ -12922,12 +12961,15 @@ function baseEvery(collection, predicate) {
12922
12961
  __name(baseEvery, "baseEvery");
12923
12962
  function every(collection, predicate, guard) {
12924
12963
  var func = isArray$p(collection) ? arrayEvery : baseEvery;
12964
+ if (guard && isIterateeCall$3(collection, predicate, guard)) {
12965
+ predicate = void 0;
12966
+ }
12925
12967
  return func(collection, baseIteratee$5(predicate));
12926
12968
  }
12927
12969
  __name(every, "every");
12928
12970
  function baseFilter(collection, predicate) {
12929
12971
  var result = [];
12930
- baseEach$3(collection, function(value, index2, collection2) {
12972
+ baseEach$4(collection, function(value, index2, collection2) {
12931
12973
  if (predicate(value, index2, collection2)) {
12932
12974
  result.push(value);
12933
12975
  }
@@ -12971,7 +13013,7 @@ __name(findIndex$3, "findIndex$3");
12971
13013
  var find$5 = createFind$2(findIndex$3);
12972
13014
  function baseMap$3(collection, iteratee) {
12973
13015
  var index2 = -1, result = isArrayLike$9(collection) ? Array(collection.length) : [];
12974
- baseEach$3(collection, function(value, key, collection2) {
13016
+ baseEach$4(collection, function(value, key, collection2) {
12975
13017
  result[++index2] = iteratee(value, key, collection2);
12976
13018
  });
12977
13019
  return result;
@@ -12983,7 +13025,7 @@ function map$3(collection, iteratee) {
12983
13025
  }
12984
13026
  __name(map$3, "map$3");
12985
13027
  function flatMap$1(collection, iteratee) {
12986
- return baseFlatten$4(map$3(collection, iteratee));
13028
+ return baseFlatten$4(map$3(collection, iteratee), 1);
12987
13029
  }
12988
13030
  __name(flatMap$1, "flatMap$1");
12989
13031
  function baseGt(value, other) {
@@ -13018,26 +13060,26 @@ function includes(collection, value, fromIndex, guard) {
13018
13060
  __name(includes, "includes");
13019
13061
  var nativeMin$1 = Math.min;
13020
13062
  function baseIntersection(arrays, iteratee, comparator) {
13021
- var includes2 = arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
13063
+ var includes2 = comparator ? arrayIncludesWith$2 : arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
13022
13064
  while (othIndex--) {
13023
13065
  var array2 = arrays[othIndex];
13024
13066
  if (othIndex && iteratee) {
13025
13067
  array2 = arrayMap$6(array2, baseUnary$6(iteratee));
13026
13068
  }
13027
13069
  maxLength = nativeMin$1(array2.length, maxLength);
13028
- caches[othIndex] = iteratee || length >= 120 && array2.length >= 120 ? new SetCache$3(othIndex && array2) : void 0;
13070
+ caches[othIndex] = !comparator && (iteratee || length >= 120 && array2.length >= 120) ? new SetCache$3(othIndex && array2) : void 0;
13029
13071
  }
13030
13072
  array2 = arrays[0];
13031
13073
  var index2 = -1, seen = caches[0];
13032
13074
  outer:
13033
13075
  while (++index2 < length && result.length < maxLength) {
13034
13076
  var value = array2[index2], computed3 = iteratee ? iteratee(value) : value;
13035
- value = value !== 0 ? value : 0;
13036
- if (!(seen ? cacheHas$3(seen, computed3) : includes2(result, computed3))) {
13077
+ value = comparator || value !== 0 ? value : 0;
13078
+ if (!(seen ? cacheHas$3(seen, computed3) : includes2(result, computed3, comparator))) {
13037
13079
  othIndex = othLength;
13038
13080
  while (--othIndex) {
13039
13081
  var cache2 = caches[othIndex];
13040
- if (!(cache2 ? cacheHas$3(cache2, computed3) : includes2(arrays[othIndex], computed3))) {
13082
+ if (!(cache2 ? cacheHas$3(cache2, computed3) : includes2(arrays[othIndex], computed3, comparator))) {
13041
13083
  continue outer;
13042
13084
  }
13043
13085
  }
@@ -13063,6 +13105,7 @@ var intersectionBy = baseRest$4(function(arrays) {
13063
13105
  }
13064
13106
  return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, baseIteratee$5(iteratee)) : [];
13065
13107
  });
13108
+ const intersectionBy$1 = intersectionBy;
13066
13109
  function baseInverter(object3, setter2, iteratee, accumulator) {
13067
13110
  baseForOwn$3(object3, function(value, key, object4) {
13068
13111
  setter2(accumulator, iteratee(value), key, object4);
@@ -13095,10 +13138,10 @@ function isEmpty$1(value) {
13095
13138
  if (value == null) {
13096
13139
  return true;
13097
13140
  }
13098
- if (isArrayLike$9(value) && (isArray$p(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$8(value) || isTypedArray$3(value) || isArguments$7(value))) {
13141
+ if (isArrayLike$9(value) && (isArray$p(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$9(value) || isTypedArray$4(value) || isArguments$8(value))) {
13099
13142
  return !value.length;
13100
13143
  }
13101
- var tag = getTag$6(value);
13144
+ var tag = getTag$7(value);
13102
13145
  if (tag == mapTag$7 || tag == setTag$7) {
13103
13146
  return !value.size;
13104
13147
  }
@@ -13216,7 +13259,7 @@ function toArray$1(value) {
13216
13259
  if (symIterator && value[symIterator]) {
13217
13260
  return iteratorToArray(value[symIterator]());
13218
13261
  }
13219
- var tag = getTag$6(value), func = tag == mapTag$6 ? mapToArray$2 : tag == setTag$6 ? setToArray$2 : values;
13262
+ var tag = getTag$7(value), func = tag == mapTag$6 ? mapToArray$2 : tag == setTag$6 ? setToArray$2 : values;
13220
13263
  return func(value);
13221
13264
  }
13222
13265
  __name(toArray$1, "toArray$1");
@@ -13265,7 +13308,7 @@ function baseSet(object3, path2, value, customizer) {
13265
13308
  }
13266
13309
  if (index2 != lastIndex) {
13267
13310
  var objValue = nested[key];
13268
- newValue = void 0;
13311
+ newValue = customizer ? customizer(objValue, key, nested) : void 0;
13269
13312
  if (newValue === void 0) {
13270
13313
  newValue = isObject$e(objValue) ? objValue : isIndex$4(path2[index2 + 1]) ? [] : {};
13271
13314
  }
@@ -13375,7 +13418,7 @@ function orderBy$1(collection, iteratees, orders, guard) {
13375
13418
  if (!isArray$p(iteratees)) {
13376
13419
  iteratees = iteratees == null ? [] : [iteratees];
13377
13420
  }
13378
- orders = orders;
13421
+ orders = guard ? void 0 : orders;
13379
13422
  if (!isArray$p(orders)) {
13380
13423
  orders = orders == null ? [] : [orders];
13381
13424
  }
@@ -13467,7 +13510,7 @@ var nativeCeil = Math.ceil, nativeMax$2 = Math.max;
13467
13510
  function baseRange(start2, end2, step2, fromRight) {
13468
13511
  var index2 = -1, length = nativeMax$2(nativeCeil((end2 - start2) / (step2 || 1)), 0), result = Array(length);
13469
13512
  while (length--) {
13470
- result[++index2] = start2;
13513
+ result[fromRight ? length : ++index2] = start2;
13471
13514
  start2 += step2;
13472
13515
  }
13473
13516
  return result;
@@ -13486,7 +13529,7 @@ function createRange(fromRight) {
13486
13529
  end2 = toFinite$2(end2);
13487
13530
  }
13488
13531
  step2 = step2 === void 0 ? start2 < end2 ? 1 : -1 : toFinite$2(step2);
13489
- return baseRange(start2, end2, step2);
13532
+ return baseRange(start2, end2, step2, fromRight);
13490
13533
  };
13491
13534
  }
13492
13535
  __name(createRange, "createRange");
@@ -13500,7 +13543,7 @@ function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
13500
13543
  __name(baseReduce, "baseReduce");
13501
13544
  function reduce(collection, iteratee, accumulator) {
13502
13545
  var func = isArray$p(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
13503
- return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$3);
13546
+ return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$4);
13504
13547
  }
13505
13548
  __name(reduce, "reduce");
13506
13549
  function remove$1(array2, predicate) {
@@ -13531,7 +13574,7 @@ var snakeCase = createCompounder(function(result, word, index2) {
13531
13574
  });
13532
13575
  function baseSome(collection, predicate) {
13533
13576
  var result;
13534
- baseEach$3(collection, function(value, index2, collection2) {
13577
+ baseEach$4(collection, function(value, index2, collection2) {
13535
13578
  result = predicate(value, index2, collection2);
13536
13579
  return !result;
13537
13580
  });
@@ -13540,6 +13583,9 @@ function baseSome(collection, predicate) {
13540
13583
  __name(baseSome, "baseSome");
13541
13584
  function some(collection, predicate, guard) {
13542
13585
  var func = isArray$p(collection) ? arraySome$2 : baseSome;
13586
+ if (guard && isIterateeCall$3(collection, predicate, guard)) {
13587
+ predicate = void 0;
13588
+ }
13543
13589
  return func(collection, baseIteratee$5(predicate));
13544
13590
  }
13545
13591
  __name(some, "some");
@@ -13553,7 +13599,7 @@ var sortBy$2 = baseRest$4(function(collection, iteratees) {
13553
13599
  } else if (length > 2 && isIterateeCall$3(iteratees[0], iteratees[1], iteratees[2])) {
13554
13600
  iteratees = [iteratees[0]];
13555
13601
  }
13556
- return baseOrderBy$2(collection, baseFlatten$4(iteratees), []);
13602
+ return baseOrderBy$2(collection, baseFlatten$4(iteratees, 1), []);
13557
13603
  });
13558
13604
  var startCase = createCompounder(function(result, word, index2) {
13559
13605
  return result + (index2 ? " " : "") + upperFirst(word);
@@ -13569,7 +13615,7 @@ function take(array2, n2, guard) {
13569
13615
  if (!(array2 && array2.length)) {
13570
13616
  return [];
13571
13617
  }
13572
- n2 = n2 === void 0 ? 1 : toInteger$5(n2);
13618
+ n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
13573
13619
  return baseSlice$2(array2, 0, n2 < 0 ? 0 : n2);
13574
13620
  }
13575
13621
  __name(take, "take");
@@ -13615,7 +13661,10 @@ var createSet = !(Set$3 && 1 / setToArray$2(new Set$3([, -0]))[1] == INFINITY$4)
13615
13661
  var LARGE_ARRAY_SIZE$2 = 200;
13616
13662
  function baseUniq(array2, iteratee, comparator) {
13617
13663
  var index2 = -1, includes2 = arrayIncludes$2, length = array2.length, isCommon = true, result = [], seen = result;
13618
- if (length >= LARGE_ARRAY_SIZE$2) {
13664
+ if (comparator) {
13665
+ isCommon = false;
13666
+ includes2 = arrayIncludesWith$2;
13667
+ } else if (length >= LARGE_ARRAY_SIZE$2) {
13619
13668
  var set6 = iteratee ? null : createSet(array2);
13620
13669
  if (set6) {
13621
13670
  return setToArray$2(set6);
@@ -13629,7 +13678,7 @@ function baseUniq(array2, iteratee, comparator) {
13629
13678
  outer:
13630
13679
  while (++index2 < length) {
13631
13680
  var value = array2[index2], computed3 = iteratee ? iteratee(value) : value;
13632
- value = value !== 0 ? value : 0;
13681
+ value = comparator || value !== 0 ? value : 0;
13633
13682
  if (isCommon && computed3 === computed3) {
13634
13683
  var seenIndex = seen.length;
13635
13684
  while (seenIndex--) {
@@ -13886,7 +13935,7 @@ var withState = /* @__PURE__ */ __name(function withState2(stateName, stateUpdat
13886
13935
  }
13887
13936
  _this = _Component.call.apply(_Component, [this].concat(args)) || this;
13888
13937
  _this.state = {
13889
- stateValue: initialState2
13938
+ stateValue: typeof initialState2 === "function" ? initialState2(_this.props) : initialState2
13890
13939
  };
13891
13940
  _this.updateStateValue = function(updateFn, callback2) {
13892
13941
  return _this.setState(function(_ref) {
@@ -14250,10 +14299,10 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
14250
14299
  value
14251
14300
  };
14252
14301
  }, "_propertyDesc");
14253
- var dP$1 = require_objectDp();
14302
+ var dP$2 = require_objectDp();
14254
14303
  var createDesc$3 = _propertyDesc;
14255
14304
  var _hide = require_descriptors() ? function(object3, key, value) {
14256
- return dP$1.f(object3, key, createDesc$3(1, value));
14305
+ return dP$2.f(object3, key, createDesc$3(1, value));
14257
14306
  } : function(object3, key, value) {
14258
14307
  object3[key] = value;
14259
14308
  return object3;
@@ -14267,7 +14316,7 @@ var core$3 = _coreExports;
14267
14316
  var ctx$1 = _ctx;
14268
14317
  var hide$3 = _hide;
14269
14318
  var has$e = _has;
14270
- var PROTOTYPE$1 = "prototype";
14319
+ var PROTOTYPE$2 = "prototype";
14271
14320
  var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
14272
14321
  var IS_FORCED = type2 & $export$8.F;
14273
14322
  var IS_GLOBAL = type2 & $export$8.G;
@@ -14276,8 +14325,8 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
14276
14325
  var IS_BIND = type2 & $export$8.B;
14277
14326
  var IS_WRAP = type2 & $export$8.W;
14278
14327
  var exports2 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
14279
- var expProto = exports2[PROTOTYPE$1];
14280
- var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$1];
14328
+ var expProto = exports2[PROTOTYPE$2];
14329
+ var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$2];
14281
14330
  var key, own2, out;
14282
14331
  if (IS_GLOBAL)
14283
14332
  source = name2;
@@ -14301,7 +14350,7 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
14301
14350
  }
14302
14351
  return C.apply(this, arguments);
14303
14352
  }, "F");
14304
- F[PROTOTYPE$1] = C[PROTOTYPE$1];
14353
+ F[PROTOTYPE$2] = C[PROTOTYPE$2];
14305
14354
  return F;
14306
14355
  }(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
14307
14356
  if (IS_PROTO) {
@@ -14415,14 +14464,14 @@ var _sharedKey = /* @__PURE__ */ __name(function(key) {
14415
14464
  var has$d = _has;
14416
14465
  var toIObject$4 = _toIobject;
14417
14466
  var arrayIndexOf = _arrayIncludes$1(false);
14418
- var IE_PROTO$1 = _sharedKey("IE_PROTO");
14467
+ var IE_PROTO$2 = _sharedKey("IE_PROTO");
14419
14468
  var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
14420
14469
  var O2 = toIObject$4(object3);
14421
14470
  var i = 0;
14422
14471
  var result = [];
14423
14472
  var key;
14424
14473
  for (key in O2)
14425
- if (key != IE_PROTO$1)
14474
+ if (key != IE_PROTO$2)
14426
14475
  has$d(O2, key) && result.push(key);
14427
14476
  while (names2.length > i)
14428
14477
  if (has$d(O2, key = names2[i++])) {
@@ -14432,9 +14481,9 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
14432
14481
  }, "_objectKeysInternal");
14433
14482
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
14434
14483
  var $keys$3 = _objectKeysInternal;
14435
- var enumBugKeys = _enumBugKeys;
14484
+ var enumBugKeys$1 = _enumBugKeys;
14436
14485
  var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
14437
- return $keys$3(O2, enumBugKeys);
14486
+ return $keys$3(O2, enumBugKeys$1);
14438
14487
  }, "keys");
14439
14488
  var _objectGops = {};
14440
14489
  _objectGops.f = Object.getOwnPropertySymbols;
@@ -14524,28 +14573,19 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
14524
14573
  }, "_iterStep");
14525
14574
  var _iterators = {};
14526
14575
  var _redefine = _hide;
14527
- var _objectDps;
14528
- var hasRequired_objectDps;
14529
- function require_objectDps() {
14530
- if (hasRequired_objectDps)
14531
- return _objectDps;
14532
- hasRequired_objectDps = 1;
14533
- var dP2 = require_objectDp();
14534
- var anObject2 = _anObject;
14535
- var getKeys2 = _objectKeys;
14536
- _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
14537
- anObject2(O2);
14538
- var keys5 = getKeys2(Properties2);
14539
- var length = keys5.length;
14540
- var i = 0;
14541
- var P2;
14542
- while (length > i)
14543
- dP2.f(O2, P2 = keys5[i++], Properties2[P2]);
14544
- return O2;
14545
- }, "defineProperties");
14546
- return _objectDps;
14547
- }
14548
- __name(require_objectDps, "require_objectDps");
14576
+ var dP$1 = require_objectDp();
14577
+ var anObject$4 = _anObject;
14578
+ var getKeys$1 = _objectKeys;
14579
+ var _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties(O2, Properties2) {
14580
+ anObject$4(O2);
14581
+ var keys5 = getKeys$1(Properties2);
14582
+ var length = keys5.length;
14583
+ var i = 0;
14584
+ var P2;
14585
+ while (length > i)
14586
+ dP$1.f(O2, P2 = keys5[i++], Properties2[P2]);
14587
+ return O2;
14588
+ }, "defineProperties");
14549
14589
  var _html;
14550
14590
  var hasRequired_html;
14551
14591
  function require_html() {
@@ -14557,51 +14597,42 @@ function require_html() {
14557
14597
  return _html;
14558
14598
  }
14559
14599
  __name(require_html, "require_html");
14560
- var _objectCreate;
14561
- var hasRequired_objectCreate;
14562
- function require_objectCreate() {
14563
- if (hasRequired_objectCreate)
14564
- return _objectCreate;
14565
- hasRequired_objectCreate = 1;
14566
- var anObject2 = _anObject;
14567
- var dPs = require_objectDps();
14568
- var enumBugKeys2 = _enumBugKeys;
14569
- var IE_PROTO2 = _sharedKey("IE_PROTO");
14570
- var Empty = /* @__PURE__ */ __name(function() {
14571
- }, "Empty");
14572
- var PROTOTYPE2 = "prototype";
14573
- var createDict = /* @__PURE__ */ __name(function() {
14574
- var iframe = require_domCreate()("iframe");
14575
- var i = enumBugKeys2.length;
14576
- var lt = "<";
14577
- var gt = ">";
14578
- var iframeDocument;
14579
- iframe.style.display = "none";
14580
- require_html().appendChild(iframe);
14581
- iframe.src = "javascript:";
14582
- iframeDocument = iframe.contentWindow.document;
14583
- iframeDocument.open();
14584
- iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
14585
- iframeDocument.close();
14586
- createDict = iframeDocument.F;
14587
- while (i--)
14588
- delete createDict[PROTOTYPE2][enumBugKeys2[i]];
14589
- return createDict();
14590
- }, "createDict");
14591
- _objectCreate = Object.create || /* @__PURE__ */ __name(function create5(O2, Properties2) {
14592
- var result;
14593
- if (O2 !== null) {
14594
- Empty[PROTOTYPE2] = anObject2(O2);
14595
- result = new Empty();
14596
- Empty[PROTOTYPE2] = null;
14597
- result[IE_PROTO2] = O2;
14598
- } else
14599
- result = createDict();
14600
- return Properties2 === void 0 ? result : dPs(result, Properties2);
14601
- }, "create");
14602
- return _objectCreate;
14603
- }
14604
- __name(require_objectCreate, "require_objectCreate");
14600
+ var anObject$3 = _anObject;
14601
+ var dPs = _objectDps;
14602
+ var enumBugKeys = _enumBugKeys;
14603
+ var IE_PROTO$1 = _sharedKey("IE_PROTO");
14604
+ var Empty = /* @__PURE__ */ __name(function() {
14605
+ }, "Empty");
14606
+ var PROTOTYPE$1 = "prototype";
14607
+ var createDict = /* @__PURE__ */ __name(function() {
14608
+ var iframe = require_domCreate()("iframe");
14609
+ var i = enumBugKeys.length;
14610
+ var lt = "<";
14611
+ var gt = ">";
14612
+ var iframeDocument;
14613
+ iframe.style.display = "none";
14614
+ require_html().appendChild(iframe);
14615
+ iframe.src = "javascript:";
14616
+ iframeDocument = iframe.contentWindow.document;
14617
+ iframeDocument.open();
14618
+ iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
14619
+ iframeDocument.close();
14620
+ createDict = iframeDocument.F;
14621
+ while (i--)
14622
+ delete createDict[PROTOTYPE$1][enumBugKeys[i]];
14623
+ return createDict();
14624
+ }, "createDict");
14625
+ var _objectCreate = Object.create || /* @__PURE__ */ __name(function create(O2, Properties2) {
14626
+ var result;
14627
+ if (O2 !== null) {
14628
+ Empty[PROTOTYPE$1] = anObject$3(O2);
14629
+ result = new Empty();
14630
+ Empty[PROTOTYPE$1] = null;
14631
+ result[IE_PROTO$1] = O2;
14632
+ } else
14633
+ result = createDict();
14634
+ return Properties2 === void 0 ? result : dPs(result, Properties2);
14635
+ }, "create");
14605
14636
  var _wks = { exports: {} };
14606
14637
  var store$2 = _sharedExports("wks");
14607
14638
  var uid$1 = _uid;
@@ -14619,7 +14650,7 @@ var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
14619
14650
  if (it && !has$c(it = stat ? it : it.prototype, TAG$1))
14620
14651
  def(it, TAG$1, { configurable: true, value: tag });
14621
14652
  }, "_setToStringTag");
14622
- var create$4 = require_objectCreate();
14653
+ var create$4 = _objectCreate;
14623
14654
  var descriptor = _propertyDesc;
14624
14655
  var setToStringTag$2 = _setToStringTag;
14625
14656
  var IteratorPrototype = {};
@@ -14885,11 +14916,11 @@ var ArrayProto = Array.prototype;
14885
14916
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
14886
14917
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
14887
14918
  }, "_isArrayIter");
14888
- var $defineProperty$3 = require_objectDp();
14919
+ var $defineProperty$4 = require_objectDp();
14889
14920
  var createDesc$2 = _propertyDesc;
14890
14921
  var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
14891
14922
  if (index2 in object3)
14892
- $defineProperty$3.f(object3, index2, createDesc$2(0, value));
14923
+ $defineProperty$4.f(object3, index2, createDesc$2(0, value));
14893
14924
  else
14894
14925
  object3[index2] = value;
14895
14926
  }, "_createProperty");
@@ -15027,7 +15058,7 @@ function _interopRequireDefault$c(obj) {
15027
15058
  }
15028
15059
  __name(_interopRequireDefault$c, "_interopRequireDefault$c");
15029
15060
  var _default$7 = /* @__PURE__ */ function() {
15030
- function defineProperties3(target, props) {
15061
+ function defineProperties4(target, props) {
15031
15062
  for (var i = 0; i < props.length; i++) {
15032
15063
  var descriptor2 = props[i];
15033
15064
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -15037,12 +15068,12 @@ var _default$7 = /* @__PURE__ */ function() {
15037
15068
  (0, _defineProperty2.default)(target, descriptor2.key, descriptor2);
15038
15069
  }
15039
15070
  }
15040
- __name(defineProperties3, "defineProperties");
15071
+ __name(defineProperties4, "defineProperties");
15041
15072
  return function(Constructor, protoProps, staticProps) {
15042
15073
  if (protoProps)
15043
- defineProperties3(Constructor.prototype, protoProps);
15074
+ defineProperties4(Constructor.prototype, protoProps);
15044
15075
  if (staticProps)
15045
- defineProperties3(Constructor, staticProps);
15076
+ defineProperties4(Constructor, staticProps);
15046
15077
  return Constructor;
15047
15078
  };
15048
15079
  }();
@@ -15071,23 +15102,23 @@ var setMeta = /* @__PURE__ */ __name(function(it) {
15071
15102
  // weak collections IDs
15072
15103
  } });
15073
15104
  }, "setMeta");
15074
- var fastKey = /* @__PURE__ */ __name(function(it, create5) {
15105
+ var fastKey = /* @__PURE__ */ __name(function(it, create6) {
15075
15106
  if (!isObject$b(it))
15076
15107
  return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
15077
15108
  if (!has$a(it, META$1)) {
15078
15109
  if (!isExtensible(it))
15079
15110
  return "F";
15080
- if (!create5)
15111
+ if (!create6)
15081
15112
  return "E";
15082
15113
  setMeta(it);
15083
15114
  }
15084
15115
  return it[META$1].i;
15085
15116
  }, "fastKey");
15086
- var getWeak = /* @__PURE__ */ __name(function(it, create5) {
15117
+ var getWeak = /* @__PURE__ */ __name(function(it, create6) {
15087
15118
  if (!has$a(it, META$1)) {
15088
15119
  if (!isExtensible(it))
15089
15120
  return true;
15090
- if (!create5)
15121
+ if (!create6)
15091
15122
  return false;
15092
15123
  setMeta(it);
15093
15124
  }
@@ -15196,7 +15227,7 @@ var toObject$1 = _toObject;
15196
15227
  var toIObject = _toIobject;
15197
15228
  var toPrimitive = _toPrimitive$1;
15198
15229
  var createDesc = _propertyDesc;
15199
- var _create$1 = require_objectCreate();
15230
+ var _create$1 = _objectCreate;
15200
15231
  var gOPNExt = _objectGopnExt;
15201
15232
  var $GOPD = _objectGopd;
15202
15233
  var $GOPS = _objectGops;
@@ -15243,9 +15274,9 @@ var isSymbol$7 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
15243
15274
  } : function(it) {
15244
15275
  return it instanceof $Symbol;
15245
15276
  };
15246
- var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
15277
+ var $defineProperty$3 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
15247
15278
  if (it === ObjectProto)
15248
- $defineProperty$2(OPSymbols, key, D2);
15279
+ $defineProperty$3(OPSymbols, key, D2);
15249
15280
  anObject(it);
15250
15281
  key = toPrimitive(key, true);
15251
15282
  anObject(D2);
@@ -15263,17 +15294,17 @@ var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty3(it, key,
15263
15294
  }
15264
15295
  return dP(it, key, D2);
15265
15296
  }, "defineProperty");
15266
- var $defineProperties = /* @__PURE__ */ __name(function defineProperties(it, P2) {
15297
+ var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2) {
15267
15298
  anObject(it);
15268
15299
  var keys5 = enumKeys(P2 = toIObject(P2));
15269
15300
  var i = 0;
15270
15301
  var l2 = keys5.length;
15271
15302
  var key;
15272
15303
  while (l2 > i)
15273
- $defineProperty$2(it, key = keys5[i++], P2[key]);
15304
+ $defineProperty$3(it, key = keys5[i++], P2[key]);
15274
15305
  return it;
15275
15306
  }, "defineProperties");
15276
- var $create = /* @__PURE__ */ __name(function create(it, P2) {
15307
+ var $create = /* @__PURE__ */ __name(function create2(it, P2) {
15277
15308
  return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
15278
15309
  }, "create");
15279
15310
  var $propertyIsEnumerable = /* @__PURE__ */ __name(function propertyIsEnumerable(key) {
@@ -15335,7 +15366,7 @@ if (!USE_NATIVE) {
15335
15366
  return this._k;
15336
15367
  }, "toString"));
15337
15368
  $GOPD.f = $getOwnPropertyDescriptor;
15338
- $DP.f = $defineProperty$2;
15369
+ $DP.f = $defineProperty$3;
15339
15370
  _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
15340
15371
  require_objectPie().f = $propertyIsEnumerable;
15341
15372
  $GOPS.f = $getOwnPropertySymbols;
@@ -15378,7 +15409,7 @@ $export$2($export$2.S + $export$2.F * !USE_NATIVE, "Object", {
15378
15409
  // 19.1.2.2 Object.create(O [, Properties])
15379
15410
  create: $create,
15380
15411
  // 19.1.2.4 Object.defineProperty(O, P, Attributes)
15381
- defineProperty: $defineProperty$2,
15412
+ defineProperty: $defineProperty$3,
15382
15413
  // 19.1.2.3 Object.defineProperties(O, Properties)
15383
15414
  defineProperties: $defineProperties,
15384
15415
  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
@@ -15503,9 +15534,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
15503
15534
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
15504
15535
  var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
15505
15536
  var $export = _export;
15506
- $export($export.S, "Object", { create: require_objectCreate() });
15537
+ $export($export.S, "Object", { create: _objectCreate });
15507
15538
  var $Object$2 = _coreExports.Object;
15508
- var create$3 = /* @__PURE__ */ __name(function create2(P2, D2) {
15539
+ var create$3 = /* @__PURE__ */ __name(function create3(P2, D2) {
15509
15540
  return $Object$2.create(P2, D2);
15510
15541
  }, "create");
15511
15542
  var create$2 = { "default": create$3, __esModule: true };
@@ -18706,6 +18737,8 @@ var reactList = {};
18706
18737
  function _createClass2(Constructor, protoProps, staticProps) {
18707
18738
  if (protoProps)
18708
18739
  _defineProperties2(Constructor.prototype, protoProps);
18740
+ if (staticProps)
18741
+ _defineProperties2(Constructor, staticProps);
18709
18742
  return Constructor;
18710
18743
  }
18711
18744
  __name(_createClass2, "_createClass");
@@ -19590,7 +19623,7 @@ function normalizeComponent(Comp) {
19590
19623
  }
19591
19624
  __name(normalizeComponent, "normalizeComponent");
19592
19625
  var _createClass$d = /* @__PURE__ */ function() {
19593
- function defineProperties3(target, props) {
19626
+ function defineProperties4(target, props) {
19594
19627
  for (var i = 0; i < props.length; i++) {
19595
19628
  var descriptor2 = props[i];
19596
19629
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -19600,12 +19633,12 @@ var _createClass$d = /* @__PURE__ */ function() {
19600
19633
  Object.defineProperty(target, descriptor2.key, descriptor2);
19601
19634
  }
19602
19635
  }
19603
- __name(defineProperties3, "defineProperties");
19636
+ __name(defineProperties4, "defineProperties");
19604
19637
  return function(Constructor, protoProps, staticProps) {
19605
19638
  if (protoProps)
19606
- defineProperties3(Constructor.prototype, protoProps);
19639
+ defineProperties4(Constructor.prototype, protoProps);
19607
19640
  if (staticProps)
19608
- defineProperties3(Constructor, staticProps);
19641
+ defineProperties4(Constructor, staticProps);
19609
19642
  return Constructor;
19610
19643
  };
19611
19644
  }();
@@ -19766,7 +19799,7 @@ var _extends$o = Object.assign || function(target) {
19766
19799
  return target;
19767
19800
  };
19768
19801
  var _createClass$c = /* @__PURE__ */ function() {
19769
- function defineProperties3(target, props) {
19802
+ function defineProperties4(target, props) {
19770
19803
  for (var i = 0; i < props.length; i++) {
19771
19804
  var descriptor2 = props[i];
19772
19805
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -19776,12 +19809,12 @@ var _createClass$c = /* @__PURE__ */ function() {
19776
19809
  Object.defineProperty(target, descriptor2.key, descriptor2);
19777
19810
  }
19778
19811
  }
19779
- __name(defineProperties3, "defineProperties");
19812
+ __name(defineProperties4, "defineProperties");
19780
19813
  return function(Constructor, protoProps, staticProps) {
19781
19814
  if (protoProps)
19782
- defineProperties3(Constructor.prototype, protoProps);
19815
+ defineProperties4(Constructor.prototype, protoProps);
19783
19816
  if (staticProps)
19784
- defineProperties3(Constructor, staticProps);
19817
+ defineProperties4(Constructor, staticProps);
19785
19818
  return Constructor;
19786
19819
  };
19787
19820
  }();
@@ -20372,7 +20405,7 @@ const Methods = /* @__PURE__ */ __name(function(Base) {
20372
20405
  }(Base);
20373
20406
  }, "Methods");
20374
20407
  var _createClass$b = /* @__PURE__ */ function() {
20375
- function defineProperties3(target, props) {
20408
+ function defineProperties4(target, props) {
20376
20409
  for (var i = 0; i < props.length; i++) {
20377
20410
  var descriptor2 = props[i];
20378
20411
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -20382,12 +20415,12 @@ var _createClass$b = /* @__PURE__ */ function() {
20382
20415
  Object.defineProperty(target, descriptor2.key, descriptor2);
20383
20416
  }
20384
20417
  }
20385
- __name(defineProperties3, "defineProperties");
20418
+ __name(defineProperties4, "defineProperties");
20386
20419
  return function(Constructor, protoProps, staticProps) {
20387
20420
  if (protoProps)
20388
- defineProperties3(Constructor.prototype, protoProps);
20421
+ defineProperties4(Constructor.prototype, protoProps);
20389
20422
  if (staticProps)
20390
- defineProperties3(Constructor, staticProps);
20423
+ defineProperties4(Constructor, staticProps);
20391
20424
  return Constructor;
20392
20425
  };
20393
20426
  }();
@@ -21159,7 +21192,7 @@ var _extends$l = Object.assign || function(target) {
21159
21192
  return target;
21160
21193
  };
21161
21194
  var _createClass$a = /* @__PURE__ */ function() {
21162
- function defineProperties3(target, props) {
21195
+ function defineProperties4(target, props) {
21163
21196
  for (var i = 0; i < props.length; i++) {
21164
21197
  var descriptor2 = props[i];
21165
21198
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -21169,12 +21202,12 @@ var _createClass$a = /* @__PURE__ */ function() {
21169
21202
  Object.defineProperty(target, descriptor2.key, descriptor2);
21170
21203
  }
21171
21204
  }
21172
- __name(defineProperties3, "defineProperties");
21205
+ __name(defineProperties4, "defineProperties");
21173
21206
  return function(Constructor, protoProps, staticProps) {
21174
21207
  if (protoProps)
21175
- defineProperties3(Constructor.prototype, protoProps);
21208
+ defineProperties4(Constructor.prototype, protoProps);
21176
21209
  if (staticProps)
21177
- defineProperties3(Constructor, staticProps);
21210
+ defineProperties4(Constructor, staticProps);
21178
21211
  return Constructor;
21179
21212
  };
21180
21213
  }();
@@ -23368,7 +23401,7 @@ function looksLikeAVFileValue(value) {
23368
23401
  __name(looksLikeAVFileValue, "looksLikeAVFileValue");
23369
23402
  const emptyOptions = {};
23370
23403
  function toString$1(value, options) {
23371
- const settings = emptyOptions;
23404
+ const settings = options || emptyOptions;
23372
23405
  const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
23373
23406
  const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
23374
23407
  return one$1(value, includeImageAlt, includeHtml);
@@ -27498,21 +27531,21 @@ function parse$7(options) {
27498
27531
  defined: [],
27499
27532
  lazy: {},
27500
27533
  constructs: constructs2,
27501
- content: create5(content$1),
27502
- document: create5(document$2),
27503
- flow: create5(flow$1),
27504
- string: create5(string$1),
27505
- text: create5(text$3)
27534
+ content: create6(content$1),
27535
+ document: create6(document$2),
27536
+ flow: create6(flow$1),
27537
+ string: create6(string$1),
27538
+ text: create6(text$3)
27506
27539
  };
27507
27540
  return parser;
27508
- function create5(initial) {
27541
+ function create6(initial) {
27509
27542
  return creator;
27510
27543
  function creator(from3) {
27511
27544
  return createTokenizer(parser, initial, from3);
27512
27545
  }
27513
27546
  __name(creator, "creator");
27514
27547
  }
27515
- __name(create5, "create");
27548
+ __name(create6, "create");
27516
27549
  }
27517
27550
  __name(parse$7, "parse$7");
27518
27551
  const search$1 = /[\0\t\n\r]/g;
@@ -27923,10 +27956,10 @@ function compiler(options) {
27923
27956
  return data[key];
27924
27957
  }
27925
27958
  __name(getData, "getData");
27926
- function opener(create5, and) {
27959
+ function opener(create6, and) {
27927
27960
  return open2;
27928
27961
  function open2(token) {
27929
- enter2.call(this, create5(token), token);
27962
+ enter2.call(this, create6(token), token);
27930
27963
  if (and)
27931
27964
  and.call(this, token);
27932
27965
  }
@@ -29564,6 +29597,7 @@ const remarkRehype = (
29564
29597
  return destination && "run" in destination ? bridge(destination, options) : mutate(destination || options);
29565
29598
  }, "remarkRehype")
29566
29599
  );
29600
+ const remarkRehype$1 = remarkRehype;
29567
29601
  function bridge(destination, options) {
29568
29602
  return (node2, file, next) => {
29569
29603
  destination.run(toHast(node2, options), file, (error) => {
@@ -30940,7 +30974,7 @@ function stringify$3(values3) {
30940
30974
  }
30941
30975
  __name(stringify$3, "stringify$3");
30942
30976
  function stringify$2(values3, options) {
30943
- const settings = {};
30977
+ const settings = options || {};
30944
30978
  const input = values3[values3.length - 1] === "" ? [...values3, ""] : values3;
30945
30979
  return input.join(
30946
30980
  (settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
@@ -31361,7 +31395,7 @@ function ReactMarkdown(options) {
31361
31395
  delete deprecated[key];
31362
31396
  }
31363
31397
  }
31364
- const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
31398
+ const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype$1, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
31365
31399
  allowDangerousHtml: true
31366
31400
  })).use(options.rehypePlugins || []).use(rehypeFilter, options);
31367
31401
  const file = new VFile();
@@ -36125,8 +36159,9 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36125
36159
  }
36126
36160
  render() {
36127
36161
  var _b2;
36128
- const _a2 = this.props, {
36162
+ let _a2 = this.props, {
36129
36163
  multi,
36164
+ asTag,
36130
36165
  options,
36131
36166
  unfilteredOptions,
36132
36167
  value,
@@ -36139,6 +36174,10 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36139
36174
  noResultsText,
36140
36175
  noResults: _noResults,
36141
36176
  inputProps,
36177
+ backgroundColor,
36178
+ doNotFillWidth,
36179
+ noToggle,
36180
+ small,
36142
36181
  placeholder,
36143
36182
  isLoading,
36144
36183
  disallowClear,
@@ -36150,6 +36189,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36150
36189
  renderCreateNewOption: _renderCreateNewOption = renderCreateNewOption$1
36151
36190
  } = _a2, rest = __objRest(_a2, [
36152
36191
  "multi",
36192
+ "asTag",
36153
36193
  "options",
36154
36194
  "unfilteredOptions",
36155
36195
  "value",
@@ -36163,6 +36203,10 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36163
36203
  "noResultsText",
36164
36204
  "noResults",
36165
36205
  "inputProps",
36206
+ "backgroundColor",
36207
+ "doNotFillWidth",
36208
+ "noToggle",
36209
+ "small",
36166
36210
  "placeholder",
36167
36211
  "isLoading",
36168
36212
  "disallowClear",
@@ -36173,6 +36217,14 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36173
36217
  "resetOnSelect",
36174
36218
  "renderCreateNewOption"
36175
36219
  ]);
36220
+ if (asTag) {
36221
+ small = true;
36222
+ placeholder = " ";
36223
+ backgroundColor = "red";
36224
+ disallowClear = true;
36225
+ doNotFillWidth = true;
36226
+ noToggle = true;
36227
+ }
36176
36228
  let noResults = _noResults;
36177
36229
  if (noResults === void 0)
36178
36230
  noResults = noResultsDefault;
@@ -36186,7 +36238,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36186
36238
  minimal: true,
36187
36239
  onClick: this.handleClear
36188
36240
  }
36189
- ), noResults !== null && /* @__PURE__ */ React$2.createElement(
36241
+ ), noResults !== null && !noToggle && /* @__PURE__ */ React$2.createElement(
36190
36242
  core$5.Button,
36191
36243
  {
36192
36244
  onClick: (e2) => {
@@ -36210,7 +36262,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36210
36262
  (opt) => opt && opt.value === (value2 && value2.value || value2)
36211
36263
  );
36212
36264
  });
36213
- return /* @__PURE__ */ React$2.createElement(
36265
+ const toRet = /* @__PURE__ */ React$2.createElement(
36214
36266
  select.MultiSelect,
36215
36267
  __spreadValues(__spreadValues({
36216
36268
  onActiveItemChange: this.handleActiveItemChange,
@@ -36224,7 +36276,10 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36224
36276
  captureDismiss: true,
36225
36277
  minimal: true,
36226
36278
  className: classNames("tg-select", "tg-stop-dialog-form-enter", {
36227
- "tg-single-select": !multi
36279
+ "tg-single-select": !multi,
36280
+ "tg-select-as-tag": asTag,
36281
+ "do-not-fill-width": doNotFillWidth,
36282
+ "tg-small": small
36228
36283
  }),
36229
36284
  wrapperTagName: "div",
36230
36285
  canEscapeKeyClose: true,
@@ -36279,6 +36334,23 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36279
36334
  })
36280
36335
  }), rest)
36281
36336
  );
36337
+ if (backgroundColor) {
36338
+ return /* @__PURE__ */ React$2.createElement(
36339
+ "div",
36340
+ {
36341
+ style: {
36342
+ backgroundColor,
36343
+ borderRadius: "4px 4px 4px 4px",
36344
+ overflow: "hidden",
36345
+ width: "fit-content",
36346
+ color: "white",
36347
+ border: "2px solid white"
36348
+ }
36349
+ },
36350
+ toRet
36351
+ );
36352
+ }
36353
+ return toRet;
36282
36354
  }
36283
36355
  };
36284
36356
  __name(_TgSelect, "TgSelect");
@@ -36860,7 +36932,7 @@ var concatty = /* @__PURE__ */ __name(function concatty2(a2, b3) {
36860
36932
  }, "concatty");
36861
36933
  var slicy = /* @__PURE__ */ __name(function slicy2(arrLike, offset4) {
36862
36934
  var arr = [];
36863
- for (var i = offset4, j = 0; i < arrLike.length; i += 1, j += 1) {
36935
+ for (var i = offset4 || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
36864
36936
  arr[j] = arrLike[i];
36865
36937
  }
36866
36938
  return arr;
@@ -36905,11 +36977,11 @@ var implementation$8 = /* @__PURE__ */ __name(function bind(that) {
36905
36977
  }
36906
36978
  bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
36907
36979
  if (target.prototype) {
36908
- var Empty = /* @__PURE__ */ __name(function Empty2() {
36980
+ var Empty2 = /* @__PURE__ */ __name(function Empty3() {
36909
36981
  }, "Empty");
36910
- Empty.prototype = target.prototype;
36911
- bound.prototype = new Empty();
36912
- Empty.prototype = null;
36982
+ Empty2.prototype = target.prototype;
36983
+ bound.prototype = new Empty2();
36984
+ Empty2.prototype = null;
36913
36985
  }
36914
36986
  return bound;
36915
36987
  }, "bind");
@@ -37226,25 +37298,16 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
37226
37298
  return value;
37227
37299
  }, "GetIntrinsic");
37228
37300
  var callBind$3 = { exports: {} };
37229
- var esDefineProperty;
37230
- var hasRequiredEsDefineProperty;
37231
- function requireEsDefineProperty() {
37232
- if (hasRequiredEsDefineProperty)
37233
- return esDefineProperty;
37234
- hasRequiredEsDefineProperty = 1;
37235
- var GetIntrinsic3 = getIntrinsic;
37236
- var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
37237
- if ($defineProperty2) {
37238
- try {
37239
- $defineProperty2({}, "a", { value: 1 });
37240
- } catch (e2) {
37241
- $defineProperty2 = false;
37242
- }
37301
+ var GetIntrinsic$4 = getIntrinsic;
37302
+ var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
37303
+ if ($defineProperty$2) {
37304
+ try {
37305
+ $defineProperty$2({}, "a", { value: 1 });
37306
+ } catch (e2) {
37307
+ $defineProperty$2 = false;
37243
37308
  }
37244
- esDefineProperty = $defineProperty2;
37245
- return esDefineProperty;
37246
37309
  }
37247
- __name(requireEsDefineProperty, "requireEsDefineProperty");
37310
+ var esDefineProperty = $defineProperty$2;
37248
37311
  var GetIntrinsic$3 = getIntrinsic;
37249
37312
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
37250
37313
  if ($gOPD$1) {
@@ -37255,7 +37318,7 @@ if ($gOPD$1) {
37255
37318
  }
37256
37319
  }
37257
37320
  var gopd$1 = $gOPD$1;
37258
- var $defineProperty$1 = requireEsDefineProperty();
37321
+ var $defineProperty$1 = esDefineProperty;
37259
37322
  var $SyntaxError = syntax;
37260
37323
  var $TypeError$4 = type$1;
37261
37324
  var gopd = gopd$1;
@@ -37296,7 +37359,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
37296
37359
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
37297
37360
  }
37298
37361
  }, "defineDataProperty");
37299
- var $defineProperty = requireEsDefineProperty();
37362
+ var $defineProperty = esDefineProperty;
37300
37363
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
37301
37364
  return !!$defineProperty;
37302
37365
  }, "hasPropertyDescriptors");
@@ -37365,7 +37428,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
37365
37428
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
37366
37429
  var $call = GetIntrinsic3("%Function.prototype.call%");
37367
37430
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
37368
- var $defineProperty2 = requireEsDefineProperty();
37431
+ var $defineProperty2 = esDefineProperty;
37369
37432
  var $max = GetIntrinsic3("%Math.max%");
37370
37433
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
37371
37434
  if (typeof originalFunction !== "function") {
@@ -39110,12 +39173,20 @@ function getSubFilter(qb, selectedFilter, filterValue) {
39110
39173
  __name(getSubFilter, "getSubFilter");
39111
39174
  function getCurrentParamsFromUrl(location2, isSimple) {
39112
39175
  let { search: search2 } = location2;
39176
+ if (isSimple) {
39177
+ search2 = window.location.href.split("?")[1] || "";
39178
+ }
39113
39179
  return parseFilters(queryString.parse(search2, { ignoreQueryPrefix: true }));
39114
39180
  }
39115
39181
  __name(getCurrentParamsFromUrl, "getCurrentParamsFromUrl");
39116
39182
  function setCurrentParamsOnUrl(newParams, replace3, isSimple) {
39117
39183
  const stringifiedFilters = stringifyFilters(newParams);
39118
39184
  const search2 = `?${queryString.stringify(stringifiedFilters)}`;
39185
+ if (isSimple) {
39186
+ return window.location.replace(
39187
+ `${window.location.href.split("?")[0]}${search2}`
39188
+ );
39189
+ }
39119
39190
  replace3({
39120
39191
  search: search2
39121
39192
  });
@@ -41261,7 +41332,7 @@ var _extends$f = Object.assign || function(target) {
41261
41332
  return target;
41262
41333
  };
41263
41334
  var _createClass$9 = /* @__PURE__ */ function() {
41264
- function defineProperties3(target, props) {
41335
+ function defineProperties4(target, props) {
41265
41336
  for (var i = 0; i < props.length; i++) {
41266
41337
  var descriptor2 = props[i];
41267
41338
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -41271,12 +41342,12 @@ var _createClass$9 = /* @__PURE__ */ function() {
41271
41342
  Object.defineProperty(target, descriptor2.key, descriptor2);
41272
41343
  }
41273
41344
  }
41274
- __name(defineProperties3, "defineProperties");
41345
+ __name(defineProperties4, "defineProperties");
41275
41346
  return function(Constructor, protoProps, staticProps) {
41276
41347
  if (protoProps)
41277
- defineProperties3(Constructor.prototype, protoProps);
41348
+ defineProperties4(Constructor.prototype, protoProps);
41278
41349
  if (staticProps)
41279
- defineProperties3(Constructor, staticProps);
41350
+ defineProperties4(Constructor, staticProps);
41280
41351
  return Constructor;
41281
41352
  };
41282
41353
  }();
@@ -41418,7 +41489,7 @@ var Alpha = function(_ref) {
41418
41489
  return Alpha2;
41419
41490
  }(React$2.PureComponent || React$2.Component);
41420
41491
  var _createClass$8 = /* @__PURE__ */ function() {
41421
- function defineProperties3(target, props) {
41492
+ function defineProperties4(target, props) {
41422
41493
  for (var i = 0; i < props.length; i++) {
41423
41494
  var descriptor2 = props[i];
41424
41495
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -41428,12 +41499,12 @@ var _createClass$8 = /* @__PURE__ */ function() {
41428
41499
  Object.defineProperty(target, descriptor2.key, descriptor2);
41429
41500
  }
41430
41501
  }
41431
- __name(defineProperties3, "defineProperties");
41502
+ __name(defineProperties4, "defineProperties");
41432
41503
  return function(Constructor, protoProps, staticProps) {
41433
41504
  if (protoProps)
41434
- defineProperties3(Constructor.prototype, protoProps);
41505
+ defineProperties4(Constructor.prototype, protoProps);
41435
41506
  if (staticProps)
41436
- defineProperties3(Constructor, staticProps);
41507
+ defineProperties4(Constructor, staticProps);
41437
41508
  return Constructor;
41438
41509
  };
41439
41510
  }();
@@ -41666,7 +41737,7 @@ var calculateChange$1 = /* @__PURE__ */ __name(function calculateChange2(e2, dir
41666
41737
  return null;
41667
41738
  }, "calculateChange");
41668
41739
  var _createClass$7 = /* @__PURE__ */ function() {
41669
- function defineProperties3(target, props) {
41740
+ function defineProperties4(target, props) {
41670
41741
  for (var i = 0; i < props.length; i++) {
41671
41742
  var descriptor2 = props[i];
41672
41743
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -41676,12 +41747,12 @@ var _createClass$7 = /* @__PURE__ */ function() {
41676
41747
  Object.defineProperty(target, descriptor2.key, descriptor2);
41677
41748
  }
41678
41749
  }
41679
- __name(defineProperties3, "defineProperties");
41750
+ __name(defineProperties4, "defineProperties");
41680
41751
  return function(Constructor, protoProps, staticProps) {
41681
41752
  if (protoProps)
41682
- defineProperties3(Constructor.prototype, protoProps);
41753
+ defineProperties4(Constructor.prototype, protoProps);
41683
41754
  if (staticProps)
41684
- defineProperties3(Constructor, staticProps);
41755
+ defineProperties4(Constructor, staticProps);
41685
41756
  return Constructor;
41686
41757
  };
41687
41758
  }();
@@ -41918,7 +41989,7 @@ var calculateChange3 = /* @__PURE__ */ __name(function calculateChange4(e2, hsl,
41918
41989
  };
41919
41990
  }, "calculateChange");
41920
41991
  var _createClass$6 = /* @__PURE__ */ function() {
41921
- function defineProperties3(target, props) {
41992
+ function defineProperties4(target, props) {
41922
41993
  for (var i = 0; i < props.length; i++) {
41923
41994
  var descriptor2 = props[i];
41924
41995
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -41928,12 +41999,12 @@ var _createClass$6 = /* @__PURE__ */ function() {
41928
41999
  Object.defineProperty(target, descriptor2.key, descriptor2);
41929
42000
  }
41930
42001
  }
41931
- __name(defineProperties3, "defineProperties");
42002
+ __name(defineProperties4, "defineProperties");
41932
42003
  return function(Constructor, protoProps, staticProps) {
41933
42004
  if (protoProps)
41934
- defineProperties3(Constructor.prototype, protoProps);
42005
+ defineProperties4(Constructor.prototype, protoProps);
41935
42006
  if (staticProps)
41936
- defineProperties3(Constructor, staticProps);
42007
+ defineProperties4(Constructor, staticProps);
41937
42008
  return Constructor;
41938
42009
  };
41939
42010
  }();
@@ -43171,7 +43242,7 @@ var _extends$e = Object.assign || function(target) {
43171
43242
  return target;
43172
43243
  };
43173
43244
  var _createClass$5 = /* @__PURE__ */ function() {
43174
- function defineProperties3(target, props) {
43245
+ function defineProperties4(target, props) {
43175
43246
  for (var i = 0; i < props.length; i++) {
43176
43247
  var descriptor2 = props[i];
43177
43248
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -43181,12 +43252,12 @@ var _createClass$5 = /* @__PURE__ */ function() {
43181
43252
  Object.defineProperty(target, descriptor2.key, descriptor2);
43182
43253
  }
43183
43254
  }
43184
- __name(defineProperties3, "defineProperties");
43255
+ __name(defineProperties4, "defineProperties");
43185
43256
  return function(Constructor, protoProps, staticProps) {
43186
43257
  if (protoProps)
43187
- defineProperties3(Constructor.prototype, protoProps);
43258
+ defineProperties4(Constructor.prototype, protoProps);
43188
43259
  if (staticProps)
43189
- defineProperties3(Constructor, staticProps);
43260
+ defineProperties4(Constructor, staticProps);
43190
43261
  return Constructor;
43191
43262
  };
43192
43263
  }();
@@ -43283,7 +43354,7 @@ var _extends$d = Object.assign || function(target) {
43283
43354
  return target;
43284
43355
  };
43285
43356
  var _createClass$4 = /* @__PURE__ */ function() {
43286
- function defineProperties3(target, props) {
43357
+ function defineProperties4(target, props) {
43287
43358
  for (var i = 0; i < props.length; i++) {
43288
43359
  var descriptor2 = props[i];
43289
43360
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -43293,12 +43364,12 @@ var _createClass$4 = /* @__PURE__ */ function() {
43293
43364
  Object.defineProperty(target, descriptor2.key, descriptor2);
43294
43365
  }
43295
43366
  }
43296
- __name(defineProperties3, "defineProperties");
43367
+ __name(defineProperties4, "defineProperties");
43297
43368
  return function(Constructor, protoProps, staticProps) {
43298
43369
  if (protoProps)
43299
- defineProperties3(Constructor.prototype, protoProps);
43370
+ defineProperties4(Constructor.prototype, protoProps);
43300
43371
  if (staticProps)
43301
- defineProperties3(Constructor, staticProps);
43372
+ defineProperties4(Constructor, staticProps);
43302
43373
  return Constructor;
43303
43374
  };
43304
43375
  }();
@@ -43779,7 +43850,7 @@ var _default$3 = UnfoldMoreHorizontalIcon.default = function(_ref) {
43779
43850
  );
43780
43851
  };
43781
43852
  var _createClass$3 = /* @__PURE__ */ function() {
43782
- function defineProperties3(target, props) {
43853
+ function defineProperties4(target, props) {
43783
43854
  for (var i = 0; i < props.length; i++) {
43784
43855
  var descriptor2 = props[i];
43785
43856
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -43789,12 +43860,12 @@ var _createClass$3 = /* @__PURE__ */ function() {
43789
43860
  Object.defineProperty(target, descriptor2.key, descriptor2);
43790
43861
  }
43791
43862
  }
43792
- __name(defineProperties3, "defineProperties");
43863
+ __name(defineProperties4, "defineProperties");
43793
43864
  return function(Constructor, protoProps, staticProps) {
43794
43865
  if (protoProps)
43795
- defineProperties3(Constructor.prototype, protoProps);
43866
+ defineProperties4(Constructor.prototype, protoProps);
43796
43867
  if (staticProps)
43797
- defineProperties3(Constructor, staticProps);
43868
+ defineProperties4(Constructor, staticProps);
43798
43869
  return Constructor;
43799
43870
  };
43800
43871
  }();
@@ -45204,7 +45275,7 @@ var PhotoshopPreviews = /* @__PURE__ */ __name(function PhotoshopPreviews2(_ref)
45204
45275
  );
45205
45276
  }, "PhotoshopPreviews");
45206
45277
  var _createClass$2 = /* @__PURE__ */ function() {
45207
- function defineProperties3(target, props) {
45278
+ function defineProperties4(target, props) {
45208
45279
  for (var i = 0; i < props.length; i++) {
45209
45280
  var descriptor2 = props[i];
45210
45281
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -45214,12 +45285,12 @@ var _createClass$2 = /* @__PURE__ */ function() {
45214
45285
  Object.defineProperty(target, descriptor2.key, descriptor2);
45215
45286
  }
45216
45287
  }
45217
- __name(defineProperties3, "defineProperties");
45288
+ __name(defineProperties4, "defineProperties");
45218
45289
  return function(Constructor, protoProps, staticProps) {
45219
45290
  if (protoProps)
45220
- defineProperties3(Constructor.prototype, protoProps);
45291
+ defineProperties4(Constructor.prototype, protoProps);
45221
45292
  if (staticProps)
45222
- defineProperties3(Constructor, staticProps);
45293
+ defineProperties4(Constructor, staticProps);
45223
45294
  return Constructor;
45224
45295
  };
45225
45296
  }();
@@ -49170,6 +49241,9 @@ function resolvePathname(to, from3) {
49170
49241
  __name(resolvePathname, "resolvePathname");
49171
49242
  var prefix$2 = "Invariant failed";
49172
49243
  function invariant$2(condition, message) {
49244
+ if (condition) {
49245
+ return;
49246
+ }
49173
49247
  {
49174
49248
  throw new Error(prefix$2);
49175
49249
  }
@@ -49217,7 +49291,7 @@ function createLocation(path2, state2, key, currentLocation) {
49217
49291
  } else {
49218
49292
  location2.hash = "";
49219
49293
  }
49220
- if (location2.state === void 0)
49294
+ if (state2 !== void 0 && location2.state === void 0)
49221
49295
  location2.state = state2;
49222
49296
  }
49223
49297
  try {
@@ -49229,6 +49303,8 @@ function createLocation(path2, state2, key, currentLocation) {
49229
49303
  throw e2;
49230
49304
  }
49231
49305
  }
49306
+ if (key)
49307
+ location2.key = key;
49232
49308
  if (currentLocation) {
49233
49309
  if (!location2.pathname) {
49234
49310
  location2.pathname = currentLocation.pathname;
@@ -49350,6 +49426,7 @@ Link.contextTypes = {
49350
49426
  }).isRequired
49351
49427
  }).isRequired
49352
49428
  };
49429
+ const Link$1 = Link;
49353
49430
  var pathToRegexp$2 = { exports: {} };
49354
49431
  var isarray$1 = Array.isArray || function(arr) {
49355
49432
  return Object.prototype.toString.call(arr) == "[object Array]";
@@ -49796,6 +49873,7 @@ Route.contextTypes = {
49796
49873
  Route.childContextTypes = {
49797
49874
  router: PropTypes.object.isRequired
49798
49875
  };
49876
+ const Route$1 = Route;
49799
49877
  var REACT_STATICS = {
49800
49878
  childContextTypes: true,
49801
49879
  contextTypes: true,
@@ -49877,7 +49955,7 @@ __name(_objectWithoutProperties$3, "_objectWithoutProperties$3");
49877
49955
  var withRouter = /* @__PURE__ */ __name(function withRouter2(Component) {
49878
49956
  var C = /* @__PURE__ */ __name(function C2(props) {
49879
49957
  var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutProperties$3(props, ["wrappedComponentRef"]);
49880
- return React$2.createElement(Route, {
49958
+ return React$2.createElement(Route$1, {
49881
49959
  children: /* @__PURE__ */ __name(function children(routeComponentProps) {
49882
49960
  return React$2.createElement(Component, _extends$3({}, remainingProps, routeComponentProps, {
49883
49961
  ref: wrappedComponentRef
@@ -49892,6 +49970,7 @@ var withRouter = /* @__PURE__ */ __name(function withRouter2(Component) {
49892
49970
  };
49893
49971
  return hoistStatics(C, Component);
49894
49972
  }, "withRouter");
49973
+ const withRouter$1 = withRouter;
49895
49974
  const isEq$1 = /* @__PURE__ */ __name((o1, o2) => {
49896
49975
  const isEq2 = isEqualWith(o1, o2, function(val1, val2) {
49897
49976
  if (isFunction$6(val1) && isFunction$6(val2)) {
@@ -49959,8 +50038,12 @@ function getTableConfigFromStorage(formName) {
49959
50038
  __name(getTableConfigFromStorage, "getTableConfigFromStorage");
49960
50039
  function withTableParams(compOrOpts, pTopLevelOpts) {
49961
50040
  let topLevelOptions;
49962
- {
50041
+ let Component;
50042
+ if (!pTopLevelOpts) {
49963
50043
  topLevelOptions = compOrOpts;
50044
+ } else {
50045
+ topLevelOptions = pTopLevelOpts;
50046
+ Component = compOrOpts;
49964
50047
  }
49965
50048
  const { isLocalCall } = topLevelOptions;
49966
50049
  const mapStateToProps2 = /* @__PURE__ */ __name((state2, ownProps) => {
@@ -50182,11 +50265,14 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
50182
50265
  }),
50183
50266
  branch((props) => {
50184
50267
  return !props.noRouter;
50185
- }, withRouter),
50268
+ }, withRouter$1),
50186
50269
  reactRedux.connect(mapStateToProps2, mapDispatchToProps2, mergeProps),
50187
50270
  pure$1,
50188
50271
  addFormTracking
50189
50272
  );
50273
+ if (Component) {
50274
+ return toReturn(Component);
50275
+ }
50190
50276
  return toReturn;
50191
50277
  }
50192
50278
  __name(withTableParams, "withTableParams");
@@ -51097,7 +51183,7 @@ const _DataTable = class _DataTable extends React$2.Component {
51097
51183
  const { schema: schema2 } = this.props;
51098
51184
  const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
51099
51185
  const validationErrors = {};
51100
- const newEnts = fn3(entities, (entities2) => {
51186
+ const newEnts = immer(entities, (entities2) => {
51101
51187
  entities2.forEach((e2, index2) => {
51102
51188
  editableFields.forEach((columnSchema) => {
51103
51189
  if (useDefaultValues) {
@@ -54651,7 +54737,7 @@ function MatchHeaders({
54651
54737
  }),
54652
54738
  onChange: (val2) => {
54653
54739
  setFilesWIssues(
54654
- fn3(filesWIssues, (files) => {
54740
+ immer(filesWIssues, (files) => {
54655
54741
  files.forEach((f2, i2) => {
54656
54742
  const isCurrentFile = fileIndex === i2;
54657
54743
  if (isCurrentFile || doAllFilesHaveSameHeaders) {
@@ -56611,7 +56697,7 @@ const UploadCsvWizardDialogInner = compose(
56611
56697
  }, hasSubmitted && {
56612
56698
  onBackClick: onBackClick || (() => {
56613
56699
  setSteps(
56614
- fn3(steps, (draft) => {
56700
+ immer(steps, (draft) => {
56615
56701
  draft[0].active = true;
56616
56702
  draft[0].completed = false;
56617
56703
  draft[1].active = false;
@@ -56624,7 +56710,7 @@ const UploadCsvWizardDialogInner = compose(
56624
56710
  return __async(this, null, function* () {
56625
56711
  if (!hasSubmitted) {
56626
56712
  setSteps(
56627
- fn3(steps, (draft) => {
56713
+ immer(steps, (draft) => {
56628
56714
  draft[0].active = false;
56629
56715
  draft[0].completed = true;
56630
56716
  draft[1].active = true;
@@ -59476,8 +59562,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
59476
59562
  var q2 = false;
59477
59563
  function J(e3, t3, r3, n3) {
59478
59564
  P2(e3, (s2 << 1) + (n3 ? 1 : 0), 3), function(e4, t4, r4, n4) {
59479
- M2(e4), U2(e4, r4), U2(e4, ~r4), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
59480
- }(e3, t3, r3);
59565
+ M2(e4), n4 && (U2(e4, r4), U2(e4, ~r4)), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
59566
+ }(e3, t3, r3, true);
59481
59567
  }
59482
59568
  __name(J, "J");
59483
59569
  r2._tr_init = function(e3) {
@@ -65379,7 +65465,7 @@ function _createForOfIteratorHelperLoose$4(o2, allowArrayLike) {
65379
65465
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
65380
65466
  if (it)
65381
65467
  return (it = it.call(o2)).next.bind(it);
65382
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike) {
65468
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
65383
65469
  if (it)
65384
65470
  o2 = it;
65385
65471
  var i = 0;
@@ -65732,7 +65818,7 @@ function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
65732
65818
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
65733
65819
  if (it)
65734
65820
  return (it = it.call(o2)).next.bind(it);
65735
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike) {
65821
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
65736
65822
  if (it)
65737
65823
  o2 = it;
65738
65824
  var i = 0;
@@ -66028,7 +66114,7 @@ function _createForOfIteratorHelperLoose$2(o2, allowArrayLike) {
66028
66114
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
66029
66115
  if (it)
66030
66116
  return (it = it.call(o2)).next.bind(it);
66031
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike) {
66117
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
66032
66118
  if (it)
66033
66119
  o2 = it;
66034
66120
  var i = 0;
@@ -66114,7 +66200,7 @@ function _createForOfIteratorHelperLoose$1(o2, allowArrayLike) {
66114
66200
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
66115
66201
  if (it)
66116
66202
  return (it = it.call(o2)).next.bind(it);
66117
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike) {
66203
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
66118
66204
  if (it)
66119
66205
  o2 = it;
66120
66206
  var i = 0;
@@ -66215,7 +66301,7 @@ function _createForOfIteratorHelperLoose(o2, allowArrayLike) {
66215
66301
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
66216
66302
  if (it)
66217
66303
  return (it = it.call(o2)).next.bind(it);
66218
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike) {
66304
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
66219
66305
  if (it)
66220
66306
  o2 = it;
66221
66307
  var i = 0;
@@ -66852,7 +66938,7 @@ function UploaderInner({
66852
66938
  ) : /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, "Accepts ", simpleAccept)
66853
66939
  ),
66854
66940
  /* @__PURE__ */ React$2.createElement(
66855
- Dropzone,
66941
+ Dropzone$1,
66856
66942
  __spreadValues(__spreadValues({
66857
66943
  disabled: dropzoneDisabled,
66858
66944
  onClick: (evt) => evt.preventDefault(),
@@ -67665,7 +67751,7 @@ function _getRequireWildcardCache$1(nodeInterop) {
67665
67751
  }
67666
67752
  __name(_getRequireWildcardCache$1, "_getRequireWildcardCache$1");
67667
67753
  function _interopRequireWildcard$1(obj, nodeInterop) {
67668
- if (obj && obj.__esModule) {
67754
+ if (!nodeInterop && obj && obj.__esModule) {
67669
67755
  return obj;
67670
67756
  }
67671
67757
  if (obj === null || _typeof$1(obj) !== "object" && typeof obj !== "function") {
@@ -68090,7 +68176,7 @@ function _getRequireWildcardCache(nodeInterop) {
68090
68176
  }
68091
68177
  __name(_getRequireWildcardCache, "_getRequireWildcardCache");
68092
68178
  function _interopRequireWildcard(obj, nodeInterop) {
68093
- if (obj && obj.__esModule) {
68179
+ if (!nodeInterop && obj && obj.__esModule) {
68094
68180
  return obj;
68095
68181
  }
68096
68182
  if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
@@ -68204,6 +68290,8 @@ __name(_defineProperties$1, "_defineProperties$1");
68204
68290
  function _createClass$1(Constructor, protoProps, staticProps) {
68205
68291
  if (protoProps)
68206
68292
  _defineProperties$1(Constructor.prototype, protoProps);
68293
+ if (staticProps)
68294
+ _defineProperties$1(Constructor, staticProps);
68207
68295
  Object.defineProperty(Constructor, "prototype", { writable: false });
68208
68296
  return Constructor;
68209
68297
  }
@@ -68685,7 +68773,7 @@ _defineProperty$3(DraggableCore$1, "defaultProps", {
68685
68773
  }
68686
68774
  __name(_getRequireWildcardCache2, "_getRequireWildcardCache");
68687
68775
  function _interopRequireWildcard2(obj, nodeInterop) {
68688
- if (obj && obj.__esModule) {
68776
+ if (!nodeInterop && obj && obj.__esModule) {
68689
68777
  return obj;
68690
68778
  }
68691
68779
  if (obj === null || _typeof4(obj) !== "object" && typeof obj !== "function") {
@@ -69467,7 +69555,7 @@ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
69467
69555
  this.cache[key] = value;
69468
69556
  };
69469
69557
  var cacheDefault = {
69470
- create: /* @__PURE__ */ __name(function create3() {
69558
+ create: /* @__PURE__ */ __name(function create4() {
69471
69559
  return new ObjectWithoutPrototypeCache();
69472
69560
  }, "create")
69473
69561
  };
@@ -70799,7 +70887,7 @@ function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
70799
70887
  e2.target.closest(`.${core$5.Classes.POPOVER_DISMISS}`).click();
70800
70888
  }, "handleLinkClick");
70801
70889
  return /* @__PURE__ */ React$2.createElement("li", { className: core$5.Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(
70802
- Link,
70890
+ Link$1,
70803
70891
  {
70804
70892
  onClick: handleLinkClick,
70805
70893
  to: navTo,
@@ -70823,7 +70911,7 @@ const EnhancedMenuItem = compose(
70823
70911
  willUnmount({ className });
70824
70912
  }
70825
70913
  }),
70826
- branch(({ navTo }) => navTo, withRouter)
70914
+ branch(({ navTo }) => navTo, withRouter$1)
70827
70915
  )(function(_o) {
70828
70916
  var _p = _o, {
70829
70917
  navTo,
@@ -73217,7 +73305,7 @@ function trimRangeByAnotherRange(rangeToBeTrimmed, trimmingRange, sequenceLength
73217
73305
  }
73218
73306
  }
73219
73307
  if (outputTrimmedRange) {
73220
- return assignIn({}, rangeToBeTrimmed, {
73308
+ return extend$2({}, rangeToBeTrimmed, {
73221
73309
  start: outputTrimmedRange.start,
73222
73310
  end: outputTrimmedRange.end
73223
73311
  });
@@ -73802,6 +73890,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
73802
73890
  );
73803
73891
  if (!rangeBlocked) {
73804
73892
  yOffset = index2;
73893
+ if (assignYOffsetToRange)
73894
+ range2.yOffset = index2;
73805
73895
  rangesAlreadyAddedToYOffset.push(range2);
73806
73896
  return true;
73807
73897
  }
@@ -73810,6 +73900,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
73810
73900
  );
73811
73901
  if (!openYOffsetFound) {
73812
73902
  yOffset = YOffsetLevelsWithRanges.length;
73903
+ if (assignYOffsetToRange)
73904
+ range2.yOffset = YOffsetLevelsWithRanges.length;
73813
73905
  }
73814
73906
  return yOffset;
73815
73907
  }
@@ -74579,7 +74671,7 @@ __name(requireEmpty, "requireEmpty");
74579
74671
  }
74580
74672
  }, "classCallCheck");
74581
74673
  var createClass2 = /* @__PURE__ */ function() {
74582
- function defineProperties3(target, props) {
74674
+ function defineProperties4(target, props) {
74583
74675
  for (var i = 0; i < props.length; i++) {
74584
74676
  var descriptor2 = props[i];
74585
74677
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -74589,12 +74681,12 @@ __name(requireEmpty, "requireEmpty");
74589
74681
  Object.defineProperty(target, descriptor2.key, descriptor2);
74590
74682
  }
74591
74683
  }
74592
- __name(defineProperties3, "defineProperties");
74684
+ __name(defineProperties4, "defineProperties");
74593
74685
  return function(Constructor, protoProps, staticProps) {
74594
74686
  if (protoProps)
74595
- defineProperties3(Constructor.prototype, protoProps);
74687
+ defineProperties4(Constructor.prototype, protoProps);
74596
74688
  if (staticProps)
74597
- defineProperties3(Constructor, staticProps);
74689
+ defineProperties4(Constructor, staticProps);
74598
74690
  return Constructor;
74599
74691
  };
74600
74692
  }();
@@ -78409,10 +78501,10 @@ __name(requireEmpty, "requireEmpty");
78409
78501
  return value;
78410
78502
  }
78411
78503
  __name(dateReviver, "dateReviver");
78412
- function create5(options) {
78504
+ function create6(options) {
78413
78505
  return new DiffPatcher(options);
78414
78506
  }
78415
- __name(create5, "create");
78507
+ __name(create6, "create");
78416
78508
  var defaultInstance$4 = void 0;
78417
78509
  function diff() {
78418
78510
  if (!defaultInstance$4) {
@@ -78452,7 +78544,7 @@ __name(requireEmpty, "requireEmpty");
78452
78544
  exports3.DiffPatcher = DiffPatcher;
78453
78545
  exports3.formatters = index2;
78454
78546
  exports3.console = console$1;
78455
- exports3.create = create5;
78547
+ exports3.create = create6;
78456
78548
  exports3.dateReviver = dateReviver;
78457
78549
  exports3.diff = diff;
78458
78550
  exports3.patch = patch2;
@@ -87921,7 +88013,7 @@ function getSequenceDataBetweenRange(seqData, range2, options = {}) {
87921
88013
  annotationTypes.forEach((type2) => {
87922
88014
  delete seqDataToUse[`filtered${startCase(type2)}`];
87923
88015
  });
87924
- const seqDataToReturn = assignIn(
88016
+ const seqDataToReturn = extend$2(
87925
88017
  {},
87926
88018
  seqDataToUse,
87927
88019
  {
@@ -87989,7 +88081,7 @@ function getAnnotationsBetweenRange(annotationsToBeAdjusted, range2, maxLength,
87989
88081
  }
87990
88082
  const overlaps = getZeroedRangeOverlaps(annotation, range2, maxLength).map(
87991
88083
  (overlap) => {
87992
- return assignIn({}, annotation, overlap);
88084
+ return extend$2({}, annotation, overlap);
87993
88085
  }
87994
88086
  );
87995
88087
  if (shouldExcludePartial) {
@@ -95376,12 +95468,14 @@ var buffer$2 = {};
95376
95468
  if (value > max2 || value < min2) {
95377
95469
  const n2 = typeof min2 === "bigint" ? "n" : "";
95378
95470
  let range2;
95379
- {
95471
+ if (byteLength3 > 3) {
95380
95472
  if (min2 === 0 || min2 === BigInt(0)) {
95381
95473
  range2 = `>= 0${n2} and < 2${n2} ** ${(byteLength3 + 1) * 8}${n2}`;
95382
95474
  } else {
95383
95475
  range2 = `>= -(2${n2} ** ${(byteLength3 + 1) * 8 - 1}${n2}) and < 2 ** ${(byteLength3 + 1) * 8 - 1}${n2}`;
95384
95476
  }
95477
+ } else {
95478
+ range2 = `>= ${min2}${n2} and <= ${max2}${n2}`;
95385
95479
  }
95386
95480
  throw new errors.ERR_OUT_OF_RANGE("value", range2, value);
95387
95481
  }
@@ -95397,14 +95491,14 @@ var buffer$2 = {};
95397
95491
  function boundsError(value, length, type2) {
95398
95492
  if (Math.floor(value) !== value) {
95399
95493
  validateNumber(value, type2);
95400
- throw new errors.ERR_OUT_OF_RANGE("offset", "an integer", value);
95494
+ throw new errors.ERR_OUT_OF_RANGE(type2 || "offset", "an integer", value);
95401
95495
  }
95402
95496
  if (length < 0) {
95403
95497
  throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();
95404
95498
  }
95405
95499
  throw new errors.ERR_OUT_OF_RANGE(
95406
- "offset",
95407
- `>= ${0} and <= ${length}`,
95500
+ type2 || "offset",
95501
+ `>= ${type2 ? 1 : 0} and <= ${length}`,
95408
95502
  value
95409
95503
  );
95410
95504
  }
@@ -96009,6 +96103,8 @@ function requireBuffer_list() {
96009
96103
  function _createClass2(Constructor, protoProps, staticProps) {
96010
96104
  if (protoProps)
96011
96105
  _defineProperties2(Constructor.prototype, protoProps);
96106
+ if (staticProps)
96107
+ _defineProperties2(Constructor, staticProps);
96012
96108
  Object.defineProperty(Constructor, "prototype", { writable: false });
96013
96109
  return Constructor;
96014
96110
  }
@@ -96378,7 +96474,7 @@ function requireErrorsBrowser() {
96378
96474
  }
96379
96475
  __name(oneOf, "oneOf");
96380
96476
  function startsWith2(str, search2, pos) {
96381
- return str.substr(0, search2.length) === search2;
96477
+ return str.substr(!pos || pos < 0 ? 0 : +pos, search2.length) === search2;
96382
96478
  }
96383
96479
  __name(startsWith2, "startsWith");
96384
96480
  function endsWith2(str, search2, this_len) {
@@ -99893,10 +99989,16 @@ function unzipSync(data, opts2) {
99893
99989
  o2 = b4(data, ze + 48);
99894
99990
  }
99895
99991
  }
99992
+ var fltr = opts2 && opts2.filter;
99896
99993
  for (var i = 0; i < c2; ++i) {
99897
99994
  var _a2 = zh(data, o2, z2), c_2 = _a2[0], sc = _a2[1], su = _a2[2], fn4 = _a2[3], no = _a2[4], off2 = _a2[5], b3 = slzh(data, off2);
99898
99995
  o2 = no;
99899
- {
99996
+ if (!fltr || fltr({
99997
+ name: fn4,
99998
+ size: sc,
99999
+ originalSize: su,
100000
+ compression: c_2
100001
+ })) {
99900
100002
  if (!c_2)
99901
100003
  files[fn4] = slc(data, b3, b3 + sc);
99902
100004
  else if (c_2 == 8)
@@ -102097,7 +102199,7 @@ const reducer$1 = createReducer(
102097
102199
  return payload.filter((group) => group.length);
102098
102200
  },
102099
102201
  [flipActiveTabFromLinearOrCircularIfNecessary]: (state2, setCircActive) => {
102100
- const newState = fn3(state2, (s2) => {
102202
+ const newState = immer(state2, (s2) => {
102101
102203
  s2.forEach((g2) => {
102102
102204
  flipActiveForGroup(g2, setCircActive);
102103
102205
  });
@@ -102872,7 +102974,7 @@ var defineProperty$2 = /* @__PURE__ */ __name(function(object3, name2, value, pr
102872
102974
  defineDataProperty2(object3, name2, value);
102873
102975
  }
102874
102976
  }, "defineProperty$2");
102875
- var defineProperties2 = /* @__PURE__ */ __name(function(object3, map3) {
102977
+ var defineProperties3 = /* @__PURE__ */ __name(function(object3, map3) {
102876
102978
  var predicates = arguments.length > 2 ? arguments[2] : {};
102877
102979
  var props = keys$1(map3);
102878
102980
  if (hasSymbols2) {
@@ -102882,8 +102984,8 @@ var defineProperties2 = /* @__PURE__ */ __name(function(object3, map3) {
102882
102984
  defineProperty$2(object3, props[i], map3[props[i]], predicates[props[i]]);
102883
102985
  }
102884
102986
  }, "defineProperties");
102885
- defineProperties2.supportsDescriptors = !!supportsDescriptors$2;
102886
- var defineProperties_1 = defineProperties2;
102987
+ defineProperties3.supportsDescriptors = !!supportsDescriptors$2;
102988
+ var defineProperties_1 = defineProperties3;
102887
102989
  var numberIsNaN = /* @__PURE__ */ __name(function(value) {
102888
102990
  return value !== value;
102889
102991
  }, "numberIsNaN");
@@ -103768,6 +103870,7 @@ function createThunkMiddleware(extraArgument) {
103768
103870
  __name(createThunkMiddleware, "createThunkMiddleware");
103769
103871
  var thunk = createThunkMiddleware();
103770
103872
  thunk.withExtraArgument = createThunkMiddleware;
103873
+ const thunk$1 = thunk;
103771
103874
  const makeStore = /* @__PURE__ */ __name(() => {
103772
103875
  const composeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
103773
103876
  name: "createVectorEditor",
@@ -103785,7 +103888,7 @@ const makeStore = /* @__PURE__ */ __name(() => {
103785
103888
  }),
103786
103889
  void 0,
103787
103890
  composeEnhancer(
103788
- redux.applyMiddleware(thunk, vectorEditorMiddleware)
103891
+ redux.applyMiddleware(thunk$1, vectorEditorMiddleware)
103789
103892
  //your store should be redux-thunk connected for the VectorEditor component to work
103790
103893
  )
103791
103894
  );
@@ -106887,7 +106990,7 @@ var parse$1 = /* @__PURE__ */ __name(function parse2(raw2) {
106887
106990
  return 0;
106888
106991
  }
106889
106992
  var result = Number(value);
106890
- !!isNaN(result) ? invariant$2() : void 0;
106993
+ !!isNaN(result) ? invariant$2(false) : void 0;
106891
106994
  return result;
106892
106995
  }, "parse2");
106893
106996
  var getWindowScroll$1 = /* @__PURE__ */ __name(function getWindowScroll2() {
@@ -107060,6 +107163,9 @@ RbdInvariant.prototype.toString = /* @__PURE__ */ __name(function toString3() {
107060
107163
  return this.message;
107061
107164
  }, "toString");
107062
107165
  function invariant$1(condition, message) {
107166
+ if (condition) {
107167
+ return;
107168
+ }
107063
107169
  {
107064
107170
  throw new RbdInvariant(prefix$1);
107065
107171
  }
@@ -107312,7 +107418,7 @@ var getSubject = /* @__PURE__ */ __name((_ref) => {
107312
107418
  };
107313
107419
  }, "getSubject");
107314
107420
  var scrollDroppable = /* @__PURE__ */ __name((droppable2, newScroll) => {
107315
- !droppable2.frame ? invariant$1() : void 0;
107421
+ !droppable2.frame ? invariant$1(false) : void 0;
107316
107422
  const scrollable = droppable2.frame;
107317
107423
  const scrollDiff = subtract(newScroll, scrollable.scroll.initial);
107318
107424
  const scrollDisplacement = negate(scrollDiff);
@@ -107410,7 +107516,7 @@ var moveToNextCombine = /* @__PURE__ */ __name((_ref) => {
107410
107516
  return getImpact(last2.descriptor.id);
107411
107517
  }
107412
107518
  const indexOfClosest = withoutDraggable.findIndex((d2) => d2.descriptor.id === closestId);
107413
- !(indexOfClosest !== -1) ? invariant$1() : void 0;
107519
+ !(indexOfClosest !== -1) ? invariant$1(false) : void 0;
107414
107520
  const proposedIndex = indexOfClosest - 1;
107415
107521
  if (proposedIndex < 0) {
107416
107522
  return null;
@@ -107745,7 +107851,7 @@ var moveToNextIndex = /* @__PURE__ */ __name((_ref) => {
107745
107851
  afterCritical
107746
107852
  } = _ref;
107747
107853
  const wasAt = previousImpact.at;
107748
- !wasAt ? invariant$1() : void 0;
107854
+ !wasAt ? invariant$1(false) : void 0;
107749
107855
  if (wasAt.type === "REORDER") {
107750
107856
  const newIndex2 = fromReorder({
107751
107857
  isMovingForward,
@@ -107807,7 +107913,7 @@ var whenCombining = /* @__PURE__ */ __name((_ref) => {
107807
107913
  draggables
107808
107914
  } = _ref;
107809
107915
  const combine22 = tryGetCombine(impact);
107810
- !combine22 ? invariant$1() : void 0;
107916
+ !combine22 ? invariant$1(false) : void 0;
107811
107917
  const combineWith = combine22.draggableId;
107812
107918
  const center = draggables[combineWith].page.borderBox.center;
107813
107919
  const displaceBy = getCombinedItemDisplacement({
@@ -108152,7 +108258,7 @@ var moveToNextPlace = /* @__PURE__ */ __name((_ref) => {
108152
108258
  }, "moveToNextPlace");
108153
108259
  const getKnownActive = /* @__PURE__ */ __name((droppable2) => {
108154
108260
  const rect = droppable2.subject.active;
108155
- !rect ? invariant$1() : void 0;
108261
+ !rect ? invariant$1(false) : void 0;
108156
108262
  return rect;
108157
108263
  }, "getKnownActive");
108158
108264
  var getBestCrossAxisDroppable = /* @__PURE__ */ __name((_ref) => {
@@ -108275,8 +108381,8 @@ const withMaxScroll = /* @__PURE__ */ __name((frame, max2) => __spreadProps(__sp
108275
108381
  }), "withMaxScroll");
108276
108382
  const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggables) => {
108277
108383
  const frame = droppable2.frame;
108278
- !!isHomeOf(draggable2, droppable2) ? invariant$1() : void 0;
108279
- !!droppable2.subject.withPlaceholder ? invariant$1() : void 0;
108384
+ !!isHomeOf(draggable2, droppable2) ? invariant$1(false) : void 0;
108385
+ !!droppable2.subject.withPlaceholder ? invariant$1(false) : void 0;
108280
108386
  const placeholderSize = getDisplacedBy(droppable2.axis, draggable2.displaceBy).point;
108281
108387
  const requiredGrowth = getRequiredGrowthForPlaceholder(droppable2, placeholderSize, draggables);
108282
108388
  const added = {
@@ -108310,7 +108416,7 @@ const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggable
108310
108416
  }, "addPlaceholder");
108311
108417
  const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
108312
108418
  const added = droppable2.subject.withPlaceholder;
108313
- !added ? invariant$1() : void 0;
108419
+ !added ? invariant$1(false) : void 0;
108314
108420
  const frame = droppable2.frame;
108315
108421
  if (!frame) {
108316
108422
  const subject2 = getSubject({
@@ -108324,7 +108430,7 @@ const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
108324
108430
  });
108325
108431
  }
108326
108432
  const oldMaxScroll = added.oldFrameMaxScroll;
108327
- !oldMaxScroll ? invariant$1() : void 0;
108433
+ !oldMaxScroll ? invariant$1(false) : void 0;
108328
108434
  const newFrame = withMaxScroll(frame, oldMaxScroll);
108329
108435
  const subject = getSubject({
108330
108436
  page: droppable2.subject.page,
@@ -108955,7 +109061,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
108955
109061
  dimensions: forcedDimensions,
108956
109062
  viewport: forcedViewport
108957
109063
  } = _ref;
108958
- !(state2.movementMode === "SNAP") ? invariant$1() : void 0;
109064
+ !(state2.movementMode === "SNAP") ? invariant$1(false) : void 0;
108959
109065
  const needsVisibilityCheck = state2.impact;
108960
109066
  const viewport2 = forcedViewport || state2.viewport;
108961
109067
  const dimensions = forcedDimensions || state2.dimensions;
@@ -108965,7 +109071,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
108965
109071
  } = dimensions;
108966
109072
  const draggable2 = draggables[state2.critical.draggable.id];
108967
109073
  const isOver = whatIsDraggedOver(needsVisibilityCheck);
108968
- !isOver ? invariant$1() : void 0;
109074
+ !isOver ? invariant$1(false) : void 0;
108969
109075
  const destination = droppables[isOver];
108970
109076
  const impact = recompute({
108971
109077
  impact: needsVisibilityCheck,
@@ -109003,7 +109109,7 @@ var getLiftEffect = /* @__PURE__ */ __name((_ref) => {
109003
109109
  const displacedBy = getDisplacedBy(home2.axis, draggable2.displaceBy);
109004
109110
  const insideHome = getDraggablesInsideDroppable(home2.descriptor.id, draggables);
109005
109111
  const rawIndex = insideHome.indexOf(draggable2);
109006
- !(rawIndex !== -1) ? invariant$1() : void 0;
109112
+ !(rawIndex !== -1) ? invariant$1(false) : void 0;
109007
109113
  const afterDragging = insideHome.slice(rawIndex + 1);
109008
109114
  const effected = afterDragging.reduce((previous2, item) => {
109009
109115
  previous2[item.descriptor.id] = true;
@@ -109058,7 +109164,7 @@ var offsetDraggable = /* @__PURE__ */ __name((_ref) => {
109058
109164
  }, "offsetDraggable");
109059
109165
  var getFrame = /* @__PURE__ */ __name((droppable2) => {
109060
109166
  const frame = droppable2.frame;
109061
- !frame ? invariant$1() : void 0;
109167
+ !frame ? invariant$1(false) : void 0;
109062
109168
  return frame;
109063
109169
  }, "getFrame");
109064
109170
  var adjustAdditionsForScrollChanges = /* @__PURE__ */ __name((_ref) => {
@@ -109185,7 +109291,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109185
109291
  });
109186
109292
  }
109187
109293
  if (action2.type === "INITIAL_PUBLISH") {
109188
- !(state2.phase === "IDLE") ? invariant$1() : void 0;
109294
+ !(state2.phase === "IDLE") ? invariant$1(false) : void 0;
109189
109295
  const {
109190
109296
  critical,
109191
109297
  clientSelection,
@@ -109240,14 +109346,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109240
109346
  if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
109241
109347
  return state2;
109242
109348
  }
109243
- !(state2.phase === "DRAGGING") ? invariant$1() : void 0;
109349
+ !(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
109244
109350
  const result = __spreadProps(__spreadValues({}, state2), {
109245
109351
  phase: "COLLECTING"
109246
109352
  });
109247
109353
  return result;
109248
109354
  }
109249
109355
  if (action2.type === "PUBLISH_WHILE_DRAGGING") {
109250
- !(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
109356
+ !(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
109251
109357
  return publishWhileDraggingInVirtual({
109252
109358
  state: state2,
109253
109359
  published: action2.payload
@@ -109257,7 +109363,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109257
109363
  if (state2.phase === "DROP_PENDING") {
109258
109364
  return state2;
109259
109365
  }
109260
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109366
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109261
109367
  const {
109262
109368
  client: clientSelection
109263
109369
  } = action2.payload;
@@ -109277,7 +109383,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109277
109383
  if (state2.phase === "COLLECTING") {
109278
109384
  return removeScrollJumpRequest(state2);
109279
109385
  }
109280
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109386
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109281
109387
  const {
109282
109388
  id: id2,
109283
109389
  newScroll
@@ -109293,14 +109399,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109293
109399
  if (state2.phase === "DROP_PENDING") {
109294
109400
  return state2;
109295
109401
  }
109296
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109402
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109297
109403
  const {
109298
109404
  id: id2,
109299
109405
  isEnabled
109300
109406
  } = action2.payload;
109301
109407
  const target = state2.dimensions.droppables[id2];
109302
- !target ? invariant$1() : void 0;
109303
- !(target.isEnabled !== isEnabled) ? invariant$1() : void 0;
109408
+ !target ? invariant$1(false) : void 0;
109409
+ !(target.isEnabled !== isEnabled) ? invariant$1(false) : void 0;
109304
109410
  const updated = __spreadProps(__spreadValues({}, target), {
109305
109411
  isEnabled
109306
109412
  });
@@ -109310,14 +109416,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109310
109416
  if (state2.phase === "DROP_PENDING") {
109311
109417
  return state2;
109312
109418
  }
109313
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109419
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109314
109420
  const {
109315
109421
  id: id2,
109316
109422
  isCombineEnabled
109317
109423
  } = action2.payload;
109318
109424
  const target = state2.dimensions.droppables[id2];
109319
- !target ? invariant$1() : void 0;
109320
- !(target.isCombineEnabled !== isCombineEnabled) ? invariant$1() : void 0;
109425
+ !target ? invariant$1(false) : void 0;
109426
+ !(target.isCombineEnabled !== isCombineEnabled) ? invariant$1(false) : void 0;
109321
109427
  const updated = __spreadProps(__spreadValues({}, target), {
109322
109428
  isCombineEnabled
109323
109429
  });
@@ -109327,8 +109433,8 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109327
109433
  if (state2.phase === "DROP_PENDING" || state2.phase === "DROP_ANIMATING") {
109328
109434
  return state2;
109329
109435
  }
109330
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109331
- !state2.isWindowScrollAllowed ? invariant$1() : void 0;
109436
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109437
+ !state2.isWindowScrollAllowed ? invariant$1(false) : void 0;
109332
109438
  const newScroll = action2.payload.newScroll;
109333
109439
  if (isEqual$1(state2.viewport.scroll.current, newScroll)) {
109334
109440
  return removeScrollJumpRequest(state2);
@@ -109366,7 +109472,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109366
109472
  if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
109367
109473
  return state2;
109368
109474
  }
109369
- !(state2.phase === "DRAGGING") ? invariant$1() : void 0;
109475
+ !(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
109370
109476
  const result = moveInDirection({
109371
109477
  state: state2,
109372
109478
  type: action2.type
@@ -109383,7 +109489,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109383
109489
  }
109384
109490
  if (action2.type === "DROP_PENDING") {
109385
109491
  const reason = action2.payload.reason;
109386
- !(state2.phase === "COLLECTING") ? invariant$1() : void 0;
109492
+ !(state2.phase === "COLLECTING") ? invariant$1(false) : void 0;
109387
109493
  const newState = __spreadProps(__spreadValues({}, state2), {
109388
109494
  phase: "DROP_PENDING",
109389
109495
  isWaiting: true,
@@ -109397,7 +109503,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109397
109503
  dropDuration,
109398
109504
  newHomeClientOffset
109399
109505
  } = action2.payload;
109400
- !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
109506
+ !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
109401
109507
  const result = {
109402
109508
  phase: "DROP_ANIMATING",
109403
109509
  completed,
@@ -109524,7 +109630,7 @@ var lift = /* @__PURE__ */ __name((marshal) => (_ref) => {
109524
109630
  completed: initial.completed
109525
109631
  }));
109526
109632
  }
109527
- !(getState2().phase === "IDLE") ? invariant$1() : void 0;
109633
+ !(getState2().phase === "IDLE") ? invariant$1(false) : void 0;
109528
109634
  dispatch(flush());
109529
109635
  dispatch(beforeInitialCapture({
109530
109636
  draggableId: id2,
@@ -109715,8 +109821,8 @@ const dropMiddleware = /* @__PURE__ */ __name((_ref) => {
109715
109821
  return;
109716
109822
  }
109717
109823
  const isWaitingForDrop = state2.phase === "DROP_PENDING" && state2.isWaiting;
109718
- !!isWaitingForDrop ? invariant$1() : void 0;
109719
- !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
109824
+ !!isWaitingForDrop ? invariant$1(false) : void 0;
109825
+ !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
109720
109826
  const critical = state2.critical;
109721
109827
  const dimensions = state2.dimensions;
109722
109828
  const draggable2 = dimensions.draggables[state2.critical.draggable.id];
@@ -109817,12 +109923,12 @@ function getScrollListener(_ref) {
109817
109923
  }
109818
109924
  __name(isActive2, "isActive2");
109819
109925
  function start2() {
109820
- !!isActive2() ? invariant$1() : void 0;
109926
+ !!isActive2() ? invariant$1(false) : void 0;
109821
109927
  unbind2 = bindEvents(window, [binding]);
109822
109928
  }
109823
109929
  __name(start2, "start2");
109824
109930
  function stop() {
109825
- !isActive2() ? invariant$1() : void 0;
109931
+ !isActive2() ? invariant$1(false) : void 0;
109826
109932
  scheduled.cancel();
109827
109933
  unbind2();
109828
109934
  unbind2 = noop$2;
@@ -109879,7 +109985,7 @@ var getAsyncMarshal = /* @__PURE__ */ __name(() => {
109879
109985
  const entries2 = [];
109880
109986
  const execute2 = /* @__PURE__ */ __name((timerId) => {
109881
109987
  const index2 = entries2.findIndex((item) => item.timerId === timerId);
109882
- !(index2 !== -1) ? invariant$1() : void 0;
109988
+ !(index2 !== -1) ? invariant$1(false) : void 0;
109883
109989
  const [entry] = entries2.splice(index2, 1);
109884
109990
  entry.callback();
109885
109991
  }, "execute2");
@@ -109964,7 +110070,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
109964
110070
  const asyncMarshal = getAsyncMarshal();
109965
110071
  let dragging = null;
109966
110072
  const beforeCapture = /* @__PURE__ */ __name((draggableId, mode) => {
109967
- !!dragging ? invariant$1() : void 0;
110073
+ !!dragging ? invariant$1(false) : void 0;
109968
110074
  withTimings("onBeforeCapture", () => {
109969
110075
  const fn4 = getResponders().onBeforeCapture;
109970
110076
  if (fn4) {
@@ -109977,7 +110083,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
109977
110083
  });
109978
110084
  }, "beforeCapture");
109979
110085
  const beforeStart = /* @__PURE__ */ __name((critical, mode) => {
109980
- !!dragging ? invariant$1() : void 0;
110086
+ !!dragging ? invariant$1(false) : void 0;
109981
110087
  withTimings("onBeforeDragStart", () => {
109982
110088
  const fn4 = getResponders().onBeforeDragStart;
109983
110089
  if (fn4) {
@@ -109986,7 +110092,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
109986
110092
  });
109987
110093
  }, "beforeStart");
109988
110094
  const start2 = /* @__PURE__ */ __name((critical, mode) => {
109989
- !!dragging ? invariant$1() : void 0;
110095
+ !!dragging ? invariant$1(false) : void 0;
109990
110096
  const data = getDragStart(critical, mode);
109991
110097
  dragging = {
109992
110098
  mode,
@@ -110001,7 +110107,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
110001
110107
  const update2 = /* @__PURE__ */ __name((critical, impact) => {
110002
110108
  const location2 = tryGetDestination(impact);
110003
110109
  const combine22 = tryGetCombine(impact);
110004
- !dragging ? invariant$1() : void 0;
110110
+ !dragging ? invariant$1(false) : void 0;
110005
110111
  const hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical);
110006
110112
  if (hasCriticalChanged) {
110007
110113
  dragging.lastCritical = critical;
@@ -110026,11 +110132,11 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
110026
110132
  });
110027
110133
  }, "update2");
110028
110134
  const flush2 = /* @__PURE__ */ __name(() => {
110029
- !dragging ? invariant$1() : void 0;
110135
+ !dragging ? invariant$1(false) : void 0;
110030
110136
  asyncMarshal.flush();
110031
110137
  }, "flush2");
110032
110138
  const drop2 = /* @__PURE__ */ __name((result) => {
110033
- !dragging ? invariant$1() : void 0;
110139
+ !dragging ? invariant$1(false) : void 0;
110034
110140
  dragging = null;
110035
110141
  withTimings("onDragEnd", () => execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd));
110036
110142
  }, "drop2");
@@ -110093,7 +110199,7 @@ const dropAnimationFinishMiddleware = /* @__PURE__ */ __name((store2) => (next)
110093
110199
  return;
110094
110200
  }
110095
110201
  const state2 = store2.getState();
110096
- !(state2.phase === "DROP_ANIMATING") ? invariant$1() : void 0;
110202
+ !(state2.phase === "DROP_ANIMATING") ? invariant$1(false) : void 0;
110097
110203
  store2.dispatch(completeDrop({
110098
110204
  completed: state2.completed
110099
110205
  }));
@@ -110187,7 +110293,7 @@ var autoScroll = /* @__PURE__ */ __name((autoScroller) => (store2) => (next) =>
110187
110293
  if (action2.type === "INITIAL_PUBLISH") {
110188
110294
  next(action2);
110189
110295
  const state2 = store2.getState();
110190
- !(state2.phase === "DRAGGING") ? invariant$1() : void 0;
110296
+ !(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
110191
110297
  autoScroller.start(state2);
110192
110298
  return;
110193
110299
  }
@@ -110337,7 +110443,7 @@ var getMaxScroll = /* @__PURE__ */ __name((_ref) => {
110337
110443
  }, "getMaxScroll");
110338
110444
  var getDocumentElement = /* @__PURE__ */ __name(() => {
110339
110445
  const doc = document.documentElement;
110340
- !doc ? invariant$1() : void 0;
110446
+ !doc ? invariant$1(false) : void 0;
110341
110447
  return doc;
110342
110448
  }, "getDocumentElement");
110343
110449
  var getMaxWindowScroll = /* @__PURE__ */ __name(() => {
@@ -110426,7 +110532,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110426
110532
  registry
110427
110533
  });
110428
110534
  const updateDroppableIsEnabled2 = /* @__PURE__ */ __name((id2, isEnabled) => {
110429
- !registry.droppable.exists(id2) ? invariant$1() : void 0;
110535
+ !registry.droppable.exists(id2) ? invariant$1(false) : void 0;
110430
110536
  if (!collection) {
110431
110537
  return;
110432
110538
  }
@@ -110439,7 +110545,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110439
110545
  if (!collection) {
110440
110546
  return;
110441
110547
  }
110442
- !registry.droppable.exists(id2) ? invariant$1() : void 0;
110548
+ !registry.droppable.exists(id2) ? invariant$1(false) : void 0;
110443
110549
  callbacks.updateDroppableIsCombineEnabled({
110444
110550
  id: id2,
110445
110551
  isCombineEnabled
@@ -110449,7 +110555,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110449
110555
  if (!collection) {
110450
110556
  return;
110451
110557
  }
110452
- !registry.droppable.exists(id2) ? invariant$1() : void 0;
110558
+ !registry.droppable.exists(id2) ? invariant$1(false) : void 0;
110453
110559
  callbacks.updateDroppableScroll({
110454
110560
  id: id2,
110455
110561
  newScroll
@@ -110472,7 +110578,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110472
110578
  collection = null;
110473
110579
  }, "stopPublishing");
110474
110580
  const subscriber = /* @__PURE__ */ __name((event) => {
110475
- !collection ? invariant$1() : void 0;
110581
+ !collection ? invariant$1(false) : void 0;
110476
110582
  const dragging = collection.critical.draggable;
110477
110583
  if (event.type === "ADDITION") {
110478
110584
  if (shouldPublishUpdate(registry, dragging, event.value)) {
@@ -110486,7 +110592,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110486
110592
  }
110487
110593
  }, "subscriber");
110488
110594
  const startPublishing = /* @__PURE__ */ __name((request) => {
110489
- !!collection ? invariant$1() : void 0;
110595
+ !!collection ? invariant$1(false) : void 0;
110490
110596
  const entry = registry.draggable.getById(request.draggableId);
110491
110597
  const home2 = registry.droppable.getById(entry.descriptor.droppableId);
110492
110598
  const critical = {
@@ -110540,7 +110646,7 @@ const getScrollableDroppables = memoizeOne((droppables) => toDroppableList(dropp
110540
110646
  }));
110541
110647
  const getScrollableDroppableOver = /* @__PURE__ */ __name((target, droppables) => {
110542
110648
  const maybe = getScrollableDroppables(droppables).find((droppable2) => {
110543
- !droppable2.frame ? invariant$1() : void 0;
110649
+ !droppable2.frame ? invariant$1(false) : void 0;
110544
110650
  return isPositionInFrame(droppable2.frame.pageMarginBox)(target);
110545
110651
  }) || null;
110546
110652
  return maybe;
@@ -110959,7 +111065,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
110959
111065
  const scheduleDroppableScroll = rafSchd(scrollDroppable2);
110960
111066
  let dragging = null;
110961
111067
  const tryScroll = /* @__PURE__ */ __name((state2) => {
110962
- !dragging ? invariant$1() : void 0;
111068
+ !dragging ? invariant$1(false) : void 0;
110963
111069
  const {
110964
111070
  shouldUseTimeDampening,
110965
111071
  dragStartTime
@@ -110974,7 +111080,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
110974
111080
  });
110975
111081
  }, "tryScroll");
110976
111082
  const start$1 = /* @__PURE__ */ __name((state2) => {
110977
- !!dragging ? invariant$1() : void 0;
111083
+ !!dragging ? invariant$1(false) : void 0;
110978
111084
  const dragStartTime = Date.now();
110979
111085
  let wasScrollNeeded = false;
110980
111086
  const fakeScrollCallback = /* @__PURE__ */ __name(() => {
@@ -111059,7 +111165,7 @@ var createJumpScroller = /* @__PURE__ */ __name((_ref) => {
111059
111165
  return;
111060
111166
  }
111061
111167
  const destination = whatIsDraggedOver(state2.impact);
111062
- !destination ? invariant$1() : void 0;
111168
+ !destination ? invariant$1(false) : void 0;
111063
111169
  const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination], request);
111064
111170
  if (!droppableRemainder) {
111065
111171
  return;
@@ -111215,7 +111321,7 @@ const useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window
111215
111321
  var useLayoutEffect = useIsomorphicLayoutEffect;
111216
111322
  const getHead = /* @__PURE__ */ __name(() => {
111217
111323
  const head = document.querySelector("head");
111218
- !head ? invariant$1() : void 0;
111324
+ !head ? invariant$1(false) : void 0;
111219
111325
  return head;
111220
111326
  }, "getHead");
111221
111327
  const createStyleEl = /* @__PURE__ */ __name((nonce) => {
@@ -111233,18 +111339,18 @@ function useStyleMarshal(contextId, nonce) {
111233
111339
  const setDynamicStyle = useCallback(
111234
111340
  memoizeOne((proposed) => {
111235
111341
  const el = dynamicRef.current;
111236
- !el ? invariant$1() : void 0;
111342
+ !el ? invariant$1(false) : void 0;
111237
111343
  el.textContent = proposed;
111238
111344
  }),
111239
111345
  []
111240
111346
  );
111241
111347
  const setAlwaysStyle = useCallback((proposed) => {
111242
111348
  const el = alwaysRef.current;
111243
- !el ? invariant$1() : void 0;
111349
+ !el ? invariant$1(false) : void 0;
111244
111350
  el.textContent = proposed;
111245
111351
  }, []);
111246
111352
  useLayoutEffect(() => {
111247
- !(!alwaysRef.current && !dynamicRef.current) ? invariant$1() : void 0;
111353
+ !(!alwaysRef.current && !dynamicRef.current) ? invariant$1(false) : void 0;
111248
111354
  const always = createStyleEl(nonce);
111249
111355
  const dynamic = createStyleEl(nonce);
111250
111356
  alwaysRef.current = always;
@@ -111258,7 +111364,7 @@ function useStyleMarshal(contextId, nonce) {
111258
111364
  return () => {
111259
111365
  const remove3 = /* @__PURE__ */ __name((ref2) => {
111260
111366
  const current = ref2.current;
111261
- !current ? invariant$1() : void 0;
111367
+ !current ? invariant$1(false) : void 0;
111262
111368
  getHead().removeChild(current);
111263
111369
  ref2.current = null;
111264
111370
  }, "remove");
@@ -111422,7 +111528,7 @@ function createRegistry() {
111422
111528
  __name(findDraggableById, "findDraggableById");
111423
111529
  function getDraggableById(id2) {
111424
111530
  const entry = findDraggableById(id2);
111425
- !entry ? invariant$1() : void 0;
111531
+ !entry ? invariant$1(false) : void 0;
111426
111532
  return entry;
111427
111533
  }
111428
111534
  __name(getDraggableById, "getDraggableById");
@@ -111473,7 +111579,7 @@ function createRegistry() {
111473
111579
  __name(findDroppableById, "findDroppableById");
111474
111580
  function getDroppableById(id2) {
111475
111581
  const entry = findDroppableById(id2);
111476
- !entry ? invariant$1() : void 0;
111582
+ !entry ? invariant$1(false) : void 0;
111477
111583
  return entry;
111478
111584
  }
111479
111585
  __name(getDroppableById, "getDroppableById");
@@ -111527,7 +111633,7 @@ __name(useRegistry, "useRegistry");
111527
111633
  var StoreContext = React$2.createContext(null);
111528
111634
  var getBodyElement = /* @__PURE__ */ __name(() => {
111529
111635
  const body = document.body;
111530
- !body ? invariant$1() : void 0;
111636
+ !body ? invariant$1(false) : void 0;
111531
111637
  return body;
111532
111638
  }, "getBodyElement");
111533
111639
  const visuallyHidden = {
@@ -111641,7 +111747,7 @@ function usePrevious(current) {
111641
111747
  return ref2;
111642
111748
  }
111643
111749
  __name(usePrevious, "usePrevious");
111644
- function create4() {
111750
+ function create5() {
111645
111751
  let lock = null;
111646
111752
  function isClaimed() {
111647
111753
  return Boolean(lock);
@@ -111652,7 +111758,7 @@ function create4() {
111652
111758
  }
111653
111759
  __name(isActive2, "isActive2");
111654
111760
  function claim(abandon) {
111655
- !!lock ? invariant$1() : void 0;
111761
+ !!lock ? invariant$1(false) : void 0;
111656
111762
  const newLock = {
111657
111763
  abandon
111658
111764
  };
@@ -111661,7 +111767,7 @@ function create4() {
111661
111767
  }
111662
111768
  __name(claim, "claim");
111663
111769
  function release() {
111664
- !lock ? invariant$1() : void 0;
111770
+ !lock ? invariant$1(false) : void 0;
111665
111771
  lock = null;
111666
111772
  }
111667
111773
  __name(release, "release");
@@ -111680,7 +111786,7 @@ function create4() {
111680
111786
  tryAbandon
111681
111787
  };
111682
111788
  }
111683
- __name(create4, "create");
111789
+ __name(create5, "create");
111684
111790
  function isDragging(state2) {
111685
111791
  if (state2.phase === "IDLE" || state2.phase === "DROP_ANIMATING") {
111686
111792
  return false;
@@ -111757,7 +111863,7 @@ function getCaptureBindings(_ref) {
111757
111863
  phase.actions.move(point2);
111758
111864
  return;
111759
111865
  }
111760
- !(phase.type === "PENDING") ? invariant$1() : void 0;
111866
+ !(phase.type === "PENDING") ? invariant$1(false) : void 0;
111761
111867
  const pending = phase.point;
111762
111868
  if (!isSloppyClickThresholdExceeded(pending, point2)) {
111763
111869
  return;
@@ -111830,7 +111936,7 @@ function getCaptureBindings(_ref) {
111830
111936
  eventName: "webkitmouseforcedown",
111831
111937
  fn: (event) => {
111832
111938
  const phase = getPhase();
111833
- !(phase.type !== "IDLE") ? invariant$1() : void 0;
111939
+ !(phase.type !== "IDLE") ? invariant$1(false) : void 0;
111834
111940
  if (phase.actions.shouldRespectForcePress()) {
111835
111941
  cancel();
111836
111942
  return;
@@ -111953,7 +112059,7 @@ function useMouseSensor(api) {
111953
112059
  unbindEventsRef.current = bindEvents(window, bindings, options);
111954
112060
  }, "bindCapturingEvents2"), [cancel, stop]);
111955
112061
  const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
111956
- !(phaseRef.current.type === "IDLE") ? invariant$1() : void 0;
112062
+ !(phaseRef.current.type === "IDLE") ? invariant$1(false) : void 0;
111957
112063
  phaseRef.current = {
111958
112064
  type: "PENDING",
111959
112065
  point: point2,
@@ -112095,7 +112201,7 @@ function useKeyboardSensor(api) {
112095
112201
  const actions2 = preDrag.snapLift();
112096
112202
  unbindEventsRef.current();
112097
112203
  function stop() {
112098
- !isCapturing ? invariant$1() : void 0;
112204
+ !isCapturing ? invariant$1(false) : void 0;
112099
112205
  isCapturing = false;
112100
112206
  unbindEventsRef.current();
112101
112207
  listenForCapture();
@@ -112230,7 +112336,7 @@ function getHandleBindings(_ref2) {
112230
112336
  eventName: "touchforcechange",
112231
112337
  fn: (event) => {
112232
112338
  const phase = getPhase();
112233
- !(phase.type !== "IDLE") ? invariant$1() : void 0;
112339
+ !(phase.type !== "IDLE") ? invariant$1(false) : void 0;
112234
112340
  const touch = event.touches[0];
112235
112341
  if (!touch) {
112236
112342
  return;
@@ -112359,7 +112465,7 @@ function useTouchSensor(api) {
112359
112465
  }, "bindCapturingEvents2"), [cancel, getPhase, stop]);
112360
112466
  const startDragging = useCallback(/* @__PURE__ */ __name(function startDragging2() {
112361
112467
  const phase = getPhase();
112362
- !(phase.type === "PENDING") ? invariant$1() : void 0;
112468
+ !(phase.type === "PENDING") ? invariant$1(false) : void 0;
112363
112469
  const actions2 = phase.actions.fluidLift(phase.point);
112364
112470
  setPhase({
112365
112471
  type: "DRAGGING",
@@ -112368,7 +112474,7 @@ function useTouchSensor(api) {
112368
112474
  });
112369
112475
  }, "startDragging2"), [getPhase, setPhase]);
112370
112476
  const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
112371
- !(getPhase().type === "IDLE") ? invariant$1() : void 0;
112477
+ !(getPhase().type === "IDLE") ? invariant$1(false) : void 0;
112372
112478
  const longPressTimerId = setTimeout(startDragging, timeForLongPress);
112373
112479
  setPhase({
112374
112480
  type: "PENDING",
@@ -112604,7 +112710,7 @@ function tryStart(_ref3) {
112604
112710
  __name(completed, "completed");
112605
112711
  if (phase !== "PRE_DRAG") {
112606
112712
  completed();
112607
- invariant$1();
112713
+ invariant$1(false);
112608
112714
  }
112609
112715
  store2.dispatch(lift$1(args.liftActionArgs));
112610
112716
  phase = "DRAGGING";
@@ -112723,7 +112829,7 @@ function useSensorMarshal(_ref4) {
112723
112829
  enableDefaultSensors
112724
112830
  } = _ref4;
112725
112831
  const useSensors = [...enableDefaultSensors ? defaultSensors : [], ...customSensors || []];
112726
- const lockAPI = React$2.useState(() => create4())[0];
112832
+ const lockAPI = React$2.useState(() => create5())[0];
112727
112833
  const tryAbandonLock = useCallback(/* @__PURE__ */ __name(function tryAbandonLock2(previous2, current) {
112728
112834
  if (isDragging(previous2) && !isDragging(current)) {
112729
112835
  lockAPI.tryAbandon();
@@ -112808,7 +112914,7 @@ const createAutoScrollerOptions = /* @__PURE__ */ __name((props) => __spreadProp
112808
112914
  durationDampening: __spreadValues(__spreadValues({}, defaultAutoScrollerOptions.durationDampening), props.autoScrollerOptions)
112809
112915
  }), "createAutoScrollerOptions");
112810
112916
  function getStore(lazyRef) {
112811
- !lazyRef.current ? invariant$1() : void 0;
112917
+ !lazyRef.current ? invariant$1(false) : void 0;
112812
112918
  return lazyRef.current;
112813
112919
  }
112814
112920
  __name(getStore, "getStore");
@@ -113053,7 +113159,7 @@ function useDraggablePublisher(args) {
113053
113159
  }), [canDragInteractiveElements, isEnabled, shouldRespectForcePress]);
113054
113160
  const getDimension2 = useCallback((windowScroll) => {
113055
113161
  const el = getDraggableRef();
113056
- !el ? invariant$1() : void 0;
113162
+ !el ? invariant$1(false) : void 0;
113057
113163
  return getDimension$1(descriptor2, el, windowScroll);
113058
113164
  }, [descriptor2, getDraggableRef]);
113059
113165
  const entry = useMemo(() => ({
@@ -113082,7 +113188,7 @@ __name(useDraggablePublisher, "useDraggablePublisher");
113082
113188
  var DroppableContext = React$2.createContext(null);
113083
113189
  function useRequiredContext(Context) {
113084
113190
  const result = React$2.useContext(Context);
113085
- !result ? invariant$1() : void 0;
113191
+ !result ? invariant$1(false) : void 0;
113086
113192
  return result;
113087
113193
  }
113088
113194
  __name(useRequiredContext, "useRequiredContext");
@@ -113646,7 +113752,7 @@ function useDroppablePublisher(args) {
113646
113752
  }), [args.droppableId, args.mode, args.type]);
113647
113753
  const publishedDescriptorRef = React$2.useRef(descriptor2);
113648
113754
  const memoizedUpdateScroll = useMemo(() => memoizeOne((x, y2) => {
113649
- !whileDraggingRef.current ? invariant$1() : void 0;
113755
+ !whileDraggingRef.current ? invariant$1(false) : void 0;
113650
113756
  const scroll3 = {
113651
113757
  x,
113652
113758
  y: y2
@@ -113668,7 +113774,7 @@ function useDroppablePublisher(args) {
113668
113774
  const onClosestScroll = useCallback(() => {
113669
113775
  const dragging = whileDraggingRef.current;
113670
113776
  const closest2 = getClosestScrollableFromDrag(dragging);
113671
- !(dragging && closest2) ? invariant$1() : void 0;
113777
+ !(dragging && closest2) ? invariant$1(false) : void 0;
113672
113778
  const options = dragging.scrollOptions;
113673
113779
  if (options.shouldPublishImmediately) {
113674
113780
  updateScroll();
@@ -113677,10 +113783,10 @@ function useDroppablePublisher(args) {
113677
113783
  scheduleScrollUpdate();
113678
113784
  }, [scheduleScrollUpdate, updateScroll]);
113679
113785
  const getDimensionAndWatchScroll = useCallback((windowScroll, options) => {
113680
- !!whileDraggingRef.current ? invariant$1() : void 0;
113786
+ !!whileDraggingRef.current ? invariant$1(false) : void 0;
113681
113787
  const previous2 = previousRef.current;
113682
113788
  const ref2 = previous2.getDroppableRef();
113683
- !ref2 ? invariant$1() : void 0;
113789
+ !ref2 ? invariant$1(false) : void 0;
113684
113790
  const env = getEnv(ref2);
113685
113791
  const dragging = {
113686
113792
  ref: ref2,
@@ -113709,12 +113815,12 @@ function useDroppablePublisher(args) {
113709
113815
  const getScrollWhileDragging = useCallback(() => {
113710
113816
  const dragging = whileDraggingRef.current;
113711
113817
  const closest2 = getClosestScrollableFromDrag(dragging);
113712
- !(dragging && closest2) ? invariant$1() : void 0;
113818
+ !(dragging && closest2) ? invariant$1(false) : void 0;
113713
113819
  return getScroll$2(closest2);
113714
113820
  }, []);
113715
113821
  const dragStopped = useCallback(() => {
113716
113822
  const dragging = whileDraggingRef.current;
113717
- !dragging ? invariant$1() : void 0;
113823
+ !dragging ? invariant$1(false) : void 0;
113718
113824
  const closest2 = getClosestScrollableFromDrag(dragging);
113719
113825
  whileDraggingRef.current = null;
113720
113826
  if (!closest2) {
@@ -113730,9 +113836,9 @@ function useDroppablePublisher(args) {
113730
113836
  }, [onClosestScroll, scheduleScrollUpdate]);
113731
113837
  const scroll2 = useCallback((change) => {
113732
113838
  const dragging = whileDraggingRef.current;
113733
- !dragging ? invariant$1() : void 0;
113839
+ !dragging ? invariant$1(false) : void 0;
113734
113840
  const closest2 = getClosestScrollableFromDrag(dragging);
113735
- !closest2 ? invariant$1() : void 0;
113841
+ !closest2 ? invariant$1(false) : void 0;
113736
113842
  closest2.scrollTop += change.y;
113737
113843
  closest2.scrollLeft += change.x;
113738
113844
  }, []);
@@ -113942,7 +114048,7 @@ __name(_AnimateInOut, "AnimateInOut");
113942
114048
  let AnimateInOut = _AnimateInOut;
113943
114049
  const Droppable = /* @__PURE__ */ __name((props) => {
113944
114050
  const appContext = React$2.useContext(AppContext);
113945
- !appContext ? invariant$1() : void 0;
114051
+ !appContext ? invariant$1(false) : void 0;
113946
114052
  const {
113947
114053
  contextId,
113948
114054
  isMovementAllowed: isMovementAllowed2
@@ -114161,7 +114267,7 @@ const mapDispatchToProps = {
114161
114267
  updateViewportMaxScroll
114162
114268
  };
114163
114269
  function getBody() {
114164
- !document.body ? invariant$1() : void 0;
114270
+ !document.body ? invariant$1(false) : void 0;
114165
114271
  return document.body;
114166
114272
  }
114167
114273
  __name(getBody, "getBody");
@@ -114253,6 +114359,8 @@ var clipboard = { exports: {} };
114253
114359
  function _createClass2(Constructor, protoProps, staticProps) {
114254
114360
  if (protoProps)
114255
114361
  _defineProperties2(Constructor.prototype, protoProps);
114362
+ if (staticProps)
114363
+ _defineProperties2(Constructor, staticProps);
114256
114364
  return Constructor;
114257
114365
  }
114258
114366
  __name(_createClass2, "_createClass");
@@ -120891,7 +120999,7 @@ function showFileDialog({ multiple = false, onSelect }) {
120891
120999
  }
120892
121000
  __name(showFileDialog, "showFileDialog");
120893
121001
  const name = "@teselagen/ove";
120894
- const version = "0.5.9";
121002
+ const version = "0.5.11";
120895
121003
  const main = "./src/index.js";
120896
121004
  const type = "module";
120897
121005
  const exports$1 = {
@@ -123210,7 +123318,7 @@ var classCallCheck = /* @__PURE__ */ __name(function(instance, Constructor) {
123210
123318
  }
123211
123319
  }, "classCallCheck");
123212
123320
  var createClass = /* @__PURE__ */ function() {
123213
- function defineProperties3(target, props) {
123321
+ function defineProperties4(target, props) {
123214
123322
  for (var i = 0; i < props.length; i++) {
123215
123323
  var descriptor2 = props[i];
123216
123324
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -123220,12 +123328,12 @@ var createClass = /* @__PURE__ */ function() {
123220
123328
  Object.defineProperty(target, descriptor2.key, descriptor2);
123221
123329
  }
123222
123330
  }
123223
- __name(defineProperties3, "defineProperties");
123331
+ __name(defineProperties4, "defineProperties");
123224
123332
  return function(Constructor, protoProps, staticProps) {
123225
123333
  if (protoProps)
123226
- defineProperties3(Constructor.prototype, protoProps);
123334
+ defineProperties4(Constructor.prototype, protoProps);
123227
123335
  if (staticProps)
123228
- defineProperties3(Constructor, staticProps);
123336
+ defineProperties4(Constructor, staticProps);
123229
123337
  return Constructor;
123230
123338
  };
123231
123339
  }();
@@ -135355,13 +135463,13 @@ const CompareEnzymeGroupsDialog = compose(
135355
135463
  cutsiteOrGroupKey: group2
135356
135464
  }));
135357
135465
  const byNameLower = /* @__PURE__ */ __name((n2) => n2.name.toLowerCase(), "byNameLower");
135358
- const shared2 = intersectionBy(
135466
+ const shared2 = intersectionBy$1(
135359
135467
  g1.allEnzymesInGroup,
135360
135468
  g2.allEnzymesInGroup,
135361
135469
  byNameLower
135362
135470
  );
135363
- const g1Only = differenceBy(g1.allEnzymesInGroup, shared2, byNameLower);
135364
- const g2Only = differenceBy(g2.allEnzymesInGroup, shared2, byNameLower);
135471
+ const g1Only = differenceBy$1(g1.allEnzymesInGroup, shared2, byNameLower);
135472
+ const g2Only = differenceBy$1(g2.allEnzymesInGroup, shared2, byNameLower);
135365
135473
  return /* @__PURE__ */ React$2.createElement(
135366
135474
  "div",
135367
135475
  {
@@ -140864,7 +140972,7 @@ function withContentRect(types2) {
140864
140972
  _this._node = null;
140865
140973
  _this._window = null;
140866
140974
  _this.measure = function(entries2) {
140867
- var contentRect = getContentRect(_this._node, getTypes(_this.props));
140975
+ var contentRect = getContentRect(_this._node, types2 || getTypes(_this.props));
140868
140976
  if (entries2) {
140869
140977
  contentRect.entry = entries2[0].contentRect;
140870
140978
  }
@@ -140906,7 +141014,7 @@ function withContentRect(types2) {
140906
141014
  if (this._node !== null) {
140907
141015
  this._resizeObserver.observe(this._node);
140908
141016
  if (typeof this.props.onResize === "function") {
140909
- this.props.onResize(getContentRect(this._node, getTypes(this.props)));
141017
+ this.props.onResize(getContentRect(this._node, types2 || getTypes(this.props)));
140910
141018
  }
140911
141019
  }
140912
141020
  }, "componentDidMount");
@@ -141196,7 +141304,7 @@ const importTool = compose(
141196
141304
  ToolbarItem$1,
141197
141305
  __spreadValues({}, __spreadValues({
141198
141306
  Icon: /* @__PURE__ */ React$2.createElement(core$5.Icon, { "data-test": "veImportTool", icon: "export" }),
141199
- IconWrapper: Dropzone,
141307
+ IconWrapper: Dropzone$1,
141200
141308
  IconWrapperProps: {
141201
141309
  multiple: false,
141202
141310
  style: {},
@@ -142586,7 +142694,7 @@ const _DropHandler = class _DropHandler extends React$2.Component {
142586
142694
  render() {
142587
142695
  const { children, style: style2, className, disabled } = this.props;
142588
142696
  return /* @__PURE__ */ React$2.createElement(
142589
- Dropzone,
142697
+ Dropzone$1,
142590
142698
  {
142591
142699
  disabled,
142592
142700
  onClick: (evt) => evt.preventDefault(),
@@ -143897,7 +144005,7 @@ function Ladder({
143897
144005
  style: { position: "absolute", top: 5, right: 5, color: "white" },
143898
144006
  onClick: () => __async(this, null, function* () {
143899
144007
  try {
143900
- const canvas = yield Promise.resolve().then(() => require("./html2canvas.esm-B7d7VJmQ.cjs"));
144008
+ const canvas = yield Promise.resolve().then(() => require("./html2canvas.esm-GLpiTZLt.cjs"));
143901
144009
  canvas.default(document.querySelector(".ve-digest-container")).then((canvas2) => {
143902
144010
  canvas2.toBlob(
143903
144011
  (blob) => navigator.clipboard.write([
@@ -146698,6 +146806,8 @@ __name(_defineProperties, "_defineProperties");
146698
146806
  function _createClass(Constructor, protoProps, staticProps) {
146699
146807
  if (protoProps)
146700
146808
  _defineProperties(Constructor.prototype, protoProps);
146809
+ if (staticProps)
146810
+ _defineProperties(Constructor, staticProps);
146701
146811
  return Constructor;
146702
146812
  }
146703
146813
  __name(_createClass, "_createClass");