everest-npm-features 0.0.30 → 0.0.32

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 (92) hide show
  1. package/dist/assets/index4.css +1 -1
  2. package/dist/assets/styles2.css +1 -1
  3. package/dist/assets/tokenRow.css +1 -1
  4. package/dist/assets/withThemeProvider.css +1 -1
  5. package/dist/{auth-DoHhqFQx.js → auth-IOh0JhPD.js} +1 -1
  6. package/dist/{bank-DyVf4Uoo.js → bank-BNgO--wu.js} +1 -1
  7. package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
  8. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  9. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  10. package/dist/components/RocketRamp/Player/Buy/form.js +3 -3
  11. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  12. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  13. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  14. package/dist/components/RocketRamp/Player/Sell/form.js +3 -3
  15. package/dist/components/RocketRamp/Player/Sell/index.js +5 -5
  16. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  20. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  21. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  24. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  25. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  26. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  27. package/dist/components/Shared/FullKyc/index.js +3 -3
  28. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  29. package/dist/components/Shared/FullKyc/userInfo.js +3 -3
  30. package/dist/components/Shared/HistoryItem/index.js +58 -51
  31. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  32. package/dist/components/Wallet/Account/iban.js +3 -3
  33. package/dist/components/Wallet/Account/index.js +3 -3
  34. package/dist/components/Wallet/Account/sendIban.js +2 -2
  35. package/dist/components/Wallet/Buy/confirmTransaction.js +4 -4
  36. package/dist/components/Wallet/Buy/form.js +6 -5
  37. package/dist/components/Wallet/Buy/index.js +6 -6
  38. package/dist/components/Wallet/Deposit/index.js +14 -7
  39. package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
  40. package/dist/components/Wallet/EnterpriseKyc/index.js +106 -109
  41. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +8 -14
  42. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
  43. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  44. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  45. package/dist/components/Wallet/History/index.js +2 -2
  46. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +2 -2
  47. package/dist/components/Wallet/Portfolio/index.js +6 -6
  48. package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
  49. package/dist/components/Wallet/Profile/documents.js +3 -4
  50. package/dist/components/Wallet/Profile/index.js +2 -2
  51. package/dist/components/Wallet/Receive/index.js +2 -2
  52. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  53. package/dist/components/Wallet/Sell/form.js +6 -5
  54. package/dist/components/Wallet/Sell/index.js +6 -6
  55. package/dist/components/Wallet/Send/index.js +2 -2
  56. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  57. package/dist/components/Wallet/Shared/Order/selectCustomIcon.d.ts +4 -0
  58. package/dist/components/Wallet/Shared/Order/selectCustomIcon.js +14 -0
  59. package/dist/components/Wallet/Shared/TokenModal/index.js +77 -75
  60. package/dist/components/Wallet/Shared/addBank.js +2 -2
  61. package/dist/components/Wallet/Shared/appButton.js +23 -20
  62. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  63. package/dist/components/Wallet/SignIn/index.js +2 -2
  64. package/dist/components/Wallet/SignUp/index.js +2 -2
  65. package/dist/components/Wallet/Stake/index.js +3 -3
  66. package/dist/components/Wallet/Swap/index.js +158 -155
  67. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  68. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  69. package/dist/components/Wallet/Withdraw/form.js +6 -5
  70. package/dist/components/Wallet/Withdraw/index.js +5 -5
  71. package/dist/{constants-BF50a6s-.js → constants-DWENgBjv.js} +129 -128
  72. package/dist/{cryptoAssets-Dck03SPI.js → cryptoAssets-C7fIAflf.js} +1 -1
  73. package/dist/{documents-Sh6RH769.js → documents-BA_pUCQh.js} +57 -55
  74. package/dist/{fiatAssets-CTIJw9N4.js → fiatAssets-Bkh4X4hq.js} +1 -1
  75. package/dist/{index-GxLtFwhs.js → index-BtYuKn1z.js} +150 -147
  76. package/dist/{index-C3GMDAX6.js → index-BvD3O03n.js} +2 -2
  77. package/dist/{index-CbogTdwW.js → index-CNLxRkdf.js} +4 -4
  78. package/dist/{index-CABieRWd.js → index-Cz_n7X7q.js} +129 -116
  79. package/dist/{index-CWzs4-wZ.js → index-GXDDOdOI.js} +4 -4
  80. package/dist/{index-CmJNKC9m.js → index-dsM-tUkI.js} +125 -115
  81. package/dist/{kyc-kWxxF1vI.js → kyc-DbZ4KGFX.js} +1 -1
  82. package/dist/main.js +6 -6
  83. package/dist/{order-D-FBHreS.js → order-BLu2iLAt.js} +1 -1
  84. package/dist/{stake-mS8fdG8g.js → stake-tw1n23io.js} +1 -1
  85. package/dist/styles.module-CRVptIQs.js +33 -0
  86. package/dist/{tokenRow-DBnoUm0z.js → tokenRow-C5N2uPgO.js} +42 -42
  87. package/dist/util/constants.d.ts +1 -0
  88. package/dist/util/constants.js +76 -75
  89. package/dist/{wallet-BTc5u8j2.js → wallet-DZwD-8oa.js} +1 -1
  90. package/package.json +1 -1
  91. package/dist/ArrowBack-BV158RTp.js +0 -8
  92. package/dist/styles.module-B-t8vvWh.js +0 -31
