everest-npm-features 0.0.62 → 0.0.64

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 (109) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{PlayArrow-BVDyfxsQ.js → PlayArrow-WUr_Eyo1.js} +1 -1
  3. package/dist/assets/styles.css +1 -1
  4. package/dist/assets/styles2.css +1 -1
  5. package/dist/{auth-DTJdu6mq.js → auth-Cg-RJNB1.js} +1 -1
  6. package/dist/bank-CPJa0NOE.js +47 -0
  7. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  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 +4 -4
  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 +4 -4
  15. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  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/countryList.js +33 -30
  28. package/dist/components/Shared/FullKyc/edd.js +3 -3
  29. package/dist/components/Shared/FullKyc/index.js +11 -10
  30. package/dist/components/Shared/FullKyc/pep.js +68 -64
  31. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  32. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  33. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  34. package/dist/components/Shared/Sumsub/index.js +2 -2
  35. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  36. package/dist/components/Wallet/Account/createIban.js +14 -314
  37. package/dist/components/Wallet/Account/eWallet.js +33 -35
  38. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  39. package/dist/components/Wallet/Account/iban.js +75 -54
  40. package/dist/components/Wallet/Account/ibanItem.js +3 -3
  41. package/dist/components/Wallet/Account/index.d.ts +1 -0
  42. package/dist/components/Wallet/Account/index.js +221 -184
  43. package/dist/components/Wallet/Account/sendIban.js +2 -2
  44. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
  45. package/dist/components/Wallet/Buy/form.js +5 -5
  46. package/dist/components/Wallet/Buy/index.js +6 -6
  47. package/dist/components/Wallet/Deposit/index.js +2 -2
  48. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  49. package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
  50. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  51. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  52. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  53. package/dist/components/Wallet/History/index.js +2 -2
  54. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +96 -95
  55. package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
  56. package/dist/components/Wallet/Portfolio/index.js +5 -5
  57. package/dist/components/Wallet/Profile/documents.js +121 -124
  58. package/dist/components/Wallet/Profile/index.js +4 -4
  59. package/dist/components/Wallet/Profile/storage.js +15 -15
  60. package/dist/components/Wallet/Receive/index.js +3 -3
  61. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
  62. package/dist/components/Wallet/Sell/form.js +5 -5
  63. package/dist/components/Wallet/Sell/index.js +6 -6
  64. package/dist/components/Wallet/Send/index.js +36 -36
  65. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  66. package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
  67. package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
  68. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  69. package/dist/components/Wallet/Shared/Container/index.js +19 -18
  70. package/dist/components/Wallet/Shared/addBank.js +4 -4
  71. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  72. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  73. package/dist/components/Wallet/SignIn/index.js +3 -3
  74. package/dist/components/Wallet/SignUp/index.js +3 -3
  75. package/dist/components/Wallet/Stake/gems/index.js +74 -62
  76. package/dist/components/Wallet/Stake/id/index.js +69 -65
  77. package/dist/components/Wallet/Stake/index.js +6 -6
  78. package/dist/components/Wallet/Swap/form.js +7 -7
  79. package/dist/components/Wallet/Swap/index.js +5 -5
  80. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  81. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  82. package/dist/components/Wallet/Withdraw/form.js +4 -4
  83. package/dist/components/Wallet/Withdraw/index.js +5 -5
  84. package/dist/{constants-DrmtdI1J.js → constants-BRS2liAt.js} +216 -214
  85. package/dist/createIban-DKoCQ4o3.js +573 -0
  86. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-BD0cJpXM.js} +1 -1
  87. package/dist/{index-CDwzoHu7.js → index-BUtxhHso.js} +87 -86
  88. package/dist/{index-3OQ4M69t.js → index-C2weAjLp.js} +70 -69
  89. package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
  90. package/dist/{index-ILpK4BCB.js → index-CZhiRUiE.js} +4 -4
  91. package/dist/{index-CYX3j0V7.js → index-D7Eq-pbC.js} +65 -64
  92. package/dist/{index-C1WPCgkl.js → index-DX8IEulu.js} +5 -5
  93. package/dist/{index-CK4kLRAw.js → index-hgn4Pjw3.js} +5 -5
  94. package/dist/index-oPbOSCUk.js +545 -0
  95. package/dist/{kyc-ksV3vBP_.js → kyc-C7NviI9l.js} +1 -1
  96. package/dist/main.js +7 -7
  97. package/dist/{order-DEp_Lmar.js → order-DBuLYKfx.js} +1 -1
  98. package/dist/{otpForm-fiNqeB5H.js → otpForm-DhVp5Gvi.js} +2 -2
  99. package/dist/{stake-Ct7-_aWW.js → stake-DGXpiw_Y.js} +1 -1
  100. package/dist/styles.module-C99UuHOT.js +22 -0
  101. package/dist/styles.module-DFoezEqS.js +28 -0
  102. package/dist/util/constants.d.ts +1 -0
  103. package/dist/util/constants.js +72 -71
  104. package/dist/{wallet-CauUBXou.js → wallet-BLx0XKpK.js} +1 -1
  105. package/package.json +7 -7
  106. package/dist/bank-C4pmTe--.js +0 -37
  107. package/dist/index-BBFbUCRZ.js +0 -537
  108. package/dist/styles.module-C1sNeKjL.js +0 -22
  109. package/dist/styles.module-CHPRGltL.js +0 -28
