everest-npm-features 0.0.35 → 0.0.36

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 (84) hide show
  1. package/dist/{PlayArrow-BkW3s4mw.js → PlayArrow-KBDRjTbR.js} +1 -1
  2. package/dist/assets/documents.css +1 -1
  3. package/dist/{auth-CYftwFWz.js → auth-BQ4bZOAL.js} +1 -1
  4. package/dist/{bank-C9AAL5v7.js → bank-Bz7oos87.js} +1 -1
  5. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  9. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  10. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  11. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  12. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  13. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  14. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  20. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  24. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  25. package/dist/components/Shared/FullKyc/edd.js +3 -3
  26. package/dist/components/Shared/FullKyc/index.js +3 -3
  27. package/dist/components/Shared/FullKyc/pep.js +1 -1
  28. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  29. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  30. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  31. package/dist/components/Wallet/Account/createIban.js +37 -33
  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 +3 -3
  36. package/dist/components/Wallet/Buy/form.js +4 -4
  37. package/dist/components/Wallet/Buy/index.js +6 -6
  38. package/dist/components/Wallet/Deposit/index.js +2 -2
  39. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  40. package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
  41. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  42. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  43. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  44. package/dist/components/Wallet/History/index.js +2 -2
  45. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +3 -3
  46. package/dist/components/Wallet/Portfolio/index.js +4 -4
  47. package/dist/components/Wallet/Profile/documents.js +2 -2
  48. package/dist/components/Wallet/Profile/index.js +115 -105
  49. package/dist/components/Wallet/Receive/index.js +2 -2
  50. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  51. package/dist/components/Wallet/Sell/form.js +4 -4
  52. package/dist/components/Wallet/Sell/index.js +6 -6
  53. package/dist/components/Wallet/Send/index.js +3 -3
  54. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  55. package/dist/components/Wallet/Shared/addBank.js +3 -3
  56. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  57. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  58. package/dist/components/Wallet/SignIn/index.js +2 -2
  59. package/dist/components/Wallet/SignUp/index.js +2 -2
  60. package/dist/components/Wallet/Stake/index.js +4 -4
  61. package/dist/components/Wallet/Swap/form.js +5 -5
  62. package/dist/components/Wallet/Swap/index.js +5 -5
  63. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  64. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  65. package/dist/components/Wallet/Withdraw/form.js +4 -4
  66. package/dist/components/Wallet/Withdraw/index.js +5 -5
  67. package/dist/{constants-DBlV_hAZ.js → constants-rDP6jwIs.js} +86 -85
  68. package/dist/{cryptoAssets-Da0hZPmW.js → cryptoAssets-BXjfidU4.js} +1 -1
  69. package/dist/{documents-D1CxIIUj.js → documents-CF1bpppV.js} +134 -133
  70. package/dist/{index-DPwR5oNU.js → index-0PiVFV1G.js} +6 -6
  71. package/dist/{index-CN7R7nR-.js → index-B9MyZ0sJ.js} +14 -14
  72. package/dist/{index-CexvGlw7.js → index-Btrmgb1g.js} +3 -3
  73. package/dist/{index-BHmViOiG.js → index-CdfFs6U2.js} +16 -16
  74. package/dist/{index-C74NH5fF.js → index-JY7R8k4h.js} +4 -4
  75. package/dist/{index-DEfHSDHa.js → index-PitHP3ul.js} +5 -5
  76. package/dist/{index-BZGHPDhS.js → index-aLtOG-sf.js} +5 -5
  77. package/dist/{kyc-D7FTfIPj.js → kyc-ChoR-OWg.js} +1 -1
  78. package/dist/main.js +7 -7
  79. package/dist/{order-BNumaEGY.js → order-CTEvMHv4.js} +1 -1
  80. package/dist/{stake-VlhTFH1g.js → stake-nzM9DW-r.js} +1 -1
  81. package/dist/util/constants.d.ts +2 -0
  82. package/dist/util/constants.js +29 -27
  83. package/dist/{wallet-BJz8LnYf.js → wallet-DZ3-OqYH.js} +1 -1
  84. package/package.json +2 -2
@@ -5,75 +5,76 @@ import { D as oe } from "./Delete-jpMstGIF.js";
5
5
  import { C as re } from "./Cancel-4lT7GZUA.js";
6
6
  import ie from "./components/Wallet/Shared/inputField.js";
7
7
  import j from "./components/Wallet/Shared/step.js";
