@matchain/matchid-sdk-react 0.1.42-alpha.17 → 0.1.42-alpha.3

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.
@@ -47,8 +47,7 @@ __export(components_exports, {
47
47
  SOLModal: () => SOLModal,
48
48
  TONModal: () => TONModal,
49
49
  TRONModal: () => TRONModal,
50
- UsernameModal: () => UsernameModal,
51
- WalletModal: () => WalletModal
50
+ UsernameModal: () => UsernameModal
52
51
  });
53
52
  module.exports = __toCommonJS(components_exports);
54
53
 
@@ -1670,50 +1669,6 @@ var import_viem3 = require("viem");
1670
1669
 
1671
1670
  // src/store/useModalStore.ts
1672
1671
  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
1717
1672
  var useSOLModalStore = (0, import_zustand3.create)((set) => ({
1718
1673
  isOpen: false,
1719
1674
  type: "",
@@ -1755,13 +1710,6 @@ var useHashPanelStore = (0, import_zustand3.create)((set) => ({
1755
1710
  }),
1756
1711
  close: () => set({ isOpen: false })
1757
1712
  }));
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
- }));
1765
1713
 
1766
1714
  // src/hooks/useWallet.tsx
1767
1715
  var AppClientId = "react-sdk-" + getVersion();
@@ -1947,35 +1895,24 @@ function useWallet() {
1947
1895
  const chainId = chain ? chain.id : await obj.getChainId();
1948
1896
  const _chain = chain || obj.chain;
1949
1897
  const transactionId = Date.now().toString() + Math.random().toString().slice(6);
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);
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
1968
1905
  }
1969
- };
1906
+ });
1907
+ };
1908
+ let interval = null;
1909
+ const timer = setTimeout(() => {
1970
1910
  sendPrepareTransactionRequest();
1971
- }, 1e4);
1911
+ interval = setInterval(() => {
1912
+ sendPrepareTransactionRequest();
1913
+ }, 1e4);
1914
+ }, 1500);
1972
1915
  try {
1973
- const {
1974
- chain: chain2,
1975
- account,
1976
- ...prepareTransactionRequest
1977
- // @ts-ignore
1978
- } = await obj.prepareTransactionRequest(transaction);
1979
1916
  const { serializedTransaction } = await window.matchProvider.waitUntilWalletMessage({
1980
1917
  method: "sendTransaction",
1981
1918
  data: {
@@ -1988,8 +1925,7 @@ function useWallet() {
1988
1925
  id: chainId,
1989
1926
  name: _chain?.name,
1990
1927
  nativeCurrency: _chain?.nativeCurrency
1991
- },
1992
- prepareTransactionRequest
1928
+ }
1993
1929
  }
1994
1930
  });
1995
1931
  openHashPanel();
@@ -1998,12 +1934,14 @@ function useWallet() {
1998
1934
  });
1999
1935
  openHashPanel({
2000
1936
  hash: txHash,
2001
- chain: _chain
1937
+ chain
2002
1938
  });
1939
+ clearTimeout(timer);
2003
1940
  clearInterval(interval);
2004
1941
  resolve(txHash);
2005
1942
  } catch (error) {
2006
1943
  console.error("qwe-sign-error", error);
1944
+ clearTimeout(timer);
2007
1945
  clearInterval(interval);
2008
1946
  reject(error);
2009
1947
  }
