everest-npm-features 0.0.61 → 0.0.62

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.
Files changed (229) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
  11. package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
  12. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  13. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
  14. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
  15. package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
  16. package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
  17. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  18. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  20. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
  21. package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
  24. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
  25. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
  26. package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
  27. package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
  28. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
  29. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  30. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  31. package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
  32. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  33. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  34. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  35. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  36. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  37. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  38. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  39. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  40. package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
  41. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
  42. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
  43. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  44. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  45. package/dist/components/RocketRamp/Transactions/index.js +22 -23
  46. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  47. package/dist/components/Shared/FullKyc/edd.js +50 -52
  48. package/dist/components/Shared/FullKyc/index.js +11 -9
  49. package/dist/components/Shared/FullKyc/pep.js +35 -43
  50. package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
  51. package/dist/components/Shared/FullKyc/userInfo.js +6 -11
  52. package/dist/components/Shared/HistoryItem/index.js +43 -48
  53. package/dist/components/Shared/Incode/index.js +31 -35
  54. package/dist/components/Shared/MinimalKyc/index.js +59 -64
  55. package/dist/components/Shared/Sumsub/index.js +74 -61
  56. package/dist/components/Shared/loader.js +4 -5
  57. package/dist/components/Shared/tooltip.js +2 -2
  58. package/dist/components/Shared/transition.js +4 -4
  59. package/dist/components/Wallet/Account/createIban.js +34 -37
  60. package/dist/components/Wallet/Account/eWallet.js +35 -39
  61. package/dist/components/Wallet/Account/iban.js +49 -53
  62. package/dist/components/Wallet/Account/ibanItem.js +68 -73
  63. package/dist/components/Wallet/Account/index.js +66 -73
  64. package/dist/components/Wallet/Account/sendIban.js +79 -88
  65. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
  66. package/dist/components/Wallet/Buy/form.js +6 -16
  67. package/dist/components/Wallet/Buy/index.js +2 -2
  68. package/dist/components/Wallet/Deposit/index.js +15 -17
  69. package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
  70. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  71. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  72. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  73. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  74. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
  77. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  78. package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
  79. package/dist/components/Wallet/History/index.js +22 -796
  80. package/dist/components/Wallet/Home/index.js +13 -14
  81. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
  82. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  83. package/dist/components/Wallet/Portfolio/index.js +47 -50
  84. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  85. package/dist/components/Wallet/Profile/documents.js +125 -134
  86. package/dist/components/Wallet/Profile/index.js +37 -42
  87. package/dist/components/Wallet/Profile/storage.js +39 -47
  88. package/dist/components/Wallet/Receive/index.js +31 -36
  89. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
  90. package/dist/components/Wallet/Sell/form.js +6 -16
  91. package/dist/components/Wallet/Sell/index.js +2 -2
  92. package/dist/components/Wallet/Send/index.js +98 -107
  93. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  94. package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
  95. package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
  96. package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
  97. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  98. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  99. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  100. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  101. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  102. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  103. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  104. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  105. package/dist/components/Wallet/Shared/addBank.js +40 -44
  106. package/dist/components/Wallet/Shared/appButton.js +11 -15
  107. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  108. package/dist/components/Wallet/Shared/button.js +7 -7
  109. package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
  110. package/dist/components/Wallet/Shared/inputField.js +5 -5
  111. package/dist/components/Wallet/Shared/manualSend.js +7 -11
  112. package/dist/components/Wallet/Shared/noData.js +4 -5
  113. package/dist/components/Wallet/Shared/pin.js +25 -27
  114. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  115. package/dist/components/Wallet/Shared/step.js +12 -13
  116. package/dist/components/Wallet/Shared/timer.js +1 -1
  117. package/dist/components/Wallet/SignIn/index.js +16 -16
  118. package/dist/components/Wallet/SignUp/index.js +62 -152
  119. package/dist/components/Wallet/SignUp/terms.js +1 -1
  120. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  121. package/dist/components/Wallet/Stake/id/index.js +73 -81
  122. package/dist/components/Wallet/Stake/index.js +64 -67
  123. package/dist/components/Wallet/Swap/form.js +8 -17
  124. package/dist/components/Wallet/Swap/index.js +2 -2
  125. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  126. package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
  127. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
  128. package/dist/components/Wallet/Withdraw/form.js +4 -15
  129. package/dist/components/Wallet/Withdraw/index.js +2 -2
  130. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  131. package/dist/hoc/withThemeProvider.js +5 -732
  132. package/dist/hooks/useDialog/index.js +22 -23
  133. package/dist/hooks/useRrDialog/index.js +43 -46
  134. package/dist/hooks/useSnackBar.js +24 -696
  135. package/dist/icons/buyIcon.js +1 -1
  136. package/dist/icons/canceledBuyIcon.js +1 -1
  137. package/dist/icons/canceledRedeemIcon.js +1 -1
  138. package/dist/icons/failedBuyIcon.js +2 -2
  139. package/dist/icons/failedRedeemIcon.js +2 -2
  140. package/dist/icons/pendingBuyIcon.js +1 -1
  141. package/dist/icons/pendingRedeemIcon.js +1 -1
  142. package/dist/icons/redeemIcon.js +1 -1
  143. package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
  144. package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
  145. package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
  146. package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
  147. package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
  148. package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
  149. package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
  150. package/dist/main.js +7 -7
  151. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  152. package/dist/otpForm-fiNqeB5H.js +7378 -0
  153. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  154. package/dist/tooltip-BW0UyWw7.js +2129 -0
  155. package/package.json +6 -6
  156. package/dist/Alert-DzsbFW3-.js +0 -369
  157. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  158. package/dist/Avatar-1XklXr4O.js +0 -281
  159. package/dist/Backdrop-CioURPVG.js +0 -359
  160. package/dist/Box-B0YSYLco.js +0 -59
  161. package/dist/Button-Df4vgU24.js +0 -663
  162. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  163. package/dist/CardContent-D9wTdpu-.js +0 -141
  164. package/dist/CircularProgress-xZA3lvba.js +0 -252
  165. package/dist/Close-CxzDL3J-.js +0 -9
  166. package/dist/Container-urNKV7hm.js +0 -181
  167. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  168. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  169. package/dist/DialogContent-BMwlOnbW.js +0 -567
  170. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  171. package/dist/Divider-BShhMFf4.js +0 -297
  172. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  173. package/dist/FormControl-RtZDQMdA.js +0 -258
  174. package/dist/FormControlLabel-BliKW48y.js +0 -519
  175. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  176. package/dist/Grid-CFe3amXO.js +0 -410
  177. package/dist/Grow-CnGtel3u.js +0 -196
  178. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  179. package/dist/IconButton-DHm-hucF.js +0 -297
  180. package/dist/InputAdornment-DMiED3JH.js +0 -173
  181. package/dist/Link-DBA9Yifs.js +0 -266
  182. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  183. package/dist/Menu-DLYFFrEk.js +0 -1239
  184. package/dist/MenuItem-DUdYOJr4.js +0 -271
  185. package/dist/Modal-CFIQ_s3T.js +0 -743
  186. package/dist/Paper-Bgt2WXI6.js +0 -186
  187. package/dist/Popper-BBAoiZKn.js +0 -1409
  188. package/dist/Portal-BMAxiQwe.js +0 -69
  189. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  190. package/dist/Select-CB5yWmyn.js +0 -1886
  191. package/dist/Slide-B9Nw0LZ4.js +0 -235
  192. package/dist/Stack-k55YTxET.js +0 -172
  193. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  194. package/dist/TextField-DPpRUQe3.js +0 -978
  195. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  196. package/dist/Typography-pAaje37G.js +0 -260
  197. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  198. package/dist/clsx-BTaloaeC.js +0 -264
  199. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  200. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  201. package/dist/createTheme-CD19zQB7.js +0 -3825
  202. package/dist/debounce-46wSf_lW.js +0 -15
  203. package/dist/defaultTheme-C35y5cLB.js +0 -5
  204. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  205. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  206. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  207. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  208. package/dist/exactProp-C1Lmtwf_.js +0 -13
  209. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  210. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  211. package/dist/index-B0Z-Gjno.js +0 -22
  212. package/dist/index-DUcLo3x5.js +0 -43
  213. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  214. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  215. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  216. package/dist/memoTheme-yHaPezod.js +0 -15
  217. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  218. package/dist/radioButton-CzlYB0Lh.js +0 -402
  219. package/dist/refType-BsTH3qnM.js +0 -56
  220. package/dist/tooltip-3UvETWtS.js +0 -740
  221. package/dist/useControlled-nm4pBabJ.js +0 -31
  222. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  223. package/dist/useFormControl-CatNKXAi.js +0 -10
  224. package/dist/useId-CK6Kn3Tn.js +0 -21
  225. package/dist/useSlot-CW7SOYlh.js +0 -125
  226. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  227. package/dist/useTheme-BQJ5lp0i.js +0 -11
  228. package/dist/useTheme-S5_DHFsQ.js +0 -17
  229. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,1409 +0,0 @@
