@teselagen/ove 0.5.11 → 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.
- package/AlignmentTool/index.d.ts +6 -0
- package/AlignmentView/AlignmentVisibilityTool.d.ts +2 -0
- package/AlignmentView/EditTrackNameDialog.d.ts +1 -0
- package/AlignmentView/HorizontalPanelDragHandle.d.ts +3 -0
- package/AlignmentView/Minimap.d.ts +63 -0
- package/AlignmentView/Mismatches.d.ts +20 -0
- package/AlignmentView/PairwiseAlignmentView.d.ts +9 -0
- package/AlignmentView/PerformantSelectionLayer.d.ts +1 -0
- package/AlignmentView/coerceInitialValue.d.ts +4 -0
- package/AlignmentView/getGapMap.d.ts +1 -0
- package/AlignmentView/getGaps.d.ts +4 -0
- package/AlignmentView/getPairwiseOverviewLinearViewOptions.d.ts +22 -0
- package/AlignmentView/getTrackFromEvent.d.ts +1 -0
- package/AlignmentView/index.d.ts +107 -0
- package/AlignmentView/isTargetWithinEl.d.ts +1 -0
- package/AlignmentView/updateTrackHelper.d.ts +10 -0
- package/AutoAnnotate.d.ts +4 -0
- package/AutoAnnotateBpMatchingDialog.d.ts +1 -0
- package/CircularView/Axis.d.ts +12 -0
- package/CircularView/AxisNumbers.d.ts +7 -0
- package/CircularView/Caret.d.ts +2 -0
- package/CircularView/CircularDnaSequence.d.ts +10 -0
- package/CircularView/CircularZoomMinimap.d.ts +4 -0
- package/CircularView/Cutsite.d.ts +4 -0
- package/CircularView/Cutsites.d.ts +18 -0
- package/CircularView/DeletionLayer.d.ts +8 -0
- package/CircularView/Feature.d.ts +1 -0
- package/CircularView/Labels/index.d.ts +22 -0
- package/CircularView/Labels/relaxLabelAngles.d.ts +2 -0
- package/CircularView/Labels/relaxLabels_DEPRECATED.d.ts +1 -0
- package/CircularView/Orf.d.ts +6 -0
- package/CircularView/Part.d.ts +9 -0
- package/CircularView/PositionAnnotationOnCircle.d.ts +12 -0
- package/CircularView/Primer.d.ts +1 -0
- package/CircularView/RotateCircularViewSlider.d.ts +7 -0
- package/CircularView/SelectionLayer.d.ts +2 -0
- package/CircularView/VeTopRightContainer.d.ts +4 -0
- package/CircularView/ZoomCircularViewSlider.d.ts +8 -0
- package/CircularView/drawAnnotations.d.ts +10 -0
- package/CircularView/drawDirectedPiePiece.d.ts +11 -0
- package/CircularView/getAngleForPositionMidpoint.d.ts +1 -0
- package/CircularView/getInternalLabel.d.ts +11 -0
- package/CircularView/getRangeAnglesSpecial.d.ts +7 -0
- package/CircularView/getYOffset.d.ts +1 -0
- package/CircularView/index.d.ts +20 -0
- package/CircularView/normalizeAngle.d.ts +1 -0
- package/CircularView/normalizeAngleRange.d.ts +1 -0
- package/CircularView/positionCutsites.d.ts +4 -0
- package/CircularView/shouldFlipText.d.ts +1 -0
- package/CircularView/utils/polarToSpecialCartesian.d.ts +4 -0
- package/CreateAnnotationsPage.d.ts +10 -0
- package/CreateCustomEnzyme/index.d.ts +2 -0
- package/CutsiteFilter/AdditionalCutsiteInfoDialog.d.ts +29 -0
- package/CutsiteFilter/index.d.ts +3 -0
- package/CutsiteFilter/withRestrictionEnzymes.d.ts +1 -0
- package/DigestTool/AddLaddersDialog.d.ts +1 -0
- package/DigestTool/DigestTool.d.ts +11 -0
- package/DigestTool/Ladder.d.ts +11 -0
- package/DigestTool/createFragmentLines.d.ts +0 -0
- package/DigestTool/ladderDefaults.d.ts +5 -0
- package/Editor/CommandHotkeyHandler.d.ts +2 -0
- package/Editor/DropHandler.d.ts +7 -0
- package/Editor/FillWindow.d.ts +9 -0
- package/Editor/index.d.ts +41 -0
- package/Editor/userDefinedHandlersAndOpts.d.ts +1 -0
- package/EnzymeViewer/index.d.ts +11 -0
- package/FindBar/index.d.ts +12 -0
- package/GlobalDialog.d.ts +1 -0
- package/GlobalDialogUtils.d.ts +12 -0
- package/LinearView/SequenceName.d.ts +5 -0
- package/LinearView/ZoomLinearView.d.ts +7 -0
- package/LinearView/index.d.ts +5 -0
- package/ManageEnzymes/index.d.ts +2 -0
- package/MenuBar/defaultConfig.d.ts +225 -0
- package/MenuBar/index.d.ts +2 -0
- package/MenuBar/viewSubmenu.d.ts +146 -0
- package/PCRTool/PCRTool.d.ts +2 -0
- package/Reflex/Browser.d.ts +19 -0
- package/Reflex/ReflexContainer.d.ts +63 -0
- package/Reflex/ReflexElement.d.ts +33 -0
- package/Reflex/ReflexEvents.d.ts +7 -0
- package/Reflex/ReflexSplitter.d.ts +33 -0
- package/Reflex/index.d.ts +4 -0
- package/RowItem/AnnotationContainerHolder.d.ts +2 -0
- package/RowItem/AnnotationPositioner.d.ts +7 -0
- package/RowItem/Axis.d.ts +2 -0
- package/RowItem/Caret/index.d.ts +2 -0
- package/RowItem/Chromatograms/Chromatogram.d.ts +1 -0
- package/RowItem/CutsiteSelectionLayers.d.ts +4 -0
- package/RowItem/Cutsites.d.ts +2 -0
- package/RowItem/DeletionLayers/index.d.ts +2 -0
- package/RowItem/Labels.d.ts +2 -0
- package/RowItem/Orf.d.ts +2 -0
- package/RowItem/Orfs.d.ts +2 -0
- package/RowItem/SelectionLayer/index.d.ts +2 -0
- package/RowItem/Sequence.d.ts +8 -0
- package/RowItem/StackedAnnotations/PointedAnnotation.d.ts +2 -0
- package/RowItem/StackedAnnotations/getStructuredBases.d.ts +17 -0
- package/RowItem/StackedAnnotations/index.d.ts +2 -0
- package/RowItem/StackedAnnotations/primerBases.d.ts +10 -0
- package/RowItem/Translations/AASliver.d.ts +2 -0
- package/RowItem/Translations/Translation.d.ts +2 -0
- package/RowItem/Translations/index.d.ts +2 -0
- package/RowItem/constants.d.ts +3 -0
- package/RowItem/getCutsiteLabelHeights.d.ts +8 -0
- package/RowItem/getXStartAndWidthFromNonCircularRange.d.ts +4 -0
- package/RowItem/getXStartAndWidthOfRangeWrtRow.d.ts +11 -0
- package/RowItem/getXStartAndWidthOfRowAnnotation.d.ts +6 -0
- package/RowItem/index.d.ts +1 -0
- package/RowItem/partOverhangs.d.ts +1 -0
- package/RowItem/utils.d.ts +4 -0
- package/RowView/estimateRowHeight.d.ts +6 -0
- package/RowView/index.d.ts +10 -0
- package/SimpleCircularOrLinearView.d.ts +2 -0
- package/SimpleOligoPreview.d.ts +7 -0
- package/StatusBar/MeltingTemp.d.ts +5 -0
- package/StatusBar/index.d.ts +15 -0
- package/ToolBar/ToolbarItem.d.ts +14 -0
- package/ToolBar/alignmentTool.d.ts +6 -0
- package/ToolBar/array_move.d.ts +1 -0
- package/ToolBar/cutsiteTool.d.ts +5 -0
- package/ToolBar/downloadTool.d.ts +5 -0
- package/ToolBar/editTool.d.ts +10 -0
- package/ToolBar/featureTool.d.ts +5 -0
- package/ToolBar/findTool.d.ts +2 -0
- package/ToolBar/importTool.d.ts +2 -0
- package/ToolBar/index.d.ts +2 -0
- package/ToolBar/inlineFindTool.d.ts +5 -0
- package/ToolBar/oligoTool.d.ts +5 -0
- package/ToolBar/orfTool.d.ts +5 -0
- package/ToolBar/partTool.d.ts +5 -0
- package/ToolBar/printTool.d.ts +6 -0
- package/ToolBar/redoTool.d.ts +5 -0
- package/ToolBar/saveTool.d.ts +5 -0
- package/ToolBar/undoTool.d.ts +5 -0
- package/ToolBar/versionHistoryTool.d.ts +5 -0
- package/ToolBar/visibilityTool.d.ts +5 -0
- package/VersionHistoryView/index.d.ts +23 -0
- package/addAlignment.d.ts +1 -0
- package/commands/getOveHotkeyDefs.d.ts +4 -0
- package/commands/index.d.ts +648 -0
- package/constants/constants.d.ts +2 -0
- package/constants/dnaToColor.d.ts +8 -0
- package/constants/draggableClassnames.d.ts +6 -0
- package/constants/findToolConstants.d.ts +1 -0
- package/constants/orfFrameToColorMap.d.ts +7 -0
- package/constants/rowviewContants.d.ts +3 -0
- package/constants/specialCutsiteFilterOptions.d.ts +31 -0
- package/constants.d.ts +1 -0
- package/createVectorEditor/index.d.ts +21 -0
- package/createVectorEditor/makeStore.d.ts +2 -0
- package/fileUtils.d.ts +12 -0
- package/helperComponents/AddOrEditAnnotationDialog/index.d.ts +6 -0
- package/helperComponents/AddOrEditFeatureDialog/index.d.ts +2 -0
- package/helperComponents/AddOrEditPartDialog/index.d.ts +2 -0
- package/helperComponents/AddOrEditPrimerDialog/EditCaretPosition.d.ts +15 -0
- package/helperComponents/AddOrEditPrimerDialog/index.d.ts +2 -0
- package/helperComponents/EnzymesDialog/index.d.ts +2 -0
- package/helperComponents/GoToDialog.d.ts +2 -0
- package/helperComponents/MergeFeaturesDialog/index.d.ts +2 -0
- package/helperComponents/MultipleSeqsDetectedOnImportDialog.d.ts +1 -0
- package/helperComponents/PinchHelper/PinchHelper.d.ts +6 -0
- package/helperComponents/PrintDialog/index.d.ts +2 -0
- package/helperComponents/PropertiesDialog/ColorPicker.d.ts +6 -0
- package/helperComponents/PropertiesDialog/CutsiteProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/FeatureProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/GenbankView.d.ts +2 -0
- package/helperComponents/PropertiesDialog/GeneralProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/GenericAnnotationProperties.d.ts +10 -0
- package/helperComponents/PropertiesDialog/OrfProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/PartProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/PrimerProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/SingleEnzymeCutsiteInfo.d.ts +12 -0
- package/helperComponents/PropertiesDialog/TranslationProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/index.d.ts +10 -0
- package/helperComponents/PropertiesDialog/typeField.d.ts +7 -0
- package/helperComponents/PropertiesDialog/utils.d.ts +5 -0
- package/helperComponents/RemoveDuplicates/index.d.ts +2 -0
- package/helperComponents/RenameSequenceDialog.d.ts +2 -0
- package/helperComponents/SelectDialog.d.ts +2 -0
- package/helperComponents/UncontrolledSliderWithPlusMinusBtns.d.ts +13 -0
- package/helperComponents/VeWarning/index.d.ts +2 -0
- package/helperComponents/createSimpleDialog.d.ts +1 -0
- package/helperComponents/partTagSearch.d.ts +1 -0
- package/helperComponents/withHover.d.ts +11 -0
- package/html2canvas.esm-GLpiTZLt.cjs +7891 -0
- package/html2canvas.esm-nFNn58sx.js +7891 -0
- package/index.cjs.js +518 -398
- package/index.d.ts +25 -0
- package/index.es.js +520 -400
- package/index.umd.js +1354 -402
- package/package.json +2 -2
- package/redux/alignments.d.ts +9 -0
- package/redux/annotationLabelVisibility.d.ts +8 -0
- package/redux/annotationVisibility.d.ts +45 -0
- package/redux/annotationsToSupport.d.ts +8 -0
- package/redux/caretPosition.d.ts +4 -0
- package/redux/charWidth.d.ts +3 -0
- package/redux/copyOptions.d.ts +14 -0
- package/redux/createYourOwnEnzyme.d.ts +11 -0
- package/redux/deletionLayers.d.ts +5 -0
- package/redux/digestTool.d.ts +7 -0
- package/redux/featureLengthsToHide.d.ts +7 -0
- package/redux/findTool.d.ts +12 -0
- package/redux/frameTranslations.d.ts +13 -0
- package/redux/hoveredAnnotation.d.ts +4 -0
- package/redux/index.d.ts +20 -0
- package/redux/labelLineIntensity.d.ts +3 -0
- package/redux/labelSize.d.ts +3 -0
- package/redux/lastSavedId.d.ts +3 -0
- package/redux/middleware.d.ts +2 -0
- package/redux/minimumOrfSize.d.ts +4 -0
- package/redux/modalActions.d.ts +0 -0
- package/redux/panelsShown.d.ts +21 -0
- package/redux/partLengthsToHide.d.ts +7 -0
- package/redux/primerLengthsToHide.d.ts +7 -0
- package/redux/propertiesTool.d.ts +6 -0
- package/redux/readOnly.d.ts +4 -0
- package/redux/replacementLayers.d.ts +5 -0
- package/redux/restrictionEnzymes.d.ts +13 -0
- package/redux/selectedAnnotations.d.ts +13 -0
- package/redux/selectedPartTags.d.ts +3 -0
- package/redux/selectionLayer.d.ts +7 -0
- package/redux/sequenceData/circular.d.ts +3 -0
- package/redux/sequenceData/description.d.ts +3 -0
- package/redux/sequenceData/features.d.ts +4 -0
- package/redux/sequenceData/index.d.ts +10 -0
- package/redux/sequenceData/lineageLines.d.ts +2 -0
- package/redux/sequenceData/materiallyAvailable.d.ts +3 -0
- package/redux/sequenceData/name.d.ts +3 -0
- package/redux/sequenceData/parts.d.ts +4 -0
- package/redux/sequenceData/primers.d.ts +4 -0
- package/redux/sequenceData/sequence.d.ts +3 -0
- package/redux/sequenceData/sharedActionCreators.d.ts +0 -0
- package/redux/sequenceData/translations.d.ts +4 -0
- package/redux/sequenceData/upsertDeleteActionGenerator.d.ts +3 -0
- package/redux/sequenceDataHistory.d.ts +8 -0
- package/redux/showGCContent.d.ts +3 -0
- package/redux/toolBar.d.ts +6 -0
- package/redux/uppercaseSequenceMapFont.d.ts +3 -0
- package/redux/useAdditionalOrfStartCodons.d.ts +3 -0
- package/redux/utils/addDashesForMatchStartAndEndForTracks/index.d.ts +1 -0
- package/redux/utils/addMetaToActionCreators.d.ts +1 -0
- package/redux/utils/createMergedDefaultStateReducer.d.ts +4 -0
- package/redux/utils/createMetaAction.d.ts +1 -0
- package/redux/versionHistory.d.ts +5 -0
- package/selectors/annotationLabelVisibility.d.ts +2 -0
- package/selectors/annotationSearchSelector.d.ts +7 -0
- package/selectors/cdsFeaturesSelector.d.ts +6 -0
- package/selectors/circularSelector.d.ts +1 -0
- package/selectors/cutsiteLabelColorSelector.d.ts +6 -0
- package/selectors/cutsitesByRangeSelector.d.ts +0 -0
- package/selectors/cutsitesSelector.d.ts +14 -0
- package/selectors/editorSelector.d.ts +2 -0
- package/selectors/featuresSelector.d.ts +6 -0
- package/selectors/filteredCutsitesSelector.d.ts +6 -0
- package/selectors/filteredFeaturesSelector.d.ts +6 -0
- package/selectors/filteredPartsSelector.d.ts +6 -0
- package/selectors/filteredPrimersSelector.d.ts +6 -0
- package/selectors/filteredRestrictionEnzymesSelector.d.ts +2 -0
- package/selectors/getAdditionalEnzymesSelector.d.ts +6 -0
- package/selectors/index.d.ts +41 -0
- package/selectors/isEnzymeFilterAndSelector.d.ts +2 -0
- package/selectors/minimumOrfSizeSelector.d.ts +2 -0
- package/selectors/orfsSelector.d.ts +26 -0
- package/selectors/partsSelector.d.ts +6 -0
- package/selectors/primersSelector.d.ts +6 -0
- package/selectors/restrictionEnzymesSelector.d.ts +6 -0
- package/selectors/searchLayersSelector.d.ts +6 -0
- package/selectors/selectedAnnotationsSelector.d.ts +2 -0
- package/selectors/selectedCutsitesSelector.d.ts +12 -0
- package/selectors/sequenceDataSelector.d.ts +2 -0
- package/selectors/sequenceLengthSelector.d.ts +1 -0
- package/selectors/sequenceSelector.d.ts +1 -0
- package/selectors/tagsToBoldSelector.d.ts +2 -0
- package/selectors/translationSearchMatchesSelector.d.ts +6 -0
- package/selectors/translationsRawSelector.d.ts +6 -0
- package/selectors/translationsSelector.d.ts +16 -0
- package/src/ToolBar/index.js +12 -12
- package/style.css +33 -4
- package/updateEditor.d.ts +3 -0
- package/utils/PassThrough.d.ts +3 -0
- package/utils/addWrappedAddons.d.ts +1 -0
- package/utils/annotationTypes.d.ts +6 -0
- package/utils/arrayUtils.d.ts +3 -0
- package/utils/calculateTickMarkPositionsForGivenRange.d.ts +7 -0
- package/utils/cleanSequenceData_DEPRECATED/arrayToObjWithIds.d.ts +1 -0
- package/utils/combineReducersDontIgnoreKeys.d.ts +1 -0
- package/utils/commandUtils.d.ts +1 -0
- package/utils/editorUtils.d.ts +36 -0
- package/utils/getAnnotationClassnames.d.ts +6 -0
- package/utils/getAnnotationNameAndStartStopString.d.ts +14 -0
- package/utils/getVisibleStartEnd.d.ts +7 -0
- package/utils/massageTickSpacing.d.ts +1 -0
- package/utils/onlyUpdateForKeysDeep.d.ts +2 -0
- package/utils/prepareRowData.d.ts +6 -0
- package/utils/proteinUtils.d.ts +1 -0
- package/utils/pureNoFunc.d.ts +2 -0
- package/utils/selectionLayer.d.ts +5 -0
- package/utils/shouldRerender.d.ts +2 -0
- package/utils/showFileDialog.d.ts +4 -0
- package/utils/updateLabelsForInViewFeatures.d.ts +3 -0
- package/utils/updateLabelsForInViewFeaturesCircView.d.ts +0 -0
- package/utils/useAAColorType.d.ts +2 -0
- package/utils/useAnnotationLimits.d.ts +14 -0
- package/utils/useChromatogramPrefs.d.ts +7 -0
- package/utils/useLadders.d.ts +2 -0
- package/utils/useMeltingTemp.d.ts +2 -0
- package/utils/useTmType.d.ts +2 -0
- package/withEditorInteractions/Keyboard.d.ts +16 -0
- package/withEditorInteractions/clickAndDragUtils.d.ts +67 -0
- package/withEditorInteractions/createSequenceInputPopup.d.ts +1 -0
- package/withEditorInteractions/getBpsPerRow.d.ts +9 -0
- package/withEditorInteractions/index.d.ts +2 -0
- package/withEditorInteractions/isElementInViewport.d.ts +2 -0
- package/withEditorInteractions/moveCaret.d.ts +10 -0
- 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
|
|
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(
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
12159
|
-
if (isBuffer$
|
|
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$
|
|
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$
|
|
12414
|
-
if (!isBuffer$
|
|
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$
|
|
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
|
-
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
12816
|
+
} else if (isPlainObject$4(srcValue) || isArguments$8(srcValue)) {
|
|
12792
12817
|
newValue = objValue;
|
|
12793
|
-
if (isArguments$
|
|
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 (
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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 (
|
|
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) {
|
|
@@ -14188,11 +14237,20 @@ function require_domCreate() {
|
|
|
14188
14237
|
return _domCreate;
|
|
14189
14238
|
}
|
|
14190
14239
|
__name(require_domCreate, "require_domCreate");
|
|
14191
|
-
var _ie8DomDefine
|
|
14192
|
-
|
|
14193
|
-
|
|
14194
|
-
|
|
14195
|
-
|
|
14240
|
+
var _ie8DomDefine;
|
|
14241
|
+
var hasRequired_ie8DomDefine;
|
|
14242
|
+
function require_ie8DomDefine() {
|
|
14243
|
+
if (hasRequired_ie8DomDefine)
|
|
14244
|
+
return _ie8DomDefine;
|
|
14245
|
+
hasRequired_ie8DomDefine = 1;
|
|
14246
|
+
_ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
14247
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
14248
|
+
return 7;
|
|
14249
|
+
} }).a != 7;
|
|
14250
|
+
});
|
|
14251
|
+
return _ie8DomDefine;
|
|
14252
|
+
}
|
|
14253
|
+
__name(require_ie8DomDefine, "require_ie8DomDefine");
|
|
14196
14254
|
var isObject$c = _isObject;
|
|
14197
14255
|
var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
14198
14256
|
if (!isObject$c(it))
|
|
@@ -14212,7 +14270,7 @@ function require_objectDp() {
|
|
|
14212
14270
|
return _objectDp;
|
|
14213
14271
|
hasRequired_objectDp = 1;
|
|
14214
14272
|
var anObject2 = _anObject;
|
|
14215
|
-
var IE8_DOM_DEFINE2 =
|
|
14273
|
+
var IE8_DOM_DEFINE2 = require_ie8DomDefine();
|
|
14216
14274
|
var toPrimitive2 = _toPrimitive$1;
|
|
14217
14275
|
var dP2 = Object.defineProperty;
|
|
14218
14276
|
_objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
|
|
@@ -14241,10 +14299,10 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
|
14241
14299
|
value
|
|
14242
14300
|
};
|
|
14243
14301
|
}, "_propertyDesc");
|
|
14244
|
-
var dP$
|
|
14302
|
+
var dP$2 = require_objectDp();
|
|
14245
14303
|
var createDesc$3 = _propertyDesc;
|
|
14246
14304
|
var _hide = require_descriptors() ? function(object3, key, value) {
|
|
14247
|
-
return dP$
|
|
14305
|
+
return dP$2.f(object3, key, createDesc$3(1, value));
|
|
14248
14306
|
} : function(object3, key, value) {
|
|
14249
14307
|
object3[key] = value;
|
|
14250
14308
|
return object3;
|
|
@@ -14258,7 +14316,7 @@ var core$3 = _coreExports;
|
|
|
14258
14316
|
var ctx$1 = _ctx;
|
|
14259
14317
|
var hide$3 = _hide;
|
|
14260
14318
|
var has$e = _has;
|
|
14261
|
-
var PROTOTYPE$
|
|
14319
|
+
var PROTOTYPE$2 = "prototype";
|
|
14262
14320
|
var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
|
|
14263
14321
|
var IS_FORCED = type2 & $export$8.F;
|
|
14264
14322
|
var IS_GLOBAL = type2 & $export$8.G;
|
|
@@ -14267,8 +14325,8 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
|
|
|
14267
14325
|
var IS_BIND = type2 & $export$8.B;
|
|
14268
14326
|
var IS_WRAP = type2 & $export$8.W;
|
|
14269
14327
|
var exports2 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
|
|
14270
|
-
var expProto = exports2[PROTOTYPE$
|
|
14271
|
-
var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$
|
|
14328
|
+
var expProto = exports2[PROTOTYPE$2];
|
|
14329
|
+
var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$2];
|
|
14272
14330
|
var key, own2, out;
|
|
14273
14331
|
if (IS_GLOBAL)
|
|
14274
14332
|
source = name2;
|
|
@@ -14292,7 +14350,7 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
|
|
|
14292
14350
|
}
|
|
14293
14351
|
return C.apply(this, arguments);
|
|
14294
14352
|
}, "F");
|
|
14295
|
-
F[PROTOTYPE$
|
|
14353
|
+
F[PROTOTYPE$2] = C[PROTOTYPE$2];
|
|
14296
14354
|
return F;
|
|
14297
14355
|
}(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
|
|
14298
14356
|
if (IS_PROTO) {
|
|
@@ -14406,14 +14464,14 @@ var _sharedKey = /* @__PURE__ */ __name(function(key) {
|
|
|
14406
14464
|
var has$d = _has;
|
|
14407
14465
|
var toIObject$4 = _toIobject;
|
|
14408
14466
|
var arrayIndexOf = _arrayIncludes$1(false);
|
|
14409
|
-
var IE_PROTO$
|
|
14467
|
+
var IE_PROTO$2 = _sharedKey("IE_PROTO");
|
|
14410
14468
|
var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
|
|
14411
14469
|
var O2 = toIObject$4(object3);
|
|
14412
14470
|
var i = 0;
|
|
14413
14471
|
var result = [];
|
|
14414
14472
|
var key;
|
|
14415
14473
|
for (key in O2)
|
|
14416
|
-
if (key != IE_PROTO$
|
|
14474
|
+
if (key != IE_PROTO$2)
|
|
14417
14475
|
has$d(O2, key) && result.push(key);
|
|
14418
14476
|
while (names2.length > i)
|
|
14419
14477
|
if (has$d(O2, key = names2[i++])) {
|
|
@@ -14422,10 +14480,10 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
|
|
|
14422
14480
|
return result;
|
|
14423
14481
|
}, "_objectKeysInternal");
|
|
14424
14482
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
14425
|
-
var $keys$
|
|
14426
|
-
var enumBugKeys = _enumBugKeys;
|
|
14483
|
+
var $keys$3 = _objectKeysInternal;
|
|
14484
|
+
var enumBugKeys$1 = _enumBugKeys;
|
|
14427
14485
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
|
|
14428
|
-
return $keys$
|
|
14486
|
+
return $keys$3(O2, enumBugKeys$1);
|
|
14429
14487
|
}, "keys");
|
|
14430
14488
|
var _objectGops = {};
|
|
14431
14489
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
@@ -14515,28 +14573,19 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
|
|
|
14515
14573
|
}, "_iterStep");
|
|
14516
14574
|
var _iterators = {};
|
|
14517
14575
|
var _redefine = _hide;
|
|
14518
|
-
var
|
|
14519
|
-
var
|
|
14520
|
-
|
|
14521
|
-
|
|
14522
|
-
|
|
14523
|
-
|
|
14524
|
-
var
|
|
14525
|
-
var
|
|
14526
|
-
var
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
var i = 0;
|
|
14532
|
-
var P2;
|
|
14533
|
-
while (length > i)
|
|
14534
|
-
dP2.f(O2, P2 = keys5[i++], Properties2[P2]);
|
|
14535
|
-
return O2;
|
|
14536
|
-
}, "defineProperties");
|
|
14537
|
-
return _objectDps;
|
|
14538
|
-
}
|
|
14539
|
-
__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");
|
|
14540
14589
|
var _html;
|
|
14541
14590
|
var hasRequired_html;
|
|
14542
14591
|
function require_html() {
|
|
@@ -14548,51 +14597,42 @@ function require_html() {
|
|
|
14548
14597
|
return _html;
|
|
14549
14598
|
}
|
|
14550
14599
|
__name(require_html, "require_html");
|
|
14551
|
-
var
|
|
14552
|
-
var
|
|
14553
|
-
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
var
|
|
14560
|
-
var
|
|
14561
|
-
var
|
|
14562
|
-
|
|
14563
|
-
var
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14573
|
-
|
|
14574
|
-
|
|
14575
|
-
|
|
14576
|
-
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14580
|
-
|
|
14581
|
-
|
|
14582
|
-
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14586
|
-
|
|
14587
|
-
Empty[PROTOTYPE2] = null;
|
|
14588
|
-
result[IE_PROTO2] = O2;
|
|
14589
|
-
} else
|
|
14590
|
-
result = createDict();
|
|
14591
|
-
return Properties2 === void 0 ? result : dPs(result, Properties2);
|
|
14592
|
-
}, "create");
|
|
14593
|
-
return _objectCreate;
|
|
14594
|
-
}
|
|
14595
|
-
__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");
|
|
14596
14636
|
var _wks = { exports: {} };
|
|
14597
14637
|
var store$2 = _sharedExports("wks");
|
|
14598
14638
|
var uid$1 = _uid;
|
|
@@ -14610,7 +14650,7 @@ var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
|
14610
14650
|
if (it && !has$c(it = stat ? it : it.prototype, TAG$1))
|
|
14611
14651
|
def(it, TAG$1, { configurable: true, value: tag });
|
|
14612
14652
|
}, "_setToStringTag");
|
|
14613
|
-
var create$4 =
|
|
14653
|
+
var create$4 = _objectCreate;
|
|
14614
14654
|
var descriptor = _propertyDesc;
|
|
14615
14655
|
var setToStringTag$2 = _setToStringTag;
|
|
14616
14656
|
var IteratorPrototype = {};
|
|
@@ -15018,7 +15058,7 @@ function _interopRequireDefault$c(obj) {
|
|
|
15018
15058
|
}
|
|
15019
15059
|
__name(_interopRequireDefault$c, "_interopRequireDefault$c");
|
|
15020
15060
|
var _default$7 = /* @__PURE__ */ function() {
|
|
15021
|
-
function
|
|
15061
|
+
function defineProperties4(target, props) {
|
|
15022
15062
|
for (var i = 0; i < props.length; i++) {
|
|
15023
15063
|
var descriptor2 = props[i];
|
|
15024
15064
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -15028,12 +15068,12 @@ var _default$7 = /* @__PURE__ */ function() {
|
|
|
15028
15068
|
(0, _defineProperty2.default)(target, descriptor2.key, descriptor2);
|
|
15029
15069
|
}
|
|
15030
15070
|
}
|
|
15031
|
-
__name(
|
|
15071
|
+
__name(defineProperties4, "defineProperties");
|
|
15032
15072
|
return function(Constructor, protoProps, staticProps) {
|
|
15033
15073
|
if (protoProps)
|
|
15034
|
-
|
|
15074
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
15035
15075
|
if (staticProps)
|
|
15036
|
-
|
|
15076
|
+
defineProperties4(Constructor, staticProps);
|
|
15037
15077
|
return Constructor;
|
|
15038
15078
|
};
|
|
15039
15079
|
}();
|
|
@@ -15062,23 +15102,23 @@ var setMeta = /* @__PURE__ */ __name(function(it) {
|
|
|
15062
15102
|
// weak collections IDs
|
|
15063
15103
|
} });
|
|
15064
15104
|
}, "setMeta");
|
|
15065
|
-
var fastKey = /* @__PURE__ */ __name(function(it,
|
|
15105
|
+
var fastKey = /* @__PURE__ */ __name(function(it, create6) {
|
|
15066
15106
|
if (!isObject$b(it))
|
|
15067
15107
|
return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
|
|
15068
15108
|
if (!has$a(it, META$1)) {
|
|
15069
15109
|
if (!isExtensible(it))
|
|
15070
15110
|
return "F";
|
|
15071
|
-
if (!
|
|
15111
|
+
if (!create6)
|
|
15072
15112
|
return "E";
|
|
15073
15113
|
setMeta(it);
|
|
15074
15114
|
}
|
|
15075
15115
|
return it[META$1].i;
|
|
15076
15116
|
}, "fastKey");
|
|
15077
|
-
var getWeak = /* @__PURE__ */ __name(function(it,
|
|
15117
|
+
var getWeak = /* @__PURE__ */ __name(function(it, create6) {
|
|
15078
15118
|
if (!has$a(it, META$1)) {
|
|
15079
15119
|
if (!isExtensible(it))
|
|
15080
15120
|
return true;
|
|
15081
|
-
if (!
|
|
15121
|
+
if (!create6)
|
|
15082
15122
|
return false;
|
|
15083
15123
|
setMeta(it);
|
|
15084
15124
|
}
|
|
@@ -15128,21 +15168,13 @@ var _isArray = Array.isArray || /* @__PURE__ */ __name(function isArray(arg) {
|
|
|
15128
15168
|
}, "isArray");
|
|
15129
15169
|
var _objectGopnExt = {};
|
|
15130
15170
|
var _objectGopn = {};
|
|
15131
|
-
var
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
|
|
15136
|
-
var $keys2 = _objectKeysInternal;
|
|
15137
|
-
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
15138
|
-
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames4(O2) {
|
|
15139
|
-
return $keys2(O2, hiddenKeys);
|
|
15140
|
-
}, "getOwnPropertyNames");
|
|
15141
|
-
return _objectGopn;
|
|
15142
|
-
}
|
|
15143
|
-
__name(require_objectGopn, "require_objectGopn");
|
|
15171
|
+
var $keys$2 = _objectKeysInternal;
|
|
15172
|
+
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
15173
|
+
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames(O2) {
|
|
15174
|
+
return $keys$2(O2, hiddenKeys);
|
|
15175
|
+
}, "getOwnPropertyNames");
|
|
15144
15176
|
var toIObject$2 = _toIobject;
|
|
15145
|
-
var gOPN$1 =
|
|
15177
|
+
var gOPN$1 = _objectGopn.f;
|
|
15146
15178
|
var toString$4 = {}.toString;
|
|
15147
15179
|
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
15148
15180
|
var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
@@ -15152,7 +15184,7 @@ var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
|
15152
15184
|
return windowNames.slice();
|
|
15153
15185
|
}
|
|
15154
15186
|
}, "getWindowNames");
|
|
15155
|
-
_objectGopnExt.f = /* @__PURE__ */ __name(function
|
|
15187
|
+
_objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
|
|
15156
15188
|
return windowNames && toString$4.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
|
|
15157
15189
|
}, "getOwnPropertyNames");
|
|
15158
15190
|
var _objectGopd = {};
|
|
@@ -15161,7 +15193,7 @@ var createDesc$1 = _propertyDesc;
|
|
|
15161
15193
|
var toIObject$1 = _toIobject;
|
|
15162
15194
|
var toPrimitive$1 = _toPrimitive$1;
|
|
15163
15195
|
var has$9 = _has;
|
|
15164
|
-
var IE8_DOM_DEFINE =
|
|
15196
|
+
var IE8_DOM_DEFINE = require_ie8DomDefine();
|
|
15165
15197
|
var gOPD$6 = Object.getOwnPropertyDescriptor;
|
|
15166
15198
|
_objectGopd.f = require_descriptors() ? gOPD$6 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
|
|
15167
15199
|
O2 = toIObject$1(O2);
|
|
@@ -15195,7 +15227,7 @@ var toObject$1 = _toObject;
|
|
|
15195
15227
|
var toIObject = _toIobject;
|
|
15196
15228
|
var toPrimitive = _toPrimitive$1;
|
|
15197
15229
|
var createDesc = _propertyDesc;
|
|
15198
|
-
var _create$1 =
|
|
15230
|
+
var _create$1 = _objectCreate;
|
|
15199
15231
|
var gOPNExt = _objectGopnExt;
|
|
15200
15232
|
var $GOPD = _objectGopd;
|
|
15201
15233
|
var $GOPS = _objectGops;
|
|
@@ -15262,7 +15294,7 @@ var $defineProperty$3 = /* @__PURE__ */ __name(function defineProperty3(it, key,
|
|
|
15262
15294
|
}
|
|
15263
15295
|
return dP(it, key, D2);
|
|
15264
15296
|
}, "defineProperty");
|
|
15265
|
-
var $defineProperties = /* @__PURE__ */ __name(function
|
|
15297
|
+
var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2) {
|
|
15266
15298
|
anObject(it);
|
|
15267
15299
|
var keys5 = enumKeys(P2 = toIObject(P2));
|
|
15268
15300
|
var i = 0;
|
|
@@ -15272,7 +15304,7 @@ var $defineProperties = /* @__PURE__ */ __name(function defineProperties(it, P2)
|
|
|
15272
15304
|
$defineProperty$3(it, key = keys5[i++], P2[key]);
|
|
15273
15305
|
return it;
|
|
15274
15306
|
}, "defineProperties");
|
|
15275
|
-
var $create = /* @__PURE__ */ __name(function
|
|
15307
|
+
var $create = /* @__PURE__ */ __name(function create2(it, P2) {
|
|
15276
15308
|
return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
|
|
15277
15309
|
}, "create");
|
|
15278
15310
|
var $propertyIsEnumerable = /* @__PURE__ */ __name(function propertyIsEnumerable(key) {
|
|
@@ -15291,7 +15323,7 @@ var $getOwnPropertyDescriptor = /* @__PURE__ */ __name(function getOwnPropertyDe
|
|
|
15291
15323
|
D2.enumerable = true;
|
|
15292
15324
|
return D2;
|
|
15293
15325
|
}, "getOwnPropertyDescriptor");
|
|
15294
|
-
var $getOwnPropertyNames = /* @__PURE__ */ __name(function
|
|
15326
|
+
var $getOwnPropertyNames = /* @__PURE__ */ __name(function getOwnPropertyNames3(it) {
|
|
15295
15327
|
var names2 = gOPN(toIObject(it));
|
|
15296
15328
|
var result = [];
|
|
15297
15329
|
var i = 0;
|
|
@@ -15335,7 +15367,7 @@ if (!USE_NATIVE) {
|
|
|
15335
15367
|
}, "toString"));
|
|
15336
15368
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
15337
15369
|
$DP.f = $defineProperty$3;
|
|
15338
|
-
|
|
15370
|
+
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
15339
15371
|
require_objectPie().f = $propertyIsEnumerable;
|
|
15340
15372
|
$GOPS.f = $getOwnPropertySymbols;
|
|
15341
15373
|
if (DESCRIPTORS && !_library) {
|
|
@@ -15502,9 +15534,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
|
15502
15534
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
|
|
15503
15535
|
var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
|
|
15504
15536
|
var $export = _export;
|
|
15505
|
-
$export($export.S, "Object", { create:
|
|
15537
|
+
$export($export.S, "Object", { create: _objectCreate });
|
|
15506
15538
|
var $Object$2 = _coreExports.Object;
|
|
15507
|
-
var create$3 = /* @__PURE__ */ __name(function
|
|
15539
|
+
var create$3 = /* @__PURE__ */ __name(function create3(P2, D2) {
|
|
15508
15540
|
return $Object$2.create(P2, D2);
|
|
15509
15541
|
}, "create");
|
|
15510
15542
|
var create$2 = { "default": create$3, __esModule: true };
|
|
@@ -18705,6 +18737,8 @@ var reactList = {};
|
|
|
18705
18737
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
18706
18738
|
if (protoProps)
|
|
18707
18739
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
18740
|
+
if (staticProps)
|
|
18741
|
+
_defineProperties2(Constructor, staticProps);
|
|
18708
18742
|
return Constructor;
|
|
18709
18743
|
}
|
|
18710
18744
|
__name(_createClass2, "_createClass");
|
|
@@ -19589,7 +19623,7 @@ function normalizeComponent(Comp) {
|
|
|
19589
19623
|
}
|
|
19590
19624
|
__name(normalizeComponent, "normalizeComponent");
|
|
19591
19625
|
var _createClass$d = /* @__PURE__ */ function() {
|
|
19592
|
-
function
|
|
19626
|
+
function defineProperties4(target, props) {
|
|
19593
19627
|
for (var i = 0; i < props.length; i++) {
|
|
19594
19628
|
var descriptor2 = props[i];
|
|
19595
19629
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19599,12 +19633,12 @@ var _createClass$d = /* @__PURE__ */ function() {
|
|
|
19599
19633
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19600
19634
|
}
|
|
19601
19635
|
}
|
|
19602
|
-
__name(
|
|
19636
|
+
__name(defineProperties4, "defineProperties");
|
|
19603
19637
|
return function(Constructor, protoProps, staticProps) {
|
|
19604
19638
|
if (protoProps)
|
|
19605
|
-
|
|
19639
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
19606
19640
|
if (staticProps)
|
|
19607
|
-
|
|
19641
|
+
defineProperties4(Constructor, staticProps);
|
|
19608
19642
|
return Constructor;
|
|
19609
19643
|
};
|
|
19610
19644
|
}();
|
|
@@ -19765,7 +19799,7 @@ var _extends$o = Object.assign || function(target) {
|
|
|
19765
19799
|
return target;
|
|
19766
19800
|
};
|
|
19767
19801
|
var _createClass$c = /* @__PURE__ */ function() {
|
|
19768
|
-
function
|
|
19802
|
+
function defineProperties4(target, props) {
|
|
19769
19803
|
for (var i = 0; i < props.length; i++) {
|
|
19770
19804
|
var descriptor2 = props[i];
|
|
19771
19805
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19775,12 +19809,12 @@ var _createClass$c = /* @__PURE__ */ function() {
|
|
|
19775
19809
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19776
19810
|
}
|
|
19777
19811
|
}
|
|
19778
|
-
__name(
|
|
19812
|
+
__name(defineProperties4, "defineProperties");
|
|
19779
19813
|
return function(Constructor, protoProps, staticProps) {
|
|
19780
19814
|
if (protoProps)
|
|
19781
|
-
|
|
19815
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
19782
19816
|
if (staticProps)
|
|
19783
|
-
|
|
19817
|
+
defineProperties4(Constructor, staticProps);
|
|
19784
19818
|
return Constructor;
|
|
19785
19819
|
};
|
|
19786
19820
|
}();
|
|
@@ -20371,7 +20405,7 @@ const Methods = /* @__PURE__ */ __name(function(Base) {
|
|
|
20371
20405
|
}(Base);
|
|
20372
20406
|
}, "Methods");
|
|
20373
20407
|
var _createClass$b = /* @__PURE__ */ function() {
|
|
20374
|
-
function
|
|
20408
|
+
function defineProperties4(target, props) {
|
|
20375
20409
|
for (var i = 0; i < props.length; i++) {
|
|
20376
20410
|
var descriptor2 = props[i];
|
|
20377
20411
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -20381,12 +20415,12 @@ var _createClass$b = /* @__PURE__ */ function() {
|
|
|
20381
20415
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
20382
20416
|
}
|
|
20383
20417
|
}
|
|
20384
|
-
__name(
|
|
20418
|
+
__name(defineProperties4, "defineProperties");
|
|
20385
20419
|
return function(Constructor, protoProps, staticProps) {
|
|
20386
20420
|
if (protoProps)
|
|
20387
|
-
|
|
20421
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
20388
20422
|
if (staticProps)
|
|
20389
|
-
|
|
20423
|
+
defineProperties4(Constructor, staticProps);
|
|
20390
20424
|
return Constructor;
|
|
20391
20425
|
};
|
|
20392
20426
|
}();
|
|
@@ -21158,7 +21192,7 @@ var _extends$l = Object.assign || function(target) {
|
|
|
21158
21192
|
return target;
|
|
21159
21193
|
};
|
|
21160
21194
|
var _createClass$a = /* @__PURE__ */ function() {
|
|
21161
|
-
function
|
|
21195
|
+
function defineProperties4(target, props) {
|
|
21162
21196
|
for (var i = 0; i < props.length; i++) {
|
|
21163
21197
|
var descriptor2 = props[i];
|
|
21164
21198
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -21168,12 +21202,12 @@ var _createClass$a = /* @__PURE__ */ function() {
|
|
|
21168
21202
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
21169
21203
|
}
|
|
21170
21204
|
}
|
|
21171
|
-
__name(
|
|
21205
|
+
__name(defineProperties4, "defineProperties");
|
|
21172
21206
|
return function(Constructor, protoProps, staticProps) {
|
|
21173
21207
|
if (protoProps)
|
|
21174
|
-
|
|
21208
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
21175
21209
|
if (staticProps)
|
|
21176
|
-
|
|
21210
|
+
defineProperties4(Constructor, staticProps);
|
|
21177
21211
|
return Constructor;
|
|
21178
21212
|
};
|
|
21179
21213
|
}();
|
|
@@ -23367,7 +23401,7 @@ function looksLikeAVFileValue(value) {
|
|
|
23367
23401
|
__name(looksLikeAVFileValue, "looksLikeAVFileValue");
|
|
23368
23402
|
const emptyOptions = {};
|
|
23369
23403
|
function toString$1(value, options) {
|
|
23370
|
-
const settings = emptyOptions;
|
|
23404
|
+
const settings = options || emptyOptions;
|
|
23371
23405
|
const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
|
|
23372
23406
|
const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
|
|
23373
23407
|
return one$1(value, includeImageAlt, includeHtml);
|
|
@@ -27497,21 +27531,21 @@ function parse$7(options) {
|
|
|
27497
27531
|
defined: [],
|
|
27498
27532
|
lazy: {},
|
|
27499
27533
|
constructs: constructs2,
|
|
27500
|
-
content:
|
|
27501
|
-
document:
|
|
27502
|
-
flow:
|
|
27503
|
-
string:
|
|
27504
|
-
text:
|
|
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)
|
|
27505
27539
|
};
|
|
27506
27540
|
return parser;
|
|
27507
|
-
function
|
|
27541
|
+
function create6(initial) {
|
|
27508
27542
|
return creator;
|
|
27509
27543
|
function creator(from3) {
|
|
27510
27544
|
return createTokenizer(parser, initial, from3);
|
|
27511
27545
|
}
|
|
27512
27546
|
__name(creator, "creator");
|
|
27513
27547
|
}
|
|
27514
|
-
__name(
|
|
27548
|
+
__name(create6, "create");
|
|
27515
27549
|
}
|
|
27516
27550
|
__name(parse$7, "parse$7");
|
|
27517
27551
|
const search$1 = /[\0\t\n\r]/g;
|
|
@@ -27922,10 +27956,10 @@ function compiler(options) {
|
|
|
27922
27956
|
return data[key];
|
|
27923
27957
|
}
|
|
27924
27958
|
__name(getData, "getData");
|
|
27925
|
-
function opener(
|
|
27959
|
+
function opener(create6, and) {
|
|
27926
27960
|
return open2;
|
|
27927
27961
|
function open2(token) {
|
|
27928
|
-
enter2.call(this,
|
|
27962
|
+
enter2.call(this, create6(token), token);
|
|
27929
27963
|
if (and)
|
|
27930
27964
|
and.call(this, token);
|
|
27931
27965
|
}
|
|
@@ -29563,6 +29597,7 @@ const remarkRehype = (
|
|
|
29563
29597
|
return destination && "run" in destination ? bridge(destination, options) : mutate(destination || options);
|
|
29564
29598
|
}, "remarkRehype")
|
|
29565
29599
|
);
|
|
29600
|
+
const remarkRehype$1 = remarkRehype;
|
|
29566
29601
|
function bridge(destination, options) {
|
|
29567
29602
|
return (node2, file, next) => {
|
|
29568
29603
|
destination.run(toHast(node2, options), file, (error) => {
|
|
@@ -30939,7 +30974,7 @@ function stringify$3(values3) {
|
|
|
30939
30974
|
}
|
|
30940
30975
|
__name(stringify$3, "stringify$3");
|
|
30941
30976
|
function stringify$2(values3, options) {
|
|
30942
|
-
const settings = {};
|
|
30977
|
+
const settings = options || {};
|
|
30943
30978
|
const input = values3[values3.length - 1] === "" ? [...values3, ""] : values3;
|
|
30944
30979
|
return input.join(
|
|
30945
30980
|
(settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
|
|
@@ -31360,7 +31395,7 @@ function ReactMarkdown(options) {
|
|
|
31360
31395
|
delete deprecated[key];
|
|
31361
31396
|
}
|
|
31362
31397
|
}
|
|
31363
|
-
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), {
|
|
31364
31399
|
allowDangerousHtml: true
|
|
31365
31400
|
})).use(options.rehypePlugins || []).use(rehypeFilter, options);
|
|
31366
31401
|
const file = new VFile();
|
|
@@ -36124,8 +36159,9 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36124
36159
|
}
|
|
36125
36160
|
render() {
|
|
36126
36161
|
var _b2;
|
|
36127
|
-
|
|
36162
|
+
let _a2 = this.props, {
|
|
36128
36163
|
multi,
|
|
36164
|
+
asTag,
|
|
36129
36165
|
options,
|
|
36130
36166
|
unfilteredOptions,
|
|
36131
36167
|
value,
|
|
@@ -36138,6 +36174,10 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36138
36174
|
noResultsText,
|
|
36139
36175
|
noResults: _noResults,
|
|
36140
36176
|
inputProps,
|
|
36177
|
+
backgroundColor,
|
|
36178
|
+
doNotFillWidth,
|
|
36179
|
+
noToggle,
|
|
36180
|
+
small,
|
|
36141
36181
|
placeholder,
|
|
36142
36182
|
isLoading,
|
|
36143
36183
|
disallowClear,
|
|
@@ -36149,6 +36189,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36149
36189
|
renderCreateNewOption: _renderCreateNewOption = renderCreateNewOption$1
|
|
36150
36190
|
} = _a2, rest = __objRest(_a2, [
|
|
36151
36191
|
"multi",
|
|
36192
|
+
"asTag",
|
|
36152
36193
|
"options",
|
|
36153
36194
|
"unfilteredOptions",
|
|
36154
36195
|
"value",
|
|
@@ -36162,6 +36203,10 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36162
36203
|
"noResultsText",
|
|
36163
36204
|
"noResults",
|
|
36164
36205
|
"inputProps",
|
|
36206
|
+
"backgroundColor",
|
|
36207
|
+
"doNotFillWidth",
|
|
36208
|
+
"noToggle",
|
|
36209
|
+
"small",
|
|
36165
36210
|
"placeholder",
|
|
36166
36211
|
"isLoading",
|
|
36167
36212
|
"disallowClear",
|
|
@@ -36172,6 +36217,14 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36172
36217
|
"resetOnSelect",
|
|
36173
36218
|
"renderCreateNewOption"
|
|
36174
36219
|
]);
|
|
36220
|
+
if (asTag) {
|
|
36221
|
+
small = true;
|
|
36222
|
+
placeholder = " ";
|
|
36223
|
+
backgroundColor = "red";
|
|
36224
|
+
disallowClear = true;
|
|
36225
|
+
doNotFillWidth = true;
|
|
36226
|
+
noToggle = true;
|
|
36227
|
+
}
|
|
36175
36228
|
let noResults = _noResults;
|
|
36176
36229
|
if (noResults === void 0)
|
|
36177
36230
|
noResults = noResultsDefault;
|
|
@@ -36185,7 +36238,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36185
36238
|
minimal: true,
|
|
36186
36239
|
onClick: this.handleClear
|
|
36187
36240
|
}
|
|
36188
|
-
), noResults !== null && /* @__PURE__ */ React$2.createElement(
|
|
36241
|
+
), noResults !== null && !noToggle && /* @__PURE__ */ React$2.createElement(
|
|
36189
36242
|
core$5.Button,
|
|
36190
36243
|
{
|
|
36191
36244
|
onClick: (e2) => {
|
|
@@ -36209,7 +36262,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36209
36262
|
(opt) => opt && opt.value === (value2 && value2.value || value2)
|
|
36210
36263
|
);
|
|
36211
36264
|
});
|
|
36212
|
-
|
|
36265
|
+
const toRet = /* @__PURE__ */ React$2.createElement(
|
|
36213
36266
|
select.MultiSelect,
|
|
36214
36267
|
__spreadValues(__spreadValues({
|
|
36215
36268
|
onActiveItemChange: this.handleActiveItemChange,
|
|
@@ -36223,7 +36276,10 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36223
36276
|
captureDismiss: true,
|
|
36224
36277
|
minimal: true,
|
|
36225
36278
|
className: classNames("tg-select", "tg-stop-dialog-form-enter", {
|
|
36226
|
-
"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
|
|
36227
36283
|
}),
|
|
36228
36284
|
wrapperTagName: "div",
|
|
36229
36285
|
canEscapeKeyClose: true,
|
|
@@ -36278,6 +36334,23 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36278
36334
|
})
|
|
36279
36335
|
}), rest)
|
|
36280
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;
|
|
36281
36354
|
}
|
|
36282
36355
|
};
|
|
36283
36356
|
__name(_TgSelect, "TgSelect");
|
|
@@ -36859,7 +36932,7 @@ var concatty = /* @__PURE__ */ __name(function concatty2(a2, b3) {
|
|
|
36859
36932
|
}, "concatty");
|
|
36860
36933
|
var slicy = /* @__PURE__ */ __name(function slicy2(arrLike, offset4) {
|
|
36861
36934
|
var arr = [];
|
|
36862
|
-
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) {
|
|
36863
36936
|
arr[j] = arrLike[i];
|
|
36864
36937
|
}
|
|
36865
36938
|
return arr;
|
|
@@ -36904,11 +36977,11 @@ var implementation$8 = /* @__PURE__ */ __name(function bind(that) {
|
|
|
36904
36977
|
}
|
|
36905
36978
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
36906
36979
|
if (target.prototype) {
|
|
36907
|
-
var
|
|
36980
|
+
var Empty2 = /* @__PURE__ */ __name(function Empty3() {
|
|
36908
36981
|
}, "Empty");
|
|
36909
|
-
|
|
36910
|
-
bound.prototype = new
|
|
36911
|
-
|
|
36982
|
+
Empty2.prototype = target.prototype;
|
|
36983
|
+
bound.prototype = new Empty2();
|
|
36984
|
+
Empty2.prototype = null;
|
|
36912
36985
|
}
|
|
36913
36986
|
return bound;
|
|
36914
36987
|
}, "bind");
|
|
@@ -39100,12 +39173,20 @@ function getSubFilter(qb, selectedFilter, filterValue) {
|
|
|
39100
39173
|
__name(getSubFilter, "getSubFilter");
|
|
39101
39174
|
function getCurrentParamsFromUrl(location2, isSimple) {
|
|
39102
39175
|
let { search: search2 } = location2;
|
|
39176
|
+
if (isSimple) {
|
|
39177
|
+
search2 = window.location.href.split("?")[1] || "";
|
|
39178
|
+
}
|
|
39103
39179
|
return parseFilters(queryString.parse(search2, { ignoreQueryPrefix: true }));
|
|
39104
39180
|
}
|
|
39105
39181
|
__name(getCurrentParamsFromUrl, "getCurrentParamsFromUrl");
|
|
39106
39182
|
function setCurrentParamsOnUrl(newParams, replace3, isSimple) {
|
|
39107
39183
|
const stringifiedFilters = stringifyFilters(newParams);
|
|
39108
39184
|
const search2 = `?${queryString.stringify(stringifiedFilters)}`;
|
|
39185
|
+
if (isSimple) {
|
|
39186
|
+
return window.location.replace(
|
|
39187
|
+
`${window.location.href.split("?")[0]}${search2}`
|
|
39188
|
+
);
|
|
39189
|
+
}
|
|
39109
39190
|
replace3({
|
|
39110
39191
|
search: search2
|
|
39111
39192
|
});
|
|
@@ -41251,7 +41332,7 @@ var _extends$f = Object.assign || function(target) {
|
|
|
41251
41332
|
return target;
|
|
41252
41333
|
};
|
|
41253
41334
|
var _createClass$9 = /* @__PURE__ */ function() {
|
|
41254
|
-
function
|
|
41335
|
+
function defineProperties4(target, props) {
|
|
41255
41336
|
for (var i = 0; i < props.length; i++) {
|
|
41256
41337
|
var descriptor2 = props[i];
|
|
41257
41338
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41261,12 +41342,12 @@ var _createClass$9 = /* @__PURE__ */ function() {
|
|
|
41261
41342
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41262
41343
|
}
|
|
41263
41344
|
}
|
|
41264
|
-
__name(
|
|
41345
|
+
__name(defineProperties4, "defineProperties");
|
|
41265
41346
|
return function(Constructor, protoProps, staticProps) {
|
|
41266
41347
|
if (protoProps)
|
|
41267
|
-
|
|
41348
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41268
41349
|
if (staticProps)
|
|
41269
|
-
|
|
41350
|
+
defineProperties4(Constructor, staticProps);
|
|
41270
41351
|
return Constructor;
|
|
41271
41352
|
};
|
|
41272
41353
|
}();
|
|
@@ -41408,7 +41489,7 @@ var Alpha = function(_ref) {
|
|
|
41408
41489
|
return Alpha2;
|
|
41409
41490
|
}(React$2.PureComponent || React$2.Component);
|
|
41410
41491
|
var _createClass$8 = /* @__PURE__ */ function() {
|
|
41411
|
-
function
|
|
41492
|
+
function defineProperties4(target, props) {
|
|
41412
41493
|
for (var i = 0; i < props.length; i++) {
|
|
41413
41494
|
var descriptor2 = props[i];
|
|
41414
41495
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41418,12 +41499,12 @@ var _createClass$8 = /* @__PURE__ */ function() {
|
|
|
41418
41499
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41419
41500
|
}
|
|
41420
41501
|
}
|
|
41421
|
-
__name(
|
|
41502
|
+
__name(defineProperties4, "defineProperties");
|
|
41422
41503
|
return function(Constructor, protoProps, staticProps) {
|
|
41423
41504
|
if (protoProps)
|
|
41424
|
-
|
|
41505
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41425
41506
|
if (staticProps)
|
|
41426
|
-
|
|
41507
|
+
defineProperties4(Constructor, staticProps);
|
|
41427
41508
|
return Constructor;
|
|
41428
41509
|
};
|
|
41429
41510
|
}();
|
|
@@ -41656,7 +41737,7 @@ var calculateChange$1 = /* @__PURE__ */ __name(function calculateChange2(e2, dir
|
|
|
41656
41737
|
return null;
|
|
41657
41738
|
}, "calculateChange");
|
|
41658
41739
|
var _createClass$7 = /* @__PURE__ */ function() {
|
|
41659
|
-
function
|
|
41740
|
+
function defineProperties4(target, props) {
|
|
41660
41741
|
for (var i = 0; i < props.length; i++) {
|
|
41661
41742
|
var descriptor2 = props[i];
|
|
41662
41743
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41666,12 +41747,12 @@ var _createClass$7 = /* @__PURE__ */ function() {
|
|
|
41666
41747
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41667
41748
|
}
|
|
41668
41749
|
}
|
|
41669
|
-
__name(
|
|
41750
|
+
__name(defineProperties4, "defineProperties");
|
|
41670
41751
|
return function(Constructor, protoProps, staticProps) {
|
|
41671
41752
|
if (protoProps)
|
|
41672
|
-
|
|
41753
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41673
41754
|
if (staticProps)
|
|
41674
|
-
|
|
41755
|
+
defineProperties4(Constructor, staticProps);
|
|
41675
41756
|
return Constructor;
|
|
41676
41757
|
};
|
|
41677
41758
|
}();
|
|
@@ -41908,7 +41989,7 @@ var calculateChange3 = /* @__PURE__ */ __name(function calculateChange4(e2, hsl,
|
|
|
41908
41989
|
};
|
|
41909
41990
|
}, "calculateChange");
|
|
41910
41991
|
var _createClass$6 = /* @__PURE__ */ function() {
|
|
41911
|
-
function
|
|
41992
|
+
function defineProperties4(target, props) {
|
|
41912
41993
|
for (var i = 0; i < props.length; i++) {
|
|
41913
41994
|
var descriptor2 = props[i];
|
|
41914
41995
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41918,12 +41999,12 @@ var _createClass$6 = /* @__PURE__ */ function() {
|
|
|
41918
41999
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41919
42000
|
}
|
|
41920
42001
|
}
|
|
41921
|
-
__name(
|
|
42002
|
+
__name(defineProperties4, "defineProperties");
|
|
41922
42003
|
return function(Constructor, protoProps, staticProps) {
|
|
41923
42004
|
if (protoProps)
|
|
41924
|
-
|
|
42005
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41925
42006
|
if (staticProps)
|
|
41926
|
-
|
|
42007
|
+
defineProperties4(Constructor, staticProps);
|
|
41927
42008
|
return Constructor;
|
|
41928
42009
|
};
|
|
41929
42010
|
}();
|
|
@@ -43161,7 +43242,7 @@ var _extends$e = Object.assign || function(target) {
|
|
|
43161
43242
|
return target;
|
|
43162
43243
|
};
|
|
43163
43244
|
var _createClass$5 = /* @__PURE__ */ function() {
|
|
43164
|
-
function
|
|
43245
|
+
function defineProperties4(target, props) {
|
|
43165
43246
|
for (var i = 0; i < props.length; i++) {
|
|
43166
43247
|
var descriptor2 = props[i];
|
|
43167
43248
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43171,12 +43252,12 @@ var _createClass$5 = /* @__PURE__ */ function() {
|
|
|
43171
43252
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43172
43253
|
}
|
|
43173
43254
|
}
|
|
43174
|
-
__name(
|
|
43255
|
+
__name(defineProperties4, "defineProperties");
|
|
43175
43256
|
return function(Constructor, protoProps, staticProps) {
|
|
43176
43257
|
if (protoProps)
|
|
43177
|
-
|
|
43258
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
43178
43259
|
if (staticProps)
|
|
43179
|
-
|
|
43260
|
+
defineProperties4(Constructor, staticProps);
|
|
43180
43261
|
return Constructor;
|
|
43181
43262
|
};
|
|
43182
43263
|
}();
|
|
@@ -43273,7 +43354,7 @@ var _extends$d = Object.assign || function(target) {
|
|
|
43273
43354
|
return target;
|
|
43274
43355
|
};
|
|
43275
43356
|
var _createClass$4 = /* @__PURE__ */ function() {
|
|
43276
|
-
function
|
|
43357
|
+
function defineProperties4(target, props) {
|
|
43277
43358
|
for (var i = 0; i < props.length; i++) {
|
|
43278
43359
|
var descriptor2 = props[i];
|
|
43279
43360
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43283,12 +43364,12 @@ var _createClass$4 = /* @__PURE__ */ function() {
|
|
|
43283
43364
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43284
43365
|
}
|
|
43285
43366
|
}
|
|
43286
|
-
__name(
|
|
43367
|
+
__name(defineProperties4, "defineProperties");
|
|
43287
43368
|
return function(Constructor, protoProps, staticProps) {
|
|
43288
43369
|
if (protoProps)
|
|
43289
|
-
|
|
43370
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
43290
43371
|
if (staticProps)
|
|
43291
|
-
|
|
43372
|
+
defineProperties4(Constructor, staticProps);
|
|
43292
43373
|
return Constructor;
|
|
43293
43374
|
};
|
|
43294
43375
|
}();
|
|
@@ -43769,7 +43850,7 @@ var _default$3 = UnfoldMoreHorizontalIcon.default = function(_ref) {
|
|
|
43769
43850
|
);
|
|
43770
43851
|
};
|
|
43771
43852
|
var _createClass$3 = /* @__PURE__ */ function() {
|
|
43772
|
-
function
|
|
43853
|
+
function defineProperties4(target, props) {
|
|
43773
43854
|
for (var i = 0; i < props.length; i++) {
|
|
43774
43855
|
var descriptor2 = props[i];
|
|
43775
43856
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43779,12 +43860,12 @@ var _createClass$3 = /* @__PURE__ */ function() {
|
|
|
43779
43860
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43780
43861
|
}
|
|
43781
43862
|
}
|
|
43782
|
-
__name(
|
|
43863
|
+
__name(defineProperties4, "defineProperties");
|
|
43783
43864
|
return function(Constructor, protoProps, staticProps) {
|
|
43784
43865
|
if (protoProps)
|
|
43785
|
-
|
|
43866
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
43786
43867
|
if (staticProps)
|
|
43787
|
-
|
|
43868
|
+
defineProperties4(Constructor, staticProps);
|
|
43788
43869
|
return Constructor;
|
|
43789
43870
|
};
|
|
43790
43871
|
}();
|
|
@@ -45194,7 +45275,7 @@ var PhotoshopPreviews = /* @__PURE__ */ __name(function PhotoshopPreviews2(_ref)
|
|
|
45194
45275
|
);
|
|
45195
45276
|
}, "PhotoshopPreviews");
|
|
45196
45277
|
var _createClass$2 = /* @__PURE__ */ function() {
|
|
45197
|
-
function
|
|
45278
|
+
function defineProperties4(target, props) {
|
|
45198
45279
|
for (var i = 0; i < props.length; i++) {
|
|
45199
45280
|
var descriptor2 = props[i];
|
|
45200
45281
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -45204,12 +45285,12 @@ var _createClass$2 = /* @__PURE__ */ function() {
|
|
|
45204
45285
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
45205
45286
|
}
|
|
45206
45287
|
}
|
|
45207
|
-
__name(
|
|
45288
|
+
__name(defineProperties4, "defineProperties");
|
|
45208
45289
|
return function(Constructor, protoProps, staticProps) {
|
|
45209
45290
|
if (protoProps)
|
|
45210
|
-
|
|
45291
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
45211
45292
|
if (staticProps)
|
|
45212
|
-
|
|
45293
|
+
defineProperties4(Constructor, staticProps);
|
|
45213
45294
|
return Constructor;
|
|
45214
45295
|
};
|
|
45215
45296
|
}();
|
|
@@ -49160,6 +49241,9 @@ function resolvePathname(to, from3) {
|
|
|
49160
49241
|
__name(resolvePathname, "resolvePathname");
|
|
49161
49242
|
var prefix$2 = "Invariant failed";
|
|
49162
49243
|
function invariant$2(condition, message) {
|
|
49244
|
+
if (condition) {
|
|
49245
|
+
return;
|
|
49246
|
+
}
|
|
49163
49247
|
{
|
|
49164
49248
|
throw new Error(prefix$2);
|
|
49165
49249
|
}
|
|
@@ -49207,7 +49291,7 @@ function createLocation(path2, state2, key, currentLocation) {
|
|
|
49207
49291
|
} else {
|
|
49208
49292
|
location2.hash = "";
|
|
49209
49293
|
}
|
|
49210
|
-
if (location2.state === void 0)
|
|
49294
|
+
if (state2 !== void 0 && location2.state === void 0)
|
|
49211
49295
|
location2.state = state2;
|
|
49212
49296
|
}
|
|
49213
49297
|
try {
|
|
@@ -49219,6 +49303,8 @@ function createLocation(path2, state2, key, currentLocation) {
|
|
|
49219
49303
|
throw e2;
|
|
49220
49304
|
}
|
|
49221
49305
|
}
|
|
49306
|
+
if (key)
|
|
49307
|
+
location2.key = key;
|
|
49222
49308
|
if (currentLocation) {
|
|
49223
49309
|
if (!location2.pathname) {
|
|
49224
49310
|
location2.pathname = currentLocation.pathname;
|
|
@@ -49340,6 +49426,7 @@ Link.contextTypes = {
|
|
|
49340
49426
|
}).isRequired
|
|
49341
49427
|
}).isRequired
|
|
49342
49428
|
};
|
|
49429
|
+
const Link$1 = Link;
|
|
49343
49430
|
var pathToRegexp$2 = { exports: {} };
|
|
49344
49431
|
var isarray$1 = Array.isArray || function(arr) {
|
|
49345
49432
|
return Object.prototype.toString.call(arr) == "[object Array]";
|
|
@@ -49786,6 +49873,7 @@ Route.contextTypes = {
|
|
|
49786
49873
|
Route.childContextTypes = {
|
|
49787
49874
|
router: PropTypes.object.isRequired
|
|
49788
49875
|
};
|
|
49876
|
+
const Route$1 = Route;
|
|
49789
49877
|
var REACT_STATICS = {
|
|
49790
49878
|
childContextTypes: true,
|
|
49791
49879
|
contextTypes: true,
|
|
@@ -49807,7 +49895,7 @@ var KNOWN_STATICS = {
|
|
|
49807
49895
|
arity: true
|
|
49808
49896
|
};
|
|
49809
49897
|
var defineProperty$3 = Object.defineProperty;
|
|
49810
|
-
var
|
|
49898
|
+
var getOwnPropertyNames4 = Object.getOwnPropertyNames;
|
|
49811
49899
|
var getOwnPropertySymbols3 = Object.getOwnPropertySymbols;
|
|
49812
49900
|
var getOwnPropertyDescriptor3 = Object.getOwnPropertyDescriptor;
|
|
49813
49901
|
var getPrototypeOf = Object.getPrototypeOf;
|
|
@@ -49820,7 +49908,7 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
|
49820
49908
|
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
49821
49909
|
}
|
|
49822
49910
|
}
|
|
49823
|
-
var keys5 =
|
|
49911
|
+
var keys5 = getOwnPropertyNames4(sourceComponent);
|
|
49824
49912
|
if (getOwnPropertySymbols3) {
|
|
49825
49913
|
keys5 = keys5.concat(getOwnPropertySymbols3(sourceComponent));
|
|
49826
49914
|
}
|
|
@@ -49867,7 +49955,7 @@ __name(_objectWithoutProperties$3, "_objectWithoutProperties$3");
|
|
|
49867
49955
|
var withRouter = /* @__PURE__ */ __name(function withRouter2(Component) {
|
|
49868
49956
|
var C = /* @__PURE__ */ __name(function C2(props) {
|
|
49869
49957
|
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutProperties$3(props, ["wrappedComponentRef"]);
|
|
49870
|
-
return React$2.createElement(Route, {
|
|
49958
|
+
return React$2.createElement(Route$1, {
|
|
49871
49959
|
children: /* @__PURE__ */ __name(function children(routeComponentProps) {
|
|
49872
49960
|
return React$2.createElement(Component, _extends$3({}, remainingProps, routeComponentProps, {
|
|
49873
49961
|
ref: wrappedComponentRef
|
|
@@ -49882,6 +49970,7 @@ var withRouter = /* @__PURE__ */ __name(function withRouter2(Component) {
|
|
|
49882
49970
|
};
|
|
49883
49971
|
return hoistStatics(C, Component);
|
|
49884
49972
|
}, "withRouter");
|
|
49973
|
+
const withRouter$1 = withRouter;
|
|
49885
49974
|
const isEq$1 = /* @__PURE__ */ __name((o1, o2) => {
|
|
49886
49975
|
const isEq2 = isEqualWith(o1, o2, function(val1, val2) {
|
|
49887
49976
|
if (isFunction$6(val1) && isFunction$6(val2)) {
|
|
@@ -49949,8 +50038,12 @@ function getTableConfigFromStorage(formName) {
|
|
|
49949
50038
|
__name(getTableConfigFromStorage, "getTableConfigFromStorage");
|
|
49950
50039
|
function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
49951
50040
|
let topLevelOptions;
|
|
49952
|
-
|
|
50041
|
+
let Component;
|
|
50042
|
+
if (!pTopLevelOpts) {
|
|
49953
50043
|
topLevelOptions = compOrOpts;
|
|
50044
|
+
} else {
|
|
50045
|
+
topLevelOptions = pTopLevelOpts;
|
|
50046
|
+
Component = compOrOpts;
|
|
49954
50047
|
}
|
|
49955
50048
|
const { isLocalCall } = topLevelOptions;
|
|
49956
50049
|
const mapStateToProps2 = /* @__PURE__ */ __name((state2, ownProps) => {
|
|
@@ -50172,11 +50265,14 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
|
50172
50265
|
}),
|
|
50173
50266
|
branch((props) => {
|
|
50174
50267
|
return !props.noRouter;
|
|
50175
|
-
}, withRouter),
|
|
50268
|
+
}, withRouter$1),
|
|
50176
50269
|
reactRedux.connect(mapStateToProps2, mapDispatchToProps2, mergeProps),
|
|
50177
50270
|
pure$1,
|
|
50178
50271
|
addFormTracking
|
|
50179
50272
|
);
|
|
50273
|
+
if (Component) {
|
|
50274
|
+
return toReturn(Component);
|
|
50275
|
+
}
|
|
50180
50276
|
return toReturn;
|
|
50181
50277
|
}
|
|
50182
50278
|
__name(withTableParams, "withTableParams");
|
|
@@ -51087,7 +51183,7 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
51087
51183
|
const { schema: schema2 } = this.props;
|
|
51088
51184
|
const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
|
|
51089
51185
|
const validationErrors = {};
|
|
51090
|
-
const newEnts =
|
|
51186
|
+
const newEnts = immer(entities, (entities2) => {
|
|
51091
51187
|
entities2.forEach((e2, index2) => {
|
|
51092
51188
|
editableFields.forEach((columnSchema) => {
|
|
51093
51189
|
if (useDefaultValues) {
|
|
@@ -54641,7 +54737,7 @@ function MatchHeaders({
|
|
|
54641
54737
|
}),
|
|
54642
54738
|
onChange: (val2) => {
|
|
54643
54739
|
setFilesWIssues(
|
|
54644
|
-
|
|
54740
|
+
immer(filesWIssues, (files) => {
|
|
54645
54741
|
files.forEach((f2, i2) => {
|
|
54646
54742
|
const isCurrentFile = fileIndex === i2;
|
|
54647
54743
|
if (isCurrentFile || doAllFilesHaveSameHeaders) {
|
|
@@ -56601,7 +56697,7 @@ const UploadCsvWizardDialogInner = compose(
|
|
|
56601
56697
|
}, hasSubmitted && {
|
|
56602
56698
|
onBackClick: onBackClick || (() => {
|
|
56603
56699
|
setSteps(
|
|
56604
|
-
|
|
56700
|
+
immer(steps, (draft) => {
|
|
56605
56701
|
draft[0].active = true;
|
|
56606
56702
|
draft[0].completed = false;
|
|
56607
56703
|
draft[1].active = false;
|
|
@@ -56614,7 +56710,7 @@ const UploadCsvWizardDialogInner = compose(
|
|
|
56614
56710
|
return __async(this, null, function* () {
|
|
56615
56711
|
if (!hasSubmitted) {
|
|
56616
56712
|
setSteps(
|
|
56617
|
-
|
|
56713
|
+
immer(steps, (draft) => {
|
|
56618
56714
|
draft[0].active = false;
|
|
56619
56715
|
draft[0].completed = true;
|
|
56620
56716
|
draft[1].active = true;
|
|
@@ -59466,8 +59562,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
59466
59562
|
var q2 = false;
|
|
59467
59563
|
function J(e3, t3, r3, n3) {
|
|
59468
59564
|
P2(e3, (s2 << 1) + (n3 ? 1 : 0), 3), function(e4, t4, r4, n4) {
|
|
59469
|
-
M2(e4), U2(e4, r4), U2(e4, ~r4), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
|
|
59470
|
-
}(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);
|
|
59471
59567
|
}
|
|
59472
59568
|
__name(J, "J");
|
|
59473
59569
|
r2._tr_init = function(e3) {
|
|
@@ -65369,7 +65465,7 @@ function _createForOfIteratorHelperLoose$4(o2, allowArrayLike) {
|
|
|
65369
65465
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
65370
65466
|
if (it)
|
|
65371
65467
|
return (it = it.call(o2)).next.bind(it);
|
|
65372
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike) {
|
|
65468
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
65373
65469
|
if (it)
|
|
65374
65470
|
o2 = it;
|
|
65375
65471
|
var i = 0;
|
|
@@ -65722,7 +65818,7 @@ function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
|
|
|
65722
65818
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
65723
65819
|
if (it)
|
|
65724
65820
|
return (it = it.call(o2)).next.bind(it);
|
|
65725
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike) {
|
|
65821
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
65726
65822
|
if (it)
|
|
65727
65823
|
o2 = it;
|
|
65728
65824
|
var i = 0;
|
|
@@ -66018,7 +66114,7 @@ function _createForOfIteratorHelperLoose$2(o2, allowArrayLike) {
|
|
|
66018
66114
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66019
66115
|
if (it)
|
|
66020
66116
|
return (it = it.call(o2)).next.bind(it);
|
|
66021
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike) {
|
|
66117
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66022
66118
|
if (it)
|
|
66023
66119
|
o2 = it;
|
|
66024
66120
|
var i = 0;
|
|
@@ -66104,7 +66200,7 @@ function _createForOfIteratorHelperLoose$1(o2, allowArrayLike) {
|
|
|
66104
66200
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66105
66201
|
if (it)
|
|
66106
66202
|
return (it = it.call(o2)).next.bind(it);
|
|
66107
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike) {
|
|
66203
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66108
66204
|
if (it)
|
|
66109
66205
|
o2 = it;
|
|
66110
66206
|
var i = 0;
|
|
@@ -66205,7 +66301,7 @@ function _createForOfIteratorHelperLoose(o2, allowArrayLike) {
|
|
|
66205
66301
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66206
66302
|
if (it)
|
|
66207
66303
|
return (it = it.call(o2)).next.bind(it);
|
|
66208
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike) {
|
|
66304
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66209
66305
|
if (it)
|
|
66210
66306
|
o2 = it;
|
|
66211
66307
|
var i = 0;
|
|
@@ -66842,7 +66938,7 @@ function UploaderInner({
|
|
|
66842
66938
|
) : /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, "Accepts ", simpleAccept)
|
|
66843
66939
|
),
|
|
66844
66940
|
/* @__PURE__ */ React$2.createElement(
|
|
66845
|
-
Dropzone,
|
|
66941
|
+
Dropzone$1,
|
|
66846
66942
|
__spreadValues(__spreadValues({
|
|
66847
66943
|
disabled: dropzoneDisabled,
|
|
66848
66944
|
onClick: (evt) => evt.preventDefault(),
|
|
@@ -67655,7 +67751,7 @@ function _getRequireWildcardCache$1(nodeInterop) {
|
|
|
67655
67751
|
}
|
|
67656
67752
|
__name(_getRequireWildcardCache$1, "_getRequireWildcardCache$1");
|
|
67657
67753
|
function _interopRequireWildcard$1(obj, nodeInterop) {
|
|
67658
|
-
if (obj && obj.__esModule) {
|
|
67754
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
67659
67755
|
return obj;
|
|
67660
67756
|
}
|
|
67661
67757
|
if (obj === null || _typeof$1(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -68080,7 +68176,7 @@ function _getRequireWildcardCache(nodeInterop) {
|
|
|
68080
68176
|
}
|
|
68081
68177
|
__name(_getRequireWildcardCache, "_getRequireWildcardCache");
|
|
68082
68178
|
function _interopRequireWildcard(obj, nodeInterop) {
|
|
68083
|
-
if (obj && obj.__esModule) {
|
|
68179
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
68084
68180
|
return obj;
|
|
68085
68181
|
}
|
|
68086
68182
|
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -68194,6 +68290,8 @@ __name(_defineProperties$1, "_defineProperties$1");
|
|
|
68194
68290
|
function _createClass$1(Constructor, protoProps, staticProps) {
|
|
68195
68291
|
if (protoProps)
|
|
68196
68292
|
_defineProperties$1(Constructor.prototype, protoProps);
|
|
68293
|
+
if (staticProps)
|
|
68294
|
+
_defineProperties$1(Constructor, staticProps);
|
|
68197
68295
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
68198
68296
|
return Constructor;
|
|
68199
68297
|
}
|
|
@@ -68675,7 +68773,7 @@ _defineProperty$3(DraggableCore$1, "defaultProps", {
|
|
|
68675
68773
|
}
|
|
68676
68774
|
__name(_getRequireWildcardCache2, "_getRequireWildcardCache");
|
|
68677
68775
|
function _interopRequireWildcard2(obj, nodeInterop) {
|
|
68678
|
-
if (obj && obj.__esModule) {
|
|
68776
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
68679
68777
|
return obj;
|
|
68680
68778
|
}
|
|
68681
68779
|
if (obj === null || _typeof4(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -69457,7 +69555,7 @@ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
|
|
|
69457
69555
|
this.cache[key] = value;
|
|
69458
69556
|
};
|
|
69459
69557
|
var cacheDefault = {
|
|
69460
|
-
create: /* @__PURE__ */ __name(function
|
|
69558
|
+
create: /* @__PURE__ */ __name(function create4() {
|
|
69461
69559
|
return new ObjectWithoutPrototypeCache();
|
|
69462
69560
|
}, "create")
|
|
69463
69561
|
};
|
|
@@ -70789,7 +70887,7 @@ function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
|
|
|
70789
70887
|
e2.target.closest(`.${core$5.Classes.POPOVER_DISMISS}`).click();
|
|
70790
70888
|
}, "handleLinkClick");
|
|
70791
70889
|
return /* @__PURE__ */ React$2.createElement("li", { className: core$5.Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(
|
|
70792
|
-
Link,
|
|
70890
|
+
Link$1,
|
|
70793
70891
|
{
|
|
70794
70892
|
onClick: handleLinkClick,
|
|
70795
70893
|
to: navTo,
|
|
@@ -70813,7 +70911,7 @@ const EnhancedMenuItem = compose(
|
|
|
70813
70911
|
willUnmount({ className });
|
|
70814
70912
|
}
|
|
70815
70913
|
}),
|
|
70816
|
-
branch(({ navTo }) => navTo, withRouter)
|
|
70914
|
+
branch(({ navTo }) => navTo, withRouter$1)
|
|
70817
70915
|
)(function(_o) {
|
|
70818
70916
|
var _p = _o, {
|
|
70819
70917
|
navTo,
|
|
@@ -73207,7 +73305,7 @@ function trimRangeByAnotherRange(rangeToBeTrimmed, trimmingRange, sequenceLength
|
|
|
73207
73305
|
}
|
|
73208
73306
|
}
|
|
73209
73307
|
if (outputTrimmedRange) {
|
|
73210
|
-
return
|
|
73308
|
+
return extend$2({}, rangeToBeTrimmed, {
|
|
73211
73309
|
start: outputTrimmedRange.start,
|
|
73212
73310
|
end: outputTrimmedRange.end
|
|
73213
73311
|
});
|
|
@@ -73792,6 +73890,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
|
|
|
73792
73890
|
);
|
|
73793
73891
|
if (!rangeBlocked) {
|
|
73794
73892
|
yOffset = index2;
|
|
73893
|
+
if (assignYOffsetToRange)
|
|
73894
|
+
range2.yOffset = index2;
|
|
73795
73895
|
rangesAlreadyAddedToYOffset.push(range2);
|
|
73796
73896
|
return true;
|
|
73797
73897
|
}
|
|
@@ -73800,6 +73900,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
|
|
|
73800
73900
|
);
|
|
73801
73901
|
if (!openYOffsetFound) {
|
|
73802
73902
|
yOffset = YOffsetLevelsWithRanges.length;
|
|
73903
|
+
if (assignYOffsetToRange)
|
|
73904
|
+
range2.yOffset = YOffsetLevelsWithRanges.length;
|
|
73803
73905
|
}
|
|
73804
73906
|
return yOffset;
|
|
73805
73907
|
}
|
|
@@ -74569,7 +74671,7 @@ __name(requireEmpty, "requireEmpty");
|
|
|
74569
74671
|
}
|
|
74570
74672
|
}, "classCallCheck");
|
|
74571
74673
|
var createClass2 = /* @__PURE__ */ function() {
|
|
74572
|
-
function
|
|
74674
|
+
function defineProperties4(target, props) {
|
|
74573
74675
|
for (var i = 0; i < props.length; i++) {
|
|
74574
74676
|
var descriptor2 = props[i];
|
|
74575
74677
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -74579,12 +74681,12 @@ __name(requireEmpty, "requireEmpty");
|
|
|
74579
74681
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
74580
74682
|
}
|
|
74581
74683
|
}
|
|
74582
|
-
__name(
|
|
74684
|
+
__name(defineProperties4, "defineProperties");
|
|
74583
74685
|
return function(Constructor, protoProps, staticProps) {
|
|
74584
74686
|
if (protoProps)
|
|
74585
|
-
|
|
74687
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
74586
74688
|
if (staticProps)
|
|
74587
|
-
|
|
74689
|
+
defineProperties4(Constructor, staticProps);
|
|
74588
74690
|
return Constructor;
|
|
74589
74691
|
};
|
|
74590
74692
|
}();
|
|
@@ -78399,10 +78501,10 @@ __name(requireEmpty, "requireEmpty");
|
|
|
78399
78501
|
return value;
|
|
78400
78502
|
}
|
|
78401
78503
|
__name(dateReviver, "dateReviver");
|
|
78402
|
-
function
|
|
78504
|
+
function create6(options) {
|
|
78403
78505
|
return new DiffPatcher(options);
|
|
78404
78506
|
}
|
|
78405
|
-
__name(
|
|
78507
|
+
__name(create6, "create");
|
|
78406
78508
|
var defaultInstance$4 = void 0;
|
|
78407
78509
|
function diff() {
|
|
78408
78510
|
if (!defaultInstance$4) {
|
|
@@ -78442,7 +78544,7 @@ __name(requireEmpty, "requireEmpty");
|
|
|
78442
78544
|
exports3.DiffPatcher = DiffPatcher;
|
|
78443
78545
|
exports3.formatters = index2;
|
|
78444
78546
|
exports3.console = console$1;
|
|
78445
|
-
exports3.create =
|
|
78547
|
+
exports3.create = create6;
|
|
78446
78548
|
exports3.dateReviver = dateReviver;
|
|
78447
78549
|
exports3.diff = diff;
|
|
78448
78550
|
exports3.patch = patch2;
|
|
@@ -87911,7 +88013,7 @@ function getSequenceDataBetweenRange(seqData, range2, options = {}) {
|
|
|
87911
88013
|
annotationTypes.forEach((type2) => {
|
|
87912
88014
|
delete seqDataToUse[`filtered${startCase(type2)}`];
|
|
87913
88015
|
});
|
|
87914
|
-
const seqDataToReturn =
|
|
88016
|
+
const seqDataToReturn = extend$2(
|
|
87915
88017
|
{},
|
|
87916
88018
|
seqDataToUse,
|
|
87917
88019
|
{
|
|
@@ -87979,7 +88081,7 @@ function getAnnotationsBetweenRange(annotationsToBeAdjusted, range2, maxLength,
|
|
|
87979
88081
|
}
|
|
87980
88082
|
const overlaps = getZeroedRangeOverlaps(annotation, range2, maxLength).map(
|
|
87981
88083
|
(overlap) => {
|
|
87982
|
-
return
|
|
88084
|
+
return extend$2({}, annotation, overlap);
|
|
87983
88085
|
}
|
|
87984
88086
|
);
|
|
87985
88087
|
if (shouldExcludePartial) {
|
|
@@ -95366,12 +95468,14 @@ var buffer$2 = {};
|
|
|
95366
95468
|
if (value > max2 || value < min2) {
|
|
95367
95469
|
const n2 = typeof min2 === "bigint" ? "n" : "";
|
|
95368
95470
|
let range2;
|
|
95369
|
-
{
|
|
95471
|
+
if (byteLength3 > 3) {
|
|
95370
95472
|
if (min2 === 0 || min2 === BigInt(0)) {
|
|
95371
95473
|
range2 = `>= 0${n2} and < 2${n2} ** ${(byteLength3 + 1) * 8}${n2}`;
|
|
95372
95474
|
} else {
|
|
95373
95475
|
range2 = `>= -(2${n2} ** ${(byteLength3 + 1) * 8 - 1}${n2}) and < 2 ** ${(byteLength3 + 1) * 8 - 1}${n2}`;
|
|
95374
95476
|
}
|
|
95477
|
+
} else {
|
|
95478
|
+
range2 = `>= ${min2}${n2} and <= ${max2}${n2}`;
|
|
95375
95479
|
}
|
|
95376
95480
|
throw new errors.ERR_OUT_OF_RANGE("value", range2, value);
|
|
95377
95481
|
}
|
|
@@ -95387,14 +95491,14 @@ var buffer$2 = {};
|
|
|
95387
95491
|
function boundsError(value, length, type2) {
|
|
95388
95492
|
if (Math.floor(value) !== value) {
|
|
95389
95493
|
validateNumber(value, type2);
|
|
95390
|
-
throw new errors.ERR_OUT_OF_RANGE("offset", "an integer", value);
|
|
95494
|
+
throw new errors.ERR_OUT_OF_RANGE(type2 || "offset", "an integer", value);
|
|
95391
95495
|
}
|
|
95392
95496
|
if (length < 0) {
|
|
95393
95497
|
throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();
|
|
95394
95498
|
}
|
|
95395
95499
|
throw new errors.ERR_OUT_OF_RANGE(
|
|
95396
|
-
"offset",
|
|
95397
|
-
`>= ${0} and <= ${length}`,
|
|
95500
|
+
type2 || "offset",
|
|
95501
|
+
`>= ${type2 ? 1 : 0} and <= ${length}`,
|
|
95398
95502
|
value
|
|
95399
95503
|
);
|
|
95400
95504
|
}
|
|
@@ -95999,6 +96103,8 @@ function requireBuffer_list() {
|
|
|
95999
96103
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
96000
96104
|
if (protoProps)
|
|
96001
96105
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
96106
|
+
if (staticProps)
|
|
96107
|
+
_defineProperties2(Constructor, staticProps);
|
|
96002
96108
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
96003
96109
|
return Constructor;
|
|
96004
96110
|
}
|
|
@@ -96368,7 +96474,7 @@ function requireErrorsBrowser() {
|
|
|
96368
96474
|
}
|
|
96369
96475
|
__name(oneOf, "oneOf");
|
|
96370
96476
|
function startsWith2(str, search2, pos) {
|
|
96371
|
-
return str.substr(0, search2.length) === search2;
|
|
96477
|
+
return str.substr(!pos || pos < 0 ? 0 : +pos, search2.length) === search2;
|
|
96372
96478
|
}
|
|
96373
96479
|
__name(startsWith2, "startsWith");
|
|
96374
96480
|
function endsWith2(str, search2, this_len) {
|
|
@@ -99883,10 +99989,16 @@ function unzipSync(data, opts2) {
|
|
|
99883
99989
|
o2 = b4(data, ze + 48);
|
|
99884
99990
|
}
|
|
99885
99991
|
}
|
|
99992
|
+
var fltr = opts2 && opts2.filter;
|
|
99886
99993
|
for (var i = 0; i < c2; ++i) {
|
|
99887
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);
|
|
99888
99995
|
o2 = no;
|
|
99889
|
-
{
|
|
99996
|
+
if (!fltr || fltr({
|
|
99997
|
+
name: fn4,
|
|
99998
|
+
size: sc,
|
|
99999
|
+
originalSize: su,
|
|
100000
|
+
compression: c_2
|
|
100001
|
+
})) {
|
|
99890
100002
|
if (!c_2)
|
|
99891
100003
|
files[fn4] = slc(data, b3, b3 + sc);
|
|
99892
100004
|
else if (c_2 == 8)
|
|
@@ -102087,7 +102199,7 @@ const reducer$1 = createReducer(
|
|
|
102087
102199
|
return payload.filter((group) => group.length);
|
|
102088
102200
|
},
|
|
102089
102201
|
[flipActiveTabFromLinearOrCircularIfNecessary]: (state2, setCircActive) => {
|
|
102090
|
-
const newState =
|
|
102202
|
+
const newState = immer(state2, (s2) => {
|
|
102091
102203
|
s2.forEach((g2) => {
|
|
102092
102204
|
flipActiveForGroup(g2, setCircActive);
|
|
102093
102205
|
});
|
|
@@ -102862,7 +102974,7 @@ var defineProperty$2 = /* @__PURE__ */ __name(function(object3, name2, value, pr
|
|
|
102862
102974
|
defineDataProperty2(object3, name2, value);
|
|
102863
102975
|
}
|
|
102864
102976
|
}, "defineProperty$2");
|
|
102865
|
-
var
|
|
102977
|
+
var defineProperties3 = /* @__PURE__ */ __name(function(object3, map3) {
|
|
102866
102978
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
102867
102979
|
var props = keys$1(map3);
|
|
102868
102980
|
if (hasSymbols2) {
|
|
@@ -102872,8 +102984,8 @@ var defineProperties2 = /* @__PURE__ */ __name(function(object3, map3) {
|
|
|
102872
102984
|
defineProperty$2(object3, props[i], map3[props[i]], predicates[props[i]]);
|
|
102873
102985
|
}
|
|
102874
102986
|
}, "defineProperties");
|
|
102875
|
-
|
|
102876
|
-
var defineProperties_1 =
|
|
102987
|
+
defineProperties3.supportsDescriptors = !!supportsDescriptors$2;
|
|
102988
|
+
var defineProperties_1 = defineProperties3;
|
|
102877
102989
|
var numberIsNaN = /* @__PURE__ */ __name(function(value) {
|
|
102878
102990
|
return value !== value;
|
|
102879
102991
|
}, "numberIsNaN");
|
|
@@ -103758,6 +103870,7 @@ function createThunkMiddleware(extraArgument) {
|
|
|
103758
103870
|
__name(createThunkMiddleware, "createThunkMiddleware");
|
|
103759
103871
|
var thunk = createThunkMiddleware();
|
|
103760
103872
|
thunk.withExtraArgument = createThunkMiddleware;
|
|
103873
|
+
const thunk$1 = thunk;
|
|
103761
103874
|
const makeStore = /* @__PURE__ */ __name(() => {
|
|
103762
103875
|
const composeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
|
|
103763
103876
|
name: "createVectorEditor",
|
|
@@ -103775,7 +103888,7 @@ const makeStore = /* @__PURE__ */ __name(() => {
|
|
|
103775
103888
|
}),
|
|
103776
103889
|
void 0,
|
|
103777
103890
|
composeEnhancer(
|
|
103778
|
-
redux.applyMiddleware(thunk, vectorEditorMiddleware)
|
|
103891
|
+
redux.applyMiddleware(thunk$1, vectorEditorMiddleware)
|
|
103779
103892
|
//your store should be redux-thunk connected for the VectorEditor component to work
|
|
103780
103893
|
)
|
|
103781
103894
|
);
|
|
@@ -106877,7 +106990,7 @@ var parse$1 = /* @__PURE__ */ __name(function parse2(raw2) {
|
|
|
106877
106990
|
return 0;
|
|
106878
106991
|
}
|
|
106879
106992
|
var result = Number(value);
|
|
106880
|
-
!!isNaN(result) ? invariant$2() : void 0;
|
|
106993
|
+
!!isNaN(result) ? invariant$2(false) : void 0;
|
|
106881
106994
|
return result;
|
|
106882
106995
|
}, "parse2");
|
|
106883
106996
|
var getWindowScroll$1 = /* @__PURE__ */ __name(function getWindowScroll2() {
|
|
@@ -107050,6 +107163,9 @@ RbdInvariant.prototype.toString = /* @__PURE__ */ __name(function toString3() {
|
|
|
107050
107163
|
return this.message;
|
|
107051
107164
|
}, "toString");
|
|
107052
107165
|
function invariant$1(condition, message) {
|
|
107166
|
+
if (condition) {
|
|
107167
|
+
return;
|
|
107168
|
+
}
|
|
107053
107169
|
{
|
|
107054
107170
|
throw new RbdInvariant(prefix$1);
|
|
107055
107171
|
}
|
|
@@ -107302,7 +107418,7 @@ var getSubject = /* @__PURE__ */ __name((_ref) => {
|
|
|
107302
107418
|
};
|
|
107303
107419
|
}, "getSubject");
|
|
107304
107420
|
var scrollDroppable = /* @__PURE__ */ __name((droppable2, newScroll) => {
|
|
107305
|
-
!droppable2.frame ? invariant$1() : void 0;
|
|
107421
|
+
!droppable2.frame ? invariant$1(false) : void 0;
|
|
107306
107422
|
const scrollable = droppable2.frame;
|
|
107307
107423
|
const scrollDiff = subtract(newScroll, scrollable.scroll.initial);
|
|
107308
107424
|
const scrollDisplacement = negate(scrollDiff);
|
|
@@ -107400,7 +107516,7 @@ var moveToNextCombine = /* @__PURE__ */ __name((_ref) => {
|
|
|
107400
107516
|
return getImpact(last2.descriptor.id);
|
|
107401
107517
|
}
|
|
107402
107518
|
const indexOfClosest = withoutDraggable.findIndex((d2) => d2.descriptor.id === closestId);
|
|
107403
|
-
!(indexOfClosest !== -1) ? invariant$1() : void 0;
|
|
107519
|
+
!(indexOfClosest !== -1) ? invariant$1(false) : void 0;
|
|
107404
107520
|
const proposedIndex = indexOfClosest - 1;
|
|
107405
107521
|
if (proposedIndex < 0) {
|
|
107406
107522
|
return null;
|
|
@@ -107735,7 +107851,7 @@ var moveToNextIndex = /* @__PURE__ */ __name((_ref) => {
|
|
|
107735
107851
|
afterCritical
|
|
107736
107852
|
} = _ref;
|
|
107737
107853
|
const wasAt = previousImpact.at;
|
|
107738
|
-
!wasAt ? invariant$1() : void 0;
|
|
107854
|
+
!wasAt ? invariant$1(false) : void 0;
|
|
107739
107855
|
if (wasAt.type === "REORDER") {
|
|
107740
107856
|
const newIndex2 = fromReorder({
|
|
107741
107857
|
isMovingForward,
|
|
@@ -107797,7 +107913,7 @@ var whenCombining = /* @__PURE__ */ __name((_ref) => {
|
|
|
107797
107913
|
draggables
|
|
107798
107914
|
} = _ref;
|
|
107799
107915
|
const combine22 = tryGetCombine(impact);
|
|
107800
|
-
!combine22 ? invariant$1() : void 0;
|
|
107916
|
+
!combine22 ? invariant$1(false) : void 0;
|
|
107801
107917
|
const combineWith = combine22.draggableId;
|
|
107802
107918
|
const center = draggables[combineWith].page.borderBox.center;
|
|
107803
107919
|
const displaceBy = getCombinedItemDisplacement({
|
|
@@ -108142,7 +108258,7 @@ var moveToNextPlace = /* @__PURE__ */ __name((_ref) => {
|
|
|
108142
108258
|
}, "moveToNextPlace");
|
|
108143
108259
|
const getKnownActive = /* @__PURE__ */ __name((droppable2) => {
|
|
108144
108260
|
const rect = droppable2.subject.active;
|
|
108145
|
-
!rect ? invariant$1() : void 0;
|
|
108261
|
+
!rect ? invariant$1(false) : void 0;
|
|
108146
108262
|
return rect;
|
|
108147
108263
|
}, "getKnownActive");
|
|
108148
108264
|
var getBestCrossAxisDroppable = /* @__PURE__ */ __name((_ref) => {
|
|
@@ -108265,8 +108381,8 @@ const withMaxScroll = /* @__PURE__ */ __name((frame, max2) => __spreadProps(__sp
|
|
|
108265
108381
|
}), "withMaxScroll");
|
|
108266
108382
|
const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggables) => {
|
|
108267
108383
|
const frame = droppable2.frame;
|
|
108268
|
-
!!isHomeOf(draggable2, droppable2) ? invariant$1() : void 0;
|
|
108269
|
-
!!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;
|
|
108270
108386
|
const placeholderSize = getDisplacedBy(droppable2.axis, draggable2.displaceBy).point;
|
|
108271
108387
|
const requiredGrowth = getRequiredGrowthForPlaceholder(droppable2, placeholderSize, draggables);
|
|
108272
108388
|
const added = {
|
|
@@ -108300,7 +108416,7 @@ const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggable
|
|
|
108300
108416
|
}, "addPlaceholder");
|
|
108301
108417
|
const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
|
|
108302
108418
|
const added = droppable2.subject.withPlaceholder;
|
|
108303
|
-
!added ? invariant$1() : void 0;
|
|
108419
|
+
!added ? invariant$1(false) : void 0;
|
|
108304
108420
|
const frame = droppable2.frame;
|
|
108305
108421
|
if (!frame) {
|
|
108306
108422
|
const subject2 = getSubject({
|
|
@@ -108314,7 +108430,7 @@ const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
|
|
|
108314
108430
|
});
|
|
108315
108431
|
}
|
|
108316
108432
|
const oldMaxScroll = added.oldFrameMaxScroll;
|
|
108317
|
-
!oldMaxScroll ? invariant$1() : void 0;
|
|
108433
|
+
!oldMaxScroll ? invariant$1(false) : void 0;
|
|
108318
108434
|
const newFrame = withMaxScroll(frame, oldMaxScroll);
|
|
108319
108435
|
const subject = getSubject({
|
|
108320
108436
|
page: droppable2.subject.page,
|
|
@@ -108945,7 +109061,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
|
|
|
108945
109061
|
dimensions: forcedDimensions,
|
|
108946
109062
|
viewport: forcedViewport
|
|
108947
109063
|
} = _ref;
|
|
108948
|
-
!(state2.movementMode === "SNAP") ? invariant$1() : void 0;
|
|
109064
|
+
!(state2.movementMode === "SNAP") ? invariant$1(false) : void 0;
|
|
108949
109065
|
const needsVisibilityCheck = state2.impact;
|
|
108950
109066
|
const viewport2 = forcedViewport || state2.viewport;
|
|
108951
109067
|
const dimensions = forcedDimensions || state2.dimensions;
|
|
@@ -108955,7 +109071,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
|
|
|
108955
109071
|
} = dimensions;
|
|
108956
109072
|
const draggable2 = draggables[state2.critical.draggable.id];
|
|
108957
109073
|
const isOver = whatIsDraggedOver(needsVisibilityCheck);
|
|
108958
|
-
!isOver ? invariant$1() : void 0;
|
|
109074
|
+
!isOver ? invariant$1(false) : void 0;
|
|
108959
109075
|
const destination = droppables[isOver];
|
|
108960
109076
|
const impact = recompute({
|
|
108961
109077
|
impact: needsVisibilityCheck,
|
|
@@ -108993,7 +109109,7 @@ var getLiftEffect = /* @__PURE__ */ __name((_ref) => {
|
|
|
108993
109109
|
const displacedBy = getDisplacedBy(home2.axis, draggable2.displaceBy);
|
|
108994
109110
|
const insideHome = getDraggablesInsideDroppable(home2.descriptor.id, draggables);
|
|
108995
109111
|
const rawIndex = insideHome.indexOf(draggable2);
|
|
108996
|
-
!(rawIndex !== -1) ? invariant$1() : void 0;
|
|
109112
|
+
!(rawIndex !== -1) ? invariant$1(false) : void 0;
|
|
108997
109113
|
const afterDragging = insideHome.slice(rawIndex + 1);
|
|
108998
109114
|
const effected = afterDragging.reduce((previous2, item) => {
|
|
108999
109115
|
previous2[item.descriptor.id] = true;
|
|
@@ -109048,7 +109164,7 @@ var offsetDraggable = /* @__PURE__ */ __name((_ref) => {
|
|
|
109048
109164
|
}, "offsetDraggable");
|
|
109049
109165
|
var getFrame = /* @__PURE__ */ __name((droppable2) => {
|
|
109050
109166
|
const frame = droppable2.frame;
|
|
109051
|
-
!frame ? invariant$1() : void 0;
|
|
109167
|
+
!frame ? invariant$1(false) : void 0;
|
|
109052
109168
|
return frame;
|
|
109053
109169
|
}, "getFrame");
|
|
109054
109170
|
var adjustAdditionsForScrollChanges = /* @__PURE__ */ __name((_ref) => {
|
|
@@ -109175,7 +109291,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109175
109291
|
});
|
|
109176
109292
|
}
|
|
109177
109293
|
if (action2.type === "INITIAL_PUBLISH") {
|
|
109178
|
-
!(state2.phase === "IDLE") ? invariant$1() : void 0;
|
|
109294
|
+
!(state2.phase === "IDLE") ? invariant$1(false) : void 0;
|
|
109179
109295
|
const {
|
|
109180
109296
|
critical,
|
|
109181
109297
|
clientSelection,
|
|
@@ -109230,14 +109346,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109230
109346
|
if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
|
|
109231
109347
|
return state2;
|
|
109232
109348
|
}
|
|
109233
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
109349
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
109234
109350
|
const result = __spreadProps(__spreadValues({}, state2), {
|
|
109235
109351
|
phase: "COLLECTING"
|
|
109236
109352
|
});
|
|
109237
109353
|
return result;
|
|
109238
109354
|
}
|
|
109239
109355
|
if (action2.type === "PUBLISH_WHILE_DRAGGING") {
|
|
109240
|
-
!(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
109356
|
+
!(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
109241
109357
|
return publishWhileDraggingInVirtual({
|
|
109242
109358
|
state: state2,
|
|
109243
109359
|
published: action2.payload
|
|
@@ -109247,7 +109363,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109247
109363
|
if (state2.phase === "DROP_PENDING") {
|
|
109248
109364
|
return state2;
|
|
109249
109365
|
}
|
|
109250
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109366
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109251
109367
|
const {
|
|
109252
109368
|
client: clientSelection
|
|
109253
109369
|
} = action2.payload;
|
|
@@ -109267,7 +109383,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109267
109383
|
if (state2.phase === "COLLECTING") {
|
|
109268
109384
|
return removeScrollJumpRequest(state2);
|
|
109269
109385
|
}
|
|
109270
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109386
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109271
109387
|
const {
|
|
109272
109388
|
id: id2,
|
|
109273
109389
|
newScroll
|
|
@@ -109283,14 +109399,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109283
109399
|
if (state2.phase === "DROP_PENDING") {
|
|
109284
109400
|
return state2;
|
|
109285
109401
|
}
|
|
109286
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109402
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109287
109403
|
const {
|
|
109288
109404
|
id: id2,
|
|
109289
109405
|
isEnabled
|
|
109290
109406
|
} = action2.payload;
|
|
109291
109407
|
const target = state2.dimensions.droppables[id2];
|
|
109292
|
-
!target ? invariant$1() : void 0;
|
|
109293
|
-
!(target.isEnabled !== isEnabled) ? invariant$1() : void 0;
|
|
109408
|
+
!target ? invariant$1(false) : void 0;
|
|
109409
|
+
!(target.isEnabled !== isEnabled) ? invariant$1(false) : void 0;
|
|
109294
109410
|
const updated = __spreadProps(__spreadValues({}, target), {
|
|
109295
109411
|
isEnabled
|
|
109296
109412
|
});
|
|
@@ -109300,14 +109416,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109300
109416
|
if (state2.phase === "DROP_PENDING") {
|
|
109301
109417
|
return state2;
|
|
109302
109418
|
}
|
|
109303
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109419
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109304
109420
|
const {
|
|
109305
109421
|
id: id2,
|
|
109306
109422
|
isCombineEnabled
|
|
109307
109423
|
} = action2.payload;
|
|
109308
109424
|
const target = state2.dimensions.droppables[id2];
|
|
109309
|
-
!target ? invariant$1() : void 0;
|
|
109310
|
-
!(target.isCombineEnabled !== isCombineEnabled) ? invariant$1() : void 0;
|
|
109425
|
+
!target ? invariant$1(false) : void 0;
|
|
109426
|
+
!(target.isCombineEnabled !== isCombineEnabled) ? invariant$1(false) : void 0;
|
|
109311
109427
|
const updated = __spreadProps(__spreadValues({}, target), {
|
|
109312
109428
|
isCombineEnabled
|
|
109313
109429
|
});
|
|
@@ -109317,8 +109433,8 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109317
109433
|
if (state2.phase === "DROP_PENDING" || state2.phase === "DROP_ANIMATING") {
|
|
109318
109434
|
return state2;
|
|
109319
109435
|
}
|
|
109320
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109321
|
-
!state2.isWindowScrollAllowed ? invariant$1() : void 0;
|
|
109436
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109437
|
+
!state2.isWindowScrollAllowed ? invariant$1(false) : void 0;
|
|
109322
109438
|
const newScroll = action2.payload.newScroll;
|
|
109323
109439
|
if (isEqual$1(state2.viewport.scroll.current, newScroll)) {
|
|
109324
109440
|
return removeScrollJumpRequest(state2);
|
|
@@ -109356,7 +109472,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109356
109472
|
if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
|
|
109357
109473
|
return state2;
|
|
109358
109474
|
}
|
|
109359
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
109475
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
109360
109476
|
const result = moveInDirection({
|
|
109361
109477
|
state: state2,
|
|
109362
109478
|
type: action2.type
|
|
@@ -109373,7 +109489,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109373
109489
|
}
|
|
109374
109490
|
if (action2.type === "DROP_PENDING") {
|
|
109375
109491
|
const reason = action2.payload.reason;
|
|
109376
|
-
!(state2.phase === "COLLECTING") ? invariant$1() : void 0;
|
|
109492
|
+
!(state2.phase === "COLLECTING") ? invariant$1(false) : void 0;
|
|
109377
109493
|
const newState = __spreadProps(__spreadValues({}, state2), {
|
|
109378
109494
|
phase: "DROP_PENDING",
|
|
109379
109495
|
isWaiting: true,
|
|
@@ -109387,7 +109503,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109387
109503
|
dropDuration,
|
|
109388
109504
|
newHomeClientOffset
|
|
109389
109505
|
} = action2.payload;
|
|
109390
|
-
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
109506
|
+
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
109391
109507
|
const result = {
|
|
109392
109508
|
phase: "DROP_ANIMATING",
|
|
109393
109509
|
completed,
|
|
@@ -109514,7 +109630,7 @@ var lift = /* @__PURE__ */ __name((marshal) => (_ref) => {
|
|
|
109514
109630
|
completed: initial.completed
|
|
109515
109631
|
}));
|
|
109516
109632
|
}
|
|
109517
|
-
!(getState2().phase === "IDLE") ? invariant$1() : void 0;
|
|
109633
|
+
!(getState2().phase === "IDLE") ? invariant$1(false) : void 0;
|
|
109518
109634
|
dispatch(flush());
|
|
109519
109635
|
dispatch(beforeInitialCapture({
|
|
109520
109636
|
draggableId: id2,
|
|
@@ -109705,8 +109821,8 @@ const dropMiddleware = /* @__PURE__ */ __name((_ref) => {
|
|
|
109705
109821
|
return;
|
|
109706
109822
|
}
|
|
109707
109823
|
const isWaitingForDrop = state2.phase === "DROP_PENDING" && state2.isWaiting;
|
|
109708
|
-
!!isWaitingForDrop ? invariant$1() : void 0;
|
|
109709
|
-
!(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;
|
|
109710
109826
|
const critical = state2.critical;
|
|
109711
109827
|
const dimensions = state2.dimensions;
|
|
109712
109828
|
const draggable2 = dimensions.draggables[state2.critical.draggable.id];
|
|
@@ -109807,12 +109923,12 @@ function getScrollListener(_ref) {
|
|
|
109807
109923
|
}
|
|
109808
109924
|
__name(isActive2, "isActive2");
|
|
109809
109925
|
function start2() {
|
|
109810
|
-
!!isActive2() ? invariant$1() : void 0;
|
|
109926
|
+
!!isActive2() ? invariant$1(false) : void 0;
|
|
109811
109927
|
unbind2 = bindEvents(window, [binding]);
|
|
109812
109928
|
}
|
|
109813
109929
|
__name(start2, "start2");
|
|
109814
109930
|
function stop() {
|
|
109815
|
-
!isActive2() ? invariant$1() : void 0;
|
|
109931
|
+
!isActive2() ? invariant$1(false) : void 0;
|
|
109816
109932
|
scheduled.cancel();
|
|
109817
109933
|
unbind2();
|
|
109818
109934
|
unbind2 = noop$2;
|
|
@@ -109869,7 +109985,7 @@ var getAsyncMarshal = /* @__PURE__ */ __name(() => {
|
|
|
109869
109985
|
const entries2 = [];
|
|
109870
109986
|
const execute2 = /* @__PURE__ */ __name((timerId) => {
|
|
109871
109987
|
const index2 = entries2.findIndex((item) => item.timerId === timerId);
|
|
109872
|
-
!(index2 !== -1) ? invariant$1() : void 0;
|
|
109988
|
+
!(index2 !== -1) ? invariant$1(false) : void 0;
|
|
109873
109989
|
const [entry] = entries2.splice(index2, 1);
|
|
109874
109990
|
entry.callback();
|
|
109875
109991
|
}, "execute2");
|
|
@@ -109954,7 +110070,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109954
110070
|
const asyncMarshal = getAsyncMarshal();
|
|
109955
110071
|
let dragging = null;
|
|
109956
110072
|
const beforeCapture = /* @__PURE__ */ __name((draggableId, mode) => {
|
|
109957
|
-
!!dragging ? invariant$1() : void 0;
|
|
110073
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
109958
110074
|
withTimings("onBeforeCapture", () => {
|
|
109959
110075
|
const fn4 = getResponders().onBeforeCapture;
|
|
109960
110076
|
if (fn4) {
|
|
@@ -109967,7 +110083,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109967
110083
|
});
|
|
109968
110084
|
}, "beforeCapture");
|
|
109969
110085
|
const beforeStart = /* @__PURE__ */ __name((critical, mode) => {
|
|
109970
|
-
!!dragging ? invariant$1() : void 0;
|
|
110086
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
109971
110087
|
withTimings("onBeforeDragStart", () => {
|
|
109972
110088
|
const fn4 = getResponders().onBeforeDragStart;
|
|
109973
110089
|
if (fn4) {
|
|
@@ -109976,7 +110092,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109976
110092
|
});
|
|
109977
110093
|
}, "beforeStart");
|
|
109978
110094
|
const start2 = /* @__PURE__ */ __name((critical, mode) => {
|
|
109979
|
-
!!dragging ? invariant$1() : void 0;
|
|
110095
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
109980
110096
|
const data = getDragStart(critical, mode);
|
|
109981
110097
|
dragging = {
|
|
109982
110098
|
mode,
|
|
@@ -109991,7 +110107,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109991
110107
|
const update2 = /* @__PURE__ */ __name((critical, impact) => {
|
|
109992
110108
|
const location2 = tryGetDestination(impact);
|
|
109993
110109
|
const combine22 = tryGetCombine(impact);
|
|
109994
|
-
!dragging ? invariant$1() : void 0;
|
|
110110
|
+
!dragging ? invariant$1(false) : void 0;
|
|
109995
110111
|
const hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical);
|
|
109996
110112
|
if (hasCriticalChanged) {
|
|
109997
110113
|
dragging.lastCritical = critical;
|
|
@@ -110016,11 +110132,11 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
110016
110132
|
});
|
|
110017
110133
|
}, "update2");
|
|
110018
110134
|
const flush2 = /* @__PURE__ */ __name(() => {
|
|
110019
|
-
!dragging ? invariant$1() : void 0;
|
|
110135
|
+
!dragging ? invariant$1(false) : void 0;
|
|
110020
110136
|
asyncMarshal.flush();
|
|
110021
110137
|
}, "flush2");
|
|
110022
110138
|
const drop2 = /* @__PURE__ */ __name((result) => {
|
|
110023
|
-
!dragging ? invariant$1() : void 0;
|
|
110139
|
+
!dragging ? invariant$1(false) : void 0;
|
|
110024
110140
|
dragging = null;
|
|
110025
110141
|
withTimings("onDragEnd", () => execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd));
|
|
110026
110142
|
}, "drop2");
|
|
@@ -110083,7 +110199,7 @@ const dropAnimationFinishMiddleware = /* @__PURE__ */ __name((store2) => (next)
|
|
|
110083
110199
|
return;
|
|
110084
110200
|
}
|
|
110085
110201
|
const state2 = store2.getState();
|
|
110086
|
-
!(state2.phase === "DROP_ANIMATING") ? invariant$1() : void 0;
|
|
110202
|
+
!(state2.phase === "DROP_ANIMATING") ? invariant$1(false) : void 0;
|
|
110087
110203
|
store2.dispatch(completeDrop({
|
|
110088
110204
|
completed: state2.completed
|
|
110089
110205
|
}));
|
|
@@ -110177,7 +110293,7 @@ var autoScroll = /* @__PURE__ */ __name((autoScroller) => (store2) => (next) =>
|
|
|
110177
110293
|
if (action2.type === "INITIAL_PUBLISH") {
|
|
110178
110294
|
next(action2);
|
|
110179
110295
|
const state2 = store2.getState();
|
|
110180
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
110296
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
110181
110297
|
autoScroller.start(state2);
|
|
110182
110298
|
return;
|
|
110183
110299
|
}
|
|
@@ -110327,7 +110443,7 @@ var getMaxScroll = /* @__PURE__ */ __name((_ref) => {
|
|
|
110327
110443
|
}, "getMaxScroll");
|
|
110328
110444
|
var getDocumentElement = /* @__PURE__ */ __name(() => {
|
|
110329
110445
|
const doc = document.documentElement;
|
|
110330
|
-
!doc ? invariant$1() : void 0;
|
|
110446
|
+
!doc ? invariant$1(false) : void 0;
|
|
110331
110447
|
return doc;
|
|
110332
110448
|
}, "getDocumentElement");
|
|
110333
110449
|
var getMaxWindowScroll = /* @__PURE__ */ __name(() => {
|
|
@@ -110416,7 +110532,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110416
110532
|
registry
|
|
110417
110533
|
});
|
|
110418
110534
|
const updateDroppableIsEnabled2 = /* @__PURE__ */ __name((id2, isEnabled) => {
|
|
110419
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
110535
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
110420
110536
|
if (!collection) {
|
|
110421
110537
|
return;
|
|
110422
110538
|
}
|
|
@@ -110429,7 +110545,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110429
110545
|
if (!collection) {
|
|
110430
110546
|
return;
|
|
110431
110547
|
}
|
|
110432
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
110548
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
110433
110549
|
callbacks.updateDroppableIsCombineEnabled({
|
|
110434
110550
|
id: id2,
|
|
110435
110551
|
isCombineEnabled
|
|
@@ -110439,7 +110555,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110439
110555
|
if (!collection) {
|
|
110440
110556
|
return;
|
|
110441
110557
|
}
|
|
110442
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
110558
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
110443
110559
|
callbacks.updateDroppableScroll({
|
|
110444
110560
|
id: id2,
|
|
110445
110561
|
newScroll
|
|
@@ -110462,7 +110578,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110462
110578
|
collection = null;
|
|
110463
110579
|
}, "stopPublishing");
|
|
110464
110580
|
const subscriber = /* @__PURE__ */ __name((event) => {
|
|
110465
|
-
!collection ? invariant$1() : void 0;
|
|
110581
|
+
!collection ? invariant$1(false) : void 0;
|
|
110466
110582
|
const dragging = collection.critical.draggable;
|
|
110467
110583
|
if (event.type === "ADDITION") {
|
|
110468
110584
|
if (shouldPublishUpdate(registry, dragging, event.value)) {
|
|
@@ -110476,7 +110592,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110476
110592
|
}
|
|
110477
110593
|
}, "subscriber");
|
|
110478
110594
|
const startPublishing = /* @__PURE__ */ __name((request) => {
|
|
110479
|
-
!!collection ? invariant$1() : void 0;
|
|
110595
|
+
!!collection ? invariant$1(false) : void 0;
|
|
110480
110596
|
const entry = registry.draggable.getById(request.draggableId);
|
|
110481
110597
|
const home2 = registry.droppable.getById(entry.descriptor.droppableId);
|
|
110482
110598
|
const critical = {
|
|
@@ -110530,7 +110646,7 @@ const getScrollableDroppables = memoizeOne((droppables) => toDroppableList(dropp
|
|
|
110530
110646
|
}));
|
|
110531
110647
|
const getScrollableDroppableOver = /* @__PURE__ */ __name((target, droppables) => {
|
|
110532
110648
|
const maybe = getScrollableDroppables(droppables).find((droppable2) => {
|
|
110533
|
-
!droppable2.frame ? invariant$1() : void 0;
|
|
110649
|
+
!droppable2.frame ? invariant$1(false) : void 0;
|
|
110534
110650
|
return isPositionInFrame(droppable2.frame.pageMarginBox)(target);
|
|
110535
110651
|
}) || null;
|
|
110536
110652
|
return maybe;
|
|
@@ -110949,7 +111065,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
110949
111065
|
const scheduleDroppableScroll = rafSchd(scrollDroppable2);
|
|
110950
111066
|
let dragging = null;
|
|
110951
111067
|
const tryScroll = /* @__PURE__ */ __name((state2) => {
|
|
110952
|
-
!dragging ? invariant$1() : void 0;
|
|
111068
|
+
!dragging ? invariant$1(false) : void 0;
|
|
110953
111069
|
const {
|
|
110954
111070
|
shouldUseTimeDampening,
|
|
110955
111071
|
dragStartTime
|
|
@@ -110964,7 +111080,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
110964
111080
|
});
|
|
110965
111081
|
}, "tryScroll");
|
|
110966
111082
|
const start$1 = /* @__PURE__ */ __name((state2) => {
|
|
110967
|
-
!!dragging ? invariant$1() : void 0;
|
|
111083
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
110968
111084
|
const dragStartTime = Date.now();
|
|
110969
111085
|
let wasScrollNeeded = false;
|
|
110970
111086
|
const fakeScrollCallback = /* @__PURE__ */ __name(() => {
|
|
@@ -111049,7 +111165,7 @@ var createJumpScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
111049
111165
|
return;
|
|
111050
111166
|
}
|
|
111051
111167
|
const destination = whatIsDraggedOver(state2.impact);
|
|
111052
|
-
!destination ? invariant$1() : void 0;
|
|
111168
|
+
!destination ? invariant$1(false) : void 0;
|
|
111053
111169
|
const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination], request);
|
|
111054
111170
|
if (!droppableRemainder) {
|
|
111055
111171
|
return;
|
|
@@ -111205,7 +111321,7 @@ const useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window
|
|
|
111205
111321
|
var useLayoutEffect = useIsomorphicLayoutEffect;
|
|
111206
111322
|
const getHead = /* @__PURE__ */ __name(() => {
|
|
111207
111323
|
const head = document.querySelector("head");
|
|
111208
|
-
!head ? invariant$1() : void 0;
|
|
111324
|
+
!head ? invariant$1(false) : void 0;
|
|
111209
111325
|
return head;
|
|
111210
111326
|
}, "getHead");
|
|
111211
111327
|
const createStyleEl = /* @__PURE__ */ __name((nonce) => {
|
|
@@ -111223,18 +111339,18 @@ function useStyleMarshal(contextId, nonce) {
|
|
|
111223
111339
|
const setDynamicStyle = useCallback(
|
|
111224
111340
|
memoizeOne((proposed) => {
|
|
111225
111341
|
const el = dynamicRef.current;
|
|
111226
|
-
!el ? invariant$1() : void 0;
|
|
111342
|
+
!el ? invariant$1(false) : void 0;
|
|
111227
111343
|
el.textContent = proposed;
|
|
111228
111344
|
}),
|
|
111229
111345
|
[]
|
|
111230
111346
|
);
|
|
111231
111347
|
const setAlwaysStyle = useCallback((proposed) => {
|
|
111232
111348
|
const el = alwaysRef.current;
|
|
111233
|
-
!el ? invariant$1() : void 0;
|
|
111349
|
+
!el ? invariant$1(false) : void 0;
|
|
111234
111350
|
el.textContent = proposed;
|
|
111235
111351
|
}, []);
|
|
111236
111352
|
useLayoutEffect(() => {
|
|
111237
|
-
!(!alwaysRef.current && !dynamicRef.current) ? invariant$1() : void 0;
|
|
111353
|
+
!(!alwaysRef.current && !dynamicRef.current) ? invariant$1(false) : void 0;
|
|
111238
111354
|
const always = createStyleEl(nonce);
|
|
111239
111355
|
const dynamic = createStyleEl(nonce);
|
|
111240
111356
|
alwaysRef.current = always;
|
|
@@ -111248,7 +111364,7 @@ function useStyleMarshal(contextId, nonce) {
|
|
|
111248
111364
|
return () => {
|
|
111249
111365
|
const remove3 = /* @__PURE__ */ __name((ref2) => {
|
|
111250
111366
|
const current = ref2.current;
|
|
111251
|
-
!current ? invariant$1() : void 0;
|
|
111367
|
+
!current ? invariant$1(false) : void 0;
|
|
111252
111368
|
getHead().removeChild(current);
|
|
111253
111369
|
ref2.current = null;
|
|
111254
111370
|
}, "remove");
|
|
@@ -111412,7 +111528,7 @@ function createRegistry() {
|
|
|
111412
111528
|
__name(findDraggableById, "findDraggableById");
|
|
111413
111529
|
function getDraggableById(id2) {
|
|
111414
111530
|
const entry = findDraggableById(id2);
|
|
111415
|
-
!entry ? invariant$1() : void 0;
|
|
111531
|
+
!entry ? invariant$1(false) : void 0;
|
|
111416
111532
|
return entry;
|
|
111417
111533
|
}
|
|
111418
111534
|
__name(getDraggableById, "getDraggableById");
|
|
@@ -111463,7 +111579,7 @@ function createRegistry() {
|
|
|
111463
111579
|
__name(findDroppableById, "findDroppableById");
|
|
111464
111580
|
function getDroppableById(id2) {
|
|
111465
111581
|
const entry = findDroppableById(id2);
|
|
111466
|
-
!entry ? invariant$1() : void 0;
|
|
111582
|
+
!entry ? invariant$1(false) : void 0;
|
|
111467
111583
|
return entry;
|
|
111468
111584
|
}
|
|
111469
111585
|
__name(getDroppableById, "getDroppableById");
|
|
@@ -111517,7 +111633,7 @@ __name(useRegistry, "useRegistry");
|
|
|
111517
111633
|
var StoreContext = React$2.createContext(null);
|
|
111518
111634
|
var getBodyElement = /* @__PURE__ */ __name(() => {
|
|
111519
111635
|
const body = document.body;
|
|
111520
|
-
!body ? invariant$1() : void 0;
|
|
111636
|
+
!body ? invariant$1(false) : void 0;
|
|
111521
111637
|
return body;
|
|
111522
111638
|
}, "getBodyElement");
|
|
111523
111639
|
const visuallyHidden = {
|
|
@@ -111631,7 +111747,7 @@ function usePrevious(current) {
|
|
|
111631
111747
|
return ref2;
|
|
111632
111748
|
}
|
|
111633
111749
|
__name(usePrevious, "usePrevious");
|
|
111634
|
-
function
|
|
111750
|
+
function create5() {
|
|
111635
111751
|
let lock = null;
|
|
111636
111752
|
function isClaimed() {
|
|
111637
111753
|
return Boolean(lock);
|
|
@@ -111642,7 +111758,7 @@ function create4() {
|
|
|
111642
111758
|
}
|
|
111643
111759
|
__name(isActive2, "isActive2");
|
|
111644
111760
|
function claim(abandon) {
|
|
111645
|
-
!!lock ? invariant$1() : void 0;
|
|
111761
|
+
!!lock ? invariant$1(false) : void 0;
|
|
111646
111762
|
const newLock = {
|
|
111647
111763
|
abandon
|
|
111648
111764
|
};
|
|
@@ -111651,7 +111767,7 @@ function create4() {
|
|
|
111651
111767
|
}
|
|
111652
111768
|
__name(claim, "claim");
|
|
111653
111769
|
function release() {
|
|
111654
|
-
!lock ? invariant$1() : void 0;
|
|
111770
|
+
!lock ? invariant$1(false) : void 0;
|
|
111655
111771
|
lock = null;
|
|
111656
111772
|
}
|
|
111657
111773
|
__name(release, "release");
|
|
@@ -111670,7 +111786,7 @@ function create4() {
|
|
|
111670
111786
|
tryAbandon
|
|
111671
111787
|
};
|
|
111672
111788
|
}
|
|
111673
|
-
__name(
|
|
111789
|
+
__name(create5, "create");
|
|
111674
111790
|
function isDragging(state2) {
|
|
111675
111791
|
if (state2.phase === "IDLE" || state2.phase === "DROP_ANIMATING") {
|
|
111676
111792
|
return false;
|
|
@@ -111747,7 +111863,7 @@ function getCaptureBindings(_ref) {
|
|
|
111747
111863
|
phase.actions.move(point2);
|
|
111748
111864
|
return;
|
|
111749
111865
|
}
|
|
111750
|
-
!(phase.type === "PENDING") ? invariant$1() : void 0;
|
|
111866
|
+
!(phase.type === "PENDING") ? invariant$1(false) : void 0;
|
|
111751
111867
|
const pending = phase.point;
|
|
111752
111868
|
if (!isSloppyClickThresholdExceeded(pending, point2)) {
|
|
111753
111869
|
return;
|
|
@@ -111820,7 +111936,7 @@ function getCaptureBindings(_ref) {
|
|
|
111820
111936
|
eventName: "webkitmouseforcedown",
|
|
111821
111937
|
fn: (event) => {
|
|
111822
111938
|
const phase = getPhase();
|
|
111823
|
-
!(phase.type !== "IDLE") ? invariant$1() : void 0;
|
|
111939
|
+
!(phase.type !== "IDLE") ? invariant$1(false) : void 0;
|
|
111824
111940
|
if (phase.actions.shouldRespectForcePress()) {
|
|
111825
111941
|
cancel();
|
|
111826
111942
|
return;
|
|
@@ -111943,7 +112059,7 @@ function useMouseSensor(api) {
|
|
|
111943
112059
|
unbindEventsRef.current = bindEvents(window, bindings, options);
|
|
111944
112060
|
}, "bindCapturingEvents2"), [cancel, stop]);
|
|
111945
112061
|
const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
|
|
111946
|
-
!(phaseRef.current.type === "IDLE") ? invariant$1() : void 0;
|
|
112062
|
+
!(phaseRef.current.type === "IDLE") ? invariant$1(false) : void 0;
|
|
111947
112063
|
phaseRef.current = {
|
|
111948
112064
|
type: "PENDING",
|
|
111949
112065
|
point: point2,
|
|
@@ -112085,7 +112201,7 @@ function useKeyboardSensor(api) {
|
|
|
112085
112201
|
const actions2 = preDrag.snapLift();
|
|
112086
112202
|
unbindEventsRef.current();
|
|
112087
112203
|
function stop() {
|
|
112088
|
-
!isCapturing ? invariant$1() : void 0;
|
|
112204
|
+
!isCapturing ? invariant$1(false) : void 0;
|
|
112089
112205
|
isCapturing = false;
|
|
112090
112206
|
unbindEventsRef.current();
|
|
112091
112207
|
listenForCapture();
|
|
@@ -112220,7 +112336,7 @@ function getHandleBindings(_ref2) {
|
|
|
112220
112336
|
eventName: "touchforcechange",
|
|
112221
112337
|
fn: (event) => {
|
|
112222
112338
|
const phase = getPhase();
|
|
112223
|
-
!(phase.type !== "IDLE") ? invariant$1() : void 0;
|
|
112339
|
+
!(phase.type !== "IDLE") ? invariant$1(false) : void 0;
|
|
112224
112340
|
const touch = event.touches[0];
|
|
112225
112341
|
if (!touch) {
|
|
112226
112342
|
return;
|
|
@@ -112349,7 +112465,7 @@ function useTouchSensor(api) {
|
|
|
112349
112465
|
}, "bindCapturingEvents2"), [cancel, getPhase, stop]);
|
|
112350
112466
|
const startDragging = useCallback(/* @__PURE__ */ __name(function startDragging2() {
|
|
112351
112467
|
const phase = getPhase();
|
|
112352
|
-
!(phase.type === "PENDING") ? invariant$1() : void 0;
|
|
112468
|
+
!(phase.type === "PENDING") ? invariant$1(false) : void 0;
|
|
112353
112469
|
const actions2 = phase.actions.fluidLift(phase.point);
|
|
112354
112470
|
setPhase({
|
|
112355
112471
|
type: "DRAGGING",
|
|
@@ -112358,7 +112474,7 @@ function useTouchSensor(api) {
|
|
|
112358
112474
|
});
|
|
112359
112475
|
}, "startDragging2"), [getPhase, setPhase]);
|
|
112360
112476
|
const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
|
|
112361
|
-
!(getPhase().type === "IDLE") ? invariant$1() : void 0;
|
|
112477
|
+
!(getPhase().type === "IDLE") ? invariant$1(false) : void 0;
|
|
112362
112478
|
const longPressTimerId = setTimeout(startDragging, timeForLongPress);
|
|
112363
112479
|
setPhase({
|
|
112364
112480
|
type: "PENDING",
|
|
@@ -112594,7 +112710,7 @@ function tryStart(_ref3) {
|
|
|
112594
112710
|
__name(completed, "completed");
|
|
112595
112711
|
if (phase !== "PRE_DRAG") {
|
|
112596
112712
|
completed();
|
|
112597
|
-
invariant$1();
|
|
112713
|
+
invariant$1(false);
|
|
112598
112714
|
}
|
|
112599
112715
|
store2.dispatch(lift$1(args.liftActionArgs));
|
|
112600
112716
|
phase = "DRAGGING";
|
|
@@ -112713,7 +112829,7 @@ function useSensorMarshal(_ref4) {
|
|
|
112713
112829
|
enableDefaultSensors
|
|
112714
112830
|
} = _ref4;
|
|
112715
112831
|
const useSensors = [...enableDefaultSensors ? defaultSensors : [], ...customSensors || []];
|
|
112716
|
-
const lockAPI = React$2.useState(() =>
|
|
112832
|
+
const lockAPI = React$2.useState(() => create5())[0];
|
|
112717
112833
|
const tryAbandonLock = useCallback(/* @__PURE__ */ __name(function tryAbandonLock2(previous2, current) {
|
|
112718
112834
|
if (isDragging(previous2) && !isDragging(current)) {
|
|
112719
112835
|
lockAPI.tryAbandon();
|
|
@@ -112798,7 +112914,7 @@ const createAutoScrollerOptions = /* @__PURE__ */ __name((props) => __spreadProp
|
|
|
112798
112914
|
durationDampening: __spreadValues(__spreadValues({}, defaultAutoScrollerOptions.durationDampening), props.autoScrollerOptions)
|
|
112799
112915
|
}), "createAutoScrollerOptions");
|
|
112800
112916
|
function getStore(lazyRef) {
|
|
112801
|
-
!lazyRef.current ? invariant$1() : void 0;
|
|
112917
|
+
!lazyRef.current ? invariant$1(false) : void 0;
|
|
112802
112918
|
return lazyRef.current;
|
|
112803
112919
|
}
|
|
112804
112920
|
__name(getStore, "getStore");
|
|
@@ -113043,7 +113159,7 @@ function useDraggablePublisher(args) {
|
|
|
113043
113159
|
}), [canDragInteractiveElements, isEnabled, shouldRespectForcePress]);
|
|
113044
113160
|
const getDimension2 = useCallback((windowScroll) => {
|
|
113045
113161
|
const el = getDraggableRef();
|
|
113046
|
-
!el ? invariant$1() : void 0;
|
|
113162
|
+
!el ? invariant$1(false) : void 0;
|
|
113047
113163
|
return getDimension$1(descriptor2, el, windowScroll);
|
|
113048
113164
|
}, [descriptor2, getDraggableRef]);
|
|
113049
113165
|
const entry = useMemo(() => ({
|
|
@@ -113072,7 +113188,7 @@ __name(useDraggablePublisher, "useDraggablePublisher");
|
|
|
113072
113188
|
var DroppableContext = React$2.createContext(null);
|
|
113073
113189
|
function useRequiredContext(Context) {
|
|
113074
113190
|
const result = React$2.useContext(Context);
|
|
113075
|
-
!result ? invariant$1() : void 0;
|
|
113191
|
+
!result ? invariant$1(false) : void 0;
|
|
113076
113192
|
return result;
|
|
113077
113193
|
}
|
|
113078
113194
|
__name(useRequiredContext, "useRequiredContext");
|
|
@@ -113636,7 +113752,7 @@ function useDroppablePublisher(args) {
|
|
|
113636
113752
|
}), [args.droppableId, args.mode, args.type]);
|
|
113637
113753
|
const publishedDescriptorRef = React$2.useRef(descriptor2);
|
|
113638
113754
|
const memoizedUpdateScroll = useMemo(() => memoizeOne((x, y2) => {
|
|
113639
|
-
!whileDraggingRef.current ? invariant$1() : void 0;
|
|
113755
|
+
!whileDraggingRef.current ? invariant$1(false) : void 0;
|
|
113640
113756
|
const scroll3 = {
|
|
113641
113757
|
x,
|
|
113642
113758
|
y: y2
|
|
@@ -113658,7 +113774,7 @@ function useDroppablePublisher(args) {
|
|
|
113658
113774
|
const onClosestScroll = useCallback(() => {
|
|
113659
113775
|
const dragging = whileDraggingRef.current;
|
|
113660
113776
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113661
|
-
!(dragging && closest2) ? invariant$1() : void 0;
|
|
113777
|
+
!(dragging && closest2) ? invariant$1(false) : void 0;
|
|
113662
113778
|
const options = dragging.scrollOptions;
|
|
113663
113779
|
if (options.shouldPublishImmediately) {
|
|
113664
113780
|
updateScroll();
|
|
@@ -113667,10 +113783,10 @@ function useDroppablePublisher(args) {
|
|
|
113667
113783
|
scheduleScrollUpdate();
|
|
113668
113784
|
}, [scheduleScrollUpdate, updateScroll]);
|
|
113669
113785
|
const getDimensionAndWatchScroll = useCallback((windowScroll, options) => {
|
|
113670
|
-
!!whileDraggingRef.current ? invariant$1() : void 0;
|
|
113786
|
+
!!whileDraggingRef.current ? invariant$1(false) : void 0;
|
|
113671
113787
|
const previous2 = previousRef.current;
|
|
113672
113788
|
const ref2 = previous2.getDroppableRef();
|
|
113673
|
-
!ref2 ? invariant$1() : void 0;
|
|
113789
|
+
!ref2 ? invariant$1(false) : void 0;
|
|
113674
113790
|
const env = getEnv(ref2);
|
|
113675
113791
|
const dragging = {
|
|
113676
113792
|
ref: ref2,
|
|
@@ -113699,12 +113815,12 @@ function useDroppablePublisher(args) {
|
|
|
113699
113815
|
const getScrollWhileDragging = useCallback(() => {
|
|
113700
113816
|
const dragging = whileDraggingRef.current;
|
|
113701
113817
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113702
|
-
!(dragging && closest2) ? invariant$1() : void 0;
|
|
113818
|
+
!(dragging && closest2) ? invariant$1(false) : void 0;
|
|
113703
113819
|
return getScroll$2(closest2);
|
|
113704
113820
|
}, []);
|
|
113705
113821
|
const dragStopped = useCallback(() => {
|
|
113706
113822
|
const dragging = whileDraggingRef.current;
|
|
113707
|
-
!dragging ? invariant$1() : void 0;
|
|
113823
|
+
!dragging ? invariant$1(false) : void 0;
|
|
113708
113824
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113709
113825
|
whileDraggingRef.current = null;
|
|
113710
113826
|
if (!closest2) {
|
|
@@ -113720,9 +113836,9 @@ function useDroppablePublisher(args) {
|
|
|
113720
113836
|
}, [onClosestScroll, scheduleScrollUpdate]);
|
|
113721
113837
|
const scroll2 = useCallback((change) => {
|
|
113722
113838
|
const dragging = whileDraggingRef.current;
|
|
113723
|
-
!dragging ? invariant$1() : void 0;
|
|
113839
|
+
!dragging ? invariant$1(false) : void 0;
|
|
113724
113840
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113725
|
-
!closest2 ? invariant$1() : void 0;
|
|
113841
|
+
!closest2 ? invariant$1(false) : void 0;
|
|
113726
113842
|
closest2.scrollTop += change.y;
|
|
113727
113843
|
closest2.scrollLeft += change.x;
|
|
113728
113844
|
}, []);
|
|
@@ -113932,7 +114048,7 @@ __name(_AnimateInOut, "AnimateInOut");
|
|
|
113932
114048
|
let AnimateInOut = _AnimateInOut;
|
|
113933
114049
|
const Droppable = /* @__PURE__ */ __name((props) => {
|
|
113934
114050
|
const appContext = React$2.useContext(AppContext);
|
|
113935
|
-
!appContext ? invariant$1() : void 0;
|
|
114051
|
+
!appContext ? invariant$1(false) : void 0;
|
|
113936
114052
|
const {
|
|
113937
114053
|
contextId,
|
|
113938
114054
|
isMovementAllowed: isMovementAllowed2
|
|
@@ -114151,7 +114267,7 @@ const mapDispatchToProps = {
|
|
|
114151
114267
|
updateViewportMaxScroll
|
|
114152
114268
|
};
|
|
114153
114269
|
function getBody() {
|
|
114154
|
-
!document.body ? invariant$1() : void 0;
|
|
114270
|
+
!document.body ? invariant$1(false) : void 0;
|
|
114155
114271
|
return document.body;
|
|
114156
114272
|
}
|
|
114157
114273
|
__name(getBody, "getBody");
|
|
@@ -114243,6 +114359,8 @@ var clipboard = { exports: {} };
|
|
|
114243
114359
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
114244
114360
|
if (protoProps)
|
|
114245
114361
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
114362
|
+
if (staticProps)
|
|
114363
|
+
_defineProperties2(Constructor, staticProps);
|
|
114246
114364
|
return Constructor;
|
|
114247
114365
|
}
|
|
114248
114366
|
__name(_createClass2, "_createClass");
|
|
@@ -120881,7 +120999,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
120881
120999
|
}
|
|
120882
121000
|
__name(showFileDialog, "showFileDialog");
|
|
120883
121001
|
const name = "@teselagen/ove";
|
|
120884
|
-
const version = "0.5.
|
|
121002
|
+
const version = "0.5.11";
|
|
120885
121003
|
const main = "./src/index.js";
|
|
120886
121004
|
const type = "module";
|
|
120887
121005
|
const exports$1 = {
|
|
@@ -123200,7 +123318,7 @@ var classCallCheck = /* @__PURE__ */ __name(function(instance, Constructor) {
|
|
|
123200
123318
|
}
|
|
123201
123319
|
}, "classCallCheck");
|
|
123202
123320
|
var createClass = /* @__PURE__ */ function() {
|
|
123203
|
-
function
|
|
123321
|
+
function defineProperties4(target, props) {
|
|
123204
123322
|
for (var i = 0; i < props.length; i++) {
|
|
123205
123323
|
var descriptor2 = props[i];
|
|
123206
123324
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -123210,12 +123328,12 @@ var createClass = /* @__PURE__ */ function() {
|
|
|
123210
123328
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
123211
123329
|
}
|
|
123212
123330
|
}
|
|
123213
|
-
__name(
|
|
123331
|
+
__name(defineProperties4, "defineProperties");
|
|
123214
123332
|
return function(Constructor, protoProps, staticProps) {
|
|
123215
123333
|
if (protoProps)
|
|
123216
|
-
|
|
123334
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
123217
123335
|
if (staticProps)
|
|
123218
|
-
|
|
123336
|
+
defineProperties4(Constructor, staticProps);
|
|
123219
123337
|
return Constructor;
|
|
123220
123338
|
};
|
|
123221
123339
|
}();
|
|
@@ -135345,13 +135463,13 @@ const CompareEnzymeGroupsDialog = compose(
|
|
|
135345
135463
|
cutsiteOrGroupKey: group2
|
|
135346
135464
|
}));
|
|
135347
135465
|
const byNameLower = /* @__PURE__ */ __name((n2) => n2.name.toLowerCase(), "byNameLower");
|
|
135348
|
-
const shared2 = intersectionBy(
|
|
135466
|
+
const shared2 = intersectionBy$1(
|
|
135349
135467
|
g1.allEnzymesInGroup,
|
|
135350
135468
|
g2.allEnzymesInGroup,
|
|
135351
135469
|
byNameLower
|
|
135352
135470
|
);
|
|
135353
|
-
const g1Only = differenceBy(g1.allEnzymesInGroup, shared2, byNameLower);
|
|
135354
|
-
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);
|
|
135355
135473
|
return /* @__PURE__ */ React$2.createElement(
|
|
135356
135474
|
"div",
|
|
135357
135475
|
{
|
|
@@ -140854,7 +140972,7 @@ function withContentRect(types2) {
|
|
|
140854
140972
|
_this._node = null;
|
|
140855
140973
|
_this._window = null;
|
|
140856
140974
|
_this.measure = function(entries2) {
|
|
140857
|
-
var contentRect = getContentRect(_this._node, getTypes(_this.props));
|
|
140975
|
+
var contentRect = getContentRect(_this._node, types2 || getTypes(_this.props));
|
|
140858
140976
|
if (entries2) {
|
|
140859
140977
|
contentRect.entry = entries2[0].contentRect;
|
|
140860
140978
|
}
|
|
@@ -140896,7 +141014,7 @@ function withContentRect(types2) {
|
|
|
140896
141014
|
if (this._node !== null) {
|
|
140897
141015
|
this._resizeObserver.observe(this._node);
|
|
140898
141016
|
if (typeof this.props.onResize === "function") {
|
|
140899
|
-
this.props.onResize(getContentRect(this._node, getTypes(this.props)));
|
|
141017
|
+
this.props.onResize(getContentRect(this._node, types2 || getTypes(this.props)));
|
|
140900
141018
|
}
|
|
140901
141019
|
}
|
|
140902
141020
|
}, "componentDidMount");
|
|
@@ -141186,7 +141304,7 @@ const importTool = compose(
|
|
|
141186
141304
|
ToolbarItem$1,
|
|
141187
141305
|
__spreadValues({}, __spreadValues({
|
|
141188
141306
|
Icon: /* @__PURE__ */ React$2.createElement(core$5.Icon, { "data-test": "veImportTool", icon: "export" }),
|
|
141189
|
-
IconWrapper: Dropzone,
|
|
141307
|
+
IconWrapper: Dropzone$1,
|
|
141190
141308
|
IconWrapperProps: {
|
|
141191
141309
|
multiple: false,
|
|
141192
141310
|
style: {},
|
|
@@ -142576,7 +142694,7 @@ const _DropHandler = class _DropHandler extends React$2.Component {
|
|
|
142576
142694
|
render() {
|
|
142577
142695
|
const { children, style: style2, className, disabled } = this.props;
|
|
142578
142696
|
return /* @__PURE__ */ React$2.createElement(
|
|
142579
|
-
Dropzone,
|
|
142697
|
+
Dropzone$1,
|
|
142580
142698
|
{
|
|
142581
142699
|
disabled,
|
|
142582
142700
|
onClick: (evt) => evt.preventDefault(),
|
|
@@ -143887,7 +144005,7 @@ function Ladder({
|
|
|
143887
144005
|
style: { position: "absolute", top: 5, right: 5, color: "white" },
|
|
143888
144006
|
onClick: () => __async(this, null, function* () {
|
|
143889
144007
|
try {
|
|
143890
|
-
const canvas = yield Promise.resolve().then(() => require("./html2canvas.esm-
|
|
144008
|
+
const canvas = yield Promise.resolve().then(() => require("./html2canvas.esm-GLpiTZLt.cjs"));
|
|
143891
144009
|
canvas.default(document.querySelector(".ve-digest-container")).then((canvas2) => {
|
|
143892
144010
|
canvas2.toBlob(
|
|
143893
144011
|
(blob) => navigator.clipboard.write([
|
|
@@ -146688,6 +146806,8 @@ __name(_defineProperties, "_defineProperties");
|
|
|
146688
146806
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
146689
146807
|
if (protoProps)
|
|
146690
146808
|
_defineProperties(Constructor.prototype, protoProps);
|
|
146809
|
+
if (staticProps)
|
|
146810
|
+
_defineProperties(Constructor, staticProps);
|
|
146691
146811
|
return Constructor;
|
|
146692
146812
|
}
|
|
146693
146813
|
__name(_createClass, "_createClass");
|