everest-npm-features 0.0.17 → 0.0.18

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 (133) hide show
  1. package/dist/CheckCircle-BiltyzEJ.js +8 -0
  2. package/dist/PlayArrow-BYMBg9J8.js +8 -0
  3. package/dist/assets/index10.css +1 -1
  4. package/dist/assets/index11.css +1 -1
  5. package/dist/assets/index2.css +1 -1
  6. package/dist/assets/index3.css +1 -1
  7. package/dist/assets/index4.css +1 -1
  8. package/dist/assets/index5.css +1 -1
  9. package/dist/assets/index6.css +1 -1
  10. package/dist/assets/index7.css +1 -1
  11. package/dist/assets/index8.css +1 -1
  12. package/dist/assets/index9.css +1 -1
  13. package/dist/assets/styles2.css +1 -1
  14. package/dist/assets/styles3.css +1 -0
  15. package/dist/{auth-PInt5Jrb.js → auth-RJ36qeYb.js} +1 -1
  16. package/dist/{bank-BDnnvwyk.js → bank-Dml7vXW5.js} +10 -10
  17. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -5
  18. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  19. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  20. package/dist/components/RocketRamp/Player/Buy/form.js +5 -5
  21. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  22. package/dist/components/RocketRamp/Player/Dashboard/index.js +13 -15
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  24. package/dist/components/RocketRamp/Player/Sell/form.js +5 -5
  25. package/dist/components/RocketRamp/Player/Sell/index.js +8 -8
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +3 -3
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +3 -3
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  32. package/dist/components/RocketRamp/ResetPassword/index.js +3 -3
  33. package/dist/components/RocketRamp/Shared/Input/index.js +9 -9
  34. package/dist/components/RocketRamp/Store/SignUp/index.js +3 -3
  35. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  36. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  37. package/dist/components/RocketRamp/Transactions/index.js +7 -7
  38. package/dist/components/Shared/HistoryItem/index.js +40 -40
  39. package/dist/components/Shared/MinimalKyc/index.js +3 -3
  40. package/dist/components/Shared/tooltip.js +5 -2108
  41. package/dist/components/Wallet/Account/createIban.js +1 -1
  42. package/dist/components/Wallet/Account/iban.js +5 -5
  43. package/dist/components/Wallet/Account/index.js +17 -17
  44. package/dist/components/Wallet/Account/sendIban.js +16 -16
  45. package/dist/components/Wallet/Buy/confirmTransaction.d.ts +2 -2
  46. package/dist/components/Wallet/Buy/confirmTransaction.js +5 -4
  47. package/dist/components/Wallet/Buy/form.d.ts +2 -2
  48. package/dist/components/Wallet/Buy/form.js +9 -6
  49. package/dist/components/Wallet/Buy/index.d.ts +1 -1
  50. package/dist/components/Wallet/Buy/index.js +7 -7
  51. package/dist/components/Wallet/Deposit/index.d.ts +2 -0
  52. package/dist/components/Wallet/Deposit/index.js +110 -0
  53. package/dist/components/Wallet/EnterpriseKyc/edd.js +92 -80
  54. package/dist/components/Wallet/EnterpriseKyc/index.js +121 -108
  55. package/dist/components/Wallet/EnterpriseKyc/orgDetails.d.ts +1 -1
  56. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +110 -85
  57. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  58. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +1 -0
  59. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  60. package/dist/components/Wallet/History/index.js +4 -4
  61. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +33 -33
  62. package/dist/components/Wallet/Portfolio/index.js +171 -138
  63. package/dist/components/Wallet/Profile/documents.js +4 -4
  64. package/dist/components/Wallet/Profile/index.js +4 -4
  65. package/dist/components/Wallet/Receive/index.js +8 -8
  66. package/dist/components/Wallet/Sell/confirmTransaction.d.ts +3 -0
  67. package/dist/components/Wallet/Sell/confirmTransaction.js +18 -0
  68. package/dist/components/Wallet/Sell/form.d.ts +3 -0
  69. package/dist/components/Wallet/Sell/form.js +32 -0
  70. package/dist/components/Wallet/Sell/index.d.ts +6 -0
  71. package/dist/components/Wallet/Sell/index.js +22 -0
  72. package/dist/components/Wallet/Send/index.js +6 -6
  73. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  74. package/dist/components/Wallet/Shared/ConnectWallet/index.js +1 -1
  75. package/dist/components/Wallet/Shared/Container/index.js +1 -1
  76. package/dist/components/Wallet/Shared/Order/types.d.ts +51 -0
  77. package/dist/components/Wallet/Shared/TokenModal/index.d.ts +1 -1
  78. package/dist/components/Wallet/Shared/TokenModal/index.js +5 -5
  79. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  80. package/dist/components/Wallet/Shared/addBank.js +6 -6
  81. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  82. package/dist/components/Wallet/Shared/pin.js +1 -1
  83. package/dist/components/Wallet/SignIn/index.js +3 -3
  84. package/dist/components/Wallet/SignUp/index.js +3 -3
  85. package/dist/components/Wallet/Stake/gems/index.js +1 -1
  86. package/dist/components/Wallet/Stake/id/index.js +3 -3
  87. package/dist/components/Wallet/Stake/index.js +7 -7
  88. package/dist/components/Wallet/Swap/index.d.ts +3 -2
  89. package/dist/components/Wallet/Swap/index.js +327 -271
  90. package/dist/components/Wallet/SwapAndUniSwap/index.js +31 -35
  91. package/dist/components/Wallet/{Buy → SwapAndUniSwap}/types.d.ts +4 -13
  92. package/dist/components/Wallet/SwapAndUniSwap/types.js +1 -0
  93. package/dist/components/Wallet/Withdraw/bankSelect.d.ts +4 -0
  94. package/dist/components/Wallet/Withdraw/bankSelect.js +21 -0
  95. package/dist/components/Wallet/Withdraw/confirmTransaction.d.ts +3 -0
  96. package/dist/components/Wallet/Withdraw/confirmTransaction.js +19 -0
  97. package/dist/components/Wallet/Withdraw/form.d.ts +3 -0
  98. package/dist/components/Wallet/Withdraw/form.js +26 -0
  99. package/dist/components/Wallet/Withdraw/index.d.ts +7 -0
  100. package/dist/components/Wallet/Withdraw/index.js +22 -0
  101. package/dist/constants-QcvnheTz.js +5307 -0
  102. package/dist/cryptoAssets-DBfxll21.js +16 -0
  103. package/dist/{documents-b3tR38Qf.js → documents-Bd28UFLu.js} +3 -3
  104. package/dist/{fiatAssets-Di1Dvl51.js → fiatAssets-w5Lh-MSu.js} +1 -1
  105. package/dist/hooks/useDialog/index.js +22 -22
  106. package/dist/hooks/useRrDialog/index.js +1 -1
  107. package/dist/{iban-D3Y3E3cN.js → iban-CKaN4sIM.js} +6 -6
  108. package/dist/index-BEdISdN-.js +709 -0
  109. package/dist/{index-BhJeqQtm.js → index-BNaxzTKI.js} +164 -163
  110. package/dist/index-BvftsxV1.js +677 -0
  111. package/dist/index-DSHZv8ZQ.js +569 -0
  112. package/dist/{index-D2XCPzg3.js → index-_KAhqkWc.js} +144 -143
  113. package/dist/{index-DQaPU81n.js → index-f15o1nhn.js} +3 -3
  114. package/dist/{kyc-8mSMgUlU.js → kyc-V7cIa71M.js} +1 -1
  115. package/dist/main.d.ts +4 -0
  116. package/dist/main.js +47 -39
  117. package/dist/order-6L4LZOBs.js +41 -0
  118. package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
  119. package/dist/{stake-Cf5t27F3.js → stake-r4KUlRcz.js} +1 -1
  120. package/dist/styles.module-BFHktEw2.js +30 -0
  121. package/dist/{styles.module-Ctfaq7f2.js → styles.module-DJk7Pf0F.js} +1 -1
  122. package/dist/tooltip-BVZ66d8C.js +2111 -0
  123. package/dist/util/constants.d.ts +1 -0
  124. package/dist/util/constants.js +84 -83
  125. package/dist/{wallet-Bghw0_Nm.js → wallet-D7MEPP5y.js} +1 -1
  126. package/package.json +2 -2
  127. package/dist/PlayArrow-Dent7shn.js +0 -21
  128. package/dist/assets/index12.css +0 -1
  129. package/dist/assets/index13.css +0 -1
  130. package/dist/constants-A8X7fywY.js +0 -3882
  131. package/dist/index-Bqxs_jIU.js +0 -709
  132. package/dist/order-DTnCUIx0.js +0 -34
  133. /package/dist/components/Wallet/{Buy → Shared/Order}/types.js +0 -0