@@ -7,8 +7,8 @@ import te from "./components/Wallet/Shared/Input/index.js";
7
7
  import oe from "./components/Wallet/Shared/appButton.js";
8
8
  import { a as ne, u as Y } from "./react-redux-C7I9-1M6.js";
9
9
  import "./components/Wallet/Shared/Auth/otpForm.js";
10
- import "./constants-BF50a6s-.js";
11
- import { b as ue, c as me } from "./kyc-kWxxF1vI.js";
10
+ import "./constants-DWENgBjv.js";
11
+ import { b as ue, c as me } from "./kyc-DbZ4KGFX.js";
12
12
  import { useSnackBarContext as re } from "./context/snackBarContext.js";
13
13
  import "./util/conversions.js";
14
14
  import "./index-CAoLi5Qq.js";
@@ -5,13 +5,13 @@ import Se from "./components/RocketRamp/Shared/backBtn.js";
5
5
  import { getCurrencySymbol as ue, getOrionBalance as Me } from "./util/functions.js";
6
6
  import { PAYMENT_BANK as ie, SEPA_ICON as ze, VISA_ICON as Oe, ID_TOKEN_SYMBOL as Pe, FIAT_WITHDRAW as we, FIAT_TO_EVER_ID as We, FIAT_TO_TOKEN as Be, ESTIMATE_TOOLTIP_TEXT as Le, TOKEN_TO_FIAT as Xe } from "./util/constants.js";
7
7
  import U from "./components/RocketRamp/Shared/Button/index.js";
8
- import { af as j } from "./constants-BF50a6s-.js";
9
- import { c as pe, d as De, i as Ye, b as qe, a as Ke } from "./order-D-FBHreS.js";
8
+ import { ag as j } from "./constants-DWENgBjv.js";
9
+ import { c as pe, d as De, i as Ye, b as qe, a as Ke } from "./order-BLu2iLAt.js";
10
10
  import "./components/Wallet/Shared/appButton.js";
11
11
  import { a as $e, u as W } from "./react-redux-C7I9-1M6.js";
12
12
  import "./components/Wallet/Shared/Auth/otpForm.js";
13
- import { f as Ge } from "./fiatAssets-CTIJw9N4.js";
14
- import { f as Ue } from "./cryptoAssets-Dck03SPI.js";
13
+ import { f as Ge } from "./fiatAssets-Bkh4X4hq.js";
14
+ import { f as Ue } from "./cryptoAssets-C7fIAflf.js";
15
15
  import "./context/snackBarContext.js";
16
16
  import "./util/conversions.js";
17
17
  import "./index-CAoLi5Qq.js";
@@ -1,24 +1,24 @@
1
- import { jsxs as a, Fragment as B, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as a, Fragment as I, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as x, useEffect as N } from "react";
3
3
  import Fe from "./hoc/withThemeProvider.js";
4
4
  import de from "./components/Wallet/Shared/backBtn.js";
5
- import { DIALOG_SUCCESS_ICON as Se, PAYMENT_BANK as J, SEPA_ICON as Re, VISA_ICON as Te, RADIO_BUTTON_SELECTED as ze, RADIO_BUTTON as Be, PAYMENT_PROVIDER_PAYSAFE as Ie, FIAT_WITHDRAW as ee, EURO_ISO3 as Oe, US_DOLLAR_ISO3 as ce, SYNTHETIC_EUR as We, SYNTHETIC_USD as we } from "./util/constants.js";
6
- import { s as d } from "./styles.module-B-t8vvWh.js";
5
+ import { DIALOG_SUCCESS_ICON as Se, PAYMENT_BANK as J, SEPA_ICON as Re, VISA_ICON as Te, RADIO_BUTTON_SELECTED as ze, RADIO_BUTTON as Ie, PAYMENT_PROVIDER_PAYSAFE as Be, FIAT_WITHDRAW as ee, EURO_ISO3 as Oe, US_DOLLAR_ISO3 as ce, SYNTHETIC_EUR as We, SYNTHETIC_USD as we } from "./util/constants.js";
6
+ import { s as d } from "./styles.module-CRVptIQs.js";
7
7
  import ne from "./components/Wallet/Shared/appButton.js";
8
- import { am as G } from "./constants-BF50a6s-.js";
8
+ import { ah as G } from "./constants-DWENgBjv.js";
9
9
  import { b as pe } from "./index-v4KC1K_V.js";
10
- import { o as te, c as ue, d as Pe, h as Me, b as Le, a as Ye } from "./order-D-FBHreS.js";
11
- import { u as $, a as he } from "./react-redux-C7I9-1M6.js";
12
- import { f as qe } from "./fiatAssets-CTIJw9N4.js";
13
- import { h as Ue, u as Ke } from "./wallet-BTc5u8j2.js";
10
+ import { o as te, c as ue, d as Pe, h as Me, b as Le, a as Ye } from "./order-BLu2iLAt.js";
11
+ import { u as $, a as fe } from "./react-redux-C7I9-1M6.js";
12
+ import { f as qe } from "./fiatAssets-Bkh4X4hq.js";
13
+ import { h as Ue, u as Ke } from "./wallet-DZwD-8oa.js";
14
14
  import { useSnackBarContext as $e } from "./context/snackBarContext.js";
15
15
  import { AuthContainer as He } from "./components/Wallet/Shared/Container/index.js";
16
16
  import je from "./components/Shared/MinimalKyc/index.js";
