@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740589431
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/dist/{Backdrop-DcDd6WZF.js → Backdrop-BctCVgLy.js} +79 -82
- package/dist/Backdrop-DWp3AktL.cjs +1 -0
- package/dist/{Box-mP2Th61z.cjs → Box-DYA49L7w.cjs} +1 -1
- package/dist/{Box-Byz2BwGf.js → Box-DgqaLb7j.js} +8 -8
- package/dist/Button-B7kOjNW1.js +696 -0
- package/dist/Button-UmeKHfcL.cjs +1 -0
- package/dist/ButtonBase-D6tfI-8D.cjs +74 -0
- package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-IZ_QjbpE.js} +334 -334
- package/dist/CardContent-5bW4A4d2.cjs +1 -0
- package/dist/CardContent-F4-KcZH8.js +226 -0
- package/dist/{Checkbox-DYrDbdy1.cjs → Checkbox-DQgPXaym.cjs} +1 -1
- package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-qUSjau0g.js} +26 -26
- package/dist/Chip-BTnuWGEU.cjs +1 -0
- package/dist/Chip-OpRIs-sL.js +522 -0
- package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CQxzJquv.js} +11 -11
- package/dist/{CircularProgress-BByrCLjv.cjs → CircularProgress-cPXhiRlM.cjs} +4 -4
- package/dist/CloseRounded-BMEGLs8y.js +8 -0
- package/dist/CloseRounded-BRXBizmR.cjs +1 -0
- package/dist/{DatePicker-BS1OatwQ.js → DatePicker-C6MCYjpp.js} +3113 -3600
- package/dist/DatePicker-CTIqTlNQ.cjs +14 -0
- package/dist/DefaultPropsProvider-Cqcb4sws.js +303 -0
- package/dist/DefaultPropsProvider-wpBXjN8r.cjs +1 -0
- package/dist/Dialog-B1wnk5BT.cjs +1 -0
- package/dist/Dialog-CKS7yjT5.js +478 -0
- package/dist/{DialogContent-uc65XOEU.js → DialogContent-BzPaz5G8.js} +13 -13
- package/dist/{DialogContent-Dj_OjLZ6.cjs → DialogContent-DcZz4rBc.cjs} +1 -1
- package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-D3E_lDHD.js} +30 -30
- package/dist/{DialogTitle-BboPDaoB.cjs → DialogTitle-mr9xn4JZ.cjs} +1 -1
- package/dist/{Divider-KO-E6nU8.js → Divider-D-pZeQTm.js} +8 -8
- package/dist/{Divider-CcrM3lNn.cjs → Divider-D3hPb7s4.cjs} +1 -1
- package/dist/{FormLabel-CfR4bb21.js → FormLabel-3-CC-ZGw.js} +131 -133
- package/dist/FormLabel-BV7-a0i5.cjs +2 -0
- package/dist/{Grow-CQVPAYvp.js → Grow-DKgYCxiY.js} +46 -43
- package/dist/Grow-Z3KzFaK5.cjs +1 -0
- package/dist/{IconButton-CekuyD4r.js → IconButton-CCNUMz2l.js} +132 -64
- package/dist/IconButton-CVOPR4EM.cjs +2 -0
- package/dist/{InputAdornment-Cq0WhPxF.cjs → InputAdornment-CwFEJSXv.cjs} +1 -1
- package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-DL8XIM8r.js} +15 -14
- package/dist/{InputBase-BJy3wwFB.js → InputBase-By7jMrFP.js} +221 -215
- package/dist/InputBase-Cejvjv1E.cjs +3 -0
- package/dist/Link-2ncpUcIp.cjs +1 -0
- package/dist/{Link-CoQuUM0t.js → Link-C_GPIs0q.js} +46 -46
- package/dist/{Menu-C7tKmcAh.js → Menu-BunOW0ot.js} +72 -73
- package/dist/Menu-Cngt8Va9.cjs +7 -0
- package/dist/{MenuItem-BZ_EVaBq.cjs → MenuItem-Bha8aBMr.cjs} +1 -1
- package/dist/{MenuItem-j8luVUcX.js → MenuItem-Cu3FTLl8.js} +20 -20
- package/dist/{Modal-brWBFdK7.js → Modal-DTJd7JJ6.js} +99 -98
- package/dist/Modal-u82Ss4h_.cjs +2 -0
- package/dist/{Paper-BG4Vk_Um.js → Paper-BiZq6EF2.js} +8 -8
- package/dist/{Paper-Cr56xkCr.cjs → Paper-EvOTlB_Q.cjs} +2 -2
- package/dist/{Popper-YT5WAMV-.cjs → Popper-BVYscbsI.cjs} +3 -3
- package/dist/{Popper-DFZ_gRev.js → Popper-DjwR55WH.js} +241 -243
- package/dist/{Portal-JEwcozmp.js → Portal-BByeByPq.js} +34 -39
- package/dist/Portal-DUHpWdY1.cjs +1 -0
- package/dist/Radio-CSl8GQNk.cjs +1 -0
- package/dist/Radio-DSRS-tjj.js +568 -0
- package/dist/RadioGroup-DL4hhZzK.cjs +1 -0
- package/dist/RadioGroup-cPdOWdYD.js +190 -0
- package/dist/{Select-DmssuG5M.js → Select-CZnKFG3o.js} +419 -401
- package/dist/Select-DZAzJA0y.cjs +3 -0
- package/dist/Stack-B82ckLGm.cjs +1 -0
- package/dist/{Stack-BzTJdRGj.js → Stack-hbAJHQhq.js} +29 -29
- package/dist/Switch-B9uT9-d0.js +330 -0
- package/dist/Switch-DWKHe4z_.cjs +1 -0
- package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-CDkmnGAP.js} +29 -29
- package/dist/{SwitchBase-DjIY_KWB.cjs → SwitchBase-CnA6TA2P.cjs} +1 -1
- package/dist/Tabs-AyJ_tKtV.cjs +4 -0
- package/dist/{Tabs-CYbeTnJk.js → Tabs-BYfDlOR9.js} +336 -337
- package/dist/{TextField-Cri5Gxa7.js → TextField-BKfXjPdH.js} +29 -27
- package/dist/TextField-CwcPgdgD.cjs +1 -0
- package/dist/ToggleButtonGroup-DIp0fcXW.cjs +140 -0
- package/dist/ToggleButtonGroup-sc2omtRp.js +10473 -0
- package/dist/{Tooltip-BhAHhzKz.js → Tooltip-B1NGvrJP.js} +14 -14
- package/dist/{Tooltip-DhDtvULK.cjs → Tooltip-oNmnF7Bc.cjs} +3 -3
- package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
- package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
- package/dist/{Typography-DfRMDngd.cjs → Typography-DPij13XT.cjs} +1 -1
- package/dist/{Typography-DBwTr_ix.js → Typography-SIQ6eleU.js} +9 -9
- package/dist/{capitalize-CkF8kU4n.js → capitalize-3KLkrEtk.js} +1 -1
- package/dist/{capitalize-B3GG7Wn6.cjs → capitalize-CEByPz9F.cjs} +1 -1
- package/dist/components/Alert/Alert.es.js +13 -4
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -2
- package/dist/components/Button/Button.es.js +12 -325
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +12 -14
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.d.ts +2 -0
- package/dist/components/Dropzone/Dropzone.es.js +22 -19
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/FileList/FileIcon.cjs.js +1 -0
- package/dist/components/FileList/FileIcon.d.ts +3 -0
- package/dist/components/FileList/FileIcon.es.js +56 -0
- package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
- package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
- package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.d.ts +5 -3
- package/dist/components/FileList/FileList.es.js +22 -15
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.d.ts +9 -5
- package/dist/components/FileList/FileListItem.es.js +118 -24
- package/dist/components/FileList/utils.cjs.js +1 -0
- package/dist/components/FileList/utils.d.ts +2 -0
- package/dist/components/FileList/utils.es.js +13 -0
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.d.ts +1 -2
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.d.ts +2 -2
- package/dist/components/QueryError/QueryError.es.js +14 -14
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
- package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
- package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
- package/dist/components/ResourceCard/index.cjs.js +1 -0
- package/dist/components/ResourceCard/index.d.ts +2 -0
- package/dist/components/ResourceCard/index.es.js +4 -0
- package/dist/components/ResourceCard/style.cjs.js +1 -0
- package/dist/components/ResourceCard/style.es.js +125 -0
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +1 -2
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.es.js +348 -294
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +17 -168
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +5 -5
- package/dist/components/stories/Chip.stories.cjs.js +1 -0
- package/dist/components/stories/Chip.stories.d.ts +10 -0
- package/dist/components/stories/Chip.stories.es.js +77 -0
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +5 -5
- package/dist/components/stories/FileList.stories.cjs.js +8 -1
- package/dist/components/stories/FileList.stories.es.js +144 -20
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +16 -16
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +19 -115
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
- package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
- package/dist/components/stories/ResourceCard.stories.es.js +141 -0
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +14 -14
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +3 -3
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/createSvgIcon-DJMYlO0S.cjs +1 -0
- package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-K2ZAdASa.js} +57 -55
- package/dist/{dividerClasses-CCAY3Pnr.cjs → dividerClasses-Dq1bCO_s.cjs} +1 -1
- package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-afsB3Yy1.js} +3 -3
- package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
- package/dist/{elementTypeAcceptingRef-DZsNbuLU.cjs → elementTypeAcceptingRef-BjgxF5Bq.cjs} +1 -1
- package/dist/{extendSxProp-apyK-EBz.cjs → extendSxProp-D-oLUmkR.cjs} +1 -1
- package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-dlShX1xL.js} +3 -3
- package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
- package/dist/generateUtilityClasses-De8NU9_E.cjs +75 -0
- package/dist/generateUtilityClasses-DotvgSDH.js +3297 -0
- package/dist/hooks/lazySvgImport.d.ts +1 -1
- package/dist/{index-CwvpOCso.js → index-B1u7G33_.js} +29 -29
- package/dist/{index-ChM1Ett8.cjs → index-CVFzneYe.cjs} +1 -1
- package/dist/{index-BCnPLuqJ.js → index-DTTmpNYg.js} +22 -22
- package/dist/index-T-RSwkXB.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +348 -294
- package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-CqmIydD-.js} +1 -1
- package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-DrjvJtTP.cjs} +1 -1
- package/dist/{refType-CoaxQOPt.cjs → refType-BkobP3bK.cjs} +1 -1
- package/dist/{refType-DKYKROQk.js → refType-C210ipRY.js} +1 -1
- package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-CPmhKPdH.js} +7 -7
- package/dist/resolveComponentProps-PuUs-PsA.cjs +1 -0
- package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
- package/dist/unsupportedProp-BuVD30Gh.js +9 -0
- package/dist/useSlot-CC2AaOjN.cjs +1 -0
- package/dist/useSlot-GZu0V5wJ.js +48 -0
- package/dist/{useSlotProps-B31YQlzb.js → useSlotProps-C9tsxDNg.js} +11 -11
- package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
- package/dist/{useTheme-Dukx-__T.cjs → useTheme-7RGQRN-h.cjs} +1 -1
- package/dist/useTheme-BA7tMglY.js +11 -0
- package/dist/{useTheme-Cy5kyKJF.cjs → useTheme-CIf2b2wK.cjs} +1 -1
- package/dist/{useTheme-_xyy-wul.js → useTheme-tdgDVH1p.js} +1 -1
- package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-AnS1uVAy.cjs} +1 -1
- package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BQlPXzo3.js} +2 -2
- package/dist/useThemeProps-BTfGtNci.js +17 -0
- package/dist/useThemeProps-DxBEHys5.cjs +1 -0
- package/dist/utils-CFI_-FMV.cjs +1 -0
- package/dist/{utils-C6c4fj7D.js → utils-CXhh35wP.js} +41 -41
- package/package.json +9 -9
- package/dist/Backdrop-CvufxHMY.cjs +0 -1
- package/dist/Button-BH9MUvmz.cjs +0 -1
- package/dist/Button-BnNYfQ3E.js +0 -484
- package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
- package/dist/Card-AJG0TUOx.js +0 -74
- package/dist/Card-NqCXQteq.cjs +0 -1
- package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
- package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
- package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
- package/dist/Delete-BkZN7Xu5.js +0 -8
- package/dist/Delete-D1EiKoL5.cjs +0 -1
- package/dist/Dialog-D_lS4J_M.js +0 -415
- package/dist/Dialog-yOrNcHbG.cjs +0 -1
- package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
- package/dist/FormControlLabel-BmrKQtQA.js +0 -262
- package/dist/FormGroup-CbczEc6e.js +0 -95
- package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
- package/dist/FormLabel-D1uvEhsH.cjs +0 -2
- package/dist/Grow-CUBJs6WD.cjs +0 -1
- package/dist/IconButton-CJfzspZK.cjs +0 -2
- package/dist/InputBase-s1fk8TB4.cjs +0 -3
- package/dist/Link-CWczkFp0.cjs +0 -1
- package/dist/Menu-Bsx8PA-q.cjs +0 -7
- package/dist/Modal-DImrEpYJ.cjs +0 -2
- package/dist/Portal-DF0RKOcD.cjs +0 -1
- package/dist/Radio-CVAEGXKi.cjs +0 -1
- package/dist/Radio-DGhot3Cd.js +0 -313
- package/dist/Select-CwAWNiiv.cjs +0 -3
- package/dist/Stack-Yq6rb7iK.cjs +0 -1
- package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
- package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
- package/dist/Tabs-KG4VWw-1.cjs +0 -4
- package/dist/TextField-BI9KVqjC.cjs +0 -1
- package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
- package/dist/createSvgIcon--rEClVU7.cjs +0 -1
- package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
- package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
- package/dist/index-Aa73Kpym.cjs +0 -1
- package/dist/index-Cw0GDedk.cjs +0 -17
- package/dist/index-DXD5J5Eu.js +0 -186
- package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
- package/dist/useSlot-BTpHG6jf.js +0 -50
- package/dist/useSlot-CByalpSD.cjs +0 -1
- package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
- package/dist/useTheme-DyaNKf4e.js +0 -11
- package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
- package/dist/useThemeProps-CwEQ4bv2.js +0 -24
- package/dist/utils-vmyQ2IaS.cjs +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { a as xt, u as Pt } from "./useSlotProps-
|
|
2
|
-
import { I as Et, H as Rt, P as i } from "./generateUtilityClasses-
|
|
1
|
+
import { a as xt, u as Pt } from "./useSlotProps-C9tsxDNg.js";
|
|
2
|
+
import { I as Et, H as Rt, P as i } from "./generateUtilityClasses-DotvgSDH.js";
|
|
3
3
|
import * as L from "react";
|
|
4
4
|
import { jsx as be } from "react/jsx-runtime";
|
|
5
5
|
import { o as ze } from "./ownerDocument-CUrv0DIK.js";
|
|
6
|
-
import { P as Tt, H as we } from "./Portal-
|
|
7
|
-
import { c as At } from "./chainPropTypes-D9lkm76m.js";
|
|
8
|
-
import { r as at } from "./refType-DKYKROQk.js";
|
|
6
|
+
import { P as Tt, H as we } from "./Portal-BByeByPq.js";
|
|
9
7
|
import { u as Ge } from "./useForkRef-C_4o__cU.js";
|
|
10
8
|
import { u as Je } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
11
|
-
import { c as
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
import { c as At, u as jt, s as Dt } from "./DefaultPropsProvider-Cqcb4sws.js";
|
|
10
|
+
import { r as at } from "./refType-C210ipRY.js";
|
|
11
|
+
import { c as Mt } from "./chainPropTypes-D9lkm76m.js";
|
|
12
|
+
var B = "top", N = "bottom", V = "right", $ = "left", Ce = "auto", le = [B, N, V, $], ee = "start", fe = "end", Ct = "clippingParents", it = "viewport", ie = "popper", Bt = "reference", Ke = /* @__PURE__ */ le.reduce(function(e, t) {
|
|
13
|
+
return e.concat([t + "-" + ee, t + "-" + fe]);
|
|
14
14
|
}, []), st = /* @__PURE__ */ [].concat(le, [Ce]).reduce(function(e, t) {
|
|
15
|
-
return e.concat([t, t + "-" + ee, t + "-" +
|
|
15
|
+
return e.concat([t, t + "-" + ee, t + "-" + fe]);
|
|
16
16
|
}, []), $t = "beforeRead", kt = "read", St = "afterRead", Wt = "beforeMain", Lt = "main", Ht = "afterMain", Nt = "beforeWrite", Vt = "write", Ut = "afterWrite", qt = [$t, kt, St, Wt, Lt, Ht, Nt, Vt, Ut];
|
|
17
17
|
function q(e) {
|
|
18
18
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
@@ -43,9 +43,9 @@ function Be(e) {
|
|
|
43
43
|
function It(e) {
|
|
44
44
|
var t = e.state;
|
|
45
45
|
Object.keys(t.elements).forEach(function(r) {
|
|
46
|
-
var
|
|
47
|
-
!H(s) || !q(s) || (Object.assign(s.style,
|
|
48
|
-
var a =
|
|
46
|
+
var o = t.styles[r] || {}, n = t.attributes[r] || {}, s = t.elements[r];
|
|
47
|
+
!H(s) || !q(s) || (Object.assign(s.style, o), Object.keys(n).forEach(function(c) {
|
|
48
|
+
var a = n[c];
|
|
49
49
|
a === !1 ? s.removeAttribute(c) : s.setAttribute(c, a === !0 ? "" : a);
|
|
50
50
|
}));
|
|
51
51
|
});
|
|
@@ -64,12 +64,12 @@ function Ft(e) {
|
|
|
64
64
|
reference: {}
|
|
65
65
|
};
|
|
66
66
|
return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
|
|
67
|
-
Object.keys(t.elements).forEach(function(
|
|
68
|
-
var
|
|
69
|
-
return
|
|
67
|
+
Object.keys(t.elements).forEach(function(o) {
|
|
68
|
+
var n = t.elements[o], s = t.attributes[o] || {}, c = Object.keys(t.styles.hasOwnProperty(o) ? t.styles[o] : r[o]), a = c.reduce(function(p, l) {
|
|
69
|
+
return p[l] = "", p;
|
|
70
70
|
}, {});
|
|
71
|
-
!H(
|
|
72
|
-
|
|
71
|
+
!H(n) || !q(n) || (Object.assign(n.style, a), Object.keys(s).forEach(function(p) {
|
|
72
|
+
n.removeAttribute(p);
|
|
73
73
|
}));
|
|
74
74
|
});
|
|
75
75
|
};
|
|
@@ -92,45 +92,45 @@ function De() {
|
|
|
92
92
|
return t.brand + "/" + t.version;
|
|
93
93
|
}).join(" ") : navigator.userAgent;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function pt() {
|
|
96
96
|
return !/^((?!chrome|android).)*safari/i.test(De());
|
|
97
97
|
}
|
|
98
98
|
function re(e, t, r) {
|
|
99
99
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
100
|
-
var
|
|
101
|
-
t && H(e) && (
|
|
102
|
-
var c = Z(e) ? W(e) : window, a = c.visualViewport,
|
|
100
|
+
var o = e.getBoundingClientRect(), n = 1, s = 1;
|
|
101
|
+
t && H(e) && (n = e.offsetWidth > 0 && te(o.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && te(o.height) / e.offsetHeight || 1);
|
|
102
|
+
var c = Z(e) ? W(e) : window, a = c.visualViewport, p = !pt() && r, l = (o.left + (p && a ? a.offsetLeft : 0)) / n, f = (o.top + (p && a ? a.offsetTop : 0)) / s, h = o.width / n, b = o.height / s;
|
|
103
103
|
return {
|
|
104
104
|
width: h,
|
|
105
105
|
height: b,
|
|
106
|
-
top:
|
|
106
|
+
top: f,
|
|
107
107
|
right: l + h,
|
|
108
|
-
bottom:
|
|
108
|
+
bottom: f + b,
|
|
109
109
|
left: l,
|
|
110
110
|
x: l,
|
|
111
|
-
y:
|
|
111
|
+
y: f
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
function $e(e) {
|
|
115
|
-
var t = re(e), r = e.offsetWidth,
|
|
116
|
-
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height -
|
|
115
|
+
var t = re(e), r = e.offsetWidth, o = e.offsetHeight;
|
|
116
|
+
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - o) <= 1 && (o = t.height), {
|
|
117
117
|
x: e.offsetLeft,
|
|
118
118
|
y: e.offsetTop,
|
|
119
119
|
width: r,
|
|
120
|
-
height:
|
|
120
|
+
height: o
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function ft(e, t) {
|
|
124
124
|
var r = t.getRootNode && t.getRootNode();
|
|
125
125
|
if (e.contains(t))
|
|
126
126
|
return !0;
|
|
127
127
|
if (r && Be(r)) {
|
|
128
|
-
var
|
|
128
|
+
var o = t;
|
|
129
129
|
do {
|
|
130
|
-
if (
|
|
130
|
+
if (o && e.isSameNode(o))
|
|
131
131
|
return !0;
|
|
132
|
-
|
|
133
|
-
} while (
|
|
132
|
+
o = o.parentNode || o.host;
|
|
133
|
+
} while (o);
|
|
134
134
|
}
|
|
135
135
|
return !1;
|
|
136
136
|
}
|
|
@@ -165,16 +165,16 @@ function Qe(e) {
|
|
|
165
165
|
function zt(e) {
|
|
166
166
|
var t = /firefox/i.test(De()), r = /Trident/i.test(De());
|
|
167
167
|
if (r && H(e)) {
|
|
168
|
-
var
|
|
169
|
-
if (
|
|
168
|
+
var o = X(e);
|
|
169
|
+
if (o.position === "fixed")
|
|
170
170
|
return null;
|
|
171
171
|
}
|
|
172
|
-
var
|
|
173
|
-
for (Be(
|
|
174
|
-
var s = X(
|
|
172
|
+
var n = Pe(e);
|
|
173
|
+
for (Be(n) && (n = n.host); H(n) && ["html", "body"].indexOf(q(n)) < 0; ) {
|
|
174
|
+
var s = X(n);
|
|
175
175
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
176
|
-
return
|
|
177
|
-
|
|
176
|
+
return n;
|
|
177
|
+
n = n.parentNode;
|
|
178
178
|
}
|
|
179
179
|
return null;
|
|
180
180
|
}
|
|
@@ -190,8 +190,8 @@ function se(e, t, r) {
|
|
|
190
190
|
return Q(e, Oe(t, r));
|
|
191
191
|
}
|
|
192
192
|
function Gt(e, t, r) {
|
|
193
|
-
var
|
|
194
|
-
return
|
|
193
|
+
var o = se(e, t, r);
|
|
194
|
+
return o > r ? r : o;
|
|
195
195
|
}
|
|
196
196
|
function ct() {
|
|
197
197
|
return {
|
|
@@ -205,8 +205,8 @@ function lt(e) {
|
|
|
205
205
|
return Object.assign({}, ct(), e);
|
|
206
206
|
}
|
|
207
207
|
function ut(e, t) {
|
|
208
|
-
return t.reduce(function(r,
|
|
209
|
-
return r[
|
|
208
|
+
return t.reduce(function(r, o) {
|
|
209
|
+
return r[o] = e, r;
|
|
210
210
|
}, {});
|
|
211
211
|
}
|
|
212
212
|
var Jt = function(t, r) {
|
|
@@ -215,15 +215,15 @@ var Jt = function(t, r) {
|
|
|
215
215
|
})) : t, lt(typeof t != "number" ? t : ut(t, le));
|
|
216
216
|
};
|
|
217
217
|
function Kt(e) {
|
|
218
|
-
var t, r = e.state,
|
|
218
|
+
var t, r = e.state, o = e.name, n = e.options, s = r.elements.arrow, c = r.modifiersData.popperOffsets, a = U(r.placement), p = ke(a), l = [$, V].indexOf(a) >= 0, f = l ? "height" : "width";
|
|
219
219
|
if (!(!s || !c)) {
|
|
220
|
-
var h = Jt(
|
|
221
|
-
r.modifiersData[
|
|
220
|
+
var h = Jt(n.padding, r), b = $e(s), u = p === "y" ? B : $, x = p === "y" ? N : V, v = r.rects.reference[f] + r.rects.reference[p] - c[p] - r.rects.popper[f], m = c[p] - r.rects.reference[p], w = ue(s), P = w ? p === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, O = v / 2 - m / 2, d = h[u], y = P - b[f] - h[x], g = P / 2 - b[f] / 2 + O, E = se(d, g, y), A = p;
|
|
221
|
+
r.modifiersData[o] = (t = {}, t[A] = E, t.centerOffset = E - g, t);
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
function Qt(e) {
|
|
225
|
-
var t = e.state, r = e.options,
|
|
226
|
-
|
|
225
|
+
var t = e.state, r = e.options, o = r.element, n = o === void 0 ? "[data-popper-arrow]" : o;
|
|
226
|
+
n != null && (typeof n == "string" && (n = t.elements.popper.querySelector(n), !n) || ft(t.elements.popper, n) && (t.elements.arrow = n));
|
|
227
227
|
}
|
|
228
228
|
const Zt = {
|
|
229
229
|
name: "arrow",
|
|
@@ -234,7 +234,7 @@ const Zt = {
|
|
|
234
234
|
requires: ["popperOffsets"],
|
|
235
235
|
requiresIfExists: ["preventOverflow"]
|
|
236
236
|
};
|
|
237
|
-
function
|
|
237
|
+
function oe(e) {
|
|
238
238
|
return e.split("-")[1];
|
|
239
239
|
}
|
|
240
240
|
var _t = {
|
|
@@ -244,14 +244,14 @@ var _t = {
|
|
|
244
244
|
left: "auto"
|
|
245
245
|
};
|
|
246
246
|
function er(e, t) {
|
|
247
|
-
var r = e.x,
|
|
247
|
+
var r = e.x, o = e.y, n = t.devicePixelRatio || 1;
|
|
248
248
|
return {
|
|
249
|
-
x: te(r *
|
|
250
|
-
y: te(
|
|
249
|
+
x: te(r * n) / n || 0,
|
|
250
|
+
y: te(o * n) / n || 0
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
253
|
function Ze(e) {
|
|
254
|
-
var t, r = e.popper,
|
|
254
|
+
var t, r = e.popper, o = e.popperRect, n = e.placement, s = e.variation, c = e.offsets, a = e.position, p = e.gpuAcceleration, l = e.adaptive, f = e.roundOffsets, h = e.isFixed, b = c.x, u = b === void 0 ? 0 : b, x = c.y, v = x === void 0 ? 0 : x, m = typeof f == "function" ? f({
|
|
255
255
|
x: u,
|
|
256
256
|
y: v
|
|
257
257
|
}) : {
|
|
@@ -262,57 +262,57 @@ function Ze(e) {
|
|
|
262
262
|
var w = c.hasOwnProperty("x"), P = c.hasOwnProperty("y"), O = $, d = B, y = window;
|
|
263
263
|
if (l) {
|
|
264
264
|
var g = ue(r), E = "clientHeight", A = "clientWidth";
|
|
265
|
-
if (g === W(r) && (g = z(r), X(g).position !== "static" && a === "absolute" && (E = "scrollHeight", A = "scrollWidth")), g = g,
|
|
265
|
+
if (g === W(r) && (g = z(r), X(g).position !== "static" && a === "absolute" && (E = "scrollHeight", A = "scrollWidth")), g = g, n === B || (n === $ || n === V) && s === fe) {
|
|
266
266
|
d = N;
|
|
267
267
|
var R = h && g === y && y.visualViewport ? y.visualViewport.height : (
|
|
268
268
|
// $FlowFixMe[prop-missing]
|
|
269
269
|
g[E]
|
|
270
270
|
);
|
|
271
|
-
v -= R -
|
|
271
|
+
v -= R - o.height, v *= p ? 1 : -1;
|
|
272
272
|
}
|
|
273
|
-
if (
|
|
273
|
+
if (n === $ || (n === B || n === N) && s === fe) {
|
|
274
274
|
O = V;
|
|
275
275
|
var T = h && g === y && y.visualViewport ? y.visualViewport.width : (
|
|
276
276
|
// $FlowFixMe[prop-missing]
|
|
277
277
|
g[A]
|
|
278
278
|
);
|
|
279
|
-
u -= T -
|
|
279
|
+
u -= T - o.width, u *= p ? 1 : -1;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
var j = Object.assign({
|
|
283
283
|
position: a
|
|
284
|
-
}, l && _t), k =
|
|
284
|
+
}, l && _t), k = f === !0 ? er({
|
|
285
285
|
x: u,
|
|
286
286
|
y: v
|
|
287
287
|
}, W(r)) : {
|
|
288
288
|
x: u,
|
|
289
289
|
y: v
|
|
290
290
|
};
|
|
291
|
-
if (u = k.x, v = k.y,
|
|
291
|
+
if (u = k.x, v = k.y, p) {
|
|
292
292
|
var M;
|
|
293
293
|
return Object.assign({}, j, (M = {}, M[d] = P ? "0" : "", M[O] = w ? "0" : "", M.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + v + "px)" : "translate3d(" + u + "px, " + v + "px, 0)", M));
|
|
294
294
|
}
|
|
295
295
|
return Object.assign({}, j, (t = {}, t[d] = P ? v + "px" : "", t[O] = w ? u + "px" : "", t.transform = "", t));
|
|
296
296
|
}
|
|
297
297
|
function tr(e) {
|
|
298
|
-
var t = e.state, r = e.options,
|
|
298
|
+
var t = e.state, r = e.options, o = r.gpuAcceleration, n = o === void 0 ? !0 : o, s = r.adaptive, c = s === void 0 ? !0 : s, a = r.roundOffsets, p = a === void 0 ? !0 : a, l = {
|
|
299
299
|
placement: U(t.placement),
|
|
300
|
-
variation:
|
|
300
|
+
variation: oe(t.placement),
|
|
301
301
|
popper: t.elements.popper,
|
|
302
302
|
popperRect: t.rects.popper,
|
|
303
|
-
gpuAcceleration:
|
|
303
|
+
gpuAcceleration: n,
|
|
304
304
|
isFixed: t.options.strategy === "fixed"
|
|
305
305
|
};
|
|
306
306
|
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ze(Object.assign({}, l, {
|
|
307
307
|
offsets: t.modifiersData.popperOffsets,
|
|
308
308
|
position: t.options.strategy,
|
|
309
309
|
adaptive: c,
|
|
310
|
-
roundOffsets:
|
|
310
|
+
roundOffsets: p
|
|
311
311
|
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ze(Object.assign({}, l, {
|
|
312
312
|
offsets: t.modifiersData.arrow,
|
|
313
313
|
position: "absolute",
|
|
314
314
|
adaptive: !1,
|
|
315
|
-
roundOffsets:
|
|
315
|
+
roundOffsets: p
|
|
316
316
|
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
317
317
|
"data-popper-placement": t.placement
|
|
318
318
|
});
|
|
@@ -327,23 +327,23 @@ const rr = {
|
|
|
327
327
|
var ye = {
|
|
328
328
|
passive: !0
|
|
329
329
|
};
|
|
330
|
-
function
|
|
331
|
-
var t = e.state, r = e.instance,
|
|
332
|
-
return s && l.forEach(function(
|
|
333
|
-
|
|
334
|
-
}), a &&
|
|
335
|
-
s && l.forEach(function(
|
|
336
|
-
|
|
337
|
-
}), a &&
|
|
330
|
+
function or(e) {
|
|
331
|
+
var t = e.state, r = e.instance, o = e.options, n = o.scroll, s = n === void 0 ? !0 : n, c = o.resize, a = c === void 0 ? !0 : c, p = W(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
332
|
+
return s && l.forEach(function(f) {
|
|
333
|
+
f.addEventListener("scroll", r.update, ye);
|
|
334
|
+
}), a && p.addEventListener("resize", r.update, ye), function() {
|
|
335
|
+
s && l.forEach(function(f) {
|
|
336
|
+
f.removeEventListener("scroll", r.update, ye);
|
|
337
|
+
}), a && p.removeEventListener("resize", r.update, ye);
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
|
-
const
|
|
340
|
+
const nr = {
|
|
341
341
|
name: "eventListeners",
|
|
342
342
|
enabled: !0,
|
|
343
343
|
phase: "write",
|
|
344
344
|
fn: function() {
|
|
345
345
|
},
|
|
346
|
-
effect:
|
|
346
|
+
effect: or,
|
|
347
347
|
data: {}
|
|
348
348
|
};
|
|
349
349
|
var ar = {
|
|
@@ -367,52 +367,52 @@ function _e(e) {
|
|
|
367
367
|
});
|
|
368
368
|
}
|
|
369
369
|
function Se(e) {
|
|
370
|
-
var t = W(e), r = t.pageXOffset,
|
|
370
|
+
var t = W(e), r = t.pageXOffset, o = t.pageYOffset;
|
|
371
371
|
return {
|
|
372
372
|
scrollLeft: r,
|
|
373
|
-
scrollTop:
|
|
373
|
+
scrollTop: o
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
376
|
function We(e) {
|
|
377
377
|
return re(z(e)).left + Se(e).scrollLeft;
|
|
378
378
|
}
|
|
379
379
|
function sr(e, t) {
|
|
380
|
-
var r = W(e),
|
|
381
|
-
if (
|
|
382
|
-
s =
|
|
383
|
-
var l =
|
|
384
|
-
(l || !l && t === "fixed") && (a =
|
|
380
|
+
var r = W(e), o = z(e), n = r.visualViewport, s = o.clientWidth, c = o.clientHeight, a = 0, p = 0;
|
|
381
|
+
if (n) {
|
|
382
|
+
s = n.width, c = n.height;
|
|
383
|
+
var l = pt();
|
|
384
|
+
(l || !l && t === "fixed") && (a = n.offsetLeft, p = n.offsetTop);
|
|
385
385
|
}
|
|
386
386
|
return {
|
|
387
387
|
width: s,
|
|
388
388
|
height: c,
|
|
389
389
|
x: a + We(e),
|
|
390
|
-
y:
|
|
390
|
+
y: p
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
|
-
function
|
|
394
|
-
var t, r = z(e),
|
|
395
|
-
return X(
|
|
393
|
+
function pr(e) {
|
|
394
|
+
var t, r = z(e), o = Se(e), n = (t = e.ownerDocument) == null ? void 0 : t.body, s = Q(r.scrollWidth, r.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), c = Q(r.scrollHeight, r.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -o.scrollLeft + We(e), p = -o.scrollTop;
|
|
395
|
+
return X(n || r).direction === "rtl" && (a += Q(r.clientWidth, n ? n.clientWidth : 0) - s), {
|
|
396
396
|
width: s,
|
|
397
397
|
height: c,
|
|
398
398
|
x: a,
|
|
399
|
-
y:
|
|
399
|
+
y: p
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
402
|
function Le(e) {
|
|
403
|
-
var t = X(e), r = t.overflow,
|
|
404
|
-
return /auto|scroll|overlay|hidden/.test(r +
|
|
403
|
+
var t = X(e), r = t.overflow, o = t.overflowX, n = t.overflowY;
|
|
404
|
+
return /auto|scroll|overlay|hidden/.test(r + n + o);
|
|
405
405
|
}
|
|
406
406
|
function dt(e) {
|
|
407
407
|
return ["html", "body", "#document"].indexOf(q(e)) >= 0 ? e.ownerDocument.body : H(e) && Le(e) ? e : dt(Pe(e));
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function pe(e, t) {
|
|
410
410
|
var r;
|
|
411
411
|
t === void 0 && (t = []);
|
|
412
|
-
var
|
|
413
|
-
return
|
|
412
|
+
var o = dt(e), n = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s = W(o), c = n ? [s].concat(s.visualViewport || [], Le(o) ? o : []) : o, a = t.concat(c);
|
|
413
|
+
return n ? a : (
|
|
414
414
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
415
|
-
a.concat(
|
|
415
|
+
a.concat(pe(Pe(c)))
|
|
416
416
|
);
|
|
417
417
|
}
|
|
418
418
|
function Me(e) {
|
|
@@ -423,80 +423,79 @@ function Me(e) {
|
|
|
423
423
|
bottom: e.y + e.height
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function fr(e, t) {
|
|
427
427
|
var r = re(e, !1, t === "fixed");
|
|
428
428
|
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
429
429
|
}
|
|
430
430
|
function et(e, t, r) {
|
|
431
|
-
return t === it ? Me(sr(e, r)) : Z(t) ?
|
|
431
|
+
return t === it ? Me(sr(e, r)) : Z(t) ? fr(t, r) : Me(pr(z(e)));
|
|
432
432
|
}
|
|
433
433
|
function cr(e) {
|
|
434
|
-
var t =
|
|
435
|
-
return Z(
|
|
436
|
-
return Z(
|
|
434
|
+
var t = pe(Pe(e)), r = ["absolute", "fixed"].indexOf(X(e).position) >= 0, o = r && H(e) ? ue(e) : e;
|
|
435
|
+
return Z(o) ? t.filter(function(n) {
|
|
436
|
+
return Z(n) && ft(n, o) && q(n) !== "body";
|
|
437
437
|
}) : [];
|
|
438
438
|
}
|
|
439
|
-
function lr(e, t, r,
|
|
440
|
-
var
|
|
441
|
-
var
|
|
442
|
-
return
|
|
443
|
-
}, et(e, c,
|
|
439
|
+
function lr(e, t, r, o) {
|
|
440
|
+
var n = t === "clippingParents" ? cr(e) : [].concat(t), s = [].concat(n, [r]), c = s[0], a = s.reduce(function(p, l) {
|
|
441
|
+
var f = et(e, l, o);
|
|
442
|
+
return p.top = Q(f.top, p.top), p.right = Oe(f.right, p.right), p.bottom = Oe(f.bottom, p.bottom), p.left = Q(f.left, p.left), p;
|
|
443
|
+
}, et(e, c, o));
|
|
444
444
|
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
445
445
|
}
|
|
446
446
|
function vt(e) {
|
|
447
|
-
var t = e.reference, r = e.element,
|
|
448
|
-
switch (
|
|
447
|
+
var t = e.reference, r = e.element, o = e.placement, n = o ? U(o) : null, s = o ? oe(o) : null, c = t.x + t.width / 2 - r.width / 2, a = t.y + t.height / 2 - r.height / 2, p;
|
|
448
|
+
switch (n) {
|
|
449
449
|
case B:
|
|
450
|
-
|
|
450
|
+
p = {
|
|
451
451
|
x: c,
|
|
452
452
|
y: t.y - r.height
|
|
453
453
|
};
|
|
454
454
|
break;
|
|
455
455
|
case N:
|
|
456
|
-
|
|
456
|
+
p = {
|
|
457
457
|
x: c,
|
|
458
458
|
y: t.y + t.height
|
|
459
459
|
};
|
|
460
460
|
break;
|
|
461
461
|
case V:
|
|
462
|
-
|
|
462
|
+
p = {
|
|
463
463
|
x: t.x + t.width,
|
|
464
464
|
y: a
|
|
465
465
|
};
|
|
466
466
|
break;
|
|
467
467
|
case $:
|
|
468
|
-
|
|
468
|
+
p = {
|
|
469
469
|
x: t.x - r.width,
|
|
470
470
|
y: a
|
|
471
471
|
};
|
|
472
472
|
break;
|
|
473
473
|
default:
|
|
474
|
-
|
|
474
|
+
p = {
|
|
475
475
|
x: t.x,
|
|
476
476
|
y: t.y
|
|
477
477
|
};
|
|
478
478
|
}
|
|
479
|
-
var l =
|
|
479
|
+
var l = n ? ke(n) : null;
|
|
480
480
|
if (l != null) {
|
|
481
|
-
var
|
|
481
|
+
var f = l === "y" ? "height" : "width";
|
|
482
482
|
switch (s) {
|
|
483
483
|
case ee:
|
|
484
|
-
|
|
484
|
+
p[l] = p[l] - (t[f] / 2 - r[f] / 2);
|
|
485
485
|
break;
|
|
486
|
-
case
|
|
487
|
-
|
|
486
|
+
case fe:
|
|
487
|
+
p[l] = p[l] + (t[f] / 2 - r[f] / 2);
|
|
488
488
|
break;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
return
|
|
491
|
+
return p;
|
|
492
492
|
}
|
|
493
493
|
function ce(e, t) {
|
|
494
494
|
t === void 0 && (t = {});
|
|
495
|
-
var r = t,
|
|
495
|
+
var r = t, o = r.placement, n = o === void 0 ? e.placement : o, s = r.strategy, c = s === void 0 ? e.strategy : s, a = r.boundary, p = a === void 0 ? Ct : a, l = r.rootBoundary, f = l === void 0 ? it : l, h = r.elementContext, b = h === void 0 ? ie : h, u = r.altBoundary, x = u === void 0 ? !1 : u, v = r.padding, m = v === void 0 ? 0 : v, w = lt(typeof m != "number" ? m : ut(m, le)), P = b === ie ? Bt : ie, O = e.rects.popper, d = e.elements[x ? P : b], y = lr(Z(d) ? d : d.contextElement || z(e.elements.popper), p, f, c), g = re(e.elements.reference), E = vt({
|
|
496
496
|
reference: g,
|
|
497
497
|
element: O,
|
|
498
|
-
|
|
499
|
-
placement: o
|
|
498
|
+
placement: n
|
|
500
499
|
}), A = Me(Object.assign({}, O, E)), R = b === ie ? A : g, T = {
|
|
501
500
|
top: y.top - R.top + w.top,
|
|
502
501
|
bottom: R.bottom - y.bottom + w.bottom,
|
|
@@ -504,7 +503,7 @@ function ce(e, t) {
|
|
|
504
503
|
right: R.right - y.right + w.right
|
|
505
504
|
}, j = e.modifiersData.offset;
|
|
506
505
|
if (b === ie && j) {
|
|
507
|
-
var k = j[
|
|
506
|
+
var k = j[n];
|
|
508
507
|
Object.keys(T).forEach(function(M) {
|
|
509
508
|
var I = [V, N].indexOf(M) >= 0 ? 1 : -1, F = [B, N].indexOf(M) >= 0 ? "y" : "x";
|
|
510
509
|
T[M] += k[F] * I;
|
|
@@ -514,8 +513,8 @@ function ce(e, t) {
|
|
|
514
513
|
}
|
|
515
514
|
function ur(e, t) {
|
|
516
515
|
t === void 0 && (t = {});
|
|
517
|
-
var r = t,
|
|
518
|
-
return
|
|
516
|
+
var r = t, o = r.placement, n = r.boundary, s = r.rootBoundary, c = r.padding, a = r.flipVariations, p = r.allowedAutoPlacements, l = p === void 0 ? st : p, f = oe(o), h = f ? a ? Ke : Ke.filter(function(x) {
|
|
517
|
+
return oe(x) === f;
|
|
519
518
|
}) : le, b = h.filter(function(x) {
|
|
520
519
|
return l.indexOf(x) >= 0;
|
|
521
520
|
});
|
|
@@ -523,7 +522,7 @@ function ur(e, t) {
|
|
|
523
522
|
var u = b.reduce(function(x, v) {
|
|
524
523
|
return x[v] = ce(e, {
|
|
525
524
|
placement: v,
|
|
526
|
-
boundary:
|
|
525
|
+
boundary: n,
|
|
527
526
|
rootBoundary: s,
|
|
528
527
|
padding: c
|
|
529
528
|
})[U(v)], x;
|
|
@@ -539,21 +538,21 @@ function dr(e) {
|
|
|
539
538
|
return [_e(e), t, _e(t)];
|
|
540
539
|
}
|
|
541
540
|
function vr(e) {
|
|
542
|
-
var t = e.state, r = e.options,
|
|
543
|
-
if (!t.modifiersData[
|
|
544
|
-
for (var
|
|
541
|
+
var t = e.state, r = e.options, o = e.name;
|
|
542
|
+
if (!t.modifiersData[o]._skip) {
|
|
543
|
+
for (var n = r.mainAxis, s = n === void 0 ? !0 : n, c = r.altAxis, a = c === void 0 ? !0 : c, p = r.fallbackPlacements, l = r.padding, f = r.boundary, h = r.rootBoundary, b = r.altBoundary, u = r.flipVariations, x = u === void 0 ? !0 : u, v = r.allowedAutoPlacements, m = t.options.placement, w = U(m), P = w === m, O = p || (P || !x ? [ge(m)] : dr(m)), d = [m].concat(O).reduce(function(_, Y) {
|
|
545
544
|
return _.concat(U(Y) === Ce ? ur(t, {
|
|
546
545
|
placement: Y,
|
|
547
|
-
boundary:
|
|
546
|
+
boundary: f,
|
|
548
547
|
rootBoundary: h,
|
|
549
548
|
padding: l,
|
|
550
549
|
flipVariations: x,
|
|
551
550
|
allowedAutoPlacements: v
|
|
552
551
|
}) : Y);
|
|
553
552
|
}, []), y = t.rects.reference, g = t.rects.popper, E = /* @__PURE__ */ new Map(), A = !0, R = d[0], T = 0; T < d.length; T++) {
|
|
554
|
-
var j = d[T], k = U(j), M =
|
|
553
|
+
var j = d[T], k = U(j), M = oe(j) === ee, I = [B, N].indexOf(k) >= 0, F = I ? "width" : "height", D = ce(t, {
|
|
555
554
|
placement: j,
|
|
556
|
-
boundary:
|
|
555
|
+
boundary: f,
|
|
557
556
|
rootBoundary: h,
|
|
558
557
|
altBoundary: b,
|
|
559
558
|
padding: l
|
|
@@ -579,11 +578,11 @@ function vr(e) {
|
|
|
579
578
|
});
|
|
580
579
|
if (ae)
|
|
581
580
|
return R = ae, "break";
|
|
582
|
-
},
|
|
583
|
-
var ve = Re(
|
|
581
|
+
}, ne = de; ne > 0; ne--) {
|
|
582
|
+
var ve = Re(ne);
|
|
584
583
|
if (ve === "break") break;
|
|
585
584
|
}
|
|
586
|
-
t.placement !== R && (t.modifiersData[
|
|
585
|
+
t.placement !== R && (t.modifiersData[o]._skip = !0, t.placement = R, t.reset = !0);
|
|
587
586
|
}
|
|
588
587
|
}
|
|
589
588
|
const mr = {
|
|
@@ -613,18 +612,18 @@ function rt(e) {
|
|
|
613
612
|
});
|
|
614
613
|
}
|
|
615
614
|
function hr(e) {
|
|
616
|
-
var t = e.state, r = e.name,
|
|
615
|
+
var t = e.state, r = e.name, o = t.rects.reference, n = t.rects.popper, s = t.modifiersData.preventOverflow, c = ce(t, {
|
|
617
616
|
elementContext: "reference"
|
|
618
617
|
}), a = ce(t, {
|
|
619
618
|
altBoundary: !0
|
|
620
|
-
}),
|
|
619
|
+
}), p = tt(c, o), l = tt(a, n, s), f = rt(p), h = rt(l);
|
|
621
620
|
t.modifiersData[r] = {
|
|
622
|
-
referenceClippingOffsets:
|
|
621
|
+
referenceClippingOffsets: p,
|
|
623
622
|
popperEscapeOffsets: l,
|
|
624
|
-
isReferenceHidden:
|
|
623
|
+
isReferenceHidden: f,
|
|
625
624
|
hasPopperEscaped: h
|
|
626
625
|
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
627
|
-
"data-popper-reference-hidden":
|
|
626
|
+
"data-popper-reference-hidden": f,
|
|
628
627
|
"data-popper-escaped": h
|
|
629
628
|
});
|
|
630
629
|
}
|
|
@@ -636,10 +635,10 @@ const yr = {
|
|
|
636
635
|
fn: hr
|
|
637
636
|
};
|
|
638
637
|
function gr(e, t, r) {
|
|
639
|
-
var
|
|
638
|
+
var o = U(e), n = [$, B].indexOf(o) >= 0 ? -1 : 1, s = typeof r == "function" ? r(Object.assign({}, t, {
|
|
640
639
|
placement: e
|
|
641
640
|
})) : r, c = s[0], a = s[1];
|
|
642
|
-
return c = c || 0, a = (a || 0) *
|
|
641
|
+
return c = c || 0, a = (a || 0) * n, [$, V].indexOf(o) >= 0 ? {
|
|
643
642
|
x: a,
|
|
644
643
|
y: c
|
|
645
644
|
} : {
|
|
@@ -648,10 +647,10 @@ function gr(e, t, r) {
|
|
|
648
647
|
};
|
|
649
648
|
}
|
|
650
649
|
function br(e) {
|
|
651
|
-
var t = e.state, r = e.options,
|
|
652
|
-
return
|
|
653
|
-
}, {}), a = c[t.placement],
|
|
654
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x +=
|
|
650
|
+
var t = e.state, r = e.options, o = e.name, n = r.offset, s = n === void 0 ? [0, 0] : n, c = st.reduce(function(f, h) {
|
|
651
|
+
return f[h] = gr(h, t.rects, s), f;
|
|
652
|
+
}, {}), a = c[t.placement], p = a.x, l = a.y;
|
|
653
|
+
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += p, t.modifiersData.popperOffsets.y += l), t.modifiersData[o] = c;
|
|
655
654
|
}
|
|
656
655
|
const wr = {
|
|
657
656
|
name: "offset",
|
|
@@ -665,7 +664,6 @@ function Or(e) {
|
|
|
665
664
|
t.modifiersData[r] = vt({
|
|
666
665
|
reference: t.rects.reference,
|
|
667
666
|
element: t.rects.popper,
|
|
668
|
-
strategy: "absolute",
|
|
669
667
|
placement: t.placement
|
|
670
668
|
});
|
|
671
669
|
}
|
|
@@ -680,12 +678,12 @@ function Pr(e) {
|
|
|
680
678
|
return e === "x" ? "y" : "x";
|
|
681
679
|
}
|
|
682
680
|
function Er(e) {
|
|
683
|
-
var t = e.state, r = e.options,
|
|
684
|
-
boundary:
|
|
681
|
+
var t = e.state, r = e.options, o = e.name, n = r.mainAxis, s = n === void 0 ? !0 : n, c = r.altAxis, a = c === void 0 ? !1 : c, p = r.boundary, l = r.rootBoundary, f = r.altBoundary, h = r.padding, b = r.tether, u = b === void 0 ? !0 : b, x = r.tetherOffset, v = x === void 0 ? 0 : x, m = ce(t, {
|
|
682
|
+
boundary: p,
|
|
685
683
|
rootBoundary: l,
|
|
686
684
|
padding: h,
|
|
687
|
-
altBoundary:
|
|
688
|
-
}), w = U(t.placement), P =
|
|
685
|
+
altBoundary: f
|
|
686
|
+
}), w = U(t.placement), P = oe(t.placement), O = !P, d = ke(w), y = Pr(d), g = t.modifiersData.popperOffsets, E = t.rects.reference, A = t.rects.popper, R = typeof v == "function" ? v(Object.assign({}, t.rects, {
|
|
689
687
|
placement: t.placement
|
|
690
688
|
})) : v, T = typeof R == "number" ? {
|
|
691
689
|
mainAxis: R,
|
|
@@ -699,17 +697,17 @@ function Er(e) {
|
|
|
699
697
|
};
|
|
700
698
|
if (g) {
|
|
701
699
|
if (s) {
|
|
702
|
-
var M, I = d === "y" ? B : $, F = d === "y" ? N : V, D = d === "y" ? "height" : "width", C = g[d], S = C + m[I], G = C - m[F], de = u ? -A[D] / 2 : 0, Re = P === ee ? E[D] : A[D],
|
|
700
|
+
var M, I = d === "y" ? B : $, F = d === "y" ? N : V, D = d === "y" ? "height" : "width", C = g[d], S = C + m[I], G = C - m[F], de = u ? -A[D] / 2 : 0, Re = P === ee ? E[D] : A[D], ne = P === ee ? -A[D] : -E[D], ve = t.elements.arrow, _ = u && ve ? $e(ve) : {
|
|
703
701
|
width: 0,
|
|
704
702
|
height: 0
|
|
705
|
-
}, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ct(), ae = Y[I], me = Y[F], J = se(0, E[D], _[D]), Te = O ? E[D] / 2 - de - J - ae - T.mainAxis : Re - J - ae - T.mainAxis, ht = O ? -E[D] / 2 + de + J + me + T.mainAxis :
|
|
703
|
+
}, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ct(), ae = Y[I], me = Y[F], J = se(0, E[D], _[D]), Te = O ? E[D] / 2 - de - J - ae - T.mainAxis : Re - J - ae - T.mainAxis, ht = O ? -E[D] / 2 + de + J + me + T.mainAxis : ne + J + me + T.mainAxis, Ae = t.elements.arrow && ue(t.elements.arrow), yt = Ae ? d === "y" ? Ae.clientTop || 0 : Ae.clientLeft || 0 : 0, He = (M = j == null ? void 0 : j[d]) != null ? M : 0, gt = C + Te - He - yt, bt = C + ht - He, Ne = se(u ? Oe(S, gt) : S, C, u ? Q(G, bt) : G);
|
|
706
704
|
g[d] = Ne, k[d] = Ne - C;
|
|
707
705
|
}
|
|
708
706
|
if (a) {
|
|
709
707
|
var Ve, wt = d === "x" ? B : $, Ot = d === "x" ? N : V, K = g[y], he = y === "y" ? "height" : "width", Ue = K + m[wt], qe = K - m[Ot], je = [B, $].indexOf(w) !== -1, Ie = (Ve = j == null ? void 0 : j[y]) != null ? Ve : 0, Fe = je ? Ue : K - E[he] - A[he] - Ie + T.altAxis, Xe = je ? K + E[he] + A[he] - Ie - T.altAxis : qe, Ye = u && je ? Gt(Fe, K, Xe) : se(u ? Fe : Ue, K, u ? Xe : qe);
|
|
710
708
|
g[y] = Ye, k[y] = Ye - K;
|
|
711
709
|
}
|
|
712
|
-
t.modifiersData[
|
|
710
|
+
t.modifiersData[o] = k;
|
|
713
711
|
}
|
|
714
712
|
}
|
|
715
713
|
const Rr = {
|
|
@@ -729,50 +727,50 @@ function Ar(e) {
|
|
|
729
727
|
return e === W(e) || !H(e) ? Se(e) : Tr(e);
|
|
730
728
|
}
|
|
731
729
|
function jr(e) {
|
|
732
|
-
var t = e.getBoundingClientRect(), r = te(t.width) / e.offsetWidth || 1,
|
|
733
|
-
return r !== 1 ||
|
|
730
|
+
var t = e.getBoundingClientRect(), r = te(t.width) / e.offsetWidth || 1, o = te(t.height) / e.offsetHeight || 1;
|
|
731
|
+
return r !== 1 || o !== 1;
|
|
734
732
|
}
|
|
735
733
|
function Dr(e, t, r) {
|
|
736
734
|
r === void 0 && (r = !1);
|
|
737
|
-
var
|
|
735
|
+
var o = H(t), n = H(t) && jr(t), s = z(t), c = re(e, n, r), a = {
|
|
738
736
|
scrollLeft: 0,
|
|
739
737
|
scrollTop: 0
|
|
740
|
-
},
|
|
738
|
+
}, p = {
|
|
741
739
|
x: 0,
|
|
742
740
|
y: 0
|
|
743
741
|
};
|
|
744
|
-
return (
|
|
745
|
-
Le(s)) && (a = Ar(t)), H(t) ? (
|
|
746
|
-
x: c.left + a.scrollLeft -
|
|
747
|
-
y: c.top + a.scrollTop -
|
|
742
|
+
return (o || !o && !r) && ((q(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
743
|
+
Le(s)) && (a = Ar(t)), H(t) ? (p = re(t, !0), p.x += t.clientLeft, p.y += t.clientTop) : s && (p.x = We(s))), {
|
|
744
|
+
x: c.left + a.scrollLeft - p.x,
|
|
745
|
+
y: c.top + a.scrollTop - p.y,
|
|
748
746
|
width: c.width,
|
|
749
747
|
height: c.height
|
|
750
748
|
};
|
|
751
749
|
}
|
|
752
750
|
function Mr(e) {
|
|
753
|
-
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(),
|
|
751
|
+
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), o = [];
|
|
754
752
|
e.forEach(function(s) {
|
|
755
753
|
t.set(s.name, s);
|
|
756
754
|
});
|
|
757
|
-
function
|
|
755
|
+
function n(s) {
|
|
758
756
|
r.add(s.name);
|
|
759
757
|
var c = [].concat(s.requires || [], s.requiresIfExists || []);
|
|
760
758
|
c.forEach(function(a) {
|
|
761
759
|
if (!r.has(a)) {
|
|
762
|
-
var
|
|
763
|
-
|
|
760
|
+
var p = t.get(a);
|
|
761
|
+
p && n(p);
|
|
764
762
|
}
|
|
765
|
-
}),
|
|
763
|
+
}), o.push(s);
|
|
766
764
|
}
|
|
767
765
|
return e.forEach(function(s) {
|
|
768
|
-
r.has(s.name) ||
|
|
769
|
-
}),
|
|
766
|
+
r.has(s.name) || n(s);
|
|
767
|
+
}), o;
|
|
770
768
|
}
|
|
771
769
|
function Cr(e) {
|
|
772
770
|
var t = Mr(e);
|
|
773
|
-
return qt.reduce(function(r,
|
|
774
|
-
return r.concat(t.filter(function(
|
|
775
|
-
return
|
|
771
|
+
return qt.reduce(function(r, o) {
|
|
772
|
+
return r.concat(t.filter(function(n) {
|
|
773
|
+
return n.phase === o;
|
|
776
774
|
}));
|
|
777
775
|
}, []);
|
|
778
776
|
}
|
|
@@ -787,55 +785,55 @@ function Br(e) {
|
|
|
787
785
|
};
|
|
788
786
|
}
|
|
789
787
|
function $r(e) {
|
|
790
|
-
var t = e.reduce(function(r,
|
|
791
|
-
var
|
|
792
|
-
return r[
|
|
793
|
-
options: Object.assign({},
|
|
794
|
-
data: Object.assign({},
|
|
795
|
-
}) :
|
|
788
|
+
var t = e.reduce(function(r, o) {
|
|
789
|
+
var n = r[o.name];
|
|
790
|
+
return r[o.name] = n ? Object.assign({}, n, o, {
|
|
791
|
+
options: Object.assign({}, n.options, o.options),
|
|
792
|
+
data: Object.assign({}, n.data, o.data)
|
|
793
|
+
}) : o, r;
|
|
796
794
|
}, {});
|
|
797
795
|
return Object.keys(t).map(function(r) {
|
|
798
796
|
return t[r];
|
|
799
797
|
});
|
|
800
798
|
}
|
|
801
|
-
var
|
|
799
|
+
var ot = {
|
|
802
800
|
placement: "bottom",
|
|
803
801
|
modifiers: [],
|
|
804
802
|
strategy: "absolute"
|
|
805
803
|
};
|
|
806
|
-
function
|
|
804
|
+
function nt() {
|
|
807
805
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
808
806
|
t[r] = arguments[r];
|
|
809
|
-
return !t.some(function(
|
|
810
|
-
return !(
|
|
807
|
+
return !t.some(function(o) {
|
|
808
|
+
return !(o && typeof o.getBoundingClientRect == "function");
|
|
811
809
|
});
|
|
812
810
|
}
|
|
813
811
|
function kr(e) {
|
|
814
812
|
e === void 0 && (e = {});
|
|
815
|
-
var t = e, r = t.defaultModifiers,
|
|
816
|
-
return function(a,
|
|
813
|
+
var t = e, r = t.defaultModifiers, o = r === void 0 ? [] : r, n = t.defaultOptions, s = n === void 0 ? ot : n;
|
|
814
|
+
return function(a, p, l) {
|
|
817
815
|
l === void 0 && (l = s);
|
|
818
|
-
var
|
|
816
|
+
var f = {
|
|
819
817
|
placement: "bottom",
|
|
820
818
|
orderedModifiers: [],
|
|
821
|
-
options: Object.assign({},
|
|
819
|
+
options: Object.assign({}, ot, s),
|
|
822
820
|
modifiersData: {},
|
|
823
821
|
elements: {
|
|
824
822
|
reference: a,
|
|
825
|
-
popper:
|
|
823
|
+
popper: p
|
|
826
824
|
},
|
|
827
825
|
attributes: {},
|
|
828
826
|
styles: {}
|
|
829
827
|
}, h = [], b = !1, u = {
|
|
830
|
-
state:
|
|
828
|
+
state: f,
|
|
831
829
|
setOptions: function(w) {
|
|
832
|
-
var P = typeof w == "function" ? w(
|
|
833
|
-
v(),
|
|
834
|
-
reference: Z(a) ?
|
|
835
|
-
popper:
|
|
830
|
+
var P = typeof w == "function" ? w(f.options) : w;
|
|
831
|
+
v(), f.options = Object.assign({}, s, f.options, P), f.scrollParents = {
|
|
832
|
+
reference: Z(a) ? pe(a) : a.contextElement ? pe(a.contextElement) : [],
|
|
833
|
+
popper: pe(p)
|
|
836
834
|
};
|
|
837
|
-
var O = Cr($r([].concat(
|
|
838
|
-
return
|
|
835
|
+
var O = Cr($r([].concat(o, f.options.modifiers)));
|
|
836
|
+
return f.orderedModifiers = O.filter(function(d) {
|
|
839
837
|
return d.enabled;
|
|
840
838
|
}), x(), u.update();
|
|
841
839
|
},
|
|
@@ -846,26 +844,26 @@ function kr(e) {
|
|
|
846
844
|
// prefer the async Popper#update method
|
|
847
845
|
forceUpdate: function() {
|
|
848
846
|
if (!b) {
|
|
849
|
-
var w =
|
|
850
|
-
if (
|
|
851
|
-
|
|
852
|
-
reference: Dr(P, ue(O),
|
|
847
|
+
var w = f.elements, P = w.reference, O = w.popper;
|
|
848
|
+
if (nt(P, O)) {
|
|
849
|
+
f.rects = {
|
|
850
|
+
reference: Dr(P, ue(O), f.options.strategy === "fixed"),
|
|
853
851
|
popper: $e(O)
|
|
854
|
-
},
|
|
855
|
-
return
|
|
852
|
+
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(T) {
|
|
853
|
+
return f.modifiersData[T.name] = Object.assign({}, T.data);
|
|
856
854
|
});
|
|
857
|
-
for (var d = 0; d <
|
|
858
|
-
if (
|
|
859
|
-
|
|
855
|
+
for (var d = 0; d < f.orderedModifiers.length; d++) {
|
|
856
|
+
if (f.reset === !0) {
|
|
857
|
+
f.reset = !1, d = -1;
|
|
860
858
|
continue;
|
|
861
859
|
}
|
|
862
|
-
var y =
|
|
863
|
-
typeof g == "function" && (
|
|
864
|
-
state:
|
|
860
|
+
var y = f.orderedModifiers[d], g = y.fn, E = y.options, A = E === void 0 ? {} : E, R = y.name;
|
|
861
|
+
typeof g == "function" && (f = g({
|
|
862
|
+
state: f,
|
|
865
863
|
options: A,
|
|
866
864
|
name: R,
|
|
867
865
|
instance: u
|
|
868
|
-
}) ||
|
|
866
|
+
}) || f);
|
|
869
867
|
}
|
|
870
868
|
}
|
|
871
869
|
}
|
|
@@ -874,24 +872,24 @@ function kr(e) {
|
|
|
874
872
|
// not necessary (debounced to run at most once-per-tick)
|
|
875
873
|
update: Br(function() {
|
|
876
874
|
return new Promise(function(m) {
|
|
877
|
-
u.forceUpdate(), m(
|
|
875
|
+
u.forceUpdate(), m(f);
|
|
878
876
|
});
|
|
879
877
|
}),
|
|
880
878
|
destroy: function() {
|
|
881
879
|
v(), b = !0;
|
|
882
880
|
}
|
|
883
881
|
};
|
|
884
|
-
if (!
|
|
882
|
+
if (!nt(a, p))
|
|
885
883
|
return u;
|
|
886
884
|
u.setOptions(l).then(function(m) {
|
|
887
885
|
!b && l.onFirstUpdate && l.onFirstUpdate(m);
|
|
888
886
|
});
|
|
889
887
|
function x() {
|
|
890
|
-
|
|
888
|
+
f.orderedModifiers.forEach(function(m) {
|
|
891
889
|
var w = m.name, P = m.options, O = P === void 0 ? {} : P, d = m.effect;
|
|
892
890
|
if (typeof d == "function") {
|
|
893
891
|
var y = d({
|
|
894
|
-
state:
|
|
892
|
+
state: f,
|
|
895
893
|
name: w,
|
|
896
894
|
instance: u,
|
|
897
895
|
options: O
|
|
@@ -909,13 +907,13 @@ function kr(e) {
|
|
|
909
907
|
return u;
|
|
910
908
|
};
|
|
911
909
|
}
|
|
912
|
-
var Sr = [
|
|
910
|
+
var Sr = [nr, xr, rr, Xt, wr, mr, Rr, Zt, yr], Wr = /* @__PURE__ */ kr({
|
|
913
911
|
defaultModifiers: Sr
|
|
914
912
|
});
|
|
915
913
|
function Lr(e) {
|
|
916
|
-
return
|
|
914
|
+
return Et("MuiPopper", e);
|
|
917
915
|
}
|
|
918
|
-
|
|
916
|
+
Rt("MuiPopper", ["root"]);
|
|
919
917
|
function Hr(e, t) {
|
|
920
918
|
if (t === "ltr")
|
|
921
919
|
return e;
|
|
@@ -945,19 +943,19 @@ const Vr = (e) => {
|
|
|
945
943
|
const {
|
|
946
944
|
classes: t
|
|
947
945
|
} = e;
|
|
948
|
-
return
|
|
946
|
+
return At({
|
|
949
947
|
root: ["root"]
|
|
950
948
|
}, Lr, t);
|
|
951
949
|
}, Ur = {}, qr = /* @__PURE__ */ L.forwardRef(function(t, r) {
|
|
952
950
|
const {
|
|
953
|
-
anchorEl:
|
|
954
|
-
children:
|
|
951
|
+
anchorEl: o,
|
|
952
|
+
children: n,
|
|
955
953
|
direction: s,
|
|
956
954
|
disablePortal: c,
|
|
957
955
|
modifiers: a,
|
|
958
|
-
open:
|
|
956
|
+
open: p,
|
|
959
957
|
placement: l,
|
|
960
|
-
popperOptions:
|
|
958
|
+
popperOptions: f,
|
|
961
959
|
popperRef: h,
|
|
962
960
|
slotProps: b = {},
|
|
963
961
|
slots: u = {},
|
|
@@ -970,13 +968,13 @@ const Vr = (e) => {
|
|
|
970
968
|
Je(() => {
|
|
971
969
|
y.current = d;
|
|
972
970
|
}, [d]), L.useImperativeHandle(h, () => O.current, []);
|
|
973
|
-
const g = Hr(l, s), [E, A] = L.useState(g), [R, T] = L.useState(xe(
|
|
971
|
+
const g = Hr(l, s), [E, A] = L.useState(g), [R, T] = L.useState(xe(o));
|
|
974
972
|
L.useEffect(() => {
|
|
975
973
|
O.current && O.current.forceUpdate();
|
|
976
974
|
}), L.useEffect(() => {
|
|
977
|
-
|
|
978
|
-
}, [
|
|
979
|
-
if (!R || !
|
|
975
|
+
o && T(xe(o));
|
|
976
|
+
}, [o]), Je(() => {
|
|
977
|
+
if (!R || !p)
|
|
980
978
|
return;
|
|
981
979
|
const F = (S) => {
|
|
982
980
|
A(S.placement);
|
|
@@ -1006,16 +1004,16 @@ const Vr = (e) => {
|
|
|
1006
1004
|
F(S);
|
|
1007
1005
|
}
|
|
1008
1006
|
}];
|
|
1009
|
-
a != null && (D = D.concat(a)),
|
|
1007
|
+
a != null && (D = D.concat(a)), f && f.modifiers != null && (D = D.concat(f.modifiers));
|
|
1010
1008
|
const C = Wr(R, w.current, {
|
|
1011
1009
|
placement: g,
|
|
1012
|
-
...
|
|
1010
|
+
...f,
|
|
1013
1011
|
modifiers: D
|
|
1014
1012
|
});
|
|
1015
1013
|
return y.current(C), () => {
|
|
1016
1014
|
C.destroy(), y.current(null);
|
|
1017
1015
|
};
|
|
1018
|
-
}, [R, c, a,
|
|
1016
|
+
}, [R, c, a, p, f, g]);
|
|
1019
1017
|
const j = {
|
|
1020
1018
|
placement: E
|
|
1021
1019
|
};
|
|
@@ -1033,18 +1031,18 @@ const Vr = (e) => {
|
|
|
1033
1031
|
});
|
|
1034
1032
|
return /* @__PURE__ */ be(M, {
|
|
1035
1033
|
...I,
|
|
1036
|
-
children: typeof
|
|
1034
|
+
children: typeof n == "function" ? n(j) : n
|
|
1037
1035
|
});
|
|
1038
1036
|
}), mt = /* @__PURE__ */ L.forwardRef(function(t, r) {
|
|
1039
1037
|
const {
|
|
1040
|
-
anchorEl:
|
|
1041
|
-
children:
|
|
1038
|
+
anchorEl: o,
|
|
1039
|
+
children: n,
|
|
1042
1040
|
container: s,
|
|
1043
1041
|
direction: c = "ltr",
|
|
1044
1042
|
disablePortal: a = !1,
|
|
1045
|
-
keepMounted:
|
|
1043
|
+
keepMounted: p = !1,
|
|
1046
1044
|
modifiers: l,
|
|
1047
|
-
open:
|
|
1045
|
+
open: f,
|
|
1048
1046
|
placement: h = "bottom",
|
|
1049
1047
|
popperOptions: b = Ur,
|
|
1050
1048
|
popperRef: u,
|
|
@@ -1058,17 +1056,17 @@ const Vr = (e) => {
|
|
|
1058
1056
|
}, g = () => {
|
|
1059
1057
|
d(!0);
|
|
1060
1058
|
};
|
|
1061
|
-
if (!
|
|
1059
|
+
if (!p && !f && (!v || O))
|
|
1062
1060
|
return null;
|
|
1063
1061
|
let E;
|
|
1064
1062
|
if (s)
|
|
1065
1063
|
E = s;
|
|
1066
|
-
else if (
|
|
1067
|
-
const T = xe(
|
|
1064
|
+
else if (o) {
|
|
1065
|
+
const T = xe(o);
|
|
1068
1066
|
E = T && Ee(T) ? ze(T).body : ze(null).body;
|
|
1069
1067
|
}
|
|
1070
|
-
const A = !
|
|
1071
|
-
in:
|
|
1068
|
+
const A = !f && p && (!v || O) ? "none" : void 0, R = v ? {
|
|
1069
|
+
in: f,
|
|
1072
1070
|
onEnter: y,
|
|
1073
1071
|
onExited: g
|
|
1074
1072
|
} : void 0;
|
|
@@ -1076,12 +1074,12 @@ const Vr = (e) => {
|
|
|
1076
1074
|
disablePortal: a,
|
|
1077
1075
|
container: E,
|
|
1078
1076
|
children: /* @__PURE__ */ be(qr, {
|
|
1079
|
-
anchorEl:
|
|
1077
|
+
anchorEl: o,
|
|
1080
1078
|
direction: c,
|
|
1081
1079
|
disablePortal: a,
|
|
1082
1080
|
modifiers: l,
|
|
1083
1081
|
ref: r,
|
|
1084
|
-
open: v ? !O :
|
|
1082
|
+
open: v ? !O : f,
|
|
1085
1083
|
placement: h,
|
|
1086
1084
|
popperOptions: b,
|
|
1087
1085
|
popperRef: u,
|
|
@@ -1098,7 +1096,7 @@ const Vr = (e) => {
|
|
|
1098
1096
|
...x
|
|
1099
1097
|
},
|
|
1100
1098
|
TransitionProps: R,
|
|
1101
|
-
children:
|
|
1099
|
+
children: n
|
|
1102
1100
|
})
|
|
1103
1101
|
});
|
|
1104
1102
|
});
|
|
@@ -1113,7 +1111,7 @@ process.env.NODE_ENV !== "production" && (mt.propTypes = {
|
|
|
1113
1111
|
* It's used to set the position of the popper.
|
|
1114
1112
|
* The return value will passed as the reference object of the Popper instance.
|
|
1115
1113
|
*/
|
|
1116
|
-
anchorEl:
|
|
1114
|
+
anchorEl: Mt(i.oneOfType([we, i.object, i.func]), (e) => {
|
|
1117
1115
|
if (e.open) {
|
|
1118
1116
|
const t = xe(e.anchorEl);
|
|
1119
1117
|
if (t && Ee(t) && t.nodeType === 1) {
|
|
@@ -1228,16 +1226,16 @@ const Ir = Dt(mt, {
|
|
|
1228
1226
|
slot: "Root",
|
|
1229
1227
|
overridesResolver: (e, t) => t.root
|
|
1230
1228
|
})({}), Fr = /* @__PURE__ */ L.forwardRef(function(t, r) {
|
|
1231
|
-
const
|
|
1229
|
+
const o = Pt(), n = jt({
|
|
1232
1230
|
props: t,
|
|
1233
1231
|
name: "MuiPopper"
|
|
1234
1232
|
}), {
|
|
1235
1233
|
anchorEl: s,
|
|
1236
1234
|
component: c,
|
|
1237
1235
|
components: a,
|
|
1238
|
-
componentsProps:
|
|
1236
|
+
componentsProps: p,
|
|
1239
1237
|
container: l,
|
|
1240
|
-
disablePortal:
|
|
1238
|
+
disablePortal: f,
|
|
1241
1239
|
keepMounted: h,
|
|
1242
1240
|
modifiers: b,
|
|
1243
1241
|
open: u,
|
|
@@ -1248,10 +1246,10 @@ const Ir = Dt(mt, {
|
|
|
1248
1246
|
slots: P,
|
|
1249
1247
|
slotProps: O,
|
|
1250
1248
|
...d
|
|
1251
|
-
} =
|
|
1249
|
+
} = n, y = (P == null ? void 0 : P.root) ?? (a == null ? void 0 : a.Root), g = {
|
|
1252
1250
|
anchorEl: s,
|
|
1253
1251
|
container: l,
|
|
1254
|
-
disablePortal:
|
|
1252
|
+
disablePortal: f,
|
|
1255
1253
|
keepMounted: h,
|
|
1256
1254
|
modifiers: b,
|
|
1257
1255
|
open: u,
|
|
@@ -1263,11 +1261,11 @@ const Ir = Dt(mt, {
|
|
|
1263
1261
|
};
|
|
1264
1262
|
return /* @__PURE__ */ be(Ir, {
|
|
1265
1263
|
as: c,
|
|
1266
|
-
direction:
|
|
1264
|
+
direction: o ? "rtl" : "ltr",
|
|
1267
1265
|
slots: {
|
|
1268
1266
|
root: y
|
|
1269
1267
|
},
|
|
1270
|
-
slotProps: O ??
|
|
1268
|
+
slotProps: O ?? p,
|
|
1271
1269
|
...g,
|
|
1272
1270
|
ref: r
|
|
1273
1271
|
});
|