@@ -3,51 +3,52 @@ import { useState as c, useEffect as f } from "react";
3
3
  import Ae from "./hoc/withThemeProvider.js";
4
4
  import Re from "./components/RocketRamp/Shared/backBtn.js";
5
5
  import { getCurrencySymbol as de, getOrionBalance as Se } from "./util/functions.js";
6
- import { PAYMENT_BANK as ie, SEPA_ICON as Me, VISA_ICON as ze, ID_TOKEN_SYMBOL as Oe, FIAT_WITHDRAW as Pe, FIAT_TO_EVER_ID as we, FIAT_TO_TOKEN as We, ESTIMATE_TOOLTIP_TEXT as Be, TOKEN_TO_FIAT as Xe } from "./util/constants.js";
7
- import j from "./components/RocketRamp/Shared/Button/index.js";
8
- import "./constants-A8X7fywY.js";
9
- import { c as ue, d as De, g as Le, b as Ye, e as qe } from "./order-DTnCUIx0.js";
10
- import { u as Ke, a as W } from "./react-redux-B4BZippc.js";
6
+ import { PAYMENT_BANK as ae, SEPA_ICON as Me, VISA_ICON as ze, ID_TOKEN_SYMBOL as Oe, FIAT_WITHDRAW as Pe, FIAT_TO_EVER_ID as we, FIAT_TO_TOKEN as We, ESTIMATE_TOOLTIP_TEXT as Be, TOKEN_TO_FIAT as Le } from "./util/constants.js";
7
+ import U from "./components/RocketRamp/Shared/Button/index.js";
8
+ import { a8 as Xe } from "./constants-QcvnheTz.js";
9
+ import { b as ue, c as De, i as Ye, a as qe, f as Ke } from "./order-6L4LZOBs.js";
10
+ import { a as $e, u as W } from "./react-redux-C7I9-1M6.js";
11
11
  import "./components/Wallet/Shared/appButton.js";
