everest-npm-features 0.0.61 → 0.0.63

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 (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,22 +1,23 @@
1
- import { jsxs as n, Fragment as E, jsx as e } from "react/jsx-runtime";
2
- import { useMemo as et, useState as h, useEffect as x, useRef as tt } from "react";
3
- import rt from "./hoc/withThemeProvider.js";
4
- import { P as nt, f as ot } from "./PlayArrow-Bjz9LxhD.js";
5
- import { I as it } from "./Info-BVeUSPyk.js";
6
- import { G as me } from "./generic-token-B_ptO5yb.js";
7
- import { TOKEN_TO_FIAT as de, ESTIMATE_TOOLTIP_TEXT as st, SELL_WITHDRAW_ICON as at, DIALOG_SUCCESS_ICON as Re, DIALOG_ERROR_ICON as lt } from "./util/constants.js";
8
- import { aK as R, af as ct } from "./constants-DrmtdI1J.js";
1
+ import { jsxs as r, Fragment as E, jsx as e } from "react/jsx-runtime";
2
+ import { useMemo as et, useState as p, useEffect as x, useRef as tt } from "react";
3
+ import nt from "./hoc/withThemeProvider.js";
4
+ import { Grid as n, Typography as i, FormControl as V, FilledInput as te, FormHelperText as Ee, CircularProgress as I, InputLabel as Te, Select as le, MenuItem as ne, ListItemIcon as Ae, Box as T, IconButton as me, Divider as ce } from "@mui/material";
5
+ import { P as rt, f as ot } from "./PlayArrow-71FP5PzJ.js";
6
+ import { I as it } from "./Info-DOoRR7sR.js";
7
+ import { G as de } from "./generic-token-B_ptO5yb.js";
8
+ import { TOKEN_TO_FIAT as ue, ESTIMATE_TOOLTIP_TEXT as st, SELL_WITHDRAW_ICON as at, DIALOG_SUCCESS_ICON as Re, DIALOG_ERROR_ICON as lt } from "./util/constants.js";
9
+ import { aK as R, af as ct } from "./constants-DX0YBtP2.js";
9
10
  import { c as ze, d as mt } from "./index-BQNs1mvn.js";
10
- import { d as dt, e as We, b as X, c as Ee, f as ut, i as pt, g as ht } from "./order-DEp_Lmar.js";
11
- import { M as ft } from "./tooltip-3UvETWtS.js";
11
+ import { d as dt, e as We, b as X, c as Fe, f as ut, i as ht, g as pt } from "./order-BXeCIvqC.js";
12
+ import { M as ft } from "./tooltip-BW0UyWw7.js";
12
13
  import { getCurrencySymbol as Me, getNetworkBackGround as xt, displayWalletAddress as yt } from "./util/functions.js";
13
14
  import gt from "./components/Wallet/Shared/backBtn.js";
14
15
  import { s as l } from "./styles.module-DMd29SPQ.js";
15
16
  import J from "./components/Wallet/Shared/appButton.js";
16
17
  import { u as L } from "./react-redux-C7I9-1M6.js";
17
18
  import "./index-DlQqWbXG.js";
18
- import "./components/Wallet/Shared/Auth/otpForm.js";
19
- import { useSnackBarContext as pe } from "./context/snackBarContext.js";
19
+ import "./otpForm-DeeegaX2.js";
20
+ import { useSnackBarContext as he } from "./context/snackBarContext.js";
20
21
  import { formatNumberWithoutRounding as bt } from "./util/conversions.js";
21
22
  import { Q as _t } from "./index-CAoLi5Qq.js";
22
23
  import "./react-webcam-B3cXh1XT.js";
@@ -27,29 +28,18 @@ import "./web3-u4qDZYpo.js";
27
28
  import "./index-ceeCtFuh.js";
28
29
  import "./index.esm-I_Bp2YLf.js";
29
30
  import { useDialogContext as Le } from "./context/dialogContext.js";
30
- import { T as i } from "./Typography-pAaje37G.js";
31
- import { B as T } from "./Box-B0YSYLco.js";
32
- import { G as r } from "./Grid-CFe3amXO.js";
33
- import { C as I } from "./CircularProgress-xZA3lvba.js";
34
- import { f as Ct } from "./cryptoAssets-DyGDknvq.js";
35
- import { u as Nt, a as vt } from "./wallet-CauUBXou.js";
31
+ import "@mui/icons-material";
32
+ import { f as Ct } from "./cryptoAssets-B8rAI7pp.js";
33
+ import { u as Nt, a as vt } from "./wallet-BPXOp8UG.js";
36
34
  import { AuthContainer as kt } from "./components/Wallet/Shared/Container/index.js";
37
35
  import St from "./components/Shared/MinimalKyc/index.js";
38
36
  import Oe from "./components/Wallet/Shared/Input/index.js";
39
- import { C as wt } from "./ContentCopy-coPwrEuz.js";
37
+ import { C as wt } from "./ContentCopy-D0C0zbQj.js";
40
38
  import Et from "./components/Wallet/Shared/timer.js";
41
39
  import Be from "./hooks/useEverestDispatch.js";
42
- import { D as le } from "./Divider-BShhMFf4.js";
43
- import { I as ue } from "./IconButton-DHm-hucF.js";
44
40
  import Tt from "./components/Wallet/Shared/TokenModal/index.js";
45
41
  import { useDialog as At } from "./hooks/useDialog/index.js";
46
- import Te from "./components/Wallet/Shared/Order/selectCustomIcon.js";
47
- import { F as V } from "./FormControl-RtZDQMdA.js";
48
- import { F as te } from "./FilledInput-DuNqnPjc.js";
49
- import { F as Ae, I as Fe } from "./TextField-DPpRUQe3.js";
50
- import { S as ce } from "./Select-CB5yWmyn.js";
51
- import { M as re } from "./MenuItem-DUdYOJr4.js";
52
- import { L as Ie } from "./ListItemIcon-CUcyTEEm.js";
42
+ import Ie from "./components/Wallet/Shared/Order/selectCustomIcon.js";
53
43
  const Ft = ({
54
44
  setScreen: k,
55
45
  orderData: d,
@@ -59,7 +49,7 @@ const Ft = ({
59
49
  getCryptoAssets: S,
60
50
  showAlertMessage: y,
61
51
  partnerKey: z,
62
- walletAddress: p,
52
+ walletAddress: h,
63
53
  setWalletAddress: o,
64
54
  navigate: g
65
55
  }) => {
@@ -71,16 +61,16 @@ const Ft = ({
71
61
  (s) => s.address.toLowerCase() === t.address.toLowerCase()
72
62
  )
73
63
  )
74
- ], [F, w]), $ = u.fiats, he = u.loader, B = f.featureTokens.sell.list, _ = f.featureTokens.sell.default, fe = f.loader, Z = d.loader, C = d.estimate[R], W = C.fiat_out_amount, $e = C.conversion_price, Ue = C.total_fee;
64
+ ], [F, w]), $ = u.fiats, pe = u.loader, B = f.featureTokens.sell.list, _ = f.featureTokens.sell.default, fe = f.loader, Z = d.loader, C = d.estimate[R], W = C.fiat_out_amount, $e = C.conversion_price, Ue = C.total_fee;
75
65
  let xe = 0, ye = 0;