8
- import { W as se } from "./react-webcam-B3cXh1XT.js";
9
- import { c as ce } from "./createSvgIcon-Cuzqm90l.js";
10
- import ae from "./components/Shared/transition.js";
8
+ import { W as ce } from "./react-webcam-B3cXh1XT.js";
9
+ import { c as ae } from "./createSvgIcon-Cuzqm90l.js";
10
+ import se from "./components/Shared/transition.js";
11
11
  import { getDocName as le } from "./util/functions.js";
12
12
  import { u as de, a as me } from "./react-redux-B4BZippc.js";
13
- import { aq as he, ar as ue, as as pe, at as fe, au as ge, av as _e } from "./constants-DBlV_hAZ.js";
14
- import { e as be } from "./index-FwnHkXdK.js";
15
- import { RIGHT_ARROW as M, DELETE_ICON as xe } from "./util/constants.js";
16
- import { useDialog as De } from "./hooks/useDialog/index.js";
13
+ import { ar as he, as as ue, at as pe, au as fe, av as ge, aw as _e } from "./constants-rDP6jwIs.js";
14
+ import { e as xe } from "./index-FwnHkXdK.js";
15
+ import { RIGHT_ARROW as M, DELETE_ICON as De } from "./util/constants.js";
16
+ import { useDialog as be } from "./hooks/useDialog/index.js";
17
17
  import g from "./components/Wallet/Shared/appButton.js";
18
18
  import { B as Ce } from "./Backdrop-CioURPVG.js";
19
- import { C as w } from "./CircularProgress-xZA3lvba.js";
20
- import { T as c } from "./Typography-pAaje37G.js";
21
- import { B as ke } from "./Button-Df4vgU24.js";
22
- import { B as s } from "./Box-B0YSYLco.js";
19
+ import { C as T } from "./CircularProgress-xZA3lvba.js";
20
+ import { T as a } from "./Typography-pAaje37G.js";
21
+ import { B as ve } from "./Button-Df4vgU24.js";
22
+ import { B as c } from "./Box-B0YSYLco.js";
23
23
  import { D as L, a as z } from "./DialogContent-BMwlOnbW.js";
24
24
  import { D as $ } from "./DialogTitle-CfS0bb2K.js";
25
- import { I as S } from "./IconButton-DHm-hucF.js";
25
+ import { I as k } from "./IconButton-DHm-hucF.js";
26
26
  import { D as V } from "./Divider-BShhMFf4.js";
27
27
  import { G as h } from "./Grid-CFe3amXO.js";
