@matchain/matchid-sdk-react 0.1.42-alpha.11 → 0.1.42-alpha.13

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 (41) hide show
  1. package/dist/assets/icon/index.d.mts +1 -1
  2. package/dist/assets/icon/index.d.ts +1 -1
  3. package/dist/{chunk-HJ337PTX.mjs → chunk-EZHR56PJ.mjs} +316 -232
  4. package/dist/chunk-EZHR56PJ.mjs.map +1 -0
  5. package/dist/{chunk-PBNKRURB.mjs → chunk-FNCYUW2N.mjs} +2 -2
  6. package/dist/components/index.d.mts +2 -2
  7. package/dist/components/index.d.ts +2 -2
  8. package/dist/components/index.js +303 -230
  9. package/dist/components/index.js.map +1 -1
  10. package/dist/components/index.mjs +6 -4
  11. package/dist/hooks/api/index.d.mts +2 -2
  12. package/dist/hooks/api/index.d.ts +2 -2
  13. package/dist/hooks/api/index.js +52 -30
  14. package/dist/hooks/api/index.js.map +1 -1
  15. package/dist/hooks/api/index.mjs +3 -3
  16. package/dist/hooks/index.d.mts +2 -2
  17. package/dist/hooks/index.d.ts +2 -2
  18. package/dist/hooks/index.js +78 -46
  19. package/dist/hooks/index.js.map +1 -1
  20. package/dist/hooks/index.mjs +2 -2
  21. package/dist/{index-BxS06a5O.d.ts → index-B1MrvbwC.d.ts} +1 -1
  22. package/dist/{index-Ca9nh_8s.d.ts → index-Bm1VurYT.d.ts} +1 -1
  23. package/dist/{index-DFZpfAfc.d.mts → index-Bmq8JOtv.d.mts} +1 -1
  24. package/dist/{index-CmH9iRLd.d.mts → index-Cf6kfHOs.d.mts} +10 -3
  25. package/dist/{index-q5XDobUF.d.mts → index-DEwNjx57.d.mts} +1 -1
  26. package/dist/{index-DY_ReBra.d.ts → index-FtmjKzbF.d.ts} +10 -3
  27. package/dist/{index-Bhnio7tx.d.ts → index-oiyw9mSV.d.ts} +7 -3
  28. package/dist/{index-B2B4VJ-u.d.mts → index-vnxEmUFX.d.mts} +7 -3
  29. package/dist/index.d.mts +5 -5
  30. package/dist/index.d.ts +5 -5
  31. package/dist/index.js +372 -289
  32. package/dist/index.js.map +1 -1
  33. package/dist/index.mjs +6 -6
  34. package/dist/types/index.d.mts +1 -1
  35. package/dist/types/index.d.ts +1 -1
  36. package/dist/{types-CVwZEgQ0.d.mts → types-DHfZWETj.d.mts} +1 -1
  37. package/dist/{types-CVwZEgQ0.d.ts → types-DHfZWETj.d.ts} +1 -1
  38. package/example/src/config/index.ts +1 -0
  39. package/package.json +1 -1
  40. package/dist/chunk-HJ337PTX.mjs.map +0 -1
  41. /package/dist/{chunk-PBNKRURB.mjs.map → chunk-FNCYUW2N.mjs.map} +0 -0
@@ -47,7 +47,8 @@ __export(components_exports, {
47
47
  SOLModal: () => SOLModal,
48
48
  TONModal: () => TONModal,
49
49
  TRONModal: () => TRONModal,
50
- UsernameModal: () => UsernameModal
50
+ UsernameModal: () => UsernameModal,
51
+ WalletModal: () => WalletModal
51
52
  });
52
53
  module.exports = __toCommonJS(components_exports);
53
54
 
@@ -1669,6 +1670,50 @@ var import_viem3 = require("viem");
1669
1670
 
1670
1671
  // src/store/useModalStore.ts
1671
1672
  var import_zustand3 = require("zustand");
