everest-npm-features 0.0.23 → 0.0.24

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 (244) hide show
  1. package/dist/{Alert-C1UNQHPD.js → Alert-CbQZ8Nii.js} +142 -116
  2. package/dist/{ArrowBack-Clp4i3dA.js → ArrowBack-BoYSBb8u.js} +1 -1
  3. package/dist/{ArrowDropDown-CoJNyIet.js → ArrowDropDown-BC_iEASy.js} +1 -1
  4. package/dist/{ArrowRight-DXtbS-1g.js → ArrowRight-rYkfGJuF.js} +1 -1
  5. package/dist/{Backdrop-DD6Ysl5O.js → Backdrop-CJBRZv_z.js} +106 -107
  6. package/dist/{Box-Be0E_-eR.js → Box-B12x52NC.js} +17 -16
  7. package/dist/Button-C57IMamW.js +660 -0
  8. package/dist/{ButtonBase-CE33gcZ6.js → ButtonBase-DugIO1pR.js} +194 -194
  9. package/dist/{Cancel-DEk2meuc.js → Cancel-D1JNu4Hj.js} +1 -1
  10. package/dist/{CardContent-B5tGyfc5.js → CardContent-CbObWW6t.js} +44 -45
  11. package/dist/{CheckCircle-BIckgNlV.js → CheckCircle-CyxKX1TY.js} +1 -1
  12. package/dist/{CircularProgress-fePUtoaj.js → CircularProgress-t8uGhLMo.js} +17 -17
  13. package/dist/{Close-D20PIPiF.js → Close-VV7zb3cu.js} +1 -1
  14. package/dist/{Close-Bj6AaxRi.js → Close-jnEgOCZv.js} +1 -1
  15. package/dist/{Container-CTfl6Vy4.js → Container-B3Af6Sc3.js} +20 -20
  16. package/dist/{ContentCopy-DzhD9ue3.js → ContentCopy-Ufwoeeov.js} +1 -1
  17. package/dist/DefaultPropsProvider-B2njZVNv.js +242 -0
  18. package/dist/DefaultPropsProvider-CZh8M2jM.js +351 -0
  19. package/dist/{Delete-BqqmGzYe.js → Delete-TCARcVtU.js} +1 -1
  20. package/dist/{DialogContent-D8jGp88c.js → DialogContent-DzidtXui.js} +202 -140
  21. package/dist/{DialogTitle-CxbjAJOw.js → DialogTitle-Bg61Hr7M.js} +23 -23
  22. package/dist/{Divider-D3PIEE97.js → Divider-Dy5hKfey.js} +31 -30
  23. package/dist/{ErrorOutline-CnwdlXPx.js → ErrorOutline-CI_ys3Zo.js} +1 -1
  24. package/dist/{FileDownload-BX69Jvdx.js → FileDownload-BcYF17B0.js} +1 -1
  25. package/dist/{FilledInput-n9W_V8GV.js → FilledInput-DrGeWgue.js} +352 -335
  26. package/dist/{FormControl-Cc-02KHW.js → FormControl-DeeQCuu5.js} +98 -81
  27. package/dist/{FormControlLabel-BEN9P8rJ.js → FormControlLabel-DVnrJkC8.js} +194 -165
  28. package/dist/GlobalStyles-DhHHc9O0.js +59 -0
  29. package/dist/Grid-BXyV_lM8.js +410 -0
  30. package/dist/Grow-B2p7O_1C.js +196 -0
  31. package/dist/{ownerDocument-C0GI-r2b.js → HTMLElementType-BrQSV2FE.js} +6 -6
  32. package/dist/IconButton-eWRhV6Q9.js +295 -0
  33. package/dist/{Info-83BXSu73.js → Info-D2UkGxyK.js} +1 -1
  34. package/dist/{InputAdornment-Ck_-Z38v.js → InputAdornment-BKuUMfPj.js} +14 -12
  35. package/dist/{Link-BqusVoz5.js → Link-Cm4BkRHO.js} +50 -49
  36. package/dist/{ListItemIcon-DIz-ZmJ0.js → ListItemIcon-GKRFb1Gr.js} +14 -13
  37. package/dist/{MenuItem-BkJ_C9Xs.js → MenuItem-CeCt0bfa.js} +46 -39
  38. package/dist/{Modal-CQcBtr07.js → Modal-csf3Y8d2.js} +265 -269
  39. package/dist/{Paper-B5pcGZbI.js → Paper-CnStNE24.js} +39 -38
  40. package/dist/{PlayArrow-1Y66tCVx.js → PlayArrow-DRCGjsrx.js} +1 -1
  41. package/dist/{Popper-CYsd-3n5.js → Popper-pPBEFLi4.js} +15 -15
  42. package/dist/{Portal-Bw0-5YJ9.js → Portal-CLa9CbMv.js} +36 -37
  43. package/dist/{RadioGroup-DtQqYrwU.js → RadioGroup-KiyYjXaT.js} +29 -28
  44. package/dist/{Select-DpKw-a6h.js → Select-Chubcks_.js} +1248 -933
  45. package/dist/{Slide-CdNJY-CT.js → Slide-DHG0r2gy.js} +68 -66
  46. package/dist/{Stack-C4POCZZb.js → Stack-CcR5RCg8.js} +41 -43
  47. package/dist/SwitchBase-CHO5ZceN.js +317 -0
  48. package/dist/{TextField-Cm9apaOp.js → TextField-q_SeLeNd.js} +144 -135
  49. package/dist/TransitionGroupContext-CYRQkQ6k.js +49 -0
  50. package/dist/{Typography-Ds4fpvK8.js → Typography-DBlMiOti.js} +39 -38
  51. package/dist/{auth-CR0412E5.js → auth-Bf9zHZ-x.js} +1 -1
  52. package/dist/{bank-iFS1RXp-.js → bank-BC4YNBRb.js} +3 -3
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +7 -7
  91. package/dist/components/Shared/FullKyc/userInfo.js +11 -11
  92. package/dist/components/Shared/HistoryItem/index.js +7 -7
  93. package/dist/components/Shared/Incode/index.js +5 -5
  94. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  95. package/dist/components/Shared/loader.js +2 -2
  96. package/dist/components/Shared/tooltip.js +2 -2
  97. package/dist/components/Shared/transition.js +1 -1
  98. package/dist/components/Wallet/Account/createIban.d.ts +1 -0
  99. package/dist/components/Wallet/Account/createIban.js +36 -35
  100. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  101. package/dist/components/Wallet/Account/iban.js +16 -16
  102. package/dist/components/Wallet/Account/index.d.ts +1 -0
  103. package/dist/components/Wallet/Account/index.js +76 -70
  104. package/dist/components/Wallet/Account/sendIban.js +61 -61
  105. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  106. package/dist/components/Wallet/Buy/form.d.ts +2 -2
  107. package/dist/components/Wallet/Buy/form.js +17 -17
  108. package/dist/components/Wallet/Buy/index.js +6 -6
  109. package/dist/components/Wallet/Deposit/index.js +7 -7
  110. package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
  111. package/dist/components/Wallet/EnterpriseKyc/index.js +26 -24
  112. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  114. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  115. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  116. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +45 -44
  117. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3626 -100
  118. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  119. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +0 -1
  120. package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
  121. package/dist/components/Wallet/History/index.js +61 -62
  122. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
  123. package/dist/components/Wallet/Portfolio/index.js +95 -95
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  125. package/dist/components/Wallet/Profile/documents.js +17 -17
  126. package/dist/components/Wallet/Profile/index.js +225 -206
  127. package/dist/components/Wallet/Receive/index.js +9 -9
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
  129. package/dist/components/Wallet/Sell/form.js +17 -17
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +14 -14
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  133. package/dist/components/Wallet/Shared/Auth/otpForm.js +217 -10451
  134. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  135. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  136. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  137. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  138. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +9 -10
  139. package/dist/components/Wallet/Shared/Order/types.d.ts +23 -2
  140. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  141. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  142. package/dist/components/Wallet/Shared/addBank.js +11 -11
  143. package/dist/components/Wallet/Shared/appButton.js +5 -5
  144. package/dist/components/Wallet/Shared/backBtn.js +8 -8
  145. package/dist/components/Wallet/Shared/button.js +1 -1
  146. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  147. package/dist/components/Wallet/Shared/inputField.js +1 -1
  148. package/dist/components/Wallet/Shared/noData.js +2 -2
  149. package/dist/components/Wallet/Shared/pin.js +3 -3
  150. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  151. package/dist/components/Wallet/Shared/step.js +2 -2
  152. package/dist/components/Wallet/SignIn/index.js +2 -2
  153. package/dist/components/Wallet/SignUp/index.js +2 -2
  154. package/dist/components/Wallet/SignUp/terms.js +4 -4
  155. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  156. package/dist/components/Wallet/Stake/id/index.js +12 -12
  157. package/dist/components/Wallet/Stake/index.js +10 -10
  158. package/dist/components/Wallet/Swap/index.js +138 -150
  159. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  160. package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
  161. package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
  162. package/dist/components/Wallet/Withdraw/form.d.ts +2 -2
  163. package/dist/components/Wallet/Withdraw/form.js +16 -16
  164. package/dist/components/Wallet/Withdraw/index.js +5 -5
  165. package/dist/{constants-BJByDTQY.js → constants-CsMPRK0U.js} +285 -284
  166. package/dist/{createSvgIcon-C0wzKL72.js → createSvgIcon-CH41ZVFw.js} +58 -57
  167. package/dist/createTheme-DmGCMO09.js +3825 -0
  168. package/dist/{cryptoAssets-BcVSdM1C.js → cryptoAssets-CzNDY1j6.js} +1 -1
  169. package/dist/defaultTheme-9fAph5zo.js +5 -0
  170. package/dist/{dividerClasses-Cb_Is0-O.js → dividerClasses-DnbM--4s.js} +2 -2
  171. package/dist/{documents-HjBKq9qA.js → documents-CEeV8SyW.js} +16 -16
  172. package/dist/{Transition-CYSgg85A.js → elementAcceptingRef-BbsmdE_3.js} +109 -66
  173. package/dist/{elementTypeAcceptingRef-Bc1kRXA9.js → elementTypeAcceptingRef-CdmXUhJ8.js} +1 -1
  174. package/dist/{emotion-react.browser.esm-BjxI_t8k.js → emotion-react.browser.esm-C2mxoK1z.js} +42 -42
  175. package/dist/{extendSxProp-a8ZTL0ZI.js → extendSxProp-Bwha5fon.js} +1 -1
  176. package/dist/{fiatAssets-C_F8qNzr.js → fiatAssets-DVHfFafS.js} +1 -1
  177. package/dist/hoc/withThemeProvider.js +518 -417
  178. package/dist/hooks/useDialog/index.js +4 -4
  179. package/dist/hooks/useRrDialog/index.js +4 -4
  180. package/dist/hooks/useSnackBar.js +363 -288
  181. package/dist/{iban-Dh7qBGGc.js → iban-DRT7i0vb.js} +74 -85
  182. package/dist/icons/buyIcon.js +1 -1
  183. package/dist/icons/canceledBuyIcon.js +1 -1
  184. package/dist/icons/canceledRedeemIcon.js +1 -1
  185. package/dist/icons/failedBuyIcon.js +1 -1
  186. package/dist/icons/failedRedeemIcon.js +1 -1
  187. package/dist/icons/pendingBuyIcon.js +1 -1
  188. package/dist/icons/pendingRedeemIcon.js +1 -1
  189. package/dist/icons/redeemIcon.js +1 -1
  190. package/dist/index-BB3__zW3.js +644 -0
  191. package/dist/index-C86AoaoB.js +43 -0
  192. package/dist/{index-BFIhKqqi.js → index-C9uGghB8.js} +141 -133
  193. package/dist/{index-DkMQ44xy.js → index-DZ__IpVI.js} +19 -19
  194. package/dist/{index-B2OIoTNN.js → index-DxX5Mo0o.js} +18 -18
  195. package/dist/{index-CQe8cwpc.js → index-VE9lYjq3.js} +22 -22
  196. package/dist/index-eEYiDlpX.js +723 -0
  197. package/dist/{index-CtkDfW5M.js → index-x9CniyQB.js} +1 -1
  198. package/dist/{kyc-DJpiKj5d.js → kyc-BweeW6k9.js} +1 -1
  199. package/dist/main.js +6 -6
  200. package/dist/{order-DhUA-ZNX.js → order-DmTHC7ZG.js} +7 -7
  201. package/dist/{ownerWindow-iFlVse9X.js → ownerWindow-CRgpWY6I.js} +1 -1
  202. package/dist/pep-C5Ge-kU4.js +2691 -0
  203. package/dist/{radioButton-CdYLf2fc.js → radioButton-Bgy7Kxxo.js} +172 -121
  204. package/dist/refType-CaiGhRso.js +56 -0
  205. package/dist/{stake-DWRuAE1u.js → stake-B150utJI.js} +1 -1
  206. package/dist/tokenRow-BR8f4g7G.js +198 -0
  207. package/dist/{tooltip-CwdohO6q.js → tooltip-DGtrVEzU.js} +258 -235
  208. package/dist/useControlled-nm4pBabJ.js +31 -0
  209. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  210. package/dist/useSlot-DtSnboW7.js +125 -0
  211. package/dist/useSlotProps-D62tWbb1.js +25 -0
  212. package/dist/useTheme-Bfw5Gt1b.js +17 -0
  213. package/dist/{useTheme-BzIjfC6u.js → useTheme-XTDzJ69d.js} +3 -3
  214. package/dist/useThemeProps-lRuJRcRX.js +29 -0
  215. package/dist/wallet-DDW5KCHp.js +39 -0
  216. package/package.json +7 -6
  217. package/dist/Button-DCBtFwk3.js +0 -452
  218. package/dist/DefaultPropsProvider-5cxFAZuq.js +0 -647
  219. package/dist/DefaultPropsProvider-DOLtk4kZ.js +0 -88
  220. package/dist/GlobalStyles-O5U8h5ZQ.js +0 -23
  221. package/dist/Grid-BaaKMDwM.js +0 -501
  222. package/dist/Grid2-DX2sucnU.js +0 -374
  223. package/dist/Grow-CC3Va50c.js +0 -216
  224. package/dist/IconButton-8B2ygvr4.js +0 -238
  225. package/dist/SwitchBase-B9rcpVZ0.js +0 -261
  226. package/dist/TransitionGroupContext-BzyZRJGo.js +0 -37
  227. package/dist/createTheme-D_EHVLXp.js +0 -3662
  228. package/dist/defaultTheme-CGLnLLk_.js +0 -5
  229. package/dist/index-BEH1PkNC.js +0 -572
  230. package/dist/index-DSZxScyY.js +0 -704
  231. package/dist/index-DlZLKtdr.js +0 -72
  232. package/dist/pep-BsWvrgyM.js +0 -2600
  233. package/dist/resolveComponentProps-CPnCrKvI.js +0 -80
  234. package/dist/styled-CyBKg0N-.js +0 -5
  235. package/dist/tokenRow-QlGBYRKR.js +0 -206
  236. package/dist/useControlled-BYdyS7Pn.js +0 -31
  237. package/dist/useSlot-BdP6R4tz.js +0 -50
  238. package/dist/useTheme-BFI_g9FY.js +0 -9
  239. package/dist/useThemeProps-BOrAzOS4.js +0 -40
  240. package/dist/useThemeWithoutDefault-BWt80cCE.js +0 -12
  241. package/dist/useTimeout-_ag1gI7y.js +0 -56
  242. package/dist/utils-B-vKE_Dv.js +0 -50
  243. package/dist/utils-asicApOI.js +0 -21
  244. package/dist/wallet-z7NHqtCj.js +0 -35