1
- import { u as xt } from "./index-B0Z-Gjno.js";
2
- import { g as Pt, P as i } from "./createTheme-CD19zQB7.js";
3
- import * as L from "react";
4
- import { g as Et } from "./generateUtilityClasses-BRiE4Guh.js";
5
- import { jsx as be } from "react/jsx-runtime";
6
- import { o as ze, H as we } from "./HTMLElementType-BrQSV2FE.js";
7
- import { P as Rt } from "./Portal-BMAxiQwe.js";
8
- import { c as Tt } from "./chainPropTypes-D9lkm76m.js";
9
- import { r as at } from "./refType-BsTH3qnM.js";
10
- import { u as Ge } from "./TransitionGroupContext-CYRQkQ6k.js";
11
- import { u as Je } from "./useEnhancedEffect-CJGo-L3B.js";
12
- import { u as At } from "./useSlotProps-BfEOwJvJ.js";
13
- import { c as jt, s as Dt, u as Mt } from "./DefaultPropsProvider-oAu9El-f.js";
14
- var B = "top", N = "bottom", V = "right", $ = "left", Ce = "auto", le = [B, N, V, $], ee = "start", fe = "end", Ct = "clippingParents", it = "viewport", ie = "popper", Bt = "reference", Ke = /* @__PURE__ */ le.reduce(function(e, t) {
15
- return e.concat([t + "-" + ee, t + "-" + fe]);
16
- }, []), st = /* @__PURE__ */ [].concat(le, [Ce]).reduce(function(e, t) {
17
- return e.concat([t, t + "-" + ee, t + "-" + fe]);
18
- }, []), $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];
19
- function q(e) {
20
- return e ? (e.nodeName || "").toLowerCase() : null;
21
- }
22
- function W(e) {
23
- if (e == null)
24
- return window;
25
- if (e.toString() !== "[object Window]") {
26
- var t = e.ownerDocument;
27
- return t && t.defaultView || window;
28
- }
29
- return e;
30
- }
31
- function Z(e) {
32
- var t = W(e).Element;
33
- return e instanceof t || e instanceof Element;
34
- }
35
- function H(e) {
36
- var t = W(e).HTMLElement;
37
- return e instanceof t || e instanceof HTMLElement;
38
- }
39
- function Be(e) {
40
- if (typeof ShadowRoot > "u")
41
- return !1;
42
- var t = W(e).ShadowRoot;
43
- return e instanceof t || e instanceof ShadowRoot;
44
- }
45
- function Ft(e) {
46
- var t = e.state;
47
- Object.keys(t.elements).forEach(function(r) {
48
- var o = t.styles[r] || {}, n = t.attributes[r] || {}, s = t.elements[r];
49
- !H(s) || !q(s) || (Object.assign(s.style, o), Object.keys(n).forEach(function(c) {
50
- var a = n[c];
51
- a === !1 ? s.removeAttribute(c) : s.setAttribute(c, a === !0 ? "" : a);
52
- }));
53
- });
54
- }
55
- function It(e) {
56
- var t = e.state, r = {
57
- popper: {
58
- position: t.options.strategy,
59
- left: "0",
60
- top: "0",
61
- margin: "0"
62
- },
63
- arrow: {
64
- position: "absolute"
65
- },
66
- reference: {}
67
- };
68
- return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
69
- Object.keys(t.elements).forEach(function(o) {
70
- var n = t.elements[o], s = t.attributes[o] || {}, c = Object.keys(t.styles.hasOwnProperty(o) ? t.styles[o] : r[o]), a = c.reduce(function(p, l) {
71
- return p[l] = "", p;
72
- }, {});
73
- !H(n) || !q(n) || (Object.assign(n.style, a), Object.keys(s).forEach(function(p) {
74
- n.removeAttribute(p);
75
- }));
76
- });
77
- };
78
- }
79
- const Xt = {
80
- name: "applyStyles",
81
- enabled: !0,
82
- phase: "write",
83
- fn: Ft,
84
- effect: It,
85
- requires: ["computeStyles"]
86
- };
87
- function U(e) {
88
- return e.split("-")[0];
89
- }
90
- var Q = Math.max, Oe = Math.min, te = Math.round;
91
- function De() {
92
- var e = navigator.userAgentData;
93
- return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
94
- return t.brand + "/" + t.version;
95
- }).join(" ") : navigator.userAgent;
96
- }
97
- function pt() {
98
- return !/^((?!chrome|android).)*safari/i.test(De());
99
- }
100
- function re(e, t, r) {
101
- t === void 0 && (t = !1), r === void 0 && (r = !1);
102
- var o = e.getBoundingClientRect(), n = 1, s = 1;
103
- t && H(e) && (n = e.offsetWidth > 0 && te(o.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && te(o.height) / e.offsetHeight || 1);
104
- var c = Z(e) ? W(e) : window, a = c.visualViewport, p = !pt() && r, l = (o.left + (p && a ? a.offsetLeft : 0)) / n, f = (o.top + (p && a ? a.offsetTop : 0)) / s, h = o.width / n, b = o.height / s;
105
- return {
106
- width: h,
107
- height: b,
108
- top: f,
109
- right: l + h,
110
- bottom: f + b,
111
- left: l,
112
- x: l,
113
- y: f
114
- };
115
- }
116
- function $e(e) {
117
- var t = re(e), r = e.offsetWidth, o = e.offsetHeight;
118
- return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - o) <= 1 && (o = t.height), {
119
- x: e.offsetLeft,
120
- y: e.offsetTop,
121
- width: r,
122
- height: o
123
- };
124
- }
125
- function ft(e, t) {
126
- var r = t.getRootNode && t.getRootNode();
127
- if (e.contains(t))
128
- return !0;
129
- if (r && Be(r)) {
130
- var o = t;
131
- do {
132
- if (o && e.isSameNode(o))
133
- return !0;
134
- o = o.parentNode || o.host;
135
- } while (o);
136
- }
137
- return !1;
138
- }
139
- function X(e) {
140
- return W(e).getComputedStyle(e);
141
- }
142
- function Yt(e) {
143
- return ["table", "td", "th"].indexOf(q(e)) >= 0;
144
- }
145
- function z(e) {
146
- return ((Z(e) ? e.ownerDocument : (
147
- // $FlowFixMe[prop-missing]
148
- e.document
149
- )) || window.document).documentElement;
150
- }
151
- function Pe(e) {
152
- return q(e) === "html" ? e : (
153
- // this is a quicker (but less type safe) way to save quite some bytes from the bundle
154
- // $FlowFixMe[incompatible-return]
155
- // $FlowFixMe[prop-missing]
156
- e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
157
- e.parentNode || // DOM Element detected
158
- (Be(e) ? e.host : null) || // ShadowRoot detected
159
- // $FlowFixMe[incompatible-call]: HTMLElement is a Node
160
- z(e)
161
- );
162
- }
163
- function Qe(e) {
164
- return !H(e) || // https://github.com/popperjs/popper-core/issues/837
165
- X(e).position === "fixed" ? null : e.offsetParent;
166
- }
167
- function zt(e) {
168
- var t = /firefox/i.test(De()), r = /Trident/i.test(De());
169
- if (r && H(e)) {
170
- var o = X(e);
171
- if (o.position === "fixed")
172
- return null;
173
- }
174
- var n = Pe(e);
175
- for (Be(n) && (n = n.host); H(n) && ["html", "body"].indexOf(q(n)) < 0; ) {
176
- var s = X(n);
177
- 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")
178
- return n;
179
- n = n.parentNode;
180
- }
181
- return null;
182
- }
183
- function ue(e) {
184
- for (var t = W(e), r = Qe(e); r && Yt(r) && X(r).position === "static"; )
185
- r = Qe(r);
186
- return r && (q(r) === "html" || q(r) === "body" && X(r).position === "static") ? t : r || zt(e) || t;
187
- }
188
- function ke(e) {
189
- return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
190
- }
191
- function se(e, t, r) {
192
- return Q(e, Oe(t, r));
193
- }
194
- function Gt(e, t, r) {
195
- var o = se(e, t, r);
196
- return o > r ? r : o;
197
- }
198
- function ct() {
199
- return {
200
- top: 0,
201
- right: 0,
202
- bottom: 0,
203
- left: 0
204
- };
205
- }
206
- function lt(e) {
207
- return Object.assign({}, ct(), e);
208
- }
209
- function ut(e, t) {
210
- return t.reduce(function(r, o) {
211
- return r[o] = e, r;
212
- }, {});
213
- }
214
- var Jt = function(t, r) {
215
- return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
216
- placement: r.placement
217
- })) : t, lt(typeof t != "number" ? t : ut(t, le));
218
- };
219
- function Kt(e) {
220
- var t, r = e.state, o = e.name, n = e.options, s = r.elements.arrow, c = r.modifiersData.popperOffsets, a = U(r.placement), p = ke(a), l = [$, V].indexOf(a) >= 0, f = l ? "height" : "width";
221
- if (!(!s || !c)) {
222
- var h = Jt(n.padding, r), b = $e(s), u = p === "y" ? B : $, x = p === "y" ? N : V, v = r.rects.reference[f] + r.rects.reference[p] - c[p] - r.rects.popper[f], m = c[p] - r.rects.reference[p], w = ue(s), P = w ? p === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, O = v / 2 - m / 2, d = h[u], y = P - b[f] - h[x], g = P / 2 - b[f] / 2 + O, E = se(d, g, y), A = p;
223
- r.modifiersData[o] = (t = {}, t[A] = E, t.centerOffset = E - g, t);
224
- }
225
- }
226
- function Qt(e) {
227
- var t = e.state, r = e.options, o = r.element, n = o === void 0 ? "[data-popper-arrow]" : o;
228
- n != null && (typeof n == "string" && (n = t.elements.popper.querySelector(n), !n) || ft(t.elements.popper, n) && (t.elements.arrow = n));
229
- }
230
- const Zt = {
231
- name: "arrow",
232
- enabled: !0,
233
- phase: "main",
234
- fn: Kt,
235
- effect: Qt,
236
- requires: ["popperOffsets"],
237
- requiresIfExists: ["preventOverflow"]
238
- };
239
- function oe(e) {
240
- return e.split("-")[1];
241
- }
242
- var _t = {
243
- top: "auto",
244
- right: "auto",
245
- bottom: "auto",
246
- left: "auto"
247
- };
248
- function er(e, t) {
249
- var r = e.x, o = e.y, n = t.devicePixelRatio || 1;
250
- return {
251
- x: te(r * n) / n || 0,
252
- y: te(o * n) / n || 0
253
- };
254
- }
255
- function Ze(e) {
256
- var t, r = e.popper, o = e.popperRect, n = e.placement, s = e.variation, c = e.offsets, a = e.position, p = e.gpuAcceleration, l = e.adaptive, f = e.roundOffsets, h = e.isFixed, b = c.x, u = b === void 0 ? 0 : b, x = c.y, v = x === void 0 ? 0 : x, m = typeof f == "function" ? f({
257
- x: u,
258
- y: v
259
- }) : {
260
- x: u,
261
- y: v
262
- };
263
- u = m.x, v = m.y;
264
- var w = c.hasOwnProperty("x"), P = c.hasOwnProperty("y"), O = $, d = B, y = window;
265
- if (l) {
266
- var g = ue(r), E = "clientHeight", A = "clientWidth";
267
- if (g === W(r) && (g = z(r), X(g).position !== "static" && a === "absolute" && (E = "scrollHeight", A = "scrollWidth")), g = g, n === B || (n === $ || n === V) && s === fe) {
268
- d = N;
269
- var R = h && g === y && y.visualViewport ? y.visualViewport.height : (
270
- // $FlowFixMe[prop-missing]
271
- g[E]
272
- );
273
- v -= R - o.height, v *= p ? 1 : -1;
274
- }
275
- if (n === $ || (n === B || n === N) && s === fe) {
276
- O = V;
277
- var T = h && g === y && y.visualViewport ? y.visualViewport.width : (
278
- // $FlowFixMe[prop-missing]
279
- g[A]
280
- );
281
- u -= T - o.width, u *= p ? 1 : -1;
282
- }
283
- }
284
- var j = Object.assign({
285
- position: a
286
- }, l && _t), k = f === !0 ? er({
287
- x: u,
288
- y: v
289
- }, W(r)) : {
290
- x: u,
291
- y: v
292
- };
293
- if (u = k.x, v = k.y, p) {
294
- var M;
295
- 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));
296
- }
297
- return Object.assign({}, j, (t = {}, t[d] = P ? v + "px" : "", t[O] = w ? u + "px" : "", t.transform = "", t));
298
- }
299
- function tr(e) {
300
- var t = e.state, r = e.options, o = r.gpuAcceleration, n = o === void 0 ? !0 : o, s = r.adaptive, c = s === void 0 ? !0 : s, a = r.roundOffsets, p = a === void 0 ? !0 : a, l = {
301
- placement: U(t.placement),
302
- variation: oe(t.placement),
303
- popper: t.elements.popper,
304
- popperRect: t.rects.popper,
305
- gpuAcceleration: n,
306
- isFixed: t.options.strategy === "fixed"
307
- };
308
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ze(Object.assign({}, l, {
309
- offsets: t.modifiersData.popperOffsets,
310
- position: t.options.strategy,
311
- adaptive: c,
312
- roundOffsets: p
313
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ze(Object.assign({}, l, {
314
- offsets: t.modifiersData.arrow,
315
- position: "absolute",
316
- adaptive: !1,
317
- roundOffsets: p
318
- })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
319
- "data-popper-placement": t.placement
320
- });
321
- }
322
- const rr = {
323
- name: "computeStyles",
324
- enabled: !0,
325
- phase: "beforeWrite",
326
- fn: tr,
327
- data: {}
328
- };
329
- var ye = {
330
- passive: !0
331
- };
332
- function or(e) {
333
- var t = e.state, r = e.instance, o = e.options, n = o.scroll, s = n === void 0 ? !0 : n, c = o.resize, a = c === void 0 ? !0 : c, p = W(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
334
- return s && l.forEach(function(f) {
335
- f.addEventListener("scroll", r.update, ye);
336
- }), a && p.addEventListener("resize", r.update, ye), function() {
337
- s && l.forEach(function(f) {
338
- f.removeEventListener("scroll", r.update, ye);
339
- }), a && p.removeEventListener("resize", r.update, ye);
340
- };
341
- }
342
- const nr = {
343
- name: "eventListeners",
344
- enabled: !0,
345
- phase: "write",
346
- fn: function() {
347
- },
348
- effect: or,
349
- data: {}
350
- };
351
- var ar = {
352
- left: "right",
353
- right: "left",
354
- bottom: "top",
355
- top: "bottom"
356
- };
357
- function ge(e) {
358
- return e.replace(/left|right|bottom|top/g, function(t) {
359
- return ar[t];
360
- });
361
- }
362
- var ir = {
363
- start: "end",
364
- end: "start"
365
- };
366
- function _e(e) {
367
- return e.replace(/start|end/g, function(t) {
368
- return ir[t];
369
- });
370
- }
371
- function Se(e) {
372
- var t = W(e), r = t.pageXOffset, o = t.pageYOffset;
373
- return {
374
- scrollLeft: r,
375
- scrollTop: o
376
- };
377
- }
378
- function We(e) {
379
- return re(z(e)).left + Se(e).scrollLeft;
380
- }
381
- function sr(e, t) {
382
- var r = W(e), o = z(e), n = r.visualViewport, s = o.clientWidth, c = o.clientHeight, a = 0, p = 0;
383
- if (n) {
384
- s = n.width, c = n.height;
385
- var l = pt();
386
- (l || !l && t === "fixed") && (a = n.offsetLeft, p = n.offsetTop);
387
- }
388
- return {
389
- width: s,
390
- height: c,
391
- x: a + We(e),
392
- y: p
393
- };
394
- }
395
- function pr(e) {
396
- var t, r = z(e), o = Se(e), n = (t = e.ownerDocument) == null ? void 0 : t.body, s = Q(r.scrollWidth, r.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), c = Q(r.scrollHeight, r.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -o.scrollLeft + We(e), p = -o.scrollTop;
397
- return X(n || r).direction === "rtl" && (a += Q(r.clientWidth, n ? n.clientWidth : 0) - s), {
398
- width: s,
399
- height: c,
400
- x: a,
401
- y: p
402
- };
403
- }
404
- function Le(e) {
405
- var t = X(e), r = t.overflow, o = t.overflowX, n = t.overflowY;
406
- return /auto|scroll|overlay|hidden/.test(r + n + o);
407
- }
408
- function dt(e) {
409
- return ["html", "body", "#document"].indexOf(q(e)) >= 0 ? e.ownerDocument.body : H(e) && Le(e) ? e : dt(Pe(e));
410
- }
411
- function pe(e, t) {
412
- var r;
413
- t === void 0 && (t = []);
414
- var o = dt(e), n = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s = W(o), c = n ? [s].concat(s.visualViewport || [], Le(o) ? o : []) : o, a = t.concat(c);
415
- return n ? a : (
416
- // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
417
- a.concat(pe(Pe(c)))
418
- );
419
- }
420
- function Me(e) {
421
- return Object.assign({}, e, {
422
- left: e.x,
423
- top: e.y,
424
- right: e.x + e.width,
425
- bottom: e.y + e.height
426
- });
427
- }
428
- function fr(e, t) {
429
- var r = re(e, !1, t === "fixed");
430
- 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;
431
- }
432
- function et(e, t, r) {
433
- return t === it ? Me(sr(e, r)) : Z(t) ? fr(t, r) : Me(pr(z(e)));
434
- }
435
- function cr(e) {
436
- var t = pe(Pe(e)), r = ["absolute", "fixed"].indexOf(X(e).position) >= 0, o = r && H(e) ? ue(e) : e;
437
- return Z(o) ? t.filter(function(n) {
438
- return Z(n) && ft(n, o) && q(n) !== "body";
439
- }) : [];
440
- }
441
- function lr(e, t, r, o) {
442
- var n = t === "clippingParents" ? cr(e) : [].concat(t), s = [].concat(n, [r]), c = s[0], a = s.reduce(function(p, l) {
443
- var f = et(e, l, o);
444
- return p.top = Q(f.top, p.top), p.right = Oe(f.right, p.right), p.bottom = Oe(f.bottom, p.bottom), p.left = Q(f.left, p.left), p;
445
- }, et(e, c, o));
446
- return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
447
- }
448
- function vt(e) {
449
- var t = e.reference, r = e.element, o = e.placement, n = o ? U(o) : null, s = o ? oe(o) : null, c = t.x + t.width / 2 - r.width / 2, a = t.y + t.height / 2 - r.height / 2, p;
450
- switch (n) {
451
- case B:
452
- p = {
453
- x: c,
454
- y: t.y - r.height
455
- };
456
- break;
457
- case N:
458
- p = {
459
- x: c,
460
- y: t.y + t.height
461
- };
462
- break;
463
- case V:
464
- p = {
465
- x: t.x + t.width,
466
- y: a
467
- };
468
- break;
469
- case $:
470
- p = {
471
- x: t.x - r.width,
472
- y: a
473
- };
474
- break;
475
- default:
476
- p = {
477
- x: t.x,
478
- y: t.y
479
- };
480
- }
481
- var l = n ? ke(n) : null;
482
- if (l != null) {
483
- var f = l === "y" ? "height" : "width";
484
- switch (s) {
485
- case ee:
486
- p[l] = p[l] - (t[f] / 2 - r[f] / 2);
487
- break;
488
- case fe:
489
- p[l] = p[l] + (t[f] / 2 - r[f] / 2);
490
- break;
491
- }
492
- }
493
- return p;
494
- }
495
- function ce(e, t) {
496
- t === void 0 && (t = {});
497
- var r = t, o = r.placement, n = o === void 0 ? e.placement : o, s = r.strategy, c = s === void 0 ? e.strategy : s, a = r.boundary, p = a === void 0 ? Ct : a, l = r.rootBoundary, f = l === void 0 ? it : l, h = r.elementContext, b = h === void 0 ? ie : h, u = r.altBoundary, x = u === void 0 ? !1 : u, v = r.padding, m = v === void 0 ? 0 : v, w = lt(typeof m != "number" ? m : ut(m, le)), P = b === ie ? Bt : ie, O = e.rects.popper, d = e.elements[x ? P : b], y = lr(Z(d) ? d : d.contextElement || z(e.elements.popper), p, f, c), g = re(e.elements.reference), E = vt({
498
- reference: g,
499
- element: O,
500
- strategy: "absolute",
501
- placement: n
502
- }), A = Me(Object.assign({}, O, E)), R = b === ie ? A : g, T = {
503
- top: y.top - R.top + w.top,
504
- bottom: R.bottom - y.bottom + w.bottom,
505
- left: y.left - R.left + w.left,
506
- right: R.right - y.right + w.right
507
- }, j = e.modifiersData.offset;
508
- if (b === ie && j) {
509
- var k = j[n];
510
- Object.keys(T).forEach(function(M) {
511
- var F = [V, N].indexOf(M) >= 0 ? 1 : -1, I = [B, N].indexOf(M) >= 0 ? "y" : "x";
512
- T[M] += k[I] * F;
513
- });
514
- }
515
- return T;
516
- }
517
- function ur(e, t) {
518
- t === void 0 && (t = {});
519
- var r = t, o = r.placement, n = r.boundary, s = r.rootBoundary, c = r.padding, a = r.flipVariations, p = r.allowedAutoPlacements, l = p === void 0 ? st : p, f = oe(o), h = f ? a ? Ke : Ke.filter(function(x) {
520
- return oe(x) === f;
521
- }) : le, b = h.filter(function(x) {
522
- return l.indexOf(x) >= 0;
523
- });
524
- b.length === 0 && (b = h);
525
- var u = b.reduce(function(x, v) {
526
- return x[v] = ce(e, {
527
- placement: v,
528
- boundary: n,
529
- rootBoundary: s,
530
- padding: c
531
- })[U(v)], x;
532
- }, {});
533
- return Object.keys(u).sort(function(x, v) {
534
- return u[x] - u[v];
535
- });
536
- }
537
- function dr(e) {
538
- if (U(e) === Ce)
539
- return [];
540
- var t = ge(e);
541
- return [_e(e), t, _e(t)];
542
- }
543
- function vr(e) {
544
- var t = e.state, r = e.options, o = e.name;
545
- if (!t.modifiersData[o]._skip) {
546
- for (var n = r.mainAxis, s = n === void 0 ? !0 : n, c = r.altAxis, a = c === void 0 ? !0 : c, p = r.fallbackPlacements, l = r.padding, f = r.boundary, h = r.rootBoundary, b = r.altBoundary, u = r.flipVariations, x = u === void 0 ? !0 : u, v = r.allowedAutoPlacements, m = t.options.placement, w = U(m), P = w === m, O = p || (P || !x ? [ge(m)] : dr(m)), d = [m].concat(O).reduce(function(_, Y) {
547
- return _.concat(U(Y) === Ce ? ur(t, {
548
- placement: Y,
549
- boundary: f,
550
- rootBoundary: h,
551
- padding: l,
552
- flipVariations: x,
553
- allowedAutoPlacements: v
554
- }) : Y);
555
- }, []), y = t.rects.reference, g = t.rects.popper, E = /* @__PURE__ */ new Map(), A = !0, R = d[0], T = 0; T < d.length; T++) {
556
- var j = d[T], k = U(j), M = oe(j) === ee, F = [B, N].indexOf(k) >= 0, I = F ? "width" : "height", D = ce(t, {
557
- placement: j,
558
- boundary: f,
559
- rootBoundary: h,
560
- altBoundary: b,
561
- padding: l
562
- }), C = F ? M ? V : $ : M ? N : B;
563
- y[I] > g[I] && (C = ge(C));
564
- var S = ge(C), G = [];
565
- if (s && G.push(D[k] <= 0), a && G.push(D[C] <= 0, D[S] <= 0), G.every(function(_) {
566
- return _;
567
- })) {
568
- R = j, A = !1;
569
- break;
570
- }
571
- E.set(j, G);
572
- }
573
- if (A)
574
- for (var de = x ? 3 : 1, Re = function(Y) {
575
- var ae = d.find(function(me) {
576
- var J = E.get(me);
577
- if (J)
578
- return J.slice(0, Y).every(function(Te) {
579
- return Te;
580
- });
581
- });
582
- if (ae)
583
- return R = ae, "break";
584
- }, ne = de; ne > 0; ne--) {
585
- var ve = Re(ne);
586
- if (ve === "break") break;
587
- }
588
- t.placement !== R && (t.modifiersData[o]._skip = !0, t.placement = R, t.reset = !0);
589
- }
590
- }
591
- const mr = {
592
- name: "flip",
593
- enabled: !0,
594
- phase: "main",
595
- fn: vr,
596
- requiresIfExists: ["offset"],
597
- data: {
598
- _skip: !1
599
- }
600
- };
601
- function tt(e, t, r) {
602
- return r === void 0 && (r = {
603
- x: 0,
604
- y: 0
605
- }), {
606
- top: e.top - t.height - r.y,
607
- right: e.right - t.width + r.x,
608
- bottom: e.bottom - t.height + r.y,
609
- left: e.left - t.width - r.x
610
- };
611
- }
612
- function rt(e) {
613
- return [B, V, N, $].some(function(t) {
614
- return e[t] >= 0;
615
- });
616
- }
617
- function hr(e) {
618
- var t = e.state, r = e.name, o = t.rects.reference, n = t.rects.popper, s = t.modifiersData.preventOverflow, c = ce(t, {
619
- elementContext: "reference"
620
- }), a = ce(t, {
621
- altBoundary: !0
622
- }), p = tt(c, o), l = tt(a, n, s), f = rt(p), h = rt(l);
623
- t.modifiersData[r] = {
624
- referenceClippingOffsets: p,
625
- popperEscapeOffsets: l,
626
- isReferenceHidden: f,
627
- hasPopperEscaped: h
628
- }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
629
- "data-popper-reference-hidden": f,
630
- "data-popper-escaped": h
631
- });
632
- }
633
- const yr = {
634
- name: "hide",
635
- enabled: !0,
636
- phase: "main",
637
- requiresIfExists: ["preventOverflow"],
638
- fn: hr
639
- };
640
- function gr(e, t, r) {
641
- var o = U(e), n = [$, B].indexOf(o) >= 0 ? -1 : 1, s = typeof r == "function" ? r(Object.assign({}, t, {
642
- placement: e
643
- })) : r, c = s[0], a = s[1];
644
- return c = c || 0, a = (a || 0) * n, [$, V].indexOf(o) >= 0 ? {
645
- x: a,
646
- y: c
647
- } : {
648
- x: c,
649
- y: a
650
- };
651
- }
652
- function br(e) {
653
- var t = e.state, r = e.options, o = e.name, n = r.offset, s = n === void 0 ? [0, 0] : n, c = st.reduce(function(f, h) {
654
- return f[h] = gr(h, t.rects, s), f;
655
- }, {}), a = c[t.placement], p = a.x, l = a.y;
656
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += p, t.modifiersData.popperOffsets.y += l), t.modifiersData[o] = c;
657
- }
658
- const wr = {
659
- name: "offset",
660
- enabled: !0,
661
- phase: "main",
662
- requires: ["popperOffsets"],
663
- fn: br
664
- };
665
- function Or(e) {
666
- var t = e.state, r = e.name;
667
- t.modifiersData[r] = vt({
668
- reference: t.rects.reference,
669
- element: t.rects.popper,
670
- strategy: "absolute",
671
- placement: t.placement
672
- });
673
- }
674
- const xr = {
675
- name: "popperOffsets",
676
- enabled: !0,
677
- phase: "read",
678
- fn: Or,
679
- data: {}
680
- };
681
- function Pr(e) {
682
- return e === "x" ? "y" : "x";
683
- }
684
- function Er(e) {
685
- var t = e.state, r = e.options, o = e.name, n = r.mainAxis, s = n === void 0 ? !0 : n, c = r.altAxis, a = c === void 0 ? !1 : c, p = r.boundary, l = r.rootBoundary, f = r.altBoundary, h = r.padding, b = r.tether, u = b === void 0 ? !0 : b, x = r.tetherOffset, v = x === void 0 ? 0 : x, m = ce(t, {
686
- boundary: p,
687
- rootBoundary: l,
688
- padding: h,
689
- altBoundary: f
690
- }), w = U(t.placement), P = oe(t.placement), O = !P, d = ke(w), y = Pr(d), g = t.modifiersData.popperOffsets, E = t.rects.reference, A = t.rects.popper, R = typeof v == "function" ? v(Object.assign({}, t.rects, {
691
- placement: t.placement
692
- })) : v, T = typeof R == "number" ? {
693
- mainAxis: R,
694
- altAxis: R
695
- } : Object.assign({
696
- mainAxis: 0,
697
- altAxis: 0
698
- }, R), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, k = {
699
- x: 0,
700
- y: 0
701
- };
702
- if (g) {
703
- if (s) {
704
- var M, F = d === "y" ? B : $, I = d === "y" ? N : V, D = d === "y" ? "height" : "width", C = g[d], S = C + m[F], G = C - m[I], de = u ? -A[D] / 2 : 0, Re = P === ee ? E[D] : A[D], ne = P === ee ? -A[D] : -E[D], ve = t.elements.arrow, _ = u && ve ? $e(ve) : {
705
- width: 0,
706
- height: 0
707
- }, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ct(), ae = Y[F], me = Y[I], J = se(0, E[D], _[D]), Te = O ? E[D] / 2 - de - J - ae - T.mainAxis : Re - J - ae - T.mainAxis, ht = O ? -E[D] / 2 + de + J + me + T.mainAxis : ne + J + me + T.mainAxis, Ae = t.elements.arrow && ue(t.elements.arrow), yt = Ae ? d === "y" ? Ae.clientTop || 0 : Ae.clientLeft || 0 : 0, He = (M = j == null ? void 0 : j[d]) != null ? M : 0, gt = C + Te - He - yt, bt = C + ht - He, Ne = se(u ? Oe(S, gt) : S, C, u ? Q(G, bt) : G);
708
- g[d] = Ne, k[d] = Ne - C;
709
- }
710
- if (a) {
711
- 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, Fe = (Ve = j == null ? void 0 : j[y]) != null ? Ve : 0, Ie = je ? Ue : K - E[he] - A[he] - Fe + T.altAxis, Xe = je ? K + E[he] + A[he] - Fe - T.altAxis : qe, Ye = u && je ? Gt(Ie, K, Xe) : se(u ? Ie : Ue, K, u ? Xe : qe);
712
- g[y] = Ye, k[y] = Ye - K;
713
- }
714
- t.modifiersData[o] = k;
715
- }
716
- }
717
- const Rr = {
718
- name: "preventOverflow",
719
- enabled: !0,
720
- phase: "main",
721
- fn: Er,
722
- requiresIfExists: ["offset"]
723
- };
724
- function Tr(e) {
725
- return {
726
- scrollLeft: e.scrollLeft,
727
- scrollTop: e.scrollTop
728
- };
729
- }
730
- function Ar(e) {
731
- return e === W(e) || !H(e) ? Se(e) : Tr(e);
732
- }
733
- function jr(e) {
734
- var t = e.getBoundingClientRect(), r = te(t.width) / e.offsetWidth || 1, o = te(t.height) / e.offsetHeight || 1;
735
- return r !== 1 || o !== 1;
736
- }
737
- function Dr(e, t, r) {
738
- r === void 0 && (r = !1);
739
- var o = H(t), n = H(t) && jr(t), s = z(t), c = re(e, n, r), a = {
740
- scrollLeft: 0,
741
- scrollTop: 0
742
- }, p = {
743
- x: 0,
744
- y: 0
745
- };
746
- return (o || !o && !r) && ((q(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
747
- Le(s)) && (a = Ar(t)), H(t) ? (p = re(t, !0), p.x += t.clientLeft, p.y += t.clientTop) : s && (p.x = We(s))), {
748
- x: c.left + a.scrollLeft - p.x,
749
- y: c.top + a.scrollTop - p.y,
750
- width: c.width,
751
- height: c.height
752
- };
753
- }
754
- function Mr(e) {
755
- var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), o = [];
756
- e.forEach(function(s) {
757
- t.set(s.name, s);
758
- });
759
- function n(s) {
760
- r.add(s.name);
761
- var c = [].concat(s.requires || [], s.requiresIfExists || []);
762
- c.forEach(function(a) {
763
- if (!r.has(a)) {
764
- var p = t.get(a);
765
- p && n(p);
766
- }
767
- }), o.push(s);
768
- }
769
- return e.forEach(function(s) {
770
- r.has(s.name) || n(s);
771
- }), o;
772
- }
773
- function Cr(e) {
774
- var t = Mr(e);
775
- return qt.reduce(function(r, o) {
776
- return r.concat(t.filter(function(n) {
777
- return n.phase === o;
778
- }));
779
- }, []);
780
- }
781
- function Br(e) {
782
- var t;
783
- return function() {
784
- return t || (t = new Promise(function(r) {
785
- Promise.resolve().then(function() {
786
- t = void 0, r(e());
787
- });
788
- })), t;
789
- };
790
- }
791
- function $r(e) {
792
- var t = e.reduce(function(r, o) {
793
- var n = r[o.name];
794
- return r[o.name] = n ? Object.assign({}, n, o, {
795
- options: Object.assign({}, n.options, o.options),
796
- data: Object.assign({}, n.data, o.data)
797
- }) : o, r;
798
- }, {});
799
- return Object.keys(t).map(function(r) {
800
- return t[r];
801
- });
802
- }
803
- var ot = {
804
- placement: "bottom",
805
- modifiers: [],
806
- strategy: "absolute"
807
- };
808
- function nt() {
809
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
810
- t[r] = arguments[r];
811
- return !t.some(function(o) {
812
- return !(o && typeof o.getBoundingClientRect == "function");
813
- });
814
- }
815
- function kr(e) {
816
- e === void 0 && (e = {});
817
- var t = e, r = t.defaultModifiers, o = r === void 0 ? [] : r, n = t.defaultOptions, s = n === void 0 ? ot : n;
818
- return function(a, p, l) {
819
- l === void 0 && (l = s);
820
- var f = {
821
- placement: "bottom",
822
- orderedModifiers: [],
823
- options: Object.assign({}, ot, s),
824
- modifiersData: {},
825
- elements: {
826
- reference: a,
827
- popper: p
828
- },
829
- attributes: {},
830
- styles: {}
831
- }, h = [], b = !1, u = {
832
- state: f,
833
- setOptions: function(w) {
834
- var P = typeof w == "function" ? w(f.options) : w;
835
- v(), f.options = Object.assign({}, s, f.options, P), f.scrollParents = {
836
- reference: Z(a) ? pe(a) : a.contextElement ? pe(a.contextElement) : [],
837
- popper: pe(p)
838
- };
839
- var O = Cr($r([].concat(o, f.options.modifiers)));
840
- return f.orderedModifiers = O.filter(function(d) {
841
- return d.enabled;
842
- }), x(), u.update();
843
- },
844
- // Sync update – it will always be executed, even if not necessary. This
845
- // is useful for low frequency updates where sync behavior simplifies the
846
- // logic.
847
- // For high frequency updates (e.g. `resize` and `scroll` events), always
848
- // prefer the async Popper#update method
849
- forceUpdate: function() {
850
- if (!b) {
851
- var w = f.elements, P = w.reference, O = w.popper;
852
- if (nt(P, O)) {
853
- f.rects = {
854
- reference: Dr(P, ue(O), f.options.strategy === "fixed"),
855
- popper: $e(O)
856
- }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(T) {
857
- return f.modifiersData[T.name] = Object.assign({}, T.data);
858
- });
859
- for (var d = 0; d < f.orderedModifiers.length; d++) {
860
- if (f.reset === !0) {
861
- f.reset = !1, d = -1;
862
- continue;
863
- }
864
- var y = f.orderedModifiers[d], g = y.fn, E = y.options, A = E === void 0 ? {} : E, R = y.name;
865
- typeof g == "function" && (f = g({
866
- state: f,
867
- options: A,
868
- name: R,
869
- instance: u
870
- }) || f);
871
- }
872
- }
873
- }
874
- },
875
- // Async and optimistically optimized update – it will not be executed if
876
- // not necessary (debounced to run at most once-per-tick)
877
- update: Br(function() {
878
- return new Promise(function(m) {
879
- u.forceUpdate(), m(f);
880
- });
881
- }),
882
- destroy: function() {
883
- v(), b = !0;
884
- }
885
- };
886
- if (!nt(a, p))
887
- return u;
888
- u.setOptions(l).then(function(m) {
889
- !b && l.onFirstUpdate && l.onFirstUpdate(m);
890
- });
891
- function x() {
892
- f.orderedModifiers.forEach(function(m) {
893
- var w = m.name, P = m.options, O = P === void 0 ? {} : P, d = m.effect;
894
- if (typeof d == "function") {
895
- var y = d({
896
- state: f,
897
- name: w,
898
- instance: u,
899
- options: O
900
- }), g = function() {
901
- };
902
- h.push(y || g);
903
- }
904
- });
905
- }
906
- function v() {
907
- h.forEach(function(m) {
908
- return m();
909
- }), h = [];
910
- }
911
- return u;
912
- };
913
- }
914
- var Sr = [nr, xr, rr, Xt, wr, mr, Rr, Zt, yr], Wr = /* @__PURE__ */ kr({
915
- defaultModifiers: Sr
916
- });
917
- function Lr(e) {
918
- return Pt("MuiPopper", e);
919
- }
920
- Et("MuiPopper", ["root"]);
921
- function Hr(e, t) {
922
- if (t === "ltr")
923
- return e;
924
- switch (e) {
925
- case "bottom-end":
926
- return "bottom-start";
927
- case "bottom-start":
928
- return "bottom-end";
929
- case "top-end":
930
- return "top-start";
931
- case "top-start":
932
- return "top-end";
933
- default:
934
- return e;
935
- }
936
- }
937
- function xe(e) {
938
- return typeof e == "function" ? e() : e;
939
- }
940
- function Ee(e) {
941
- return e.nodeType !== void 0;
942
- }
943
- function Nr(e) {
944
- return !Ee(e);
945
- }
946
- const Vr = (e) => {
947
- const {
948
- classes: t
949
- } = e;
950
- return jt({
951
- root: ["root"]
952
- }, Lr, t);
953
- }, Ur = {}, qr = /* @__PURE__ */ L.forwardRef(function(t, r) {
954
- const {
955
- anchorEl: o,
956
- children: n,
957
- direction: s,
958
- disablePortal: c,
959
- modifiers: a,
960
- open: p,
961
- placement: l,
962
- popperOptions: f,
963
- popperRef: h,
964
- slotProps: b = {},
965
- slots: u = {},
966
- TransitionProps: x,
967
- // @ts-ignore internal logic
968
- ownerState: v,
969
- // prevent from spreading to DOM, it can come from the parent component e.g. Select.
970
- ...m
971
- } = t, w = L.useRef(null), P = Ge(w, r), O = L.useRef(null), d = Ge(O, h), y = L.useRef(d);
972
- Je(() => {
973
- y.current = d;
974
- }, [d]), L.useImperativeHandle(h, () => O.current, []);
975
- const g = Hr(l, s), [E, A] = L.useState(g), [R, T] = L.useState(xe(o));
976
- L.useEffect(() => {
977
- O.current && O.current.forceUpdate();
978
- }), L.useEffect(() => {
979
- o && T(xe(o));
980
- }, [o]), Je(() => {
981
- if (!R || !p)
982
- return;
983
- const I = (S) => {
984
- A(S.placement);
985
- };
986
- if (process.env.NODE_ENV !== "production" && R && Ee(R) && R.nodeType === 1) {
987
- const S = R.getBoundingClientRect();
988
- process.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
989
- `));
990
- }
991
- let D = [{
992
- name: "preventOverflow",
993
- options: {
994
- altBoundary: c
995
- }
996
- }, {
997
- name: "flip",
998
- options: {
999
- altBoundary: c
1000
- }
1001
- }, {
1002
- name: "onUpdate",
1003
- enabled: !0,
1004
- phase: "afterWrite",
1005
- fn: ({
1006
- state: S
1007
- }) => {
1008
- I(S);
1009
- }
1010
- }];
1011
- a != null && (D = D.concat(a)), f && f.modifiers != null && (D = D.concat(f.modifiers));
1012
- const C = Wr(R, w.current, {
1013
- placement: g,
1014
- ...f,
1015
- modifiers: D
1016
- });
1017
- return y.current(C), () => {
1018
- C.destroy(), y.current(null);
1019
- };
1020
- }, [R, c, a, p, f, g]);
1021
- const j = {
1022
- placement: E
1023
- };
1024
- x !== null && (j.TransitionProps = x);
1025
- const k = Vr(t), M = u.root ?? "div", F = At({
1026
- elementType: M,
1027
- externalSlotProps: b.root,
1028
- externalForwardedProps: m,
1029
- additionalProps: {
1030
- role: "tooltip",
1031
- ref: P
1032
- },
1033
- ownerState: t,
1034
- className: k.root
1035
- });
1036
- return /* @__PURE__ */ be(M, {
1037
- ...F,
1038
- children: typeof n == "function" ? n(j) : n
1039
- });
1040
- }), mt = /* @__PURE__ */ L.forwardRef(function(t, r) {
1041
- const {
1042
- anchorEl: o,
1043
- children: n,
1044
- container: s,
1045
- direction: c = "ltr",
1046
- disablePortal: a = !1,
1047
- keepMounted: p = !1,
1048
- modifiers: l,
1049
- open: f,
1050
- placement: h = "bottom",
1051
- popperOptions: b = Ur,
1052
- popperRef: u,
1053
- style: x,
1054
- transition: v = !1,
1055
- slotProps: m = {},
1056
- slots: w = {},
1057
- ...P
1058
- } = t, [O, d] = L.useState(!0), y = () => {
1059
- d(!1);
1060
- }, g = () => {
1061
- d(!0);
1062
- };
1063
- if (!p && !f && (!v || O))
1064
- return null;
1065
- let E;
1066
- if (s)
1067
- E = s;
1068
- else if (o) {
1069
- const T = xe(o);
1070
- E = T && Ee(T) ? ze(T).body : ze(null).body;
1071
- }
1072
- const A = !f && p && (!v || O) ? "none" : void 0, R = v ? {
1073
- in: f,
1074
- onEnter: y,
1075
- onExited: g
1076
- } : void 0;
1077
- return /* @__PURE__ */ be(Rt, {
1078
- disablePortal: a,
1079
- container: E,
1080
- children: /* @__PURE__ */ be(qr, {
1081
- anchorEl: o,
1082
- direction: c,
1083
- disablePortal: a,
1084
- modifiers: l,
1085
- ref: r,
1086
- open: v ? !O : f,
1087
- placement: h,
1088
- popperOptions: b,
1089
- popperRef: u,
1090
- slotProps: m,
1091
- slots: w,
1092
- ...P,
1093
- style: {
1094
- // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
1095
- position: "fixed",
1096
- // Fix Popper.js display issue
1097
- top: 0,
1098
- left: 0,
1099
- display: A,
1100
- ...x
1101
- },
1102
- TransitionProps: R,
1103
- children: n
1104
- })
1105
- });
1106
- });
1107
- process.env.NODE_ENV !== "production" && (mt.propTypes = {
1108
- // ┌────────────────────────────── Warning ──────────────────────────────┐
1109
- // │ These PropTypes are generated from the TypeScript type definitions. │
1110
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1111
- // └─────────────────────────────────────────────────────────────────────┘
1112
- /**
1113
- * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1114
- * or a function that returns either.
1115
- * It's used to set the position of the popper.
1116
- * The return value will passed as the reference object of the Popper instance.
1117
- */
1118
- anchorEl: Tt(i.oneOfType([we, i.object, i.func]), (e) => {
1119
- if (e.open) {
1120
- const t = xe(e.anchorEl);
1121
- if (t && Ee(t) && t.nodeType === 1) {
1122
- const r = t.getBoundingClientRect();
1123
- if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
1124
- return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1125
- `));
1126
- } else if (!t || typeof t.getBoundingClientRect != "function" || Nr(t) && t.contextElement != null && t.contextElement.nodeType !== 1)
1127
- return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "It should be an HTML element instance or a virtualElement ", "(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
1128
- `));
1129
- }
1130
- return null;
1131
- }),
1132
- /**
1133
- * Popper render function or node.
1134
- */
1135
- children: i.oneOfType([i.node, i.func]),
1136
- /**
1137
- * An HTML element or function that returns one.
1138
- * The `container` will have the portal children appended to it.
1139
- *
1140
- * You can also provide a callback, which is called in a React layout effect.
1141
- * This lets you set the container from a ref, and also makes server-side rendering possible.
1142
- *
1143
- * By default, it uses the body of the top-level document object,
1144
- * so it's simply `document.body` most of the time.
1145
- */
1146
- container: i.oneOfType([we, i.func]),
1147
- /**
1148
- * Direction of the text.
1149
- * @default 'ltr'
1150
- */
1151
- direction: i.oneOf(["ltr", "rtl"]),
1152
- /**
1153
- * The `children` will be under the DOM hierarchy of the parent component.
1154
- * @default false
1155
- */
1156
- disablePortal: i.bool,
1157
- /**
1158
- * Always keep the children in the DOM.
1159
- * This prop can be useful in SEO situation or
1160
- * when you want to maximize the responsiveness of the Popper.
1161
- * @default false
1162
- */
1163
- keepMounted: i.bool,
1164
- /**
1165
- * Popper.js is based on a "plugin-like" architecture,
1166
- * most of its features are fully encapsulated "modifiers".
1167
- *
1168
- * A modifier is a function that is called each time Popper.js needs to
1169
- * compute the position of the popper.
1170
- * For this reason, modifiers should be very performant to avoid bottlenecks.
1171
- * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1172
- */
1173
- modifiers: i.arrayOf(i.shape({
1174
- data: i.object,
1175
- effect: i.func,
1176
- enabled: i.bool,
1177
- fn: i.func,
1178
- name: i.any,
1179
- options: i.object,
1180
- phase: i.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1181
- requires: i.arrayOf(i.string),
1182
- requiresIfExists: i.arrayOf(i.string)
1183
- })),
1184
- /**
1185
- * If `true`, the component is shown.
1186
- */
1187
- open: i.bool.isRequired,
1188
- /**
1189
- * Popper placement.
1190
- * @default 'bottom'
1191
- */
1192
- placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1193
- /**
1194
- * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1195
- * @default {}
1196
- */
1197
- popperOptions: i.shape({
1198
- modifiers: i.array,
1199
- onFirstUpdate: i.func,
1200
- placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1201
- strategy: i.oneOf(["absolute", "fixed"])
1202
- }),
1203
- /**
1204
- * A ref that points to the used popper instance.
1205
- */
1206
- popperRef: at,
1207
- /**
1208
- * The props used for each slot inside the Popper.
1209
- * @default {}
1210
- */
1211
- slotProps: i.shape({
1212
- root: i.oneOfType([i.func, i.object])
1213
- }),
1214
- /**
1215
- * The components used for each slot inside the Popper.
1216
- * Either a string to use a HTML element or a component.
1217
- * @default {}
1218
- */
1219
- slots: i.shape({
1220
- root: i.elementType
1221
- }),
1222
- /**
1223
- * Help supporting a react-transition-group/Transition component.
1224
- * @default false
1225
- */
1226
- transition: i.bool
1227
- });
1228
- const Fr = Dt(mt, {
1229
- name: "MuiPopper",
1230
- slot: "Root"
1231
- })({}), Ir = /* @__PURE__ */ L.forwardRef(function(t, r) {
1232
- const o = xt(), n = Mt({
1233
- props: t,
1234
- name: "MuiPopper"
1235
- }), {
1236
- anchorEl: s,
1237
- component: c,
1238
- components: a,
1239
- componentsProps: p,
1240
- container: l,
1241
- disablePortal: f,
1242
- keepMounted: h,
1243
- modifiers: b,
1244
- open: u,
1245
- placement: x,
1246
- popperOptions: v,
1247
- popperRef: m,
1248
- transition: w,
1249
- slots: P,
1250
- slotProps: O,
1251
- ...d
1252
- } = n, y = (P == null ? void 0 : P.root) ?? (a == null ? void 0 : a.Root), g = {
1253
- anchorEl: s,
1254
- container: l,
1255
- disablePortal: f,
1256
- keepMounted: h,
1257
- modifiers: b,
1258
- open: u,
1259
- placement: x,
1260
- popperOptions: v,
1261
- popperRef: m,
1262
- transition: w,
1263
- ...d
1264
- };
1265
- return /* @__PURE__ */ be(Fr, {
1266
- as: c,
1267
- direction: o ? "rtl" : "ltr",
1268
- slots: {
1269
- root: y
1270
- },
1271
- slotProps: O ?? p,
1272
- ...g,
1273
- ref: r
1274
- });
1275
- });
1276
- process.env.NODE_ENV !== "production" && (Ir.propTypes = {
1277
- // ┌────────────────────────────── Warning ──────────────────────────────┐
1278
- // │ These PropTypes are generated from the TypeScript type definitions. │
1279
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1280
- // └─────────────────────────────────────────────────────────────────────┘
1281
- /**
1282
- * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1283
- * or a function that returns either.
1284
- * It's used to set the position of the popper.
1285
- * The return value will passed as the reference object of the Popper instance.
1286
- */
1287
- anchorEl: i.oneOfType([we, i.object, i.func]),
1288
- /**
1289
- * Popper render function or node.
1290
- */
1291
- children: i.oneOfType([i.node, i.func]),
1292
- /**
1293
- * The component used for the root node.
1294
- * Either a string to use a HTML element or a component.
1295
- */
1296
- component: i.elementType,
1297
- /**
1298
- * The components used for each slot inside the Popper.
1299
- * Either a string to use a HTML element or a component.
1300
- *
1301
- * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1302
- * @default {}
1303
- */
1304
- components: i.shape({
1305
- Root: i.elementType
1306
- }),
1307
- /**
1308
- * The props used for each slot inside the Popper.
1309
- *
1310
- * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1311
- * @default {}
1312
- */
1313
- componentsProps: i.shape({
1314
- root: i.oneOfType([i.func, i.object])
1315
- }),
1316
- /**
1317
- * An HTML element or function that returns one.
1318
- * The `container` will have the portal children appended to it.
1319
- *
1320
- * You can also provide a callback, which is called in a React layout effect.
1321
- * This lets you set the container from a ref, and also makes server-side rendering possible.
1322
- *
1323
- * By default, it uses the body of the top-level document object,
1324
- * so it's simply `document.body` most of the time.
1325
- */
1326
- container: i.oneOfType([we, i.func]),
1327
- /**
1328
- * The `children` will be under the DOM hierarchy of the parent component.
1329
- * @default false
1330
- */
1331
- disablePortal: i.bool,
1332
- /**
1333
- * Always keep the children in the DOM.
1334
- * This prop can be useful in SEO situation or
1335
- * when you want to maximize the responsiveness of the Popper.
1336
- * @default false
1337
- */
1338
- keepMounted: i.bool,
1339
- /**
1340
- * Popper.js is based on a "plugin-like" architecture,
1341
- * most of its features are fully encapsulated "modifiers".
1342
- *
1343
- * A modifier is a function that is called each time Popper.js needs to
1344
- * compute the position of the popper.
1345
- * For this reason, modifiers should be very performant to avoid bottlenecks.
1346
- * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1347
- */
1348
- modifiers: i.arrayOf(i.shape({
1349
- data: i.object,
1350
- effect: i.func,
1351
- enabled: i.bool,
1352
- fn: i.func,
1353
- name: i.any,
1354
- options: i.object,
1355
- phase: i.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1356
- requires: i.arrayOf(i.string),
1357
- requiresIfExists: i.arrayOf(i.string)
1358
- })),
1359
- /**
1360
- * If `true`, the component is shown.
1361
- */
1362
- open: i.bool.isRequired,
1363
- /**
1364
- * Popper placement.
1365
- * @default 'bottom'
1366
- */
1367
- placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1368
- /**
1369
- * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1370
- * @default {}
1371
- */
1372
- popperOptions: i.shape({
1373
- modifiers: i.array,
1374
- onFirstUpdate: i.func,
1375
- placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1376
- strategy: i.oneOf(["absolute", "fixed"])
1377
- }),
1378
- /**
1379
- * A ref that points to the used popper instance.
1380
- */
1381
- popperRef: at,
1382
- /**
1383
- * The props used for each slot inside the Popper.
1384
- * @default {}
1385
- */
1386
- slotProps: i.shape({
1387
- root: i.oneOfType([i.func, i.object])
1388
- }),
1389
- /**
1390
- * The components used for each slot inside the Popper.
1391
- * Either a string to use a HTML element or a component.
1392
- * @default {}
1393
- */
1394
- slots: i.shape({
1395
- root: i.elementType
1396
- }),
1397
- /**
1398
- * The system prop that allows defining system overrides as well as additional CSS styles.
1399
- */
1400
- sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
1401
- /**
1402
- * Help supporting a react-transition-group/Transition component.
1403
- * @default false
1404
- */
1405
- transition: i.bool
1406
- });
1407
- export {
1408
- Ir as P
1409
- };