1673
+
1674
+ // src/hooks/useConfig.tsx
1675
+ var import_jsx_runtime50 = require("react/jsx-runtime");
1676
+ var DEFAULT_WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
1677
+ function useWalletConfig() {
1678
+ const isDownMd = useDownMd();
1679
+ const walletMap = {
1680
+ evm: {
1681
+ icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
1682
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
1683
+ name: "EVM",
1684
+ method: "evm"
1685
+ },
1686
+ sol: {
1687
+ icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
1688
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
1689
+ name: "SOL",
1690
+ method: "sol"
1691
+ },
1692
+ btc: {
1693
+ icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
1694
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
1695
+ name: "BTC",
1696
+ method: "btc"
1697
+ },
1698
+ tron: {
1699
+ icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TRXDarkIcon, { size: isDownMd ? 36 : 40 }),
1700
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TRXLightIcon, { size: isDownMd ? 36 : 40 }),
1701
+ name: "TRON",
1702
+ method: "tron"
1703
+ },
1704
+ ton: {
1705
+ icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TonLightIcon, { size: isDownMd ? 36 : 40 }),
1706
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TonLightIcon2, { size: isDownMd ? 36 : 40 }),
1707
+ name: "TON",
1708
+ method: "ton"
1709
+ }
1710
+ };
1711
+ return {
1712
+ walletMap
1713
+ };
1714
+ }
1715
+
1716
+ // src/store/useModalStore.ts
1672
1717
  var useSOLModalStore = (0, import_zustand3.create)((set) => ({
1673
1718
  isOpen: false,
1674
1719
  type: "",
@@ -1710,6 +1755,13 @@ var useHashPanelStore = (0, import_zustand3.create)((set) => ({
1710
1755
  }),
1711
1756
  close: () => set({ isOpen: false })
1712
1757
  }));
1758
+ var useWalletModalStore = (0, import_zustand3.create)((set) => ({
1759
+ isOpen: false,
1760
+ type: "",
1761
+ methods: [],
1762
+ open: (type, methods = DEFAULT_WALLET_METHODS) => set({ isOpen: true, type, methods }),
1763
+ close: () => set({ isOpen: false })
1764
+ }));
1713
1765
 
1714
1766
  // src/hooks/useWallet.tsx
1715
1767
  var AppClientId = "react-sdk-" + getVersion();
@@ -1895,24 +1947,35 @@ function useWallet() {
1895
1947
  const chainId = chain ? chain.id : await obj.getChainId();
1896
1948
  const _chain = chain || obj.chain;
1897
1949
  const transactionId = Date.now().toString() + Math.random().toString().slice(6);
1898
- const sendPrepareTransactionRequest = async () => {
1899
- const { chain: chain2, account, ...prepareTransactionRequest } = await obj.prepareTransactionRequest(transaction);
1900
- window.matchProvider.sendWalletMessage({
1901
- method: "prepareTransactionRequest",
1902
- data: {
1903
- prepareTransactionRequest,
1904
- transactionId
1950
+ let interval = setInterval(() => {
1951
+ const sendPrepareTransactionRequest = async () => {
1952
+ try {
1953
+ const {
1954
+ chain: chain2,
1955
+ account,
1956
+ ...prepareTransactionRequest
1957
+ // @ts-ignore
1958
+ } = await obj.prepareTransactionRequest(transaction);
1959
+ window.matchProvider.sendWalletMessage({
1960
+ method: "prepareTransactionRequest",
1961
+ data: {
1962
+ prepareTransactionRequest,
1963
+ transactionId
1964
+ }
1965
+ });
1966
+ } catch (error) {
1967
+ console.error(error);
1905
1968
  }
1906
- });
1907
- };
1908
- let interval = null;
1909
- const timer = setTimeout(() => {
1969
+ };
1910
1970
  sendPrepareTransactionRequest();
1911
- interval = setInterval(() => {
1912
- sendPrepareTransactionRequest();
1913
- }, 1e4);
1914
- }, 1500);
1971
+ }, 1e4);
1915
1972
  try {
1973
+ const {
1974
+ chain: chain2,
1975
+ account,
1976
+ ...prepareTransactionRequest
1977
+ // @ts-ignore
1978
+ } = await obj.prepareTransactionRequest(transaction);
1916
1979
  const { serializedTransaction } = await window.matchProvider.waitUntilWalletMessage({
1917
1980
  method: "sendTransaction",
1918
1981
  data: {
@@ -1925,7 +1988,8 @@ function useWallet() {
1925
1988
  id: chainId,
1926
1989
  name: _chain?.name,
1927
1990
  nativeCurrency: _chain?.nativeCurrency
1928
- }
1991
+ },
1992
+ prepareTransactionRequest
1929
1993
  }
1930
1994
  });
1931
1995
  openHashPanel();
@@ -1936,12 +2000,10 @@ function useWallet() {
1936
2000
  hash: txHash,
1937
2001
  chain: _chain
1938
2002
  });
1939
- clearTimeout(timer);
1940
2003
  clearInterval(interval);
1941
2004
  resolve(txHash);
1942
2005
  } catch (error) {
1943
2006
  console.error("qwe-sign-error", error);
1944
- clearTimeout(timer);
1945
2007
  clearInterval(interval);
1946
2008
  reject(error);
1947
2009
  }
@@ -2007,7 +2069,7 @@ function useCopyClipboard(timeout = 500) {
2007
2069
 
2008
2070
  // src/components/PasswordModal/index.tsx
2009
2071
  var import_react_intl2 = require("react-intl");
2010
- var import_jsx_runtime50 = require("react/jsx-runtime");
2072
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2011
2073
  function PasswordModal({
2012
2074
  title,
2013
2075
  isOpen,
@@ -2067,15 +2129,15 @@ function PasswordModal({
2067
2129
  setIsSubmitting(false);
2068
2130
  }
2069
2131
  };
2070
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
2132
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
2071
2133
  id: "passwordTitle"
2072
- }), children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-password-box", children: [
2073
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-password-header", children: [
2074
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(PasswordRoundIcon, {}) }),
2075
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_intl2.FormattedMessage, { id: "passwordTips" }) })
2134
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-password-box", children: [
2135
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-password-header", children: [
2136
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(PasswordRoundIcon, {}) }),
2137
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_intl2.FormattedMessage, { id: "passwordTips" }) })
2076
2138
  ] }),
2077
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-password-content", children: [
2078
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 && passwordError, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2139
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-password-content", children: [
2140
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 && passwordError, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2079
2141
  Input,
2080
2142
  {
2081
2143
  placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
@@ -2085,9 +2147,9 @@ function PasswordModal({
2085
2147
  value: password
2086
2148
  }
2087
2149
  ) }),
2088
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Field, { label: intl.formatMessage({
2150
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Field, { label: intl.formatMessage({
2089
2151
  id: "rePassword"
2090
- }), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2152
+ }), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2091
2153
  Input,
2092
2154
  {
2093
2155
  placeholder: intl.formatMessage({
@@ -2100,7 +2162,7 @@ function PasswordModal({
2100
2162
  }
2101
2163
  ) })
2102
2164
  ] }),
2103
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2165
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2104
2166
  Button,
2105
2167
  {
2106
2168
  disabled: password.length == 0 || !!passwordError || !!rePasswordError,
@@ -2109,7 +2171,7 @@ function PasswordModal({
2109
2171
  size: "lg",
2110
2172
  onClick: onContinue,
2111
2173
  loading: isSubmitting,
2112
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_intl2.FormattedMessage, { id: "continue" })
2174
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_intl2.FormattedMessage, { id: "continue" })
2113
2175
  }
2114
2176
  )
2115
2177
  ] }) });
