@owp/core 1.29.0 → 2.0.0
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/colors/chart.d.ts +3 -0
- package/colors/chart.js +1 -0
- package/contexts.d.ts +3 -0
- package/contexts.js +1 -0
- package/dist/{Close-Cm04EulE.js → Close-C91nHTKM.js} +398 -329
- package/dist/Close-C91nHTKM.js.map +1 -0
- package/dist/{OwpStoreProvider-CFq963Pl.js → OwpStoreProvider-BPa_lWCz.js} +3 -3
- package/dist/OwpStoreProvider-BPa_lWCz.js.map +1 -0
- package/dist/OwpUtils-DV2LSByd.js +411 -0
- package/dist/OwpUtils-DV2LSByd.js.map +1 -0
- package/dist/colorMap-DP-DCZbV.js +82 -0
- package/dist/colorMap-DP-DCZbV.js.map +1 -0
- package/dist/colors/chart.js +6 -0
- package/dist/colors/chart.js.map +1 -0
- package/dist/colors.js +6 -18
- package/dist/colors.js.map +1 -1
- package/dist/commonCodeUtils-DNfSjP6S.js +42 -0
- package/dist/commonCodeUtils-DNfSjP6S.js.map +1 -0
- package/dist/constants.js +19 -21
- package/dist/constants.js.map +1 -1
- package/dist/contexts.js +104 -0
- package/dist/contexts.js.map +1 -0
- package/dist/dark-DAY0F6Ph.js +21 -0
- package/dist/dark-DAY0F6Ph.js.map +1 -0
- package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js +1496 -0
- package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js.map +1 -0
- package/dist/hooks.js +116 -100
- package/dist/hooks.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +44321 -86
- package/dist/index.js.map +1 -1
- package/dist/isString-Codtu20I.js +55 -0
- package/dist/isString-Codtu20I.js.map +1 -0
- package/dist/isTypedArray-CCnDZ5HJ.js +609 -0
- package/dist/isTypedArray-CCnDZ5HJ.js.map +1 -0
- package/dist/language-DaxFvPOq.js +35 -0
- package/dist/language-DaxFvPOq.js.map +1 -0
- package/dist/lazyLoadedSlices-C18y0AEB.js +2773 -0
- package/dist/lazyLoadedSlices-C18y0AEB.js.map +1 -0
- package/dist/localStorageKeys-Che0CNci.js +10 -0
- package/dist/localStorageKeys-Che0CNci.js.map +1 -0
- package/dist/owp-app.css +1 -1
- package/dist/storageKeys-C6xHFiTo.js +42 -0
- package/dist/storageKeys-C6xHFiTo.js.map +1 -0
- package/dist/store.js +32 -33
- package/dist/{toUpper-K8I4frC5.js → toUpper-Dmh8Htx_.js} +2 -2
- package/dist/{toUpper-K8I4frC5.js.map → toUpper-Dmh8Htx_.js.map} +1 -1
- package/dist/treeGrid-DtKg-9uf.js +8 -0
- package/dist/treeGrid-DtKg-9uf.js.map +1 -0
- package/dist/{treeGridUtil-C46Qi5LG.js → treeGridUtil-DAfaAk6C.js} +79 -78
- package/dist/{treeGridUtil-C46Qi5LG.js.map → treeGridUtil-DAfaAk6C.js.map} +1 -1
- package/dist/types/colors/chart/colorMap.d.ts +8 -0
- package/dist/types/colors/chart/index.d.ts +1 -0
- package/dist/types/colors/index.d.ts +2 -2
- package/dist/types/colors/palettes/index.d.ts +2 -0
- package/dist/types/components/OwpErrorBoundary/OwpErrorBoundary.d.ts +1 -1
- package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +2 -2
- package/dist/types/components/OwpHidden/OwpHidden.d.ts +19 -0
- package/dist/types/components/OwpHidden/index.d.ts +2 -0
- package/dist/types/components/OwpLayout/OwpLayout.d.ts +2 -2
- package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +2 -2
- package/dist/types/components/OwpPageCarded/OwpPageCardedSidebar.d.ts +1 -1
- package/dist/types/components/OwpPicker/DatePickerInput.d.ts +1 -1
- package/dist/types/components/OwpStyleProvider/OwpStyleProvider.d.ts +5 -5
- package/dist/types/components/OwpTable/OwpTable.d.ts +1 -3
- package/dist/types/components/OwpTabs/OwpTab.d.ts +2 -4
- package/dist/types/components/OwpTabs/OwpTabs.d.ts +2 -4
- package/dist/types/{default-settings/OwpDefaultSettings.d.ts → configs/defaultConfig.d.ts} +26 -172
- package/dist/types/{components/layouts/layout2/Layout2Config.d.ts → configs/layoutConfig.d.ts} +12 -15
- package/dist/types/contexts/OwpAppProvider.d.ts +44 -0
- package/dist/types/hooks/index.d.ts +4 -2
- package/dist/types/{store/hooks.d.ts → hooks/useAppStore.d.ts} +1 -1
- package/dist/types/hooks/useCurrentLanguage.d.ts +1 -5
- package/dist/types/hooks/useInitApp.d.ts +8 -0
- package/dist/types/hooks/useInitCommonCodes.d.ts +4 -0
- package/dist/types/hooks/useLogoSrc.d.ts +8 -0
- package/dist/types/hooks/useNavigation.d.ts +3 -18
- package/dist/types/hooks/useOwpTranslation.d.ts +0 -2
- package/dist/types/hooks/useStorage.d.ts +0 -13
- package/dist/types/hooks/useThemeMediaQuery.d.ts +1 -1
- package/dist/types/index.d.ts +3 -28
- package/dist/types/{components/layouts/layout3/Layout3.d.ts → layout/Layout.d.ts} +4 -4
- package/dist/types/layout/components/layouts/FooterLayout.d.ts +9 -0
- package/dist/types/layout/components/layouts/LeftSideLayout.d.ts +6 -0
- package/dist/types/layout/components/layouts/NavbarToggleFabLayout.d.ts +8 -0
- package/dist/types/layout/components/layouts/NavbarWrapperLayout.d.ts +5 -0
- package/dist/types/layout/components/menus/LogoutMenu.d.ts +8 -0
- package/dist/types/layout/components/menus/PasswordChangeMenu.d.ts +8 -0
- package/dist/types/{components/layouts/shared-components → layout/components/menus}/UserMenu.d.ts +1 -1
- package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarPinToggleButton.d.ts +1 -1
- package/dist/types/layout/components/navbar/NavbarToggleButton.d.ts +11 -0
- package/dist/types/layout/components/navbar/style/NavbarStyle.d.ts +5 -0
- package/dist/types/layout/components/navbar/style/NavbarStyleContent.d.ts +9 -0
- package/dist/types/layout/components/navigation/NavBadge.d.ts +17 -0
- package/dist/types/layout/components/navigation/NavItem.d.ts +14 -0
- package/dist/types/layout/components/navigation/Navigation.d.ts +3 -0
- package/dist/types/layout/components/navigation/NavigationMenu.d.ts +23 -0
- package/dist/types/layout/components/navigation/vertical/NavVerticalLayout.d.ts +9 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalCollapse.d.ts +6 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalGroup.d.ts +6 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalItem.d.ts +6 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalLink.d.ts +7 -0
- package/dist/types/layout/components/toggles/FullScreenToggle.d.ts +8 -0
- package/dist/types/layout/components/toggles/LanguageSwitcherToggle.d.ts +9 -0
- package/dist/types/layout/components/toggles/NavigationSearchToggle.d.ts +16 -0
- package/dist/types/layout/components/toggles/NavigationShortcutsToggle.d.ts +9 -0
- package/dist/types/layout/components/toggles/toggleStyles.d.ts +10 -0
- package/dist/types/{components/layouts/layout3/components/FooterLayout3.d.ts → layout/components/toolbar/ToolbarLayout.d.ts} +4 -4
- package/dist/types/{components/layouts → layout}/themeLayoutConfigs.d.ts +2 -4
- package/dist/types/store/index.d.ts +1 -1
- package/dist/types/store/lazyLoadedSlices.d.ts +2 -2
- package/dist/types/{components/layouts/shared-components/navigation/store → store}/navigationSlice.d.ts +12 -12
- package/dist/types/store/owpSettingsSlice.d.ts +13 -1806
- package/dist/types/{components/OwpNavigation/types/OwpNavItemType.d.ts → types/OwpNavigationTypes.d.ts} +14 -4
- package/dist/types/types/OwpSettingsTypes.d.ts +2 -2
- package/dist/types/types/index.d.ts +3 -0
- package/dist/types/utils/getEstimatedTextCellWidth.d.ts +12 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/language.d.ts +8 -0
- package/dist/types/{components/OwpNavigation/utils/OwpNavigationHelper.d.ts → utils/navigationUtils.d.ts} +17 -5
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/usePageLockLoading-BGODEt_k.js +39 -0
- package/dist/usePageLockLoading-BGODEt_k.js.map +1 -0
- package/dist/useShortcuts-BjtlXprQ.js +236 -0
- package/dist/useShortcuts-BjtlXprQ.js.map +1 -0
- package/dist/useTreeGridExcelExport-BE6h1hsO.js +120 -0
- package/dist/useTreeGridExcelExport-BE6h1hsO.js.map +1 -0
- package/dist/utils.js +6893 -6652
- package/dist/utils.js.map +1 -1
- package/owp-app.css +1 -0
- package/package.json +51 -47
- package/types.d.ts +3 -0
- package/types.js +1 -0
- package/context.d.ts +0 -3
- package/context.js +0 -1
- package/dist/Close-Cm04EulE.js.map +0 -1
- package/dist/OwpStoreProvider-CFq963Pl.js.map +0 -1
- package/dist/OwpUtils-9lHSCdan.js +0 -611
- package/dist/OwpUtils-9lHSCdan.js.map +0 -1
- package/dist/QuickPanel-DlrhsNXW.js +0 -104
- package/dist/QuickPanel-DlrhsNXW.js.map +0 -1
- package/dist/context.js +0 -74
- package/dist/context.js.map +0 -1
- package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js +0 -1751
- package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js.map +0 -1
- package/dist/index-Dn7pPU3W.js +0 -47049
- package/dist/index-Dn7pPU3W.js.map +0 -1
- package/dist/isTypedArray-xp-fB7W4.js +0 -411
- package/dist/isTypedArray-xp-fB7W4.js.map +0 -1
- package/dist/lazyLoadedSlices-BYAl2fil.js +0 -2786
- package/dist/lazyLoadedSlices-BYAl2fil.js.map +0 -1
- package/dist/storageKeys-DRzte9LZ.js +0 -15
- package/dist/storageKeys-DRzte9LZ.js.map +0 -1
- package/dist/treeGrid-DRAoPLXh.js +0 -35
- package/dist/treeGrid-DRAoPLXh.js.map +0 -1
- package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +0 -1
- package/dist/types/components/OwpCommonDialog/index.d.ts +0 -1
- package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +0 -17
- package/dist/types/components/OwpNavigation/OwpNavItem.d.ts +0 -14
- package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +0 -23
- package/dist/types/components/OwpNavigation/horizontal/OwpNavHorizontalLayout1.d.ts +0 -7
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +0 -15
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +0 -13
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +0 -11
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +0 -8
- package/dist/types/components/OwpNavigation/index.d.ts +0 -1
- package/dist/types/components/OwpNavigation/isUrlInChildren.d.ts +0 -7
- package/dist/types/components/OwpNavigation/models/OwpNavItemModel.d.ts +0 -8
- package/dist/types/components/OwpNavigation/types/OwpNavBadgeType.d.ts +0 -9
- package/dist/types/components/OwpNavigation/utils/components.d.ts +0 -4
- package/dist/types/components/OwpNavigation/utils/registerComponent.d.ts +0 -4
- package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout1.d.ts +0 -9
- package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout2.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalCollapse.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalGroup.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalItem.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalLink.d.ts +0 -8
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalTab.d.ts +0 -11
- package/dist/types/components/OwpSearch/OwpSearch.d.ts +0 -23
- package/dist/types/components/OwpSearch/index.d.ts +0 -1
- package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +0 -19
- package/dist/types/components/OwpShortcuts/index.d.ts +0 -1
- package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +0 -18
- package/dist/types/components/OwpSidePanel/index.d.ts +0 -1
- package/dist/types/components/OwpTheme/OwpTheme.d.ts +0 -18
- package/dist/types/components/OwpTheme/index.d.ts +0 -1
- package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +0 -16
- package/dist/types/components/OwpThemeSelector/SchemePreview.d.ts +0 -14
- package/dist/types/components/OwpThemeSelector/ThemePreview.d.ts +0 -17
- package/dist/types/components/OwpThemeSelector/index.d.ts +0 -1
- package/dist/types/components/layouts/layout1/Layout1.d.ts +0 -10
- package/dist/types/components/layouts/layout1/Layout1Config.d.ts +0 -114
- package/dist/types/components/layouts/layout1/components/FooterLayout1.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/LeftSideLayout1.d.ts +0 -6
- package/dist/types/components/layouts/layout1/components/NavbarToggleFabLayout1.d.ts +0 -8
- package/dist/types/components/layouts/layout1/components/NavbarWrapperLayout1.d.ts +0 -5
- package/dist/types/components/layouts/layout1/components/ToolbarLayout1.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1.d.ts +0 -5
- package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1Content.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2.d.ts +0 -5
- package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2Content.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3Content.d.ts +0 -10
- package/dist/types/components/layouts/layout2/Layout2.d.ts +0 -10
- package/dist/types/components/layouts/layout2/components/FooterLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout2/components/LeftSideLayout2.d.ts +0 -6
- package/dist/types/components/layouts/layout2/components/NavbarLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout2/components/NavbarMobileLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout2/components/NavbarToggleFabLayout2.d.ts +0 -8
- package/dist/types/components/layouts/layout2/components/NavbarWrapperLayout2.d.ts +0 -5
- package/dist/types/components/layouts/layout2/components/RightSideLayout2.d.ts +0 -6
- package/dist/types/components/layouts/layout2/components/ToolbarLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout3/Layout3Config.d.ts +0 -110
- package/dist/types/components/layouts/layout3/components/LeftSideLayout3.d.ts +0 -6
- package/dist/types/components/layouts/layout3/components/NavbarLayout3.d.ts +0 -9
- package/dist/types/components/layouts/layout3/components/NavbarMobileLayout3.d.ts +0 -9
- package/dist/types/components/layouts/layout3/components/NavbarWrapperLayout3.d.ts +0 -5
- package/dist/types/components/layouts/layout3/components/RightSideLayout3.d.ts +0 -6
- package/dist/types/components/layouts/layout3/components/ToolbarLayout3.d.ts +0 -9
- package/dist/types/components/layouts/shared-components/FullScreenToggle.d.ts +0 -8
- package/dist/types/components/layouts/shared-components/LanguageSwitcher.d.ts +0 -7
- package/dist/types/components/layouts/shared-components/PasswordChangeForm.d.ts +0 -2
- package/dist/types/components/layouts/shared-components/navbar/NavbarToggleButton.d.ts +0 -7
- package/dist/types/components/layouts/shared-components/navigation/Navigation.d.ts +0 -3
- package/dist/types/components/layouts/shared-components/navigation/NavigationSearch.d.ts +0 -6
- package/dist/types/components/layouts/shared-components/navigation/NavigationShortcuts.d.ts +0 -6
- package/dist/types/components/layouts/shared-components/quickPanel/QuickPanel.d.ts +0 -5
- package/dist/types/components/layouts/shared-components/quickPanel/QuickPanelToggleButton.d.ts +0 -9
- package/dist/types/components/layouts/shared-components/quickPanel/quickPanelSlice.d.ts +0 -14
- package/dist/types/context/OwpAppProvider.d.ts +0 -36
- package/dist/types/hooks/useCurrentLogoSrc.d.ts +0 -8
- package/dist/types/hooks/useTreeGridCommonCodeEnum.d.ts +0 -8
- package/dist/useOwpTranslation-CMrtqKkT.js +0 -190
- package/dist/useOwpTranslation-CMrtqKkT.js.map +0 -1
- package/dist/useStorage-BA0D8KA7.js +0 -67
- package/dist/useStorage-BA0D8KA7.js.map +0 -1
- package/dist/useTreeGridExcelExport-DLMecvHS.js +0 -186
- package/dist/useTreeGridExcelExport-DLMecvHS.js.map +0 -1
- /package/dist/types/colors/{owpDark.d.ts → palettes/dark.d.ts} +0 -0
- /package/dist/types/colors/{skyBlue.d.ts → palettes/skyBlue.d.ts} +0 -0
- /package/dist/types/{context → contexts}/OwpCoreProvider.d.ts +0 -0
- /package/dist/types/{context → contexts}/OwpStoreProvider.d.ts +0 -0
- /package/dist/types/{context → contexts}/OwpUiProvider.d.ts +0 -0
- /package/dist/types/{context → contexts}/index.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components → layout/components/logo}/Logo.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarToggleFab.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components → layout/components/toggles}/LogoutToggle.d.ts +0 -0
- /package/dist/types/{components/layouts → layout}/themeLayouts.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components/navbar → store}/navbarSlice.d.ts +0 -0
|
@@ -1,2786 +0,0 @@
|
|
|
1
|
-
var Lr = Object.defineProperty;
|
|
2
|
-
var o = (t, e) => Lr(t, "name", { value: e, configurable: !0 });
|
|
3
|
-
import { createSlice as st, createEntityAdapter as Br, createSelector as x, createAsyncThunk as or, combineSlices as Wr } from "@reduxjs/toolkit";
|
|
4
|
-
import { i as kr, a as zr, m as A, O as Hr, g as Ur, c as xt, b as qr } from "./OwpUtils-9lHSCdan.js";
|
|
5
|
-
import { d as Gr, o as ir } from "./isTypedArray-xp-fB7W4.js";
|
|
6
|
-
import Kr from "i18next";
|
|
7
|
-
import { lightBlue as j } from "@mui/material/colors";
|
|
8
|
-
import { createTheme as lr, getContrastRatio as Qr } from "@mui/material/styles";
|
|
9
|
-
const Et = {
|
|
10
|
-
open: !0,
|
|
11
|
-
mobileOpen: !1,
|
|
12
|
-
foldedOpen: !1
|
|
13
|
-
}, ct = st({
|
|
14
|
-
name: "navbar",
|
|
15
|
-
initialState: Et,
|
|
16
|
-
reducers: {
|
|
17
|
-
navbarToggleFolded: /* @__PURE__ */ o((t) => {
|
|
18
|
-
t.foldedOpen = !t.foldedOpen;
|
|
19
|
-
}, "navbarToggleFolded"),
|
|
20
|
-
navbarOpenFolded: /* @__PURE__ */ o((t) => {
|
|
21
|
-
t.foldedOpen = !0;
|
|
22
|
-
}, "navbarOpenFolded"),
|
|
23
|
-
navbarCloseFolded: /* @__PURE__ */ o((t) => {
|
|
24
|
-
t.foldedOpen = !1;
|
|
25
|
-
}, "navbarCloseFolded"),
|
|
26
|
-
navbarToggleMobile: /* @__PURE__ */ o((t) => {
|
|
27
|
-
t.mobileOpen = !t.mobileOpen;
|
|
28
|
-
}, "navbarToggleMobile"),
|
|
29
|
-
navbarOpenMobile: /* @__PURE__ */ o((t) => {
|
|
30
|
-
t.mobileOpen = !0;
|
|
31
|
-
}, "navbarOpenMobile"),
|
|
32
|
-
navbarCloseMobile: /* @__PURE__ */ o((t) => {
|
|
33
|
-
t.mobileOpen = !1;
|
|
34
|
-
}, "navbarCloseMobile"),
|
|
35
|
-
navbarClose: /* @__PURE__ */ o((t) => {
|
|
36
|
-
t.open = !1;
|
|
37
|
-
}, "navbarClose"),
|
|
38
|
-
navbarOpen: /* @__PURE__ */ o((t) => {
|
|
39
|
-
t.open = !0;
|
|
40
|
-
}, "navbarOpen"),
|
|
41
|
-
navbarToggle: /* @__PURE__ */ o((t) => {
|
|
42
|
-
t.open = !t.open;
|
|
43
|
-
}, "navbarToggle"),
|
|
44
|
-
resetNavbar: /* @__PURE__ */ o(() => Et, "resetNavbar")
|
|
45
|
-
},
|
|
46
|
-
selectors: {
|
|
47
|
-
selectOwpNavbar: /* @__PURE__ */ o((t) => t, "selectOwpNavbar")
|
|
48
|
-
}
|
|
49
|
-
}), {
|
|
50
|
-
navbarToggleFolded: gi,
|
|
51
|
-
navbarOpenFolded: mi,
|
|
52
|
-
navbarCloseFolded: bi,
|
|
53
|
-
navbarOpen: Si,
|
|
54
|
-
navbarClose: wi,
|
|
55
|
-
navbarToggle: Oi,
|
|
56
|
-
navbarOpenMobile: Ai,
|
|
57
|
-
navbarCloseMobile: Pi,
|
|
58
|
-
navbarToggleMobile: xi,
|
|
59
|
-
resetNavbar: Ei
|
|
60
|
-
} = ct.actions, Ii = /* @__PURE__ */ o((t) => t.navbar, "selectOwpNavbar");
|
|
61
|
-
ct.reducer;
|
|
62
|
-
function Vr(t, e, r) {
|
|
63
|
-
return kr(r) && (typeof e == "number" && Gr(r) && zr(e) && e < r.length || typeof e == "string" && e in r) ? ir(r[e], t) : !1;
|
|
64
|
-
}
|
|
65
|
-
o(Vr, "isIterateeCall");
|
|
66
|
-
function Jr(t, ...e) {
|
|
67
|
-
t = Object(t);
|
|
68
|
-
const r = Object.prototype;
|
|
69
|
-
let n = e.length;
|
|
70
|
-
const a = n > 2 ? e[2] : void 0;
|
|
71
|
-
a && Vr(e[0], e[1], a) && (n = 1);
|
|
72
|
-
for (let i = 0; i < n; i++) {
|
|
73
|
-
const l = e[i], s = Object.keys(l);
|
|
74
|
-
for (let u = 0; u < s.length; u++) {
|
|
75
|
-
const f = s[u], p = t[f];
|
|
76
|
-
(p === void 0 || !Object.hasOwn(t, f) && ir(p, r[f])) && (t[f] = l[f]);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
return t;
|
|
80
|
-
}
|
|
81
|
-
o(Jr, "defaults$2");
|
|
82
|
-
let jr = 0;
|
|
83
|
-
function Yr(t = "") {
|
|
84
|
-
const e = ++jr;
|
|
85
|
-
return `${t}${e}`;
|
|
86
|
-
}
|
|
87
|
-
o(Yr, "uniqueId");
|
|
88
|
-
function Xr(t) {
|
|
89
|
-
return t = t || {}, Jr(t, {
|
|
90
|
-
id: Yr(),
|
|
91
|
-
title: "",
|
|
92
|
-
translate: "",
|
|
93
|
-
auth: null,
|
|
94
|
-
subtitle: "",
|
|
95
|
-
icon: "",
|
|
96
|
-
iconClass: "",
|
|
97
|
-
url: "",
|
|
98
|
-
target: "",
|
|
99
|
-
type: "item",
|
|
100
|
-
sx: {},
|
|
101
|
-
disabled: !1,
|
|
102
|
-
active: !1,
|
|
103
|
-
exact: !1,
|
|
104
|
-
end: !1,
|
|
105
|
-
badge: null,
|
|
106
|
-
children: []
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
o(Xr, "OwpNavItemModel");
|
|
110
|
-
const At = class At {
|
|
111
|
-
static selectById(e, r) {
|
|
112
|
-
for (let n = 0; n < e.length; n += 1) {
|
|
113
|
-
const a = e[n];
|
|
114
|
-
if (a.id === r)
|
|
115
|
-
return a;
|
|
116
|
-
if (a.children) {
|
|
117
|
-
const i = this.selectById(a.children, r);
|
|
118
|
-
if (i)
|
|
119
|
-
return i;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
static appendNavItem(e, r, n = null) {
|
|
124
|
-
return n ? e.map((a) => {
|
|
125
|
-
if (a.id === n) {
|
|
126
|
-
const i = { ...a };
|
|
127
|
-
return i.children = [...a.children || [], r], i;
|
|
128
|
-
}
|
|
129
|
-
return a.children ? { ...a, children: this.appendNavItem(a.children, r, n) } : { ...a };
|
|
130
|
-
}) : [...e, r];
|
|
131
|
-
}
|
|
132
|
-
static prependNavItem(e, r, n = null) {
|
|
133
|
-
return n ? e.map((a) => {
|
|
134
|
-
if (a.id === n) {
|
|
135
|
-
const i = { ...a };
|
|
136
|
-
return i.children = [r, ...a.children || []], i;
|
|
137
|
-
}
|
|
138
|
-
return a.children ? { ...a, children: this.prependNavItem(a.children, r, n) } : { ...a };
|
|
139
|
-
}) : [r, ...e];
|
|
140
|
-
}
|
|
141
|
-
static filterNavigationByPermission(e, r) {
|
|
142
|
-
return e.reduce((n, a) => {
|
|
143
|
-
const i = a.children ? this.filterNavigationByPermission(a.children, r) : [];
|
|
144
|
-
if (this.hasPermission(a.auth, r) || i.length) {
|
|
145
|
-
const l = { ...a };
|
|
146
|
-
l.children = i.length ? i : void 0, n.push(l);
|
|
147
|
-
}
|
|
148
|
-
return n;
|
|
149
|
-
}, []);
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* The removeNavItem function removes a navigation item by its ID.
|
|
153
|
-
*/
|
|
154
|
-
static removeNavItem(e, r) {
|
|
155
|
-
return e.reduce((n, a) => (a.id !== r && (a.children ? n.push({
|
|
156
|
-
...a,
|
|
157
|
-
children: this.removeNavItem(a.children, r)
|
|
158
|
-
}) : n.push(a)), n), []);
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* The updateNavItem function updates a navigation item by its ID with new data.
|
|
162
|
-
*/
|
|
163
|
-
static updateNavItem(e, r, n) {
|
|
164
|
-
return e.map((a) => a.id === r ? A({}, a, n) : a.children ? {
|
|
165
|
-
...a,
|
|
166
|
-
children: this.updateNavItem(a.children, r, n)
|
|
167
|
-
} : a);
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Convert to flat navigation
|
|
171
|
-
*/
|
|
172
|
-
static getFlatNavigation(e = [], r = []) {
|
|
173
|
-
for (let n = 0; n < e.length; n += 1) {
|
|
174
|
-
const a = e[n];
|
|
175
|
-
if (a.type === "item") {
|
|
176
|
-
const i = Xr(a);
|
|
177
|
-
r.push(i);
|
|
178
|
-
}
|
|
179
|
-
(a.type === "collapse" || a.type === "group") && a.children && this.getFlatNavigation(a.children, r);
|
|
180
|
-
}
|
|
181
|
-
return r;
|
|
182
|
-
}
|
|
183
|
-
// @ts-expect-error
|
|
184
|
-
static hasPermission(e, r) {
|
|
185
|
-
return e == null ? !0 : e.length === 0 ? !r || r.length === 0 : r && Array.isArray(e) && Array.isArray(r) ? e.some((n) => r.indexOf(n) >= 0) : e.includes(r);
|
|
186
|
-
}
|
|
187
|
-
static flattenNavigation(e, r = "") {
|
|
188
|
-
return e.flatMap((n, a) => {
|
|
189
|
-
var s;
|
|
190
|
-
const i = r ? `${r}.${a + 1}` : `${a + 1}`;
|
|
191
|
-
let l = [
|
|
192
|
-
{ ...n, order: i, children: (s = n.children) == null ? void 0 : s.map((u) => u.id) }
|
|
193
|
-
];
|
|
194
|
-
return n.children && (l = l.concat(this.flattenNavigation(n.children, i))), l;
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
static unflattenNavigation(e) {
|
|
198
|
-
const r = {};
|
|
199
|
-
e.forEach((a) => {
|
|
200
|
-
r[a.id] = { ...a, children: [] };
|
|
201
|
-
});
|
|
202
|
-
const n = [];
|
|
203
|
-
return e.forEach((a) => {
|
|
204
|
-
if (a.order.includes(".")) {
|
|
205
|
-
const i = a.order.substring(0, a.order.lastIndexOf(".")), l = e.find((s) => s.order === i);
|
|
206
|
-
l && r[l.id].children.push(r[a.id]);
|
|
207
|
-
} else
|
|
208
|
-
n.push(r[a.id]);
|
|
209
|
-
}), n.map((a) => {
|
|
210
|
-
const { ...i } = a;
|
|
211
|
-
return i;
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
o(At, "OwpNavigationHelper");
|
|
216
|
-
let pe = At;
|
|
217
|
-
const ft = Br(), Zr = ft.getInitialState([]), It = Zr, {
|
|
218
|
-
selectAll: en,
|
|
219
|
-
selectIds: Mi,
|
|
220
|
-
selectById: Fi
|
|
221
|
-
} = ft.getSelectors((t) => t.navigation), pt = st({
|
|
222
|
-
name: "navigation",
|
|
223
|
-
initialState: It,
|
|
224
|
-
reducers: {
|
|
225
|
-
setNavigation(t, e) {
|
|
226
|
-
return ft.setAll(t, pe.flattenNavigation(e.payload));
|
|
227
|
-
},
|
|
228
|
-
resetNavigation: /* @__PURE__ */ o(() => It, "resetNavigation")
|
|
229
|
-
}
|
|
230
|
-
}), { setNavigation: $i, resetNavigation: Ti } = pt.actions, tn = x(
|
|
231
|
-
[en],
|
|
232
|
-
(t, e) => {
|
|
233
|
-
const r = pe.unflattenNavigation(t);
|
|
234
|
-
function n(i) {
|
|
235
|
-
return i == null ? void 0 : i.map((l) => ({
|
|
236
|
-
hasPermission: !!Hr.hasPermission(l == null ? void 0 : l.auth, e),
|
|
237
|
-
...l,
|
|
238
|
-
...l != null && l.translate && (l != null && l.title) ? { title: Kr.t(`navigation:${l == null ? void 0 : l.translate}`) } : {},
|
|
239
|
-
...l != null && l.children ? { children: n(l == null ? void 0 : l.children) } : {}
|
|
240
|
-
}));
|
|
241
|
-
}
|
|
242
|
-
return o(n, "setAdditionalData"), n(r);
|
|
243
|
-
}
|
|
244
|
-
);
|
|
245
|
-
x([tn], (t) => pe.flattenNavigation(t));
|
|
246
|
-
pt.reducer;
|
|
247
|
-
const rn = {
|
|
248
|
-
title: "Layout 1 - Vertical",
|
|
249
|
-
defaults: {
|
|
250
|
-
mode: "container",
|
|
251
|
-
containerWidth: "100%",
|
|
252
|
-
navbar: {
|
|
253
|
-
display: !0,
|
|
254
|
-
style: "style-2",
|
|
255
|
-
folded: !0,
|
|
256
|
-
position: "left",
|
|
257
|
-
open: !0
|
|
258
|
-
},
|
|
259
|
-
toolbar: {
|
|
260
|
-
display: !0,
|
|
261
|
-
style: "fixed"
|
|
262
|
-
},
|
|
263
|
-
footer: {
|
|
264
|
-
display: !1,
|
|
265
|
-
style: "fixed"
|
|
266
|
-
},
|
|
267
|
-
leftSidePanel: {
|
|
268
|
-
display: !0
|
|
269
|
-
},
|
|
270
|
-
rightSidePanel: {
|
|
271
|
-
display: !0
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
form: {
|
|
275
|
-
mode: {
|
|
276
|
-
title: "Mode",
|
|
277
|
-
type: "radio",
|
|
278
|
-
options: [
|
|
279
|
-
{
|
|
280
|
-
name: "Boxed",
|
|
281
|
-
value: "boxed"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
name: "Full Width",
|
|
285
|
-
value: "fullwidth"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
name: "Container",
|
|
289
|
-
value: "container"
|
|
290
|
-
}
|
|
291
|
-
]
|
|
292
|
-
},
|
|
293
|
-
containerWidth: {
|
|
294
|
-
title: "Container Width (px)",
|
|
295
|
-
type: "number",
|
|
296
|
-
min: 1024
|
|
297
|
-
},
|
|
298
|
-
navbar: {
|
|
299
|
-
type: "group",
|
|
300
|
-
title: "Navbar",
|
|
301
|
-
children: {
|
|
302
|
-
display: {
|
|
303
|
-
title: "Display",
|
|
304
|
-
type: "switch"
|
|
305
|
-
},
|
|
306
|
-
position: {
|
|
307
|
-
title: "Position",
|
|
308
|
-
type: "radio",
|
|
309
|
-
options: [
|
|
310
|
-
{
|
|
311
|
-
name: "Left",
|
|
312
|
-
value: "left"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
name: "Right",
|
|
316
|
-
value: "right"
|
|
317
|
-
}
|
|
318
|
-
]
|
|
319
|
-
},
|
|
320
|
-
style: {
|
|
321
|
-
title: "Style",
|
|
322
|
-
type: "radio",
|
|
323
|
-
options: [
|
|
324
|
-
{
|
|
325
|
-
name: "Slide (style-1)",
|
|
326
|
-
value: "style-1"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
name: "Folded (style-2)",
|
|
330
|
-
value: "style-2"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
name: "Tabbed (style-3)",
|
|
334
|
-
value: "style-3"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
name: "Tabbed Dense (style-3-dense)",
|
|
338
|
-
value: "style-3-dense"
|
|
339
|
-
}
|
|
340
|
-
]
|
|
341
|
-
},
|
|
342
|
-
folded: {
|
|
343
|
-
title: "Folded (style-2, style-3)",
|
|
344
|
-
type: "switch"
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
toolbar: {
|
|
349
|
-
type: "group",
|
|
350
|
-
title: "Toolbar",
|
|
351
|
-
children: {
|
|
352
|
-
display: {
|
|
353
|
-
title: "Display",
|
|
354
|
-
type: "switch"
|
|
355
|
-
},
|
|
356
|
-
style: {
|
|
357
|
-
title: "Style",
|
|
358
|
-
type: "radio",
|
|
359
|
-
options: [
|
|
360
|
-
{
|
|
361
|
-
name: "Fixed",
|
|
362
|
-
value: "fixed"
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
name: "Static",
|
|
366
|
-
value: "static"
|
|
367
|
-
}
|
|
368
|
-
]
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
footer: {
|
|
373
|
-
type: "group",
|
|
374
|
-
title: "Footer",
|
|
375
|
-
children: {
|
|
376
|
-
display: {
|
|
377
|
-
title: "Display",
|
|
378
|
-
type: "switch"
|
|
379
|
-
},
|
|
380
|
-
style: {
|
|
381
|
-
title: "Style",
|
|
382
|
-
type: "radio",
|
|
383
|
-
options: [
|
|
384
|
-
{
|
|
385
|
-
name: "Fixed",
|
|
386
|
-
value: "fixed"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
name: "Static",
|
|
390
|
-
value: "static"
|
|
391
|
-
}
|
|
392
|
-
]
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
}, nn = {
|
|
398
|
-
title: "Layout 2 - Horizontal",
|
|
399
|
-
defaults: {
|
|
400
|
-
mode: "container",
|
|
401
|
-
containerWidth: 1120,
|
|
402
|
-
navbar: {
|
|
403
|
-
display: !0,
|
|
404
|
-
style: "fixed",
|
|
405
|
-
folded: !0
|
|
406
|
-
},
|
|
407
|
-
toolbar: {
|
|
408
|
-
display: !0,
|
|
409
|
-
style: "static",
|
|
410
|
-
position: "below"
|
|
411
|
-
},
|
|
412
|
-
footer: {
|
|
413
|
-
display: !0,
|
|
414
|
-
style: "fixed"
|
|
415
|
-
},
|
|
416
|
-
leftSidePanel: {
|
|
417
|
-
display: !0
|
|
418
|
-
},
|
|
419
|
-
rightSidePanel: {
|
|
420
|
-
display: !0
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
form: {
|
|
424
|
-
mode: {
|
|
425
|
-
title: "Mode",
|
|
426
|
-
type: "radio",
|
|
427
|
-
options: [
|
|
428
|
-
{
|
|
429
|
-
name: "Boxed",
|
|
430
|
-
value: "boxed"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
name: "Full Width",
|
|
434
|
-
value: "fullwidth"
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
name: "Container",
|
|
438
|
-
value: "container"
|
|
439
|
-
}
|
|
440
|
-
]
|
|
441
|
-
},
|
|
442
|
-
containerWidth: {
|
|
443
|
-
title: "Container Width (px)",
|
|
444
|
-
type: "number",
|
|
445
|
-
min: 1024
|
|
446
|
-
},
|
|
447
|
-
navbar: {
|
|
448
|
-
type: "group",
|
|
449
|
-
title: "Navbar",
|
|
450
|
-
children: {
|
|
451
|
-
display: {
|
|
452
|
-
title: "Display",
|
|
453
|
-
type: "switch"
|
|
454
|
-
},
|
|
455
|
-
style: {
|
|
456
|
-
title: "Style",
|
|
457
|
-
type: "radio",
|
|
458
|
-
options: [
|
|
459
|
-
{
|
|
460
|
-
name: "Fixed",
|
|
461
|
-
value: "fixed"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
name: "Static",
|
|
465
|
-
value: "static"
|
|
466
|
-
}
|
|
467
|
-
]
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
|
-
toolbar: {
|
|
472
|
-
type: "group",
|
|
473
|
-
title: "Toolbar",
|
|
474
|
-
children: {
|
|
475
|
-
display: {
|
|
476
|
-
title: "Display",
|
|
477
|
-
type: "switch"
|
|
478
|
-
},
|
|
479
|
-
position: {
|
|
480
|
-
title: "Position",
|
|
481
|
-
type: "radio",
|
|
482
|
-
options: [
|
|
483
|
-
{
|
|
484
|
-
name: "Above",
|
|
485
|
-
value: "above"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
name: "Below",
|
|
489
|
-
value: "below"
|
|
490
|
-
}
|
|
491
|
-
]
|
|
492
|
-
},
|
|
493
|
-
style: {
|
|
494
|
-
title: "Style",
|
|
495
|
-
type: "radio",
|
|
496
|
-
options: [
|
|
497
|
-
{
|
|
498
|
-
name: "Fixed",
|
|
499
|
-
value: "fixed"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
name: "Static",
|
|
503
|
-
value: "static"
|
|
504
|
-
}
|
|
505
|
-
]
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
footer: {
|
|
510
|
-
type: "group",
|
|
511
|
-
title: "Footer",
|
|
512
|
-
children: {
|
|
513
|
-
display: {
|
|
514
|
-
title: "Display",
|
|
515
|
-
type: "switch"
|
|
516
|
-
},
|
|
517
|
-
style: {
|
|
518
|
-
title: "Style",
|
|
519
|
-
type: "radio",
|
|
520
|
-
options: [
|
|
521
|
-
{
|
|
522
|
-
name: "Fixed",
|
|
523
|
-
value: "fixed"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
name: "Static",
|
|
527
|
-
value: "static"
|
|
528
|
-
}
|
|
529
|
-
]
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
}, an = {
|
|
535
|
-
title: "Layout 3 - Horizontal",
|
|
536
|
-
defaults: {
|
|
537
|
-
mode: "container",
|
|
538
|
-
containerWidth: 1120,
|
|
539
|
-
scroll: "content",
|
|
540
|
-
navbar: {
|
|
541
|
-
display: !0,
|
|
542
|
-
style: "fixed",
|
|
543
|
-
folded: !0
|
|
544
|
-
},
|
|
545
|
-
toolbar: {
|
|
546
|
-
display: !0,
|
|
547
|
-
style: "static",
|
|
548
|
-
position: "below"
|
|
549
|
-
},
|
|
550
|
-
footer: {
|
|
551
|
-
display: !0,
|
|
552
|
-
style: "fixed"
|
|
553
|
-
},
|
|
554
|
-
leftSidePanel: {
|
|
555
|
-
display: !0
|
|
556
|
-
},
|
|
557
|
-
rightSidePanel: {
|
|
558
|
-
display: !0
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
form: {
|
|
562
|
-
mode: {
|
|
563
|
-
title: "Mode",
|
|
564
|
-
type: "radio",
|
|
565
|
-
options: [
|
|
566
|
-
{
|
|
567
|
-
name: "Boxed",
|
|
568
|
-
value: "boxed"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
name: "Full Width",
|
|
572
|
-
value: "fullwidth"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
name: "Container",
|
|
576
|
-
value: "container"
|
|
577
|
-
}
|
|
578
|
-
]
|
|
579
|
-
},
|
|
580
|
-
containerWidth: {
|
|
581
|
-
title: "Container Width (px)",
|
|
582
|
-
type: "number",
|
|
583
|
-
min: 1024
|
|
584
|
-
},
|
|
585
|
-
navbar: {
|
|
586
|
-
type: "group",
|
|
587
|
-
title: "Navbar",
|
|
588
|
-
children: {
|
|
589
|
-
display: {
|
|
590
|
-
title: "Display",
|
|
591
|
-
type: "switch"
|
|
592
|
-
},
|
|
593
|
-
style: {
|
|
594
|
-
title: "Style",
|
|
595
|
-
type: "radio",
|
|
596
|
-
options: [
|
|
597
|
-
{
|
|
598
|
-
name: "Fixed",
|
|
599
|
-
value: "fixed"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
name: "Static",
|
|
603
|
-
value: "static"
|
|
604
|
-
}
|
|
605
|
-
]
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
toolbar: {
|
|
610
|
-
type: "group",
|
|
611
|
-
title: "Toolbar",
|
|
612
|
-
children: {
|
|
613
|
-
display: {
|
|
614
|
-
title: "Display",
|
|
615
|
-
type: "switch"
|
|
616
|
-
},
|
|
617
|
-
position: {
|
|
618
|
-
title: "Position",
|
|
619
|
-
type: "radio",
|
|
620
|
-
options: [
|
|
621
|
-
{
|
|
622
|
-
name: "Above",
|
|
623
|
-
value: "above"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
name: "Below",
|
|
627
|
-
value: "below"
|
|
628
|
-
}
|
|
629
|
-
]
|
|
630
|
-
},
|
|
631
|
-
style: {
|
|
632
|
-
title: "Style",
|
|
633
|
-
type: "radio",
|
|
634
|
-
options: [
|
|
635
|
-
{
|
|
636
|
-
name: "Fixed",
|
|
637
|
-
value: "fixed"
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
name: "Static",
|
|
641
|
-
value: "static"
|
|
642
|
-
}
|
|
643
|
-
]
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
footer: {
|
|
648
|
-
type: "group",
|
|
649
|
-
title: "Footer",
|
|
650
|
-
children: {
|
|
651
|
-
display: {
|
|
652
|
-
title: "Display",
|
|
653
|
-
type: "switch"
|
|
654
|
-
},
|
|
655
|
-
style: {
|
|
656
|
-
title: "Style",
|
|
657
|
-
type: "radio",
|
|
658
|
-
options: [
|
|
659
|
-
{
|
|
660
|
-
name: "Fixed",
|
|
661
|
-
value: "fixed"
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
name: "Static",
|
|
665
|
-
value: "static"
|
|
666
|
-
}
|
|
667
|
-
]
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
}, ur = {
|
|
673
|
-
layout1: rn,
|
|
674
|
-
layout2: nn,
|
|
675
|
-
layout3: an
|
|
676
|
-
};
|
|
677
|
-
var ne = TypeError;
|
|
678
|
-
const on = {}, ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
679
|
-
__proto__: null,
|
|
680
|
-
default: on
|
|
681
|
-
}, Symbol.toStringTag, { value: "Module" })), un = /* @__PURE__ */ Ur(ln);
|
|
682
|
-
var yt = typeof Map == "function" && Map.prototype, Ce = Object.getOwnPropertyDescriptor && yt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, xe = yt && Ce && typeof Ce.get == "function" ? Ce.get : null, Mt = yt && Map.prototype.forEach, dt = typeof Set == "function" && Set.prototype, _e = Object.getOwnPropertyDescriptor && dt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ee = dt && _e && typeof _e.get == "function" ? _e.get : null, Ft = dt && Set.prototype.forEach, sn = typeof WeakMap == "function" && WeakMap.prototype, ue = sn ? WeakMap.prototype.has : null, cn = typeof WeakSet == "function" && WeakSet.prototype, se = cn ? WeakSet.prototype.has : null, fn = typeof WeakRef == "function" && WeakRef.prototype, $t = fn ? WeakRef.prototype.deref : null, pn = Boolean.prototype.valueOf, yn = Object.prototype.toString, dn = Function.prototype.toString, vn = String.prototype.match, vt = String.prototype.slice, W = String.prototype.replace, hn = String.prototype.toUpperCase, Tt = String.prototype.toLowerCase, sr = RegExp.prototype.test, Rt = Array.prototype.concat, R = Array.prototype.join, gn = Array.prototype.slice, Dt = Math.floor, nt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Le = Object.getOwnPropertySymbols, at = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, te = typeof Symbol == "function" && typeof Symbol.iterator == "object", ce = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === te || !0) ? Symbol.toStringTag : null, cr = Object.prototype.propertyIsEnumerable, Nt = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
|
|
683
|
-
return t.__proto__;
|
|
684
|
-
} : null);
|
|
685
|
-
function Ct(t, e) {
|
|
686
|
-
if (t === 1 / 0 || t === -1 / 0 || t !== t || t && t > -1e3 && t < 1e3 || sr.call(/e/, e))
|
|
687
|
-
return e;
|
|
688
|
-
var r = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
689
|
-
if (typeof t == "number") {
|
|
690
|
-
var n = t < 0 ? -Dt(-t) : Dt(t);
|
|
691
|
-
if (n !== t) {
|
|
692
|
-
var a = String(n), i = vt.call(e, a.length + 1);
|
|
693
|
-
return W.call(a, r, "$&_") + "." + W.call(W.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
return W.call(e, r, "$&_");
|
|
697
|
-
}
|
|
698
|
-
o(Ct, "addNumericSeparator");
|
|
699
|
-
var ot = un, _t = ot.custom, Lt = yr(_t) ? _t : null, fr = {
|
|
700
|
-
__proto__: null,
|
|
701
|
-
double: '"',
|
|
702
|
-
single: "'"
|
|
703
|
-
}, mn = {
|
|
704
|
-
__proto__: null,
|
|
705
|
-
double: /(["\\])/g,
|
|
706
|
-
single: /(['\\])/g
|
|
707
|
-
}, Fe = /* @__PURE__ */ o(function t(e, r, n, a) {
|
|
708
|
-
var i = r || {};
|
|
709
|
-
if (N(i, "quoteStyle") && !N(fr, i.quoteStyle))
|
|
710
|
-
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
711
|
-
if (N(i, "maxStringLength") && (typeof i.maxStringLength == "number" ? i.maxStringLength < 0 && i.maxStringLength !== 1 / 0 : i.maxStringLength !== null))
|
|
712
|
-
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
713
|
-
var l = N(i, "customInspect") ? i.customInspect : !0;
|
|
714
|
-
if (typeof l != "boolean" && l !== "symbol")
|
|
715
|
-
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
716
|
-
if (N(i, "indent") && i.indent !== null && i.indent !== " " && !(parseInt(i.indent, 10) === i.indent && i.indent > 0))
|
|
717
|
-
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
718
|
-
if (N(i, "numericSeparator") && typeof i.numericSeparator != "boolean")
|
|
719
|
-
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
720
|
-
var s = i.numericSeparator;
|
|
721
|
-
if (typeof e > "u")
|
|
722
|
-
return "undefined";
|
|
723
|
-
if (e === null)
|
|
724
|
-
return "null";
|
|
725
|
-
if (typeof e == "boolean")
|
|
726
|
-
return e ? "true" : "false";
|
|
727
|
-
if (typeof e == "string")
|
|
728
|
-
return vr(e, i);
|
|
729
|
-
if (typeof e == "number") {
|
|
730
|
-
if (e === 0)
|
|
731
|
-
return 1 / 0 / e > 0 ? "0" : "-0";
|
|
732
|
-
var u = String(e);
|
|
733
|
-
return s ? Ct(e, u) : u;
|
|
734
|
-
}
|
|
735
|
-
if (typeof e == "bigint") {
|
|
736
|
-
var f = String(e) + "n";
|
|
737
|
-
return s ? Ct(e, f) : f;
|
|
738
|
-
}
|
|
739
|
-
var p = typeof i.depth > "u" ? 5 : i.depth;
|
|
740
|
-
if (typeof n > "u" && (n = 0), n >= p && p > 0 && typeof e == "object")
|
|
741
|
-
return it(e) ? "[Array]" : "[Object]";
|
|
742
|
-
var y = _n(i, n);
|
|
743
|
-
if (typeof a > "u")
|
|
744
|
-
a = [];
|
|
745
|
-
else if (dr(a, e) >= 0)
|
|
746
|
-
return "[Circular]";
|
|
747
|
-
function c(F, B, D) {
|
|
748
|
-
if (B && (a = gn.call(a), a.push(B)), D) {
|
|
749
|
-
var oe = {
|
|
750
|
-
depth: i.depth
|
|
751
|
-
};
|
|
752
|
-
return N(i, "quoteStyle") && (oe.quoteStyle = i.quoteStyle), t(F, oe, n + 1, a);
|
|
753
|
-
}
|
|
754
|
-
return t(F, i, n + 1, a);
|
|
755
|
-
}
|
|
756
|
-
if (o(c, "inspect"), typeof e == "function" && !Bt(e)) {
|
|
757
|
-
var g = In(e), h = be(e, c);
|
|
758
|
-
return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (h.length > 0 ? " { " + R.call(h, ", ") + " }" : "");
|
|
759
|
-
}
|
|
760
|
-
if (yr(e)) {
|
|
761
|
-
var b = te ? W.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : at.call(e);
|
|
762
|
-
return typeof e == "object" && !te ? ie(b) : b;
|
|
763
|
-
}
|
|
764
|
-
if (Dn(e)) {
|
|
765
|
-
for (var O = "<" + Tt.call(String(e.nodeName)), E = e.attributes || [], C = 0; C < E.length; C++)
|
|
766
|
-
O += " " + E[C].name + "=" + pr(bn(E[C].value), "double", i);
|
|
767
|
-
return O += ">", e.childNodes && e.childNodes.length && (O += "..."), O += "</" + Tt.call(String(e.nodeName)) + ">", O;
|
|
768
|
-
}
|
|
769
|
-
if (it(e)) {
|
|
770
|
-
if (e.length === 0)
|
|
771
|
-
return "[]";
|
|
772
|
-
var v = be(e, c);
|
|
773
|
-
return y && !Cn(v) ? "[" + lt(v, y) + "]" : "[ " + R.call(v, ", ") + " ]";
|
|
774
|
-
}
|
|
775
|
-
if (wn(e)) {
|
|
776
|
-
var _ = be(e, c);
|
|
777
|
-
return !("cause" in Error.prototype) && "cause" in e && !cr.call(e, "cause") ? "{ [" + String(e) + "] " + R.call(Rt.call("[cause]: " + c(e.cause), _), ", ") + " }" : _.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + R.call(_, ", ") + " }";
|
|
778
|
-
}
|
|
779
|
-
if (typeof e == "object" && l) {
|
|
780
|
-
if (Lt && typeof e[Lt] == "function" && ot)
|
|
781
|
-
return ot(e, { depth: p - n });
|
|
782
|
-
if (l !== "symbol" && typeof e.inspect == "function")
|
|
783
|
-
return e.inspect();
|
|
784
|
-
}
|
|
785
|
-
if (Mn(e)) {
|
|
786
|
-
var H = [];
|
|
787
|
-
return Mt && Mt.call(e, function(F, B) {
|
|
788
|
-
H.push(c(B, e, !0) + " => " + c(F, e));
|
|
789
|
-
}), Wt("Map", xe.call(e), H, y);
|
|
790
|
-
}
|
|
791
|
-
if (Tn(e)) {
|
|
792
|
-
var ae = [];
|
|
793
|
-
return Ft && Ft.call(e, function(F) {
|
|
794
|
-
ae.push(c(F, e));
|
|
795
|
-
}), Wt("Set", Ee.call(e), ae, y);
|
|
796
|
-
}
|
|
797
|
-
if (Fn(e))
|
|
798
|
-
return Be("WeakMap");
|
|
799
|
-
if (Rn(e))
|
|
800
|
-
return Be("WeakSet");
|
|
801
|
-
if ($n(e))
|
|
802
|
-
return Be("WeakRef");
|
|
803
|
-
if (An(e))
|
|
804
|
-
return ie(c(Number(e)));
|
|
805
|
-
if (xn(e))
|
|
806
|
-
return ie(c(nt.call(e)));
|
|
807
|
-
if (Pn(e))
|
|
808
|
-
return ie(pn.call(e));
|
|
809
|
-
if (On(e))
|
|
810
|
-
return ie(c(String(e)));
|
|
811
|
-
if (typeof window < "u" && e === window)
|
|
812
|
-
return "{ [object Window] }";
|
|
813
|
-
if (typeof globalThis < "u" && e === globalThis || typeof xt < "u" && e === xt)
|
|
814
|
-
return "{ [object globalThis] }";
|
|
815
|
-
if (!Sn(e) && !Bt(e)) {
|
|
816
|
-
var V = be(e, c), ge = Nt ? Nt(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", L = !ge && ce && Object(e) === e && ce in e ? vt.call(k(e), 8, -1) : U ? "Object" : "", me = ge || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", J = me + (L || U ? "[" + R.call(Rt.call([], L || [], U || []), ": ") + "] " : "");
|
|
817
|
-
return V.length === 0 ? J + "{}" : y ? J + "{" + lt(V, y) + "}" : J + "{ " + R.call(V, ", ") + " }";
|
|
818
|
-
}
|
|
819
|
-
return String(e);
|
|
820
|
-
}, "inspect_");
|
|
821
|
-
function pr(t, e, r) {
|
|
822
|
-
var n = r.quoteStyle || e, a = fr[n];
|
|
823
|
-
return a + t + a;
|
|
824
|
-
}
|
|
825
|
-
o(pr, "wrapQuotes");
|
|
826
|
-
function bn(t) {
|
|
827
|
-
return W.call(String(t), /"/g, """);
|
|
828
|
-
}
|
|
829
|
-
o(bn, "quote");
|
|
830
|
-
function Q(t) {
|
|
831
|
-
return !ce || !(typeof t == "object" && (ce in t || typeof t[ce] < "u"));
|
|
832
|
-
}
|
|
833
|
-
o(Q, "canTrustToString");
|
|
834
|
-
function it(t) {
|
|
835
|
-
return k(t) === "[object Array]" && Q(t);
|
|
836
|
-
}
|
|
837
|
-
o(it, "isArray$3");
|
|
838
|
-
function Sn(t) {
|
|
839
|
-
return k(t) === "[object Date]" && Q(t);
|
|
840
|
-
}
|
|
841
|
-
o(Sn, "isDate");
|
|
842
|
-
function Bt(t) {
|
|
843
|
-
return k(t) === "[object RegExp]" && Q(t);
|
|
844
|
-
}
|
|
845
|
-
o(Bt, "isRegExp$1");
|
|
846
|
-
function wn(t) {
|
|
847
|
-
return k(t) === "[object Error]" && Q(t);
|
|
848
|
-
}
|
|
849
|
-
o(wn, "isError");
|
|
850
|
-
function On(t) {
|
|
851
|
-
return k(t) === "[object String]" && Q(t);
|
|
852
|
-
}
|
|
853
|
-
o(On, "isString");
|
|
854
|
-
function An(t) {
|
|
855
|
-
return k(t) === "[object Number]" && Q(t);
|
|
856
|
-
}
|
|
857
|
-
o(An, "isNumber");
|
|
858
|
-
function Pn(t) {
|
|
859
|
-
return k(t) === "[object Boolean]" && Q(t);
|
|
860
|
-
}
|
|
861
|
-
o(Pn, "isBoolean");
|
|
862
|
-
function yr(t) {
|
|
863
|
-
if (te)
|
|
864
|
-
return t && typeof t == "object" && t instanceof Symbol;
|
|
865
|
-
if (typeof t == "symbol")
|
|
866
|
-
return !0;
|
|
867
|
-
if (!t || typeof t != "object" || !at)
|
|
868
|
-
return !1;
|
|
869
|
-
try {
|
|
870
|
-
return at.call(t), !0;
|
|
871
|
-
} catch {
|
|
872
|
-
}
|
|
873
|
-
return !1;
|
|
874
|
-
}
|
|
875
|
-
o(yr, "isSymbol");
|
|
876
|
-
function xn(t) {
|
|
877
|
-
if (!t || typeof t != "object" || !nt)
|
|
878
|
-
return !1;
|
|
879
|
-
try {
|
|
880
|
-
return nt.call(t), !0;
|
|
881
|
-
} catch {
|
|
882
|
-
}
|
|
883
|
-
return !1;
|
|
884
|
-
}
|
|
885
|
-
o(xn, "isBigInt");
|
|
886
|
-
var En = Object.prototype.hasOwnProperty || function(t) {
|
|
887
|
-
return t in this;
|
|
888
|
-
};
|
|
889
|
-
function N(t, e) {
|
|
890
|
-
return En.call(t, e);
|
|
891
|
-
}
|
|
892
|
-
o(N, "has$3");
|
|
893
|
-
function k(t) {
|
|
894
|
-
return yn.call(t);
|
|
895
|
-
}
|
|
896
|
-
o(k, "toStr");
|
|
897
|
-
function In(t) {
|
|
898
|
-
if (t.name)
|
|
899
|
-
return t.name;
|
|
900
|
-
var e = vn.call(dn.call(t), /^function\s*([\w$]+)/);
|
|
901
|
-
return e ? e[1] : null;
|
|
902
|
-
}
|
|
903
|
-
o(In, "nameOf");
|
|
904
|
-
function dr(t, e) {
|
|
905
|
-
if (t.indexOf)
|
|
906
|
-
return t.indexOf(e);
|
|
907
|
-
for (var r = 0, n = t.length; r < n; r++)
|
|
908
|
-
if (t[r] === e)
|
|
909
|
-
return r;
|
|
910
|
-
return -1;
|
|
911
|
-
}
|
|
912
|
-
o(dr, "indexOf");
|
|
913
|
-
function Mn(t) {
|
|
914
|
-
if (!xe || !t || typeof t != "object")
|
|
915
|
-
return !1;
|
|
916
|
-
try {
|
|
917
|
-
xe.call(t);
|
|
918
|
-
try {
|
|
919
|
-
Ee.call(t);
|
|
920
|
-
} catch {
|
|
921
|
-
return !0;
|
|
922
|
-
}
|
|
923
|
-
return t instanceof Map;
|
|
924
|
-
} catch {
|
|
925
|
-
}
|
|
926
|
-
return !1;
|
|
927
|
-
}
|
|
928
|
-
o(Mn, "isMap");
|
|
929
|
-
function Fn(t) {
|
|
930
|
-
if (!ue || !t || typeof t != "object")
|
|
931
|
-
return !1;
|
|
932
|
-
try {
|
|
933
|
-
ue.call(t, ue);
|
|
934
|
-
try {
|
|
935
|
-
se.call(t, se);
|
|
936
|
-
} catch {
|
|
937
|
-
return !0;
|
|
938
|
-
}
|
|
939
|
-
return t instanceof WeakMap;
|
|
940
|
-
} catch {
|
|
941
|
-
}
|
|
942
|
-
return !1;
|
|
943
|
-
}
|
|
944
|
-
o(Fn, "isWeakMap");
|
|
945
|
-
function $n(t) {
|
|
946
|
-
if (!$t || !t || typeof t != "object")
|
|
947
|
-
return !1;
|
|
948
|
-
try {
|
|
949
|
-
return $t.call(t), !0;
|
|
950
|
-
} catch {
|
|
951
|
-
}
|
|
952
|
-
return !1;
|
|
953
|
-
}
|
|
954
|
-
o($n, "isWeakRef");
|
|
955
|
-
function Tn(t) {
|
|
956
|
-
if (!Ee || !t || typeof t != "object")
|
|
957
|
-
return !1;
|
|
958
|
-
try {
|
|
959
|
-
Ee.call(t);
|
|
960
|
-
try {
|
|
961
|
-
xe.call(t);
|
|
962
|
-
} catch {
|
|
963
|
-
return !0;
|
|
964
|
-
}
|
|
965
|
-
return t instanceof Set;
|
|
966
|
-
} catch {
|
|
967
|
-
}
|
|
968
|
-
return !1;
|
|
969
|
-
}
|
|
970
|
-
o(Tn, "isSet");
|
|
971
|
-
function Rn(t) {
|
|
972
|
-
if (!se || !t || typeof t != "object")
|
|
973
|
-
return !1;
|
|
974
|
-
try {
|
|
975
|
-
se.call(t, se);
|
|
976
|
-
try {
|
|
977
|
-
ue.call(t, ue);
|
|
978
|
-
} catch {
|
|
979
|
-
return !0;
|
|
980
|
-
}
|
|
981
|
-
return t instanceof WeakSet;
|
|
982
|
-
} catch {
|
|
983
|
-
}
|
|
984
|
-
return !1;
|
|
985
|
-
}
|
|
986
|
-
o(Rn, "isWeakSet");
|
|
987
|
-
function Dn(t) {
|
|
988
|
-
return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
|
|
989
|
-
}
|
|
990
|
-
o(Dn, "isElement");
|
|
991
|
-
function vr(t, e) {
|
|
992
|
-
if (t.length > e.maxStringLength) {
|
|
993
|
-
var r = t.length - e.maxStringLength, n = "... " + r + " more character" + (r > 1 ? "s" : "");
|
|
994
|
-
return vr(vt.call(t, 0, e.maxStringLength), e) + n;
|
|
995
|
-
}
|
|
996
|
-
var a = mn[e.quoteStyle || "single"];
|
|
997
|
-
a.lastIndex = 0;
|
|
998
|
-
var i = W.call(W.call(t, a, "\\$1"), /[\x00-\x1f]/g, Nn);
|
|
999
|
-
return pr(i, "single", e);
|
|
1000
|
-
}
|
|
1001
|
-
o(vr, "inspectString");
|
|
1002
|
-
function Nn(t) {
|
|
1003
|
-
var e = t.charCodeAt(0), r = {
|
|
1004
|
-
8: "b",
|
|
1005
|
-
9: "t",
|
|
1006
|
-
10: "n",
|
|
1007
|
-
12: "f",
|
|
1008
|
-
13: "r"
|
|
1009
|
-
}[e];
|
|
1010
|
-
return r ? "\\" + r : "\\x" + (e < 16 ? "0" : "") + hn.call(e.toString(16));
|
|
1011
|
-
}
|
|
1012
|
-
o(Nn, "lowbyte");
|
|
1013
|
-
function ie(t) {
|
|
1014
|
-
return "Object(" + t + ")";
|
|
1015
|
-
}
|
|
1016
|
-
o(ie, "markBoxed");
|
|
1017
|
-
function Be(t) {
|
|
1018
|
-
return t + " { ? }";
|
|
1019
|
-
}
|
|
1020
|
-
o(Be, "weakCollectionOf");
|
|
1021
|
-
function Wt(t, e, r, n) {
|
|
1022
|
-
var a = n ? lt(r, n) : R.call(r, ", ");
|
|
1023
|
-
return t + " (" + e + ") {" + a + "}";
|
|
1024
|
-
}
|
|
1025
|
-
o(Wt, "collectionOf");
|
|
1026
|
-
function Cn(t) {
|
|
1027
|
-
for (var e = 0; e < t.length; e++)
|
|
1028
|
-
if (dr(t[e], `
|
|
1029
|
-
`) >= 0)
|
|
1030
|
-
return !1;
|
|
1031
|
-
return !0;
|
|
1032
|
-
}
|
|
1033
|
-
o(Cn, "singleLineValues");
|
|
1034
|
-
function _n(t, e) {
|
|
1035
|
-
var r;
|
|
1036
|
-
if (t.indent === " ")
|
|
1037
|
-
r = " ";
|
|
1038
|
-
else if (typeof t.indent == "number" && t.indent > 0)
|
|
1039
|
-
r = R.call(Array(t.indent + 1), " ");
|
|
1040
|
-
else
|
|
1041
|
-
return null;
|
|
1042
|
-
return {
|
|
1043
|
-
base: r,
|
|
1044
|
-
prev: R.call(Array(e + 1), r)
|
|
1045
|
-
};
|
|
1046
|
-
}
|
|
1047
|
-
o(_n, "getIndent");
|
|
1048
|
-
function lt(t, e) {
|
|
1049
|
-
if (t.length === 0)
|
|
1050
|
-
return "";
|
|
1051
|
-
var r = `
|
|
1052
|
-
` + e.prev + e.base;
|
|
1053
|
-
return r + R.call(t, "," + r) + `
|
|
1054
|
-
` + e.prev;
|
|
1055
|
-
}
|
|
1056
|
-
o(lt, "indentedJoin");
|
|
1057
|
-
function be(t, e) {
|
|
1058
|
-
var r = it(t), n = [];
|
|
1059
|
-
if (r) {
|
|
1060
|
-
n.length = t.length;
|
|
1061
|
-
for (var a = 0; a < t.length; a++)
|
|
1062
|
-
n[a] = N(t, a) ? e(t[a], t) : "";
|
|
1063
|
-
}
|
|
1064
|
-
var i = typeof Le == "function" ? Le(t) : [], l;
|
|
1065
|
-
if (te) {
|
|
1066
|
-
l = {};
|
|
1067
|
-
for (var s = 0; s < i.length; s++)
|
|
1068
|
-
l["$" + i[s]] = i[s];
|
|
1069
|
-
}
|
|
1070
|
-
for (var u in t)
|
|
1071
|
-
N(t, u) && (r && String(Number(u)) === u && u < t.length || te && l["$" + u] instanceof Symbol || (sr.call(/[^\w$]/, u) ? n.push(e(u, t) + ": " + e(t[u], t)) : n.push(u + ": " + e(t[u], t))));
|
|
1072
|
-
if (typeof Le == "function")
|
|
1073
|
-
for (var f = 0; f < i.length; f++)
|
|
1074
|
-
cr.call(t, i[f]) && n.push("[" + e(i[f]) + "]: " + e(t[i[f]], t));
|
|
1075
|
-
return n;
|
|
1076
|
-
}
|
|
1077
|
-
o(be, "arrObjKeys");
|
|
1078
|
-
var Ln = Fe, Bn = ne, $e = /* @__PURE__ */ o(function(t, e, r) {
|
|
1079
|
-
for (var n = t, a; (a = n.next) != null; n = a)
|
|
1080
|
-
if (a.key === e)
|
|
1081
|
-
return n.next = a.next, r || (a.next = /** @type {NonNullable<typeof list.next>} */
|
|
1082
|
-
t.next, t.next = a), a;
|
|
1083
|
-
}, "listGetNode"), Wn = /* @__PURE__ */ o(function(t, e) {
|
|
1084
|
-
if (t) {
|
|
1085
|
-
var r = $e(t, e);
|
|
1086
|
-
return r && r.value;
|
|
1087
|
-
}
|
|
1088
|
-
}, "listGet"), kn = /* @__PURE__ */ o(function(t, e, r) {
|
|
1089
|
-
var n = $e(t, e);
|
|
1090
|
-
n ? n.value = r : t.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
|
|
1091
|
-
{
|
|
1092
|
-
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
1093
|
-
key: e,
|
|
1094
|
-
next: t.next,
|
|
1095
|
-
value: r
|
|
1096
|
-
};
|
|
1097
|
-
}, "listSet"), zn = /* @__PURE__ */ o(function(t, e) {
|
|
1098
|
-
return t ? !!$e(t, e) : !1;
|
|
1099
|
-
}, "listHas"), Hn = /* @__PURE__ */ o(function(t, e) {
|
|
1100
|
-
if (t)
|
|
1101
|
-
return $e(t, e, !0);
|
|
1102
|
-
}, "listDelete"), Un = /* @__PURE__ */ o(function() {
|
|
1103
|
-
var e, r = {
|
|
1104
|
-
assert: /* @__PURE__ */ o(function(n) {
|
|
1105
|
-
if (!r.has(n))
|
|
1106
|
-
throw new Bn("Side channel does not contain " + Ln(n));
|
|
1107
|
-
}, "assert"),
|
|
1108
|
-
delete: /* @__PURE__ */ o(function(n) {
|
|
1109
|
-
var a = e && e.next, i = Hn(e, n);
|
|
1110
|
-
return i && a && a === i && (e = void 0), !!i;
|
|
1111
|
-
}, "delete"),
|
|
1112
|
-
get: /* @__PURE__ */ o(function(n) {
|
|
1113
|
-
return Wn(e, n);
|
|
1114
|
-
}, "get"),
|
|
1115
|
-
has: /* @__PURE__ */ o(function(n) {
|
|
1116
|
-
return zn(e, n);
|
|
1117
|
-
}, "has"),
|
|
1118
|
-
set: /* @__PURE__ */ o(function(n, a) {
|
|
1119
|
-
e || (e = {
|
|
1120
|
-
next: void 0
|
|
1121
|
-
}), kn(
|
|
1122
|
-
/** @type {NonNullable<typeof $o>} */
|
|
1123
|
-
e,
|
|
1124
|
-
n,
|
|
1125
|
-
a
|
|
1126
|
-
);
|
|
1127
|
-
}, "set")
|
|
1128
|
-
};
|
|
1129
|
-
return r;
|
|
1130
|
-
}, "getSideChannelList"), hr = Object, qn = Error, Gn = EvalError, Kn = RangeError, Qn = ReferenceError, Vn = SyntaxError, Jn = URIError, jn = Math.abs, Yn = Math.floor, Xn = Math.max, Zn = Math.min, ea = Math.pow, ta = Math.round, ra = Number.isNaN || /* @__PURE__ */ o(function(e) {
|
|
1131
|
-
return e !== e;
|
|
1132
|
-
}, "isNaN"), na = ra, aa = /* @__PURE__ */ o(function(e) {
|
|
1133
|
-
return na(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
1134
|
-
}, "sign"), oa = Object.getOwnPropertyDescriptor, we = oa;
|
|
1135
|
-
if (we)
|
|
1136
|
-
try {
|
|
1137
|
-
we([], "length");
|
|
1138
|
-
} catch {
|
|
1139
|
-
we = null;
|
|
1140
|
-
}
|
|
1141
|
-
var gr = we, Oe = Object.defineProperty || !1;
|
|
1142
|
-
if (Oe)
|
|
1143
|
-
try {
|
|
1144
|
-
Oe({}, "a", { value: 1 });
|
|
1145
|
-
} catch {
|
|
1146
|
-
Oe = !1;
|
|
1147
|
-
}
|
|
1148
|
-
var ia = Oe, We, kt;
|
|
1149
|
-
function la() {
|
|
1150
|
-
return kt || (kt = 1, We = /* @__PURE__ */ o(function() {
|
|
1151
|
-
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
1152
|
-
return !1;
|
|
1153
|
-
if (typeof Symbol.iterator == "symbol")
|
|
1154
|
-
return !0;
|
|
1155
|
-
var e = {}, r = Symbol("test"), n = Object(r);
|
|
1156
|
-
if (typeof r == "string" || Object.prototype.toString.call(r) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]")
|
|
1157
|
-
return !1;
|
|
1158
|
-
var a = 42;
|
|
1159
|
-
e[r] = a;
|
|
1160
|
-
for (var i in e)
|
|
1161
|
-
return !1;
|
|
1162
|
-
if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
|
|
1163
|
-
return !1;
|
|
1164
|
-
var l = Object.getOwnPropertySymbols(e);
|
|
1165
|
-
if (l.length !== 1 || l[0] !== r || !Object.prototype.propertyIsEnumerable.call(e, r))
|
|
1166
|
-
return !1;
|
|
1167
|
-
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
1168
|
-
var s = (
|
|
1169
|
-
/** @type {PropertyDescriptor} */
|
|
1170
|
-
Object.getOwnPropertyDescriptor(e, r)
|
|
1171
|
-
);
|
|
1172
|
-
if (s.value !== a || s.enumerable !== !0)
|
|
1173
|
-
return !1;
|
|
1174
|
-
}
|
|
1175
|
-
return !0;
|
|
1176
|
-
}, "hasSymbols")), We;
|
|
1177
|
-
}
|
|
1178
|
-
o(la, "requireShams");
|
|
1179
|
-
var ke, zt;
|
|
1180
|
-
function ua() {
|
|
1181
|
-
if (zt) return ke;
|
|
1182
|
-
zt = 1;
|
|
1183
|
-
var t = typeof Symbol < "u" && Symbol, e = la();
|
|
1184
|
-
return ke = /* @__PURE__ */ o(function() {
|
|
1185
|
-
return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
|
|
1186
|
-
}, "hasNativeSymbols"), ke;
|
|
1187
|
-
}
|
|
1188
|
-
o(ua, "requireHasSymbols");
|
|
1189
|
-
var ze, Ht;
|
|
1190
|
-
function mr() {
|
|
1191
|
-
return Ht || (Ht = 1, ze = typeof Reflect < "u" && Reflect.getPrototypeOf || null), ze;
|
|
1192
|
-
}
|
|
1193
|
-
o(mr, "requireReflect_getPrototypeOf");
|
|
1194
|
-
var He, Ut;
|
|
1195
|
-
function br() {
|
|
1196
|
-
if (Ut) return He;
|
|
1197
|
-
Ut = 1;
|
|
1198
|
-
var t = hr;
|
|
1199
|
-
return He = t.getPrototypeOf || null, He;
|
|
1200
|
-
}
|
|
1201
|
-
o(br, "requireObject_getPrototypeOf");
|
|
1202
|
-
var Ue, qt;
|
|
1203
|
-
function sa() {
|
|
1204
|
-
if (qt) return Ue;
|
|
1205
|
-
qt = 1;
|
|
1206
|
-
var t = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, r = Math.max, n = "[object Function]", a = /* @__PURE__ */ o(function(u, f) {
|
|
1207
|
-
for (var p = [], y = 0; y < u.length; y += 1)
|
|
1208
|
-
p[y] = u[y];
|
|
1209
|
-
for (var c = 0; c < f.length; c += 1)
|
|
1210
|
-
p[c + u.length] = f[c];
|
|
1211
|
-
return p;
|
|
1212
|
-
}, "concatty"), i = /* @__PURE__ */ o(function(u, f) {
|
|
1213
|
-
for (var p = [], y = f, c = 0; y < u.length; y += 1, c += 1)
|
|
1214
|
-
p[c] = u[y];
|
|
1215
|
-
return p;
|
|
1216
|
-
}, "slicy"), l = /* @__PURE__ */ o(function(s, u) {
|
|
1217
|
-
for (var f = "", p = 0; p < s.length; p += 1)
|
|
1218
|
-
f += s[p], p + 1 < s.length && (f += u);
|
|
1219
|
-
return f;
|
|
1220
|
-
}, "joiny");
|
|
1221
|
-
return Ue = /* @__PURE__ */ o(function(u) {
|
|
1222
|
-
var f = this;
|
|
1223
|
-
if (typeof f != "function" || e.apply(f) !== n)
|
|
1224
|
-
throw new TypeError(t + f);
|
|
1225
|
-
for (var p = i(arguments, 1), y, c = /* @__PURE__ */ o(function() {
|
|
1226
|
-
if (this instanceof y) {
|
|
1227
|
-
var E = f.apply(
|
|
1228
|
-
this,
|
|
1229
|
-
a(p, arguments)
|
|
1230
|
-
);
|
|
1231
|
-
return Object(E) === E ? E : this;
|
|
1232
|
-
}
|
|
1233
|
-
return f.apply(
|
|
1234
|
-
u,
|
|
1235
|
-
a(p, arguments)
|
|
1236
|
-
);
|
|
1237
|
-
}, "binder"), g = r(0, f.length - p.length), h = [], b = 0; b < g; b++)
|
|
1238
|
-
h[b] = "$" + b;
|
|
1239
|
-
if (y = Function("binder", "return function (" + l(h, ",") + "){ return binder.apply(this,arguments); }")(c), f.prototype) {
|
|
1240
|
-
var O = /* @__PURE__ */ o(function() {
|
|
1241
|
-
}, "Empty");
|
|
1242
|
-
O.prototype = f.prototype, y.prototype = new O(), O.prototype = null;
|
|
1243
|
-
}
|
|
1244
|
-
return y;
|
|
1245
|
-
}, "bind"), Ue;
|
|
1246
|
-
}
|
|
1247
|
-
o(sa, "requireImplementation");
|
|
1248
|
-
var qe, Gt;
|
|
1249
|
-
function Te() {
|
|
1250
|
-
if (Gt) return qe;
|
|
1251
|
-
Gt = 1;
|
|
1252
|
-
var t = sa();
|
|
1253
|
-
return qe = Function.prototype.bind || t, qe;
|
|
1254
|
-
}
|
|
1255
|
-
o(Te, "requireFunctionBind");
|
|
1256
|
-
var Ge, Kt;
|
|
1257
|
-
function ht() {
|
|
1258
|
-
return Kt || (Kt = 1, Ge = Function.prototype.call), Ge;
|
|
1259
|
-
}
|
|
1260
|
-
o(ht, "requireFunctionCall");
|
|
1261
|
-
var Ke, Qt;
|
|
1262
|
-
function Sr() {
|
|
1263
|
-
return Qt || (Qt = 1, Ke = Function.prototype.apply), Ke;
|
|
1264
|
-
}
|
|
1265
|
-
o(Sr, "requireFunctionApply");
|
|
1266
|
-
var ca = typeof Reflect < "u" && Reflect && Reflect.apply, fa = Te(), pa = Sr(), ya = ht(), da = ca, va = da || fa.call(ya, pa), ha = Te(), ga = ne, ma = ht(), ba = va, wr = /* @__PURE__ */ o(function(e) {
|
|
1267
|
-
if (e.length < 1 || typeof e[0] != "function")
|
|
1268
|
-
throw new ga("a function is required");
|
|
1269
|
-
return ba(ha, ma, e);
|
|
1270
|
-
}, "callBindBasic"), Qe, Vt;
|
|
1271
|
-
function Sa() {
|
|
1272
|
-
if (Vt) return Qe;
|
|
1273
|
-
Vt = 1;
|
|
1274
|
-
var t = wr, e = gr, r;
|
|
1275
|
-
try {
|
|
1276
|
-
r = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
1277
|
-
[].__proto__ === Array.prototype;
|
|
1278
|
-
} catch (l) {
|
|
1279
|
-
if (!l || typeof l != "object" || !("code" in l) || l.code !== "ERR_PROTO_ACCESS")
|
|
1280
|
-
throw l;
|
|
1281
|
-
}
|
|
1282
|
-
var n = !!r && e && e(
|
|
1283
|
-
Object.prototype,
|
|
1284
|
-
/** @type {keyof typeof Object.prototype} */
|
|
1285
|
-
"__proto__"
|
|
1286
|
-
), a = Object, i = a.getPrototypeOf;
|
|
1287
|
-
return Qe = n && typeof n.get == "function" ? t([n.get]) : typeof i == "function" ? (
|
|
1288
|
-
/** @type {import('./get')} */
|
|
1289
|
-
/* @__PURE__ */ o(function(s) {
|
|
1290
|
-
return i(s == null ? s : a(s));
|
|
1291
|
-
}, "getDunder")
|
|
1292
|
-
) : !1, Qe;
|
|
1293
|
-
}
|
|
1294
|
-
o(Sa, "requireGet");
|
|
1295
|
-
var Ve, Jt;
|
|
1296
|
-
function wa() {
|
|
1297
|
-
if (Jt) return Ve;
|
|
1298
|
-
Jt = 1;
|
|
1299
|
-
var t = mr(), e = br(), r = Sa();
|
|
1300
|
-
return Ve = t ? /* @__PURE__ */ o(function(a) {
|
|
1301
|
-
return t(a);
|
|
1302
|
-
}, "getProto") : e ? /* @__PURE__ */ o(function(a) {
|
|
1303
|
-
if (!a || typeof a != "object" && typeof a != "function")
|
|
1304
|
-
throw new TypeError("getProto: not an object");
|
|
1305
|
-
return e(a);
|
|
1306
|
-
}, "getProto") : r ? /* @__PURE__ */ o(function(a) {
|
|
1307
|
-
return r(a);
|
|
1308
|
-
}, "getProto") : null, Ve;
|
|
1309
|
-
}
|
|
1310
|
-
o(wa, "requireGetProto");
|
|
1311
|
-
var Je, jt;
|
|
1312
|
-
function Oa() {
|
|
1313
|
-
if (jt) return Je;
|
|
1314
|
-
jt = 1;
|
|
1315
|
-
var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = Te();
|
|
1316
|
-
return Je = r.call(t, e), Je;
|
|
1317
|
-
}
|
|
1318
|
-
o(Oa, "requireHasown");
|
|
1319
|
-
var d, Aa = hr, Pa = qn, xa = Gn, Ea = Kn, Ia = Qn, re = Vn, ee = ne, Ma = Jn, Fa = jn, $a = Yn, Ta = Xn, Ra = Zn, Da = ea, Na = ta, Ca = aa, Or = Function, je = /* @__PURE__ */ o(function(t) {
|
|
1320
|
-
try {
|
|
1321
|
-
return Or('"use strict"; return (' + t + ").constructor;")();
|
|
1322
|
-
} catch {
|
|
1323
|
-
}
|
|
1324
|
-
}, "getEvalledConstructor"), ye = gr, _a = ia, Ye = /* @__PURE__ */ o(function() {
|
|
1325
|
-
throw new ee();
|
|
1326
|
-
}, "throwTypeError"), La = ye ? function() {
|
|
1327
|
-
try {
|
|
1328
|
-
return arguments.callee, Ye;
|
|
1329
|
-
} catch {
|
|
1330
|
-
try {
|
|
1331
|
-
return ye(arguments, "callee").get;
|
|
1332
|
-
} catch {
|
|
1333
|
-
return Ye;
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
}() : Ye, Y = ua()(), w = wa(), Ba = br(), Wa = mr(), Ar = Sr(), de = ht(), Z = {}, ka = typeof Uint8Array > "u" || !w ? d : w(Uint8Array), G = {
|
|
1337
|
-
__proto__: null,
|
|
1338
|
-
"%AggregateError%": typeof AggregateError > "u" ? d : AggregateError,
|
|
1339
|
-
"%Array%": Array,
|
|
1340
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? d : ArrayBuffer,
|
|
1341
|
-
"%ArrayIteratorPrototype%": Y && w ? w([][Symbol.iterator]()) : d,
|
|
1342
|
-
"%AsyncFromSyncIteratorPrototype%": d,
|
|
1343
|
-
"%AsyncFunction%": Z,
|
|
1344
|
-
"%AsyncGenerator%": Z,
|
|
1345
|
-
"%AsyncGeneratorFunction%": Z,
|
|
1346
|
-
"%AsyncIteratorPrototype%": Z,
|
|
1347
|
-
"%Atomics%": typeof Atomics > "u" ? d : Atomics,
|
|
1348
|
-
"%BigInt%": typeof BigInt > "u" ? d : BigInt,
|
|
1349
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ? d : BigInt64Array,
|
|
1350
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ? d : BigUint64Array,
|
|
1351
|
-
"%Boolean%": Boolean,
|
|
1352
|
-
"%DataView%": typeof DataView > "u" ? d : DataView,
|
|
1353
|
-
"%Date%": Date,
|
|
1354
|
-
"%decodeURI%": decodeURI,
|
|
1355
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
1356
|
-
"%encodeURI%": encodeURI,
|
|
1357
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
1358
|
-
"%Error%": Pa,
|
|
1359
|
-
"%eval%": eval,
|
|
1360
|
-
// eslint-disable-line no-eval
|
|
1361
|
-
"%EvalError%": xa,
|
|
1362
|
-
"%Float16Array%": typeof Float16Array > "u" ? d : Float16Array,
|
|
1363
|
-
"%Float32Array%": typeof Float32Array > "u" ? d : Float32Array,
|
|
1364
|
-
"%Float64Array%": typeof Float64Array > "u" ? d : Float64Array,
|
|
1365
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? d : FinalizationRegistry,
|
|
1366
|
-
"%Function%": Or,
|
|
1367
|
-
"%GeneratorFunction%": Z,
|
|
1368
|
-
"%Int8Array%": typeof Int8Array > "u" ? d : Int8Array,
|
|
1369
|
-
"%Int16Array%": typeof Int16Array > "u" ? d : Int16Array,
|
|
1370
|
-
"%Int32Array%": typeof Int32Array > "u" ? d : Int32Array,
|
|
1371
|
-
"%isFinite%": isFinite,
|
|
1372
|
-
"%isNaN%": isNaN,
|
|
1373
|
-
"%IteratorPrototype%": Y && w ? w(w([][Symbol.iterator]())) : d,
|
|
1374
|
-
"%JSON%": typeof JSON == "object" ? JSON : d,
|
|
1375
|
-
"%Map%": typeof Map > "u" ? d : Map,
|
|
1376
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !Y || !w ? d : w((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
1377
|
-
"%Math%": Math,
|
|
1378
|
-
"%Number%": Number,
|
|
1379
|
-
"%Object%": Aa,
|
|
1380
|
-
"%Object.getOwnPropertyDescriptor%": ye,
|
|
1381
|
-
"%parseFloat%": parseFloat,
|
|
1382
|
-
"%parseInt%": parseInt,
|
|
1383
|
-
"%Promise%": typeof Promise > "u" ? d : Promise,
|
|
1384
|
-
"%Proxy%": typeof Proxy > "u" ? d : Proxy,
|
|
1385
|
-
"%RangeError%": Ea,
|
|
1386
|
-
"%ReferenceError%": Ia,
|
|
1387
|
-
"%Reflect%": typeof Reflect > "u" ? d : Reflect,
|
|
1388
|
-
"%RegExp%": RegExp,
|
|
1389
|
-
"%Set%": typeof Set > "u" ? d : Set,
|
|
1390
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !Y || !w ? d : w((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
1391
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? d : SharedArrayBuffer,
|
|
1392
|
-
"%String%": String,
|
|
1393
|
-
"%StringIteratorPrototype%": Y && w ? w(""[Symbol.iterator]()) : d,
|
|
1394
|
-
"%Symbol%": Y ? Symbol : d,
|
|
1395
|
-
"%SyntaxError%": re,
|
|
1396
|
-
"%ThrowTypeError%": La,
|
|
1397
|
-
"%TypedArray%": ka,
|
|
1398
|
-
"%TypeError%": ee,
|
|
1399
|
-
"%Uint8Array%": typeof Uint8Array > "u" ? d : Uint8Array,
|
|
1400
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? d : Uint8ClampedArray,
|
|
1401
|
-
"%Uint16Array%": typeof Uint16Array > "u" ? d : Uint16Array,
|
|
1402
|
-
"%Uint32Array%": typeof Uint32Array > "u" ? d : Uint32Array,
|
|
1403
|
-
"%URIError%": Ma,
|
|
1404
|
-
"%WeakMap%": typeof WeakMap > "u" ? d : WeakMap,
|
|
1405
|
-
"%WeakRef%": typeof WeakRef > "u" ? d : WeakRef,
|
|
1406
|
-
"%WeakSet%": typeof WeakSet > "u" ? d : WeakSet,
|
|
1407
|
-
"%Function.prototype.call%": de,
|
|
1408
|
-
"%Function.prototype.apply%": Ar,
|
|
1409
|
-
"%Object.defineProperty%": _a,
|
|
1410
|
-
"%Object.getPrototypeOf%": Ba,
|
|
1411
|
-
"%Math.abs%": Fa,
|
|
1412
|
-
"%Math.floor%": $a,
|
|
1413
|
-
"%Math.max%": Ta,
|
|
1414
|
-
"%Math.min%": Ra,
|
|
1415
|
-
"%Math.pow%": Da,
|
|
1416
|
-
"%Math.round%": Na,
|
|
1417
|
-
"%Math.sign%": Ca,
|
|
1418
|
-
"%Reflect.getPrototypeOf%": Wa
|
|
1419
|
-
};
|
|
1420
|
-
if (w)
|
|
1421
|
-
try {
|
|
1422
|
-
null.error;
|
|
1423
|
-
} catch (t) {
|
|
1424
|
-
var za = w(w(t));
|
|
1425
|
-
G["%Error.prototype%"] = za;
|
|
1426
|
-
}
|
|
1427
|
-
var Ha = /* @__PURE__ */ o(function t(e) {
|
|
1428
|
-
var r;
|
|
1429
|
-
if (e === "%AsyncFunction%")
|
|
1430
|
-
r = je("async function () {}");
|
|
1431
|
-
else if (e === "%GeneratorFunction%")
|
|
1432
|
-
r = je("function* () {}");
|
|
1433
|
-
else if (e === "%AsyncGeneratorFunction%")
|
|
1434
|
-
r = je("async function* () {}");
|
|
1435
|
-
else if (e === "%AsyncGenerator%") {
|
|
1436
|
-
var n = t("%AsyncGeneratorFunction%");
|
|
1437
|
-
n && (r = n.prototype);
|
|
1438
|
-
} else if (e === "%AsyncIteratorPrototype%") {
|
|
1439
|
-
var a = t("%AsyncGenerator%");
|
|
1440
|
-
a && w && (r = w(a.prototype));
|
|
1441
|
-
}
|
|
1442
|
-
return G[e] = r, r;
|
|
1443
|
-
}, "doEval"), Yt = {
|
|
1444
|
-
__proto__: null,
|
|
1445
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
1446
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
1447
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
1448
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
1449
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
1450
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
1451
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
1452
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
1453
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
1454
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
1455
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
1456
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
1457
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
1458
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
1459
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
1460
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
1461
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
1462
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
1463
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
1464
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
1465
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
1466
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
1467
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
1468
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
1469
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
1470
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
1471
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
1472
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
1473
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
1474
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
1475
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
1476
|
-
"%Promise_all%": ["Promise", "all"],
|
|
1477
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
1478
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
1479
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
1480
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
1481
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
1482
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
1483
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
1484
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
1485
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
1486
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
1487
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
1488
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
1489
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
1490
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
1491
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
1492
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
1493
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
1494
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
1495
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
1496
|
-
}, ve = Te(), Ie = Oa(), Ua = ve.call(de, Array.prototype.concat), qa = ve.call(Ar, Array.prototype.splice), Xt = ve.call(de, String.prototype.replace), Me = ve.call(de, String.prototype.slice), Ga = ve.call(de, RegExp.prototype.exec), Ka = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Qa = /\\(\\)?/g, Va = /* @__PURE__ */ o(function(e) {
|
|
1497
|
-
var r = Me(e, 0, 1), n = Me(e, -1);
|
|
1498
|
-
if (r === "%" && n !== "%")
|
|
1499
|
-
throw new re("invalid intrinsic syntax, expected closing `%`");
|
|
1500
|
-
if (n === "%" && r !== "%")
|
|
1501
|
-
throw new re("invalid intrinsic syntax, expected opening `%`");
|
|
1502
|
-
var a = [];
|
|
1503
|
-
return Xt(e, Ka, function(i, l, s, u) {
|
|
1504
|
-
a[a.length] = s ? Xt(u, Qa, "$1") : l || i;
|
|
1505
|
-
}), a;
|
|
1506
|
-
}, "stringToPath"), Ja = /* @__PURE__ */ o(function(e, r) {
|
|
1507
|
-
var n = e, a;
|
|
1508
|
-
if (Ie(Yt, n) && (a = Yt[n], n = "%" + a[0] + "%"), Ie(G, n)) {
|
|
1509
|
-
var i = G[n];
|
|
1510
|
-
if (i === Z && (i = Ha(n)), typeof i > "u" && !r)
|
|
1511
|
-
throw new ee("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
1512
|
-
return {
|
|
1513
|
-
alias: a,
|
|
1514
|
-
name: n,
|
|
1515
|
-
value: i
|
|
1516
|
-
};
|
|
1517
|
-
}
|
|
1518
|
-
throw new re("intrinsic " + e + " does not exist!");
|
|
1519
|
-
}, "getBaseIntrinsic"), gt = /* @__PURE__ */ o(function(e, r) {
|
|
1520
|
-
if (typeof e != "string" || e.length === 0)
|
|
1521
|
-
throw new ee("intrinsic name must be a non-empty string");
|
|
1522
|
-
if (arguments.length > 1 && typeof r != "boolean")
|
|
1523
|
-
throw new ee('"allowMissing" argument must be a boolean');
|
|
1524
|
-
if (Ga(/^%?[^%]*%?$/, e) === null)
|
|
1525
|
-
throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
1526
|
-
var n = Va(e), a = n.length > 0 ? n[0] : "", i = Ja("%" + a + "%", r), l = i.name, s = i.value, u = !1, f = i.alias;
|
|
1527
|
-
f && (a = f[0], qa(n, Ua([0, 1], f)));
|
|
1528
|
-
for (var p = 1, y = !0; p < n.length; p += 1) {
|
|
1529
|
-
var c = n[p], g = Me(c, 0, 1), h = Me(c, -1);
|
|
1530
|
-
if ((g === '"' || g === "'" || g === "`" || h === '"' || h === "'" || h === "`") && g !== h)
|
|
1531
|
-
throw new re("property names with quotes must have matching quotes");
|
|
1532
|
-
if ((c === "constructor" || !y) && (u = !0), a += "." + c, l = "%" + a + "%", Ie(G, l))
|
|
1533
|
-
s = G[l];
|
|
1534
|
-
else if (s != null) {
|
|
1535
|
-
if (!(c in s)) {
|
|
1536
|
-
if (!r)
|
|
1537
|
-
throw new ee("base intrinsic for " + e + " exists, but the property is not available.");
|
|
1538
|
-
return;
|
|
1539
|
-
}
|
|
1540
|
-
if (ye && p + 1 >= n.length) {
|
|
1541
|
-
var b = ye(s, c);
|
|
1542
|
-
y = !!b, y && "get" in b && !("originalValue" in b.get) ? s = b.get : s = s[c];
|
|
1543
|
-
} else
|
|
1544
|
-
y = Ie(s, c), s = s[c];
|
|
1545
|
-
y && !u && (G[l] = s);
|
|
1546
|
-
}
|
|
1547
|
-
}
|
|
1548
|
-
return s;
|
|
1549
|
-
}, "GetIntrinsic"), Pr = gt, xr = wr, ja = xr([Pr("%String.prototype.indexOf%")]), Er = /* @__PURE__ */ o(function(e, r) {
|
|
1550
|
-
var n = (
|
|
1551
|
-
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
1552
|
-
Pr(e, !!r)
|
|
1553
|
-
);
|
|
1554
|
-
return typeof n == "function" && ja(e, ".prototype.") > -1 ? xr(
|
|
1555
|
-
/** @type {const} */
|
|
1556
|
-
[n]
|
|
1557
|
-
) : n;
|
|
1558
|
-
}, "callBoundIntrinsic"), Ya = gt, he = Er, Xa = Fe, Za = ne, Zt = Ya("%Map%", !0), eo = he("Map.prototype.get", !0), to = he("Map.prototype.set", !0), ro = he("Map.prototype.has", !0), no = he("Map.prototype.delete", !0), ao = he("Map.prototype.size", !0), Ir = !!Zt && /** @type {Exclude<import('.'), false>} */
|
|
1559
|
-
/* @__PURE__ */ o(function() {
|
|
1560
|
-
var e, r = {
|
|
1561
|
-
assert: /* @__PURE__ */ o(function(n) {
|
|
1562
|
-
if (!r.has(n))
|
|
1563
|
-
throw new Za("Side channel does not contain " + Xa(n));
|
|
1564
|
-
}, "assert"),
|
|
1565
|
-
delete: /* @__PURE__ */ o(function(n) {
|
|
1566
|
-
if (e) {
|
|
1567
|
-
var a = no(e, n);
|
|
1568
|
-
return ao(e) === 0 && (e = void 0), a;
|
|
1569
|
-
}
|
|
1570
|
-
return !1;
|
|
1571
|
-
}, "delete"),
|
|
1572
|
-
get: /* @__PURE__ */ o(function(n) {
|
|
1573
|
-
if (e)
|
|
1574
|
-
return eo(e, n);
|
|
1575
|
-
}, "get"),
|
|
1576
|
-
has: /* @__PURE__ */ o(function(n) {
|
|
1577
|
-
return e ? ro(e, n) : !1;
|
|
1578
|
-
}, "has"),
|
|
1579
|
-
set: /* @__PURE__ */ o(function(n, a) {
|
|
1580
|
-
e || (e = new Zt()), to(e, n, a);
|
|
1581
|
-
}, "set")
|
|
1582
|
-
};
|
|
1583
|
-
return r;
|
|
1584
|
-
}, "getSideChannelMap"), oo = gt, Re = Er, io = Fe, Se = Ir, lo = ne, X = oo("%WeakMap%", !0), uo = Re("WeakMap.prototype.get", !0), so = Re("WeakMap.prototype.set", !0), co = Re("WeakMap.prototype.has", !0), fo = Re("WeakMap.prototype.delete", !0), po = X ? (
|
|
1585
|
-
/** @type {Exclude<import('.'), false>} */
|
|
1586
|
-
/* @__PURE__ */ o(function() {
|
|
1587
|
-
var e, r, n = {
|
|
1588
|
-
assert: /* @__PURE__ */ o(function(a) {
|
|
1589
|
-
if (!n.has(a))
|
|
1590
|
-
throw new lo("Side channel does not contain " + io(a));
|
|
1591
|
-
}, "assert"),
|
|
1592
|
-
delete: /* @__PURE__ */ o(function(a) {
|
|
1593
|
-
if (X && a && (typeof a == "object" || typeof a == "function")) {
|
|
1594
|
-
if (e)
|
|
1595
|
-
return fo(e, a);
|
|
1596
|
-
} else if (Se && r)
|
|
1597
|
-
return r.delete(a);
|
|
1598
|
-
return !1;
|
|
1599
|
-
}, "delete"),
|
|
1600
|
-
get: /* @__PURE__ */ o(function(a) {
|
|
1601
|
-
return X && a && (typeof a == "object" || typeof a == "function") && e ? uo(e, a) : r && r.get(a);
|
|
1602
|
-
}, "get"),
|
|
1603
|
-
has: /* @__PURE__ */ o(function(a) {
|
|
1604
|
-
return X && a && (typeof a == "object" || typeof a == "function") && e ? co(e, a) : !!r && r.has(a);
|
|
1605
|
-
}, "has"),
|
|
1606
|
-
set: /* @__PURE__ */ o(function(a, i) {
|
|
1607
|
-
X && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new X()), so(e, a, i)) : Se && (r || (r = Se()), r.set(a, i));
|
|
1608
|
-
}, "set")
|
|
1609
|
-
};
|
|
1610
|
-
return n;
|
|
1611
|
-
}, "getSideChannelWeakMap")
|
|
1612
|
-
) : Se, yo = ne, vo = Fe, ho = Un, go = Ir, mo = po, bo = mo || go || ho, So = /* @__PURE__ */ o(function() {
|
|
1613
|
-
var e, r = {
|
|
1614
|
-
assert: /* @__PURE__ */ o(function(n) {
|
|
1615
|
-
if (!r.has(n))
|
|
1616
|
-
throw new yo("Side channel does not contain " + vo(n));
|
|
1617
|
-
}, "assert"),
|
|
1618
|
-
delete: /* @__PURE__ */ o(function(n) {
|
|
1619
|
-
return !!e && e.delete(n);
|
|
1620
|
-
}, "delete"),
|
|
1621
|
-
get: /* @__PURE__ */ o(function(n) {
|
|
1622
|
-
return e && e.get(n);
|
|
1623
|
-
}, "get"),
|
|
1624
|
-
has: /* @__PURE__ */ o(function(n) {
|
|
1625
|
-
return !!e && e.has(n);
|
|
1626
|
-
}, "has"),
|
|
1627
|
-
set: /* @__PURE__ */ o(function(n, a) {
|
|
1628
|
-
e || (e = bo()), e.set(n, a);
|
|
1629
|
-
}, "set")
|
|
1630
|
-
};
|
|
1631
|
-
return r;
|
|
1632
|
-
}, "getSideChannel"), wo = String.prototype.replace, Oo = /%20/g, Xe = {
|
|
1633
|
-
RFC1738: "RFC1738",
|
|
1634
|
-
RFC3986: "RFC3986"
|
|
1635
|
-
}, mt = {
|
|
1636
|
-
default: Xe.RFC3986,
|
|
1637
|
-
formatters: {
|
|
1638
|
-
RFC1738: /* @__PURE__ */ o(function(t) {
|
|
1639
|
-
return wo.call(t, Oo, "+");
|
|
1640
|
-
}, "RFC1738"),
|
|
1641
|
-
RFC3986: /* @__PURE__ */ o(function(t) {
|
|
1642
|
-
return String(t);
|
|
1643
|
-
}, "RFC3986")
|
|
1644
|
-
},
|
|
1645
|
-
RFC1738: Xe.RFC1738,
|
|
1646
|
-
RFC3986: Xe.RFC3986
|
|
1647
|
-
}, Ao = mt, Ze = Object.prototype.hasOwnProperty, q = Array.isArray, $ = function() {
|
|
1648
|
-
for (var t = [], e = 0; e < 256; ++e)
|
|
1649
|
-
t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
1650
|
-
return t;
|
|
1651
|
-
}(), Po = /* @__PURE__ */ o(function(e) {
|
|
1652
|
-
for (; e.length > 1; ) {
|
|
1653
|
-
var r = e.pop(), n = r.obj[r.prop];
|
|
1654
|
-
if (q(n)) {
|
|
1655
|
-
for (var a = [], i = 0; i < n.length; ++i)
|
|
1656
|
-
typeof n[i] < "u" && a.push(n[i]);
|
|
1657
|
-
r.obj[r.prop] = a;
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
}, "compactQueue"), Mr = /* @__PURE__ */ o(function(e, r) {
|
|
1661
|
-
for (var n = r && r.plainObjects ? { __proto__: null } : {}, a = 0; a < e.length; ++a)
|
|
1662
|
-
typeof e[a] < "u" && (n[a] = e[a]);
|
|
1663
|
-
return n;
|
|
1664
|
-
}, "arrayToObject"), xo = /* @__PURE__ */ o(function t(e, r, n) {
|
|
1665
|
-
if (!r)
|
|
1666
|
-
return e;
|
|
1667
|
-
if (typeof r != "object" && typeof r != "function") {
|
|
1668
|
-
if (q(e))
|
|
1669
|
-
e.push(r);
|
|
1670
|
-
else if (e && typeof e == "object")
|
|
1671
|
-
(n && (n.plainObjects || n.allowPrototypes) || !Ze.call(Object.prototype, r)) && (e[r] = !0);
|
|
1672
|
-
else
|
|
1673
|
-
return [e, r];
|
|
1674
|
-
return e;
|
|
1675
|
-
}
|
|
1676
|
-
if (!e || typeof e != "object")
|
|
1677
|
-
return [e].concat(r);
|
|
1678
|
-
var a = e;
|
|
1679
|
-
return q(e) && !q(r) && (a = Mr(e, n)), q(e) && q(r) ? (r.forEach(function(i, l) {
|
|
1680
|
-
if (Ze.call(e, l)) {
|
|
1681
|
-
var s = e[l];
|
|
1682
|
-
s && typeof s == "object" && i && typeof i == "object" ? e[l] = t(s, i, n) : e.push(i);
|
|
1683
|
-
} else
|
|
1684
|
-
e[l] = i;
|
|
1685
|
-
}), e) : Object.keys(r).reduce(function(i, l) {
|
|
1686
|
-
var s = r[l];
|
|
1687
|
-
return Ze.call(i, l) ? i[l] = t(i[l], s, n) : i[l] = s, i;
|
|
1688
|
-
}, a);
|
|
1689
|
-
}, "merge"), Eo = /* @__PURE__ */ o(function(e, r) {
|
|
1690
|
-
return Object.keys(r).reduce(function(n, a) {
|
|
1691
|
-
return n[a] = r[a], n;
|
|
1692
|
-
}, e);
|
|
1693
|
-
}, "assignSingleSource"), Io = /* @__PURE__ */ o(function(t, e, r) {
|
|
1694
|
-
var n = t.replace(/\+/g, " ");
|
|
1695
|
-
if (r === "iso-8859-1")
|
|
1696
|
-
return n.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
1697
|
-
try {
|
|
1698
|
-
return decodeURIComponent(n);
|
|
1699
|
-
} catch {
|
|
1700
|
-
return n;
|
|
1701
|
-
}
|
|
1702
|
-
}, "decode"), et = 1024, Mo = /* @__PURE__ */ o(function(e, r, n, a, i) {
|
|
1703
|
-
if (e.length === 0)
|
|
1704
|
-
return e;
|
|
1705
|
-
var l = e;
|
|
1706
|
-
if (typeof e == "symbol" ? l = Symbol.prototype.toString.call(e) : typeof e != "string" && (l = String(e)), n === "iso-8859-1")
|
|
1707
|
-
return escape(l).replace(/%u[0-9a-f]{4}/gi, function(g) {
|
|
1708
|
-
return "%26%23" + parseInt(g.slice(2), 16) + "%3B";
|
|
1709
|
-
});
|
|
1710
|
-
for (var s = "", u = 0; u < l.length; u += et) {
|
|
1711
|
-
for (var f = l.length >= et ? l.slice(u, u + et) : l, p = [], y = 0; y < f.length; ++y) {
|
|
1712
|
-
var c = f.charCodeAt(y);
|
|
1713
|
-
if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || i === Ao.RFC1738 && (c === 40 || c === 41)) {
|
|
1714
|
-
p[p.length] = f.charAt(y);
|
|
1715
|
-
continue;
|
|
1716
|
-
}
|
|
1717
|
-
if (c < 128) {
|
|
1718
|
-
p[p.length] = $[c];
|
|
1719
|
-
continue;
|
|
1720
|
-
}
|
|
1721
|
-
if (c < 2048) {
|
|
1722
|
-
p[p.length] = $[192 | c >> 6] + $[128 | c & 63];
|
|
1723
|
-
continue;
|
|
1724
|
-
}
|
|
1725
|
-
if (c < 55296 || c >= 57344) {
|
|
1726
|
-
p[p.length] = $[224 | c >> 12] + $[128 | c >> 6 & 63] + $[128 | c & 63];
|
|
1727
|
-
continue;
|
|
1728
|
-
}
|
|
1729
|
-
y += 1, c = 65536 + ((c & 1023) << 10 | f.charCodeAt(y) & 1023), p[p.length] = $[240 | c >> 18] + $[128 | c >> 12 & 63] + $[128 | c >> 6 & 63] + $[128 | c & 63];
|
|
1730
|
-
}
|
|
1731
|
-
s += p.join("");
|
|
1732
|
-
}
|
|
1733
|
-
return s;
|
|
1734
|
-
}, "encode"), Fo = /* @__PURE__ */ o(function(e) {
|
|
1735
|
-
for (var r = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < r.length; ++a)
|
|
1736
|
-
for (var i = r[a], l = i.obj[i.prop], s = Object.keys(l), u = 0; u < s.length; ++u) {
|
|
1737
|
-
var f = s[u], p = l[f];
|
|
1738
|
-
typeof p == "object" && p !== null && n.indexOf(p) === -1 && (r.push({ obj: l, prop: f }), n.push(p));
|
|
1739
|
-
}
|
|
1740
|
-
return Po(r), e;
|
|
1741
|
-
}, "compact"), $o = /* @__PURE__ */ o(function(e) {
|
|
1742
|
-
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
1743
|
-
}, "isRegExp"), To = /* @__PURE__ */ o(function(e) {
|
|
1744
|
-
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
1745
|
-
}, "isBuffer"), Ro = /* @__PURE__ */ o(function(e, r) {
|
|
1746
|
-
return [].concat(e, r);
|
|
1747
|
-
}, "combine"), Do = /* @__PURE__ */ o(function(e, r) {
|
|
1748
|
-
if (q(e)) {
|
|
1749
|
-
for (var n = [], a = 0; a < e.length; a += 1)
|
|
1750
|
-
n.push(r(e[a]));
|
|
1751
|
-
return n;
|
|
1752
|
-
}
|
|
1753
|
-
return r(e);
|
|
1754
|
-
}, "maybeMap"), Fr = {
|
|
1755
|
-
arrayToObject: Mr,
|
|
1756
|
-
assign: Eo,
|
|
1757
|
-
combine: Ro,
|
|
1758
|
-
compact: Fo,
|
|
1759
|
-
decode: Io,
|
|
1760
|
-
encode: Mo,
|
|
1761
|
-
isBuffer: To,
|
|
1762
|
-
isRegExp: $o,
|
|
1763
|
-
maybeMap: Do,
|
|
1764
|
-
merge: xo
|
|
1765
|
-
}, $r = So, Ae = Fr, fe = mt, No = Object.prototype.hasOwnProperty, Tr = {
|
|
1766
|
-
brackets: /* @__PURE__ */ o(function(e) {
|
|
1767
|
-
return e + "[]";
|
|
1768
|
-
}, "brackets"),
|
|
1769
|
-
comma: "comma",
|
|
1770
|
-
indices: /* @__PURE__ */ o(function(e, r) {
|
|
1771
|
-
return e + "[" + r + "]";
|
|
1772
|
-
}, "indices"),
|
|
1773
|
-
repeat: /* @__PURE__ */ o(function(e) {
|
|
1774
|
-
return e;
|
|
1775
|
-
}, "repeat")
|
|
1776
|
-
}, T = Array.isArray, Co = Array.prototype.push, Rr = /* @__PURE__ */ o(function(t, e) {
|
|
1777
|
-
Co.apply(t, T(e) ? e : [e]);
|
|
1778
|
-
}, "pushToArray"), _o = Date.prototype.toISOString, er = fe.default, S = {
|
|
1779
|
-
addQueryPrefix: !1,
|
|
1780
|
-
allowDots: !1,
|
|
1781
|
-
allowEmptyArrays: !1,
|
|
1782
|
-
arrayFormat: "indices",
|
|
1783
|
-
charset: "utf-8",
|
|
1784
|
-
charsetSentinel: !1,
|
|
1785
|
-
commaRoundTrip: !1,
|
|
1786
|
-
delimiter: "&",
|
|
1787
|
-
encode: !0,
|
|
1788
|
-
encodeDotInKeys: !1,
|
|
1789
|
-
encoder: Ae.encode,
|
|
1790
|
-
encodeValuesOnly: !1,
|
|
1791
|
-
filter: void 0,
|
|
1792
|
-
format: er,
|
|
1793
|
-
formatter: fe.formatters[er],
|
|
1794
|
-
// deprecated
|
|
1795
|
-
indices: !1,
|
|
1796
|
-
serializeDate: /* @__PURE__ */ o(function(e) {
|
|
1797
|
-
return _o.call(e);
|
|
1798
|
-
}, "serializeDate"),
|
|
1799
|
-
skipNulls: !1,
|
|
1800
|
-
strictNullHandling: !1
|
|
1801
|
-
}, Lo = /* @__PURE__ */ o(function(e) {
|
|
1802
|
-
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
1803
|
-
}, "isNonNullishPrimitive"), tt = {}, Bo = /* @__PURE__ */ o(function t(e, r, n, a, i, l, s, u, f, p, y, c, g, h, b, O, E, C) {
|
|
1804
|
-
for (var v = e, _ = C, H = 0, ae = !1; (_ = _.get(tt)) !== void 0 && !ae; ) {
|
|
1805
|
-
var V = _.get(e);
|
|
1806
|
-
if (H += 1, typeof V < "u") {
|
|
1807
|
-
if (V === H)
|
|
1808
|
-
throw new RangeError("Cyclic object value");
|
|
1809
|
-
ae = !0;
|
|
1810
|
-
}
|
|
1811
|
-
typeof _.get(tt) > "u" && (H = 0);
|
|
1812
|
-
}
|
|
1813
|
-
if (typeof p == "function" ? v = p(r, v) : v instanceof Date ? v = g(v) : n === "comma" && T(v) && (v = Ae.maybeMap(v, function(Ne) {
|
|
1814
|
-
return Ne instanceof Date ? g(Ne) : Ne;
|
|
1815
|
-
})), v === null) {
|
|
1816
|
-
if (l)
|
|
1817
|
-
return f && !O ? f(r, S.encoder, E, "key", h) : r;
|
|
1818
|
-
v = "";
|
|
1819
|
-
}
|
|
1820
|
-
if (Lo(v) || Ae.isBuffer(v)) {
|
|
1821
|
-
if (f) {
|
|
1822
|
-
var ge = O ? r : f(r, S.encoder, E, "key", h);
|
|
1823
|
-
return [b(ge) + "=" + b(f(v, S.encoder, E, "value", h))];
|
|
1824
|
-
}
|
|
1825
|
-
return [b(r) + "=" + b(String(v))];
|
|
1826
|
-
}
|
|
1827
|
-
var U = [];
|
|
1828
|
-
if (typeof v > "u")
|
|
1829
|
-
return U;
|
|
1830
|
-
var L;
|
|
1831
|
-
if (n === "comma" && T(v))
|
|
1832
|
-
O && f && (v = Ae.maybeMap(v, f)), L = [{ value: v.length > 0 ? v.join(",") || null : void 0 }];
|
|
1833
|
-
else if (T(p))
|
|
1834
|
-
L = p;
|
|
1835
|
-
else {
|
|
1836
|
-
var me = Object.keys(v);
|
|
1837
|
-
L = y ? me.sort(y) : me;
|
|
1838
|
-
}
|
|
1839
|
-
var J = u ? String(r).replace(/\./g, "%2E") : String(r), F = a && T(v) && v.length === 1 ? J + "[]" : J;
|
|
1840
|
-
if (i && T(v) && v.length === 0)
|
|
1841
|
-
return F + "[]";
|
|
1842
|
-
for (var B = 0; B < L.length; ++B) {
|
|
1843
|
-
var D = L[B], oe = typeof D == "object" && D && typeof D.value < "u" ? D.value : v[D];
|
|
1844
|
-
if (!(s && oe === null)) {
|
|
1845
|
-
var De = c && u ? String(D).replace(/\./g, "%2E") : String(D), _r = T(v) ? typeof n == "function" ? n(F, De) : F : F + (c ? "." + De : "[" + De + "]");
|
|
1846
|
-
C.set(e, H);
|
|
1847
|
-
var Pt = $r();
|
|
1848
|
-
Pt.set(tt, C), Rr(U, t(
|
|
1849
|
-
oe,
|
|
1850
|
-
_r,
|
|
1851
|
-
n,
|
|
1852
|
-
a,
|
|
1853
|
-
i,
|
|
1854
|
-
l,
|
|
1855
|
-
s,
|
|
1856
|
-
u,
|
|
1857
|
-
n === "comma" && O && T(v) ? null : f,
|
|
1858
|
-
p,
|
|
1859
|
-
y,
|
|
1860
|
-
c,
|
|
1861
|
-
g,
|
|
1862
|
-
h,
|
|
1863
|
-
b,
|
|
1864
|
-
O,
|
|
1865
|
-
E,
|
|
1866
|
-
Pt
|
|
1867
|
-
));
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
return U;
|
|
1871
|
-
}, "stringify"), Wo = /* @__PURE__ */ o(function(e) {
|
|
1872
|
-
if (!e)
|
|
1873
|
-
return S;
|
|
1874
|
-
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
1875
|
-
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1876
|
-
if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
|
|
1877
|
-
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1878
|
-
if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
|
|
1879
|
-
throw new TypeError("Encoder has to be a function.");
|
|
1880
|
-
var r = e.charset || S.charset;
|
|
1881
|
-
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
1882
|
-
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1883
|
-
var n = fe.default;
|
|
1884
|
-
if (typeof e.format < "u") {
|
|
1885
|
-
if (!No.call(fe.formatters, e.format))
|
|
1886
|
-
throw new TypeError("Unknown format option provided.");
|
|
1887
|
-
n = e.format;
|
|
1888
|
-
}
|
|
1889
|
-
var a = fe.formatters[n], i = S.filter;
|
|
1890
|
-
(typeof e.filter == "function" || T(e.filter)) && (i = e.filter);
|
|
1891
|
-
var l;
|
|
1892
|
-
if (e.arrayFormat in Tr ? l = e.arrayFormat : "indices" in e ? l = e.indices ? "indices" : "repeat" : l = S.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
|
|
1893
|
-
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
1894
|
-
var s = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : S.allowDots : !!e.allowDots;
|
|
1895
|
-
return {
|
|
1896
|
-
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : S.addQueryPrefix,
|
|
1897
|
-
allowDots: s,
|
|
1898
|
-
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : S.allowEmptyArrays,
|
|
1899
|
-
arrayFormat: l,
|
|
1900
|
-
charset: r,
|
|
1901
|
-
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : S.charsetSentinel,
|
|
1902
|
-
commaRoundTrip: !!e.commaRoundTrip,
|
|
1903
|
-
delimiter: typeof e.delimiter > "u" ? S.delimiter : e.delimiter,
|
|
1904
|
-
encode: typeof e.encode == "boolean" ? e.encode : S.encode,
|
|
1905
|
-
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : S.encodeDotInKeys,
|
|
1906
|
-
encoder: typeof e.encoder == "function" ? e.encoder : S.encoder,
|
|
1907
|
-
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : S.encodeValuesOnly,
|
|
1908
|
-
filter: i,
|
|
1909
|
-
format: n,
|
|
1910
|
-
formatter: a,
|
|
1911
|
-
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : S.serializeDate,
|
|
1912
|
-
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : S.skipNulls,
|
|
1913
|
-
sort: typeof e.sort == "function" ? e.sort : null,
|
|
1914
|
-
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : S.strictNullHandling
|
|
1915
|
-
};
|
|
1916
|
-
}, "normalizeStringifyOptions"), ko = /* @__PURE__ */ o(function(t, e) {
|
|
1917
|
-
var r = t, n = Wo(e), a, i;
|
|
1918
|
-
typeof n.filter == "function" ? (i = n.filter, r = i("", r)) : T(n.filter) && (i = n.filter, a = i);
|
|
1919
|
-
var l = [];
|
|
1920
|
-
if (typeof r != "object" || r === null)
|
|
1921
|
-
return "";
|
|
1922
|
-
var s = Tr[n.arrayFormat], u = s === "comma" && n.commaRoundTrip;
|
|
1923
|
-
a || (a = Object.keys(r)), n.sort && a.sort(n.sort);
|
|
1924
|
-
for (var f = $r(), p = 0; p < a.length; ++p) {
|
|
1925
|
-
var y = a[p], c = r[y];
|
|
1926
|
-
n.skipNulls && c === null || Rr(l, Bo(
|
|
1927
|
-
c,
|
|
1928
|
-
y,
|
|
1929
|
-
s,
|
|
1930
|
-
u,
|
|
1931
|
-
n.allowEmptyArrays,
|
|
1932
|
-
n.strictNullHandling,
|
|
1933
|
-
n.skipNulls,
|
|
1934
|
-
n.encodeDotInKeys,
|
|
1935
|
-
n.encode ? n.encoder : null,
|
|
1936
|
-
n.filter,
|
|
1937
|
-
n.sort,
|
|
1938
|
-
n.allowDots,
|
|
1939
|
-
n.serializeDate,
|
|
1940
|
-
n.format,
|
|
1941
|
-
n.formatter,
|
|
1942
|
-
n.encodeValuesOnly,
|
|
1943
|
-
n.charset,
|
|
1944
|
-
f
|
|
1945
|
-
));
|
|
1946
|
-
}
|
|
1947
|
-
var g = l.join(n.delimiter), h = n.addQueryPrefix === !0 ? "?" : "";
|
|
1948
|
-
return n.charsetSentinel && (n.charset === "iso-8859-1" ? h += "utf8=%26%2310003%3B&" : h += "utf8=%E2%9C%93&"), g.length > 0 ? h + g : "";
|
|
1949
|
-
}, "stringify_1"), K = Fr, ut = Object.prototype.hasOwnProperty, tr = Array.isArray, m = {
|
|
1950
|
-
allowDots: !1,
|
|
1951
|
-
allowEmptyArrays: !1,
|
|
1952
|
-
allowPrototypes: !1,
|
|
1953
|
-
allowSparse: !1,
|
|
1954
|
-
arrayLimit: 20,
|
|
1955
|
-
charset: "utf-8",
|
|
1956
|
-
charsetSentinel: !1,
|
|
1957
|
-
comma: !1,
|
|
1958
|
-
decodeDotInKeys: !1,
|
|
1959
|
-
decoder: K.decode,
|
|
1960
|
-
delimiter: "&",
|
|
1961
|
-
depth: 5,
|
|
1962
|
-
duplicates: "combine",
|
|
1963
|
-
ignoreQueryPrefix: !1,
|
|
1964
|
-
interpretNumericEntities: !1,
|
|
1965
|
-
parameterLimit: 1e3,
|
|
1966
|
-
parseArrays: !0,
|
|
1967
|
-
plainObjects: !1,
|
|
1968
|
-
strictDepth: !1,
|
|
1969
|
-
strictNullHandling: !1,
|
|
1970
|
-
throwOnLimitExceeded: !1
|
|
1971
|
-
}, zo = /* @__PURE__ */ o(function(t) {
|
|
1972
|
-
return t.replace(/&#(\d+);/g, function(e, r) {
|
|
1973
|
-
return String.fromCharCode(parseInt(r, 10));
|
|
1974
|
-
});
|
|
1975
|
-
}, "interpretNumericEntities"), Dr = /* @__PURE__ */ o(function(t, e, r) {
|
|
1976
|
-
if (t && typeof t == "string" && e.comma && t.indexOf(",") > -1)
|
|
1977
|
-
return t.split(",");
|
|
1978
|
-
if (e.throwOnLimitExceeded && r >= e.arrayLimit)
|
|
1979
|
-
throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
1980
|
-
return t;
|
|
1981
|
-
}, "parseArrayValue"), Ho = "utf8=%26%2310003%3B", Uo = "utf8=%E2%9C%93", qo = /* @__PURE__ */ o(function(e, r) {
|
|
1982
|
-
var n = { __proto__: null }, a = r.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
|
|
1983
|
-
a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
1984
|
-
var i = r.parameterLimit === 1 / 0 ? void 0 : r.parameterLimit, l = a.split(
|
|
1985
|
-
r.delimiter,
|
|
1986
|
-
r.throwOnLimitExceeded ? i + 1 : i
|
|
1987
|
-
);
|
|
1988
|
-
if (r.throwOnLimitExceeded && l.length > i)
|
|
1989
|
-
throw new RangeError("Parameter limit exceeded. Only " + i + " parameter" + (i === 1 ? "" : "s") + " allowed.");
|
|
1990
|
-
var s = -1, u, f = r.charset;
|
|
1991
|
-
if (r.charsetSentinel)
|
|
1992
|
-
for (u = 0; u < l.length; ++u)
|
|
1993
|
-
l[u].indexOf("utf8=") === 0 && (l[u] === Uo ? f = "utf-8" : l[u] === Ho && (f = "iso-8859-1"), s = u, u = l.length);
|
|
1994
|
-
for (u = 0; u < l.length; ++u)
|
|
1995
|
-
if (u !== s) {
|
|
1996
|
-
var p = l[u], y = p.indexOf("]="), c = y === -1 ? p.indexOf("=") : y + 1, g, h;
|
|
1997
|
-
c === -1 ? (g = r.decoder(p, m.decoder, f, "key"), h = r.strictNullHandling ? null : "") : (g = r.decoder(p.slice(0, c), m.decoder, f, "key"), h = K.maybeMap(
|
|
1998
|
-
Dr(
|
|
1999
|
-
p.slice(c + 1),
|
|
2000
|
-
r,
|
|
2001
|
-
tr(n[g]) ? n[g].length : 0
|
|
2002
|
-
),
|
|
2003
|
-
function(O) {
|
|
2004
|
-
return r.decoder(O, m.decoder, f, "value");
|
|
2005
|
-
}
|
|
2006
|
-
)), h && r.interpretNumericEntities && f === "iso-8859-1" && (h = zo(String(h))), p.indexOf("[]=") > -1 && (h = tr(h) ? [h] : h);
|
|
2007
|
-
var b = ut.call(n, g);
|
|
2008
|
-
b && r.duplicates === "combine" ? n[g] = K.combine(n[g], h) : (!b || r.duplicates === "last") && (n[g] = h);
|
|
2009
|
-
}
|
|
2010
|
-
return n;
|
|
2011
|
-
}, "parseQueryStringValues"), Go = /* @__PURE__ */ o(function(t, e, r, n) {
|
|
2012
|
-
var a = 0;
|
|
2013
|
-
if (t.length > 0 && t[t.length - 1] === "[]") {
|
|
2014
|
-
var i = t.slice(0, -1).join("");
|
|
2015
|
-
a = Array.isArray(e) && e[i] ? e[i].length : 0;
|
|
2016
|
-
}
|
|
2017
|
-
for (var l = n ? e : Dr(e, r, a), s = t.length - 1; s >= 0; --s) {
|
|
2018
|
-
var u, f = t[s];
|
|
2019
|
-
if (f === "[]" && r.parseArrays)
|
|
2020
|
-
u = r.allowEmptyArrays && (l === "" || r.strictNullHandling && l === null) ? [] : K.combine([], l);
|
|
2021
|
-
else {
|
|
2022
|
-
u = r.plainObjects ? { __proto__: null } : {};
|
|
2023
|
-
var p = f.charAt(0) === "[" && f.charAt(f.length - 1) === "]" ? f.slice(1, -1) : f, y = r.decodeDotInKeys ? p.replace(/%2E/g, ".") : p, c = parseInt(y, 10);
|
|
2024
|
-
!r.parseArrays && y === "" ? u = { 0: l } : !isNaN(c) && f !== y && String(c) === y && c >= 0 && r.parseArrays && c <= r.arrayLimit ? (u = [], u[c] = l) : y !== "__proto__" && (u[y] = l);
|
|
2025
|
-
}
|
|
2026
|
-
l = u;
|
|
2027
|
-
}
|
|
2028
|
-
return l;
|
|
2029
|
-
}, "parseObject"), Ko = /* @__PURE__ */ o(function(e, r, n, a) {
|
|
2030
|
-
if (e) {
|
|
2031
|
-
var i = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, l = /(\[[^[\]]*])/, s = /(\[[^[\]]*])/g, u = n.depth > 0 && l.exec(i), f = u ? i.slice(0, u.index) : i, p = [];
|
|
2032
|
-
if (f) {
|
|
2033
|
-
if (!n.plainObjects && ut.call(Object.prototype, f) && !n.allowPrototypes)
|
|
2034
|
-
return;
|
|
2035
|
-
p.push(f);
|
|
2036
|
-
}
|
|
2037
|
-
for (var y = 0; n.depth > 0 && (u = s.exec(i)) !== null && y < n.depth; ) {
|
|
2038
|
-
if (y += 1, !n.plainObjects && ut.call(Object.prototype, u[1].slice(1, -1)) && !n.allowPrototypes)
|
|
2039
|
-
return;
|
|
2040
|
-
p.push(u[1]);
|
|
2041
|
-
}
|
|
2042
|
-
if (u) {
|
|
2043
|
-
if (n.strictDepth === !0)
|
|
2044
|
-
throw new RangeError("Input depth exceeded depth option of " + n.depth + " and strictDepth is true");
|
|
2045
|
-
p.push("[" + i.slice(u.index) + "]");
|
|
2046
|
-
}
|
|
2047
|
-
return Go(p, r, n, a);
|
|
2048
|
-
}
|
|
2049
|
-
}, "parseQueryStringKeys"), Qo = /* @__PURE__ */ o(function(e) {
|
|
2050
|
-
if (!e)
|
|
2051
|
-
return m;
|
|
2052
|
-
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
2053
|
-
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
2054
|
-
if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
|
|
2055
|
-
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
2056
|
-
if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
|
|
2057
|
-
throw new TypeError("Decoder has to be a function.");
|
|
2058
|
-
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
2059
|
-
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
2060
|
-
if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
|
|
2061
|
-
throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
2062
|
-
var r = typeof e.charset > "u" ? m.charset : e.charset, n = typeof e.duplicates > "u" ? m.duplicates : e.duplicates;
|
|
2063
|
-
if (n !== "combine" && n !== "first" && n !== "last")
|
|
2064
|
-
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
2065
|
-
var a = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : m.allowDots : !!e.allowDots;
|
|
2066
|
-
return {
|
|
2067
|
-
allowDots: a,
|
|
2068
|
-
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : m.allowEmptyArrays,
|
|
2069
|
-
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : m.allowPrototypes,
|
|
2070
|
-
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : m.allowSparse,
|
|
2071
|
-
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : m.arrayLimit,
|
|
2072
|
-
charset: r,
|
|
2073
|
-
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : m.charsetSentinel,
|
|
2074
|
-
comma: typeof e.comma == "boolean" ? e.comma : m.comma,
|
|
2075
|
-
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : m.decodeDotInKeys,
|
|
2076
|
-
decoder: typeof e.decoder == "function" ? e.decoder : m.decoder,
|
|
2077
|
-
delimiter: typeof e.delimiter == "string" || K.isRegExp(e.delimiter) ? e.delimiter : m.delimiter,
|
|
2078
|
-
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
2079
|
-
depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : m.depth,
|
|
2080
|
-
duplicates: n,
|
|
2081
|
-
ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
|
|
2082
|
-
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : m.interpretNumericEntities,
|
|
2083
|
-
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : m.parameterLimit,
|
|
2084
|
-
parseArrays: e.parseArrays !== !1,
|
|
2085
|
-
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : m.plainObjects,
|
|
2086
|
-
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : m.strictDepth,
|
|
2087
|
-
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : m.strictNullHandling,
|
|
2088
|
-
throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
|
|
2089
|
-
};
|
|
2090
|
-
}, "normalizeParseOptions"), Vo = /* @__PURE__ */ o(function(t, e) {
|
|
2091
|
-
var r = Qo(e);
|
|
2092
|
-
if (t === "" || t === null || typeof t > "u")
|
|
2093
|
-
return r.plainObjects ? { __proto__: null } : {};
|
|
2094
|
-
for (var n = typeof t == "string" ? qo(t, r) : t, a = r.plainObjects ? { __proto__: null } : {}, i = Object.keys(n), l = 0; l < i.length; ++l) {
|
|
2095
|
-
var s = i[l], u = Ko(s, n[s], r, typeof t == "string");
|
|
2096
|
-
a = K.merge(a, u, r);
|
|
2097
|
-
}
|
|
2098
|
-
return r.allowSparse === !0 ? a : K.compact(a);
|
|
2099
|
-
}, "parse$1"), Jo = ko, jo = Vo, Yo = mt, Xo = {
|
|
2100
|
-
formats: Yo,
|
|
2101
|
-
parse: jo,
|
|
2102
|
-
stringify: Jo
|
|
2103
|
-
};
|
|
2104
|
-
const Zo = /* @__PURE__ */ qr(Xo), rr = "1.6rem", nr = 0.8, rt = 3, le = {
|
|
2105
|
-
palette: {
|
|
2106
|
-
mode: "light",
|
|
2107
|
-
text: {
|
|
2108
|
-
primary: "rgb(17, 24, 39)",
|
|
2109
|
-
secondary: "rgb(107, 114, 128)",
|
|
2110
|
-
disabled: "rgb(149, 156, 169)"
|
|
2111
|
-
},
|
|
2112
|
-
common: {
|
|
2113
|
-
black: "rgb(17, 24, 39)",
|
|
2114
|
-
white: "rgb(255, 255, 255)"
|
|
2115
|
-
},
|
|
2116
|
-
background: {
|
|
2117
|
-
paper: "#FFFFFF",
|
|
2118
|
-
default: "#f6f7f9"
|
|
2119
|
-
},
|
|
2120
|
-
primary: {
|
|
2121
|
-
main: "#232a2d"
|
|
2122
|
-
},
|
|
2123
|
-
secondary: {
|
|
2124
|
-
main: "#039BE5"
|
|
2125
|
-
},
|
|
2126
|
-
success: {
|
|
2127
|
-
main: "#2f7d31"
|
|
2128
|
-
},
|
|
2129
|
-
info: {
|
|
2130
|
-
main: "#9c27b0",
|
|
2131
|
-
contrastText: "#fff"
|
|
2132
|
-
},
|
|
2133
|
-
warning: {
|
|
2134
|
-
main: "#ed7d31",
|
|
2135
|
-
contrastText: "#fff"
|
|
2136
|
-
},
|
|
2137
|
-
error: {
|
|
2138
|
-
main: "#c00000"
|
|
2139
|
-
}
|
|
2140
|
-
}
|
|
2141
|
-
}, ei = {
|
|
2142
|
-
customScrollbars: !0,
|
|
2143
|
-
direction: "ltr",
|
|
2144
|
-
theme: {
|
|
2145
|
-
main: le,
|
|
2146
|
-
navbar: A({}, le, { palette: { background: { default: "#fff" } } }),
|
|
2147
|
-
toolbar: A({}, le, {
|
|
2148
|
-
palette: {
|
|
2149
|
-
mode: "dark",
|
|
2150
|
-
background: {
|
|
2151
|
-
default: le.palette.secondary.main
|
|
2152
|
-
}
|
|
2153
|
-
}
|
|
2154
|
-
}),
|
|
2155
|
-
footer: le
|
|
2156
|
-
}
|
|
2157
|
-
};
|
|
2158
|
-
function ti() {
|
|
2159
|
-
const t = Zo.parse(window.location.search, { ignoreQueryPrefix: !0 }), { defaultSettings: e = {} } = t;
|
|
2160
|
-
return typeof e == "string" ? JSON.parse(e) : {};
|
|
2161
|
-
}
|
|
2162
|
-
o(ti, "getParsedQuerySettings");
|
|
2163
|
-
const ri = {
|
|
2164
|
-
typography: {
|
|
2165
|
-
fontFamily: ["Pretendard", "Roboto", '"Helvetica"', "Arial", "sans-serif"].join(","),
|
|
2166
|
-
fontWeightLight: 300,
|
|
2167
|
-
fontWeightRegular: 400,
|
|
2168
|
-
fontWeightMedium: 500
|
|
2169
|
-
},
|
|
2170
|
-
components: {
|
|
2171
|
-
MuiSvgIcon: {
|
|
2172
|
-
defaultProps: {},
|
|
2173
|
-
styleOverrides: {
|
|
2174
|
-
root: {},
|
|
2175
|
-
sizeSmall: {
|
|
2176
|
-
width: 16,
|
|
2177
|
-
height: 16
|
|
2178
|
-
},
|
|
2179
|
-
sizeMedium: {
|
|
2180
|
-
width: 20,
|
|
2181
|
-
height: 20
|
|
2182
|
-
},
|
|
2183
|
-
sizeLarge: {
|
|
2184
|
-
width: 24,
|
|
2185
|
-
height: 24
|
|
2186
|
-
}
|
|
2187
|
-
}
|
|
2188
|
-
},
|
|
2189
|
-
MuiAppBar: {
|
|
2190
|
-
defaultProps: {
|
|
2191
|
-
enableColorOnDark: !0
|
|
2192
|
-
},
|
|
2193
|
-
styleOverrides: {
|
|
2194
|
-
root: {
|
|
2195
|
-
backgroundImage: "none"
|
|
2196
|
-
}
|
|
2197
|
-
}
|
|
2198
|
-
},
|
|
2199
|
-
MuiPickersPopper: {
|
|
2200
|
-
styleOverrides: {
|
|
2201
|
-
root: {
|
|
2202
|
-
zIndex: 99999
|
|
2203
|
-
}
|
|
2204
|
-
}
|
|
2205
|
-
},
|
|
2206
|
-
MuiAutocomplete: {
|
|
2207
|
-
styleOverrides: {
|
|
2208
|
-
popper: {
|
|
2209
|
-
zIndex: 99999
|
|
2210
|
-
}
|
|
2211
|
-
}
|
|
2212
|
-
},
|
|
2213
|
-
MuiButtonBase: {
|
|
2214
|
-
defaultProps: {
|
|
2215
|
-
// disableRipple: true
|
|
2216
|
-
},
|
|
2217
|
-
styleOverrides: {
|
|
2218
|
-
root: {}
|
|
2219
|
-
}
|
|
2220
|
-
},
|
|
2221
|
-
MuiIconButton: {
|
|
2222
|
-
styleOverrides: {
|
|
2223
|
-
root: {
|
|
2224
|
-
borderRadius: 8
|
|
2225
|
-
},
|
|
2226
|
-
sizeMedium: {
|
|
2227
|
-
width: 36,
|
|
2228
|
-
height: 36,
|
|
2229
|
-
maxHeight: 36
|
|
2230
|
-
},
|
|
2231
|
-
sizeSmall: {
|
|
2232
|
-
width: 32,
|
|
2233
|
-
height: 32,
|
|
2234
|
-
maxHeight: 32
|
|
2235
|
-
},
|
|
2236
|
-
sizeLarge: {
|
|
2237
|
-
width: 40,
|
|
2238
|
-
height: 40,
|
|
2239
|
-
maxHeight: 40
|
|
2240
|
-
}
|
|
2241
|
-
}
|
|
2242
|
-
},
|
|
2243
|
-
MuiBadge: {
|
|
2244
|
-
defaultProps: {},
|
|
2245
|
-
styleOverrides: {
|
|
2246
|
-
root: {}
|
|
2247
|
-
}
|
|
2248
|
-
},
|
|
2249
|
-
MuiAvatar: {
|
|
2250
|
-
defaultProps: {},
|
|
2251
|
-
styleOverrides: {
|
|
2252
|
-
root: {
|
|
2253
|
-
width: 36,
|
|
2254
|
-
height: 36
|
|
2255
|
-
}
|
|
2256
|
-
}
|
|
2257
|
-
},
|
|
2258
|
-
MuiButton: {
|
|
2259
|
-
defaultProps: {
|
|
2260
|
-
variant: "text",
|
|
2261
|
-
color: "inherit"
|
|
2262
|
-
},
|
|
2263
|
-
styleOverrides: {
|
|
2264
|
-
root: {
|
|
2265
|
-
textTransform: "none"
|
|
2266
|
-
// lineHeight: 1,
|
|
2267
|
-
},
|
|
2268
|
-
sizeMedium: {
|
|
2269
|
-
borderRadius: 8,
|
|
2270
|
-
height: 36,
|
|
2271
|
-
minHeight: 36,
|
|
2272
|
-
maxHeight: 36
|
|
2273
|
-
},
|
|
2274
|
-
sizeSmall: {
|
|
2275
|
-
borderRadius: 8,
|
|
2276
|
-
height: 32,
|
|
2277
|
-
minHeight: 32,
|
|
2278
|
-
maxHeight: 32
|
|
2279
|
-
},
|
|
2280
|
-
sizeLarge: {
|
|
2281
|
-
height: 40,
|
|
2282
|
-
minHeight: 40,
|
|
2283
|
-
maxHeight: 40,
|
|
2284
|
-
borderRadius: 8
|
|
2285
|
-
},
|
|
2286
|
-
contained: {
|
|
2287
|
-
boxShadow: "none",
|
|
2288
|
-
"&:hover, &:focus": {
|
|
2289
|
-
boxShadow: "none"
|
|
2290
|
-
}
|
|
2291
|
-
}
|
|
2292
|
-
}
|
|
2293
|
-
},
|
|
2294
|
-
MuiButtonGroup: {
|
|
2295
|
-
defaultProps: {
|
|
2296
|
-
color: "secondary"
|
|
2297
|
-
},
|
|
2298
|
-
styleOverrides: {
|
|
2299
|
-
contained: {
|
|
2300
|
-
borderRadius: 8
|
|
2301
|
-
}
|
|
2302
|
-
}
|
|
2303
|
-
},
|
|
2304
|
-
MuiTab: {
|
|
2305
|
-
styleOverrides: {
|
|
2306
|
-
root: {
|
|
2307
|
-
textTransform: "none"
|
|
2308
|
-
}
|
|
2309
|
-
}
|
|
2310
|
-
},
|
|
2311
|
-
MuiDrawer: {
|
|
2312
|
-
styleOverrides: {
|
|
2313
|
-
paper: {}
|
|
2314
|
-
}
|
|
2315
|
-
},
|
|
2316
|
-
MuiDialog: {
|
|
2317
|
-
styleOverrides: {
|
|
2318
|
-
paper: {
|
|
2319
|
-
borderRadius: 12
|
|
2320
|
-
}
|
|
2321
|
-
}
|
|
2322
|
-
},
|
|
2323
|
-
MuiPaper: {
|
|
2324
|
-
styleOverrides: {
|
|
2325
|
-
root: {
|
|
2326
|
-
backgroundImage: "none"
|
|
2327
|
-
},
|
|
2328
|
-
rounded: {
|
|
2329
|
-
borderRadius: 12
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
},
|
|
2333
|
-
MuiCard: {
|
|
2334
|
-
styleOverrides: {}
|
|
2335
|
-
},
|
|
2336
|
-
MuiPopover: {
|
|
2337
|
-
styleOverrides: {
|
|
2338
|
-
paper: {
|
|
2339
|
-
borderRadius: 8
|
|
2340
|
-
}
|
|
2341
|
-
}
|
|
2342
|
-
},
|
|
2343
|
-
MuiTextField: {
|
|
2344
|
-
defaultProps: {
|
|
2345
|
-
color: "secondary"
|
|
2346
|
-
},
|
|
2347
|
-
styleOverrides: {
|
|
2348
|
-
root: {
|
|
2349
|
-
"& > .MuiFormHelperText-root": {
|
|
2350
|
-
marginLeft: 11
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
}
|
|
2354
|
-
},
|
|
2355
|
-
MuiInputLabel: {
|
|
2356
|
-
defaultProps: {
|
|
2357
|
-
color: "secondary"
|
|
2358
|
-
},
|
|
2359
|
-
styleOverrides: {
|
|
2360
|
-
shrink: {
|
|
2361
|
-
transform: `translate(11px, -7px) scale(${nr})`
|
|
2362
|
-
},
|
|
2363
|
-
root: {
|
|
2364
|
-
fontSize: rr,
|
|
2365
|
-
transform: "translate(11px, 8px) scale(1)",
|
|
2366
|
-
"&.Mui-focused": {},
|
|
2367
|
-
"&.MuiInputLabel-outlined.MuiInputLabel-shrink": {
|
|
2368
|
-
lineHeight: 1.2,
|
|
2369
|
-
zIndex: 1,
|
|
2370
|
-
"&::before": {
|
|
2371
|
-
content: '""',
|
|
2372
|
-
position: "absolute",
|
|
2373
|
-
inset: `0 -${rt}px`,
|
|
2374
|
-
backgroundColor: "var(--mui-palette-background-paper)",
|
|
2375
|
-
borderRadius: 4,
|
|
2376
|
-
zIndex: -1
|
|
2377
|
-
}
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
},
|
|
2382
|
-
MuiSelect: {
|
|
2383
|
-
defaultProps: {
|
|
2384
|
-
color: "secondary"
|
|
2385
|
-
},
|
|
2386
|
-
styleOverrides: {
|
|
2387
|
-
select: {
|
|
2388
|
-
minHeight: 0
|
|
2389
|
-
}
|
|
2390
|
-
}
|
|
2391
|
-
},
|
|
2392
|
-
MuiFormHelperText: {
|
|
2393
|
-
styleOverrides: {
|
|
2394
|
-
root: {}
|
|
2395
|
-
}
|
|
2396
|
-
},
|
|
2397
|
-
MuiInputAdornment: {
|
|
2398
|
-
styleOverrides: {
|
|
2399
|
-
root: {
|
|
2400
|
-
marginRight: 0
|
|
2401
|
-
}
|
|
2402
|
-
}
|
|
2403
|
-
},
|
|
2404
|
-
MuiInputBase: {
|
|
2405
|
-
styleOverrides: {
|
|
2406
|
-
root: {
|
|
2407
|
-
// height: 36,
|
|
2408
|
-
minHeight: 36,
|
|
2409
|
-
borderRadius: 8,
|
|
2410
|
-
lineHeight: 1
|
|
2411
|
-
},
|
|
2412
|
-
legend: {
|
|
2413
|
-
fontSize: "0.75em"
|
|
2414
|
-
},
|
|
2415
|
-
input: {
|
|
2416
|
-
padding: "5px 11px"
|
|
2417
|
-
},
|
|
2418
|
-
adornedStart: {
|
|
2419
|
-
paddingLeft: "11px!important"
|
|
2420
|
-
},
|
|
2421
|
-
sizeSmall: {
|
|
2422
|
-
height: 32,
|
|
2423
|
-
minHeight: 32,
|
|
2424
|
-
borderRadius: 8
|
|
2425
|
-
},
|
|
2426
|
-
sizeMedium: {
|
|
2427
|
-
height: 36,
|
|
2428
|
-
minHeight: 36,
|
|
2429
|
-
borderRadius: 8
|
|
2430
|
-
},
|
|
2431
|
-
sizeLarge: {
|
|
2432
|
-
height: 40,
|
|
2433
|
-
minHeight: 40,
|
|
2434
|
-
borderRadius: 8
|
|
2435
|
-
}
|
|
2436
|
-
}
|
|
2437
|
-
},
|
|
2438
|
-
MuiOutlinedInput: {
|
|
2439
|
-
defaultProps: {
|
|
2440
|
-
color: "secondary"
|
|
2441
|
-
},
|
|
2442
|
-
styleOverrides: {
|
|
2443
|
-
root: {
|
|
2444
|
-
// paddingLeft: 11
|
|
2445
|
-
},
|
|
2446
|
-
input: {
|
|
2447
|
-
padding: "5px 11px"
|
|
2448
|
-
}
|
|
2449
|
-
}
|
|
2450
|
-
},
|
|
2451
|
-
MuiFilledInput: {
|
|
2452
|
-
styleOverrides: {
|
|
2453
|
-
root: {
|
|
2454
|
-
borderRadius: 8,
|
|
2455
|
-
"&:before, &:after": {
|
|
2456
|
-
display: "none"
|
|
2457
|
-
}
|
|
2458
|
-
},
|
|
2459
|
-
input: {
|
|
2460
|
-
padding: "5px 11px"
|
|
2461
|
-
}
|
|
2462
|
-
}
|
|
2463
|
-
},
|
|
2464
|
-
MuiSlider: {
|
|
2465
|
-
defaultProps: {
|
|
2466
|
-
color: "secondary"
|
|
2467
|
-
}
|
|
2468
|
-
},
|
|
2469
|
-
MuiCheckbox: {
|
|
2470
|
-
defaultProps: {
|
|
2471
|
-
color: "secondary"
|
|
2472
|
-
}
|
|
2473
|
-
},
|
|
2474
|
-
MuiRadio: {
|
|
2475
|
-
defaultProps: {
|
|
2476
|
-
color: "secondary"
|
|
2477
|
-
}
|
|
2478
|
-
},
|
|
2479
|
-
MuiSwitch: {
|
|
2480
|
-
defaultProps: {
|
|
2481
|
-
color: "secondary"
|
|
2482
|
-
}
|
|
2483
|
-
},
|
|
2484
|
-
MuiTypography: {
|
|
2485
|
-
variants: [
|
|
2486
|
-
{
|
|
2487
|
-
props: { color: "text.secondary" },
|
|
2488
|
-
style: {
|
|
2489
|
-
color: "text.secondary"
|
|
2490
|
-
}
|
|
2491
|
-
}
|
|
2492
|
-
]
|
|
2493
|
-
},
|
|
2494
|
-
MuiFormControl: {
|
|
2495
|
-
styleOverrides: {
|
|
2496
|
-
root: {
|
|
2497
|
-
"& .MuiInputLabel-outlined.MuiInputLabel-shrink:not(:empty) + .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline legend": {
|
|
2498
|
-
fontSize: `calc(${rr} * ${nr})`,
|
|
2499
|
-
maxWidth: "100%"
|
|
2500
|
-
},
|
|
2501
|
-
"& .MuiInputLabel-outlined.MuiInputLabel-shrink:not(:empty) + .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline legend > span:not(.notranslate)": {
|
|
2502
|
-
paddingLeft: `${rt}px`,
|
|
2503
|
-
paddingRight: `${rt}px`
|
|
2504
|
-
}
|
|
2505
|
-
}
|
|
2506
|
-
}
|
|
2507
|
-
}
|
|
2508
|
-
}
|
|
2509
|
-
}, ni = {
|
|
2510
|
-
typography: {
|
|
2511
|
-
htmlFontSize: 10,
|
|
2512
|
-
fontSize: 13,
|
|
2513
|
-
body1: {
|
|
2514
|
-
fontSize: "1.3rem"
|
|
2515
|
-
},
|
|
2516
|
-
body2: {
|
|
2517
|
-
fontSize: "1.3rem"
|
|
2518
|
-
}
|
|
2519
|
-
}
|
|
2520
|
-
};
|
|
2521
|
-
j[400], j[600], j[700], j[400], j[600], j[700];
|
|
2522
|
-
function ai(t) {
|
|
2523
|
-
const e = lr(t);
|
|
2524
|
-
return {
|
|
2525
|
-
border: /* @__PURE__ */ o((r = 1) => ({
|
|
2526
|
-
borderWidth: r,
|
|
2527
|
-
borderStyle: "solid",
|
|
2528
|
-
borderColor: e.palette.divider
|
|
2529
|
-
}), "border"),
|
|
2530
|
-
borderLeft: /* @__PURE__ */ o((r = 1) => ({
|
|
2531
|
-
borderLeftWidth: r,
|
|
2532
|
-
borderStyle: "solid",
|
|
2533
|
-
borderColor: e.palette.divider
|
|
2534
|
-
}), "borderLeft"),
|
|
2535
|
-
borderRight: /* @__PURE__ */ o((r = 1) => ({
|
|
2536
|
-
borderRightWidth: r,
|
|
2537
|
-
borderStyle: "solid",
|
|
2538
|
-
borderColor: e.palette.divider
|
|
2539
|
-
}), "borderRight"),
|
|
2540
|
-
borderTop: /* @__PURE__ */ o((r = 1) => ({
|
|
2541
|
-
borderTopWidth: r,
|
|
2542
|
-
borderStyle: "solid",
|
|
2543
|
-
borderColor: e.palette.divider
|
|
2544
|
-
}), "borderTop"),
|
|
2545
|
-
borderBottom: /* @__PURE__ */ o((r = 1) => ({
|
|
2546
|
-
borderBottomWidth: r,
|
|
2547
|
-
borderStyle: "solid",
|
|
2548
|
-
borderColor: e.palette.divider
|
|
2549
|
-
}), "borderBottom")
|
|
2550
|
-
};
|
|
2551
|
-
}
|
|
2552
|
-
o(ai, "extendThemeWithMixins");
|
|
2553
|
-
const oi = {
|
|
2554
|
-
primary: "rgb(17, 24, 39)",
|
|
2555
|
-
secondary: "rgb(107, 114, 128)",
|
|
2556
|
-
disabled: "rgb(149, 156, 169)"
|
|
2557
|
-
}, ii = {
|
|
2558
|
-
primary: "rgb(255,255,255)",
|
|
2559
|
-
secondary: "rgb(148, 163, 184)",
|
|
2560
|
-
disabled: "rgb(156, 163, 175)"
|
|
2561
|
-
}, Ri = or(
|
|
2562
|
-
"owpSettings/changeOwpTheme",
|
|
2563
|
-
async (t, { dispatch: e, getState: r }) => {
|
|
2564
|
-
const a = r().owpSettings, { navbar: i, footer: l, toolbar: s, main: u } = t, f = {
|
|
2565
|
-
...a.current,
|
|
2566
|
-
theme: {
|
|
2567
|
-
main: u,
|
|
2568
|
-
navbar: i,
|
|
2569
|
-
toolbar: s,
|
|
2570
|
-
footer: l
|
|
2571
|
-
}
|
|
2572
|
-
};
|
|
2573
|
-
return e(Cr(f));
|
|
2574
|
-
}
|
|
2575
|
-
);
|
|
2576
|
-
function li() {
|
|
2577
|
-
const t = "layout1", e = {
|
|
2578
|
-
style: t,
|
|
2579
|
-
config: ur[t].defaults
|
|
2580
|
-
};
|
|
2581
|
-
return console.log("🚀 ~ getInitialSettings ~ layout:", e), A({}, ei, { layout: e }, ti());
|
|
2582
|
-
}
|
|
2583
|
-
o(li, "getInitialSettings");
|
|
2584
|
-
function Nr(t, e) {
|
|
2585
|
-
var r, n;
|
|
2586
|
-
return A(
|
|
2587
|
-
{},
|
|
2588
|
-
t,
|
|
2589
|
-
{ layout: { config: (n = ur[(r = e == null ? void 0 : e.layout) == null ? void 0 : r.style]) == null ? void 0 : n.defaults } },
|
|
2590
|
-
e
|
|
2591
|
-
);
|
|
2592
|
-
}
|
|
2593
|
-
o(Nr, "generateSettings");
|
|
2594
|
-
const Pe = li();
|
|
2595
|
-
console.log("🚀 ~ initialSettings:", Pe);
|
|
2596
|
-
const ar = {
|
|
2597
|
-
initial: Pe,
|
|
2598
|
-
defaults: A({}, Pe),
|
|
2599
|
-
current: A({}, Pe)
|
|
2600
|
-
}, Cr = or(
|
|
2601
|
-
"owpSettings/setDefaultSettings",
|
|
2602
|
-
async (t, { getState: e }) => {
|
|
2603
|
-
const n = e().owpSettings, a = Nr(n.defaults, t);
|
|
2604
|
-
return {
|
|
2605
|
-
...n,
|
|
2606
|
-
defaults: A({}, a),
|
|
2607
|
-
current: A({}, a)
|
|
2608
|
-
};
|
|
2609
|
-
}
|
|
2610
|
-
), P = st({
|
|
2611
|
-
name: "owpSettings",
|
|
2612
|
-
initialState: ar,
|
|
2613
|
-
reducers: {
|
|
2614
|
-
setSettings: /* @__PURE__ */ o((t, e) => {
|
|
2615
|
-
const r = Nr(t.defaults, e.payload);
|
|
2616
|
-
return {
|
|
2617
|
-
...t,
|
|
2618
|
-
current: r
|
|
2619
|
-
};
|
|
2620
|
-
}, "setSettings"),
|
|
2621
|
-
setInitialSettings: /* @__PURE__ */ o(() => A({}, ar), "setInitialSettings"),
|
|
2622
|
-
resetSettings: /* @__PURE__ */ o((t) => ({
|
|
2623
|
-
...t,
|
|
2624
|
-
defaults: A({}, t.defaults),
|
|
2625
|
-
current: A({}, t.defaults)
|
|
2626
|
-
}), "resetSettings")
|
|
2627
|
-
},
|
|
2628
|
-
extraReducers: /* @__PURE__ */ o((t) => {
|
|
2629
|
-
t.addCase(Cr.fulfilled, (e, r) => r.payload);
|
|
2630
|
-
}, "extraReducers"),
|
|
2631
|
-
selectors: {
|
|
2632
|
-
selectOwpSettings: /* @__PURE__ */ o((t) => t, "selectOwpSettings"),
|
|
2633
|
-
selectOwpSettingsDefaults: /* @__PURE__ */ o((t) => t.defaults, "selectOwpSettingsDefaults"),
|
|
2634
|
-
selectOwpSettingsCurrent: /* @__PURE__ */ o((t) => t.current, "selectOwpSettingsCurrent"),
|
|
2635
|
-
selectOwpCurrentSettings: /* @__PURE__ */ o((t) => t.current, "selectOwpCurrentSettings"),
|
|
2636
|
-
getDirection: /* @__PURE__ */ o((t) => t.current.direction, "getDirection"),
|
|
2637
|
-
getMainTheme: /* @__PURE__ */ o((t) => t.current.theme.main, "getMainTheme"),
|
|
2638
|
-
getNavbarTheme: /* @__PURE__ */ o((t) => t.current.theme.navbar, "getNavbarTheme"),
|
|
2639
|
-
getToolbarTheme: /* @__PURE__ */ o((t) => t.current.theme.toolbar, "getToolbarTheme"),
|
|
2640
|
-
getFooterTheme: /* @__PURE__ */ o((t) => t.current.theme.footer, "getFooterTheme"),
|
|
2641
|
-
selectOwpCurrentLayoutConfig: /* @__PURE__ */ o((t) => t.current.layout.config, "selectOwpCurrentLayoutConfig"),
|
|
2642
|
-
selectOwpDefaultSettings: /* @__PURE__ */ o((t) => t.defaults, "selectOwpDefaultSettings"),
|
|
2643
|
-
selectCustomScrollbarsEnabled: /* @__PURE__ */ o((t) => t.current.customScrollbars, "selectCustomScrollbarsEnabled")
|
|
2644
|
-
}
|
|
2645
|
-
}), Di = P.selectors.selectOwpCurrentLayoutConfig, Ni = P.selectors.selectOwpCurrentSettings, Ci = P.selectors.selectOwpSettings, _i = P.selectors.selectOwpSettingsDefaults, Li = P.selectors.selectOwpSettingsCurrent, Bi = P.selectors.selectOwpDefaultSettings, Wi = P.selectors.selectCustomScrollbarsEnabled, I = P.selectors.getDirection, bt = P.selectors.getMainTheme, St = P.selectors.getNavbarTheme, wt = P.selectors.getToolbarTheme, Ot = P.selectors.getFooterTheme;
|
|
2646
|
-
function M(t, e) {
|
|
2647
|
-
const r = A({}, ri, t, ni);
|
|
2648
|
-
return lr(
|
|
2649
|
-
A({}, r, {
|
|
2650
|
-
mixins: ai(r),
|
|
2651
|
-
direction: e
|
|
2652
|
-
})
|
|
2653
|
-
);
|
|
2654
|
-
}
|
|
2655
|
-
o(M, "generateMuiTheme");
|
|
2656
|
-
const ki = /* @__PURE__ */ o((t) => {
|
|
2657
|
-
function e(r) {
|
|
2658
|
-
return Qr(r, "#ffffff") >= 3;
|
|
2659
|
-
}
|
|
2660
|
-
return o(e, "isDark"), e(t) ? ui : si;
|
|
2661
|
-
}, "selectContrastMainTheme");
|
|
2662
|
-
function z(t, e) {
|
|
2663
|
-
return A({}, t, {
|
|
2664
|
-
dark: {
|
|
2665
|
-
palette: {
|
|
2666
|
-
mode: "dark",
|
|
2667
|
-
divider: "rgba(241,245,249,.12)",
|
|
2668
|
-
background: {
|
|
2669
|
-
paper: "#1E2125",
|
|
2670
|
-
default: "#121212"
|
|
2671
|
-
},
|
|
2672
|
-
text: ii
|
|
2673
|
-
}
|
|
2674
|
-
},
|
|
2675
|
-
light: {
|
|
2676
|
-
palette: {
|
|
2677
|
-
mode: "light",
|
|
2678
|
-
divider: "#e2e8f0",
|
|
2679
|
-
background: {
|
|
2680
|
-
paper: "#FFFFFF",
|
|
2681
|
-
default: "#F7F7F7"
|
|
2682
|
-
},
|
|
2683
|
-
text: oi
|
|
2684
|
-
}
|
|
2685
|
-
}
|
|
2686
|
-
}[e]);
|
|
2687
|
-
}
|
|
2688
|
-
o(z, "changeThemeMode");
|
|
2689
|
-
const zi = x(
|
|
2690
|
-
[bt, I],
|
|
2691
|
-
(t, e) => M(t, e)
|
|
2692
|
-
), ui = x(
|
|
2693
|
-
[bt, I],
|
|
2694
|
-
(t, e) => M(z(t, "dark"), e)
|
|
2695
|
-
), si = x(
|
|
2696
|
-
[bt, I],
|
|
2697
|
-
(t, e) => M(z(t, "light"), e)
|
|
2698
|
-
), Hi = x(
|
|
2699
|
-
[St, I],
|
|
2700
|
-
(t, e) => M(t, e)
|
|
2701
|
-
), Ui = x(
|
|
2702
|
-
[St, I],
|
|
2703
|
-
(t, e) => M(z(t, "dark"), e)
|
|
2704
|
-
), qi = x(
|
|
2705
|
-
[St, I],
|
|
2706
|
-
(t, e) => M(z(t, "light"), e)
|
|
2707
|
-
), Gi = x(
|
|
2708
|
-
[wt, I],
|
|
2709
|
-
(t, e) => M(t, e)
|
|
2710
|
-
), Ki = x(
|
|
2711
|
-
[wt, I],
|
|
2712
|
-
(t, e) => M(z(t, "dark"), e)
|
|
2713
|
-
), Qi = x(
|
|
2714
|
-
[wt, I],
|
|
2715
|
-
(t, e) => M(z(t, "light"), e)
|
|
2716
|
-
), Vi = x(
|
|
2717
|
-
[Ot, I],
|
|
2718
|
-
(t, e) => M(t, e)
|
|
2719
|
-
), Ji = x(
|
|
2720
|
-
[Ot, I],
|
|
2721
|
-
(t, e) => M(z(t, "dark"), e)
|
|
2722
|
-
), ji = x(
|
|
2723
|
-
[Ot, I],
|
|
2724
|
-
(t, e) => M(z(t, "light"), e)
|
|
2725
|
-
), { resetSettings: Yi, setInitialSettings: Xi, setSettings: Zi } = P.actions;
|
|
2726
|
-
P.reducer;
|
|
2727
|
-
const el = Wr(
|
|
2728
|
-
/**
|
|
2729
|
-
* Static slices
|
|
2730
|
-
*/
|
|
2731
|
-
P,
|
|
2732
|
-
pt,
|
|
2733
|
-
ct
|
|
2734
|
-
).withLazyLoadedSlices();
|
|
2735
|
-
export {
|
|
2736
|
-
Ki as A,
|
|
2737
|
-
Qi as B,
|
|
2738
|
-
Vi as C,
|
|
2739
|
-
Ji as D,
|
|
2740
|
-
ji as E,
|
|
2741
|
-
Yi as F,
|
|
2742
|
-
Xi as G,
|
|
2743
|
-
Zi as H,
|
|
2744
|
-
el as I,
|
|
2745
|
-
xi as J,
|
|
2746
|
-
Oi as K,
|
|
2747
|
-
Pi as L,
|
|
2748
|
-
pt as M,
|
|
2749
|
-
Ii as N,
|
|
2750
|
-
Ei as O,
|
|
2751
|
-
bi as P,
|
|
2752
|
-
mi as Q,
|
|
2753
|
-
tn as R,
|
|
2754
|
-
pe as S,
|
|
2755
|
-
ct as T,
|
|
2756
|
-
Jr as U,
|
|
2757
|
-
Yr as V,
|
|
2758
|
-
Xr as W,
|
|
2759
|
-
Di as a,
|
|
2760
|
-
Ni as b,
|
|
2761
|
-
Ri as c,
|
|
2762
|
-
ii as d,
|
|
2763
|
-
Ci as e,
|
|
2764
|
-
_i as f,
|
|
2765
|
-
Nr as g,
|
|
2766
|
-
Li as h,
|
|
2767
|
-
Bi as i,
|
|
2768
|
-
Wi as j,
|
|
2769
|
-
I as k,
|
|
2770
|
-
oi as l,
|
|
2771
|
-
bt as m,
|
|
2772
|
-
St as n,
|
|
2773
|
-
P as o,
|
|
2774
|
-
wt as p,
|
|
2775
|
-
Ot as q,
|
|
2776
|
-
ki as r,
|
|
2777
|
-
Cr as s,
|
|
2778
|
-
zi as t,
|
|
2779
|
-
ui as u,
|
|
2780
|
-
si as v,
|
|
2781
|
-
Hi as w,
|
|
2782
|
-
Ui as x,
|
|
2783
|
-
qi as y,
|
|
2784
|
-
Gi as z
|
|
2785
|
-
};
|
|
2786
|
-
//# sourceMappingURL=lazyLoadedSlices-BYAl2fil.js.map
|