dbf-mirador 4.2.3
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/LICENSE +203 -0
- package/README.md +133 -0
- package/dist/CommentSharp-B0J_-jEq.js +325 -0
- package/dist/CommentSharp-B0J_-jEq.js.map +1 -0
- package/dist/FailedImageContext-aQXnWSHN.js +318 -0
- package/dist/FailedImageContext-aQXnWSHN.js.map +1 -0
- package/dist/PluginHook-CFw_6P5c.js +54 -0
- package/dist/PluginHook-CFw_6P5c.js.map +1 -0
- package/dist/WindowCanvasNavigationControls-CUX723BQ.js +242 -0
- package/dist/WindowCanvasNavigationControls-CUX723BQ.js.map +1 -0
- package/dist/action-types-DjIbTE-A.js +74 -0
- package/dist/action-types-DjIbTE-A.js.map +1 -0
- package/dist/canvas-C8oHvXFN.js +41 -0
- package/dist/canvas-C8oHvXFN.js.map +1 -0
- package/dist/canvases-gRqhr-IH.js +3154 -0
- package/dist/canvases-gRqhr-IH.js.map +1 -0
- package/dist/createSvgIcon-Cwt8YPfm.js +2 -0
- package/dist/getters-COus7Mvg.js +2066 -0
- package/dist/getters-COus7Mvg.js.map +1 -0
- package/dist/index.module-CbBRf_R8.js +403 -0
- package/dist/index.module-CbBRf_R8.js.map +1 -0
- package/dist/mirador.es.js +39600 -0
- package/dist/mirador.es.js.map +1 -0
- package/dist/mirador.min.js +334 -0
- package/dist/mirador.min.js.map +1 -0
- package/dist/react-error-boundary.esm-B_pT-oCS.js +67 -0
- package/dist/react-error-boundary.esm-B_pT-oCS.js.map +1 -0
- package/dist/visuallyHidden-DmYvwNdU.js +98 -0
- package/dist/visuallyHidden-DmYvwNdU.js.map +1 -0
- package/dist/window-zelwU7wz.js +138 -0
- package/dist/window-zelwU7wz.js.map +1 -0
- package/package.json +138 -0
- package/src/components/AccessTokenSender.jsx +34 -0
- package/src/components/AnnotationSettings.jsx +31 -0
- package/src/components/AnnotationsOverlay.jsx +328 -0
- package/src/components/App.jsx +34 -0
- package/src/components/AppProviders.jsx +129 -0
- package/src/components/AttributionPanel.jsx +78 -0
- package/src/components/AudioViewer.jsx +39 -0
- package/src/components/BackgroundPluginArea.jsx +9 -0
- package/src/components/Branding.jsx +33 -0
- package/src/components/CanvasAnnotations.jsx +125 -0
- package/src/components/CanvasInfo.jsx +46 -0
- package/src/components/CanvasLayers.jsx +367 -0
- package/src/components/ChangeThemeDialog.jsx +65 -0
- package/src/components/CollapsibleSection.jsx +53 -0
- package/src/components/CollectionDialog.jsx +236 -0
- package/src/components/CollectionInfo.jsx +48 -0
- package/src/components/CompanionArea.jsx +140 -0
- package/src/components/CompanionWindow.jsx +228 -0
- package/src/components/CompanionWindowFactory.jsx +38 -0
- package/src/components/CompanionWindowSection.jsx +11 -0
- package/src/components/CustomPanel.jsx +22 -0
- package/src/components/ErrorContent.jsx +65 -0
- package/src/components/ErrorDialog.jsx +47 -0
- package/src/components/FullScreenButton.jsx +47 -0
- package/src/components/GalleryView.jsx +36 -0
- package/src/components/GalleryViewThumbnail.jsx +160 -0
- package/src/components/IIIFAuthentication.jsx +144 -0
- package/src/components/IIIFDropTarget.jsx +168 -0
- package/src/components/IIIFIFrameCommunication.jsx +45 -0
- package/src/components/IIIFResourceLabel.jsx +26 -0
- package/src/components/IIIFThumbnail.jsx +214 -0
- package/src/components/ImageFailureMessage.jsx +42 -0
- package/src/components/LabelValueMetadata.jsx +46 -0
- package/src/components/LanguageSettings.jsx +46 -0
- package/src/components/LayersPanel.jsx +24 -0
- package/src/components/LocalePicker.jsx +56 -0
- package/src/components/ManifestForm.jsx +79 -0
- package/src/components/ManifestInfo.jsx +67 -0
- package/src/components/ManifestListItem.jsx +209 -0
- package/src/components/ManifestListItemError.jsx +53 -0
- package/src/components/ManifestRelatedLinks.jsx +154 -0
- package/src/components/MinimalWindow.jsx +104 -0
- package/src/components/MiradorMenuButton.jsx +71 -0
- package/src/components/MosaicRenderPreview.jsx +16 -0
- package/src/components/NestedMenu.jsx +42 -0
- package/src/components/NewBrowserWindow.jsx +34 -0
- package/src/components/OpenSeadragonComponent.jsx +258 -0
- package/src/components/OpenSeadragonTileSource.jsx +105 -0
- package/src/components/OpenSeadragonViewer.jsx +161 -0
- package/src/components/PluginHook.jsx +27 -0
- package/src/components/PrimaryWindow.jsx +115 -0
- package/src/components/SanitizedHtml.jsx +37 -0
- package/src/components/ScrollIndicatedDialogContent.jsx +60 -0
- package/src/components/ScrollTo.jsx +61 -0
- package/src/components/SearchHit.jsx +220 -0
- package/src/components/SearchPanel.jsx +80 -0
- package/src/components/SearchPanelControls.jsx +174 -0
- package/src/components/SearchPanelNavigation.jsx +84 -0
- package/src/components/SearchResults.jsx +138 -0
- package/src/components/SelectCollection.jsx +44 -0
- package/src/components/SidebarIndexItem.jsx +11 -0
- package/src/components/SidebarIndexList.jsx +73 -0
- package/src/components/SidebarIndexTableOfContents.jsx +170 -0
- package/src/components/SidebarIndexThumbnail.jsx +22 -0
- package/src/components/TextViewer.jsx +37 -0
- package/src/components/ThumbnailCanvasGrouping.jsx +122 -0
- package/src/components/ThumbnailNavigation.jsx +231 -0
- package/src/components/VideoViewer.jsx +35 -0
- package/src/components/ViewerInfo.jsx +55 -0
- package/src/components/ViewerNavigation.jsx +72 -0
- package/src/components/Window.jsx +150 -0
- package/src/components/WindowAuthenticationBar.jsx +176 -0
- package/src/components/WindowCanvasNavigationControls.jsx +91 -0
- package/src/components/WindowList.jsx +71 -0
- package/src/components/WindowListButton.jsx +57 -0
- package/src/components/WindowSideBar.jsx +48 -0
- package/src/components/WindowSideBarAnnotationsPanel.jsx +51 -0
- package/src/components/WindowSideBarButtons.jsx +151 -0
- package/src/components/WindowSideBarCanvasPanel.jsx +165 -0
- package/src/components/WindowSideBarCollectionPanel.jsx +179 -0
- package/src/components/WindowSideBarInfoPanel.jsx +67 -0
- package/src/components/WindowThumbnailSettings.jsx +130 -0
- package/src/components/WindowTopBar.jsx +125 -0
- package/src/components/WindowTopBarPluginArea.jsx +8 -0
- package/src/components/WindowTopBarPluginMenu.jsx +78 -0
- package/src/components/WindowTopBarTitle.jsx +73 -0
- package/src/components/WindowTopMenu.jsx +81 -0
- package/src/components/WindowTopMenuButton.jsx +49 -0
- package/src/components/WindowViewSettings.jsx +95 -0
- package/src/components/WindowViewer.jsx +26 -0
- package/src/components/Workspace.jsx +124 -0
- package/src/components/WorkspaceAdd.jsx +221 -0
- package/src/components/WorkspaceAddButton.jsx +73 -0
- package/src/components/WorkspaceArea.jsx +66 -0
- package/src/components/WorkspaceControlPanel.jsx +85 -0
- package/src/components/WorkspaceControlPanelButtons.jsx +20 -0
- package/src/components/WorkspaceDialog.jsx +11 -0
- package/src/components/WorkspaceElastic.jsx +88 -0
- package/src/components/WorkspaceElasticWindow.jsx +79 -0
- package/src/components/WorkspaceExport.jsx +99 -0
- package/src/components/WorkspaceImport.jsx +89 -0
- package/src/components/WorkspaceMenu.jsx +126 -0
- package/src/components/WorkspaceMenuButton.jsx +42 -0
- package/src/components/WorkspaceMosaic.jsx +149 -0
- package/src/components/WorkspaceOptionsButton.jsx +35 -0
- package/src/components/WorkspaceOptionsMenu.jsx +112 -0
- package/src/components/WorkspaceSelectionDialog.jsx +165 -0
- package/src/components/ZoomControls.jsx +57 -0
- package/src/components/icons/BookViewIcon.jsx +14 -0
- package/src/components/icons/CanvasIndexIcon.jsx +14 -0
- package/src/components/icons/GalleryViewIcon.jsx +17 -0
- package/src/components/icons/MiradorIcon.jsx +14 -0
- package/src/components/icons/RestoreZoomIcon.jsx +15 -0
- package/src/components/icons/ThumbnailNavigationBottomIcon.jsx +15 -0
- package/src/components/icons/ThumbnailNavigationRightIcon.jsx +16 -0
- package/src/components/icons/WindowMaxIcon.jsx +15 -0
- package/src/components/icons/WindowMinIcon.jsx +15 -0
- package/src/components/icons/WindowOptionsIcon.jsx +16 -0
- package/src/components/icons/WorkspaceTypeElasticIcon.jsx +157 -0
- package/src/components/icons/WorkspaceTypeMosaicIcon.jsx +162 -0
- package/src/components/icons/index.js +27 -0
- package/src/components/index.js +108 -0
- package/src/config/css-ns.js +10 -0
- package/src/config/index.js +2 -0
- package/src/config/settings.js +607 -0
- package/src/containers/AnnotationSettings.js +27 -0
- package/src/containers/AnnotationsOverlay.js +51 -0
- package/src/containers/AppProviders.js +20 -0
- package/src/containers/AttributionPanel.js +20 -0
- package/src/containers/AudioViewer.js +16 -0
- package/src/containers/BackgroundPluginArea.js +4 -0
- package/src/containers/Branding.js +4 -0
- package/src/containers/CanvasAnnotations.js +32 -0
- package/src/containers/CanvasInfo.js +20 -0
- package/src/containers/CanvasLayers.js +25 -0
- package/src/containers/ChangeThemeDialog.js +29 -0
- package/src/containers/CollapsibleSection.js +3 -0
- package/src/containers/CollectionDialog.js +48 -0
- package/src/containers/CollectionInfo.js +29 -0
- package/src/containers/CompanionArea.js +22 -0
- package/src/containers/CompanionWindow.js +40 -0
- package/src/containers/CompanionWindowFactory.js +23 -0
- package/src/containers/CustomPanel.js +13 -0
- package/src/containers/ErrorContent.js +20 -0
- package/src/containers/ErrorDialog.js +28 -0
- package/src/containers/FullScreenButton.js +22 -0
- package/src/containers/GalleryView.js +23 -0
- package/src/containers/GalleryViewThumbnail.js +51 -0
- package/src/containers/IIIFAuthentication.js +86 -0
- package/src/containers/IIIFThumbnail.js +17 -0
- package/src/containers/LabelValueMetadata.js +14 -0
- package/src/containers/LanguageSettings.js +26 -0
- package/src/containers/LayersPanel.js +16 -0
- package/src/containers/LocalePicker.js +3 -0
- package/src/containers/ManifestForm.js +16 -0
- package/src/containers/ManifestInfo.js +29 -0
- package/src/containers/ManifestListItem.js +52 -0
- package/src/containers/ManifestListItemError.js +15 -0
- package/src/containers/ManifestRelatedLinks.js +28 -0
- package/src/containers/MinimalWindow.js +25 -0
- package/src/containers/MiradorMenuButton.js +7 -0
- package/src/containers/MosaicRenderPreview.js +14 -0
- package/src/containers/OpenSeadragonViewer.js +59 -0
- package/src/containers/PrimaryWindow.js +27 -0
- package/src/containers/SanitizedHtml.js +3 -0
- package/src/containers/ScrollIndicatedDialogContent.js +3 -0
- package/src/containers/SearchHit.js +71 -0
- package/src/containers/SearchPanel.js +23 -0
- package/src/containers/SearchPanelControls.js +36 -0
- package/src/containers/SearchPanelNavigation.js +39 -0
- package/src/containers/SearchResults.js +38 -0
- package/src/containers/SelectCollection.js +24 -0
- package/src/containers/SidebarIndexItem.js +8 -0
- package/src/containers/SidebarIndexList.js +28 -0
- package/src/containers/SidebarIndexTableOfContents.js +31 -0
- package/src/containers/SidebarIndexThumbnail.js +18 -0
- package/src/containers/TextViewer.js +19 -0
- package/src/containers/ThumbnailCanvasGrouping.js +29 -0
- package/src/containers/ThumbnailNavigation.js +48 -0
- package/src/containers/VideoViewer.js +16 -0
- package/src/containers/ViewerInfo.js +30 -0
- package/src/containers/ViewerNavigation.js +31 -0
- package/src/containers/Window.js +45 -0
- package/src/containers/WindowAuthenticationBar.js +7 -0
- package/src/containers/WindowCanvasNavigationControls.js +15 -0
- package/src/containers/WindowList.js +30 -0
- package/src/containers/WindowListButton.js +15 -0
- package/src/containers/WindowSideBar.js +20 -0
- package/src/containers/WindowSideBarAnnotationsPanel.js +23 -0
- package/src/containers/WindowSideBarButtons.js +75 -0
- package/src/containers/WindowSideBarCanvasPanel.js +50 -0
- package/src/containers/WindowSideBarCollectionPanel.js +48 -0
- package/src/containers/WindowSideBarInfoPanel.js +35 -0
- package/src/containers/WindowThumbnailSettings.js +31 -0
- package/src/containers/WindowTopBar.js +39 -0
- package/src/containers/WindowTopBarPluginArea.js +8 -0
- package/src/containers/WindowTopBarPluginMenu.js +7 -0
- package/src/containers/WindowTopBarTitle.js +17 -0
- package/src/containers/WindowTopMenu.js +28 -0
- package/src/containers/WindowTopMenuButton.js +7 -0
- package/src/containers/WindowViewSettings.js +30 -0
- package/src/containers/WindowViewer.js +10 -0
- package/src/containers/Workspace.js +36 -0
- package/src/containers/WorkspaceAdd.js +27 -0
- package/src/containers/WorkspaceAddButton.js +30 -0
- package/src/containers/WorkspaceArea.js +21 -0
- package/src/containers/WorkspaceControlPanel.js +10 -0
- package/src/containers/WorkspaceControlPanelButtons.js +7 -0
- package/src/containers/WorkspaceElastic.js +41 -0
- package/src/containers/WorkspaceElasticWindow.js +36 -0
- package/src/containers/WorkspaceExport.js +18 -0
- package/src/containers/WorkspaceImport.js +19 -0
- package/src/containers/WorkspaceMenu.js +30 -0
- package/src/containers/WorkspaceMenuButton.js +10 -0
- package/src/containers/WorkspaceMosaic.js +32 -0
- package/src/containers/WorkspaceOptionsButton.js +7 -0
- package/src/containers/WorkspaceOptionsMenu.js +3 -0
- package/src/containers/WorkspaceSelectionDialog.js +26 -0
- package/src/containers/ZoomControls.js +26 -0
- package/src/containers/index.js +94 -0
- package/src/contexts/FailedImageContext.js +8 -0
- package/src/contexts/FailedImageProvider.jsx +34 -0
- package/src/contexts/FullScreenContext.js +5 -0
- package/src/contexts/LocaleContext.js +5 -0
- package/src/contexts/OpenSeadragonViewerContext.js +5 -0
- package/src/contexts/WorkspaceContext.js +5 -0
- package/src/contexts/index.js +4 -0
- package/src/extend/PluginContext.js +5 -0
- package/src/extend/PluginProvider.jsx +22 -0
- package/src/extend/index.js +9 -0
- package/src/extend/pluginMapping.js +44 -0
- package/src/extend/pluginPreprocessing.js +45 -0
- package/src/extend/pluginValidation.js +58 -0
- package/src/extend/usePlugins.js +13 -0
- package/src/extend/withPlugins.jsx +46 -0
- package/src/hooks/index.js +4 -0
- package/src/hooks/useCanvasWorldService.js +10 -0
- package/src/hooks/useThumbnailService.js +8 -0
- package/src/i18n.js +71 -0
- package/src/index.js +18 -0
- package/src/init.js +20 -0
- package/src/lib/AnnotationFactory.js +23 -0
- package/src/lib/AnnotationItem.js +123 -0
- package/src/lib/AnnotationList.js +31 -0
- package/src/lib/AnnotationPage.js +41 -0
- package/src/lib/AnnotationResource.js +122 -0
- package/src/lib/CanvasAnnotationDisplay.js +148 -0
- package/src/lib/CanvasGroupings.js +55 -0
- package/src/lib/CanvasWorld.js +214 -0
- package/src/lib/CompanionWindowRegistry.js +23 -0
- package/src/lib/FullScreenHandle.jsx +76 -0
- package/src/lib/MiradorCanvas.js +211 -0
- package/src/lib/MiradorManifest.js +44 -0
- package/src/lib/MiradorViewer.jsx +53 -0
- package/src/lib/MosaicLayout.js +77 -0
- package/src/lib/OpenSeadragonCanvasOverlay.js +114 -0
- package/src/lib/ThumbnailFactory.js +310 -0
- package/src/lib/TruncatedHit.js +34 -0
- package/src/lib/asArray.js +11 -0
- package/src/lib/htmlRules.js +28 -0
- package/src/lib/iiif.js +12 -0
- package/src/lib/index.js +23 -0
- package/src/lib/readImageMetadata.js +21 -0
- package/src/lib/svgShapesToPath.js +49 -0
- package/src/locales/README.md +60 -0
- package/src/locales/ar/translation.json +141 -0
- package/src/locales/bg/translation.json +164 -0
- package/src/locales/de/translation.json +169 -0
- package/src/locales/en/translation.json +170 -0
- package/src/locales/et/translation.json +164 -0
- package/src/locales/fa/translation.json +164 -0
- package/src/locales/fr/translation.json +158 -0
- package/src/locales/hr/translation.json +164 -0
- package/src/locales/hu/translation.json +166 -0
- package/src/locales/it/translation.json +162 -0
- package/src/locales/ja/translation.json +156 -0
- package/src/locales/kr/translation.json +162 -0
- package/src/locales/lt/translation.json +153 -0
- package/src/locales/nbNo/translation.json +162 -0
- package/src/locales/nl/translation.json +139 -0
- package/src/locales/pl/translation.json +162 -0
- package/src/locales/ptBr/translation.json +133 -0
- package/src/locales/sr/translation.json +155 -0
- package/src/locales/sv/translation.json +157 -0
- package/src/locales/ta/translation.json +167 -0
- package/src/locales/vi/translation.json +156 -0
- package/src/locales/zhCn/translation.json +163 -0
- package/src/locales/zhTw/translation.json +163 -0
- package/src/plugins/OSDReferences.js +15 -0
- package/src/plugins/index.js +1 -0
- package/src/state/actions/action-types.js +76 -0
- package/src/state/actions/annotation.js +123 -0
- package/src/state/actions/auth.js +109 -0
- package/src/state/actions/canvas.js +65 -0
- package/src/state/actions/catalog.js +22 -0
- package/src/state/actions/companionWindow.js +107 -0
- package/src/state/actions/config.js +49 -0
- package/src/state/actions/elasticLayout.js +10 -0
- package/src/state/actions/errors.js +22 -0
- package/src/state/actions/index.js +19 -0
- package/src/state/actions/infoResponse.js +90 -0
- package/src/state/actions/layers.js +14 -0
- package/src/state/actions/manifest.js +65 -0
- package/src/state/actions/search.js +97 -0
- package/src/state/actions/window.js +209 -0
- package/src/state/actions/workspace.js +84 -0
- package/src/state/createPluggableStore.js +24 -0
- package/src/state/createStore.js +33 -0
- package/src/state/index.js +21 -0
- package/src/state/reducers/accessTokens.js +59 -0
- package/src/state/reducers/annotations.js +48 -0
- package/src/state/reducers/auth.js +43 -0
- package/src/state/reducers/catalog.js +30 -0
- package/src/state/reducers/companionWindows.js +49 -0
- package/src/state/reducers/config.js +39 -0
- package/src/state/reducers/elasticLayout.js +29 -0
- package/src/state/reducers/errors.js +51 -0
- package/src/state/reducers/index.js +15 -0
- package/src/state/reducers/infoResponses.js +61 -0
- package/src/state/reducers/layers.js +23 -0
- package/src/state/reducers/manifests.js +52 -0
- package/src/state/reducers/rootReducer.js +44 -0
- package/src/state/reducers/search.js +145 -0
- package/src/state/reducers/utils.js +45 -0
- package/src/state/reducers/viewers.js +42 -0
- package/src/state/reducers/windows.js +185 -0
- package/src/state/reducers/workspace.js +111 -0
- package/src/state/sagas/annotations.js +48 -0
- package/src/state/sagas/app.js +56 -0
- package/src/state/sagas/auth.js +151 -0
- package/src/state/sagas/iiif.js +233 -0
- package/src/state/sagas/index.js +30 -0
- package/src/state/sagas/windows.js +293 -0
- package/src/state/selectors/annotations.js +138 -0
- package/src/state/selectors/auth.js +100 -0
- package/src/state/selectors/canvases.js +260 -0
- package/src/state/selectors/companionWindows.js +182 -0
- package/src/state/selectors/config.js +100 -0
- package/src/state/selectors/getters.js +90 -0
- package/src/state/selectors/index.js +17 -0
- package/src/state/selectors/layers.js +79 -0
- package/src/state/selectors/manifests.js +433 -0
- package/src/state/selectors/ranges.js +147 -0
- package/src/state/selectors/searches.js +249 -0
- package/src/state/selectors/sequences.js +134 -0
- package/src/state/selectors/thumbnails.js +28 -0
- package/src/state/selectors/utils.js +18 -0
- package/src/state/selectors/viewer.js +19 -0
- package/src/state/selectors/windows.js +98 -0
- package/src/state/selectors/workspace.js +52 -0
- package/src/state/selectors/wrappers.js +15 -0
- package/src/styles/react-mosaic-component.js +288 -0
|
@@ -0,0 +1,2066 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { createContext as t, forwardRef as n, useContext as r } from "react";
|
|
3
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
4
|
+
//#region \0rolldown/runtime.js
|
|
5
|
+
var a = Object.create, o = Object.defineProperty, s = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, l = Object.getPrototypeOf, u = Object.prototype.hasOwnProperty, d = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), f = (e, t) => {
|
|
6
|
+
let n = {};
|
|
7
|
+
for (var r in e) o(n, r, {
|
|
8
|
+
get: e[r],
|
|
9
|
+
enumerable: !0
|
|
10
|
+
});
|
|
11
|
+
return t || o(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
12
|
+
}, p = (e, t, n, r) => {
|
|
13
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = c(t), a = 0, l = i.length, d; a < l; a++) d = i[a], !u.call(e, d) && d !== n && o(e, d, {
|
|
14
|
+
get: ((e) => t[e]).bind(null, d),
|
|
15
|
+
enumerable: !(r = s(t, d)) || r.enumerable
|
|
16
|
+
});
|
|
17
|
+
return e;
|
|
18
|
+
}, m = (e, t, n) => (n = e == null ? {} : a(l(e)), p(t || !e || !e.__esModule || !u.call(e, "default") ? o(n, "default", {
|
|
19
|
+
value: e,
|
|
20
|
+
enumerable: !0
|
|
21
|
+
}) : n, e)), h = /* @__PURE__ */ d(((t, n) => {
|
|
22
|
+
n.exports = { ...e };
|
|
23
|
+
})), g = /* @__PURE__ */ d(((e) => {
|
|
24
|
+
var t = h();
|
|
25
|
+
function n(e, t) {
|
|
26
|
+
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
27
|
+
}
|
|
28
|
+
var r = typeof Object.is == "function" ? Object.is : n, i = t.useSyncExternalStore, a = t.useRef, o = t.useEffect, s = t.useMemo, c = t.useDebugValue;
|
|
29
|
+
e.useSyncExternalStoreWithSelector = function(e, t, n, l, u) {
|
|
30
|
+
var d = a(null);
|
|
31
|
+
if (d.current === null) {
|
|
32
|
+
var f = {
|
|
33
|
+
hasValue: !1,
|
|
34
|
+
value: null
|
|
35
|
+
};
|
|
36
|
+
d.current = f;
|
|
37
|
+
} else f = d.current;
|
|
38
|
+
d = s(function() {
|
|
39
|
+
function e(e) {
|
|
40
|
+
if (!i) {
|
|
41
|
+
if (i = !0, a = e, e = l(e), u !== void 0 && f.hasValue) {
|
|
42
|
+
var t = f.value;
|
|
43
|
+
if (u(t, e)) return o = t;
|
|
44
|
+
}
|
|
45
|
+
return o = e;
|
|
46
|
+
}
|
|
47
|
+
if (t = o, r(a, e)) return t;
|
|
48
|
+
var n = l(e);
|
|
49
|
+
return u !== void 0 && u(t, n) ? (a = e, t) : (a = e, o = n);
|
|
50
|
+
}
|
|
51
|
+
var i = !1, a, o, s = n === void 0 ? null : n;
|
|
52
|
+
return [function() {
|
|
53
|
+
return e(t());
|
|
54
|
+
}, s === null ? void 0 : function() {
|
|
55
|
+
return e(s());
|
|
56
|
+
}];
|
|
57
|
+
}, [
|
|
58
|
+
t,
|
|
59
|
+
n,
|
|
60
|
+
l,
|
|
61
|
+
u
|
|
62
|
+
]);
|
|
63
|
+
var p = i(e, d[0], d[1]);
|
|
64
|
+
return o(function() {
|
|
65
|
+
f.hasValue = !0, f.value = p;
|
|
66
|
+
}, [p]), c(p), p;
|
|
67
|
+
};
|
|
68
|
+
})), _ = (/* @__PURE__ */ d(((e, t) => {
|
|
69
|
+
t.exports = g();
|
|
70
|
+
})))(), v = /* @__PURE__ */ e.version.startsWith("19"), y = /* @__PURE__ */ Symbol.for(v ? "react.transitional.element" : "react.element"), b = /* @__PURE__ */ Symbol.for("react.portal"), x = /* @__PURE__ */ Symbol.for("react.fragment"), S = /* @__PURE__ */ Symbol.for("react.strict_mode"), C = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.consumer"), T = /* @__PURE__ */ Symbol.for("react.context"), E = /* @__PURE__ */ Symbol.for("react.forward_ref"), D = /* @__PURE__ */ Symbol.for("react.suspense"), O = /* @__PURE__ */ Symbol.for("react.suspense_list"), k = /* @__PURE__ */ Symbol.for("react.memo"), A = /* @__PURE__ */ Symbol.for("react.lazy"), j = E, M = k;
|
|
71
|
+
function N(e) {
|
|
72
|
+
if (typeof e == "object" && e) {
|
|
73
|
+
let { $$typeof: t } = e;
|
|
74
|
+
switch (t) {
|
|
75
|
+
case y: switch (e = e.type, e) {
|
|
76
|
+
case x:
|
|
77
|
+
case C:
|
|
78
|
+
case S:
|
|
79
|
+
case D:
|
|
80
|
+
case O: return e;
|
|
81
|
+
default: switch (e &&= e.$$typeof, e) {
|
|
82
|
+
case T:
|
|
83
|
+
case E:
|
|
84
|
+
case A:
|
|
85
|
+
case k: return e;
|
|
86
|
+
case w: return e;
|
|
87
|
+
default: return t;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
case b: return t;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function P(e) {
|
|
95
|
+
return N(e) === k;
|
|
96
|
+
}
|
|
97
|
+
function ee(e, t, n, r, { areStatesEqual: i, areOwnPropsEqual: a, areStatePropsEqual: o }) {
|
|
98
|
+
let s = !1, c, l, u, d, f;
|
|
99
|
+
function p(i, a) {
|
|
100
|
+
return c = i, l = a, u = e(c, l), d = t(r, l), f = n(u, d, l), s = !0, f;
|
|
101
|
+
}
|
|
102
|
+
function m() {
|
|
103
|
+
return u = e(c, l), t.dependsOnOwnProps && (d = t(r, l)), f = n(u, d, l), f;
|
|
104
|
+
}
|
|
105
|
+
function h() {
|
|
106
|
+
return e.dependsOnOwnProps && (u = e(c, l)), t.dependsOnOwnProps && (d = t(r, l)), f = n(u, d, l), f;
|
|
107
|
+
}
|
|
108
|
+
function g() {
|
|
109
|
+
let t = e(c, l), r = !o(t, u);
|
|
110
|
+
return u = t, r && (f = n(u, d, l)), f;
|
|
111
|
+
}
|
|
112
|
+
function _(e, t) {
|
|
113
|
+
let n = !a(t, l), r = !i(e, c, t, l);
|
|
114
|
+
return c = e, l = t, n && r ? m() : n ? h() : r ? g() : f;
|
|
115
|
+
}
|
|
116
|
+
return function(e, t) {
|
|
117
|
+
return s ? _(e, t) : p(e, t);
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
function te(e, { initMapStateToProps: t, initMapDispatchToProps: n, initMergeProps: r, ...i }) {
|
|
121
|
+
return ee(t(e, i), n(e, i), r(e, i), e, i);
|
|
122
|
+
}
|
|
123
|
+
function ne(e, t) {
|
|
124
|
+
let n = {};
|
|
125
|
+
for (let r in e) {
|
|
126
|
+
let i = e[r];
|
|
127
|
+
typeof i == "function" && (n[r] = (...e) => t(i(...e)));
|
|
128
|
+
}
|
|
129
|
+
return n;
|
|
130
|
+
}
|
|
131
|
+
function re(e) {
|
|
132
|
+
return function(t) {
|
|
133
|
+
let n = e(t);
|
|
134
|
+
function r() {
|
|
135
|
+
return n;
|
|
136
|
+
}
|
|
137
|
+
return r.dependsOnOwnProps = !1, r;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
function ie(e) {
|
|
141
|
+
return e.dependsOnOwnProps ? !!e.dependsOnOwnProps : e.length !== 1;
|
|
142
|
+
}
|
|
143
|
+
function ae(e, t) {
|
|
144
|
+
return function(t, { displayName: n }) {
|
|
145
|
+
let r = function(e, t) {
|
|
146
|
+
return r.dependsOnOwnProps ? r.mapToProps(e, t) : r.mapToProps(e, void 0);
|
|
147
|
+
};
|
|
148
|
+
return r.dependsOnOwnProps = !0, r.mapToProps = function(t, n) {
|
|
149
|
+
r.mapToProps = e, r.dependsOnOwnProps = ie(e);
|
|
150
|
+
let i = r(t, n);
|
|
151
|
+
return typeof i == "function" && (r.mapToProps = i, r.dependsOnOwnProps = ie(i), i = r(t, n)), i;
|
|
152
|
+
}, r;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
function oe(e, t) {
|
|
156
|
+
return (n, r) => {
|
|
157
|
+
throw Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`);
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
function se(e) {
|
|
161
|
+
return e && typeof e == "object" ? re((t) => ne(e, t)) : e ? typeof e == "function" ? ae(e, "mapDispatchToProps") : oe(e, "mapDispatchToProps") : re((e) => ({ dispatch: e }));
|
|
162
|
+
}
|
|
163
|
+
function ce(e) {
|
|
164
|
+
return e ? typeof e == "function" ? ae(e, "mapStateToProps") : oe(e, "mapStateToProps") : re(() => ({}));
|
|
165
|
+
}
|
|
166
|
+
function le(e, t, n) {
|
|
167
|
+
return {
|
|
168
|
+
...n,
|
|
169
|
+
...e,
|
|
170
|
+
...t
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
function ue(e) {
|
|
174
|
+
return function(t, { displayName: n, areMergedPropsEqual: r }) {
|
|
175
|
+
let i = !1, a;
|
|
176
|
+
return function(t, n, o) {
|
|
177
|
+
let s = e(t, n, o);
|
|
178
|
+
return i ? r(s, a) || (a = s) : (i = !0, a = s), a;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
function de(e) {
|
|
183
|
+
return e ? typeof e == "function" ? ue(e) : oe(e, "mergeProps") : () => le;
|
|
184
|
+
}
|
|
185
|
+
function fe(e) {
|
|
186
|
+
e();
|
|
187
|
+
}
|
|
188
|
+
function pe() {
|
|
189
|
+
let e = null, t = null;
|
|
190
|
+
return {
|
|
191
|
+
clear() {
|
|
192
|
+
e = null, t = null;
|
|
193
|
+
},
|
|
194
|
+
notify() {
|
|
195
|
+
fe(() => {
|
|
196
|
+
let t = e;
|
|
197
|
+
for (; t;) t.callback(), t = t.next;
|
|
198
|
+
});
|
|
199
|
+
},
|
|
200
|
+
get() {
|
|
201
|
+
let t = [], n = e;
|
|
202
|
+
for (; n;) t.push(n), n = n.next;
|
|
203
|
+
return t;
|
|
204
|
+
},
|
|
205
|
+
subscribe(n) {
|
|
206
|
+
let r = !0, i = t = {
|
|
207
|
+
callback: n,
|
|
208
|
+
next: null,
|
|
209
|
+
prev: t
|
|
210
|
+
};
|
|
211
|
+
return i.prev ? i.prev.next = i : e = i, function() {
|
|
212
|
+
!r || e === null || (r = !1, i.next ? i.next.prev = i.prev : t = i.prev, i.prev ? i.prev.next = i.next : e = i.next);
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
var me = {
|
|
218
|
+
notify() {},
|
|
219
|
+
get: () => []
|
|
220
|
+
};
|
|
221
|
+
function he(e, t) {
|
|
222
|
+
let n, r = me, i = 0, a = !1;
|
|
223
|
+
function o(e) {
|
|
224
|
+
u();
|
|
225
|
+
let t = r.subscribe(e), n = !1;
|
|
226
|
+
return () => {
|
|
227
|
+
n || (n = !0, t(), d());
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
function s() {
|
|
231
|
+
r.notify();
|
|
232
|
+
}
|
|
233
|
+
function c() {
|
|
234
|
+
m.onStateChange && m.onStateChange();
|
|
235
|
+
}
|
|
236
|
+
function l() {
|
|
237
|
+
return a;
|
|
238
|
+
}
|
|
239
|
+
function u() {
|
|
240
|
+
i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = pe());
|
|
241
|
+
}
|
|
242
|
+
function d() {
|
|
243
|
+
i--, n && i === 0 && (n(), n = void 0, r.clear(), r = me);
|
|
244
|
+
}
|
|
245
|
+
function f() {
|
|
246
|
+
a || (a = !0, u());
|
|
247
|
+
}
|
|
248
|
+
function p() {
|
|
249
|
+
a && (a = !1, d());
|
|
250
|
+
}
|
|
251
|
+
let m = {
|
|
252
|
+
addNestedSub: o,
|
|
253
|
+
notifyNestedSubs: s,
|
|
254
|
+
handleChangeWrapper: c,
|
|
255
|
+
isSubscribed: l,
|
|
256
|
+
trySubscribe: f,
|
|
257
|
+
tryUnsubscribe: p,
|
|
258
|
+
getListeners: () => r
|
|
259
|
+
};
|
|
260
|
+
return m;
|
|
261
|
+
}
|
|
262
|
+
var ge = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, _e = typeof navigator < "u" && navigator.product === "ReactNative", F = ge || _e ? e.useLayoutEffect : e.useEffect;
|
|
263
|
+
function ve(e, t) {
|
|
264
|
+
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
|
|
265
|
+
}
|
|
266
|
+
function I(e, t) {
|
|
267
|
+
if (ve(e, t)) return !0;
|
|
268
|
+
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
|
|
269
|
+
let n = Object.keys(e), r = Object.keys(t);
|
|
270
|
+
if (n.length !== r.length) return !1;
|
|
271
|
+
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !ve(e[n[r]], t[n[r]])) return !1;
|
|
272
|
+
return !0;
|
|
273
|
+
}
|
|
274
|
+
var ye = {
|
|
275
|
+
childContextTypes: !0,
|
|
276
|
+
contextType: !0,
|
|
277
|
+
contextTypes: !0,
|
|
278
|
+
defaultProps: !0,
|
|
279
|
+
displayName: !0,
|
|
280
|
+
getDefaultProps: !0,
|
|
281
|
+
getDerivedStateFromError: !0,
|
|
282
|
+
getDerivedStateFromProps: !0,
|
|
283
|
+
mixins: !0,
|
|
284
|
+
propTypes: !0,
|
|
285
|
+
type: !0
|
|
286
|
+
}, be = {
|
|
287
|
+
name: !0,
|
|
288
|
+
length: !0,
|
|
289
|
+
prototype: !0,
|
|
290
|
+
caller: !0,
|
|
291
|
+
callee: !0,
|
|
292
|
+
arguments: !0,
|
|
293
|
+
arity: !0
|
|
294
|
+
}, xe = {
|
|
295
|
+
$$typeof: !0,
|
|
296
|
+
render: !0,
|
|
297
|
+
defaultProps: !0,
|
|
298
|
+
displayName: !0,
|
|
299
|
+
propTypes: !0
|
|
300
|
+
}, Se = {
|
|
301
|
+
$$typeof: !0,
|
|
302
|
+
compare: !0,
|
|
303
|
+
defaultProps: !0,
|
|
304
|
+
displayName: !0,
|
|
305
|
+
propTypes: !0,
|
|
306
|
+
type: !0
|
|
307
|
+
}, Ce = {
|
|
308
|
+
[j]: xe,
|
|
309
|
+
[M]: Se
|
|
310
|
+
};
|
|
311
|
+
function we(e) {
|
|
312
|
+
return P(e) ? Se : Ce[e.$$typeof] || ye;
|
|
313
|
+
}
|
|
314
|
+
var Te = Object.defineProperty, Ee = Object.getOwnPropertyNames, De = Object.getOwnPropertySymbols, Oe = Object.getOwnPropertyDescriptor, ke = Object.getPrototypeOf, Ae = Object.prototype;
|
|
315
|
+
function L(e, t) {
|
|
316
|
+
if (typeof t != "string") {
|
|
317
|
+
if (Ae) {
|
|
318
|
+
let n = ke(t);
|
|
319
|
+
n && n !== Ae && L(e, n);
|
|
320
|
+
}
|
|
321
|
+
let n = Ee(t);
|
|
322
|
+
De && (n = n.concat(De(t)));
|
|
323
|
+
let r = we(e), i = we(t);
|
|
324
|
+
for (let a = 0; a < n.length; ++a) {
|
|
325
|
+
let o = n[a];
|
|
326
|
+
if (!be[o] && !(i && i[o]) && !(r && r[o])) {
|
|
327
|
+
let n = Oe(t, o);
|
|
328
|
+
try {
|
|
329
|
+
Te(e, o, n);
|
|
330
|
+
} catch {}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
return e;
|
|
335
|
+
}
|
|
336
|
+
var je = /* @__PURE__ */ Symbol.for("react-redux-context"), Me = typeof globalThis < "u" ? globalThis : {};
|
|
337
|
+
function Ne() {
|
|
338
|
+
if (!e.createContext) return {};
|
|
339
|
+
let t = Me[je] ??= /* @__PURE__ */ new Map(), n = t.get(e.createContext);
|
|
340
|
+
return n || (n = e.createContext(null), t.set(e.createContext, n)), n;
|
|
341
|
+
}
|
|
342
|
+
var R = /* @__PURE__ */ Ne(), Pe = [null, null];
|
|
343
|
+
function Fe(e, t, n) {
|
|
344
|
+
F(() => e(...t), n);
|
|
345
|
+
}
|
|
346
|
+
function Ie(e, t, n, r, i, a) {
|
|
347
|
+
e.current = r, n.current = !1, i.current && (i.current = null, a());
|
|
348
|
+
}
|
|
349
|
+
function Le(e, t, n, r, i, a, o, s, c, l, u) {
|
|
350
|
+
if (!e) return () => {};
|
|
351
|
+
let d = !1, f = null, p = () => {
|
|
352
|
+
if (d || !s.current) return;
|
|
353
|
+
let e = t.getState(), n, p;
|
|
354
|
+
try {
|
|
355
|
+
n = r(e, i.current);
|
|
356
|
+
} catch (e) {
|
|
357
|
+
p = e, f = e;
|
|
358
|
+
}
|
|
359
|
+
p || (f = null), n === a.current ? o.current || l() : (a.current = n, c.current = n, o.current = !0, u());
|
|
360
|
+
};
|
|
361
|
+
return n.onStateChange = p, n.trySubscribe(), p(), () => {
|
|
362
|
+
if (d = !0, n.tryUnsubscribe(), n.onStateChange = null, f) throw f;
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
function Re(e, t) {
|
|
366
|
+
return e === t;
|
|
367
|
+
}
|
|
368
|
+
function ze(t, n, r, { pure: i, areStatesEqual: a = Re, areOwnPropsEqual: o = I, areStatePropsEqual: s = I, areMergedPropsEqual: c = I, forwardRef: l = !1, context: u = R } = {}) {
|
|
369
|
+
let d = u, f = ce(t), p = se(n), m = de(r), h = !!t;
|
|
370
|
+
return (t) => {
|
|
371
|
+
let n = t.displayName || t.name || "Component", r = `Connect(${n})`, i = {
|
|
372
|
+
shouldHandleStateChanges: h,
|
|
373
|
+
displayName: r,
|
|
374
|
+
wrappedComponentName: n,
|
|
375
|
+
WrappedComponent: t,
|
|
376
|
+
initMapStateToProps: f,
|
|
377
|
+
initMapDispatchToProps: p,
|
|
378
|
+
initMergeProps: m,
|
|
379
|
+
areStatesEqual: a,
|
|
380
|
+
areStatePropsEqual: s,
|
|
381
|
+
areOwnPropsEqual: o,
|
|
382
|
+
areMergedPropsEqual: c
|
|
383
|
+
};
|
|
384
|
+
function u(n) {
|
|
385
|
+
let [r, a, o] = e.useMemo(() => {
|
|
386
|
+
let { reactReduxForwardedRef: e, ...t } = n;
|
|
387
|
+
return [
|
|
388
|
+
n.context,
|
|
389
|
+
e,
|
|
390
|
+
t
|
|
391
|
+
];
|
|
392
|
+
}, [n]), s = e.useMemo(() => {
|
|
393
|
+
let e = d;
|
|
394
|
+
return r?.Consumer, e;
|
|
395
|
+
}, [r, d]), c = e.useContext(s), l = !!n.store && !!n.store.getState && !!n.store.dispatch, u = !!c && !!c.store, f = l ? n.store : c.store, p = u ? c.getServerState : f.getState, m = e.useMemo(() => te(f.dispatch, i), [f]), [g, _] = e.useMemo(() => {
|
|
396
|
+
if (!h) return Pe;
|
|
397
|
+
let e = he(f, l ? void 0 : c.subscription);
|
|
398
|
+
return [e, e.notifyNestedSubs.bind(e)];
|
|
399
|
+
}, [
|
|
400
|
+
f,
|
|
401
|
+
l,
|
|
402
|
+
c
|
|
403
|
+
]), v = e.useMemo(() => l ? c : {
|
|
404
|
+
...c,
|
|
405
|
+
subscription: g
|
|
406
|
+
}, [
|
|
407
|
+
l,
|
|
408
|
+
c,
|
|
409
|
+
g
|
|
410
|
+
]), y = e.useRef(void 0), b = e.useRef(o), x = e.useRef(void 0), S = e.useRef(!1), C = e.useRef(!1), w = e.useRef(void 0);
|
|
411
|
+
F(() => (C.current = !0, () => {
|
|
412
|
+
C.current = !1;
|
|
413
|
+
}), []);
|
|
414
|
+
let T = e.useMemo(() => () => x.current && o === b.current ? x.current : m(f.getState(), o), [f, o]), E = e.useMemo(() => (e) => g ? Le(h, f, g, m, b, y, S, C, x, _, e) : () => {}, [g]);
|
|
415
|
+
Fe(Ie, [
|
|
416
|
+
b,
|
|
417
|
+
y,
|
|
418
|
+
S,
|
|
419
|
+
o,
|
|
420
|
+
x,
|
|
421
|
+
_
|
|
422
|
+
]);
|
|
423
|
+
let D;
|
|
424
|
+
try {
|
|
425
|
+
D = e.useSyncExternalStore(E, T, p ? () => m(p(), o) : T);
|
|
426
|
+
} catch (e) {
|
|
427
|
+
throw w.current && (e.message += `
|
|
428
|
+
The error may be correlated with this previous error:
|
|
429
|
+
${w.current.stack}
|
|
430
|
+
|
|
431
|
+
`), e;
|
|
432
|
+
}
|
|
433
|
+
F(() => {
|
|
434
|
+
w.current = void 0, x.current = void 0, y.current = D;
|
|
435
|
+
});
|
|
436
|
+
let O = e.useMemo(() => /* @__PURE__ */ e.createElement(t, {
|
|
437
|
+
...D,
|
|
438
|
+
ref: a
|
|
439
|
+
}), [
|
|
440
|
+
a,
|
|
441
|
+
t,
|
|
442
|
+
D
|
|
443
|
+
]);
|
|
444
|
+
return e.useMemo(() => h ? /* @__PURE__ */ e.createElement(s.Provider, { value: v }, O) : O, [
|
|
445
|
+
s,
|
|
446
|
+
O,
|
|
447
|
+
v
|
|
448
|
+
]);
|
|
449
|
+
}
|
|
450
|
+
let g = e.memo(u);
|
|
451
|
+
if (g.WrappedComponent = t, g.displayName = u.displayName = r, l) {
|
|
452
|
+
let n = e.forwardRef(function(t, n) {
|
|
453
|
+
return /* @__PURE__ */ e.createElement(g, {
|
|
454
|
+
...t,
|
|
455
|
+
reactReduxForwardedRef: n
|
|
456
|
+
});
|
|
457
|
+
});
|
|
458
|
+
return n.displayName = r, n.WrappedComponent = t, /* @__PURE__ */ L(n, t);
|
|
459
|
+
}
|
|
460
|
+
return /* @__PURE__ */ L(g, t);
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
var Be = ze;
|
|
464
|
+
function Ve(t) {
|
|
465
|
+
let { children: n, context: r, serverState: i, store: a } = t, o = e.useMemo(() => {
|
|
466
|
+
let e = he(a);
|
|
467
|
+
return {
|
|
468
|
+
store: a,
|
|
469
|
+
subscription: e,
|
|
470
|
+
getServerState: i ? () => i : void 0
|
|
471
|
+
};
|
|
472
|
+
}, [a, i]), s = e.useMemo(() => a.getState(), [a]);
|
|
473
|
+
F(() => {
|
|
474
|
+
let { subscription: e } = o;
|
|
475
|
+
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), s !== a.getState() && e.notifyNestedSubs(), () => {
|
|
476
|
+
e.tryUnsubscribe(), e.onStateChange = void 0;
|
|
477
|
+
};
|
|
478
|
+
}, [o, s]);
|
|
479
|
+
let c = r || R;
|
|
480
|
+
return /* @__PURE__ */ e.createElement(c.Provider, { value: o }, n);
|
|
481
|
+
}
|
|
482
|
+
var He = Ve;
|
|
483
|
+
function Ue(t = R) {
|
|
484
|
+
return function() {
|
|
485
|
+
return e.useContext(t);
|
|
486
|
+
};
|
|
487
|
+
}
|
|
488
|
+
var We = /* @__PURE__ */ Ue(), Ge = (e, t) => e === t;
|
|
489
|
+
function Ke(t = R) {
|
|
490
|
+
let n = t === R ? We : Ue(t), r = (t, r = {}) => {
|
|
491
|
+
let { equalityFn: i = Ge } = typeof r == "function" ? { equalityFn: r } : r, { store: a, subscription: o, getServerState: s } = n();
|
|
492
|
+
e.useRef(!0);
|
|
493
|
+
let c = e.useCallback({ [t.name](e) {
|
|
494
|
+
return t(e);
|
|
495
|
+
} }[t.name], [t]), l = (0, _.useSyncExternalStoreWithSelector)(o.addNestedSub, a.getState, s || a.getState, c, i);
|
|
496
|
+
return e.useDebugValue(l), l;
|
|
497
|
+
};
|
|
498
|
+
return Object.assign(r, { withTypes: () => r }), r;
|
|
499
|
+
}
|
|
500
|
+
var qe = /* @__PURE__ */ Ke(), Je = /* @__PURE__ */ d(((e, t) => {
|
|
501
|
+
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
502
|
+
})), Ye = /* @__PURE__ */ d(((e, t) => {
|
|
503
|
+
var n = Je();
|
|
504
|
+
function r() {}
|
|
505
|
+
function i() {}
|
|
506
|
+
i.resetWarningCache = r, t.exports = function() {
|
|
507
|
+
function e(e, t, r, i, a, o) {
|
|
508
|
+
if (o !== n) {
|
|
509
|
+
var s = /* @__PURE__ */ Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
|
|
510
|
+
throw s.name = "Invariant Violation", s;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
e.isRequired = e;
|
|
514
|
+
function t() {
|
|
515
|
+
return e;
|
|
516
|
+
}
|
|
517
|
+
var a = {
|
|
518
|
+
array: e,
|
|
519
|
+
bigint: e,
|
|
520
|
+
bool: e,
|
|
521
|
+
func: e,
|
|
522
|
+
number: e,
|
|
523
|
+
object: e,
|
|
524
|
+
string: e,
|
|
525
|
+
symbol: e,
|
|
526
|
+
any: e,
|
|
527
|
+
arrayOf: t,
|
|
528
|
+
element: e,
|
|
529
|
+
elementType: e,
|
|
530
|
+
instanceOf: t,
|
|
531
|
+
node: e,
|
|
532
|
+
objectOf: t,
|
|
533
|
+
oneOf: t,
|
|
534
|
+
oneOfType: t,
|
|
535
|
+
shape: t,
|
|
536
|
+
exact: t,
|
|
537
|
+
checkPropTypes: i,
|
|
538
|
+
resetWarningCache: r
|
|
539
|
+
};
|
|
540
|
+
return a.PropTypes = a, a;
|
|
541
|
+
};
|
|
542
|
+
})), Xe = /* @__PURE__ */ d(((e, t) => {
|
|
543
|
+
t.exports = Ye()();
|
|
544
|
+
})), Ze = t(), Qe = /* @__PURE__ */ d(((e, t) => {
|
|
545
|
+
t.exports = Array.isArray;
|
|
546
|
+
})), $e = /* @__PURE__ */ d(((e, t) => {
|
|
547
|
+
t.exports = typeof global == "object" && global && global.Object === Object && global;
|
|
548
|
+
})), z = /* @__PURE__ */ d(((e, t) => {
|
|
549
|
+
var n = $e(), r = typeof self == "object" && self && self.Object === Object && self;
|
|
550
|
+
t.exports = n || r || Function("return this")();
|
|
551
|
+
})), et = /* @__PURE__ */ d(((e, t) => {
|
|
552
|
+
t.exports = z().Symbol;
|
|
553
|
+
})), tt = /* @__PURE__ */ d(((e, t) => {
|
|
554
|
+
var n = et(), r = Object.prototype, i = r.hasOwnProperty, a = r.toString, o = n ? n.toStringTag : void 0;
|
|
555
|
+
function s(e) {
|
|
556
|
+
var t = i.call(e, o), n = e[o];
|
|
557
|
+
try {
|
|
558
|
+
e[o] = void 0;
|
|
559
|
+
var r = !0;
|
|
560
|
+
} catch {}
|
|
561
|
+
var s = a.call(e);
|
|
562
|
+
return r && (t ? e[o] = n : delete e[o]), s;
|
|
563
|
+
}
|
|
564
|
+
t.exports = s;
|
|
565
|
+
})), nt = /* @__PURE__ */ d(((e, t) => {
|
|
566
|
+
var n = Object.prototype.toString;
|
|
567
|
+
function r(e) {
|
|
568
|
+
return n.call(e);
|
|
569
|
+
}
|
|
570
|
+
t.exports = r;
|
|
571
|
+
})), B = /* @__PURE__ */ d(((e, t) => {
|
|
572
|
+
var n = et(), r = tt(), i = nt(), a = "[object Null]", o = "[object Undefined]", s = n ? n.toStringTag : void 0;
|
|
573
|
+
function c(e) {
|
|
574
|
+
return e == null ? e === void 0 ? o : a : s && s in Object(e) ? r(e) : i(e);
|
|
575
|
+
}
|
|
576
|
+
t.exports = c;
|
|
577
|
+
})), V = /* @__PURE__ */ d(((e, t) => {
|
|
578
|
+
function n(e) {
|
|
579
|
+
return typeof e == "object" && !!e;
|
|
580
|
+
}
|
|
581
|
+
t.exports = n;
|
|
582
|
+
})), rt = /* @__PURE__ */ d(((e, t) => {
|
|
583
|
+
var n = B(), r = V(), i = "[object Symbol]";
|
|
584
|
+
function a(e) {
|
|
585
|
+
return typeof e == "symbol" || r(e) && n(e) == i;
|
|
586
|
+
}
|
|
587
|
+
t.exports = a;
|
|
588
|
+
})), H = /* @__PURE__ */ d(((e, t) => {
|
|
589
|
+
function n(e) {
|
|
590
|
+
var t = typeof e;
|
|
591
|
+
return e != null && (t == "object" || t == "function");
|
|
592
|
+
}
|
|
593
|
+
t.exports = n;
|
|
594
|
+
})), it = /* @__PURE__ */ d(((e, t) => {
|
|
595
|
+
var n = B(), r = H(), i = "[object AsyncFunction]", a = "[object Function]", o = "[object GeneratorFunction]", s = "[object Proxy]";
|
|
596
|
+
function c(e) {
|
|
597
|
+
if (!r(e)) return !1;
|
|
598
|
+
var t = n(e);
|
|
599
|
+
return t == a || t == o || t == i || t == s;
|
|
600
|
+
}
|
|
601
|
+
t.exports = c;
|
|
602
|
+
})), at = /* @__PURE__ */ d(((e, t) => {
|
|
603
|
+
t.exports = z()["__core-js_shared__"];
|
|
604
|
+
})), ot = /* @__PURE__ */ d(((e, t) => {
|
|
605
|
+
var n = at(), r = function() {
|
|
606
|
+
var e = /[^.]+$/.exec(n && n.keys && n.keys.IE_PROTO || "");
|
|
607
|
+
return e ? "Symbol(src)_1." + e : "";
|
|
608
|
+
}();
|
|
609
|
+
function i(e) {
|
|
610
|
+
return !!r && r in e;
|
|
611
|
+
}
|
|
612
|
+
t.exports = i;
|
|
613
|
+
})), st = /* @__PURE__ */ d(((e, t) => {
|
|
614
|
+
var n = Function.prototype.toString;
|
|
615
|
+
function r(e) {
|
|
616
|
+
if (e != null) {
|
|
617
|
+
try {
|
|
618
|
+
return n.call(e);
|
|
619
|
+
} catch {}
|
|
620
|
+
try {
|
|
621
|
+
return e + "";
|
|
622
|
+
} catch {}
|
|
623
|
+
}
|
|
624
|
+
return "";
|
|
625
|
+
}
|
|
626
|
+
t.exports = r;
|
|
627
|
+
})), ct = /* @__PURE__ */ d(((e, t) => {
|
|
628
|
+
var n = it(), r = ot(), i = H(), a = st(), o = /[\\^$.*+?()[\]{}|]/g, s = /^\[object .+?Constructor\]$/, c = Function.prototype, l = Object.prototype, u = c.toString, d = l.hasOwnProperty, f = RegExp("^" + u.call(d).replace(o, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
629
|
+
function p(e) {
|
|
630
|
+
return !i(e) || r(e) ? !1 : (n(e) ? f : s).test(a(e));
|
|
631
|
+
}
|
|
632
|
+
t.exports = p;
|
|
633
|
+
})), lt = /* @__PURE__ */ d(((e, t) => {
|
|
634
|
+
function n(e, t) {
|
|
635
|
+
return e?.[t];
|
|
636
|
+
}
|
|
637
|
+
t.exports = n;
|
|
638
|
+
})), U = /* @__PURE__ */ d(((e, t) => {
|
|
639
|
+
var n = ct(), r = lt();
|
|
640
|
+
function i(e, t) {
|
|
641
|
+
var i = r(e, t);
|
|
642
|
+
return n(i) ? i : void 0;
|
|
643
|
+
}
|
|
644
|
+
t.exports = i;
|
|
645
|
+
})), ut = /* @__PURE__ */ d(((e, t) => {
|
|
646
|
+
t.exports = U()(z(), "Map");
|
|
647
|
+
})), dt = /* @__PURE__ */ d(((e, t) => {
|
|
648
|
+
var n = U();
|
|
649
|
+
t.exports = function() {
|
|
650
|
+
try {
|
|
651
|
+
var e = n(Object, "defineProperty");
|
|
652
|
+
return e({}, "", {}), e;
|
|
653
|
+
} catch {}
|
|
654
|
+
}();
|
|
655
|
+
})), ft = /* @__PURE__ */ d(((e, t) => {
|
|
656
|
+
var n = /^(?:0|[1-9]\d*)$/;
|
|
657
|
+
function r(e, t) {
|
|
658
|
+
var r = typeof e;
|
|
659
|
+
return t ??= 9007199254740991, !!t && (r == "number" || r != "symbol" && n.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
660
|
+
}
|
|
661
|
+
t.exports = r;
|
|
662
|
+
})), pt = /* @__PURE__ */ d(((e, t) => {
|
|
663
|
+
function n(e) {
|
|
664
|
+
return e;
|
|
665
|
+
}
|
|
666
|
+
t.exports = n;
|
|
667
|
+
}));
|
|
668
|
+
//#endregion
|
|
669
|
+
//#region ../node_modules/redux/dist/redux.mjs
|
|
670
|
+
function W(e) {
|
|
671
|
+
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
|
|
672
|
+
}
|
|
673
|
+
var mt = typeof Symbol == "function" && Symbol.observable || "@@observable", ht = () => Math.random().toString(36).substring(7).split("").join("."), G = {
|
|
674
|
+
INIT: `@@redux/INIT${/* @__PURE__ */ ht()}`,
|
|
675
|
+
REPLACE: `@@redux/REPLACE${/* @__PURE__ */ ht()}`,
|
|
676
|
+
PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${ht()}`
|
|
677
|
+
};
|
|
678
|
+
function gt(e) {
|
|
679
|
+
if (typeof e != "object" || !e) return !1;
|
|
680
|
+
let t = e;
|
|
681
|
+
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
|
|
682
|
+
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
|
|
683
|
+
}
|
|
684
|
+
function _t(e, t, n) {
|
|
685
|
+
if (typeof e != "function") throw Error(W(2));
|
|
686
|
+
if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(W(0));
|
|
687
|
+
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
|
|
688
|
+
if (typeof n != "function") throw Error(W(1));
|
|
689
|
+
return n(_t)(e, t);
|
|
690
|
+
}
|
|
691
|
+
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
|
|
692
|
+
function l() {
|
|
693
|
+
o === a && (o = /* @__PURE__ */ new Map(), a.forEach((e, t) => {
|
|
694
|
+
o.set(t, e);
|
|
695
|
+
}));
|
|
696
|
+
}
|
|
697
|
+
function u() {
|
|
698
|
+
if (c) throw Error(W(3));
|
|
699
|
+
return i;
|
|
700
|
+
}
|
|
701
|
+
function d(e) {
|
|
702
|
+
if (typeof e != "function") throw Error(W(4));
|
|
703
|
+
if (c) throw Error(W(5));
|
|
704
|
+
let t = !0;
|
|
705
|
+
l();
|
|
706
|
+
let n = s++;
|
|
707
|
+
return o.set(n, e), function() {
|
|
708
|
+
if (t) {
|
|
709
|
+
if (c) throw Error(W(6));
|
|
710
|
+
t = !1, l(), o.delete(n), a = null;
|
|
711
|
+
}
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
function f(e) {
|
|
715
|
+
if (!gt(e)) throw Error(W(7));
|
|
716
|
+
if (e.type === void 0) throw Error(W(8));
|
|
717
|
+
if (typeof e.type != "string") throw Error(W(17));
|
|
718
|
+
if (c) throw Error(W(9));
|
|
719
|
+
try {
|
|
720
|
+
c = !0, i = r(i, e);
|
|
721
|
+
} finally {
|
|
722
|
+
c = !1;
|
|
723
|
+
}
|
|
724
|
+
return (a = o).forEach((e) => {
|
|
725
|
+
e();
|
|
726
|
+
}), e;
|
|
727
|
+
}
|
|
728
|
+
function p(e) {
|
|
729
|
+
if (typeof e != "function") throw Error(W(10));
|
|
730
|
+
r = e, f({ type: G.REPLACE });
|
|
731
|
+
}
|
|
732
|
+
function m() {
|
|
733
|
+
let e = d;
|
|
734
|
+
return {
|
|
735
|
+
subscribe(t) {
|
|
736
|
+
if (typeof t != "object" || !t) throw Error(W(11));
|
|
737
|
+
function n() {
|
|
738
|
+
let e = t;
|
|
739
|
+
e.next && e.next(u());
|
|
740
|
+
}
|
|
741
|
+
return n(), { unsubscribe: e(n) };
|
|
742
|
+
},
|
|
743
|
+
[mt]() {
|
|
744
|
+
return this;
|
|
745
|
+
}
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
return f({ type: G.INIT }), {
|
|
749
|
+
dispatch: f,
|
|
750
|
+
subscribe: d,
|
|
751
|
+
getState: u,
|
|
752
|
+
replaceReducer: p,
|
|
753
|
+
[mt]: m
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
function vt(e) {
|
|
757
|
+
Object.keys(e).forEach((t) => {
|
|
758
|
+
let n = e[t];
|
|
759
|
+
if (n(void 0, { type: G.INIT }) === void 0) throw Error(W(12));
|
|
760
|
+
if (n(void 0, { type: G.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(W(13));
|
|
761
|
+
});
|
|
762
|
+
}
|
|
763
|
+
function yt(e) {
|
|
764
|
+
let t = Object.keys(e), n = {};
|
|
765
|
+
for (let r = 0; r < t.length; r++) {
|
|
766
|
+
let i = t[r];
|
|
767
|
+
typeof e[i] == "function" && (n[i] = e[i]);
|
|
768
|
+
}
|
|
769
|
+
let r = Object.keys(n), i;
|
|
770
|
+
try {
|
|
771
|
+
vt(n);
|
|
772
|
+
} catch (e) {
|
|
773
|
+
i = e;
|
|
774
|
+
}
|
|
775
|
+
return function(e = {}, t) {
|
|
776
|
+
if (i) throw i;
|
|
777
|
+
let a = !1, o = {};
|
|
778
|
+
for (let i = 0; i < r.length; i++) {
|
|
779
|
+
let s = r[i], c = n[s], l = e[s], u = c(l, t);
|
|
780
|
+
if (u === void 0) throw t && t.type, Error(W(14));
|
|
781
|
+
o[s] = u, a ||= u !== l;
|
|
782
|
+
}
|
|
783
|
+
return a ||= r.length !== Object.keys(e).length, a ? o : e;
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
function bt(e, t) {
|
|
787
|
+
return function(...n) {
|
|
788
|
+
return t(e.apply(this, n));
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
function xt(e, t) {
|
|
792
|
+
if (typeof e == "function") return bt(e, t);
|
|
793
|
+
if (typeof e != "object" || !e) throw Error(W(16));
|
|
794
|
+
let n = {};
|
|
795
|
+
for (let r in e) {
|
|
796
|
+
let i = e[r];
|
|
797
|
+
typeof i == "function" && (n[r] = bt(i, t));
|
|
798
|
+
}
|
|
799
|
+
return n;
|
|
800
|
+
}
|
|
801
|
+
function St(...e) {
|
|
802
|
+
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
|
|
803
|
+
}
|
|
804
|
+
function Ct(...e) {
|
|
805
|
+
return (t) => (n, r) => {
|
|
806
|
+
let i = t(n, r), a = () => {
|
|
807
|
+
throw Error(W(15));
|
|
808
|
+
}, o = {
|
|
809
|
+
getState: i.getState,
|
|
810
|
+
dispatch: (e, ...t) => a(e, ...t)
|
|
811
|
+
};
|
|
812
|
+
return a = St(...e.map((e) => e(o)))(i.dispatch), {
|
|
813
|
+
...i,
|
|
814
|
+
dispatch: a
|
|
815
|
+
};
|
|
816
|
+
};
|
|
817
|
+
}
|
|
818
|
+
//#endregion
|
|
819
|
+
//#region ../node_modules/lodash/_WeakMap.js
|
|
820
|
+
var wt = /* @__PURE__ */ d(((e, t) => {
|
|
821
|
+
t.exports = U()(z(), "WeakMap");
|
|
822
|
+
})), Tt = /* @__PURE__ */ d(((e, t) => {
|
|
823
|
+
var n = wt();
|
|
824
|
+
t.exports = n && new n();
|
|
825
|
+
})), Et = /* @__PURE__ */ d(((e, t) => {
|
|
826
|
+
var n = pt(), r = Tt();
|
|
827
|
+
t.exports = r ? function(e, t) {
|
|
828
|
+
return r.set(e, t), e;
|
|
829
|
+
} : n;
|
|
830
|
+
})), K = /* @__PURE__ */ d(((e, t) => {
|
|
831
|
+
var n = H(), r = Object.create;
|
|
832
|
+
t.exports = function() {
|
|
833
|
+
function e() {}
|
|
834
|
+
return function(t) {
|
|
835
|
+
if (!n(t)) return {};
|
|
836
|
+
if (r) return r(t);
|
|
837
|
+
e.prototype = t;
|
|
838
|
+
var i = new e();
|
|
839
|
+
return e.prototype = void 0, i;
|
|
840
|
+
};
|
|
841
|
+
}();
|
|
842
|
+
})), q = /* @__PURE__ */ d(((e, t) => {
|
|
843
|
+
var n = K(), r = H();
|
|
844
|
+
function i(e) {
|
|
845
|
+
return function() {
|
|
846
|
+
var t = arguments;
|
|
847
|
+
switch (t.length) {
|
|
848
|
+
case 0: return new e();
|
|
849
|
+
case 1: return new e(t[0]);
|
|
850
|
+
case 2: return new e(t[0], t[1]);
|
|
851
|
+
case 3: return new e(t[0], t[1], t[2]);
|
|
852
|
+
case 4: return new e(t[0], t[1], t[2], t[3]);
|
|
853
|
+
case 5: return new e(t[0], t[1], t[2], t[3], t[4]);
|
|
854
|
+
case 6: return new e(t[0], t[1], t[2], t[3], t[4], t[5]);
|
|
855
|
+
case 7: return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);
|
|
856
|
+
}
|
|
857
|
+
var i = n(e.prototype), a = e.apply(i, t);
|
|
858
|
+
return r(a) ? a : i;
|
|
859
|
+
};
|
|
860
|
+
}
|
|
861
|
+
t.exports = i;
|
|
862
|
+
})), Dt = /* @__PURE__ */ d(((e, t) => {
|
|
863
|
+
var n = q(), r = z(), i = 1;
|
|
864
|
+
function a(e, t, a) {
|
|
865
|
+
var o = t & i, s = n(e);
|
|
866
|
+
function c() {
|
|
867
|
+
return (this && this !== r && this instanceof c ? s : e).apply(o ? a : this, arguments);
|
|
868
|
+
}
|
|
869
|
+
return c;
|
|
870
|
+
}
|
|
871
|
+
t.exports = a;
|
|
872
|
+
})), Ot = /* @__PURE__ */ d(((e, t) => {
|
|
873
|
+
function n(e, t, n) {
|
|
874
|
+
switch (n.length) {
|
|
875
|
+
case 0: return e.call(t);
|
|
876
|
+
case 1: return e.call(t, n[0]);
|
|
877
|
+
case 2: return e.call(t, n[0], n[1]);
|
|
878
|
+
case 3: return e.call(t, n[0], n[1], n[2]);
|
|
879
|
+
}
|
|
880
|
+
return e.apply(t, n);
|
|
881
|
+
}
|
|
882
|
+
t.exports = n;
|
|
883
|
+
})), kt = /* @__PURE__ */ d(((e, t) => {
|
|
884
|
+
var n = Math.max;
|
|
885
|
+
function r(e, t, r, i) {
|
|
886
|
+
for (var a = -1, o = e.length, s = r.length, c = -1, l = t.length, u = n(o - s, 0), d = Array(l + u), f = !i; ++c < l;) d[c] = t[c];
|
|
887
|
+
for (; ++a < s;) (f || a < o) && (d[r[a]] = e[a]);
|
|
888
|
+
for (; u--;) d[c++] = e[a++];
|
|
889
|
+
return d;
|
|
890
|
+
}
|
|
891
|
+
t.exports = r;
|
|
892
|
+
})), At = /* @__PURE__ */ d(((e, t) => {
|
|
893
|
+
var n = Math.max;
|
|
894
|
+
function r(e, t, r, i) {
|
|
895
|
+
for (var a = -1, o = e.length, s = -1, c = r.length, l = -1, u = t.length, d = n(o - c, 0), f = Array(d + u), p = !i; ++a < d;) f[a] = e[a];
|
|
896
|
+
for (var m = a; ++l < u;) f[m + l] = t[l];
|
|
897
|
+
for (; ++s < c;) (p || a < o) && (f[m + r[s]] = e[a++]);
|
|
898
|
+
return f;
|
|
899
|
+
}
|
|
900
|
+
t.exports = r;
|
|
901
|
+
})), jt = /* @__PURE__ */ d(((e, t) => {
|
|
902
|
+
function n(e, t) {
|
|
903
|
+
for (var n = e.length, r = 0; n--;) e[n] === t && ++r;
|
|
904
|
+
return r;
|
|
905
|
+
}
|
|
906
|
+
t.exports = n;
|
|
907
|
+
})), Mt = /* @__PURE__ */ d(((e, t) => {
|
|
908
|
+
function n() {}
|
|
909
|
+
t.exports = n;
|
|
910
|
+
})), Nt = /* @__PURE__ */ d(((e, t) => {
|
|
911
|
+
var n = K(), r = Mt(), i = 4294967295;
|
|
912
|
+
function a(e) {
|
|
913
|
+
this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = i, this.__views__ = [];
|
|
914
|
+
}
|
|
915
|
+
a.prototype = n(r.prototype), a.prototype.constructor = a, t.exports = a;
|
|
916
|
+
})), Pt = /* @__PURE__ */ d(((e, t) => {
|
|
917
|
+
function n() {}
|
|
918
|
+
t.exports = n;
|
|
919
|
+
})), Ft = /* @__PURE__ */ d(((e, t) => {
|
|
920
|
+
var n = Tt(), r = Pt();
|
|
921
|
+
t.exports = n ? function(e) {
|
|
922
|
+
return n.get(e);
|
|
923
|
+
} : r;
|
|
924
|
+
})), It = /* @__PURE__ */ d(((e, t) => {
|
|
925
|
+
t.exports = {};
|
|
926
|
+
})), Lt = /* @__PURE__ */ d(((e, t) => {
|
|
927
|
+
var n = It(), r = Object.prototype.hasOwnProperty;
|
|
928
|
+
function i(e) {
|
|
929
|
+
for (var t = e.name + "", i = n[t], a = r.call(n, t) ? i.length : 0; a--;) {
|
|
930
|
+
var o = i[a], s = o.func;
|
|
931
|
+
if (s == null || s == e) return o.name;
|
|
932
|
+
}
|
|
933
|
+
return t;
|
|
934
|
+
}
|
|
935
|
+
t.exports = i;
|
|
936
|
+
})), Rt = /* @__PURE__ */ d(((e, t) => {
|
|
937
|
+
var n = K(), r = Mt();
|
|
938
|
+
function i(e, t) {
|
|
939
|
+
this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = void 0;
|
|
940
|
+
}
|
|
941
|
+
i.prototype = n(r.prototype), i.prototype.constructor = i, t.exports = i;
|
|
942
|
+
})), zt = /* @__PURE__ */ d(((e, t) => {
|
|
943
|
+
function n(e, t) {
|
|
944
|
+
var n = -1, r = e.length;
|
|
945
|
+
for (t ||= Array(r); ++n < r;) t[n] = e[n];
|
|
946
|
+
return t;
|
|
947
|
+
}
|
|
948
|
+
t.exports = n;
|
|
949
|
+
})), Bt = /* @__PURE__ */ d(((e, t) => {
|
|
950
|
+
var n = Nt(), r = Rt(), i = zt();
|
|
951
|
+
function a(e) {
|
|
952
|
+
if (e instanceof n) return e.clone();
|
|
953
|
+
var t = new r(e.__wrapped__, e.__chain__);
|
|
954
|
+
return t.__actions__ = i(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t;
|
|
955
|
+
}
|
|
956
|
+
t.exports = a;
|
|
957
|
+
})), Vt = /* @__PURE__ */ d(((e, t) => {
|
|
958
|
+
var n = Nt(), r = Rt(), i = Mt(), a = Qe(), o = V(), s = Bt(), c = Object.prototype.hasOwnProperty;
|
|
959
|
+
function l(e) {
|
|
960
|
+
if (o(e) && !a(e) && !(e instanceof n)) {
|
|
961
|
+
if (e instanceof r) return e;
|
|
962
|
+
if (c.call(e, "__wrapped__")) return s(e);
|
|
963
|
+
}
|
|
964
|
+
return new r(e);
|
|
965
|
+
}
|
|
966
|
+
l.prototype = i.prototype, l.prototype.constructor = l, t.exports = l;
|
|
967
|
+
})), Ht = /* @__PURE__ */ d(((e, t) => {
|
|
968
|
+
var n = Nt(), r = Ft(), i = Lt(), a = Vt();
|
|
969
|
+
function o(e) {
|
|
970
|
+
var t = i(e), o = a[t];
|
|
971
|
+
if (typeof o != "function" || !(t in n.prototype)) return !1;
|
|
972
|
+
if (e === o) return !0;
|
|
973
|
+
var s = r(o);
|
|
974
|
+
return !!s && e === s[0];
|
|
975
|
+
}
|
|
976
|
+
t.exports = o;
|
|
977
|
+
})), Ut = /* @__PURE__ */ d(((e, t) => {
|
|
978
|
+
var n = Date.now;
|
|
979
|
+
function r(e) {
|
|
980
|
+
var t = 0, r = 0;
|
|
981
|
+
return function() {
|
|
982
|
+
var i = n(), a = 16 - (i - r);
|
|
983
|
+
if (r = i, a > 0) {
|
|
984
|
+
if (++t >= 800) return arguments[0];
|
|
985
|
+
} else t = 0;
|
|
986
|
+
return e.apply(void 0, arguments);
|
|
987
|
+
};
|
|
988
|
+
}
|
|
989
|
+
t.exports = r;
|
|
990
|
+
})), Wt = /* @__PURE__ */ d(((e, t) => {
|
|
991
|
+
var n = Et();
|
|
992
|
+
t.exports = Ut()(n);
|
|
993
|
+
})), Gt = /* @__PURE__ */ d(((e, t) => {
|
|
994
|
+
var n = /\{\n\/\* \[wrapped with (.+)\] \*/, r = /,? & /;
|
|
995
|
+
function i(e) {
|
|
996
|
+
var t = e.match(n);
|
|
997
|
+
return t ? t[1].split(r) : [];
|
|
998
|
+
}
|
|
999
|
+
t.exports = i;
|
|
1000
|
+
})), Kt = /* @__PURE__ */ d(((e, t) => {
|
|
1001
|
+
var n = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;
|
|
1002
|
+
function r(e, t) {
|
|
1003
|
+
var r = t.length;
|
|
1004
|
+
if (!r) return e;
|
|
1005
|
+
var i = r - 1;
|
|
1006
|
+
return t[i] = (r > 1 ? "& " : "") + t[i], t = t.join(r > 2 ? ", " : " "), e.replace(n, "{\n/* [wrapped with " + t + "] */\n");
|
|
1007
|
+
}
|
|
1008
|
+
t.exports = r;
|
|
1009
|
+
})), qt = /* @__PURE__ */ d(((e, t) => {
|
|
1010
|
+
function n(e) {
|
|
1011
|
+
return function() {
|
|
1012
|
+
return e;
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
t.exports = n;
|
|
1016
|
+
})), Jt = /* @__PURE__ */ d(((e, t) => {
|
|
1017
|
+
var n = qt(), r = dt(), i = pt();
|
|
1018
|
+
t.exports = r ? function(e, t) {
|
|
1019
|
+
return r(e, "toString", {
|
|
1020
|
+
configurable: !0,
|
|
1021
|
+
enumerable: !1,
|
|
1022
|
+
value: n(t),
|
|
1023
|
+
writable: !0
|
|
1024
|
+
});
|
|
1025
|
+
} : i;
|
|
1026
|
+
})), Yt = /* @__PURE__ */ d(((e, t) => {
|
|
1027
|
+
var n = Jt();
|
|
1028
|
+
t.exports = Ut()(n);
|
|
1029
|
+
})), Xt = /* @__PURE__ */ d(((e, t) => {
|
|
1030
|
+
function n(e, t) {
|
|
1031
|
+
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
|
|
1032
|
+
return e;
|
|
1033
|
+
}
|
|
1034
|
+
t.exports = n;
|
|
1035
|
+
})), Zt = /* @__PURE__ */ d(((e, t) => {
|
|
1036
|
+
function n(e, t, n, r) {
|
|
1037
|
+
for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
|
|
1038
|
+
return -1;
|
|
1039
|
+
}
|
|
1040
|
+
t.exports = n;
|
|
1041
|
+
})), Qt = /* @__PURE__ */ d(((e, t) => {
|
|
1042
|
+
function n(e) {
|
|
1043
|
+
return e !== e;
|
|
1044
|
+
}
|
|
1045
|
+
t.exports = n;
|
|
1046
|
+
})), $t = /* @__PURE__ */ d(((e, t) => {
|
|
1047
|
+
function n(e, t, n) {
|
|
1048
|
+
for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
|
|
1049
|
+
return -1;
|
|
1050
|
+
}
|
|
1051
|
+
t.exports = n;
|
|
1052
|
+
})), en = /* @__PURE__ */ d(((e, t) => {
|
|
1053
|
+
var n = Zt(), r = Qt(), i = $t();
|
|
1054
|
+
function a(e, t, a) {
|
|
1055
|
+
return t === t ? i(e, t, a) : n(e, r, a);
|
|
1056
|
+
}
|
|
1057
|
+
t.exports = a;
|
|
1058
|
+
})), tn = /* @__PURE__ */ d(((e, t) => {
|
|
1059
|
+
var n = en();
|
|
1060
|
+
function r(e, t) {
|
|
1061
|
+
return !!(e != null && e.length) && n(e, t, 0) > -1;
|
|
1062
|
+
}
|
|
1063
|
+
t.exports = r;
|
|
1064
|
+
})), nn = /* @__PURE__ */ d(((e, t) => {
|
|
1065
|
+
var n = Xt(), r = tn(), i = [
|
|
1066
|
+
["ary", 128],
|
|
1067
|
+
["bind", 1],
|
|
1068
|
+
["bindKey", 2],
|
|
1069
|
+
["curry", 8],
|
|
1070
|
+
["curryRight", 16],
|
|
1071
|
+
["flip", 512],
|
|
1072
|
+
["partial", 32],
|
|
1073
|
+
["partialRight", 64],
|
|
1074
|
+
["rearg", 256]
|
|
1075
|
+
];
|
|
1076
|
+
function a(e, t) {
|
|
1077
|
+
return n(i, function(n) {
|
|
1078
|
+
var i = "_." + n[0];
|
|
1079
|
+
t & n[1] && !r(e, i) && e.push(i);
|
|
1080
|
+
}), e.sort();
|
|
1081
|
+
}
|
|
1082
|
+
t.exports = a;
|
|
1083
|
+
})), rn = /* @__PURE__ */ d(((e, t) => {
|
|
1084
|
+
var n = Gt(), r = Kt(), i = Yt(), a = nn();
|
|
1085
|
+
function o(e, t, o) {
|
|
1086
|
+
var s = t + "";
|
|
1087
|
+
return i(e, r(s, a(n(s), o)));
|
|
1088
|
+
}
|
|
1089
|
+
t.exports = o;
|
|
1090
|
+
})), an = /* @__PURE__ */ d(((e, t) => {
|
|
1091
|
+
var n = Ht(), r = Wt(), i = rn(), a = 1, o = 2, s = 4, c = 8, l = 32, u = 64;
|
|
1092
|
+
function d(e, t, d, f, p, m, h, g, _, v) {
|
|
1093
|
+
var y = t & c, b = y ? h : void 0, x = y ? void 0 : h, S = y ? m : void 0, C = y ? void 0 : m;
|
|
1094
|
+
t |= y ? l : u, t &= ~(y ? u : l), t & s || (t &= ~(a | o));
|
|
1095
|
+
var w = [
|
|
1096
|
+
e,
|
|
1097
|
+
t,
|
|
1098
|
+
p,
|
|
1099
|
+
S,
|
|
1100
|
+
b,
|
|
1101
|
+
C,
|
|
1102
|
+
x,
|
|
1103
|
+
g,
|
|
1104
|
+
_,
|
|
1105
|
+
v
|
|
1106
|
+
], T = d.apply(void 0, w);
|
|
1107
|
+
return n(e) && r(T, w), T.placeholder = f, i(T, e, t);
|
|
1108
|
+
}
|
|
1109
|
+
t.exports = d;
|
|
1110
|
+
})), on = /* @__PURE__ */ d(((e, t) => {
|
|
1111
|
+
function n(e) {
|
|
1112
|
+
return e.placeholder;
|
|
1113
|
+
}
|
|
1114
|
+
t.exports = n;
|
|
1115
|
+
})), sn = /* @__PURE__ */ d(((e, t) => {
|
|
1116
|
+
var n = zt(), r = ft(), i = Math.min;
|
|
1117
|
+
function a(e, t) {
|
|
1118
|
+
for (var a = e.length, o = i(t.length, a), s = n(e); o--;) {
|
|
1119
|
+
var c = t[o];
|
|
1120
|
+
e[o] = r(c, a) ? s[c] : void 0;
|
|
1121
|
+
}
|
|
1122
|
+
return e;
|
|
1123
|
+
}
|
|
1124
|
+
t.exports = a;
|
|
1125
|
+
})), cn = /* @__PURE__ */ d(((e, t) => {
|
|
1126
|
+
var n = "__lodash_placeholder__";
|
|
1127
|
+
function r(e, t) {
|
|
1128
|
+
for (var r = -1, i = e.length, a = 0, o = []; ++r < i;) {
|
|
1129
|
+
var s = e[r];
|
|
1130
|
+
(s === t || s === n) && (e[r] = n, o[a++] = r);
|
|
1131
|
+
}
|
|
1132
|
+
return o;
|
|
1133
|
+
}
|
|
1134
|
+
t.exports = r;
|
|
1135
|
+
})), ln = /* @__PURE__ */ d(((e, t) => {
|
|
1136
|
+
var n = kt(), r = At(), i = jt(), a = q(), o = an(), s = on(), c = sn(), l = cn(), u = z(), d = 1, f = 2, p = 8, m = 16, h = 128, g = 512;
|
|
1137
|
+
function _(e, t, v, y, b, x, S, C, w, T) {
|
|
1138
|
+
var E = t & h, D = t & d, O = t & f, k = t & (p | m), A = t & g, j = O ? void 0 : a(e);
|
|
1139
|
+
function M() {
|
|
1140
|
+
for (var d = arguments.length, f = Array(d), p = d; p--;) f[p] = arguments[p];
|
|
1141
|
+
if (k) var m = s(M), h = i(f, m);
|
|
1142
|
+
if (y && (f = n(f, y, b, k)), x && (f = r(f, x, S, k)), d -= h, k && d < T) {
|
|
1143
|
+
var g = l(f, m);
|
|
1144
|
+
return o(e, t, _, M.placeholder, v, f, g, C, w, T - d);
|
|
1145
|
+
}
|
|
1146
|
+
var N = D ? v : this, P = O ? N[e] : e;
|
|
1147
|
+
return d = f.length, C ? f = c(f, C) : A && d > 1 && f.reverse(), E && w < d && (f.length = w), this && this !== u && this instanceof M && (P = j || a(P)), P.apply(N, f);
|
|
1148
|
+
}
|
|
1149
|
+
return M;
|
|
1150
|
+
}
|
|
1151
|
+
t.exports = _;
|
|
1152
|
+
})), un = /* @__PURE__ */ d(((e, t) => {
|
|
1153
|
+
var n = Ot(), r = q(), i = ln(), a = an(), o = on(), s = cn(), c = z();
|
|
1154
|
+
function l(e, t, l) {
|
|
1155
|
+
var u = r(e);
|
|
1156
|
+
function d() {
|
|
1157
|
+
for (var r = arguments.length, f = Array(r), p = r, m = o(d); p--;) f[p] = arguments[p];
|
|
1158
|
+
var h = r < 3 && f[0] !== m && f[r - 1] !== m ? [] : s(f, m);
|
|
1159
|
+
return r -= h.length, r < l ? a(e, t, i, d.placeholder, void 0, f, h, void 0, void 0, l - r) : n(this && this !== c && this instanceof d ? u : e, this, f);
|
|
1160
|
+
}
|
|
1161
|
+
return d;
|
|
1162
|
+
}
|
|
1163
|
+
t.exports = l;
|
|
1164
|
+
})), dn = /* @__PURE__ */ d(((e, t) => {
|
|
1165
|
+
var n = Ot(), r = q(), i = z(), a = 1;
|
|
1166
|
+
function o(e, t, o, s) {
|
|
1167
|
+
var c = t & a, l = r(e);
|
|
1168
|
+
function u() {
|
|
1169
|
+
for (var t = -1, r = arguments.length, a = -1, d = s.length, f = Array(d + r), p = this && this !== i && this instanceof u ? l : e; ++a < d;) f[a] = s[a];
|
|
1170
|
+
for (; r--;) f[a++] = arguments[++t];
|
|
1171
|
+
return n(p, c ? o : this, f);
|
|
1172
|
+
}
|
|
1173
|
+
return u;
|
|
1174
|
+
}
|
|
1175
|
+
t.exports = o;
|
|
1176
|
+
})), fn = /* @__PURE__ */ d(((e, t) => {
|
|
1177
|
+
var n = kt(), r = At(), i = cn(), a = "__lodash_placeholder__", o = 1, s = 2, c = 4, l = 8, u = 128, d = 256, f = Math.min;
|
|
1178
|
+
function p(e, t) {
|
|
1179
|
+
var p = e[1], m = t[1], h = p | m, g = h < (o | s | u), _ = m == u && p == l || m == u && p == d && e[7].length <= t[8] || m == (u | d) && t[7].length <= t[8] && p == l;
|
|
1180
|
+
if (!(g || _)) return e;
|
|
1181
|
+
m & o && (e[2] = t[2], h |= p & o ? 0 : c);
|
|
1182
|
+
var v = t[3];
|
|
1183
|
+
if (v) {
|
|
1184
|
+
var y = e[3];
|
|
1185
|
+
e[3] = y ? n(y, v, t[4]) : v, e[4] = y ? i(e[3], a) : t[4];
|
|
1186
|
+
}
|
|
1187
|
+
return v = t[5], v && (y = e[5], e[5] = y ? r(y, v, t[6]) : v, e[6] = y ? i(e[5], a) : t[6]), v = t[7], v && (e[7] = v), m & u && (e[8] = e[8] == null ? t[8] : f(e[8], t[8])), e[9] ??= t[9], e[0] = t[0], e[1] = h, e;
|
|
1188
|
+
}
|
|
1189
|
+
t.exports = p;
|
|
1190
|
+
})), pn = /* @__PURE__ */ d(((e, t) => {
|
|
1191
|
+
var n = /\s/;
|
|
1192
|
+
function r(e) {
|
|
1193
|
+
for (var t = e.length; t-- && n.test(e.charAt(t)););
|
|
1194
|
+
return t;
|
|
1195
|
+
}
|
|
1196
|
+
t.exports = r;
|
|
1197
|
+
})), mn = /* @__PURE__ */ d(((e, t) => {
|
|
1198
|
+
var n = pn(), r = /^\s+/;
|
|
1199
|
+
function i(e) {
|
|
1200
|
+
return e && e.slice(0, n(e) + 1).replace(r, "");
|
|
1201
|
+
}
|
|
1202
|
+
t.exports = i;
|
|
1203
|
+
})), hn = /* @__PURE__ */ d(((e, t) => {
|
|
1204
|
+
var n = mn(), r = H(), i = rt(), a = NaN, o = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, l = parseInt;
|
|
1205
|
+
function u(e) {
|
|
1206
|
+
if (typeof e == "number") return e;
|
|
1207
|
+
if (i(e)) return a;
|
|
1208
|
+
if (r(e)) {
|
|
1209
|
+
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
1210
|
+
e = r(t) ? t + "" : t;
|
|
1211
|
+
}
|
|
1212
|
+
if (typeof e != "string") return e === 0 ? e : +e;
|
|
1213
|
+
e = n(e);
|
|
1214
|
+
var u = s.test(e);
|
|
1215
|
+
return u || c.test(e) ? l(e.slice(2), u ? 2 : 8) : o.test(e) ? a : +e;
|
|
1216
|
+
}
|
|
1217
|
+
t.exports = u;
|
|
1218
|
+
})), gn = /* @__PURE__ */ d(((e, t) => {
|
|
1219
|
+
var n = hn(), r = 1 / 0, i = 17976931348623157e292;
|
|
1220
|
+
function a(e) {
|
|
1221
|
+
return e ? (e = n(e), e === r || e === -r ? (e < 0 ? -1 : 1) * i : e === e ? e : 0) : e === 0 ? e : 0;
|
|
1222
|
+
}
|
|
1223
|
+
t.exports = a;
|
|
1224
|
+
})), _n = /* @__PURE__ */ d(((e, t) => {
|
|
1225
|
+
var n = gn();
|
|
1226
|
+
function r(e) {
|
|
1227
|
+
var t = n(e), r = t % 1;
|
|
1228
|
+
return t === t ? r ? t - r : t : 0;
|
|
1229
|
+
}
|
|
1230
|
+
t.exports = r;
|
|
1231
|
+
})), vn = /* @__PURE__ */ d(((e, t) => {
|
|
1232
|
+
var n = Et(), r = Dt(), i = un(), a = ln(), o = dn(), s = Ft(), c = fn(), l = Wt(), u = rn(), d = _n(), f = "Expected a function", p = 1, m = 2, h = 8, g = 16, _ = 32, v = 64, y = Math.max;
|
|
1233
|
+
function b(e, t, b, x, S, C, w, T) {
|
|
1234
|
+
var E = t & m;
|
|
1235
|
+
if (!E && typeof e != "function") throw TypeError(f);
|
|
1236
|
+
var D = x ? x.length : 0;
|
|
1237
|
+
if (D || (t &= ~(_ | v), x = S = void 0), w = w === void 0 ? w : y(d(w), 0), T = T === void 0 ? T : d(T), D -= S ? S.length : 0, t & v) {
|
|
1238
|
+
var O = x, k = S;
|
|
1239
|
+
x = S = void 0;
|
|
1240
|
+
}
|
|
1241
|
+
var A = E ? void 0 : s(e), j = [
|
|
1242
|
+
e,
|
|
1243
|
+
t,
|
|
1244
|
+
b,
|
|
1245
|
+
x,
|
|
1246
|
+
S,
|
|
1247
|
+
O,
|
|
1248
|
+
k,
|
|
1249
|
+
C,
|
|
1250
|
+
w,
|
|
1251
|
+
T
|
|
1252
|
+
];
|
|
1253
|
+
if (A && c(j, A), e = j[0], t = j[1], b = j[2], x = j[3], S = j[4], T = j[9] = j[9] === void 0 ? E ? 0 : e.length : y(j[9] - D, 0), !T && t & (h | g) && (t &= ~(h | g)), !t || t == p) var M = r(e, t, b);
|
|
1254
|
+
else M = t == h || t == g ? i(e, t, T) : (t == _ || t == (p | _)) && !S.length ? o(e, t, b, x) : a.apply(void 0, j);
|
|
1255
|
+
return u((A ? n : l)(M, j), e, t);
|
|
1256
|
+
}
|
|
1257
|
+
t.exports = b;
|
|
1258
|
+
})), yn = /* @__PURE__ */ d(((e, t) => {
|
|
1259
|
+
var n = vn(), r = 8;
|
|
1260
|
+
function i(e, t, a) {
|
|
1261
|
+
t = a ? void 0 : t;
|
|
1262
|
+
var o = n(e, r, void 0, void 0, void 0, void 0, void 0, t);
|
|
1263
|
+
return o.placeholder = i.placeholder, o;
|
|
1264
|
+
}
|
|
1265
|
+
i.placeholder = {}, t.exports = i;
|
|
1266
|
+
})), bn = /* @__PURE__ */ d(((e, t) => {
|
|
1267
|
+
var n = Object.prototype;
|
|
1268
|
+
function r(e) {
|
|
1269
|
+
var t = e && e.constructor;
|
|
1270
|
+
return e === (typeof t == "function" && t.prototype || n);
|
|
1271
|
+
}
|
|
1272
|
+
t.exports = r;
|
|
1273
|
+
})), xn = /* @__PURE__ */ d(((e, t) => {
|
|
1274
|
+
function n(e, t) {
|
|
1275
|
+
return function(n) {
|
|
1276
|
+
return e(t(n));
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
t.exports = n;
|
|
1280
|
+
})), Sn = /* @__PURE__ */ d(((e, t) => {
|
|
1281
|
+
t.exports = xn()(Object.keys, Object);
|
|
1282
|
+
})), Cn = /* @__PURE__ */ d(((e, t) => {
|
|
1283
|
+
var n = bn(), r = Sn(), i = Object.prototype.hasOwnProperty;
|
|
1284
|
+
function a(e) {
|
|
1285
|
+
if (!n(e)) return r(e);
|
|
1286
|
+
var t = [];
|
|
1287
|
+
for (var a in Object(e)) i.call(e, a) && a != "constructor" && t.push(a);
|
|
1288
|
+
return t;
|
|
1289
|
+
}
|
|
1290
|
+
t.exports = a;
|
|
1291
|
+
})), wn = /* @__PURE__ */ d(((e, t) => {
|
|
1292
|
+
t.exports = U()(z(), "DataView");
|
|
1293
|
+
})), Tn = /* @__PURE__ */ d(((e, t) => {
|
|
1294
|
+
t.exports = U()(z(), "Promise");
|
|
1295
|
+
})), En = /* @__PURE__ */ d(((e, t) => {
|
|
1296
|
+
t.exports = U()(z(), "Set");
|
|
1297
|
+
})), Dn = /* @__PURE__ */ d(((e, t) => {
|
|
1298
|
+
var n = wn(), r = ut(), i = Tn(), a = En(), o = wt(), s = B(), c = st(), l = "[object Map]", u = "[object Object]", d = "[object Promise]", f = "[object Set]", p = "[object WeakMap]", m = "[object DataView]", h = c(n), g = c(r), _ = c(i), v = c(a), y = c(o), b = s;
|
|
1299
|
+
(n && b(new n(/* @__PURE__ */ new ArrayBuffer(1))) != m || r && b(new r()) != l || i && b(i.resolve()) != d || a && b(new a()) != f || o && b(new o()) != p) && (b = function(e) {
|
|
1300
|
+
var t = s(e), n = t == u ? e.constructor : void 0, r = n ? c(n) : "";
|
|
1301
|
+
if (r) switch (r) {
|
|
1302
|
+
case h: return m;
|
|
1303
|
+
case g: return l;
|
|
1304
|
+
case _: return d;
|
|
1305
|
+
case v: return f;
|
|
1306
|
+
case y: return p;
|
|
1307
|
+
}
|
|
1308
|
+
return t;
|
|
1309
|
+
}), t.exports = b;
|
|
1310
|
+
})), On = /* @__PURE__ */ d(((e, t) => {
|
|
1311
|
+
var n = B(), r = V(), i = "[object Arguments]";
|
|
1312
|
+
function a(e) {
|
|
1313
|
+
return r(e) && n(e) == i;
|
|
1314
|
+
}
|
|
1315
|
+
t.exports = a;
|
|
1316
|
+
})), kn = /* @__PURE__ */ d(((e, t) => {
|
|
1317
|
+
var n = On(), r = V(), i = Object.prototype, a = i.hasOwnProperty, o = i.propertyIsEnumerable;
|
|
1318
|
+
t.exports = n(function() {
|
|
1319
|
+
return arguments;
|
|
1320
|
+
}()) ? n : function(e) {
|
|
1321
|
+
return r(e) && a.call(e, "callee") && !o.call(e, "callee");
|
|
1322
|
+
};
|
|
1323
|
+
})), An = /* @__PURE__ */ d(((e, t) => {
|
|
1324
|
+
function n(e) {
|
|
1325
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= 9007199254740991;
|
|
1326
|
+
}
|
|
1327
|
+
t.exports = n;
|
|
1328
|
+
})), jn = /* @__PURE__ */ d(((e, t) => {
|
|
1329
|
+
var n = it(), r = An();
|
|
1330
|
+
function i(e) {
|
|
1331
|
+
return e != null && r(e.length) && !n(e);
|
|
1332
|
+
}
|
|
1333
|
+
t.exports = i;
|
|
1334
|
+
})), Mn = /* @__PURE__ */ d(((e, t) => {
|
|
1335
|
+
function n() {
|
|
1336
|
+
return !1;
|
|
1337
|
+
}
|
|
1338
|
+
t.exports = n;
|
|
1339
|
+
})), Nn = /* @__PURE__ */ d(((e, t) => {
|
|
1340
|
+
var n = z(), r = Mn(), i = typeof e == "object" && e && !e.nodeType && e, a = i && typeof t == "object" && t && !t.nodeType && t, o = a && a.exports === i ? n.Buffer : void 0;
|
|
1341
|
+
t.exports = (o ? o.isBuffer : void 0) || r;
|
|
1342
|
+
})), Pn = /* @__PURE__ */ d(((e, t) => {
|
|
1343
|
+
var n = B(), r = An(), i = V(), a = "[object Arguments]", o = "[object Array]", s = "[object Boolean]", c = "[object Date]", l = "[object Error]", u = "[object Function]", d = "[object Map]", f = "[object Number]", p = "[object Object]", m = "[object RegExp]", h = "[object Set]", g = "[object String]", _ = "[object WeakMap]", v = "[object ArrayBuffer]", y = "[object DataView]", b = "[object Float32Array]", x = "[object Float64Array]", S = "[object Int8Array]", C = "[object Int16Array]", w = "[object Int32Array]", T = "[object Uint8Array]", E = "[object Uint8ClampedArray]", D = "[object Uint16Array]", O = "[object Uint32Array]", k = {};
|
|
1344
|
+
k[b] = k[x] = k[S] = k[C] = k[w] = k[T] = k[E] = k[D] = k[O] = !0, k[a] = k[o] = k[v] = k[s] = k[y] = k[c] = k[l] = k[u] = k[d] = k[f] = k[p] = k[m] = k[h] = k[g] = k[_] = !1;
|
|
1345
|
+
function A(e) {
|
|
1346
|
+
return i(e) && r(e.length) && !!k[n(e)];
|
|
1347
|
+
}
|
|
1348
|
+
t.exports = A;
|
|
1349
|
+
})), Fn = /* @__PURE__ */ d(((e, t) => {
|
|
1350
|
+
function n(e) {
|
|
1351
|
+
return function(t) {
|
|
1352
|
+
return e(t);
|
|
1353
|
+
};
|
|
1354
|
+
}
|
|
1355
|
+
t.exports = n;
|
|
1356
|
+
})), In = /* @__PURE__ */ d(((e, t) => {
|
|
1357
|
+
var n = $e(), r = typeof e == "object" && e && !e.nodeType && e, i = r && typeof t == "object" && t && !t.nodeType && t, a = i && i.exports === r && n.process;
|
|
1358
|
+
t.exports = function() {
|
|
1359
|
+
try {
|
|
1360
|
+
return i && i.require && i.require("util").types || a && a.binding && a.binding("util");
|
|
1361
|
+
} catch {}
|
|
1362
|
+
}();
|
|
1363
|
+
})), Ln = /* @__PURE__ */ d(((e, t) => {
|
|
1364
|
+
var n = Pn(), r = Fn(), i = In(), a = i && i.isTypedArray;
|
|
1365
|
+
t.exports = a ? r(a) : n;
|
|
1366
|
+
})), Rn = /* @__PURE__ */ d(((e, t) => {
|
|
1367
|
+
var n = Cn(), r = Dn(), i = kn(), a = Qe(), o = jn(), s = Nn(), c = bn(), l = Ln(), u = "[object Map]", d = "[object Set]", f = Object.prototype.hasOwnProperty;
|
|
1368
|
+
function p(e) {
|
|
1369
|
+
if (e == null) return !0;
|
|
1370
|
+
if (o(e) && (a(e) || typeof e == "string" || typeof e.splice == "function" || s(e) || l(e) || i(e))) return !e.length;
|
|
1371
|
+
var t = r(e);
|
|
1372
|
+
if (t == u || t == d) return !e.size;
|
|
1373
|
+
if (c(e)) return !n(e).length;
|
|
1374
|
+
for (var p in e) if (f.call(e, p)) return !1;
|
|
1375
|
+
return !0;
|
|
1376
|
+
}
|
|
1377
|
+
t.exports = p;
|
|
1378
|
+
})), zn = /* @__PURE__ */ m(yn(), 1), Bn = /* @__PURE__ */ m(Rn(), 1);
|
|
1379
|
+
function Vn(e, t) {
|
|
1380
|
+
function a(n, a) {
|
|
1381
|
+
let o = r(Ze), s = {
|
|
1382
|
+
...n,
|
|
1383
|
+
...a ? { ref: a } : {}
|
|
1384
|
+
}, c = (o || {})[e];
|
|
1385
|
+
return (0, Bn.default)(c) || (0, Bn.default)(c.wrap) ? /* @__PURE__ */ i(t, { ...s }) : c.wrap.slice().reverse().reduce((e, n) => {
|
|
1386
|
+
let r = n.component;
|
|
1387
|
+
return /* @__PURE__ */ i(r, {
|
|
1388
|
+
targetProps: s,
|
|
1389
|
+
...s,
|
|
1390
|
+
TargetComponent: t,
|
|
1391
|
+
children: e
|
|
1392
|
+
});
|
|
1393
|
+
}, /* @__PURE__ */ i(t, { ...s }));
|
|
1394
|
+
}
|
|
1395
|
+
let o = n(a);
|
|
1396
|
+
return o.displayName = `WithPlugins(${e})`, o;
|
|
1397
|
+
}
|
|
1398
|
+
var Hn = (0, zn.default)(Vn), J = [];
|
|
1399
|
+
for (let e = 0; e < 256; ++e) J.push((e + 256).toString(16).slice(1));
|
|
1400
|
+
function Un(e, t = 0) {
|
|
1401
|
+
return (J[e[t + 0]] + J[e[t + 1]] + J[e[t + 2]] + J[e[t + 3]] + "-" + J[e[t + 4]] + J[e[t + 5]] + "-" + J[e[t + 6]] + J[e[t + 7]] + "-" + J[e[t + 8]] + J[e[t + 9]] + "-" + J[e[t + 10]] + J[e[t + 11]] + J[e[t + 12]] + J[e[t + 13]] + J[e[t + 14]] + J[e[t + 15]]).toLowerCase();
|
|
1402
|
+
}
|
|
1403
|
+
//#endregion
|
|
1404
|
+
//#region ../node_modules/uuid/dist/esm-browser/rng.js
|
|
1405
|
+
var Wn, Gn = /* @__PURE__ */ new Uint8Array(16);
|
|
1406
|
+
function Kn() {
|
|
1407
|
+
if (!Wn) {
|
|
1408
|
+
if (typeof crypto > "u" || !crypto.getRandomValues) throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1409
|
+
Wn = crypto.getRandomValues.bind(crypto);
|
|
1410
|
+
}
|
|
1411
|
+
return Wn(Gn);
|
|
1412
|
+
}
|
|
1413
|
+
var qn = { randomUUID: typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
|
|
1414
|
+
//#endregion
|
|
1415
|
+
//#region ../node_modules/uuid/dist/esm-browser/v4.js
|
|
1416
|
+
function Jn(e, t, n) {
|
|
1417
|
+
if (qn.randomUUID && !t && !e) return qn.randomUUID();
|
|
1418
|
+
e ||= {};
|
|
1419
|
+
let r = e.random ?? e.rng?.() ?? Kn();
|
|
1420
|
+
if (r.length < 16) throw Error("Random bytes length must be >= 16");
|
|
1421
|
+
if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
|
|
1422
|
+
if (n ||= 0, n < 0 || n + 16 > t.length) throw RangeError(`UUID byte range ${n}:${n + 15} is out of buffer bounds`);
|
|
1423
|
+
for (let e = 0; e < 16; ++e) t[n + e] = r[e];
|
|
1424
|
+
return t;
|
|
1425
|
+
}
|
|
1426
|
+
return Un(r);
|
|
1427
|
+
}
|
|
1428
|
+
//#endregion
|
|
1429
|
+
//#region ../node_modules/reselect/dist/reselect.mjs
|
|
1430
|
+
var Yn = class {
|
|
1431
|
+
constructor(e) {
|
|
1432
|
+
this.value = e;
|
|
1433
|
+
}
|
|
1434
|
+
deref() {
|
|
1435
|
+
return this.value;
|
|
1436
|
+
}
|
|
1437
|
+
}, Xn = typeof WeakRef > "u" ? Yn : WeakRef, Zn = 0, Y = 1;
|
|
1438
|
+
function X() {
|
|
1439
|
+
return {
|
|
1440
|
+
s: Zn,
|
|
1441
|
+
v: void 0,
|
|
1442
|
+
o: null,
|
|
1443
|
+
p: null
|
|
1444
|
+
};
|
|
1445
|
+
}
|
|
1446
|
+
function Qn(e) {
|
|
1447
|
+
return e instanceof Xn ? e.deref() : e;
|
|
1448
|
+
}
|
|
1449
|
+
function $n(e, t = {}) {
|
|
1450
|
+
let n = X(), { resultEqualityCheck: r, maxSize: i } = t, a = i !== void 0;
|
|
1451
|
+
if (a && (!Number.isInteger(i) || i < 1)) throw TypeError(`maxSize must be a positive integer, received: ${i}`);
|
|
1452
|
+
let o = null, s = 0, c, l = 0;
|
|
1453
|
+
function u() {
|
|
1454
|
+
s >= i && (o = n, n = X(), s = 0);
|
|
1455
|
+
}
|
|
1456
|
+
function d() {
|
|
1457
|
+
let t = n, { length: i } = arguments;
|
|
1458
|
+
for (let e = 0, n = i; e < n; e++) {
|
|
1459
|
+
let n = arguments[e];
|
|
1460
|
+
if (typeof n == "function" || typeof n == "object" && n) {
|
|
1461
|
+
let e = t.o;
|
|
1462
|
+
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
|
|
1463
|
+
let r = e.get(n);
|
|
1464
|
+
r === void 0 ? (t = X(), e.set(n, t)) : t = r;
|
|
1465
|
+
} else {
|
|
1466
|
+
let e = t.p;
|
|
1467
|
+
e === null && (t.p = e = /* @__PURE__ */ new Map());
|
|
1468
|
+
let r = e.get(n);
|
|
1469
|
+
r === void 0 ? (t = X(), e.set(n, t), s++) : t = r;
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
if (t.s === Y) return t.v;
|
|
1473
|
+
if (o !== null) {
|
|
1474
|
+
let e = o;
|
|
1475
|
+
for (let t = 0, n = i; t < n; t++) {
|
|
1476
|
+
let n = arguments[t], r;
|
|
1477
|
+
if (typeof n == "function" || typeof n == "object" && n) {
|
|
1478
|
+
let t = e.o;
|
|
1479
|
+
r = t === null ? void 0 : t.get(n);
|
|
1480
|
+
} else {
|
|
1481
|
+
let t = e.p;
|
|
1482
|
+
r = t === null ? void 0 : t.get(n);
|
|
1483
|
+
}
|
|
1484
|
+
if (r === void 0) {
|
|
1485
|
+
e = null;
|
|
1486
|
+
break;
|
|
1487
|
+
}
|
|
1488
|
+
e = r;
|
|
1489
|
+
}
|
|
1490
|
+
if (e !== null && e.s === Y) {
|
|
1491
|
+
let n = t;
|
|
1492
|
+
return n.s = Y, n.v = e.v, u(), e.v;
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
let d = t, f = e.apply(null, arguments);
|
|
1496
|
+
if (l++, r) {
|
|
1497
|
+
let e = Qn(c);
|
|
1498
|
+
e != null && r(e, f) && (f = e, l !== 0 && l--), c = typeof f == "object" && f || typeof f == "function" ? /* @__PURE__ */ new Xn(f) : f;
|
|
1499
|
+
}
|
|
1500
|
+
return d.s = Y, d.v = f, a && u(), f;
|
|
1501
|
+
}
|
|
1502
|
+
return d.clearCache = () => {
|
|
1503
|
+
n = X(), o = null, s = 0, d.resetResultsCount();
|
|
1504
|
+
}, d.resultsCount = () => l, d.resetResultsCount = () => {
|
|
1505
|
+
l = 0;
|
|
1506
|
+
}, d;
|
|
1507
|
+
}
|
|
1508
|
+
function er(e, t = `expected a function, instead received ${typeof e}`) {
|
|
1509
|
+
if (typeof e != "function") throw TypeError(t);
|
|
1510
|
+
}
|
|
1511
|
+
function tr(e, t = "expected all items to be functions, instead received the following types: ") {
|
|
1512
|
+
if (!e.every((e) => typeof e == "function")) {
|
|
1513
|
+
let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
|
|
1514
|
+
throw TypeError(`${t}[${n}]`);
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
var nr = (e) => Array.isArray(e) ? e : [e];
|
|
1518
|
+
function rr(e) {
|
|
1519
|
+
let t = Array.isArray(e[0]) ? e[0] : e;
|
|
1520
|
+
return tr(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
|
|
1521
|
+
}
|
|
1522
|
+
function ir(e, ...t) {
|
|
1523
|
+
let n = typeof e == "function" ? {
|
|
1524
|
+
memoize: e,
|
|
1525
|
+
memoizeOptions: t
|
|
1526
|
+
} : e, r = (...e) => {
|
|
1527
|
+
let t = 0, r = 0, i, a = {}, o = e.pop();
|
|
1528
|
+
typeof o == "object" && (a = o, o = e.pop()), er(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
|
|
1529
|
+
let { memoize: s, memoizeOptions: c = [], argsMemoize: l = $n, argsMemoizeOptions: u = [] } = {
|
|
1530
|
+
...n,
|
|
1531
|
+
...a
|
|
1532
|
+
}, d = nr(c), f = nr(u), p = rr(e), m = s(function() {
|
|
1533
|
+
return t++, o.apply(null, arguments);
|
|
1534
|
+
}, ...d), h = l(function() {
|
|
1535
|
+
r++;
|
|
1536
|
+
let { length: e } = p, t = Array(e);
|
|
1537
|
+
for (let n = 0; n < e; n++) t[n] = p[n].apply(null, arguments);
|
|
1538
|
+
return i = m.apply(null, t), i;
|
|
1539
|
+
}, ...f);
|
|
1540
|
+
return Object.assign(h, {
|
|
1541
|
+
resultFunc: o,
|
|
1542
|
+
memoizedResultFunc: m,
|
|
1543
|
+
dependencies: p,
|
|
1544
|
+
dependencyRecomputations: () => r,
|
|
1545
|
+
resetDependencyRecomputations: () => {
|
|
1546
|
+
r = 0;
|
|
1547
|
+
},
|
|
1548
|
+
lastResult: () => i,
|
|
1549
|
+
recomputations: () => t,
|
|
1550
|
+
resetRecomputations: () => {
|
|
1551
|
+
t = 0;
|
|
1552
|
+
},
|
|
1553
|
+
memoize: s,
|
|
1554
|
+
argsMemoize: l
|
|
1555
|
+
});
|
|
1556
|
+
};
|
|
1557
|
+
return Object.assign(r, { withTypes: () => r }), r;
|
|
1558
|
+
}
|
|
1559
|
+
var Z = /* @__PURE__ */ ir($n), ar = {
|
|
1560
|
+
state: {},
|
|
1561
|
+
canvasNavigation: {
|
|
1562
|
+
height: 50,
|
|
1563
|
+
width: 50
|
|
1564
|
+
},
|
|
1565
|
+
selectedTheme: "light",
|
|
1566
|
+
themes: {
|
|
1567
|
+
dark: { palette: {
|
|
1568
|
+
mode: "dark",
|
|
1569
|
+
primary: { main: "#4db6ac" },
|
|
1570
|
+
secondary: { main: "#4db6ac" },
|
|
1571
|
+
shades: {
|
|
1572
|
+
dark: "#000000",
|
|
1573
|
+
main: "#424242",
|
|
1574
|
+
light: "#616161"
|
|
1575
|
+
}
|
|
1576
|
+
} },
|
|
1577
|
+
light: { palette: { mode: "light" } }
|
|
1578
|
+
},
|
|
1579
|
+
theme: {
|
|
1580
|
+
palette: {
|
|
1581
|
+
mode: "light",
|
|
1582
|
+
primary: { main: "#1967d2" },
|
|
1583
|
+
secondary: { main: "#1967d2" },
|
|
1584
|
+
shades: {
|
|
1585
|
+
dark: "#eeeeee",
|
|
1586
|
+
main: "#ffffff",
|
|
1587
|
+
light: "#f5f5f5"
|
|
1588
|
+
},
|
|
1589
|
+
error: { main: "#b00020" },
|
|
1590
|
+
notification: {
|
|
1591
|
+
main: "#ffa224",
|
|
1592
|
+
contrastText: "#ffa224"
|
|
1593
|
+
},
|
|
1594
|
+
hitCounter: { default: "#bdbdbd" },
|
|
1595
|
+
highlights: {
|
|
1596
|
+
primary: "#ffff00",
|
|
1597
|
+
secondary: "#00BFFF"
|
|
1598
|
+
},
|
|
1599
|
+
section_divider: "rgba(0, 0, 0, 0.25)",
|
|
1600
|
+
annotations: {
|
|
1601
|
+
chipBackground: "#e0e0e0",
|
|
1602
|
+
hidden: { globalAlpha: 0 },
|
|
1603
|
+
default: {
|
|
1604
|
+
strokeStyle: "#00BFFF",
|
|
1605
|
+
globalAlpha: 1
|
|
1606
|
+
},
|
|
1607
|
+
hovered: {
|
|
1608
|
+
strokeStyle: "#BF00FF",
|
|
1609
|
+
globalAlpha: 1
|
|
1610
|
+
},
|
|
1611
|
+
selected: {
|
|
1612
|
+
strokeStyle: "#ffff00",
|
|
1613
|
+
globalAlpha: 1
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
search: {
|
|
1617
|
+
default: {
|
|
1618
|
+
fillStyle: "#00BFFF",
|
|
1619
|
+
globalAlpha: .3
|
|
1620
|
+
},
|
|
1621
|
+
hovered: {
|
|
1622
|
+
fillStyle: "#00FFFF",
|
|
1623
|
+
globalAlpha: .3
|
|
1624
|
+
},
|
|
1625
|
+
selected: {
|
|
1626
|
+
fillStyle: "#ffff00",
|
|
1627
|
+
globalAlpha: .3
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
typography: {
|
|
1632
|
+
body1: {
|
|
1633
|
+
fontSize: "1rem",
|
|
1634
|
+
letterSpacing: "0em",
|
|
1635
|
+
lineHeight: "1.6em"
|
|
1636
|
+
},
|
|
1637
|
+
body2: {
|
|
1638
|
+
fontSize: "0.878rem",
|
|
1639
|
+
letterSpacing: "0.015em",
|
|
1640
|
+
lineHeight: "1.6em"
|
|
1641
|
+
},
|
|
1642
|
+
button: {
|
|
1643
|
+
fontSize: "0.878rem",
|
|
1644
|
+
letterSpacing: "0.09em",
|
|
1645
|
+
lineHeight: "2.25rem",
|
|
1646
|
+
textTransform: "uppercase"
|
|
1647
|
+
},
|
|
1648
|
+
caption: {
|
|
1649
|
+
fontSize: "0.772rem",
|
|
1650
|
+
letterSpacing: "0.033em",
|
|
1651
|
+
lineHeight: "1.6rem"
|
|
1652
|
+
},
|
|
1653
|
+
body1Next: {
|
|
1654
|
+
fontSize: "1rem",
|
|
1655
|
+
letterSpacing: "0em",
|
|
1656
|
+
lineHeight: "1.6em"
|
|
1657
|
+
},
|
|
1658
|
+
body2Next: {
|
|
1659
|
+
fontSize: "0.878rem",
|
|
1660
|
+
letterSpacing: "0.015em",
|
|
1661
|
+
lineHeight: "1.6em"
|
|
1662
|
+
},
|
|
1663
|
+
buttonNext: {
|
|
1664
|
+
fontSize: "0.878rem",
|
|
1665
|
+
letterSpacing: "0.09em",
|
|
1666
|
+
lineHeight: "2.25rem"
|
|
1667
|
+
},
|
|
1668
|
+
captionNext: {
|
|
1669
|
+
fontSize: "0.772rem",
|
|
1670
|
+
letterSpacing: "0.33em",
|
|
1671
|
+
lineHeight: "1.6rem"
|
|
1672
|
+
},
|
|
1673
|
+
overline: {
|
|
1674
|
+
fontSize: "0.678rem",
|
|
1675
|
+
fontWeight: 500,
|
|
1676
|
+
letterSpacing: "0.166em",
|
|
1677
|
+
lineHeight: "2em",
|
|
1678
|
+
textTransform: "uppercase"
|
|
1679
|
+
},
|
|
1680
|
+
h1: {
|
|
1681
|
+
fontSize: "2.822rem",
|
|
1682
|
+
letterSpacing: "-0.015em",
|
|
1683
|
+
lineHeight: "1.2em"
|
|
1684
|
+
},
|
|
1685
|
+
h2: {
|
|
1686
|
+
fontSize: "1.575rem",
|
|
1687
|
+
letterSpacing: "0em",
|
|
1688
|
+
lineHeight: "1.33em"
|
|
1689
|
+
},
|
|
1690
|
+
h3: {
|
|
1691
|
+
fontSize: "1.383rem",
|
|
1692
|
+
fontWeight: 300,
|
|
1693
|
+
letterSpacing: "0em",
|
|
1694
|
+
lineHeight: "1.33em"
|
|
1695
|
+
},
|
|
1696
|
+
h4: {
|
|
1697
|
+
fontSize: "1.215rem",
|
|
1698
|
+
letterSpacing: "0.007em",
|
|
1699
|
+
lineHeight: "1.45em"
|
|
1700
|
+
},
|
|
1701
|
+
h5: {
|
|
1702
|
+
fontSize: "1.138rem",
|
|
1703
|
+
letterSpacing: "0.005em",
|
|
1704
|
+
lineHeight: "1.55em"
|
|
1705
|
+
},
|
|
1706
|
+
h6: {
|
|
1707
|
+
fontSize: "1.067rem",
|
|
1708
|
+
fontWeight: 400,
|
|
1709
|
+
letterSpacing: "0.01em",
|
|
1710
|
+
lineHeight: "1.6em"
|
|
1711
|
+
},
|
|
1712
|
+
subtitle1: {
|
|
1713
|
+
fontSize: "0.937rem",
|
|
1714
|
+
letterSpacing: "0.015em",
|
|
1715
|
+
lineHeight: "1.6em",
|
|
1716
|
+
fontWeight: 300
|
|
1717
|
+
},
|
|
1718
|
+
subtitle2: {
|
|
1719
|
+
fontSize: "0.878rem",
|
|
1720
|
+
fontWeight: 500,
|
|
1721
|
+
letterSpacing: "0.02em",
|
|
1722
|
+
lineHeight: "1.75em"
|
|
1723
|
+
},
|
|
1724
|
+
useNextVariants: !0
|
|
1725
|
+
},
|
|
1726
|
+
components: {
|
|
1727
|
+
MuiMenuItem: { variants: [{
|
|
1728
|
+
props: { variant: "multiline" },
|
|
1729
|
+
style: { whiteSpace: "normal" }
|
|
1730
|
+
}] },
|
|
1731
|
+
CompanionWindow: { styleOverrides: {
|
|
1732
|
+
closeButton: { order: 4 },
|
|
1733
|
+
contents: {
|
|
1734
|
+
overflowY: "auto",
|
|
1735
|
+
wordBreak: "break-word"
|
|
1736
|
+
},
|
|
1737
|
+
controls: ({ ownerState: e }) => ({
|
|
1738
|
+
alignItems: "center",
|
|
1739
|
+
display: "flex",
|
|
1740
|
+
flexFlow: "row wrap",
|
|
1741
|
+
flexGrow: 1,
|
|
1742
|
+
justifyContent: e?.position === "bottom" || e?.position === "far-bottom" ? "flex-end" : "flex-start",
|
|
1743
|
+
minHeight: 48,
|
|
1744
|
+
order: 3
|
|
1745
|
+
}),
|
|
1746
|
+
positionButton: {
|
|
1747
|
+
marginLeft: -16,
|
|
1748
|
+
order: -100,
|
|
1749
|
+
width: 24
|
|
1750
|
+
},
|
|
1751
|
+
resize: ({ ownerState: e }) => ({
|
|
1752
|
+
display: "flex",
|
|
1753
|
+
flexDirection: "column",
|
|
1754
|
+
minHeight: 50,
|
|
1755
|
+
minWidth: e?.position === "left" ? 235 : 100,
|
|
1756
|
+
position: "relative"
|
|
1757
|
+
}),
|
|
1758
|
+
root: ({ ownerState: e }) => ({
|
|
1759
|
+
boxShadow: "none",
|
|
1760
|
+
boxSizing: "border-box",
|
|
1761
|
+
display: "flex",
|
|
1762
|
+
flexDirection: "column",
|
|
1763
|
+
minHeight: 0,
|
|
1764
|
+
...e?.position === "right" && { borderLeft: "0.5px solid rgba(0, 0, 0, 0.125)" },
|
|
1765
|
+
...e?.position === "left" && { borderRight: "0.5px solid rgba(0, 0, 0, 0.125)" },
|
|
1766
|
+
...e?.position === "bottom" && { borderTop: "0.5px solid rgba(0, 0, 0, 0.125)" }
|
|
1767
|
+
}),
|
|
1768
|
+
title: ({ theme: e }) => ({
|
|
1769
|
+
...e.typography.subtitle1,
|
|
1770
|
+
alignSelf: "center",
|
|
1771
|
+
flexGrow: 1,
|
|
1772
|
+
width: 160
|
|
1773
|
+
}),
|
|
1774
|
+
toolbar: ({ theme: e }) => ({
|
|
1775
|
+
alignItems: "flex-start",
|
|
1776
|
+
backgroundColor: e.palette.shades.light,
|
|
1777
|
+
flexWrap: "wrap",
|
|
1778
|
+
justifyContent: "space-between",
|
|
1779
|
+
minHeight: "max-content",
|
|
1780
|
+
paddingInlineStart: "1rem"
|
|
1781
|
+
})
|
|
1782
|
+
} },
|
|
1783
|
+
CompanionWindowSection: { styleOverrides: { root: { borderBlockEnd: ".5px solid rgba(0, 0, 0, 0.25)" } } },
|
|
1784
|
+
IIIFHtmlContent: { styleOverrides: { root: ({ theme: e }) => ({ "& a": {
|
|
1785
|
+
color: e.palette.primary.main,
|
|
1786
|
+
textDecoration: "underline"
|
|
1787
|
+
} }) } },
|
|
1788
|
+
IIIFThumbnail: { styleOverrides: {
|
|
1789
|
+
root: ({ ownerState: e }) => ({ ...e?.variant === "inside" && {
|
|
1790
|
+
display: "inline-block",
|
|
1791
|
+
height: "inherit",
|
|
1792
|
+
position: "relative"
|
|
1793
|
+
} }),
|
|
1794
|
+
label: ({ ownerState: e }) => ({
|
|
1795
|
+
overflow: "hidden",
|
|
1796
|
+
textOverflow: "ellipsis",
|
|
1797
|
+
lineHeight: "1.5em",
|
|
1798
|
+
wordBreak: "break-word",
|
|
1799
|
+
...e?.variant === "inside" && {
|
|
1800
|
+
color: "#ffffff",
|
|
1801
|
+
WebkitLineClamp: 1,
|
|
1802
|
+
whiteSpace: "nowrap"
|
|
1803
|
+
},
|
|
1804
|
+
...e?.variant === "outside" && {
|
|
1805
|
+
display: "-webkit-box",
|
|
1806
|
+
maxHeight: "3em",
|
|
1807
|
+
MozBoxOrient: "vertical",
|
|
1808
|
+
WebkitLineClamp: 2
|
|
1809
|
+
},
|
|
1810
|
+
...e?.variant === "inside" && {
|
|
1811
|
+
background: "linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0) 100%)",
|
|
1812
|
+
bottom: "0px",
|
|
1813
|
+
boxSizing: "border-box",
|
|
1814
|
+
left: "0px",
|
|
1815
|
+
padding: "4px",
|
|
1816
|
+
position: "absolute",
|
|
1817
|
+
width: "100%"
|
|
1818
|
+
}
|
|
1819
|
+
}),
|
|
1820
|
+
image: ({ ownerState: e }) => ({ ...e?.border && { border: "1px solid rgba(0, 0, 0, 0.125)" } })
|
|
1821
|
+
} },
|
|
1822
|
+
ThemeIcon: { styleOverrides: { icon: ({ ownerState: e }) => ({ color: e?.value === "dark" ? "#000000" : void 0 }) } },
|
|
1823
|
+
MuiAccordion: { variants: [{
|
|
1824
|
+
props: { variant: "compact" },
|
|
1825
|
+
style: {
|
|
1826
|
+
"& .MuiAccordionSummary-root": {
|
|
1827
|
+
minHeight: "unset",
|
|
1828
|
+
padding: 0
|
|
1829
|
+
},
|
|
1830
|
+
"& .MuiAccordionSummary-content": { margin: 0 },
|
|
1831
|
+
"& .MuiAccordionDetails-root": { padding: 0 }
|
|
1832
|
+
}
|
|
1833
|
+
}] },
|
|
1834
|
+
MuiButton: { styleOverrides: {
|
|
1835
|
+
inlineText: {
|
|
1836
|
+
lineHeight: "1.5em",
|
|
1837
|
+
padding: 0,
|
|
1838
|
+
textAlign: "inherit",
|
|
1839
|
+
textTransform: "none"
|
|
1840
|
+
},
|
|
1841
|
+
inlineTextSecondary: ({ theme: e }) => ({ color: e.palette.secondary.main })
|
|
1842
|
+
} },
|
|
1843
|
+
MuiButtonBase: { defaultProps: { disableTouchRipple: !0 } },
|
|
1844
|
+
MuiDialog: { variants: [{
|
|
1845
|
+
props: { variant: "contained" },
|
|
1846
|
+
style: {
|
|
1847
|
+
position: "absolute",
|
|
1848
|
+
"& .MuiBackdrop-root": { position: "absolute" }
|
|
1849
|
+
}
|
|
1850
|
+
}] },
|
|
1851
|
+
MuiFab: { styleOverrides: { root: { transition: "none" } } },
|
|
1852
|
+
MuiLink: { defaultProps: { underline: "always" } },
|
|
1853
|
+
MuiListSubheader: { styleOverrides: { root: { "&[role=\"presentation\"]:focus": { outline: 0 } } } },
|
|
1854
|
+
MuiTooltip: { styleOverrides: {
|
|
1855
|
+
tooltipPlacementLeft: { "@media (min-width:600px)": { margin: "0 !important" } },
|
|
1856
|
+
tooltipPlacementRight: { "@media (min-width:600px)": { margin: "0 !important" } },
|
|
1857
|
+
tooltipPlacementTop: { "@media (min-width:600px)": { margin: "0 !important" } },
|
|
1858
|
+
tooltipPlacementBottom: { "@media (min-width:600px)": { margin: "0 !important" } }
|
|
1859
|
+
} },
|
|
1860
|
+
MuiTouchRipple: { styleOverrides: {
|
|
1861
|
+
childPulsate: { animation: "none" },
|
|
1862
|
+
rippleVisible: { animation: "none" }
|
|
1863
|
+
} }
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
language: "en",
|
|
1867
|
+
availableLanguages: {
|
|
1868
|
+
ar: "العربية",
|
|
1869
|
+
de: "Deutsch",
|
|
1870
|
+
en: "English",
|
|
1871
|
+
et: "Eesti",
|
|
1872
|
+
fa: "فارسی",
|
|
1873
|
+
fr: "Français",
|
|
1874
|
+
hr: "Hrvatski",
|
|
1875
|
+
ja: "日本語",
|
|
1876
|
+
kr: "한국어",
|
|
1877
|
+
lt: "Lietuvių",
|
|
1878
|
+
hu: "Magyar",
|
|
1879
|
+
nl: "Nederlands",
|
|
1880
|
+
"nb-NO": "Norwegian Bokmål",
|
|
1881
|
+
pl: "Polski",
|
|
1882
|
+
"pt-BR": "Português do Brasil",
|
|
1883
|
+
vi: "Tiếng Việt",
|
|
1884
|
+
"zh-CN": "中文(简体)",
|
|
1885
|
+
"zh-TW": "中文(繁體)",
|
|
1886
|
+
it: "Italiano",
|
|
1887
|
+
sr: "Српски",
|
|
1888
|
+
sv: "Svenska",
|
|
1889
|
+
bg: "Български"
|
|
1890
|
+
},
|
|
1891
|
+
annotations: {
|
|
1892
|
+
htmlSanitizationRuleSet: "iiif",
|
|
1893
|
+
filteredMotivations: []
|
|
1894
|
+
},
|
|
1895
|
+
createGenerateClassNameOptions: { productionPrefix: "mirador" },
|
|
1896
|
+
requests: {
|
|
1897
|
+
preprocessors: [],
|
|
1898
|
+
postprocessors: []
|
|
1899
|
+
},
|
|
1900
|
+
translations: {},
|
|
1901
|
+
window: {
|
|
1902
|
+
allowClose: !0,
|
|
1903
|
+
allowFullscreen: !1,
|
|
1904
|
+
allowMaximize: !0,
|
|
1905
|
+
allowTopMenuButton: !0,
|
|
1906
|
+
allowWindowSideBar: !0,
|
|
1907
|
+
authNewWindowCenter: "parent",
|
|
1908
|
+
sideBarPanel: "info",
|
|
1909
|
+
defaultSidebarPanelHeight: 201,
|
|
1910
|
+
defaultSidebarPanelWidth: 235,
|
|
1911
|
+
defaultView: "single",
|
|
1912
|
+
forceDrawAnnotations: !1,
|
|
1913
|
+
hideWindowTitle: !1,
|
|
1914
|
+
highlightAllAnnotations: !1,
|
|
1915
|
+
showLocalePicker: !1,
|
|
1916
|
+
sideBarOpen: !1,
|
|
1917
|
+
switchCanvasOnSearch: !0,
|
|
1918
|
+
panels: {
|
|
1919
|
+
info: !0,
|
|
1920
|
+
attribution: !0,
|
|
1921
|
+
canvas: !0,
|
|
1922
|
+
annotations: !0,
|
|
1923
|
+
search: !0,
|
|
1924
|
+
layers: !0
|
|
1925
|
+
},
|
|
1926
|
+
views: [
|
|
1927
|
+
{
|
|
1928
|
+
key: "single",
|
|
1929
|
+
behaviors: ["individuals"]
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
key: "book",
|
|
1933
|
+
behaviors: ["paged"]
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
key: "scroll",
|
|
1937
|
+
behaviors: ["continuous"]
|
|
1938
|
+
},
|
|
1939
|
+
{ key: "gallery" }
|
|
1940
|
+
],
|
|
1941
|
+
elastic: {
|
|
1942
|
+
height: 400,
|
|
1943
|
+
width: 480
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
windows: [],
|
|
1947
|
+
thumbnails: { preferredFormats: [
|
|
1948
|
+
"jpg",
|
|
1949
|
+
"png",
|
|
1950
|
+
"webp",
|
|
1951
|
+
"tif"
|
|
1952
|
+
] },
|
|
1953
|
+
thumbnailNavigation: {
|
|
1954
|
+
defaultPosition: "off",
|
|
1955
|
+
displaySettings: !0,
|
|
1956
|
+
height: 130,
|
|
1957
|
+
showThumbnailLabels: !0,
|
|
1958
|
+
width: 100
|
|
1959
|
+
},
|
|
1960
|
+
workspace: {
|
|
1961
|
+
allowNewWindows: !0,
|
|
1962
|
+
draggingEnabled: !0,
|
|
1963
|
+
height: 5e3,
|
|
1964
|
+
id: Jn(),
|
|
1965
|
+
isWorkspaceAddVisible: !1,
|
|
1966
|
+
showZoomControls: !0,
|
|
1967
|
+
type: "mosaic",
|
|
1968
|
+
viewportPosition: {
|
|
1969
|
+
x: 0,
|
|
1970
|
+
y: 0
|
|
1971
|
+
},
|
|
1972
|
+
width: 5e3
|
|
1973
|
+
},
|
|
1974
|
+
workspaceControlPanel: { enabled: !0 },
|
|
1975
|
+
galleryView: {
|
|
1976
|
+
height: 120,
|
|
1977
|
+
width: null
|
|
1978
|
+
},
|
|
1979
|
+
osdConfig: {
|
|
1980
|
+
alwaysBlend: !1,
|
|
1981
|
+
blendTime: .1,
|
|
1982
|
+
preserveImageSizeOnResize: !0,
|
|
1983
|
+
preserveViewport: !1,
|
|
1984
|
+
showNavigationControl: !1,
|
|
1985
|
+
zoomPerClick: 1,
|
|
1986
|
+
zoomPerDoubleClick: 2
|
|
1987
|
+
},
|
|
1988
|
+
export: {
|
|
1989
|
+
catalog: !0,
|
|
1990
|
+
companionWindows: !0,
|
|
1991
|
+
config: !0,
|
|
1992
|
+
elasticLayout: !0,
|
|
1993
|
+
layers: !0,
|
|
1994
|
+
manifests: { filter: ([e, t]) => !e.startsWith("http") },
|
|
1995
|
+
viewers: !0,
|
|
1996
|
+
windows: !0,
|
|
1997
|
+
workspace: !0
|
|
1998
|
+
},
|
|
1999
|
+
audioOptions: {
|
|
2000
|
+
controls: !0,
|
|
2001
|
+
crossOrigin: "anonymous"
|
|
2002
|
+
},
|
|
2003
|
+
videoOptions: {
|
|
2004
|
+
controls: !0,
|
|
2005
|
+
crossOrigin: "anonymous"
|
|
2006
|
+
},
|
|
2007
|
+
auth: { serviceProfiles: [
|
|
2008
|
+
{
|
|
2009
|
+
profile: "http://iiif.io/api/auth/1/external",
|
|
2010
|
+
external: !0
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
profile: "http://iiif.io/api/auth/1/kiosk",
|
|
2014
|
+
kiosk: !0
|
|
2015
|
+
},
|
|
2016
|
+
{ profile: "http://iiif.io/api/auth/1/clickthrough" },
|
|
2017
|
+
{ profile: "http://iiif.io/api/auth/1/login" },
|
|
2018
|
+
{
|
|
2019
|
+
profile: "http://iiif.io/api/auth/0/external",
|
|
2020
|
+
external: !0
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
profile: "http://iiif.io/api/auth/0/kiosk",
|
|
2024
|
+
kiosk: !0
|
|
2025
|
+
},
|
|
2026
|
+
{ profile: "http://iiif.io/api/auth/0/clickthrough" },
|
|
2027
|
+
{ profile: "http://iiif.io/api/auth/0/login" }
|
|
2028
|
+
] },
|
|
2029
|
+
labelValueJoiner: ", "
|
|
2030
|
+
};
|
|
2031
|
+
//#endregion
|
|
2032
|
+
//#region src/state/selectors/utils.js
|
|
2033
|
+
function Q(e) {
|
|
2034
|
+
return ar.state.slice ? e[ar.state.slice] : e;
|
|
2035
|
+
}
|
|
2036
|
+
var or = Object.freeze([]), $ = Object.freeze({});
|
|
2037
|
+
//#endregion
|
|
2038
|
+
//#region src/state/selectors/getters.js
|
|
2039
|
+
function sr(e) {
|
|
2040
|
+
return Object.values(Q(e).windows).map((e) => e.manifestId);
|
|
2041
|
+
}
|
|
2042
|
+
function cr(e) {
|
|
2043
|
+
return Q(e).windows || $;
|
|
2044
|
+
}
|
|
2045
|
+
function lr(e, { windowId: t }) {
|
|
2046
|
+
return cr(e)[t];
|
|
2047
|
+
}
|
|
2048
|
+
var ur = Z([(e) => Q(e).viewers, (e, { windowId: t }) => t], (e, t) => e[t]);
|
|
2049
|
+
function dr(e) {
|
|
2050
|
+
return Q(e).workspace;
|
|
2051
|
+
}
|
|
2052
|
+
var fr = Z([dr], ({ windowIds: e }) => e || or);
|
|
2053
|
+
function pr(e) {
|
|
2054
|
+
return Q(e).manifests || $;
|
|
2055
|
+
}
|
|
2056
|
+
function mr(e, { manifestId: t, windowId: n }) {
|
|
2057
|
+
let r = pr(e);
|
|
2058
|
+
return r && r[t || n && (lr(e, { windowId: n }) || $).manifestId];
|
|
2059
|
+
}
|
|
2060
|
+
function hr(e) {
|
|
2061
|
+
return Q(e).catalog || $;
|
|
2062
|
+
}
|
|
2063
|
+
//#endregion
|
|
2064
|
+
export { V as $, yn as A, Ct as B, An as C, Cn as D, En as E, Yt as F, pt as G, yt as H, zt as I, ut as J, ft as K, Pt as L, _n as M, tn as N, xn as O, Xt as P, rt as Q, Ot as R, jn as S, Dn as T, St as U, xt as V, _t as W, it as X, U as Y, H as Z, Rn as _, lr as a, Xe as at, Fn as b, cr as c, qe as ct, $ as d, f as dt, B as et, Q as f, m as ft, Hn as g, Jn as h, ur as i, Ze as it, vn as j, bn as k, dr as l, h as lt, Z as m, mr as n, z as nt, fr as o, He as ot, ar as p, dt as q, pr as r, Qe as rt, sr as s, Be as st, hr as t, et as tt, or as u, d as ut, Ln as v, kn as w, Nn as x, In as y, K as z };
|
|
2065
|
+
|
|
2066
|
+
//# sourceMappingURL=getters-COus7Mvg.js.map
|