@@ -2069,7 +2007,7 @@ function useCopyClipboard(timeout = 500) {
2069
2007
 
2070
2008
  // src/components/PasswordModal/index.tsx
2071
2009
  var import_react_intl2 = require("react-intl");
2072
- var import_jsx_runtime51 = require("react/jsx-runtime");
2010
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2073
2011
  function PasswordModal({
2074
2012
  title,
2075
2013
  isOpen,
@@ -2084,7 +2022,6 @@ function PasswordModal({
2084
2022
  const [rePassword, setRePassword] = (0, import_react8.useState)("");
2085
2023
  const [error, setError] = (0, import_react8.useState)("");
2086
2024
  const { generateEmbeddedWallets, initCore } = useWallet();
2087
- const { walletReady } = useStore_default();
2088
2025
  const intl = (0, import_react_intl2.useIntl)();
2089
2026
  const passwordError = (0, import_react8.useMemo)(() => {
2090
2027
  if (password.length < 6) return intl.formatMessage({
@@ -2130,15 +2067,15 @@ function PasswordModal({
2130
2067
  setIsSubmitting(false);
2131
2068
  }
2132
2069
  };
2133
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
2070
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
2134
2071
  id: "passwordTitle"
2135
- }), children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-password-box", children: [
2136
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-password-header", children: [
2137
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(PasswordRoundIcon, {}) }),
2138
- /* @__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" }) })
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" }) })
2139
2076
  ] }),
2140
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-password-content", children: [
2141
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 && passwordError, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
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)(
2142
2079
  Input,
2143
2080
  {
2144
2081
  placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
@@ -2148,9 +2085,9 @@ function PasswordModal({
2148
2085
  value: password
2149
2086
  }
2150
2087
  ) }),
2151
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Field, { label: intl.formatMessage({
2088
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Field, { label: intl.formatMessage({
2152
2089
  id: "rePassword"
2153
- }), error: !walletReady ? intl.formatMessage({ id: "walletLoading" }) : rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2090
+ }), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2154
2091
  Input,
2155
2092
  {
2156
2093
  placeholder: intl.formatMessage({
@@ -2163,16 +2100,16 @@ function PasswordModal({
2163
2100
  }
2164
2101
  ) })
2165
2102
  ] }),
2166
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2103
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2167
2104
  Button,
2168
2105
  {
2169
- disabled: password.length == 0 || !!passwordError || !!rePasswordError || !walletReady,
2106
+ disabled: password.length == 0 || !!passwordError || !!rePasswordError,
2170
2107
  highlight: true,
2171
2108
  block: true,
2172
2109
  size: "lg",
2173
2110
  onClick: onContinue,
2174
2111
  loading: isSubmitting,
2175
- children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_intl2.FormattedMessage, { id: "continue" })
2112
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_intl2.FormattedMessage, { id: "continue" })
2176
2113
  }
2177
2114
  )
2178
2115
  ] }) });
@@ -2181,12 +2118,12 @@ function PasswordModal({
2181
2118
  // src/components/RecoveryModal/index.tsx
2182
2119
  var import_react9 = require("react");
2183
2120
  var import_react_intl3 = require("react-intl");
2184
- var import_jsx_runtime52 = require("react/jsx-runtime");
2121
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2185
2122
 
2186
2123
  // src/components/CEXBindModal/index.tsx
2187
2124
  var import_react10 = require("react");
2188
2125
  var import_react_intl4 = require("react-intl");
2189
- var import_jsx_runtime53 = require("react/jsx-runtime");
2126
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2190
2127
 
2191
2128
  // src/components/HashPanel/index.tsx
2192
2129
  var import_viem4 = require("viem");
@@ -2194,19 +2131,19 @@ var import_react11 = require("react");
2194
2131
  var import_react_query = require("@tanstack/react-query");
2195
2132
 
2196
2133
  // src/components/Drawer/index.tsx
2197
- var import_jsx_runtime54 = require("react/jsx-runtime");
2134
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2198
2135
 
2199
2136
  // src/components/ModalDrawer/index.tsx
2200
- var import_jsx_runtime55 = require("react/jsx-runtime");
2137
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2201
2138
 
2202
2139
  // src/components/HashPanel/index.tsx
2203
- var import_jsx_runtime56 = require("react/jsx-runtime");
2140
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2204
2141
 
2205
2142
  // src/context/BusinessProvider.tsx
2206
- var import_jsx_runtime57 = require("react/jsx-runtime");
2143
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2207
2144
 
2208
2145
  // src/context/index.tsx
2209
- var import_jsx_runtime58 = (
2146
+ var import_jsx_runtime57 = (
2210
2147
  // <MpcWalletProvider>
2211
2148
  require("react/jsx-runtime")
2212
2149
  );
@@ -2221,7 +2158,7 @@ var import_react14 = require("react");
2221
2158
  // src/MatchContext.tsx
2222
2159
  var import_react_query2 = require("@tanstack/react-query");
2223
2160
  var import_react_intl5 = require("react-intl");
2224
- var import_jsx_runtime59 = require("react/jsx-runtime");
2161
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2225
2162
  var queryClient = new import_react_query2.QueryClient();
2226
2163
  var MatchContext = (0, import_react15.createContext)(void 0);
2227
2164
  var useMatch = () => {
@@ -2252,7 +2189,6 @@ function useUserInfo() {
2252
2189
  const { open: TONOpen } = useTONModalStore();
2253
2190
  const { open: BTCOpen } = useBTCModalStore();
2254
2191
  const { open: CEXBindOpen } = useCEXBindModalStore();
2255
- const walletModalStore = useWalletModalStore();
2256
2192
  const isLogin = (0, import_react16.useMemo)(() => !!token && !!overview, [token, overview]);
2257
2193
  const logout = async () => {
2258
2194
  try {
@@ -2291,10 +2227,8 @@ function useUserInfo() {
2291
2227
  "width=800,height=600"
2292
2228
  );
2293
2229
  };
2294
- const loginMethod = async (method, extra) => {
2230
+ const loginMethod = async (method) => {
2295
2231
  switch (method) {
2296
- case "wallet":
2297
- return walletModalStore.open("login", extra?.methods);
2298
2232
  case "evm":
2299
2233
  return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
2300
2234
  case "sol":
@@ -2383,13 +2317,11 @@ function useUserInfo() {
2383
2317
  }
2384
2318
  throw new Error(res.message);
2385
2319
  };
2386
- const bind = async (method, extra) => {
2320
+ const bind = async (method) => {
2387
2321
  if (!token) {
2388
2322
  throw new Error("You must login first");
2389
2323
  }
2390
2324
  switch (method) {
2391
- case "wallet":
2392
- return walletModalStore.open("bind", extra?.methods);
2393
2325
  case "evm":
2394
2326
  return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
2395
2327
  case "sol":
@@ -2499,7 +2431,7 @@ var EMAIL_CODE_LENGTH = 6;
2499
2431
 
2500
2432
  // src/components/EmailModal/StepVerify.tsx
2501
2433
  var import_react_intl6 = require("react-intl");
2502
- var import_jsx_runtime60 = require("react/jsx-runtime");
2434
+ var import_jsx_runtime59 = require("react/jsx-runtime");
2503
2435
  function StepVerify(props) {
2504
2436
  const intl = (0, import_react_intl6.useIntl)();
2505
2437
  const { getLoginEmailCode, loginByEmail } = useUserInfo();
@@ -2576,17 +2508,17 @@ function StepVerify(props) {
2576
2508
  setSubmitting(false);
2577
2509
  }
2578
2510
  };
2579
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "matchid-email-verify-box", children: [
2580
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "matchid-email-verify-header", children: [
2581
- /* @__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 }) }),
2582
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
2583
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
2584
- /* @__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" }) })
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" }) })
2585
2517
  ] })
2586
2518
  ] }),
2587
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Field, { label: intl.formatMessage({
2519
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Field, { label: intl.formatMessage({
2588
2520
  id: "verificationCode"
2589
- }), error, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2521
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2590
2522
  Input,
2591
2523
  {
2592
2524
  placeholder: intl.formatMessage({
@@ -2596,7 +2528,7 @@ function StepVerify(props) {
2596
2528
  maxLength: codeLength,
2597
2529
  onChange: (e) => setCode(e.target.value),
2598
2530
  value: code,
2599
- after: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2531
+ after: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2600
2532
  Button,
2601
2533
  {
2602
2534
  highlight: true,
@@ -2615,13 +2547,13 @@ function StepVerify(props) {
2615
2547
  )
2616
2548
  }
2617
2549
  ) }),
2618
- /* @__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" }) })
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" }) })
2619
2551
  ] });
2620
2552
  }
2621
2553
 
2622
2554
  // src/components/EmailModal/index.tsx
2623
2555
  var import_react_intl7 = require("react-intl");
2624
- var import_jsx_runtime61 = require("react/jsx-runtime");
2556
+ var import_jsx_runtime60 = require("react/jsx-runtime");
2625
2557
  function EmailModal({
2626
2558
  isOpen = false,
2627
2559
  width = 480,
@@ -2638,7 +2570,7 @@ function EmailModal({
2638
2570
  setEmailVal("");
2639
2571
  }
2640
2572
  }, [isOpen]);
2641
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2573
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2642
2574
  ModalWithHeader,
2643
2575
  {
2644
2576
  isOpen,
@@ -2648,17 +2580,17 @@ function EmailModal({
2648
2580
  id: "email"
2649
2581
  }),
2650
2582
  onBack: step == "verify" ? () => setStep("input") : onBack,
2651
- children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
2583
+ children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
2652
2584
  setEmailVal(email);
2653
2585
  setStep("verify");
2654
- } }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
2586
+ } }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
2655
2587
  }
2656
2588
  );
2657
2589
  }
2658
2590
 
2659
2591
  // src/components/Popover/index.tsx
2660
2592
  var import_react19 = require("react");
2661
- var import_jsx_runtime62 = require("react/jsx-runtime");
2593
+ var import_jsx_runtime61 = require("react/jsx-runtime");
2662
2594
  function Popover({
2663
2595
  children,
2664
2596
  content,
@@ -2668,7 +2600,7 @@ function Popover({
2668
2600
  gap = "20px"
2669
2601
  }) {
2670
2602
  const [active, setActive] = (0, import_react19.useState)(false);
2671
- return children && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2603
+ return children && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
2672
2604
  "div",
2673
2605
  {
2674
2606
  onClick: () => {
@@ -2679,9 +2611,9 @@ function Popover({
2679
2611
  className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
2680
2612
  children: [
2681
2613
  children,
2682
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { style: {
2614
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { style: {
2683
2615
  paddingTop: gap
2684
- }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: `matchid-popover-content`, children: content }) })
2616
+ }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: `matchid-popover-content`, children: content }) })
2685
2617
  ]
2686
2618
  }
2687
2619
  );
@@ -2690,7 +2622,7 @@ function Popover({
2690
2622
  // src/components/LoginBox/index.tsx
2691
2623
  var import_react20 = require("react");
2692
2624
  var import_react_intl8 = require("react-intl");
2693
- var import_jsx_runtime63 = require("react/jsx-runtime");
2625
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2694
2626
  var RecommendItem = ({
2695
2627
  icon,
2696
2628
  name,
@@ -2699,20 +2631,20 @@ var RecommendItem = ({
2699
2631
  children,
2700
2632
  footer
2701
2633
  }) => {
2702
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-recommend-method", children: [
2703
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
2704
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
2705
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
2706
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
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 })
2707
2639
  ] }),
2708
- footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2640
+ footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2709
2641
  ArrowDownIcon,
2710
2642
  {
2711
2643
  className: `matchid-login-recommend-method-arrow ${showChildren ? "matchid-login-recommend-method-arrow-active" : ""}`,
2712
2644
  size: 20,
2713
2645
  color: "var(--matchid-arrow-color)"
2714
2646
  }
2715
- ) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2647
+ ) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2716
2648
  ArrowRightIcon,
2717
2649
  {
2718
2650
  className: "matchid-login-recommend-method-arrow",
@@ -2721,7 +2653,7 @@ var RecommendItem = ({
2721
2653
  }
2722
2654
  )
2723
2655
  ] }),
2724
- children && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2656
+ children && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2725
2657
  "div",
2726
2658
  {
2727
2659
  className: `matchid-login-recommend-method-popover ${showChildren ? "matchid-login-recommend-method-popover-active" : ""}`,
@@ -2743,7 +2675,7 @@ function LoginBox({
2743
2675
  "linkedin",
2744
2676
  "discord"
2745
2677
  ],
2746
- walletMethods = DEFAULT_WALLET_METHODS,
2678
+ walletMethods = ["evm", "sol", "btc", "tron"],
2747
2679
  inModal = false
2748
2680
  }) {
2749
2681
  const [emailOpen, setEmailOpen] = (0, import_react20.useState)(false);
@@ -2753,92 +2685,121 @@ function LoginBox({
2753
2685
  const isDownMd = useDownMd();
2754
2686
  const methodMap = {
2755
2687
  wallet: {
2756
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
2688
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
2757
2689
  name: intl.formatMessage({ id: "wallet" }),
2758
2690
  onClick: () => setShowWallet(!showWallet),
2759
2691
  type: "wallet"
2760
2692
  },
2761
2693
  email: {
2762
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
2694
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
2763
2695
  name: intl.formatMessage({ id: "email" }),
2764
2696
  onClick: () => {
2765
2697
  setEmailOpen(true);
2766
2698
  }
2767
2699
  },
2768
2700
  google: {
2769
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
2701
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
2770
2702
  name: "Google",
2771
2703
  onClick: () => login("google")
2772
2704
  },
2773
2705
  twitter: {
2774
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
2706
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
2775
2707
  name: "X",
2776
2708
  onClick: () => login("twitter")
2777
2709
  },
2778
2710
  telegram: {
2779
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
2711
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
2780
2712
  name: "Telegram",
2781
2713
  onClick: () => login("telegram")
2782
2714
  },
2783
2715
  github: {
2784
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
2716
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
2785
2717
  name: "Github",
2786
2718
  onClick: () => login("github")
2787
2719
  },
2788
2720
  discord: {
2789
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
2721
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
2790
2722
  name: "Discord",
2791
2723
  onClick: () => login("discord")
2792
2724
  },
2793
2725
  linkedin: {
2794
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
2726
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
2795
2727
  name: "LinkedIn",
2796
2728
  onClick: () => login("linkedin")
2797
2729
  },
2798
2730
  facebook: {
2799
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
2731
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
2800
2732
  name: "Facebook",
2801
2733
  onClick: () => login("facebook")
2802
2734
  },
2803
2735
  youtube: {
2804
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
2736
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
2805
2737
  name: "Youtube",
2806
2738
  onClick: () => login("youtube")
2807
2739
  }
2808
2740
  };
2809
- const { walletMap } = useWalletConfig();
2810
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
2811
- (!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-box", children: [
2812
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-list", children: recommendMethods.map((m) => {
2813
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
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)(
2814
2777
  RecommendItem,
2815
2778
  {
2816
2779
  icon: methodMap[m]?.icon,
2817
2780
  name: methodMap[m]?.name,
2818
2781
  onClick: methodMap[m]?.onClick,
2819
2782
  showChildren: m == "wallet" && showWallet,
2820
- children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
2821
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
2822
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: walletMethods.map((n) => {
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) => {
2823
2786
  const m2 = walletMap[n];
2824
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
2787
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2825
2788
  "div",
2826
2789
  {
2827
2790
  className: "matchid-login-recommend-wallet-item",
2828
- onClick: () => {
2829
- login(m2.method);
2830
- },
2791
+ onClick: m2.onClick,
2831
2792
  children: [
2832
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
2833
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
2834
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
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)(
2835
2796
  "div",
2836
2797
  {
2837
2798
  className: "matchid-login-recommend-wallet-item-hover-icon",
2838
2799
  children: m2.activeIcon
2839
2800
  }
2840
2801
  ),
2841
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2802
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2842
2803
  "span",
2843
2804
  {
2844
2805
  className: "matchid-login-recommend-wallet-item-name",
@@ -2846,7 +2807,7 @@ function LoginBox({
2846
2807
  }
2847
2808
  )
2848
2809
  ] }),
2849
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2810
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2850
2811
  ArrowRightIcon,
2851
2812
  {
2852
2813
  className: "matchid-login-recommend-wallet-item-arrow",
@@ -2864,10 +2825,10 @@ function LoginBox({
2864
2825
  m
2865
2826
  );
2866
2827
  }) }),
2867
- methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-login-other", children: [
2868
- /* @__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" }) }),
2869
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "matchid-login-method-box", children: methods.map((m) => {
2870
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
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)(
2871
2832
  "div",
2872
2833
  {
2873
2834
  className: "matchid-login-method-item",
@@ -2880,7 +2841,7 @@ function LoginBox({
2880
2841
  }) })
2881
2842
  ] })
2882
2843
  ] }),
2883
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2844
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2884
2845
  EmailModal,
2885
2846
  {
2886
2847
  isOpen: emailOpen,
@@ -2900,40 +2861,40 @@ var import_react22 = require("react");
2900
2861
 
2901
2862
  // src/components/LoginPanel/index.tsx
2902
2863
  var import_react_intl9 = require("react-intl");
2903
- var import_jsx_runtime64 = require("react/jsx-runtime");
2864
+ var import_jsx_runtime63 = require("react/jsx-runtime");
2904
2865
  function LoginPanel({
2905
2866
  header,
2906
2867
  onClose,
2907
2868
  ...props
2908
2869
  }) {
2909
2870
  const isDownMd = useDownMd();
2910
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-login-panel", children: [
2911
- header ? header : /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-login-panel-header", children: [
2912
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
2913
- /* @__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" }) }),
2914
- /* @__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" }) })
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" }) })
2915
2876
  ] }),
2916
- 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 }) })
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 }) })
2917
2878
  ] }),
2918
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-login-panel-divide" }),
2919
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(LoginBox, { ...props }) })
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 }) })
2920
2881
  ] });
2921
2882
  }
2922
2883
 
2923
2884
  // src/components/LoginModal/index.tsx
2924
- var import_jsx_runtime65 = require("react/jsx-runtime");
2885
+ var import_jsx_runtime64 = require("react/jsx-runtime");
2925
2886
  function LoginModal({
2926
2887
  isOpen = false,
2927
2888
  width = 480,
2928
2889
  ...props
2929
2890
  }) {
2930
2891
  const { isLogin } = useUserInfo();
2931
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
2892
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
2932
2893
  Modal,
2933
2894
  {
2934
2895
  isOpen: isOpen && !isLogin,
2935
2896
  width,
2936
- children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(LoginPanel, { ...props, inModal: true })
2897
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(LoginPanel, { ...props, inModal: true })
2937
2898
  }
2938
2899
  );
2939
2900
  }
@@ -2942,10 +2903,10 @@ function LoginModal({
2942
2903
  var import_react21 = require("react");
2943
2904
 
2944
2905
  // src/assets/icon/ProfileIcon.tsx
2945
- var import_jsx_runtime66 = require("react/jsx-runtime");
2906
+ var import_jsx_runtime65 = require("react/jsx-runtime");
2946
2907
  function ProfileIcon({ size = 24, color = "black", ...props }) {
2947
- 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: [
2948
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
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)(
2949
2910
  "path",
2950
2911
  {
2951
2912
  fillRule: "evenodd",
@@ -2954,7 +2915,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
2954
2915
  fill: color
2955
2916
  }
2956
2917
  ),
2957
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
2918
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
2958
2919
  "path",
2959
2920
  {
2960
2921
  fillRule: "evenodd",
@@ -2968,7 +2929,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
2968
2929
 
2969
2930
  // src/components/UserPopover/index.tsx
2970
2931
  var import_react_intl10 = require("react-intl");
2971
- var import_jsx_runtime67 = require("react/jsx-runtime");
2932
+ var import_jsx_runtime66 = require("react/jsx-runtime");
2972
2933
  function UserContent() {
2973
2934
  const { logout, address, username } = useUserInfo();
2974
2935
  const [logouting, setLogouting] = (0, import_react21.useState)(false);
@@ -2989,34 +2950,34 @@ function UserContent() {
2989
2950
  rightIcon,
2990
2951
  onClick
2991
2952
  }) => {
2992
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
2993
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
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: [
2994
2955
  icon,
2995
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-user-popover-item-text", children })
2956
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-user-popover-item-text", children })
2996
2957
  ] }),
2997
2958
  rightIcon
2998
2959
  ] });
2999
2960
  };
3000
2961
  const UserDivider = () => {
3001
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: `matchid-user-popover-divider` });
2962
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: `matchid-user-popover-divider` });
3002
2963
  };
3003
2964
  const [usernameOpen, setUsernameOpen] = (0, import_react21.useState)(false);
3004
2965
  const [copied, setCopied] = useCopyClipboard();
3005
2966
  const intl = (0, import_react_intl10.useIntl)();
3006
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-user-popover-content", children: [
3007
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-user-popover-list", children: [
3008
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UserItem, { onClick: () => {
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: () => {
3009
2970
  setCopied(address);
3010
- }, 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) }),
3011
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UserDivider, {}),
3012
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UserItem, { onClick: () => {
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: () => {
3013
2974
  setUsernameOpen(true);
3014
- }, 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({
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({
3015
2976
  id: "setUsername"
3016
2977
  }) })
3017
2978
  ] }),
3018
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl10.FormattedMessage, { id: "disconnect" }) }),
3019
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
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: () => {
3020
2981
  setUsernameOpen(false);
3021
2982
  }, onSuccess: () => {
3022
2983
  setUsernameOpen(false);
@@ -3027,12 +2988,12 @@ function UserPopover({
3027
2988
  children,
3028
2989
  ...props
3029
2990
  }) {
3030
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(UserContent, {}), children });
2991
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(UserContent, {}), children });
3031
2992
  }
3032
2993
 
3033
2994
  // src/components/LoginButton/index.tsx
3034
2995
  var import_react_intl11 = require("react-intl");
3035
- var import_jsx_runtime68 = require("react/jsx-runtime");
2996
+ var import_jsx_runtime67 = require("react/jsx-runtime");
3036
2997
  function LoginButton({
3037
2998
  loginRender,
3038
2999
  methods,
@@ -3048,8 +3009,8 @@ function LoginButton({
3048
3009
  const { isLogin, username } = useUserInfo();
3049
3010
  const [loginOpen, setLoginOpen] = (0, import_react22.useState)(false);
3050
3011
  if (!isLogin) {
3051
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
3052
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3012
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
3013
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3053
3014
  LoginModal,
3054
3015
  {
3055
3016
  methods,
@@ -3059,15 +3020,15 @@ function LoginButton({
3059
3020
  onClose: () => setLoginOpen(false)
3060
3021
  }
3061
3022
  ),
3062
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
3063
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(UnLoginIcon_default, {}),
3064
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_intl11.FormattedMessage, { id: "login" }) })
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" }) })
3065
3026
  ] })
3066
3027
  ] });
3067
3028
  }
3068
- 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: [
3069
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(LoginIcon_default, {}),
3070
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
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({
3071
3032
  id: "user"
3072
3033
  }) })
3073
3034
  ] }) });
@@ -3077,14 +3038,14 @@ function LoginButton({
3077
3038
  var import_react23 = require("react");
3078
3039
 
3079
3040
  // src/assets/icon/InfoRoundIcon.tsx
3080
- var import_jsx_runtime69 = require("react/jsx-runtime");
3041
+ var import_jsx_runtime68 = require("react/jsx-runtime");
3081
3042
  function InfoRoundIcon({
3082
3043
  size,
3083
3044
  color = "#6E6E6E",
3084
3045
  ...props
3085
3046
  }) {
3086
- 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: [
3087
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("g", { clipPath: "url(#clip0_418_7746)", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
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)(
3088
3049
  "path",
3089
3050
  {
3090
3051
  fillRule: "evenodd",
@@ -3093,21 +3054,21 @@ function InfoRoundIcon({
3093
3054
  fill: color
3094
3055
  }
3095
3056
  ) }),
3096
- /* @__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" }) }) })
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" }) }) })
3097
3058
  ] });
3098
3059
  }
3099
3060
 
3100
3061
  // src/components/UsernameModal/index.tsx
3101
3062
  var import_react_intl12 = require("react-intl");
3102
- var import_jsx_runtime70 = require("react/jsx-runtime");
3063
+ var import_jsx_runtime69 = require("react/jsx-runtime");
3103
3064
  var ValidItem = ({
3104
3065
  success = false,
3105
3066
  text
3106
3067
  }) => {
3107
3068
  const isDownMd = useDownMd();
3108
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
3109
- success ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(InfoRoundIcon, { size: isDownMd ? 12 : 16 }),
3110
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { children: text })
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 })
3111
3072
  ] });
3112
3073
  };
3113
3074
  function UsernameModal({
@@ -3155,12 +3116,12 @@ function UsernameModal({
3155
3116
  }
3156
3117
  };
3157
3118
  const intl = (0, import_react_intl12.useIntl)();
3158
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
3119
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
3159
3120
  id: username ? "editUsernameTitle" : "setUsernameTitle"
3160
- }), children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "matchid-username-box", children: [
3161
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Field, { label: intl.formatMessage({
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({
3162
3123
  id: "username"
3163
- }), error, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3124
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3164
3125
  Input,
3165
3126
  {
3166
3127
  placeholder: intl.formatMessage({
@@ -3173,8 +3134,8 @@ function UsernameModal({
3173
3134
  value: val
3174
3135
  }
3175
3136
  ) }),
3176
- /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "matchid-valid", children: [
3177
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3137
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-valid", children: [
3138
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3178
3139
  ValidItem,
3179
3140
  {
3180
3141
  success: isValid,
@@ -3183,16 +3144,16 @@ function UsernameModal({
3183
3144
  })
3184
3145
  }
3185
3146
  ),
3186
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
3147
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
3187
3148
  id: "usernameLengthError"
3188
3149
  }) })
3189
3150
  ] }),
3190
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
3151
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
3191
3152
  marginTop: isDownMd ? "36px" : "64px"
3192
- }, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_intl12.FormattedMessage, { id: "confirm" }) }),
3193
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Button, { style: {
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: {
3194
3155
  marginTop: isDownMd ? "12px" : "24px"
3195
- }, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_intl12.FormattedMessage, { id: "cancel" }) })
3156
+ }, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react_intl12.FormattedMessage, { id: "cancel" }) })
3196
3157
  ] }) });
3197
3158
  }
3198
3159
 
@@ -3226,7 +3187,7 @@ var walletConnectImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEA
3226
3187
  var walletSigningImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAABAsUlEQVR4Xu19CXQUx7X2vCUveS/vJdgx+yaJHQwI8G4wzWIbG2LLNrbxPgnY7CC0SyNpJBAIECAZAbLB8gAyKGGxiFnkGJwmz47xsU0mvyEWoGW0D0jgSeK88L84/7l/fS2V3GrNaDRCEiPpfud8p3qqu6tnpvt+favqVpXJxGAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYbYvCwkKlpKREvXDhglpQUKCKz+qlS5e0z8j3N5aXl6tXrlwJMf4OBoPRDD777LPg7Ozs0MOHD1NiYiLNnTuX7rzrDho5ejj179+f+vbt69ccNGgQBQQE0LBhw2jUqFE0ZswYun3sGBo3cQxNmDiexk+8XaTBIh1LwYLfbY/vcvsnTp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QtW7aoMTExqnjju+bMmUMDBw6gH/ygbhVgd/cd9xsNwRglunbtWuKuPz/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==";
3227
3188
 
3228
3189
  // src/components/WalletModalContent/index.tsx
3229
- var import_jsx_runtime71 = require("react/jsx-runtime");
3190
+ var import_jsx_runtime70 = require("react/jsx-runtime");
3230
3191
  function WalletModalContent({
3231
3192
  status,
3232
3193
  error,
@@ -3296,12 +3257,12 @@ function WalletModalContent({
3296
3257
  statusImage: walletConnectImage
3297
3258
  };
3298
3259
  }, [visible, connected, status, error, address]);
3299
- 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: [
3300
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: `matchid-wallet-content`, children: [
3301
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("img", { src: pageData.statusImage }),
3302
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: pageData.isError ? "text-[#F7585E]" : "", children: pageData.text })
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 })
3303
3264
  ] }),
3304
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3265
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3305
3266
  Button,
3306
3267
  {
3307
3268
  block: true,
@@ -3316,7 +3277,7 @@ function WalletModalContent({
3316
3277
  }
3317
3278
 
3318
3279
  // src/components/SOLModal/index.tsx
3319
- var import_jsx_runtime72 = require("react/jsx-runtime");
3280
+ var import_jsx_runtime71 = require("react/jsx-runtime");
3320
3281
  function WalletContent({
3321
3282
  onSuccess,
3322
3283
  type
@@ -3346,10 +3307,7 @@ function WalletContent({
3346
3307
  try {
3347
3308
  setStatus("nonce");
3348
3309
  statusRef.current = "nonce";
3349
- const res = type == "bind" ? await getWalletInitApi({
3350
- address,
3351
- type: "SOL"
3352
- }) : await getWalletNonceApi({ address, type: "SOL" });
3310
+ const res = type == "bind" ? await getWalletInitApi({ address, type: "SOL" }) : await getWalletNonceApi({ address, type: "SOL" });
3353
3311
  if (!isSuccess(res)) {
3354
3312
  throw new Error(res.message);
3355
3313
  }
@@ -3398,7 +3356,7 @@ function WalletContent({
3398
3356
  statusRef.current = "";
3399
3357
  }
3400
3358
  };
3401
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3359
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3402
3360
  WalletModalContent,
3403
3361
  {
3404
3362
  connected: wallet.connected,
@@ -3453,20 +3411,17 @@ var wallets = [
3453
3411
  new import_wallet_adapter_wallets.TrustWalletAdapter(),
3454
3412
  new import_wallet_adapter_wallets.XDEFIWalletAdapter()
3455
3413
  ];
3456
- function SOLConnectModal({
3414
+ function SOLModal({
3457
3415
  type = "login",
3458
3416
  onSuccess,
3459
3417
  ...props
3460
3418
  }) {
3461
3419
  const intl = (0, import_react_intl13.useIntl)();
3462
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3420
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3463
3421
  id: type == "bind" ? "bindWith" : "loginWith"
3464
3422
  }, {
3465
3423
  name: "SOL"
3466
- }), 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 }) }) }) }) });
3467
- }
3468
- function SOLModal(props) {
3469
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SOLConnectModal, { ...props });
3424
+ }), 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 }) }) }) }) });
3470
3425
  }
3471
3426
 
3472
3427
  // src/components/TRONModal/index.tsx
@@ -3581,8 +3536,8 @@ var useTRONWallet = () => {
3581
3536
  };
3582
3537
 
3583
3538
  // src/components/TRONModal/index.tsx
3584
- var import_jsx_runtime73 = require("react/jsx-runtime");
3585
- function TRONConnectModal({
3539
+ var import_jsx_runtime72 = require("react/jsx-runtime");
3540
+ function TRONModal({
3586
3541
  type = "login",
3587
3542
  onSuccess,
3588
3543
  ...props
@@ -3591,9 +3546,9 @@ function TRONConnectModal({
3591
3546
  const intl = (0, import_react_intl14.useIntl)();
3592
3547
  const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useTRONWallet();
3593
3548
  const iconMaps = {
3594
- tronlink: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
3595
- bitget: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
3596
- okx: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
3549
+ tronlink: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
3550
+ bitget: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
3551
+ okx: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
3597
3552
  };
3598
3553
  const { events, login } = useMatch();
3599
3554
  const [status, setStatus] = (0, import_react27.useState)("");
@@ -3685,11 +3640,11 @@ function TRONConnectModal({
3685
3640
  disconnect();
3686
3641
  }
3687
3642
  }, [props.isOpen]);
3688
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3643
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3689
3644
  id: type == "bind" ? "bindWith" : "loginWith"
3690
3645
  }, {
3691
3646
  name: "TRON"
3692
- }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3647
+ }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3693
3648
  WalletModalContent,
3694
3649
  {
3695
3650
  error,
@@ -3702,9 +3657,9 @@ function TRONConnectModal({
3702
3657
  setVisible: () => {
3703
3658
  }
3704
3659
  }
3705
- ) : /* @__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: [
3660
+ ) : /* @__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: [
3706
3661
  installedWallets.map((wallet2) => {
3707
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3662
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3708
3663
  RecommendItem,
3709
3664
  {
3710
3665
  icon: iconMaps[wallet2.walletKey],
@@ -3717,14 +3672,14 @@ function TRONConnectModal({
3717
3672
  );
3718
3673
  }),
3719
3674
  wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
3720
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3675
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3721
3676
  RecommendItem,
3722
3677
  {
3723
3678
  icon: iconMaps[wallet2.walletKey],
3724
3679
  name: wallet2.name,
3725
3680
  onClick: () => {
3726
3681
  },
3727
- footer: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Button, { size: "sm", onClick: () => {
3682
+ footer: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Button, { size: "sm", onClick: () => {
3728
3683
  window.open(wallet2.website);
3729
3684
  }, children: "Install" })
3730
3685
  },
@@ -3733,15 +3688,12 @@ function TRONConnectModal({
3733
3688
  })
3734
3689
  ] }) }) });
3735
3690
  }
3736
- function TRONModal(props) {
3737
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(TRONConnectModal, { ...props, type: "" });
3738
- }
3739
3691
 
3740
3692
  // src/components/TONModal/index.tsx
3741
3693
  var import_react28 = __toESM(require("react"));
3742
3694
  var import_react_intl15 = require("react-intl");
3743
3695
  var import_ui_react = require("@tonconnect/ui-react");
3744
- var import_jsx_runtime74 = require("react/jsx-runtime");
3696
+ var import_jsx_runtime73 = require("react/jsx-runtime");
3745
3697
  function WalletContent2({
3746
3698
  onSuccess,
3747
3699
  type
@@ -3868,7 +3820,7 @@ function WalletContent2({
3868
3820
  }
3869
3821
  }
3870
3822
  }, [state]);
3871
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3823
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3872
3824
  WalletModalContent,
3873
3825
  {
3874
3826
  connected,
@@ -3894,7 +3846,7 @@ function WalletContent2({
3894
3846
  }
3895
3847
  );
3896
3848
  }
3897
- function TONConnectModal({
3849
+ function TONModal({
3898
3850
  type = "login",
3899
3851
  onSuccess,
3900
3852
  ...props
@@ -3902,21 +3854,18 @@ function TONConnectModal({
3902
3854
  const intl = (0, import_react_intl15.useIntl)();
3903
3855
  const { endpoints, appid } = useLocalStore_default();
3904
3856
  const manifestUrl = `${endpoints.back}api/v1/wallet/ton?appid=${appid}&url=` + encodeURIComponent(window.location.origin);
3905
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3857
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
3906
3858
  id: type == "bind" ? "bindWith" : "loginWith"
3907
3859
  }, {
3908
3860
  name: "TON"
3909
- }), children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3861
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3910
3862
  import_ui_react.TonConnectUIProvider,
3911
3863
  {
3912
3864
  manifestUrl,
3913
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(WalletContent2, { onSuccess, type })
3865
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(WalletContent2, { onSuccess, type })
3914
3866
  }
3915
3867
  ) });
3916
3868
  }
3917
- function TONModal(props) {
3918
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(TONConnectModal, { ...props });
3919
- }
3920
3869
 
3921
3870
  // src/components/BTCModal/index.tsx
3922
3871
  var import_react30 = __toESM(require("react"));
@@ -4103,8 +4052,8 @@ var useBTCWallet = () => {
4103
4052
  };
4104
4053
 
4105
4054
  // src/components/BTCModal/index.tsx
4106
- var import_jsx_runtime75 = require("react/jsx-runtime");
4107
- function BTCConnectModal({
4055
+ var import_jsx_runtime74 = require("react/jsx-runtime");
4056
+ function BTCModal({
4108
4057
  type = "login",
4109
4058
  onSuccess,
4110
4059
  ...props
@@ -4113,9 +4062,9 @@ function BTCConnectModal({
4113
4062
  const intl = (0, import_react_intl16.useIntl)();
4114
4063
  const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useBTCWallet();
4115
4064
  const iconMaps = {
4116
- leather: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
4117
- unisat: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
4118
- xverse: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 })
4065
+ leather: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
4066
+ unisat: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
4067
+ xverse: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 })
4119
4068
  };
4120
4069
  const { events, login } = useMatch();
4121
4070
  const [status, setStatus] = (0, import_react30.useState)("");
@@ -4215,11 +4164,11 @@ function BTCConnectModal({
4215
4164
  statusRef.current = "";
4216
4165
  setError("");
4217
4166
  };
4218
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4167
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4219
4168
  id: type == "bind" ? "bindWith" : "loginWith"
4220
4169
  }, {
4221
4170
  name: "BTC"
4222
- }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4171
+ }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4223
4172
  WalletModalContent,
4224
4173
  {
4225
4174
  error,
@@ -4232,9 +4181,9 @@ function BTCConnectModal({
4232
4181
  setVisible: () => {
4233
4182
  }
4234
4183
  }
4235
- ) : /* @__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: [
4184
+ ) : /* @__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: [
4236
4185
  installedWallets.map((wallet2) => {
4237
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4186
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4238
4187
  RecommendItem,
4239
4188
  {
4240
4189
  icon: iconMaps[wallet2.walletKey],
@@ -4247,14 +4196,14 @@ function BTCConnectModal({
4247
4196
  );
4248
4197
  }),
4249
4198
  wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
4250
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4199
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4251
4200
  RecommendItem,
4252
4201
  {
4253
4202
  icon: iconMaps[wallet2.walletKey],
4254
4203
  name: wallet2.name,
4255
4204
  onClick: () => {
4256
4205
  },
4257
- footer: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { size: "sm", onClick: () => {
4206
+ footer: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { size: "sm", onClick: () => {
4258
4207
  window.open(wallet2.website);
4259
4208
  }, children: "Install" })
4260
4209
  },
@@ -4263,43 +4212,6 @@ function BTCConnectModal({
4263
4212
  })
4264
4213
  ] }) }) });
4265
4214
  }
4266
- function BTCModal(props) {
4267
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(BTCConnectModal, { ...props });
4268
- }
4269
-
4270
- // src/components/WalletModal/index.tsx
4271
- var import_react_intl17 = require("react-intl");
4272
- var import_jsx_runtime76 = require("react/jsx-runtime");
4273
- function WalletConnectModal({
4274
- type,
4275
- methods = DEFAULT_WALLET_METHODS,
4276
- ...props
4277
- }) {
4278
- const intl = (0, import_react_intl17.useIntl)();
4279
- const { walletMap } = useWalletConfig();
4280
- const { bind, login } = useUserInfo();
4281
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4282
- id: type == "bind" ? "bindWith" : "loginWith"
4283
- }, {
4284
- name: ""
4285
- }), 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) => {
4286
- const m = walletMap[method];
4287
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4288
- RecommendItem,
4289
- {
4290
- icon: m?.icon,
4291
- name: m?.name,
4292
- onClick: () => {
4293
- type == "bind" ? bind(method) : login(method);
4294
- }
4295
- },
4296
- method
4297
- );
4298
- }) }) }) });
4299
- }
4300
- function WalletModal(props) {
4301
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(WalletConnectModal, { ...props });
4302
- }
4303
4215
  // Annotate the CommonJS export names for ESM import in node:
4304
4216
  0 && (module.exports = {
4305
4217
  BTCModal,
@@ -4319,7 +4231,6 @@ function WalletModal(props) {
4319
4231
  SOLModal,
4320
4232
  TONModal,
4321
4233
  TRONModal,
4322
- UsernameModal,
4323
- WalletModal
4234
+ UsernameModal
4324
4235
  });
4325
4236
  //# sourceMappingURL=index.js.map