everest-npm-features 0.0.26 → 0.0.28

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 (220) hide show
  1. package/dist/{Alert-CbQZ8Nii.js → Alert-CUoIVlUd.js} +8 -7
  2. package/dist/{ArrowBack-BoYSBb8u.js → ArrowBack-BV158RTp.js} +1 -1
  3. package/dist/Avatar-CwczQLPi.js +280 -0
  4. package/dist/{Backdrop-CJBRZv_z.js → Backdrop-yR8IRnFX.js} +1 -1
  5. package/dist/{Box-B12x52NC.js → Box-BwKpr_VI.js} +1 -1
  6. package/dist/{Button-C57IMamW.js → Button-tAfK4lud.js} +13 -12
  7. package/dist/{ButtonBase-DugIO1pR.js → ButtonBase-CaH152Zd.js} +1 -1
  8. package/dist/{Cancel-D1JNu4Hj.js → Cancel-BoEk0xRy.js} +1 -1
  9. package/dist/{CardContent-CbObWW6t.js → CardContent-ZS4vlcvi.js} +2 -2
  10. package/dist/{CircularProgress-t8uGhLMo.js → CircularProgress-Yx712vpT.js} +7 -6
  11. package/dist/{Close-jnEgOCZv.js → Close-B_8kEwSt.js} +1 -1
  12. package/dist/{Close-VV7zb3cu.js → Close-CFg1QB5M.js} +1 -1
  13. package/dist/{Container-B3Af6Sc3.js → Container-CBPBT38n.js} +2 -2
  14. package/dist/{ContentCopy-Ufwoeeov.js → ContentCopy-D4Eg7Nkm.js} +1 -1
  15. package/dist/DefaultPropsProvider-4P82EuVL.js +232 -0
  16. package/dist/{Delete-TCARcVtU.js → Delete-BGp4FPdE.js} +1 -1
  17. package/dist/{DialogContent-DzidtXui.js → DialogContent-_gvZOy18.js} +13 -12
  18. package/dist/{DialogTitle-Bg61Hr7M.js → DialogTitle-dq22bYlF.js} +3 -3
  19. package/dist/{Divider-Dy5hKfey.js → Divider-CIL55YSC.js} +10 -9
  20. package/dist/{ErrorOutline-CI_ys3Zo.js → ErrorOutline-BykbFh0r.js} +1 -1
  21. package/dist/{FileDownload-BcYF17B0.js → FileDownload-BSy7tA6m.js} +1 -1
  22. package/dist/{FilledInput-DrGeWgue.js → FilledInput-QaJVaeIX.js} +12 -14
  23. package/dist/{FormControl-DeeQCuu5.js → FormControl-H4D1Z6Ov.js} +1 -1
  24. package/dist/{FormControlLabel-DVnrJkC8.js → FormControlLabel-BvI1nkJ1.js} +7 -6
  25. package/dist/{Grid-BXyV_lM8.js → Grid-CPkjiKqX.js} +2 -2
  26. package/dist/{IconButton-eWRhV6Q9.js → IconButton-WneJM4uP.js} +10 -9
  27. package/dist/{Info-D2UkGxyK.js → Info-0vSsl6Bm.js} +1 -1
  28. package/dist/{InputAdornment-BKuUMfPj.js → InputAdornment-Bqn4-Kns.js} +6 -5
  29. package/dist/{Link-Cm4BkRHO.js → Link-DhdK4VfZ.js} +6 -5
  30. package/dist/{ListItemIcon-GKRFb1Gr.js → ListItemIcon-D657XWHf.js} +15 -14
  31. package/dist/Menu-BAFJBGa-.js +1238 -0
  32. package/dist/{MenuItem-CeCt0bfa.js → MenuItem-ByxiQtY2.js} +36 -35
  33. package/dist/{Modal-csf3Y8d2.js → Modal-DEfOsvWK.js} +16 -15
  34. package/dist/{Paper-CnStNE24.js → Paper-jx_cZiyU.js} +27 -26
  35. package/dist/{PlayArrow-DRCGjsrx.js → PlayArrow-BCWGWaUq.js} +1 -1
  36. package/dist/{Popper-pPBEFLi4.js → Popper-B1He9eVi.js} +1 -1
  37. package/dist/{RadioGroup-KiyYjXaT.js → RadioGroup-_-H2gvH2.js} +3 -3
  38. package/dist/Select-CGei0bav.js +1885 -0
  39. package/dist/{Stack-CcR5RCg8.js → Stack-DH-Nxf9q.js} +2 -2
  40. package/dist/{SwitchBase-CHO5ZceN.js → SwitchBase-BDUzpdBf.js} +2 -2
  41. package/dist/{TextField-q_SeLeNd.js → TextField-DmiK1A_S.js} +17 -16
  42. package/dist/{Typography-DBlMiOti.js → Typography-BQDN44CM.js} +16 -15
  43. package/dist/assets/documents.css +1 -1
  44. package/dist/assets/index10.css +1 -1
  45. package/dist/assets/index3.css +1 -1
  46. package/dist/assets/index4.css +1 -1
  47. package/dist/assets/styles2.css +1 -1
  48. package/dist/assets/styles3.css +1 -1
  49. package/dist/assets/tokenRow.css +1 -1
  50. package/dist/assets/withThemeProvider.css +1 -1
  51. package/dist/{auth-Bf9zHZ-x.js → auth-DoHhqFQx.js} +11 -11
  52. package/dist/{bank-BC4YNBRb.js → bank-DyVf4Uoo.js} +6 -6
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +13 -12
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +6 -6
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +16 -14
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +9 -9
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +9 -9
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +10 -10
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +5 -5
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +5 -5
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +15 -15
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +11 -11
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +10 -9
  91. package/dist/components/Shared/FullKyc/types.d.ts +1 -1
  92. package/dist/components/Shared/FullKyc/userInfo.js +15 -14
  93. package/dist/components/Shared/HistoryItem/index.js +64 -65
  94. package/dist/components/Shared/Incode/index.js +5 -5
  95. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  96. package/dist/components/Shared/loader.js +2 -2
  97. package/dist/components/Shared/tooltip.js +2 -2
  98. package/dist/components/Wallet/Account/createIban.js +76 -85
  99. package/dist/components/Wallet/Account/iban.d.ts +5 -1
  100. package/dist/components/Wallet/Account/iban.js +223 -25
  101. package/dist/components/Wallet/Account/index.js +144 -149
  102. package/dist/components/Wallet/Account/sendIban.js +25 -27
  103. package/dist/components/Wallet/Buy/confirmTransaction.js +8 -8
  104. package/dist/components/Wallet/Buy/form.js +21 -20
  105. package/dist/components/Wallet/Buy/index.js +6 -6
  106. package/dist/components/Wallet/Deposit/index.js +25 -24
  107. package/dist/components/Wallet/EnterpriseKyc/edd.js +23 -22
  108. package/dist/components/Wallet/EnterpriseKyc/index.js +83 -80
  109. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  110. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  111. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  112. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +26 -25
  114. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +30 -28
  115. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  116. package/dist/components/Wallet/EnterpriseKyc/verify.js +8 -7
  117. package/dist/components/Wallet/History/index.js +111 -112
  118. package/dist/components/Wallet/Home/index.d.ts +5 -0
  119. package/dist/components/Wallet/Home/index.js +20 -0
  120. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +18 -17
  121. package/dist/components/Wallet/Portfolio/dropdown.d.ts +14 -0
  122. package/dist/components/Wallet/Portfolio/dropdown.js +76 -0
  123. package/dist/components/Wallet/Portfolio/index.js +310 -301
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +5 -7
  125. package/dist/components/Wallet/Profile/documents.js +18 -18
  126. package/dist/components/Wallet/Profile/index.js +152 -419
  127. package/dist/components/Wallet/Receive/index.js +10 -10
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -8
  129. package/dist/components/Wallet/Sell/form.js +19 -19
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +20 -19
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +14 -13
  133. package/dist/components/Wallet/Shared/Auth/otpForm.d.ts +1 -1
  134. package/dist/components/Wallet/Shared/Auth/otpForm.js +98 -88
  135. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  136. package/dist/components/Wallet/Shared/ConnectWallet/index.js +10 -12
  137. package/dist/components/Wallet/Shared/Container/index.d.ts +8 -4
  138. package/dist/components/Wallet/Shared/Container/index.js +63 -26
  139. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  140. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  141. package/dist/components/Wallet/Shared/Order/paymentButton.d.ts +2 -0
  142. package/dist/components/Wallet/Shared/Order/paymentButton.js +47 -0
  143. package/dist/components/Wallet/Shared/Order/types.d.ts +2 -0
  144. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  145. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +13 -11
  146. package/dist/components/Wallet/Shared/addBank.js +44 -48
  147. package/dist/components/Wallet/Shared/appButton.d.ts +1 -1
  148. package/dist/components/Wallet/Shared/appButton.js +77 -57
  149. package/dist/components/Wallet/Shared/backBtn.js +2 -2
  150. package/dist/components/Wallet/Shared/button.js +1 -1
  151. package/dist/components/Wallet/Shared/connectPlaidBank.d.ts +5 -1
  152. package/dist/components/Wallet/Shared/connectPlaidBank.js +39 -38
  153. package/dist/components/Wallet/Shared/inputField.js +1 -1
  154. package/dist/components/Wallet/Shared/noData.js +7 -7
  155. package/dist/components/Wallet/Shared/pin.js +4 -4
  156. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  157. package/dist/components/Wallet/Shared/step.js +2 -2
  158. package/dist/components/Wallet/SignIn/index.js +7 -7
  159. package/dist/components/Wallet/SignUp/index.js +185 -58
  160. package/dist/components/Wallet/SignUp/terms.d.ts +1 -6
  161. package/dist/components/Wallet/SignUp/terms.js +517 -564
  162. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  163. package/dist/components/Wallet/Stake/id/index.js +12 -12
  164. package/dist/components/Wallet/Stake/index.js +30 -29
  165. package/dist/components/Wallet/Swap/index.js +112 -116
  166. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  167. package/dist/components/Wallet/Withdraw/bankSelect.js +12 -12
  168. package/dist/components/Wallet/Withdraw/confirmTransaction.js +9 -9
  169. package/dist/components/Wallet/Withdraw/form.js +19 -18
  170. package/dist/components/Wallet/Withdraw/index.js +5 -5
  171. package/dist/{constants-CsMPRK0U.js → constants-BF50a6s-.js} +30 -30
  172. package/dist/context/dialogContext.d.ts +6 -0
  173. package/dist/context/dialogContext.js +13 -0
  174. package/dist/{createSvgIcon-CH41ZVFw.js → createSvgIcon-BgBEJXMh.js} +15 -14
  175. package/dist/cryptoAssets-Dck03SPI.js +16 -0
  176. package/dist/{dividerClasses-DnbM--4s.js → dividerClasses-BVK5cNr7.js} +1 -1
  177. package/dist/documents-Sh6RH769.js +549 -0
  178. package/dist/{fiatAssets-DVHfFafS.js → fiatAssets-CTIJw9N4.js} +1 -1
  179. package/dist/hooks/useDialog/index.js +35 -38
  180. package/dist/hooks/useRrDialog/index.js +4 -4
  181. package/dist/hooks/useSnackBar.js +12 -11
  182. package/dist/index-BRwse7X5.js +631 -0
  183. package/dist/{index-DxX5Mo0o.js → index-CWzs4-wZ.js} +18 -18
  184. package/dist/{index-DZ__IpVI.js → index-CbogTdwW.js} +25 -24
  185. package/dist/{index-C9uGghB8.js → index-CmJNKC9m.js} +26 -26
  186. package/dist/{index-VE9lYjq3.js → index-Db73x3ti.js} +178 -177
  187. package/dist/{index-eEYiDlpX.js → index-GxLtFwhs.js} +228 -230
  188. package/dist/{index-f15o1nhn.js → index-v4KC1K_V.js} +2 -2
  189. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  190. package/dist/{kyc-BweeW6k9.js → kyc-kWxxF1vI.js} +1 -1
  191. package/dist/main.d.ts +7 -0
  192. package/dist/main.js +66 -59
  193. package/dist/memoTheme-BUUB1UEO.js +15 -0
  194. package/dist/{order-DmTHC7ZG.js → order-D-FBHreS.js} +1 -1
  195. package/dist/{pep-C5Ge-kU4.js → pep-C_LViPSb.js} +219 -218
  196. package/dist/{radioButton-Bgy7Kxxo.js → radioButton-CBcYX40o.js} +8 -7
  197. package/dist/{stake-B150utJI.js → stake-mS8fdG8g.js} +1 -1
  198. package/dist/styles.module-B-t8vvWh.js +31 -0
  199. package/dist/styles.module-verVx4pE.js +8 -0
  200. package/dist/tokenRow-DBnoUm0z.js +186 -0
  201. package/dist/{tooltip-DGtrVEzU.js → tooltip-Dv3Lfsa2.js} +5 -4
  202. package/dist/{useThemeProps-lRuJRcRX.js → useThemeProps-DLhzJP-y.js} +1 -1
  203. package/dist/util/constants.d.ts +9 -0
  204. package/dist/util/constants.js +93 -84
  205. package/dist/{wallet-DDW5KCHp.js → wallet-BTc5u8j2.js} +1 -1
  206. package/package.json +1 -1
  207. package/dist/ArrowDropDown-BC_iEASy.js +0 -8
  208. package/dist/ArrowRight-rYkfGJuF.js +0 -8
  209. package/dist/CheckCircle-CyxKX1TY.js +0 -8
  210. package/dist/DefaultPropsProvider-B2njZVNv.js +0 -242
  211. package/dist/Select-Chubcks_.js +0 -3108
  212. package/dist/assets/iban.css +0 -1
  213. package/dist/assets/index11.css +0 -1
  214. package/dist/cryptoAssets-CzNDY1j6.js +0 -16
  215. package/dist/documents-CEeV8SyW.js +0 -569
  216. package/dist/iban-DRT7i0vb.js +0 -275
  217. package/dist/index-BB3__zW3.js +0 -644
  218. package/dist/styles.module-BFHktEw2.js +0 -30
  219. package/dist/styles.module-DJk7Pf0F.js +0 -10
  220. package/dist/tokenRow-X6vlp1LH.js +0 -198