12
12
  import "./components/Wallet/Shared/Auth/otpForm.js";
13
- import { f as $e } from "./fiatAssets-Di1Dvl51.js";
14
- import { P as Ge, F as je } from "./PlayArrow-Dent7shn.js";
13
+ import { f as Ge } from "./fiatAssets-w5Lh-MSu.js";
14
+ import { f as Ue } from "./cryptoAssets-DBfxll21.js";
15
15
  import "./context/snackBarContext.js";
16
16
  import "./util/conversions.js";
17
- import { useSnackBar as Ue } from "./hooks/useSnackBar.js";
18
17
  import "./index-CAoLi5Qq.js";
18
+ import { useSnackBar as je } from "./hooks/useSnackBar.js";
19
19
  import "./react-webcam-B3cXh1XT.js";
20
- import ae from "./components/Shared/transition.js";
20
+ import ie from "./components/Shared/transition.js";
21
21
  import "./components/Wallet/Shared/pin.js";
22
22
  import "./moment-h96o7c8I.js";
23
- import Ve from "./components/Shared/tooltip.js";
23
+ import { M as Ve } from "./tooltip-BVZ66d8C.js";
24
24
  import "./index.esm-BsMAMhYW.js";
25
25
  import "./web3-u4qDZYpo.js";
26
26
  import "./index-B8QKlEgj.js";
27
27
  import "./index-ceeCtFuh.js";
28
28
  import He from "./components/RocketRamp/MinimalKyc/form.js";
29
- import { I as Je } from "./Info-DPMWjNcQ.js";
30
- import { G as Qe } from "./generic-token-B_ptO5yb.js";
29
+ import { P as Je } from "./PlayArrow-BYMBg9J8.js";
30
+ import { I as Qe } from "./Info-DPMWjNcQ.js";
31
+ import { G as Ze } from "./generic-token-B_ptO5yb.js";
31
32
  import oe from "./components/RocketRamp/Shared/Input/index.js";
32
33
  import { G as n } from "./Grid2-DJW3x_WO.js";
33
34
  import { B as C } from "./Box-rIIGCyb6.js";
34
- import { T as i } from "./Typography-DiFeMX5p.js";
35
+ import { T as a } from "./Typography-DiFeMX5p.js";
35
36
  import { C as I } from "./CircularProgress-CBhr9Pli.js";
36
- import { I as Ze } from "./TextField-BtFFWrf2.js";
37
- import { F as et } from "./FormControl-uQi14shL.js";
38
- import { S as tt } from "./Select-BsqVGicz.js";
37
+ import { I as et } from "./TextField-BtFFWrf2.js";
38
+ import { F as tt } from "./FormControl-uQi14shL.js";
39
+ import { S as rt } from "./Select-BsqVGicz.js";
39
40
  import { M as se } from "./MenuItem-BKHoKEhO.js";
40
- import { L as rt } from "./ListItemIcon-BO6nZHNq.js";
41
- import { I as U } from "./IconButton-DRnoPKKH.js";
41
+ import { L as nt } from "./ListItemIcon-BO6nZHNq.js";
42
+ import { I as j } from "./IconButton-DRnoPKKH.js";
42
43
  import { C as ce } from "./Close-Dv525LOL.js";
43
44
  import { D as le, a as me } from "./DialogContent-BLqflo8C.js";