@@ -1,31 +1,31 @@
1
- import { jsxs as n, Fragment as Y, jsx as e } from "react/jsx-runtime";
2
- import { useState as W, useEffect as c } from "react";
3
- import { u as h } from "../../../react-redux-C7I9-1M6.js";
4
- import "../../../constants-DrmtdI1J.js";
5
- import { u as me, c as de, d as ue } from "../../../index-BQNs1mvn.js";
6
- import { u as pe, a as he, b as fe, c as ge, d as be, e as _e, g as xe } from "../../../wallet-CauUBXou.js";
7
- import { u as Ne, c as We, d as Ce, e as we } from "../../../bank-C4pmTe--.js";
8
- import { Box as r, Grid as m, Typography as l, IconButton as C, CircularProgress as w, Button as ke, Stack as ve, Dialog as Ie, DialogTitle as ye, DialogContent as Ae } from "@mui/material";
9
- import { LINKED_WALLET_TOOLTIP as De, CONNECTED_WALLET_TOOLTIP as Le, WALLET_ICON as Te, DELETE_ICON as Se } from "../../../util/constants.js";
10
- import { M as Z } from "../../../tooltip-BW0UyWw7.js";
11
- import { I as U } from "../../../Info-DOoRR7sR.js";
12
- import { C as Be } from "../../../Cancel-pHQsCjtK.js";
13
- import { D as Re } from "../../../Delete-Bj8zmXnh.js";
14
- import { C as qe } from "../../../Close-DSxLLo08.js";
15
- import Ee from "../../Shared/transition.js";
16
- import ee from "../Shared/inputField.js";
17
- import ze from "../Shared/addBank.js";
18
- import Pe from "../Shared/connectPlaidBank.js";
19
- import Oe from "../Shared/ConnectWallet/index.js";
20
- import $e from "./iban.js";
21
- import Me from "./eWallet.js";
22
- import { useSnackBarContext as He } from "../../../context/snackBarContext.js";
23
- import te from "../Shared/appButton.js";
24
- import { AuthInnerContainer as R } from "../Shared/Container/index.js";
1
+ import { jsxs as o, Fragment as ne, jsx as e } from "react/jsx-runtime";
2
+ import { useState as w, useEffect as c } from "react";
3
+ import { u as m } from "../../../react-redux-C7I9-1M6.js";
4
+ import { a as ge, ai as be } from "../../../constants-BRS2liAt.js";
5
+ import { u as _e, c as xe, d as Ne, p as Ce } from "../../../index-CREgBh59.js";
6
+ import { u as ye, a as we, b as We, c as Ie, d as Ae, e as ke, g as ve } from "../../../wallet-BLx0XKpK.js";
7
+ import { u as De, c as Se, d as oe, e as Te, f as Re } from "../../../bank-CPJa0NOE.js";
8
+ import { Box as i, Grid as d, Typography as l, IconButton as W, CircularProgress as I, Button as Be, Stack as Ee, Dialog as Le, DialogTitle as Oe, DialogContent as Pe } from "@mui/material";
9
+ import { DIALOG_ERROR_ICON as qe, LINKED_WALLET_TOOLTIP as ze, CONNECTED_WALLET_TOOLTIP as $e, BRAND_VORTEX_ID as Me, WALLET_ICON as Fe, DELETE_ICON as He } from "../../../util/constants.js";
10
+ import { M as se } from "../../../tooltip-BW0UyWw7.js";
11
+ import { I as re } from "../../../Info-DOoRR7sR.js";
12
+ import { C as Ve } from "../../../Cancel-pHQsCjtK.js";
13
+ import { D as je } from "../../../Delete-Bj8zmXnh.js";
14
+ import { C as Ge } from "../../../Close-DSxLLo08.js";
15
+ import Ke from "../../Shared/transition.js";
16
+ import ae from "../Shared/inputField.js";
17
+ import Ye from "../Shared/addBank.js";
18
+ import Ue from "../Shared/connectPlaidBank.js";
19
+ import Xe from "../Shared/ConnectWallet/index.js";
20
+ import Je from "./iban.js";
21
+ import Qe from "./eWallet.js";
22
+ import { useSnackBarContext as Ze } from "../../../context/snackBarContext.js";
23
+ import ie from "../Shared/appButton.js";
24
+ import { AuthInnerContainer as O } from "../Shared/Container/index.js";
25
25
  import "../../../index-DlQqWbXG.js";