17
17
  import Ge from "./components/Wallet/Shared/Input/index.js";
18
- import Ve from "./components/Wallet/Shared/addBank.js";
19
- import { d as De } from "./bank-DyVf4Uoo.js";
18
+ import De from "./components/Wallet/Shared/addBank.js";
19
+ import { d as Ve } from "./bank-BNgO--wu.js";
20
20
  import Xe from "./components/Wallet/Shared/connectPlaidBank.js";
21
- import { B as k } from "./Box-BwKpr_VI.js";
21
+ import { B as C } from "./Box-BwKpr_VI.js";
22
22
  import { C as F } from "./CircularProgress-Yx712vpT.js";
23
23
  import { G as t } from "./Grid-CPkjiKqX.js";
24
24
  import { T as i } from "./Typography-BQDN44CM.js";
@@ -27,36 +27,37 @@ import { P as Qe } from "./PlayArrow-BCWGWaUq.js";
27
27
  import { G as Ze } from "./generic-token-B_ptO5yb.js";
28
28
  import { getCurrencySymbol as et } from "./util/functions.js";
29
29
  import { PaymentButton as tt } from "./components/Wallet/Shared/Order/paymentButton.js";
30
+ import nt from "./components/Wallet/Shared/Order/selectCustomIcon.js";
30
31
  import { F as Q } from "./FormControl-H4D1Z6Ov.js";
31
32
  import { F as Z } from "./FilledInput-QaJVaeIX.js";
32
33
  import { F as me } from "./TextField-DmiK1A_S.js";
