everest-npm-features 0.0.54 → 0.0.55

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.
@@ -1,8 +1,8 @@
1
- import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
- import { useRef as N } from "react";
3
- import { u as w } from "../../../react-redux-C7I9-1M6.js";
4
- import { FEATURE_EWALLET as i, DIALOG_ERROR_ICON as d, DIALOG_SUCCESS_ICON as U } from "../../../util/constants.js";
5
- import { a as v, af as P, c as _, K as V } from "../../../constants-Dtk3Gd0Y.js";
1
+ import { jsx as t, jsxs as u } from "react/jsx-runtime";
2
+ import { useRef as A } from "react";
3
+ import { u as N } from "../../../react-redux-C7I9-1M6.js";
4
+ import { FEATURE_EWALLET as r, DIALOG_ERROR_ICON as d, DIALOG_SUCCESS_ICON as U } from "../../../util/constants.js";
5
+ import { a as v, af as P, c as V, K as _ } from "../../../constants-Dtk3Gd0Y.js";
6
6
  import "../../../index-DlQqWbXG.js";
7
7
  import "../Shared/appButton.js";
8
8
  import "../../../hoc/withThemeProvider.js";
@@ -20,11 +20,11 @@ import "../../../web3-u4qDZYpo.js";
20
20
  import "../../../index-ceeCtFuh.js";
21
21
  import "../../../context/dialogContext.js";
22
22
  import { B as S } from "../../../Box-B0YSYLco.js";
23
- import { C as O } from "../../../CircularProgress-xZA3lvba.js";
23
+ import { C as K } from "../../../CircularProgress-xZA3lvba.js";
24
24
  import { T as E } from "../../../Typography-pAaje37G.js";
25
- import { S as K } from "../../../Select-CB5yWmyn.js";
25
+ import { S as O } from "../../../Select-CB5yWmyn.js";
26
26
  import { M as f } from "../../../MenuItem-DUdYOJr4.js";