@@ -2118,12 +2180,12 @@ function PasswordModal({
2118
2180
  // src/components/RecoveryModal/index.tsx
2119
2181
  var import_react9 = require("react");
2120
2182
  var import_react_intl3 = require("react-intl");
2121
- var import_jsx_runtime51 = require("react/jsx-runtime");
2183
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2122
2184
 
2123
2185
  // src/components/CEXBindModal/index.tsx
2124
2186
  var import_react10 = require("react");
2125
2187
  var import_react_intl4 = require("react-intl");
2126
- var import_jsx_runtime52 = require("react/jsx-runtime");
2188
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2127
2189
 
2128
2190
  // src/components/HashPanel/index.tsx
2129
2191
  var import_viem4 = require("viem");
@@ -2131,19 +2193,19 @@ var import_react11 = require("react");
2131
2193
  var import_react_query = require("@tanstack/react-query");
2132
2194
 
2133
2195
  // src/components/Drawer/index.tsx
2134
- var import_jsx_runtime53 = require("react/jsx-runtime");
2196
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2135
2197
 
2136
2198
  // src/components/ModalDrawer/index.tsx
2137
- var import_jsx_runtime54 = require("react/jsx-runtime");
2199
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2138
2200
 
2139
2201
  // src/components/HashPanel/index.tsx
2140
- var import_jsx_runtime55 = require("react/jsx-runtime");
2202
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2141
2203
 
2142
2204
  // src/context/BusinessProvider.tsx
2143
- var import_jsx_runtime56 = require("react/jsx-runtime");
2205
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2144
2206
 
2145
2207
  // src/context/index.tsx
2146
- var import_jsx_runtime57 = (
2208
+ var import_jsx_runtime58 = (
2147
2209
  // <MpcWalletProvider>
2148
2210
  require("react/jsx-runtime")
2149
2211
  );
@@ -2158,7 +2220,7 @@ var import_react14 = require("react");
2158
2220
  // src/MatchContext.tsx
2159
2221
  var import_react_query2 = require("@tanstack/react-query");
2160
2222
  var import_react_intl5 = require("react-intl");
2161
- var import_jsx_runtime58 = require("react/jsx-runtime");
2223
+ var import_jsx_runtime59 = require("react/jsx-runtime");
2162
2224
  var queryClient = new import_react_query2.QueryClient();
2163
2225
  var MatchContext = (0, import_react15.createContext)(void 0);
2164
2226
  var useMatch = () => {
@@ -2189,6 +2251,7 @@ function useUserInfo() {
2189
2251
  const { open: TONOpen } = useTONModalStore();
2190
2252
  const { open: BTCOpen } = useBTCModalStore();
2191
2253
  const { open: CEXBindOpen } = useCEXBindModalStore();
2254
+ const walletModalStore = useWalletModalStore();
2192
2255
  const isLogin = (0, import_react16.useMemo)(() => !!token && !!overview, [token, overview]);
2193
2256
  const logout = async () => {
2194
2257
  try {
@@ -2227,8 +2290,10 @@ function useUserInfo() {
2227
2290
  "width=800,height=600"
2228
2291
  );
2229
2292
  };
2230
- const loginMethod = async (method) => {
2293
+ const loginMethod = async (method, extra) => {
2231
2294
  switch (method) {
2295
+ case "wallet":
2296
+ return walletModalStore.open("login", extra?.methods);
2232
2297
  case "evm":
2233
2298
  return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
2234
2299
  case "sol":
@@ -2317,11 +2382,13 @@ function useUserInfo() {
2317
2382
  }
2318
2383
  throw new Error(res.message);
2319
2384
  };
2320
- const bind = async (method) => {
2385
+ const bind = async (method, extra) => {
2321
2386
  if (!token) {
2322
2387
  throw new Error("You must login first");
2323
2388
  }
2324
2389
  switch (method) {
2390
+ case "wallet":
2391
+ return walletModalStore.open("bind", extra?.methods);
2325
2392
  case "evm":
2326
2393
  return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
2327
2394
  case "sol":
@@ -2431,7 +2498,7 @@ var EMAIL_CODE_LENGTH = 6;
2431
2498
 
2432
2499
  // src/components/EmailModal/StepVerify.tsx
2433
2500
  var import_react_intl6 = require("react-intl");
2434
- var import_jsx_runtime59 = require("react/jsx-runtime");
2501
+ var import_jsx_runtime60 = require("react/jsx-runtime");
2435
2502
  function StepVerify(props) {
2436
2503
  const intl = (0, import_react_intl6.useIntl)();
2437
2504
  const { getLoginEmailCode, loginByEmail } = useUserInfo();
@@ -2508,17 +2575,17 @@ function StepVerify(props) {
2508
2575
  setSubmitting(false);
2509
2576
  }
2510
2577
  };
2511
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-email-verify-box", children: [
2512
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-email-verify-header", children: [
2513
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
2514
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
2515
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
2516
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_intl6.FormattedMessage, { id: "sendEmailTips" }) })
2578
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "matchid-email-verify-box", children: [
2579
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "matchid-email-verify-header", children: [
2580
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
2581
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
2582
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
2583
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react_intl6.FormattedMessage, { id: "sendEmailTips" }) })
2517
2584
  ] })
2518
2585
  ] }),
2519
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Field, { label: intl.formatMessage({
2586
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Field, { label: intl.formatMessage({
2520
2587
  id: "verificationCode"
2521
- }), error, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2588
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2522
2589
  Input,
2523
2590
  {
2524
2591
  placeholder: intl.formatMessage({
@@ -2528,7 +2595,7 @@ function StepVerify(props) {
2528
2595
  maxLength: codeLength,
2529
2596
  onChange: (e) => setCode(e.target.value),
2530
2597
  value: code,
2531
- after: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2598
+ after: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2532
2599
  Button,
2533
2600
  {
2534
2601
  highlight: true,
@@ -2547,13 +2614,13 @@ function StepVerify(props) {
2547
2614
  )
2548
2615
  }
2549
2616
  ) }),
2550
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_intl6.FormattedMessage, { id: "continue" }) })
2617
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react_intl6.FormattedMessage, { id: "continue" }) })
2551
2618
  ] });
2552
2619
  }
2553
2620
 
2554
2621
  // src/components/EmailModal/index.tsx
2555
2622
  var import_react_intl7 = require("react-intl");
2556
- var import_jsx_runtime60 = require("react/jsx-runtime");
2623
+ var import_jsx_runtime61 = require("react/jsx-runtime");
2557
2624
  function EmailModal({
2558
2625
  isOpen = false,
2559
2626
  width = 480,
@@ -2570,7 +2637,7 @@ function EmailModal({
2570
2637
  setEmailVal("");
2571
2638
  }
2572
2639
  }, [isOpen]);
2573
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2640
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2574
2641
  ModalWithHeader,
2575
2642
  {
2576
2643
  isOpen,
@@ -2580,17 +2647,17 @@ function EmailModal({
2580
2647
  id: "email"
2581
2648
  }),
2582
2649
  onBack: step == "verify" ? () => setStep("input") : onBack,
2583
- children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
2650
+ children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
2584
2651
  setEmailVal(email);
2585
2652
  setStep("verify");
2586
- } }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
2653
+ } }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
2587
2654
  }
2588
2655
  );
2589
2656
  }
2590
2657
 
2591
2658
  // src/components/Popover/index.tsx
2592
2659
  var import_react19 = require("react");
2593
- var import_jsx_runtime61 = require("react/jsx-runtime");
2660
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2594
2661
  function Popover({
2595
2662
  children,
2596
2663
  content,
@@ -2600,7 +2667,7 @@ function Popover({
2600
2667
  gap = "20px"
2601
2668
  }) {
2602
2669
  const [active, setActive] = (0, import_react19.useState)(false);
2603
- return children && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
2670
+ return children && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2604
2671
  "div",
2605
2672
  {
2606
2673
  onClick: () => {
@@ -2611,9 +2678,9 @@ function Popover({
2611
2678
  className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
2612
2679
  children: [
2613
2680
  children,
2614
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { style: {
2681
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { style: {
2615
2682
  paddingTop: gap
2616
- }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: `matchid-popover-content`, children: content }) })
2683
+ }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: `matchid-popover-content`, children: content }) })
2617
2684
  ]
2618
2685
  }
2619
2686
  );