@@ -1,22 +1,22 @@
1
1
  import * as k from "react";
2
- import { g as R, f as z, P as e } from "./createTheme-D_EHVLXp.js";
3
- import { g as q, s as C, m as j, u as N, c as H, a as M, r as Ie } from "./DefaultPropsProvider-5cxFAZuq.js";
4
- import { u as w } from "./useSlot-BdP6R4tz.js";
5
- import { jsx as g, jsxs as A } from "react/jsx-runtime";
6
- import { F as Ce } from "./FormControl-Cc-02KHW.js";
7
- import { u as Se } from "./useId-CK6Kn3Tn.js";
8
- import { f as V } from "./utils-asicApOI.js";
2
+ import { g as R, b as z, P as e } from "./createTheme-DmGCMO09.js";
3
+ import { c as j } from "./DefaultPropsProvider-CZh8M2jM.js";
4
+ import { g as q, s as C, m as N, u as H, c as M, r as Ie } from "./DefaultPropsProvider-B2njZVNv.js";
5
+ import { u as O } from "./useSlot-DtSnboW7.js";
6
+ import { jsx as F, jsxs as V } from "react/jsx-runtime";
7
+ import { f as W, F as Le } from "./FormControl-DeeQCuu5.js";
8
+ import { u as ke } from "./useId-CK6Kn3Tn.js";
9
9
  import { u as D } from "./useFormControl-CatNKXAi.js";
