everest-npm-features 0.0.1 → 0.0.2
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.
- package/dist/ArrowDropDown-DRUQbGft.js +8 -0
- package/dist/ArrowRight-t-YgAHUn.js +8 -0
- package/dist/{Box-wAem3MQD.js → Box-BOgpENcC.js} +11 -11
- package/dist/{Button-fWdSk-yh.js → Button-DXdgxFxa.js} +8 -7
- package/dist/{ButtonBase-SYP7klDp.js → ButtonBase-AOLUTpPg.js} +204 -211
- package/dist/Cancel-BMPJ8ZAg.js +11 -0
- package/dist/CardContent-DEA5pnhr.js +141 -0
- package/dist/{CircularProgress-DcXA6nAu.js → CircularProgress-BAEiXRSn.js} +31 -30
- package/dist/Close-mXCsZSxZ.js +8 -0
- package/dist/{Container-CIMHcpEe.js → Container-BOehNoF1.js} +4 -4
- package/dist/{ContentCopy-CexUUXuC.js → ContentCopy-HD_Xx6nx.js} +1 -1
- package/dist/{createSimplePaletteValueFilter-CsgjlRAs.js → DefaultPropsProvider-DmUB0SYC.js} +54 -69
- package/dist/DefaultPropsProvider-tqUom3mB.js +329 -0
- package/dist/{DialogContent-JgT9A6nk.js → DialogContent-zttWtNJM.js} +91 -90
- package/dist/{Close-CdRA3xUs.js → DialogTitle-BqL8DXBp.js} +16 -21
- package/dist/{ArrowRight-C6tjImpU.js → Divider-EGEkrkBH.js} +50 -55
- package/dist/{FormControl-D4QuPCnV.js → FormControl-Nd-4LC8N.js} +60 -69
- package/dist/FormControlLabel-BMeMEwyK.js +738 -0
- package/dist/{GlobalStyles-BOnEiMUE.js → GlobalStyles-CModZHM-.js} +2 -2
- package/dist/{Grid-dtT_MVn3.js → Grid-EISqvBSJ.js} +5 -5
- package/dist/Grid2-B0mJbwjl.js +374 -0
- package/dist/{Grow-B3Swdn2Z.js → Grow-dkRwE_ok.js} +5 -5
- package/dist/{IconButton-CRGy76pJ.js → IconButton-DAR3jsEV.js} +12 -11
- package/dist/Info-CkE3Gsf2.js +8 -0
- package/dist/InputAdornment-DZJP9Njd.js +169 -0
- package/dist/ListItemIcon-JAntieDc.js +82 -0
- package/dist/{wallet-DN7ej6mj.js → MenuItem-D12FP5Iq.js} +64 -75
- package/dist/{Modal-0q_y4zbS.js → Modal-DceAu_d2.js} +324 -397
- package/dist/Paper-L8ipwfkc.js +183 -0
- package/dist/PlayArrow-D98xCL5M.js +21 -0
- package/dist/Portal-DxdKGEvu.js +86 -0
- package/dist/{Select-BNAaKK32.js → Select-DTQDmdn_.js} +39 -33
- package/dist/{Slide-BlS6unRJ.js → Slide-CWqC2RDG.js} +4 -3
- package/dist/Stack-CkCveRRR.js +174 -0
- package/dist/{TextField-CPZo0_di.js → TextField-BqIvz6Zw.js} +23 -21
- package/dist/{Typography-kyxogyUq.js → Typography-Dx54MRM5.js} +14 -13
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -0
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -0
- package/dist/assets/index4.css +1 -0
- package/dist/assets/index5.css +1 -0
- package/dist/assets/index6.css +1 -0
- package/dist/assets/index7.css +1 -0
- package/dist/assets/index8.css +1 -0
- package/dist/assets/index9.css +1 -0
- package/dist/assets/{withThemeProvider.css → main.css} +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles3.css +1 -0
- package/dist/auth-AwdxCQXF.js +46 -0
- package/dist/axios-BEX6n2A7.js +796 -0
- package/dist/bank-D2rGgUDP.js +23 -0
- package/dist/components/Account/index.d.ts +4 -0
- package/dist/components/Account/index.js +310 -0
- package/dist/components/History/index.d.ts +2 -0
- package/dist/components/History/index.js +804 -0
- package/dist/components/MoveToEthereumOrEverChain/index.d.ts +18 -0
- package/dist/components/MoveToEthereumOrEverChain/index.js +345 -0
- package/dist/components/Profile/documents.js +19 -14
- package/dist/components/Profile/index.js +128 -135
- package/dist/components/Receive/index.js +25 -23
- package/dist/components/RocketRamp/Buy/cardPayment.d.ts +3 -0
- package/dist/components/RocketRamp/Buy/cardPayment.js +17 -0
- package/dist/components/RocketRamp/Buy/confirmTransaction.d.ts +3 -0
- package/dist/components/RocketRamp/Buy/confirmTransaction.js +16 -0
- package/dist/components/RocketRamp/Buy/form.d.ts +3 -0
- package/dist/components/RocketRamp/Buy/form.js +26 -0
- package/dist/components/RocketRamp/Buy/index.d.ts +6 -0
- package/dist/components/RocketRamp/Buy/index.js +29 -0
- package/dist/components/RocketRamp/Buy/types.d.ts +32 -0
- package/dist/components/RocketRamp/Buy/types.js +1 -0
- package/dist/components/RocketRamp/Dashboard/balance.d.ts +9 -0
- package/dist/components/RocketRamp/Dashboard/balance.js +75 -0
- package/dist/components/RocketRamp/Dashboard/index.d.ts +5 -0
- package/dist/components/RocketRamp/Dashboard/index.js +36 -0
- package/dist/components/RocketRamp/Dashboard/transaction.d.ts +8 -0
- package/dist/components/RocketRamp/Dashboard/transaction.js +28 -0
- package/dist/components/RocketRamp/MinimalKyc/index.d.ts +6 -0
- package/dist/components/RocketRamp/MinimalKyc/index.js +254 -0
- package/dist/components/RocketRamp/Shared/Button/index.d.ts +10 -0
- package/dist/components/RocketRamp/Shared/Button/index.js +82 -0
- package/dist/components/RocketRamp/Shared/Input/index.d.ts +11 -0
- package/dist/components/RocketRamp/Shared/Input/index.js +46 -0
- package/dist/components/RocketRamp/Shared/backBtn.d.ts +5 -0
- package/dist/components/RocketRamp/Shared/backBtn.js +21 -0
- package/dist/components/RocketRamp/Shared/transactionItem.d.ts +7 -0
- package/dist/components/RocketRamp/Shared/transactionItem.js +125 -0
- package/dist/components/RocketRamp/SignIn/index.d.ts +3 -0
- package/dist/components/RocketRamp/SignIn/index.js +82 -0
- package/dist/components/RocketRamp/SignIn/loginForm.d.ts +3 -0
- package/dist/components/RocketRamp/SignIn/loginForm.js +81 -0
- package/dist/components/RocketRamp/SignIn/otpForm.d.ts +3 -0
- package/dist/components/RocketRamp/SignIn/otpForm.js +112 -0
- package/dist/components/RocketRamp/SignIn/types.d.ts +22 -0
- package/dist/components/RocketRamp/SignIn/types.js +1 -0
- package/dist/components/RocketRamp/SignUp/email.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/email.js +70 -0
- package/dist/components/RocketRamp/SignUp/index.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/index.js +163 -0
- package/dist/components/RocketRamp/SignUp/personalInfo.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/personalInfo.js +415 -0
- package/dist/components/RocketRamp/SignUp/summary.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/summary.js +57 -0
- package/dist/components/RocketRamp/SignUp/types.d.ts +50 -0
- package/dist/components/RocketRamp/SignUp/types.js +1 -0
- package/dist/components/RocketRamp/SignUp/validateEmail.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/validateEmail.js +99 -0
- package/dist/components/RocketRamp/Transactions/index.d.ts +5 -0
- package/dist/components/RocketRamp/Transactions/index.js +38 -0
- package/dist/components/Send/index.js +62 -51
- package/dist/components/Shared/ConnectWallet/index.d.ts +20 -0
- package/dist/components/Shared/ConnectWallet/index.js +25364 -0
- package/dist/components/Shared/HistoryItem/index.d.ts +5 -0
- package/dist/components/Shared/HistoryItem/index.js +120 -0
- package/dist/components/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Shared/TokenModal/index.d.ts +10 -0
- package/dist/components/Shared/TokenModal/index.js +104 -0
- package/dist/components/Shared/TokenModal/tokenGrid.d.ts +7 -0
- package/dist/components/Shared/TokenModal/tokenGrid.js +51 -0
- package/dist/components/Shared/addBank.d.ts +2 -0
- package/dist/components/Shared/addBank.js +172 -0
- package/dist/components/Shared/button.js +1 -1
- package/dist/components/Shared/connectPlaidBank.d.ts +2 -0
- package/dist/components/Shared/connectPlaidBank.js +57 -0
- package/dist/components/Shared/incode.js +34 -32
- package/dist/components/Shared/inputField.js +1 -1
- package/dist/components/Shared/noData.d.ts +4 -0
- package/dist/components/Shared/noData.js +14 -0
- package/dist/components/Shared/pin.js +3 -3
- package/dist/components/Shared/step.js +2 -2
- package/dist/components/Shared/tooltip.d.ts +4 -0
- package/dist/components/Shared/tooltip.js +2107 -0
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/SignIn/index.js +26 -24
- package/dist/components/SignUp/index.js +108 -348
- package/dist/components/SignUp/pin.js +116 -844
- package/dist/components/SignUp/privacy.js +3 -3
- package/dist/components/SignUp/terms.js +3 -3
- package/dist/components/SignUp/types.d.ts +0 -1
- package/dist/components/SignUp/userInfo.js +4 -4
- package/dist/components/Stake/gems/index.d.ts +2 -0
- package/dist/components/Stake/gems/index.js +214 -0
- package/dist/components/Stake/id/index.d.ts +2 -0
- package/dist/components/Stake/id/index.js +233 -0
- package/dist/components/Stake/index.d.ts +5 -0
- package/dist/components/Stake/index.js +346 -0
- package/dist/components/Swap/index.d.ts +2 -0
- package/dist/components/Swap/index.js +489 -0
- package/dist/components/SwapAndUniSwap/index.d.ts +3 -0
- package/dist/components/SwapAndUniSwap/index.js +43 -0
- package/dist/components/WalletPortfolio/index.js +191 -263
- package/dist/components/WalletPortfolio/tokenRow.js +8 -5
- package/dist/constants-d3SWzaRo.js +3981 -0
- package/dist/countries-BVn1FubK.js +1925 -0
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
- package/dist/{createSvgIcon-CAZr4ukt.js → createSvgIcon-jkXneOQN.js} +6 -6
- package/dist/{createTheme-NrBCWesw.js → createTheme-F9Dk4FhK.js} +182 -174
- package/dist/data/countries.json.d.ts +1925 -0
- package/dist/defaultTheme-Bc00Q3Kt.js +5 -0
- package/dist/dividerClasses-SUAUDDqL.js +10 -0
- package/dist/{documents-CL4Ajr_B.js → documents-2UqIXbDq.js} +130 -129
- package/dist/elementTypeAcceptingRef-BufevUW8.js +23 -0
- package/dist/emotion-react.browser.esm-CI0uV1W5.js +233 -0
- package/dist/{extendSxProp-CuERe1TA.js → extendSxProp-Cm2UBzGf.js} +1 -1
- package/dist/generic-token-B_ptO5yb.js +4 -0
- package/dist/hoc/withThemeProvider.js +33 -32
- package/dist/hooks/useDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +63 -60
- package/dist/icons/buyIcon.d.ts +2 -0
- package/dist/icons/buyIcon.js +19 -0
- package/dist/icons/canceledBuyIcon.d.ts +2 -0
- package/dist/icons/canceledBuyIcon.js +34 -0
- package/dist/icons/canceledRedeemIcon.d.ts +2 -0
- package/dist/icons/canceledRedeemIcon.js +35 -0
- package/dist/icons/failedBuyIcon.d.ts +2 -0
- package/dist/icons/failedBuyIcon.js +48 -0
- package/dist/icons/failedRedeemIcon.d.ts +2 -0
- package/dist/icons/failedRedeemIcon.js +48 -0
- package/dist/icons/pendingBuyIcon.d.ts +2 -0
- package/dist/icons/pendingBuyIcon.js +38 -0
- package/dist/icons/pendingRedeemIcon.d.ts +2 -0
- package/dist/icons/pendingRedeemIcon.js +34 -0
- package/dist/icons/redeemIcon.d.ts +2 -0
- package/dist/icons/redeemIcon.js +19 -0
- package/dist/index-B8QKlEgj.js +37095 -0
- package/dist/{index-Cq3eHOnB.js → index-BJlsh9ro.js} +1 -1
- package/dist/index-C3FYdQkQ.js +4050 -0
- package/dist/index-CrajlEO_.js +576 -0
- package/dist/index-DxLB0ZV1.js +760 -0
- package/dist/index-TElEjliR.js +9 -0
- package/dist/{index-iAyNk1r6.js → index-_kqRfgnc.js} +5 -5
- package/dist/index-ceeCtFuh.js +136 -0
- package/dist/index.esm-BsMAMhYW.js +237 -0
- package/dist/isFocusVisible-CPZqtjv2.js +12 -0
- package/dist/isMuiElement-DnSE4qG4.js +13 -0
- package/dist/main.d.ts +99 -0
- package/dist/main.js +34 -12
- package/dist/moment-h96o7c8I.js +2578 -0
- package/dist/order-Cry6kuj8.js +23 -0
- package/dist/ownerWindow-C-760D__.js +7 -0
- package/dist/providers/metaMask.d.ts +6 -0
- package/dist/providers/metaMask.js +24 -0
- package/dist/react-redux-B4BZippc.js +255 -0
- package/dist/react-webcam-B3cXh1XT.js +267 -0
- package/dist/resolveComponentProps-BdTgLKBb.js +80 -0
- package/dist/rr-primary-logo-CqI24c8v.js +4 -0
- package/dist/stake-Q_O90kTv.js +17 -0
- package/dist/store.d.ts +65 -0
- package/dist/store.js +1 -0
- package/dist/styled-BTIMwpiX.js +5 -0
- package/dist/{styles.module-KeND8lCR.js → styles.module-6SB62f3J.js} +1 -1
- package/dist/styles.module-O5VVND5e.js +22 -0
- package/dist/tokenRow-CgnPD-4U.js +206 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useFormControl-CfmEP6sW.js +18 -0
- package/dist/useSlot-DaP6eodX.js +50 -0
- package/dist/useTheme-BghcbbEW.js +9 -0
- package/dist/{useTheme-nlj1B_-c.js → useTheme-c0OHvtiA.js} +3 -3
- package/dist/{useThemeProps-BqWuFW3z.js → useThemeProps-CV9AmzHf.js} +4 -4
- package/dist/{useThemeWithoutDefault-BdYkMk0o.js → useThemeWithoutDefault-D8MaPbCK.js} +1 -1
- package/dist/useTimeout-D29bZ7Gz.js +56 -0
- package/dist/user-Dzur3Cro.js +24 -0
- package/dist/util/constants.d.ts +48 -0
- package/dist/util/constants.js +69 -21
- package/dist/util/conversions.js +54 -22271
- package/dist/util/functions.d.ts +5 -0
- package/dist/util/functions.js +81 -24
- package/dist/util/regex.d.ts +3 -0
- package/dist/util/regex.js +6 -0
- package/dist/{utils-_FXWkn40.js → utils-EFg3So7T.js} +163 -168
- package/dist/wallet-Dw896DF7.js +35 -0
- package/dist/web3-u4qDZYpo.js +22328 -0
- package/package.json +8 -3
- package/dist/DefaultPropsProvider-Y8MI-J-I.js +0 -555
- package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +0 -4
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/auth-Cj5FKr_m.js +0 -19
- package/dist/axios-xPiQW9EP.js +0 -118114
- package/dist/defaultTheme-OIfL8Ia7.js +0 -5
- package/dist/dividerClasses-Z7VLlu5C.js +0 -10
- package/dist/index-DKTkUdik.js +0 -6
- package/dist/react-redux-VW99uJjf.js +0 -5908
- package/dist/react-webcam-Cov1TP0q.js +0 -639
- package/dist/styled-Da6GnxEE.js +0 -5
- package/dist/tokenRow-Cdd_jFjp.js +0 -206
- package/dist/useFormControl-Bo6Tf_xo.js +0 -46
- package/dist/useSlot-CURNJ3JC.js +0 -306
- package/dist/useTheme-DWRMvRU8.js +0 -9
- package/dist/useTimeout-lr7ryrda.js +0 -75
|
@@ -1,52 +1,54 @@
|
|
|
1
|
-
import { jsx as e, jsxs as i, Fragment as
|
|
2
|
-
import * as
|
|
3
|
-
import { useState as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { jsx as e, jsxs as i, Fragment as V } from "react/jsx-runtime";
|
|
2
|
+
import * as A from "react";
|
|
3
|
+
import { useState as F, useEffect as D } from "react";
|
|
4
|
+
import { u as H, a as T } from "../../react-redux-B4BZippc.js";
|
|
5
|
+
import "../../constants-d3SWzaRo.js";
|
|
6
|
+
import { u as U } from "../../index-TElEjliR.js";
|
|
7
|
+
import { a as O, b as E, c as z, d as j } from "../../user-Dzur3Cro.js";
|
|
6
8
|
import { useSnackBar as q } from "../../hooks/useSnackBar.js";
|
|
7
|
-
import { s as l, D as W } from "../../documents-
|
|
9
|
+
import { s as l, D as W } from "../../documents-2UqIXbDq.js";
|
|
8
10
|
import f from "../Shared/inputField.js";
|
|
9
|
-
import { WIDGET_URL as
|
|
10
|
-
import
|
|
11
|
-
import { B as u } from "../../Box-
|
|
12
|
-
import { G as c } from "../../
|
|
13
|
-
import { T as h } from "../../Typography-
|
|
14
|
-
import { g as
|
|
15
|
-
import { g as
|
|
16
|
-
import { c as r2 } from "../../createSvgIcon-
|
|
17
|
-
import { u as a2 } from "../../useSlot-
|
|
18
|
-
import { B as
|
|
19
|
-
import { D as o2 } from "../../
|
|
20
|
-
import { D as i2, a as s2 } from "../../DialogContent-
|
|
11
|
+
import { WIDGET_URL as X } from "../../util/constants.js";
|
|
12
|
+
import Y from "../../hoc/withThemeProvider.js";
|
|
13
|
+
import { B as u } from "../../Box-BOgpENcC.js";
|
|
14
|
+
import { G as c } from "../../Grid2-B0mJbwjl.js";
|
|
15
|
+
import { T as h } from "../../Typography-Dx54MRM5.js";
|
|
16
|
+
import { g as J, P as r } from "../../createTheme-F9Dk4FhK.js";
|
|
17
|
+
import { g as K, s as R, m as Q, u as $, c as e2, a as t2 } from "../../DefaultPropsProvider-DmUB0SYC.js";
|
|
18
|
+
import { c as r2 } from "../../createSvgIcon-jkXneOQN.js";
|
|
19
|
+
import { u as a2 } from "../../useSlot-DaP6eodX.js";
|
|
20
|
+
import { B as y } from "../../Button-DXdgxFxa.js";
|
|
21
|
+
import { D as o2 } from "../../Divider-EGEkrkBH.js";
|
|
22
|
+
import { D as i2, a as s2 } from "../../DialogContent-zttWtNJM.js";
|
|
21
23
|
const l2 = r2(/* @__PURE__ */ e("path", {
|
|
22
24
|
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"
|
|
23
25
|
}), "Person");
|
|
24
|
-
function n2(
|
|
25
|
-
return
|
|
26
|
+
function n2(a) {
|
|
27
|
+
return J("MuiAvatar", a);
|
|
26
28
|
}
|
|
27
|
-
|
|
28
|
-
const c2 = (
|
|
29
|
+
K("MuiAvatar", ["root", "colorDefault", "circular", "rounded", "square", "img", "fallback"]);
|
|
30
|
+
const c2 = (a) => {
|
|
29
31
|
const {
|
|
30
32
|
classes: o,
|
|
31
33
|
variant: n,
|
|
32
34
|
colorDefault: s
|
|
33
|
-
} =
|
|
35
|
+
} = a;
|
|
34
36
|
return t2({
|
|
35
37
|
root: ["root", n, s && "colorDefault"],
|
|
36
38
|
img: ["img"],
|
|
37
39
|
fallback: ["fallback"]
|
|
38
40
|
}, n2, o);
|
|
39
|
-
}, d2 =
|
|
41
|
+
}, d2 = R("div", {
|
|
40
42
|
name: "MuiAvatar",
|
|
41
43
|
slot: "Root",
|
|
42
|
-
overridesResolver: (
|
|
44
|
+
overridesResolver: (a, o) => {
|
|
43
45
|
const {
|
|
44
46
|
ownerState: n
|
|
45
|
-
} =
|
|
47
|
+
} = a;
|
|
46
48
|
return [o.root, o[n.variant], n.colorDefault && o.colorDefault];
|
|
47
49
|
}
|
|
48
|
-
})(
|
|
49
|
-
theme:
|
|
50
|
+
})(Q(({
|
|
51
|
+
theme: a
|
|
50
52
|
}) => ({
|
|
51
53
|
position: "relative",
|
|
52
54
|
display: "flex",
|
|
@@ -55,8 +57,8 @@ const c2 = (t) => {
|
|
|
55
57
|
flexShrink: 0,
|
|
56
58
|
width: 40,
|
|
57
59
|
height: 40,
|
|
58
|
-
fontFamily:
|
|
59
|
-
fontSize:
|
|
60
|
+
fontFamily: a.typography.fontFamily,
|
|
61
|
+
fontSize: a.typography.pxToRem(20),
|
|
60
62
|
lineHeight: 1,
|
|
61
63
|
borderRadius: "50%",
|
|
62
64
|
overflow: "hidden",
|
|
@@ -66,7 +68,7 @@ const c2 = (t) => {
|
|
|
66
68
|
variant: "rounded"
|
|
67
69
|
},
|
|
68
70
|
style: {
|
|
69
|
-
borderRadius: (
|
|
71
|
+
borderRadius: (a.vars || a).shape.borderRadius
|
|
70
72
|
}
|
|
71
73
|
}, {
|
|
72
74
|
props: {
|
|
@@ -80,21 +82,21 @@ const c2 = (t) => {
|
|
|
80
82
|
colorDefault: !0
|
|
81
83
|
},
|
|
82
84
|
style: {
|
|
83
|
-
color: (
|
|
84
|
-
...
|
|
85
|
-
backgroundColor:
|
|
85
|
+
color: (a.vars || a).palette.background.default,
|
|
86
|
+
...a.vars ? {
|
|
87
|
+
backgroundColor: a.vars.palette.Avatar.defaultBg
|
|
86
88
|
} : {
|
|
87
|
-
backgroundColor:
|
|
88
|
-
...
|
|
89
|
-
backgroundColor:
|
|
89
|
+
backgroundColor: a.palette.grey[400],
|
|
90
|
+
...a.applyStyles("dark", {
|
|
91
|
+
backgroundColor: a.palette.grey[600]
|
|
90
92
|
})
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
95
|
}]
|
|
94
|
-
}))), p2 =
|
|
96
|
+
}))), p2 = R("img", {
|
|
95
97
|
name: "MuiAvatar",
|
|
96
98
|
slot: "Img",
|
|
97
|
-
overridesResolver: (
|
|
99
|
+
overridesResolver: (a, o) => o.img
|
|
98
100
|
})({
|
|
99
101
|
width: "100%",
|
|
100
102
|
height: "100%",
|
|
@@ -105,75 +107,75 @@ const c2 = (t) => {
|
|
|
105
107
|
color: "transparent",
|
|
106
108
|
// Hide the image broken icon, only works on Chrome.
|
|
107
109
|
textIndent: 1e4
|
|
108
|
-
}), f2 =
|
|
110
|
+
}), f2 = R(l2, {
|
|
109
111
|
name: "MuiAvatar",
|
|
110
112
|
slot: "Fallback",
|
|
111
|
-
overridesResolver: (
|
|
113
|
+
overridesResolver: (a, o) => o.fallback
|
|
112
114
|
})({
|
|
113
115
|
width: "75%",
|
|
114
116
|
height: "75%"
|
|
115
117
|
});
|
|
116
118
|
function u2({
|
|
117
|
-
crossOrigin:
|
|
119
|
+
crossOrigin: a,
|
|
118
120
|
referrerPolicy: o,
|
|
119
121
|
src: n,
|
|
120
122
|
srcSet: s
|
|
121
123
|
}) {
|
|
122
|
-
const [m,
|
|
123
|
-
return
|
|
124
|
+
const [m, t] = A.useState(!1);
|
|
125
|
+
return A.useEffect(() => {
|
|
124
126
|
if (!n && !s)
|
|
125
127
|
return;
|
|
126
|
-
|
|
128
|
+
t(!1);
|
|
127
129
|
let d = !0;
|
|
128
130
|
const p = new Image();
|
|
129
131
|
return p.onload = () => {
|
|
130
|
-
d &&
|
|
132
|
+
d && t("loaded");
|
|
131
133
|
}, p.onerror = () => {
|
|
132
|
-
d &&
|
|
133
|
-
}, p.crossOrigin =
|
|
134
|
+
d && t("error");
|
|
135
|
+
}, p.crossOrigin = a, p.referrerPolicy = o, p.src = n, s && (p.srcset = s), () => {
|
|
134
136
|
d = !1;
|
|
135
137
|
};
|
|
136
|
-
}, [
|
|
138
|
+
}, [a, o, n, s]), m;
|
|
137
139
|
}
|
|
138
|
-
const
|
|
140
|
+
const G = /* @__PURE__ */ A.forwardRef(function(o, n) {
|
|
139
141
|
const s = $({
|
|
140
142
|
props: o,
|
|
141
143
|
name: "MuiAvatar"
|
|
142
144
|
}), {
|
|
143
145
|
alt: m,
|
|
144
|
-
children:
|
|
146
|
+
children: t,
|
|
145
147
|
className: d,
|
|
146
148
|
component: p = "div",
|
|
147
149
|
slots: L = {},
|
|
148
|
-
slotProps:
|
|
149
|
-
imgProps:
|
|
150
|
-
sizes:
|
|
150
|
+
slotProps: x = {},
|
|
151
|
+
imgProps: v,
|
|
152
|
+
sizes: _,
|
|
151
153
|
src: M,
|
|
152
154
|
srcSet: g,
|
|
153
155
|
variant: w = "circular",
|
|
154
156
|
...Z
|
|
155
157
|
} = s;
|
|
156
158
|
let C = null;
|
|
157
|
-
const
|
|
158
|
-
...
|
|
159
|
+
const B = u2({
|
|
160
|
+
...v,
|
|
159
161
|
src: M,
|
|
160
162
|
srcSet: g
|
|
161
|
-
}),
|
|
163
|
+
}), k = M || g, S = k && B !== "error", b = {
|
|
162
164
|
...s,
|
|
163
|
-
colorDefault: !
|
|
165
|
+
colorDefault: !S,
|
|
164
166
|
component: p,
|
|
165
167
|
variant: w
|
|
166
168
|
};
|
|
167
169
|
delete b.ownerState;
|
|
168
|
-
const
|
|
169
|
-
className:
|
|
170
|
+
const N = c2(b), [I, P] = a2("img", {
|
|
171
|
+
className: N.img,
|
|
170
172
|
elementType: p2,
|
|
171
173
|
externalForwardedProps: {
|
|
172
174
|
slots: L,
|
|
173
175
|
slotProps: {
|
|
174
176
|
img: {
|
|
175
|
-
...
|
|
176
|
-
...
|
|
177
|
+
...v,
|
|
178
|
+
...x.img
|
|
177
179
|
}
|
|
178
180
|
}
|
|
179
181
|
},
|
|
@@ -181,25 +183,25 @@ const A = /* @__PURE__ */ T.forwardRef(function(o, n) {
|
|
|
181
183
|
alt: m,
|
|
182
184
|
src: M,
|
|
183
185
|
srcSet: g,
|
|
184
|
-
sizes:
|
|
186
|
+
sizes: _
|
|
185
187
|
},
|
|
186
188
|
ownerState: b
|
|
187
189
|
});
|
|
188
|
-
return
|
|
189
|
-
...
|
|
190
|
-
}) :
|
|
190
|
+
return S ? C = /* @__PURE__ */ e(I, {
|
|
191
|
+
...P
|
|
192
|
+
}) : t || t === 0 ? C = t : k && m ? C = m[0] : C = /* @__PURE__ */ e(f2, {
|
|
191
193
|
ownerState: b,
|
|
192
|
-
className:
|
|
194
|
+
className: N.fallback
|
|
193
195
|
}), /* @__PURE__ */ e(d2, {
|
|
194
196
|
as: p,
|
|
195
|
-
className: e2(
|
|
197
|
+
className: e2(N.root, d),
|
|
196
198
|
ref: n,
|
|
197
199
|
...Z,
|
|
198
200
|
ownerState: b,
|
|
199
201
|
children: C
|
|
200
202
|
});
|
|
201
203
|
});
|
|
202
|
-
process.env.NODE_ENV !== "production" && (
|
|
204
|
+
process.env.NODE_ENV !== "production" && (G.propTypes = {
|
|
203
205
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
204
206
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
205
207
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -208,102 +210,93 @@ process.env.NODE_ENV !== "production" && (A.propTypes = {
|
|
|
208
210
|
* Used in combination with `src` or `srcSet` to
|
|
209
211
|
* provide an alt attribute for the rendered `img` element.
|
|
210
212
|
*/
|
|
211
|
-
alt:
|
|
213
|
+
alt: r.string,
|
|
212
214
|
/**
|
|
213
215
|
* Used to render icon or text elements inside the Avatar if `src` is not set.
|
|
214
216
|
* This can be an element, or just a string.
|
|
215
217
|
*/
|
|
216
|
-
children:
|
|
218
|
+
children: r.node,
|
|
217
219
|
/**
|
|
218
220
|
* Override or extend the styles applied to the component.
|
|
219
221
|
*/
|
|
220
|
-
classes:
|
|
222
|
+
classes: r.object,
|
|
221
223
|
/**
|
|
222
224
|
* @ignore
|
|
223
225
|
*/
|
|
224
|
-
className:
|
|
226
|
+
className: r.string,
|
|
225
227
|
/**
|
|
226
228
|
* The component used for the root node.
|
|
227
229
|
* Either a string to use a HTML element or a component.
|
|
228
230
|
*/
|
|
229
|
-
component:
|
|
231
|
+
component: r.elementType,
|
|
230
232
|
/**
|
|
231
233
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
|
|
232
234
|
* It can be used to listen for the loading error event.
|
|
233
235
|
*/
|
|
234
|
-
imgProps:
|
|
236
|
+
imgProps: r.object,
|
|
235
237
|
/**
|
|
236
238
|
* The `sizes` attribute for the `img` element.
|
|
237
239
|
*/
|
|
238
|
-
sizes:
|
|
240
|
+
sizes: r.string,
|
|
239
241
|
/**
|
|
240
242
|
* The props used for each slot inside.
|
|
241
243
|
* @default {}
|
|
242
244
|
*/
|
|
243
|
-
slotProps:
|
|
244
|
-
img:
|
|
245
|
+
slotProps: r.shape({
|
|
246
|
+
img: r.oneOfType([r.func, r.object])
|
|
245
247
|
}),
|
|
246
248
|
/**
|
|
247
249
|
* The components used for each slot inside.
|
|
248
250
|
* @default {}
|
|
249
251
|
*/
|
|
250
|
-
slots:
|
|
251
|
-
img:
|
|
252
|
+
slots: r.shape({
|
|
253
|
+
img: r.elementType
|
|
252
254
|
}),
|
|
253
255
|
/**
|
|
254
256
|
* The `src` attribute for the `img` element.
|
|
255
257
|
*/
|
|
256
|
-
src:
|
|
258
|
+
src: r.string,
|
|
257
259
|
/**
|
|
258
260
|
* The `srcSet` attribute for the `img` element.
|
|
259
261
|
* Use this attribute for responsive image display.
|
|
260
262
|
*/
|
|
261
|
-
srcSet:
|
|
263
|
+
srcSet: r.string,
|
|
262
264
|
/**
|
|
263
265
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
264
266
|
*/
|
|
265
|
-
sx:
|
|
267
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
|
|
266
268
|
/**
|
|
267
269
|
* The shape of the avatar.
|
|
268
270
|
* @default 'circular'
|
|
269
271
|
*/
|
|
270
|
-
variant:
|
|
272
|
+
variant: r.oneOfType([r.oneOf(["circular", "rounded", "square"]), r.string])
|
|
271
273
|
});
|
|
272
|
-
const m2 = () => ({
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
}),
|
|
277
|
-
|
|
278
|
-
}),
|
|
279
|
-
|
|
280
|
-
payload: t
|
|
281
|
-
}), y2 = "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", v2 = ({ gemsUrl: t, baseUrl: o }) => {
|
|
282
|
-
const n = O(), { showAlertMessage: s, snackBar: m } = q(), r = z(j), d = r.residentialAddress, p = r.referralCount, L = r.referral.code, _ = r.twitterInfo.screen_name, { error: y, message: x } = r.twitter, [M, g] = E(!1), [w, Z] = E("");
|
|
283
|
-
N(() => {
|
|
284
|
-
y && s({ message: y });
|
|
285
|
-
}, [y]), N(() => {
|
|
286
|
-
x && s({ message: x, type: "success" });
|
|
287
|
-
}, [x]), N(() => {
|
|
288
|
-
n(m2()), n(h2()), n(g2());
|
|
274
|
+
const m2 = "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", h2 = ({ gemsUrl: a, baseUrl: o }) => {
|
|
275
|
+
const n = H(), { showAlertMessage: s, snackBar: m } = q(), t = T(U), d = t.residentialAddress, p = t.referralCount, L = t.referral.code, x = t.twitterInfo.screen_name, { error: v, message: _ } = t.twitter, [M, g] = F(!1), [w, Z] = F("");
|
|
276
|
+
D(() => {
|
|
277
|
+
v && s({ message: v });
|
|
278
|
+
}, [v]), D(() => {
|
|
279
|
+
_ && s({ message: _, type: "success" });
|
|
280
|
+
}, [_]), D(() => {
|
|
281
|
+
n(O()), n(E()), n(z());
|
|
289
282
|
}, []);
|
|
290
283
|
const C = () => {
|
|
291
|
-
navigator.clipboard.writeText(
|
|
284
|
+
navigator.clipboard.writeText(a + "?referer=" + L), s({
|
|
292
285
|
message: "Gems Referral Link has been copied successfully.",
|
|
293
286
|
type: "success"
|
|
294
287
|
});
|
|
295
|
-
},
|
|
288
|
+
}, B = () => {
|
|
296
289
|
navigator.clipboard.writeText(o + "/r1/" + L), s({
|
|
297
290
|
message: "Verify Me Link has been copied successfully.",
|
|
298
291
|
type: "success"
|
|
299
292
|
});
|
|
300
|
-
},
|
|
293
|
+
}, k = () => {
|
|
301
294
|
navigator.clipboard.writeText(o + "/signup-referral/" + L), s({
|
|
302
295
|
message: "Referral Link has been copied successfully.",
|
|
303
296
|
type: "success"
|
|
304
297
|
});
|
|
305
298
|
};
|
|
306
|
-
return /* @__PURE__ */ i(
|
|
299
|
+
return /* @__PURE__ */ i(V, { children: [
|
|
307
300
|
m,
|
|
308
301
|
/* @__PURE__ */ e(u, { className: l.container, children: /* @__PURE__ */ i(c, { spacing: 2, container: !0, children: [
|
|
309
302
|
/* @__PURE__ */ e(c, { size: { md: 6, xs: 12 }, children: /* @__PURE__ */ i(u, { className: l["inner-container"], children: [
|
|
@@ -320,23 +313,23 @@ const m2 = () => ({
|
|
|
320
313
|
},
|
|
321
314
|
children: [
|
|
322
315
|
/* @__PURE__ */ e(
|
|
323
|
-
|
|
316
|
+
G,
|
|
324
317
|
{
|
|
325
318
|
sx: {
|
|
326
319
|
width: 50,
|
|
327
320
|
height: 50
|
|
328
321
|
},
|
|
329
322
|
alt: "User",
|
|
330
|
-
src: "data:image/jpeg;base64," +
|
|
323
|
+
src: "data:image/jpeg;base64," + t.photoThumbnail
|
|
331
324
|
}
|
|
332
325
|
),
|
|
333
326
|
/* @__PURE__ */ i(u, { ml: 1, children: [
|
|
334
327
|
/* @__PURE__ */ e(h, { variant: "body1", component: "span", children: /* @__PURE__ */ i("strong", { children: [
|
|
335
|
-
|
|
328
|
+
t.firstName,
|
|
336
329
|
" ",
|
|
337
|
-
|
|
330
|
+
t.lastName
|
|
338
331
|
] }) }),
|
|
339
|
-
|
|
332
|
+
x && /* @__PURE__ */ i(
|
|
340
333
|
h,
|
|
341
334
|
{
|
|
342
335
|
className: "primary-text-color",
|
|
@@ -344,7 +337,7 @@ const m2 = () => ({
|
|
|
344
337
|
component: "p",
|
|
345
338
|
children: [
|
|
346
339
|
"@",
|
|
347
|
-
|
|
340
|
+
x
|
|
348
341
|
]
|
|
349
342
|
}
|
|
350
343
|
)
|
|
@@ -363,16 +356,16 @@ const m2 = () => ({
|
|
|
363
356
|
size: { md: 6, xs: 12 },
|
|
364
357
|
children: /* @__PURE__ */ i(c, { container: !0, children: [
|
|
365
358
|
/* @__PURE__ */ e(c, { size: 6, children: /* @__PURE__ */ e(
|
|
366
|
-
|
|
359
|
+
y,
|
|
367
360
|
{
|
|
368
361
|
className: l["profile-feat-btn"],
|
|
369
362
|
variant: "contained",
|
|
370
|
-
onClick:
|
|
363
|
+
onClick: B,
|
|
371
364
|
children: "Verify Me Link"
|
|
372
365
|
}
|
|
373
366
|
) }),
|
|
374
|
-
|
|
375
|
-
|
|
367
|
+
x && /* @__PURE__ */ e(c, { size: 6, children: /* @__PURE__ */ e(
|
|
368
|
+
y,
|
|
376
369
|
{
|
|
377
370
|
className: l["profile-feat-btn"],
|
|
378
371
|
variant: "contained",
|
|
@@ -391,23 +384,23 @@ const m2 = () => ({
|
|
|
391
384
|
f,
|
|
392
385
|
{
|
|
393
386
|
label: "Full name",
|
|
394
|
-
value:
|
|
387
|
+
value: t.firstName + " " + t.lastName,
|
|
395
388
|
disabled: !0
|
|
396
389
|
}
|
|
397
390
|
),
|
|
398
|
-
|
|
391
|
+
t.gender && /* @__PURE__ */ e(
|
|
399
392
|
f,
|
|
400
393
|
{
|
|
401
394
|
label: "Gender",
|
|
402
|
-
value:
|
|
395
|
+
value: t.gender === "M" ? "Male" : "Female",
|
|
403
396
|
disabled: !0
|
|
404
397
|
}
|
|
405
398
|
),
|
|
406
|
-
|
|
399
|
+
t.email && /* @__PURE__ */ e(
|
|
407
400
|
f,
|
|
408
401
|
{
|
|
409
402
|
label: "Email",
|
|
410
|
-
value:
|
|
403
|
+
value: t.email,
|
|
411
404
|
disabled: !0
|
|
412
405
|
}
|
|
413
406
|
),
|
|
@@ -415,19 +408,19 @@ const m2 = () => ({
|
|
|
415
408
|
f,
|
|
416
409
|
{
|
|
417
410
|
label: "Phone",
|
|
418
|
-
value: "+" +
|
|
411
|
+
value: "+" + t.countryCode + " " + t.phoneNumber,
|
|
419
412
|
disabled: !0
|
|
420
413
|
}
|
|
421
414
|
),
|
|
422
|
-
|
|
415
|
+
t.birthday && /* @__PURE__ */ e(
|
|
423
416
|
f,
|
|
424
417
|
{
|
|
425
418
|
label: "Birthday",
|
|
426
|
-
value:
|
|
419
|
+
value: t.birthDate,
|
|
427
420
|
disabled: !0
|
|
428
421
|
}
|
|
429
422
|
),
|
|
430
|
-
d.street && /* @__PURE__ */ i(
|
|
423
|
+
d.street && /* @__PURE__ */ i(V, { children: [
|
|
431
424
|
/* @__PURE__ */ e(
|
|
432
425
|
f,
|
|
433
426
|
{
|
|
@@ -483,23 +476,23 @@ const m2 = () => ({
|
|
|
483
476
|
/* @__PURE__ */ e(u, { p: 3, className: l["inner-container"], children: /* @__PURE__ */ e(
|
|
484
477
|
W,
|
|
485
478
|
{
|
|
486
|
-
identityDocs:
|
|
479
|
+
identityDocs: t.identityDocuments,
|
|
487
480
|
showAlertMessage: s
|
|
488
481
|
}
|
|
489
482
|
) }),
|
|
490
483
|
/* @__PURE__ */ e(u, { p: 3, mt: 2, className: l["inner-container"], children: /* @__PURE__ */ i(c, { spacing: 2, container: !0, children: [
|
|
491
484
|
/* @__PURE__ */ e(c, { size: 4, children: /* @__PURE__ */ e(h, { className: l.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Referrals" }) }) }),
|
|
492
485
|
/* @__PURE__ */ e(c, { className: "text-right", size: 4, children: /* @__PURE__ */ e(
|
|
493
|
-
|
|
486
|
+
y,
|
|
494
487
|
{
|
|
495
488
|
className: l["ref-btn"],
|
|
496
489
|
variant: "contained",
|
|
497
|
-
onClick:
|
|
490
|
+
onClick: k,
|
|
498
491
|
children: "Sign-up Referral Link"
|
|
499
492
|
}
|
|
500
493
|
) }),
|
|
501
494
|
/* @__PURE__ */ e(c, { className: "text-right", size: 4, children: /* @__PURE__ */ e(
|
|
502
|
-
|
|
495
|
+
y,
|
|
503
496
|
{
|
|
504
497
|
className: l["ref-btn"],
|
|
505
498
|
variant: "contained",
|
|
@@ -528,7 +521,7 @@ const m2 = () => ({
|
|
|
528
521
|
className: l["dialog-container"],
|
|
529
522
|
sx: { padding: "0px 40px" },
|
|
530
523
|
children: [
|
|
531
|
-
/* @__PURE__ */ e("img", { src:
|
|
524
|
+
/* @__PURE__ */ e("img", { src: m2, alt: "icon" }),
|
|
532
525
|
/* @__PURE__ */ e(h, { className: l["confirm-dialog-title"], children: "Post to X.com" }),
|
|
533
526
|
/* @__PURE__ */ e(h, { 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)." }),
|
|
534
527
|
/* @__PURE__ */ i("div", { className: l["tweet-text-parent"], children: [
|
|
@@ -542,20 +535,20 @@ const m2 = () => ({
|
|
|
542
535
|
{
|
|
543
536
|
value: w,
|
|
544
537
|
maxLength: 120,
|
|
545
|
-
onChange: (
|
|
538
|
+
onChange: (S) => Z(S.target.value),
|
|
546
539
|
className: l["tweet-text-area"],
|
|
547
540
|
placeholder: "Personal message to include in tweet (optional)",
|
|
548
541
|
autoFocus: !0
|
|
549
542
|
}
|
|
550
543
|
)
|
|
551
544
|
] }),
|
|
552
|
-
/* @__PURE__ */ e("img", { height: "275", src:
|
|
545
|
+
/* @__PURE__ */ e("img", { height: "275", src: X + "/twitter-update.png" }),
|
|
553
546
|
/* @__PURE__ */ e(
|
|
554
|
-
|
|
547
|
+
y,
|
|
555
548
|
{
|
|
556
549
|
onClick: () => {
|
|
557
550
|
n(
|
|
558
|
-
|
|
551
|
+
j({
|
|
559
552
|
share_opt: !0,
|
|
560
553
|
tweet_text: w
|
|
561
554
|
})
|
|
@@ -568,7 +561,7 @@ const m2 = () => ({
|
|
|
568
561
|
}
|
|
569
562
|
),
|
|
570
563
|
/* @__PURE__ */ e(
|
|
571
|
-
|
|
564
|
+
y,
|
|
572
565
|
{
|
|
573
566
|
onClick: () => {
|
|
574
567
|
g(!1);
|
|
@@ -586,7 +579,7 @@ const m2 = () => ({
|
|
|
586
579
|
}
|
|
587
580
|
)
|
|
588
581
|
] });
|
|
589
|
-
}, I2 =
|
|
582
|
+
}, I2 = Y(h2);
|
|
590
583
|
export {
|
|
591
584
|
I2 as default
|
|
592
585
|
};
|