@@ -1,352 +1,99 @@
1
- import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
2
- import * as N from "react";
3
- import { useState as A, useEffect as R } from "react";
4
- import { a as z, u as j } from "../../../react-redux-C7I9-1M6.js";
5
- import { aj as q, ak as W, al as Q, am as X } from "../../../constants-CsMPRK0U.js";
6
- import { a as Y } from "../../../index-f15o1nhn.js";
7
- import { s, D as J } from "../../../documents-CEeV8SyW.js";
8
- import u from "../Shared/inputField.js";
9
- import { WIDGET_URL as K } from "../../../util/constants.js";
10
- import $ from "../../../hoc/withThemeProvider.js";
1
+ import { jsxs as r, Fragment as B, jsx as e } from "react/jsx-runtime";
2
+ import { useState as k, useEffect as y } from "react";
3
+ import { a as N, u as A } from "../../../react-redux-C7I9-1M6.js";
4
+ import { a5 as F, a6 as I, a7 as O, a8 as P } from "../../../constants-BF50a6s-.js";
5
+ import { a as z } from "../../../index-v4KC1K_V.js";
6
+ import { s as a, D as W } from "../../../documents-Sh6RH769.js";
7
+ import o from "../Shared/inputField.js";
8
+ import { WIDGET_URL as q } from "../../../util/constants.js";
9
+ import Q from "../../../hoc/withThemeProvider.js";
10
+ import { AuthInnerContainer as M } from "../Shared/Container/index.js";
11
11
  import "../Shared/appButton.js";
12
12
  import "../Shared/Auth/otpForm.js";
13
- import { useSnackBarContext as e2 } from "../../../context/snackBarContext.js";
13
+ import { useSnackBarContext as X } from "../../../context/snackBarContext.js";
14
14
  import "../../../util/conversions.js";
15
15
  import "../../../index-CAoLi5Qq.js";
16
16
  import "../Shared/pin.js";
17
17
  import "../../../moment-h96o7c8I.js";
18
18
  import "../../Shared/transition.js";
19
- import "../../../tooltip-DGtrVEzU.js";
19
+ import "../../../tooltip-Dv3Lfsa2.js";
20
20
  import "../../../index.esm-BsMAMhYW.js";
21
21
  import "../../../web3-u4qDZYpo.js";
22
22
  import "../../../index-B8QKlEgj.js";
23
23
  import "../../../index-ceeCtFuh.js";