28
- import './assets/documents.css';const ve = () => ({
28
+ import './assets/documents.css';const ye = () => ({
29
29
  type: ue
30
30
  }), Ne = (o) => ({
31
31
  type: fe,
32
32
  payload: o
33
- }), ye = (o) => ({
33
+ }), Ee = (o) => ({
34
34
  type: ge,
35
35
  payload: o
36
36
  }), J = () => ({
37
37
  type: he
38
- }), Ee = (o) => ({
38
+ }), Se = (o) => ({
39
39
  type: _e,
40
40
  payload: o
41
- }), Se = (o) => ({
41
+ }), ke = (o) => ({
42
42
  type: pe,
43
43
  payload: o
44
- }), Ie = "_container_kbss5_1", Te = "_heading_kbss5_27", we = "_sBtn_kbss5_73", Re = "_twitterCancelBtn_kbss5_427", i = {
45
- container: Ie,
46
- "inner-container": "_inner-container_kbss5_13",
47
- heading: Te,
48
- "profile-feat-btn": "_profile-feat-btn_kbss5_41",
49
- "ref-btn": "_ref-btn_kbss5_57",
50
- sBtn: we,
51
- "doc-video-box": "_doc-video-box_kbss5_117",
52
- "image-corner-color": "_image-corner-color_kbss5_193",
53
- "video-box-inner-content": "_video-box-inner-content_kbss5_207",
54
- "menu-item": "_menu-item_kbss5_217",
55
- "remove-icon": "_remove-icon_kbss5_233",
56
- "delete-disable": "_delete-disable_kbss5_247",
57
- "confirm-edit": "_confirm-edit_kbss5_263",
58
- "asset-header": "_asset-header_kbss5_279",
59
- "asset-close-btn": "_asset-close-btn_kbss5_317",
60
- "dialog-container": "_dialog-container_kbss5_331",
61
- "confirm-dialog": "_confirm-dialog_kbss5_345",
62
- "confirm-dialog-title": "_confirm-dialog-title_kbss5_353",
63
- "tweet-text-parent": "_tweet-text-parent_kbss5_365",
64
- "tweet-disable-text": "_tweet-disable-text_kbss5_391",
65
- "tweet-text-area": "_tweet-text-area_kbss5_409",
66
- twitterCancelBtn: Re
67
- }, Be = ce(/* @__PURE__ */ e("path", {
44
+ }), we = "_container_2oghf_1", Ie = "_heading_2oghf_27", Te = "_sBtn_2oghf_73", Re = "_twitterCancelBtn_2oghf_427", i = {
45
+ container: we,
46
+ "inner-container": "_inner-container_2oghf_13",
47
+ heading: Ie,
48
+ "profile-feat-btn": "_profile-feat-btn_2oghf_41",
49
+ "ref-btn": "_ref-btn_2oghf_57",
50
+ sBtn: Te,
51
+ "doc-video-box": "_doc-video-box_2oghf_117",
52
+ "image-corner-color": "_image-corner-color_2oghf_193",
53
+ "video-box-inner-content": "_video-box-inner-content_2oghf_207",
54
+ "menu-item": "_menu-item_2oghf_217",
55
+ "remove-icon": "_remove-icon_2oghf_233",
56
+ "delete-disable": "_delete-disable_2oghf_247",
57
+ "confirm-edit": "_confirm-edit_2oghf_263",
58
+ "asset-header": "_asset-header_2oghf_279",
59
+ "asset-close-btn": "_asset-close-btn_2oghf_317",
60
+ "dialog-container": "_dialog-container_2oghf_331",
61
+ "confirm-dialog": "_confirm-dialog_2oghf_345",
62
+ "confirm-dialog-title": "_confirm-dialog-title_2oghf_353",
63
+ "tweet-text-parent": "_tweet-text-parent_2oghf_365",
64
+ "tweet-disable-text": "_tweet-disable-text_2oghf_391",
65
+ "tweet-text-area": "_tweet-text-area_2oghf_409",
66
+ twitterCancelBtn: Re,
67
+ "kyc-approved": "_kyc-approved_2oghf_471"
68
+ }, Be = ae(/* @__PURE__ */ e("path", {
68
69
  d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
69
70
  }), "ArrowBack"), We = ({
70
71
  showAlertMessage: o,
71
72
  documentName: m,
72
73
  setDocumentName: _,
73
74
  setDocumentScreen: u
74
- }) => /* @__PURE__ */ t(s, { className: "text-center", children: [
75
+ }) => /* @__PURE__ */ t(c, { className: "text-center", children: [
75
76
  /* @__PURE__ */ e(j, { totalSteps: 2, currentStep: 1 }),
76
- /* @__PURE__ */ e(c, { className: "secondary-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Name your document" }) }),
77
+ /* @__PURE__ */ e(a, { className: "secondary-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Name your document" }) }),
77
78
  /* @__PURE__ */ e(
78
79
  ie,
79
80
  {
@@ -101,13 +102,13 @@ import './assets/documents.css';const ve = () => ({
101
102
  uploadLoader: m,
102
103
  uploadDocument: _,
103
104
  documentFile: u,
104
- setDocumentFile: a,
105
+ setDocumentFile: s,
105
106
  setDocumentScreen: r
106
107
  }) => {
107
- const l = Y(null), [b, p] = f("Choose File");
108
- return /* @__PURE__ */ t(s, { className: "text-center", children: [
108
+ const l = Y(null), [x, p] = f("Choose File");
109
+ return /* @__PURE__ */ t(c, { className: "text-center", children: [
109
110
  /* @__PURE__ */ e(j, { totalSteps: 2, currentStep: 2 }),
110
- /* @__PURE__ */ e(c, { className: "fw500", variant: "h6", children: "Uploaded files must be image format (PDF, PNG or JPEG/JPG)" }),
111
+ /* @__PURE__ */ e(a, { className: "fw500", variant: "h6", children: "Uploaded files must be image format (PDF, PNG or JPEG/JPG)" }),
111
112
  /* @__PURE__ */ t(h, { mt: 2, container: !0, spacing: 2, children: [
112
113
  /* @__PURE__ */ e(h, { size: 6, children: /* @__PURE__ */ e(
113
114
  g,
@@ -125,7 +126,7 @@ import './assets/documents.css';const ve = () => ({
125
126
  onClick: () => l.current && l.current.click(),
126
127
  sx: { overflow: "hidden" },
127
128
  fullWidth: !0,
128
- children: b
129
+ children: x
129
130
  }
130
131
  ) })
131
132
  ] }),
@@ -138,15 +139,15 @@ import './assets/documents.css';const ve = () => ({
138
139
  o({ message: "Please provide a valid file" });
139
140
  else if (d.target.files && d.target.files[0]) {
140
141
  p(d.target.files[0].name);
141
- let D = new FileReader();
142
- D.onload = (I) => {
142
+ let b = new FileReader();
143
+ b.onload = (w) => {
143
144
  var N;
144
- const v = (N = I.target) == null ? void 0 : N.result;
145
- if (typeof v == "string") {
146
- const R = v.split(/[,]/);
147
- a(R[1]);
145
+ const y = (N = w.target) == null ? void 0 : N.result;
146
+ if (typeof y == "string") {
147
+ const R = y.split(/[,]/);
148
+ s(R[1]);
148
149
  }
149
- }, D.readAsDataURL(d.target.files[0]);
150
+ }, b.readAsDataURL(d.target.files[0]);
150
151
  }
151
152
  },
152
153
  accept: ".jpg,.jpeg,.png,.pdf,",
@@ -154,9 +155,9 @@ import './assets/documents.css';const ve = () => ({
154
155
  hidden: !0
155
156
  }
156
157
  ),
157
- m ? /* @__PURE__ */ t(s, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
158
- /* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
159
- /* @__PURE__ */ t(c, { variant: "h5", sx: { fontWeight: "bold" }, children: [
158
+ m ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
159
+ /* @__PURE__ */ e(T, { size: 30, color: "inherit" }),
160
+ /* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
160
161
  "Processing...",
161
162
  /* @__PURE__ */ e("br", {}),
162
163
  "one moment please"
@@ -181,7 +182,7 @@ import './assets/documents.css';const ve = () => ({
181
182
  documentFile: m,
182
183
  setDocumentFile: _,
183
184
  uploadDocument: u,
184
- uploadLoader: a
185
+ uploadLoader: s
185
186
  }) => {
186
187
  const r = Y(null), l = {
187
188
  audio: !1,
@@ -198,23 +199,23 @@ import './assets/documents.css';const ve = () => ({
198
199
  ideal: 30,
199
200
  max: 30
200
201
  }
201
- }, [b, p] = f(""), x = () => {
202
+ }, [x, p] = f(""), D = () => {
202
203
  if (r.current) {
203
- const d = r.current.getScreenshot(), D = d.split(/[,]/);
204
- _(D[1]), p(d);
204
+ const d = r.current.getScreenshot(), b = d.split(/[,]/);
205
+ _(b[1]), p(d);
205
206
  }
206
- }, k = () => {
207
- if (!b)
207
+ }, v = () => {
208
+ if (!x)
208
209
  return o({
209
210
  message: "Please take the photo of the document"
210
211
  }), !1;
211
212
  u();
212
213
  };
213
- return /* @__PURE__ */ t(s, { className: "text-center", children: [
214
+ return /* @__PURE__ */ t(c, { className: "text-center", children: [
214
215
  /* @__PURE__ */ e(j, { totalSteps: 2, currentStep: 2 }),
215
- b ? /* @__PURE__ */ t(C, { children: [
216
+ x ? /* @__PURE__ */ t(C, { children: [
216
217
  /* @__PURE__ */ t(
217
- s,
218
+ c,
218
219
  {
219
220
  className: `${i["doc-video-box"]} ${i["image-corner-color"]}`,
220
221
  children: [
@@ -223,16 +224,16 @@ import './assets/documents.css';const ve = () => ({
223
224
  "img",
224
225
  {
225
226
  className: i["video-box-inner-content"],
226
- src: b,
227
+ src: x,
227
228
  alt: "doc"
228
229
  }
229
230
  )
230
231
  ]
231
232
  }
232
233
  ),
233
- a ? /* @__PURE__ */ t(s, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
234
- /* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
235
- /* @__PURE__ */ t(c, { variant: "h5", sx: { fontWeight: "bold" }, children: [
234
+ s ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
235
+ /* @__PURE__ */ e(T, { size: 30, color: "inherit" }),
236
+ /* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
236
237
  "Processing...",
237
238
  /* @__PURE__ */ e("br", {}),
238
239
  "one moment please"
@@ -241,7 +242,7 @@ import './assets/documents.css';const ve = () => ({
241
242
  /* @__PURE__ */ e(
242
243
  g,
243
244
  {
244
- onClick: k,
245
+ onClick: v,
245
246
  sx: { mt: 6 },
246
247
  disabled: !m,
247
248
  fullWidth: !0,
@@ -260,10 +261,10 @@ import './assets/documents.css';const ve = () => ({
260
261
  )
261
262
  ] })
262
263
  ] }) : /* @__PURE__ */ t(C, { children: [
263
- /* @__PURE__ */ t(s, { className: i["doc-video-box"], children: [
264
+ /* @__PURE__ */ t(c, { className: i["doc-video-box"], children: [
264
265
  /* @__PURE__ */ e("span", {}),
265
266
  /* @__PURE__ */ e(
266
- se,
267
+ ce,
267
268
  {
268
269
  className: i["video-box-inner-content"],
269
270
  audio: !1,
@@ -276,40 +277,40 @@ import './assets/documents.css';const ve = () => ({
276
277
  }
277
278
  )
278
279
  ] }),
279
- /* @__PURE__ */ e(g, { onClick: x, sx: { mt: 8 }, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Take Photo" }) })
280
+ /* @__PURE__ */ e(g, { onClick: D, sx: { mt: 8 }, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Take Photo" }) })
280
281
  ] })
281
282
  ] });
282
283
  }, lt = ({ showAlertMessage: o, identityDocs: m }) => {
283
- const { openDialog: _, ConfirmDialog: u } = De(), a = de(), r = me(be), l = r.data, b = r.loader, p = r.message, x = r.error, k = r.preview.front, d = r.preview.back, D = r.preview.loader, I = r.uploadLoader, [v, N] = f(!1), [R, O] = f(!1), [B, y] = f(1), [K, q] = f(!1), [W, G] = f(""), [T, P] = f("");
284
+ const { openDialog: _, ConfirmDialog: u } = be(), s = de(), r = me(xe), l = r.data, x = r.loader, p = r.message, D = r.error, v = r.preview.front, d = r.preview.back, b = r.preview.loader, w = r.uploadLoader, [y, N] = f(!1), [R, O] = f(!1), [B, E] = f(1), [K, G] = f(!1), [W, Q] = f(""), [I, P] = f("");
284
285
  A(() => {
285
- x && o({ message: x });
286
- }, [x]), A(() => {
286
+ D && o({ message: D });
287
+ }, [D]), A(() => {
287
288
  p && (o({ message: p, type: "success" }), N(!1), U());
288
289
  }, [p]);
289
- const Q = () => {
290
+ const q = () => {
290
291
  if (!W)
291
292
  return o({ message: "Please provide the document name" }), !1;
292
- if (!T)
293
+ if (!I)
293
294
  return o({ message: "Please provide the document" }), !1;
294
- a(
295
- Se({
295
+ s(
296
+ ke({
296
297
  filename: W.trim(),
297
- content: T
298
+ content: I
298
299
  })
299
300
  );
300
301
  }, X = () => {
301
- a(ve());
302
+ s(ye());
302
303
  };
303
304
  A(() => {
304
305
  X();
305
306
  }, []);
306
307
  const Z = (n) => {
307
- a(Ne(n));
308
+ s(Ne(n));
308
309
  }, ee = (n) => {
309
- a(ye(n));
310
+ s(Ee(n));
310
311
  }, te = (n) => {
311
312
  _({
312
- icon: xe,
313
+ icon: De,
313
314
  height: "450px",
314
315
  title: "Are you sure you want to delete?",
315
316
  message: "This action cannot be undone.",
@@ -319,20 +320,20 @@ import './assets/documents.css';const ve = () => ({
319
320
  cancelButtonShow: !0
320
321
  });
321
322
  }, ne = (n) => {
322
- a(Ee(n));
323
- }, H = ({ data: n, type: E }) => E === "identity" ? /* @__PURE__ */ e(
324
- s,
323
+ s(Se(n));
324
+ }, H = ({ data: n, type: S }) => S === "identity" ? /* @__PURE__ */ e(
325
+ c,
325
326
  {
326
327
  className: i["menu-item"],
327
328
  onClick: () => n.documentId && Z(n.documentId),
328
329
  children: /* @__PURE__ */ t(h, { container: !0, sx: { width: "100%" }, children: [
329
- /* @__PURE__ */ e(h, { size: 10, className: "content-center", children: /* @__PURE__ */ e(s, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(c, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.documentType && le(n.documentType) }) }) }) }),
330
- /* @__PURE__ */ e(h, { size: 2, children: /* @__PURE__ */ e(c, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: M, alt: "arrow" }) }) })
330
+ /* @__PURE__ */ e(h, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(a, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.documentType && le(n.documentType) }) }) }) }),
331
+ /* @__PURE__ */ e(h, { size: 2, children: /* @__PURE__ */ e(a, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: M, alt: "arrow" }) }) })
331
332
  ] })
332
333
  }
333
- ) : /* @__PURE__ */ t(s, { sx: { position: "relative" }, className: i["menu-item"], children: [
334
- v && /* @__PURE__ */ e(
335
- S,
334
+ ) : /* @__PURE__ */ t(c, { sx: { position: "relative" }, className: i["menu-item"], children: [
335
+ y && /* @__PURE__ */ e(
336
+ k,
336
337
  {
337
338
  className: i["remove-icon"],
338
339
  onClick: () => te(n.filename),
@@ -346,13 +347,13 @@ import './assets/documents.css';const ve = () => ({
346
347
  container: !0,
347
348
  sx: { width: "100%" },
348
349
  children: [
349
- /* @__PURE__ */ e(h, { size: 10, className: "content-center", children: /* @__PURE__ */ e(s, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(c, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.filename }) }) }) }),
350
- /* @__PURE__ */ e(h, { size: 2, children: /* @__PURE__ */ e(c, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: M, alt: "arrow" }) }) })
350
+ /* @__PURE__ */ e(h, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(a, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.filename }) }) }) }),
351
+ /* @__PURE__ */ e(h, { size: 2, children: /* @__PURE__ */ e(a, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: M, alt: "arrow" }) }) })
351
352
  ]
352
353
  }
353
354
  )
354
355
  ] }), U = () => {
355
- G(""), P(""), y(1), q(!1);
356
+ Q(""), P(""), E(1), G(!1);
356
357
  };
357
358
  return /* @__PURE__ */ t(C, { children: [
358
359
  /* @__PURE__ */ e(u, {}),
@@ -363,15 +364,15 @@ import './assets/documents.css';const ve = () => ({
363
364
  color: "#fff",
364
365
  zIndex: (n) => n.zIndex.drawer + 1e3
365
366
  },
366
- open: D,
367
- children: /* @__PURE__ */ e(w, { color: "inherit" })
367
+ open: b,
368
+ children: /* @__PURE__ */ e(T, { color: "inherit" })
368
369
  }
369
370
  ),
370
- /* @__PURE__ */ e(c, { className: i.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Documents" }) }),
371
+ /* @__PURE__ */ e(a, { className: i.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Documents" }) }),
371
372
  l.length > 0 && /* @__PURE__ */ t(
372
- ke,
373
+ ve,
373
374
  {
374
- className: `${v ? i["delete-disable"] : i["confirm-edit"]} normal-text`,
375
+ className: `${y ? i["delete-disable"] : i["confirm-edit"]} normal-text`,
375
376
  sx: { mt: 3, mb: 3 },
376
377
  variant: "contained",
377
378
  onClick: () => N((n) => !n),
@@ -381,16 +382,16 @@ import './assets/documents.css';const ve = () => ({
381
382
  ]
382
383
  }
383
384
  ),
384
- b ? /* @__PURE__ */ e(s, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(w, {}) }) : /* @__PURE__ */ t(C, { children: [
385
- m && m.map((n, E) => /* @__PURE__ */ e(H, { data: n, type: "identity" }, E)),
386
- l && l.map((n, E) => /* @__PURE__ */ e(H, { data: n, type: "normal" }, E)),
387
- !m && l.length === 0 && /* @__PURE__ */ e(c, { mt: 4, className: "text-center", variant: "h4", children: "No Documents" })
385
+ x ? /* @__PURE__ */ e(c, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(T, {}) }) : /* @__PURE__ */ t(C, { children: [
386
+ m && m.map((n, S) => /* @__PURE__ */ e(H, { data: n, type: "identity" }, S)),
387
+ l && l.map((n, S) => /* @__PURE__ */ e(H, { data: n, type: "normal" }, S)),
388
+ !m && l.length === 0 && /* @__PURE__ */ e(a, { mt: 4, className: "text-center", variant: "h4", children: "No Documents" })
388
389
  ] }),
389
390
  /* @__PURE__ */ e(
390
391
  g,
391
392
  {
392
393
  sx: { mt: 4 },
393
- onClick: () => q(!0),
394
+ onClick: () => G(!0),
394
395
  fullWidth: !0,
395
396
  children: /* @__PURE__ */ e("strong", { children: "Add new document" })
396
397
  }
@@ -403,7 +404,7 @@ import './assets/documents.css';const ve = () => ({
403
404
  onClose: () => O(!1),
404
405
  children: [
405
406
  /* @__PURE__ */ e($, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
406
- S,
407
+ k,
407
408
  {
408
409
  "aria-label": "close",
409
410
  onClick: () => O(!1),
@@ -417,22 +418,22 @@ import './assets/documents.css';const ve = () => ({
417
418
  }
418
419
  ) }),
419
420
  /* @__PURE__ */ e(V, { sx: { mt: 2 } }),
420
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(s, { children: "Add Document Modal" }) })
421
+ /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(c, { children: "Add Document Modal" }) })
421
422
  ]
422
423
  }
423
424
  ),
424
425
  /* @__PURE__ */ t(
425
426
  L,
426
427
  {
427
- open: !!k,
428
+ open: !!v,
428
429
  fullWidth: !0,
429
- onClose: () => a(J()),
430
+ onClose: () => s(J()),
430
431
  children: [
431
432
  /* @__PURE__ */ e($, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
432
- S,
433
+ k,
433
434
  {
434
435
  "aria-label": "close",
435
- onClick: () => a(J()),
436
+ onClick: () => s(J()),
436
437
  sx: {
437
438
  position: "absolute",
438
439
  right: 8,
@@ -443,18 +444,18 @@ import './assets/documents.css';const ve = () => ({
443
444
  }
444
445
  ) }),
445
446
  /* @__PURE__ */ e(V, { sx: { mt: 2 } }),
446
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ t(s, { children: [
447
- /* @__PURE__ */ e(c, { variant: "h5", mb: 3, children: "Front Image" }),
447
+ /* @__PURE__ */ e(z, { children: /* @__PURE__ */ t(c, { children: [
448
+ /* @__PURE__ */ e(a, { variant: "h5", mb: 3, children: "Front Image" }),
448
449
  /* @__PURE__ */ e(
449
450
  "img",
450
451
  {
451
452
  className: i["video-box-inner-content"],
452
- src: "data:image/jpeg;base64," + k,
453
+ src: "data:image/jpeg;base64," + v,
453
454
  alt: "Front"
454
455
  }
455
456
  ),
456
457
  d && /* @__PURE__ */ t(C, { children: [
457
- /* @__PURE__ */ e(c, { variant: "h5", mt: 2, mb: 3, children: "Back Image" }),
458
+ /* @__PURE__ */ e(a, { variant: "h5", mt: 2, mb: 3, children: "Back Image" }),
458
459
  /* @__PURE__ */ e(
459
460
  "img",
460
461
  {
@@ -474,14 +475,14 @@ import './assets/documents.css';const ve = () => ({
474
475
  fullWidth: !0,
475
476
  open: K,
476
477
  onClose: U,
477
- TransitionComponent: ae,
478
+ TransitionComponent: se,
478
479
  children: [
479
- /* @__PURE__ */ t(s, { className: i["asset-header"], children: [
480
+ /* @__PURE__ */ t(c, { className: i["asset-header"], children: [
480
481
  /* @__PURE__ */ e(
481
- S,
482
+ k,
482
483
  {
483
484
  "aria-label": "close",
484
- onClick: () => y(
485
+ onClick: () => E(
485
486
  B - 1 <= 0 ? 1 : B - 1
486
487
  ),
487
488
  sx: { color: "#16359d", ml: "20px" },
@@ -489,7 +490,7 @@ import './assets/documents.css';const ve = () => ({
489
490
  }
490
491
  ),
491
492
  /* @__PURE__ */ e(
492
- c,
493
+ a,
493
494
  {
494
495
  className: "secondary-text-color",
495
496
  variant: "subtitle1",
@@ -498,7 +499,7 @@ import './assets/documents.css';const ve = () => ({
498
499
  }
499
500
  ),
500
501
  /* @__PURE__ */ e(
501
- S,
502
+ k,
502
503
  {
503
504
  "aria-label": "close",
504
505
  onClick: U,
@@ -513,30 +514,30 @@ import './assets/documents.css';const ve = () => ({
513
514
  {
514
515
  showAlertMessage: o,
515
516
  documentName: W,
516
- setDocumentName: G,
517
- setDocumentScreen: y
517
+ setDocumentName: Q,
518
+ setDocumentScreen: E
518
519
  }
519
520
  ),
520
521
  2: /* @__PURE__ */ e(
521
522
  Pe,
522
523
  {
523
524
  showAlertMessage: o,
524
- setDocumentScreen: y,
525
- documentFile: T,
525
+ setDocumentScreen: E,
526
+ documentFile: I,
526
527
  setDocumentFile: P,
527
- uploadDocument: Q,
528
- uploadLoader: I
528
+ uploadDocument: q,
529
+ uploadLoader: w
529
530
  }
530
531
  ),
531
532
  3: /* @__PURE__ */ e(
532
533
  Ue,
533
534
  {
534
535
  showAlertMessage: o,
535
- setDocumentScreen: y,
536
- documentFile: T,
536
+ setDocumentScreen: E,
537
+ documentFile: I,
537
538
  setDocumentFile: P,
538
- uploadDocument: Q,
539
- uploadLoader: I
539
+ uploadDocument: q,
540
+ uploadLoader: w
540
541
  }
541
542
  )
542
543
  }[B] })
@@ -2,16 +2,16 @@ import { jsxs as a, Fragment as v, jsx as e } from "react/jsx-runtime";
2
2
  import { useRef as ye, useMemo as Ve, useState as p, useEffect as h } from "react";
3
3
  import Je from "./hoc/withThemeProvider.js";
4
4
  import { a as C, u as Ie } from "./react-redux-B4BZippc.js";
5
- import { P as Qe } from "./PlayArrow-BkW3s4mw.js";
5
+ import { P as Qe } from "./PlayArrow-KBDRjTbR.js";
6
6
  import { I as Ze } from "./Info-BVeUSPyk.js";
7
7
  import { G as et } from "./generic-token-B_ptO5yb.js";
8
8
  import { getCentralLedgetNetwork as V, getNetworkBackGround as be, getCurrencySymbol as tt } from "./util/functions.js";
9
9
  import Ne from "./components/Wallet/Shared/TokenModal/index.js";
10
10
  import { formatNumberWithoutRounding as _e } from "./util/conversions.js";
11
- import { ac as A } from "./constants-DBlV_hAZ.js";
11
+ import { ac as A } from "./constants-rDP6jwIs.js";
12
12
  import { c as ot, d as rt } from "./index-FwnHkXdK.js";
13
- import { f as nt, a as at, b as st } from "./cryptoAssets-Da0hZPmW.js";
14
- import { b as Z, c as ve, d as it, e as lt, f as ct, g as mt } from "./order-BNumaEGY.js";
13
+ import { f as nt, a as at, b as st } from "./cryptoAssets-BXjfidU4.js";
14
+ import { b as Z, c as ve, d as it, e as lt, f as ct, g as mt } from "./order-CTEvMHv4.js";
15
15
  import { DIALOG_SUCCESS_ICON as dt, TOKEN_TO_TOKEN as ee, ARROW_ICON as ut, ESTIMATE_TOOLTIP_TEXT as pt } from "./util/constants.js";
16
16
  import { M as ft } from "./tooltip-3UvETWtS.js";
17
17
  import Fe from "./components/Wallet/Shared/appButton.js";
@@ -28,11 +28,11 @@ import "./index-B8QKlEgj.js";
28
28
  import "./index-ceeCtFuh.js";
29
29
  import { s as i } from "./styles.module-CHEBh2ID.js";
30
30
  import Ce from "./components/Wallet/Shared/Order/selectCustomIcon.js";
31
- import { u as xt, a as gt } from "./wallet-BJz8LnYf.js";
31
+ import { u as xt, a as gt } from "./wallet-DZ3-OqYH.js";
32
32
  import { AuthContainer as yt } from "./components/Wallet/Shared/Container/index.js";
33
33
  import bt from "./components/Shared/MinimalKyc/index.js";
34
34
  import Nt from "./components/Wallet/Shared/Input/index.js";
35
- import { M as _t } from "./index-BHmViOiG.js";
35
+ import { M as _t } from "./index-CdfFs6U2.js";
36
36
  import { useDialogContext as vt } from "./context/dialogContext.js";
37
37
  import { B as R } from "./Box-B0YSYLco.js";
38
38
  import { G as s } from "./Grid-CFe3amXO.js";