@teselagen/ove 0.5.11 → 0.5.13
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 +4 -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 +700 -616
- package/index.d.ts +25 -0
- package/index.es.js +702 -618
- package/index.umd.js +1472 -504
- 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/AlignmentTool/index.js +7 -11
- 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.es.js
CHANGED
|
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
56
56
|
step2((generator = generator.apply(__this, __arguments)).next());
|
|
57
57
|
});
|
|
58
58
|
};
|
|
59
|
-
var
|
|
59
|
+
var _s, _t, _u, _v, _w, _z, _C, _J;
|
|
60
60
|
import { Icon, Classes, Button, Intent, Keys, MenuItem, Tag, useHotkeys, Popover, Tooltip, Toaster, Position, Menu, MenuDivider, NumericInput, InputGroup, Spinner, FormGroup, TextArea, Checkbox, Switch, EditableText, RadioGroup, Callout, ContextMenu, Dialog, Card, Tabs, Tab, Colors, KeyCombo, AnchorButton, Slider as Slider$1, ButtonGroup, HTMLSelect, Label, ResizeSensor, FocusStyleManager } from "@blueprintjs/core";
|
|
61
61
|
import * as React$2 from "react";
|
|
62
62
|
import React__default$1, { useState, useEffect, forwardRef, useImperativeHandle, Fragment, useMemo as useMemo$1, useRef, useReducer, useCallback as useCallback$1, memo, Component, PureComponent, createElement, isValidElement, useContext, useLayoutEffect as useLayoutEffect$1 } from "react";
|
|
@@ -2817,7 +2817,7 @@ var followCursor = {
|
|
|
2817
2817
|
}
|
|
2818
2818
|
}
|
|
2819
2819
|
__name(onMouseMove, "onMouseMove");
|
|
2820
|
-
function
|
|
2820
|
+
function create6() {
|
|
2821
2821
|
if (instance.props.followCursor) {
|
|
2822
2822
|
activeInstances.push({
|
|
2823
2823
|
instance,
|
|
@@ -2826,7 +2826,7 @@ var followCursor = {
|
|
|
2826
2826
|
addMouseCoordsListener(doc);
|
|
2827
2827
|
}
|
|
2828
2828
|
}
|
|
2829
|
-
__name(
|
|
2829
|
+
__name(create6, "create");
|
|
2830
2830
|
function destroy2() {
|
|
2831
2831
|
activeInstances = activeInstances.filter(function(data) {
|
|
2832
2832
|
return data.instance !== instance;
|
|
@@ -2839,7 +2839,7 @@ var followCursor = {
|
|
|
2839
2839
|
}
|
|
2840
2840
|
__name(destroy2, "destroy");
|
|
2841
2841
|
return {
|
|
2842
|
-
onCreate:
|
|
2842
|
+
onCreate: create6,
|
|
2843
2843
|
onDestroy: destroy2,
|
|
2844
2844
|
onBeforeUpdate: /* @__PURE__ */ __name(function onBeforeUpdate2() {
|
|
2845
2845
|
prevProps = instance.props;
|
|
@@ -2852,7 +2852,7 @@ var followCursor = {
|
|
|
2852
2852
|
if (followCursor2 !== void 0 && prevProps.followCursor !== followCursor2) {
|
|
2853
2853
|
destroy2();
|
|
2854
2854
|
if (followCursor2) {
|
|
2855
|
-
|
|
2855
|
+
create6();
|
|
2856
2856
|
if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
|
|
2857
2857
|
addListener();
|
|
2858
2858
|
}
|
|
@@ -4215,6 +4215,7 @@ Dropzone.propTypes = {
|
|
|
4215
4215
|
*/
|
|
4216
4216
|
validator: PropTypes.func
|
|
4217
4217
|
};
|
|
4218
|
+
const Dropzone$1 = Dropzone;
|
|
4218
4219
|
var initialState = {
|
|
4219
4220
|
isFocused: false,
|
|
4220
4221
|
isFileDialogActive: false,
|
|
@@ -5555,6 +5556,8 @@ __name(_defineProperties$2, "_defineProperties$2");
|
|
|
5555
5556
|
function _createClass$e(Constructor, protoProps, staticProps) {
|
|
5556
5557
|
if (protoProps)
|
|
5557
5558
|
_defineProperties$2(Constructor.prototype, protoProps);
|
|
5559
|
+
if (staticProps)
|
|
5560
|
+
_defineProperties$2(Constructor, staticProps);
|
|
5558
5561
|
Object.defineProperty(Constructor, "prototype", {
|
|
5559
5562
|
writable: false
|
|
5560
5563
|
});
|
|
@@ -5623,7 +5626,7 @@ function _createForOfIteratorHelperLoose$5(o2, allowArrayLike) {
|
|
|
5623
5626
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
5624
5627
|
if (it)
|
|
5625
5628
|
return (it = it.call(o2)).next.bind(it);
|
|
5626
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike) {
|
|
5629
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
5627
5630
|
if (it)
|
|
5628
5631
|
o2 = it;
|
|
5629
5632
|
var i = 0;
|
|
@@ -5646,12 +5649,12 @@ function _toPrimitive$2(input, hint) {
|
|
|
5646
5649
|
return input;
|
|
5647
5650
|
var prim = input[Symbol.toPrimitive];
|
|
5648
5651
|
if (prim !== void 0) {
|
|
5649
|
-
var res = prim.call(input, hint);
|
|
5652
|
+
var res = prim.call(input, hint || "default");
|
|
5650
5653
|
if (typeof res !== "object")
|
|
5651
5654
|
return res;
|
|
5652
5655
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
5653
5656
|
}
|
|
5654
|
-
return String(input);
|
|
5657
|
+
return (hint === "string" ? String : Number)(input);
|
|
5655
5658
|
}
|
|
5656
5659
|
__name(_toPrimitive$2, "_toPrimitive$2");
|
|
5657
5660
|
function _toPropertyKey$1(arg) {
|
|
@@ -7394,7 +7397,7 @@ function onBecomeUnobserved(thing, arg2, arg3) {
|
|
|
7394
7397
|
}
|
|
7395
7398
|
__name(onBecomeUnobserved, "onBecomeUnobserved");
|
|
7396
7399
|
function interceptHook(hook, thing, arg2, arg3) {
|
|
7397
|
-
var atom = getAtom(thing);
|
|
7400
|
+
var atom = typeof arg3 === "function" ? getAtom(thing, arg2) : getAtom(thing);
|
|
7398
7401
|
var cb = isFunction$7(arg3) ? arg3 : arg2;
|
|
7399
7402
|
var listenersKey = hook + "L";
|
|
7400
7403
|
if (atom[listenersKey]) {
|
|
@@ -7576,6 +7579,12 @@ function _isObservable(value, property2) {
|
|
|
7576
7579
|
if (!value) {
|
|
7577
7580
|
return false;
|
|
7578
7581
|
}
|
|
7582
|
+
if (property2 !== void 0) {
|
|
7583
|
+
if (isObservableObject(value)) {
|
|
7584
|
+
return value[$mobx].values_.has(property2);
|
|
7585
|
+
}
|
|
7586
|
+
return false;
|
|
7587
|
+
}
|
|
7579
7588
|
return isObservableObject(value) || !!value[$mobx] || isAtom(value) || isReaction(value) || isComputedValue(value);
|
|
7580
7589
|
}
|
|
7581
7590
|
__name(_isObservable, "_isObservable");
|
|
@@ -9335,6 +9344,9 @@ function getAdministration$1(thing, property2) {
|
|
|
9335
9344
|
if (!thing) {
|
|
9336
9345
|
die(29);
|
|
9337
9346
|
}
|
|
9347
|
+
if (property2 !== void 0) {
|
|
9348
|
+
return getAdministration$1(getAtom(thing, property2));
|
|
9349
|
+
}
|
|
9338
9350
|
if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {
|
|
9339
9351
|
return thing;
|
|
9340
9352
|
}
|
|
@@ -9767,7 +9779,7 @@ function observer$1(baseComponent, options) {
|
|
|
9767
9779
|
if (ReactMemoSymbol && baseComponent["$$typeof"] === ReactMemoSymbol) {
|
|
9768
9780
|
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.");
|
|
9769
9781
|
}
|
|
9770
|
-
var useForwardRef = (_a2 = void 0) !== null && _a2 !== void 0 ? _a2 : false;
|
|
9782
|
+
var useForwardRef = (_a2 = options === null || options === void 0 ? void 0 : options.forwardRef) !== null && _a2 !== void 0 ? _a2 : false;
|
|
9771
9783
|
var render3 = baseComponent;
|
|
9772
9784
|
var baseComponentName = baseComponent.displayName || baseComponent.name;
|
|
9773
9785
|
if (ReactForwardRefSymbol && baseComponent["$$typeof"] === ReactForwardRefSymbol) {
|
|
@@ -10578,6 +10590,7 @@ an.setUseProxies.bind(an);
|
|
|
10578
10590
|
var pn = an.applyPatches.bind(an);
|
|
10579
10591
|
an.createDraft.bind(an);
|
|
10580
10592
|
an.finishDraft.bind(an);
|
|
10593
|
+
const immer = fn3;
|
|
10581
10594
|
var freeGlobal$2 = typeof global == "object" && global && global.Object === Object && global;
|
|
10582
10595
|
var freeSelf$1 = typeof self == "object" && self && self.Object === Object && self;
|
|
10583
10596
|
var root$b = freeGlobal$2 || freeSelf$1 || Function("return this")();
|
|
@@ -10861,7 +10874,8 @@ var baseSetToString$2 = !defineProperty$b ? identity$9 : function(func, string2)
|
|
|
10861
10874
|
"writable": true
|
|
10862
10875
|
});
|
|
10863
10876
|
};
|
|
10864
|
-
|
|
10877
|
+
const baseSetToString$3 = baseSetToString$2;
|
|
10878
|
+
var setToString$3 = shortOut$2(baseSetToString$3);
|
|
10865
10879
|
function arrayEach$3(array2, iteratee) {
|
|
10866
10880
|
var index2 = -1, length = array2 == null ? 0 : array2.length;
|
|
10867
10881
|
while (++index2 < length) {
|
|
@@ -10873,8 +10887,8 @@ function arrayEach$3(array2, iteratee) {
|
|
|
10873
10887
|
}
|
|
10874
10888
|
__name(arrayEach$3, "arrayEach$3");
|
|
10875
10889
|
function baseFindIndex$3(array2, predicate, fromIndex, fromRight) {
|
|
10876
|
-
var length = array2.length, index2 = fromIndex + -1;
|
|
10877
|
-
while (++index2 < length) {
|
|
10890
|
+
var length = array2.length, index2 = fromIndex + (fromRight ? 1 : -1);
|
|
10891
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
10878
10892
|
if (predicate(array2[index2], index2, array2)) {
|
|
10879
10893
|
return index2;
|
|
10880
10894
|
}
|
|
@@ -10945,7 +10959,7 @@ function copyObject$7(source, props, object3, customizer) {
|
|
|
10945
10959
|
var index2 = -1, length = props.length;
|
|
10946
10960
|
while (++index2 < length) {
|
|
10947
10961
|
var key = props[index2];
|
|
10948
|
-
var newValue = void 0;
|
|
10962
|
+
var newValue = customizer ? customizer(object3[key], source[key], key, object3, source) : void 0;
|
|
10949
10963
|
if (newValue === void 0) {
|
|
10950
10964
|
newValue = source[key];
|
|
10951
10965
|
}
|
|
@@ -11046,6 +11060,7 @@ var isArguments$7 = baseIsArguments$2(/* @__PURE__ */ function() {
|
|
|
11046
11060
|
}()) ? baseIsArguments$2 : function(value) {
|
|
11047
11061
|
return isObjectLike$d(value) && hasOwnProperty$v.call(value, "callee") && !propertyIsEnumerable$3.call(value, "callee");
|
|
11048
11062
|
};
|
|
11063
|
+
const isArguments$8 = isArguments$7;
|
|
11049
11064
|
function stubFalse$1() {
|
|
11050
11065
|
return false;
|
|
11051
11066
|
}
|
|
@@ -11056,6 +11071,7 @@ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
|
|
|
11056
11071
|
var Buffer$4 = moduleExports$2 ? root$b.Buffer : void 0;
|
|
11057
11072
|
var nativeIsBuffer = Buffer$4 ? Buffer$4.isBuffer : void 0;
|
|
11058
11073
|
var isBuffer$8 = nativeIsBuffer || stubFalse$1;
|
|
11074
|
+
const isBuffer$9 = isBuffer$8;
|
|
11059
11075
|
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]";
|
|
11060
11076
|
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]";
|
|
11061
11077
|
var typedArrayTags$1 = {};
|
|
@@ -11087,10 +11103,11 @@ var nodeUtil$3 = function() {
|
|
|
11087
11103
|
}();
|
|
11088
11104
|
var nodeIsTypedArray$1 = nodeUtil$3 && nodeUtil$3.isTypedArray;
|
|
11089
11105
|
var isTypedArray$3 = nodeIsTypedArray$1 ? baseUnary$6(nodeIsTypedArray$1) : baseIsTypedArray$2;
|
|
11106
|
+
const isTypedArray$4 = isTypedArray$3;
|
|
11090
11107
|
var objectProto$u = Object.prototype;
|
|
11091
11108
|
var hasOwnProperty$u = objectProto$u.hasOwnProperty;
|
|
11092
11109
|
function arrayLikeKeys$3(value, inherited) {
|
|
11093
|
-
var isArr = isArray$p(value), isArg = !isArr && isArguments$
|
|
11110
|
+
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;
|
|
11094
11111
|
for (var key in value) {
|
|
11095
11112
|
if ((inherited || hasOwnProperty$u.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
11096
11113
|
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -11174,6 +11191,7 @@ __name(keysIn$4, "keysIn$4");
|
|
|
11174
11191
|
var assignIn = createAssigner$2(function(object3, source) {
|
|
11175
11192
|
copyObject$7(source, keysIn$4(source), object3);
|
|
11176
11193
|
});
|
|
11194
|
+
const extend$2 = assignIn;
|
|
11177
11195
|
var reIsDeepProp$1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp$1 = /^\w*$/;
|
|
11178
11196
|
function isKey$4(value, object3) {
|
|
11179
11197
|
if (isArray$p(value)) {
|
|
@@ -11447,7 +11465,7 @@ function arrayPush$4(array2, values3) {
|
|
|
11447
11465
|
__name(arrayPush$4, "arrayPush$4");
|
|
11448
11466
|
var spreadableSymbol$1 = Symbol$9 ? Symbol$9.isConcatSpreadable : void 0;
|
|
11449
11467
|
function isFlattenable$2(value) {
|
|
11450
|
-
return isArray$p(value) || isArguments$
|
|
11468
|
+
return isArray$p(value) || isArguments$8(value) || !!(spreadableSymbol$1 && value && value[spreadableSymbol$1]);
|
|
11451
11469
|
}
|
|
11452
11470
|
__name(isFlattenable$2, "isFlattenable$2");
|
|
11453
11471
|
function baseFlatten$4(array2, depth, predicate, isStrict, result) {
|
|
@@ -11456,8 +11474,10 @@ function baseFlatten$4(array2, depth, predicate, isStrict, result) {
|
|
|
11456
11474
|
result || (result = []);
|
|
11457
11475
|
while (++index2 < length) {
|
|
11458
11476
|
var value = array2[index2];
|
|
11459
|
-
if (predicate(value)) {
|
|
11460
|
-
{
|
|
11477
|
+
if (depth > 0 && predicate(value)) {
|
|
11478
|
+
if (depth > 1) {
|
|
11479
|
+
baseFlatten$4(value, depth - 1, predicate, isStrict, result);
|
|
11480
|
+
} else {
|
|
11461
11481
|
arrayPush$4(result, value);
|
|
11462
11482
|
}
|
|
11463
11483
|
} else if (!isStrict) {
|
|
@@ -11469,7 +11489,7 @@ function baseFlatten$4(array2, depth, predicate, isStrict, result) {
|
|
|
11469
11489
|
__name(baseFlatten$4, "baseFlatten$4");
|
|
11470
11490
|
function flatten$2(array2) {
|
|
11471
11491
|
var length = array2 == null ? 0 : array2.length;
|
|
11472
|
-
return length ? baseFlatten$4(array2) : [];
|
|
11492
|
+
return length ? baseFlatten$4(array2, 1) : [];
|
|
11473
11493
|
}
|
|
11474
11494
|
__name(flatten$2, "flatten$2");
|
|
11475
11495
|
function flatRest$2(func) {
|
|
@@ -11768,13 +11788,14 @@ var deburredLetters = {
|
|
|
11768
11788
|
"ſ": "s"
|
|
11769
11789
|
};
|
|
11770
11790
|
var deburrLetter = basePropertyOf(deburredLetters);
|
|
11791
|
+
const deburrLetter$1 = deburrLetter;
|
|
11771
11792
|
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
|
|
11772
11793
|
var rsComboMarksRange$2 = "\\u0300-\\u036f", reComboHalfMarksRange$2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange$2 = "\\u20d0-\\u20ff", rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2;
|
|
11773
11794
|
var rsCombo$2 = "[" + rsComboRange$2 + "]";
|
|
11774
11795
|
var reComboMark = RegExp(rsCombo$2, "g");
|
|
11775
11796
|
function deburr(string2) {
|
|
11776
11797
|
string2 = toString$6(string2);
|
|
11777
|
-
return string2 && string2.replace(reLatin, deburrLetter).replace(reComboMark, "");
|
|
11798
|
+
return string2 && string2.replace(reLatin, deburrLetter$1).replace(reComboMark, "");
|
|
11778
11799
|
}
|
|
11779
11800
|
__name(deburr, "deburr");
|
|
11780
11801
|
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
@@ -11806,7 +11827,7 @@ function unicodeWords(string2) {
|
|
|
11806
11827
|
__name(unicodeWords, "unicodeWords");
|
|
11807
11828
|
function words(string2, pattern, guard) {
|
|
11808
11829
|
string2 = toString$6(string2);
|
|
11809
|
-
pattern = pattern;
|
|
11830
|
+
pattern = guard ? void 0 : pattern;
|
|
11810
11831
|
if (pattern === void 0) {
|
|
11811
11832
|
return hasUnicodeWord(string2) ? unicodeWords(string2) : asciiWords(string2);
|
|
11812
11833
|
}
|
|
@@ -12019,6 +12040,7 @@ if (DataView$3 && getTag$6(new DataView$3(new ArrayBuffer(1))) != dataViewTag$8
|
|
|
12019
12040
|
return result;
|
|
12020
12041
|
}, "getTag$6");
|
|
12021
12042
|
}
|
|
12043
|
+
const getTag$7 = getTag$6;
|
|
12022
12044
|
var objectProto$m = Object.prototype;
|
|
12023
12045
|
var hasOwnProperty$n = objectProto$m.hasOwnProperty;
|
|
12024
12046
|
function initCloneArray$2(array2) {
|
|
@@ -12101,14 +12123,14 @@ function initCloneObject$2(object3) {
|
|
|
12101
12123
|
__name(initCloneObject$2, "initCloneObject$2");
|
|
12102
12124
|
var mapTag$a = "[object Map]";
|
|
12103
12125
|
function baseIsMap$2(value) {
|
|
12104
|
-
return isObjectLike$d(value) && getTag$
|
|
12126
|
+
return isObjectLike$d(value) && getTag$7(value) == mapTag$a;
|
|
12105
12127
|
}
|
|
12106
12128
|
__name(baseIsMap$2, "baseIsMap$2");
|
|
12107
12129
|
var nodeIsMap$1 = nodeUtil$3 && nodeUtil$3.isMap;
|
|
12108
12130
|
var isMap$3 = nodeIsMap$1 ? baseUnary$6(nodeIsMap$1) : baseIsMap$2;
|
|
12109
12131
|
var setTag$a = "[object Set]";
|
|
12110
12132
|
function baseIsSet$2(value) {
|
|
12111
|
-
return isObjectLike$d(value) && getTag$
|
|
12133
|
+
return isObjectLike$d(value) && getTag$7(value) == setTag$a;
|
|
12112
12134
|
}
|
|
12113
12135
|
__name(baseIsSet$2, "baseIsSet$2");
|
|
12114
12136
|
var nodeIsSet$1 = nodeUtil$3 && nodeUtil$3.isSet;
|
|
@@ -12137,8 +12159,8 @@ function baseClone$3(value, bitmask, customizer, key, object3, stack) {
|
|
|
12137
12159
|
return copyArray$2(value, result);
|
|
12138
12160
|
}
|
|
12139
12161
|
} else {
|
|
12140
|
-
var tag = getTag$
|
|
12141
|
-
if (isBuffer$
|
|
12162
|
+
var tag = getTag$7(value), isFunc = tag == funcTag$3 || tag == genTag$2;
|
|
12163
|
+
if (isBuffer$9(value)) {
|
|
12142
12164
|
return cloneBuffer$1(value, isDeep);
|
|
12143
12165
|
}
|
|
12144
12166
|
if (tag == objectTag$6 || tag == argsTag$5 || isFunc && !object3) {
|
|
@@ -12388,12 +12410,12 @@ var argsTag$4 = "[object Arguments]", arrayTag$3 = "[object Array]", objectTag$5
|
|
|
12388
12410
|
var objectProto$k = Object.prototype;
|
|
12389
12411
|
var hasOwnProperty$l = objectProto$k.hasOwnProperty;
|
|
12390
12412
|
function baseIsEqualDeep$2(object3, other, bitmask, customizer, equalFunc, stack) {
|
|
12391
|
-
var objIsArr = isArray$p(object3), othIsArr = isArray$p(other), objTag = objIsArr ? arrayTag$3 : getTag$
|
|
12413
|
+
var objIsArr = isArray$p(object3), othIsArr = isArray$p(other), objTag = objIsArr ? arrayTag$3 : getTag$7(object3), othTag = othIsArr ? arrayTag$3 : getTag$7(other);
|
|
12392
12414
|
objTag = objTag == argsTag$4 ? objectTag$5 : objTag;
|
|
12393
12415
|
othTag = othTag == argsTag$4 ? objectTag$5 : othTag;
|
|
12394
12416
|
var objIsObj = objTag == objectTag$5, othIsObj = othTag == objectTag$5, isSameTag = objTag == othTag;
|
|
12395
|
-
if (isSameTag && isBuffer$
|
|
12396
|
-
if (!isBuffer$
|
|
12417
|
+
if (isSameTag && isBuffer$9(object3)) {
|
|
12418
|
+
if (!isBuffer$9(other)) {
|
|
12397
12419
|
return false;
|
|
12398
12420
|
}
|
|
12399
12421
|
objIsArr = true;
|
|
@@ -12401,7 +12423,7 @@ function baseIsEqualDeep$2(object3, other, bitmask, customizer, equalFunc, stack
|
|
|
12401
12423
|
}
|
|
12402
12424
|
if (isSameTag && !objIsObj) {
|
|
12403
12425
|
stack || (stack = new Stack$4());
|
|
12404
|
-
return objIsArr || isTypedArray$
|
|
12426
|
+
return objIsArr || isTypedArray$4(object3) ? equalArrays$3(object3, other, bitmask, customizer, equalFunc, stack) : equalByTag$2(object3, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
12405
12427
|
}
|
|
12406
12428
|
if (!(bitmask & COMPARE_PARTIAL_FLAG$8)) {
|
|
12407
12429
|
var objIsWrapped = objIsObj && hasOwnProperty$l.call(object3, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$l.call(other, "__wrapped__");
|
|
@@ -12430,27 +12452,29 @@ function baseIsEqual$3(value, other, bitmask, customizer, stack) {
|
|
|
12430
12452
|
__name(baseIsEqual$3, "baseIsEqual$3");
|
|
12431
12453
|
var COMPARE_PARTIAL_FLAG$7 = 1, COMPARE_UNORDERED_FLAG$5 = 2;
|
|
12432
12454
|
function baseIsMatch$2(object3, source, matchData, customizer) {
|
|
12433
|
-
var index2 = matchData.length, length = index2;
|
|
12455
|
+
var index2 = matchData.length, length = index2, noCustomizer = !customizer;
|
|
12434
12456
|
if (object3 == null) {
|
|
12435
12457
|
return !length;
|
|
12436
12458
|
}
|
|
12437
12459
|
object3 = Object(object3);
|
|
12438
12460
|
while (index2--) {
|
|
12439
12461
|
var data = matchData[index2];
|
|
12440
|
-
if (data[2] ? data[1] !== object3[data[0]] : !(data[0] in object3)) {
|
|
12462
|
+
if (noCustomizer && data[2] ? data[1] !== object3[data[0]] : !(data[0] in object3)) {
|
|
12441
12463
|
return false;
|
|
12442
12464
|
}
|
|
12443
12465
|
}
|
|
12444
12466
|
while (++index2 < length) {
|
|
12445
12467
|
data = matchData[index2];
|
|
12446
12468
|
var key = data[0], objValue = object3[key], srcValue = data[1];
|
|
12447
|
-
if (data[2]) {
|
|
12469
|
+
if (noCustomizer && data[2]) {
|
|
12448
12470
|
if (objValue === void 0 && !(key in object3)) {
|
|
12449
12471
|
return false;
|
|
12450
12472
|
}
|
|
12451
12473
|
} else {
|
|
12452
12474
|
var stack = new Stack$4();
|
|
12453
|
-
|
|
12475
|
+
if (customizer) {
|
|
12476
|
+
var result = customizer(objValue, srcValue, key, object3, source, stack);
|
|
12477
|
+
}
|
|
12454
12478
|
if (!(result === void 0 ? baseIsEqual$3(srcValue, objValue, COMPARE_PARTIAL_FLAG$7 | COMPARE_UNORDERED_FLAG$5, customizer, stack) : result)) {
|
|
12455
12479
|
return false;
|
|
12456
12480
|
}
|
|
@@ -12509,7 +12533,7 @@ function hasPath$2(object3, path2, hasFunc) {
|
|
|
12509
12533
|
return result;
|
|
12510
12534
|
}
|
|
12511
12535
|
length = object3 == null ? 0 : object3.length;
|
|
12512
|
-
return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$p(object3) || isArguments$
|
|
12536
|
+
return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$p(object3) || isArguments$8(object3));
|
|
12513
12537
|
}
|
|
12514
12538
|
__name(hasPath$2, "hasPath$2");
|
|
12515
12539
|
function hasIn$2(object3, path2) {
|
|
@@ -12569,7 +12593,7 @@ function createBaseFor$2(fromRight) {
|
|
|
12569
12593
|
return function(object3, iteratee, keysFunc) {
|
|
12570
12594
|
var index2 = -1, iterable = Object(object3), props = keysFunc(object3), length = props.length;
|
|
12571
12595
|
while (length--) {
|
|
12572
|
-
var key = props[++index2];
|
|
12596
|
+
var key = props[fromRight ? length : ++index2];
|
|
12573
12597
|
if (iteratee(iterable[key], key, iterable) === false) {
|
|
12574
12598
|
break;
|
|
12575
12599
|
}
|
|
@@ -12591,8 +12615,8 @@ function createBaseEach$2(eachFunc, fromRight) {
|
|
|
12591
12615
|
if (!isArrayLike$9(collection)) {
|
|
12592
12616
|
return eachFunc(collection, iteratee);
|
|
12593
12617
|
}
|
|
12594
|
-
var length = collection.length, index2 = -1, iterable = Object(collection);
|
|
12595
|
-
while (++index2 < length) {
|
|
12618
|
+
var length = collection.length, index2 = fromRight ? length : -1, iterable = Object(collection);
|
|
12619
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
12596
12620
|
if (iteratee(iterable[index2], index2, iterable) === false) {
|
|
12597
12621
|
break;
|
|
12598
12622
|
}
|
|
@@ -12602,8 +12626,9 @@ function createBaseEach$2(eachFunc, fromRight) {
|
|
|
12602
12626
|
}
|
|
12603
12627
|
__name(createBaseEach$2, "createBaseEach$2");
|
|
12604
12628
|
var baseEach$3 = createBaseEach$2(baseForOwn$3);
|
|
12629
|
+
const baseEach$4 = baseEach$3;
|
|
12605
12630
|
function baseAggregator(collection, setter2, iteratee, accumulator) {
|
|
12606
|
-
baseEach$
|
|
12631
|
+
baseEach$4(collection, function(value, key, collection2) {
|
|
12607
12632
|
setter2(accumulator, value, iteratee(value), collection2);
|
|
12608
12633
|
});
|
|
12609
12634
|
return accumulator;
|
|
@@ -12754,7 +12779,7 @@ function baseMergeDeep(object3, source, key, srcIndex, mergeFunc, customizer, st
|
|
|
12754
12779
|
var newValue = customizer ? customizer(objValue, srcValue, key + "", object3, source, stack) : void 0;
|
|
12755
12780
|
var isCommon = newValue === void 0;
|
|
12756
12781
|
if (isCommon) {
|
|
12757
|
-
var isArr = isArray$p(srcValue), isBuff = !isArr && isBuffer$
|
|
12782
|
+
var isArr = isArray$p(srcValue), isBuff = !isArr && isBuffer$9(srcValue), isTyped = !isArr && !isBuff && isTypedArray$4(srcValue);
|
|
12758
12783
|
newValue = srcValue;
|
|
12759
12784
|
if (isArr || isBuff || isTyped) {
|
|
12760
12785
|
if (isArray$p(objValue)) {
|
|
@@ -12770,9 +12795,9 @@ function baseMergeDeep(object3, source, key, srcIndex, mergeFunc, customizer, st
|
|
|
12770
12795
|
} else {
|
|
12771
12796
|
newValue = [];
|
|
12772
12797
|
}
|
|
12773
|
-
} else if (isPlainObject$4(srcValue) || isArguments$
|
|
12798
|
+
} else if (isPlainObject$4(srcValue) || isArguments$8(srcValue)) {
|
|
12774
12799
|
newValue = objValue;
|
|
12775
|
-
if (isArguments$
|
|
12800
|
+
if (isArguments$8(objValue)) {
|
|
12776
12801
|
newValue = toPlainObject(objValue);
|
|
12777
12802
|
} else if (!isObject$e(objValue) || isFunction$6(objValue)) {
|
|
12778
12803
|
newValue = initCloneObject$2(srcValue);
|
|
@@ -12807,6 +12832,16 @@ function baseMerge(object3, source, srcIndex, customizer, stack) {
|
|
|
12807
12832
|
}, keysIn$4);
|
|
12808
12833
|
}
|
|
12809
12834
|
__name(baseMerge, "baseMerge");
|
|
12835
|
+
function arrayIncludesWith$2(array2, value, comparator) {
|
|
12836
|
+
var index2 = -1, length = array2 == null ? 0 : array2.length;
|
|
12837
|
+
while (++index2 < length) {
|
|
12838
|
+
if (comparator(value, array2[index2])) {
|
|
12839
|
+
return true;
|
|
12840
|
+
}
|
|
12841
|
+
}
|
|
12842
|
+
return false;
|
|
12843
|
+
}
|
|
12844
|
+
__name(arrayIncludesWith$2, "arrayIncludesWith$2");
|
|
12810
12845
|
var LARGE_ARRAY_SIZE$3 = 200;
|
|
12811
12846
|
function baseDifference$2(array2, values3, iteratee, comparator) {
|
|
12812
12847
|
var index2 = -1, includes2 = arrayIncludes$2, isCommon = true, length = array2.length, result = [], valuesLength = values3.length;
|
|
@@ -12816,7 +12851,10 @@ function baseDifference$2(array2, values3, iteratee, comparator) {
|
|
|
12816
12851
|
if (iteratee) {
|
|
12817
12852
|
values3 = arrayMap$6(values3, baseUnary$6(iteratee));
|
|
12818
12853
|
}
|
|
12819
|
-
if (
|
|
12854
|
+
if (comparator) {
|
|
12855
|
+
includes2 = arrayIncludesWith$2;
|
|
12856
|
+
isCommon = false;
|
|
12857
|
+
} else if (values3.length >= LARGE_ARRAY_SIZE$3) {
|
|
12820
12858
|
includes2 = cacheHas$3;
|
|
12821
12859
|
isCommon = false;
|
|
12822
12860
|
values3 = new SetCache$3(values3);
|
|
@@ -12824,7 +12862,7 @@ function baseDifference$2(array2, values3, iteratee, comparator) {
|
|
|
12824
12862
|
outer:
|
|
12825
12863
|
while (++index2 < length) {
|
|
12826
12864
|
var value = array2[index2], computed3 = iteratee == null ? value : iteratee(value);
|
|
12827
|
-
value = value !== 0 ? value : 0;
|
|
12865
|
+
value = comparator || value !== 0 ? value : 0;
|
|
12828
12866
|
if (isCommon && computed3 === computed3) {
|
|
12829
12867
|
var valuesIndex = valuesLength;
|
|
12830
12868
|
while (valuesIndex--) {
|
|
@@ -12855,12 +12893,13 @@ var differenceBy = baseRest$4(function(array2, values3) {
|
|
|
12855
12893
|
}
|
|
12856
12894
|
return isArrayLikeObject$2(array2) ? baseDifference$2(array2, baseFlatten$4(values3, 1, isArrayLikeObject$2, true), baseIteratee$5(iteratee)) : [];
|
|
12857
12895
|
});
|
|
12896
|
+
const differenceBy$1 = differenceBy;
|
|
12858
12897
|
function drop$2(array2, n2, guard) {
|
|
12859
12898
|
var length = array2 == null ? 0 : array2.length;
|
|
12860
12899
|
if (!length) {
|
|
12861
12900
|
return [];
|
|
12862
12901
|
}
|
|
12863
|
-
n2 = n2 === void 0 ? 1 : toInteger$5(n2);
|
|
12902
|
+
n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
|
|
12864
12903
|
return baseSlice$2(array2, n2 < 0 ? 0 : n2, length);
|
|
12865
12904
|
}
|
|
12866
12905
|
__name(drop$2, "drop$2");
|
|
@@ -12869,7 +12908,7 @@ function castFunction$3(value) {
|
|
|
12869
12908
|
}
|
|
12870
12909
|
__name(castFunction$3, "castFunction$3");
|
|
12871
12910
|
function forEach$4(collection, iteratee) {
|
|
12872
|
-
var func = isArray$p(collection) ? arrayEach$3 : baseEach$
|
|
12911
|
+
var func = isArray$p(collection) ? arrayEach$3 : baseEach$4;
|
|
12873
12912
|
return func(collection, castFunction$3(iteratee));
|
|
12874
12913
|
}
|
|
12875
12914
|
__name(forEach$4, "forEach$4");
|
|
@@ -12895,7 +12934,7 @@ function arrayEvery(array2, predicate) {
|
|
|
12895
12934
|
__name(arrayEvery, "arrayEvery");
|
|
12896
12935
|
function baseEvery(collection, predicate) {
|
|
12897
12936
|
var result = true;
|
|
12898
|
-
baseEach$
|
|
12937
|
+
baseEach$4(collection, function(value, index2, collection2) {
|
|
12899
12938
|
result = !!predicate(value, index2, collection2);
|
|
12900
12939
|
return result;
|
|
12901
12940
|
});
|
|
@@ -12904,12 +12943,15 @@ function baseEvery(collection, predicate) {
|
|
|
12904
12943
|
__name(baseEvery, "baseEvery");
|
|
12905
12944
|
function every(collection, predicate, guard) {
|
|
12906
12945
|
var func = isArray$p(collection) ? arrayEvery : baseEvery;
|
|
12946
|
+
if (guard && isIterateeCall$3(collection, predicate, guard)) {
|
|
12947
|
+
predicate = void 0;
|
|
12948
|
+
}
|
|
12907
12949
|
return func(collection, baseIteratee$5(predicate));
|
|
12908
12950
|
}
|
|
12909
12951
|
__name(every, "every");
|
|
12910
12952
|
function baseFilter(collection, predicate) {
|
|
12911
12953
|
var result = [];
|
|
12912
|
-
baseEach$
|
|
12954
|
+
baseEach$4(collection, function(value, index2, collection2) {
|
|
12913
12955
|
if (predicate(value, index2, collection2)) {
|
|
12914
12956
|
result.push(value);
|
|
12915
12957
|
}
|
|
@@ -12953,7 +12995,7 @@ __name(findIndex$3, "findIndex$3");
|
|
|
12953
12995
|
var find$5 = createFind$2(findIndex$3);
|
|
12954
12996
|
function baseMap$3(collection, iteratee) {
|
|
12955
12997
|
var index2 = -1, result = isArrayLike$9(collection) ? Array(collection.length) : [];
|
|
12956
|
-
baseEach$
|
|
12998
|
+
baseEach$4(collection, function(value, key, collection2) {
|
|
12957
12999
|
result[++index2] = iteratee(value, key, collection2);
|
|
12958
13000
|
});
|
|
12959
13001
|
return result;
|
|
@@ -12965,7 +13007,7 @@ function map$3(collection, iteratee) {
|
|
|
12965
13007
|
}
|
|
12966
13008
|
__name(map$3, "map$3");
|
|
12967
13009
|
function flatMap$1(collection, iteratee) {
|
|
12968
|
-
return baseFlatten$4(map$3(collection, iteratee));
|
|
13010
|
+
return baseFlatten$4(map$3(collection, iteratee), 1);
|
|
12969
13011
|
}
|
|
12970
13012
|
__name(flatMap$1, "flatMap$1");
|
|
12971
13013
|
function baseGt(value, other) {
|
|
@@ -13000,26 +13042,26 @@ function includes(collection, value, fromIndex, guard) {
|
|
|
13000
13042
|
__name(includes, "includes");
|
|
13001
13043
|
var nativeMin$1 = Math.min;
|
|
13002
13044
|
function baseIntersection(arrays, iteratee, comparator) {
|
|
13003
|
-
var includes2 = arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
|
|
13045
|
+
var includes2 = comparator ? arrayIncludesWith$2 : arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
|
|
13004
13046
|
while (othIndex--) {
|
|
13005
13047
|
var array2 = arrays[othIndex];
|
|
13006
13048
|
if (othIndex && iteratee) {
|
|
13007
13049
|
array2 = arrayMap$6(array2, baseUnary$6(iteratee));
|
|
13008
13050
|
}
|
|
13009
13051
|
maxLength = nativeMin$1(array2.length, maxLength);
|
|
13010
|
-
caches[othIndex] = iteratee || length >= 120 && array2.length >= 120 ? new SetCache$3(othIndex && array2) : void 0;
|
|
13052
|
+
caches[othIndex] = !comparator && (iteratee || length >= 120 && array2.length >= 120) ? new SetCache$3(othIndex && array2) : void 0;
|
|
13011
13053
|
}
|
|
13012
13054
|
array2 = arrays[0];
|
|
13013
13055
|
var index2 = -1, seen = caches[0];
|
|
13014
13056
|
outer:
|
|
13015
13057
|
while (++index2 < length && result.length < maxLength) {
|
|
13016
13058
|
var value = array2[index2], computed3 = iteratee ? iteratee(value) : value;
|
|
13017
|
-
value = value !== 0 ? value : 0;
|
|
13018
|
-
if (!(seen ? cacheHas$3(seen, computed3) : includes2(result, computed3))) {
|
|
13059
|
+
value = comparator || value !== 0 ? value : 0;
|
|
13060
|
+
if (!(seen ? cacheHas$3(seen, computed3) : includes2(result, computed3, comparator))) {
|
|
13019
13061
|
othIndex = othLength;
|
|
13020
13062
|
while (--othIndex) {
|
|
13021
13063
|
var cache2 = caches[othIndex];
|
|
13022
|
-
if (!(cache2 ? cacheHas$3(cache2, computed3) : includes2(arrays[othIndex], computed3))) {
|
|
13064
|
+
if (!(cache2 ? cacheHas$3(cache2, computed3) : includes2(arrays[othIndex], computed3, comparator))) {
|
|
13023
13065
|
continue outer;
|
|
13024
13066
|
}
|
|
13025
13067
|
}
|
|
@@ -13045,6 +13087,7 @@ var intersectionBy = baseRest$4(function(arrays) {
|
|
|
13045
13087
|
}
|
|
13046
13088
|
return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, baseIteratee$5(iteratee)) : [];
|
|
13047
13089
|
});
|
|
13090
|
+
const intersectionBy$1 = intersectionBy;
|
|
13048
13091
|
function baseInverter(object3, setter2, iteratee, accumulator) {
|
|
13049
13092
|
baseForOwn$3(object3, function(value, key, object4) {
|
|
13050
13093
|
setter2(accumulator, iteratee(value), key, object4);
|
|
@@ -13077,10 +13120,10 @@ function isEmpty$1(value) {
|
|
|
13077
13120
|
if (value == null) {
|
|
13078
13121
|
return true;
|
|
13079
13122
|
}
|
|
13080
|
-
if (isArrayLike$9(value) && (isArray$p(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$
|
|
13123
|
+
if (isArrayLike$9(value) && (isArray$p(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$9(value) || isTypedArray$4(value) || isArguments$8(value))) {
|
|
13081
13124
|
return !value.length;
|
|
13082
13125
|
}
|
|
13083
|
-
var tag = getTag$
|
|
13126
|
+
var tag = getTag$7(value);
|
|
13084
13127
|
if (tag == mapTag$7 || tag == setTag$7) {
|
|
13085
13128
|
return !value.size;
|
|
13086
13129
|
}
|
|
@@ -13198,7 +13241,7 @@ function toArray$1(value) {
|
|
|
13198
13241
|
if (symIterator && value[symIterator]) {
|
|
13199
13242
|
return iteratorToArray(value[symIterator]());
|
|
13200
13243
|
}
|
|
13201
|
-
var tag = getTag$
|
|
13244
|
+
var tag = getTag$7(value), func = tag == mapTag$6 ? mapToArray$2 : tag == setTag$6 ? setToArray$2 : values;
|
|
13202
13245
|
return func(value);
|
|
13203
13246
|
}
|
|
13204
13247
|
__name(toArray$1, "toArray$1");
|
|
@@ -13247,7 +13290,7 @@ function baseSet(object3, path2, value, customizer) {
|
|
|
13247
13290
|
}
|
|
13248
13291
|
if (index2 != lastIndex) {
|
|
13249
13292
|
var objValue = nested[key];
|
|
13250
|
-
newValue = void 0;
|
|
13293
|
+
newValue = customizer ? customizer(objValue, key, nested) : void 0;
|
|
13251
13294
|
if (newValue === void 0) {
|
|
13252
13295
|
newValue = isObject$e(objValue) ? objValue : isIndex$4(path2[index2 + 1]) ? [] : {};
|
|
13253
13296
|
}
|
|
@@ -13357,7 +13400,7 @@ function orderBy$1(collection, iteratees, orders, guard) {
|
|
|
13357
13400
|
if (!isArray$p(iteratees)) {
|
|
13358
13401
|
iteratees = iteratees == null ? [] : [iteratees];
|
|
13359
13402
|
}
|
|
13360
|
-
orders = orders;
|
|
13403
|
+
orders = guard ? void 0 : orders;
|
|
13361
13404
|
if (!isArray$p(orders)) {
|
|
13362
13405
|
orders = orders == null ? [] : [orders];
|
|
13363
13406
|
}
|
|
@@ -13449,7 +13492,7 @@ var nativeCeil = Math.ceil, nativeMax$2 = Math.max;
|
|
|
13449
13492
|
function baseRange(start2, end2, step2, fromRight) {
|
|
13450
13493
|
var index2 = -1, length = nativeMax$2(nativeCeil((end2 - start2) / (step2 || 1)), 0), result = Array(length);
|
|
13451
13494
|
while (length--) {
|
|
13452
|
-
result[++index2] = start2;
|
|
13495
|
+
result[fromRight ? length : ++index2] = start2;
|
|
13453
13496
|
start2 += step2;
|
|
13454
13497
|
}
|
|
13455
13498
|
return result;
|
|
@@ -13468,7 +13511,7 @@ function createRange(fromRight) {
|
|
|
13468
13511
|
end2 = toFinite$2(end2);
|
|
13469
13512
|
}
|
|
13470
13513
|
step2 = step2 === void 0 ? start2 < end2 ? 1 : -1 : toFinite$2(step2);
|
|
13471
|
-
return baseRange(start2, end2, step2);
|
|
13514
|
+
return baseRange(start2, end2, step2, fromRight);
|
|
13472
13515
|
};
|
|
13473
13516
|
}
|
|
13474
13517
|
__name(createRange, "createRange");
|
|
@@ -13482,7 +13525,7 @@ function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
|
|
|
13482
13525
|
__name(baseReduce, "baseReduce");
|
|
13483
13526
|
function reduce(collection, iteratee, accumulator) {
|
|
13484
13527
|
var func = isArray$p(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
|
|
13485
|
-
return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$
|
|
13528
|
+
return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$4);
|
|
13486
13529
|
}
|
|
13487
13530
|
__name(reduce, "reduce");
|
|
13488
13531
|
function remove$1(array2, predicate) {
|
|
@@ -13513,7 +13556,7 @@ var snakeCase = createCompounder(function(result, word, index2) {
|
|
|
13513
13556
|
});
|
|
13514
13557
|
function baseSome(collection, predicate) {
|
|
13515
13558
|
var result;
|
|
13516
|
-
baseEach$
|
|
13559
|
+
baseEach$4(collection, function(value, index2, collection2) {
|
|
13517
13560
|
result = predicate(value, index2, collection2);
|
|
13518
13561
|
return !result;
|
|
13519
13562
|
});
|
|
@@ -13522,6 +13565,9 @@ function baseSome(collection, predicate) {
|
|
|
13522
13565
|
__name(baseSome, "baseSome");
|
|
13523
13566
|
function some(collection, predicate, guard) {
|
|
13524
13567
|
var func = isArray$p(collection) ? arraySome$2 : baseSome;
|
|
13568
|
+
if (guard && isIterateeCall$3(collection, predicate, guard)) {
|
|
13569
|
+
predicate = void 0;
|
|
13570
|
+
}
|
|
13525
13571
|
return func(collection, baseIteratee$5(predicate));
|
|
13526
13572
|
}
|
|
13527
13573
|
__name(some, "some");
|
|
@@ -13535,7 +13581,7 @@ var sortBy$2 = baseRest$4(function(collection, iteratees) {
|
|
|
13535
13581
|
} else if (length > 2 && isIterateeCall$3(iteratees[0], iteratees[1], iteratees[2])) {
|
|
13536
13582
|
iteratees = [iteratees[0]];
|
|
13537
13583
|
}
|
|
13538
|
-
return baseOrderBy$2(collection, baseFlatten$4(iteratees), []);
|
|
13584
|
+
return baseOrderBy$2(collection, baseFlatten$4(iteratees, 1), []);
|
|
13539
13585
|
});
|
|
13540
13586
|
var startCase = createCompounder(function(result, word, index2) {
|
|
13541
13587
|
return result + (index2 ? " " : "") + upperFirst(word);
|
|
@@ -13551,7 +13597,7 @@ function take(array2, n2, guard) {
|
|
|
13551
13597
|
if (!(array2 && array2.length)) {
|
|
13552
13598
|
return [];
|
|
13553
13599
|
}
|
|
13554
|
-
n2 = n2 === void 0 ? 1 : toInteger$5(n2);
|
|
13600
|
+
n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
|
|
13555
13601
|
return baseSlice$2(array2, 0, n2 < 0 ? 0 : n2);
|
|
13556
13602
|
}
|
|
13557
13603
|
__name(take, "take");
|
|
@@ -13597,7 +13643,10 @@ var createSet = !(Set$3 && 1 / setToArray$2(new Set$3([, -0]))[1] == INFINITY$4)
|
|
|
13597
13643
|
var LARGE_ARRAY_SIZE$2 = 200;
|
|
13598
13644
|
function baseUniq(array2, iteratee, comparator) {
|
|
13599
13645
|
var index2 = -1, includes2 = arrayIncludes$2, length = array2.length, isCommon = true, result = [], seen = result;
|
|
13600
|
-
if (
|
|
13646
|
+
if (comparator) {
|
|
13647
|
+
isCommon = false;
|
|
13648
|
+
includes2 = arrayIncludesWith$2;
|
|
13649
|
+
} else if (length >= LARGE_ARRAY_SIZE$2) {
|
|
13601
13650
|
var set6 = iteratee ? null : createSet(array2);
|
|
13602
13651
|
if (set6) {
|
|
13603
13652
|
return setToArray$2(set6);
|
|
@@ -13611,7 +13660,7 @@ function baseUniq(array2, iteratee, comparator) {
|
|
|
13611
13660
|
outer:
|
|
13612
13661
|
while (++index2 < length) {
|
|
13613
13662
|
var value = array2[index2], computed3 = iteratee ? iteratee(value) : value;
|
|
13614
|
-
value = value !== 0 ? value : 0;
|
|
13663
|
+
value = comparator || value !== 0 ? value : 0;
|
|
13615
13664
|
if (isCommon && computed3 === computed3) {
|
|
13616
13665
|
var seenIndex = seen.length;
|
|
13617
13666
|
while (seenIndex--) {
|
|
@@ -13868,7 +13917,7 @@ var withState = /* @__PURE__ */ __name(function withState2(stateName, stateUpdat
|
|
|
13868
13917
|
}
|
|
13869
13918
|
_this = _Component.call.apply(_Component, [this].concat(args)) || this;
|
|
13870
13919
|
_this.state = {
|
|
13871
|
-
stateValue: initialState2
|
|
13920
|
+
stateValue: typeof initialState2 === "function" ? initialState2(_this.props) : initialState2
|
|
13872
13921
|
};
|
|
13873
13922
|
_this.updateStateValue = function(updateFn, callback2) {
|
|
13874
13923
|
return _this.setState(function(_ref) {
|
|
@@ -14170,11 +14219,20 @@ function require_domCreate() {
|
|
|
14170
14219
|
return _domCreate;
|
|
14171
14220
|
}
|
|
14172
14221
|
__name(require_domCreate, "require_domCreate");
|
|
14173
|
-
var _ie8DomDefine
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14222
|
+
var _ie8DomDefine;
|
|
14223
|
+
var hasRequired_ie8DomDefine;
|
|
14224
|
+
function require_ie8DomDefine() {
|
|
14225
|
+
if (hasRequired_ie8DomDefine)
|
|
14226
|
+
return _ie8DomDefine;
|
|
14227
|
+
hasRequired_ie8DomDefine = 1;
|
|
14228
|
+
_ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
14229
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
14230
|
+
return 7;
|
|
14231
|
+
} }).a != 7;
|
|
14232
|
+
});
|
|
14233
|
+
return _ie8DomDefine;
|
|
14234
|
+
}
|
|
14235
|
+
__name(require_ie8DomDefine, "require_ie8DomDefine");
|
|
14178
14236
|
var isObject$c = _isObject;
|
|
14179
14237
|
var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
14180
14238
|
if (!isObject$c(it))
|
|
@@ -14194,7 +14252,7 @@ function require_objectDp() {
|
|
|
14194
14252
|
return _objectDp;
|
|
14195
14253
|
hasRequired_objectDp = 1;
|
|
14196
14254
|
var anObject2 = _anObject;
|
|
14197
|
-
var IE8_DOM_DEFINE2 =
|
|
14255
|
+
var IE8_DOM_DEFINE2 = require_ie8DomDefine();
|
|
14198
14256
|
var toPrimitive2 = _toPrimitive$1;
|
|
14199
14257
|
var dP2 = Object.defineProperty;
|
|
14200
14258
|
_objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
|
|
@@ -14223,10 +14281,10 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
|
14223
14281
|
value
|
|
14224
14282
|
};
|
|
14225
14283
|
}, "_propertyDesc");
|
|
14226
|
-
var dP$
|
|
14284
|
+
var dP$2 = require_objectDp();
|
|
14227
14285
|
var createDesc$3 = _propertyDesc;
|
|
14228
14286
|
var _hide = require_descriptors() ? function(object3, key, value) {
|
|
14229
|
-
return dP$
|
|
14287
|
+
return dP$2.f(object3, key, createDesc$3(1, value));
|
|
14230
14288
|
} : function(object3, key, value) {
|
|
14231
14289
|
object3[key] = value;
|
|
14232
14290
|
return object3;
|
|
@@ -14240,7 +14298,7 @@ var core$3 = _coreExports;
|
|
|
14240
14298
|
var ctx$1 = _ctx;
|
|
14241
14299
|
var hide$3 = _hide;
|
|
14242
14300
|
var has$e = _has;
|
|
14243
|
-
var PROTOTYPE$
|
|
14301
|
+
var PROTOTYPE$2 = "prototype";
|
|
14244
14302
|
var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
|
|
14245
14303
|
var IS_FORCED = type2 & $export$8.F;
|
|
14246
14304
|
var IS_GLOBAL = type2 & $export$8.G;
|
|
@@ -14249,8 +14307,8 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
|
|
|
14249
14307
|
var IS_BIND = type2 & $export$8.B;
|
|
14250
14308
|
var IS_WRAP = type2 & $export$8.W;
|
|
14251
14309
|
var exports2 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
|
|
14252
|
-
var expProto = exports2[PROTOTYPE$
|
|
14253
|
-
var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$
|
|
14310
|
+
var expProto = exports2[PROTOTYPE$2];
|
|
14311
|
+
var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$2];
|
|
14254
14312
|
var key, own2, out;
|
|
14255
14313
|
if (IS_GLOBAL)
|
|
14256
14314
|
source = name2;
|
|
@@ -14274,7 +14332,7 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
|
|
|
14274
14332
|
}
|
|
14275
14333
|
return C.apply(this, arguments);
|
|
14276
14334
|
}, "F");
|
|
14277
|
-
F[PROTOTYPE$
|
|
14335
|
+
F[PROTOTYPE$2] = C[PROTOTYPE$2];
|
|
14278
14336
|
return F;
|
|
14279
14337
|
}(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
|
|
14280
14338
|
if (IS_PROTO) {
|
|
@@ -14297,25 +14355,16 @@ var toString$5 = {}.toString;
|
|
|
14297
14355
|
var _cof = /* @__PURE__ */ __name(function(it) {
|
|
14298
14356
|
return toString$5.call(it).slice(8, -1);
|
|
14299
14357
|
}, "_cof");
|
|
14300
|
-
var
|
|
14301
|
-
var
|
|
14302
|
-
|
|
14303
|
-
|
|
14304
|
-
return _iobject;
|
|
14305
|
-
hasRequired_iobject = 1;
|
|
14306
|
-
var cof2 = _cof;
|
|
14307
|
-
_iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
14308
|
-
return cof2(it) == "String" ? it.split("") : Object(it);
|
|
14309
|
-
};
|
|
14310
|
-
return _iobject;
|
|
14311
|
-
}
|
|
14312
|
-
__name(require_iobject, "require_iobject");
|
|
14358
|
+
var cof$2 = _cof;
|
|
14359
|
+
var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
14360
|
+
return cof$2(it) == "String" ? it.split("") : Object(it);
|
|
14361
|
+
};
|
|
14313
14362
|
var _defined = /* @__PURE__ */ __name(function(it) {
|
|
14314
14363
|
if (it == void 0)
|
|
14315
14364
|
throw TypeError("Can't call method on " + it);
|
|
14316
14365
|
return it;
|
|
14317
14366
|
}, "_defined");
|
|
14318
|
-
var IObject =
|
|
14367
|
+
var IObject = _iobject;
|
|
14319
14368
|
var defined$2 = _defined;
|
|
14320
14369
|
var _toIobject = /* @__PURE__ */ __name(function(it) {
|
|
14321
14370
|
return IObject(defined$2(it));
|
|
@@ -14388,14 +14437,14 @@ var _sharedKey = /* @__PURE__ */ __name(function(key) {
|
|
|
14388
14437
|
var has$d = _has;
|
|
14389
14438
|
var toIObject$4 = _toIobject;
|
|
14390
14439
|
var arrayIndexOf = _arrayIncludes$1(false);
|
|
14391
|
-
var IE_PROTO$
|
|
14440
|
+
var IE_PROTO$2 = _sharedKey("IE_PROTO");
|
|
14392
14441
|
var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
|
|
14393
14442
|
var O2 = toIObject$4(object3);
|
|
14394
14443
|
var i = 0;
|
|
14395
14444
|
var result = [];
|
|
14396
14445
|
var key;
|
|
14397
14446
|
for (key in O2)
|
|
14398
|
-
if (key != IE_PROTO$
|
|
14447
|
+
if (key != IE_PROTO$2)
|
|
14399
14448
|
has$d(O2, key) && result.push(key);
|
|
14400
14449
|
while (names2.length > i)
|
|
14401
14450
|
if (has$d(O2, key = names2[i++])) {
|
|
@@ -14404,10 +14453,10 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
|
|
|
14404
14453
|
return result;
|
|
14405
14454
|
}, "_objectKeysInternal");
|
|
14406
14455
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
14407
|
-
var $keys$
|
|
14408
|
-
var enumBugKeys = _enumBugKeys;
|
|
14456
|
+
var $keys$3 = _objectKeysInternal;
|
|
14457
|
+
var enumBugKeys$1 = _enumBugKeys;
|
|
14409
14458
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
|
|
14410
|
-
return $keys$
|
|
14459
|
+
return $keys$3(O2, enumBugKeys$1);
|
|
14411
14460
|
}, "keys");
|
|
14412
14461
|
var _objectGops = {};
|
|
14413
14462
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
@@ -14436,7 +14485,7 @@ function require_objectAssign() {
|
|
|
14436
14485
|
var gOPS2 = _objectGops;
|
|
14437
14486
|
var pIE2 = require_objectPie();
|
|
14438
14487
|
var toObject2 = _toObject;
|
|
14439
|
-
var IObject2 =
|
|
14488
|
+
var IObject2 = _iobject;
|
|
14440
14489
|
var $assign = Object.assign;
|
|
14441
14490
|
_objectAssign = !$assign || _fails(function() {
|
|
14442
14491
|
var A2 = {};
|
|
@@ -14497,28 +14546,19 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
|
|
|
14497
14546
|
}, "_iterStep");
|
|
14498
14547
|
var _iterators = {};
|
|
14499
14548
|
var _redefine = _hide;
|
|
14500
|
-
var
|
|
14501
|
-
var
|
|
14502
|
-
|
|
14503
|
-
|
|
14504
|
-
|
|
14505
|
-
|
|
14506
|
-
var
|
|
14507
|
-
var
|
|
14508
|
-
var
|
|
14509
|
-
|
|
14510
|
-
|
|
14511
|
-
|
|
14512
|
-
|
|
14513
|
-
var i = 0;
|
|
14514
|
-
var P2;
|
|
14515
|
-
while (length > i)
|
|
14516
|
-
dP2.f(O2, P2 = keys5[i++], Properties2[P2]);
|
|
14517
|
-
return O2;
|
|
14518
|
-
}, "defineProperties");
|
|
14519
|
-
return _objectDps;
|
|
14520
|
-
}
|
|
14521
|
-
__name(require_objectDps, "require_objectDps");
|
|
14549
|
+
var dP$1 = require_objectDp();
|
|
14550
|
+
var anObject$4 = _anObject;
|
|
14551
|
+
var getKeys$1 = _objectKeys;
|
|
14552
|
+
var _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties(O2, Properties2) {
|
|
14553
|
+
anObject$4(O2);
|
|
14554
|
+
var keys5 = getKeys$1(Properties2);
|
|
14555
|
+
var length = keys5.length;
|
|
14556
|
+
var i = 0;
|
|
14557
|
+
var P2;
|
|
14558
|
+
while (length > i)
|
|
14559
|
+
dP$1.f(O2, P2 = keys5[i++], Properties2[P2]);
|
|
14560
|
+
return O2;
|
|
14561
|
+
}, "defineProperties");
|
|
14522
14562
|
var _html;
|
|
14523
14563
|
var hasRequired_html;
|
|
14524
14564
|
function require_html() {
|
|
@@ -14530,51 +14570,42 @@ function require_html() {
|
|
|
14530
14570
|
return _html;
|
|
14531
14571
|
}
|
|
14532
14572
|
__name(require_html, "require_html");
|
|
14533
|
-
var
|
|
14534
|
-
var
|
|
14535
|
-
|
|
14536
|
-
|
|
14537
|
-
|
|
14538
|
-
|
|
14539
|
-
|
|
14540
|
-
|
|
14541
|
-
var
|
|
14542
|
-
var
|
|
14543
|
-
var
|
|
14544
|
-
|
|
14545
|
-
var
|
|
14546
|
-
|
|
14547
|
-
|
|
14548
|
-
|
|
14549
|
-
|
|
14550
|
-
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14560
|
-
|
|
14561
|
-
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
Empty[PROTOTYPE2] = null;
|
|
14570
|
-
result[IE_PROTO2] = O2;
|
|
14571
|
-
} else
|
|
14572
|
-
result = createDict();
|
|
14573
|
-
return Properties2 === void 0 ? result : dPs(result, Properties2);
|
|
14574
|
-
}, "create");
|
|
14575
|
-
return _objectCreate;
|
|
14576
|
-
}
|
|
14577
|
-
__name(require_objectCreate, "require_objectCreate");
|
|
14573
|
+
var anObject$3 = _anObject;
|
|
14574
|
+
var dPs = _objectDps;
|
|
14575
|
+
var enumBugKeys = _enumBugKeys;
|
|
14576
|
+
var IE_PROTO$1 = _sharedKey("IE_PROTO");
|
|
14577
|
+
var Empty = /* @__PURE__ */ __name(function() {
|
|
14578
|
+
}, "Empty");
|
|
14579
|
+
var PROTOTYPE$1 = "prototype";
|
|
14580
|
+
var createDict = /* @__PURE__ */ __name(function() {
|
|
14581
|
+
var iframe = require_domCreate()("iframe");
|
|
14582
|
+
var i = enumBugKeys.length;
|
|
14583
|
+
var lt = "<";
|
|
14584
|
+
var gt = ">";
|
|
14585
|
+
var iframeDocument;
|
|
14586
|
+
iframe.style.display = "none";
|
|
14587
|
+
require_html().appendChild(iframe);
|
|
14588
|
+
iframe.src = "javascript:";
|
|
14589
|
+
iframeDocument = iframe.contentWindow.document;
|
|
14590
|
+
iframeDocument.open();
|
|
14591
|
+
iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
|
|
14592
|
+
iframeDocument.close();
|
|
14593
|
+
createDict = iframeDocument.F;
|
|
14594
|
+
while (i--)
|
|
14595
|
+
delete createDict[PROTOTYPE$1][enumBugKeys[i]];
|
|
14596
|
+
return createDict();
|
|
14597
|
+
}, "createDict");
|
|
14598
|
+
var _objectCreate = Object.create || /* @__PURE__ */ __name(function create(O2, Properties2) {
|
|
14599
|
+
var result;
|
|
14600
|
+
if (O2 !== null) {
|
|
14601
|
+
Empty[PROTOTYPE$1] = anObject$3(O2);
|
|
14602
|
+
result = new Empty();
|
|
14603
|
+
Empty[PROTOTYPE$1] = null;
|
|
14604
|
+
result[IE_PROTO$1] = O2;
|
|
14605
|
+
} else
|
|
14606
|
+
result = createDict();
|
|
14607
|
+
return Properties2 === void 0 ? result : dPs(result, Properties2);
|
|
14608
|
+
}, "create");
|
|
14578
14609
|
var _wks = { exports: {} };
|
|
14579
14610
|
var store$2 = _sharedExports("wks");
|
|
14580
14611
|
var uid$1 = _uid;
|
|
@@ -14592,7 +14623,7 @@ var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
|
14592
14623
|
if (it && !has$c(it = stat ? it : it.prototype, TAG$1))
|
|
14593
14624
|
def(it, TAG$1, { configurable: true, value: tag });
|
|
14594
14625
|
}, "_setToStringTag");
|
|
14595
|
-
var create$4 =
|
|
14626
|
+
var create$4 = _objectCreate;
|
|
14596
14627
|
var descriptor = _propertyDesc;
|
|
14597
14628
|
var setToStringTag$2 = _setToStringTag;
|
|
14598
14629
|
var IteratorPrototype = {};
|
|
@@ -15000,7 +15031,7 @@ function _interopRequireDefault$c(obj) {
|
|
|
15000
15031
|
}
|
|
15001
15032
|
__name(_interopRequireDefault$c, "_interopRequireDefault$c");
|
|
15002
15033
|
var _default$7 = /* @__PURE__ */ function() {
|
|
15003
|
-
function
|
|
15034
|
+
function defineProperties4(target, props) {
|
|
15004
15035
|
for (var i = 0; i < props.length; i++) {
|
|
15005
15036
|
var descriptor2 = props[i];
|
|
15006
15037
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -15010,12 +15041,12 @@ var _default$7 = /* @__PURE__ */ function() {
|
|
|
15010
15041
|
(0, _defineProperty2.default)(target, descriptor2.key, descriptor2);
|
|
15011
15042
|
}
|
|
15012
15043
|
}
|
|
15013
|
-
__name(
|
|
15044
|
+
__name(defineProperties4, "defineProperties");
|
|
15014
15045
|
return function(Constructor, protoProps, staticProps) {
|
|
15015
15046
|
if (protoProps)
|
|
15016
|
-
|
|
15047
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
15017
15048
|
if (staticProps)
|
|
15018
|
-
|
|
15049
|
+
defineProperties4(Constructor, staticProps);
|
|
15019
15050
|
return Constructor;
|
|
15020
15051
|
};
|
|
15021
15052
|
}();
|
|
@@ -15044,23 +15075,23 @@ var setMeta = /* @__PURE__ */ __name(function(it) {
|
|
|
15044
15075
|
// weak collections IDs
|
|
15045
15076
|
} });
|
|
15046
15077
|
}, "setMeta");
|
|
15047
|
-
var fastKey = /* @__PURE__ */ __name(function(it,
|
|
15078
|
+
var fastKey = /* @__PURE__ */ __name(function(it, create6) {
|
|
15048
15079
|
if (!isObject$b(it))
|
|
15049
15080
|
return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
|
|
15050
15081
|
if (!has$a(it, META$1)) {
|
|
15051
15082
|
if (!isExtensible(it))
|
|
15052
15083
|
return "F";
|
|
15053
|
-
if (!
|
|
15084
|
+
if (!create6)
|
|
15054
15085
|
return "E";
|
|
15055
15086
|
setMeta(it);
|
|
15056
15087
|
}
|
|
15057
15088
|
return it[META$1].i;
|
|
15058
15089
|
}, "fastKey");
|
|
15059
|
-
var getWeak = /* @__PURE__ */ __name(function(it,
|
|
15090
|
+
var getWeak = /* @__PURE__ */ __name(function(it, create6) {
|
|
15060
15091
|
if (!has$a(it, META$1)) {
|
|
15061
15092
|
if (!isExtensible(it))
|
|
15062
15093
|
return true;
|
|
15063
|
-
if (!
|
|
15094
|
+
if (!create6)
|
|
15064
15095
|
return false;
|
|
15065
15096
|
setMeta(it);
|
|
15066
15097
|
}
|
|
@@ -15110,21 +15141,13 @@ var _isArray = Array.isArray || /* @__PURE__ */ __name(function isArray(arg) {
|
|
|
15110
15141
|
}, "isArray");
|
|
15111
15142
|
var _objectGopnExt = {};
|
|
15112
15143
|
var _objectGopn = {};
|
|
15113
|
-
var
|
|
15114
|
-
|
|
15115
|
-
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
var $keys2 = _objectKeysInternal;
|
|
15119
|
-
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
15120
|
-
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames4(O2) {
|
|
15121
|
-
return $keys2(O2, hiddenKeys);
|
|
15122
|
-
}, "getOwnPropertyNames");
|
|
15123
|
-
return _objectGopn;
|
|
15124
|
-
}
|
|
15125
|
-
__name(require_objectGopn, "require_objectGopn");
|
|
15144
|
+
var $keys$2 = _objectKeysInternal;
|
|
15145
|
+
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
15146
|
+
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames(O2) {
|
|
15147
|
+
return $keys$2(O2, hiddenKeys);
|
|
15148
|
+
}, "getOwnPropertyNames");
|
|
15126
15149
|
var toIObject$2 = _toIobject;
|
|
15127
|
-
var gOPN$1 =
|
|
15150
|
+
var gOPN$1 = _objectGopn.f;
|
|
15128
15151
|
var toString$4 = {}.toString;
|
|
15129
15152
|
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
15130
15153
|
var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
@@ -15134,7 +15157,7 @@ var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
|
15134
15157
|
return windowNames.slice();
|
|
15135
15158
|
}
|
|
15136
15159
|
}, "getWindowNames");
|
|
15137
|
-
_objectGopnExt.f = /* @__PURE__ */ __name(function
|
|
15160
|
+
_objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
|
|
15138
15161
|
return windowNames && toString$4.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
|
|
15139
15162
|
}, "getOwnPropertyNames");
|
|
15140
15163
|
var _objectGopd = {};
|
|
@@ -15143,7 +15166,7 @@ var createDesc$1 = _propertyDesc;
|
|
|
15143
15166
|
var toIObject$1 = _toIobject;
|
|
15144
15167
|
var toPrimitive$1 = _toPrimitive$1;
|
|
15145
15168
|
var has$9 = _has;
|
|
15146
|
-
var IE8_DOM_DEFINE =
|
|
15169
|
+
var IE8_DOM_DEFINE = require_ie8DomDefine();
|
|
15147
15170
|
var gOPD$6 = Object.getOwnPropertyDescriptor;
|
|
15148
15171
|
_objectGopd.f = require_descriptors() ? gOPD$6 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
|
|
15149
15172
|
O2 = toIObject$1(O2);
|
|
@@ -15177,7 +15200,7 @@ var toObject$1 = _toObject;
|
|
|
15177
15200
|
var toIObject = _toIobject;
|
|
15178
15201
|
var toPrimitive = _toPrimitive$1;
|
|
15179
15202
|
var createDesc = _propertyDesc;
|
|
15180
|
-
var _create$1 =
|
|
15203
|
+
var _create$1 = _objectCreate;
|
|
15181
15204
|
var gOPNExt = _objectGopnExt;
|
|
15182
15205
|
var $GOPD = _objectGopd;
|
|
15183
15206
|
var $GOPS = _objectGops;
|
|
@@ -15244,7 +15267,7 @@ var $defineProperty$3 = /* @__PURE__ */ __name(function defineProperty3(it, key,
|
|
|
15244
15267
|
}
|
|
15245
15268
|
return dP(it, key, D2);
|
|
15246
15269
|
}, "defineProperty");
|
|
15247
|
-
var $defineProperties = /* @__PURE__ */ __name(function
|
|
15270
|
+
var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2) {
|
|
15248
15271
|
anObject(it);
|
|
15249
15272
|
var keys5 = enumKeys(P2 = toIObject(P2));
|
|
15250
15273
|
var i = 0;
|
|
@@ -15254,7 +15277,7 @@ var $defineProperties = /* @__PURE__ */ __name(function defineProperties(it, P2)
|
|
|
15254
15277
|
$defineProperty$3(it, key = keys5[i++], P2[key]);
|
|
15255
15278
|
return it;
|
|
15256
15279
|
}, "defineProperties");
|
|
15257
|
-
var $create = /* @__PURE__ */ __name(function
|
|
15280
|
+
var $create = /* @__PURE__ */ __name(function create2(it, P2) {
|
|
15258
15281
|
return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
|
|
15259
15282
|
}, "create");
|
|
15260
15283
|
var $propertyIsEnumerable = /* @__PURE__ */ __name(function propertyIsEnumerable(key) {
|
|
@@ -15273,7 +15296,7 @@ var $getOwnPropertyDescriptor = /* @__PURE__ */ __name(function getOwnPropertyDe
|
|
|
15273
15296
|
D2.enumerable = true;
|
|
15274
15297
|
return D2;
|
|
15275
15298
|
}, "getOwnPropertyDescriptor");
|
|
15276
|
-
var $getOwnPropertyNames = /* @__PURE__ */ __name(function
|
|
15299
|
+
var $getOwnPropertyNames = /* @__PURE__ */ __name(function getOwnPropertyNames3(it) {
|
|
15277
15300
|
var names2 = gOPN(toIObject(it));
|
|
15278
15301
|
var result = [];
|
|
15279
15302
|
var i = 0;
|
|
@@ -15317,7 +15340,7 @@ if (!USE_NATIVE) {
|
|
|
15317
15340
|
}, "toString"));
|
|
15318
15341
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
15319
15342
|
$DP.f = $defineProperty$3;
|
|
15320
|
-
|
|
15343
|
+
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
15321
15344
|
require_objectPie().f = $propertyIsEnumerable;
|
|
15322
15345
|
$GOPS.f = $getOwnPropertySymbols;
|
|
15323
15346
|
if (DESCRIPTORS && !_library) {
|
|
@@ -15484,9 +15507,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
|
15484
15507
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
|
|
15485
15508
|
var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
|
|
15486
15509
|
var $export = _export;
|
|
15487
|
-
$export($export.S, "Object", { create:
|
|
15510
|
+
$export($export.S, "Object", { create: _objectCreate });
|
|
15488
15511
|
var $Object$2 = _coreExports.Object;
|
|
15489
|
-
var create$3 = /* @__PURE__ */ __name(function
|
|
15512
|
+
var create$3 = /* @__PURE__ */ __name(function create3(P2, D2) {
|
|
15490
15513
|
return $Object$2.create(P2, D2);
|
|
15491
15514
|
}, "create");
|
|
15492
15515
|
var create$2 = { "default": create$3, __esModule: true };
|
|
@@ -18687,6 +18710,8 @@ var reactList = {};
|
|
|
18687
18710
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
18688
18711
|
if (protoProps)
|
|
18689
18712
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
18713
|
+
if (staticProps)
|
|
18714
|
+
_defineProperties2(Constructor, staticProps);
|
|
18690
18715
|
return Constructor;
|
|
18691
18716
|
}
|
|
18692
18717
|
__name(_createClass2, "_createClass");
|
|
@@ -19571,7 +19596,7 @@ function normalizeComponent(Comp) {
|
|
|
19571
19596
|
}
|
|
19572
19597
|
__name(normalizeComponent, "normalizeComponent");
|
|
19573
19598
|
var _createClass$d = /* @__PURE__ */ function() {
|
|
19574
|
-
function
|
|
19599
|
+
function defineProperties4(target, props) {
|
|
19575
19600
|
for (var i = 0; i < props.length; i++) {
|
|
19576
19601
|
var descriptor2 = props[i];
|
|
19577
19602
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19581,12 +19606,12 @@ var _createClass$d = /* @__PURE__ */ function() {
|
|
|
19581
19606
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19582
19607
|
}
|
|
19583
19608
|
}
|
|
19584
|
-
__name(
|
|
19609
|
+
__name(defineProperties4, "defineProperties");
|
|
19585
19610
|
return function(Constructor, protoProps, staticProps) {
|
|
19586
19611
|
if (protoProps)
|
|
19587
|
-
|
|
19612
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
19588
19613
|
if (staticProps)
|
|
19589
|
-
|
|
19614
|
+
defineProperties4(Constructor, staticProps);
|
|
19590
19615
|
return Constructor;
|
|
19591
19616
|
};
|
|
19592
19617
|
}();
|
|
@@ -19747,7 +19772,7 @@ var _extends$o = Object.assign || function(target) {
|
|
|
19747
19772
|
return target;
|
|
19748
19773
|
};
|
|
19749
19774
|
var _createClass$c = /* @__PURE__ */ function() {
|
|
19750
|
-
function
|
|
19775
|
+
function defineProperties4(target, props) {
|
|
19751
19776
|
for (var i = 0; i < props.length; i++) {
|
|
19752
19777
|
var descriptor2 = props[i];
|
|
19753
19778
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19757,12 +19782,12 @@ var _createClass$c = /* @__PURE__ */ function() {
|
|
|
19757
19782
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19758
19783
|
}
|
|
19759
19784
|
}
|
|
19760
|
-
__name(
|
|
19785
|
+
__name(defineProperties4, "defineProperties");
|
|
19761
19786
|
return function(Constructor, protoProps, staticProps) {
|
|
19762
19787
|
if (protoProps)
|
|
19763
|
-
|
|
19788
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
19764
19789
|
if (staticProps)
|
|
19765
|
-
|
|
19790
|
+
defineProperties4(Constructor, staticProps);
|
|
19766
19791
|
return Constructor;
|
|
19767
19792
|
};
|
|
19768
19793
|
}();
|
|
@@ -20353,7 +20378,7 @@ const Methods = /* @__PURE__ */ __name(function(Base) {
|
|
|
20353
20378
|
}(Base);
|
|
20354
20379
|
}, "Methods");
|
|
20355
20380
|
var _createClass$b = /* @__PURE__ */ function() {
|
|
20356
|
-
function
|
|
20381
|
+
function defineProperties4(target, props) {
|
|
20357
20382
|
for (var i = 0; i < props.length; i++) {
|
|
20358
20383
|
var descriptor2 = props[i];
|
|
20359
20384
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -20363,12 +20388,12 @@ var _createClass$b = /* @__PURE__ */ function() {
|
|
|
20363
20388
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
20364
20389
|
}
|
|
20365
20390
|
}
|
|
20366
|
-
__name(
|
|
20391
|
+
__name(defineProperties4, "defineProperties");
|
|
20367
20392
|
return function(Constructor, protoProps, staticProps) {
|
|
20368
20393
|
if (protoProps)
|
|
20369
|
-
|
|
20394
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
20370
20395
|
if (staticProps)
|
|
20371
|
-
|
|
20396
|
+
defineProperties4(Constructor, staticProps);
|
|
20372
20397
|
return Constructor;
|
|
20373
20398
|
};
|
|
20374
20399
|
}();
|
|
@@ -21140,7 +21165,7 @@ var _extends$l = Object.assign || function(target) {
|
|
|
21140
21165
|
return target;
|
|
21141
21166
|
};
|
|
21142
21167
|
var _createClass$a = /* @__PURE__ */ function() {
|
|
21143
|
-
function
|
|
21168
|
+
function defineProperties4(target, props) {
|
|
21144
21169
|
for (var i = 0; i < props.length; i++) {
|
|
21145
21170
|
var descriptor2 = props[i];
|
|
21146
21171
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -21150,12 +21175,12 @@ var _createClass$a = /* @__PURE__ */ function() {
|
|
|
21150
21175
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
21151
21176
|
}
|
|
21152
21177
|
}
|
|
21153
|
-
__name(
|
|
21178
|
+
__name(defineProperties4, "defineProperties");
|
|
21154
21179
|
return function(Constructor, protoProps, staticProps) {
|
|
21155
21180
|
if (protoProps)
|
|
21156
|
-
|
|
21181
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
21157
21182
|
if (staticProps)
|
|
21158
|
-
|
|
21183
|
+
defineProperties4(Constructor, staticProps);
|
|
21159
21184
|
return Constructor;
|
|
21160
21185
|
};
|
|
21161
21186
|
}();
|
|
@@ -23349,7 +23374,7 @@ function looksLikeAVFileValue(value) {
|
|
|
23349
23374
|
__name(looksLikeAVFileValue, "looksLikeAVFileValue");
|
|
23350
23375
|
const emptyOptions = {};
|
|
23351
23376
|
function toString$1(value, options) {
|
|
23352
|
-
const settings = emptyOptions;
|
|
23377
|
+
const settings = options || emptyOptions;
|
|
23353
23378
|
const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
|
|
23354
23379
|
const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
|
|
23355
23380
|
return one$1(value, includeImageAlt, includeHtml);
|
|
@@ -27479,21 +27504,21 @@ function parse$7(options) {
|
|
|
27479
27504
|
defined: [],
|
|
27480
27505
|
lazy: {},
|
|
27481
27506
|
constructs: constructs2,
|
|
27482
|
-
content:
|
|
27483
|
-
document:
|
|
27484
|
-
flow:
|
|
27485
|
-
string:
|
|
27486
|
-
text:
|
|
27507
|
+
content: create6(content$1),
|
|
27508
|
+
document: create6(document$2),
|
|
27509
|
+
flow: create6(flow$1),
|
|
27510
|
+
string: create6(string$1),
|
|
27511
|
+
text: create6(text$3)
|
|
27487
27512
|
};
|
|
27488
27513
|
return parser;
|
|
27489
|
-
function
|
|
27514
|
+
function create6(initial) {
|
|
27490
27515
|
return creator;
|
|
27491
27516
|
function creator(from3) {
|
|
27492
27517
|
return createTokenizer(parser, initial, from3);
|
|
27493
27518
|
}
|
|
27494
27519
|
__name(creator, "creator");
|
|
27495
27520
|
}
|
|
27496
|
-
__name(
|
|
27521
|
+
__name(create6, "create");
|
|
27497
27522
|
}
|
|
27498
27523
|
__name(parse$7, "parse$7");
|
|
27499
27524
|
const search$1 = /[\0\t\n\r]/g;
|
|
@@ -27904,10 +27929,10 @@ function compiler(options) {
|
|
|
27904
27929
|
return data[key];
|
|
27905
27930
|
}
|
|
27906
27931
|
__name(getData, "getData");
|
|
27907
|
-
function opener(
|
|
27932
|
+
function opener(create6, and) {
|
|
27908
27933
|
return open2;
|
|
27909
27934
|
function open2(token) {
|
|
27910
|
-
enter2.call(this,
|
|
27935
|
+
enter2.call(this, create6(token), token);
|
|
27911
27936
|
if (and)
|
|
27912
27937
|
and.call(this, token);
|
|
27913
27938
|
}
|
|
@@ -29545,6 +29570,7 @@ const remarkRehype = (
|
|
|
29545
29570
|
return destination && "run" in destination ? bridge(destination, options) : mutate(destination || options);
|
|
29546
29571
|
}, "remarkRehype")
|
|
29547
29572
|
);
|
|
29573
|
+
const remarkRehype$1 = remarkRehype;
|
|
29548
29574
|
function bridge(destination, options) {
|
|
29549
29575
|
return (node2, file, next) => {
|
|
29550
29576
|
destination.run(toHast(node2, options), file, (error) => {
|
|
@@ -30921,7 +30947,7 @@ function stringify$3(values3) {
|
|
|
30921
30947
|
}
|
|
30922
30948
|
__name(stringify$3, "stringify$3");
|
|
30923
30949
|
function stringify$2(values3, options) {
|
|
30924
|
-
const settings = {};
|
|
30950
|
+
const settings = options || {};
|
|
30925
30951
|
const input = values3[values3.length - 1] === "" ? [...values3, ""] : values3;
|
|
30926
30952
|
return input.join(
|
|
30927
30953
|
(settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
|
|
@@ -31342,7 +31368,7 @@ function ReactMarkdown(options) {
|
|
|
31342
31368
|
delete deprecated[key];
|
|
31343
31369
|
}
|
|
31344
31370
|
}
|
|
31345
|
-
const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
|
|
31371
|
+
const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype$1, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
|
|
31346
31372
|
allowDangerousHtml: true
|
|
31347
31373
|
})).use(options.rehypePlugins || []).use(rehypeFilter, options);
|
|
31348
31374
|
const file = new VFile();
|
|
@@ -36106,8 +36132,9 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
36106
36132
|
}
|
|
36107
36133
|
render() {
|
|
36108
36134
|
var _b2;
|
|
36109
|
-
|
|
36135
|
+
let _a2 = this.props, {
|
|
36110
36136
|
multi,
|
|
36137
|
+
asTag,
|
|
36111
36138
|
options,
|
|
36112
36139
|
unfilteredOptions,
|
|
36113
36140
|
value,
|
|
@@ -36120,6 +36147,10 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
36120
36147
|
noResultsText,
|
|
36121
36148
|
noResults: _noResults,
|
|
36122
36149
|
inputProps,
|
|
36150
|
+
backgroundColor,
|
|
36151
|
+
doNotFillWidth,
|
|
36152
|
+
noToggle,
|
|
36153
|
+
small,
|
|
36123
36154
|
placeholder,
|
|
36124
36155
|
isLoading,
|
|
36125
36156
|
disallowClear,
|
|
@@ -36131,6 +36162,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
36131
36162
|
renderCreateNewOption: _renderCreateNewOption = renderCreateNewOption$1
|
|
36132
36163
|
} = _a2, rest = __objRest(_a2, [
|
|
36133
36164
|
"multi",
|
|
36165
|
+
"asTag",
|
|
36134
36166
|
"options",
|
|
36135
36167
|
"unfilteredOptions",
|
|
36136
36168
|
"value",
|
|
@@ -36144,6 +36176,10 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
36144
36176
|
"noResultsText",
|
|
36145
36177
|
"noResults",
|
|
36146
36178
|
"inputProps",
|
|
36179
|
+
"backgroundColor",
|
|
36180
|
+
"doNotFillWidth",
|
|
36181
|
+
"noToggle",
|
|
36182
|
+
"small",
|
|
36147
36183
|
"placeholder",
|
|
36148
36184
|
"isLoading",
|
|
36149
36185
|
"disallowClear",
|
|
@@ -36154,6 +36190,14 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
36154
36190
|
"resetOnSelect",
|
|
36155
36191
|
"renderCreateNewOption"
|
|
36156
36192
|
]);
|
|
36193
|
+
if (asTag) {
|
|
36194
|
+
small = true;
|
|
36195
|
+
placeholder = " ";
|
|
36196
|
+
backgroundColor = "red";
|
|
36197
|
+
disallowClear = true;
|
|
36198
|
+
doNotFillWidth = true;
|
|
36199
|
+
noToggle = true;
|
|
36200
|
+
}
|
|
36157
36201
|
let noResults = _noResults;
|
|
36158
36202
|
if (noResults === void 0)
|
|
36159
36203
|
noResults = noResultsDefault;
|
|
@@ -36167,7 +36211,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
36167
36211
|
minimal: true,
|
|
36168
36212
|
onClick: this.handleClear
|
|
36169
36213
|
}
|
|
36170
|
-
), noResults !== null && /* @__PURE__ */ React__default$1.createElement(
|
|
36214
|
+
), noResults !== null && !noToggle && /* @__PURE__ */ React__default$1.createElement(
|
|
36171
36215
|
Button,
|
|
36172
36216
|
{
|
|
36173
36217
|
onClick: (e2) => {
|
|
@@ -36191,7 +36235,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
36191
36235
|
(opt) => opt && opt.value === (value2 && value2.value || value2)
|
|
36192
36236
|
);
|
|
36193
36237
|
});
|
|
36194
|
-
|
|
36238
|
+
const toRet = /* @__PURE__ */ React__default$1.createElement(
|
|
36195
36239
|
MultiSelect,
|
|
36196
36240
|
__spreadValues(__spreadValues({
|
|
36197
36241
|
onActiveItemChange: this.handleActiveItemChange,
|
|
@@ -36205,7 +36249,10 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
36205
36249
|
captureDismiss: true,
|
|
36206
36250
|
minimal: true,
|
|
36207
36251
|
className: classNames("tg-select", "tg-stop-dialog-form-enter", {
|
|
36208
|
-
"tg-single-select": !multi
|
|
36252
|
+
"tg-single-select": !multi,
|
|
36253
|
+
"tg-select-as-tag": asTag,
|
|
36254
|
+
"do-not-fill-width": doNotFillWidth,
|
|
36255
|
+
"tg-small": small
|
|
36209
36256
|
}),
|
|
36210
36257
|
wrapperTagName: "div",
|
|
36211
36258
|
canEscapeKeyClose: true,
|
|
@@ -36260,6 +36307,23 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
|
|
|
36260
36307
|
})
|
|
36261
36308
|
}), rest)
|
|
36262
36309
|
);
|
|
36310
|
+
if (backgroundColor) {
|
|
36311
|
+
return /* @__PURE__ */ React__default$1.createElement(
|
|
36312
|
+
"div",
|
|
36313
|
+
{
|
|
36314
|
+
style: {
|
|
36315
|
+
backgroundColor,
|
|
36316
|
+
borderRadius: "4px 4px 4px 4px",
|
|
36317
|
+
overflow: "hidden",
|
|
36318
|
+
width: "fit-content",
|
|
36319
|
+
color: "white",
|
|
36320
|
+
border: "2px solid white"
|
|
36321
|
+
}
|
|
36322
|
+
},
|
|
36323
|
+
toRet
|
|
36324
|
+
);
|
|
36325
|
+
}
|
|
36326
|
+
return toRet;
|
|
36263
36327
|
}
|
|
36264
36328
|
};
|
|
36265
36329
|
__name(_TgSelect, "TgSelect");
|
|
@@ -36456,84 +36520,80 @@ const symbols = {
|
|
|
36456
36520
|
down: "↓"
|
|
36457
36521
|
};
|
|
36458
36522
|
symbols.mod = symbols[isMac ? "meta" : "ctrl"];
|
|
36459
|
-
const
|
|
36460
|
-
|
|
36461
|
-
|
|
36462
|
-
|
|
36463
|
-
|
|
36464
|
-
|
|
36465
|
-
|
|
36466
|
-
|
|
36467
|
-
|
|
36468
|
-
|
|
36469
|
-
|
|
36470
|
-
|
|
36471
|
-
|
|
36472
|
-
|
|
36473
|
-
|
|
36474
|
-
|
|
36475
|
-
|
|
36476
|
-
|
|
36477
|
-
|
|
36478
|
-
|
|
36479
|
-
|
|
36480
|
-
|
|
36481
|
-
|
|
36482
|
-
|
|
36483
|
-
|
|
36484
|
-
|
|
36485
|
-
|
|
36486
|
-
|
|
36487
|
-
|
|
36488
|
-
|
|
36489
|
-
|
|
36490
|
-
|
|
36491
|
-
|
|
36492
|
-
|
|
36493
|
-
|
|
36494
|
-
|
|
36495
|
-
|
|
36496
|
-
|
|
36497
|
-
|
|
36498
|
-
|
|
36499
|
-
|
|
36500
|
-
|
|
36501
|
-
|
|
36502
|
-
|
|
36503
|
-
|
|
36504
|
-
|
|
36505
|
-
|
|
36506
|
-
|
|
36507
|
-
|
|
36508
|
-
|
|
36509
|
-
|
|
36510
|
-
|
|
36511
|
-
|
|
36512
|
-
|
|
36513
|
-
|
|
36514
|
-
}
|
|
36515
|
-
toReturn = /* @__PURE__ */ React__default$1.createElement(Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36516
|
-
}
|
|
36517
|
-
const El = isInline ? "span" : "div";
|
|
36518
|
-
return /* @__PURE__ */ React__default$1.createElement(
|
|
36519
|
-
El,
|
|
36520
|
-
{
|
|
36521
|
-
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style2),
|
|
36522
|
-
className: classNames(
|
|
36523
|
-
"info-helper-wrapper",
|
|
36524
|
-
{
|
|
36525
|
-
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
36526
|
-
"info-helper-clickable": isPopover
|
|
36527
|
-
},
|
|
36528
|
-
className
|
|
36529
|
-
)
|
|
36530
|
-
},
|
|
36531
|
-
toReturn
|
|
36532
|
-
);
|
|
36523
|
+
const InfoHelper = /* @__PURE__ */ __name((_c) => {
|
|
36524
|
+
var _d = _c, {
|
|
36525
|
+
className,
|
|
36526
|
+
content: content2,
|
|
36527
|
+
children,
|
|
36528
|
+
icon = "info-sign",
|
|
36529
|
+
isPopover,
|
|
36530
|
+
isButton,
|
|
36531
|
+
size,
|
|
36532
|
+
isInline,
|
|
36533
|
+
clickable,
|
|
36534
|
+
color: color2,
|
|
36535
|
+
noMarginTop,
|
|
36536
|
+
popoverProps = {},
|
|
36537
|
+
disabled,
|
|
36538
|
+
displayToSide,
|
|
36539
|
+
style: style2
|
|
36540
|
+
} = _d, rest = __objRest(_d, [
|
|
36541
|
+
"className",
|
|
36542
|
+
"content",
|
|
36543
|
+
"children",
|
|
36544
|
+
"icon",
|
|
36545
|
+
"isPopover",
|
|
36546
|
+
"isButton",
|
|
36547
|
+
"size",
|
|
36548
|
+
"isInline",
|
|
36549
|
+
"clickable",
|
|
36550
|
+
"color",
|
|
36551
|
+
"noMarginTop",
|
|
36552
|
+
"popoverProps",
|
|
36553
|
+
"disabled",
|
|
36554
|
+
"displayToSide",
|
|
36555
|
+
"style"
|
|
36556
|
+
]);
|
|
36557
|
+
const IconToUse = isButton ? Button : Icon;
|
|
36558
|
+
const iconProps = {
|
|
36559
|
+
icon,
|
|
36560
|
+
color: color2,
|
|
36561
|
+
disabled
|
|
36562
|
+
};
|
|
36563
|
+
if (!isButton)
|
|
36564
|
+
iconProps.iconSize = size;
|
|
36565
|
+
const IconInner = /* @__PURE__ */ React__default$1.createElement(IconToUse, __spreadValues(__spreadValues({}, iconProps), rest));
|
|
36566
|
+
let toReturn;
|
|
36567
|
+
const toolTipOrPopoverProps = __spreadValues({
|
|
36568
|
+
disabled: disabled || !isPopover && window.Cypress && !window.Cypress.allowInfoHelperTooltips,
|
|
36569
|
+
popoverClassName: "tg-info-helper-popover bp3-tooltip",
|
|
36570
|
+
content: content2 || children,
|
|
36571
|
+
modifiers: popoverOverflowModifiers
|
|
36572
|
+
}, popoverProps);
|
|
36573
|
+
if (displayToSide) {
|
|
36574
|
+
toReturn = /* @__PURE__ */ React__default$1.createElement(React__default$1.Fragment, null, IconInner, /* @__PURE__ */ React__default$1.createElement("span", { style: { paddingLeft: 5, fontStyle: "italic" } }, content2 || children));
|
|
36575
|
+
} else if (isPopover) {
|
|
36576
|
+
toReturn = /* @__PURE__ */ React__default$1.createElement(Popover, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36577
|
+
} else {
|
|
36578
|
+
toReturn = /* @__PURE__ */ React__default$1.createElement(Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36533
36579
|
}
|
|
36534
|
-
|
|
36535
|
-
|
|
36536
|
-
|
|
36580
|
+
const El = isInline ? "span" : "div";
|
|
36581
|
+
return /* @__PURE__ */ React__default$1.createElement(
|
|
36582
|
+
El,
|
|
36583
|
+
{
|
|
36584
|
+
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style2),
|
|
36585
|
+
className: classNames(
|
|
36586
|
+
"info-helper-wrapper",
|
|
36587
|
+
{
|
|
36588
|
+
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
36589
|
+
"info-helper-clickable": isPopover
|
|
36590
|
+
},
|
|
36591
|
+
className
|
|
36592
|
+
)
|
|
36593
|
+
},
|
|
36594
|
+
toReturn
|
|
36595
|
+
);
|
|
36596
|
+
}, "InfoHelper");
|
|
36537
36597
|
const getIdOrCodeOrIndex = /* @__PURE__ */ __name((record, rowIndex) => {
|
|
36538
36598
|
if (record.id || record.id === 0) {
|
|
36539
36599
|
return record.id;
|
|
@@ -36841,7 +36901,7 @@ var concatty = /* @__PURE__ */ __name(function concatty2(a2, b3) {
|
|
|
36841
36901
|
}, "concatty");
|
|
36842
36902
|
var slicy = /* @__PURE__ */ __name(function slicy2(arrLike, offset4) {
|
|
36843
36903
|
var arr = [];
|
|
36844
|
-
for (var i = offset4, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
36904
|
+
for (var i = offset4 || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
36845
36905
|
arr[j] = arrLike[i];
|
|
36846
36906
|
}
|
|
36847
36907
|
return arr;
|
|
@@ -36886,11 +36946,11 @@ var implementation$8 = /* @__PURE__ */ __name(function bind(that) {
|
|
|
36886
36946
|
}
|
|
36887
36947
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
36888
36948
|
if (target.prototype) {
|
|
36889
|
-
var
|
|
36949
|
+
var Empty2 = /* @__PURE__ */ __name(function Empty3() {
|
|
36890
36950
|
}, "Empty");
|
|
36891
|
-
|
|
36892
|
-
bound.prototype = new
|
|
36893
|
-
|
|
36951
|
+
Empty2.prototype = target.prototype;
|
|
36952
|
+
bound.prototype = new Empty2();
|
|
36953
|
+
Empty2.prototype = null;
|
|
36894
36954
|
}
|
|
36895
36955
|
return bound;
|
|
36896
36956
|
}, "bind");
|
|
@@ -39082,12 +39142,20 @@ function getSubFilter(qb, selectedFilter, filterValue) {
|
|
|
39082
39142
|
__name(getSubFilter, "getSubFilter");
|
|
39083
39143
|
function getCurrentParamsFromUrl(location2, isSimple) {
|
|
39084
39144
|
let { search: search2 } = location2;
|
|
39145
|
+
if (isSimple) {
|
|
39146
|
+
search2 = window.location.href.split("?")[1] || "";
|
|
39147
|
+
}
|
|
39085
39148
|
return parseFilters(queryString.parse(search2, { ignoreQueryPrefix: true }));
|
|
39086
39149
|
}
|
|
39087
39150
|
__name(getCurrentParamsFromUrl, "getCurrentParamsFromUrl");
|
|
39088
39151
|
function setCurrentParamsOnUrl(newParams, replace3, isSimple) {
|
|
39089
39152
|
const stringifiedFilters = stringifyFilters(newParams);
|
|
39090
39153
|
const search2 = `?${queryString.stringify(stringifiedFilters)}`;
|
|
39154
|
+
if (isSimple) {
|
|
39155
|
+
return window.location.replace(
|
|
39156
|
+
`${window.location.href.split("?")[0]}${search2}`
|
|
39157
|
+
);
|
|
39158
|
+
}
|
|
39091
39159
|
replace3({
|
|
39092
39160
|
search: search2
|
|
39093
39161
|
});
|
|
@@ -41233,7 +41301,7 @@ var _extends$f = Object.assign || function(target) {
|
|
|
41233
41301
|
return target;
|
|
41234
41302
|
};
|
|
41235
41303
|
var _createClass$9 = /* @__PURE__ */ function() {
|
|
41236
|
-
function
|
|
41304
|
+
function defineProperties4(target, props) {
|
|
41237
41305
|
for (var i = 0; i < props.length; i++) {
|
|
41238
41306
|
var descriptor2 = props[i];
|
|
41239
41307
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41243,12 +41311,12 @@ var _createClass$9 = /* @__PURE__ */ function() {
|
|
|
41243
41311
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41244
41312
|
}
|
|
41245
41313
|
}
|
|
41246
|
-
__name(
|
|
41314
|
+
__name(defineProperties4, "defineProperties");
|
|
41247
41315
|
return function(Constructor, protoProps, staticProps) {
|
|
41248
41316
|
if (protoProps)
|
|
41249
|
-
|
|
41317
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41250
41318
|
if (staticProps)
|
|
41251
|
-
|
|
41319
|
+
defineProperties4(Constructor, staticProps);
|
|
41252
41320
|
return Constructor;
|
|
41253
41321
|
};
|
|
41254
41322
|
}();
|
|
@@ -41390,7 +41458,7 @@ var Alpha = function(_ref) {
|
|
|
41390
41458
|
return Alpha2;
|
|
41391
41459
|
}(PureComponent || Component);
|
|
41392
41460
|
var _createClass$8 = /* @__PURE__ */ function() {
|
|
41393
|
-
function
|
|
41461
|
+
function defineProperties4(target, props) {
|
|
41394
41462
|
for (var i = 0; i < props.length; i++) {
|
|
41395
41463
|
var descriptor2 = props[i];
|
|
41396
41464
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41400,12 +41468,12 @@ var _createClass$8 = /* @__PURE__ */ function() {
|
|
|
41400
41468
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41401
41469
|
}
|
|
41402
41470
|
}
|
|
41403
|
-
__name(
|
|
41471
|
+
__name(defineProperties4, "defineProperties");
|
|
41404
41472
|
return function(Constructor, protoProps, staticProps) {
|
|
41405
41473
|
if (protoProps)
|
|
41406
|
-
|
|
41474
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41407
41475
|
if (staticProps)
|
|
41408
|
-
|
|
41476
|
+
defineProperties4(Constructor, staticProps);
|
|
41409
41477
|
return Constructor;
|
|
41410
41478
|
};
|
|
41411
41479
|
}();
|
|
@@ -41638,7 +41706,7 @@ var calculateChange$1 = /* @__PURE__ */ __name(function calculateChange2(e2, dir
|
|
|
41638
41706
|
return null;
|
|
41639
41707
|
}, "calculateChange");
|
|
41640
41708
|
var _createClass$7 = /* @__PURE__ */ function() {
|
|
41641
|
-
function
|
|
41709
|
+
function defineProperties4(target, props) {
|
|
41642
41710
|
for (var i = 0; i < props.length; i++) {
|
|
41643
41711
|
var descriptor2 = props[i];
|
|
41644
41712
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41648,12 +41716,12 @@ var _createClass$7 = /* @__PURE__ */ function() {
|
|
|
41648
41716
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41649
41717
|
}
|
|
41650
41718
|
}
|
|
41651
|
-
__name(
|
|
41719
|
+
__name(defineProperties4, "defineProperties");
|
|
41652
41720
|
return function(Constructor, protoProps, staticProps) {
|
|
41653
41721
|
if (protoProps)
|
|
41654
|
-
|
|
41722
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41655
41723
|
if (staticProps)
|
|
41656
|
-
|
|
41724
|
+
defineProperties4(Constructor, staticProps);
|
|
41657
41725
|
return Constructor;
|
|
41658
41726
|
};
|
|
41659
41727
|
}();
|
|
@@ -41890,7 +41958,7 @@ var calculateChange3 = /* @__PURE__ */ __name(function calculateChange4(e2, hsl,
|
|
|
41890
41958
|
};
|
|
41891
41959
|
}, "calculateChange");
|
|
41892
41960
|
var _createClass$6 = /* @__PURE__ */ function() {
|
|
41893
|
-
function
|
|
41961
|
+
function defineProperties4(target, props) {
|
|
41894
41962
|
for (var i = 0; i < props.length; i++) {
|
|
41895
41963
|
var descriptor2 = props[i];
|
|
41896
41964
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41900,12 +41968,12 @@ var _createClass$6 = /* @__PURE__ */ function() {
|
|
|
41900
41968
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41901
41969
|
}
|
|
41902
41970
|
}
|
|
41903
|
-
__name(
|
|
41971
|
+
__name(defineProperties4, "defineProperties");
|
|
41904
41972
|
return function(Constructor, protoProps, staticProps) {
|
|
41905
41973
|
if (protoProps)
|
|
41906
|
-
|
|
41974
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41907
41975
|
if (staticProps)
|
|
41908
|
-
|
|
41976
|
+
defineProperties4(Constructor, staticProps);
|
|
41909
41977
|
return Constructor;
|
|
41910
41978
|
};
|
|
41911
41979
|
}();
|
|
@@ -43143,7 +43211,7 @@ var _extends$e = Object.assign || function(target) {
|
|
|
43143
43211
|
return target;
|
|
43144
43212
|
};
|
|
43145
43213
|
var _createClass$5 = /* @__PURE__ */ function() {
|
|
43146
|
-
function
|
|
43214
|
+
function defineProperties4(target, props) {
|
|
43147
43215
|
for (var i = 0; i < props.length; i++) {
|
|
43148
43216
|
var descriptor2 = props[i];
|
|
43149
43217
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43153,12 +43221,12 @@ var _createClass$5 = /* @__PURE__ */ function() {
|
|
|
43153
43221
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43154
43222
|
}
|
|
43155
43223
|
}
|
|
43156
|
-
__name(
|
|
43224
|
+
__name(defineProperties4, "defineProperties");
|
|
43157
43225
|
return function(Constructor, protoProps, staticProps) {
|
|
43158
43226
|
if (protoProps)
|
|
43159
|
-
|
|
43227
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
43160
43228
|
if (staticProps)
|
|
43161
|
-
|
|
43229
|
+
defineProperties4(Constructor, staticProps);
|
|
43162
43230
|
return Constructor;
|
|
43163
43231
|
};
|
|
43164
43232
|
}();
|
|
@@ -43255,7 +43323,7 @@ var _extends$d = Object.assign || function(target) {
|
|
|
43255
43323
|
return target;
|
|
43256
43324
|
};
|
|
43257
43325
|
var _createClass$4 = /* @__PURE__ */ function() {
|
|
43258
|
-
function
|
|
43326
|
+
function defineProperties4(target, props) {
|
|
43259
43327
|
for (var i = 0; i < props.length; i++) {
|
|
43260
43328
|
var descriptor2 = props[i];
|
|
43261
43329
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43265,12 +43333,12 @@ var _createClass$4 = /* @__PURE__ */ function() {
|
|
|
43265
43333
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43266
43334
|
}
|
|
43267
43335
|
}
|
|
43268
|
-
__name(
|
|
43336
|
+
__name(defineProperties4, "defineProperties");
|
|
43269
43337
|
return function(Constructor, protoProps, staticProps) {
|
|
43270
43338
|
if (protoProps)
|
|
43271
|
-
|
|
43339
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
43272
43340
|
if (staticProps)
|
|
43273
|
-
|
|
43341
|
+
defineProperties4(Constructor, staticProps);
|
|
43274
43342
|
return Constructor;
|
|
43275
43343
|
};
|
|
43276
43344
|
}();
|
|
@@ -43751,7 +43819,7 @@ var _default$3 = UnfoldMoreHorizontalIcon.default = function(_ref) {
|
|
|
43751
43819
|
);
|
|
43752
43820
|
};
|
|
43753
43821
|
var _createClass$3 = /* @__PURE__ */ function() {
|
|
43754
|
-
function
|
|
43822
|
+
function defineProperties4(target, props) {
|
|
43755
43823
|
for (var i = 0; i < props.length; i++) {
|
|
43756
43824
|
var descriptor2 = props[i];
|
|
43757
43825
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43761,12 +43829,12 @@ var _createClass$3 = /* @__PURE__ */ function() {
|
|
|
43761
43829
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43762
43830
|
}
|
|
43763
43831
|
}
|
|
43764
|
-
__name(
|
|
43832
|
+
__name(defineProperties4, "defineProperties");
|
|
43765
43833
|
return function(Constructor, protoProps, staticProps) {
|
|
43766
43834
|
if (protoProps)
|
|
43767
|
-
|
|
43835
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
43768
43836
|
if (staticProps)
|
|
43769
|
-
|
|
43837
|
+
defineProperties4(Constructor, staticProps);
|
|
43770
43838
|
return Constructor;
|
|
43771
43839
|
};
|
|
43772
43840
|
}();
|
|
@@ -45176,7 +45244,7 @@ var PhotoshopPreviews = /* @__PURE__ */ __name(function PhotoshopPreviews2(_ref)
|
|
|
45176
45244
|
);
|
|
45177
45245
|
}, "PhotoshopPreviews");
|
|
45178
45246
|
var _createClass$2 = /* @__PURE__ */ function() {
|
|
45179
|
-
function
|
|
45247
|
+
function defineProperties4(target, props) {
|
|
45180
45248
|
for (var i = 0; i < props.length; i++) {
|
|
45181
45249
|
var descriptor2 = props[i];
|
|
45182
45250
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -45186,12 +45254,12 @@ var _createClass$2 = /* @__PURE__ */ function() {
|
|
|
45186
45254
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
45187
45255
|
}
|
|
45188
45256
|
}
|
|
45189
|
-
__name(
|
|
45257
|
+
__name(defineProperties4, "defineProperties");
|
|
45190
45258
|
return function(Constructor, protoProps, staticProps) {
|
|
45191
45259
|
if (protoProps)
|
|
45192
|
-
|
|
45260
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
45193
45261
|
if (staticProps)
|
|
45194
|
-
|
|
45262
|
+
defineProperties4(Constructor, staticProps);
|
|
45195
45263
|
return Constructor;
|
|
45196
45264
|
};
|
|
45197
45265
|
}();
|
|
@@ -48315,8 +48383,8 @@ const renderReactSelect = /* @__PURE__ */ __name((props) => {
|
|
|
48315
48383
|
});
|
|
48316
48384
|
return /* @__PURE__ */ React__default$1.createElement(TgSelect$1, __spreadValues({}, propsToUse));
|
|
48317
48385
|
}, "renderReactSelect");
|
|
48318
|
-
const BPSelect = /* @__PURE__ */ __name((
|
|
48319
|
-
var
|
|
48386
|
+
const BPSelect = /* @__PURE__ */ __name((_e) => {
|
|
48387
|
+
var _f = _e, { value, onChange } = _f, rest = __objRest(_f, ["value", "onChange"]);
|
|
48320
48388
|
return renderSelect(__spreadProps(__spreadValues({}, rest), { input: { onChange, value } }));
|
|
48321
48389
|
}, "BPSelect");
|
|
48322
48390
|
const renderSelect = /* @__PURE__ */ __name((props) => {
|
|
@@ -48451,12 +48519,12 @@ const renderBlueprintNumericInput = /* @__PURE__ */ __name((props) => {
|
|
|
48451
48519
|
})
|
|
48452
48520
|
);
|
|
48453
48521
|
}, "renderBlueprintNumericInput");
|
|
48454
|
-
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((
|
|
48455
|
-
var
|
|
48522
|
+
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((_g) => {
|
|
48523
|
+
var _h = _g, {
|
|
48456
48524
|
input,
|
|
48457
48525
|
options,
|
|
48458
48526
|
onFieldSubmit
|
|
48459
|
-
} =
|
|
48527
|
+
} = _h, rest = __objRest(_h, [
|
|
48460
48528
|
"input",
|
|
48461
48529
|
"options",
|
|
48462
48530
|
"onFieldSubmit"
|
|
@@ -49142,6 +49210,9 @@ function resolvePathname(to, from3) {
|
|
|
49142
49210
|
__name(resolvePathname, "resolvePathname");
|
|
49143
49211
|
var prefix$2 = "Invariant failed";
|
|
49144
49212
|
function invariant$2(condition, message) {
|
|
49213
|
+
if (condition) {
|
|
49214
|
+
return;
|
|
49215
|
+
}
|
|
49145
49216
|
{
|
|
49146
49217
|
throw new Error(prefix$2);
|
|
49147
49218
|
}
|
|
@@ -49189,7 +49260,7 @@ function createLocation(path2, state2, key, currentLocation) {
|
|
|
49189
49260
|
} else {
|
|
49190
49261
|
location2.hash = "";
|
|
49191
49262
|
}
|
|
49192
|
-
if (location2.state === void 0)
|
|
49263
|
+
if (state2 !== void 0 && location2.state === void 0)
|
|
49193
49264
|
location2.state = state2;
|
|
49194
49265
|
}
|
|
49195
49266
|
try {
|
|
@@ -49201,6 +49272,8 @@ function createLocation(path2, state2, key, currentLocation) {
|
|
|
49201
49272
|
throw e2;
|
|
49202
49273
|
}
|
|
49203
49274
|
}
|
|
49275
|
+
if (key)
|
|
49276
|
+
location2.key = key;
|
|
49204
49277
|
if (currentLocation) {
|
|
49205
49278
|
if (!location2.pathname) {
|
|
49206
49279
|
location2.pathname = currentLocation.pathname;
|
|
@@ -49322,6 +49395,7 @@ Link.contextTypes = {
|
|
|
49322
49395
|
}).isRequired
|
|
49323
49396
|
}).isRequired
|
|
49324
49397
|
};
|
|
49398
|
+
const Link$1 = Link;
|
|
49325
49399
|
var pathToRegexp$2 = { exports: {} };
|
|
49326
49400
|
var isarray$1 = Array.isArray || function(arr) {
|
|
49327
49401
|
return Object.prototype.toString.call(arr) == "[object Array]";
|
|
@@ -49768,6 +49842,7 @@ Route.contextTypes = {
|
|
|
49768
49842
|
Route.childContextTypes = {
|
|
49769
49843
|
router: PropTypes.object.isRequired
|
|
49770
49844
|
};
|
|
49845
|
+
const Route$1 = Route;
|
|
49771
49846
|
var REACT_STATICS = {
|
|
49772
49847
|
childContextTypes: true,
|
|
49773
49848
|
contextTypes: true,
|
|
@@ -49789,7 +49864,7 @@ var KNOWN_STATICS = {
|
|
|
49789
49864
|
arity: true
|
|
49790
49865
|
};
|
|
49791
49866
|
var defineProperty$3 = Object.defineProperty;
|
|
49792
|
-
var
|
|
49867
|
+
var getOwnPropertyNames4 = Object.getOwnPropertyNames;
|
|
49793
49868
|
var getOwnPropertySymbols3 = Object.getOwnPropertySymbols;
|
|
49794
49869
|
var getOwnPropertyDescriptor3 = Object.getOwnPropertyDescriptor;
|
|
49795
49870
|
var getPrototypeOf = Object.getPrototypeOf;
|
|
@@ -49802,7 +49877,7 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
|
49802
49877
|
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
49803
49878
|
}
|
|
49804
49879
|
}
|
|
49805
|
-
var keys5 =
|
|
49880
|
+
var keys5 = getOwnPropertyNames4(sourceComponent);
|
|
49806
49881
|
if (getOwnPropertySymbols3) {
|
|
49807
49882
|
keys5 = keys5.concat(getOwnPropertySymbols3(sourceComponent));
|
|
49808
49883
|
}
|
|
@@ -49849,7 +49924,7 @@ __name(_objectWithoutProperties$3, "_objectWithoutProperties$3");
|
|
|
49849
49924
|
var withRouter = /* @__PURE__ */ __name(function withRouter2(Component2) {
|
|
49850
49925
|
var C = /* @__PURE__ */ __name(function C2(props) {
|
|
49851
49926
|
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutProperties$3(props, ["wrappedComponentRef"]);
|
|
49852
|
-
return React__default$1.createElement(Route, {
|
|
49927
|
+
return React__default$1.createElement(Route$1, {
|
|
49853
49928
|
children: /* @__PURE__ */ __name(function children(routeComponentProps) {
|
|
49854
49929
|
return React__default$1.createElement(Component2, _extends$3({}, remainingProps, routeComponentProps, {
|
|
49855
49930
|
ref: wrappedComponentRef
|
|
@@ -49864,6 +49939,7 @@ var withRouter = /* @__PURE__ */ __name(function withRouter2(Component2) {
|
|
|
49864
49939
|
};
|
|
49865
49940
|
return hoistStatics(C, Component2);
|
|
49866
49941
|
}, "withRouter");
|
|
49942
|
+
const withRouter$1 = withRouter;
|
|
49867
49943
|
const isEq$1 = /* @__PURE__ */ __name((o1, o2) => {
|
|
49868
49944
|
const isEq2 = isEqualWith(o1, o2, function(val1, val2) {
|
|
49869
49945
|
if (isFunction$6(val1) && isFunction$6(val2)) {
|
|
@@ -49931,8 +50007,12 @@ function getTableConfigFromStorage(formName) {
|
|
|
49931
50007
|
__name(getTableConfigFromStorage, "getTableConfigFromStorage");
|
|
49932
50008
|
function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
49933
50009
|
let topLevelOptions;
|
|
49934
|
-
|
|
50010
|
+
let Component2;
|
|
50011
|
+
if (!pTopLevelOpts) {
|
|
49935
50012
|
topLevelOptions = compOrOpts;
|
|
50013
|
+
} else {
|
|
50014
|
+
topLevelOptions = pTopLevelOpts;
|
|
50015
|
+
Component2 = compOrOpts;
|
|
49936
50016
|
}
|
|
49937
50017
|
const { isLocalCall } = topLevelOptions;
|
|
49938
50018
|
const mapStateToProps2 = /* @__PURE__ */ __name((state2, ownProps) => {
|
|
@@ -50128,7 +50208,7 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
|
50128
50208
|
return allMergedProps;
|
|
50129
50209
|
}
|
|
50130
50210
|
__name(mergeProps, "mergeProps");
|
|
50131
|
-
function addFormTracking(
|
|
50211
|
+
function addFormTracking(Component22) {
|
|
50132
50212
|
return (props) => {
|
|
50133
50213
|
const formTracker = useContext(TableFormTrackerContext);
|
|
50134
50214
|
const { formName } = props;
|
|
@@ -50137,7 +50217,7 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
|
50137
50217
|
formTracker.pushFormName(formName);
|
|
50138
50218
|
}
|
|
50139
50219
|
}, [formTracker, formName]);
|
|
50140
|
-
return /* @__PURE__ */ React__default$1.createElement(
|
|
50220
|
+
return /* @__PURE__ */ React__default$1.createElement(Component22, __spreadValues({}, props));
|
|
50141
50221
|
};
|
|
50142
50222
|
}
|
|
50143
50223
|
__name(addFormTracking, "addFormTracking");
|
|
@@ -50154,11 +50234,14 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
|
50154
50234
|
}),
|
|
50155
50235
|
branch((props) => {
|
|
50156
50236
|
return !props.noRouter;
|
|
50157
|
-
}, withRouter),
|
|
50237
|
+
}, withRouter$1),
|
|
50158
50238
|
connect(mapStateToProps2, mapDispatchToProps2, mergeProps),
|
|
50159
50239
|
pure$1,
|
|
50160
50240
|
addFormTracking
|
|
50161
50241
|
);
|
|
50242
|
+
if (Component2) {
|
|
50243
|
+
return toReturn(Component2);
|
|
50244
|
+
}
|
|
50162
50245
|
return toReturn;
|
|
50163
50246
|
}
|
|
50164
50247
|
__name(withTableParams, "withTableParams");
|
|
@@ -51069,7 +51152,7 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
51069
51152
|
const { schema: schema2 } = this.props;
|
|
51070
51153
|
const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
|
|
51071
51154
|
const validationErrors = {};
|
|
51072
|
-
const newEnts =
|
|
51155
|
+
const newEnts = immer(entities, (entities2) => {
|
|
51073
51156
|
entities2.forEach((e2, index2) => {
|
|
51074
51157
|
editableFields.forEach((columnSchema) => {
|
|
51075
51158
|
if (useDefaultValues) {
|
|
@@ -51685,8 +51768,8 @@ const _DataTable = class _DataTable extends React__default$1.Component {
|
|
|
51685
51768
|
};
|
|
51686
51769
|
}),
|
|
51687
51770
|
branch(({ immovable }) => "true" !== immovable, sortableElement)
|
|
51688
|
-
)((
|
|
51689
|
-
var
|
|
51771
|
+
)((_i) => {
|
|
51772
|
+
var _j = _i, { toggleSort, className, children } = _j, rest = __objRest(_j, ["toggleSort", "className", "children"]);
|
|
51690
51773
|
return /* @__PURE__ */ React__default$1.createElement(
|
|
51691
51774
|
"div",
|
|
51692
51775
|
__spreadValues({
|
|
@@ -53945,13 +54028,13 @@ function getCellInfo({
|
|
|
53945
54028
|
};
|
|
53946
54029
|
}
|
|
53947
54030
|
__name(getCellInfo, "getCellInfo");
|
|
53948
|
-
function ColumnFilterMenu(
|
|
53949
|
-
var
|
|
54031
|
+
function ColumnFilterMenu(_k) {
|
|
54032
|
+
var _l = _k, {
|
|
53950
54033
|
FilterMenu,
|
|
53951
54034
|
filterActiveForColumn,
|
|
53952
54035
|
compact: compact3,
|
|
53953
54036
|
extraCompact
|
|
53954
|
-
} =
|
|
54037
|
+
} = _l, rest = __objRest(_l, [
|
|
53955
54038
|
"FilterMenu",
|
|
53956
54039
|
"filterActiveForColumn",
|
|
53957
54040
|
"compact",
|
|
@@ -54623,7 +54706,7 @@ function MatchHeaders({
|
|
|
54623
54706
|
}),
|
|
54624
54707
|
onChange: (val2) => {
|
|
54625
54708
|
setFilesWIssues(
|
|
54626
|
-
|
|
54709
|
+
immer(filesWIssues, (files) => {
|
|
54627
54710
|
files.forEach((f2, i2) => {
|
|
54628
54711
|
const isCurrentFile = fileIndex === i2;
|
|
54629
54712
|
if (isCurrentFile || doAllFilesHaveSameHeaders) {
|
|
@@ -56583,7 +56666,7 @@ const UploadCsvWizardDialogInner = compose(
|
|
|
56583
56666
|
}, hasSubmitted && {
|
|
56584
56667
|
onBackClick: onBackClick || (() => {
|
|
56585
56668
|
setSteps(
|
|
56586
|
-
|
|
56669
|
+
immer(steps, (draft) => {
|
|
56587
56670
|
draft[0].active = true;
|
|
56588
56671
|
draft[0].completed = false;
|
|
56589
56672
|
draft[1].active = false;
|
|
@@ -56596,7 +56679,7 @@ const UploadCsvWizardDialogInner = compose(
|
|
|
56596
56679
|
return __async(this, null, function* () {
|
|
56597
56680
|
if (!hasSubmitted) {
|
|
56598
56681
|
setSteps(
|
|
56599
|
-
|
|
56682
|
+
immer(steps, (draft) => {
|
|
56600
56683
|
draft[0].active = false;
|
|
56601
56684
|
draft[0].completed = true;
|
|
56602
56685
|
draft[1].active = true;
|
|
@@ -56808,8 +56891,8 @@ function maybeStripIdFromEntities(ents, validateAgainstSchema) {
|
|
|
56808
56891
|
return toRet == null ? void 0 : toRet.map((e2) => omit$3(e2, ["_isClean"]));
|
|
56809
56892
|
}
|
|
56810
56893
|
__name(maybeStripIdFromEntities, "maybeStripIdFromEntities");
|
|
56811
|
-
const useDialog = /* @__PURE__ */ __name((
|
|
56812
|
-
var
|
|
56894
|
+
const useDialog = /* @__PURE__ */ __name((_m) => {
|
|
56895
|
+
var _n = _m, { ModalComponent } = _n, rest = __objRest(_n, ["ModalComponent"]);
|
|
56813
56896
|
const [isOpen, setOpen] = useState(false);
|
|
56814
56897
|
const [additionalProps, setAdditionalProps] = useState(false);
|
|
56815
56898
|
const comp = /* @__PURE__ */ React__default$1.createElement(
|
|
@@ -59448,8 +59531,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
59448
59531
|
var q2 = false;
|
|
59449
59532
|
function J(e3, t3, r3, n3) {
|
|
59450
59533
|
P2(e3, (s2 << 1) + (n3 ? 1 : 0), 3), function(e4, t4, r4, n4) {
|
|
59451
|
-
M2(e4), U2(e4, r4), U2(e4, ~r4), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
|
|
59452
|
-
}(e3, t3, r3);
|
|
59534
|
+
M2(e4), n4 && (U2(e4, r4), U2(e4, ~r4)), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
|
|
59535
|
+
}(e3, t3, r3, true);
|
|
59453
59536
|
}
|
|
59454
59537
|
__name(J, "J");
|
|
59455
59538
|
r2._tr_init = function(e3) {
|
|
@@ -65351,7 +65434,7 @@ function _createForOfIteratorHelperLoose$4(o2, allowArrayLike) {
|
|
|
65351
65434
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
65352
65435
|
if (it)
|
|
65353
65436
|
return (it = it.call(o2)).next.bind(it);
|
|
65354
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike) {
|
|
65437
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
65355
65438
|
if (it)
|
|
65356
65439
|
o2 = it;
|
|
65357
65440
|
var i = 0;
|
|
@@ -65704,7 +65787,7 @@ function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
|
|
|
65704
65787
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
65705
65788
|
if (it)
|
|
65706
65789
|
return (it = it.call(o2)).next.bind(it);
|
|
65707
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike) {
|
|
65790
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
65708
65791
|
if (it)
|
|
65709
65792
|
o2 = it;
|
|
65710
65793
|
var i = 0;
|
|
@@ -66000,7 +66083,7 @@ function _createForOfIteratorHelperLoose$2(o2, allowArrayLike) {
|
|
|
66000
66083
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66001
66084
|
if (it)
|
|
66002
66085
|
return (it = it.call(o2)).next.bind(it);
|
|
66003
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike) {
|
|
66086
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66004
66087
|
if (it)
|
|
66005
66088
|
o2 = it;
|
|
66006
66089
|
var i = 0;
|
|
@@ -66086,7 +66169,7 @@ function _createForOfIteratorHelperLoose$1(o2, allowArrayLike) {
|
|
|
66086
66169
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66087
66170
|
if (it)
|
|
66088
66171
|
return (it = it.call(o2)).next.bind(it);
|
|
66089
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike) {
|
|
66172
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66090
66173
|
if (it)
|
|
66091
66174
|
o2 = it;
|
|
66092
66175
|
var i = 0;
|
|
@@ -66187,7 +66270,7 @@ function _createForOfIteratorHelperLoose(o2, allowArrayLike) {
|
|
|
66187
66270
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66188
66271
|
if (it)
|
|
66189
66272
|
return (it = it.call(o2)).next.bind(it);
|
|
66190
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike) {
|
|
66273
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66191
66274
|
if (it)
|
|
66192
66275
|
o2 = it;
|
|
66193
66276
|
var i = 0;
|
|
@@ -66824,7 +66907,7 @@ function UploaderInner({
|
|
|
66824
66907
|
) : /* @__PURE__ */ React__default$1.createElement(React__default$1.Fragment, null, "Accepts ", simpleAccept)
|
|
66825
66908
|
),
|
|
66826
66909
|
/* @__PURE__ */ React__default$1.createElement(
|
|
66827
|
-
Dropzone,
|
|
66910
|
+
Dropzone$1,
|
|
66828
66911
|
__spreadValues(__spreadValues({
|
|
66829
66912
|
disabled: dropzoneDisabled,
|
|
66830
66913
|
onClick: (evt) => evt.preventDefault(),
|
|
@@ -67338,68 +67421,55 @@ function BounceLoader({ style: style2, className }) {
|
|
|
67338
67421
|
);
|
|
67339
67422
|
}
|
|
67340
67423
|
__name(BounceLoader, "BounceLoader");
|
|
67341
|
-
const
|
|
67342
|
-
|
|
67343
|
-
|
|
67344
|
-
|
|
67345
|
-
|
|
67346
|
-
|
|
67347
|
-
|
|
67348
|
-
|
|
67349
|
-
|
|
67350
|
-
|
|
67351
|
-
|
|
67352
|
-
|
|
67424
|
+
const Loading = /* @__PURE__ */ __name(({
|
|
67425
|
+
loading,
|
|
67426
|
+
style: userStyle,
|
|
67427
|
+
className,
|
|
67428
|
+
containerStyle = {},
|
|
67429
|
+
children,
|
|
67430
|
+
displayInstantly = false,
|
|
67431
|
+
bounce = false,
|
|
67432
|
+
withTimeout,
|
|
67433
|
+
inDialog,
|
|
67434
|
+
centeredInPage
|
|
67435
|
+
}) => {
|
|
67436
|
+
const [longerThan200MS, setLongerThan200MS] = useState(false);
|
|
67437
|
+
useEffect(() => {
|
|
67438
|
+
const timeoutId = setTimeout(() => {
|
|
67439
|
+
setLongerThan200MS(true);
|
|
67353
67440
|
}, 200);
|
|
67354
|
-
|
|
67355
|
-
|
|
67356
|
-
|
|
67357
|
-
}
|
|
67358
|
-
|
|
67359
|
-
|
|
67360
|
-
|
|
67361
|
-
|
|
67362
|
-
|
|
67363
|
-
containerStyle = {},
|
|
67364
|
-
children,
|
|
67365
|
-
displayInstantly = false,
|
|
67366
|
-
bounce = false,
|
|
67367
|
-
withTimeout,
|
|
67368
|
-
inDialog,
|
|
67369
|
-
centeredInPage
|
|
67370
|
-
} = this.props;
|
|
67371
|
-
const { longerThan200MS } = this.state;
|
|
67372
|
-
const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
67373
|
-
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
67374
|
-
if (loading || !children) {
|
|
67375
|
-
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
67376
|
-
return /* @__PURE__ */ React__default$1.createElement("div", null);
|
|
67377
|
-
}
|
|
67378
|
-
return /* @__PURE__ */ React__default$1.createElement(
|
|
67379
|
-
"div",
|
|
67380
|
-
{
|
|
67381
|
-
className: "tg-loader-container tg-flex justify-center align-center",
|
|
67382
|
-
style: __spreadValues(__spreadValues({
|
|
67383
|
-
width: "100%"
|
|
67384
|
-
}, containerStyle), centeredInPage && {
|
|
67385
|
-
width: void 0,
|
|
67386
|
-
zIndex: 20,
|
|
67387
|
-
height: 10,
|
|
67388
|
-
position: "fixed",
|
|
67389
|
-
top: "50%",
|
|
67390
|
-
left: "50%",
|
|
67391
|
-
transform: "translate(-50%, 0)"
|
|
67392
|
-
})
|
|
67393
|
-
},
|
|
67394
|
-
/* @__PURE__ */ React__default$1.createElement(LoaderComp, { style: style2, className })
|
|
67395
|
-
);
|
|
67396
|
-
} else {
|
|
67397
|
-
return children || null;
|
|
67441
|
+
return () => {
|
|
67442
|
+
clearTimeout(timeoutId);
|
|
67443
|
+
};
|
|
67444
|
+
}, []);
|
|
67445
|
+
const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
67446
|
+
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
67447
|
+
if (loading || !children) {
|
|
67448
|
+
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
67449
|
+
return /* @__PURE__ */ React__default$1.createElement("div", null);
|
|
67398
67450
|
}
|
|
67451
|
+
return /* @__PURE__ */ React__default$1.createElement(
|
|
67452
|
+
"div",
|
|
67453
|
+
{
|
|
67454
|
+
className: "tg-loader-container tg-flex justify-center align-center",
|
|
67455
|
+
style: __spreadValues(__spreadValues({
|
|
67456
|
+
width: "100%"
|
|
67457
|
+
}, containerStyle), centeredInPage && {
|
|
67458
|
+
width: void 0,
|
|
67459
|
+
zIndex: 20,
|
|
67460
|
+
height: 10,
|
|
67461
|
+
position: "fixed",
|
|
67462
|
+
top: "50%",
|
|
67463
|
+
left: "50%",
|
|
67464
|
+
transform: "translate(-50%, 0)"
|
|
67465
|
+
})
|
|
67466
|
+
},
|
|
67467
|
+
/* @__PURE__ */ React__default$1.createElement(LoaderComp, { style: style2, className })
|
|
67468
|
+
);
|
|
67469
|
+
} else {
|
|
67470
|
+
return children || null;
|
|
67399
67471
|
}
|
|
67400
|
-
};
|
|
67401
|
-
__name(_Loading, "Loading");
|
|
67402
|
-
let Loading = _Loading;
|
|
67472
|
+
}, "Loading");
|
|
67403
67473
|
function AdvancedOptions({
|
|
67404
67474
|
children,
|
|
67405
67475
|
content: content2,
|
|
@@ -67432,14 +67502,14 @@ function AdvancedOptions({
|
|
|
67432
67502
|
), isOpen && /* @__PURE__ */ React__default$1.createElement("div", { style: { marginTop: 10 } }, content2 || children));
|
|
67433
67503
|
}
|
|
67434
67504
|
__name(AdvancedOptions, "AdvancedOptions");
|
|
67435
|
-
function DropdownButton(
|
|
67436
|
-
var
|
|
67505
|
+
function DropdownButton(_o) {
|
|
67506
|
+
var _p = _o, {
|
|
67437
67507
|
disabled,
|
|
67438
67508
|
menu,
|
|
67439
67509
|
noRightIcon,
|
|
67440
67510
|
popoverProps,
|
|
67441
67511
|
className
|
|
67442
|
-
} =
|
|
67512
|
+
} = _p, rest = __objRest(_p, [
|
|
67443
67513
|
"disabled",
|
|
67444
67514
|
"menu",
|
|
67445
67515
|
"noRightIcon",
|
|
@@ -67637,7 +67707,7 @@ function _getRequireWildcardCache$1(nodeInterop) {
|
|
|
67637
67707
|
}
|
|
67638
67708
|
__name(_getRequireWildcardCache$1, "_getRequireWildcardCache$1");
|
|
67639
67709
|
function _interopRequireWildcard$1(obj, nodeInterop) {
|
|
67640
|
-
if (obj && obj.__esModule) {
|
|
67710
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
67641
67711
|
return obj;
|
|
67642
67712
|
}
|
|
67643
67713
|
if (obj === null || _typeof$1(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -68062,7 +68132,7 @@ function _getRequireWildcardCache(nodeInterop) {
|
|
|
68062
68132
|
}
|
|
68063
68133
|
__name(_getRequireWildcardCache, "_getRequireWildcardCache");
|
|
68064
68134
|
function _interopRequireWildcard(obj, nodeInterop) {
|
|
68065
|
-
if (obj && obj.__esModule) {
|
|
68135
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
68066
68136
|
return obj;
|
|
68067
68137
|
}
|
|
68068
68138
|
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -68176,6 +68246,8 @@ __name(_defineProperties$1, "_defineProperties$1");
|
|
|
68176
68246
|
function _createClass$1(Constructor, protoProps, staticProps) {
|
|
68177
68247
|
if (protoProps)
|
|
68178
68248
|
_defineProperties$1(Constructor.prototype, protoProps);
|
|
68249
|
+
if (staticProps)
|
|
68250
|
+
_defineProperties$1(Constructor, staticProps);
|
|
68179
68251
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
68180
68252
|
return Constructor;
|
|
68181
68253
|
}
|
|
@@ -68657,7 +68729,7 @@ _defineProperty$3(DraggableCore$1, "defaultProps", {
|
|
|
68657
68729
|
}
|
|
68658
68730
|
__name(_getRequireWildcardCache2, "_getRequireWildcardCache");
|
|
68659
68731
|
function _interopRequireWildcard2(obj, nodeInterop) {
|
|
68660
|
-
if (obj && obj.__esModule) {
|
|
68732
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
68661
68733
|
return obj;
|
|
68662
68734
|
}
|
|
68663
68735
|
if (obj === null || _typeof4(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -69439,7 +69511,7 @@ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
|
|
|
69439
69511
|
this.cache[key] = value;
|
|
69440
69512
|
};
|
|
69441
69513
|
var cacheDefault = {
|
|
69442
|
-
create: /* @__PURE__ */ __name(function
|
|
69514
|
+
create: /* @__PURE__ */ __name(function create4() {
|
|
69443
69515
|
return new ObjectWithoutPrototypeCache();
|
|
69444
69516
|
}, "create")
|
|
69445
69517
|
};
|
|
@@ -70771,7 +70843,7 @@ function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
|
|
|
70771
70843
|
e2.target.closest(`.${Classes.POPOVER_DISMISS}`).click();
|
|
70772
70844
|
}, "handleLinkClick");
|
|
70773
70845
|
return /* @__PURE__ */ React__default$1.createElement("li", { className: Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React__default$1.createElement(
|
|
70774
|
-
Link,
|
|
70846
|
+
Link$1,
|
|
70775
70847
|
{
|
|
70776
70848
|
onClick: handleLinkClick,
|
|
70777
70849
|
to: navTo,
|
|
@@ -70795,15 +70867,15 @@ const EnhancedMenuItem = compose(
|
|
|
70795
70867
|
willUnmount({ className });
|
|
70796
70868
|
}
|
|
70797
70869
|
}),
|
|
70798
|
-
branch(({ navTo }) => navTo, withRouter)
|
|
70799
|
-
)(function(
|
|
70800
|
-
var
|
|
70870
|
+
branch(({ navTo }) => navTo, withRouter$1)
|
|
70871
|
+
)(function(_q) {
|
|
70872
|
+
var _r = _q, {
|
|
70801
70873
|
navTo,
|
|
70802
70874
|
context,
|
|
70803
70875
|
staticContext,
|
|
70804
70876
|
didMount,
|
|
70805
70877
|
willUnmount
|
|
70806
|
-
} =
|
|
70878
|
+
} = _r, props = __objRest(_r, [
|
|
70807
70879
|
"navTo",
|
|
70808
70880
|
"context",
|
|
70809
70881
|
"staticContext",
|
|
@@ -70997,7 +71069,7 @@ function doesSearchValMatchText(searchVal, justText) {
|
|
|
70997
71069
|
);
|
|
70998
71070
|
}
|
|
70999
71071
|
__name(doesSearchValMatchText, "doesSearchValMatchText");
|
|
71000
|
-
let MenuBar$1 = (
|
|
71072
|
+
let MenuBar$1 = (_s = class extends React__default$1.Component {
|
|
71001
71073
|
constructor(props) {
|
|
71002
71074
|
super(props);
|
|
71003
71075
|
__publicField(this, "state", {
|
|
@@ -71242,10 +71314,10 @@ let MenuBar$1 = (_q = class extends React__default$1.Component {
|
|
|
71242
71314
|
);
|
|
71243
71315
|
}), extraContent);
|
|
71244
71316
|
}
|
|
71245
|
-
}, __name(
|
|
71317
|
+
}, __name(_s, "MenuBar"), __publicField(_s, "defaultProps", {
|
|
71246
71318
|
className: "",
|
|
71247
71319
|
style: {}
|
|
71248
|
-
}),
|
|
71320
|
+
}), _s);
|
|
71249
71321
|
const isDivider = /* @__PURE__ */ __name((item) => item.divider !== void 0, "isDivider");
|
|
71250
71322
|
function getAllMenuTextsAndHandlers(menu, enhancers, context, path2 = []) {
|
|
71251
71323
|
if (!menu)
|
|
@@ -71393,7 +71465,7 @@ function HotkeysDialog(props) {
|
|
|
71393
71465
|
);
|
|
71394
71466
|
}
|
|
71395
71467
|
__name(HotkeysDialog, "HotkeysDialog");
|
|
71396
|
-
let FillWindow$1 = (
|
|
71468
|
+
let FillWindow$1 = (_t = class extends React__default$1.Component {
|
|
71397
71469
|
constructor(props) {
|
|
71398
71470
|
super(props);
|
|
71399
71471
|
rerenderOnWindowResize(this);
|
|
@@ -71441,7 +71513,7 @@ let FillWindow$1 = (_r = class extends React__default$1.Component {
|
|
|
71441
71513
|
return ReactDOM$1.createPortal(inner2, window.document.body);
|
|
71442
71514
|
return inner2;
|
|
71443
71515
|
}
|
|
71444
|
-
}, __name(
|
|
71516
|
+
}, __name(_t, "FillWindow"), _t);
|
|
71445
71517
|
var relativeTime$1 = { exports: {} };
|
|
71446
71518
|
(function(module2, exports2) {
|
|
71447
71519
|
!function(r2, e2) {
|
|
@@ -71489,16 +71561,6 @@ var relativeTime$1 = { exports: {} };
|
|
|
71489
71561
|
var relativeTimeExports = relativeTime$1.exports;
|
|
71490
71562
|
const relativeTime = /* @__PURE__ */ getDefaultExportFromCjs(relativeTimeExports);
|
|
71491
71563
|
dayjs.extend(relativeTime);
|
|
71492
|
-
const _Timeline = class _Timeline extends Component {
|
|
71493
|
-
render() {
|
|
71494
|
-
return /* @__PURE__ */ React__default$1.createElement("div", { className: "tg-timeline" }, this.props.children.length > 1 && /* @__PURE__ */ React__default$1.createElement("div", { className: "tg-timeline-line" }), this.props.children);
|
|
71495
|
-
}
|
|
71496
|
-
};
|
|
71497
|
-
__name(_Timeline, "Timeline");
|
|
71498
|
-
__publicField(_Timeline, "propTypes", {
|
|
71499
|
-
children: PropTypes.arrayOf(PropTypes.element)
|
|
71500
|
-
});
|
|
71501
|
-
let Timeline = _Timeline;
|
|
71502
71564
|
const ptIconWrapper = /* @__PURE__ */ __name((path2, viewboxDefault = 24, rest) => {
|
|
71503
71565
|
return /* @__PURE__ */ React__default$1.createElement("span", { className: "bp3-icon" }, /* @__PURE__ */ React__default$1.createElement(
|
|
71504
71566
|
"svg",
|
|
@@ -73189,7 +73251,7 @@ function trimRangeByAnotherRange(rangeToBeTrimmed, trimmingRange, sequenceLength
|
|
|
73189
73251
|
}
|
|
73190
73252
|
}
|
|
73191
73253
|
if (outputTrimmedRange) {
|
|
73192
|
-
return
|
|
73254
|
+
return extend$2({}, rangeToBeTrimmed, {
|
|
73193
73255
|
start: outputTrimmedRange.start,
|
|
73194
73256
|
end: outputTrimmedRange.end
|
|
73195
73257
|
});
|
|
@@ -73774,6 +73836,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
|
|
|
73774
73836
|
);
|
|
73775
73837
|
if (!rangeBlocked) {
|
|
73776
73838
|
yOffset = index2;
|
|
73839
|
+
if (assignYOffsetToRange)
|
|
73840
|
+
range2.yOffset = index2;
|
|
73777
73841
|
rangesAlreadyAddedToYOffset.push(range2);
|
|
73778
73842
|
return true;
|
|
73779
73843
|
}
|
|
@@ -73782,6 +73846,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
|
|
|
73782
73846
|
);
|
|
73783
73847
|
if (!openYOffsetFound) {
|
|
73784
73848
|
yOffset = YOffsetLevelsWithRanges.length;
|
|
73849
|
+
if (assignYOffsetToRange)
|
|
73850
|
+
range2.yOffset = YOffsetLevelsWithRanges.length;
|
|
73785
73851
|
}
|
|
73786
73852
|
return yOffset;
|
|
73787
73853
|
}
|
|
@@ -74551,7 +74617,7 @@ __name(requireEmpty, "requireEmpty");
|
|
|
74551
74617
|
}
|
|
74552
74618
|
}, "classCallCheck");
|
|
74553
74619
|
var createClass2 = /* @__PURE__ */ function() {
|
|
74554
|
-
function
|
|
74620
|
+
function defineProperties4(target, props) {
|
|
74555
74621
|
for (var i = 0; i < props.length; i++) {
|
|
74556
74622
|
var descriptor2 = props[i];
|
|
74557
74623
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -74561,12 +74627,12 @@ __name(requireEmpty, "requireEmpty");
|
|
|
74561
74627
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
74562
74628
|
}
|
|
74563
74629
|
}
|
|
74564
|
-
__name(
|
|
74630
|
+
__name(defineProperties4, "defineProperties");
|
|
74565
74631
|
return function(Constructor, protoProps, staticProps) {
|
|
74566
74632
|
if (protoProps)
|
|
74567
|
-
|
|
74633
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
74568
74634
|
if (staticProps)
|
|
74569
|
-
|
|
74635
|
+
defineProperties4(Constructor, staticProps);
|
|
74570
74636
|
return Constructor;
|
|
74571
74637
|
};
|
|
74572
74638
|
}();
|
|
@@ -78381,10 +78447,10 @@ __name(requireEmpty, "requireEmpty");
|
|
|
78381
78447
|
return value;
|
|
78382
78448
|
}
|
|
78383
78449
|
__name(dateReviver, "dateReviver");
|
|
78384
|
-
function
|
|
78450
|
+
function create6(options) {
|
|
78385
78451
|
return new DiffPatcher(options);
|
|
78386
78452
|
}
|
|
78387
|
-
__name(
|
|
78453
|
+
__name(create6, "create");
|
|
78388
78454
|
var defaultInstance$4 = void 0;
|
|
78389
78455
|
function diff() {
|
|
78390
78456
|
if (!defaultInstance$4) {
|
|
@@ -78424,7 +78490,7 @@ __name(requireEmpty, "requireEmpty");
|
|
|
78424
78490
|
exports3.DiffPatcher = DiffPatcher;
|
|
78425
78491
|
exports3.formatters = index2;
|
|
78426
78492
|
exports3.console = console$1;
|
|
78427
|
-
exports3.create =
|
|
78493
|
+
exports3.create = create6;
|
|
78428
78494
|
exports3.dateReviver = dateReviver;
|
|
78429
78495
|
exports3.diff = diff;
|
|
78430
78496
|
exports3.patch = patch2;
|
|
@@ -87893,7 +87959,7 @@ function getSequenceDataBetweenRange(seqData, range2, options = {}) {
|
|
|
87893
87959
|
annotationTypes.forEach((type2) => {
|
|
87894
87960
|
delete seqDataToUse[`filtered${startCase(type2)}`];
|
|
87895
87961
|
});
|
|
87896
|
-
const seqDataToReturn =
|
|
87962
|
+
const seqDataToReturn = extend$2(
|
|
87897
87963
|
{},
|
|
87898
87964
|
seqDataToUse,
|
|
87899
87965
|
{
|
|
@@ -87961,7 +88027,7 @@ function getAnnotationsBetweenRange(annotationsToBeAdjusted, range2, maxLength,
|
|
|
87961
88027
|
}
|
|
87962
88028
|
const overlaps = getZeroedRangeOverlaps(annotation, range2, maxLength).map(
|
|
87963
88029
|
(overlap) => {
|
|
87964
|
-
return
|
|
88030
|
+
return extend$2({}, annotation, overlap);
|
|
87965
88031
|
}
|
|
87966
88032
|
);
|
|
87967
88033
|
if (shouldExcludePartial) {
|
|
@@ -90324,7 +90390,7 @@ const util$1 = util$4;
|
|
|
90324
90390
|
const xmlNode = xmlNode$1;
|
|
90325
90391
|
const readDocType = DocTypeReader;
|
|
90326
90392
|
const toNumber = strnum;
|
|
90327
|
-
let OrderedObjParser$1 = (
|
|
90393
|
+
let OrderedObjParser$1 = (_u = class {
|
|
90328
90394
|
constructor(options) {
|
|
90329
90395
|
this.options = options;
|
|
90330
90396
|
this.currentNode = null;
|
|
@@ -90363,7 +90429,7 @@ let OrderedObjParser$1 = (_s = class {
|
|
|
90363
90429
|
this.saveTextToParentTag = saveTextToParentTag;
|
|
90364
90430
|
this.addChild = addChild;
|
|
90365
90431
|
}
|
|
90366
|
-
}, __name(
|
|
90432
|
+
}, __name(_u, "OrderedObjParser"), _u);
|
|
90367
90433
|
function addExternalEntities(externalEntities) {
|
|
90368
90434
|
const entKeys = Object.keys(externalEntities);
|
|
90369
90435
|
for (let i = 0; i < entKeys.length; i++) {
|
|
@@ -90919,7 +90985,7 @@ const { buildOptions } = OptionsBuilder;
|
|
|
90919
90985
|
const OrderedObjParser = OrderedObjParser_1;
|
|
90920
90986
|
const { prettify } = node2json;
|
|
90921
90987
|
const validator$1 = validator$2;
|
|
90922
|
-
let XMLParser$1 = (
|
|
90988
|
+
let XMLParser$1 = (_v = class {
|
|
90923
90989
|
constructor(options) {
|
|
90924
90990
|
this.externalEntities = {};
|
|
90925
90991
|
this.options = buildOptions(options);
|
|
@@ -90969,7 +91035,7 @@ let XMLParser$1 = (_t = class {
|
|
|
90969
91035
|
this.externalEntities[key] = value;
|
|
90970
91036
|
}
|
|
90971
91037
|
}
|
|
90972
|
-
}, __name(
|
|
91038
|
+
}, __name(_v, "XMLParser"), _v);
|
|
90973
91039
|
var XMLParser_1 = XMLParser$1;
|
|
90974
91040
|
const EOL = "\n";
|
|
90975
91041
|
function toXml(jArray, options) {
|
|
@@ -95348,12 +95414,14 @@ var buffer$2 = {};
|
|
|
95348
95414
|
if (value > max2 || value < min2) {
|
|
95349
95415
|
const n2 = typeof min2 === "bigint" ? "n" : "";
|
|
95350
95416
|
let range2;
|
|
95351
|
-
{
|
|
95417
|
+
if (byteLength3 > 3) {
|
|
95352
95418
|
if (min2 === 0 || min2 === BigInt(0)) {
|
|
95353
95419
|
range2 = `>= 0${n2} and < 2${n2} ** ${(byteLength3 + 1) * 8}${n2}`;
|
|
95354
95420
|
} else {
|
|
95355
95421
|
range2 = `>= -(2${n2} ** ${(byteLength3 + 1) * 8 - 1}${n2}) and < 2 ** ${(byteLength3 + 1) * 8 - 1}${n2}`;
|
|
95356
95422
|
}
|
|
95423
|
+
} else {
|
|
95424
|
+
range2 = `>= ${min2}${n2} and <= ${max2}${n2}`;
|
|
95357
95425
|
}
|
|
95358
95426
|
throw new errors.ERR_OUT_OF_RANGE("value", range2, value);
|
|
95359
95427
|
}
|
|
@@ -95369,14 +95437,14 @@ var buffer$2 = {};
|
|
|
95369
95437
|
function boundsError(value, length, type2) {
|
|
95370
95438
|
if (Math.floor(value) !== value) {
|
|
95371
95439
|
validateNumber(value, type2);
|
|
95372
|
-
throw new errors.ERR_OUT_OF_RANGE("offset", "an integer", value);
|
|
95440
|
+
throw new errors.ERR_OUT_OF_RANGE(type2 || "offset", "an integer", value);
|
|
95373
95441
|
}
|
|
95374
95442
|
if (length < 0) {
|
|
95375
95443
|
throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();
|
|
95376
95444
|
}
|
|
95377
95445
|
throw new errors.ERR_OUT_OF_RANGE(
|
|
95378
|
-
"offset",
|
|
95379
|
-
`>= ${0} and <= ${length}`,
|
|
95446
|
+
type2 || "offset",
|
|
95447
|
+
`>= ${type2 ? 1 : 0} and <= ${length}`,
|
|
95380
95448
|
value
|
|
95381
95449
|
);
|
|
95382
95450
|
}
|
|
@@ -95981,6 +96049,8 @@ function requireBuffer_list() {
|
|
|
95981
96049
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
95982
96050
|
if (protoProps)
|
|
95983
96051
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
96052
|
+
if (staticProps)
|
|
96053
|
+
_defineProperties2(Constructor, staticProps);
|
|
95984
96054
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
95985
96055
|
return Constructor;
|
|
95986
96056
|
}
|
|
@@ -96350,7 +96420,7 @@ function requireErrorsBrowser() {
|
|
|
96350
96420
|
}
|
|
96351
96421
|
__name(oneOf, "oneOf");
|
|
96352
96422
|
function startsWith2(str, search2, pos) {
|
|
96353
|
-
return str.substr(0, search2.length) === search2;
|
|
96423
|
+
return str.substr(!pos || pos < 0 ? 0 : +pos, search2.length) === search2;
|
|
96354
96424
|
}
|
|
96355
96425
|
__name(startsWith2, "startsWith");
|
|
96356
96426
|
function endsWith2(str, search2, this_len) {
|
|
@@ -99865,10 +99935,16 @@ function unzipSync(data, opts2) {
|
|
|
99865
99935
|
o2 = b4(data, ze + 48);
|
|
99866
99936
|
}
|
|
99867
99937
|
}
|
|
99938
|
+
var fltr = opts2 && opts2.filter;
|
|
99868
99939
|
for (var i = 0; i < c2; ++i) {
|
|
99869
99940
|
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);
|
|
99870
99941
|
o2 = no;
|
|
99871
|
-
{
|
|
99942
|
+
if (!fltr || fltr({
|
|
99943
|
+
name: fn4,
|
|
99944
|
+
size: sc,
|
|
99945
|
+
originalSize: su,
|
|
99946
|
+
compression: c_2
|
|
99947
|
+
})) {
|
|
99872
99948
|
if (!c_2)
|
|
99873
99949
|
files[fn4] = slc(data, b3, b3 + sc);
|
|
99874
99950
|
else if (c_2 == 8)
|
|
@@ -102069,7 +102145,7 @@ const reducer$1 = createReducer(
|
|
|
102069
102145
|
return payload.filter((group) => group.length);
|
|
102070
102146
|
},
|
|
102071
102147
|
[flipActiveTabFromLinearOrCircularIfNecessary]: (state2, setCircActive) => {
|
|
102072
|
-
const newState =
|
|
102148
|
+
const newState = immer(state2, (s2) => {
|
|
102073
102149
|
s2.forEach((g2) => {
|
|
102074
102150
|
flipActiveForGroup(g2, setCircActive);
|
|
102075
102151
|
});
|
|
@@ -102844,7 +102920,7 @@ var defineProperty$2 = /* @__PURE__ */ __name(function(object3, name2, value, pr
|
|
|
102844
102920
|
defineDataProperty2(object3, name2, value);
|
|
102845
102921
|
}
|
|
102846
102922
|
}, "defineProperty$2");
|
|
102847
|
-
var
|
|
102923
|
+
var defineProperties3 = /* @__PURE__ */ __name(function(object3, map3) {
|
|
102848
102924
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
102849
102925
|
var props = keys$1(map3);
|
|
102850
102926
|
if (hasSymbols2) {
|
|
@@ -102854,8 +102930,8 @@ var defineProperties2 = /* @__PURE__ */ __name(function(object3, map3) {
|
|
|
102854
102930
|
defineProperty$2(object3, props[i], map3[props[i]], predicates[props[i]]);
|
|
102855
102931
|
}
|
|
102856
102932
|
}, "defineProperties");
|
|
102857
|
-
|
|
102858
|
-
var defineProperties_1 =
|
|
102933
|
+
defineProperties3.supportsDescriptors = !!supportsDescriptors$2;
|
|
102934
|
+
var defineProperties_1 = defineProperties3;
|
|
102859
102935
|
var numberIsNaN = /* @__PURE__ */ __name(function(value) {
|
|
102860
102936
|
return value !== value;
|
|
102861
102937
|
}, "numberIsNaN");
|
|
@@ -103740,6 +103816,7 @@ function createThunkMiddleware(extraArgument) {
|
|
|
103740
103816
|
__name(createThunkMiddleware, "createThunkMiddleware");
|
|
103741
103817
|
var thunk = createThunkMiddleware();
|
|
103742
103818
|
thunk.withExtraArgument = createThunkMiddleware;
|
|
103819
|
+
const thunk$1 = thunk;
|
|
103743
103820
|
const makeStore = /* @__PURE__ */ __name(() => {
|
|
103744
103821
|
const composeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
|
|
103745
103822
|
name: "createVectorEditor",
|
|
@@ -103757,7 +103834,7 @@ const makeStore = /* @__PURE__ */ __name(() => {
|
|
|
103757
103834
|
}),
|
|
103758
103835
|
void 0,
|
|
103759
103836
|
composeEnhancer(
|
|
103760
|
-
applyMiddleware(thunk, vectorEditorMiddleware)
|
|
103837
|
+
applyMiddleware(thunk$1, vectorEditorMiddleware)
|
|
103761
103838
|
//your store should be redux-thunk connected for the VectorEditor component to work
|
|
103762
103839
|
)
|
|
103763
103840
|
);
|
|
@@ -106859,7 +106936,7 @@ var parse$1 = /* @__PURE__ */ __name(function parse2(raw2) {
|
|
|
106859
106936
|
return 0;
|
|
106860
106937
|
}
|
|
106861
106938
|
var result = Number(value);
|
|
106862
|
-
!!isNaN(result) ? invariant$2() : void 0;
|
|
106939
|
+
!!isNaN(result) ? invariant$2(false) : void 0;
|
|
106863
106940
|
return result;
|
|
106864
106941
|
}, "parse2");
|
|
106865
106942
|
var getWindowScroll$1 = /* @__PURE__ */ __name(function getWindowScroll2() {
|
|
@@ -107032,6 +107109,9 @@ RbdInvariant.prototype.toString = /* @__PURE__ */ __name(function toString3() {
|
|
|
107032
107109
|
return this.message;
|
|
107033
107110
|
}, "toString");
|
|
107034
107111
|
function invariant$1(condition, message) {
|
|
107112
|
+
if (condition) {
|
|
107113
|
+
return;
|
|
107114
|
+
}
|
|
107035
107115
|
{
|
|
107036
107116
|
throw new RbdInvariant(prefix$1);
|
|
107037
107117
|
}
|
|
@@ -107284,7 +107364,7 @@ var getSubject = /* @__PURE__ */ __name((_ref) => {
|
|
|
107284
107364
|
};
|
|
107285
107365
|
}, "getSubject");
|
|
107286
107366
|
var scrollDroppable = /* @__PURE__ */ __name((droppable2, newScroll) => {
|
|
107287
|
-
!droppable2.frame ? invariant$1() : void 0;
|
|
107367
|
+
!droppable2.frame ? invariant$1(false) : void 0;
|
|
107288
107368
|
const scrollable = droppable2.frame;
|
|
107289
107369
|
const scrollDiff = subtract(newScroll, scrollable.scroll.initial);
|
|
107290
107370
|
const scrollDisplacement = negate(scrollDiff);
|
|
@@ -107382,7 +107462,7 @@ var moveToNextCombine = /* @__PURE__ */ __name((_ref) => {
|
|
|
107382
107462
|
return getImpact(last2.descriptor.id);
|
|
107383
107463
|
}
|
|
107384
107464
|
const indexOfClosest = withoutDraggable.findIndex((d2) => d2.descriptor.id === closestId);
|
|
107385
|
-
!(indexOfClosest !== -1) ? invariant$1() : void 0;
|
|
107465
|
+
!(indexOfClosest !== -1) ? invariant$1(false) : void 0;
|
|
107386
107466
|
const proposedIndex = indexOfClosest - 1;
|
|
107387
107467
|
if (proposedIndex < 0) {
|
|
107388
107468
|
return null;
|
|
@@ -107717,7 +107797,7 @@ var moveToNextIndex = /* @__PURE__ */ __name((_ref) => {
|
|
|
107717
107797
|
afterCritical
|
|
107718
107798
|
} = _ref;
|
|
107719
107799
|
const wasAt = previousImpact.at;
|
|
107720
|
-
!wasAt ? invariant$1() : void 0;
|
|
107800
|
+
!wasAt ? invariant$1(false) : void 0;
|
|
107721
107801
|
if (wasAt.type === "REORDER") {
|
|
107722
107802
|
const newIndex2 = fromReorder({
|
|
107723
107803
|
isMovingForward,
|
|
@@ -107779,7 +107859,7 @@ var whenCombining = /* @__PURE__ */ __name((_ref) => {
|
|
|
107779
107859
|
draggables
|
|
107780
107860
|
} = _ref;
|
|
107781
107861
|
const combine22 = tryGetCombine(impact);
|
|
107782
|
-
!combine22 ? invariant$1() : void 0;
|
|
107862
|
+
!combine22 ? invariant$1(false) : void 0;
|
|
107783
107863
|
const combineWith = combine22.draggableId;
|
|
107784
107864
|
const center = draggables[combineWith].page.borderBox.center;
|
|
107785
107865
|
const displaceBy = getCombinedItemDisplacement({
|
|
@@ -108124,7 +108204,7 @@ var moveToNextPlace = /* @__PURE__ */ __name((_ref) => {
|
|
|
108124
108204
|
}, "moveToNextPlace");
|
|
108125
108205
|
const getKnownActive = /* @__PURE__ */ __name((droppable2) => {
|
|
108126
108206
|
const rect = droppable2.subject.active;
|
|
108127
|
-
!rect ? invariant$1() : void 0;
|
|
108207
|
+
!rect ? invariant$1(false) : void 0;
|
|
108128
108208
|
return rect;
|
|
108129
108209
|
}, "getKnownActive");
|
|
108130
108210
|
var getBestCrossAxisDroppable = /* @__PURE__ */ __name((_ref) => {
|
|
@@ -108247,8 +108327,8 @@ const withMaxScroll = /* @__PURE__ */ __name((frame, max2) => __spreadProps(__sp
|
|
|
108247
108327
|
}), "withMaxScroll");
|
|
108248
108328
|
const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggables) => {
|
|
108249
108329
|
const frame = droppable2.frame;
|
|
108250
|
-
!!isHomeOf(draggable2, droppable2) ? invariant$1() : void 0;
|
|
108251
|
-
!!droppable2.subject.withPlaceholder ? invariant$1() : void 0;
|
|
108330
|
+
!!isHomeOf(draggable2, droppable2) ? invariant$1(false) : void 0;
|
|
108331
|
+
!!droppable2.subject.withPlaceholder ? invariant$1(false) : void 0;
|
|
108252
108332
|
const placeholderSize = getDisplacedBy(droppable2.axis, draggable2.displaceBy).point;
|
|
108253
108333
|
const requiredGrowth = getRequiredGrowthForPlaceholder(droppable2, placeholderSize, draggables);
|
|
108254
108334
|
const added = {
|
|
@@ -108282,7 +108362,7 @@ const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggable
|
|
|
108282
108362
|
}, "addPlaceholder");
|
|
108283
108363
|
const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
|
|
108284
108364
|
const added = droppable2.subject.withPlaceholder;
|
|
108285
|
-
!added ? invariant$1() : void 0;
|
|
108365
|
+
!added ? invariant$1(false) : void 0;
|
|
108286
108366
|
const frame = droppable2.frame;
|
|
108287
108367
|
if (!frame) {
|
|
108288
108368
|
const subject2 = getSubject({
|
|
@@ -108296,7 +108376,7 @@ const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
|
|
|
108296
108376
|
});
|
|
108297
108377
|
}
|
|
108298
108378
|
const oldMaxScroll = added.oldFrameMaxScroll;
|
|
108299
|
-
!oldMaxScroll ? invariant$1() : void 0;
|
|
108379
|
+
!oldMaxScroll ? invariant$1(false) : void 0;
|
|
108300
108380
|
const newFrame = withMaxScroll(frame, oldMaxScroll);
|
|
108301
108381
|
const subject = getSubject({
|
|
108302
108382
|
page: droppable2.subject.page,
|
|
@@ -108927,7 +109007,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
|
|
|
108927
109007
|
dimensions: forcedDimensions,
|
|
108928
109008
|
viewport: forcedViewport
|
|
108929
109009
|
} = _ref;
|
|
108930
|
-
!(state2.movementMode === "SNAP") ? invariant$1() : void 0;
|
|
109010
|
+
!(state2.movementMode === "SNAP") ? invariant$1(false) : void 0;
|
|
108931
109011
|
const needsVisibilityCheck = state2.impact;
|
|
108932
109012
|
const viewport2 = forcedViewport || state2.viewport;
|
|
108933
109013
|
const dimensions = forcedDimensions || state2.dimensions;
|
|
@@ -108937,7 +109017,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
|
|
|
108937
109017
|
} = dimensions;
|
|
108938
109018
|
const draggable2 = draggables[state2.critical.draggable.id];
|
|
108939
109019
|
const isOver = whatIsDraggedOver(needsVisibilityCheck);
|
|
108940
|
-
!isOver ? invariant$1() : void 0;
|
|
109020
|
+
!isOver ? invariant$1(false) : void 0;
|
|
108941
109021
|
const destination = droppables[isOver];
|
|
108942
109022
|
const impact = recompute({
|
|
108943
109023
|
impact: needsVisibilityCheck,
|
|
@@ -108975,7 +109055,7 @@ var getLiftEffect = /* @__PURE__ */ __name((_ref) => {
|
|
|
108975
109055
|
const displacedBy = getDisplacedBy(home2.axis, draggable2.displaceBy);
|
|
108976
109056
|
const insideHome = getDraggablesInsideDroppable(home2.descriptor.id, draggables);
|
|
108977
109057
|
const rawIndex = insideHome.indexOf(draggable2);
|
|
108978
|
-
!(rawIndex !== -1) ? invariant$1() : void 0;
|
|
109058
|
+
!(rawIndex !== -1) ? invariant$1(false) : void 0;
|
|
108979
109059
|
const afterDragging = insideHome.slice(rawIndex + 1);
|
|
108980
109060
|
const effected = afterDragging.reduce((previous2, item) => {
|
|
108981
109061
|
previous2[item.descriptor.id] = true;
|
|
@@ -109030,7 +109110,7 @@ var offsetDraggable = /* @__PURE__ */ __name((_ref) => {
|
|
|
109030
109110
|
}, "offsetDraggable");
|
|
109031
109111
|
var getFrame = /* @__PURE__ */ __name((droppable2) => {
|
|
109032
109112
|
const frame = droppable2.frame;
|
|
109033
|
-
!frame ? invariant$1() : void 0;
|
|
109113
|
+
!frame ? invariant$1(false) : void 0;
|
|
109034
109114
|
return frame;
|
|
109035
109115
|
}, "getFrame");
|
|
109036
109116
|
var adjustAdditionsForScrollChanges = /* @__PURE__ */ __name((_ref) => {
|
|
@@ -109157,7 +109237,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109157
109237
|
});
|
|
109158
109238
|
}
|
|
109159
109239
|
if (action2.type === "INITIAL_PUBLISH") {
|
|
109160
|
-
!(state2.phase === "IDLE") ? invariant$1() : void 0;
|
|
109240
|
+
!(state2.phase === "IDLE") ? invariant$1(false) : void 0;
|
|
109161
109241
|
const {
|
|
109162
109242
|
critical,
|
|
109163
109243
|
clientSelection,
|
|
@@ -109212,14 +109292,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109212
109292
|
if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
|
|
109213
109293
|
return state2;
|
|
109214
109294
|
}
|
|
109215
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
109295
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
109216
109296
|
const result = __spreadProps(__spreadValues({}, state2), {
|
|
109217
109297
|
phase: "COLLECTING"
|
|
109218
109298
|
});
|
|
109219
109299
|
return result;
|
|
109220
109300
|
}
|
|
109221
109301
|
if (action2.type === "PUBLISH_WHILE_DRAGGING") {
|
|
109222
|
-
!(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
109302
|
+
!(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
109223
109303
|
return publishWhileDraggingInVirtual({
|
|
109224
109304
|
state: state2,
|
|
109225
109305
|
published: action2.payload
|
|
@@ -109229,7 +109309,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109229
109309
|
if (state2.phase === "DROP_PENDING") {
|
|
109230
109310
|
return state2;
|
|
109231
109311
|
}
|
|
109232
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109312
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109233
109313
|
const {
|
|
109234
109314
|
client: clientSelection
|
|
109235
109315
|
} = action2.payload;
|
|
@@ -109249,7 +109329,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109249
109329
|
if (state2.phase === "COLLECTING") {
|
|
109250
109330
|
return removeScrollJumpRequest(state2);
|
|
109251
109331
|
}
|
|
109252
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109332
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109253
109333
|
const {
|
|
109254
109334
|
id: id2,
|
|
109255
109335
|
newScroll
|
|
@@ -109265,14 +109345,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109265
109345
|
if (state2.phase === "DROP_PENDING") {
|
|
109266
109346
|
return state2;
|
|
109267
109347
|
}
|
|
109268
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109348
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109269
109349
|
const {
|
|
109270
109350
|
id: id2,
|
|
109271
109351
|
isEnabled
|
|
109272
109352
|
} = action2.payload;
|
|
109273
109353
|
const target = state2.dimensions.droppables[id2];
|
|
109274
|
-
!target ? invariant$1() : void 0;
|
|
109275
|
-
!(target.isEnabled !== isEnabled) ? invariant$1() : void 0;
|
|
109354
|
+
!target ? invariant$1(false) : void 0;
|
|
109355
|
+
!(target.isEnabled !== isEnabled) ? invariant$1(false) : void 0;
|
|
109276
109356
|
const updated = __spreadProps(__spreadValues({}, target), {
|
|
109277
109357
|
isEnabled
|
|
109278
109358
|
});
|
|
@@ -109282,14 +109362,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109282
109362
|
if (state2.phase === "DROP_PENDING") {
|
|
109283
109363
|
return state2;
|
|
109284
109364
|
}
|
|
109285
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109365
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109286
109366
|
const {
|
|
109287
109367
|
id: id2,
|
|
109288
109368
|
isCombineEnabled
|
|
109289
109369
|
} = action2.payload;
|
|
109290
109370
|
const target = state2.dimensions.droppables[id2];
|
|
109291
|
-
!target ? invariant$1() : void 0;
|
|
109292
|
-
!(target.isCombineEnabled !== isCombineEnabled) ? invariant$1() : void 0;
|
|
109371
|
+
!target ? invariant$1(false) : void 0;
|
|
109372
|
+
!(target.isCombineEnabled !== isCombineEnabled) ? invariant$1(false) : void 0;
|
|
109293
109373
|
const updated = __spreadProps(__spreadValues({}, target), {
|
|
109294
109374
|
isCombineEnabled
|
|
109295
109375
|
});
|
|
@@ -109299,8 +109379,8 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109299
109379
|
if (state2.phase === "DROP_PENDING" || state2.phase === "DROP_ANIMATING") {
|
|
109300
109380
|
return state2;
|
|
109301
109381
|
}
|
|
109302
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109303
|
-
!state2.isWindowScrollAllowed ? invariant$1() : void 0;
|
|
109382
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109383
|
+
!state2.isWindowScrollAllowed ? invariant$1(false) : void 0;
|
|
109304
109384
|
const newScroll = action2.payload.newScroll;
|
|
109305
109385
|
if (isEqual$1(state2.viewport.scroll.current, newScroll)) {
|
|
109306
109386
|
return removeScrollJumpRequest(state2);
|
|
@@ -109338,7 +109418,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109338
109418
|
if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
|
|
109339
109419
|
return state2;
|
|
109340
109420
|
}
|
|
109341
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
109421
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
109342
109422
|
const result = moveInDirection({
|
|
109343
109423
|
state: state2,
|
|
109344
109424
|
type: action2.type
|
|
@@ -109355,7 +109435,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109355
109435
|
}
|
|
109356
109436
|
if (action2.type === "DROP_PENDING") {
|
|
109357
109437
|
const reason = action2.payload.reason;
|
|
109358
|
-
!(state2.phase === "COLLECTING") ? invariant$1() : void 0;
|
|
109438
|
+
!(state2.phase === "COLLECTING") ? invariant$1(false) : void 0;
|
|
109359
109439
|
const newState = __spreadProps(__spreadValues({}, state2), {
|
|
109360
109440
|
phase: "DROP_PENDING",
|
|
109361
109441
|
isWaiting: true,
|
|
@@ -109369,7 +109449,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109369
109449
|
dropDuration,
|
|
109370
109450
|
newHomeClientOffset
|
|
109371
109451
|
} = action2.payload;
|
|
109372
|
-
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
109452
|
+
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
109373
109453
|
const result = {
|
|
109374
109454
|
phase: "DROP_ANIMATING",
|
|
109375
109455
|
completed,
|
|
@@ -109496,7 +109576,7 @@ var lift = /* @__PURE__ */ __name((marshal) => (_ref) => {
|
|
|
109496
109576
|
completed: initial.completed
|
|
109497
109577
|
}));
|
|
109498
109578
|
}
|
|
109499
|
-
!(getState2().phase === "IDLE") ? invariant$1() : void 0;
|
|
109579
|
+
!(getState2().phase === "IDLE") ? invariant$1(false) : void 0;
|
|
109500
109580
|
dispatch(flush());
|
|
109501
109581
|
dispatch(beforeInitialCapture({
|
|
109502
109582
|
draggableId: id2,
|
|
@@ -109687,8 +109767,8 @@ const dropMiddleware = /* @__PURE__ */ __name((_ref) => {
|
|
|
109687
109767
|
return;
|
|
109688
109768
|
}
|
|
109689
109769
|
const isWaitingForDrop = state2.phase === "DROP_PENDING" && state2.isWaiting;
|
|
109690
|
-
!!isWaitingForDrop ? invariant$1() : void 0;
|
|
109691
|
-
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
109770
|
+
!!isWaitingForDrop ? invariant$1(false) : void 0;
|
|
109771
|
+
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
109692
109772
|
const critical = state2.critical;
|
|
109693
109773
|
const dimensions = state2.dimensions;
|
|
109694
109774
|
const draggable2 = dimensions.draggables[state2.critical.draggable.id];
|
|
@@ -109789,12 +109869,12 @@ function getScrollListener(_ref) {
|
|
|
109789
109869
|
}
|
|
109790
109870
|
__name(isActive2, "isActive2");
|
|
109791
109871
|
function start2() {
|
|
109792
|
-
!!isActive2() ? invariant$1() : void 0;
|
|
109872
|
+
!!isActive2() ? invariant$1(false) : void 0;
|
|
109793
109873
|
unbind2 = bindEvents(window, [binding]);
|
|
109794
109874
|
}
|
|
109795
109875
|
__name(start2, "start2");
|
|
109796
109876
|
function stop() {
|
|
109797
|
-
!isActive2() ? invariant$1() : void 0;
|
|
109877
|
+
!isActive2() ? invariant$1(false) : void 0;
|
|
109798
109878
|
scheduled.cancel();
|
|
109799
109879
|
unbind2();
|
|
109800
109880
|
unbind2 = noop$2;
|
|
@@ -109851,7 +109931,7 @@ var getAsyncMarshal = /* @__PURE__ */ __name(() => {
|
|
|
109851
109931
|
const entries2 = [];
|
|
109852
109932
|
const execute2 = /* @__PURE__ */ __name((timerId) => {
|
|
109853
109933
|
const index2 = entries2.findIndex((item) => item.timerId === timerId);
|
|
109854
|
-
!(index2 !== -1) ? invariant$1() : void 0;
|
|
109934
|
+
!(index2 !== -1) ? invariant$1(false) : void 0;
|
|
109855
109935
|
const [entry] = entries2.splice(index2, 1);
|
|
109856
109936
|
entry.callback();
|
|
109857
109937
|
}, "execute2");
|
|
@@ -109936,7 +110016,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109936
110016
|
const asyncMarshal = getAsyncMarshal();
|
|
109937
110017
|
let dragging = null;
|
|
109938
110018
|
const beforeCapture = /* @__PURE__ */ __name((draggableId, mode) => {
|
|
109939
|
-
!!dragging ? invariant$1() : void 0;
|
|
110019
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
109940
110020
|
withTimings("onBeforeCapture", () => {
|
|
109941
110021
|
const fn4 = getResponders().onBeforeCapture;
|
|
109942
110022
|
if (fn4) {
|
|
@@ -109949,7 +110029,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109949
110029
|
});
|
|
109950
110030
|
}, "beforeCapture");
|
|
109951
110031
|
const beforeStart = /* @__PURE__ */ __name((critical, mode) => {
|
|
109952
|
-
!!dragging ? invariant$1() : void 0;
|
|
110032
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
109953
110033
|
withTimings("onBeforeDragStart", () => {
|
|
109954
110034
|
const fn4 = getResponders().onBeforeDragStart;
|
|
109955
110035
|
if (fn4) {
|
|
@@ -109958,7 +110038,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109958
110038
|
});
|
|
109959
110039
|
}, "beforeStart");
|
|
109960
110040
|
const start2 = /* @__PURE__ */ __name((critical, mode) => {
|
|
109961
|
-
!!dragging ? invariant$1() : void 0;
|
|
110041
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
109962
110042
|
const data = getDragStart(critical, mode);
|
|
109963
110043
|
dragging = {
|
|
109964
110044
|
mode,
|
|
@@ -109973,7 +110053,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109973
110053
|
const update2 = /* @__PURE__ */ __name((critical, impact) => {
|
|
109974
110054
|
const location2 = tryGetDestination(impact);
|
|
109975
110055
|
const combine22 = tryGetCombine(impact);
|
|
109976
|
-
!dragging ? invariant$1() : void 0;
|
|
110056
|
+
!dragging ? invariant$1(false) : void 0;
|
|
109977
110057
|
const hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical);
|
|
109978
110058
|
if (hasCriticalChanged) {
|
|
109979
110059
|
dragging.lastCritical = critical;
|
|
@@ -109998,11 +110078,11 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109998
110078
|
});
|
|
109999
110079
|
}, "update2");
|
|
110000
110080
|
const flush2 = /* @__PURE__ */ __name(() => {
|
|
110001
|
-
!dragging ? invariant$1() : void 0;
|
|
110081
|
+
!dragging ? invariant$1(false) : void 0;
|
|
110002
110082
|
asyncMarshal.flush();
|
|
110003
110083
|
}, "flush2");
|
|
110004
110084
|
const drop2 = /* @__PURE__ */ __name((result) => {
|
|
110005
|
-
!dragging ? invariant$1() : void 0;
|
|
110085
|
+
!dragging ? invariant$1(false) : void 0;
|
|
110006
110086
|
dragging = null;
|
|
110007
110087
|
withTimings("onDragEnd", () => execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd));
|
|
110008
110088
|
}, "drop2");
|
|
@@ -110065,7 +110145,7 @@ const dropAnimationFinishMiddleware = /* @__PURE__ */ __name((store2) => (next)
|
|
|
110065
110145
|
return;
|
|
110066
110146
|
}
|
|
110067
110147
|
const state2 = store2.getState();
|
|
110068
|
-
!(state2.phase === "DROP_ANIMATING") ? invariant$1() : void 0;
|
|
110148
|
+
!(state2.phase === "DROP_ANIMATING") ? invariant$1(false) : void 0;
|
|
110069
110149
|
store2.dispatch(completeDrop({
|
|
110070
110150
|
completed: state2.completed
|
|
110071
110151
|
}));
|
|
@@ -110159,7 +110239,7 @@ var autoScroll = /* @__PURE__ */ __name((autoScroller) => (store2) => (next) =>
|
|
|
110159
110239
|
if (action2.type === "INITIAL_PUBLISH") {
|
|
110160
110240
|
next(action2);
|
|
110161
110241
|
const state2 = store2.getState();
|
|
110162
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
110242
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
110163
110243
|
autoScroller.start(state2);
|
|
110164
110244
|
return;
|
|
110165
110245
|
}
|
|
@@ -110309,7 +110389,7 @@ var getMaxScroll = /* @__PURE__ */ __name((_ref) => {
|
|
|
110309
110389
|
}, "getMaxScroll");
|
|
110310
110390
|
var getDocumentElement = /* @__PURE__ */ __name(() => {
|
|
110311
110391
|
const doc = document.documentElement;
|
|
110312
|
-
!doc ? invariant$1() : void 0;
|
|
110392
|
+
!doc ? invariant$1(false) : void 0;
|
|
110313
110393
|
return doc;
|
|
110314
110394
|
}, "getDocumentElement");
|
|
110315
110395
|
var getMaxWindowScroll = /* @__PURE__ */ __name(() => {
|
|
@@ -110398,7 +110478,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110398
110478
|
registry
|
|
110399
110479
|
});
|
|
110400
110480
|
const updateDroppableIsEnabled2 = /* @__PURE__ */ __name((id2, isEnabled) => {
|
|
110401
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
110481
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
110402
110482
|
if (!collection) {
|
|
110403
110483
|
return;
|
|
110404
110484
|
}
|
|
@@ -110411,7 +110491,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110411
110491
|
if (!collection) {
|
|
110412
110492
|
return;
|
|
110413
110493
|
}
|
|
110414
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
110494
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
110415
110495
|
callbacks.updateDroppableIsCombineEnabled({
|
|
110416
110496
|
id: id2,
|
|
110417
110497
|
isCombineEnabled
|
|
@@ -110421,7 +110501,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110421
110501
|
if (!collection) {
|
|
110422
110502
|
return;
|
|
110423
110503
|
}
|
|
110424
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
110504
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
110425
110505
|
callbacks.updateDroppableScroll({
|
|
110426
110506
|
id: id2,
|
|
110427
110507
|
newScroll
|
|
@@ -110444,7 +110524,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110444
110524
|
collection = null;
|
|
110445
110525
|
}, "stopPublishing");
|
|
110446
110526
|
const subscriber = /* @__PURE__ */ __name((event) => {
|
|
110447
|
-
!collection ? invariant$1() : void 0;
|
|
110527
|
+
!collection ? invariant$1(false) : void 0;
|
|
110448
110528
|
const dragging = collection.critical.draggable;
|
|
110449
110529
|
if (event.type === "ADDITION") {
|
|
110450
110530
|
if (shouldPublishUpdate(registry, dragging, event.value)) {
|
|
@@ -110458,7 +110538,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110458
110538
|
}
|
|
110459
110539
|
}, "subscriber");
|
|
110460
110540
|
const startPublishing = /* @__PURE__ */ __name((request) => {
|
|
110461
|
-
!!collection ? invariant$1() : void 0;
|
|
110541
|
+
!!collection ? invariant$1(false) : void 0;
|
|
110462
110542
|
const entry = registry.draggable.getById(request.draggableId);
|
|
110463
110543
|
const home2 = registry.droppable.getById(entry.descriptor.droppableId);
|
|
110464
110544
|
const critical = {
|
|
@@ -110512,7 +110592,7 @@ const getScrollableDroppables = memoizeOne((droppables) => toDroppableList(dropp
|
|
|
110512
110592
|
}));
|
|
110513
110593
|
const getScrollableDroppableOver = /* @__PURE__ */ __name((target, droppables) => {
|
|
110514
110594
|
const maybe = getScrollableDroppables(droppables).find((droppable2) => {
|
|
110515
|
-
!droppable2.frame ? invariant$1() : void 0;
|
|
110595
|
+
!droppable2.frame ? invariant$1(false) : void 0;
|
|
110516
110596
|
return isPositionInFrame(droppable2.frame.pageMarginBox)(target);
|
|
110517
110597
|
}) || null;
|
|
110518
110598
|
return maybe;
|
|
@@ -110931,7 +111011,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
110931
111011
|
const scheduleDroppableScroll = rafSchd(scrollDroppable2);
|
|
110932
111012
|
let dragging = null;
|
|
110933
111013
|
const tryScroll = /* @__PURE__ */ __name((state2) => {
|
|
110934
|
-
!dragging ? invariant$1() : void 0;
|
|
111014
|
+
!dragging ? invariant$1(false) : void 0;
|
|
110935
111015
|
const {
|
|
110936
111016
|
shouldUseTimeDampening,
|
|
110937
111017
|
dragStartTime
|
|
@@ -110946,7 +111026,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
110946
111026
|
});
|
|
110947
111027
|
}, "tryScroll");
|
|
110948
111028
|
const start$1 = /* @__PURE__ */ __name((state2) => {
|
|
110949
|
-
!!dragging ? invariant$1() : void 0;
|
|
111029
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
110950
111030
|
const dragStartTime = Date.now();
|
|
110951
111031
|
let wasScrollNeeded = false;
|
|
110952
111032
|
const fakeScrollCallback = /* @__PURE__ */ __name(() => {
|
|
@@ -111031,7 +111111,7 @@ var createJumpScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
111031
111111
|
return;
|
|
111032
111112
|
}
|
|
111033
111113
|
const destination = whatIsDraggedOver(state2.impact);
|
|
111034
|
-
!destination ? invariant$1() : void 0;
|
|
111114
|
+
!destination ? invariant$1(false) : void 0;
|
|
111035
111115
|
const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination], request);
|
|
111036
111116
|
if (!droppableRemainder) {
|
|
111037
111117
|
return;
|
|
@@ -111187,7 +111267,7 @@ const useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window
|
|
|
111187
111267
|
var useLayoutEffect = useIsomorphicLayoutEffect;
|
|
111188
111268
|
const getHead = /* @__PURE__ */ __name(() => {
|
|
111189
111269
|
const head = document.querySelector("head");
|
|
111190
|
-
!head ? invariant$1() : void 0;
|
|
111270
|
+
!head ? invariant$1(false) : void 0;
|
|
111191
111271
|
return head;
|
|
111192
111272
|
}, "getHead");
|
|
111193
111273
|
const createStyleEl = /* @__PURE__ */ __name((nonce) => {
|
|
@@ -111205,18 +111285,18 @@ function useStyleMarshal(contextId, nonce) {
|
|
|
111205
111285
|
const setDynamicStyle = useCallback(
|
|
111206
111286
|
memoizeOne((proposed) => {
|
|
111207
111287
|
const el = dynamicRef.current;
|
|
111208
|
-
!el ? invariant$1() : void 0;
|
|
111288
|
+
!el ? invariant$1(false) : void 0;
|
|
111209
111289
|
el.textContent = proposed;
|
|
111210
111290
|
}),
|
|
111211
111291
|
[]
|
|
111212
111292
|
);
|
|
111213
111293
|
const setAlwaysStyle = useCallback((proposed) => {
|
|
111214
111294
|
const el = alwaysRef.current;
|
|
111215
|
-
!el ? invariant$1() : void 0;
|
|
111295
|
+
!el ? invariant$1(false) : void 0;
|
|
111216
111296
|
el.textContent = proposed;
|
|
111217
111297
|
}, []);
|
|
111218
111298
|
useLayoutEffect(() => {
|
|
111219
|
-
!(!alwaysRef.current && !dynamicRef.current) ? invariant$1() : void 0;
|
|
111299
|
+
!(!alwaysRef.current && !dynamicRef.current) ? invariant$1(false) : void 0;
|
|
111220
111300
|
const always = createStyleEl(nonce);
|
|
111221
111301
|
const dynamic = createStyleEl(nonce);
|
|
111222
111302
|
alwaysRef.current = always;
|
|
@@ -111230,7 +111310,7 @@ function useStyleMarshal(contextId, nonce) {
|
|
|
111230
111310
|
return () => {
|
|
111231
111311
|
const remove3 = /* @__PURE__ */ __name((ref2) => {
|
|
111232
111312
|
const current = ref2.current;
|
|
111233
|
-
!current ? invariant$1() : void 0;
|
|
111313
|
+
!current ? invariant$1(false) : void 0;
|
|
111234
111314
|
getHead().removeChild(current);
|
|
111235
111315
|
ref2.current = null;
|
|
111236
111316
|
}, "remove");
|
|
@@ -111394,7 +111474,7 @@ function createRegistry() {
|
|
|
111394
111474
|
__name(findDraggableById, "findDraggableById");
|
|
111395
111475
|
function getDraggableById(id2) {
|
|
111396
111476
|
const entry = findDraggableById(id2);
|
|
111397
|
-
!entry ? invariant$1() : void 0;
|
|
111477
|
+
!entry ? invariant$1(false) : void 0;
|
|
111398
111478
|
return entry;
|
|
111399
111479
|
}
|
|
111400
111480
|
__name(getDraggableById, "getDraggableById");
|
|
@@ -111445,7 +111525,7 @@ function createRegistry() {
|
|
|
111445
111525
|
__name(findDroppableById, "findDroppableById");
|
|
111446
111526
|
function getDroppableById(id2) {
|
|
111447
111527
|
const entry = findDroppableById(id2);
|
|
111448
|
-
!entry ? invariant$1() : void 0;
|
|
111528
|
+
!entry ? invariant$1(false) : void 0;
|
|
111449
111529
|
return entry;
|
|
111450
111530
|
}
|
|
111451
111531
|
__name(getDroppableById, "getDroppableById");
|
|
@@ -111499,7 +111579,7 @@ __name(useRegistry, "useRegistry");
|
|
|
111499
111579
|
var StoreContext = React__default$1.createContext(null);
|
|
111500
111580
|
var getBodyElement = /* @__PURE__ */ __name(() => {
|
|
111501
111581
|
const body = document.body;
|
|
111502
|
-
!body ? invariant$1() : void 0;
|
|
111582
|
+
!body ? invariant$1(false) : void 0;
|
|
111503
111583
|
return body;
|
|
111504
111584
|
}, "getBodyElement");
|
|
111505
111585
|
const visuallyHidden = {
|
|
@@ -111613,7 +111693,7 @@ function usePrevious(current) {
|
|
|
111613
111693
|
return ref2;
|
|
111614
111694
|
}
|
|
111615
111695
|
__name(usePrevious, "usePrevious");
|
|
111616
|
-
function
|
|
111696
|
+
function create5() {
|
|
111617
111697
|
let lock = null;
|
|
111618
111698
|
function isClaimed() {
|
|
111619
111699
|
return Boolean(lock);
|
|
@@ -111624,7 +111704,7 @@ function create4() {
|
|
|
111624
111704
|
}
|
|
111625
111705
|
__name(isActive2, "isActive2");
|
|
111626
111706
|
function claim(abandon) {
|
|
111627
|
-
!!lock ? invariant$1() : void 0;
|
|
111707
|
+
!!lock ? invariant$1(false) : void 0;
|
|
111628
111708
|
const newLock = {
|
|
111629
111709
|
abandon
|
|
111630
111710
|
};
|
|
@@ -111633,7 +111713,7 @@ function create4() {
|
|
|
111633
111713
|
}
|
|
111634
111714
|
__name(claim, "claim");
|
|
111635
111715
|
function release() {
|
|
111636
|
-
!lock ? invariant$1() : void 0;
|
|
111716
|
+
!lock ? invariant$1(false) : void 0;
|
|
111637
111717
|
lock = null;
|
|
111638
111718
|
}
|
|
111639
111719
|
__name(release, "release");
|
|
@@ -111652,7 +111732,7 @@ function create4() {
|
|
|
111652
111732
|
tryAbandon
|
|
111653
111733
|
};
|
|
111654
111734
|
}
|
|
111655
|
-
__name(
|
|
111735
|
+
__name(create5, "create");
|
|
111656
111736
|
function isDragging(state2) {
|
|
111657
111737
|
if (state2.phase === "IDLE" || state2.phase === "DROP_ANIMATING") {
|
|
111658
111738
|
return false;
|
|
@@ -111729,7 +111809,7 @@ function getCaptureBindings(_ref) {
|
|
|
111729
111809
|
phase.actions.move(point2);
|
|
111730
111810
|
return;
|
|
111731
111811
|
}
|
|
111732
|
-
!(phase.type === "PENDING") ? invariant$1() : void 0;
|
|
111812
|
+
!(phase.type === "PENDING") ? invariant$1(false) : void 0;
|
|
111733
111813
|
const pending = phase.point;
|
|
111734
111814
|
if (!isSloppyClickThresholdExceeded(pending, point2)) {
|
|
111735
111815
|
return;
|
|
@@ -111802,7 +111882,7 @@ function getCaptureBindings(_ref) {
|
|
|
111802
111882
|
eventName: "webkitmouseforcedown",
|
|
111803
111883
|
fn: (event) => {
|
|
111804
111884
|
const phase = getPhase();
|
|
111805
|
-
!(phase.type !== "IDLE") ? invariant$1() : void 0;
|
|
111885
|
+
!(phase.type !== "IDLE") ? invariant$1(false) : void 0;
|
|
111806
111886
|
if (phase.actions.shouldRespectForcePress()) {
|
|
111807
111887
|
cancel();
|
|
111808
111888
|
return;
|
|
@@ -111925,7 +112005,7 @@ function useMouseSensor(api) {
|
|
|
111925
112005
|
unbindEventsRef.current = bindEvents(window, bindings, options);
|
|
111926
112006
|
}, "bindCapturingEvents2"), [cancel, stop]);
|
|
111927
112007
|
const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
|
|
111928
|
-
!(phaseRef.current.type === "IDLE") ? invariant$1() : void 0;
|
|
112008
|
+
!(phaseRef.current.type === "IDLE") ? invariant$1(false) : void 0;
|
|
111929
112009
|
phaseRef.current = {
|
|
111930
112010
|
type: "PENDING",
|
|
111931
112011
|
point: point2,
|
|
@@ -112067,7 +112147,7 @@ function useKeyboardSensor(api) {
|
|
|
112067
112147
|
const actions2 = preDrag.snapLift();
|
|
112068
112148
|
unbindEventsRef.current();
|
|
112069
112149
|
function stop() {
|
|
112070
|
-
!isCapturing ? invariant$1() : void 0;
|
|
112150
|
+
!isCapturing ? invariant$1(false) : void 0;
|
|
112071
112151
|
isCapturing = false;
|
|
112072
112152
|
unbindEventsRef.current();
|
|
112073
112153
|
listenForCapture();
|
|
@@ -112202,7 +112282,7 @@ function getHandleBindings(_ref2) {
|
|
|
112202
112282
|
eventName: "touchforcechange",
|
|
112203
112283
|
fn: (event) => {
|
|
112204
112284
|
const phase = getPhase();
|
|
112205
|
-
!(phase.type !== "IDLE") ? invariant$1() : void 0;
|
|
112285
|
+
!(phase.type !== "IDLE") ? invariant$1(false) : void 0;
|
|
112206
112286
|
const touch = event.touches[0];
|
|
112207
112287
|
if (!touch) {
|
|
112208
112288
|
return;
|
|
@@ -112331,7 +112411,7 @@ function useTouchSensor(api) {
|
|
|
112331
112411
|
}, "bindCapturingEvents2"), [cancel, getPhase, stop]);
|
|
112332
112412
|
const startDragging = useCallback(/* @__PURE__ */ __name(function startDragging2() {
|
|
112333
112413
|
const phase = getPhase();
|
|
112334
|
-
!(phase.type === "PENDING") ? invariant$1() : void 0;
|
|
112414
|
+
!(phase.type === "PENDING") ? invariant$1(false) : void 0;
|
|
112335
112415
|
const actions2 = phase.actions.fluidLift(phase.point);
|
|
112336
112416
|
setPhase({
|
|
112337
112417
|
type: "DRAGGING",
|
|
@@ -112340,7 +112420,7 @@ function useTouchSensor(api) {
|
|
|
112340
112420
|
});
|
|
112341
112421
|
}, "startDragging2"), [getPhase, setPhase]);
|
|
112342
112422
|
const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
|
|
112343
|
-
!(getPhase().type === "IDLE") ? invariant$1() : void 0;
|
|
112423
|
+
!(getPhase().type === "IDLE") ? invariant$1(false) : void 0;
|
|
112344
112424
|
const longPressTimerId = setTimeout(startDragging, timeForLongPress);
|
|
112345
112425
|
setPhase({
|
|
112346
112426
|
type: "PENDING",
|
|
@@ -112576,7 +112656,7 @@ function tryStart(_ref3) {
|
|
|
112576
112656
|
__name(completed, "completed");
|
|
112577
112657
|
if (phase !== "PRE_DRAG") {
|
|
112578
112658
|
completed();
|
|
112579
|
-
invariant$1();
|
|
112659
|
+
invariant$1(false);
|
|
112580
112660
|
}
|
|
112581
112661
|
store2.dispatch(lift$1(args.liftActionArgs));
|
|
112582
112662
|
phase = "DRAGGING";
|
|
@@ -112695,7 +112775,7 @@ function useSensorMarshal(_ref4) {
|
|
|
112695
112775
|
enableDefaultSensors
|
|
112696
112776
|
} = _ref4;
|
|
112697
112777
|
const useSensors = [...enableDefaultSensors ? defaultSensors : [], ...customSensors || []];
|
|
112698
|
-
const lockAPI = useState(() =>
|
|
112778
|
+
const lockAPI = useState(() => create5())[0];
|
|
112699
112779
|
const tryAbandonLock = useCallback(/* @__PURE__ */ __name(function tryAbandonLock2(previous2, current) {
|
|
112700
112780
|
if (isDragging(previous2) && !isDragging(current)) {
|
|
112701
112781
|
lockAPI.tryAbandon();
|
|
@@ -112780,7 +112860,7 @@ const createAutoScrollerOptions = /* @__PURE__ */ __name((props) => __spreadProp
|
|
|
112780
112860
|
durationDampening: __spreadValues(__spreadValues({}, defaultAutoScrollerOptions.durationDampening), props.autoScrollerOptions)
|
|
112781
112861
|
}), "createAutoScrollerOptions");
|
|
112782
112862
|
function getStore(lazyRef) {
|
|
112783
|
-
!lazyRef.current ? invariant$1() : void 0;
|
|
112863
|
+
!lazyRef.current ? invariant$1(false) : void 0;
|
|
112784
112864
|
return lazyRef.current;
|
|
112785
112865
|
}
|
|
112786
112866
|
__name(getStore, "getStore");
|
|
@@ -113025,7 +113105,7 @@ function useDraggablePublisher(args) {
|
|
|
113025
113105
|
}), [canDragInteractiveElements, isEnabled, shouldRespectForcePress]);
|
|
113026
113106
|
const getDimension2 = useCallback((windowScroll) => {
|
|
113027
113107
|
const el = getDraggableRef();
|
|
113028
|
-
!el ? invariant$1() : void 0;
|
|
113108
|
+
!el ? invariant$1(false) : void 0;
|
|
113029
113109
|
return getDimension$1(descriptor2, el, windowScroll);
|
|
113030
113110
|
}, [descriptor2, getDraggableRef]);
|
|
113031
113111
|
const entry = useMemo(() => ({
|
|
@@ -113054,7 +113134,7 @@ __name(useDraggablePublisher, "useDraggablePublisher");
|
|
|
113054
113134
|
var DroppableContext = React__default$1.createContext(null);
|
|
113055
113135
|
function useRequiredContext(Context) {
|
|
113056
113136
|
const result = useContext(Context);
|
|
113057
|
-
!result ? invariant$1() : void 0;
|
|
113137
|
+
!result ? invariant$1(false) : void 0;
|
|
113058
113138
|
return result;
|
|
113059
113139
|
}
|
|
113060
113140
|
__name(useRequiredContext, "useRequiredContext");
|
|
@@ -113618,7 +113698,7 @@ function useDroppablePublisher(args) {
|
|
|
113618
113698
|
}), [args.droppableId, args.mode, args.type]);
|
|
113619
113699
|
const publishedDescriptorRef = useRef(descriptor2);
|
|
113620
113700
|
const memoizedUpdateScroll = useMemo(() => memoizeOne((x, y2) => {
|
|
113621
|
-
!whileDraggingRef.current ? invariant$1() : void 0;
|
|
113701
|
+
!whileDraggingRef.current ? invariant$1(false) : void 0;
|
|
113622
113702
|
const scroll3 = {
|
|
113623
113703
|
x,
|
|
113624
113704
|
y: y2
|
|
@@ -113640,7 +113720,7 @@ function useDroppablePublisher(args) {
|
|
|
113640
113720
|
const onClosestScroll = useCallback(() => {
|
|
113641
113721
|
const dragging = whileDraggingRef.current;
|
|
113642
113722
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113643
|
-
!(dragging && closest2) ? invariant$1() : void 0;
|
|
113723
|
+
!(dragging && closest2) ? invariant$1(false) : void 0;
|
|
113644
113724
|
const options = dragging.scrollOptions;
|
|
113645
113725
|
if (options.shouldPublishImmediately) {
|
|
113646
113726
|
updateScroll();
|
|
@@ -113649,10 +113729,10 @@ function useDroppablePublisher(args) {
|
|
|
113649
113729
|
scheduleScrollUpdate();
|
|
113650
113730
|
}, [scheduleScrollUpdate, updateScroll]);
|
|
113651
113731
|
const getDimensionAndWatchScroll = useCallback((windowScroll, options) => {
|
|
113652
|
-
!!whileDraggingRef.current ? invariant$1() : void 0;
|
|
113732
|
+
!!whileDraggingRef.current ? invariant$1(false) : void 0;
|
|
113653
113733
|
const previous2 = previousRef.current;
|
|
113654
113734
|
const ref2 = previous2.getDroppableRef();
|
|
113655
|
-
!ref2 ? invariant$1() : void 0;
|
|
113735
|
+
!ref2 ? invariant$1(false) : void 0;
|
|
113656
113736
|
const env = getEnv(ref2);
|
|
113657
113737
|
const dragging = {
|
|
113658
113738
|
ref: ref2,
|
|
@@ -113681,12 +113761,12 @@ function useDroppablePublisher(args) {
|
|
|
113681
113761
|
const getScrollWhileDragging = useCallback(() => {
|
|
113682
113762
|
const dragging = whileDraggingRef.current;
|
|
113683
113763
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113684
|
-
!(dragging && closest2) ? invariant$1() : void 0;
|
|
113764
|
+
!(dragging && closest2) ? invariant$1(false) : void 0;
|
|
113685
113765
|
return getScroll$2(closest2);
|
|
113686
113766
|
}, []);
|
|
113687
113767
|
const dragStopped = useCallback(() => {
|
|
113688
113768
|
const dragging = whileDraggingRef.current;
|
|
113689
|
-
!dragging ? invariant$1() : void 0;
|
|
113769
|
+
!dragging ? invariant$1(false) : void 0;
|
|
113690
113770
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113691
113771
|
whileDraggingRef.current = null;
|
|
113692
113772
|
if (!closest2) {
|
|
@@ -113702,9 +113782,9 @@ function useDroppablePublisher(args) {
|
|
|
113702
113782
|
}, [onClosestScroll, scheduleScrollUpdate]);
|
|
113703
113783
|
const scroll2 = useCallback((change2) => {
|
|
113704
113784
|
const dragging = whileDraggingRef.current;
|
|
113705
|
-
!dragging ? invariant$1() : void 0;
|
|
113785
|
+
!dragging ? invariant$1(false) : void 0;
|
|
113706
113786
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113707
|
-
!closest2 ? invariant$1() : void 0;
|
|
113787
|
+
!closest2 ? invariant$1(false) : void 0;
|
|
113708
113788
|
closest2.scrollTop += change2.y;
|
|
113709
113789
|
closest2.scrollLeft += change2.x;
|
|
113710
113790
|
}, []);
|
|
@@ -113914,7 +113994,7 @@ __name(_AnimateInOut, "AnimateInOut");
|
|
|
113914
113994
|
let AnimateInOut = _AnimateInOut;
|
|
113915
113995
|
const Droppable = /* @__PURE__ */ __name((props) => {
|
|
113916
113996
|
const appContext = useContext(AppContext);
|
|
113917
|
-
!appContext ? invariant$1() : void 0;
|
|
113997
|
+
!appContext ? invariant$1(false) : void 0;
|
|
113918
113998
|
const {
|
|
113919
113999
|
contextId,
|
|
113920
114000
|
isMovementAllowed: isMovementAllowed2
|
|
@@ -114133,7 +114213,7 @@ const mapDispatchToProps = {
|
|
|
114133
114213
|
updateViewportMaxScroll
|
|
114134
114214
|
};
|
|
114135
114215
|
function getBody() {
|
|
114136
|
-
!document.body ? invariant$1() : void 0;
|
|
114216
|
+
!document.body ? invariant$1(false) : void 0;
|
|
114137
114217
|
return document.body;
|
|
114138
114218
|
}
|
|
114139
114219
|
__name(getBody, "getBody");
|
|
@@ -114225,6 +114305,8 @@ var clipboard = { exports: {} };
|
|
|
114225
114305
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
114226
114306
|
if (protoProps)
|
|
114227
114307
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
114308
|
+
if (staticProps)
|
|
114309
|
+
_defineProperties2(Constructor, staticProps);
|
|
114228
114310
|
return Constructor;
|
|
114229
114311
|
}
|
|
114230
114312
|
__name(_createClass2, "_createClass");
|
|
@@ -118861,7 +118943,7 @@ const Labels$2 = onlyUpdateForKeys([
|
|
|
118861
118943
|
"editorName"
|
|
118862
118944
|
])(Labels$1);
|
|
118863
118945
|
const DrawLabel = withHover(
|
|
118864
|
-
(
|
|
118946
|
+
(_w = class extends React__default$1.Component {
|
|
118865
118947
|
render() {
|
|
118866
118948
|
const {
|
|
118867
118949
|
hovered,
|
|
@@ -118965,7 +119047,7 @@ const DrawLabel = withHover(
|
|
|
118965
119047
|
}
|
|
118966
119048
|
));
|
|
118967
119049
|
}
|
|
118968
|
-
}, __name(
|
|
119050
|
+
}, __name(_w, "DrawLabelInner"), _w)
|
|
118969
119051
|
);
|
|
118970
119052
|
const labelClassNames = {
|
|
118971
119053
|
cutsites: "veCutsiteLabel",
|
|
@@ -120863,7 +120945,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
120863
120945
|
}
|
|
120864
120946
|
__name(showFileDialog, "showFileDialog");
|
|
120865
120947
|
const name = "@teselagen/ove";
|
|
120866
|
-
const version = "0.5.
|
|
120948
|
+
const version = "0.5.12";
|
|
120867
120949
|
const main = "./src/index.js";
|
|
120868
120950
|
const type = "module";
|
|
120869
120951
|
const exports$1 = {
|
|
@@ -120943,8 +121025,8 @@ const useAnnotationLimits = /* @__PURE__ */ __name(() => useLocalStorageState("a
|
|
|
120943
121025
|
cutsites: 100
|
|
120944
121026
|
}
|
|
120945
121027
|
}), "useAnnotationLimits");
|
|
120946
|
-
function LimitAnnotations(
|
|
120947
|
-
var
|
|
121028
|
+
function LimitAnnotations(_x) {
|
|
121029
|
+
var _y = _x, { type: type2 } = _y, rest = __objRest(_y, ["type"]);
|
|
120948
121030
|
const [limits = {}, setLimits] = useAnnotationLimits();
|
|
120949
121031
|
return /* @__PURE__ */ React__default$1.createElement(MenuItem, __spreadValues({ icon: "blank", shouldDismissPopover: false }, rest), [50, 100, 200, 400].map((n2) => /* @__PURE__ */ React__default$1.createElement(
|
|
120950
121032
|
MenuItem,
|
|
@@ -123182,7 +123264,7 @@ var classCallCheck = /* @__PURE__ */ __name(function(instance, Constructor) {
|
|
|
123182
123264
|
}
|
|
123183
123265
|
}, "classCallCheck");
|
|
123184
123266
|
var createClass = /* @__PURE__ */ function() {
|
|
123185
|
-
function
|
|
123267
|
+
function defineProperties4(target, props) {
|
|
123186
123268
|
for (var i = 0; i < props.length; i++) {
|
|
123187
123269
|
var descriptor2 = props[i];
|
|
123188
123270
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -123192,12 +123274,12 @@ var createClass = /* @__PURE__ */ function() {
|
|
|
123192
123274
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
123193
123275
|
}
|
|
123194
123276
|
}
|
|
123195
|
-
__name(
|
|
123277
|
+
__name(defineProperties4, "defineProperties");
|
|
123196
123278
|
return function(Constructor, protoProps, staticProps) {
|
|
123197
123279
|
if (protoProps)
|
|
123198
|
-
|
|
123280
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
123199
123281
|
if (staticProps)
|
|
123200
|
-
|
|
123282
|
+
defineProperties4(Constructor, staticProps);
|
|
123201
123283
|
return Constructor;
|
|
123202
123284
|
};
|
|
123203
123285
|
}();
|
|
@@ -127103,7 +127185,7 @@ const commonConfigResolver = {
|
|
|
127103
127185
|
};
|
|
127104
127186
|
const DEFAULT_AXIS_THRESHOLD = 0;
|
|
127105
127187
|
const coordinatesConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigResolver), {}, {
|
|
127106
|
-
axis(
|
|
127188
|
+
axis(_v2, _k, {
|
|
127107
127189
|
axis
|
|
127108
127190
|
}) {
|
|
127109
127191
|
this.lockDirection = axis === "lock";
|
|
@@ -127177,7 +127259,7 @@ const DEFAULT_DRAG_AXIS_THRESHOLD = {
|
|
|
127177
127259
|
pen: 8
|
|
127178
127260
|
};
|
|
127179
127261
|
_objectSpread2$1(_objectSpread2$1({}, coordinatesConfigResolver), {}, {
|
|
127180
|
-
device(
|
|
127262
|
+
device(_v2, _k, {
|
|
127181
127263
|
pointer: {
|
|
127182
127264
|
touch = false,
|
|
127183
127265
|
lock = false,
|
|
@@ -127203,7 +127285,7 @@ _objectSpread2$1(_objectSpread2$1({}, coordinatesConfigResolver), {}, {
|
|
|
127203
127285
|
return void 0;
|
|
127204
127286
|
return value ? value : preventScroll !== void 0 ? "y" : void 0;
|
|
127205
127287
|
},
|
|
127206
|
-
pointerCapture(
|
|
127288
|
+
pointerCapture(_v2, _k, {
|
|
127207
127289
|
pointer: {
|
|
127208
127290
|
capture = true,
|
|
127209
127291
|
buttons = 1,
|
|
@@ -127534,7 +127616,7 @@ const _PinchEngine = class _PinchEngine extends Engine {
|
|
|
127534
127616
|
__name(_PinchEngine, "PinchEngine");
|
|
127535
127617
|
let PinchEngine = _PinchEngine;
|
|
127536
127618
|
const pinchConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigResolver), {}, {
|
|
127537
|
-
device(
|
|
127619
|
+
device(_v2, _k, {
|
|
127538
127620
|
shared: shared2,
|
|
127539
127621
|
pointer: {
|
|
127540
127622
|
touch = false
|
|
@@ -127552,7 +127634,7 @@ const pinchConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigRe
|
|
|
127552
127634
|
return "touch";
|
|
127553
127635
|
}
|
|
127554
127636
|
},
|
|
127555
|
-
bounds(
|
|
127637
|
+
bounds(_v2, _k, {
|
|
127556
127638
|
scaleBounds = {},
|
|
127557
127639
|
angleBounds = {}
|
|
127558
127640
|
}) {
|
|
@@ -128851,7 +128933,7 @@ const _Minimap = class _Minimap extends React__default$1.Component {
|
|
|
128851
128933
|
__name(_Minimap, "Minimap");
|
|
128852
128934
|
let Minimap = _Minimap;
|
|
128853
128935
|
const YellowScrollHandle = view(
|
|
128854
|
-
(
|
|
128936
|
+
(_z = class extends React__default$1.Component {
|
|
128855
128937
|
render() {
|
|
128856
128938
|
const {
|
|
128857
128939
|
scrollHandleWidth,
|
|
@@ -129006,7 +129088,7 @@ const YellowScrollHandle = view(
|
|
|
129006
129088
|
)
|
|
129007
129089
|
);
|
|
129008
129090
|
}
|
|
129009
|
-
}, __name(
|
|
129091
|
+
}, __name(_z, "YellowScrollHandleInner"), _z)
|
|
129010
129092
|
);
|
|
129011
129093
|
function getTrimmedRangesToDisplay({ trimmedRange, seqLen }) {
|
|
129012
129094
|
if (!trimmedRange)
|
|
@@ -129379,14 +129461,14 @@ function getRangeAnglesSpecial() {
|
|
|
129379
129461
|
}, rest);
|
|
129380
129462
|
}
|
|
129381
129463
|
__name(getRangeAnglesSpecial, "getRangeAnglesSpecial");
|
|
129382
|
-
function PositionAnnotationOnCircle(
|
|
129383
|
-
var
|
|
129464
|
+
function PositionAnnotationOnCircle(_A) {
|
|
129465
|
+
var _B = _A, {
|
|
129384
129466
|
children,
|
|
129385
129467
|
height: height2 = 0,
|
|
129386
129468
|
sAngle = 0,
|
|
129387
129469
|
eAngle = 0,
|
|
129388
129470
|
forward = true
|
|
129389
|
-
} =
|
|
129471
|
+
} = _B, rest = __objRest(_B, [
|
|
129390
129472
|
"children",
|
|
129391
129473
|
"height",
|
|
129392
129474
|
"sAngle",
|
|
@@ -133905,7 +133987,7 @@ const SelectDialog = compose$1(
|
|
|
133905
133987
|
}),
|
|
133906
133988
|
tgFormValues("from", "to")
|
|
133907
133989
|
)(
|
|
133908
|
-
(
|
|
133990
|
+
(_C = class extends React__default$1.Component {
|
|
133909
133991
|
constructor() {
|
|
133910
133992
|
super(...arguments);
|
|
133911
133993
|
__publicField(this, "updateTempHighlight", /* @__PURE__ */ __name(({ isStart, isEnd } = {}) => (val2) => {
|
|
@@ -134016,7 +134098,7 @@ const SelectDialog = compose$1(
|
|
|
134016
134098
|
))
|
|
134017
134099
|
);
|
|
134018
134100
|
}
|
|
134019
|
-
}, __name(
|
|
134101
|
+
}, __name(_C, "SelectDialog"), _C)
|
|
134020
134102
|
);
|
|
134021
134103
|
const normalizeToInt = /* @__PURE__ */ __name((val2) => {
|
|
134022
134104
|
const int2 = Math.round(val2);
|
|
@@ -135327,13 +135409,13 @@ const CompareEnzymeGroupsDialog = compose(
|
|
|
135327
135409
|
cutsiteOrGroupKey: group2
|
|
135328
135410
|
}));
|
|
135329
135411
|
const byNameLower = /* @__PURE__ */ __name((n2) => n2.name.toLowerCase(), "byNameLower");
|
|
135330
|
-
const shared2 = intersectionBy(
|
|
135412
|
+
const shared2 = intersectionBy$1(
|
|
135331
135413
|
g1.allEnzymesInGroup,
|
|
135332
135414
|
g2.allEnzymesInGroup,
|
|
135333
135415
|
byNameLower
|
|
135334
135416
|
);
|
|
135335
|
-
const g1Only = differenceBy(g1.allEnzymesInGroup, shared2, byNameLower);
|
|
135336
|
-
const g2Only = differenceBy(g2.allEnzymesInGroup, shared2, byNameLower);
|
|
135417
|
+
const g1Only = differenceBy$1(g1.allEnzymesInGroup, shared2, byNameLower);
|
|
135418
|
+
const g2Only = differenceBy$1(g2.allEnzymesInGroup, shared2, byNameLower);
|
|
135337
135419
|
return /* @__PURE__ */ React__default$1.createElement(
|
|
135338
135420
|
"div",
|
|
135339
135421
|
{
|
|
@@ -137471,8 +137553,8 @@ function getTrackFromEvent(event, allTracks) {
|
|
|
137471
137553
|
return track2;
|
|
137472
137554
|
}
|
|
137473
137555
|
__name(getTrackFromEvent, "getTrackFromEvent");
|
|
137474
|
-
const PerformantSelectionLayer = view((
|
|
137475
|
-
var
|
|
137556
|
+
const PerformantSelectionLayer = view((_D) => {
|
|
137557
|
+
var _E = _D, { easyStore: easyStore2 } = _E, rest = __objRest(_E, ["easyStore"]);
|
|
137476
137558
|
const seqLen = rest.sequenceLength - 1;
|
|
137477
137559
|
return /* @__PURE__ */ React__default$1.createElement(
|
|
137478
137560
|
SelectionLayer$3,
|
|
@@ -139312,8 +139394,8 @@ const AlignmentView$1 = compose(
|
|
|
139312
139394
|
})
|
|
139313
139395
|
)
|
|
139314
139396
|
)(AlignmentView);
|
|
139315
|
-
const PerformantCaret = view((
|
|
139316
|
-
var
|
|
139397
|
+
const PerformantCaret = view((_F) => {
|
|
139398
|
+
var _G = _F, { easyStore: easyStore2 } = _G, rest = __objRest(_G, ["easyStore"]);
|
|
139317
139399
|
return /* @__PURE__ */ React__default$1.createElement(Caret$2, __spreadValues({ caretPosition: easyStore2.caretPosition }, rest));
|
|
139318
139400
|
});
|
|
139319
139401
|
function cleanTracks(alignmentTracks) {
|
|
@@ -140836,7 +140918,7 @@ function withContentRect(types2) {
|
|
|
140836
140918
|
_this._node = null;
|
|
140837
140919
|
_this._window = null;
|
|
140838
140920
|
_this.measure = function(entries2) {
|
|
140839
|
-
var contentRect = getContentRect(_this._node, getTypes(_this.props));
|
|
140921
|
+
var contentRect = getContentRect(_this._node, types2 || getTypes(_this.props));
|
|
140840
140922
|
if (entries2) {
|
|
140841
140923
|
contentRect.entry = entries2[0].contentRect;
|
|
140842
140924
|
}
|
|
@@ -140878,7 +140960,7 @@ function withContentRect(types2) {
|
|
|
140878
140960
|
if (this._node !== null) {
|
|
140879
140961
|
this._resizeObserver.observe(this._node);
|
|
140880
140962
|
if (typeof this.props.onResize === "function") {
|
|
140881
|
-
this.props.onResize(getContentRect(this._node, getTypes(this.props)));
|
|
140963
|
+
this.props.onResize(getContentRect(this._node, types2 || getTypes(this.props)));
|
|
140882
140964
|
}
|
|
140883
140965
|
}
|
|
140884
140966
|
}, "componentDidMount");
|
|
@@ -141168,7 +141250,7 @@ const importTool = compose(
|
|
|
141168
141250
|
ToolbarItem$1,
|
|
141169
141251
|
__spreadValues({}, __spreadValues({
|
|
141170
141252
|
Icon: /* @__PURE__ */ React__default$1.createElement(Icon, { "data-test": "veImportTool", icon: "export" }),
|
|
141171
|
-
IconWrapper: Dropzone,
|
|
141253
|
+
IconWrapper: Dropzone$1,
|
|
141172
141254
|
IconWrapperProps: {
|
|
141173
141255
|
multiple: false,
|
|
141174
141256
|
style: {},
|
|
@@ -141578,14 +141660,14 @@ const cutsiteTool = connectToEditor(
|
|
|
141578
141660
|
}, toolbarItemProps))
|
|
141579
141661
|
);
|
|
141580
141662
|
});
|
|
141581
|
-
function CutsiteToolDropDown(
|
|
141582
|
-
var
|
|
141663
|
+
function CutsiteToolDropDown(_H) {
|
|
141664
|
+
var _I = _H, {
|
|
141583
141665
|
editorName,
|
|
141584
141666
|
toggleDropdown,
|
|
141585
141667
|
annotationVisibilityShow: annotationVisibilityShow2,
|
|
141586
141668
|
withDigestTool,
|
|
141587
141669
|
createNewDigest: createNewDigest2
|
|
141588
|
-
} =
|
|
141670
|
+
} = _I, rest = __objRest(_I, [
|
|
141589
141671
|
"editorName",
|
|
141590
141672
|
"toggleDropdown",
|
|
141591
141673
|
"annotationVisibilityShow",
|
|
@@ -141713,7 +141795,7 @@ const orfTool = connectToEditor(
|
|
|
141713
141795
|
);
|
|
141714
141796
|
});
|
|
141715
141797
|
const OrfToolDropdown = withEditorProps(
|
|
141716
|
-
(
|
|
141798
|
+
(_J = class extends React__default$1.Component {
|
|
141717
141799
|
constructor(props) {
|
|
141718
141800
|
super(props);
|
|
141719
141801
|
this.commands = getCommands(this);
|
|
@@ -141739,7 +141821,7 @@ const OrfToolDropdown = withEditorProps(
|
|
|
141739
141821
|
}
|
|
141740
141822
|
));
|
|
141741
141823
|
}
|
|
141742
|
-
}, __name(
|
|
141824
|
+
}, __name(_J, "OrfDropdown"), _J)
|
|
141743
141825
|
);
|
|
141744
141826
|
const opts = [
|
|
141745
141827
|
{ label: "DNA", value: "DNA" },
|
|
@@ -142558,7 +142640,7 @@ const _DropHandler = class _DropHandler extends React__default$1.Component {
|
|
|
142558
142640
|
render() {
|
|
142559
142641
|
const { children, style: style2, className, disabled } = this.props;
|
|
142560
142642
|
return /* @__PURE__ */ React__default$1.createElement(
|
|
142561
|
-
Dropzone,
|
|
142643
|
+
Dropzone$1,
|
|
142562
142644
|
{
|
|
142563
142645
|
disabled,
|
|
142564
142646
|
onClick: (evt) => evt.preventDefault(),
|
|
@@ -143869,7 +143951,7 @@ function Ladder({
|
|
|
143869
143951
|
style: { position: "absolute", top: 5, right: 5, color: "white" },
|
|
143870
143952
|
onClick: () => __async(this, null, function* () {
|
|
143871
143953
|
try {
|
|
143872
|
-
const canvas = yield import("./html2canvas.esm
|
|
143954
|
+
const canvas = yield import("./html2canvas.esm-nFNn58sx.js");
|
|
143873
143955
|
canvas.default(document.querySelector(".ve-digest-container")).then((canvas2) => {
|
|
143874
143956
|
canvas2.toBlob(
|
|
143875
143957
|
(blob) => navigator.clipboard.write([
|
|
@@ -146670,6 +146752,8 @@ __name(_defineProperties, "_defineProperties");
|
|
|
146670
146752
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
146671
146753
|
if (protoProps)
|
|
146672
146754
|
_defineProperties(Constructor.prototype, protoProps);
|
|
146755
|
+
if (staticProps)
|
|
146756
|
+
_defineProperties(Constructor, staticProps);
|
|
146673
146757
|
return Constructor;
|
|
146674
146758
|
}
|
|
146675
146759
|
__name(_createClass, "_createClass");
|
|
@@ -147136,8 +147220,8 @@ function StandaloneVersionHistoryView(props) {
|
|
|
147136
147220
|
return /* @__PURE__ */ React__default$1.createElement(Provider, { store }, /* @__PURE__ */ React__default$1.createElement(VersionHistoryView$1, __spreadValues({}, __spreadValues({}, props))));
|
|
147137
147221
|
}
|
|
147138
147222
|
__name(StandaloneVersionHistoryView, "StandaloneVersionHistoryView");
|
|
147139
|
-
function createVectorEditor(_node,
|
|
147140
|
-
var
|
|
147223
|
+
function createVectorEditor(_node, _K = {}) {
|
|
147224
|
+
var _L = _K, { editorName = "StandaloneEditor" } = _L, rest = __objRest(_L, ["editorName"]);
|
|
147141
147225
|
if (!store) {
|
|
147142
147226
|
store = makeStore();
|
|
147143
147227
|
}
|
|
@@ -147170,8 +147254,8 @@ function createVectorEditor(_node, _I = {}) {
|
|
|
147170
147254
|
return editor;
|
|
147171
147255
|
}
|
|
147172
147256
|
__name(createVectorEditor, "createVectorEditor");
|
|
147173
|
-
function createVersionHistoryView(node2,
|
|
147174
|
-
var
|
|
147257
|
+
function createVersionHistoryView(node2, _M = {}) {
|
|
147258
|
+
var _N = _M, { editorName = "StandaloneVersionHistoryView" } = _N, rest = __objRest(_N, ["editorName"]);
|
|
147175
147259
|
if (!store) {
|
|
147176
147260
|
store = makeStore();
|
|
147177
147261
|
}
|