@@ -2622,7 +2689,7 @@ function Popover({
2622
2689
  // src/components/LoginBox/index.tsx
2623
2690
  var import_react20 = require("react");
2624
2691
  var import_react_intl8 = require("react-intl");
2625
- var import_jsx_runtime62 = require("react/jsx-runtime");
2692
+ var import_jsx_runtime63 = require("react/jsx-runtime");
2626
2693
  var RecommendItem = ({
2627
2694
  icon,
2628
2695
  name,
@@ -2631,20 +2698,20 @@ var RecommendItem = ({
2631
2698
  children,
2632
2699
  footer
2633
2700
  }) => {
2634
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-login-recommend-method", children: [
2635
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
2636
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
2637
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
2638
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
2701
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-recommend-method", children: [
2702
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
2703
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
2704
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
2705
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
2639
2706
  ] }),
2640
- footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2707
+ footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2641
2708
  ArrowDownIcon,
2642
2709
  {
2643
2710
  className: `matchid-login-recommend-method-arrow ${showChildren ? "matchid-login-recommend-method-arrow-active" : ""}`,
2644
2711
  size: 20,
2645
2712
  color: "var(--matchid-arrow-color)"
2646
2713
  }
2647
- ) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2714
+ ) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2648
2715
  ArrowRightIcon,
2649
2716
  {
2650
2717
  className: "matchid-login-recommend-method-arrow",
@@ -2653,7 +2720,7 @@ var RecommendItem = ({
2653
2720
  }
2654
2721
  )
2655
2722
  ] }),
2656
- children && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2723
+ children && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2657
2724
  "div",
2658
2725
  {
2659
2726
  className: `matchid-login-recommend-method-popover ${showChildren ? "matchid-login-recommend-method-popover-active" : ""}`,
@@ -2675,7 +2742,7 @@ function LoginBox({
2675
2742
  "linkedin",
2676
2743
  "discord"
2677
2744
  ],
2678
- walletMethods = ["evm", "sol", "btc", "tron", "ton"],
2745
+ walletMethods = DEFAULT_WALLET_METHODS,
2679
2746
  inModal = false
2680
2747
  }) {
2681
2748
  const [emailOpen, setEmailOpen] = (0, import_react20.useState)(false);
@@ -2685,121 +2752,92 @@ function LoginBox({
2685
2752
  const isDownMd = useDownMd();
2686
2753
  const methodMap = {
2687
2754
  wallet: {
2688
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
2755
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
2689
2756
  name: intl.formatMessage({ id: "wallet" }),
2690
2757
  onClick: () => setShowWallet(!showWallet),
2691
2758
  type: "wallet"
2692
2759
  },
2693
2760
  email: {
2694
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
2761
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
2695
2762
  name: intl.formatMessage({ id: "email" }),
2696
2763
  onClick: () => {
2697
2764
  setEmailOpen(true);
2698
2765
  }
2699
2766
  },
2700
2767
  google: {
2701
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
2768
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
2702
2769
  name: "Google",
2703
2770
  onClick: () => login("google")
2704
2771
  },
2705
2772
  twitter: {
2706
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
2773
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
2707
2774
  name: "X",
2708
2775
  onClick: () => login("twitter")
2709
2776
  },
2710
2777
  telegram: {
2711
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
2778
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
2712
2779
  name: "Telegram",
2713
2780
  onClick: () => login("telegram")
2714
2781
  },
2715
2782
  github: {
2716
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
2783
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
2717
2784
  name: "Github",
2718
2785
  onClick: () => login("github")
2719
2786
  },
2720
2787
  discord: {
2721
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
2788
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
2722
2789
  name: "Discord",
2723
2790
  onClick: () => login("discord")
2724
2791
  },
2725
2792
  linkedin: {
2726
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
2793
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
2727
2794
  name: "LinkedIn",
2728
2795
  onClick: () => login("linkedin")
2729
2796
  },
2730
2797
  facebook: {
2731
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
2798
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
2732
2799
  name: "Facebook",
2733
2800
  onClick: () => login("facebook")
2734
2801
  },
2735
2802
  youtube: {
2736
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
2803
+ icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
2737
2804
  name: "Youtube",
2738
2805
  onClick: () => login("youtube")
2739
2806
  }
2740
2807
  };
2741
- const walletMap = {
2742
- evm: {
2743
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
2744
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
2745
- name: "EVM",
2746
- onClick: () => login("evm")
2747
- },
2748
- sol: {
2749
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
2750
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
2751
- name: "SOL",
2752
- onClick: () => login("sol")
2753
- },
2754
- btc: {
2755
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
2756
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
2757
- name: "BTC",
2758
- onClick: () => login("btc")
2759
- },
2760
- tron: {
2761
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(TRXDarkIcon, { size: isDownMd ? 36 : 40 }),
2762
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(TRXLightIcon, { size: isDownMd ? 36 : 40 }),
2763
- name: "TRON",
2764
- onClick: () => login("tron")
2765
- },
2766
- ton: {
2767
- icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(TonLightIcon, { size: isDownMd ? 36 : 40 }),
2768
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(TonLightIcon2, { size: isDownMd ? 36 : 40 }),
2769
- name: "TON",
2770
- onClick: () => login("ton")
2771
- }
2772
- };
2773
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
2774
- (!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-login-box", children: [
2775
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-login-recommend-list", children: recommendMethods.map((m) => {
2776
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2808
+ const { walletMap } = useWalletConfig();
2809
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
2810
+ (!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-box", children: [
2811
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-list", children: recommendMethods.map((m) => {
2812
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2777
2813
  RecommendItem,
2778
2814
  {
2779
2815
  icon: methodMap[m]?.icon,
2780
2816
  name: methodMap[m]?.name,
2781
2817
  onClick: methodMap[m]?.onClick,
2782
2818
  showChildren: m == "wallet" && showWallet,
2783
- children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
2784
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
2785
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: walletMethods.map((n) => {
2819
+ children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
2820
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
2821
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: walletMethods.map((n) => {
2786
2822
  const m2 = walletMap[n];
2787
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2823
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
2788
2824
  "div",
2789
2825
  {
2790
2826
  className: "matchid-login-recommend-wallet-item",
2791
- onClick: m2.onClick,
2827
+ onClick: () => {
2828
+ login(m2.method);
2829
+ },
2792
2830
  children: [
2793
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
2794
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
2795
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2831
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
2832
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
2833
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2796
2834
  "div",
2797
2835
  {
2798
2836
  className: "matchid-login-recommend-wallet-item-hover-icon",
2799
2837
  children: m2.activeIcon
2800
2838
  }
2801
2839
  ),
2802
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2840
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2803
2841
  "span",
2804
2842
  {
2805
2843
  className: "matchid-login-recommend-wallet-item-name",
@@ -2807,7 +2845,7 @@ function LoginBox({
2807
2845
  }
2808
2846
  )
2809
2847
  ] }),
2810
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2848
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2811
2849
  ArrowRightIcon,
2812
2850
  {
2813
2851
  className: "matchid-login-recommend-wallet-item-arrow",
@@ -2825,10 +2863,10 @@ function LoginBox({
2825
2863
  m
2826
2864
  );
2827
2865
  }) }),
2828
- methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-login-other", children: [
2829
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_intl8.FormattedMessage, { id: "otherLoginMethods" }) }),
2830
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-login-method-box", children: methods.map((m) => {
2831
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2866
+ methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-other", children: [
2867
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_intl8.FormattedMessage, { id: "otherLoginMethods" }) }),
2868
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-method-box", children: methods.map((m) => {
2869
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2832
2870
  "div",
2833
2871
  {
2834
2872
  className: "matchid-login-method-item",
@@ -2841,7 +2879,7 @@ function LoginBox({
2841
2879
  }) })
