@cgi-learning-hub/ui 1.3.4 → 1.3.5-dev.1736340751
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-CvufxHMY.cjs +1 -0
- package/dist/{Backdrop-BlKt7y1x.js → Backdrop-DcDd6WZF.js} +13 -13
- package/dist/{Box-DErdbtsw.js → Box-Byz2BwGf.js} +10 -10
- package/dist/Box-mP2Th61z.cjs +1 -0
- package/dist/Button-BH9MUvmz.cjs +1 -0
- package/dist/{Button-CiqVGfRs.js → Button-BnNYfQ3E.js} +153 -119
- package/dist/ButtonBase-BXtyQVDC.cjs +74 -0
- package/dist/{ButtonBase-DUPJVOlc.js → ButtonBase-DAWDecOk.js} +42 -41
- package/dist/{Card-mGRk1RuE.js → Card-AJG0TUOx.js} +3 -3
- package/dist/Card-NqCXQteq.cjs +1 -0
- package/dist/{Checkbox-aJ1r7ufI.js → Checkbox-8Rhxpkjl.js} +23 -22
- package/dist/Checkbox-DYrDbdy1.cjs +1 -0
- package/dist/CircularProgress-BByrCLjv.cjs +28 -0
- package/dist/{CircularProgress-CfODO7vI.js → CircularProgress-Kwlef5fX.js} +14 -13
- package/dist/DatePicker-7-4p3Vtj.cjs +14 -0
- package/dist/{DatePicker-Dyf9Vhld.js → DatePicker-BS1OatwQ.js} +549 -546
- package/dist/DefaultPropsProvider-3KMGupjb.cjs +17 -0
- package/dist/DefaultPropsProvider-CvJPQJmL.js +454 -0
- package/dist/{Delete-BOQTx9ze.js → Delete-BkZN7Xu5.js} +1 -1
- package/dist/{Delete-DyzDL8-Y.cjs → Delete-D1EiKoL5.cjs} +1 -1
- package/dist/Dialog-D_lS4J_M.js +415 -0
- package/dist/Dialog-yOrNcHbG.cjs +1 -0
- package/dist/DialogContent-Dj_OjLZ6.cjs +1 -0
- package/dist/DialogContent-uc65XOEU.js +194 -0
- package/dist/DialogTitle-BboPDaoB.cjs +1 -0
- package/dist/{DialogTitle-AQ-YU9PH.js → DialogTitle-C8JOi-rq.js} +43 -42
- package/dist/Divider-CcrM3lNn.cjs +1 -0
- package/dist/{Divider-C0R1SUa4.js → Divider-KO-E6nU8.js} +8 -8
- package/dist/FormControlLabel-Bb6Ul-qQ.cjs +1 -0
- package/dist/{FormControlLabel-w-X91z27.js → FormControlLabel-BmrKQtQA.js} +17 -16
- package/dist/{FormGroup-6NoANcYk.js → FormGroup-CbczEc6e.js} +12 -12
- package/dist/FormGroup-Y3P2AG0i.cjs +1 -0
- package/dist/{FormLabel-CoLJ9tA8.js → FormLabel-CfR4bb21.js} +6 -5
- package/dist/FormLabel-D1uvEhsH.cjs +2 -0
- package/dist/{Grow-SW33sONG.js → Grow-CQVPAYvp.js} +13 -13
- package/dist/Grow-CUBJs6WD.cjs +1 -0
- package/dist/IconButton-CJfzspZK.cjs +2 -0
- package/dist/{IconButton-DjeMTpI5.js → IconButton-CekuyD4r.js} +13 -12
- package/dist/InputAdornment-Cq0WhPxF.cjs +1 -0
- package/dist/{InputAdornment-ByiVSgFT.js → InputAdornment-iU5YnveW.js} +16 -15
- package/dist/{InputBase-CvU0-Zg6.js → InputBase-BJy3wwFB.js} +28 -26
- package/dist/InputBase-s1fk8TB4.cjs +3 -0
- package/dist/Link-CWczkFp0.cjs +1 -0
- package/dist/{Link-Dmwt9wxb.js → Link-CoQuUM0t.js} +11 -10
- package/dist/Menu-Bsx8PA-q.cjs +7 -0
- package/dist/{Menu-4U27Dst1.js → Menu-C7tKmcAh.js} +63 -61
- package/dist/MenuItem-BZ_EVaBq.cjs +1 -0
- package/dist/{MenuItem-CqPsuuC1.js → MenuItem-j8luVUcX.js} +7 -7
- package/dist/Modal-DImrEpYJ.cjs +2 -0
- package/dist/{Modal-D_mqYIr2.js → Modal-brWBFdK7.js} +76 -74
- package/dist/{Paper-D973Ow-i.js → Paper-BG4Vk_Um.js} +4 -4
- package/dist/Paper-Cr56xkCr.cjs +2 -0
- package/dist/{Popper-B8oNZqtn.js → Popper-DFZ_gRev.js} +240 -239
- package/dist/Popper-YT5WAMV-.cjs +4 -0
- package/dist/Portal-DF0RKOcD.cjs +1 -0
- package/dist/{Portal-BKbBRbWN.js → Portal-JEwcozmp.js} +3 -3
- package/dist/Radio-CVAEGXKi.cjs +1 -0
- package/dist/{Radio-BrzQH9pY.js → Radio-DGhot3Cd.js} +21 -20
- package/dist/Select-CwAWNiiv.cjs +3 -0
- package/dist/{Select-CgAPAUTr.js → Select-DmssuG5M.js} +62 -60
- package/dist/{Stack-CYXQpKS2.js → Stack-BzTJdRGj.js} +105 -60
- package/dist/Stack-Yq6rb7iK.cjs +1 -0
- package/dist/SwitchBase-DjIY_KWB.cjs +1 -0
- package/dist/{SwitchBase-CGa9A6SL.js → SwitchBase-Dlth5_F7.js} +38 -37
- package/dist/{TableSortLabel-hvz89Dvu.js → TableSortLabel-BsgRD4k4.js} +1289 -1268
- package/dist/TableSortLabel-D0N3e3cP.cjs +98 -0
- package/dist/{Tabs-BPI2IyPx.js → Tabs-CYbeTnJk.js} +292 -289
- package/dist/Tabs-KG4VWw-1.cjs +4 -0
- package/dist/TextField-BI9KVqjC.cjs +1 -0
- package/dist/{TextField-C4nIxR_t.js → TextField-Cri5Gxa7.js} +20 -19
- package/dist/{Tooltip-Bdrv-e2a.js → Tooltip-BhAHhzKz.js} +32 -30
- package/dist/Tooltip-DhDtvULK.cjs +4 -0
- package/dist/{Typography-CUdlQxLM.js → Typography-DBwTr_ix.js} +13 -12
- package/dist/Typography-DfRMDngd.cjs +1 -0
- package/dist/capitalize-B3GG7Wn6.cjs +1 -0
- package/dist/capitalize-CkF8kU4n.js +9 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +22 -21
- 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 -0
- package/dist/components/Dialog/Dialog.d.ts +6 -0
- package/dist/components/Dialog/Dialog.es.js +28 -0
- package/dist/components/Dialog/index.cjs.js +1 -0
- package/dist/components/Dialog/index.d.ts +2 -0
- package/dist/components/Dialog/index.es.js +4 -0
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -0
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +9 -0
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +44 -0
- package/dist/components/EllipsisWithTooltip/index.cjs.js +1 -0
- package/dist/components/EllipsisWithTooltip/index.d.ts +2 -0
- package/dist/components/EllipsisWithTooltip/index.es.js +4 -0
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +7 -7
- 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.d.ts +1 -0
- package/dist/components/ImagePicker/ImagePicker.es.js +29 -28
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- 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 +5 -5
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +14 -14
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- 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 +7 -3
- package/dist/components/index.es.js +228 -220
- 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 +8 -8
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +5 -5
- 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.d.ts +1 -1
- package/dist/components/stories/Dialog.stories.es.js +26 -14
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +5 -5
- package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +1 -0
- package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +6 -0
- package/dist/components/stories/EllipsisWithTooltip.stories.es.js +36 -0
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +69 -68
- 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/ImagePicker.stories.cjs.js +1 -1
- package/dist/components/stories/ImagePicker.stories.es.js +13 -6
- 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 +6 -6
- 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 +9 -9
- 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--rEClVU7.cjs +1 -0
- package/dist/{createSvgIcon-CVd3Lo1D.js → createSvgIcon-C8nGcfF4.js} +6 -5
- package/dist/dividerClasses-CCAY3Pnr.cjs +1 -0
- package/dist/{dividerClasses-kN_Ky2Bl.js → dividerClasses-nh2-hkQB.js} +1 -1
- package/dist/{elementTypeAcceptingRef-modXfN2G.js → elementTypeAcceptingRef-D-5kcohU.js} +1 -1
- package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +1 -0
- package/dist/{extendSxProp-CHv0k-C6.js → extendSxProp-C2ff0oGc.js} +1 -1
- package/dist/extendSxProp-apyK-EBz.cjs +1 -0
- package/dist/{fr-rmVQsNbI.js → fr-Bjufn3RW.js} +84 -84
- package/dist/{fr-ChrHtTbj.cjs → fr-JE-1WKP6.cjs} +1 -1
- package/dist/generateUtilityClasses-B_H9HEmg.cjs +59 -0
- package/dist/{identifier-Bn0tF6ls.js → generateUtilityClasses-Bssl7BA_.js} +898 -872
- package/dist/index-Aa73Kpym.cjs +1 -0
- package/dist/{index-CVpJYeY2.js → index-BCnPLuqJ.js} +23 -22
- package/dist/index-ChM1Ett8.cjs +5 -0
- package/dist/index-Cw0GDedk.cjs +17 -0
- package/dist/{index-BNojWn2E.js → index-CwvpOCso.js} +29 -29
- package/dist/index-DXD5J5Eu.js +186 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +228 -220
- package/dist/{memoTheme-BPA1FjB4.cjs → memoTheme-Bdg0Y_2O.cjs} +1 -1
- package/dist/{memoTheme-CMJVTZEg.js → memoTheme-D7Fyh_3C.js} +1 -1
- package/dist/mergeSlotProps-DuV-LTW7.cjs +1 -0
- package/dist/{resolveComponentProps-DHoZOPOi.js → mergeSlotProps-tUJEcwVu.js} +7 -7
- package/dist/refType-CoaxQOPt.cjs +1 -0
- package/dist/refType-DKYKROQk.js +5 -0
- package/dist/useEnhancedEffect-BQZ6dtCo.cjs +1 -0
- package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
- package/dist/useEventCallback-BAQJJ3ye.js +14 -0
- package/dist/useEventCallback-C0-Qw3Sm.cjs +1 -0
- package/dist/{useSlot-t9oGnIgq.js → useSlot-BTpHG6jf.js} +1 -1
- package/dist/useSlot-CByalpSD.cjs +1 -0
- package/dist/useSlotProps-B31YQlzb.js +45 -0
- package/dist/useSlotProps-BVSAQTNl.cjs +1 -0
- package/dist/useTheme-Cy5kyKJF.cjs +1 -0
- package/dist/useTheme-Dukx-__T.cjs +1 -0
- package/dist/useTheme-DyaNKf4e.js +11 -0
- package/dist/{useTheme-CBsFvF7I.js → useTheme-_xyy-wul.js} +1 -1
- package/dist/{useThemeProps-5Bku71LW.js → useThemeProps-BySkSe-M.js} +2 -2
- package/dist/useThemeProps-CdV_QwDl.cjs +1 -0
- package/dist/{useThemeProps-I9EHeqzU.js → useThemeProps-CwEQ4bv2.js} +3 -3
- package/dist/{useThemeProps-C692LOYf.cjs → useThemeProps-u_ESzK2f.cjs} +1 -1
- package/dist/useTimeout-COCrDKz-.cjs +1 -0
- package/dist/useTimeout-CrCYVizI.js +42 -0
- package/dist/{utils-CE_a8glN.js → utils-C6c4fj7D.js} +41 -41
- package/dist/utils-vmyQ2IaS.cjs +1 -0
- package/package.json +1 -1
- package/dist/Backdrop-vSE8W9jq.cjs +0 -1
- package/dist/Box-DMYs7NTb.cjs +0 -1
- package/dist/Button-D3dbHQM1.cjs +0 -1
- package/dist/ButtonBase-BoWeLMzR.cjs +0 -74
- package/dist/Card-Cnh4u4kb.cjs +0 -1
- package/dist/Checkbox-s_RdgUlw.cjs +0 -1
- package/dist/CircularProgress-DHgcUb1c.cjs +0 -28
- package/dist/DatePicker-juzW4bLC.cjs +0 -14
- package/dist/DefaultPropsProvider-Biv7NHew.cjs +0 -17
- package/dist/DefaultPropsProvider-xJkZOrdv.js +0 -487
- package/dist/DialogContent-D1KFPXhr.js +0 -602
- package/dist/DialogContent-Dphl2SKX.cjs +0 -1
- package/dist/DialogTitle-C8AdXsDz.cjs +0 -1
- package/dist/Divider-Bdp8beK-.cjs +0 -1
- package/dist/FormControlLabel-BlO93LTi.cjs +0 -1
- package/dist/FormGroup-D0zSGn42.cjs +0 -1
- package/dist/FormLabel-BkiH7wl7.cjs +0 -2
- package/dist/Grow-DfACa72Q.cjs +0 -1
- package/dist/IconButton-DRs0xB4z.cjs +0 -2
- package/dist/InputAdornment-B1pggfEX.cjs +0 -1
- package/dist/InputBase-Xfjv-RYp.cjs +0 -3
- package/dist/Link-Z_UCBvgV.cjs +0 -1
- package/dist/Menu-DREdNbqu.cjs +0 -7
- package/dist/MenuItem-CN75Du-9.cjs +0 -1
- package/dist/Modal-DWqBsogu.cjs +0 -2
- package/dist/Paper-CjMuucS5.cjs +0 -2
- package/dist/Popper-hzM0y1hA.cjs +0 -4
- package/dist/Portal-Bv2VRYHH.cjs +0 -1
- package/dist/Radio-DxbXYNhR.cjs +0 -1
- package/dist/Select-CL4E8NNL.cjs +0 -3
- package/dist/Stack-WrITLr1B.cjs +0 -1
- package/dist/SwitchBase-Cqh9rxOh.cjs +0 -1
- package/dist/TableSortLabel-mAzX4tAl.cjs +0 -98
- package/dist/Tabs-BNqwYd2G.cjs +0 -4
- package/dist/TextField-Dy0Iblqt.cjs +0 -1
- package/dist/Tooltip-vg27N3PU.cjs +0 -4
- package/dist/Typography-BF9bdWxl.cjs +0 -1
- package/dist/createSvgIcon-BMmqQ2z0.cjs +0 -1
- package/dist/dividerClasses-CyDs_RPD.cjs +0 -1
- package/dist/elementTypeAcceptingRef-5w32V5hP.cjs +0 -1
- package/dist/extendSxProp-6YOo46ig.cjs +0 -1
- package/dist/identifier-Dax8VlUh.cjs +0 -59
- package/dist/index-C5dNuV-2.cjs +0 -5
- package/dist/index-D3PBNx_m.cjs +0 -1
- package/dist/index-OLlWw08I.cjs +0 -1
- package/dist/index-waINWr3i.js +0 -45
- package/dist/refType-BmrOFNz6.js +0 -7
- package/dist/refType-Dm84STBj.cjs +0 -1
- package/dist/resolveComponentProps-4nhUsl3a.cjs +0 -1
- package/dist/useSlot-CJAXUvYJ.cjs +0 -1
- package/dist/useTheme-BIogn5Me.cjs +0 -1
- package/dist/useTheme-Bz4LKMiC.cjs +0 -1
- package/dist/useTheme-L3EQmvnN.js +0 -11
- package/dist/useThemeProps-DNFKz8wS.cjs +0 -1
- package/dist/useTimeout-3Y5y4gWq.js +0 -53
- package/dist/useTimeout-CxOQget6.cjs +0 -1
- package/dist/utils-CusX8Edy.cjs +0 -1
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { a as xt, u as Pt } from "./
|
|
2
|
-
import { I as Et, H as Rt, P as i } from "./
|
|
1
|
+
import { a as xt, u as Pt } from "./useSlotProps-B31YQlzb.js";
|
|
2
|
+
import { I as Et, H as Rt, P as i } from "./generateUtilityClasses-Bssl7BA_.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-
|
|
6
|
+
import { P as Tt, H as we } from "./Portal-JEwcozmp.js";
|
|
7
7
|
import { c as At } from "./chainPropTypes-D9lkm76m.js";
|
|
8
|
-
import { r as at
|
|
9
|
-
import { u as
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
import { r as at } from "./refType-DKYKROQk.js";
|
|
9
|
+
import { u as Ge } from "./useForkRef-C_4o__cU.js";
|
|
10
|
+
import { u as Je } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
11
|
+
import { c as jt, s as Dt, u as Mt } from "./DefaultPropsProvider-CvJPQJmL.js";
|
|
12
|
+
var B = "top", N = "bottom", V = "right", $ = "left", Ce = "auto", le = [B, N, V, $], ee = "start", pe = "end", Ct = "clippingParents", it = "viewport", ie = "popper", Bt = "reference", Ke = /* @__PURE__ */ le.reduce(function(e, t) {
|
|
13
|
+
return e.concat([t + "-" + ee, t + "-" + pe]);
|
|
13
14
|
}, []), st = /* @__PURE__ */ [].concat(le, [Ce]).reduce(function(e, t) {
|
|
14
|
-
return e.concat([t, t + "-" + ee, t + "-" +
|
|
15
|
+
return e.concat([t, t + "-" + ee, t + "-" + pe]);
|
|
15
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];
|
|
16
17
|
function q(e) {
|
|
17
18
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
@@ -42,9 +43,9 @@ function Be(e) {
|
|
|
42
43
|
function It(e) {
|
|
43
44
|
var t = e.state;
|
|
44
45
|
Object.keys(t.elements).forEach(function(r) {
|
|
45
|
-
var
|
|
46
|
-
!H(s) || !q(s) || (Object.assign(s.style,
|
|
47
|
-
var a =
|
|
46
|
+
var n = t.styles[r] || {}, o = t.attributes[r] || {}, s = t.elements[r];
|
|
47
|
+
!H(s) || !q(s) || (Object.assign(s.style, n), Object.keys(o).forEach(function(c) {
|
|
48
|
+
var a = o[c];
|
|
48
49
|
a === !1 ? s.removeAttribute(c) : s.setAttribute(c, a === !0 ? "" : a);
|
|
49
50
|
}));
|
|
50
51
|
});
|
|
@@ -63,12 +64,12 @@ function Ft(e) {
|
|
|
63
64
|
reference: {}
|
|
64
65
|
};
|
|
65
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() {
|
|
66
|
-
Object.keys(t.elements).forEach(function(
|
|
67
|
-
var
|
|
68
|
-
return
|
|
67
|
+
Object.keys(t.elements).forEach(function(n) {
|
|
68
|
+
var o = t.elements[n], s = t.attributes[n] || {}, c = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), a = c.reduce(function(f, l) {
|
|
69
|
+
return f[l] = "", f;
|
|
69
70
|
}, {});
|
|
70
|
-
!H(
|
|
71
|
-
|
|
71
|
+
!H(o) || !q(o) || (Object.assign(o.style, a), Object.keys(s).forEach(function(f) {
|
|
72
|
+
o.removeAttribute(f);
|
|
72
73
|
}));
|
|
73
74
|
});
|
|
74
75
|
};
|
|
@@ -91,45 +92,45 @@ function De() {
|
|
|
91
92
|
return t.brand + "/" + t.version;
|
|
92
93
|
}).join(" ") : navigator.userAgent;
|
|
93
94
|
}
|
|
94
|
-
function
|
|
95
|
+
function ft() {
|
|
95
96
|
return !/^((?!chrome|android).)*safari/i.test(De());
|
|
96
97
|
}
|
|
97
98
|
function re(e, t, r) {
|
|
98
99
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
99
|
-
var
|
|
100
|
-
t && H(e) && (
|
|
101
|
-
var c = Z(e) ? W(e) : window, a = c.visualViewport,
|
|
100
|
+
var n = e.getBoundingClientRect(), o = 1, s = 1;
|
|
101
|
+
t && H(e) && (o = e.offsetWidth > 0 && te(n.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && te(n.height) / e.offsetHeight || 1);
|
|
102
|
+
var c = Z(e) ? W(e) : window, a = c.visualViewport, f = !ft() && r, l = (n.left + (f && a ? a.offsetLeft : 0)) / o, p = (n.top + (f && a ? a.offsetTop : 0)) / s, h = n.width / o, b = n.height / s;
|
|
102
103
|
return {
|
|
103
104
|
width: h,
|
|
104
105
|
height: b,
|
|
105
|
-
top:
|
|
106
|
+
top: p,
|
|
106
107
|
right: l + h,
|
|
107
|
-
bottom:
|
|
108
|
+
bottom: p + b,
|
|
108
109
|
left: l,
|
|
109
110
|
x: l,
|
|
110
|
-
y:
|
|
111
|
+
y: p
|
|
111
112
|
};
|
|
112
113
|
}
|
|
113
114
|
function $e(e) {
|
|
114
|
-
var t = re(e), r = e.offsetWidth,
|
|
115
|
-
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height -
|
|
115
|
+
var t = re(e), r = e.offsetWidth, n = e.offsetHeight;
|
|
116
|
+
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
|
|
116
117
|
x: e.offsetLeft,
|
|
117
118
|
y: e.offsetTop,
|
|
118
119
|
width: r,
|
|
119
|
-
height:
|
|
120
|
+
height: n
|
|
120
121
|
};
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
+
function pt(e, t) {
|
|
123
124
|
var r = t.getRootNode && t.getRootNode();
|
|
124
125
|
if (e.contains(t))
|
|
125
126
|
return !0;
|
|
126
127
|
if (r && Be(r)) {
|
|
127
|
-
var
|
|
128
|
+
var n = t;
|
|
128
129
|
do {
|
|
129
|
-
if (
|
|
130
|
+
if (n && e.isSameNode(n))
|
|
130
131
|
return !0;
|
|
131
|
-
|
|
132
|
-
} while (
|
|
132
|
+
n = n.parentNode || n.host;
|
|
133
|
+
} while (n);
|
|
133
134
|
}
|
|
134
135
|
return !1;
|
|
135
136
|
}
|
|
@@ -164,16 +165,16 @@ function Qe(e) {
|
|
|
164
165
|
function zt(e) {
|
|
165
166
|
var t = /firefox/i.test(De()), r = /Trident/i.test(De());
|
|
166
167
|
if (r && H(e)) {
|
|
167
|
-
var
|
|
168
|
-
if (
|
|
168
|
+
var n = X(e);
|
|
169
|
+
if (n.position === "fixed")
|
|
169
170
|
return null;
|
|
170
171
|
}
|
|
171
|
-
var
|
|
172
|
-
for (Be(
|
|
173
|
-
var s = X(
|
|
172
|
+
var o = Pe(e);
|
|
173
|
+
for (Be(o) && (o = o.host); H(o) && ["html", "body"].indexOf(q(o)) < 0; ) {
|
|
174
|
+
var s = X(o);
|
|
174
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")
|
|
175
|
-
return
|
|
176
|
-
|
|
176
|
+
return o;
|
|
177
|
+
o = o.parentNode;
|
|
177
178
|
}
|
|
178
179
|
return null;
|
|
179
180
|
}
|
|
@@ -189,8 +190,8 @@ function se(e, t, r) {
|
|
|
189
190
|
return Q(e, Oe(t, r));
|
|
190
191
|
}
|
|
191
192
|
function Gt(e, t, r) {
|
|
192
|
-
var
|
|
193
|
-
return
|
|
193
|
+
var n = se(e, t, r);
|
|
194
|
+
return n > r ? r : n;
|
|
194
195
|
}
|
|
195
196
|
function ct() {
|
|
196
197
|
return {
|
|
@@ -204,8 +205,8 @@ function lt(e) {
|
|
|
204
205
|
return Object.assign({}, ct(), e);
|
|
205
206
|
}
|
|
206
207
|
function ut(e, t) {
|
|
207
|
-
return t.reduce(function(r,
|
|
208
|
-
return r[
|
|
208
|
+
return t.reduce(function(r, n) {
|
|
209
|
+
return r[n] = e, r;
|
|
209
210
|
}, {});
|
|
210
211
|
}
|
|
211
212
|
var Jt = function(t, r) {
|
|
@@ -214,15 +215,15 @@ var Jt = function(t, r) {
|
|
|
214
215
|
})) : t, lt(typeof t != "number" ? t : ut(t, le));
|
|
215
216
|
};
|
|
216
217
|
function Kt(e) {
|
|
217
|
-
var t, r = e.state,
|
|
218
|
+
var t, r = e.state, n = e.name, o = e.options, s = r.elements.arrow, c = r.modifiersData.popperOffsets, a = U(r.placement), f = ke(a), l = [$, V].indexOf(a) >= 0, p = l ? "height" : "width";
|
|
218
219
|
if (!(!s || !c)) {
|
|
219
|
-
var h = Jt(
|
|
220
|
-
r.modifiersData[
|
|
220
|
+
var h = Jt(o.padding, r), b = $e(s), u = f === "y" ? B : $, x = f === "y" ? N : V, v = r.rects.reference[p] + r.rects.reference[f] - c[f] - r.rects.popper[p], m = c[f] - r.rects.reference[f], w = ue(s), P = w ? f === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, O = v / 2 - m / 2, d = h[u], y = P - b[p] - h[x], g = P / 2 - b[p] / 2 + O, E = se(d, g, y), A = f;
|
|
221
|
+
r.modifiersData[n] = (t = {}, t[A] = E, t.centerOffset = E - g, t);
|
|
221
222
|
}
|
|
222
223
|
}
|
|
223
224
|
function Qt(e) {
|
|
224
|
-
var t = e.state, r = e.options,
|
|
225
|
-
|
|
225
|
+
var t = e.state, r = e.options, n = r.element, o = n === void 0 ? "[data-popper-arrow]" : n;
|
|
226
|
+
o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || pt(t.elements.popper, o) && (t.elements.arrow = o));
|
|
226
227
|
}
|
|
227
228
|
const Zt = {
|
|
228
229
|
name: "arrow",
|
|
@@ -233,7 +234,7 @@ const Zt = {
|
|
|
233
234
|
requires: ["popperOffsets"],
|
|
234
235
|
requiresIfExists: ["preventOverflow"]
|
|
235
236
|
};
|
|
236
|
-
function
|
|
237
|
+
function ne(e) {
|
|
237
238
|
return e.split("-")[1];
|
|
238
239
|
}
|
|
239
240
|
var _t = {
|
|
@@ -243,14 +244,14 @@ var _t = {
|
|
|
243
244
|
left: "auto"
|
|
244
245
|
};
|
|
245
246
|
function er(e, t) {
|
|
246
|
-
var r = e.x,
|
|
247
|
+
var r = e.x, n = e.y, o = t.devicePixelRatio || 1;
|
|
247
248
|
return {
|
|
248
|
-
x: te(r *
|
|
249
|
-
y: te(
|
|
249
|
+
x: te(r * o) / o || 0,
|
|
250
|
+
y: te(n * o) / o || 0
|
|
250
251
|
};
|
|
251
252
|
}
|
|
252
253
|
function Ze(e) {
|
|
253
|
-
var t, r = e.popper,
|
|
254
|
+
var t, r = e.popper, n = e.popperRect, o = e.placement, s = e.variation, c = e.offsets, a = e.position, f = e.gpuAcceleration, l = e.adaptive, p = 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 p == "function" ? p({
|
|
254
255
|
x: u,
|
|
255
256
|
y: v
|
|
256
257
|
}) : {
|
|
@@ -261,57 +262,57 @@ function Ze(e) {
|
|
|
261
262
|
var w = c.hasOwnProperty("x"), P = c.hasOwnProperty("y"), O = $, d = B, y = window;
|
|
262
263
|
if (l) {
|
|
263
264
|
var g = ue(r), E = "clientHeight", A = "clientWidth";
|
|
264
|
-
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, o === B || (o === $ || o === V) && s === pe) {
|
|
265
266
|
d = N;
|
|
266
267
|
var R = h && g === y && y.visualViewport ? y.visualViewport.height : (
|
|
267
268
|
// $FlowFixMe[prop-missing]
|
|
268
269
|
g[E]
|
|
269
270
|
);
|
|
270
|
-
v -= R -
|
|
271
|
+
v -= R - n.height, v *= f ? 1 : -1;
|
|
271
272
|
}
|
|
272
|
-
if (
|
|
273
|
+
if (o === $ || (o === B || o === N) && s === pe) {
|
|
273
274
|
O = V;
|
|
274
275
|
var T = h && g === y && y.visualViewport ? y.visualViewport.width : (
|
|
275
276
|
// $FlowFixMe[prop-missing]
|
|
276
277
|
g[A]
|
|
277
278
|
);
|
|
278
|
-
u -= T -
|
|
279
|
+
u -= T - n.width, u *= f ? 1 : -1;
|
|
279
280
|
}
|
|
280
281
|
}
|
|
281
282
|
var j = Object.assign({
|
|
282
283
|
position: a
|
|
283
|
-
}, l && _t), k =
|
|
284
|
+
}, l && _t), k = p === !0 ? er({
|
|
284
285
|
x: u,
|
|
285
286
|
y: v
|
|
286
287
|
}, W(r)) : {
|
|
287
288
|
x: u,
|
|
288
289
|
y: v
|
|
289
290
|
};
|
|
290
|
-
if (u = k.x, v = k.y,
|
|
291
|
+
if (u = k.x, v = k.y, f) {
|
|
291
292
|
var M;
|
|
292
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));
|
|
293
294
|
}
|
|
294
295
|
return Object.assign({}, j, (t = {}, t[d] = P ? v + "px" : "", t[O] = w ? u + "px" : "", t.transform = "", t));
|
|
295
296
|
}
|
|
296
297
|
function tr(e) {
|
|
297
|
-
var t = e.state, r = e.options,
|
|
298
|
+
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, s = r.adaptive, c = s === void 0 ? !0 : s, a = r.roundOffsets, f = a === void 0 ? !0 : a, l = {
|
|
298
299
|
placement: U(t.placement),
|
|
299
|
-
variation:
|
|
300
|
+
variation: ne(t.placement),
|
|
300
301
|
popper: t.elements.popper,
|
|
301
302
|
popperRect: t.rects.popper,
|
|
302
|
-
gpuAcceleration:
|
|
303
|
+
gpuAcceleration: o,
|
|
303
304
|
isFixed: t.options.strategy === "fixed"
|
|
304
305
|
};
|
|
305
306
|
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ze(Object.assign({}, l, {
|
|
306
307
|
offsets: t.modifiersData.popperOffsets,
|
|
307
308
|
position: t.options.strategy,
|
|
308
309
|
adaptive: c,
|
|
309
|
-
roundOffsets:
|
|
310
|
+
roundOffsets: f
|
|
310
311
|
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ze(Object.assign({}, l, {
|
|
311
312
|
offsets: t.modifiersData.arrow,
|
|
312
313
|
position: "absolute",
|
|
313
314
|
adaptive: !1,
|
|
314
|
-
roundOffsets:
|
|
315
|
+
roundOffsets: f
|
|
315
316
|
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
316
317
|
"data-popper-placement": t.placement
|
|
317
318
|
});
|
|
@@ -326,23 +327,23 @@ const rr = {
|
|
|
326
327
|
var ye = {
|
|
327
328
|
passive: !0
|
|
328
329
|
};
|
|
329
|
-
function
|
|
330
|
-
var t = e.state, r = e.instance,
|
|
331
|
-
return s && l.forEach(function(
|
|
332
|
-
|
|
333
|
-
}), a &&
|
|
334
|
-
s && l.forEach(function(
|
|
335
|
-
|
|
336
|
-
}), a &&
|
|
330
|
+
function nr(e) {
|
|
331
|
+
var t = e.state, r = e.instance, n = e.options, o = n.scroll, s = o === void 0 ? !0 : o, c = n.resize, a = c === void 0 ? !0 : c, f = W(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
332
|
+
return s && l.forEach(function(p) {
|
|
333
|
+
p.addEventListener("scroll", r.update, ye);
|
|
334
|
+
}), a && f.addEventListener("resize", r.update, ye), function() {
|
|
335
|
+
s && l.forEach(function(p) {
|
|
336
|
+
p.removeEventListener("scroll", r.update, ye);
|
|
337
|
+
}), a && f.removeEventListener("resize", r.update, ye);
|
|
337
338
|
};
|
|
338
339
|
}
|
|
339
|
-
const
|
|
340
|
+
const or = {
|
|
340
341
|
name: "eventListeners",
|
|
341
342
|
enabled: !0,
|
|
342
343
|
phase: "write",
|
|
343
344
|
fn: function() {
|
|
344
345
|
},
|
|
345
|
-
effect:
|
|
346
|
+
effect: nr,
|
|
346
347
|
data: {}
|
|
347
348
|
};
|
|
348
349
|
var ar = {
|
|
@@ -366,52 +367,52 @@ function _e(e) {
|
|
|
366
367
|
});
|
|
367
368
|
}
|
|
368
369
|
function Se(e) {
|
|
369
|
-
var t = W(e), r = t.pageXOffset,
|
|
370
|
+
var t = W(e), r = t.pageXOffset, n = t.pageYOffset;
|
|
370
371
|
return {
|
|
371
372
|
scrollLeft: r,
|
|
372
|
-
scrollTop:
|
|
373
|
+
scrollTop: n
|
|
373
374
|
};
|
|
374
375
|
}
|
|
375
376
|
function We(e) {
|
|
376
377
|
return re(z(e)).left + Se(e).scrollLeft;
|
|
377
378
|
}
|
|
378
379
|
function sr(e, t) {
|
|
379
|
-
var r = W(e),
|
|
380
|
-
if (
|
|
381
|
-
s =
|
|
382
|
-
var l =
|
|
383
|
-
(l || !l && t === "fixed") && (a =
|
|
380
|
+
var r = W(e), n = z(e), o = r.visualViewport, s = n.clientWidth, c = n.clientHeight, a = 0, f = 0;
|
|
381
|
+
if (o) {
|
|
382
|
+
s = o.width, c = o.height;
|
|
383
|
+
var l = ft();
|
|
384
|
+
(l || !l && t === "fixed") && (a = o.offsetLeft, f = o.offsetTop);
|
|
384
385
|
}
|
|
385
386
|
return {
|
|
386
387
|
width: s,
|
|
387
388
|
height: c,
|
|
388
389
|
x: a + We(e),
|
|
389
|
-
y:
|
|
390
|
+
y: f
|
|
390
391
|
};
|
|
391
392
|
}
|
|
392
|
-
function
|
|
393
|
-
var t, r = z(e),
|
|
394
|
-
return X(
|
|
393
|
+
function fr(e) {
|
|
394
|
+
var t, r = z(e), n = Se(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, s = Q(r.scrollWidth, r.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), c = Q(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), a = -n.scrollLeft + We(e), f = -n.scrollTop;
|
|
395
|
+
return X(o || r).direction === "rtl" && (a += Q(r.clientWidth, o ? o.clientWidth : 0) - s), {
|
|
395
396
|
width: s,
|
|
396
397
|
height: c,
|
|
397
398
|
x: a,
|
|
398
|
-
y:
|
|
399
|
+
y: f
|
|
399
400
|
};
|
|
400
401
|
}
|
|
401
402
|
function Le(e) {
|
|
402
|
-
var t = X(e), r = t.overflow,
|
|
403
|
-
return /auto|scroll|overlay|hidden/.test(r +
|
|
403
|
+
var t = X(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
|
|
404
|
+
return /auto|scroll|overlay|hidden/.test(r + o + n);
|
|
404
405
|
}
|
|
405
406
|
function dt(e) {
|
|
406
407
|
return ["html", "body", "#document"].indexOf(q(e)) >= 0 ? e.ownerDocument.body : H(e) && Le(e) ? e : dt(Pe(e));
|
|
407
408
|
}
|
|
408
|
-
function
|
|
409
|
+
function fe(e, t) {
|
|
409
410
|
var r;
|
|
410
411
|
t === void 0 && (t = []);
|
|
411
|
-
var
|
|
412
|
-
return
|
|
412
|
+
var n = dt(e), o = n === ((r = e.ownerDocument) == null ? void 0 : r.body), s = W(n), c = o ? [s].concat(s.visualViewport || [], Le(n) ? n : []) : n, a = t.concat(c);
|
|
413
|
+
return o ? a : (
|
|
413
414
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
414
|
-
a.concat(
|
|
415
|
+
a.concat(fe(Pe(c)))
|
|
415
416
|
);
|
|
416
417
|
}
|
|
417
418
|
function Me(e) {
|
|
@@ -422,80 +423,80 @@ function Me(e) {
|
|
|
422
423
|
bottom: e.y + e.height
|
|
423
424
|
});
|
|
424
425
|
}
|
|
425
|
-
function
|
|
426
|
+
function pr(e, t) {
|
|
426
427
|
var r = re(e, !1, t === "fixed");
|
|
427
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;
|
|
428
429
|
}
|
|
429
430
|
function et(e, t, r) {
|
|
430
|
-
return t === it ? Me(sr(e, r)) : Z(t) ?
|
|
431
|
+
return t === it ? Me(sr(e, r)) : Z(t) ? pr(t, r) : Me(fr(z(e)));
|
|
431
432
|
}
|
|
432
433
|
function cr(e) {
|
|
433
|
-
var t =
|
|
434
|
-
return Z(
|
|
435
|
-
return Z(
|
|
434
|
+
var t = fe(Pe(e)), r = ["absolute", "fixed"].indexOf(X(e).position) >= 0, n = r && H(e) ? ue(e) : e;
|
|
435
|
+
return Z(n) ? t.filter(function(o) {
|
|
436
|
+
return Z(o) && pt(o, n) && q(o) !== "body";
|
|
436
437
|
}) : [];
|
|
437
438
|
}
|
|
438
|
-
function lr(e, t, r,
|
|
439
|
-
var
|
|
440
|
-
var
|
|
441
|
-
return
|
|
442
|
-
}, et(e, c,
|
|
439
|
+
function lr(e, t, r, n) {
|
|
440
|
+
var o = t === "clippingParents" ? cr(e) : [].concat(t), s = [].concat(o, [r]), c = s[0], a = s.reduce(function(f, l) {
|
|
441
|
+
var p = et(e, l, n);
|
|
442
|
+
return f.top = Q(p.top, f.top), f.right = Oe(p.right, f.right), f.bottom = Oe(p.bottom, f.bottom), f.left = Q(p.left, f.left), f;
|
|
443
|
+
}, et(e, c, n));
|
|
443
444
|
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
444
445
|
}
|
|
445
446
|
function vt(e) {
|
|
446
|
-
var t = e.reference, r = e.element,
|
|
447
|
-
switch (
|
|
447
|
+
var t = e.reference, r = e.element, n = e.placement, o = n ? U(n) : null, s = n ? ne(n) : null, c = t.x + t.width / 2 - r.width / 2, a = t.y + t.height / 2 - r.height / 2, f;
|
|
448
|
+
switch (o) {
|
|
448
449
|
case B:
|
|
449
|
-
|
|
450
|
+
f = {
|
|
450
451
|
x: c,
|
|
451
452
|
y: t.y - r.height
|
|
452
453
|
};
|
|
453
454
|
break;
|
|
454
455
|
case N:
|
|
455
|
-
|
|
456
|
+
f = {
|
|
456
457
|
x: c,
|
|
457
458
|
y: t.y + t.height
|
|
458
459
|
};
|
|
459
460
|
break;
|
|
460
461
|
case V:
|
|
461
|
-
|
|
462
|
+
f = {
|
|
462
463
|
x: t.x + t.width,
|
|
463
464
|
y: a
|
|
464
465
|
};
|
|
465
466
|
break;
|
|
466
467
|
case $:
|
|
467
|
-
|
|
468
|
+
f = {
|
|
468
469
|
x: t.x - r.width,
|
|
469
470
|
y: a
|
|
470
471
|
};
|
|
471
472
|
break;
|
|
472
473
|
default:
|
|
473
|
-
|
|
474
|
+
f = {
|
|
474
475
|
x: t.x,
|
|
475
476
|
y: t.y
|
|
476
477
|
};
|
|
477
478
|
}
|
|
478
|
-
var l =
|
|
479
|
+
var l = o ? ke(o) : null;
|
|
479
480
|
if (l != null) {
|
|
480
|
-
var
|
|
481
|
+
var p = l === "y" ? "height" : "width";
|
|
481
482
|
switch (s) {
|
|
482
483
|
case ee:
|
|
483
|
-
|
|
484
|
+
f[l] = f[l] - (t[p] / 2 - r[p] / 2);
|
|
484
485
|
break;
|
|
485
|
-
case
|
|
486
|
-
|
|
486
|
+
case pe:
|
|
487
|
+
f[l] = f[l] + (t[p] / 2 - r[p] / 2);
|
|
487
488
|
break;
|
|
488
489
|
}
|
|
489
490
|
}
|
|
490
|
-
return
|
|
491
|
+
return f;
|
|
491
492
|
}
|
|
492
493
|
function ce(e, t) {
|
|
493
494
|
t === void 0 && (t = {});
|
|
494
|
-
var r = t,
|
|
495
|
+
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, s = r.strategy, c = s === void 0 ? e.strategy : s, a = r.boundary, f = a === void 0 ? Ct : a, l = r.rootBoundary, p = 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), f, p, c), g = re(e.elements.reference), E = vt({
|
|
495
496
|
reference: g,
|
|
496
497
|
element: O,
|
|
497
498
|
strategy: "absolute",
|
|
498
|
-
placement:
|
|
499
|
+
placement: o
|
|
499
500
|
}), A = Me(Object.assign({}, O, E)), R = b === ie ? A : g, T = {
|
|
500
501
|
top: y.top - R.top + w.top,
|
|
501
502
|
bottom: R.bottom - y.bottom + w.bottom,
|
|
@@ -503,7 +504,7 @@ function ce(e, t) {
|
|
|
503
504
|
right: R.right - y.right + w.right
|
|
504
505
|
}, j = e.modifiersData.offset;
|
|
505
506
|
if (b === ie && j) {
|
|
506
|
-
var k = j[
|
|
507
|
+
var k = j[o];
|
|
507
508
|
Object.keys(T).forEach(function(M) {
|
|
508
509
|
var I = [V, N].indexOf(M) >= 0 ? 1 : -1, F = [B, N].indexOf(M) >= 0 ? "y" : "x";
|
|
509
510
|
T[M] += k[F] * I;
|
|
@@ -513,8 +514,8 @@ function ce(e, t) {
|
|
|
513
514
|
}
|
|
514
515
|
function ur(e, t) {
|
|
515
516
|
t === void 0 && (t = {});
|
|
516
|
-
var r = t,
|
|
517
|
-
return
|
|
517
|
+
var r = t, n = r.placement, o = r.boundary, s = r.rootBoundary, c = r.padding, a = r.flipVariations, f = r.allowedAutoPlacements, l = f === void 0 ? st : f, p = ne(n), h = p ? a ? Ke : Ke.filter(function(x) {
|
|
518
|
+
return ne(x) === p;
|
|
518
519
|
}) : le, b = h.filter(function(x) {
|
|
519
520
|
return l.indexOf(x) >= 0;
|
|
520
521
|
});
|
|
@@ -522,7 +523,7 @@ function ur(e, t) {
|
|
|
522
523
|
var u = b.reduce(function(x, v) {
|
|
523
524
|
return x[v] = ce(e, {
|
|
524
525
|
placement: v,
|
|
525
|
-
boundary:
|
|
526
|
+
boundary: o,
|
|
526
527
|
rootBoundary: s,
|
|
527
528
|
padding: c
|
|
528
529
|
})[U(v)], x;
|
|
@@ -538,21 +539,21 @@ function dr(e) {
|
|
|
538
539
|
return [_e(e), t, _e(t)];
|
|
539
540
|
}
|
|
540
541
|
function vr(e) {
|
|
541
|
-
var t = e.state, r = e.options,
|
|
542
|
-
if (!t.modifiersData[
|
|
543
|
-
for (var
|
|
542
|
+
var t = e.state, r = e.options, n = e.name;
|
|
543
|
+
if (!t.modifiersData[n]._skip) {
|
|
544
|
+
for (var o = r.mainAxis, s = o === void 0 ? !0 : o, c = r.altAxis, a = c === void 0 ? !0 : c, f = r.fallbackPlacements, l = r.padding, p = 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 = f || (P || !x ? [ge(m)] : dr(m)), d = [m].concat(O).reduce(function(_, Y) {
|
|
544
545
|
return _.concat(U(Y) === Ce ? ur(t, {
|
|
545
546
|
placement: Y,
|
|
546
|
-
boundary:
|
|
547
|
+
boundary: p,
|
|
547
548
|
rootBoundary: h,
|
|
548
549
|
padding: l,
|
|
549
550
|
flipVariations: x,
|
|
550
551
|
allowedAutoPlacements: v
|
|
551
552
|
}) : Y);
|
|
552
553
|
}, []), y = t.rects.reference, g = t.rects.popper, E = /* @__PURE__ */ new Map(), A = !0, R = d[0], T = 0; T < d.length; T++) {
|
|
553
|
-
var j = d[T], k = U(j), M =
|
|
554
|
+
var j = d[T], k = U(j), M = ne(j) === ee, I = [B, N].indexOf(k) >= 0, F = I ? "width" : "height", D = ce(t, {
|
|
554
555
|
placement: j,
|
|
555
|
-
boundary:
|
|
556
|
+
boundary: p,
|
|
556
557
|
rootBoundary: h,
|
|
557
558
|
altBoundary: b,
|
|
558
559
|
padding: l
|
|
@@ -578,11 +579,11 @@ function vr(e) {
|
|
|
578
579
|
});
|
|
579
580
|
if (ae)
|
|
580
581
|
return R = ae, "break";
|
|
581
|
-
},
|
|
582
|
-
var ve = Re(
|
|
582
|
+
}, oe = de; oe > 0; oe--) {
|
|
583
|
+
var ve = Re(oe);
|
|
583
584
|
if (ve === "break") break;
|
|
584
585
|
}
|
|
585
|
-
t.placement !== R && (t.modifiersData[
|
|
586
|
+
t.placement !== R && (t.modifiersData[n]._skip = !0, t.placement = R, t.reset = !0);
|
|
586
587
|
}
|
|
587
588
|
}
|
|
588
589
|
const mr = {
|
|
@@ -612,18 +613,18 @@ function rt(e) {
|
|
|
612
613
|
});
|
|
613
614
|
}
|
|
614
615
|
function hr(e) {
|
|
615
|
-
var t = e.state, r = e.name,
|
|
616
|
+
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, s = t.modifiersData.preventOverflow, c = ce(t, {
|
|
616
617
|
elementContext: "reference"
|
|
617
618
|
}), a = ce(t, {
|
|
618
619
|
altBoundary: !0
|
|
619
|
-
}),
|
|
620
|
+
}), f = tt(c, n), l = tt(a, o, s), p = rt(f), h = rt(l);
|
|
620
621
|
t.modifiersData[r] = {
|
|
621
|
-
referenceClippingOffsets:
|
|
622
|
+
referenceClippingOffsets: f,
|
|
622
623
|
popperEscapeOffsets: l,
|
|
623
|
-
isReferenceHidden:
|
|
624
|
+
isReferenceHidden: p,
|
|
624
625
|
hasPopperEscaped: h
|
|
625
626
|
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
626
|
-
"data-popper-reference-hidden":
|
|
627
|
+
"data-popper-reference-hidden": p,
|
|
627
628
|
"data-popper-escaped": h
|
|
628
629
|
});
|
|
629
630
|
}
|
|
@@ -635,10 +636,10 @@ const yr = {
|
|
|
635
636
|
fn: hr
|
|
636
637
|
};
|
|
637
638
|
function gr(e, t, r) {
|
|
638
|
-
var
|
|
639
|
+
var n = U(e), o = [$, B].indexOf(n) >= 0 ? -1 : 1, s = typeof r == "function" ? r(Object.assign({}, t, {
|
|
639
640
|
placement: e
|
|
640
641
|
})) : r, c = s[0], a = s[1];
|
|
641
|
-
return c = c || 0, a = (a || 0) *
|
|
642
|
+
return c = c || 0, a = (a || 0) * o, [$, V].indexOf(n) >= 0 ? {
|
|
642
643
|
x: a,
|
|
643
644
|
y: c
|
|
644
645
|
} : {
|
|
@@ -647,10 +648,10 @@ function gr(e, t, r) {
|
|
|
647
648
|
};
|
|
648
649
|
}
|
|
649
650
|
function br(e) {
|
|
650
|
-
var t = e.state, r = e.options,
|
|
651
|
-
return
|
|
652
|
-
}, {}), a = c[t.placement],
|
|
653
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x +=
|
|
651
|
+
var t = e.state, r = e.options, n = e.name, o = r.offset, s = o === void 0 ? [0, 0] : o, c = st.reduce(function(p, h) {
|
|
652
|
+
return p[h] = gr(h, t.rects, s), p;
|
|
653
|
+
}, {}), a = c[t.placement], f = a.x, l = a.y;
|
|
654
|
+
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += f, t.modifiersData.popperOffsets.y += l), t.modifiersData[n] = c;
|
|
654
655
|
}
|
|
655
656
|
const wr = {
|
|
656
657
|
name: "offset",
|
|
@@ -679,12 +680,12 @@ function Pr(e) {
|
|
|
679
680
|
return e === "x" ? "y" : "x";
|
|
680
681
|
}
|
|
681
682
|
function Er(e) {
|
|
682
|
-
var t = e.state, r = e.options,
|
|
683
|
-
boundary:
|
|
683
|
+
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, s = o === void 0 ? !0 : o, c = r.altAxis, a = c === void 0 ? !1 : c, f = r.boundary, l = r.rootBoundary, p = 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, {
|
|
684
|
+
boundary: f,
|
|
684
685
|
rootBoundary: l,
|
|
685
686
|
padding: h,
|
|
686
|
-
altBoundary:
|
|
687
|
-
}), w = U(t.placement), P =
|
|
687
|
+
altBoundary: p
|
|
688
|
+
}), w = U(t.placement), P = ne(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, {
|
|
688
689
|
placement: t.placement
|
|
689
690
|
})) : v, T = typeof R == "number" ? {
|
|
690
691
|
mainAxis: R,
|
|
@@ -698,17 +699,17 @@ function Er(e) {
|
|
|
698
699
|
};
|
|
699
700
|
if (g) {
|
|
700
701
|
if (s) {
|
|
701
|
-
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],
|
|
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], oe = P === ee ? -A[D] : -E[D], ve = t.elements.arrow, _ = u && ve ? $e(ve) : {
|
|
702
703
|
width: 0,
|
|
703
704
|
height: 0
|
|
704
|
-
}, 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 :
|
|
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 : oe + 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);
|
|
705
706
|
g[d] = Ne, k[d] = Ne - C;
|
|
706
707
|
}
|
|
707
708
|
if (a) {
|
|
708
709
|
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);
|
|
709
710
|
g[y] = Ye, k[y] = Ye - K;
|
|
710
711
|
}
|
|
711
|
-
t.modifiersData[
|
|
712
|
+
t.modifiersData[n] = k;
|
|
712
713
|
}
|
|
713
714
|
}
|
|
714
715
|
const Rr = {
|
|
@@ -728,50 +729,50 @@ function Ar(e) {
|
|
|
728
729
|
return e === W(e) || !H(e) ? Se(e) : Tr(e);
|
|
729
730
|
}
|
|
730
731
|
function jr(e) {
|
|
731
|
-
var t = e.getBoundingClientRect(), r = te(t.width) / e.offsetWidth || 1,
|
|
732
|
-
return r !== 1 ||
|
|
732
|
+
var t = e.getBoundingClientRect(), r = te(t.width) / e.offsetWidth || 1, n = te(t.height) / e.offsetHeight || 1;
|
|
733
|
+
return r !== 1 || n !== 1;
|
|
733
734
|
}
|
|
734
735
|
function Dr(e, t, r) {
|
|
735
736
|
r === void 0 && (r = !1);
|
|
736
|
-
var
|
|
737
|
+
var n = H(t), o = H(t) && jr(t), s = z(t), c = re(e, o, r), a = {
|
|
737
738
|
scrollLeft: 0,
|
|
738
739
|
scrollTop: 0
|
|
739
|
-
},
|
|
740
|
+
}, f = {
|
|
740
741
|
x: 0,
|
|
741
742
|
y: 0
|
|
742
743
|
};
|
|
743
|
-
return (
|
|
744
|
-
Le(s)) && (a = Ar(t)), H(t) ? (
|
|
745
|
-
x: c.left + a.scrollLeft -
|
|
746
|
-
y: c.top + a.scrollTop -
|
|
744
|
+
return (n || !n && !r) && ((q(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
745
|
+
Le(s)) && (a = Ar(t)), H(t) ? (f = re(t, !0), f.x += t.clientLeft, f.y += t.clientTop) : s && (f.x = We(s))), {
|
|
746
|
+
x: c.left + a.scrollLeft - f.x,
|
|
747
|
+
y: c.top + a.scrollTop - f.y,
|
|
747
748
|
width: c.width,
|
|
748
749
|
height: c.height
|
|
749
750
|
};
|
|
750
751
|
}
|
|
751
752
|
function Mr(e) {
|
|
752
|
-
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(),
|
|
753
|
+
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
753
754
|
e.forEach(function(s) {
|
|
754
755
|
t.set(s.name, s);
|
|
755
756
|
});
|
|
756
|
-
function
|
|
757
|
+
function o(s) {
|
|
757
758
|
r.add(s.name);
|
|
758
759
|
var c = [].concat(s.requires || [], s.requiresIfExists || []);
|
|
759
760
|
c.forEach(function(a) {
|
|
760
761
|
if (!r.has(a)) {
|
|
761
|
-
var
|
|
762
|
-
|
|
762
|
+
var f = t.get(a);
|
|
763
|
+
f && o(f);
|
|
763
764
|
}
|
|
764
|
-
}),
|
|
765
|
+
}), n.push(s);
|
|
765
766
|
}
|
|
766
767
|
return e.forEach(function(s) {
|
|
767
|
-
r.has(s.name) ||
|
|
768
|
-
}),
|
|
768
|
+
r.has(s.name) || o(s);
|
|
769
|
+
}), n;
|
|
769
770
|
}
|
|
770
771
|
function Cr(e) {
|
|
771
772
|
var t = Mr(e);
|
|
772
|
-
return qt.reduce(function(r,
|
|
773
|
-
return r.concat(t.filter(function(
|
|
774
|
-
return
|
|
773
|
+
return qt.reduce(function(r, n) {
|
|
774
|
+
return r.concat(t.filter(function(o) {
|
|
775
|
+
return o.phase === n;
|
|
775
776
|
}));
|
|
776
777
|
}, []);
|
|
777
778
|
}
|
|
@@ -786,55 +787,55 @@ function Br(e) {
|
|
|
786
787
|
};
|
|
787
788
|
}
|
|
788
789
|
function $r(e) {
|
|
789
|
-
var t = e.reduce(function(r,
|
|
790
|
-
var
|
|
791
|
-
return r[
|
|
792
|
-
options: Object.assign({},
|
|
793
|
-
data: Object.assign({},
|
|
794
|
-
}) :
|
|
790
|
+
var t = e.reduce(function(r, n) {
|
|
791
|
+
var o = r[n.name];
|
|
792
|
+
return r[n.name] = o ? Object.assign({}, o, n, {
|
|
793
|
+
options: Object.assign({}, o.options, n.options),
|
|
794
|
+
data: Object.assign({}, o.data, n.data)
|
|
795
|
+
}) : n, r;
|
|
795
796
|
}, {});
|
|
796
797
|
return Object.keys(t).map(function(r) {
|
|
797
798
|
return t[r];
|
|
798
799
|
});
|
|
799
800
|
}
|
|
800
|
-
var
|
|
801
|
+
var nt = {
|
|
801
802
|
placement: "bottom",
|
|
802
803
|
modifiers: [],
|
|
803
804
|
strategy: "absolute"
|
|
804
805
|
};
|
|
805
|
-
function
|
|
806
|
+
function ot() {
|
|
806
807
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
807
808
|
t[r] = arguments[r];
|
|
808
|
-
return !t.some(function(
|
|
809
|
-
return !(
|
|
809
|
+
return !t.some(function(n) {
|
|
810
|
+
return !(n && typeof n.getBoundingClientRect == "function");
|
|
810
811
|
});
|
|
811
812
|
}
|
|
812
813
|
function kr(e) {
|
|
813
814
|
e === void 0 && (e = {});
|
|
814
|
-
var t = e, r = t.defaultModifiers,
|
|
815
|
-
return function(a,
|
|
815
|
+
var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, s = o === void 0 ? nt : o;
|
|
816
|
+
return function(a, f, l) {
|
|
816
817
|
l === void 0 && (l = s);
|
|
817
|
-
var
|
|
818
|
+
var p = {
|
|
818
819
|
placement: "bottom",
|
|
819
820
|
orderedModifiers: [],
|
|
820
|
-
options: Object.assign({},
|
|
821
|
+
options: Object.assign({}, nt, s),
|
|
821
822
|
modifiersData: {},
|
|
822
823
|
elements: {
|
|
823
824
|
reference: a,
|
|
824
|
-
popper:
|
|
825
|
+
popper: f
|
|
825
826
|
},
|
|
826
827
|
attributes: {},
|
|
827
828
|
styles: {}
|
|
828
829
|
}, h = [], b = !1, u = {
|
|
829
|
-
state:
|
|
830
|
+
state: p,
|
|
830
831
|
setOptions: function(w) {
|
|
831
|
-
var P = typeof w == "function" ? w(
|
|
832
|
-
v(),
|
|
833
|
-
reference: Z(a) ?
|
|
834
|
-
popper:
|
|
832
|
+
var P = typeof w == "function" ? w(p.options) : w;
|
|
833
|
+
v(), p.options = Object.assign({}, s, p.options, P), p.scrollParents = {
|
|
834
|
+
reference: Z(a) ? fe(a) : a.contextElement ? fe(a.contextElement) : [],
|
|
835
|
+
popper: fe(f)
|
|
835
836
|
};
|
|
836
|
-
var O = Cr($r([].concat(
|
|
837
|
-
return
|
|
837
|
+
var O = Cr($r([].concat(n, p.options.modifiers)));
|
|
838
|
+
return p.orderedModifiers = O.filter(function(d) {
|
|
838
839
|
return d.enabled;
|
|
839
840
|
}), x(), u.update();
|
|
840
841
|
},
|
|
@@ -845,26 +846,26 @@ function kr(e) {
|
|
|
845
846
|
// prefer the async Popper#update method
|
|
846
847
|
forceUpdate: function() {
|
|
847
848
|
if (!b) {
|
|
848
|
-
var w =
|
|
849
|
-
if (
|
|
850
|
-
|
|
851
|
-
reference: Dr(P, ue(O),
|
|
849
|
+
var w = p.elements, P = w.reference, O = w.popper;
|
|
850
|
+
if (ot(P, O)) {
|
|
851
|
+
p.rects = {
|
|
852
|
+
reference: Dr(P, ue(O), p.options.strategy === "fixed"),
|
|
852
853
|
popper: $e(O)
|
|
853
|
-
},
|
|
854
|
-
return
|
|
854
|
+
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(T) {
|
|
855
|
+
return p.modifiersData[T.name] = Object.assign({}, T.data);
|
|
855
856
|
});
|
|
856
|
-
for (var d = 0; d <
|
|
857
|
-
if (
|
|
858
|
-
|
|
857
|
+
for (var d = 0; d < p.orderedModifiers.length; d++) {
|
|
858
|
+
if (p.reset === !0) {
|
|
859
|
+
p.reset = !1, d = -1;
|
|
859
860
|
continue;
|
|
860
861
|
}
|
|
861
|
-
var y =
|
|
862
|
-
typeof g == "function" && (
|
|
863
|
-
state:
|
|
862
|
+
var y = p.orderedModifiers[d], g = y.fn, E = y.options, A = E === void 0 ? {} : E, R = y.name;
|
|
863
|
+
typeof g == "function" && (p = g({
|
|
864
|
+
state: p,
|
|
864
865
|
options: A,
|
|
865
866
|
name: R,
|
|
866
867
|
instance: u
|
|
867
|
-
}) ||
|
|
868
|
+
}) || p);
|
|
868
869
|
}
|
|
869
870
|
}
|
|
870
871
|
}
|
|
@@ -873,24 +874,24 @@ function kr(e) {
|
|
|
873
874
|
// not necessary (debounced to run at most once-per-tick)
|
|
874
875
|
update: Br(function() {
|
|
875
876
|
return new Promise(function(m) {
|
|
876
|
-
u.forceUpdate(), m(
|
|
877
|
+
u.forceUpdate(), m(p);
|
|
877
878
|
});
|
|
878
879
|
}),
|
|
879
880
|
destroy: function() {
|
|
880
881
|
v(), b = !0;
|
|
881
882
|
}
|
|
882
883
|
};
|
|
883
|
-
if (!
|
|
884
|
+
if (!ot(a, f))
|
|
884
885
|
return u;
|
|
885
886
|
u.setOptions(l).then(function(m) {
|
|
886
887
|
!b && l.onFirstUpdate && l.onFirstUpdate(m);
|
|
887
888
|
});
|
|
888
889
|
function x() {
|
|
889
|
-
|
|
890
|
+
p.orderedModifiers.forEach(function(m) {
|
|
890
891
|
var w = m.name, P = m.options, O = P === void 0 ? {} : P, d = m.effect;
|
|
891
892
|
if (typeof d == "function") {
|
|
892
893
|
var y = d({
|
|
893
|
-
state:
|
|
894
|
+
state: p,
|
|
894
895
|
name: w,
|
|
895
896
|
instance: u,
|
|
896
897
|
options: O
|
|
@@ -908,7 +909,7 @@ function kr(e) {
|
|
|
908
909
|
return u;
|
|
909
910
|
};
|
|
910
911
|
}
|
|
911
|
-
var Sr = [
|
|
912
|
+
var Sr = [or, xr, rr, Xt, wr, mr, Rr, Zt, yr], Wr = /* @__PURE__ */ kr({
|
|
912
913
|
defaultModifiers: Sr
|
|
913
914
|
});
|
|
914
915
|
function Lr(e) {
|
|
@@ -949,14 +950,14 @@ const Vr = (e) => {
|
|
|
949
950
|
}, Lr, t);
|
|
950
951
|
}, Ur = {}, qr = /* @__PURE__ */ L.forwardRef(function(t, r) {
|
|
951
952
|
const {
|
|
952
|
-
anchorEl:
|
|
953
|
-
children:
|
|
953
|
+
anchorEl: n,
|
|
954
|
+
children: o,
|
|
954
955
|
direction: s,
|
|
955
956
|
disablePortal: c,
|
|
956
957
|
modifiers: a,
|
|
957
|
-
open:
|
|
958
|
+
open: f,
|
|
958
959
|
placement: l,
|
|
959
|
-
popperOptions:
|
|
960
|
+
popperOptions: p,
|
|
960
961
|
popperRef: h,
|
|
961
962
|
slotProps: b = {},
|
|
962
963
|
slots: u = {},
|
|
@@ -965,17 +966,17 @@ const Vr = (e) => {
|
|
|
965
966
|
ownerState: v,
|
|
966
967
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
967
968
|
...m
|
|
968
|
-
} = t, w = L.useRef(null), P =
|
|
969
|
-
|
|
969
|
+
} = t, w = L.useRef(null), P = Ge(w, r), O = L.useRef(null), d = Ge(O, h), y = L.useRef(d);
|
|
970
|
+
Je(() => {
|
|
970
971
|
y.current = d;
|
|
971
972
|
}, [d]), L.useImperativeHandle(h, () => O.current, []);
|
|
972
|
-
const g = Hr(l, s), [E, A] = L.useState(g), [R, T] = L.useState(xe(
|
|
973
|
+
const g = Hr(l, s), [E, A] = L.useState(g), [R, T] = L.useState(xe(n));
|
|
973
974
|
L.useEffect(() => {
|
|
974
975
|
O.current && O.current.forceUpdate();
|
|
975
976
|
}), L.useEffect(() => {
|
|
976
|
-
|
|
977
|
-
}, [
|
|
978
|
-
if (!R || !
|
|
977
|
+
n && T(xe(n));
|
|
978
|
+
}, [n]), Je(() => {
|
|
979
|
+
if (!R || !f)
|
|
979
980
|
return;
|
|
980
981
|
const F = (S) => {
|
|
981
982
|
A(S.placement);
|
|
@@ -1005,16 +1006,16 @@ const Vr = (e) => {
|
|
|
1005
1006
|
F(S);
|
|
1006
1007
|
}
|
|
1007
1008
|
}];
|
|
1008
|
-
a != null && (D = D.concat(a)),
|
|
1009
|
+
a != null && (D = D.concat(a)), p && p.modifiers != null && (D = D.concat(p.modifiers));
|
|
1009
1010
|
const C = Wr(R, w.current, {
|
|
1010
1011
|
placement: g,
|
|
1011
|
-
...
|
|
1012
|
+
...p,
|
|
1012
1013
|
modifiers: D
|
|
1013
1014
|
});
|
|
1014
1015
|
return y.current(C), () => {
|
|
1015
1016
|
C.destroy(), y.current(null);
|
|
1016
1017
|
};
|
|
1017
|
-
}, [R, c, a,
|
|
1018
|
+
}, [R, c, a, f, p, g]);
|
|
1018
1019
|
const j = {
|
|
1019
1020
|
placement: E
|
|
1020
1021
|
};
|
|
@@ -1032,18 +1033,18 @@ const Vr = (e) => {
|
|
|
1032
1033
|
});
|
|
1033
1034
|
return /* @__PURE__ */ be(M, {
|
|
1034
1035
|
...I,
|
|
1035
|
-
children: typeof
|
|
1036
|
+
children: typeof o == "function" ? o(j) : o
|
|
1036
1037
|
});
|
|
1037
1038
|
}), mt = /* @__PURE__ */ L.forwardRef(function(t, r) {
|
|
1038
1039
|
const {
|
|
1039
|
-
anchorEl:
|
|
1040
|
-
children:
|
|
1040
|
+
anchorEl: n,
|
|
1041
|
+
children: o,
|
|
1041
1042
|
container: s,
|
|
1042
1043
|
direction: c = "ltr",
|
|
1043
1044
|
disablePortal: a = !1,
|
|
1044
|
-
keepMounted:
|
|
1045
|
+
keepMounted: f = !1,
|
|
1045
1046
|
modifiers: l,
|
|
1046
|
-
open:
|
|
1047
|
+
open: p,
|
|
1047
1048
|
placement: h = "bottom",
|
|
1048
1049
|
popperOptions: b = Ur,
|
|
1049
1050
|
popperRef: u,
|
|
@@ -1057,17 +1058,17 @@ const Vr = (e) => {
|
|
|
1057
1058
|
}, g = () => {
|
|
1058
1059
|
d(!0);
|
|
1059
1060
|
};
|
|
1060
|
-
if (!
|
|
1061
|
+
if (!f && !p && (!v || O))
|
|
1061
1062
|
return null;
|
|
1062
1063
|
let E;
|
|
1063
1064
|
if (s)
|
|
1064
1065
|
E = s;
|
|
1065
|
-
else if (
|
|
1066
|
-
const T = xe(
|
|
1066
|
+
else if (n) {
|
|
1067
|
+
const T = xe(n);
|
|
1067
1068
|
E = T && Ee(T) ? ze(T).body : ze(null).body;
|
|
1068
1069
|
}
|
|
1069
|
-
const A = !
|
|
1070
|
-
in:
|
|
1070
|
+
const A = !p && f && (!v || O) ? "none" : void 0, R = v ? {
|
|
1071
|
+
in: p,
|
|
1071
1072
|
onEnter: y,
|
|
1072
1073
|
onExited: g
|
|
1073
1074
|
} : void 0;
|
|
@@ -1075,12 +1076,12 @@ const Vr = (e) => {
|
|
|
1075
1076
|
disablePortal: a,
|
|
1076
1077
|
container: E,
|
|
1077
1078
|
children: /* @__PURE__ */ be(qr, {
|
|
1078
|
-
anchorEl:
|
|
1079
|
+
anchorEl: n,
|
|
1079
1080
|
direction: c,
|
|
1080
1081
|
disablePortal: a,
|
|
1081
1082
|
modifiers: l,
|
|
1082
1083
|
ref: r,
|
|
1083
|
-
open: v ? !O :
|
|
1084
|
+
open: v ? !O : p,
|
|
1084
1085
|
placement: h,
|
|
1085
1086
|
popperOptions: b,
|
|
1086
1087
|
popperRef: u,
|
|
@@ -1097,7 +1098,7 @@ const Vr = (e) => {
|
|
|
1097
1098
|
...x
|
|
1098
1099
|
},
|
|
1099
1100
|
TransitionProps: R,
|
|
1100
|
-
children:
|
|
1101
|
+
children: o
|
|
1101
1102
|
})
|
|
1102
1103
|
});
|
|
1103
1104
|
});
|
|
@@ -1227,16 +1228,16 @@ const Ir = Dt(mt, {
|
|
|
1227
1228
|
slot: "Root",
|
|
1228
1229
|
overridesResolver: (e, t) => t.root
|
|
1229
1230
|
})({}), Fr = /* @__PURE__ */ L.forwardRef(function(t, r) {
|
|
1230
|
-
const
|
|
1231
|
+
const n = Pt(), o = Mt({
|
|
1231
1232
|
props: t,
|
|
1232
1233
|
name: "MuiPopper"
|
|
1233
1234
|
}), {
|
|
1234
1235
|
anchorEl: s,
|
|
1235
1236
|
component: c,
|
|
1236
1237
|
components: a,
|
|
1237
|
-
componentsProps:
|
|
1238
|
+
componentsProps: f,
|
|
1238
1239
|
container: l,
|
|
1239
|
-
disablePortal:
|
|
1240
|
+
disablePortal: p,
|
|
1240
1241
|
keepMounted: h,
|
|
1241
1242
|
modifiers: b,
|
|
1242
1243
|
open: u,
|
|
@@ -1247,10 +1248,10 @@ const Ir = Dt(mt, {
|
|
|
1247
1248
|
slots: P,
|
|
1248
1249
|
slotProps: O,
|
|
1249
1250
|
...d
|
|
1250
|
-
} =
|
|
1251
|
+
} = o, y = (P == null ? void 0 : P.root) ?? (a == null ? void 0 : a.Root), g = {
|
|
1251
1252
|
anchorEl: s,
|
|
1252
1253
|
container: l,
|
|
1253
|
-
disablePortal:
|
|
1254
|
+
disablePortal: p,
|
|
1254
1255
|
keepMounted: h,
|
|
1255
1256
|
modifiers: b,
|
|
1256
1257
|
open: u,
|
|
@@ -1262,11 +1263,11 @@ const Ir = Dt(mt, {
|
|
|
1262
1263
|
};
|
|
1263
1264
|
return /* @__PURE__ */ be(Ir, {
|
|
1264
1265
|
as: c,
|
|
1265
|
-
direction:
|
|
1266
|
+
direction: n ? "rtl" : "ltr",
|
|
1266
1267
|
slots: {
|
|
1267
1268
|
root: y
|
|
1268
1269
|
},
|
|
1269
|
-
slotProps: O ??
|
|
1270
|
+
slotProps: O ?? f,
|
|
1270
1271
|
...g,
|
|
1271
1272
|
ref: r
|
|
1272
1273
|
});
|