76
66
  const ge = C.fee_breakdown;
77
67
  for (let t = 0; t < ge.length; t++) {
78
68
  const s = ge[t];
79
69
  s.name === "ev_fee" ? xe = Number(s.value) : s.name === "network_fee" && (ye = Number(s.value));
80
70
  }
81
- const [a, be] = h({
71
+ const [a, be] = p({
82
72
  symbol: ""
83
- }), [ne, oe] = h(!1), [P, qe] = h(2), [Ye, De] = h([]), [_e, Ge] = h(!1), [j, Ke] = h(50), [ie, He] = h(3e3), [Ce, se] = h(""), [U, ae] = h(C.crypto_amount || "0.05"), [je, Ne] = h(!1), ee = Number((ke = C == null ? void 0 : C.input_token) == null ? void 0 : ke.fiat_amount), q = $.find((t) => t.id === P), M = Me(q == null ? void 0 : q.symbol);
73
+ }), [re, oe] = p(!1), [P, qe] = p(2), [Ye, De] = p([]), [_e, Ge] = p(!1), [j, Ke] = p(50), [ie, He] = p(3e3), [Ce, se] = p(""), [U, ae] = p(C.crypto_amount || "0.05"), [je, Ne] = p(!1), ee = Number((ke = C == null ? void 0 : C.input_token) == null ? void 0 : ke.fiat_amount), q = $.find((t) => t.id === P), M = Me(q == null ? void 0 : q.symbol);
84
74
  x(() => {
85
75
  const t = [];
86
76
  for (let s = 0; s < $.length; s++) {
@@ -98,7 +88,7 @@ const Ft = ({
98
88
  ), oe(!0)));
99
89
  }, [W]), x(() => {
100
90
  P && S && S(P);
101
- }, [P, p]), x(() => {
91
+ }, [P, h]), x(() => {
102
92
  if (a && a.id && U && P) {
103
93
  c(dt(R)), oe(!1), se("");
104
94
  const t = setTimeout(() => {
@@ -113,7 +103,7 @@ const Ft = ({
113
103
  We(
114
104
  {
115
105
  apiKey: z,
116
- transaction_type: de,
106
+ transaction_type: ue,
117
107
  coin_amount: U,
118
108
  exchange: a.exchange,
119
109
  fiat_ccy: q == null ? void 0 : q.symbol,
@@ -129,7 +119,7 @@ const Ft = ({
129
119
  if (t > 0)
130
120
  for (let s = 0; s < t; s++) {
131
121
  const N = d.types[s];
132
- if (N.type === de) {
122
+ if (N.type === ue) {
133
123
  Ke(parseFloat(N.min_deposit_amount)), He(parseFloat(N.max_deposit_amount));
134
124
  break;
135
125
  }
@@ -181,11 +171,11 @@ const Ft = ({
181
171
  }, Ze = () => {
182
172
  a && ae(bt(a.fmt_balance + "", 8));
183
173
  };
184
- return /* @__PURE__ */ n(E, { children: [
174
+ return /* @__PURE__ */ r(E, { children: [
185
175
  /* @__PURE__ */ e(A, {}),
186
- /* @__PURE__ */ n(r, { container: !0, children: [
187
- /* @__PURE__ */ e(r, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(i, { className: l.label, variant: "caption", component: "p", children: "You Sell" }) }),
188
- /* @__PURE__ */ e(r, { size: { xs: 9.5 }, children: p && a && /* @__PURE__ */ n(
176
+ /* @__PURE__ */ r(n, { container: !0, children: [
177
+ /* @__PURE__ */ e(n, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(i, { className: l.label, variant: "caption", component: "p", children: "You Sell" }) }),
178
+ /* @__PURE__ */ e(n, { size: { xs: 9.5 }, children: h && a && /* @__PURE__ */ r(
189
179
  i,
190
180
  {
191
181
  className: l["balance-label"],
@@ -202,8 +192,8 @@ const Ft = ({
202
192
  }
203
193
  ) })
204
194
  ] }),
205
- /* @__PURE__ */ n(r, { mt: 0.5, spacing: 0, container: !0, className: l["field-set"], children: [
206
- /* @__PURE__ */ e(r, { size: { xs: 7 }, children: /* @__PURE__ */ n(
195
+ /* @__PURE__ */ r(n, { mt: 0.5, spacing: 0, container: !0, className: l["field-set"], children: [
196
+ /* @__PURE__ */ e(n, { size: { xs: 7 }, children: /* @__PURE__ */ r(
207
197
  V,
208
198
  {
209
199
  variant: "filled",
@@ -217,17 +207,17 @@ const Ft = ({
217
207
  onChange: Ve,
218
208
  type: "text",
219
209
  placeholder: `${j > 0 ? M + j + " minimum value" : ""}`,
220
- error: ne,
210
+ error: re,
221
211
  disableUnderline: !0,
222
212
  required: !0,
223
213
  fullWidth: !0
224
214
  }
225
215
  ),
226
- /* @__PURE__ */ e(Ae, { className: l["crypto-helper-text"], children: ee > 0 ? "$" + (ee * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
216
+ /* @__PURE__ */ e(Ee, { className: l["crypto-helper-text"], children: ee > 0 ? "$" + (ee * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
227
217
  ]
228
218
  }
229
219
  ) }),
230
- /* @__PURE__ */ e(r, { size: { xs: 5 }, className: "content-center", children: fe ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ n(
220
+ /* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: fe ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ r(
231
221
  V,
232
222
  {
233
223
  variant: "filled",
@@ -235,16 +225,16 @@ const Ft = ({
235
225
  fullWidth: !0,
236
226
  children: [
237
227
  (a == null ? void 0 : a.network) && /* @__PURE__ */ e(
238
- Fe,
228
+ Te,
239
229
  {
240
230
  className: `${l["network-label"]} ${l[xt(a == null ? void 0 : a.network.name)]}`,
241
231
  children: a == null ? void 0 : a.network.name
242
232
  }
243
233
  ),
244
- /* @__PURE__ */ n(
245
- ce,
234
+ /* @__PURE__ */ r(
235
+ le,
246
236
  {
247
- IconComponent: Te,
237
+ IconComponent: Ie,
248
238
  input: /* @__PURE__ */ e(te, { disableUnderline: !0 }),
249
239
  sx: {
250
240
  borderTopLeftRadius: 0,
@@ -276,14 +266,14 @@ const Ft = ({
276
266
  defaultOpen: !1,
277
267
  open: !1,
278
268
  children: [
279
- /* @__PURE__ */ e(re, { value: "", children: "Please select" }),
280
- B.map((t) => /* @__PURE__ */ n(re, { value: t.symbol, children: [
281
- /* @__PURE__ */ e(Ie, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
269
+ /* @__PURE__ */ e(ne, { value: "", children: "Please select" }),
270
+ B.map((t) => /* @__PURE__ */ r(ne, { value: t.symbol, children: [
271
+ /* @__PURE__ */ e(Ae, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
282
272
  "img",
283
273
  {
284
274
  src: t.icon_uri,
285
275
  onError: ({ currentTarget: s }) => {
286
- s.onerror = null, s.src = me;
276
+ s.onerror = null, s.src = de;
287
277
  },
288
278
  alt: "tokenImg",
289
279
  width: "40",
@@ -300,9 +290,9 @@ const Ft = ({
300
290
  ) }),
301
291
  Ce && /* @__PURE__ */ e(i, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: Ce }) })
302
292
  ] }),
303
- /* @__PURE__ */ e(r, { mt: 4, container: !0, children: /* @__PURE__ */ e(r, { size: { xs: 4 }, children: /* @__PURE__ */ e(i, { className: l.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
304
- /* @__PURE__ */ n(r, { mt: 0.5, container: !0, className: l["field-set"], children: [
305
- /* @__PURE__ */ e(r, { size: { xs: 7 }, children: /* @__PURE__ */ n(
293
+ /* @__PURE__ */ e(n, { mt: 4, container: !0, children: /* @__PURE__ */ e(n, { size: { xs: 4 }, children: /* @__PURE__ */ e(i, { className: l.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
294
+ /* @__PURE__ */ r(n, { mt: 0.5, container: !0, className: l["field-set"], children: [
295
+ /* @__PURE__ */ e(n, { size: { xs: 7 }, children: /* @__PURE__ */ r(
306
296
  V,
307
297
  {
308
298
  className: `${l.amount} ${l["fiat-field"]}`,
@@ -318,11 +308,11 @@ const Ft = ({
318
308
  fullWidth: !0
319
309
  }
320
310
  ),
321
- /* @__PURE__ */ e(Ae, { className: l["amount-symbol"], children: +((Se = C == null ? void 0 : C.output_token) == null ? void 0 : Se.fiat_amount) * 1 > 0 ? M + (+((we = C == null ? void 0 : C.output_token) == null ? void 0 : we.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
311
+ /* @__PURE__ */ e(Ee, { className: l["amount-symbol"], children: +((Se = C == null ? void 0 : C.output_token) == null ? void 0 : Se.fiat_amount) * 1 > 0 ? M + (+((we = C == null ? void 0 : C.output_token) == null ? void 0 : we.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
322
312
  ]
323
313
  }
324
314
  ) }),
325
- /* @__PURE__ */ e(r, { size: { xs: 5 }, className: "content-center", children: he ? /* @__PURE__ */ e(
315
+ /* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: pe ? /* @__PURE__ */ e(
326
316
  I,
327
317
  {
328
318
  sx: { ml: 1 },
@@ -335,9 +325,9 @@ const Ft = ({
335
325
  className: `text-left ${l["fiat-picker"]}`,
336
326
  fullWidth: !0,
337
327
  children: /* @__PURE__ */ e(
338
- ce,
328
+ le,
339
329
  {
340
- IconComponent: Te,
330
+ IconComponent: Ie,
341
331
  input: /* @__PURE__ */ e(te, { disableUnderline: !0 }),
342
332
  sx: {
343
333
  borderTopLeftRadius: 0,
@@ -362,14 +352,14 @@ const Ft = ({
362
352
  variant: "filled",
363
353
  displayEmpty: !0,
364
354
  onChange: (t) => qe(t.target.value),
365
- error: ne,
366
- children: Ye.map((t) => /* @__PURE__ */ n(re, { value: t.id, children: [
367
- /* @__PURE__ */ e(Ie, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
355
+ error: re,
356
+ children: Ye.map((t) => /* @__PURE__ */ r(ne, { value: t.id, children: [
357
+ /* @__PURE__ */ e(Ae, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
368
358
  "img",
369
359
  {
370
360
  src: t.icon_uri,
371
361
  onError: ({ currentTarget: s }) => {
372
- s.onerror = null, s.src = me;
362
+ s.onerror = null, s.src = de;
373
363
  },
374
364
  alt: "tokenImg",
375
365
  width: "40",
@@ -383,9 +373,9 @@ const Ft = ({
383
373
  }
384
374
  ) })
385
375
  ] }),
386
- /* @__PURE__ */ e(T, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ n(r, { container: !0, children: [
387
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ n(
388
- ue,
376
+ /* @__PURE__ */ e(T, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ r(n, { container: !0, children: [
377
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ r(
378
+ me,
389
379
  {
390
380
  sx: { padding: "0" },
391
381
  onClick: () => Ge((t) => !t),
@@ -394,7 +384,7 @@ const Ft = ({
394
384
  children: [
395
385
  /* @__PURE__ */ e(i, { variant: "caption", fontWeight: 700, children: "Fee Calculation" }),
396
386
  /* @__PURE__ */ e(
397
- nt,
387
+ rt,
398
388
  {
399
389
  sx: {
400
390
  transform: `rotate(${_e ? "90" : "0"}deg)`,
@@ -405,9 +395,9 @@ const Ft = ({
405
395
  ]
406
396
  }
407
397
  ) }),
408
- _e && /* @__PURE__ */ n(E, { children: [
409
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
410
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
398
+ _e && /* @__PURE__ */ r(E, { children: [
399
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
400
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
411
401
  M,
412
402
  Z ? /* @__PURE__ */ e(
413
403
  I,
@@ -418,8 +408,8 @@ const Ft = ({
418
408
  }
419
409
  ) : xe.toFixed(2)
420
410
  ] }) }),
421
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
422
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
411
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
412
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
423
413
  M,
424
414
  Z ? /* @__PURE__ */ e(
425
415
  I,
@@ -431,13 +421,13 @@ const Ft = ({
431
421
  ) : ye.toFixed(2)
432
422
  ] }) })
433
423
  ] }),
434
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
435
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
424
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
425
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
436
426
  M,
437
427
  Z ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Ue).toFixed(2)
438
428
  ] }) }),
439
- a && /* @__PURE__ */ n(E, { children: [
440
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
429
+ a && /* @__PURE__ */ r(E, { children: [
430
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
441
431
  "1 ",
442
432
  a.symbol,
443
433
  " ",
@@ -446,7 +436,7 @@ const Ft = ({
446
436
  {
447
437
  title: st,
448
438
  placement: "right",
449
- children: /* @__PURE__ */ e(ue, { className: "info-fee-icon", children: /* @__PURE__ */ e(
439
+ children: /* @__PURE__ */ e(me, { className: "info-fee-icon", children: /* @__PURE__ */ e(
450
440
  it,
451
441
  {
452
442
  sx: {
@@ -457,7 +447,7 @@ const Ft = ({
457
447
  }
458
448
  )
459
449
  ] }) }),
460
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
450
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
461
451
  M,
462
452
  Z ? /* @__PURE__ */ e(
463
453
  I,
@@ -470,28 +460,28 @@ const Ft = ({
470
460
  ] }) })
471
461
  ] })
472
462
  ] }) }),
473
- /* @__PURE__ */ e(T, { sx: { alignItems: "left", width: "100%" }, children: K || m ? /* @__PURE__ */ e(T, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(I, {}) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ n(V, { variant: "filled", fullWidth: !0, children: [
474
- !p && /* @__PURE__ */ e(Fe, { children: "Select wallet address" }),
463
+ /* @__PURE__ */ e(T, { sx: { alignItems: "left", width: "100%" }, children: K || m ? /* @__PURE__ */ e(T, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(I, {}) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(V, { variant: "filled", fullWidth: !0, children: [
464
+ !h && /* @__PURE__ */ e(Te, { children: "Select wallet address" }),
475
465
  /* @__PURE__ */ e(
476
- ce,
466
+ le,
477
467
  {
478
- value: p,
468
+ value: h,
479
469
  onChange: (t) => o && o(t.target.value),
480
- children: H.map((t, s) => /* @__PURE__ */ e(re, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
470
+ children: H.map((t, s) => /* @__PURE__ */ e(ne, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
481
471
  }
482
472
  )
483
473
  ] }) }) }),
484
- /* @__PURE__ */ n(T, { mt: 4, children: [
474
+ /* @__PURE__ */ r(T, { mt: 4, children: [
485
475
  /* @__PURE__ */ e(
486
476
  J,
487
477
  {
488
478
  onClick: Xe,
489
- disabled: ne || !W,
479
+ disabled: re || !W,
490
480
  fullWidth: !0,
491
481
  children: /* @__PURE__ */ e("strong", { children: "Next" })
492
482
  }
493
483
  ),
494
- O && /* @__PURE__ */ n(E, { children: [
484
+ O && /* @__PURE__ */ r(E, { children: [
495
485
  /* @__PURE__ */ e(
496
486
  J,
497
487
  {
@@ -534,13 +524,13 @@ const Ft = ({
534
524
  walletAddress: f,
535
525
  navigate: S
536
526
  }) => {
537
- const y = tt(null), z = L(ze), { openDialog: p } = Le();
538
- pe();
527
+ const y = tt(null), z = L(ze), { openDialog: h } = Le();
528
+ he();
539
529
  const o = c.estimate[R], g = c.create.order_id, v = c.depositAddress, A = c.depositAddressError, b = c.loader;
540
530
  o.fiat_amount;
541
- const O = Me(o.fiat_currency), [D, G] = h(!1);
531
+ const O = Me(o.fiat_currency), [D, G] = p(!1);
542
532
  x(() => {
543
- g && D && (z.data.some((H) => H.address === f) ? p({
533
+ g && D && (z.data.some((H) => H.address === f) ? h({
544
534
  icon: Re,
545
535
  title: "Sell Success",
546
536
  message: "Your transaction was successful for more details on the transaction please track your order.",
@@ -553,10 +543,10 @@ const Ft = ({
553
543
  S && S("/history"), u(X());
554
544
  },
555
545
  height: "490px"
556
- }) : u(Ee(g)));
546
+ }) : u(Fe(g)));
557
547
  }, [g]), x(() => {
558
548
  A > 0 && (y.current = setTimeout(() => {
559
- u(Ee(g));
549
+ u(Fe(g));
560
550
  }, 1e4));
561
551
  }, [A, g]), x(() => {
562
552
  v && k(zt);
@@ -589,7 +579,7 @@ const Ft = ({
589
579
  })
590
580
  ), G(!0);
591
581
  };
592
- return /* @__PURE__ */ n(E, { children: [
582
+ return /* @__PURE__ */ r(E, { children: [
593
583
  /* @__PURE__ */ e(
594
584
  gt,
595
585
  {
@@ -608,8 +598,8 @@ const Ft = ({
608
598
  }
609
599
  ),
610
600
  /* @__PURE__ */ e(i, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
611
- /* @__PURE__ */ e(T, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ n(r, { container: !0, children: [
612
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
601
+ /* @__PURE__ */ e(T, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ r(n, { container: !0, children: [
602
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
613
603
  o.crypto_amount,
614
604
  " ",
615
605
  o.crypto_currency.toUpperCase(),
@@ -619,7 +609,7 @@ const Ft = ({
619
609
  " ",
620
610
  o.fiat_currency
621
611
  ] }) }),
622
- /* @__PURE__ */ e(r, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
612
+ /* @__PURE__ */ e(n, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
623
613
  "span",
624
614
  {
625
615
  className: l["confirm-transaction-network"],
@@ -629,24 +619,24 @@ const Ft = ({
629
619
  children: o.network
630
620
  }
631
621
  ) }),
632
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
622
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
633
623
  Number(o.crypto_amount).toFixed(5),
634
624
  " ",
635
625
  o.crypto_currency.toUpperCase()
636
626
  ] }) }),
637
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
627
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
638
628
  Number(o.fiat_base_amount).toFixed(2),
639
629
  " ",
640
630
  o.fiat_currency
641
631
  ] }) }),
642
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
643
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
632
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
633
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
644
634
  Number(o.total_fee).toFixed(2),
645
635
  " ",
646
636
  o.fiat_currency
647
637
  ] }) }),
648
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Order Total" }) }) }),
649
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ n("strong", { children: [
638
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Order Total" }) }) }),
639
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ r("strong", { children: [
650
640
  O,
651
641
  Number(o.fiat_out_amount).toFixed(2),
652
642
  " ",
@@ -659,7 +649,7 @@ const Ft = ({
659
649
  onClick: K,
660
650
  disabled: b,
661
651
  fullWidth: !0,
662
- children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ n(E, { children: [
652
+ children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ r(E, { children: [
663
653
  /* @__PURE__ */ e(I, { size: 15, color: "inherit" }),
664
654
  " Processing..."
665
655
  ] }) : "Sell" })
@@ -676,14 +666,14 @@ const Ft = ({
676
666
  var B;
677
667
  const S = Be(), y = L(
678
668
  (_) => _.cryptoAssets
679
- ), { showAlertMessage: z } = pe(), { openDialog: p } = Le(), o = d.create.order_id, g = d.depositAddress, v = d.depositComplete, A = d.error, [b, O] = h(!1), [D, G] = h(!1), [F, K] = h("");
669
+ ), { showAlertMessage: z } = he(), { openDialog: h } = Le(), o = d.create.order_id, g = d.depositAddress, v = d.depositComplete, A = d.error, [b, O] = p(!1), [D, G] = p(!1), [F, K] = p("");
680
670
  let w = "Swap", m = d.estimate[ct];
681
671
  k === R && (w = "Sell", m = d.estimate[R]);
682
672
  let H = (B = y.tokens.find(
683
673
  (_) => _.symbol === m.input_token.symbol
684
674
  )) == null ? void 0 : B.icon_uri;
685
675
  x(() => {
686
- A && (O(!1), z({ message: String(A) }), p({
676
+ A && (O(!1), z({ message: String(A) }), h({
687
677
  icon: lt,
688
678
  title: w + " Error",
689
679
  message: "There has been an error with processing your transaction.",
@@ -695,7 +685,7 @@ const Ft = ({
695
685
  height: "490px"
696
686
  }));
697
687
  }, [A]), x(() => {
698
- v && (O(!1), G(!0), p({
688
+ v && (O(!1), G(!0), h({
699
689
  icon: Re,
700
690
  title: w + " Success",
701
691
  message: "Your transaction was successful for more details on the transaction please track your order.",
@@ -717,21 +707,21 @@ const Ft = ({
717
707
  });
718
708
  return;
719
709
  }
720
- b || (O(!0), S(pt({
710
+ b || (O(!0), S(ht({
721
711
  order_id: o,
722
712
  tx_hash: F
723
713
  })));
724
714
  };
725
- return /* @__PURE__ */ n(T, { mt: 12, children: [
726
- /* @__PURE__ */ n(r, { rowSpacing: 2, container: !0, children: [
727
- /* @__PURE__ */ e(r, { size: 8, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Send Your Tokens" }) }) }),
728
- /* @__PURE__ */ e(r, { className: "flex-right", size: 4, children: /* @__PURE__ */ e(
715
+ return /* @__PURE__ */ r(T, { mt: 12, children: [
716
+ /* @__PURE__ */ r(n, { rowSpacing: 2, container: !0, children: [
717
+ /* @__PURE__ */ e(n, { size: 8, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Send Your Tokens" }) }) }),
718
+ /* @__PURE__ */ e(n, { className: "flex-right", size: 4, children: /* @__PURE__ */ e(
729
719
  Et,
730
720
  {
731
721
  preText: "in ",
732
722
  clearTimer: D,
733
723
  onFinish: () => {
734
- p({
724
+ h({
735
725
  title: "Timer Error",
736
726
  message: "We did not receive your token before the timer expired. Please return to " + w + " and try again.",
737
727
  confirmButtonShow: !1,
@@ -746,12 +736,12 @@ const Ft = ({
746
736
  }
747
737
  ) })
748
738
  ] }),
749
- /* @__PURE__ */ n(r, { mt: 4, rowSpacing: 2, container: !0, children: [
750
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "From Wallet" }) }),
751
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: yt(u) }) }),
752
- /* @__PURE__ */ e(le, { sx: { width: "100%", mt: 1 } }),
753
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "Token" }) }),
754
- /* @__PURE__ */ n(r, { className: "flex-right", alignItems: "center", size: 6, children: [
739
+ /* @__PURE__ */ r(n, { mt: 4, rowSpacing: 2, container: !0, children: [
740
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "From Wallet" }) }),
741
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: yt(u) }) }),
742
+ /* @__PURE__ */ e(ce, { sx: { width: "100%", mt: 1 } }),
743
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "Token" }) }),
744
+ /* @__PURE__ */ r(n, { className: "flex-right", alignItems: "center", size: 6, children: [
755
745
  /* @__PURE__ */ e(
756
746
  "img",
757
747
  {
@@ -759,16 +749,16 @@ const Ft = ({
759
749
  width: 32,
760
750
  src: H,
761
751
  onError: ({ currentTarget: _ }) => {
762
- _.onerror = null, _.src = me;
752
+ _.onerror = null, _.src = de;
763
753
  },
764
754
  alt: "token"
765
755
  }
766
756
  ),
767
757
  /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: m == null ? void 0 : m.input_token.symbol })
768
758
  ] }),
769
- /* @__PURE__ */ e(le, { sx: { width: "100%", mt: 1 } }),
770
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "Network" }) }),
771
- /* @__PURE__ */ e(r, { className: "flex-right", size: 6, children: /* @__PURE__ */ e(
759
+ /* @__PURE__ */ e(ce, { sx: { width: "100%", mt: 1 } }),
760
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "Network" }) }),
761
+ /* @__PURE__ */ e(n, { className: "flex-right", size: 6, children: /* @__PURE__ */ e(
772
762
  "span",
773
763
  {
774
764
  className: l["confirm-transaction-network"],
@@ -778,16 +768,16 @@ const Ft = ({
778
768
  children: m == null ? void 0 : m.input_token.network
779
769
  }
780
770
  ) }),
781
- /* @__PURE__ */ e(le, { sx: { width: "100%", mt: 1 } }),
782
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: /* @__PURE__ */ e("strong", { children: "Amount to Send" }) }) }),
783
- /* @__PURE__ */ e(r, { className: "flex-right", size: 6, children: /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: /* @__PURE__ */ n("strong", { children: [
771
+ /* @__PURE__ */ e(ce, { sx: { width: "100%", mt: 1 } }),
772
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: /* @__PURE__ */ e("strong", { children: "Amount to Send" }) }) }),
773
+ /* @__PURE__ */ e(n, { className: "flex-right", size: 6, children: /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: /* @__PURE__ */ r("strong", { children: [
784
774
  (+(m == null ? void 0 : m.crypto_amount) * 1).toFixed(5),
785
775
  " ",
786
776
  m == null ? void 0 : m.input_token.symbol
787
777
  ] }) }) })
788
778
  ] }),
789
779
  /* @__PURE__ */ e(i, { mt: 4, variant: "body2", children: /* @__PURE__ */ e("b", { children: "To Wallet Address" }) }),
790
- /* @__PURE__ */ n(
780
+ /* @__PURE__ */ r(
791
781
  T,
792
782
  {
793
783
  mt: 1.5,
@@ -795,7 +785,7 @@ const Ft = ({
795
785
  children: [
796
786
  /* @__PURE__ */ e(i, { variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: g }) }),
797
787
  /* @__PURE__ */ e(
798
- ue,
788
+ me,
799
789
  {
800
790
  onClick: () => {
801
791
  navigator.clipboard.writeText(g);
@@ -831,7 +821,7 @@ const Ft = ({
831
821
  fullWidth: !0
832
822
  }
833
823
  ),
834
- /* @__PURE__ */ e(J, { sx: { mt: 2 }, onClick: $, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ n(E, { children: [
824
+ /* @__PURE__ */ e(J, { sx: { mt: 2 }, onClick: $, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ r(E, { children: [
835
825
  /* @__PURE__ */ e(I, { size: 15, color: "inherit" }),
836
826
  " Processing..."
837
827
  ] }) : "Continue" }) })
@@ -839,19 +829,19 @@ const Ft = ({
839
829
  }, Y = "FORM_SCREEN", Pe = "CONFIRM_SCREEN", zt = "MANUAL_SEND_SCREEN", Wt = "MINIMAL_KYC_SCREEN", Mt = ({ partnerKey: k, navigate: d }) => {
840
830
  const c = Be(), u = L((b) => b.order), f = u.error, S = L((b) => b.fiatAssets), y = L(
841
831
  (b) => b.cryptoAssets
842
- ), [z, p] = h(Y), [o, g] = h(""), { showAlertMessage: v } = pe();
832
+ ), [z, h] = p(Y), [o, g] = p(""), { showAlertMessage: v } = he();
843
833
  return x(() => {
844
834
  f && v({ message: f });
845
835
  }, [f]), x(() => {
846
- u.initMinimalKyc && (v({ message: f, type: "info" }), p(Wt));
847
- }, [u.initMinimalKyc]), x(() => (c(ot()), c(ht(de)), c(Nt()), c(vt()), () => {
836
+ u.initMinimalKyc && (v({ message: f, type: "info" }), h(Wt));
837
+ }, [u.initMinimalKyc]), x(() => (c(ot()), c(pt(ue)), c(Nt()), c(vt()), () => {
848
838
  c(X());
849
839
  }), []), /* @__PURE__ */ e(kt, { addPadding: !0, children: {
850
840
  FORM_SCREEN: /* @__PURE__ */ e(
851
841
  Ft,
852
842
  {
853
843
  showAlertMessage: v,
854
- setScreen: p,
844
+ setScreen: h,
855
845
  fiatAssets: S,
856
846
  cryptoAssets: y,
857
847
  orderData: u,
@@ -876,7 +866,7 @@ const Ft = ({
876
866
  It,
877
867
  {
878
868
  partnerKey: k,
879
- setScreen: p,
869
+ setScreen: h,
880
870
  showAlertMessage: v,
881
871
  orderData: u,
882
872
  dispatch: c,
@@ -888,7 +878,7 @@ const Ft = ({
888
878
  Rt,
889
879
  {
890
880
  orderData: u,
891
- setScreen: p,
881
+ setScreen: h,
892
882
  walletAddress: o,
893
883
  from: R,
894
884
  navigate: d
@@ -900,12 +890,12 @@ const Ft = ({
900
890
  inputComponent: Oe,
901
891
  buttonComponent: J,
902
892
  onComplete: () => {
903
- p(Pe);
893
+ h(Pe);
904
894
  }
905
895
  }
906
896
  )
907
897
  }[z] });
908
- }, Wr = rt(Mt);
898
+ }, Sn = nt(Mt);
909
899
  export {
910
900
  Pe as C,
911
901
  Y as F,
@@ -914,5 +904,5 @@ export {
914
904
  It as a,
915
905
  zt as b,
916
906
  Wt as c,
917
- Wr as i
907
+ Sn as i
918
908
  };