@cgi-learning-hub/ui 1.3.4-dev.1734425595 → 1.3.4-dev.1736158134
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-DqUdx8FP.cjs → Backdrop-CvufxHMY.cjs} +1 -1
- package/dist/{Backdrop-ZqzrnV2E.js → Backdrop-DcDd6WZF.js} +13 -13
- package/dist/{Box-DN_2fcm9.js → Box-Byz2BwGf.js} +10 -10
- package/dist/{Box-Be6jhcmK.cjs → Box-mP2Th61z.cjs} +1 -1
- package/dist/{Button-DWN9C3LK.cjs → Button-BH9MUvmz.cjs} +1 -1
- package/dist/{Button-BuXg1NVm.js → Button-BnNYfQ3E.js} +11 -11
- package/dist/{ButtonBase-CATwoZrn.cjs → ButtonBase-BXtyQVDC.cjs} +2 -2
- package/dist/{ButtonBase-B4zoCnjP.js → ButtonBase-DAWDecOk.js} +40 -40
- package/dist/{Card-DO4cAmNC.js → Card-AJG0TUOx.js} +3 -3
- package/dist/{Card-DsmqVSx1.cjs → Card-NqCXQteq.cjs} +1 -1
- package/dist/{Checkbox-CSvGcLhg.js → Checkbox-8Rhxpkjl.js} +21 -21
- package/dist/{Checkbox-AC2mmTnM.cjs → Checkbox-DYrDbdy1.cjs} +1 -1
- package/dist/{CircularProgress-BfbGcmHT.cjs → CircularProgress-BByrCLjv.cjs} +2 -2
- package/dist/{CircularProgress-C4xtwh4E.js → CircularProgress-Kwlef5fX.js} +4 -4
- package/dist/{DatePicker-BSISuO7V.cjs → DatePicker-7-4p3Vtj.cjs} +1 -1
- package/dist/{DatePicker-D1zlx4ZT.js → DatePicker-BS1OatwQ.js} +31 -31
- package/dist/{DefaultPropsProvider-DE-Tx_ov.cjs → DefaultPropsProvider-3KMGupjb.cjs} +3 -3
- package/dist/{DefaultPropsProvider-DUWovK-8.js → DefaultPropsProvider-CvJPQJmL.js} +16 -16
- package/dist/{Delete-DWXEW4-c.js → Delete-BkZN7Xu5.js} +1 -1
- package/dist/{Delete-CpADFuIX.cjs → Delete-D1EiKoL5.cjs} +1 -1
- package/dist/{Dialog-DPCCWdDJ.js → Dialog-D_lS4J_M.js} +8 -8
- package/dist/{Dialog-qbfcFmb5.cjs → Dialog-yOrNcHbG.cjs} +1 -1
- package/dist/{DialogContent-C8YTQP0Y.cjs → DialogContent-Dj_OjLZ6.cjs} +1 -1
- package/dist/{DialogContent-BD5Ba5iS.js → DialogContent-uc65XOEU.js} +23 -23
- package/dist/{DialogTitle-kTwRLVKr.cjs → DialogTitle-BboPDaoB.cjs} +1 -1
- package/dist/{DialogTitle-BeUT_vuo.js → DialogTitle-C8JOi-rq.js} +26 -26
- package/dist/{Divider-BjxxEFnr.cjs → Divider-CcrM3lNn.cjs} +1 -1
- package/dist/{Divider-HhF8ckeh.js → Divider-KO-E6nU8.js} +8 -8
- package/dist/{FormControlLabel-ZA6Gcb5F.cjs → FormControlLabel-Bb6Ul-qQ.cjs} +1 -1
- package/dist/{FormControlLabel-DYY-aErf.js → FormControlLabel-BmrKQtQA.js} +11 -11
- package/dist/{FormGroup-DIP4u-gv.js → FormGroup-CbczEc6e.js} +12 -12
- package/dist/{FormGroup-Ck7StJ6i.cjs → FormGroup-Y3P2AG0i.cjs} +1 -1
- package/dist/{FormLabel-X7FN1eBV.js → FormLabel-CfR4bb21.js} +4 -4
- package/dist/{FormLabel-Ch103TK-.cjs → FormLabel-D1uvEhsH.cjs} +2 -2
- package/dist/{Grow-nPgCOjxT.js → Grow-CQVPAYvp.js} +12 -12
- package/dist/{Grow-_nrtuAFM.cjs → Grow-CUBJs6WD.cjs} +1 -1
- package/dist/{IconButton-Dc15hVpw.cjs → IconButton-CJfzspZK.cjs} +1 -1
- package/dist/{IconButton-CNZSqcsf.js → IconButton-CekuyD4r.js} +9 -9
- package/dist/{InputAdornment-Cl2OaKlw.cjs → InputAdornment-Cq0WhPxF.cjs} +1 -1
- package/dist/{InputAdornment-B4hI0-Jz.js → InputAdornment-iU5YnveW.js} +12 -12
- package/dist/{InputBase-CUavnZkW.js → InputBase-BJy3wwFB.js} +7 -7
- package/dist/{InputBase-DH6V3gr0.cjs → InputBase-s1fk8TB4.cjs} +1 -1
- package/dist/{Link-AXhb0uJT.cjs → Link-CWczkFp0.cjs} +1 -1
- package/dist/{Link-Bdupo_fW.js → Link-CoQuUM0t.js} +7 -7
- package/dist/{Menu-CAFbvCnS.cjs → Menu-Bsx8PA-q.cjs} +6 -6
- package/dist/{Menu-DCJCI5_n.js → Menu-C7tKmcAh.js} +40 -40
- package/dist/{MenuItem-DnzYnth4.cjs → MenuItem-BZ_EVaBq.cjs} +1 -1
- package/dist/{MenuItem-CUIn-K59.js → MenuItem-j8luVUcX.js} +6 -6
- package/dist/{Modal-CZ2mXC6P.cjs → Modal-DImrEpYJ.cjs} +1 -1
- package/dist/{Modal-Bx7G18I1.js → Modal-brWBFdK7.js} +29 -29
- package/dist/{Paper-nlWPEgQh.js → Paper-BG4Vk_Um.js} +4 -4
- package/dist/{Paper-CH4BABUB.cjs → Paper-Cr56xkCr.cjs} +2 -2
- package/dist/{Popper--zvfAHhl.js → Popper-DFZ_gRev.js} +236 -236
- package/dist/{Popper-Lyb9lMD6.cjs → Popper-YT5WAMV-.cjs} +3 -3
- package/dist/Portal-DF0RKOcD.cjs +1 -0
- package/dist/{Portal-BxmIkVSh.js → Portal-JEwcozmp.js} +2 -2
- package/dist/{Radio-D52URzDN.cjs → Radio-CVAEGXKi.cjs} +1 -1
- package/dist/{Radio-6t3s52QR.js → Radio-DGhot3Cd.js} +12 -12
- package/dist/{Select-BODJlTuR.cjs → Select-CwAWNiiv.cjs} +1 -1
- package/dist/{Select-CiMmkNRd.js → Select-DmssuG5M.js} +11 -11
- package/dist/{Stack-C1i6_V9e.js → Stack-BzTJdRGj.js} +27 -27
- package/dist/Stack-Yq6rb7iK.cjs +1 -0
- package/dist/{SwitchBase-DXpLyhps.cjs → SwitchBase-DjIY_KWB.cjs} +1 -1
- package/dist/{SwitchBase-Ch-k9AK8.js → SwitchBase-Dlth5_F7.js} +24 -24
- package/dist/{TableSortLabel-D2EwX3Yg.js → TableSortLabel-BsgRD4k4.js} +683 -676
- package/dist/{TableSortLabel-CTxx0q1M.cjs → TableSortLabel-D0N3e3cP.cjs} +20 -20
- package/dist/{Tabs-CqlNuFEw.js → Tabs-CYbeTnJk.js} +329 -329
- package/dist/{Tabs-C9I_xaBN.cjs → Tabs-KG4VWw-1.cjs} +3 -3
- package/dist/{TextField-nCYJH1XF.cjs → TextField-BI9KVqjC.cjs} +1 -1
- package/dist/{TextField-jZpNiD3K.js → TextField-Cri5Gxa7.js} +8 -8
- package/dist/{Tooltip-B9q50v12.js → Tooltip-BhAHhzKz.js} +10 -10
- package/dist/{Tooltip-4SXCNvL7.cjs → Tooltip-DhDtvULK.cjs} +1 -1
- package/dist/{Typography-DWXYj92v.js → Typography-DBwTr_ix.js} +5 -5
- package/dist/{Typography-B6KFjCtE.cjs → Typography-DfRMDngd.cjs} +1 -1
- package/dist/{capitalize-DASFtB-F.cjs → capitalize-B3GG7Wn6.cjs} +1 -1
- package/dist/{capitalize-NmHVRYy8.js → capitalize-CkF8kU4n.js} +1 -1
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +6 -6
- 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 +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- 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 +79 -78
- 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 +4 -4
- 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.es.js +31 -31
- 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.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/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +65 -65
- 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-eUfAcV0x.cjs → createSvgIcon--rEClVU7.cjs} +1 -1
- package/dist/{createSvgIcon-CeuAoIMQ.js → createSvgIcon-C8nGcfF4.js} +4 -4
- package/dist/{dividerClasses-CSD96RzX.cjs → dividerClasses-CCAY3Pnr.cjs} +1 -1
- package/dist/{dividerClasses-DrJ5oIdP.js → dividerClasses-nh2-hkQB.js} +1 -1
- package/dist/{elementTypeAcceptingRef-HBfwF2vD.js → elementTypeAcceptingRef-D-5kcohU.js} +1 -1
- package/dist/{elementTypeAcceptingRef-Cz_FeG92.cjs → elementTypeAcceptingRef-DZsNbuLU.cjs} +1 -1
- package/dist/{extendSxProp-NjjUyYdB.js → extendSxProp-C2ff0oGc.js} +1 -1
- package/dist/{extendSxProp-Fr1MMO0I.cjs → extendSxProp-apyK-EBz.cjs} +1 -1
- package/dist/{fr-rmVQsNbI.js → fr-Bjufn3RW.js} +84 -84
- package/dist/{fr-ChrHtTbj.cjs → fr-JE-1WKP6.cjs} +1 -1
- package/dist/{generateUtilityClasses-DEQ18TAF.cjs → generateUtilityClasses-B_H9HEmg.cjs} +11 -11
- package/dist/{generateUtilityClasses--6MLb_cS.js → generateUtilityClasses-Bssl7BA_.js} +458 -462
- package/dist/index-Aa73Kpym.cjs +1 -0
- package/dist/{index-B4GmPutS.js → index-BCnPLuqJ.js} +22 -22
- package/dist/{index-CmEzEdk2.cjs → index-ChM1Ett8.cjs} +1 -1
- package/dist/index-Cw0GDedk.cjs +17 -0
- package/dist/{index-BGCIdIru.js → index-CwvpOCso.js} +1 -1
- package/dist/{index-XYfXmNqA.js → index-DXD5J5Eu.js} +37 -37
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +31 -31
- package/dist/{memoTheme-D99chbOP.cjs → memoTheme-Bdg0Y_2O.cjs} +1 -1
- package/dist/{memoTheme-o8RCKrNG.js → memoTheme-D7Fyh_3C.js} +1 -1
- package/dist/{mergeSlotProps-DSv3FKLb.cjs → mergeSlotProps-DuV-LTW7.cjs} +1 -1
- package/dist/{mergeSlotProps-KHPCviGJ.js → mergeSlotProps-tUJEcwVu.js} +1 -1
- package/dist/{refType-Db26p1ga.cjs → refType-CoaxQOPt.cjs} +1 -1
- package/dist/{refType-BB7-lBOH.js → refType-DKYKROQk.js} +1 -1
- package/dist/{useSlot-eWxwpnv1.js → useSlot-BTpHG6jf.js} +1 -1
- package/dist/{useSlot-DsW0udy9.cjs → useSlot-CByalpSD.cjs} +1 -1
- package/dist/{useSlotProps-C7zjg7t9.js → useSlotProps-B31YQlzb.js} +11 -11
- package/dist/useSlotProps-BVSAQTNl.cjs +1 -0
- package/dist/{useTheme-B1YEBlI0.cjs → useTheme-Cy5kyKJF.cjs} +1 -1
- package/dist/{useTheme-DFJNv-zn.cjs → useTheme-Dukx-__T.cjs} +1 -1
- package/dist/useTheme-DyaNKf4e.js +11 -0
- package/dist/{useTheme-D0ITn2Re.js → useTheme-_xyy-wul.js} +1 -1
- package/dist/{useThemeProps-DrCROxdY.js → useThemeProps-BySkSe-M.js} +2 -2
- package/dist/{useThemeProps-BwyYDczI.cjs → useThemeProps-CdV_QwDl.cjs} +1 -1
- package/dist/{useThemeProps-DsDeaP0E.js → useThemeProps-CwEQ4bv2.js} +3 -3
- package/dist/{useThemeProps-j-HQOOfB.cjs → useThemeProps-u_ESzK2f.cjs} +1 -1
- package/dist/{utils-70jLtOQP.js → utils-C6c4fj7D.js} +1 -1
- package/dist/{utils-DlWHEABQ.cjs → utils-vmyQ2IaS.cjs} +1 -1
- package/package.json +1 -1
- package/dist/Portal-DuvPvHEc.cjs +0 -1
- package/dist/Stack-DMNZvXss.cjs +0 -1
- package/dist/index-BoQHt8iN.cjs +0 -1
- package/dist/index-CRdsZkOC.cjs +0 -17
- package/dist/useSlotProps--FPRW1CI.cjs +0 -1
- package/dist/useTheme-BXzyKigM.js +0 -11
|
@@ -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-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 } from "./refType-
|
|
8
|
+
import { r as at } from "./refType-DKYKROQk.js";
|
|
9
9
|
import { u as Ge } from "./useForkRef-C_4o__cU.js";
|
|
10
10
|
import { u as Je } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
11
|
-
import { c as jt, s as Dt, u as Mt } from "./DefaultPropsProvider-
|
|
12
|
-
var B = "top", N = "bottom", V = "right", $ = "left", Ce = "auto", le = [B, N, V, $], ee = "start",
|
|
13
|
-
return e.concat([t + "-" + ee, t + "-" +
|
|
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]);
|
|
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 + "-" + pe]);
|
|
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 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];
|
|
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(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;
|
|
70
70
|
}, {});
|
|
71
|
-
!H(
|
|
72
|
-
|
|
71
|
+
!H(o) || !q(o) || (Object.assign(o.style, a), Object.keys(s).forEach(function(f) {
|
|
72
|
+
o.removeAttribute(f);
|
|
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 ft() {
|
|
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 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;
|
|
103
103
|
return {
|
|
104
104
|
width: h,
|
|
105
105
|
height: b,
|
|
106
|
-
top:
|
|
106
|
+
top: p,
|
|
107
107
|
right: l + h,
|
|
108
|
-
bottom:
|
|
108
|
+
bottom: p + b,
|
|
109
109
|
left: l,
|
|
110
110
|
x: l,
|
|
111
|
-
y:
|
|
111
|
+
y: p
|
|
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, n = e.offsetHeight;
|
|
116
|
+
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
|
|
117
117
|
x: e.offsetLeft,
|
|
118
118
|
y: e.offsetTop,
|
|
119
119
|
width: r,
|
|
120
|
-
height:
|
|
120
|
+
height: n
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function pt(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 n = t;
|
|
129
129
|
do {
|
|
130
|
-
if (
|
|
130
|
+
if (n && e.isSameNode(n))
|
|
131
131
|
return !0;
|
|
132
|
-
|
|
133
|
-
} while (
|
|
132
|
+
n = n.parentNode || n.host;
|
|
133
|
+
} while (n);
|
|
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 n = X(e);
|
|
169
|
+
if (n.position === "fixed")
|
|
170
170
|
return null;
|
|
171
171
|
}
|
|
172
|
-
var
|
|
173
|
-
for (Be(
|
|
174
|
-
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);
|
|
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 o;
|
|
177
|
+
o = o.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 n = se(e, t, r);
|
|
194
|
+
return n > r ? r : n;
|
|
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, n) {
|
|
209
|
+
return r[n] = 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, 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";
|
|
219
219
|
if (!(!s || !c)) {
|
|
220
|
-
var h = Jt(
|
|
221
|
-
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);
|
|
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, 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));
|
|
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 ne(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, n = e.y, o = t.devicePixelRatio || 1;
|
|
248
248
|
return {
|
|
249
|
-
x: te(r *
|
|
250
|
-
y: te(
|
|
249
|
+
x: te(r * o) / o || 0,
|
|
250
|
+
y: te(n * o) / o || 0
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
253
|
function Ze(e) {
|
|
254
|
-
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({
|
|
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, o === B || (o === $ || o === V) && s === pe) {
|
|
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 - n.height, v *= f ? 1 : -1;
|
|
272
272
|
}
|
|
273
|
-
if (
|
|
273
|
+
if (o === $ || (o === B || o === N) && s === pe) {
|
|
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 - n.width, u *= f ? 1 : -1;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
var j = Object.assign({
|
|
283
283
|
position: a
|
|
284
|
-
}, l && _t), k =
|
|
284
|
+
}, l && _t), k = p === !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, f) {
|
|
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, 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 = {
|
|
299
299
|
placement: U(t.placement),
|
|
300
|
-
variation:
|
|
300
|
+
variation: ne(t.placement),
|
|
301
301
|
popper: t.elements.popper,
|
|
302
302
|
popperRect: t.rects.popper,
|
|
303
|
-
gpuAcceleration:
|
|
303
|
+
gpuAcceleration: o,
|
|
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: f
|
|
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: f
|
|
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 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);
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
|
-
const
|
|
340
|
+
const or = {
|
|
341
341
|
name: "eventListeners",
|
|
342
342
|
enabled: !0,
|
|
343
343
|
phase: "write",
|
|
344
344
|
fn: function() {
|
|
345
345
|
},
|
|
346
|
-
effect:
|
|
346
|
+
effect: nr,
|
|
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, n = t.pageYOffset;
|
|
371
371
|
return {
|
|
372
372
|
scrollLeft: r,
|
|
373
|
-
scrollTop:
|
|
373
|
+
scrollTop: n
|
|
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), 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);
|
|
385
385
|
}
|
|
386
386
|
return {
|
|
387
387
|
width: s,
|
|
388
388
|
height: c,
|
|
389
389
|
x: a + We(e),
|
|
390
|
-
y:
|
|
390
|
+
y: f
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
|
-
function
|
|
394
|
-
var t, r = z(e),
|
|
395
|
-
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), {
|
|
396
396
|
width: s,
|
|
397
397
|
height: c,
|
|
398
398
|
x: a,
|
|
399
|
-
y:
|
|
399
|
+
y: f
|
|
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, n = t.overflowX, o = t.overflowY;
|
|
404
|
+
return /auto|scroll|overlay|hidden/.test(r + o + n);
|
|
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 fe(e, t) {
|
|
410
410
|
var r;
|
|
411
411
|
t === void 0 && (t = []);
|
|
412
|
-
var
|
|
413
|
-
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 : (
|
|
414
414
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
415
|
-
a.concat(
|
|
415
|
+
a.concat(fe(Pe(c)))
|
|
416
416
|
);
|
|
417
417
|
}
|
|
418
418
|
function Me(e) {
|
|
@@ -423,80 +423,80 @@ function Me(e) {
|
|
|
423
423
|
bottom: e.y + e.height
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function pr(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) ? pr(t, r) : Me(fr(z(e)));
|
|
432
432
|
}
|
|
433
433
|
function cr(e) {
|
|
434
|
-
var t =
|
|
435
|
-
return Z(
|
|
436
|
-
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";
|
|
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, 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));
|
|
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, 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) {
|
|
449
449
|
case B:
|
|
450
|
-
|
|
450
|
+
f = {
|
|
451
451
|
x: c,
|
|
452
452
|
y: t.y - r.height
|
|
453
453
|
};
|
|
454
454
|
break;
|
|
455
455
|
case N:
|
|
456
|
-
|
|
456
|
+
f = {
|
|
457
457
|
x: c,
|
|
458
458
|
y: t.y + t.height
|
|
459
459
|
};
|
|
460
460
|
break;
|
|
461
461
|
case V:
|
|
462
|
-
|
|
462
|
+
f = {
|
|
463
463
|
x: t.x + t.width,
|
|
464
464
|
y: a
|
|
465
465
|
};
|
|
466
466
|
break;
|
|
467
467
|
case $:
|
|
468
|
-
|
|
468
|
+
f = {
|
|
469
469
|
x: t.x - r.width,
|
|
470
470
|
y: a
|
|
471
471
|
};
|
|
472
472
|
break;
|
|
473
473
|
default:
|
|
474
|
-
|
|
474
|
+
f = {
|
|
475
475
|
x: t.x,
|
|
476
476
|
y: t.y
|
|
477
477
|
};
|
|
478
478
|
}
|
|
479
|
-
var l =
|
|
479
|
+
var l = o ? ke(o) : null;
|
|
480
480
|
if (l != null) {
|
|
481
|
-
var
|
|
481
|
+
var p = l === "y" ? "height" : "width";
|
|
482
482
|
switch (s) {
|
|
483
483
|
case ee:
|
|
484
|
-
|
|
484
|
+
f[l] = f[l] - (t[p] / 2 - r[p] / 2);
|
|
485
485
|
break;
|
|
486
|
-
case
|
|
487
|
-
|
|
486
|
+
case pe:
|
|
487
|
+
f[l] = f[l] + (t[p] / 2 - r[p] / 2);
|
|
488
488
|
break;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
return
|
|
491
|
+
return f;
|
|
492
492
|
}
|
|
493
493
|
function ce(e, t) {
|
|
494
494
|
t === void 0 && (t = {});
|
|
495
|
-
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({
|
|
496
496
|
reference: g,
|
|
497
497
|
element: O,
|
|
498
498
|
strategy: "absolute",
|
|
499
|
-
placement:
|
|
499
|
+
placement: o
|
|
500
500
|
}), A = Me(Object.assign({}, O, E)), R = b === ie ? A : g, T = {
|
|
501
501
|
top: y.top - R.top + w.top,
|
|
502
502
|
bottom: R.bottom - y.bottom + w.bottom,
|
|
@@ -504,7 +504,7 @@ function ce(e, t) {
|
|
|
504
504
|
right: R.right - y.right + w.right
|
|
505
505
|
}, j = e.modifiersData.offset;
|
|
506
506
|
if (b === ie && j) {
|
|
507
|
-
var k = j[
|
|
507
|
+
var k = j[o];
|
|
508
508
|
Object.keys(T).forEach(function(M) {
|
|
509
509
|
var I = [V, N].indexOf(M) >= 0 ? 1 : -1, F = [B, N].indexOf(M) >= 0 ? "y" : "x";
|
|
510
510
|
T[M] += k[F] * I;
|
|
@@ -514,8 +514,8 @@ function ce(e, t) {
|
|
|
514
514
|
}
|
|
515
515
|
function ur(e, t) {
|
|
516
516
|
t === void 0 && (t = {});
|
|
517
|
-
var r = t,
|
|
518
|
-
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;
|
|
519
519
|
}) : le, b = h.filter(function(x) {
|
|
520
520
|
return l.indexOf(x) >= 0;
|
|
521
521
|
});
|
|
@@ -523,7 +523,7 @@ function ur(e, t) {
|
|
|
523
523
|
var u = b.reduce(function(x, v) {
|
|
524
524
|
return x[v] = ce(e, {
|
|
525
525
|
placement: v,
|
|
526
|
-
boundary:
|
|
526
|
+
boundary: o,
|
|
527
527
|
rootBoundary: s,
|
|
528
528
|
padding: c
|
|
529
529
|
})[U(v)], x;
|
|
@@ -539,21 +539,21 @@ function dr(e) {
|
|
|
539
539
|
return [_e(e), t, _e(t)];
|
|
540
540
|
}
|
|
541
541
|
function vr(e) {
|
|
542
|
-
var t = e.state, r = e.options,
|
|
543
|
-
if (!t.modifiersData[
|
|
544
|
-
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) {
|
|
545
545
|
return _.concat(U(Y) === Ce ? ur(t, {
|
|
546
546
|
placement: Y,
|
|
547
|
-
boundary:
|
|
547
|
+
boundary: p,
|
|
548
548
|
rootBoundary: h,
|
|
549
549
|
padding: l,
|
|
550
550
|
flipVariations: x,
|
|
551
551
|
allowedAutoPlacements: v
|
|
552
552
|
}) : Y);
|
|
553
553
|
}, []), 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 =
|
|
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, {
|
|
555
555
|
placement: j,
|
|
556
|
-
boundary:
|
|
556
|
+
boundary: p,
|
|
557
557
|
rootBoundary: h,
|
|
558
558
|
altBoundary: b,
|
|
559
559
|
padding: l
|
|
@@ -579,11 +579,11 @@ function vr(e) {
|
|
|
579
579
|
});
|
|
580
580
|
if (ae)
|
|
581
581
|
return R = ae, "break";
|
|
582
|
-
},
|
|
583
|
-
var ve = Re(
|
|
582
|
+
}, oe = de; oe > 0; oe--) {
|
|
583
|
+
var ve = Re(oe);
|
|
584
584
|
if (ve === "break") break;
|
|
585
585
|
}
|
|
586
|
-
t.placement !== R && (t.modifiersData[
|
|
586
|
+
t.placement !== R && (t.modifiersData[n]._skip = !0, t.placement = R, t.reset = !0);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
const mr = {
|
|
@@ -613,18 +613,18 @@ function rt(e) {
|
|
|
613
613
|
});
|
|
614
614
|
}
|
|
615
615
|
function hr(e) {
|
|
616
|
-
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, {
|
|
617
617
|
elementContext: "reference"
|
|
618
618
|
}), a = ce(t, {
|
|
619
619
|
altBoundary: !0
|
|
620
|
-
}),
|
|
620
|
+
}), f = tt(c, n), l = tt(a, o, s), p = rt(f), h = rt(l);
|
|
621
621
|
t.modifiersData[r] = {
|
|
622
|
-
referenceClippingOffsets:
|
|
622
|
+
referenceClippingOffsets: f,
|
|
623
623
|
popperEscapeOffsets: l,
|
|
624
|
-
isReferenceHidden:
|
|
624
|
+
isReferenceHidden: p,
|
|
625
625
|
hasPopperEscaped: h
|
|
626
626
|
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
627
|
-
"data-popper-reference-hidden":
|
|
627
|
+
"data-popper-reference-hidden": p,
|
|
628
628
|
"data-popper-escaped": h
|
|
629
629
|
});
|
|
630
630
|
}
|
|
@@ -636,10 +636,10 @@ const yr = {
|
|
|
636
636
|
fn: hr
|
|
637
637
|
};
|
|
638
638
|
function gr(e, t, r) {
|
|
639
|
-
var
|
|
639
|
+
var n = U(e), o = [$, B].indexOf(n) >= 0 ? -1 : 1, s = typeof r == "function" ? r(Object.assign({}, t, {
|
|
640
640
|
placement: e
|
|
641
641
|
})) : r, c = s[0], a = s[1];
|
|
642
|
-
return c = c || 0, a = (a || 0) *
|
|
642
|
+
return c = c || 0, a = (a || 0) * o, [$, V].indexOf(n) >= 0 ? {
|
|
643
643
|
x: a,
|
|
644
644
|
y: c
|
|
645
645
|
} : {
|
|
@@ -648,10 +648,10 @@ function gr(e, t, r) {
|
|
|
648
648
|
};
|
|
649
649
|
}
|
|
650
650
|
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 +=
|
|
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;
|
|
655
655
|
}
|
|
656
656
|
const wr = {
|
|
657
657
|
name: "offset",
|
|
@@ -680,12 +680,12 @@ function Pr(e) {
|
|
|
680
680
|
return e === "x" ? "y" : "x";
|
|
681
681
|
}
|
|
682
682
|
function Er(e) {
|
|
683
|
-
var t = e.state, r = e.options,
|
|
684
|
-
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,
|
|
685
685
|
rootBoundary: l,
|
|
686
686
|
padding: h,
|
|
687
|
-
altBoundary:
|
|
688
|
-
}), 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, {
|
|
689
689
|
placement: t.placement
|
|
690
690
|
})) : v, T = typeof R == "number" ? {
|
|
691
691
|
mainAxis: R,
|
|
@@ -699,17 +699,17 @@ function Er(e) {
|
|
|
699
699
|
};
|
|
700
700
|
if (g) {
|
|
701
701
|
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],
|
|
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) : {
|
|
703
703
|
width: 0,
|
|
704
704
|
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 :
|
|
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);
|
|
706
706
|
g[d] = Ne, k[d] = Ne - C;
|
|
707
707
|
}
|
|
708
708
|
if (a) {
|
|
709
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);
|
|
710
710
|
g[y] = Ye, k[y] = Ye - K;
|
|
711
711
|
}
|
|
712
|
-
t.modifiersData[
|
|
712
|
+
t.modifiersData[n] = k;
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
715
|
const Rr = {
|
|
@@ -729,50 +729,50 @@ function Ar(e) {
|
|
|
729
729
|
return e === W(e) || !H(e) ? Se(e) : Tr(e);
|
|
730
730
|
}
|
|
731
731
|
function jr(e) {
|
|
732
|
-
var t = e.getBoundingClientRect(), r = te(t.width) / e.offsetWidth || 1,
|
|
733
|
-
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;
|
|
734
734
|
}
|
|
735
735
|
function Dr(e, t, r) {
|
|
736
736
|
r === void 0 && (r = !1);
|
|
737
|
-
var
|
|
737
|
+
var n = H(t), o = H(t) && jr(t), s = z(t), c = re(e, o, r), a = {
|
|
738
738
|
scrollLeft: 0,
|
|
739
739
|
scrollTop: 0
|
|
740
|
-
},
|
|
740
|
+
}, f = {
|
|
741
741
|
x: 0,
|
|
742
742
|
y: 0
|
|
743
743
|
};
|
|
744
|
-
return (
|
|
745
|
-
Le(s)) && (a = Ar(t)), H(t) ? (
|
|
746
|
-
x: c.left + a.scrollLeft -
|
|
747
|
-
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,
|
|
748
748
|
width: c.width,
|
|
749
749
|
height: c.height
|
|
750
750
|
};
|
|
751
751
|
}
|
|
752
752
|
function Mr(e) {
|
|
753
|
-
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(),
|
|
753
|
+
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
754
754
|
e.forEach(function(s) {
|
|
755
755
|
t.set(s.name, s);
|
|
756
756
|
});
|
|
757
|
-
function
|
|
757
|
+
function o(s) {
|
|
758
758
|
r.add(s.name);
|
|
759
759
|
var c = [].concat(s.requires || [], s.requiresIfExists || []);
|
|
760
760
|
c.forEach(function(a) {
|
|
761
761
|
if (!r.has(a)) {
|
|
762
|
-
var
|
|
763
|
-
|
|
762
|
+
var f = t.get(a);
|
|
763
|
+
f && o(f);
|
|
764
764
|
}
|
|
765
|
-
}),
|
|
765
|
+
}), n.push(s);
|
|
766
766
|
}
|
|
767
767
|
return e.forEach(function(s) {
|
|
768
|
-
r.has(s.name) ||
|
|
769
|
-
}),
|
|
768
|
+
r.has(s.name) || o(s);
|
|
769
|
+
}), n;
|
|
770
770
|
}
|
|
771
771
|
function Cr(e) {
|
|
772
772
|
var t = Mr(e);
|
|
773
|
-
return qt.reduce(function(r,
|
|
774
|
-
return r.concat(t.filter(function(
|
|
775
|
-
return
|
|
773
|
+
return qt.reduce(function(r, n) {
|
|
774
|
+
return r.concat(t.filter(function(o) {
|
|
775
|
+
return o.phase === n;
|
|
776
776
|
}));
|
|
777
777
|
}, []);
|
|
778
778
|
}
|
|
@@ -787,55 +787,55 @@ function Br(e) {
|
|
|
787
787
|
};
|
|
788
788
|
}
|
|
789
789
|
function $r(e) {
|
|
790
|
-
var t = e.reduce(function(r,
|
|
791
|
-
var
|
|
792
|
-
return r[
|
|
793
|
-
options: Object.assign({},
|
|
794
|
-
data: Object.assign({},
|
|
795
|
-
}) :
|
|
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;
|
|
796
796
|
}, {});
|
|
797
797
|
return Object.keys(t).map(function(r) {
|
|
798
798
|
return t[r];
|
|
799
799
|
});
|
|
800
800
|
}
|
|
801
|
-
var
|
|
801
|
+
var nt = {
|
|
802
802
|
placement: "bottom",
|
|
803
803
|
modifiers: [],
|
|
804
804
|
strategy: "absolute"
|
|
805
805
|
};
|
|
806
|
-
function
|
|
806
|
+
function ot() {
|
|
807
807
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
808
808
|
t[r] = arguments[r];
|
|
809
|
-
return !t.some(function(
|
|
810
|
-
return !(
|
|
809
|
+
return !t.some(function(n) {
|
|
810
|
+
return !(n && typeof n.getBoundingClientRect == "function");
|
|
811
811
|
});
|
|
812
812
|
}
|
|
813
813
|
function kr(e) {
|
|
814
814
|
e === void 0 && (e = {});
|
|
815
|
-
var t = e, r = t.defaultModifiers,
|
|
816
|
-
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) {
|
|
817
817
|
l === void 0 && (l = s);
|
|
818
|
-
var
|
|
818
|
+
var p = {
|
|
819
819
|
placement: "bottom",
|
|
820
820
|
orderedModifiers: [],
|
|
821
|
-
options: Object.assign({},
|
|
821
|
+
options: Object.assign({}, nt, s),
|
|
822
822
|
modifiersData: {},
|
|
823
823
|
elements: {
|
|
824
824
|
reference: a,
|
|
825
|
-
popper:
|
|
825
|
+
popper: f
|
|
826
826
|
},
|
|
827
827
|
attributes: {},
|
|
828
828
|
styles: {}
|
|
829
829
|
}, h = [], b = !1, u = {
|
|
830
|
-
state:
|
|
830
|
+
state: p,
|
|
831
831
|
setOptions: function(w) {
|
|
832
|
-
var P = typeof w == "function" ? w(
|
|
833
|
-
v(),
|
|
834
|
-
reference: Z(a) ?
|
|
835
|
-
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)
|
|
836
836
|
};
|
|
837
|
-
var O = Cr($r([].concat(
|
|
838
|
-
return
|
|
837
|
+
var O = Cr($r([].concat(n, p.options.modifiers)));
|
|
838
|
+
return p.orderedModifiers = O.filter(function(d) {
|
|
839
839
|
return d.enabled;
|
|
840
840
|
}), x(), u.update();
|
|
841
841
|
},
|
|
@@ -846,26 +846,26 @@ function kr(e) {
|
|
|
846
846
|
// prefer the async Popper#update method
|
|
847
847
|
forceUpdate: function() {
|
|
848
848
|
if (!b) {
|
|
849
|
-
var w =
|
|
850
|
-
if (
|
|
851
|
-
|
|
852
|
-
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"),
|
|
853
853
|
popper: $e(O)
|
|
854
|
-
},
|
|
855
|
-
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);
|
|
856
856
|
});
|
|
857
|
-
for (var d = 0; d <
|
|
858
|
-
if (
|
|
859
|
-
|
|
857
|
+
for (var d = 0; d < p.orderedModifiers.length; d++) {
|
|
858
|
+
if (p.reset === !0) {
|
|
859
|
+
p.reset = !1, d = -1;
|
|
860
860
|
continue;
|
|
861
861
|
}
|
|
862
|
-
var y =
|
|
863
|
-
typeof g == "function" && (
|
|
864
|
-
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,
|
|
865
865
|
options: A,
|
|
866
866
|
name: R,
|
|
867
867
|
instance: u
|
|
868
|
-
}) ||
|
|
868
|
+
}) || p);
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
}
|
|
@@ -874,24 +874,24 @@ function kr(e) {
|
|
|
874
874
|
// not necessary (debounced to run at most once-per-tick)
|
|
875
875
|
update: Br(function() {
|
|
876
876
|
return new Promise(function(m) {
|
|
877
|
-
u.forceUpdate(), m(
|
|
877
|
+
u.forceUpdate(), m(p);
|
|
878
878
|
});
|
|
879
879
|
}),
|
|
880
880
|
destroy: function() {
|
|
881
881
|
v(), b = !0;
|
|
882
882
|
}
|
|
883
883
|
};
|
|
884
|
-
if (!
|
|
884
|
+
if (!ot(a, f))
|
|
885
885
|
return u;
|
|
886
886
|
u.setOptions(l).then(function(m) {
|
|
887
887
|
!b && l.onFirstUpdate && l.onFirstUpdate(m);
|
|
888
888
|
});
|
|
889
889
|
function x() {
|
|
890
|
-
|
|
890
|
+
p.orderedModifiers.forEach(function(m) {
|
|
891
891
|
var w = m.name, P = m.options, O = P === void 0 ? {} : P, d = m.effect;
|
|
892
892
|
if (typeof d == "function") {
|
|
893
893
|
var y = d({
|
|
894
|
-
state:
|
|
894
|
+
state: p,
|
|
895
895
|
name: w,
|
|
896
896
|
instance: u,
|
|
897
897
|
options: O
|
|
@@ -909,7 +909,7 @@ function kr(e) {
|
|
|
909
909
|
return u;
|
|
910
910
|
};
|
|
911
911
|
}
|
|
912
|
-
var Sr = [
|
|
912
|
+
var Sr = [or, xr, rr, Xt, wr, mr, Rr, Zt, yr], Wr = /* @__PURE__ */ kr({
|
|
913
913
|
defaultModifiers: Sr
|
|
914
914
|
});
|
|
915
915
|
function Lr(e) {
|
|
@@ -950,14 +950,14 @@ const Vr = (e) => {
|
|
|
950
950
|
}, Lr, t);
|
|
951
951
|
}, Ur = {}, qr = /* @__PURE__ */ L.forwardRef(function(t, r) {
|
|
952
952
|
const {
|
|
953
|
-
anchorEl:
|
|
954
|
-
children:
|
|
953
|
+
anchorEl: n,
|
|
954
|
+
children: o,
|
|
955
955
|
direction: s,
|
|
956
956
|
disablePortal: c,
|
|
957
957
|
modifiers: a,
|
|
958
|
-
open:
|
|
958
|
+
open: f,
|
|
959
959
|
placement: l,
|
|
960
|
-
popperOptions:
|
|
960
|
+
popperOptions: p,
|
|
961
961
|
popperRef: h,
|
|
962
962
|
slotProps: b = {},
|
|
963
963
|
slots: u = {},
|
|
@@ -970,13 +970,13 @@ const Vr = (e) => {
|
|
|
970
970
|
Je(() => {
|
|
971
971
|
y.current = d;
|
|
972
972
|
}, [d]), L.useImperativeHandle(h, () => O.current, []);
|
|
973
|
-
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));
|
|
974
974
|
L.useEffect(() => {
|
|
975
975
|
O.current && O.current.forceUpdate();
|
|
976
976
|
}), L.useEffect(() => {
|
|
977
|
-
|
|
978
|
-
}, [
|
|
979
|
-
if (!R || !
|
|
977
|
+
n && T(xe(n));
|
|
978
|
+
}, [n]), Je(() => {
|
|
979
|
+
if (!R || !f)
|
|
980
980
|
return;
|
|
981
981
|
const F = (S) => {
|
|
982
982
|
A(S.placement);
|
|
@@ -1006,16 +1006,16 @@ const Vr = (e) => {
|
|
|
1006
1006
|
F(S);
|
|
1007
1007
|
}
|
|
1008
1008
|
}];
|
|
1009
|
-
a != null && (D = D.concat(a)),
|
|
1009
|
+
a != null && (D = D.concat(a)), p && p.modifiers != null && (D = D.concat(p.modifiers));
|
|
1010
1010
|
const C = Wr(R, w.current, {
|
|
1011
1011
|
placement: g,
|
|
1012
|
-
...
|
|
1012
|
+
...p,
|
|
1013
1013
|
modifiers: D
|
|
1014
1014
|
});
|
|
1015
1015
|
return y.current(C), () => {
|
|
1016
1016
|
C.destroy(), y.current(null);
|
|
1017
1017
|
};
|
|
1018
|
-
}, [R, c, a,
|
|
1018
|
+
}, [R, c, a, f, p, g]);
|
|
1019
1019
|
const j = {
|
|
1020
1020
|
placement: E
|
|
1021
1021
|
};
|
|
@@ -1033,18 +1033,18 @@ const Vr = (e) => {
|
|
|
1033
1033
|
});
|
|
1034
1034
|
return /* @__PURE__ */ be(M, {
|
|
1035
1035
|
...I,
|
|
1036
|
-
children: typeof
|
|
1036
|
+
children: typeof o == "function" ? o(j) : o
|
|
1037
1037
|
});
|
|
1038
1038
|
}), mt = /* @__PURE__ */ L.forwardRef(function(t, r) {
|
|
1039
1039
|
const {
|
|
1040
|
-
anchorEl:
|
|
1041
|
-
children:
|
|
1040
|
+
anchorEl: n,
|
|
1041
|
+
children: o,
|
|
1042
1042
|
container: s,
|
|
1043
1043
|
direction: c = "ltr",
|
|
1044
1044
|
disablePortal: a = !1,
|
|
1045
|
-
keepMounted:
|
|
1045
|
+
keepMounted: f = !1,
|
|
1046
1046
|
modifiers: l,
|
|
1047
|
-
open:
|
|
1047
|
+
open: p,
|
|
1048
1048
|
placement: h = "bottom",
|
|
1049
1049
|
popperOptions: b = Ur,
|
|
1050
1050
|
popperRef: u,
|
|
@@ -1058,17 +1058,17 @@ const Vr = (e) => {
|
|
|
1058
1058
|
}, g = () => {
|
|
1059
1059
|
d(!0);
|
|
1060
1060
|
};
|
|
1061
|
-
if (!
|
|
1061
|
+
if (!f && !p && (!v || O))
|
|
1062
1062
|
return null;
|
|
1063
1063
|
let E;
|
|
1064
1064
|
if (s)
|
|
1065
1065
|
E = s;
|
|
1066
|
-
else if (
|
|
1067
|
-
const T = xe(
|
|
1066
|
+
else if (n) {
|
|
1067
|
+
const T = xe(n);
|
|
1068
1068
|
E = T && Ee(T) ? ze(T).body : ze(null).body;
|
|
1069
1069
|
}
|
|
1070
|
-
const A = !
|
|
1071
|
-
in:
|
|
1070
|
+
const A = !p && f && (!v || O) ? "none" : void 0, R = v ? {
|
|
1071
|
+
in: p,
|
|
1072
1072
|
onEnter: y,
|
|
1073
1073
|
onExited: g
|
|
1074
1074
|
} : void 0;
|
|
@@ -1076,12 +1076,12 @@ const Vr = (e) => {
|
|
|
1076
1076
|
disablePortal: a,
|
|
1077
1077
|
container: E,
|
|
1078
1078
|
children: /* @__PURE__ */ be(qr, {
|
|
1079
|
-
anchorEl:
|
|
1079
|
+
anchorEl: n,
|
|
1080
1080
|
direction: c,
|
|
1081
1081
|
disablePortal: a,
|
|
1082
1082
|
modifiers: l,
|
|
1083
1083
|
ref: r,
|
|
1084
|
-
open: v ? !O :
|
|
1084
|
+
open: v ? !O : p,
|
|
1085
1085
|
placement: h,
|
|
1086
1086
|
popperOptions: b,
|
|
1087
1087
|
popperRef: u,
|
|
@@ -1098,7 +1098,7 @@ const Vr = (e) => {
|
|
|
1098
1098
|
...x
|
|
1099
1099
|
},
|
|
1100
1100
|
TransitionProps: R,
|
|
1101
|
-
children:
|
|
1101
|
+
children: o
|
|
1102
1102
|
})
|
|
1103
1103
|
});
|
|
1104
1104
|
});
|
|
@@ -1228,16 +1228,16 @@ const Ir = Dt(mt, {
|
|
|
1228
1228
|
slot: "Root",
|
|
1229
1229
|
overridesResolver: (e, t) => t.root
|
|
1230
1230
|
})({}), Fr = /* @__PURE__ */ L.forwardRef(function(t, r) {
|
|
1231
|
-
const
|
|
1231
|
+
const n = Pt(), o = Mt({
|
|
1232
1232
|
props: t,
|
|
1233
1233
|
name: "MuiPopper"
|
|
1234
1234
|
}), {
|
|
1235
1235
|
anchorEl: s,
|
|
1236
1236
|
component: c,
|
|
1237
1237
|
components: a,
|
|
1238
|
-
componentsProps:
|
|
1238
|
+
componentsProps: f,
|
|
1239
1239
|
container: l,
|
|
1240
|
-
disablePortal:
|
|
1240
|
+
disablePortal: p,
|
|
1241
1241
|
keepMounted: h,
|
|
1242
1242
|
modifiers: b,
|
|
1243
1243
|
open: u,
|
|
@@ -1248,10 +1248,10 @@ const Ir = Dt(mt, {
|
|
|
1248
1248
|
slots: P,
|
|
1249
1249
|
slotProps: O,
|
|
1250
1250
|
...d
|
|
1251
|
-
} =
|
|
1251
|
+
} = o, y = (P == null ? void 0 : P.root) ?? (a == null ? void 0 : a.Root), g = {
|
|
1252
1252
|
anchorEl: s,
|
|
1253
1253
|
container: l,
|
|
1254
|
-
disablePortal:
|
|
1254
|
+
disablePortal: p,
|
|
1255
1255
|
keepMounted: h,
|
|
1256
1256
|
modifiers: b,
|
|
1257
1257
|
open: u,
|
|
@@ -1263,11 +1263,11 @@ const Ir = Dt(mt, {
|
|
|
1263
1263
|
};
|
|
1264
1264
|
return /* @__PURE__ */ be(Ir, {
|
|
1265
1265
|
as: c,
|
|
1266
|
-
direction:
|
|
1266
|
+
direction: n ? "rtl" : "ltr",
|
|
1267
1267
|
slots: {
|
|
1268
1268
|
root: y
|
|
1269
1269
|
},
|
|
1270
|
-
slotProps: O ??
|
|
1270
|
+
slotProps: O ?? f,
|
|
1271
1271
|
...g,
|
|
1272
1272
|
ref: r
|
|
1273
1273
|
});
|