2842
2880
  ] })
2843
2881
  ] }),
2844
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2882
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2845
2883
  EmailModal,
2846
2884
  {
2847
2885
  isOpen: emailOpen,
@@ -2861,40 +2899,40 @@ var import_react22 = require("react");
2861
2899
 
2862
2900
  // src/components/LoginPanel/index.tsx
2863
2901
  var import_react_intl9 = require("react-intl");
2864
- var import_jsx_runtime63 = require("react/jsx-runtime");
2902
+ var import_jsx_runtime64 = require("react/jsx-runtime");
2865
2903
  function LoginPanel({
2866
2904
  header,
2867
2905
  onClose,
2868
2906
  ...props
2869
2907
  }) {
2870
2908
  const isDownMd = useDownMd();
2871
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-panel", children: [
2872
- header ? header : /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-panel-header", children: [
2873
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
2874
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_intl9.FormattedMessage, { id: "loginTitle" }) }),
2875
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_intl9.FormattedMessage, { id: "loginTips" }) })
2909
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-login-panel", children: [
2910
+ header ? header : /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-login-panel-header", children: [
2911
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
2912
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react_intl9.FormattedMessage, { id: "loginTitle" }) }),
2913
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react_intl9.FormattedMessage, { id: "loginTips" }) })
2876
2914
  ] }),
2877
- onClose && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
2915
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
2878
2916
  ] }),
2879
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-panel-divide" }),
2880
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(LoginBox, { ...props }) })
2917
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-login-panel-divide" }),
2918
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(LoginBox, { ...props }) })
2881
2919
  ] });
2882
2920
  }
2883
2921
 
2884
2922
  // src/components/LoginModal/index.tsx
2885
- var import_jsx_runtime64 = require("react/jsx-runtime");
2923
+ var import_jsx_runtime65 = require("react/jsx-runtime");
2886
2924
  function LoginModal({
2887
2925
  isOpen = false,
2888
2926
  width = 480,
2889
2927
  ...props
2890
2928
  }) {
2891
2929
  const { isLogin } = useUserInfo();
2892
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
2930
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
2893
2931
  Modal,
2894
2932
  {
2895
2933
  isOpen: isOpen && !isLogin,
2896
2934
  width,
2897
- children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(LoginPanel, { ...props, inModal: true })
2935
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(LoginPanel, { ...props, inModal: true })
2898
2936
  }
2899
2937
  );
2900
2938
  }
@@ -2903,10 +2941,10 @@ function LoginModal({
2903
2941
  var import_react21 = require("react");
2904
2942
 
2905
2943
  // src/assets/icon/ProfileIcon.tsx
2906
- var import_jsx_runtime65 = require("react/jsx-runtime");
2944
+ var import_jsx_runtime66 = require("react/jsx-runtime");
2907
2945
  function ProfileIcon({ size = 24, color = "black", ...props }) {
2908
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2909
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
2946
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2947
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
2910
2948
  "path",
2911
2949
  {
2912
2950
  fillRule: "evenodd",
@@ -2915,7 +2953,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
2915
2953
  fill: color
2916
2954
  }
2917
2955
  ),
2918
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
2956
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
2919
2957
  "path",
2920
2958
  {
2921
2959
  fillRule: "evenodd",
@@ -2929,7 +2967,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
2929
2967
 
2930
2968
  // src/components/UserPopover/index.tsx
2931
2969
  var import_react_intl10 = require("react-intl");
2932
- var import_jsx_runtime66 = require("react/jsx-runtime");
2970
+ var import_jsx_runtime67 = require("react/jsx-runtime");
2933
2971
  function UserContent() {
2934
2972
  const { logout, address, username } = useUserInfo();
2935
2973
  const [logouting, setLogouting] = (0, import_react21.useState)(false);
@@ -2950,34 +2988,34 @@ function UserContent() {
2950
2988
  rightIcon,
2951
2989
  onClick
2952
2990
  }) => {
2953
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
2954
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
2991
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
2992
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
2955
2993
  icon,
2956
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-user-popover-item-text", children })
2994
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-user-popover-item-text", children })
2957
2995
  ] }),
2958
2996
  rightIcon
2959
2997
  ] });
2960
2998
  };
2961
2999
  const UserDivider = () => {
2962
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: `matchid-user-popover-divider` });
3000
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: `matchid-user-popover-divider` });
2963
3001
  };
2964
3002
  const [usernameOpen, setUsernameOpen] = (0, import_react21.useState)(false);
2965
3003
  const [copied, setCopied] = useCopyClipboard();
2966
3004
  const intl = (0, import_react_intl10.useIntl)();
2967
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "matchid-user-popover-content", children: [
2968
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "matchid-user-popover-list", children: [
2969
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(UserItem, { onClick: () => {
3005
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-user-popover-content", children: [
3006
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-user-popover-list", children: [
3007
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UserItem, { onClick: () => {
2970
3008
  setCopied(address);
2971
- }, icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CheckIcon, { size: 20, color: "#0ecb81" }) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CopyIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CheckIcon, { size: 20, color: "var(--icon-color)" }), children: truncateAddress(address) }),
2972
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(UserDivider, {}),
2973
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(UserItem, { onClick: () => {
3009
+ }, icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CheckIcon, { size: 20, color: "#0ecb81" }) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CopyIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CheckIcon, { size: 20, color: "var(--icon-color)" }), children: truncateAddress(address) }),
3010
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UserDivider, {}),
3011
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UserItem, { onClick: () => {
2974
3012
  setUsernameOpen(true);
2975
- }, icon: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
3013
+ }, icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
2976
3014
  id: "setUsername"
2977
3015
  }) })
2978
3016
  ] }),
2979
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_intl10.FormattedMessage, { id: "disconnect" }) }),
2980
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
3017
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl10.FormattedMessage, { id: "disconnect" }) }),
3018
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
2981
3019
  setUsernameOpen(false);
2982
3020
  }, onSuccess: () => {
2983
3021
  setUsernameOpen(false);
@@ -2988,12 +3026,12 @@ function UserPopover({
2988
3026
  children,
2989
3027
  ...props
2990
3028
  }) {
2991
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(UserContent, {}), children });
3029
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UserContent, {}), children });
2992
3030
  }
2993
3031
 
2994
3032
  // src/components/LoginButton/index.tsx
2995
3033
  var import_react_intl11 = require("react-intl");