10
- import { c as Le } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
11
- import { S as ke, I as Re, O as ze } from "./Select-DpKw-a6h.js";
12
- import { r as qe } from "./useTimeout-_ag1gI7y.js";
13
- import { F as je } from "./FilledInput-n9W_V8GV.js";
14
- function Ne(o) {
10
+ import { c as Re } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
11
+ import { S as ze, I as je, O as qe } from "./Select-Chubcks_.js";
12
+ import { r as Ne } from "./refType-CaiGhRso.js";
13
+ import { F as He } from "./FilledInput-DrGeWgue.js";
14
+ function Me(o) {
15
15
  return R("MuiFormHelperText", o);
16
16
  }
17
17
  const X = q("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
18
18
  var Y;
19
- const He = (o) => {
19
+ const $e = (o) => {
20
20
  const {
21
21
  classes: r,
22
22
  contained: t,
@@ -29,8 +29,8 @@ const He = (o) => {
29
29
  } = o, m = {
30
30
  root: ["root", l && "disabled", a && "error", s && `size${z(s)}`, t && "contained", p && "focused", i && "filled", d && "required"]
31
31
  };
32
- return M(m, Ne, r);
33
- }, Me = C("p", {
32
+ return M(m, Me, r);
33
+ }, Ee = C("p", {
34
34
  name: "MuiFormHelperText",
35
35
  slot: "Root",
36
36
  overridesResolver: (o, r) => {
@@ -39,7 +39,7 @@ const He = (o) => {
39
39
  } = o;
40
40
  return [r.root, t.size && r[`size${z(t.size)}`], t.contained && r.contained, t.filled && r.filled];
41
41
  }
42
- })(j(({
42
+ })(N(({
43
43
  theme: o
44
44
  }) => ({
45
45
  color: (o.vars || o).palette.text.secondary,
@@ -72,7 +72,7 @@ const He = (o) => {
72
72
  }
73
73
  }]
74
74
  }))), Z = /* @__PURE__ */ k.forwardRef(function(r, t) {
75
- const s = N({
75
+ const s = H({
76
76
  props: r,
77
77
  name: "MuiFormHelperText"
78
78
  }), {
@@ -87,7 +87,7 @@ const He = (o) => {
87
87
  required: x,
88
88
  variant: y,
89
89
  ...f
90
- } = s, u = D(), n = V({
90
+ } = s, u = D(), n = W({
91
91
  props: s,
92
92
  muiFormControl: u,
93
93
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
@@ -104,17 +104,18 @@ const He = (o) => {
104
104
  required: n.required
105
105
  };
106
106
  delete T.ownerState;
107
- const $ = He(T);
108
- return /* @__PURE__ */ g(Me, {
107
+ const $ = $e(T);
108
+ return /* @__PURE__ */ F(Ee, {
109
109
  as: i,
110
- className: H($.root, a),
110
+ className: j($.root, a),
111
111
  ref: t,
112
112
  ...f,
113
113
  ownerState: T,
114
114
  children: l === " " ? (
115
115
  // notranslate needed while Google Translate will not fix zero-width space issue
116
- Y || (Y = /* @__PURE__ */ g("span", {
116
+ Y || (Y = /* @__PURE__ */ F("span", {
117
117
  className: "notranslate",
118
+ "aria-hidden": !0,
118
119
  children: "​"
119
120
  }))
120
121
  ) : l
@@ -178,10 +179,10 @@ process.env.NODE_ENV !== "production" && (Z.propTypes = {
178
179
  */
179
180
  variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
180
181
  });
181
- function $e(o) {
182
+ function Ue(o) {
182
183
  return R("MuiFormLabel", o);
183
184
  }
184
- const I = q("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), Ee = (o) => {
185
+ const S = q("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), Ae = (o) => {
185
186
  const {
186
187
  classes: r,
187
188
  color: t,
@@ -194,18 +195,17 @@ const I = q("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "e
194
195
  root: ["root", `color${z(t)}`, l && "disabled", a && "error", i && "filled", s && "focused", p && "required"],
195
196
  asterisk: ["asterisk", a && "error"]
196
197
  };
197
- return M(d, $e, r);
198
- }, Ue = C("label", {
198
+ return M(d, Ue, r);
199
+ }, Ve = C("label", {
199
200
  name: "MuiFormLabel",
200
201
  slot: "Root",
201
- overridesResolver: ({
202
- ownerState: o
203
- }, r) => ({
204
- ...r.root,
205
- ...o.color === "secondary" && r.colorSecondary,
206
- ...o.filled && r.filled
207
- })
208
- })(j(({
202
+ overridesResolver: (o, r) => {
203
+ const {
204
+ ownerState: t
205
+ } = o;
206
+ return [r.root, t.color === "secondary" && r.colorSecondary, t.filled && r.filled];
207
+ }
208
+ })(N(({
209
209
  theme: o
210
210
  }) => ({
211
211
  color: (o.vars || o).palette.text.secondary,
@@ -213,38 +213,37 @@ const I = q("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "e
213
213
  lineHeight: "1.4375em",
214
214
  padding: 0,
215
215
  position: "relative",
216
- variants: [...Object.entries(o.palette).filter(Le()).map(([r]) => ({
216
+ variants: [...Object.entries(o.palette).filter(Re()).map(([r]) => ({
217
217
  props: {
218
218
  color: r
219
219
  },
220
220
  style: {
221
- [`&.${I.focused}`]: {
221
+ [`&.${S.focused}`]: {
222
222
  color: (o.vars || o).palette[r].main
223
223
  }
224
224
  }
225
225
  })), {
226
226
  props: {},
227
227
  style: {
228
- [`&.${I.disabled}`]: {
228
+ [`&.${S.disabled}`]: {
229
229
  color: (o.vars || o).palette.text.disabled
230
230
  },
231
- [`&.${I.error}`]: {
231
+ [`&.${S.error}`]: {
232
232
  color: (o.vars || o).palette.error.main
233
233
  }
234
234
  }
235
235
  }]
236
236
  }))), We = C("span", {
237
237
  name: "MuiFormLabel",
238
- slot: "Asterisk",
239
- overridesResolver: (o, r) => r.asterisk
240
- })(j(({
238
+ slot: "Asterisk"
239
+ })(N(({
241
240
  theme: o
242
241
  }) => ({
243
- [`&.${I.error}`]: {
242
+ [`&.${S.error}`]: {
244
243
  color: (o.vars || o).palette.error.main
245
244
  }
246
245
  }))), ee = /* @__PURE__ */ k.forwardRef(function(r, t) {
247
- const s = N({
246
+ const s = H({
248
247
  props: r,
249
248
  name: "MuiFormLabel"
250
249
  }), {
@@ -258,7 +257,7 @@ const I = q("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "e
258
257
  focused: b,
259
258
  required: x,
260
259
  ...y
261
- } = s, f = D(), u = V({
260
+ } = s, f = D(), u = W({
262
261
  props: s,
263
262
  muiFormControl: f,
264
263
  states: ["color", "required", "focused", "disabled", "error", "filled"]
@@ -271,14 +270,14 @@ const I = q("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "e
271
270
  filled: u.filled,
272
271
  focused: u.focused,
273
272
  required: u.required
274
- }, T = Ee(n);
275
- return /* @__PURE__ */ A(Ue, {
273
+ }, T = Ae(n);
274
+ return /* @__PURE__ */ V(Ve, {
276
275
  as: p,
277
276
  ownerState: n,
278
- className: H(T.root, a),
277
+ className: j(T.root, a),
279
278
  ref: t,
280
279
  ...y,
281
- children: [l, u.required && /* @__PURE__ */ A(We, {
280
+ children: [l, u.required && /* @__PURE__ */ V(We, {
282
281
  ownerState: n,
283
282
  "aria-hidden": !0,
284
283
  className: T.asterisk,
@@ -339,11 +338,11 @@ process.env.NODE_ENV !== "production" && (ee.propTypes = {
339
338
  */
340
339
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
341
340
  });
342
- function Ae(o) {
341
+ function De(o) {
343
342
  return R("MuiInputLabel", o);
344
343
  }
345
344
  q("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
346
- const Ve = (o) => {
345
+ const _e = (o) => {
347
346
  const {
348
347
  classes: r,
349
348
  formControl: t,
@@ -353,15 +352,15 @@ const Ve = (o) => {
353
352
  variant: i,
354
353
  required: p
355
354
  } = o, d = {
356
- root: ["root", t && "formControl", !a && "animated", l && "shrink", s && s !== "normal" && `size${z(s)}`, i],
355
+ root: ["root", t && "formControl", !a && "animated", l && "shrink", s && s !== "medium" && `size${z(s)}`, i],
357
356
  asterisk: [p && "asterisk"]
358
- }, m = M(d, Ae, r);
357
+ }, m = M(d, De, r);
359
358
  return {
360
359
  ...r,
361
360
  // forward the focused, disabled, etc. classes to the FormLabel
362
361
  ...m
363
362
  };
364
- }, De = C(ee, {
363
+ }, Be = C(ee, {
365
364
  shouldForwardProp: (o) => Ie(o) || o === "classes",
366
365
  name: "MuiInputLabel",
367
366
  slot: "Root",
@@ -370,10 +369,10 @@ const Ve = (o) => {
370
369
  ownerState: t
371
370
  } = o;
372
371
  return [{
373
- [`& .${I.asterisk}`]: r.asterisk
372
+ [`& .${S.asterisk}`]: r.asterisk
374
373
  }, r.root, t.formControl && r.formControl, t.size === "small" && r.sizeSmall, t.shrink && r.shrink, !t.disableAnimation && r.animated, t.focused && r.focused, r[t.variant]];
375
374
  }
376
- })(j(({
375
+ })(N(({
377
376
  theme: o
378
377
  }) => ({
379
378
  display: "block",
@@ -496,7 +495,7 @@ const Ve = (o) => {
496
495
  }
497
496
  }]
498
497
  }))), oe = /* @__PURE__ */ k.forwardRef(function(r, t) {
499
- const s = N({
498
+ const s = H({
500
499
  name: "MuiInputLabel",
501
500
  props: r
502
501
  }), {
@@ -509,7 +508,7 @@ const Ve = (o) => {
509
508
  } = s, c = D();
510
509
  let b = i;
511
510
  typeof b > "u" && c && (b = c.filled || c.focused || c.adornedStart);
512
- const x = V({
511
+ const x = W({
513
512
  props: s,
514
513
  muiFormControl: c,
515
514
  states: ["size", "variant", "required", "focused"]
@@ -522,11 +521,11 @@ const Ve = (o) => {
522
521
  variant: x.variant,
523
522
  required: x.required,
524
523
  focused: x.focused
525
- }, f = Ve(y);
526
- return /* @__PURE__ */ g(De, {
524
+ }, f = _e(y);
525
+ return /* @__PURE__ */ F(Be, {
527
526
  "data-shrink": b,
528
527
  ref: t,
529
- className: H(f.root, d),
528
+ className: j(f.root, d),
530
529
  ...m,
531
530
  ownerState: y,
532
531
  classes: f
@@ -587,9 +586,9 @@ process.env.NODE_ENV !== "production" && (oe.propTypes = {
587
586
  shrink: e.bool,
588
587
  /**
589
588
  * The size of the component.
590
- * @default 'normal'
589
+ * @default 'medium'
591
590
  */
592
- size: e.oneOfType([e.oneOf(["normal", "small"]), e.string]),
591
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
593
592
  /**
594
593
  * The system prop that allows defining system overrides as well as additional CSS styles.
595
594
  */
@@ -599,27 +598,26 @@ process.env.NODE_ENV !== "production" && (oe.propTypes = {
599
598
  */
600
599
  variant: e.oneOf(["filled", "outlined", "standard"])
601
600
  });
602
- function _e(o) {
601
+ function Ge(o) {
603
602
  return R("MuiTextField", o);
604
603
  }
605
604
  q("MuiTextField", ["root"]);
606
- const Be = {
607
- standard: Re,
608
- filled: je,
609
- outlined: ze
610
- }, Ge = (o) => {
605
+ const Je = {
606
+ standard: je,
607
+ filled: He,
608
+ outlined: qe
609
+ }, Ke = (o) => {
611
610
  const {
612
611
  classes: r
613
612
  } = o;
614
613
  return M({
615
614
  root: ["root"]
616
- }, _e, r);
617
- }, Je = C(Ce, {
615
+ }, Ge, r);
616
+ }, Qe = C(Le, {
618
617
  name: "MuiTextField",
619
- slot: "Root",
620
- overridesResolver: (o, r) => r.root
621
- })({}), Ke = /* @__PURE__ */ k.forwardRef(function(r, t) {
622
- const s = N({
618
+ slot: "Root"
619
+ })({}), Xe = /* @__PURE__ */ k.forwardRef(function(r, t) {
620
+ const s = H({
623
621
  props: r,
624
622
  name: "MuiTextField"
625
623
  }), {
@@ -639,7 +637,7 @@ const Be = {
639
637
  inputProps: T,
640
638
  InputProps: $,
641
639
  inputRef: re,
642
- label: O,
640
+ label: P,
643
641
  maxRows: te,
644
642
  minRows: se,
645
643
  multiline: _ = !1,
@@ -650,7 +648,7 @@ const Be = {
650
648
  placeholder: pe,
651
649
  required: B = !1,
652
650
  rows: de,
653
- select: S = !1,
651
+ select: I = !1,
654
652
  SelectProps: E,
655
653
  slots: G = {},
656
654
  slotProps: ce = {},
@@ -658,7 +656,7 @@ const Be = {
658
656
  value: J,
659
657
  variant: L = "outlined",
660
658
  ...fe
661
- } = s, v = {
659
+ } = s, h = {
662
660
  ...s,
663
661
  autoFocus: a,
664
662
  color: d,
@@ -667,11 +665,11 @@ const Be = {
667
665
  fullWidth: y,
668
666
  multiline: _,
669
667
  required: B,
670
- select: S,
668
+ select: I,
671
669
  variant: L
672
- }, me = Ge(v);
673
- process.env.NODE_ENV !== "production" && S && !i && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
674
- const h = Se(u), U = f && h ? `${h}-helper-text` : void 0, K = O && h ? `${h}-label` : void 0, be = Be[L], F = {
670
+ }, me = Ke(h);
671
+ process.env.NODE_ENV !== "production" && I && !i && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
672
+ const v = ke(u), U = f && v ? `${v}-helper-text` : void 0, K = P && v ? `${v}-label` : void 0, be = Je[L], g = {
675
673
  slots: G,
676
674
  slotProps: {
677
675
  input: $,
@@ -681,30 +679,48 @@ const Be = {
681
679
  select: E,
682
680
  ...ce
683
681
  }
684
- }, P = {}, W = F.slotProps.inputLabel;
685
- L === "outlined" && (W && typeof W.shrink < "u" && (P.notched = W.shrink), P.label = O), S && ((!E || !E.native) && (P.id = void 0), P["aria-describedby"] = void 0);
686
- const [ye, xe] = w("input", {
682
+ }, w = {}, A = g.slotProps.inputLabel;
683
+ L === "outlined" && (A && typeof A.shrink < "u" && (w.notched = A.shrink), w.label = P), I && ((!E || !E.native) && (w.id = void 0), w["aria-describedby"] = void 0);
684
+ const [ye, xe] = O("root", {
685
+ elementType: Qe,
686
+ shouldForwardComponentProp: !0,
687
+ externalForwardedProps: {
688
+ ...g,
689
+ ...fe
690
+ },
691
+ ownerState: h,
692
+ className: j(me.root, p),
693
+ ref: t,
694
+ additionalProps: {
695
+ disabled: c,
696
+ error: b,
697
+ fullWidth: y,
698
+ required: B,
699
+ color: d,
700
+ variant: L
701
+ }
702
+ }), [Te, he] = O("input", {
687
703
  elementType: be,
688
- externalForwardedProps: F,
689
- additionalProps: P,
690
- ownerState: v
691
- }), [Te, ve] = w("inputLabel", {
704
+ externalForwardedProps: g,
705
+ additionalProps: w,
706
+ ownerState: h
707
+ }), [ve, ge] = O("inputLabel", {
692
708
  elementType: oe,
693
- externalForwardedProps: F,
694
- ownerState: v
695
- }), [he, ge] = w("htmlInput", {
709
+ externalForwardedProps: g,
710
+ ownerState: h
711
+ }), [Fe, Oe] = O("htmlInput", {
696
712
  elementType: "input",
697
- externalForwardedProps: F,
698
- ownerState: v
699
- }), [Fe, Oe] = w("formHelperText", {
713
+ externalForwardedProps: g,
714
+ ownerState: h
715
+ }), [Pe, we] = O("formHelperText", {
700
716
  elementType: Z,
701
- externalForwardedProps: F,
702
- ownerState: v
703
- }), [Pe, we] = w("select", {
704
- elementType: ke,
705
- externalForwardedProps: F,
706
- ownerState: v
707
- }), Q = /* @__PURE__ */ g(ye, {
717
+ externalForwardedProps: g,
718
+ ownerState: h
719
+ }), [Se, Ce] = O("select", {
720
+ elementType: ze,
721
+ externalForwardedProps: g,
722
+ ownerState: h
723
+ }), Q = /* @__PURE__ */ F(Te, {
708
724
  "aria-describedby": U,
709
725
  autoComplete: l,
710
726
  autoFocus: a,
@@ -717,50 +733,41 @@ const Be = {
717
733
  minRows: se,
718
734
  type: ue,
719
735
  value: J,
720
- id: h,
736
+ id: v,
721
737
  inputRef: re,
722
738
  onBlur: le,
723
739
  onChange: ae,
724
740
  onFocus: ie,
725
741
  placeholder: pe,
726
- inputProps: ge,
742
+ inputProps: Oe,
727
743
  slots: {
728
- input: G.htmlInput ? he : void 0
744
+ input: G.htmlInput ? Fe : void 0
729
745
  },
730
- ...xe
746
+ ...he
731
747
  });
732
- return /* @__PURE__ */ A(Je, {
733
- className: H(me.root, p),
734
- disabled: c,
735
- error: b,
736
- fullWidth: y,
737
- ref: t,
738
- required: B,
739
- color: d,
740
- variant: L,
741
- ownerState: v,
742
- ...fe,
743
- children: [O != null && O !== "" && /* @__PURE__ */ g(Te, {
744
- htmlFor: h,
748
+ return /* @__PURE__ */ V(ye, {
749
+ ...xe,
750
+ children: [P != null && P !== "" && /* @__PURE__ */ F(ve, {
751
+ htmlFor: v,
745
752
  id: K,
746
- ...ve,
747
- children: O
748
- }), S ? /* @__PURE__ */ g(Pe, {
753
+ ...ge,
754
+ children: P
755
+ }), I ? /* @__PURE__ */ F(Se, {
749
756
  "aria-describedby": U,
750
- id: h,
757
+ id: v,
751
758
  labelId: K,
752
759
  value: J,
753
760
  input: Q,
754
- ...we,
761
+ ...Ce,
755
762
  children: i
756
- }) : Q, f && /* @__PURE__ */ g(Fe, {
763
+ }) : Q, f && /* @__PURE__ */ F(Pe, {
757
764
  id: U,
758
- ...Oe,
765
+ ...we,
759
766
  children: f
760
767
  })]
761
768
  });
762
769
  });
763
- process.env.NODE_ENV !== "production" && (Ke.propTypes = {
770
+ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
764
771
  // ┌────────────────────────────── Warning ──────────────────────────────┐
765
772
  // │ These PropTypes are generated from the TypeScript type definitions. │
766
773
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -811,7 +818,7 @@ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
811
818
  error: e.bool,
812
819
  /**
813
820
  * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
814
- * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
821
+ * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
815
822
  */
816
823
  FormHelperTextProps: e.object,
817
824
  /**
@@ -831,12 +838,12 @@ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
831
838
  /**
832
839
  * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
833
840
  * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
834
- * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
841
+ * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
835
842
  */
836
843
  InputLabelProps: e.object,
837
844
  /**
838
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
839
- * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
845
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
846
+ * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
840
847
  */
841
848
  inputProps: e.object,
842
849
  /**
@@ -844,13 +851,13 @@ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
844
851
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
845
852
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
846
853
  * component depending on the `variant` prop value.
847
- * @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
854
+ * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
848
855
  */
849
856
  InputProps: e.object,
850
857
  /**
851
858
  * Pass a ref to the `input` element.
852
859
  */
853
- inputRef: qe,
860
+ inputRef: Ne,
854
861
  /**
855
862
  * The label content.
856
863
  */
@@ -913,11 +920,12 @@ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
913
920
  select: e.bool,
914
921
  /**
915
922
  * Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
916
- * @deprecated Use `slotProps.select` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
923
+ * @deprecated Use `slotProps.select` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
917
924
  */
918
925
  SelectProps: e.object,
919
926
  /**
920
927
  * The size of the component.
928
+ * @default 'medium'
921
929
  */
922
930
  size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
923
931
  /**
@@ -940,6 +948,7 @@ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
940
948
  htmlInput: e.elementType,
941
949
  input: e.elementType,
942
950
  inputLabel: e.elementType,
951
+ root: e.elementType,
943
952
  select: e.elementType
944
953
  }),
945
954
  /**
@@ -947,7 +956,7 @@ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
947
956
  */
948
957
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
949
958
  /**
950
- * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
959
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
951
960
  */
952
961
  type: e.string,
953
962
  /**
@@ -963,5 +972,5 @@ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
963
972
  export {
964
973
  Z as F,
965
974
  oe as I,
966
- Ke as T
975
+ Xe as T
967
976
  };
@@ -0,0 +1,49 @@
1
+ import * as u from "react";
2
+ import s from "react";
3
+ function p(...t) {
4
+ const e = u.useRef(void 0), r = u.useCallback((n) => {
5
+ const l = t.map((o) => {
6
+ if (o == null)
7
+ return null;
8
+ if (typeof o == "function") {
9
+ const i = o, f = i(n);
10
+ return typeof f == "function" ? f : () => {
11
+ i(null);
12
+ };
13
+ }
14
+ return o.current = n, () => {
15
+ o.current = null;
16
+ };
17
+ });
18
+ return () => {
19
+ l.forEach((o) => o == null ? void 0 : o());
20
+ };
21
+ }, t);
22
+ return u.useMemo(() => t.every((n) => n == null) ? null : (n) => {
23
+ e.current && (e.current(), e.current = void 0), n != null && (e.current = r(n));
24
+ }, t);
25
+ }
26
+ function y(t, e) {
27
+ if (t == null) return {};
28
+ var r = {};
29
+ for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
30
+ if (e.indexOf(n) !== -1) continue;
31
+ r[n] = t[n];
32
+ }
33
+ return r;
34
+ }
35
+ function c(t, e) {
36
+ return c = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
37
+ return r.__proto__ = n, r;
38
+ }, c(t, e);
39
+ }
40
+ function _(t, e) {
41
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, c(t, e);
42
+ }
43
+ const O = s.createContext(null);
44
+ export {
45
+ O as T,
46
+ _,
47
+ y as a,
48
+ p as u
49
+ };