44
- import './assets/index9.css';const T = {
45
+ import './assets/index7.css';const E = {
45
46
  "confirm-payment": "_confirm-payment_1oe7d_1",
46
47
  "confirm-transaction-network": "_confirm-transaction-network_1oe7d_33",
47
48
  "buy-info": "_buy-info_1oe7d_57",
48
49
  "close-btn": "_close-btn_1oe7d_77"
49
- }, nt = ({
50
- setScreen: E,
50
+ }, at = ({
51
+ setScreen: T,
51
52
  partnerKey: y,
52
53
  orderData: d,
53
54
  dispatch: k,
@@ -55,9 +56,9 @@ import './assets/index9.css';const T = {
55
56
  navigate: S,
56
57
  store: p
57
58
  }) => {
58
- const a = d.estimate, A = d.create.order_id, x = d.loader, h = d.card, l = a.crypto_amount, b = de(a.fiat_currency), [F, _] = c(!1), [B, N] = c(!1), [s, X] = c(!1);
59
+ const i = d.estimate, A = d.create.order_id, x = d.loader, h = d.card, l = i.crypto_amount, b = de(i.fiat_currency), [F, _] = c(!1), [B, N] = c(!1), [s, L] = c(!1);
59
60
  f(() => {
60
- A && F && (N(!1), X(!0));
61
+ A && F && (N(!1), L(!0));
61
62
  }, [A]), f(() => {
62
63
  M();
63
64
  }, []);
@@ -65,21 +66,21 @@ import './assets/index9.css';const T = {
65
66
  k(
66
67
  ue({
67
68
  apiKey: y,
68
- transaction_type: a.transaction_type,
69
- coin_amount: a.fiat_amount,
70
- exchange: a.exchange,
71
- payment_type: a.payment_type,
72
- fiat_ccy: a.fiat_currency,
73
- crypto_ccy: a.crypto_currency,
74
- network: a.network,
75
- payment_provider: a.payment_provider
69
+ transaction_type: i.transaction_type,
70
+ coin_amount: i.fiat_amount,
71
+ exchange: i.exchange,
72
+ payment_type: i.payment_type,
73
+ fiat_ccy: i.fiat_currency,
74
+ crypto_ccy: i.crypto_currency,
75
+ network: i.network,
76
+ payment_provider: i.payment_provider
76
77
  })
77
78
  );
78
- }, L = () => {
79
+ }, D = () => {
79
80
  k(
80
81
  De({
81
82
  apiKey: y,
82
- quoteId: a.quote_id,
83
+ quoteId: i.quote_id,
83
84
  walletAddress: u,
84
85
  paymentMethodId: h.payment_method.id,
85
86
  storeId: p.info.id
@@ -90,75 +91,75 @@ import './assets/index9.css';const T = {
90
91
  /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 8, children: q })
91
92
  ] });
92
93
  return /* @__PURE__ */ t(v, { children: [
93
- /* @__PURE__ */ e(Re, { onClickHandler: () => E(pe) }),
94
- /* @__PURE__ */ e(i, { mt: 2, variant: "sm", fontWeight: 600, children: "Token Send From" }),
95
- /* @__PURE__ */ t(C, { mt: 2, className: T["confirm-payment"], children: [
94
+ /* @__PURE__ */ e(Re, { onClickHandler: () => T(pe) }),
95
+ /* @__PURE__ */ e(a, { mt: 2, variant: "sm", fontWeight: 600, children: "Token Send From" }),
96
+ /* @__PURE__ */ t(C, { mt: 2, className: E["confirm-payment"], children: [
96
97
  /* @__PURE__ */ e(
97
98
  "img",
98
99
  {
99
- src: a.payment_type === ie ? Me : ze,
100
+ src: i.payment_type === ae ? Me : ze,
100
101
  width: 100,
101
102
  alt: "payment"
102
103
  }
103
104
  ),
104
- /* @__PURE__ */ e(i, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: a.payment_type === ie ? "Bank Account" : "Debit Card" }) })
105
+ /* @__PURE__ */ e(a, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: i.payment_type === ae ? "Bank Account" : "Debit Card" }) })
105
106
  ] }),
106
- /* @__PURE__ */ e(i, { mt: 4, variant: "sm", fontWeight: 600, children: "To Wallet Address" }),
107
+ /* @__PURE__ */ e(a, { mt: 4, variant: "sm", fontWeight: 600, children: "To Wallet Address" }),
107
108
  /* @__PURE__ */ e(
108
109
  C,
109
110
  {
110
111
  mt: 2,
111
- className: T["confirm-payment"],
112
+ className: E["confirm-payment"],
112
113
  sx: { width: "100% !important" },
113
- children: /* @__PURE__ */ e(i, { variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: u }) })
114
+ children: /* @__PURE__ */ e(a, { variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: u }) })
114
115
  }
115
116
  ),
116
- /* @__PURE__ */ e(i, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
117
+ /* @__PURE__ */ e(a, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
117
118
  /* @__PURE__ */ e(C, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ t(n, { container: !0, children: [
118
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
119
- a.crypto_currency.toUpperCase(),
119
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
120
+ i.crypto_currency.toUpperCase(),
120
121
  " @",
121
122
  " ",
122
- Number(a.conversion_price).toFixed(2),
123
+ Number(i.conversion_price).toFixed(2),
123
124
  " ",
124
- a.fiat_currency
125
+ i.fiat_currency
125
126
  ] }) }),
126
127
  /* @__PURE__ */ e(n, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
127
128
  "span",
128
129
  {
129
- className: T["confirm-transaction-network"],
130
+ className: E["confirm-transaction-network"],
130
131
  style: {
131
- backgroundColor: a.network === "Ethereum" ? "#A1A9DC" : "#5D8CCC"
132
+ backgroundColor: i.network === "Ethereum" ? "#A1A9DC" : "#5D8CCC"
132
133
  },
133
- children: a.network
134
+ children: i.network
134
135
  }
135
136
  ) }),
136
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
137
- Number(a.crypto_amount).toFixed(2),
137
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
138
+ Number(i.crypto_amount).toFixed(2),
138
139
  " ",
139
- a.crypto_currency.toUpperCase()
140
+ i.crypto_currency.toUpperCase()
140
141
  ] }) }),
141
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
142
- (Number(l) - Number(a.total_fee)).toFixed(2),
142
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
143
+ (Number(l) - Number(i.total_fee)).toFixed(2),
143
144
  " ",
144
- a.fiat_currency
145
+ i.fiat_currency
145
146
  ] }) }),
146
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
147
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
148
- Number(a.total_fee).toFixed(2),
147
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Total Fees" }) }),
148
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
149
+ Number(i.total_fee).toFixed(2),
149
150
  " ",
150
- a.fiat_currency
151
+ i.fiat_currency
151
152
  ] }) }),