2996
- var import_jsx_runtime67 = require("react/jsx-runtime");
3034
+ var import_jsx_runtime68 = require("react/jsx-runtime");
2997
3035
  function LoginButton({
2998
3036
  loginRender,
2999
3037
  methods,
@@ -3009,8 +3047,8 @@ function LoginButton({
3009
3047
  const { isLogin, username } = useUserInfo();
3010
3048
  const [loginOpen, setLoginOpen] = (0, import_react22.useState)(false);
3011
3049
  if (!isLogin) {
3012
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
3013
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3050
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
3051
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3014
3052
  LoginModal,
3015
3053
  {
3016
3054
  methods,
@@ -3020,15 +3058,15 @@ function LoginButton({
3020
3058
  onClose: () => setLoginOpen(false)
3021
3059
  }
3022
3060
  ),
3023
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
3024
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UnLoginIcon_default, {}),
3025
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl11.FormattedMessage, { id: "login" }) })
3061
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
3062
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(UnLoginIcon_default, {}),
3063
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_intl11.FormattedMessage, { id: "login" }) })
3026
3064
  ] })
3027
3065
  ] });
3028
3066
  }
3029
- return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_jsx_runtime67.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
3030
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(LoginIcon_default, {}),
3031
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
3067
+ return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_jsx_runtime68.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
3068
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(LoginIcon_default, {}),
3069
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
3032
3070
  id: "user"
3033
3071
  }) })
3034
3072
  ] }) });
@@ -3038,14 +3076,14 @@ function LoginButton({
3038
3076
  var import_react23 = require("react");
3039
3077
 
3040
3078
  // src/assets/icon/InfoRoundIcon.tsx
3041
- var import_jsx_runtime68 = require("react/jsx-runtime");
3079
+ var import_jsx_runtime69 = require("react/jsx-runtime");
3042
3080
  function InfoRoundIcon({
3043
3081
  size,
3044
3082
  color = "#6E6E6E",
3045
3083
  ...props
3046
3084
  }) {
3047
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
3048
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("g", { clipPath: "url(#clip0_418_7746)", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3085
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
3086
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("g", { clipPath: "url(#clip0_418_7746)", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3049
3087
  "path",
3050
3088
  {
3051
3089
  fillRule: "evenodd",
@@ -3054,21 +3092,21 @@ function InfoRoundIcon({
3054
3092
  fill: color
3055
3093
  }
3056
3094
  ) }),
3057
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("clipPath", { id: "clip0_418_7746", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
3095
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("clipPath", { id: "clip0_418_7746", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
3058
3096
  ] });
3059
3097
  }
3060
3098
 
3061
3099
  // src/components/UsernameModal/index.tsx
3062
3100
  var import_react_intl12 = require("react-intl");
3063
- var import_jsx_runtime69 = require("react/jsx-runtime");
3101
+ var import_jsx_runtime70 = require("react/jsx-runtime");
3064
3102
  var ValidItem = ({
3065
3103
  success = false,
3066
3104
  text
3067
3105
  }) => {
3068
3106
  const isDownMd = useDownMd();
3069
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
3070
- success ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(InfoRoundIcon, { size: isDownMd ? 12 : 16 }),
3071
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { children: text })
3107
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
3108
+ success ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(InfoRoundIcon, { size: isDownMd ? 12 : 16 }),
3109
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { children: text })
3072
3110
  ] });
3073
3111
  };
3074
3112
  function UsernameModal({
@@ -3116,12 +3154,12 @@ function UsernameModal({
3116
3154
  }
3117
3155
  };
3118
3156
  const intl = (0, import_react_intl12.useIntl)();
3119
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
3157
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
3120
3158
  id: username ? "editUsernameTitle" : "setUsernameTitle"
3121
- }), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-username-box", children: [
3122
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Field, { label: intl.formatMessage({
3159
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "matchid-username-box", children: [
3160
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Field, { label: intl.formatMessage({
3123
3161
  id: "username"
3124
- }), error, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3162
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3125
3163
  Input,
3126
3164
  {
3127
3165
  placeholder: intl.formatMessage({
@@ -3134,8 +3172,8 @@ function UsernameModal({
3134
3172
  value: val
3135
3173
  }
3136
3174
  ) }),
3137
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-valid", children: [
3138
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3175
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "matchid-valid", children: [
3176
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3139
3177
  ValidItem,
3140
3178
  {
3141
3179
  success: isValid,
@@ -3144,16 +3182,16 @@ function UsernameModal({
3144
3182
  })
3145
3183
  }
3146
3184
  ),
3147
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
3185
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
3148
3186
  id: "usernameLengthError"
3149
3187
  }) })
3150
3188
  ] }),
3151
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
3189
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
3152
3190
  marginTop: isDownMd ? "36px" : "64px"
3153
- }, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react_intl12.FormattedMessage, { id: "confirm" }) }),
3154
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Button, { style: {
3191
+ }, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_intl12.FormattedMessage, { id: "confirm" }) }),
3192
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Button, { style: {
3155
3193
  marginTop: isDownMd ? "12px" : "24px"
3156
- }, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react_intl12.FormattedMessage, { id: "cancel" }) })
3194
+ }, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_intl12.FormattedMessage, { id: "cancel" }) })
3157
3195
  ] }) });
3158
3196
  }
3159
3197
 
@@ -3187,7 +3225,7 @@ var walletConnectImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEA
3187
3225
  var walletSigningImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAABAsUlEQVR4Xu19CXQUx7X2vCUveS/vJdgx+yaJHQwI8G4wzWIbG2LLNrbxPgnY7CC0SyNpJBAIECAZAbLB8gAyKGGxiFnkGJwmz47xsU0mvyEWoGW0D0jgSeK88L84/7l/fS2V3GrNaDRCEiPpfud8p3qqu6tnpvt+favqVpXJxGAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYbYvCwkKlpKREvXDhglpQUKCKz+qlS5e0z8j3N5aXl6tXrlwJMf4OBoPRDD777LPg7Ozs0MOHD1NiYiLNnTuX7rzrDho5ejj179+f+vbt69ccNGgQBQQE0LBhw2jUqFE0ZswYun3sGBo3cQxNmDiexk+8XaTBIh1LwYLfbY/vcvsnTpyofUbqjXfeeSdNnjyZHnnkEXrxxRcpKSmJfvnLX9KuXb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unbtWuKuPz/Cpk2bMoYPH+7RCzBWDWQrLurvoLEhUX+ukdgvRwXKBwIp8uQkpChb5oG8v/326ydubSnxImjOxXdH3G+chyoCJjU1MfwLycnJhL56o7G7Ix4eiAAM3928giY3D4CeRsFg3jwa701LKO+7Mb85wvjhKRw6dEi9dOkSv/39DZ9++mlGUlKStsqMsc5ufGgkPQmAu4dLn+fpGGbXJDwODAvOysrq0LUJGT4A/bH5+flJcXFxWiuuSXcDjYatZ3NdiO7orjz9tZhdg3g5oLoBbxFrG+zbt88unq8AE8P/gTaBB6Y+QP/5Xz/UbqbRYJldj7jPraGnc9G1jHal6OhotPjbTYzOhUPvHlLnL/iZFg2IBh/jA+PpwTHul3MMGvObY2vaCHw9R3ZVGfObI85pzW9pzTnGPG9szTltRf39R5UQ3cqPPvqotlApRnhyi38nBKK6RH3N/M4776CbjyZMmEB9+/bVBnfIh83kRvkl5cPRUQbQXFuEJ/p6HX8WgNb8/rYiro0uXSwzh1GkmzIyKDs721xQUKB890QxOiUqKyuDEeCTkpISumvXLlq1ahU99NBDdP/99xNi/DFqcNiwYcxOSNw7EEFecNcR4+ErMcz7hRde0Gb22bNnz+nU1FRF/egjxfgcMboYzp8/H/zll1+qvz9/Xj3/1VfqVwYWFRWhu0e9cOGCto20sLBQo3gz8P4ust/Bk3kwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDN/x/wHjsXZ4EUApzgAAAABJRU5ErkJggg==";