33
- import { S as nt } from "./Select-CGei0bav.js";
34
- import { M as it } from "./MenuItem-ByxiQtY2.js";
35
- import { L as at } from "./ListItemIcon-D657XWHf.js";
36
- import { I as ot } from "./InputAdornment-Bqn4-Kns.js";
37
- import { I as rt } from "./IconButton-WneJM4uP.js";
38
- import { useDialog as st } from "./hooks/useDialog/index.js";
39
- const lt = ({
40
- setScreen: C,
34
+ import { S as it } from "./Select-CGei0bav.js";
35
+ import { M as at } from "./MenuItem-ByxiQtY2.js";
36
+ import { L as ot } from "./ListItemIcon-D657XWHf.js";
37
+ import { I as rt } from "./InputAdornment-Bqn4-Kns.js";
38
+ import { I as st } from "./IconButton-WneJM4uP.js";
39
+ import { useDialog as lt } from "./hooks/useDialog/index.js";
40
+ const ct = ({
41
+ setScreen: k,
41
42
  partnerKey: g,
42
43
  orderData: s,
43
44
  dispatch: c,
44
45
  navigate: p
45
46
  }) => {
46
- const { openDialog: S, ConfirmDialog: y } = st(), I = $(pe).banks, o = s.estimate[G], h = s.create.order_id, m = s.create.bank_id, M = s.loader, L = o.fiat_amount, [H, R] = x(!1), [E, O] = x({});
47
+ const { openDialog: S, ConfirmDialog: y } = lt(), B = $(pe).banks, o = s.estimate[G], f = s.create.order_id, m = s.create.bank_id, M = s.loader, L = o.fiat_amount, [H, R] = x(!1), [E, O] = x({});
47
48
  N(() => {
48
49
  if (m) {
49
- const Y = I.find((q) => q.id === m);
50
+ const Y = B.find((q) => q.id === m);
50
51
  Y && O(Y);
51
52
  }
52
53
  }, [m]), N(() => {
53
- h && H && S({
54
+ f && H && S({
54
55
  icon: Se,
55
56
  title: "Withdraw Success",
56
57
  message: "Your transaction was successful for more details on the transaction please track your order.",
57
58
  cancelButtonText: "Withdraw again",
58
59
  onCancel: () => {
59
- c(te()), C(ie);
60
+ c(te()), k(ie);
60
61
  },
61
62
  confirmButtonText: "Track Order",
62
63
  onConfirm: () => {
@@ -64,7 +65,7 @@ const lt = ({
64
65
  },
65
66
  height: "490px"
66
67
  });
67
- }, [h]), N(() => {
68
+ }, [f]), N(() => {
68
69
  _();
69
70
  }, []);
70
71
  const _ = () => {
@@ -90,17 +91,17 @@ const lt = ({
90
91
  })
91
92
  ), R(!0);
92
93
  };
93
- return /* @__PURE__ */ a(B, { children: [
94
+ return /* @__PURE__ */ a(I, { children: [
94
95
  /* @__PURE__ */ e(y, {}),
95
96
  /* @__PURE__ */ e(
96
97
  de,
97
98
  {
98
- onClickHandler: () => C(fe),
99
+ onClickHandler: () => k(he),
99
100
  backBtnText: "Confirm Your Order"
100
101
  }
101
102
  ),
102
103
  /* @__PURE__ */ e(i, { mt: 2, variant: "sm", fontWeight: 600, children: "Funds received at" }),
103
- /* @__PURE__ */ a(k, { mt: 2, className: d["confirm-payment"], children: [
104
+ /* @__PURE__ */ a(C, { mt: 2, className: d["confirm-payment"], children: [
104
105
  /* @__PURE__ */ e(
105
106
  "img",
106
107
  {
@@ -111,9 +112,9 @@ const lt = ({
111
112
  ),
112
113
  /* @__PURE__ */ e(i, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: o.payment_type === J ? "Bank Account" : "Debit Card" }) })
113
114
  ] }),
114
- o.payment_type === J && /* @__PURE__ */ a(B, { children: [
115
+ o.payment_type === J && /* @__PURE__ */ a(I, { children: [
115
116
  /* @__PURE__ */ e(i, { mt: 3, variant: "caption", component: "p", children: /* @__PURE__ */ e("b", { children: "Bank Details" }) }),
116
- /* @__PURE__ */ e(k, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ a(t, { container: !0, children: [
117
+ /* @__PURE__ */ e(C, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ a(t, { container: !0, children: [
117
118
  /* @__PURE__ */ e(t, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Account Name" }) }),
118
119
  /* @__PURE__ */ e(t, { className: "text-right", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: E.accountName }) }),
119
120
  /* @__PURE__ */ e(t, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Bank Name" }) }),
@@ -125,7 +126,7 @@ const lt = ({
125
126
  ] }) })
126
127
  ] }),
127
128
  /* @__PURE__ */ e(i, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
128
- /* @__PURE__ */ e(k, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ a(t, { container: !0, children: [
129
+ /* @__PURE__ */ e(C, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ a(t, { container: !0, children: [
129
130
  /* @__PURE__ */ e(t, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Withdraw Amount" }) }),
130
131
  /* @__PURE__ */ e(t, { className: "text-right", size: 6, children: /* @__PURE__ */ a(i, { variant: "caption", children: [
131
132
  (+L * 1).toFixed(2),
@@ -145,70 +146,70 @@ const lt = ({
145
146
  o.fiat_currency
146
147
  ] }) })
147
148
  ] }) }),
148
- /* @__PURE__ */ e(k, { mt: 4, children: /* @__PURE__ */ e(
149
+ /* @__PURE__ */ e(C, { mt: 4, children: /* @__PURE__ */ e(
149
150
  ne,
150
151
  {
151
152
  onClick: v,
152
153
  disabled: M,
153
154
  fullWidth: !0,
154
- children: /* @__PURE__ */ e("strong", { children: M ? /* @__PURE__ */ a(B, { children: [
155
+ children: /* @__PURE__ */ e("strong", { children: M ? /* @__PURE__ */ a(I, { children: [
155
156
  /* @__PURE__ */ e(F, { size: 15, color: "inherit" }),
156
157
  " Processing..."
157
158
  ] }) : "Payment Details" })
158
159
  }
159
160
  ) })
160
161
  ] });
161
- }, ct = ({
162
- setScreen: C,
162
+ }, mt = ({
163
+ setScreen: k,
163
164
  orderData: g
164
165
  }) => {
165
- const s = he(), c = $(pe), p = c.loader;
166
+ const s = fe(), c = $(pe), p = c.loader;
166
167
  c.message;
167
- const S = c.banks, y = g.create.bank_id, [b, I] = x(!1);
168
+ const S = c.banks, y = g.create.bank_id, [b, B] = x(!1);
168
169
  N(() => {
169
- s(De());
170
+ s(Ve());
170
171
  }, []);
171
- const o = (h) => {
172
- b || (I(!0), s(Me(h.id)), C(xe));
172
+ const o = (f) => {
173
+ b || (B(!0), s(Me(f.id)), k(xe));
173
174
  };
174
- return /* @__PURE__ */ a(B, { children: [
175
+ return /* @__PURE__ */ a(I, { children: [
175
176
  /* @__PURE__ */ e(
176
177
  de,
177
178
  {
178
- onClickHandler: () => C(ie),
179
+ onClickHandler: () => k(ie),
179
180
  backBtnText: "Select Bank Account"
180
181
  }
181
182
  ),
182
- p ? /* @__PURE__ */ e(k, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(F, {}) }) : /* @__PURE__ */ a(B, { children: [
183
- S.map((h) => /* @__PURE__ */ e(
184
- k,
183
+ p ? /* @__PURE__ */ e(C, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(F, {}) }) : /* @__PURE__ */ a(I, { children: [
184
+ S.map((f) => /* @__PURE__ */ e(
185
+ C,
185
186
  {
186
187
  className: d["bank-item"],
187
- onClick: () => o(h),
188
+ onClick: () => o(f),
188
189
  children: /* @__PURE__ */ a(t, { container: !0, display: "flex", alignItems: "center", children: [
189
- /* @__PURE__ */ e(t, { size: 10, className: "content-center", children: /* @__PURE__ */ a(k, { sx: { textAlign: "left" }, children: [
190
- /* @__PURE__ */ e("p", { className: d["bank-name"], children: /* @__PURE__ */ e("strong", { children: h.bankName }) }),
190
+ /* @__PURE__ */ e(t, { size: 10, className: "content-center", children: /* @__PURE__ */ a(C, { sx: { textAlign: "left" }, children: [
191
+ /* @__PURE__ */ e("p", { className: d["bank-name"], children: /* @__PURE__ */ e("strong", { children: f.bankName }) }),
191
192
  /* @__PURE__ */ a("p", { className: d["bank-account"], children: [
192
- h.accountName,
193
+ f.accountName,
193
194
  " | ***",
194
- h.accountNumber.slice(-4)
195
+ f.accountNumber.slice(-4)
195
196
  ] })
196
197
  ] }) }),
197
- /* @__PURE__ */ e(t, { size: 2, children: /* @__PURE__ */ e(i, { sx: { textAlign: "right" }, children: y === h.id ? /* @__PURE__ */ e("img", { src: ze, alt: "radio" }) : /* @__PURE__ */ e("img", { src: Be, alt: "radio" }) }) })
198
+ /* @__PURE__ */ e(t, { size: 2, children: /* @__PURE__ */ e(i, { sx: { textAlign: "right" }, children: y === f.id ? /* @__PURE__ */ e("img", { src: ze, alt: "radio" }) : /* @__PURE__ */ e("img", { src: Ie, alt: "radio" }) }) })
198
199
  ] })
199
200
  },
200
- h.id
201
+ f.id
201
202
  )),
202
- b && /* @__PURE__ */ e(k, { mt: 4, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(F, {}) })
203
+ b && /* @__PURE__ */ e(C, { mt: 4, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(F, {}) })
203
204
  ] }),
204
205
  /* @__PURE__ */ a(Je, { mt: 4, gap: 1, children: [
205
206
  /* @__PURE__ */ e(Xe, { buttonType: "secondary" }),
206
207
  /* @__PURE__ */ e(i, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
207
- /* @__PURE__ */ e(Ve, {})
208
+ /* @__PURE__ */ e(De, {})
208
209
  ] })
209
210
  ] });
210
- }, mt = ({
211
- setScreen: C,
211
+ }, dt = ({
212
+ setScreen: k,
212
213
  orderData: g,
213
214
  dispatch: s,
214
215
  fiatAssets: c,
@@ -216,9 +217,9 @@ const lt = ({
216
217
  partnerKey: S,
217
218
  usdBalance: y,
218
219
  eurBalance: b,
219
- balanceLoader: I,
220
+ balanceLoader: B,
220
221
  paymentId: o,
221
- setPaymentId: h,
222
+ setPaymentId: f,
222
223
  currencyId: m,
223
224
  setCurrencyId: M,
224
225
  paymentOptions: L,
@@ -227,13 +228,13 @@ const lt = ({
227
228
  var re, se;
228
229
  const R = c.fiats, E = c.loader, O = g.loader, _ = g.estimate[G], v = _.fiat_out_amount, Y = _.total_fee;
229
230
  let q = 0, T = 0;
230
- const f = _.fee_breakdown;
231
- for (let n = 0; n < f.length; n++) {
232
- const r = f[n];
231
+ const h = _.fee_breakdown;
232
+ for (let n = 0; n < h.length; n++) {
233
+ const r = h[n];
233
234
  r.name === "ev_fee" ? q = Number(r.value) : r.name === "network_fee" && (T = Number(r.value));
234
235
  }
235
- const [A, _e] = x(!1), [U, ye] = x([]), [ae, Ne] = x(!1), [D, ge] = x(50), [ut, be] = x(3e3), [oe, ve] = x(""), [j, X] = x(
236
- _.fiat_amount || D.toString()
236
+ const [A, _e] = x(!1), [U, ye] = x([]), [ae, Ne] = x(!1), [V, ge] = x(50), [ft, be] = x(3e3), [oe, ve] = x(""), [j, X] = x(
237
+ _.fiat_amount || V.toString()
237
238
  ), l = R.find((n) => n.id === m), W = et(l == null ? void 0 : l.symbol), K = L.find((n) => n.id === o);
238
239
  N(() => {
239
240
  const n = [];
@@ -242,8 +243,8 @@ const lt = ({
242
243
  u.id = z.id, u.name = z.name, u.icon_uri = z.icon_uri, u.symbol = z.symbol, u.payment_options = [];
243
244
  const w = z.payment_options;
244
245
  for (let P = 0; P < w.length; P++) {
245
- const le = {}, V = w[P];
246
- V.payment_provider !== Ie && V.active && V.payout_allowed && (Object.assign(le, V), u.payment_options.push(le));
246
+ const le = {}, D = w[P];
247
+ D.payment_provider !== Be && D.active && D.payout_allowed && (Object.assign(le, D), u.payment_options.push(le));
247
248
  }
248
249
  u.payment_options.length > 0 && n.push(u);
249
250
  }
@@ -260,7 +261,7 @@ const lt = ({
260
261
  const P = u[w];
261
262
  P.active && P.payout_allowed && (n.push(P), u[w].id === o && (z = !0));
262
263
  }
263
- z || h(n[0].id);
264
+ z || f(n[0].id);
264
265
  }
265
266
  H(n);
266
267
  }
@@ -268,12 +269,12 @@ const lt = ({
268
269
  if (j && o && m) {
269
270
  s(Le(G)), _e(!1), ve("");
270
271
  const n = setTimeout(() => {
271
- ke();
272
+ Ce();
272
273
  }, 1e3);
273
274
  return () => clearTimeout(n);
274
275
  }
275
276
  }, [j, o, m]);
276
- const ke = () => {
277
+ const Ce = () => {
277
278
  const n = K.payment_type;
278
279
  s(
279
280
  ue(
@@ -300,7 +301,7 @@ const lt = ({
300
301
  }
301
302
  }
302
303
  }, [g.types]);
303
- const Ce = (n) => {
304
+ const ke = (n) => {
304
305
  const r = n.target.value;
305
306
  r ? /^([0-9]+)$/.test(r) && X(r) : X("");
306
307
  }, Ae = () => {
@@ -328,12 +329,12 @@ const lt = ({
328
329
  return p({
329
330
  message: `${K.payout_max_amount + W} is the maximum amount to make the withdraw.`
330
331
  }), !1;
331
- C(fe);
332
+ k(he);
332
333
  }, Ee = () => {
333
334
  const n = l.symbol === ce ? y : b;
334
335
  X(n + "");
335
336
  };
336
- return /* @__PURE__ */ a(B, { children: [
337
+ return /* @__PURE__ */ a(I, { children: [
337
338
  /* @__PURE__ */ a(t, { container: !0, children: [
338
339
  /* @__PURE__ */ e(t, { size: { xs: 3 }, children: /* @__PURE__ */ e(i, { className: d.label, variant: "caption", component: "p", children: "You Withdraw" }) }),
339
340
  /* @__PURE__ */ e(t, { size: { xs: 9 }, children: /* @__PURE__ */ a(
@@ -345,7 +346,7 @@ const lt = ({
345
346
  children: [
346
347
  "You Have:",
347
348
  " ",
348
- I ? /* @__PURE__ */ e(F, { size: 10, color: "inherit" }) : m === 1 ? y : b,
349
+ B ? /* @__PURE__ */ e(F, { size: 10, color: "inherit" }) : m === 1 ? y : b,
349
350
  " ",
350
351
  (l == null ? void 0 : l.symbol) && (l == null ? void 0 : l.symbol) + ".c",
351
352
  " ",
@@ -355,7 +356,7 @@ const lt = ({
355
356
  ) })
356
357
  ] }),
357
358
  /* @__PURE__ */ a(t, { mt: 0.5, spacing: 0, container: !0, className: d["field-set"], children: [
358
- /* @__PURE__ */ e(t, { size: { xs: 6 }, children: /* @__PURE__ */ a(
359
+ /* @__PURE__ */ e(t, { size: { xs: 7 }, children: /* @__PURE__ */ a(
359
360
  Q,
360
361
  {
361
362
  variant: "filled",
@@ -366,9 +367,9 @@ const lt = ({
366
367
  Z,
367
368
  {
368
369
  value: j,
369
- onChange: Ce,
370
+ onChange: ke,
370
371
  type: "text",
371
- placeholder: `${D > 0 ? "$" + D + " minimum value" : ""}`,
372
+ placeholder: `${V > 0 ? "$" + V + " minimum value" : ""}`,
372
373
  error: A,
373
374
  disableUnderline: !0,
374
375
  required: !0,
@@ -379,7 +380,7 @@ const lt = ({
379
380
  ]
380
381
  }
381
382
  ) }),
382
- /* @__PURE__ */ e(t, { size: { xs: 6 }, className: "content-center", children: E ? /* @__PURE__ */ e(
383
+ /* @__PURE__ */ e(t, { size: { xs: 5 }, className: "content-center", children: E ? /* @__PURE__ */ e(
383
384
  F,
384
385
  {
385
386
  sx: { ml: 1 },
@@ -392,8 +393,9 @@ const lt = ({
392
393
  className: `text-left ${d["fiat-picker"]}`,
393
394
  fullWidth: !0,
394
395
  children: /* @__PURE__ */ e(
395
- nt,
396
+ it,
396
397
  {
398
+ IconComponent: nt,
397
399
  input: /* @__PURE__ */ e(Z, { disableUnderline: !0 }),
398
400
  sx: {
399
401
  borderTopLeftRadius: 0,
@@ -419,8 +421,8 @@ const lt = ({
419
421
  displayEmpty: !0,
420
422
  onChange: (n) => M(n.target.value),
421
423
  error: A,
422
- children: U.map((n) => /* @__PURE__ */ a(it, { value: n.id, children: [
423
- /* @__PURE__ */ e(at, { className: d["dropdown-list-item"], children: /* @__PURE__ */ e(
424
+ children: U.map((n) => /* @__PURE__ */ a(at, { value: n.id, children: [
425
+ /* @__PURE__ */ e(ot, { className: d["dropdown-list-item"], children: /* @__PURE__ */ e(
424
426
  "img",
425
427
  {
426
428
  src: n.icon_uri,
@@ -440,7 +442,7 @@ const lt = ({
440
442
  ) }),
441
443
  oe && /* @__PURE__ */ e(i, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: oe }) })
442
444
  ] }),
443
- /* @__PURE__ */ a(k, { className: "text-left", mt: 3, children: [
445
+ /* @__PURE__ */ a(C, { className: "text-left", mt: 3, children: [
444
446
  /* @__PURE__ */ e(i, { variant: "sm", fontWeight: 600, children: "Select Payment Method" }),
445
447
  E ? /* @__PURE__ */ e(F, { sx: { ml: 1, mt: 3 }, size: 50 }) : /* @__PURE__ */ e(t, { mt: 0.5, container: !0, children: L.map((n) => /* @__PURE__ */ e(t, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(
446
448
  tt,
@@ -448,7 +450,7 @@ const lt = ({
448
450
  label: n.payment_type,
449
451
  value: n.id,
450
452
  paymentId: o,
451
- setPaymentId: h
453
+ setPaymentId: f
452
454
  }
453
455
  ) }, n.id)) })
454
456
  ] }),
@@ -457,6 +459,11 @@ const lt = ({
457
459
  Q,
458
460
  {
459
461
  className: `${d.amount} ${d["fiat-field"]}`,
462
+ sx: {
463
+ "& input": {
464
+ paddingLeft: "5px !important"
465
+ }
466
+ },
460
467
  fullWidth: !0,
461
468
  children: [
462
469
  /* @__PURE__ */ e(
@@ -464,13 +471,12 @@ const lt = ({
464
471
  {
465
472
  disableUnderline: !0,
466
473
  value: v && parseFloat((+v * 1).toFixed(5)),
467
- startAdornment: /* @__PURE__ */ e(ot, { position: "start", children: /* @__PURE__ */ e(
474
+ startAdornment: /* @__PURE__ */ e(rt, { position: "start", children: /* @__PURE__ */ e(
468
475
  i,
469
476
  {
470
477
  sx: {
471
478
  fontWeight: "bold",
472
- fontSize: "24px",
473
- marginTop: "12px"
479
+ fontSize: "32px"
474
480
  },
475
481
  children: W
476
482
  }
@@ -480,13 +486,13 @@ const lt = ({
480
486
  fullWidth: !0
481
487
  }
482
488
  ),
483
- /* @__PURE__ */ e(me, { className: d["amount-symbol"], children: +((re = _ == null ? void 0 : _.output_token) == null ? void 0 : re.fiat_amount) * 1 > 0 ? W + (+((se = _ == null ? void 0 : _.output_token) == null ? void 0 : se.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(B, { children: " " }) })
489
+ /* @__PURE__ */ e(me, { className: d["amount-symbol"], children: +((re = _ == null ? void 0 : _.output_token) == null ? void 0 : re.fiat_amount) * 1 > 0 ? W + (+((se = _ == null ? void 0 : _.output_token) == null ? void 0 : se.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(I, { children: " " }) })
484
490
  ]
485
491
  }
486
492
  ) }) }),
487
- /* @__PURE__ */ e(k, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ a(t, { container: !0, children: [
493
+ /* @__PURE__ */ e(C, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ a(t, { container: !0, children: [
488
494
  /* @__PURE__ */ e(t, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ a(
489
- rt,
495
+ st,
490
496
  {
491
497
  sx: { padding: "0" },
492
498
  onClick: () => Ne((n) => !n),
@@ -506,11 +512,18 @@ const lt = ({
506
512
  ]
507
513
  }
508
514
  ) }),
509
- ae && /* @__PURE__ */ a(B, { children: [
515
+ ae && /* @__PURE__ */ a(I, { children: [
510
516
  /* @__PURE__ */ e(t, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
511
517
  /* @__PURE__ */ e(t, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(i, { variant: "caption", children: [
512
518
  W,
513
- O ? /* @__PURE__ */ e(F, { size: 30, color: "primary" }) : q.toFixed(2)
519
+ O ? /* @__PURE__ */ e(
520
+ F,
521
+ {
522
+ sx: { ml: 1 },
523
+ size: 15,
524
+ color: "primary"
525
+ }
526
+ ) : q.toFixed(2)
514
527
  ] }) }),
515
528
  /* @__PURE__ */ e(t, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
516
529
  /* @__PURE__ */ e(t, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(i, { variant: "caption", children: [
@@ -531,7 +544,7 @@ const lt = ({
531
544
  O ? /* @__PURE__ */ e(F, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Y).toFixed(2)
532
545
  ] }) })
533
546
  ] }) }),
534
- /* @__PURE__ */ e(k, { mt: 4, children: /* @__PURE__ */ e(
547
+ /* @__PURE__ */ e(C, { mt: 4, children: /* @__PURE__ */ e(
535
548
  ne,
536
549
  {
537
550
  onClick: Ae,
@@ -541,41 +554,41 @@ const lt = ({
541
554
  }
542
555
  ) })
543
556
  ] });
544
- }, ie = "FORM_SCREEN", fe = "BANK_SCREEN", xe = "CONFIRM_SCREEN", dt = "MINIMAL_KYC_SCREEN", pt = ({ partnerKey: C, navigate: g }) => {
545
- const s = he(), c = $((f) => f.order), p = c.error, S = $(
546
- (f) => f.user.profile
547
- ), y = S.tokens, b = S.everWalletAddress, I = $((f) => f.fiatAssets), o = $(
548
- (f) => f.cryptoAssets
549
- ), [h, m] = x(ie), [M, L] = x(0), [H, R] = x(2), [E, O] = x([]), [_, v] = x(0), [Y, q] = x(0), { showAlertMessage: T } = $e();
557
+ }, ie = "FORM_SCREEN", he = "BANK_SCREEN", xe = "CONFIRM_SCREEN", pt = "MINIMAL_KYC_SCREEN", ut = ({ partnerKey: k, navigate: g }) => {
558
+ const s = fe(), c = $((h) => h.order), p = c.error, S = $(
559
+ (h) => h.user.profile
560
+ ), y = S.tokens, b = S.everWalletAddress, B = $((h) => h.fiatAssets), o = $(
561
+ (h) => h.cryptoAssets
562
+ ), [f, m] = x(ie), [M, L] = x(0), [H, R] = x(2), [E, O] = x([]), [_, v] = x(0), [Y, q] = x(0), { showAlertMessage: T } = $e();
550
563
  return N(() => {
551
564
  b && s(Ue(b));
552
565
  }, [b]), N(() => {
553
566
  if (y.list.length > 0) {
554
- const f = y.list;
555
- for (let A = 0; A < f.length; A++)
556
- f[A].symbol === We && q(
557
- parseFloat(f[A].fmt_balance.replaceAll(",", "")) / 100
558
- ), f[A].symbol === we && v(
559
- parseFloat(f[A].fmt_balance.replaceAll(",", "")) / 100
567
+ const h = y.list;
568
+ for (let A = 0; A < h.length; A++)
569
+ h[A].symbol === We && q(
570
+ parseFloat(h[A].fmt_balance.replaceAll(",", "")) / 100
571
+ ), h[A].symbol === we && v(
572
+ parseFloat(h[A].fmt_balance.replaceAll(",", "")) / 100
560
573
  );
561
574
  }
562
575
  }, [y.list]), N(() => {
563
576
  p && T({ message: p });
564
577
  }, [p]), N(() => {
565
- c.initMinimalKyc && (T({ message: p, type: "info" }), m(dt));
578
+ c.initMinimalKyc && (T({ message: p, type: "info" }), m(pt));
566
579
  }, [c.initMinimalKyc]), N(() => (s(qe()), s(Ye(ee)), s(Ke()), () => {
567
580
  s(te());
568
581
  }), []), /* @__PURE__ */ e(He, { addPadding: !0, children: {
569
582
  FORM_SCREEN: /* @__PURE__ */ e(
570
- mt,
583
+ dt,
571
584
  {
572
585
  cryptoAssets: o,
573
586
  showAlertMessage: T,
574
587
  setScreen: m,
575
- fiatAssets: I,
588
+ fiatAssets: B,
576
589
  orderData: c,
577
590
  dispatch: s,
578
- partnerKey: C,
591
+ partnerKey: k,
579
592
  usdBalance: _,
580
593
  eurBalance: Y,
581
594
  balanceLoader: y.loader,
@@ -588,7 +601,7 @@ const lt = ({
588
601
  }
589
602
  ),
590
603
  BANK_SCREEN: /* @__PURE__ */ e(
591
- ct,
604
+ mt,
592
605
  {
593
606
  showAlertMessage: T,
594
607
  setScreen: m,
@@ -597,9 +610,9 @@ const lt = ({
597
610
  }
598
611
  ),
599
612
  CONFIRM_SCREEN: /* @__PURE__ */ e(
600
- lt,
613
+ ct,
601
614
  {
602
- partnerKey: C,
615
+ partnerKey: k,
603
616
  setScreen: m,
604
617
  showAlertMessage: T,
605
618
  orderData: c,
@@ -617,15 +630,15 @@ const lt = ({
617
630
  }
618
631
  }
619
632
  )
620
- }[h] });
621
- }, Qt = Fe(pt);
633
+ }[f] });
634
+ }, en = Fe(ut);
622
635
  export {
623
- lt as B,
636
+ ct as B,
624
637
  xe as C,
625
638
  ie as F,
626
- dt as M,
627
- ct as W,
628
- mt as a,
629
- fe as b,
630
- Qt as i
639
+ pt as M,
640
+ mt as W,
641
+ dt as a,
642
+ he as b,
643
+ en as i
631
644
  };
@@ -6,8 +6,8 @@ import { I as Be } from "./Info-0vSsl6Bm.js";
6
6
  import { G as Le } from "./generic-token-B_ptO5yb.js";
7
7
  import ne from "./components/RocketRamp/Shared/Input/index.js";
8
8
  import { ID_TOKEN_SYMBOL as pe, FIAT_TO_EVER_ID as ae, FIAT_TO_TOKEN as ie, ESTIMATE_TOOLTIP_TEXT as Ve, VISA_PAYMENT as Ye, VISA_PAYMENT_ACTIVE as We, SEPA_PAYMENT as Ke, SEPA_PAYMENT_ACTIVE as qe, PAYMENT_BANK as he, SEPA_ICON as $e, VISA_ICON as be, PAYMENT_PROVIDER_CHECKOUT as fe } from "./util/constants.js";
9
- import { at as De, ae as te } from "./constants-BF50a6s-.js";
10
- import { b as Ue, c as Ce, d as Ge, g as je, a as ye } from "./order-D-FBHreS.js";
9
+ import { au as De, af as te } from "./constants-DWENgBjv.js";
10
+ import { b as Ue, c as Ce, d as Ge, g as je, a as ye } from "./order-BLu2iLAt.js";
11
11
  import { M as He } from "./tooltip-Dv3Lfsa2.js";
12
12
  import { getCurrencySymbol as Ne, removeExtraSpace as Xe, getOrionBalance as Qe } from "./util/functions.js";
13
13
  import oe from "./components/RocketRamp/Shared/Button/index.js";
@@ -19,8 +19,8 @@ import { C as I } from "./CircularProgress-Yx712vpT.js";
19
19
  import { E as Je } from "./ErrorOutline-BykbFh0r.js";
20
20
  import { s as xe, p as Ze, h as et, v as tt } from "./index-ceeCtFuh.js";
21
21
  import { a as rt, u as q } from "./react-redux-C7I9-1M6.js";
22
- import { f as nt } from "./fiatAssets-CTIJw9N4.js";
23
- import { f as at } from "./cryptoAssets-Dck03SPI.js";
22
+ import { f as nt } from "./fiatAssets-Bkh4X4hq.js";
23
+ import { f as at } from "./cryptoAssets-C7fIAflf.js";
24
24
  import it from "./components/RocketRamp/MinimalKyc/form.js";
25
25
  import { useSnackBarContext as ot } from "./context/snackBarContext.js";
26
26
  import { I as st } from "./TextField-DmiK1A_S.js";