152
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Total Receive" }) }) }),
153
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ t("strong", { children: [
153
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Total Receive" }) }) }),
154
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: /* @__PURE__ */ t("strong", { children: [
154
155
  b,
155
- Number(a.fiat_out_amount).toFixed(2),
156
+ Number(i.fiat_out_amount).toFixed(2),
156
157
  " ",
157
- a.fiat_currency
158
+ i.fiat_currency
158
159
  ] }) }) })
159
160
  ] }) }),
160
161
  /* @__PURE__ */ e(C, { mt: 4, children: /* @__PURE__ */ e(
161
- j,
162
+ U,
162
163
  {
163
164
  onClick: () => N(!0),
164
165
  disabled: x,
@@ -178,20 +179,20 @@ import './assets/index9.css';const T = {
178
179
  open: B,
179
180
  fullWidth: !0,
180
181
  onClose: () => N(!1),
181
- TransitionComponent: ae,
182
+ TransitionComponent: ie,
182
183
  children: [
183
184
  /* @__PURE__ */ e(
184
- U,
185
+ j,
185
186
  {
186
187
  "aria-label": "close",
187
188
  onClick: () => N(!1),
188
- className: T["close-btn"],
189
+ className: E["close-btn"],
189
190
  children: /* @__PURE__ */ e(ce, {})
190
191
  }
191
192
  ),
192
193
  /* @__PURE__ */ t(me, { sx: { mt: 1 }, children: [
193
- /* @__PURE__ */ e(i, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Payout Details" }) }),
194
- /* @__PURE__ */ e(i, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "You will receieve funds in the following card:" }),
194
+ /* @__PURE__ */ e(a, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Payout Details" }) }),
195
+ /* @__PURE__ */ e(a, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "You will receieve funds in the following card:" }),
195
196
  /* @__PURE__ */ t(n, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, children: [
196
197
  /* @__PURE__ */ e(z, { label: "Name", value: h.account_holder_name }),
197
198
  /* @__PURE__ */ e(
@@ -209,9 +210,9 @@ import './assets/index9.css';const T = {
209
210
  }
210
211
  ),
211
212
  /* @__PURE__ */ e(
212
- j,
213
+ U,
213
214
  {
214
- onClick: L,
215
+ onClick: D,
215
216
  disabled: x,
216
217
  sx: { mt: 2 },
217
218
  fullWidth: !0,
@@ -234,25 +235,25 @@ import './assets/index9.css';const T = {
234
235
  },
235
236
  open: s,
236
237
  fullWidth: !0,
237
- onClose: () => X(!1),
238
- TransitionComponent: ae,
238
+ onClose: () => L(!1),
239
+ TransitionComponent: ie,
239
240
  children: [
240
241
  /* @__PURE__ */ e(
241
- U,
242
+ j,
242
243
  {
243
244
  "aria-label": "close",
244
- onClick: () => X(!1),
245
- className: T["close-btn"],
245
+ onClick: () => L(!1),
246
+ className: E["close-btn"],
246
247
  children: /* @__PURE__ */ e(ce, {})
247
248
  }
248
249
  ),
249
250
  /* @__PURE__ */ t(me, { sx: { mt: 1 }, children: [
250
- /* @__PURE__ */ e(i, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Order Complete" }) }),
251
- /* @__PURE__ */ e(i, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "Your order has been successfully completed. You can track your order either from dashboard or transaction history page." }),
251
+ /* @__PURE__ */ e(a, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Order Complete" }) }),
252
+ /* @__PURE__ */ e(a, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "Your order has been successfully completed. You can track your order either from dashboard or transaction history page." }),
252
253
  /* @__PURE__ */ t(n, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, children: [
253
254
  /* @__PURE__ */ e(z, { label: "Order ID ", value: A }),
254
255
  /* @__PURE__ */ e(
255
- j,
256
+ U,
256
257
  {
257
258
  onClick: () => S("/dashboard"),
258
259
  sx: { mt: 4 },
@@ -267,20 +268,20 @@ import './assets/index9.css';const T = {
267
268
  )
268
269
  ] });
269
270
  }, it = ({
270
- setScreen: E,
271
+ setScreen: T,
271
272
  orderData: y,
272
273
  dispatch: d,
273
274
  fiatAssets: k,
274
275
  cryptoAssets: u,
275
276
  getCryptoAssets: S,
276
277
  showAlertMessage: p,
277
- partnerKey: a,
278
+ partnerKey: i,
278
279
  balance: A,
279
280
  store: x
280
281
  }) => {
281
282
  const h = "USD", l = de(h), b = k.fiats;
282
283
  k.loader;
283
- const F = u.featureTokens.list, _ = u.featureTokens.default, B = u.loader, N = y.loader, s = y.estimate, X = y.card, M = s.fiat_out_amount, L = s.conversion_price, z = s.total_fee;
284
+ const F = u.featureTokens.list, _ = u.featureTokens.default, B = u.loader, N = y.loader, s = y.estimate, L = y.card, M = s.fiat_out_amount, D = s.conversion_price, z = s.total_fee;
284
285
  let Y = 0, q = 0;
285
286
  const Q = s.fee_breakdown;
286
287
  for (let r = 0; r < Q.length; r++) {
@@ -289,11 +290,11 @@ import './assets/index9.css';const T = {
289
290
  }
290
291
  const [g, V] = c({
291
292
  symbol: ""
292
- }), [H, O] = c(!1), [D, fe] = c(0), [K, ye] = c(0), [xe, _e] = c([]), [Z, ge] = c(!1), [ee, be] = c(50), [te, Ne] = c(3e3), [J, ve] = c(50), [re, Ce] = c(3e3), [ke, P] = c(""), [w, ne] = c(
293
+ }), [H, O] = c(!1), [X, fe] = c(0), [K, ye] = c(0), [xe, _e] = c([]), [Z, ge] = c(!1), [ee, be] = c(50), [te, Ne] = c(3e3), [J, ve] = c(50), [re, Ce] = c(3e3), [ke, P] = c(""), [w, ne] = c(
293
294
  s.crypto_amount || J.toString()
294
295
  );
295
296
  f(() => {
296
- d(Le());
297
+ d(Ye());
297
298
  }, []), f(() => {
298
299
  if (s.crypto_currency) {
299
300
  const r = F.find(
@@ -315,21 +316,21 @@ import './assets/index9.css';const T = {
315
316
  let $ = !1;
316
317
  for (let R = 0; R < m.length; R++) {
317
318
  const G = m[R];
318
- G.active && (r.push(G), m[R].id === D && ($ = !0));
319
+ G.active && (r.push(G), m[R].id === X && ($ = !0));
319
320
  }
320
321
  $ || fe(r[0].id);
321
322
  }
322
323
  _e(r);
323
324
  }
324
325
  }, [h, b]), f(() => {
325
- if (g && g.id && w && D && K) {
326
- d(Ye()), O(!1), P("");
326
+ if (g && g.id && w && X && K) {
327
+ d(qe()), O(!1), P("");
327
328
  const r = setTimeout(() => {
328
329
  Fe();
329
330
  }, 1e3);
330
331
  return () => clearTimeout(r);
331
332
  }
332
- }, [g, w, D, F, K]);
333
+ }, [g, w, X, F, K]);
333
334
  const Fe = () => {
334
335
  var R;
335
336
  const r = parseFloat(w);
@@ -357,10 +358,10 @@ import './assets/index9.css';const T = {
357
358
  return P(
358
359
  `Store doesn't have enough balance. Currently only ${x.balance.usd} credits can be purchased`
359
360
  ), O(!0), !1;
360
- const m = xe.find((G) => G.id === D), $ = m.payment_type;
361
+ const m = xe.find((G) => G.id === X), $ = m.payment_type;
361
362
  d(
362
363
  ue({
363
- apiKey: a,
364
+ apiKey: i,
364
365
  transaction_type: Pe,
365
366
  coin_amount: w,
366
367
  exchange: g.exchange,
@@ -390,13 +391,13 @@ import './assets/index9.css';const T = {
390
391
  const Ie = (r) => {
391
392
  const o = r.target.value;
392
393
  o ? /^([0-9]+)$/.test(o) && ne(o) : ne("");
393
- }, Te = (r) => {
394
+ }, Ee = (r) => {
394
395
  const o = F.find((m) => m.symbol === r);
395
396
  V(o);
396
- }, Ee = () => {
397
+ }, Te = () => {
397
398
  if (!g.id)
398
399
  return p({ message: "Please select token" }), !1;
399
- if (!D)
400
+ if (!X)
400
401
  return p({ message: "Please select payment method" }), !1;
401
402
  if (!w)
402
403
  return p({ message: "Please enter amount" }), !1;
@@ -404,33 +405,33 @@ import './assets/index9.css';const T = {
404
405
  return p({
405
406
  message: "Please wait for the estimate to be calculated and then press next"
406
407
  }), !1;
407
- if (!X.masked_card_number)
408
+ if (!L.masked_card_number)
408
409
  return p({
409
410
  message: "Please make a purchase with debit card 1st and then make sell to recieve funds on the same debit card"
410
411
  }), !1;
411
- E(he);
412
+ T(he);
412
413
  };
413
414
  return /* @__PURE__ */ t(v, { children: [
414
415
  /* @__PURE__ */ t(n, { mt: 0.5, spacing: 1, container: !0, children: [
415
- /* @__PURE__ */ e(n, { size: { xs: 3.5 }, children: /* @__PURE__ */ t(C, { className: T["buy-info"], children: [
416
- /* @__PURE__ */ e(i, { variant: "2xl", children: /* @__PURE__ */ e("strong", { children: "Redeem Request" }) }),
417
- /* @__PURE__ */ t(i, { variant: "md", children: [
416
+ /* @__PURE__ */ e(n, { size: { xs: 3.5 }, children: /* @__PURE__ */ t(C, { className: E["buy-info"], children: [
417
+ /* @__PURE__ */ e(a, { variant: "2xl", children: /* @__PURE__ */ e("strong", { children: "Redeem Request" }) }),
418
+ /* @__PURE__ */ t(a, { variant: "md", children: [
418
419
  "1 credit = ",
419
- L,
420
+ D,
420
421
  l
421
422
  ] })
422
423
  ] }) }),
423
424
  /* @__PURE__ */ e(n, { size: { xs: 6 }, children: /* @__PURE__ */ t(
424
425
  C,
425
426
  {
426
- className: T["buy-info"],
427
+ className: E["buy-info"],
427
428
  sx: {
428
429
  padding: "0px 50px !important",
429
430
  alignItems: "center"
430
431
  },
431
432
  children: [
432
- /* @__PURE__ */ e(i, { variant: "md", children: "MAX amount you can request:" }),
433
- /* @__PURE__ */ e(i, { variant: "md", children: x.balanceLoader ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : /* @__PURE__ */ t(v, { children: [
433
+ /* @__PURE__ */ e(a, { variant: "md", children: "MAX amount you can request:" }),
434
+ /* @__PURE__ */ e(a, { variant: "md", children: x.balanceLoader ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : /* @__PURE__ */ t(v, { children: [
434
435
  x.balance.usd,
435
436
  " credits"
436
437
  ] }) })
@@ -440,14 +441,14 @@ import './assets/index9.css';const T = {
440
441
  /* @__PURE__ */ e(n, { size: { xs: 2.5 }, children: /* @__PURE__ */ t(
441
442
  C,
442
443
  {
443
- className: T["buy-info"],
444
+ className: E["buy-info"],
444
445
  sx: {
445
446
  background: "black !important",
446
447
  color: "white !important"
447
448
  },
448
449
  children: [
449
- /* @__PURE__ */ e(i, { variant: "md", className: "text-right", children: "Game Balance" }),
450
- /* @__PURE__ */ e(i, { variant: "lg", className: "text-right", children: A })
450
+ /* @__PURE__ */ e(a, { variant: "md", className: "text-right", children: "Game Balance" }),
451
+ /* @__PURE__ */ e(a, { variant: "lg", className: "text-right", children: A })
451
452
  ]
452
453
  }
453
454
  ) })
@@ -468,9 +469,9 @@ import './assets/index9.css';const T = {
468
469
  }
469
470
  ) }),
470
471
  /* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: B ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ t(v, { children: [
471
- /* @__PURE__ */ e(Ze, { children: " " }),
472
- /* @__PURE__ */ e(et, { variant: "outlined", fullWidth: !0, children: /* @__PURE__ */ t(
473
- tt,
472
+ /* @__PURE__ */ e(et, { children: " " }),
473
+ /* @__PURE__ */ e(tt, { variant: "outlined", fullWidth: !0, children: /* @__PURE__ */ t(
474
+ rt,
474
475
  {
475
476
  sx: { marginTop: "-2px" },
476
477
  inputProps: {
@@ -481,16 +482,16 @@ import './assets/index9.css';const T = {
481
482
  }
482
483
  },
483
484
  value: g.symbol,
484
- onChange: (r) => Te(r.target.value),
485
+ onChange: (r) => Ee(r.target.value),
485
486
  children: [
486
487
  /* @__PURE__ */ e(se, { value: "", children: "Please select" }),
487
488
  F.map((r) => /* @__PURE__ */ t(se, { value: r.symbol, children: [
488
- /* @__PURE__ */ e(rt, { className: "dropdown-list-item", children: /* @__PURE__ */ e(
489
+ /* @__PURE__ */ e(nt, { className: "dropdown-list-item", children: /* @__PURE__ */ e(
489
490
  "img",
490
491
  {
491
492
  src: r.icon_uri,
492
493
  onError: ({ currentTarget: o }) => {
493
- o.onerror = null, o.src = Qe;
494
+ o.onerror = null, o.src = Ze;
494
495
  },
495
496
  alt: "tokenImg",
496
497
  width: "36",
@@ -519,16 +520,16 @@ import './assets/index9.css';const T = {
519
520
  ) }) }),
520
521
  /* @__PURE__ */ e(C, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ t(n, { container: !0, children: [
521
522
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ t(
522
- U,
523
+ j,
523
524
  {
524
525
  sx: { padding: "0" },
525
526
  onClick: () => ge((r) => !r),
526
527
  disableFocusRipple: !0,
527
528
  disableRipple: !0,
528
529
  children: [
529
- /* @__PURE__ */ e(i, { variant: "md", fontWeight: 500, children: "Fee Calculation" }),
530
+ /* @__PURE__ */ e(a, { variant: "md", fontWeight: 500, children: "Fee Calculation" }),
530
531
  /* @__PURE__ */ e(
531
- Ge,
532
+ Je,
532
533
  {
533
534
  sx: {
534
535
  transform: `rotate(${Z ? "90" : "0"}deg)`,
@@ -540,8 +541,8 @@ import './assets/index9.css';const T = {
540
541
  }
541
542
  ) }),
542
543
  Z && /* @__PURE__ */ t(v, { children: [
543
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
544
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
544
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Everest Fee" }) }),
545
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
545
546
  l,
546
547
  N ? /* @__PURE__ */ e(
547
548
  I,
@@ -552,8 +553,8 @@ import './assets/index9.css';const T = {
552
553
  }
553
554
  ) : Y.toFixed(2)
554
555
  ] }) }),
555
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
556
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
556
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Network Fee" }) }),
557
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
557
558
  l,
558
559
  N ? /* @__PURE__ */ e(
559
560
  I,
@@ -565,13 +566,13 @@ import './assets/index9.css';const T = {
565
566
  ) : q.toFixed(2)
566
567
  ] }) })
567
568
  ] }),
568
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
569
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
569
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Total Fees" }) }),
570
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
570
571
  l,
571
572
  N ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(z).toFixed(2)
572
573
  ] }) }),
573
574
  g && /* @__PURE__ */ t(v, { children: [
574
- /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
575
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
575
576
  "1 ",
576
577
  g.symbol,
577
578
  " ",
@@ -580,8 +581,8 @@ import './assets/index9.css';const T = {
580
581
  {
581
582
  title: Be,
582
583
  placement: "right",
583
- children: /* @__PURE__ */ e(U, { className: "info-fee-icon", children: /* @__PURE__ */ e(
584
- Je,
584
+ children: /* @__PURE__ */ e(j, { className: "info-fee-icon", children: /* @__PURE__ */ e(
585
+ Qe,
585
586
  {
586
587
  sx: {
587
588
  fontSize: "14px"
@@ -591,7 +592,7 @@ import './assets/index9.css';const T = {
591
592
  }
592
593
  )
593
594
  ] }) }),
594
- /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
595
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
595
596
  l,
596
597
  N ? /* @__PURE__ */ e(
597
598
  I,
@@ -600,38 +601,38 @@ import './assets/index9.css';const T = {
600
601
  size: 15,
601
602
  color: "primary"
602
603
  }
603
- ) : Number(L).toFixed(2)
604
+ ) : Number(D).toFixed(2)
604
605
  ] }) })
605
606
  ] })
606
607
  ] }) }),
607
608
  /* @__PURE__ */ e(C, { mt: 4, children: /* @__PURE__ */ e(
608
- j,
609
+ U,
609
610
  {
610
- onClick: Ee,
611
+ onClick: Te,
611
612
  disabled: H || !M,
612
613
  fullWidth: !0,
613
614
  children: /* @__PURE__ */ e("strong", { children: "Next" })
614
615
  }
615
616
  ) })
616
617
  ] });
617
- }, pe = "FORM_SCREEN", he = "CONFIRM_SCREEN", Ht = "PAYMENT_SCREEN", at = "MINIMAL_KYC_SCREEN", ot = ({ partnerKey: E, navigate: y }) => {
618
- const d = Ke(), k = W((s) => s.app), u = W((s) => s.order), S = W(
618
+ }, pe = "FORM_SCREEN", he = "CONFIRM_SCREEN", Qt = "PAYMENT_SCREEN", ot = "MINIMAL_KYC_SCREEN", st = ({ partnerKey: T, navigate: y }) => {
619
+ const d = $e(), k = W((s) => s.app), u = W((s) => s.order), S = W(
619
620
  (s) => s.user.profile
620
- ), p = u.error, a = W(
621
+ ), p = u.error, i = W(
621
622
  (s) => s.user.profile.everWalletAddress
622
623
  ), A = W(
623
624
  (s) => s.fiatAssets
624
625
  ), x = W(
625
626
  (s) => s.cryptoAssets
626
- ), [h, l] = c(pe), [b, F] = c(0), { showAlertMessage: _, snackBar: B } = Ue();
627
+ ), [h, l] = c(pe), [b, F] = c(0), { showAlertMessage: _, snackBar: B } = je();
627
628
  return f(() => {
628
629
  F(Se(S.tokens.list));
629
630
  }, [S.tokens]), f(() => {
630
631
  p && _({ message: p });
631
632
  }, [p]), f(() => {
632
- u.initMinimalKyc && (_({ message: p, type: "info" }), l(at));
633
+ u.initMinimalKyc && (_({ message: p, type: "info" }), l(ot));
633
634
  }, [u.initMinimalKyc]), f(() => {
634
- d($e()), d(qe(Xe));
635
+ d(Ge()), d(Ke(Le));
635
636
  }, []), /* @__PURE__ */ t(v, { children: [
636
637
  B,
637
638
  /* @__PURE__ */ e(
@@ -654,22 +655,22 @@ import './assets/index9.css';const T = {
654
655
  orderData: u,
655
656
  dispatch: d,
656
657
  getCryptoAssets: (s) => {
657
- d(je({ type: "sell", id: s, partnerKey: E }));
658
+ d(Ue({ type: Xe, id: s, partnerKey: T }));
658
659
  },
659
- partnerKey: E,
660
+ partnerKey: T,
660
661
  balance: b,
661
662
  store: k.store
662
663
  }
663
664
  ),
664
665
  CONFIRM_SCREEN: /* @__PURE__ */ e(
665
- nt,
666
+ at,
666
667
  {
667
- partnerKey: E,
668
+ partnerKey: T,
668
669
  setScreen: l,
669
670
  showAlertMessage: _,
670
671
  orderData: u,
671
672
  dispatch: d,
672
- walletAddress: a,
673
+ walletAddress: i,
673
674
  navigate: y,
674
675
  store: k.store
675
676
  }
@@ -686,13 +687,13 @@ import './assets/index9.css';const T = {
686
687
  }
687
688
  )
688
689
  ] });
689
- }, Jt = Ae(ot);
690
+ }, Zt = Ae(st);
690
691
  export {
691
- nt as B,
692
+ at as B,
692
693
  he as C,
693
694
  pe as F,
694
- at as M,
695
- Ht as P,
695
+ ot as M,
696
+ Qt as P,
696
697
  it as S,
697
- Jt as i
698
+ Zt as i
698
699
  };