3188
3226
 
3189
3227
  // src/components/WalletModalContent/index.tsx
3190
- var import_jsx_runtime70 = require("react/jsx-runtime");
3228
+ var import_jsx_runtime71 = require("react/jsx-runtime");
3191
3229
  function WalletModalContent({
3192
3230
  status,
3193
3231
  error,
@@ -3257,12 +3295,12 @@ function WalletModalContent({
3257
3295
  statusImage: walletConnectImage
3258
3296
  };
3259
3297
  }, [visible, connected, status, error, address]);
3260
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: `matchid-wallet-box`, children: [
3261
- /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: `matchid-wallet-content`, children: [
3262
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("img", { src: pageData.statusImage }),
3263
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: pageData.isError ? "text-[#F7585E]" : "", children: pageData.text })
3298
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: `matchid-wallet-box`, children: [
3299
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: `matchid-wallet-content`, children: [
3300
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("img", { src: pageData.statusImage }),
3301
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: pageData.isError ? "text-[#F7585E]" : "", children: pageData.text })
3264
3302
  ] }),
3265
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3303
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3266
3304
  Button,
3267
3305
  {
3268
3306
  block: true,
@@ -3277,7 +3315,7 @@ function WalletModalContent({
3277
3315
  }
3278
3316
 
3279
3317
  // src/components/SOLModal/index.tsx
3280
- var import_jsx_runtime71 = require("react/jsx-runtime");
3318
+ var import_jsx_runtime72 = require("react/jsx-runtime");
3281
3319
  function WalletContent({
3282
3320
  onSuccess,
3283
3321
  type
@@ -3359,7 +3397,7 @@ function WalletContent({
3359
3397
  statusRef.current = "";
3360
3398
  }
3361
3399
  };
3362
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3400
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3363
3401
  WalletModalContent,
3364
3402
  {
3365
3403
  connected: wallet.connected,
@@ -3420,14 +3458,14 @@ function SOLConnectModal({
3420
3458
  ...props
3421
3459
  }) {
3422
3460
  const intl = (0, import_react_intl13.useIntl)();
3423
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3461
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3424
3462
  id: type == "bind" ? "bindWith" : "loginWith"
3425
3463
  }, {
3426
3464
  name: "SOL"
3427
- }), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_wallet_adapter_react.ConnectionProvider, { endpoint: (0, import_web3.clusterApiUrl)("devnet"), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_wallet_adapter_react.WalletProvider, { wallets, autoConnect: true, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_wallet_adapter_react_ui.WalletModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(WalletContent, { onSuccess, type }) }) }) }) });
3465
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_wallet_adapter_react.ConnectionProvider, { endpoint: (0, import_web3.clusterApiUrl)("devnet"), children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_wallet_adapter_react.WalletProvider, { wallets, autoConnect: true, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_wallet_adapter_react_ui.WalletModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(WalletContent, { onSuccess, type }) }) }) }) });
3428
3466
  }
3429
3467
  function SOLModal(props) {
3430
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SOLConnectModal, { ...props });
3468
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SOLConnectModal, { ...props });
3431
3469
  }
3432
3470
 
3433
3471
  // src/components/TRONModal/index.tsx
@@ -3542,7 +3580,7 @@ var useTRONWallet = () => {
3542
3580
  };
3543
3581
 
3544
3582
  // src/components/TRONModal/index.tsx
3545
- var import_jsx_runtime72 = require("react/jsx-runtime");
3583
+ var import_jsx_runtime73 = require("react/jsx-runtime");
3546
3584
  function TRONConnectModal({
3547
3585
  type = "login",
3548
3586
  onSuccess,
@@ -3552,9 +3590,9 @@ function TRONConnectModal({
3552
3590
  const intl = (0, import_react_intl14.useIntl)();
3553
3591
  const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useTRONWallet();
3554
3592
  const iconMaps = {
3555
- tronlink: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
3556
- bitget: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
3557
- okx: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
3593
+ tronlink: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
3594
+ bitget: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
3595
+ okx: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
3558
3596
  };
3559
3597
  const { events, login } = useMatch();
3560
3598
  const [status, setStatus] = (0, import_react27.useState)("");
@@ -3646,11 +3684,11 @@ function TRONConnectModal({
3646
3684
  disconnect();
3647
3685
  }
3648
3686
  }, [props.isOpen]);
3649
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3687
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3650
3688
  id: type == "bind" ? "bindWith" : "loginWith"
3651
3689
  }, {
3652
3690
  name: "TRON"
3653
- }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3691
+ }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3654
3692
  WalletModalContent,
3655
3693
  {
3656
3694
  error,
@@ -3663,9 +3701,9 @@ function TRONConnectModal({
3663
3701
  setVisible: () => {
3664
3702
  }
3665
3703
  }
3666
- ) : /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "matchid-login-recommend-list", children: [
3704
+ ) : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "matchid-login-recommend-list", children: [
3667
3705
  installedWallets.map((wallet2) => {
3668
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3706
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3669
3707
  RecommendItem,
3670
3708
  {
3671
3709
  icon: iconMaps[wallet2.walletKey],
@@ -3678,14 +3716,14 @@ function TRONConnectModal({
3678
3716
  );
3679
3717
  }),
3680
3718
  wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
3681
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3719
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3682
3720
  RecommendItem,
3683
3721
  {
3684
3722
  icon: iconMaps[wallet2.walletKey],
3685
3723
  name: wallet2.name,
3686
3724
  onClick: () => {
3687
3725
  },
3688
- footer: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Button, { size: "sm", onClick: () => {
3726
+ footer: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Button, { size: "sm", onClick: () => {
3689
3727
  window.open(wallet2.website);
3690
3728
  }, children: "Install" })
3691
3729
  },
@@ -3695,14 +3733,14 @@ function TRONConnectModal({
3695
3733
  ] }) }) });
3696
3734
  }