26
- import je from "../../../hoc/withThemeProvider.js";
27
- import "../../../otpForm-fiNqeB5H.js";
28
- import Fe from "../../../hooks/useEverestDispatch.js";
26
+ import et from "../../../hoc/withThemeProvider.js";
27
+ import "../../../otpForm-DhVp5Gvi.js";
28
+ import tt from "../../../hooks/useEverestDispatch.js";
29
29
  import "../../../util/conversions.js";
30
30
  import "../../../index-CAoLi5Qq.js";
31
31
  import "../../../react-webcam-B3cXh1XT.js";
@@ -33,12 +33,13 @@ import "../../../moment-h96o7c8I.js";
33
33
  import "../../../index.esm-BsMAMhYW.js";
34
34
  import "../../../index-ceeCtFuh.js";
35
35
  import "../../../index.esm-I_Bp2YLf.js";
36
- import { useDialogContext as Ge } from "../../../context/dialogContext.js";
36
+ import { useDialogContext as nt } from "../../../context/dialogContext.js";
37
37
  import "@mui/icons-material";
38
- import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_heading_arwo8_27", a = {
39
- container: Ke,
38
+ import { c as ot } from "../../../createIban-DKoCQ4o3.js";
39
+ import '../../../assets/index3.css';const st = "_container_arwo8_1", rt = "_heading_arwo8_27", r = {
40
+ container: st,
40
41
  "inner-container": "_inner-container_arwo8_13",
41
- heading: Je,
42
+ heading: rt,
42
43
  "account-item": "_account-item_arwo8_41",
43
44
  "account-item-text": "_account-item-text_arwo8_71",
44
45
  "primary-color": "_primary-color_arwo8_81",
@@ -47,88 +48,123 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
47
48
  "remove-icon": "_remove-icon_arwo8_107",
48
49
  "delete-disable": "_delete-disable_arwo8_121",
49
50
  "confirm-edit": "_confirm-edit_arwo8_137"
50
- }, Qe = ({
51
- baseUrl: q,
52
- checkoutSdkKey: E,
51
+ }, at = ({
52
+ baseUrl: P,
53
+ checkoutSdkKey: q,
53
54
  appKey: z,
54
- appKeyEur: P,
55
- paymentWidgetSrcUrl: O,
56
- navigate: $
55
+ appKeyEur: $,
56
+ paymentWidgetSrcUrl: M,
57
+ navigate: F,
58
+ brandId: H
57
59
  }) => {
58
- const o = Fe(), { showAlertMessage: i } = He(), { openDialog: k } = Ge(), v = h((t) => t.app.features), f = h(me), ne = f.loader, u = f.message, M = f.banks, H = f.iban, [j, F] = W(!1), [oe, g] = W(!1), [I, ae] = W(""), [y, se] = W(""), G = h(de), K = G.data, { error: A, message: D, loader: L } = G, J = h((t) => t.user.profile), Q = J.tokens, T = J.everWalletAddress, V = h(ue), b = V.data, {
59
- error: S,
60
- message: B,
61
- loader: re
62
- } = V;
60
+ const n = tt(), { showAlertMessage: a } = Ze(), { openDialog: f } = nt(), A = m((t) => t.app.features), b = m(_e), ce = b.loader, h = b.message, V = b.banks, j = b.iban, [G, K] = w(!1), [le, _] = w(!1), [k, me] = w(""), [v, de] = w(""), Y = m(xe), U = Y.data, { error: D, message: S, loader: T } = Y, R = m(
61
+ (t) => t.user.profile
62
+ ), X = R.tokens, B = R.everWalletAddress, J = m(Ne), x = J.data, {
63
+ error: E,
64
+ message: L,
65
+ loader: ue
66
+ } = J, u = m(Ce), Q = m((t) => t.user), Z = Q.kyc.status, ee = Q.kyc.processComplete;
63
67
  c(() => {
64
- if (u) {
65
- F(!1);
66
- const t = typeof u == "string" ? u : String(u);
67
- (t.includes("created") || t.includes("successfully") || t.includes("Account")) && i({ message: t, type: "success" });
68
+ if (h) {
69
+ K(!1);
70
+ const t = typeof h == "string" ? h : String(h);
71
+ (t.includes("created") || t.includes("successfully") || t.includes("Account")) && a({ message: t, type: "success" });
68
72
  }
69
- }, [u]), c(() => {
70
- S && i({ message: S });
71
- }, [S]), c(() => {
72
- B && i({ message: B, type: "success" });
73
- }, [B]), c(() => {
74
- A && i({ message: A });
75
- }, [A]), c(() => {
76
- D && (g(!1), i({ message: D, type: "success" }));
77
- }, [D]), c(() => (K.length <= 0 && o(pe()), b.length <= 0 && o(he()), o(Ne()), o(We()), () => {
78
- o(fe("")), o(ge(""));
73
+ }, [h]), c(() => {
74
+ E && a({ message: E });
75
+ }, [E]), c(() => {
76
+ L && a({ message: L, type: "success" });
77
+ }, [L]), c(() => {
78
+ D && a({ message: D });
79
+ }, [D]), c(() => {
80
+ S && (_(!1), a({ message: S, type: "success" }));
81
+ }, [S]), c(() => (U.length <= 0 && n(ye()), x.length <= 0 && n(we()), n(De()), n(Se()), () => {
82
+ n(We("")), n(Ie(""));
79
83
  }), []), c(() => {
80
- T && o(be(T));
81
- }, [T, o]);
82
- const ie = () => {
83
- if (!I)
84
- return i({ message: "Please provide the wallet name" }), !1;
85
- if (!y)
86
- return i({
84
+ B && n(Ae(B));
85
+ }, [B, n]), c(() => {
86
+ if (u.shouldAutoCreate && u.currency && ee) {
87
+ if (Z === ge || Z === be) {
88
+ f({
89
+ title: "Under Review",
90
+ message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
91
+ width: "550px",
92
+ cancelButtonShow: !1,
93
+ confirmButtonText: "Dismiss",
94
+ height: "270px"
95
+ });
96
+ return;
97
+ }
98
+ if (!ot.find(
99
+ (s) => s.alpha3 === R.residentialAddress.country
100
+ )) {
101
+ f({
102
+ title: "Not Allowed",
103
+ message: "Currently we are not supporting your country for Virtual IBAN.",
104
+ icon: qe,
105
+ width: "575px",
106
+ height: "450px",
107
+ confirmButtonText: "Continue",
108
+ cancelButtonShow: !1
109
+ });
110
+ return;
111
+ }
112
+ n(oe({ currency: u.currency })), a({
113
+ message: `Virtual IBAN for ${u.currency} is being created.`,
114
+ type: "success"
115
+ }), n(Te());
116
+ }
117
+ }, [u.shouldAutoCreate, u.currency, ee, n]);
118
+ const pe = () => {
119
+ if (!k)
120
+ return a({ message: "Please provide the wallet name" }), !1;
121
+ if (!v)
122
+ return a({
87
123
  message: "Please provide the wallet private key"
88
124
  }), !1;
89
- L || o(
90
- _e({
91
- name: I,
92
- privatekey: Buffer.from(y).toString("base64")
125
+ T || n(
126
+ ke({
127
+ name: k,
128
+ privatekey: Buffer.from(v).toString("base64")
93
129
  })
94
130
  );
95
- }, le = (t) => {
96
- k({
97
- icon: Se,
131
+ }, fe = (t) => {
132
+ f({
133
+ icon: He,
98
134
  height: "450px",
99
135
  title: "Are you sure you want to delete?",
100
136
  message: "This action cannot be undone.",
101
137
  onConfirm: () => {
102
- o(we(t));
138
+ n(Re(t));
103
139
  },
104
140
  cancelButtonShow: !0
105
141
  });
106
- }, p = ({
142
+ }, g = ({
107
143
  data: t,
108
144
  type: s,
109
- children: _,
110
- rightAdornment: d
145
+ children: N,
146
+ rightAdornment: p
111
147
  }) => {
112
- let x, N;
113
- return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (x = t.name, N = t.address) : s === "iban" ? "accountName" in t && "accountNumber" in t && (x = t.accountName, N = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`) : "accountName" in t && "accountNumber" in t && (x = t.accountName, N = t.accountNumber), /* @__PURE__ */ n(r, { className: a["account-item"], children: [
114
- s === "bankAccount" && j && "id" in t && /* @__PURE__ */ e(
115
- C,
148
+ let C, y;
149
+ return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (C = t.name, y = t.address) : s === "iban" ? "accountName" in t && "accountNumber" in t && (C = t.accountName, y = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`) : "accountName" in t && "accountNumber" in t && (C = t.accountName, y = t.accountNumber), /* @__PURE__ */ o(i, { className: r["account-item"], children: [
150
+ s === "bankAccount" && G && "id" in t && /* @__PURE__ */ e(
151
+ W,
116
152
  {
117
- className: a["remove-icon"],
118
- onClick: () => le(t.id),
119
- children: /* @__PURE__ */ e(Be, {})
153
+ className: r["remove-icon"],
154
+ onClick: () => fe(t.id),
155
+ children: /* @__PURE__ */ e(Ve, {})
120
156
  }
121
157
  ),
122
- /* @__PURE__ */ n(m, { container: !0, width: "100%", alignItems: "center", spacing: 1, children: [
123
- /* @__PURE__ */ e(m, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: Te, alt: "Icon", height: 28, width: 28 }) }),
124
- /* @__PURE__ */ n(m, { size: { xs: 7, md: 7 }, children: [
158
+ /* @__PURE__ */ o(d, { container: !0, width: "100%", alignItems: "center", spacing: 1, children: [
159
+ /* @__PURE__ */ e(d, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: Fe, alt: "Icon", height: 28, width: 28 }) }),
160
+ /* @__PURE__ */ o(d, { size: { xs: 7, md: 7 }, children: [
125
161
  /* @__PURE__ */ e(
126
162
  l,
127
163
  {
128
164
  variant: "body1",
129
165
  component: "p",
130
- className: `${a["account-item-text"]} ${a["primary-color"]}`,
131
- children: /* @__PURE__ */ e("strong", { children: x })
166
+ className: `${r["account-item-text"]} ${r["primary-color"]}`,
167
+ children: /* @__PURE__ */ e("strong", { children: C })
132
168
  }
133
169
  ),
134
170
  /* @__PURE__ */ e(
@@ -136,56 +172,56 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
136
172
  {
137
173
  variant: "caption",
138
174
  component: "p",
139
- className: `${a["account-item-text"]} ${a["secondary-color"]}`,
140
- children: /* @__PURE__ */ e("strong", { children: N })
175
+ className: `${r["account-item-text"]} ${r["secondary-color"]}`,
176
+ children: /* @__PURE__ */ e("strong", { children: y })
141
177
  }
142
178
  )
143
179
  ] }),
144
- d ? /* @__PURE__ */ e(
145
- m,
180
+ p ? /* @__PURE__ */ e(
181
+ d,
146
182
  {
147
183
  size: { xs: 3, md: 4 },
148
184
  sx: { display: "flex", justifyContent: "flex-end" },
149
- children: d
185
+ children: p
150
186
  }
151
187
  ) : null
152
188
  ] }),
153
- _
189
+ N
154
190
  ] });
155
- }, ce = (t) => {
156
- const s = b.length;
157
- let _ = !1;
158
- for (let d = 0; d < s; d++)
159
- if (b[d].address.toLowerCase() === t.toLowerCase()) {
160
- _ = !0;
191
+ }, he = (t) => {
192
+ const s = x.length;
193
+ let N = !1;
194
+ for (let p = 0; p < s; p++)
195
+ if (x[p].address.toLowerCase() === t.toLowerCase()) {
196
+ N = !0;
161
197
  break;
162
198
  }
163
- _ ? i({
199
+ N ? a({
164
200
  message: "This wallet address is already connected."
165
- }) : o(xe(t));
166
- }, X = (t) => {
167
- o(Ce({ currency: t }));
201
+ }) : n(ve(t));
202
+ }, te = (t) => {
203
+ n(oe({ currency: t }));
168
204
  };
169
- return /* @__PURE__ */ n(Y, { children: [
170
- /* @__PURE__ */ e(r, { className: a.container, children: /* @__PURE__ */ n(m, { spacing: 2, container: !0, width: "100%", children: [
171
- /* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
172
- /* @__PURE__ */ n(R, { p: 3, children: [
205
+ return /* @__PURE__ */ o(ne, { children: [
206
+ /* @__PURE__ */ e(i, { className: r.container, children: /* @__PURE__ */ o(d, { spacing: 2, container: !0, width: "100%", children: [
207
+ /* @__PURE__ */ o(d, { size: { md: 6, xs: 12 }, children: [
208
+ /* @__PURE__ */ o(O, { p: 3, children: [
173
209
  /* @__PURE__ */ e(
174
210
  l,
175
211
  {
176
- className: a.heading,
212
+ className: r.heading,
177
213
  variant: "h6",
178
214
  component: "span",
179
215
  children: /* @__PURE__ */ e("strong", { children: "Linked Wallets" })
180
216
  }
181
217
  ),
182
218
  /* @__PURE__ */ e(
183
- Z,
219
+ se,
184
220
  {
185
- title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: De }),
221
+ title: /* @__PURE__ */ e(i, { sx: { whiteSpace: "pre-line" }, children: ze }),
186
222
  placement: "bottom",
187
- children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
188
- U,
223
+ children: /* @__PURE__ */ e(W, { className: r["info-icon"], children: /* @__PURE__ */ e(
224
+ re,
189
225
  {
190
226
  sx: {
191
227
  fontSize: "26px",
@@ -195,35 +231,35 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
195
231
  ) })
196
232
  }
197
233
  ),
198
- L && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
199
- K.map((t, s) => /* @__PURE__ */ e(p, { type: "linkedWallet", data: t }, s)),
234
+ T && /* @__PURE__ */ e(i, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(I, { size: 50 }) }),
235
+ U.map((t, s) => /* @__PURE__ */ e(g, { type: "linkedWallet", data: t }, s)),
200
236
  /* @__PURE__ */ e(
201
- te,
237
+ ie,
202
238
  {
203
239
  sx: { mt: 4 },
204
- onClick: () => g(!0),
240
+ onClick: () => _(!0),
205
241
  fullWidth: !0,
206
242
  children: /* @__PURE__ */ e("strong", { children: "Add Wallet" })
207
243
  }
208
244
  )
209
245
  ] }),
210
- /* @__PURE__ */ n(R, { p: 3, mt: 2, children: [
246
+ /* @__PURE__ */ o(O, { p: 3, mt: 2, children: [
211
247
  /* @__PURE__ */ e(
212
248
  l,
213
249
  {
214
- className: a.heading,
250
+ className: r.heading,
215
251
  variant: "h6",
216
252
  component: "span",
217
253
  children: /* @__PURE__ */ e("strong", { children: "Connected Wallets" })
218
254
  }
219
255
  ),
220
256
  /* @__PURE__ */ e(
221
- Z,
257
+ se,
222
258
  {
223
- title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Le }),
259
+ title: /* @__PURE__ */ e(i, { sx: { whiteSpace: "pre-line" }, children: $e }),
224
260
  placement: "bottom",
225
- children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
226
- U,
261
+ children: /* @__PURE__ */ e(W, { className: r["info-icon"], children: /* @__PURE__ */ e(
262
+ re,
227
263
  {
228
264
  sx: {
229
265
  fontSize: "26px",
@@ -233,117 +269,118 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
233
269
  ) })
234
270
  }
235
271
  ),
236
- re && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
237
- b.map((t, s) => /* @__PURE__ */ e(p, { type: "connectedWallet", data: t }, s)),
272
+ ue && /* @__PURE__ */ e(i, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(I, { size: 50 }) }),
273
+ x.map((t, s) => /* @__PURE__ */ e(g, { type: "connectedWallet", data: t }, s)),
238
274
  /* @__PURE__ */ e(
239
- Oe,
275
+ Xe,
240
276
  {
241
- addressHandler: ce,
277
+ addressHandler: he,
242
278
  btnClass: "wallet-btn"
243
279
  }
244
280
  )
245
281
  ] })
246
282
  ] }),
247
- /* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
248
- v.eWallet && /* @__PURE__ */ e(r, { mb: 2, children: /* @__PURE__ */ e(
249
- Me,
283
+ /* @__PURE__ */ o(d, { size: { md: 6, xs: 12 }, children: [
284
+ A.eWallet && H !== Me && /* @__PURE__ */ e(i, { mb: 2, children: /* @__PURE__ */ e(
285
+ Qe,
250
286
  {
251
- openDialog: k,
252
- dispatch: o,
253
- iban: H,
254
- baseUrl: q,
255
- checkoutSdkKey: E,
287
+ openDialog: f,
288
+ dispatch: n,
289
+ iban: j,
290
+ baseUrl: P,
291
+ checkoutSdkKey: q,
256
292
  appKey: z,
257
- appKeyEur: P,
258
- paymentWidgetSrcUrl: O,
259
- navigate: $,
260
- AccountItem: p,
261
- createIbanRequest: X,
262
- tokenData: Q
293
+ appKeyEur: $,
294
+ paymentWidgetSrcUrl: M,
295
+ navigate: F,
296
+ AccountItem: g,
297
+ createIbanRequest: te,
298
+ tokenData: X
263
299
  }
264
300
  ) }),
265
- v.iban && /* @__PURE__ */ e(
266
- $e,
301
+ A.iban && /* @__PURE__ */ e(
302
+ Je,
267
303
  {
268
- openDialog: k,
269
- dispatch: o,
270
- iban: H,
271
- baseUrl: q,
272
- checkoutSdkKey: E,
304
+ openDialog: f,
305
+ dispatch: n,
306
+ iban: j,
307
+ baseUrl: P,
308
+ checkoutSdkKey: q,
273
309
  appKey: z,
274
- appKeyEur: P,
275
- paymentWidgetSrcUrl: O,
276
- navigate: $,
277
- AccountItem: p,
278
- createIbanRequest: X,
279
- tokenData: Q
310
+ appKeyEur: $,
311
+ paymentWidgetSrcUrl: M,
312
+ navigate: F,
313
+ AccountItem: g,
314
+ createIbanRequest: te,
315
+ tokenData: X,
316
+ brandId: H
280
317
  }
281
318
  ),
282
- /* @__PURE__ */ e(R, { mt: 2, children: /* @__PURE__ */ n(r, { p: 3, mt: v.iban ? 2 : 0, children: [
283
- /* @__PURE__ */ e(l, { className: a.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
284
- M.length > 0 && /* @__PURE__ */ n(
285
- ke,
319
+ /* @__PURE__ */ e(O, { mt: 2, children: /* @__PURE__ */ o(i, { p: 3, mt: A.iban ? 2 : 0, children: [
320
+ /* @__PURE__ */ e(l, { className: r.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
321
+ V.length > 0 && /* @__PURE__ */ o(
322
+ Be,
286
323
  {
287
- className: `${j ? a["delete-disable"] : a["confirm-edit"]} normal-text`,
324
+ className: `${G ? r["delete-disable"] : r["confirm-edit"]} normal-text`,
288
325
  sx: { mt: 3, mb: 3 },
289
326
  variant: "contained",
290
- onClick: () => F((t) => !t),
327
+ onClick: () => K((t) => !t),
291
328
  children: [
292
- /* @__PURE__ */ e(Re, {}),
329
+ /* @__PURE__ */ e(je, {}),
293
330
  "Delete"
294
331
  ]
295
332
  }
296
333
  ),
297
- ne && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
298
- M.map((t, s) => /* @__PURE__ */ e(p, { type: "bankAccount", data: t }, s)),
299
- /* @__PURE__ */ n(ve, { mt: 4, gap: 1, children: [
300
- /* @__PURE__ */ e(Pe, {}),
334
+ ce && /* @__PURE__ */ e(i, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(I, { size: 50 }) }),
335
+ V.map((t, s) => /* @__PURE__ */ e(g, { type: "bankAccount", data: t }, s)),
336
+ /* @__PURE__ */ o(Ee, { mt: 4, gap: 1, children: [
337
+ /* @__PURE__ */ e(Ue, {}),
301
338
  /* @__PURE__ */ e(l, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
302
- /* @__PURE__ */ e(ze, {})
339
+ /* @__PURE__ */ e(Ye, {})
303
340
  ] })
304
341
  ] }) })
305
342
  ] })
306
343
  ] }) }),
307
- /* @__PURE__ */ n(
308
- Ie,
344
+ /* @__PURE__ */ o(
345
+ Le,
309
346
  {
310
347
  fullWidth: !0,
311
- open: oe,
312
- onClose: () => g(!1),
313
- TransitionComponent: Ee,
348
+ open: le,
349
+ onClose: () => _(!1),
350
+ TransitionComponent: Ke,
314
351
  children: [
315
- /* @__PURE__ */ n(ye, { className: "buy-modal-text-color", children: [
352
+ /* @__PURE__ */ o(Oe, { className: "buy-modal-text-color", children: [
316
353
  /* @__PURE__ */ e(l, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
317
354
  /* @__PURE__ */ e(
318
- C,
355
+ W,
319
356
  {
320
357
  "aria-label": "close",
321
- onClick: () => g(!1),
358
+ onClick: () => _(!1),
322
359
  className: "menu-buttons",
323
- children: /* @__PURE__ */ e(qe, {})
360
+ children: /* @__PURE__ */ e(Ge, {})
324
361
  }
325
362
  )
326
363
  ] }),
327
- /* @__PURE__ */ n(Ae, { dividers: !0, children: [
364
+ /* @__PURE__ */ o(Pe, { dividers: !0, children: [
328
365
  /* @__PURE__ */ e(l, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
329
366
  /* @__PURE__ */ e(
330
- ee,
367
+ ae,
331
368
  {
332
369
  label: "Name",
333
- value: I,
334
- onChangeHandler: (t) => ae(t)
370
+ value: k,
371
+ onChangeHandler: (t) => me(t)
335
372
  }
336
373
  ),
337
374
  /* @__PURE__ */ e(
338
- ee,
375
+ ae,
339
376
  {
340
377
  label: "Private Key",
341
- value: y,
342
- onChangeHandler: (t) => se(t)
378
+ value: v,
379
+ onChangeHandler: (t) => de(t)
343
380
  }
344
381
  ),
345
- /* @__PURE__ */ e(te, { sx: { mt: 4 }, onClick: ie, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: L ? /* @__PURE__ */ n(Y, { children: [
346
- /* @__PURE__ */ e(w, { size: 15, color: "inherit" }),
382
+ /* @__PURE__ */ e(ie, { sx: { mt: 4 }, onClick: pe, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: T ? /* @__PURE__ */ o(ne, { children: [
383
+ /* @__PURE__ */ e(I, { size: 15, color: "inherit" }),
347
384
  " Processing..."
348
385
  ] }) : "Import Wallet" }) })
349
386
  ] })
@@ -351,7 +388,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
351
388
  }
352
389
  )
353
390
  ] });
354
- }, St = je(Qe);
391
+ }, jt = et(at);
355
392
  export {
356
- St as default
393
+ jt as default
357
394
  };
@@ -6,8 +6,8 @@ import { I as M } from "../../../Info-DOoRR7sR.js";
6
6
  import { u as O } from "../../../react-redux-C7I9-1M6.js";
7
7
  import H from "../../Shared/transition.js";
8
8
  import { M as J } from "../../../tooltip-BW0UyWw7.js";
9
- import { ad as K, ae as b } from "../../../constants-DrmtdI1J.js";
10
- import { s as L } from "../../../bank-C4pmTe--.js";
9
+ import { af as K, ag as b } from "../../../constants-BRS2liAt.js";
10
+ import { s as L } from "../../../bank-CPJa0NOE.js";
11
11
  import { useSnackBarContext as Q } from "../../../context/snackBarContext.js";
12
12
  import V from "../Shared/appButton.js";
13
13
  import { EURO_ISO3 as T } from "../../../util/constants.js";
@@ -6,16 +6,16 @@ import "../../../util/functions.js";
6
6
  import "../../../util/constants.js";
7
7
  import "../../../styles.module-DMd29SPQ.js";
8
8
  import "../Shared/appButton.js";
9
- import "../../../constants-DrmtdI1J.js";
10
- import "../../../index-BQNs1mvn.js";
11
- import "../../../order-DEp_Lmar.js";
12
- import "../../../bank-C4pmTe--.js";
13
- import { a as F } from "../../../index-CYX3j0V7.js";
9
+ import "../../../constants-BRS2liAt.js";
10
+ import "../../../index-CREgBh59.js";
11
+ import "../../../order-DBuLYKfx.js";
12
+ import "../../../bank-CPJa0NOE.js";
13
+ import { a as F } from "../../../index-D7Eq-pbC.js";
14
14
  import "../../../index.esm-BsMAMhYW.js";
15
15
  import "../../../react-redux-C7I9-1M6.js";
16
16
  import "../../../index-DlQqWbXG.js";
17
17
  import "../../../hoc/withThemeProvider.js";
18
- import "../../../otpForm-fiNqeB5H.js";
18
+ import "../../../otpForm-DhVp5Gvi.js";
19
19
  import "../../../context/snackBarContext.js";
20
20
  import "../../../util/conversions.js";
21
21
  import "../../../index-CAoLi5Qq.js";
@@ -1,17 +1,17 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "@mui/material";
4
- import "../../../PlayArrow-BVDyfxsQ.js";
4
+ import "../../../PlayArrow-WUr_Eyo1.js";
5
5
  import "../../../Info-DOoRR7sR.js";
6
6
  import "../../../generic-token-B_ptO5yb.js";
7
7
  import "../../../util/constants.js";
8
- import "../../../constants-DrmtdI1J.js";
9
- import "../../../index-BQNs1mvn.js";
10
- import "../../../order-DEp_Lmar.js";
8
+ import "../../../constants-BRS2liAt.js";
9
+ import "../../../index-CREgBh59.js";
10
+ import "../../../order-DBuLYKfx.js";
11
11
  import "../../../tooltip-BW0UyWw7.js";
12
12
  import "../../../util/functions.js";
13
13
  import "../Shared/appButton.js";
14
- import { B as k } from "../../../index-CYX3j0V7.js";
14
+ import { B as k } from "../../../index-D7Eq-pbC.js";
15
15
  import "../../../styles.module-DMd29SPQ.js";
16
16
  import "../Shared/TokenModal/index.js";
17
17
  import "../../../react-redux-C7I9-1M6.js";