24
- import { G as l } from "../../../Grid-BXyV_lM8.js";
25
- import { B as g } from "../../../Box-B12x52NC.js";
26
- import { T as C } from "../../../Typography-DBlMiOti.js";
27
- import { g as t2, P as t } from "../../../createTheme-DmGCMO09.js";
28
- import { c as r2 } from "../../../DefaultPropsProvider-CZh8M2jM.js";
29
- import { g as a2, s as D, m as o2, u as i2, c as s2 } from "../../../DefaultPropsProvider-B2njZVNv.js";
30
- import { c as l2 } from "../../../createSvgIcon-CH41ZVFw.js";
31
- import { u as B } from "../../../useSlot-DtSnboW7.js";
32
- import { B as x } from "../../../Button-C57IMamW.js";
33
- import { D as n2 } from "../../../Divider-Dy5hKfey.js";
34
- import { D as c2, a as d2 } from "../../../DialogContent-DzidtXui.js";
35
- const p2 = l2(/* @__PURE__ */ e("path", {
36
- d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
37
- }), "Person");
38
- function f2(a) {
39
- return t2("MuiAvatar", a);
40
- }
41
- a2("MuiAvatar", ["root", "colorDefault", "circular", "rounded", "square", "img", "fallback"]);
42
- const u2 = (a) => {
43
- const {
44
- classes: n,
45
- variant: c,
46
- colorDefault: i
47
- } = a;
48
- return s2({
49
- root: ["root", c, i && "colorDefault"],
50
- img: ["img"],
51
- fallback: ["fallback"]
52
- }, f2, n);
53
- }, m2 = D("div", {
54
- name: "MuiAvatar",
55
- slot: "Root",
56
- overridesResolver: (a, n) => {
57
- const {
58
- ownerState: c
59
- } = a;
60
- return [n.root, n[c.variant], c.colorDefault && n.colorDefault];
61
- }
62
- })(o2(({
63
- theme: a
64
- }) => ({
65
- position: "relative",
66
- display: "flex",
67
- alignItems: "center",
68
- justifyContent: "center",
69
- flexShrink: 0,
70
- width: 40,
71
- height: 40,
72
- fontFamily: a.typography.fontFamily,
73
- fontSize: a.typography.pxToRem(20),
74
- lineHeight: 1,
75
- borderRadius: "50%",
76
- overflow: "hidden",
77
- userSelect: "none",
78
- variants: [{
79
- props: {
80
- variant: "rounded"
81
- },
82
- style: {
83
- borderRadius: (a.vars || a).shape.borderRadius
84
- }
85
- }, {
86
- props: {
87
- variant: "square"
88
- },
89
- style: {
90
- borderRadius: 0
91
- }
92
- }, {
93
- props: {
94
- colorDefault: !0
95
- },
96
- style: {
97
- color: (a.vars || a).palette.background.default,
98
- ...a.vars ? {
99
- backgroundColor: a.vars.palette.Avatar.defaultBg
100
- } : {
101
- backgroundColor: a.palette.grey[400],
102
- ...a.applyStyles("dark", {
103
- backgroundColor: a.palette.grey[600]
104
- })
105
- }
106
- }
107
- }]
108
- }))), h2 = D("img", {
109
- name: "MuiAvatar",
110
- slot: "Img"
111
- })({
112
- width: "100%",
113
- height: "100%",
114
- textAlign: "center",
115
- // Handle non-square image.
116
- objectFit: "cover",
117
- // Hide alt text.
118
- color: "transparent",
119
- // Hide the image broken icon, only works on Chrome.
120
- textIndent: 1e4
121
- }), g2 = D(p2, {
122
- name: "MuiAvatar",
123
- slot: "Fallback"
124
- })({
125
- width: "75%",
126
- height: "75%"
127
- });
128
- function C2({
129
- crossOrigin: a,
130
- referrerPolicy: n,
131
- src: c,
132
- srcSet: i
133
- }) {
134
- const [p, r] = N.useState(!1);
135
- return N.useEffect(() => {
136
- if (!c && !i)
137
- return;
138
- r(!1);
139
- let d = !0;
140
- const f = new Image();
141
- return f.onload = () => {
142
- d && r("loaded");
143
- }, f.onerror = () => {
144
- d && r("error");
145
- }, f.crossOrigin = a, f.referrerPolicy = n, f.src = c, i && (f.srcset = i), () => {
146
- d = !1;
147
- };
148
- }, [a, n, c, i]), p;
149
- }
150
- const E = /* @__PURE__ */ N.forwardRef(function(n, c) {
151
- const i = i2({
152
- props: n,
153
- name: "MuiAvatar"
154
- }), {
155
- alt: p,
156
- children: r,
157
- className: d,
158
- component: f = "div",
159
- slots: y = {},
160
- slotProps: m = {},
161
- imgProps: _,
162
- sizes: M,
163
- src: b,
164
- srcSet: L,
165
- variant: w = "circular",
166
- ...S
167
- } = i;
168
- let v = null;
169
- const h = {
170
- ...i,
171
- component: f,
172
- variant: w
173
- }, k = C2({
174
- ..._,
175
- ...typeof m.img == "function" ? m.img(h) : m.img,
176
- src: b,
177
- srcSet: L
178
- }), Z = b || L, F = Z && k !== "error";
179
- h.colorDefault = !F, delete h.ownerState;
180
- const T = u2(h), [P, V] = B("root", {
181
- ref: c,
182
- className: r2(T.root, d),
183
- elementType: m2,
184
- externalForwardedProps: {
185
- slots: y,
186
- slotProps: m,
187
- component: f,
188
- ...S
189
- },
190
- ownerState: h
191
- }), [I, G] = B("img", {
192
- className: T.img,
193
- elementType: h2,
194
- externalForwardedProps: {
195
- slots: y,
196
- slotProps: {
197
- img: {
198
- ..._,
199
- ...m.img
200
- }
201
- }
202
- },
203
- additionalProps: {
204
- alt: p,
205
- src: b,
206
- srcSet: L,
207
- sizes: M
208
- },
209
- ownerState: h
210
- }), [H, O] = B("fallback", {
211
- className: T.fallback,
212
- elementType: g2,
213
- externalForwardedProps: {
214
- slots: y,
215
- slotProps: m
216
- },
217
- shouldForwardComponentProp: !0,
218
- ownerState: h
219
- });
220
- return F ? v = /* @__PURE__ */ e(I, {
221
- ...G
222
- }) : r || r === 0 ? v = r : Z && p ? v = p[0] : v = /* @__PURE__ */ e(H, {
223
- ...O
224
- }), /* @__PURE__ */ e(P, {
225
- ...V,
226
- children: v
227
- });
228
- });
229
- process.env.NODE_ENV !== "production" && (E.propTypes = {
230
- // ┌────────────────────────────── Warning ──────────────────────────────┐
231
- // │ These PropTypes are generated from the TypeScript type definitions. │
232
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
233
- // └─────────────────────────────────────────────────────────────────────┘
234
- /**
235
- * Used in combination with `src` or `srcSet` to
236
- * provide an alt attribute for the rendered `img` element.
237
- */
238
- alt: t.string,
239
- /**
240
- * Used to render icon or text elements inside the Avatar if `src` is not set.
241
- * This can be an element, or just a string.
242
- */
243
- children: t.node,
244
- /**
245
- * Override or extend the styles applied to the component.
246
- */
247
- classes: t.object,
248
- /**
249
- * @ignore
250
- */
251
- className: t.string,
252
- /**
253
- * The component used for the root node.
254
- * Either a string to use a HTML element or a component.
255
- */
256
- component: t.elementType,
257
- /**
258
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#attributes) applied to the `img` element if the component is used to display an image.
259
- * It can be used to listen for the loading error event.
260
- * @deprecated Use `slotProps.img` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
261
- */
262
- imgProps: t.object,
263
- /**
264
- * The `sizes` attribute for the `img` element.
265
- */
266
- sizes: t.string,
267
- /**
268
- * The props used for each slot inside.
269
- * @default {}
270
- */
271
- slotProps: t.shape({
272
- fallback: t.oneOfType([t.func, t.object]),
273
- img: t.oneOfType([t.func, t.object]),
274
- root: t.oneOfType([t.func, t.object])
275
- }),
276
- /**
277
- * The components used for each slot inside.
278
- * @default {}
279
- */
280
- slots: t.shape({
281
- fallback: t.elementType,
282
- img: t.elementType,
283
- root: t.elementType
284
- }),
285
- /**
286
- * The `src` attribute for the `img` element.
287
- */
288
- src: t.string,
289
- /**
290
- * The `srcSet` attribute for the `img` element.
291
- * Use this attribute for responsive image display.
292
- */
293
- srcSet: t.string,
294
- /**
295
- * The system prop that allows defining system overrides as well as additional CSS styles.
296
- */
297
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
298
- /**
299
- * The shape of the avatar.
300
- * @default 'circular'
301
- */
302
- variant: t.oneOfType([t.oneOf(["circular", "rounded", "square"]), t.string])
303
- });
304
- const y2 = () => ({
305
- type: q
306
- }), L2 = () => ({
307
- type: W
308
- }), v2 = () => ({
309
- type: Q
310
- }), _2 = (a) => ({
311
- type: X,
312
- payload: a
313
- }), x2 = "data:image/svg+xml,%3csvg%20width='84'%20height='84'%20viewBox='0%200%2084%2084'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_9102_77746)'%3e%3ccircle%20cx='42'%20cy='42'%20r='30'%20fill='url(%23paint0_linear_9102_77746)'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_9102_77746)'%3e%3cg%20filter='url(%23filter2_d_9102_77746)'%3e%3cmask%20id='path-2-inside-1_9102_77746'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M59.1502%2072.3697C65.1424%2072.3697%2070.0001%2067.512%2070.0001%2061.5198C70.0001%2055.5276%2065.1424%2050.6699%2059.1502%2050.6699C53.1579%2050.6699%2048.3003%2055.5276%2048.3003%2061.5198C48.3003%2067.512%2053.1579%2072.3697%2059.1502%2072.3697ZM55.9037%2066.1547C56.3329%2066.5895%2057.0347%2066.5895%2057.464%2066.1548L64.9338%2058.5909C65.3854%2058.1337%2065.3854%2057.3983%2064.9339%2056.941C64.4742%2056.4755%2063.7227%2056.4755%2063.263%2056.941L56.6838%2063.604L54.5835%2061.477C54.1242%2061.0118%2053.3731%2061.0116%2052.9136%2061.4767C52.4619%2061.9338%2052.4618%2062.6691%2052.9133%2063.1263L55.9037%2066.1547Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M59.1502%2072.3697C65.1424%2072.3697%2070.0001%2067.512%2070.0001%2061.5198C70.0001%2055.5276%2065.1424%2050.6699%2059.1502%2050.6699C53.1579%2050.6699%2048.3003%2055.5276%2048.3003%2061.5198C48.3003%2067.512%2053.1579%2072.3697%2059.1502%2072.3697ZM55.9037%2066.1547C56.3329%2066.5895%2057.0347%2066.5895%2057.464%2066.1548L64.9338%2058.5909C65.3854%2058.1337%2065.3854%2057.3983%2064.9339%2056.941C64.4742%2056.4755%2063.7227%2056.4755%2063.263%2056.941L56.6838%2063.604L54.5835%2061.477C54.1242%2061.0118%2053.3731%2061.0116%2052.9136%2061.4767C52.4619%2061.9338%2052.4618%2062.6691%2052.9133%2063.1263L55.9037%2066.1547Z'%20fill='url(%23paint1_linear_9102_77746)'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M57.464%2066.1548L57.1082%2065.8035V65.8035L57.464%2066.1548ZM55.9037%2066.1547L55.5479%2066.5061L55.9037%2066.1547ZM64.9338%2058.5909L65.2896%2058.9423V58.9423L64.9338%2058.5909ZM64.9339%2056.941L65.2897%2056.5897L64.9339%2056.941ZM63.263%2056.941L63.6188%2057.2923H63.6188L63.263%2056.941ZM56.6838%2063.604L56.328%2063.9553L56.6838%2064.3156L57.0396%2063.9553L56.6838%2063.604ZM54.5835%2061.477L54.9393%2061.1257H54.9393L54.5835%2061.477ZM52.9136%2061.4767L52.5579%2061.1252V61.1252L52.9136%2061.4767ZM52.9133%2063.1263L52.5575%2063.4776L52.9133%2063.1263ZM69.5001%2061.5198C69.5001%2067.2359%2064.8663%2071.8697%2059.1502%2071.8697V72.8697C65.4185%2072.8697%2070.5001%2067.7882%2070.5001%2061.5198H69.5001ZM59.1502%2051.1699C64.8663%2051.1699%2069.5001%2055.8037%2069.5001%2061.5198H70.5001C70.5001%2055.2514%2065.4185%2050.1699%2059.1502%2050.1699V51.1699ZM48.8003%2061.5198C48.8003%2055.8037%2053.4341%2051.1699%2059.1502%2051.1699V50.1699C52.8818%2050.1699%2047.8003%2055.2514%2047.8003%2061.5198H48.8003ZM59.1502%2071.8697C53.4341%2071.8697%2048.8003%2067.2359%2048.8003%2061.5198H47.8003C47.8003%2067.7882%2052.8818%2072.8697%2059.1502%2072.8697V71.8697ZM57.1082%2065.8035C56.8747%2066.0399%2056.4929%2066.0399%2056.2594%2065.8034L55.5479%2066.5061C56.1729%2067.139%2057.1947%2067.1391%2057.8198%2066.5061L57.1082%2065.8035ZM64.5781%2058.2396L57.1082%2065.8035L57.8198%2066.5061L65.2896%2058.9423L64.5781%2058.2396ZM64.5781%2057.2923C64.8374%2057.5549%2064.8374%2057.9771%2064.5781%2058.2396L65.2896%2058.9423C65.9335%2058.2903%2065.9335%2057.2417%2065.2897%2056.5897L64.5781%2057.2923ZM63.6188%2057.2923C63.8827%2057.025%2064.3142%2057.025%2064.5781%2057.2923L65.2897%2056.5897C64.6342%2055.9259%2063.5627%2055.9259%2062.9073%2056.5897L63.6188%2057.2923ZM57.0396%2063.9553L63.6188%2057.2923L62.9073%2056.5897L56.328%2063.2527L57.0396%2063.9553ZM54.2278%2061.8283L56.328%2063.9553L57.0396%2063.2527L54.9393%2061.1257L54.2278%2061.8283ZM53.2692%2061.8281C53.533%2061.5612%2053.9641%2061.5613%2054.2278%2061.8283L54.9393%2061.1257C54.2842%2060.4622%2053.2133%2060.462%2052.5579%2061.1252L53.2692%2061.8281ZM53.269%2062.775C53.0099%2062.5125%2053.01%2062.0905%2053.2692%2061.8281L52.5579%2061.1252C51.9138%2061.777%2051.9136%2062.8256%2052.5575%2063.4776L53.269%2062.775ZM56.2594%2065.8034L53.269%2062.775L52.5575%2063.4776L55.5479%2066.5061L56.2594%2065.8034Z'%20fill='url(%23paint2_linear_9102_77746)'%20fill-opacity='0.9'%20mask='url(%23path-2-inside-1_9102_77746)'/%3e%3c/g%3e%3cg%20filter='url(%23filter3_d_9102_77746)'%3e%3cmask%20id='path-4-inside-2_9102_77746'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.195%2023.3138C26.195%2016.5257%2031.727%2011%2038.5128%2011C45.2986%2011%2050.8224%2016.5257%2050.8224%2023.3138C50.8224%2030.1018%2045.2986%2035.6275%2038.5128%2035.6275C31.727%2035.6275%2026.195%2030.1018%2026.195%2023.3138ZM15%2056.8994C15%2046.3756%2023.508%2037.867%2034.0325%2037.867L42.9836%2037.8667C50.7629%2037.8667%2057.4307%2042.5215%2060.385%2049.1966C59.8192%2049.1167%2059.2452%2049.0612%2058.6577%2049.0612C51.8697%2049.0612%2046.344%2054.5936%2046.344%2061.3793C46.344%2063.3939%2046.8415%2065.2915%2047.704%2066.9721H16.1173C15.9701%2066.9717%2015.8244%2066.9423%2015.6886%2066.8857C15.5527%2066.829%2015.4294%2066.7461%2015.3256%2066.6418C15.2219%2066.5374%2015.1397%2066.4136%2015.0838%2066.2774C15.0279%2066.1412%2014.9995%2065.9954%2015%2065.8482V56.8994Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.195%2023.3138C26.195%2016.5257%2031.727%2011%2038.5128%2011C45.2986%2011%2050.8224%2016.5257%2050.8224%2023.3138C50.8224%2030.1018%2045.2986%2035.6275%2038.5128%2035.6275C31.727%2035.6275%2026.195%2030.1018%2026.195%2023.3138ZM15%2056.8994C15%2046.3756%2023.508%2037.867%2034.0325%2037.867L42.9836%2037.8667C50.7629%2037.8667%2057.4307%2042.5215%2060.385%2049.1966C59.8192%2049.1167%2059.2452%2049.0612%2058.6577%2049.0612C51.8697%2049.0612%2046.344%2054.5936%2046.344%2061.3793C46.344%2063.3939%2046.8415%2065.2915%2047.704%2066.9721H16.1173C15.9701%2066.9717%2015.8244%2066.9423%2015.6886%2066.8857C15.5527%2066.829%2015.4294%2066.7461%2015.3256%2066.6418C15.2219%2066.5374%2015.1397%2066.4136%2015.0838%2066.2774C15.0279%2066.1412%2014.9995%2065.9954%2015%2065.8482V56.8994Z'%20fill='url(%23paint3_linear_9102_77746)'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M34.0325%2037.867V38.367H34.0325L34.0325%2037.867ZM42.9836%2037.8667V37.3667H42.9836L42.9836%2037.8667ZM60.385%2049.1966L60.315%2049.6917L61.2066%2049.8177L60.8422%2048.9943L60.385%2049.1966ZM47.704%2066.9721V67.4721H48.5226L48.1488%2066.7438L47.704%2066.9721ZM16.1173%2066.9721L16.1163%2067.4721H16.1173V66.9721ZM15.6886%2066.8857L15.4961%2067.3471L15.4961%2067.3471L15.6886%2066.8857ZM15.3256%2066.6418L15.6802%2066.2892L15.6802%2066.2892L15.3256%2066.6418ZM15.0838%2066.2774L14.6212%2066.4672L15.0838%2066.2774ZM15%2065.8482L15.5%2065.8501V65.8482H15ZM38.5128%2010.5C31.4512%2010.5%2025.695%2016.2493%2025.695%2023.3138H26.695C26.695%2016.8022%2032.0029%2011.5%2038.5128%2011.5V10.5ZM51.3224%2023.3138C51.3224%2016.2498%2045.5749%2010.5%2038.5128%2010.5V11.5C45.0223%2011.5%2050.3224%2016.8017%2050.3224%2023.3138H51.3224ZM38.5128%2036.1275C45.5749%2036.1275%2051.3224%2030.3777%2051.3224%2023.3138H50.3224C50.3224%2029.8258%2045.0223%2035.1275%2038.5128%2035.1275V36.1275ZM25.695%2023.3138C25.695%2030.3782%2031.4512%2036.1275%2038.5128%2036.1275V35.1275C32.0029%2035.1275%2026.695%2029.8253%2026.695%2023.3138H25.695ZM34.0325%2037.367C23.2318%2037.367%2014.5%2046.0994%2014.5%2056.8994H15.5C15.5%2046.6517%2023.7841%2038.367%2034.0325%2038.367V37.367ZM42.9836%2037.3667L34.0325%2037.367L34.0325%2038.367L42.9836%2038.3667L42.9836%2037.3667ZM60.8422%2048.9943C57.8108%2042.1449%2050.9681%2037.3667%2042.9836%2037.3667V38.3667C50.5578%2038.3667%2057.0506%2042.8981%2059.9278%2049.399L60.8422%2048.9943ZM58.6577%2049.5612C59.2141%2049.5612%2059.7634%2049.6137%2060.315%2049.6917L60.4549%2048.7016C59.8751%2048.6196%2059.2762%2048.5612%2058.6577%2048.5612V49.5612ZM46.844%2061.3793C46.844%2054.8695%2052.1461%2049.5612%2058.6577%2049.5612V48.5612C51.5933%2048.5612%2045.844%2054.3178%2045.844%2061.3793H46.844ZM48.1488%2066.7438C47.3207%2065.1301%2046.844%2063.3105%2046.844%2061.3793H45.844C45.844%2063.4774%2046.3623%2065.4528%2047.2591%2067.2004L48.1488%2066.7438ZM16.1173%2067.4721H47.704V66.4721H16.1173V67.4721ZM15.4961%2067.3471C15.6924%2067.429%2015.9032%2067.4716%2016.1163%2067.4721L16.1184%2066.4721C16.0371%2066.4719%2015.9564%2066.4556%2015.8811%2066.4242L15.4961%2067.3471ZM14.9711%2066.9943C15.1212%2067.1453%2015.2996%2067.2652%2015.4961%2067.3471L15.8811%2066.4242C15.8058%2066.3928%2015.7376%2066.347%2015.6802%2066.2892L14.9711%2066.9943ZM14.6212%2066.4672C14.7021%2066.6642%2014.8209%2066.8433%2014.9711%2066.9943L15.6802%2066.2892C15.6228%2066.2315%2015.5773%2066.163%2015.5464%2066.0876L14.6212%2066.4672ZM14.5%2065.8463C14.4992%2066.0593%2014.5404%2066.2702%2014.6212%2066.4672L15.5464%2066.0876C15.5155%2066.0122%2015.4997%2065.9315%2015.5%2065.8501L14.5%2065.8463ZM14.5%2056.8994V65.8482H15.5V56.8994H14.5Z'%20fill='url(%23paint4_linear_9102_77746)'%20fill-opacity='0.9'%20mask='url(%23path-4-inside-2_9102_77746)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_9102_77746'%20x='0'%20y='0'%20width='84'%20height='84'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='6'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.25%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_9102_77746'%20x='14'%20y='11'%20width='57'%20height='63.3691'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='0.5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter2_d_9102_77746'%20x='47.9462'%20y='50.4929'%20width='22.4079'%20height='22.4074'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='0.17704'/%3e%3cfeGaussianBlur%20stdDeviation='0.17704'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter3_d_9102_77746'%20x='13.9883'%20y='10.4942'%20width='47.4081'%20height='57.996'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='0.505827'/%3e%3cfeGaussianBlur%20stdDeviation='0.505827'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_9102_77746'%20x1='-6.67925'%20y1='53.3208'%20x2='72'%20y2='27.283'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2335E0F4'/%3e%3cstop%20offset='0.0696'%20stop-color='%2333D7F0'/%3e%3cstop%20offset='0.1854'%20stop-color='%232EBDE4'/%3e%3cstop%20offset='0.333'%20stop-color='%232594D0'/%3e%3cstop%20offset='0.505'%20stop-color='%23195BB6'/%3e%3cstop%20offset='0.6164'%20stop-color='%231132A3'/%3e%3cstop%20offset='1'%20stop-color='%231132A3'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9102_77746'%20x1='49.3253'%20y1='57.6399'%20x2='68.5953'%20y2='72.3999'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2344DCB7'/%3e%3cstop%20offset='0.42045'%20stop-color='%2335E0F4'/%3e%3cstop%20offset='1'%20stop-color='%2344DCB7'%20stop-opacity='0.02'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9102_77746'%20x1='78.6986'%20y1='54.7279'%20x2='80.6968'%20y2='74.2386'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_9102_77746'%20x1='17.1438'%20y1='28.9783'%20x2='63.2916'%20y2='57.6396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2344DCB7'/%3e%3cstop%20offset='0.42045'%20stop-color='%2335E0F4'/%3e%3cstop%20offset='1'%20stop-color='%2344DCB7'%20stop-opacity='0.02'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_9102_77746'%20x1='78.5779'%20y1='21.467'%20x2='84.9004'%20y2='71.5222'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", M2 = ({
314
- gemsUrl: a,
315
- baseUrl: n,
316
- isEnterPriseWallet: c = !1
24
+ import "../../../context/dialogContext.js";
25
+ import { G as i } from "../../../Grid-CPkjiKqX.js";
26
+ import { B as f } from "../../../Box-BwKpr_VI.js";
27
+ import { T as n } from "../../../Typography-BQDN44CM.js";
28
+ import { A as j } from "../../../Avatar-CwczQLPi.js";
29
+ import { B as p } from "../../../Button-tAfK4lud.js";
30
+ import { D as Y } from "../../../Divider-CIL55YSC.js";
31
+ import { D as $, a as J } from "../../../DialogContent-_gvZOy18.js";
32
+ const K = () => ({
33
+ type: F
34
+ }), e2 = () => ({
35
+ type: I
36
+ }), t2 = () => ({
37
+ type: O
38
+ }), r2 = (m) => ({
39
+ type: P,
40
+ payload: m
41
+ }), i2 = "data:image/svg+xml,%3csvg%20width='84'%20height='84'%20viewBox='0%200%2084%2084'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_9102_77746)'%3e%3ccircle%20cx='42'%20cy='42'%20r='30'%20fill='url(%23paint0_linear_9102_77746)'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_9102_77746)'%3e%3cg%20filter='url(%23filter2_d_9102_77746)'%3e%3cmask%20id='path-2-inside-1_9102_77746'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M59.1502%2072.3697C65.1424%2072.3697%2070.0001%2067.512%2070.0001%2061.5198C70.0001%2055.5276%2065.1424%2050.6699%2059.1502%2050.6699C53.1579%2050.6699%2048.3003%2055.5276%2048.3003%2061.5198C48.3003%2067.512%2053.1579%2072.3697%2059.1502%2072.3697ZM55.9037%2066.1547C56.3329%2066.5895%2057.0347%2066.5895%2057.464%2066.1548L64.9338%2058.5909C65.3854%2058.1337%2065.3854%2057.3983%2064.9339%2056.941C64.4742%2056.4755%2063.7227%2056.4755%2063.263%2056.941L56.6838%2063.604L54.5835%2061.477C54.1242%2061.0118%2053.3731%2061.0116%2052.9136%2061.4767C52.4619%2061.9338%2052.4618%2062.6691%2052.9133%2063.1263L55.9037%2066.1547Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M59.1502%2072.3697C65.1424%2072.3697%2070.0001%2067.512%2070.0001%2061.5198C70.0001%2055.5276%2065.1424%2050.6699%2059.1502%2050.6699C53.1579%2050.6699%2048.3003%2055.5276%2048.3003%2061.5198C48.3003%2067.512%2053.1579%2072.3697%2059.1502%2072.3697ZM55.9037%2066.1547C56.3329%2066.5895%2057.0347%2066.5895%2057.464%2066.1548L64.9338%2058.5909C65.3854%2058.1337%2065.3854%2057.3983%2064.9339%2056.941C64.4742%2056.4755%2063.7227%2056.4755%2063.263%2056.941L56.6838%2063.604L54.5835%2061.477C54.1242%2061.0118%2053.3731%2061.0116%2052.9136%2061.4767C52.4619%2061.9338%2052.4618%2062.6691%2052.9133%2063.1263L55.9037%2066.1547Z'%20fill='url(%23paint1_linear_9102_77746)'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M57.464%2066.1548L57.1082%2065.8035V65.8035L57.464%2066.1548ZM55.9037%2066.1547L55.5479%2066.5061L55.9037%2066.1547ZM64.9338%2058.5909L65.2896%2058.9423V58.9423L64.9338%2058.5909ZM64.9339%2056.941L65.2897%2056.5897L64.9339%2056.941ZM63.263%2056.941L63.6188%2057.2923H63.6188L63.263%2056.941ZM56.6838%2063.604L56.328%2063.9553L56.6838%2064.3156L57.0396%2063.9553L56.6838%2063.604ZM54.5835%2061.477L54.9393%2061.1257H54.9393L54.5835%2061.477ZM52.9136%2061.4767L52.5579%2061.1252V61.1252L52.9136%2061.4767ZM52.9133%2063.1263L52.5575%2063.4776L52.9133%2063.1263ZM69.5001%2061.5198C69.5001%2067.2359%2064.8663%2071.8697%2059.1502%2071.8697V72.8697C65.4185%2072.8697%2070.5001%2067.7882%2070.5001%2061.5198H69.5001ZM59.1502%2051.1699C64.8663%2051.1699%2069.5001%2055.8037%2069.5001%2061.5198H70.5001C70.5001%2055.2514%2065.4185%2050.1699%2059.1502%2050.1699V51.1699ZM48.8003%2061.5198C48.8003%2055.8037%2053.4341%2051.1699%2059.1502%2051.1699V50.1699C52.8818%2050.1699%2047.8003%2055.2514%2047.8003%2061.5198H48.8003ZM59.1502%2071.8697C53.4341%2071.8697%2048.8003%2067.2359%2048.8003%2061.5198H47.8003C47.8003%2067.7882%2052.8818%2072.8697%2059.1502%2072.8697V71.8697ZM57.1082%2065.8035C56.8747%2066.0399%2056.4929%2066.0399%2056.2594%2065.8034L55.5479%2066.5061C56.1729%2067.139%2057.1947%2067.1391%2057.8198%2066.5061L57.1082%2065.8035ZM64.5781%2058.2396L57.1082%2065.8035L57.8198%2066.5061L65.2896%2058.9423L64.5781%2058.2396ZM64.5781%2057.2923C64.8374%2057.5549%2064.8374%2057.9771%2064.5781%2058.2396L65.2896%2058.9423C65.9335%2058.2903%2065.9335%2057.2417%2065.2897%2056.5897L64.5781%2057.2923ZM63.6188%2057.2923C63.8827%2057.025%2064.3142%2057.025%2064.5781%2057.2923L65.2897%2056.5897C64.6342%2055.9259%2063.5627%2055.9259%2062.9073%2056.5897L63.6188%2057.2923ZM57.0396%2063.9553L63.6188%2057.2923L62.9073%2056.5897L56.328%2063.2527L57.0396%2063.9553ZM54.2278%2061.8283L56.328%2063.9553L57.0396%2063.2527L54.9393%2061.1257L54.2278%2061.8283ZM53.2692%2061.8281C53.533%2061.5612%2053.9641%2061.5613%2054.2278%2061.8283L54.9393%2061.1257C54.2842%2060.4622%2053.2133%2060.462%2052.5579%2061.1252L53.2692%2061.8281ZM53.269%2062.775C53.0099%2062.5125%2053.01%2062.0905%2053.2692%2061.8281L52.5579%2061.1252C51.9138%2061.777%2051.9136%2062.8256%2052.5575%2063.4776L53.269%2062.775ZM56.2594%2065.8034L53.269%2062.775L52.5575%2063.4776L55.5479%2066.5061L56.2594%2065.8034Z'%20fill='url(%23paint2_linear_9102_77746)'%20fill-opacity='0.9'%20mask='url(%23path-2-inside-1_9102_77746)'/%3e%3c/g%3e%3cg%20filter='url(%23filter3_d_9102_77746)'%3e%3cmask%20id='path-4-inside-2_9102_77746'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.195%2023.3138C26.195%2016.5257%2031.727%2011%2038.5128%2011C45.2986%2011%2050.8224%2016.5257%2050.8224%2023.3138C50.8224%2030.1018%2045.2986%2035.6275%2038.5128%2035.6275C31.727%2035.6275%2026.195%2030.1018%2026.195%2023.3138ZM15%2056.8994C15%2046.3756%2023.508%2037.867%2034.0325%2037.867L42.9836%2037.8667C50.7629%2037.8667%2057.4307%2042.5215%2060.385%2049.1966C59.8192%2049.1167%2059.2452%2049.0612%2058.6577%2049.0612C51.8697%2049.0612%2046.344%2054.5936%2046.344%2061.3793C46.344%2063.3939%2046.8415%2065.2915%2047.704%2066.9721H16.1173C15.9701%2066.9717%2015.8244%2066.9423%2015.6886%2066.8857C15.5527%2066.829%2015.4294%2066.7461%2015.3256%2066.6418C15.2219%2066.5374%2015.1397%2066.4136%2015.0838%2066.2774C15.0279%2066.1412%2014.9995%2065.9954%2015%2065.8482V56.8994Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.195%2023.3138C26.195%2016.5257%2031.727%2011%2038.5128%2011C45.2986%2011%2050.8224%2016.5257%2050.8224%2023.3138C50.8224%2030.1018%2045.2986%2035.6275%2038.5128%2035.6275C31.727%2035.6275%2026.195%2030.1018%2026.195%2023.3138ZM15%2056.8994C15%2046.3756%2023.508%2037.867%2034.0325%2037.867L42.9836%2037.8667C50.7629%2037.8667%2057.4307%2042.5215%2060.385%2049.1966C59.8192%2049.1167%2059.2452%2049.0612%2058.6577%2049.0612C51.8697%2049.0612%2046.344%2054.5936%2046.344%2061.3793C46.344%2063.3939%2046.8415%2065.2915%2047.704%2066.9721H16.1173C15.9701%2066.9717%2015.8244%2066.9423%2015.6886%2066.8857C15.5527%2066.829%2015.4294%2066.7461%2015.3256%2066.6418C15.2219%2066.5374%2015.1397%2066.4136%2015.0838%2066.2774C15.0279%2066.1412%2014.9995%2065.9954%2015%2065.8482V56.8994Z'%20fill='url(%23paint3_linear_9102_77746)'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M34.0325%2037.867V38.367H34.0325L34.0325%2037.867ZM42.9836%2037.8667V37.3667H42.9836L42.9836%2037.8667ZM60.385%2049.1966L60.315%2049.6917L61.2066%2049.8177L60.8422%2048.9943L60.385%2049.1966ZM47.704%2066.9721V67.4721H48.5226L48.1488%2066.7438L47.704%2066.9721ZM16.1173%2066.9721L16.1163%2067.4721H16.1173V66.9721ZM15.6886%2066.8857L15.4961%2067.3471L15.4961%2067.3471L15.6886%2066.8857ZM15.3256%2066.6418L15.6802%2066.2892L15.6802%2066.2892L15.3256%2066.6418ZM15.0838%2066.2774L14.6212%2066.4672L15.0838%2066.2774ZM15%2065.8482L15.5%2065.8501V65.8482H15ZM38.5128%2010.5C31.4512%2010.5%2025.695%2016.2493%2025.695%2023.3138H26.695C26.695%2016.8022%2032.0029%2011.5%2038.5128%2011.5V10.5ZM51.3224%2023.3138C51.3224%2016.2498%2045.5749%2010.5%2038.5128%2010.5V11.5C45.0223%2011.5%2050.3224%2016.8017%2050.3224%2023.3138H51.3224ZM38.5128%2036.1275C45.5749%2036.1275%2051.3224%2030.3777%2051.3224%2023.3138H50.3224C50.3224%2029.8258%2045.0223%2035.1275%2038.5128%2035.1275V36.1275ZM25.695%2023.3138C25.695%2030.3782%2031.4512%2036.1275%2038.5128%2036.1275V35.1275C32.0029%2035.1275%2026.695%2029.8253%2026.695%2023.3138H25.695ZM34.0325%2037.367C23.2318%2037.367%2014.5%2046.0994%2014.5%2056.8994H15.5C15.5%2046.6517%2023.7841%2038.367%2034.0325%2038.367V37.367ZM42.9836%2037.3667L34.0325%2037.367L34.0325%2038.367L42.9836%2038.3667L42.9836%2037.3667ZM60.8422%2048.9943C57.8108%2042.1449%2050.9681%2037.3667%2042.9836%2037.3667V38.3667C50.5578%2038.3667%2057.0506%2042.8981%2059.9278%2049.399L60.8422%2048.9943ZM58.6577%2049.5612C59.2141%2049.5612%2059.7634%2049.6137%2060.315%2049.6917L60.4549%2048.7016C59.8751%2048.6196%2059.2762%2048.5612%2058.6577%2048.5612V49.5612ZM46.844%2061.3793C46.844%2054.8695%2052.1461%2049.5612%2058.6577%2049.5612V48.5612C51.5933%2048.5612%2045.844%2054.3178%2045.844%2061.3793H46.844ZM48.1488%2066.7438C47.3207%2065.1301%2046.844%2063.3105%2046.844%2061.3793H45.844C45.844%2063.4774%2046.3623%2065.4528%2047.2591%2067.2004L48.1488%2066.7438ZM16.1173%2067.4721H47.704V66.4721H16.1173V67.4721ZM15.4961%2067.3471C15.6924%2067.429%2015.9032%2067.4716%2016.1163%2067.4721L16.1184%2066.4721C16.0371%2066.4719%2015.9564%2066.4556%2015.8811%2066.4242L15.4961%2067.3471ZM14.9711%2066.9943C15.1212%2067.1453%2015.2996%2067.2652%2015.4961%2067.3471L15.8811%2066.4242C15.8058%2066.3928%2015.7376%2066.347%2015.6802%2066.2892L14.9711%2066.9943ZM14.6212%2066.4672C14.7021%2066.6642%2014.8209%2066.8433%2014.9711%2066.9943L15.6802%2066.2892C15.6228%2066.2315%2015.5773%2066.163%2015.5464%2066.0876L14.6212%2066.4672ZM14.5%2065.8463C14.4992%2066.0593%2014.5404%2066.2702%2014.6212%2066.4672L15.5464%2066.0876C15.5155%2066.0122%2015.4997%2065.9315%2015.5%2065.8501L14.5%2065.8463ZM14.5%2056.8994V65.8482H15.5V56.8994H14.5Z'%20fill='url(%23paint4_linear_9102_77746)'%20fill-opacity='0.9'%20mask='url(%23path-4-inside-2_9102_77746)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_9102_77746'%20x='0'%20y='0'%20width='84'%20height='84'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='6'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.25%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_9102_77746'%20x='14'%20y='11'%20width='57'%20height='63.3691'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='0.5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter2_d_9102_77746'%20x='47.9462'%20y='50.4929'%20width='22.4079'%20height='22.4074'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='0.17704'/%3e%3cfeGaussianBlur%20stdDeviation='0.17704'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter3_d_9102_77746'%20x='13.9883'%20y='10.4942'%20width='47.4081'%20height='57.996'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='0.505827'/%3e%3cfeGaussianBlur%20stdDeviation='0.505827'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_9102_77746'%20x1='-6.67925'%20y1='53.3208'%20x2='72'%20y2='27.283'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2335E0F4'/%3e%3cstop%20offset='0.0696'%20stop-color='%2333D7F0'/%3e%3cstop%20offset='0.1854'%20stop-color='%232EBDE4'/%3e%3cstop%20offset='0.333'%20stop-color='%232594D0'/%3e%3cstop%20offset='0.505'%20stop-color='%23195BB6'/%3e%3cstop%20offset='0.6164'%20stop-color='%231132A3'/%3e%3cstop%20offset='1'%20stop-color='%231132A3'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9102_77746'%20x1='49.3253'%20y1='57.6399'%20x2='68.5953'%20y2='72.3999'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2344DCB7'/%3e%3cstop%20offset='0.42045'%20stop-color='%2335E0F4'/%3e%3cstop%20offset='1'%20stop-color='%2344DCB7'%20stop-opacity='0.02'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9102_77746'%20x1='78.6986'%20y1='54.7279'%20x2='80.6968'%20y2='74.2386'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_9102_77746'%20x1='17.1438'%20y1='28.9783'%20x2='63.2916'%20y2='57.6396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2344DCB7'/%3e%3cstop%20offset='0.42045'%20stop-color='%2335E0F4'/%3e%3cstop%20offset='1'%20stop-color='%2344DCB7'%20stop-opacity='0.02'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_9102_77746'%20x1='78.5779'%20y1='21.467'%20x2='84.9004'%20y2='71.5222'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", a2 = ({
42
+ gemsUrl: m,
43
+ baseUrl: v,
44
+ isEnterPriseWallet: w = !1
317
45
  }) => {
318
- const { showAlertMessage: i } = e2(), p = z(), r = j(Y), d = r.residentialAddress, f = r.referralCount, y = r.referral.code, m = r.twitterInfo.screen_name, { error: _, message: M } = r.twitter, [b, L] = A(!1), [w, S] = A("");
319
- R(() => {
320
- _ && i({ message: _ });
321
- }, [_]), R(() => {
322
- M && i({ message: M, type: "success" });
323
- }, [M]), R(() => {
324
- p(y2()), p(L2()), p(v2());
46
+ const { showAlertMessage: c } = X(), u = N(), t = A(z), d = t.residentialAddress, R = t.referralCount, C = t.referral.code, L = t.twitterInfo.screen_name, { error: g, message: _ } = t.twitter, [E, x] = k(!1), [Z, b] = k("");
47
+ y(() => {
48
+ g && c({ message: g });
49
+ }, [g]), y(() => {
50
+ _ && c({ message: _, type: "success" });
51
+ }, [_]), y(() => {
52
+ u(K()), u(e2()), u(t2());
325
53
  }, []);
326
- const v = () => {
327
- navigator.clipboard.writeText(a + "?referer=" + y), i({
54
+ const U = () => {
55
+ navigator.clipboard.writeText(m + "?referer=" + C), c({
328
56
  message: "Gems Referral Link has been copied successfully.",
329
57
  type: "success"
330
58
  });
331
- }, h = () => {
332
- navigator.clipboard.writeText(n + "/r1/" + y), i({
59
+ }, V = () => {
60
+ navigator.clipboard.writeText(v + "/r1/" + C), c({
333
61
  message: "Verify Me Link has been copied successfully.",
334
62
  type: "success"
335
63
  });
336
- }, k = () => {
337
- navigator.clipboard.writeText(n + "/signup-referral/" + y), i({
64
+ }, G = () => {
65
+ navigator.clipboard.writeText(v + "/signup-referral/" + C), c({
338
66
  message: "Referral Link has been copied successfully.",
339
67
  type: "success"
340
68
  });
69
+ }, T = (l) => {
70
+ let h = 0, S = "#", s;
71
+ for (s = 0; s < l.length; s += 1)
72
+ h = l.charCodeAt(s) + ((h << 5) - h);
73
+ for (s = 0; s < 3; s += 1) {
74
+ const H = h >> s * 8 & 255;
75
+ S += `00${H.toString(16)}`.slice(-2);
76
+ }
77
+ return S;
78
+ }, D = (l) => l ? {
79
+ sx: {
80
+ bgcolor: T(l)
81
+ },
82
+ children: `${l[0].toUpperCase()}`
83
+ } : {
84
+ sx: {
85
+ bgcolor: "#16359D"
86
+ },
87
+ children: "E"
341
88
  };
342
- return /* @__PURE__ */ o(U, { children: [
343
- /* @__PURE__ */ o(l, { sx: { marginTop: "130px" }, spacing: 2, container: !0, children: [
344
- /* @__PURE__ */ e(l, { size: { md: 6, xs: 12 }, children: /* @__PURE__ */ o(g, { className: s["inner-container"], children: [
345
- /* @__PURE__ */ o(g, { p: 3, children: [
346
- /* @__PURE__ */ e(C, { className: s.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Personal Details" }) }),
347
- /* @__PURE__ */ o(l, { container: !0, children: [
348
- /* @__PURE__ */ e(l, { size: { md: 6, xs: 12 }, children: /* @__PURE__ */ o(
349
- g,
89
+ return /* @__PURE__ */ r(B, { children: [
90
+ /* @__PURE__ */ r(i, { sx: { marginTop: "130px" }, spacing: 2, container: !0, children: [
91
+ /* @__PURE__ */ e(i, { size: { md: 6, xs: 12 }, children: /* @__PURE__ */ r(M, { children: [
92
+ /* @__PURE__ */ r(f, { p: 3, children: [
93
+ /* @__PURE__ */ e(n, { className: a.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Personal Details" }) }),
94
+ /* @__PURE__ */ r(i, { container: !0, children: [
95
+ /* @__PURE__ */ e(i, { size: { md: 6, xs: 12 }, children: /* @__PURE__ */ r(
96
+ f,
350
97
  {
351
98
  mt: 2,
352
99
  sx: {
@@ -354,32 +101,18 @@ const y2 = () => ({
354
101
  alignItems: "center"
355
102
  },
356
103
  children: [
357
- /* @__PURE__ */ e(
358
- E,
359
- {
360
- sx: {
361
- width: 50,
362
- height: 50
363
- },
364
- alt: "User",
365
- src: "data:image/jpeg;base64," + r.photoThumbnail
366
- }
367
- ),
368
- /* @__PURE__ */ o(g, { ml: 1, children: [
369
- /* @__PURE__ */ e(C, { variant: "body1", component: "span", children: /* @__PURE__ */ o("strong", { children: [
370
- r.firstName,
371
- " ",
372
- r.lastName
373
- ] }) }),
374
- m && /* @__PURE__ */ o(
375
- C,
104
+ /* @__PURE__ */ e(j, { ...D(t.email) }),
105
+ /* @__PURE__ */ r(f, { ml: 1, children: [
106
+ /* @__PURE__ */ e(n, { variant: "body1", component: "span", children: /* @__PURE__ */ e("strong", { children: t.email }) }),
107
+ L && /* @__PURE__ */ r(
108
+ n,
376
109
  {
377
110
  className: "primary-text-color",
378
111
  variant: "caption",
379
112
  component: "p",
380
113
  children: [
381
114
  "@",
382
- m
115
+ L
383
116
  ]
384
117
  }
385
118
  )
@@ -388,7 +121,7 @@ const y2 = () => ({
388
121
  }
389
122
  ) }),
390
123
  /* @__PURE__ */ e(
391
- l,
124
+ i,
392
125
  {
393
126
  my: 1.5,
394
127
  sx: {
@@ -396,22 +129,22 @@ const y2 = () => ({
396
129
  alignItems: "flex-end"
397
130
  },
398
131
  size: { md: 6, xs: 12 },
399
- children: !c && /* @__PURE__ */ o(l, { container: !0, children: [
400
- /* @__PURE__ */ e(l, { size: 6, children: /* @__PURE__ */ e(
401
- x,
132
+ children: !w && /* @__PURE__ */ r(i, { container: !0, children: [
133
+ /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ e(
134
+ p,
402
135
  {
403
- className: s["profile-feat-btn"],
136
+ className: a["profile-feat-btn"],
404
137
  variant: "contained",
405
- onClick: h,
138
+ onClick: V,
406
139
  children: "Verify Me Link"
407
140
  }
408
141
  ) }),
409
- m && /* @__PURE__ */ e(l, { size: 6, children: /* @__PURE__ */ e(
410
- x,
142
+ L && /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ e(
143
+ p,
411
144
  {
412
- className: s["profile-feat-btn"],
145
+ className: a["profile-feat-btn"],
413
146
  variant: "contained",
414
- onClick: () => L(!0),
147
+ onClick: () => x(!0),
415
148
  children: "Post to X.com"
416
149
  }
417
150
  ) })
@@ -420,51 +153,51 @@ const y2 = () => ({
420
153
  )
421
154
  ] })
422
155
  ] }),
423
- /* @__PURE__ */ e(n2, {}),
424
- /* @__PURE__ */ o(g, { p: 3, children: [
156
+ /* @__PURE__ */ e(Y, {}),
157
+ /* @__PURE__ */ r(f, { p: 3, children: [
425
158
  /* @__PURE__ */ e(
426
- u,
159
+ o,
427
160
  {
428
161
  label: "Full name",
429
- value: r.firstName + " " + r.lastName,
162
+ value: t.firstName + " " + t.lastName,
430
163
  disabled: !0
431
164
  }
432
165
  ),
433
- r.gender && /* @__PURE__ */ e(
434
- u,
166
+ t.gender && /* @__PURE__ */ e(
167
+ o,
435
168
  {
436
169
  label: "Gender",
437
- value: r.gender === "M" ? "Male" : "Female",
170
+ value: t.gender === "M" ? "Male" : "Female",
438
171
  disabled: !0
439
172
  }
440
173
  ),
441
- r.email && /* @__PURE__ */ e(
442
- u,
174
+ t.email && /* @__PURE__ */ e(
175
+ o,
443
176
  {
444
177
  label: "Email",
445
- value: r.email,
178
+ value: t.email,
446
179
  disabled: !0
447
180
  }
448
181
  ),
449
182
  /* @__PURE__ */ e(
450
- u,
183
+ o,
451
184
  {
452
185
  label: "Phone",
453
- value: "+" + r.countryCode + " " + r.phoneNumber,
186
+ value: "+" + t.countryCode + " " + t.phoneNumber,
454
187
  disabled: !0
455
188
  }
456
189
  ),
457
- r.birthday && /* @__PURE__ */ e(
458
- u,
190
+ t.birthday && /* @__PURE__ */ e(
191
+ o,
459
192
  {
460
193
  label: "Birthday",
461
- value: r.birthDate,
194
+ value: t.birthDate,
462
195
  disabled: !0
463
196
  }
464
197
  ),
465
- d.street && /* @__PURE__ */ o(U, { children: [
198
+ d.street && /* @__PURE__ */ r(B, { children: [
466
199
  /* @__PURE__ */ e(
467
- u,
200
+ o,
468
201
  {
469
202
  label: "Address Line 1",
470
203
  value: d.street,
@@ -472,7 +205,7 @@ const y2 = () => ({
472
205
  }
473
206
  ),
474
207
  /* @__PURE__ */ e(
475
- u,
208
+ o,
476
209
  {
477
210
  label: "Address Line 2",
478
211
  value: "",
@@ -480,7 +213,7 @@ const y2 = () => ({
480
213
  }
481
214
  ),
482
215
  /* @__PURE__ */ e(
483
- u,
216
+ o,
484
217
  {
485
218
  label: "City",
486
219
  value: d.city,
@@ -488,7 +221,7 @@ const y2 = () => ({
488
221
  }
489
222
  ),
490
223
  /* @__PURE__ */ e(
491
- u,
224
+ o,
492
225
  {
493
226
  label: "State",
494
227
  value: d.state,
@@ -496,7 +229,7 @@ const y2 = () => ({
496
229
  }
497
230
  ),
498
231
  /* @__PURE__ */ e(
499
- u,
232
+ o,
500
233
  {
501
234
  label: "Post Code",
502
235
  value: d.postcode,
@@ -504,7 +237,7 @@ const y2 = () => ({
504
237
  }
505
238
  ),
506
239
  /* @__PURE__ */ e(
507
- u,
240
+ o,
508
241
  {
509
242
  label: "Country",
510
243
  value: d.country,
@@ -514,60 +247,60 @@ const y2 = () => ({
514
247
  ] })
515
248
  ] })
516
249
  ] }) }),
517
- /* @__PURE__ */ o(l, { size: { md: 6, xs: 12 }, children: [
518
- /* @__PURE__ */ e(g, { p: 3, className: s["inner-container"], children: /* @__PURE__ */ e(
519
- J,
250
+ /* @__PURE__ */ r(i, { size: { md: 6, xs: 12 }, children: [
251
+ /* @__PURE__ */ e(M, { p: 3, children: /* @__PURE__ */ e(
252
+ W,
520
253
  {
521
- identityDocs: r.identityDocuments,
522
- showAlertMessage: i
254
+ identityDocs: t.identityDocuments,
255
+ showAlertMessage: c
523
256
  }
524
257
  ) }),
525
- !c && /* @__PURE__ */ e(g, { p: 3, mt: 2, className: s["inner-container"], children: /* @__PURE__ */ o(l, { spacing: 2, container: !0, children: [
526
- /* @__PURE__ */ e(l, { size: 4, children: /* @__PURE__ */ e(C, { className: s.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Referrals" }) }) }),
527
- /* @__PURE__ */ e(l, { className: "text-right", size: 4, children: /* @__PURE__ */ e(
528
- x,
258
+ !w && /* @__PURE__ */ e(M, { p: 3, mt: 2, children: /* @__PURE__ */ r(i, { spacing: 2, container: !0, children: [
259
+ /* @__PURE__ */ e(i, { size: 4, children: /* @__PURE__ */ e(n, { className: a.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Referrals" }) }) }),
260
+ /* @__PURE__ */ e(i, { className: "text-right", size: 4, children: /* @__PURE__ */ e(
261
+ p,
529
262
  {
530
- className: s["ref-btn"],
263
+ className: a["ref-btn"],
531
264
  variant: "contained",
532
- onClick: k,
265
+ onClick: G,
533
266
  children: "Sign-up Referral Link"
534
267
  }
535
268
  ) }),
536
- /* @__PURE__ */ e(l, { className: "text-right", size: 4, children: /* @__PURE__ */ e(
537
- x,
269
+ /* @__PURE__ */ e(i, { className: "text-right", size: 4, children: /* @__PURE__ */ e(
270
+ p,
538
271
  {
539
- className: s["ref-btn"],
272
+ className: a["ref-btn"],
540
273
  variant: "contained",
541
- onClick: v,
274
+ onClick: U,
542
275
  children: "GEMS Referral Link"
543
276
  }
544
277
  ) }),
545
- /* @__PURE__ */ e(l, { size: 6, children: /* @__PURE__ */ e(C, { variant: "body1", children: /* @__PURE__ */ e("strong", { children: "No. of Signup Referrals" }) }) }),
546
- /* @__PURE__ */ e(l, { className: "text-right", size: 6, children: /* @__PURE__ */ e(C, { className: "fw500", variant: "body1", children: f }) })
278
+ /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ e(n, { variant: "body1", children: /* @__PURE__ */ e("strong", { children: "No. of Signup Referrals" }) }) }),
279
+ /* @__PURE__ */ e(i, { className: "text-right", size: 6, children: /* @__PURE__ */ e(n, { className: "fw500", variant: "body1", children: R }) })
547
280
  ] }) })
548
281
  ] })
549
282
  ] }),
550
283
  /* @__PURE__ */ e(
551
- c2,
284
+ $,
552
285
  {
553
286
  PaperProps: {
554
- className: s["confirm-dialog"],
287
+ className: a["confirm-dialog"],
555
288
  sx: { height: "900px", width: "100%" }
556
289
  },
557
- open: b,
290
+ open: E,
558
291
  fullWidth: !0,
559
- children: /* @__PURE__ */ e(d2, { sx: { p: 0, height: "600px" }, children: /* @__PURE__ */ o(
560
- g,
292
+ children: /* @__PURE__ */ e(J, { sx: { p: 0, height: "600px" }, children: /* @__PURE__ */ r(
293
+ f,
561
294
  {
562
295
  mt: 4,
563
- className: s["dialog-container"],
296
+ className: a["dialog-container"],
564
297
  sx: { padding: "0px 40px" },
565
298
  children: [
566
- /* @__PURE__ */ e("img", { src: x2, alt: "icon" }),
567
- /* @__PURE__ */ e(C, { className: s["confirm-dialog-title"], children: "Post to X.com" }),
568
- /* @__PURE__ */ e(C, { children: "You are about to update your X.com profile with the Everest mountain and verified wallet link in your bio, and post a verified wallet announcement (post text below in grey box)." }),
569
- /* @__PURE__ */ o("div", { className: s["tweet-text-parent"], children: [
570
- /* @__PURE__ */ o("div", { className: s["tweet-disable-text"], children: [
299
+ /* @__PURE__ */ e("img", { src: i2, alt: "icon" }),
300
+ /* @__PURE__ */ e(n, { className: a["confirm-dialog-title"], children: "Post to X.com" }),
301
+ /* @__PURE__ */ e(n, { children: "You are about to update your X.com profile with the Everest mountain and verified wallet link in your bio, and post a verified wallet announcement (post text below in grey box)." }),
302
+ /* @__PURE__ */ r("div", { className: a["tweet-text-parent"], children: [
303
+ /* @__PURE__ */ r("div", { className: a["tweet-disable-text"], children: [
571
304
  "I have a #VerifiedEverWallet with @EverestDotOrg! 🗻",
572
305
  /* @__PURE__ */ e("br", {}),
573
306
  " This proves that I’m a real human, not a bot or deep fake. I can control what info is disclosed to whom and either remain anonymous or verify my real identity. Verify me: <your link>"
@@ -575,26 +308,26 @@ const y2 = () => ({
575
308
  /* @__PURE__ */ e(
576
309
  "textarea",
577
310
  {
578
- value: w,
311
+ value: Z,
579
312
  maxLength: 120,
580
- onChange: (Z) => S(Z.target.value),
581
- className: s["tweet-text-area"],
313
+ onChange: (l) => b(l.target.value),
314
+ className: a["tweet-text-area"],
582
315
  placeholder: "Personal message to include in tweet (optional)",
583
316
  autoFocus: !0
584
317
  }
585
318
  )
586
319
  ] }),
587
- /* @__PURE__ */ e("img", { height: "275", src: K + "/twitter-update.png" }),
320
+ /* @__PURE__ */ e("img", { height: "275", src: q + "/twitter-update.png" }),
588
321
  /* @__PURE__ */ e(
589
- x,
322
+ p,
590
323
  {
591
324
  onClick: () => {
592
- p(
593
- _2({
325
+ u(
326
+ r2({
594
327
  share_opt: !0,
595
- tweet_text: w
328
+ tweet_text: Z
596
329
  })
597
- ), L(!1), S("");
330
+ ), x(!1), b("");
598
331
  },
599
332
  className: "wallet-btn",
600
333
  variant: "contained",
@@ -603,10 +336,10 @@ const y2 = () => ({
603
336
  }
604
337
  ),
605
338
  /* @__PURE__ */ e(
606
- x,
339
+ p,
607
340
  {
608
341
  onClick: () => {
609
- L(!1);
342
+ x(!1);
610
343
  },
611
344
  className: "sdk-btn-connect-wallet",
612
345
  sx: { marginY: "16px" },
@@ -621,7 +354,7 @@ const y2 = () => ({
621
354
  }
622
355
  )
623
356
  ] });
624
- }, a0 = $(M2);
357
+ }, D2 = Q(a2);
625
358
  export {
626
- a0 as default
359
+ D2 as default
627
360
  };