3697
3735
  function TRONModal(props) {
3698
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(TRONConnectModal, { ...props, type: "" });
3736
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(TRONConnectModal, { ...props, type: "" });
3699
3737
  }
3700
3738
 
3701
3739
  // src/components/TONModal/index.tsx
3702
3740
  var import_react28 = __toESM(require("react"));
3703
3741
  var import_react_intl15 = require("react-intl");
3704
3742
  var import_ui_react = require("@tonconnect/ui-react");
3705
- var import_jsx_runtime73 = require("react/jsx-runtime");
3743
+ var import_jsx_runtime74 = require("react/jsx-runtime");
3706
3744
  function WalletContent2({
3707
3745
  onSuccess,
3708
3746
  type
@@ -3829,7 +3867,7 @@ function WalletContent2({
3829
3867
  }
3830
3868
  }
3831
3869
  }, [state]);
3832
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3870
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3833
3871
  WalletModalContent,
3834
3872
  {
3835
3873
  connected,
@@ -3863,20 +3901,20 @@ function TONConnectModal({
3863
3901
  const intl = (0, import_react_intl15.useIntl)();
3864
3902
  const { endpoints, appid } = useLocalStore_default();
3865
3903
  const manifestUrl = `${endpoints.back}api/v1/wallet/ton?appid=${appid}&url=` + encodeURIComponent(window.location.origin);
3866
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3904
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3867
3905
  id: type == "bind" ? "bindWith" : "loginWith"
3868
3906
  }, {
3869
3907
  name: "TON"
3870
- }), children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3908
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3871
3909
  import_ui_react.TonConnectUIProvider,
3872
3910
  {
3873
3911
  manifestUrl,
3874
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(WalletContent2, { onSuccess, type })
3912
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(WalletContent2, { onSuccess, type })
3875
3913
  }
3876
3914
  ) });
3877
3915
  }
3878
3916
  function TONModal(props) {
3879
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(TONConnectModal, { ...props });
3917
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(TONConnectModal, { ...props });
3880
3918
  }
3881
3919
 
3882
3920
  // src/components/BTCModal/index.tsx
@@ -4064,7 +4102,7 @@ var useBTCWallet = () => {
4064
4102
  };
4065
4103
 
4066
4104
  // src/components/BTCModal/index.tsx
4067
- var import_jsx_runtime74 = require("react/jsx-runtime");
4105
+ var import_jsx_runtime75 = require("react/jsx-runtime");
4068
4106
  function BTCConnectModal({
4069
4107
  type = "login",
4070
4108
  onSuccess,
@@ -4074,9 +4112,9 @@ function BTCConnectModal({
4074
4112
  const intl = (0, import_react_intl16.useIntl)();
4075
4113
  const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useBTCWallet();
4076
4114
  const iconMaps = {
4077
- leather: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
4078
- unisat: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
4079
- xverse: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 })
4115
+ leather: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
4116
+ unisat: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
4117
+ xverse: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 })
4080
4118
  };
4081
4119
  const { events, login } = useMatch();
4082
4120
  const [status, setStatus] = (0, import_react30.useState)("");
@@ -4176,11 +4214,11 @@ function BTCConnectModal({
4176
4214
  statusRef.current = "";
4177
4215
  setError("");
4178
4216
  };
4179
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4217
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4180
4218
  id: type == "bind" ? "bindWith" : "loginWith"
4181
4219
  }, {
4182
4220
  name: "BTC"
4183
- }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4221
+ }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4184
4222
  WalletModalContent,
4185
4223
  {
4186
4224
  error,
@@ -4193,9 +4231,9 @@ function BTCConnectModal({
4193
4231
  setVisible: () => {
4194
4232
  }
4195
4233
  }
4196
- ) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-login-recommend-list", children: [
4234
+ ) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "matchid-login-recommend-list", children: [
4197
4235
  installedWallets.map((wallet2) => {
4198
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4236
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4199
4237
  RecommendItem,
4200
4238
  {
4201
4239
  icon: iconMaps[wallet2.walletKey],
@@ -4208,14 +4246,14 @@ function BTCConnectModal({
4208
4246
  );
4209
4247
  }),
4210
4248
  wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
4211
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4249
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4212
4250
  RecommendItem,
4213
4251
  {
4214
4252
  icon: iconMaps[wallet2.walletKey],
4215
4253
  name: wallet2.name,
4216
4254
  onClick: () => {
4217
4255
  },
4218
- footer: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { size: "sm", onClick: () => {
4256
+ footer: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { size: "sm", onClick: () => {
4219
4257
  window.open(wallet2.website);
4220
4258
  }, children: "Install" })
4221
4259
  },
@@ -4225,7 +4263,41 @@ function BTCConnectModal({
4225
4263
  ] }) }) });
4226
4264
  }
4227
4265
  function BTCModal(props) {
4228
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(BTCConnectModal, { ...props });
4266
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(BTCConnectModal, { ...props });
4267
+ }
4268
+
4269
+ // src/components/WalletModal/index.tsx
4270
+ var import_react_intl17 = require("react-intl");
4271
+ var import_jsx_runtime76 = require("react/jsx-runtime");
4272
+ function WalletConnectModal({
4273
+ type,
4274
+ methods = DEFAULT_WALLET_METHODS,
4275
+ ...props
4276
+ }) {
4277
+ const intl = (0, import_react_intl17.useIntl)();
4278
+ const { walletMap } = useWalletConfig();
4279
+ const { bind, login } = useUserInfo();
4280
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4281
+ id: type == "bind" ? "bindWith" : "loginWith"
4282
+ }, {
4283
+ name: ""
4284
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "matchid-login-recommend-list", children: methods.map((method, index) => {
4285
+ const m = walletMap[method];
4286
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4287
+ RecommendItem,
4288
+ {
4289
+ icon: m?.icon,
4290
+ name: m?.name,
4291
+ onClick: () => {
4292
+ type == "bind" ? bind(method) : login(method);
4293
+ }
4294
+ },
4295
+ method
4296
+ );
4297
+ }) }) }) });
4298
+ }
4299
+ function WalletModal(props) {
4300
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(WalletConnectModal, { ...props });
4229
4301
  }
4230
4302
  // Annotate the CommonJS export names for ESM import in node:
4231
4303
  0 && (module.exports = {
@@ -4246,6 +4318,7 @@ function BTCModal(props) {
4246
4318
  SOLModal,
4247
4319
  TONModal,
4248
4320
  TRONModal,
4249
- UsernameModal
4321
+ UsernameModal,
4322
+ WalletModal
4250
4323
  });
4251
4324
  //# sourceMappingURL=index.js.map