27
- const F = [
27
+ const Y = [
28
28
  {
29
29
  alpha3: "AUT",
30
30
  alpha2: "AT",
@@ -190,18 +190,18 @@ const F = [
190
190
  alpha2: "GB",
191
191
  name: "United Kingdom"
192
192
  }
193
- ], ua = ({
194
- openDialog: t,
193
+ ], ca = ({
194
+ openDialog: n,
195
195
  createIbanRequest: B,
196
196
  iban: h,
197
- navigate: L,
197
+ navigate: T,
198
198
  currency: a,
199
199
  setIbanCurrency: m,
200
- from: r
200
+ from: e
201
201
  }) => {
202
- const { showAlertMessage: C } = G(), u = w((l) => l.user), p = u.profile, T = p.loader, g = u.kyc.loader, s = u.kyc.status, y = p.email, I = h.loader, n = N(!1), R = () => {
203
- if (!y) {
204
- t({
202
+ const { showAlertMessage: C } = G(), c = N((o) => o.user), p = c.profile, L = p.loader, y = c.kyc.loader, s = c.kyc.status, I = p.email, R = h.loader, l = A(!1), g = () => {
203
+ if (!I) {
204
+ n({
205
205
  title: "No Email",
206
206
  message: "Please contact support to update your email address.",
207
207
  icon: d,
@@ -215,7 +215,7 @@ const F = [
215
215
  return;
216
216
  }
217
217
  if (s === v || s === P) {
218
- t({
218
+ n({
219
219
  title: "Under Review",
220
220
  message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
221
221
  width: "550px",
@@ -225,22 +225,22 @@ const F = [
225
225
  });
226
226
  return;
227
227
  }
228
- if (s !== _ && s !== V) {
229
- t({
230
- title: "Verifying",
231
- message: "We are gathering information, and will provision your Virtual IBAN shortly.",
228
+ if (s !== V && s !== _) {
229
+ n({
230
+ title: "Verification Required",
231
+ message: `To create a ${e === r ? "E-Wallet" : "Virtual IBAN"}, we first need to verify your identity. You will now be taken to complete your KYC verification.`,
232
232
  width: "575px",
233
233
  height: "400px",
234
- confirmButtonText: "Continue",
234
+ confirmButtonText: "Start Verification",
235
235
  cancelButtonText: "Cancel",
236
- onConfirm: () => L("/kyc")
236
+ onConfirm: () => T("/kyc")
237
237
  });
238
238
  return;
239
239
  }
240
- if (!F.find(
241
- (o) => o.alpha3 === p.residentialAddress.country
240
+ if (!Y.find(
241
+ (i) => i.alpha3 === p.residentialAddress.country
242
242
  )) {
243
- t({
243
+ n({
244
244
  title: "Not Allowed",
245
245
  message: "Currently we are not supporting your country for Virtual IBAN.",
246
246
  icon: d,
@@ -252,7 +252,7 @@ const F = [
252
252
  return;
253
253
  }
254
254
  if (p.memberType !== "individual") {
255
- t({
255
+ n({
256
256
  title: "Not Allowed",
257
257
  message: "Currently we are not supporting organizational wallet(KYB) for Virtual IBAN.",
258
258
  icon: d,
@@ -263,24 +263,24 @@ const F = [
263
263
  });
264
264
  return;
265
265
  }
266
- r === i && (a.current = "EUR", m("EUR")), t({
267
- title: r === i ? "Create E-Wallet" : "Create Virtual IBAN",
268
- message: /* @__PURE__ */ c(S, { children: [
269
- /* @__PURE__ */ e(E, { children: r === i ? "Please proceed to create your E-Wallet." : "Please select the currency for the Virtual IBAN and proceed." }),
270
- r !== i && /* @__PURE__ */ c(
271
- K,
266
+ e === r && (a.current = "EUR", m("EUR")), n({
267
+ title: e === r ? "Create E-Wallet" : "Create Virtual IBAN",
268
+ message: /* @__PURE__ */ u(S, { children: [
269
+ /* @__PURE__ */ t(E, { children: e === r ? "Please proceed to create your E-Wallet." : "Please select the currency for the Virtual IBAN and proceed." }),
270
+ e !== r && /* @__PURE__ */ u(
271
+ O,
272
272
  {
273
273
  defaultValue: "",
274
- onChange: (o) => {
275
- a.current = o.target.value, m(o.target.value);
274
+ onChange: (i) => {
275
+ a.current = i.target.value, m(i.target.value);
276
276
  },
277
277
  style: { marginTop: "10px" },
278
278
  displayEmpty: !0,
279
279
  fullWidth: !0,
280
280
  children: [
281
- /* @__PURE__ */ e(f, { value: "", children: "Select currency" }),
282
- /* @__PURE__ */ e(f, { value: "EUR", children: "EUR" }),
283
- /* @__PURE__ */ e(f, { value: "GBP", children: "GBP" })
281
+ /* @__PURE__ */ t(f, { value: "", children: "Select currency" }),
282
+ /* @__PURE__ */ t(f, { value: "EUR", children: "EUR" }),
283
+ /* @__PURE__ */ t(f, { value: "GBP", children: "GBP" })
284
284
  ]
285
285
  }
286
286
  )
@@ -290,45 +290,45 @@ const F = [
290
290
  confirmButtonText: "Create",
291
291
  cancelButtonShow: !0,
292
292
  cancelButtonText: "Cancel",
293
- closeModalConfirm: x,
294
- onConfirm: A,
293
+ closeModalConfirm: w,
294
+ onConfirm: x,
295
295
  onCancel: () => {
296
- a.current = "", m(""), n.current = !1;
296
+ a.current = "", m(""), l.current = !1;
297
297
  },
298
298
  onClose: () => {
299
- a.current = "", n.current = !1;
299
+ a.current = "", l.current = !1;
300
300
  }
301
301
  });
302
- }, x = () => !n.current, A = () => {
303
- if (n.current = !1, !a.current)
304
- return n.current = !0, C({
305
- message: r === i ? "Currency selection is missing." : "Please select currency for Virtual IBAN."
302
+ }, w = () => !l.current, x = () => {
303
+ if (l.current = !1, !a.current)
304
+ return l.current = !0, C({
305
+ message: e === r ? "Currency selection is missing." : "Please select currency for Virtual IBAN."
306
306
  }), !1;
307
307
  if (h.data.length > 0) {
308
- const l = h.data.find(
309
- (o) => o.currency === a.current
308
+ const o = h.data.find(
309
+ (i) => i.currency === a.current
310
310
  );
311
- if (l != null && l.id)
312
- return n.current = !0, C({
311
+ if (o != null && o.id)
312
+ return l.current = !0, C({
313
313
  message: `You already have the ${a.current} Virtual IBAN.`
314
314
  }), !1;
315
315
  }
316
316
  B(a.current);
317
317
  };
318
- return T || g || I ? /* @__PURE__ */ e(S, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(O, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(
318
+ return L || y || R ? /* @__PURE__ */ t(S, { mt: 4, className: "flex-center", children: /* @__PURE__ */ t(K, { color: "primary", size: 50 }) }) : /* @__PURE__ */ t(
319
319
  E,
320
320
  {
321
- onClick: R,
321
+ onClick: g,
322
322
  component: "span",
323
323
  color: "primary",
324
324
  sx: { cursor: "pointer" },
325
- children: /* @__PURE__ */ c("span", { className: "text-underline", children: [
325
+ children: /* @__PURE__ */ u("span", { className: "text-underline", children: [
326
326
  "+ Add ",
327
- r === i ? "E-Wallet" : "Virtual IBAN"
327
+ e === r ? "E-Wallet" : "Virtual IBAN"
328
328
  ] })
329
329
  }
330
330
  );
331
331
  };
332
332
  export {
333
- ua as default
333
+ ca as default
334
334
  };
@@ -18,12 +18,12 @@ const J = ({
18
18
  appKey: u,
19
19
  appKeyEur: d,
20
20
  paymentWidgetSrcUrl: f,
21
- iban: n,
21
+ iban: o,
22
22
  navigate: y,
23
23
  AccountItem: x,
24
24
  createIbanRequest: g
25
25
  }) => {
26
- const c = n.data, C = n.loader, I = W(""), [_, E] = w("");
26
+ const c = o.data, C = o.loader, I = W(""), [_, E] = w("");
27
27
  return A(() => {
28
28
  new URLSearchParams(window.location.search).get("paymentStatus") === "success" && i({
29
29
  title: "Payment Success",
@@ -39,7 +39,7 @@ const J = ({
39
39
  /* @__PURE__ */ e(
40
40
  T,
41
41
  {
42
- title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create an E-Wallet. This requires KYC and an annual payment" }),
42
+ title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create an E-Wallet. This requires KYC" }),
43
43
  placement: "bottom",
44
44
  children: /* @__PURE__ */ e(L, { className: "info-fee-icon", children: /* @__PURE__ */ e(N, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
45
45
  }
@@ -50,7 +50,7 @@ const J = ({
50
50
  {
51
51
  openDialog: i,
52
52
  createIbanRequest: g,
53
- iban: n,
53
+ iban: o,
54
54
  navigate: y,
55
55
  currency: I,
56
56
  setIbanCurrency: E,
@@ -59,10 +59,10 @@ const J = ({
59
59
  ) }) })
60
60
  ] }),
61
61
  C ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(z, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(m, { children: [
62
- c.length > 0 ? /* @__PURE__ */ e(m, { children: c.map((o, s) => {
62
+ c.length > 0 ? /* @__PURE__ */ e(m, { children: c.map((n, s) => {
63
63
  const S = {
64
- ...o,
65
- accountName: `E-Wallet - ${o.currency ?? ""}`
64
+ ...n,
65
+ accountName: `E-Wallet - ${n.currency ?? ""}`
66
66
  };
67
67
  return /* @__PURE__ */ e(
68
68
  B,
@@ -73,7 +73,7 @@ const J = ({
73
73
  appKey: u,
74
74
  appKeyEur: d,
75
75
  paymentWidgetSrcUrl: f,
76
- iban: n,
76
+ iban: o,
77
77
  from: l
78
78
  },
79
79
  s
@@ -1,4 +1,4 @@
1
- import { jsx as e, jsxs as n, Fragment as m } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as o, Fragment as m } from "react/jsx-runtime";
2
2
  import { useRef as g, useState as S, useEffect as B } from "react";
3
3
  import { I as N } from "../../../Info-BVeUSPyk.js";
4
4
  import { DIALOG_SUCCESS_ICON as T, FEATURE_VIRTUAL_IBAN as l } from "../../../util/constants.js";
@@ -8,7 +8,7 @@ import v from "./createIban.js";
8
8
  import { AuthInnerContainer as D } from "../Shared/Container/index.js";
9
9
  import E from "./ibanItem.js";
10
10
  import { B as t } from "../../../Box-B0YSYLco.js";
11
- import { G as o } from "../../../Grid-CFe3amXO.js";
11
+ import { G as n } from "../../../Grid-CFe3amXO.js";
12
12
  import { T as P } from "../../../Typography-pAaje37G.js";
13
13
  import { I as z } from "../../../IconButton-DHm-hucF.js";
14
14
  import { C as L } from "../../../CircularProgress-xZA3lvba.js";
@@ -20,8 +20,8 @@ const J = ({
20
20
  paymentWidgetSrcUrl: h,
21
21
  iban: r,
22
22
  navigate: d,
23
- AccountItem: y,
24
- createIbanRequest: I
23
+ AccountItem: I,
24
+ createIbanRequest: y
25
25
  }) => {
26
26
  const i = r.data, x = r.loader, C = g(""), [R, A] = S("");
27
27
  return B(() => {
@@ -32,24 +32,24 @@ const J = ({
32
32
  width: "575px",
33
33
  confirmButtonText: "Continue"
34
34
  });
35
- }, []), /* @__PURE__ */ e(D, { children: /* @__PURE__ */ n(t, { p: 3, children: [
36
- /* @__PURE__ */ n(o, { spacing: 2, container: !0, alignItems: "center", children: [
37
- /* @__PURE__ */ n(o, { size: 8, children: [
35
+ }, []), /* @__PURE__ */ e(D, { children: /* @__PURE__ */ o(t, { p: 3, children: [
36
+ /* @__PURE__ */ o(n, { spacing: 2, container: !0, alignItems: "center", children: [
37
+ /* @__PURE__ */ o(n, { size: 8, children: [
38
38
  /* @__PURE__ */ e(P, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
39
39
  /* @__PURE__ */ e(
40
40
  w,
41
41
  {
42
- title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC and an annual payment" }),
42
+ title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
43
43
  placement: "bottom",
44
44
  children: /* @__PURE__ */ e(z, { className: "info-fee-icon", children: /* @__PURE__ */ e(N, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
45
45
  }
46
46
  )
47
47
  ] }),
48
- /* @__PURE__ */ e(o, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
48
+ /* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
49
49
  v,
50
50
  {
51
51
  openDialog: a,
52
- createIbanRequest: I,
52
+ createIbanRequest: y,
53
53
  iban: r,
54
54
  navigate: d,
55
55
  currency: C,
@@ -62,7 +62,7 @@ const J = ({
62
62
  E,
63
63
  {
64
64
  data: c,
65
- AccountItem: y,
65
+ AccountItem: I,
66
66
  dispatch: p,
67
67
  appKey: u,
68
68
  appKeyEur: f,
@@ -1,5 +1,5 @@
1
- import { jsx as e, Fragment as R, jsxs as o } from "react/jsx-runtime";
2
- import { useState as s, useMemo as E, useEffect as M } from "react";
1
+ import { jsx as e, Fragment as k, jsxs as o } from "react/jsx-runtime";
2
+ import { useState as c, useMemo as M, useEffect as R } from "react";
3
3
  import "../../../constants-Dtk3Gd0Y.js";
4
4
  import { v as ie } from "../../../order-DuPcaU0K.js";
5
5
  import g from "../Shared/appButton.js";
@@ -32,41 +32,41 @@ import { T as v } from "../../../Typography-pAaje37G.js";
32
32
  import { I as D } from "../../../IconButton-DHm-hucF.js";
33
33
  import { B as S } from "../../../Box-B0YSYLco.js";
34
34
  import { C as me } from "../../../CircularProgress-xZA3lvba.js";
35
- const c = ({
36
- label: k,
35
+ const i = ({
36
+ label: T,
37
37
  value: r,
38
- showCopyBtn: T
38
+ showCopyBtn: I
39
39
  }) => {
40
- const { showAlertMessage: I } = q();
41
- return /* @__PURE__ */ o(R, { children: [
42
- /* @__PURE__ */ e(a, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: k }) }),
40
+ const { showAlertMessage: N } = q();
41
+ return /* @__PURE__ */ o(k, { children: [
42
+ /* @__PURE__ */ e(a, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: T }) }),
43
43
  /* @__PURE__ */ o(a, { size: 7, className: "fw500 text-left d-flex items-center", children: [
44
44
  r,
45
- T && /* @__PURE__ */ e(D, { onClick: () => {
46
- navigator.clipboard.writeText(r), I({
47
- message: `${k} has been copied successfully.`,
45
+ I && /* @__PURE__ */ e(D, { onClick: () => {
46
+ navigator.clipboard.writeText(r), N({
47
+ message: `${T} has been copied successfully.`,
48
48
  type: "success"
49
49
  });
50
50
  }, children: /* @__PURE__ */ e(le, { fontSize: "small", color: "primary" }) })
51
51
  ] })
52
52
  ] });
53
53
  }, qe = ({
54
- AccountItem: k,
54
+ AccountItem: T,
55
55
  data: r,
56
- appKey: T,
57
- appKeyEur: I,
56
+ appKey: I,
57
+ appKeyEur: N,
58
58
  paymentWidgetSrcUrl: u,
59
59
  dispatch: F,
60
60
  iban: J,
61
61
  from: K
62
62
  }) => {
63
63
  var O;
64
- const [Q, w] = s(!1), [X, U] = s(!1), [p, _] = s(!1), [W, N] = s(""), [x, f] = s(null), [P, h] = s(null), [d, i] = s(!1), { showAlertMessage: C } = q(), l = K === ce, y = j(
64
+ const [Q, w] = c(!1), [X, U] = c(!1), [p, _] = c(!1), [W, x] = c(""), [A, h] = c(null), [P, f] = c(null), [d, l] = c(!1), { showAlertMessage: C } = q(), s = K === ce, b = j(
65
65
  (t) => t.order
66
- ), A = y.v4Payment ?? null, b = y.v4PaymentLoader ?? !1, Y = j((t) => t.session.uuid), Z = () => {
67
- N(""), f(null), h(null), i(!1), _(!0);
66
+ ), B = b.v4Payment ?? null, y = b.v4PaymentLoader ?? !1, Y = j((t) => t.session.uuid), Z = () => {
67
+ x(""), h(null), f(null), l(!1), _(!0);
68
68
  }, z = () => {
69
- _(!1), N(""), f(null), h(null), i(!1);
69
+ _(!1), x(""), h(null), f(null), l(!1);
70
70
  }, ee = () => {
71
71
  const t = Number(W);
72
72
  if (!W || Number.isNaN(t) || t <= 0) {
@@ -76,14 +76,14 @@ const c = ({
76
76
  });
77
77
  return;
78
78
  }
79
- if (!T) {
79
+ if (!I) {
80
80
  C({
81
81
  message: "Unable to identify application key.",
82
82
  type: "error"
83
83
  });
84
84
  return;
85
85
  }
86
- if (!I) {
86
+ if (!N) {
87
87
  C({
88
88
  message: "Unable to identify application EUR key.",
89
89
  type: "error"
@@ -93,55 +93,55 @@ const c = ({
93
93
  const te = Math.round(t * 100);
94
94
  F(
95
95
  ie({
96
- apiKey: I,
96
+ apiKey: N,
97
97
  ccy: "EUR",
98
98
  transaction_type: "CHECKOUT",
99
99
  amount: te,
100
100
  uuid: Y ?? void 0
101
101
  })
102
- ), i(!0);
102
+ ), l(!0);
103
103
  }, re = () => {
104
- if (l) {
104
+ if (s) {
105
105
  Z();
106
106
  return;
107
107
  }
108
108
  w(!0);
109
- }, n = E(() => A ?? null, [A]), m = E(() => {
109
+ }, n = M(() => B ?? null, [B]), m = M(() => {
110
110
  var t;
111
111
  return n ? (n == null ? void 0 : n.checkout_id) ?? ((t = n == null ? void 0 : n.order) == null ? void 0 : t.provider_token) ?? (n == null ? void 0 : n.provider_token) ?? null : null;
112
- }, [n]), B = ((O = n == null ? void 0 : n.order) == null ? void 0 : O.order_id) ?? null, oe = E(() => u ? u.endsWith("/") ? u : `${u}/` : "", [u]), ne = E(() => P ? `/?paymentId=${encodeURIComponent(P)}` : "/", [P]);
113
- return M(() => {
114
- d && m && (f(m), h(B ?? null), i(!1));
115
- }, [d, m, B]), M(() => {
116
- d && p && (!m || x || (f(m), h(B ?? null), i(!1)));
112
+ }, [n]), E = ((O = n == null ? void 0 : n.order) == null ? void 0 : O.order_id) ?? null, oe = M(() => u ? u.endsWith("/") ? u : `${u}/` : "", [u]), ne = M(() => P ? `/?paymentId=${encodeURIComponent(P)}` : "/", [P]);
113
+ return R(() => {
114
+ d && m && (h(m), f(E ?? null), l(!1));
115
+ }, [d, m, E]), R(() => {
116
+ d && p && (!m || A || (h(m), f(E ?? null), l(!1)));
117
117
  }, [
118
118
  d,
119
119
  p,
120
120
  m,
121
- x,
122
- B
123
- ]), M(() => {
124
- l && (p || (N(""), f(null), h(null)));
125
- }, [l, p]), M(() => {
126
- if (d && !b) {
127
- if (A) {
128
- i(!1);
121
+ A,
122
+ E
123
+ ]), R(() => {
124
+ s && (p || (x(""), h(null), f(null)));
125
+ }, [s, p]), R(() => {
126
+ if (d && !y) {
127
+ if (B) {
128
+ l(!1);
129
129
  return;
130
130
  }
131
- y.error && (C({
132
- message: y.error,
131
+ b.error && (C({
132
+ message: b.error,
133
133
  type: "error"
134
- }), i(!1));
134
+ }), l(!1));
135
135
  }
136
136
  }, [
137
137
  d,
138
- b,
139
- A,
140
- y.error,
138
+ y,
139
+ B,
140
+ b.error,
141
141
  C
142
- ]), /* @__PURE__ */ e(R, { children: r.accountNumber ? /* @__PURE__ */ o(R, { children: [
143
- /* @__PURE__ */ e(k, { type: "iban", data: r, children: /* @__PURE__ */ o(a, { my: 1, spacing: 2, container: !0, children: [
144
- /* @__PURE__ */ e(a, { size: { md: 6 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: re, children: l ? "Topup" : "Deposit" }) }),
142
+ ]), /* @__PURE__ */ e(k, { children: r.accountNumber ? /* @__PURE__ */ o(k, { children: [
143
+ /* @__PURE__ */ e(T, { type: "iban", data: r, children: /* @__PURE__ */ o(a, { my: 1, spacing: 2, container: !0, children: [
144
+ /* @__PURE__ */ e(a, { size: { md: 6 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: re, children: s ? "Topup" : "Deposit" }) }),
145
145
  /* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => U(!0), children: "Send" }) }),
146
146
  /* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => w(!0), children: "Receive" }) })
147
147
  ] }) }),
@@ -170,22 +170,22 @@ const c = ({
170
170
  /* @__PURE__ */ e(v, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
171
171
  /* @__PURE__ */ o(a, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
172
172
  /* @__PURE__ */ e(
173
- c,
173
+ i,
174
174
  {
175
175
  label: "Account Title",
176
176
  value: `${r.ownerFirstName} ${r.ownerLastName}`
177
177
  }
178
178
  ),
179
179
  /* @__PURE__ */ e(
180
- c,
180
+ i,
181
181
  {
182
182
  label: "Bank Account Currency",
183
183
  value: r.currency || ""
184
184
  }
185
185
  ),
186
- /* @__PURE__ */ e(c, { label: "Bank Name", value: r.bankName || "" }),
186
+ /* @__PURE__ */ e(i, { label: "Bank Name", value: r.bankName || "" }),
187
187
  /* @__PURE__ */ e(
188
- c,
188
+ i,
189
189
  {
190
190
  label: "Bank Address",
191
191
  value: r.bankBranchAddress || "",
@@ -193,23 +193,33 @@ const c = ({
193
193
  }
194
194
  ),
195
195
  /* @__PURE__ */ e(
196
- c,
196
+ i,
197
197
  {
198
198
  label: "Virtual IBAN",
199
199
  value: r.accountNumber || "",
200
200
  showCopyBtn: !0
201
201
  }
202
202
  ),
203
- r.currency === se && /* @__PURE__ */ e(
204
- c,
205
- {
206
- label: "Sort Code",
207
- value: r.sortCode || "",
208
- showCopyBtn: !0
209
- }
210
- ),
203
+ r.currency === se && /* @__PURE__ */ o(k, { children: [
204
+ /* @__PURE__ */ e(
205
+ i,
206
+ {
207
+ label: "Account Number",
208
+ value: (r.accountNumber || "").slice(-8),
209
+ showCopyBtn: !0
210
+ }
211
+ ),
212
+ /* @__PURE__ */ e(
213
+ i,
214
+ {
215
+ label: "Sort Code",
216
+ value: r.sortCode || "",
217
+ showCopyBtn: !0
218
+ }
219
+ )
220
+ ] }),
211
221
  /* @__PURE__ */ e(
212
- c,
222
+ i,
213
223
  {
214
224
  label: "BIC/Swift Code",
215
225
  value: r.bicCode || "",
@@ -221,7 +231,7 @@ const c = ({
221
231
  ]
222
232
  }
223
233
  ),
224
- l && /* @__PURE__ */ o(
234
+ s && /* @__PURE__ */ o(
225
235
  G,
226
236
  {
227
237
  open: p,
@@ -242,17 +252,17 @@ const c = ({
242
252
  }
243
253
  )
244
254
  ] }),
245
- /* @__PURE__ */ e(V, { dividers: !0, children: x ? /* @__PURE__ */ o(S, { mt: 2, children: [
255
+ /* @__PURE__ */ e(V, { dividers: !0, children: A ? /* @__PURE__ */ o(S, { mt: 2, children: [
246
256
  /* @__PURE__ */ e(v, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
247
257
  /* @__PURE__ */ e(
248
258
  ue,
249
259
  {
250
- checkoutId: x,
260
+ checkoutId: A,
251
261
  srcUrl: oe,
252
262
  onResultUrl: ne
253
263
  }
254
264
  )
255
- ] }) : /* @__PURE__ */ o(R, { children: [
265
+ ] }) : /* @__PURE__ */ o(k, { children: [
256
266
  /* @__PURE__ */ e(v, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
257
267
  /* @__PURE__ */ e(
258
268
  ae,
@@ -260,7 +270,7 @@ const c = ({
260
270
  label: "Topup Amount",
261
271
  type: "number",
262
272
  value: W,
263
- onChangeHandler: (t) => N(t),
273
+ onChangeHandler: (t) => x(t),
264
274
  inputProps: { min: "0", step: "0.01" }
265
275
  }
266
276
  ),
@@ -277,7 +287,7 @@ const c = ({
277
287
  {
278
288
  variantType: "secondary",
279
289
  onClick: z,
280
- disabled: b,
290
+ disabled: y,
281
291
  children: "Cancel"
282
292
  }
283
293
  ),
@@ -285,9 +295,9 @@ const c = ({
285
295
  g,
286
296
  {
287
297
  onClick: ee,
288
- disabled: b,
298
+ disabled: y,
289
299
  children: /* @__PURE__ */ o("strong", { children: [
290
- b ? /* @__PURE__ */ e(
300
+ y ? /* @__PURE__ */ e(
291
301
  me,
292
302
  {
293
303
  size: 18,
@@ -312,7 +322,7 @@ const c = ({
312
322
  iban: J,
313
323
  data: r,
314
324
  dispatch: F,
315
- appKey: T,
325
+ appKey: I,
316
326
  openModal: X,
317
327
  setOpenModal: U
318
328
  }
@@ -332,10 +342,10 @@ const c = ({
332
342
  /* @__PURE__ */ o("p", { children: [
333
343
  r.currency,
334
344
  " ",
335
- l ? "E-Wallet" : "Virtual IBAN",
345
+ s ? "E-Wallet" : "Virtual IBAN",
336
346
  " creation is in progress. Please wait while we generate your",
337
347
  " ",
338
- l ? "E-Wallet" : "Virtual IBAN",
348
+ s ? "E-Wallet" : "Virtual IBAN",
339
349
  "."
340
350
  ] }),
341
351
  /* @__PURE__ */ e("p", { children: "This may take a few moments. Thank you for your patience!" })
@@ -1,30 +1,30 @@
1
- import { jsxs as n, Fragment as J, jsx as e } from "react/jsx-runtime";
2
- import { useState as N, useEffect as d } from "react";
3
- import { u as W } from "../../../react-redux-C7I9-1M6.js";
1
+ import { jsxs as n, Fragment as V, jsx as e } from "react/jsx-runtime";
2
+ import { useState as W, useEffect as d } from "react";
3
+ import { u as C } from "../../../react-redux-C7I9-1M6.js";
4
4
  import "../../../constants-Dtk3Gd0Y.js";
5
- import { u as se, c as ie, d as ce } from "../../../index-BQNs1mvn.js";
6
- import { u as le, a as me, b as de, c as ue, d as pe, e as he } from "../../../wallet-BxwOFeSW.js";
7
- import { u as fe, c as ge, d as be, e as _e } from "../../../bank-BM66KfAv.js";
8
- import { LINKED_WALLET_TOOLTIP as Ne, CONNECTED_WALLET_TOOLTIP as We, WALLET_ICON as xe, DELETE_ICON as Ce } from "../../../util/constants.js";
9
- import { M as Q } from "../../../tooltip-3UvETWtS.js";
10
- import { I as V } from "../../../Info-BVeUSPyk.js";
11
- import { C as we } from "../../../Cancel-4lT7GZUA.js";
5
+ import { u as ce, c as le, d as me } from "../../../index-BQNs1mvn.js";
6
+ import { u as de, a as ue, b as pe, c as he, d as fe, e as ge } from "../../../wallet-BxwOFeSW.js";
7
+ import { u as be, c as xe, d as _e, e as Ne } from "../../../bank-BM66KfAv.js";
8
+ import { LINKED_WALLET_TOOLTIP as We, CONNECTED_WALLET_TOOLTIP as Ce, WALLET_ICON as we, DELETE_ICON as ye } from "../../../util/constants.js";
9
+ import { M as X } from "../../../tooltip-3UvETWtS.js";
10
+ import { I as Y } from "../../../Info-BVeUSPyk.js";
11
+ import { C as Ie } from "../../../Cancel-4lT7GZUA.js";
12
12
  import { D as ke } from "../../../Delete-jpMstGIF.js";
13
- import { C as Ie } from "../../../Close-CNwiMz_O.js";
14
- import ve from "../../Shared/transition.js";
15
- import X from "../Shared/inputField.js";
13
+ import { C as ve } from "../../../Close-CNwiMz_O.js";
14
+ import Ae from "../../Shared/transition.js";
15
+ import Z from "../Shared/inputField.js";
16
16
  import De from "../Shared/addBank.js";
17
- import Ae from "../Shared/connectPlaidBank.js";
18
- import ye from "../Shared/ConnectWallet/index.js";
19
- import Le from "./iban.js";
20
- import Te from "./eWallet.js";
21
- import { useSnackBarContext as Be } from "../../../context/snackBarContext.js";
22
- import Y from "../Shared/appButton.js";
23
- import { AuthInnerContainer as B } from "../Shared/Container/index.js";
17
+ import Te from "../Shared/connectPlaidBank.js";
18
+ import Le from "../Shared/ConnectWallet/index.js";
19
+ import Be from "./iban.js";
20
+ import Se from "./eWallet.js";
21
+ import { useSnackBarContext as ze } from "../../../context/snackBarContext.js";
22
+ import U from "../Shared/appButton.js";
23
+ import { AuthInnerContainer as z } from "../Shared/Container/index.js";
24
24
  import "../../../index-DlQqWbXG.js";
25
- import Se from "../../../hoc/withThemeProvider.js";
25
+ import Ee from "../../../hoc/withThemeProvider.js";
26
26
  import "../Shared/Auth/otpForm.js";
27
- import Ee from "../../../hooks/useEverestDispatch.js";
27
+ import Re from "../../../hooks/useEverestDispatch.js";
28
28
  import "../../../util/conversions.js";
29
29
  import "../../../index-CAoLi5Qq.js";
30
30
  import "../../../react-webcam-B3cXh1XT.js";
@@ -32,20 +32,20 @@ import "../Shared/pin.js";
32
32
  import "../../../moment-h96o7c8I.js";
33
33
  import "../../../index.esm-BsMAMhYW.js";
34
34
  import "../../../index-ceeCtFuh.js";
35
- import { useDialogContext as Re } from "../../../context/dialogContext.js";
35
+ import { useDialogContext as qe } from "../../../context/dialogContext.js";
36
36
  import { B as s } from "../../../Box-B0YSYLco.js";
37
- import { G as l } from "../../../Grid-CFe3amXO.js";
38
- import { T as m } from "../../../Typography-pAaje37G.js";
39
- import { I as x } from "../../../IconButton-DHm-hucF.js";
40
- import { C } from "../../../CircularProgress-xZA3lvba.js";
41
- import { B as qe } from "../../../Button-Df4vgU24.js";
42
- import { S as ze } from "../../../Stack-k55YTxET.js";
43
- import { D as Pe, a as Oe } from "../../../DialogContent-BMwlOnbW.js";
44
- import { D as $e } from "../../../DialogTitle-CfS0bb2K.js";
45
- import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_heading_arwo8_27", o = {
46
- container: Me,
37
+ import { G as c } from "../../../Grid-CFe3amXO.js";
38
+ import { T as i } from "../../../Typography-pAaje37G.js";
39
+ import { I as w } from "../../../IconButton-DHm-hucF.js";
40
+ import { C as y } from "../../../CircularProgress-xZA3lvba.js";
41
+ import { B as Pe } from "../../../Button-Df4vgU24.js";
42
+ import { S as Oe } from "../../../Stack-k55YTxET.js";
43
+ import { D as $e, a as Me } from "../../../DialogContent-BMwlOnbW.js";
44
+ import { D as He } from "../../../DialogTitle-CfS0bb2K.js";
45
+ import '../../../assets/index3.css';const Fe = "_container_arwo8_1", je = "_heading_arwo8_27", r = {
46
+ container: Fe,
47
47
  "inner-container": "_inner-container_arwo8_13",
48
- heading: He,
48
+ heading: je,
49
49
  "account-item": "_account-item_arwo8_41",
50
50
  "account-item-text": "_account-item-text_arwo8_71",
51
51
  "primary-color": "_primary-color_arwo8_81",
@@ -54,134 +54,151 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
54
54
  "remove-icon": "_remove-icon_arwo8_107",
55
55
  "delete-disable": "_delete-disable_arwo8_121",
56
56
  "confirm-edit": "_confirm-edit_arwo8_137"
57
- }, Fe = ({
58
- baseUrl: S,
59
- checkoutSdkKey: E,
60
- appKey: R,
61
- appKeyEur: q,
62
- paymentWidgetSrcUrl: z,
63
- navigate: P
57
+ }, Ge = ({
58
+ baseUrl: E,
59
+ checkoutSdkKey: R,
60
+ appKey: q,
61
+ appKeyEur: P,
62
+ paymentWidgetSrcUrl: O,
63
+ navigate: $
64
64
  }) => {
65
- const a = Ee(), { showAlertMessage: i } = Be(), { openDialog: w } = Re(), k = W((t) => t.app.features), h = W(se), Z = h.loader, u = h.message, O = h.banks, $ = h.iban, [M, H] = N(!1), [U, f] = N(!1), [I, ee] = N(""), [v, te] = N(""), F = W(ie), j = F.data, { error: D, message: A, loader: y } = F, G = W(ce), g = G.data, {
66
- error: L,
67
- message: T,
68
- loader: ne
69
- } = G;
65
+ const o = Re(), { showAlertMessage: l } = ze(), { openDialog: I } = qe(), k = C((t) => t.app.features), h = C(ce), ee = h.loader, u = h.message, M = h.banks, H = h.iban, [F, j] = W(!1), [te, f] = W(!1), [v, ne] = W(""), [A, re] = W(""), G = C(le), K = G.data, { error: D, message: T, loader: L } = G, J = C(me), g = J.data, {
66
+ error: B,
67
+ message: S,
68
+ loader: oe
69
+ } = J;
70
70
  d(() => {
71
71
  if (u) {
72
- H(!1);
72
+ j(!1);
73
73
  const t = typeof u == "string" ? u : String(u);
74
- (t.includes("created") || t.includes("successfully") || t.includes("Account")) && i({ message: t, type: "success" });
74
+ (t.includes("created") || t.includes("successfully") || t.includes("Account")) && l({ message: t, type: "success" });
75
75
  }
76
76
  }, [u]), d(() => {
77
- L && i({ message: L });
78
- }, [L]), d(() => {
79
- T && i({ message: T, type: "success" });
80
- }, [T]), d(() => {
81
- D && i({ message: D });
77
+ B && l({ message: B });
78
+ }, [B]), d(() => {
79
+ S && l({ message: S, type: "success" });
80
+ }, [S]), d(() => {
81
+ D && l({ message: D });
82
82
  }, [D]), d(() => {
83
- A && (f(!1), i({ message: A, type: "success" }));
84
- }, [A]), d(() => (j.length <= 0 && a(le()), g.length <= 0 && a(me()), a(fe()), a(ge()), () => {
85
- a(de("")), a(ue(""));
83
+ T && (f(!1), l({ message: T, type: "success" }));
84
+ }, [T]), d(() => (K.length <= 0 && o(de()), g.length <= 0 && o(ue()), o(be()), o(xe()), () => {
85
+ o(pe("")), o(he(""));
86
86
  }), []);
87
- const oe = () => {
88
- if (!I)
89
- return i({ message: "Please provide the wallet name" }), !1;
87
+ const ae = () => {
90
88
  if (!v)
91
- return i({
89
+ return l({ message: "Please provide the wallet name" }), !1;
90
+ if (!A)
91
+ return l({
92
92
  message: "Please provide the wallet private key"
93
93
  }), !1;
94
- y || a(
95
- pe({
96
- name: I,
97
- privatekey: Buffer.from(v).toString("base64")
94
+ L || o(
95
+ fe({
96
+ name: v,
97
+ privatekey: Buffer.from(A).toString("base64")
98
98
  })
99
99
  );
100
- }, ae = (t) => {
101
- w({
102
- icon: Ce,
100
+ }, se = (t) => {
101
+ I({
102
+ icon: ye,
103
103
  height: "450px",
104
104
  title: "Are you sure you want to delete?",
105
105
  message: "This action cannot be undone.",
106
106
  onConfirm: () => {
107
- a(_e(t));
107
+ o(Ne(t));
108
108
  },
109
109
  cancelButtonShow: !0
110
110
  });
111
111
  }, p = ({
112
112
  data: t,
113
- type: r,
113
+ type: a,
114
114
  children: b
115
115
  }) => {
116
- let c, _;
117
- return r === "connectedWallet" || r === "linkedWallet" ? "name" in t && "address" in t && (c = t.name, _ = t.address) : r === "iban" ? "accountName" in t && "accountNumber" in t && (c = t.accountName, _ = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`) : "accountName" in t && "accountNumber" in t && (c = t.accountName, _ = t.accountNumber), /* @__PURE__ */ n(s, { className: o["account-item"], children: [
118
- r === "bankAccount" && M && "id" in t && /* @__PURE__ */ e(
119
- x,
116
+ let m, x, _, N;
117
+ return a === "connectedWallet" || a === "linkedWallet" ? "name" in t && "address" in t && (m = t.name, x = t.address) : a === "iban" ? ("accountName" in t && "accountNumber" in t && (m = t.accountName, x = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`), "balance" in t && "currency" in t && (_ = t.balance, N = t.currency)) : ("accountName" in t && "accountNumber" in t && (m = t.accountName, x = t.accountNumber), "balance" in t && "currency" in t && (_ = t.balance, N = t.currency)), /* @__PURE__ */ n(s, { className: r["account-item"], children: [
118
+ a === "bankAccount" && F && "id" in t && /* @__PURE__ */ e(
119
+ w,
120
120
  {
121
- className: o["remove-icon"],
122
- onClick: () => ae(t.id),
123
- children: /* @__PURE__ */ e(we, {})
121
+ className: r["remove-icon"],
122
+ onClick: () => se(t.id),
123
+ children: /* @__PURE__ */ e(Ie, {})
124
124
  }
125
125
  ),
126
- /* @__PURE__ */ e(l, { container: !0, width: "100%", children: /* @__PURE__ */ e(l, { size: 10, children: /* @__PURE__ */ n(l, { container: !0, width: "100%", children: [
127
- /* @__PURE__ */ e(l, { size: { xs: 2, md: 1.2 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: xe, alt: "Icon", height: 28, width: 28 }) }),
128
- /* @__PURE__ */ n(l, { size: { xs: 10, md: 10.8 }, children: [
129
- /* @__PURE__ */ e(
130
- m,
131
- {
132
- variant: "body1",
133
- component: "p",
134
- className: `${o["account-item-text"]} ${o["primary-color"]}`,
135
- children: /* @__PURE__ */ e("strong", { children: c })
136
- }
137
- ),
126
+ /* @__PURE__ */ n(c, { container: !0, width: "100%", alignItems: "center", children: [
127
+ /* @__PURE__ */ e(c, { size: 8, children: /* @__PURE__ */ n(c, { container: !0, width: "100%", children: [
128
+ /* @__PURE__ */ e(c, { size: { xs: 2, md: 1.5 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: we, alt: "Icon", height: 28, width: 28 }) }),
129
+ /* @__PURE__ */ n(c, { size: { xs: 10, md: 10.5 }, children: [
130
+ /* @__PURE__ */ e(
131
+ i,
132
+ {
133
+ variant: "body1",
134
+ component: "p",
135
+ className: `${r["account-item-text"]} ${r["primary-color"]}`,
136
+ children: /* @__PURE__ */ e("strong", { children: m })
137
+ }
138
+ ),
139
+ /* @__PURE__ */ e(
140
+ i,
141
+ {
142
+ variant: "caption",
143
+ component: "p",
144
+ className: `${r["account-item-text"]} ${r["secondary-color"]}`,
145
+ children: /* @__PURE__ */ e("strong", { children: x })
146
+ }
147
+ )
148
+ ] })
149
+ ] }) }),
150
+ typeof _ == "number" && N && /* @__PURE__ */ e(c, { size: 4, children: /* @__PURE__ */ n(s, { sx: { textAlign: "right" }, children: [
138
151
  /* @__PURE__ */ e(
139
- m,
152
+ i,
140
153
  {
141
154
  variant: "caption",
142
- component: "p",
143
- className: `${o["account-item-text"]} ${o["secondary-color"]}`,
144
- children: /* @__PURE__ */ e("strong", { children: _ })
155
+ sx: { textTransform: "uppercase", color: "text.secondary" },
156
+ children: "Balance"
145
157
  }
146
- )
147
- ] })
148
- ] }) }) }),
158
+ ),
159
+ /* @__PURE__ */ n(i, { variant: "subtitle1", color: "primary", children: [
160
+ _,
161
+ " ",
162
+ N
163
+ ] })
164
+ ] }) })
165
+ ] }),
149
166
  b
150
167
  ] });
151
- }, re = (t) => {
152
- const r = g.length;
168
+ }, ie = (t) => {
169
+ const a = g.length;
153
170
  let b = !1;
154
- for (let c = 0; c < r; c++)
155
- if (g[c].address.toLowerCase() === t.toLowerCase()) {
171
+ for (let m = 0; m < a; m++)
172
+ if (g[m].address.toLowerCase() === t.toLowerCase()) {
156
173
  b = !0;
157
174
  break;
158
175
  }
159
- b ? i({
176
+ b ? l({
160
177
  message: "This wallet address is already connected."
161
- }) : a(he(t));
162
- }, K = (t) => {
163
- a(be({ currency: t }));
178
+ }) : o(ge(t));
179
+ }, Q = (t) => {
180
+ o(_e({ currency: t }));
164
181
  };
165
- return /* @__PURE__ */ n(J, { children: [
166
- /* @__PURE__ */ e(s, { className: o.container, children: /* @__PURE__ */ n(l, { spacing: 2, container: !0, width: "100%", children: [
167
- /* @__PURE__ */ n(l, { size: { md: 6, xs: 12 }, children: [
168
- /* @__PURE__ */ n(B, { p: 3, children: [
182
+ return /* @__PURE__ */ n(V, { children: [
183
+ /* @__PURE__ */ e(s, { className: r.container, children: /* @__PURE__ */ n(c, { spacing: 2, container: !0, width: "100%", children: [
184
+ /* @__PURE__ */ n(c, { size: { md: 6, xs: 12 }, children: [
185
+ /* @__PURE__ */ n(z, { p: 3, children: [
169
186
  /* @__PURE__ */ e(
170
- m,
187
+ i,
171
188
  {
172
- className: o.heading,
189
+ className: r.heading,
173
190
  variant: "h6",
174
191
  component: "span",
175
192
  children: /* @__PURE__ */ e("strong", { children: "Linked Wallets" })
176
193
  }
177
194
  ),
178
195
  /* @__PURE__ */ e(
179
- Q,
196
+ X,
180
197
  {
181
- title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: Ne }),
198
+ title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: We }),
182
199
  placement: "bottom",
183
- children: /* @__PURE__ */ e(x, { className: o["info-icon"], children: /* @__PURE__ */ e(
184
- V,
200
+ children: /* @__PURE__ */ e(w, { className: r["info-icon"], children: /* @__PURE__ */ e(
201
+ Y,
185
202
  {
186
203
  sx: {
187
204
  fontSize: "26px",
@@ -191,10 +208,10 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
191
208
  ) })
192
209
  }
193
210
  ),
194
- y && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(C, { size: 50 }) }),
195
- j.map((t, r) => /* @__PURE__ */ e(p, { type: "linkedWallet", data: t }, r)),
211
+ L && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(y, { size: 50 }) }),
212
+ K.map((t, a) => /* @__PURE__ */ e(p, { type: "linkedWallet", data: t }, a)),
196
213
  /* @__PURE__ */ e(
197
- Y,
214
+ U,
198
215
  {
199
216
  sx: { mt: 4 },
200
217
  onClick: () => f(!0),
@@ -203,23 +220,23 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
203
220
  }
204
221
  )
205
222
  ] }),
206
- /* @__PURE__ */ n(B, { p: 3, mt: 2, children: [
223
+ /* @__PURE__ */ n(z, { p: 3, mt: 2, children: [
207
224
  /* @__PURE__ */ e(
208
- m,
225
+ i,
209
226
  {
210
- className: o.heading,
227
+ className: r.heading,
211
228
  variant: "h6",
212
229
  component: "span",
213
230
  children: /* @__PURE__ */ e("strong", { children: "Connected Wallets" })
214
231
  }
215
232
  ),
216
233
  /* @__PURE__ */ e(
217
- Q,
234
+ X,
218
235
  {
219
- title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: We }),
236
+ title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: Ce }),
220
237
  placement: "bottom",
221
- children: /* @__PURE__ */ e(x, { className: o["info-icon"], children: /* @__PURE__ */ e(
222
- V,
238
+ children: /* @__PURE__ */ e(w, { className: r["info-icon"], children: /* @__PURE__ */ e(
239
+ Y,
223
240
  {
224
241
  sx: {
225
242
  fontSize: "26px",
@@ -229,115 +246,115 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
229
246
  ) })
230
247
  }
231
248
  ),
232
- ne && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(C, { size: 50 }) }),
233
- g.map((t, r) => /* @__PURE__ */ e(p, { type: "connectedWallet", data: t }, r)),
249
+ oe && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(y, { size: 50 }) }),
250
+ g.map((t, a) => /* @__PURE__ */ e(p, { type: "connectedWallet", data: t }, a)),
234
251
  /* @__PURE__ */ e(
235
- ye,
252
+ Le,
236
253
  {
237
- addressHandler: re,
254
+ addressHandler: ie,
238
255
  btnClass: "wallet-btn"
239
256
  }
240
257
  )
241
258
  ] })
242
259
  ] }),
243
- /* @__PURE__ */ n(l, { size: { md: 6, xs: 12 }, children: [
260
+ /* @__PURE__ */ n(c, { size: { md: 6, xs: 12 }, children: [
244
261
  k.eWallet && /* @__PURE__ */ e(s, { mb: 2, children: /* @__PURE__ */ e(
245
- Te,
262
+ Se,
246
263
  {
247
- openDialog: w,
248
- dispatch: a,
249
- iban: $,
250
- baseUrl: S,
251
- checkoutSdkKey: E,
252
- appKey: R,
253
- appKeyEur: q,
254
- paymentWidgetSrcUrl: z,
255
- navigate: P,
264
+ openDialog: I,
265
+ dispatch: o,
266
+ iban: H,
267
+ baseUrl: E,
268
+ checkoutSdkKey: R,
269
+ appKey: q,
270
+ appKeyEur: P,
271
+ paymentWidgetSrcUrl: O,
272
+ navigate: $,
256
273
  AccountItem: p,
257
- createIbanRequest: K
274
+ createIbanRequest: Q
258
275
  }
259
276
  ) }),
260
277
  k.iban && /* @__PURE__ */ e(
261
- Le,
278
+ Be,
262
279
  {
263
- openDialog: w,
264
- dispatch: a,
265
- iban: $,
266
- baseUrl: S,
267
- checkoutSdkKey: E,
268
- appKey: R,
269
- appKeyEur: q,
270
- paymentWidgetSrcUrl: z,
271
- navigate: P,
280
+ openDialog: I,
281
+ dispatch: o,
282
+ iban: H,
283
+ baseUrl: E,
284
+ checkoutSdkKey: R,
285
+ appKey: q,
286
+ appKeyEur: P,
287
+ paymentWidgetSrcUrl: O,
288
+ navigate: $,
272
289
  AccountItem: p,
273
- createIbanRequest: K
290
+ createIbanRequest: Q
274
291
  }
275
292
  ),
276
- /* @__PURE__ */ e(B, { mt: 2, children: /* @__PURE__ */ n(s, { p: 3, mt: k.iban ? 2 : 0, children: [
277
- /* @__PURE__ */ e(m, { className: o.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
278
- O.length > 0 && /* @__PURE__ */ n(
279
- qe,
293
+ /* @__PURE__ */ e(z, { mt: 2, children: /* @__PURE__ */ n(s, { p: 3, mt: k.iban ? 2 : 0, children: [
294
+ /* @__PURE__ */ e(i, { className: r.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
295
+ M.length > 0 && /* @__PURE__ */ n(
296
+ Pe,
280
297
  {
281
- className: `${M ? o["delete-disable"] : o["confirm-edit"]} normal-text`,
298
+ className: `${F ? r["delete-disable"] : r["confirm-edit"]} normal-text`,
282
299
  sx: { mt: 3, mb: 3 },
283
300
  variant: "contained",
284
- onClick: () => H((t) => !t),
301
+ onClick: () => j((t) => !t),
285
302
  children: [
286
303
  /* @__PURE__ */ e(ke, {}),
287
304
  "Delete"
288
305
  ]
289
306
  }
290
307
  ),
291
- Z && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(C, { size: 50 }) }),
292
- O.map((t, r) => /* @__PURE__ */ e(p, { type: "bankAccount", data: t }, r)),
293
- /* @__PURE__ */ n(ze, { mt: 4, gap: 1, children: [
294
- /* @__PURE__ */ e(Ae, {}),
295
- /* @__PURE__ */ e(m, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
308
+ ee && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(y, { size: 50 }) }),
309
+ M.map((t, a) => /* @__PURE__ */ e(p, { type: "bankAccount", data: t }, a)),
310
+ /* @__PURE__ */ n(Oe, { mt: 4, gap: 1, children: [
311
+ /* @__PURE__ */ e(Te, {}),
312
+ /* @__PURE__ */ e(i, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
296
313
  /* @__PURE__ */ e(De, {})
297
314
  ] })
298
315
  ] }) })
299
316
  ] })
300
317
  ] }) }),
301
318
  /* @__PURE__ */ n(
302
- Pe,
319
+ $e,
303
320
  {
304
321
  fullWidth: !0,
305
- open: U,
322
+ open: te,
306
323
  onClose: () => f(!1),
307
- TransitionComponent: ve,
324
+ TransitionComponent: Ae,
308
325
  children: [
309
- /* @__PURE__ */ n($e, { className: "buy-modal-text-color", children: [
310
- /* @__PURE__ */ e(m, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
326
+ /* @__PURE__ */ n(He, { className: "buy-modal-text-color", children: [
327
+ /* @__PURE__ */ e(i, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
311
328
  /* @__PURE__ */ e(
312
- x,
329
+ w,
313
330
  {
314
331
  "aria-label": "close",
315
332
  onClick: () => f(!1),
316
333
  className: "menu-buttons",
317
- children: /* @__PURE__ */ e(Ie, {})
334
+ children: /* @__PURE__ */ e(ve, {})
318
335
  }
319
336
  )
320
337
  ] }),
321
- /* @__PURE__ */ n(Oe, { dividers: !0, children: [
322
- /* @__PURE__ */ e(m, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
338
+ /* @__PURE__ */ n(Me, { dividers: !0, children: [
339
+ /* @__PURE__ */ e(i, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
323
340
  /* @__PURE__ */ e(
324
- X,
341
+ Z,
325
342
  {
326
343
  label: "Name",
327
- value: I,
328
- onChangeHandler: (t) => ee(t)
344
+ value: v,
345
+ onChangeHandler: (t) => ne(t)
329
346
  }
330
347
  ),
331
348
  /* @__PURE__ */ e(
332
- X,
349
+ Z,
333
350
  {
334
351
  label: "Private Key",
335
- value: v,
336
- onChangeHandler: (t) => te(t)
352
+ value: A,
353
+ onChangeHandler: (t) => re(t)
337
354
  }
338
355
  ),
339
- /* @__PURE__ */ e(Y, { sx: { mt: 4 }, onClick: oe, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: y ? /* @__PURE__ */ n(J, { children: [
340
- /* @__PURE__ */ e(C, { size: 15, color: "inherit" }),
356
+ /* @__PURE__ */ e(U, { sx: { mt: 4 }, onClick: ae, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: L ? /* @__PURE__ */ n(V, { children: [
357
+ /* @__PURE__ */ e(y, { size: 15, color: "inherit" }),
341
358
  " Processing..."
342
359
  ] }) : "Import Wallet" }) })
343
360
  ] })
@@ -345,7 +362,7 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
345
362
  }
346
363
  )
347
364
  ] });
348
- }, Et = Se(Fe);
365
+ }, Rt = Ee(Ge);
349
366
  export {
350
- Et as default
367
+ Rt as default
351
368
  };
@@ -513,6 +513,18 @@ const n = () => /* @__PURE__ */ o(r, { children: [
513
513
  "10. How to Contact Us",
514
514
  /* @__PURE__ */ e("br", {}),
515
515
  "a. If you have any questions or concerns about the Everest Privacy Notice or its implementation please contact us via email by contact@Everest.org."
516
+ ] }),
517
+ /* @__PURE__ */ o(t, { variant: "body1", mt: 2, children: [
518
+ "Everest Network Ltd, Tower Business Centre 2nd floor, TRIQ IT- TORRI, SWATAR BIRKIRKARA, BKR 4013, Malta",
519
+ /* @__PURE__ */ e("br", {}),
520
+ /* @__PURE__ */ e("br", {}),
521
+ "contact@everest.org",
522
+ /* @__PURE__ */ e("br", {}),
523
+ /* @__PURE__ */ e("br", {}),
524
+ "+(356) 2546-6021",
525
+ /* @__PURE__ */ e("br", {}),
526
+ /* @__PURE__ */ e("br", {}),
527
+ "See Terms and Conditions at everest.org"
516
528
  ] })
517
529
  ] });
518
530
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "everest-npm-features",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "description": "Everest frontend features library.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",