@matchain/matchid-sdk-react 0.1.56 → 0.1.57-alpha.1

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 (67) hide show
  1. package/dist/api.d.mts +2 -2
  2. package/dist/api.d.ts +2 -2
  3. package/dist/api.js +96 -48
  4. package/dist/api.js.map +1 -1
  5. package/dist/api.mjs +3 -3
  6. package/dist/chains.d.mts +1 -1
  7. package/dist/chains.d.ts +1 -1
  8. package/dist/{chunk-KFB23MLQ.mjs → chunk-6RNCNC65.mjs} +353 -217
  9. package/dist/chunk-6RNCNC65.mjs.map +1 -0
  10. package/dist/{chunk-GD7URBBZ.mjs → chunk-7SUDHG7S.mjs} +41 -1
  11. package/dist/chunk-7SUDHG7S.mjs.map +1 -0
  12. package/dist/{chunk-NYE6DBEZ.mjs → chunk-EAZNOQRK.mjs} +2 -2
  13. package/dist/components.d.mts +3 -3
  14. package/dist/components.d.ts +3 -3
  15. package/dist/components.js +498 -368
  16. package/dist/components.js.map +1 -1
  17. package/dist/components.mjs +2 -2
  18. package/dist/hooks.d.mts +2 -3
  19. package/dist/hooks.d.ts +2 -3
  20. package/dist/hooks.js +228 -182
  21. package/dist/hooks.js.map +1 -1
  22. package/dist/hooks.mjs +2 -2
  23. package/dist/icon.d.mts +2 -2
  24. package/dist/icon.d.ts +2 -2
  25. package/dist/icon.js +40 -0
  26. package/dist/icon.js.map +1 -1
  27. package/dist/icon.mjs +5 -1
  28. package/dist/{index-CBcBTQyU.d.mts → index-84CqVi2I.d.mts} +1 -1
  29. package/dist/index-B70k4Jpk.d.ts +7138 -0
  30. package/dist/index-BJJ0Gb6v.d.mts +7138 -0
  31. package/dist/{index-DlaCsN95.d.ts → index-BNqdFiOo.d.ts} +1 -1
  32. package/dist/{index-xThRnNN3.d.mts → index-BctnHnJp.d.ts} +11 -3
  33. package/dist/{index-CjekOYJl.d.mts → index-BqI0PEIi.d.mts} +1 -1
  34. package/dist/{index-BcuSCgol.d.ts → index-C2hr7zlN.d.ts} +5 -3
  35. package/dist/{index-CD0dACxf.d.mts → index-CTHpnEoB.d.mts} +5 -3
  36. package/dist/{index-CER00guz.d.mts → index-Car1jFyN.d.mts} +1 -1
  37. package/dist/{index-B50DU_xT.d.mts → index-CboftuIp.d.mts} +2 -0
  38. package/dist/{index-B50DU_xT.d.ts → index-CboftuIp.d.ts} +2 -0
  39. package/dist/{index-o0WW1c5O.d.ts → index-CcVHENNv.d.ts} +1 -1
  40. package/dist/{index-DkIIQLbh.d.ts → index-Cqdz_5bE.d.ts} +2 -2
  41. package/dist/{index-DdN22cwf.d.ts → index-CvzpMw3N.d.ts} +1 -1
  42. package/dist/{index-DN-jrh8-.d.ts → index-DkijpM5Q.d.mts} +11 -3
  43. package/dist/{index-lh6qBAf_.d.mts → index-DxHhOW24.d.mts} +2 -2
  44. package/dist/index.css +209 -46
  45. package/dist/index.d.mts +166 -88
  46. package/dist/index.d.ts +166 -88
  47. package/dist/index.js +599 -427
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.mjs +3 -3
  50. package/dist/{types-CheN9vHJ.d.mts → types-BrVeC0c8.d.mts} +1 -1
  51. package/dist/{types-CheN9vHJ.d.ts → types-BrVeC0c8.d.ts} +1 -1
  52. package/dist/types.d.mts +1 -1
  53. package/dist/types.d.ts +1 -1
  54. package/dist/ui.d.mts +3 -3
  55. package/dist/ui.d.ts +3 -3
  56. package/dist/ui.js +127 -110
  57. package/dist/ui.js.map +1 -1
  58. package/dist/ui.mjs +2 -2
  59. package/example/src/App.tsx +65 -60
  60. package/example/src/config/index.ts +8 -6
  61. package/example/src/pages/Wallet/index.tsx +88 -88
  62. package/package.json +2 -2
  63. package/dist/chunk-GD7URBBZ.mjs.map +0 -1
  64. package/dist/chunk-KFB23MLQ.mjs.map +0 -1
  65. package/dist/index-BlMLqmS2.d.mts +0 -3341
  66. package/dist/index-C1Nyy5zx.d.ts +0 -3341
  67. /package/dist/{chunk-NYE6DBEZ.mjs.map → chunk-EAZNOQRK.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -726,10 +726,12 @@ __export(icon_exports, {
726
726
  InfoLineIcon: () => InfoLineIcon,
727
727
  InfoRoundIcon: () => InfoRoundIcon,
728
728
  InputLengthIcon: () => InputLengthIcon,
729
+ KakaoIcon: () => KakaoIcon,
729
730
  LeatherIcon: () => LeatherIcon,
730
731
  LinkedinIcon: () => LinkedinIcon,
731
732
  LoadingIcon: () => LoadingIcon_default,
732
733
  LoginIcon: () => LoginIcon_default,
734
+ MatchIdIcon: () => MatchIdIcon_default,
733
735
  MoreIcon: () => MoreIcon,
734
736
  OKXIcon: () => OKXIcon,
735
737
  OpenEyeIcon: () => OpenEyeIcon,
@@ -2032,6 +2034,42 @@ function InputLengthIcon({
2032
2034
  ) });
2033
2035
  }
2034
2036
 
2037
+ // src/assets/icon/KakaoIcon.tsx
2038
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2039
+ function KakaoIcon({ size = 40 }) {
2040
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("svg", { width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2041
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("g", { clipPath: "url(#clip0_8121_9671)", children: [
2042
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("rect", { width: "48", height: "48", fill: "#FFE711" }),
2043
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { d: "M20.7005 6.97049C24.083 6.52424 27.5622 6.75599 30.8375 7.72274C34.0872 8.68199 37.16 10.377 39.5262 12.8235C41.474 14.829 42.9035 17.3902 43.3415 20.169C43.7727 22.791 43.3047 25.536 42.0807 27.8902C40.901 30.1905 39.08 32.1225 36.974 33.6022C34.3302 35.4592 31.238 36.6337 28.0602 37.1655C25.5777 37.5757 23.0322 37.608 20.5407 37.2562C18.2067 38.8845 15.8795 40.5262 13.4787 42.0555C13.1202 42.2745 12.7677 42.5085 12.3815 42.6757C12.1707 42.762 11.876 42.7822 11.7297 42.5752C11.5947 42.3667 11.6757 42.114 11.7327 41.8942C12.3357 39.6367 13.0002 37.3965 13.64 35.1495C11.7297 34.2037 9.95823 32.961 8.47548 31.4257C6.68373 29.5785 5.32698 27.2692 4.78323 24.741C4.22448 22.1992 4.50948 19.4872 5.56323 17.1097C6.78273 14.319 8.94498 12.015 11.4687 10.3477C14.228 8.52224 17.4297 7.41149 20.7005 6.97049ZM9.23523 18.6757C9.24498 19.2262 9.72423 19.7107 10.2732 19.7325C10.88 19.743 11.4875 19.7302 12.095 19.7385C12.0935 21.987 12.0882 24.2355 12.0972 26.484C12.1242 27.216 12.9867 27.702 13.643 27.414C14.0517 27.2595 14.3585 26.8455 14.345 26.4022C14.3457 24.1807 14.3427 21.9592 14.3465 19.7377C14.9652 19.7287 15.5847 19.7467 16.2035 19.7295C16.7675 19.689 17.2347 19.1617 17.2047 18.5962C17.1972 18.03 16.6925 17.5305 16.1255 17.5327C14.177 17.5305 12.2285 17.529 10.2792 17.5335C9.69723 17.5485 9.19773 18.093 9.23523 18.6757ZM18.3882 18.6075C17.5205 20.889 16.6557 23.172 15.7872 25.4535C15.6387 25.827 15.518 26.2237 15.536 26.6295C15.5472 26.8755 15.6417 27.1387 15.8615 27.2722C16.163 27.4537 16.5297 27.501 16.8755 27.4657C17.171 27.426 17.498 27.2812 17.6037 26.9797C17.7912 26.496 17.972 26.0092 18.1602 25.5255C19.3032 25.5195 20.4455 25.524 21.5885 25.5232C21.7872 26.025 21.9672 26.5342 22.172 27.0337C22.3602 27.4215 22.8545 27.5055 23.2437 27.471C23.5962 27.4327 24.029 27.312 24.155 26.9355C24.2915 26.5147 24.1782 26.0617 24.0402 25.6567C23.183 23.3955 22.3227 21.1357 21.464 18.8752C21.2742 18.1612 20.6382 17.541 19.874 17.5312C19.2215 17.544 18.6237 18.0082 18.3882 18.6075ZM24.7962 18.678C24.797 21.2257 24.7947 23.7735 24.7977 26.3212C24.7962 26.8837 25.3302 27.342 25.8785 27.3285C27.1002 27.3277 28.3235 27.333 29.5452 27.3262C30.101 27.315 30.6072 26.8072 30.56 26.2425C30.5442 25.7197 30.068 25.2855 29.5542 25.2682C28.7345 25.2577 27.9147 25.2682 27.095 25.263C27.0935 23.0422 27.098 20.8207 27.0927 18.5992C27.077 17.925 26.3682 17.4007 25.718 17.5522C25.1945 17.6482 24.776 18.141 24.7962 18.678ZM31.0002 18.672C31.0002 21.246 30.9965 23.8192 31.0017 26.3932C31.0077 26.9707 31.5252 27.483 32.1042 27.4762C32.696 27.5055 33.2442 26.9887 33.2487 26.3962C33.2562 25.5622 33.2465 24.7282 33.2532 23.895C33.3852 23.7675 33.5135 23.637 33.6417 23.5057C34.52 24.6765 35.4035 25.8435 36.2855 27.0112C36.6492 27.5175 37.4472 27.5985 37.9085 27.1815C38.3487 26.8215 38.435 26.115 38.087 25.6635C37.1645 24.4335 36.2315 23.2117 35.3127 21.9787C36.1722 21.108 37.0467 20.2515 37.9047 19.3785C38.282 18.9615 38.1282 18.2707 37.7067 17.943C37.3452 17.6295 36.7362 17.5755 36.389 17.937C35.3397 18.978 34.2987 20.0272 33.2517 21.0705C33.248 20.2477 33.2555 19.425 33.2487 18.6022C33.236 18.0105 32.6862 17.5005 32.0952 17.5305C31.499 17.5312 30.9777 18.0765 31.0002 18.672Z", fill: "black" }),
2044
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { d: "M19.8744 20.3452C20.2547 21.4042 20.6184 22.47 21.0009 23.529C20.2517 23.5305 19.5024 23.5297 18.7539 23.5282C19.1252 22.467 19.5002 21.4065 19.8744 20.3452Z", fill: "black" }),
2045
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { d: "M9.23538 18.6757C9.19788 18.0929 9.69738 17.5484 10.2794 17.5334C12.2286 17.5289 14.1771 17.5304 16.1256 17.5327C16.6926 17.5304 17.1974 18.0299 17.2049 18.5962C17.2349 19.1617 16.7676 19.6889 16.2036 19.7294C15.5849 19.7467 14.9654 19.7287 14.3466 19.7377C14.3429 21.9592 14.3459 24.1807 14.3451 26.4022C14.3586 26.8454 14.0519 27.2594 13.6431 27.4139C12.9869 27.7019 12.1244 27.2159 12.0974 26.4839C12.0884 24.2354 12.0936 21.9869 12.0951 19.7384C11.4876 19.7302 10.8801 19.7429 10.2734 19.7324C9.72438 19.7107 9.24513 19.2262 9.23538 18.6757Z", fill: "#FFE711" }),
2046
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { d: "M18.3882 18.6075C18.6237 18.0083 19.2215 17.544 19.874 17.5312C20.6382 17.541 21.2742 18.1612 21.464 18.8752C22.3227 21.1358 23.183 23.3955 24.0402 25.6567C24.1782 26.0618 24.2915 26.5148 24.155 26.9355C24.029 27.312 23.5962 27.4328 23.2437 27.471C22.8545 27.5055 22.3602 27.4215 22.172 27.0338C21.9672 26.5343 21.7872 26.025 21.5885 25.5233C20.4455 25.524 19.3032 25.5195 18.1602 25.5255C17.972 26.0092 17.7912 26.496 17.6037 26.9798C17.498 27.2813 17.171 27.426 16.8755 27.4657C16.5297 27.501 16.163 27.4538 15.8615 27.2723C15.6417 27.1388 15.5472 26.8755 15.536 26.6295C15.518 26.2238 15.6387 25.827 15.7872 25.4535C16.6557 23.172 17.5205 20.889 18.3882 18.6075ZM19.8747 20.3452C19.5005 21.4065 19.1255 22.467 18.7542 23.5282C19.5027 23.5297 20.252 23.5305 21.0012 23.529C20.6187 22.47 20.255 21.4042 19.8747 20.3452Z", fill: "#FFE711" }),
2047
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { d: "M24.7956 18.6779C24.7754 18.1409 25.1939 17.6481 25.7174 17.5521C26.3676 17.4006 27.0764 17.9249 27.0921 18.5991C27.0974 20.8206 27.0929 23.0421 27.0944 25.2629C27.9141 25.2681 28.7339 25.2576 29.5536 25.2681C30.0674 25.2854 30.5436 25.7196 30.5594 26.2424C30.6066 26.8071 30.1004 27.3149 29.5446 27.3261C28.3229 27.3329 27.0996 27.3276 25.8779 27.3284C25.3296 27.3419 24.7956 26.8836 24.7971 26.3211C24.7941 23.7734 24.7964 21.2256 24.7956 18.6779Z", fill: "#FFE711" }),
2048
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { d: "M31.0013 18.6718C30.9788 18.0763 31.5 17.5311 32.0963 17.5303C32.6873 17.5003 33.237 18.0103 33.2498 18.6021C33.2565 19.4248 33.249 20.2476 33.2528 21.0703C34.2998 20.0271 35.3408 18.9778 36.39 17.9368C36.7373 17.5753 37.3463 17.6293 37.7078 17.9428C38.1293 18.2706 38.283 18.9613 37.9058 19.3783C37.0478 20.2513 36.1733 21.1078 35.3138 21.9786C36.2325 23.2116 37.1655 24.4333 38.088 25.6633C38.436 26.1148 38.3498 26.8213 37.9095 27.1813C37.4483 27.5983 36.6503 27.5173 36.2865 27.0111C35.4045 25.8433 34.521 24.6763 33.6428 23.5056C33.5145 23.6368 33.3863 23.7673 33.2543 23.8948C33.2475 24.7281 33.2573 25.5621 33.2498 26.3961C33.2453 26.9886 32.697 27.5053 32.1053 27.4761C31.5263 27.4828 31.0088 26.9706 31.0028 26.3931C30.9975 23.8191 31.0013 21.2458 31.0013 18.6718Z", fill: "#FFE711" })
2049
+ ] }),
2050
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("clipPath", { id: "clip0_8121_9671", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("rect", { width: "48", height: "48", rx: "8", fill: "white" }) }) })
2051
+ ] });
2052
+ }
2053
+
2054
+ // src/assets/icon/MatchIdIcon.tsx
2055
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2056
+ var MatchIdIcon = () => {
2057
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("svg", { width: "94", height: "20", viewBox: "0 0 94 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2058
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("g", { clipPath: "url(#clip0_8154_9735)", children: [
2059
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { d: "M3.63333 7.535V17.5H0.75V2.5H4.55167L8.89667 13.615L13.2633 2.5H17.065V17.5H14.1817V7.45167L10.2117 17.5H7.55833L3.63333 7.535Z", fill: "black" }),
2060
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { d: "M28.3433 14.2833H22.5149L21.3666 17.5H18.1699L23.8099 2.5H27.2783L32.8766 17.5H29.4716L28.3433 14.2833ZM23.4133 11.755H27.4666L25.4616 5.96833L23.4149 11.755H23.4133Z", fill: "black" }),
2061
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { d: "M36.4072 17.5V5.36167H31.6855V2.5H44.3255V5.36167H39.5839V17.5H36.4089H36.4072Z", fill: "black" }),
2062
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { d: "M44.4199 9.98C44.4199 5.76833 47.5883 2.5 51.6399 2.5C55.4299 2.5 58.3983 5.02667 58.8999 8.71667H55.6716C55.3299 6.65167 53.7266 5.22667 51.6816 5.22667C49.2149 5.22667 47.5499 7.17167 47.5499 9.98C47.5499 12.7883 49.2149 14.7733 51.6816 14.7733C53.7266 14.7733 55.3116 13.33 55.6716 11.2633H58.8999C58.3983 14.9933 55.4316 17.5 51.6399 17.5C47.5899 17.5 44.4199 14.2117 44.4199 9.98Z", fill: "black" }),
2063
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { d: "M59.9355 17.5V2.5H63.1105V8.41167H69.6072V2.5H72.7822V17.5H69.6072V11.1483H63.1105V17.5H59.9355Z", fill: "black" }),
2064
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { d: "M92.2318 10C92.2318 11.21 91.9502 12.3533 91.4485 13.3667C90.2335 15.8183 87.7318 17.5 84.8435 17.5H78.8002C78.7518 17.5 78.7735 17.4467 78.8002 17.4067C78.9418 17.1967 79.5068 16.8133 79.5068 15.8283C79.5068 14.8433 79.1985 14.35 79.0502 14.15C79.0202 14.11 79.0002 14.0533 79.0502 14.0533H84.8435C86.6752 14.0533 88.5035 11.86 88.5035 10C88.5035 8.14 86.6752 5.94667 84.8435 5.94667H79.0368C78.9902 5.94667 79.0135 5.89667 79.0368 5.85667C79.1718 5.62667 79.5052 4.98 79.5052 4.20333C79.5052 3.25 79.1868 2.78667 79.0368 2.59833C79.0068 2.55833 78.9868 2.5 79.0385 2.5H84.8452C87.7335 2.5 90.2352 4.18167 91.4502 6.63333C91.9518 7.645 92.2335 8.78833 92.2335 10H92.2318Z", fill: "black" }),
2065
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M74.2598 9.12662C74.2598 7.97329 75.1948 7.03662 76.3498 7.03662C77.5048 7.03662 78.4398 7.97162 78.4398 9.12662C78.4398 9.72829 78.1848 10.2716 77.7764 10.6533C77.3264 11.075 76.9164 11.605 76.9164 12.2216V12.3166C76.9164 12.9333 77.3264 13.4633 77.7764 13.885C78.1848 14.2666 78.4398 14.8083 78.4398 15.4116C78.4398 16.565 77.5048 17.5016 76.3498 17.5016C75.1948 17.5016 74.2598 16.5666 74.2598 15.4116C74.2598 14.81 74.5148 14.2666 74.9231 13.885C75.3731 13.4633 75.7831 12.9333 75.7831 12.3166V12.2216C75.7831 11.605 75.3731 11.075 74.9231 10.6533C74.5148 10.2716 74.2598 9.72995 74.2598 9.12662Z", fill: "#FC802D" }),
2066
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { d: "M76.3477 6.09C77.3391 6.09 78.1427 5.28635 78.1427 4.295C78.1427 3.30365 77.3391 2.5 76.3477 2.5C75.3564 2.5 74.5527 3.30365 74.5527 4.295C74.5527 5.28635 75.3564 6.09 76.3477 6.09Z", fill: "#FC802D" })
2067
+ ] }),
2068
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("clipPath", { id: "clip0_8154_9735", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("rect", { width: "92.5", height: "20", fill: "white", transform: "translate(0.75)" }) }) })
2069
+ ] });
2070
+ };
2071
+ var MatchIdIcon_default = MatchIdIcon;
2072
+
2035
2073
  // src/hooks/useLayout.tsx
2036
2074
  var useLayout_exports = {};
2037
2075
  __export(useLayout_exports, {
@@ -2053,39 +2091,39 @@ function useDownMd() {
2053
2091
  }
2054
2092
 
2055
2093
  // src/hooks/useConfig.tsx
2056
- var import_jsx_runtime55 = require("react/jsx-runtime");
2094
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2057
2095
  var DEFAULT_WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
2058
2096
  var WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
2059
2097
  function useWalletConfig() {
2060
2098
  const isDownMd = useDownMd();
2061
2099
  const walletMap = {
2062
2100
  evm: {
2063
- icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
2064
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
2101
+ icon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
2102
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
2065
2103
  name: "EVM",
2066
2104
  method: "evm"
2067
2105
  },
2068
2106
  sol: {
2069
- icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
2070
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
2107
+ icon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
2108
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
2071
2109
  name: "SOL",
2072
2110
  method: "sol"
2073
2111
  },
2074
2112
  btc: {
2075
- icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
2076
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
2113
+ icon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
2114
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
2077
2115
  name: "BTC",
2078
2116
  method: "btc"
2079
2117
  },
2080
2118
  tron: {
2081
- icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TRXDarkIcon, { size: isDownMd ? 36 : 40 }),
2082
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TRXLightIcon, { size: isDownMd ? 36 : 40 }),
2119
+ icon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TRXDarkIcon, { size: isDownMd ? 36 : 40 }),
2120
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TRXLightIcon, { size: isDownMd ? 36 : 40 }),
2083
2121
  name: "TRON",
2084
2122
  method: "tron"
2085
2123
  },
2086
2124
  ton: {
2087
- icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TonLightIcon, { size: isDownMd ? 36 : 40 }),
2088
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TonLightIcon2, { size: isDownMd ? 36 : 40 }),
2125
+ icon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TonLightIcon, { size: isDownMd ? 36 : 40 }),
2126
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TonLightIcon2, { size: isDownMd ? 36 : 40 }),
2089
2127
  name: "TON",
2090
2128
  method: "ton"
2091
2129
  }
@@ -2133,6 +2171,12 @@ var useWalletModalStore = (0, import_zustand2.create)((set) => ({
2133
2171
  open: (type, methods = DEFAULT_WALLET_METHODS) => set({ isOpen: true, type, methods }),
2134
2172
  close: () => set({ isOpen: false })
2135
2173
  }));
2174
+ var useEmailModalStore = (0, import_zustand2.create)((set) => ({
2175
+ isOpen: false,
2176
+ type: "",
2177
+ open: (type) => set({ isOpen: true, type }),
2178
+ close: () => set({ isOpen: false })
2179
+ }));
2136
2180
 
2137
2181
  // src/store/useStore.ts
2138
2182
  var import_zustand3 = require("zustand");
@@ -2170,6 +2214,7 @@ function useUserInfo() {
2170
2214
  const { open: BTCOpen } = useBTCModalStore();
2171
2215
  const { open: CEXBindOpen } = useCEXBindModalStore();
2172
2216
  const walletModalStore = useWalletModalStore();
2217
+ const emailModalStore = useEmailModalStore();
2173
2218
  const getRedirectUri = () => {
2174
2219
  return encodeURIComponent(window.location.href);
2175
2220
  };
@@ -2263,6 +2308,7 @@ function useUserInfo() {
2263
2308
  case "github":
2264
2309
  case "linkedin":
2265
2310
  case "facebook":
2311
+ case "kakao":
2266
2312
  return await loginByMethod(method);
2267
2313
  default:
2268
2314
  throw new Error("unsupported method");
@@ -2347,6 +2393,8 @@ function useUserInfo() {
2347
2393
  return TONOpen("bind");
2348
2394
  case "btc":
2349
2395
  return BTCOpen("bind");
2396
+ case "email":
2397
+ return emailModalStore.open("bind");
2350
2398
  case "telegram":
2351
2399
  return await bindTelegram();
2352
2400
  case "twitter":
@@ -2356,6 +2404,7 @@ function useUserInfo() {
2356
2404
  case "linkedin":
2357
2405
  case "facebook":
2358
2406
  case "youtube":
2407
+ case "kakao":
2359
2408
  const link = `${endpoints.back}api/v1/auth/${method == "youtube" ? "google" : method}?appid=${appid}&provider=${method == "youtube" ? "google" : method}&redirect=${encodeURIComponent(endpoints.auth + "bind/" + method)}&authorization=${token.includes("Bearer ") ? token.split(" ")[1] : token}${method == "youtube" ? "&auth_type=youtube" : ""}`;
2360
2409
  matchlog_default.log("link", link);
2361
2410
  return window.open(
@@ -2370,6 +2419,31 @@ function useUserInfo() {
2370
2419
  const bindCex = (type) => {
2371
2420
  return CEXBindOpen(type);
2372
2421
  };
2422
+ const bindByEmail = async ({ email, code }) => {
2423
+ try {
2424
+ const obj = {
2425
+ email,
2426
+ verification_key: emailLoginKey,
2427
+ verification_code: code
2428
+ };
2429
+ const res = await verifyEmailCodeApi(obj);
2430
+ if (res && res.data && isSuccess(res)) {
2431
+ events && events.onBind && events.onBind({
2432
+ type: "email"
2433
+ });
2434
+ eventManager_default.emit("onBind", {
2435
+ type: "email"
2436
+ });
2437
+ return true;
2438
+ } else {
2439
+ throw new Error(res.message);
2440
+ }
2441
+ } catch (error) {
2442
+ console.error("bindByEmail", error);
2443
+ throw error;
2444
+ }
2445
+ return false;
2446
+ };
2373
2447
  const getAuthInfo = async (method) => {
2374
2448
  const element_id = "auth_iframe";
2375
2449
  if (document.getElementById(element_id)) {
@@ -2438,6 +2512,7 @@ function useUserInfo() {
2438
2512
  auth,
2439
2513
  login: loginMethod,
2440
2514
  bind,
2515
+ bindByEmail,
2441
2516
  getAuthInfo,
2442
2517
  invite
2443
2518
  };
@@ -2511,7 +2586,7 @@ __export(ui_exports, {
2511
2586
  });
2512
2587
 
2513
2588
  // src/ui/Button/index.tsx
2514
- var import_jsx_runtime56 = require("react/jsx-runtime");
2589
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2515
2590
  function Button({
2516
2591
  size = "df",
2517
2592
  disabled = false,
@@ -2531,7 +2606,7 @@ function Button({
2531
2606
  onClick && onClick();
2532
2607
  }
2533
2608
  };
2534
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2609
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2535
2610
  "button",
2536
2611
  {
2537
2612
  type,
@@ -2542,14 +2617,14 @@ function Button({
2542
2617
  },
2543
2618
  onClick: onAction,
2544
2619
  ...dataset,
2545
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
2620
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
2546
2621
  }
2547
2622
  );
2548
2623
  }
2549
2624
 
2550
2625
  // src/ui/Overlay/index.tsx
2551
2626
  var import_react4 = require("react");
2552
- var import_jsx_runtime57 = require("react/jsx-runtime");
2627
+ var import_jsx_runtime59 = require("react/jsx-runtime");
2553
2628
  function Overlay({
2554
2629
  isOpen = false,
2555
2630
  children,
@@ -2565,7 +2640,7 @@ function Overlay({
2565
2640
  document.body.style.overflow = "";
2566
2641
  };
2567
2642
  }, [isOpen]);
2568
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2643
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2569
2644
  "div",
2570
2645
  {
2571
2646
  className: "matchid-overlay",
@@ -2574,11 +2649,11 @@ function Overlay({
2574
2649
  },
2575
2650
  children
2576
2651
  }
2577
- ) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, {});
2652
+ ) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, {});
2578
2653
  }
2579
2654
 
2580
2655
  // src/ui/Drawer/index.tsx
2581
- var import_jsx_runtime58 = require("react/jsx-runtime");
2656
+ var import_jsx_runtime60 = require("react/jsx-runtime");
2582
2657
  function Drawer({
2583
2658
  children,
2584
2659
  showClose = true,
@@ -2589,22 +2664,22 @@ function Drawer({
2589
2664
  onBack
2590
2665
  }) {
2591
2666
  if (!isOpen) {
2592
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_jsx_runtime58.Fragment, {});
2667
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_jsx_runtime60.Fragment, {});
2593
2668
  }
2594
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-drawer", children: [
2595
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
2596
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
2597
- onBack && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
2669
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "matchid-drawer", children: [
2670
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
2671
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
2672
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
2598
2673
  title
2599
2674
  ] }),
2600
- showClose && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
2675
+ showClose && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
2601
2676
  ] }),
2602
2677
  children
2603
2678
  ] }) });
2604
2679
  }
2605
2680
 
2606
2681
  // src/ui/Field/index.tsx
2607
- var import_jsx_runtime59 = require("react/jsx-runtime");
2682
+ var import_jsx_runtime61 = require("react/jsx-runtime");
2608
2683
  function Field({
2609
2684
  label,
2610
2685
  children,
@@ -2612,13 +2687,13 @@ function Field({
2612
2687
  required,
2613
2688
  className = ""
2614
2689
  }) {
2615
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
2616
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-field-label", children: [
2617
- required && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "matchid-field-required", children: "*" }),
2690
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
2691
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "matchid-field-label", children: [
2692
+ required && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "matchid-field-required", children: "*" }),
2618
2693
  label
2619
2694
  ] }),
2620
2695
  children,
2621
- error && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-field-error", children: error })
2696
+ error && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "matchid-field-error", children: error })
2622
2697
  ] });
2623
2698
  }
2624
2699
 
@@ -2664,7 +2739,7 @@ var import_react6 = require("react");
2664
2739
 
2665
2740
  // src/ui/Input/index.tsx
2666
2741
  var import_react5 = require("react");
2667
- var import_jsx_runtime60 = require("react/jsx-runtime");
2742
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2668
2743
  function Input({
2669
2744
  onChange,
2670
2745
  type,
@@ -2689,7 +2764,7 @@ function Input({
2689
2764
  textarea.style.height = Math.min(textarea.scrollHeight, maxHeight) + "px";
2690
2765
  }
2691
2766
  }, [props.value]);
2692
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
2767
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2693
2768
  "div",
2694
2769
  {
2695
2770
  className: `matchid-input-box matchid-input-${type} ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
@@ -2698,14 +2773,14 @@ function Input({
2698
2773
  "--max-rows": maxRows
2699
2774
  },
2700
2775
  children: [
2701
- children ?? (type == "textarea" ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("textarea", { rows: 1, onChange, ...props, className: "matchid-input-field", ref: textareaRef, style: {
2776
+ children ?? (type == "textarea" ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("textarea", { rows: 1, onChange, ...props, className: "matchid-input-field", ref: textareaRef, style: {
2702
2777
  maxHeight: maxRows * 24 + "px"
2703
- } }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" })),
2704
- type != "textarea" && showClear && props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
2778
+ } }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" })),
2779
+ type != "textarea" && showClear && props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
2705
2780
  if (onChange) {
2706
2781
  onChange({ target: { value: "" } });
2707
2782
  }
2708
- }, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2783
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2709
2784
  DeleteRoundIcon,
2710
2785
  {
2711
2786
  height: isDownMd ? 16 : 21,
@@ -2713,16 +2788,16 @@ function Input({
2713
2788
  color: "var(--matchid-input-delete-icon-color)"
2714
2789
  }
2715
2790
  ) }),
2716
- type === "password" && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
2791
+ type === "password" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
2717
2792
  setInputType(inputType === "password" ? "text" : "password");
2718
- }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
2719
- showLength && props.maxLength && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: `matchid-input-length`, children: [
2720
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { children: [
2793
+ }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
2794
+ showLength && props.maxLength && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: `matchid-input-length`, children: [
2795
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { children: [
2721
2796
  props.value?.length || 0,
2722
2797
  "/",
2723
2798
  props.maxLength
2724
2799
  ] }),
2725
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(InputLengthIcon, { color: "var(--icon-color)" })
2800
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(InputLengthIcon, { color: "var(--icon-color)" })
2726
2801
  ] }),
2727
2802
  after
2728
2803
  ]
@@ -2732,7 +2807,7 @@ function Input({
2732
2807
 
2733
2808
  // src/components/EmailModal/StepEmail.tsx
2734
2809
  var import_react_intl = require("react-intl");
2735
- var import_jsx_runtime61 = require("react/jsx-runtime");
2810
+ var import_jsx_runtime63 = require("react/jsx-runtime");
2736
2811
  function StepEmail(props) {
2737
2812
  const intl = (0, import_react_intl.useIntl)();
2738
2813
  const [emailVal, setEmailVal] = (0, import_react6.useState)("");
@@ -2747,10 +2822,10 @@ function StepEmail(props) {
2747
2822
  const onContinue = async () => {
2748
2823
  props.onContinue(emailVal);
2749
2824
  };
2750
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "matchid-email-email-box", children: [
2751
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Field, { label: intl.formatMessage({
2825
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "matchid-email-email-box", children: [
2826
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Field, { label: intl.formatMessage({
2752
2827
  id: "emailAddress"
2753
- }), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2828
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2754
2829
  Input,
2755
2830
  {
2756
2831
  placeholder: intl.formatMessage({
@@ -2760,9 +2835,12 @@ function StepEmail(props) {
2760
2835
  value: emailVal
2761
2836
  }
2762
2837
  ) }),
2763
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { disabled: !canContinue, style: {
2838
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Button, { disabled: !canContinue, style: {
2764
2839
  marginTop: "64px"
2765
- }, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_intl.FormattedMessage, { id: "continue" }) })
2840
+ }, onClick: onContinue, size: "lg", block: true, highlight: true, children: [
2841
+ "99999",
2842
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_intl.FormattedMessage, { id: "continue" })
2843
+ ] })
2766
2844
  ] });
2767
2845
  }
2768
2846
 
@@ -2773,13 +2851,15 @@ var import_react7 = require("react");
2773
2851
  var EMAIL_INTERVAL = 60;
2774
2852
  var EMAIL_CODE_LENGTH = 6;
2775
2853
  var NATIVE_TOKEN_ADDRESS = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
2854
+ var TERMS_OF_SERVICE_URL = "https://docs.google.com/document/d/1QbagOOBhi50niC2mn4pJAd9pyNlvm1MSwcKWuP9YB80/edit?usp=sharing";
2855
+ var PRIVACY_POLICY_URL = "https://docs.google.com/document/d/1YOUUOmNXbA7qy79YckxhPMLWBj_WDiUp6mkJPNq_XCk/edit?usp=sharing";
2776
2856
 
2777
2857
  // src/components/EmailModal/StepVerify.tsx
2778
2858
  var import_react_intl2 = require("react-intl");
2779
- var import_jsx_runtime62 = require("react/jsx-runtime");
2859
+ var import_jsx_runtime64 = require("react/jsx-runtime");
2780
2860
  function StepVerify(props) {
2781
2861
  const intl = (0, import_react_intl2.useIntl)();
2782
- const { getLoginEmailCode, loginByEmail } = useUserInfo();
2862
+ const { getLoginEmailCode, loginByEmail, bindByEmail } = useUserInfo();
2783
2863
  const [error, setError] = (0, import_react7.useState)("");
2784
2864
  const [code, setCode] = (0, import_react7.useState)("");
2785
2865
  const [sending, setSending] = (0, import_react7.useState)(false);
@@ -2839,7 +2919,10 @@ function StepVerify(props) {
2839
2919
  try {
2840
2920
  setError("");
2841
2921
  setSubmitting(true);
2842
- const res = await loginByEmail({
2922
+ const res = props.type === "bind" ? await bindByEmail({
2923
+ email: props.email,
2924
+ code
2925
+ }) : await loginByEmail({
2843
2926
  email: props.email,
2844
2927
  code
2845
2928
  });
@@ -2853,17 +2936,17 @@ function StepVerify(props) {
2853
2936
  setSubmitting(false);
2854
2937
  }
2855
2938
  };
2856
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-email-verify-box", children: [
2857
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-email-verify-header", children: [
2858
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
2859
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
2860
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
2861
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_intl2.FormattedMessage, { id: "sendEmailTips" }) })
2939
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-email-verify-box", children: [
2940
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-email-verify-header", children: [
2941
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
2942
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
2943
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
2944
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react_intl2.FormattedMessage, { id: "sendEmailTips" }) })
2862
2945
  ] })
2863
2946
  ] }),
2864
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Field, { label: intl.formatMessage({
2947
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Field, { label: intl.formatMessage({
2865
2948
  id: "verificationCode"
2866
- }), error, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2949
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
2867
2950
  Input,
2868
2951
  {
2869
2952
  placeholder: intl.formatMessage({
@@ -2873,7 +2956,7 @@ function StepVerify(props) {
2873
2956
  maxLength: codeLength,
2874
2957
  onChange: (e) => setCode(e.target.value),
2875
2958
  value: code,
2876
- after: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2959
+ after: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
2877
2960
  Button,
2878
2961
  {
2879
2962
  highlight: true,
@@ -2892,19 +2975,20 @@ function StepVerify(props) {
2892
2975
  )
2893
2976
  }
2894
2977
  ) }),
2895
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Button, { disabled: !canContinue, loading: submitting, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_intl2.FormattedMessage, { id: "continue" }) })
2978
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Button, { disabled: !canContinue, loading: submitting, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react_intl2.FormattedMessage, { id: "continue" }) })
2896
2979
  ] });
2897
2980
  }
2898
2981
 
2899
2982
  // src/components/EmailModal/index.tsx
2900
2983
  var import_react_intl3 = require("react-intl");
2901
- var import_jsx_runtime63 = require("react/jsx-runtime");
2984
+ var import_jsx_runtime65 = require("react/jsx-runtime");
2902
2985
  function EmailModal({
2903
2986
  isOpen = false,
2904
2987
  width = 480,
2905
2988
  onClose,
2906
2989
  onBack,
2907
- onLogin
2990
+ onLogin,
2991
+ type = "login"
2908
2992
  }) {
2909
2993
  const [step, setStep] = (0, import_react8.useState)("input");
2910
2994
  const [emailVal, setEmailVal] = (0, import_react8.useState)("");
@@ -2915,7 +2999,7 @@ function EmailModal({
2915
2999
  setEmailVal("");
2916
3000
  }
2917
3001
  }, [isOpen]);
2918
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3002
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
2919
3003
  ModalWithHeader,
2920
3004
  {
2921
3005
  isOpen,
@@ -2925,17 +3009,17 @@ function EmailModal({
2925
3009
  id: "email"
2926
3010
  }),
2927
3011
  onBack: step == "verify" ? () => setStep("input") : onBack,
2928
- children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
3012
+ children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
2929
3013
  setEmailVal(email);
2930
3014
  setStep("verify");
2931
- } }) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
3015
+ } }) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(StepVerify, { type, email: emailVal, onSuccess: onLogin })
2932
3016
  }
2933
3017
  );
2934
3018
  }
2935
3019
 
2936
3020
  // src/ui/Popover/index.tsx
2937
3021
  var import_react9 = require("react");
2938
- var import_jsx_runtime64 = require("react/jsx-runtime");
3022
+ var import_jsx_runtime66 = require("react/jsx-runtime");
2939
3023
  function Popover({
2940
3024
  children,
2941
3025
  content,
@@ -2945,7 +3029,7 @@ function Popover({
2945
3029
  gap = "20px"
2946
3030
  }) {
2947
3031
  const [active, setActive] = (0, import_react9.useState)(false);
2948
- return children && /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
3032
+ return children && /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
2949
3033
  "div",
2950
3034
  {
2951
3035
  onClick: () => {
@@ -2956,9 +3040,9 @@ function Popover({
2956
3040
  className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
2957
3041
  children: [
2958
3042
  children,
2959
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { style: {
3043
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { style: {
2960
3044
  paddingTop: gap
2961
- }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: `matchid-popover-content`, children: content }) })
3045
+ }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: `matchid-popover-content`, children: content }) })
2962
3046
  ]
2963
3047
  }
2964
3048
  );
@@ -2989,7 +3073,7 @@ function useAppConfig() {
2989
3073
  }
2990
3074
 
2991
3075
  // src/components/LoginBox/index.tsx
2992
- var import_jsx_runtime65 = require("react/jsx-runtime");
3076
+ var import_jsx_runtime67 = require("react/jsx-runtime");
2993
3077
  var RecommendItem = ({
2994
3078
  icon,
2995
3079
  name,
@@ -2998,20 +3082,20 @@ var RecommendItem = ({
2998
3082
  children,
2999
3083
  footer
3000
3084
  }) => {
3001
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "matchid-login-recommend-method", children: [
3002
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
3003
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
3004
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
3005
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
3085
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-login-recommend-method", children: [
3086
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
3087
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
3088
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
3089
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
3006
3090
  ] }),
3007
- footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3091
+ footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3008
3092
  ArrowDownIcon,
3009
3093
  {
3010
3094
  className: `matchid-login-recommend-method-arrow ${showChildren ? "matchid-login-recommend-method-arrow-active" : ""}`,
3011
3095
  size: 20,
3012
3096
  color: "var(--matchid-arrow-color)"
3013
3097
  }
3014
- ) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3098
+ ) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3015
3099
  ArrowRightIcon,
3016
3100
  {
3017
3101
  className: "matchid-login-recommend-method-arrow",
@@ -3020,7 +3104,7 @@ var RecommendItem = ({
3020
3104
  }
3021
3105
  )
3022
3106
  ] }),
3023
- children && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3107
+ children && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3024
3108
  "div",
3025
3109
  {
3026
3110
  className: `matchid-login-recommend-method-popover ${showChildren ? "matchid-login-recommend-method-popover-active" : ""}`,
@@ -3085,75 +3169,80 @@ function LoginBox({
3085
3169
  const isDownMd = useDownMd();
3086
3170
  const methodMap = {
3087
3171
  wallet: {
3088
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
3172
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
3089
3173
  name: intl.formatMessage({ id: "wallet" }),
3090
3174
  onClick: () => setShowWallet(!showWallet),
3091
3175
  type: "wallet"
3092
3176
  },
3093
3177
  email: {
3094
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
3178
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
3095
3179
  name: intl.formatMessage({ id: "email" }),
3096
3180
  onClick: () => {
3097
3181
  setEmailOpen(true);
3098
3182
  }
3099
3183
  },
3100
3184
  google: {
3101
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
3185
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
3102
3186
  name: "Google",
3103
3187
  onClick: () => login("google")
3104
3188
  },
3105
3189
  twitter: {
3106
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
3190
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
3107
3191
  name: "X",
3108
3192
  onClick: () => login("twitter")
3109
3193
  },
3110
3194
  telegram: {
3111
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
3195
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
3112
3196
  name: "Telegram",
3113
3197
  onClick: () => login("telegram")
3114
3198
  },
3115
3199
  github: {
3116
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
3200
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
3117
3201
  name: "Github",
3118
3202
  onClick: () => login("github")
3119
3203
  },
3120
3204
  discord: {
3121
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
3205
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
3122
3206
  name: "Discord",
3123
3207
  onClick: () => login("discord")
3124
3208
  },
3125
3209
  linkedin: {
3126
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
3210
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
3127
3211
  name: "LinkedIn",
3128
3212
  onClick: () => login("linkedin")
3129
3213
  },
3130
3214
  facebook: {
3131
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
3215
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
3132
3216
  name: "Facebook",
3133
3217
  onClick: () => login("facebook")
3134
3218
  },
3135
3219
  youtube: {
3136
- icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
3220
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
3137
3221
  name: "Youtube",
3138
3222
  onClick: () => login("youtube")
3223
+ },
3224
+ kakao: {
3225
+ icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(KakaoIcon, { size: isDownMd ? 36 : 40 }),
3226
+ name: "Kakao",
3227
+ onClick: () => login("kakao")
3139
3228
  }
3140
3229
  };
3141
3230
  const { walletMap } = useWalletConfig();
3142
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
3143
- (!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "matchid-login-box", children: [
3144
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "matchid-login-recommend-list", children: methodConfig.recommendMethods.map((m) => {
3145
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3231
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
3232
+ (!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-login-box", children: [
3233
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-login-recommend-list", children: methodConfig.recommendMethods.map((m) => {
3234
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3146
3235
  RecommendItem,
3147
3236
  {
3148
3237
  icon: methodMap[m]?.icon,
3149
3238
  name: methodMap[m]?.name,
3150
3239
  onClick: methodMap[m]?.onClick,
3151
3240
  showChildren: m == "wallet" && showWallet,
3152
- children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
3153
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
3154
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: methodConfig.walletMethods.map((n) => {
3241
+ children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
3242
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
3243
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: methodConfig.walletMethods.map((n) => {
3155
3244
  const m2 = walletMap[n];
3156
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
3245
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
3157
3246
  "div",
3158
3247
  {
3159
3248
  className: "matchid-login-recommend-wallet-item",
@@ -3161,16 +3250,16 @@ function LoginBox({
3161
3250
  login(m2.method);
3162
3251
  },
3163
3252
  children: [
3164
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
3165
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
3166
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3253
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
3254
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
3255
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3167
3256
  "div",
3168
3257
  {
3169
3258
  className: "matchid-login-recommend-wallet-item-hover-icon",
3170
3259
  children: m2.activeIcon
3171
3260
  }
3172
3261
  ),
3173
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3262
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3174
3263
  "span",
3175
3264
  {
3176
3265
  className: "matchid-login-recommend-wallet-item-name",
@@ -3178,7 +3267,7 @@ function LoginBox({
3178
3267
  }
3179
3268
  )
3180
3269
  ] }),
3181
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3270
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3182
3271
  ArrowRightIcon,
3183
3272
  {
3184
3273
  className: "matchid-login-recommend-wallet-item-arrow",
@@ -3196,10 +3285,48 @@ function LoginBox({
3196
3285
  m
3197
3286
  );
3198
3287
  }) }),
3199
- methodConfig.methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "matchid-login-other", children: [
3200
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_intl4.FormattedMessage, { id: "otherLoginMethods" }) }),
3201
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "matchid-login-method-box", children: methodConfig.methods.map((m) => {
3202
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3288
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-privacy-policy", children: [
3289
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-privacy-policy-content", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3290
+ import_react_intl4.FormattedMessage,
3291
+ {
3292
+ id: "loginAgreement",
3293
+ values: {
3294
+ termsLink: (chunks) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3295
+ "a",
3296
+ {
3297
+ href: TERMS_OF_SERVICE_URL,
3298
+ target: "_blank",
3299
+ rel: "noopener noreferrer",
3300
+ className: "matchid-privacy-policy-content-link",
3301
+ children: chunks
3302
+ }
3303
+ ),
3304
+ privacyLink: (chunks) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3305
+ "a",
3306
+ {
3307
+ href: PRIVACY_POLICY_URL,
3308
+ target: "_blank",
3309
+ rel: "noopener noreferrer",
3310
+ className: "matchid-privacy-policy-content-link",
3311
+ children: chunks
3312
+ }
3313
+ )
3314
+ }
3315
+ }
3316
+ ) }),
3317
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-privacy-policy-powered-by", children: [
3318
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl4.FormattedMessage, { id: "poweredBy" }),
3319
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(MatchIdIcon_default, {})
3320
+ ] })
3321
+ ] }),
3322
+ methodConfig.methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-login-other", children: [
3323
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-login-other-line-box", children: [
3324
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-login-other-line" }),
3325
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl4.FormattedMessage, { id: "otherLoginMethods" }) }),
3326
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-login-other-line" })
3327
+ ] }),
3328
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "matchid-login-method-box", children: methodConfig.methods.map((m) => {
3329
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3203
3330
  "div",
3204
3331
  {
3205
3332
  className: "matchid-login-method-item",
@@ -3212,7 +3339,7 @@ function LoginBox({
3212
3339
  }) })
3213
3340
  ] })
3214
3341
  ] }),
3215
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3342
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3216
3343
  EmailModal,
3217
3344
  {
3218
3345
  isOpen: emailOpen,
@@ -3232,40 +3359,40 @@ var import_react12 = require("react");
3232
3359
 
3233
3360
  // src/components/LoginPanel/index.tsx
3234
3361
  var import_react_intl5 = require("react-intl");
3235
- var import_jsx_runtime66 = require("react/jsx-runtime");
3362
+ var import_jsx_runtime68 = require("react/jsx-runtime");
3236
3363
  function LoginPanel({
3237
3364
  header,
3238
3365
  onClose,
3239
3366
  ...props
3240
3367
  }) {
3241
3368
  const isDownMd = useDownMd();
3242
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "matchid-login-panel", children: [
3243
- header ? header : /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "matchid-login-panel-header", children: [
3244
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
3245
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_intl5.FormattedMessage, { id: "loginTitle" }) }),
3246
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_intl5.FormattedMessage, { id: "loginTips" }) })
3369
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "matchid-login-panel", children: [
3370
+ header ? header : /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "matchid-login-panel-header", children: [
3371
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
3372
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_intl5.FormattedMessage, { id: "loginTitle" }) }),
3373
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_intl5.FormattedMessage, { id: "loginTips" }) })
3247
3374
  ] }),
3248
- onClose && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
3375
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
3249
3376
  ] }),
3250
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-login-panel-divide" }),
3251
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(LoginBox, { ...props }) })
3377
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "matchid-login-panel-divide" }),
3378
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(LoginBox, { ...props }) })
3252
3379
  ] });
3253
3380
  }
3254
3381
 
3255
3382
  // src/components/LoginModal/index.tsx
3256
- var import_jsx_runtime67 = require("react/jsx-runtime");
3383
+ var import_jsx_runtime69 = require("react/jsx-runtime");
3257
3384
  function LoginModal({
3258
3385
  isOpen = false,
3259
3386
  width = 480,
3260
3387
  ...props
3261
3388
  }) {
3262
3389
  const { isLogin } = useUserInfo();
3263
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3390
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3264
3391
  Modal,
3265
3392
  {
3266
3393
  isOpen: isOpen && !isLogin,
3267
3394
  width,
3268
- children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(LoginPanel, { ...props, inModal: true })
3395
+ children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(LoginPanel, { ...props, inModal: true })
3269
3396
  }
3270
3397
  );
3271
3398
  }
@@ -3274,10 +3401,10 @@ function LoginModal({
3274
3401
  var import_react11 = require("react");
3275
3402
 
3276
3403
  // src/assets/icon/ProfileIcon.tsx
3277
- var import_jsx_runtime68 = require("react/jsx-runtime");
3404
+ var import_jsx_runtime70 = require("react/jsx-runtime");
3278
3405
  function ProfileIcon({ size = 24, color = "black", ...props }) {
3279
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3280
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3406
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3407
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3281
3408
  "path",
3282
3409
  {
3283
3410
  fillRule: "evenodd",
@@ -3286,7 +3413,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
3286
3413
  fill: color
3287
3414
  }
3288
3415
  ),
3289
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3416
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3290
3417
  "path",
3291
3418
  {
3292
3419
  fillRule: "evenodd",
@@ -3300,7 +3427,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
3300
3427
 
3301
3428
  // src/components/UserPopover/index.tsx
3302
3429
  var import_react_intl6 = require("react-intl");
3303
- var import_jsx_runtime69 = require("react/jsx-runtime");
3430
+ var import_jsx_runtime71 = require("react/jsx-runtime");
3304
3431
  function UserContent() {
3305
3432
  const { logout, address, username } = useUserInfo();
3306
3433
  const [logouting, setLogouting] = (0, import_react11.useState)(false);
@@ -3321,34 +3448,34 @@ function UserContent() {
3321
3448
  rightIcon,
3322
3449
  onClick
3323
3450
  }) => {
3324
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
3325
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
3451
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
3452
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
3326
3453
  icon,
3327
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "matchid-user-popover-item-text", children })
3454
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-user-popover-item-text", children })
3328
3455
  ] }),
3329
3456
  rightIcon
3330
3457
  ] });
3331
3458
  };
3332
3459
  const UserDivider = () => {
3333
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: `matchid-user-popover-divider` });
3460
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: `matchid-user-popover-divider` });
3334
3461
  };
3335
3462
  const [usernameOpen, setUsernameOpen] = (0, import_react11.useState)(false);
3336
3463
  const [copied, setCopied] = useCopyClipboard();
3337
3464
  const intl = (0, import_react_intl6.useIntl)();
3338
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-user-popover-content", children: [
3339
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-user-popover-list", children: [
3340
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(UserItem, { onClick: () => {
3465
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-user-popover-content", children: [
3466
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-user-popover-list", children: [
3467
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(UserItem, { onClick: () => {
3341
3468
  setCopied(address);
3342
- }, icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(CheckIcon, { size: 20, color: "#0ecb81" }) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(CopyIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(CheckIcon, { size: 20, color: "var(--icon-color)" }), children: truncateAddress(address) }),
3343
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(UserDivider, {}),
3344
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(UserItem, { onClick: () => {
3469
+ }, icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CheckIcon, { size: 20, color: "#0ecb81" }) : /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CopyIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CheckIcon, { size: 20, color: "var(--icon-color)" }), children: truncateAddress(address) }),
3470
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(UserDivider, {}),
3471
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(UserItem, { onClick: () => {
3345
3472
  setUsernameOpen(true);
3346
- }, icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
3473
+ }, icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
3347
3474
  id: "setUsername"
3348
3475
  }) })
3349
3476
  ] }),
3350
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react_intl6.FormattedMessage, { id: "disconnect" }) }),
3351
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
3477
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react_intl6.FormattedMessage, { id: "disconnect" }) }),
3478
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
3352
3479
  setUsernameOpen(false);
3353
3480
  }, onSuccess: () => {
3354
3481
  setUsernameOpen(false);
@@ -3359,12 +3486,12 @@ function UserPopover({
3359
3486
  children,
3360
3487
  ...props
3361
3488
  }) {
3362
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(UserContent, {}), children });
3489
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(UserContent, {}), children });
3363
3490
  }
3364
3491
 
3365
3492
  // src/components/LoginButton/index.tsx
3366
3493
  var import_react_intl7 = require("react-intl");
3367
- var import_jsx_runtime70 = require("react/jsx-runtime");
3494
+ var import_jsx_runtime72 = require("react/jsx-runtime");
3368
3495
  function LoginButton({
3369
3496
  loginRender,
3370
3497
  methods,
@@ -3380,8 +3507,8 @@ function LoginButton({
3380
3507
  const { isLogin, username } = useUserInfo();
3381
3508
  const [loginOpen, setLoginOpen] = (0, import_react12.useState)(false);
3382
3509
  if (!isLogin) {
3383
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
3384
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3510
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_jsx_runtime72.Fragment, { children: [
3511
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3385
3512
  LoginModal,
3386
3513
  {
3387
3514
  methods,
@@ -3391,15 +3518,15 @@ function LoginButton({
3391
3518
  onClose: () => setLoginOpen(false)
3392
3519
  }
3393
3520
  ),
3394
- /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
3395
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(UnLoginIcon_default, {}),
3396
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_intl7.FormattedMessage, { id: "login" }) })
3521
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
3522
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(UnLoginIcon_default, {}),
3523
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_intl7.FormattedMessage, { id: "login" }) })
3397
3524
  ] })
3398
3525
  ] });
3399
3526
  }
3400
- return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_jsx_runtime70.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
3401
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(LoginIcon_default, {}),
3402
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
3527
+ return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_jsx_runtime72.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
3528
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(LoginIcon_default, {}),
3529
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
3403
3530
  id: "user"
3404
3531
  }) })
3405
3532
  ] }) });
@@ -3408,15 +3535,15 @@ function LoginButton({
3408
3535
  // src/components/UsernameModal/index.tsx
3409
3536
  var import_react13 = require("react");
3410
3537
  var import_react_intl8 = require("react-intl");
3411
- var import_jsx_runtime71 = require("react/jsx-runtime");
3538
+ var import_jsx_runtime73 = require("react/jsx-runtime");
3412
3539
  var ValidItem = ({
3413
3540
  success = false,
3414
3541
  text
3415
3542
  }) => {
3416
3543
  const isDownMd = useDownMd();
3417
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
3418
- success ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(InfoLineIcon, { size: isDownMd ? 12 : 16 }),
3419
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { children: text })
3544
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
3545
+ success ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(InfoLineIcon, { size: isDownMd ? 12 : 16 }),
3546
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { children: text })
3420
3547
  ] });
3421
3548
  };
3422
3549
  function UsernameModal({
@@ -3464,12 +3591,12 @@ function UsernameModal({
3464
3591
  }
3465
3592
  };
3466
3593
  const intl = (0, import_react_intl8.useIntl)();
3467
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
3594
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
3468
3595
  id: username ? "editUsernameTitle" : "setUsernameTitle"
3469
- }), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-username-box", children: [
3470
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Field, { label: intl.formatMessage({
3596
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "matchid-username-box", children: [
3597
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Field, { label: intl.formatMessage({
3471
3598
  id: "username"
3472
- }), error, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3599
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3473
3600
  Input,
3474
3601
  {
3475
3602
  placeholder: intl.formatMessage({
@@ -3482,8 +3609,8 @@ function UsernameModal({
3482
3609
  value: val
3483
3610
  }
3484
3611
  ) }),
3485
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-valid", children: [
3486
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3612
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "matchid-valid", children: [
3613
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3487
3614
  ValidItem,
3488
3615
  {
3489
3616
  success: isValid,
@@ -3492,16 +3619,16 @@ function UsernameModal({
3492
3619
  })
3493
3620
  }
3494
3621
  ),
3495
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
3622
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
3496
3623
  id: "usernameLengthError"
3497
3624
  }) })
3498
3625
  ] }),
3499
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
3626
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
3500
3627
  marginTop: isDownMd ? "36px" : "64px"
3501
- }, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react_intl8.FormattedMessage, { id: "confirm" }) }),
3502
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { style: {
3628
+ }, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_react_intl8.FormattedMessage, { id: "confirm" }) }),
3629
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Button, { style: {
3503
3630
  marginTop: isDownMd ? "12px" : "24px"
3504
- }, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react_intl8.FormattedMessage, { id: "cancel" }) })
3631
+ }, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_react_intl8.FormattedMessage, { id: "cancel" }) })
3505
3632
  ] }) });
3506
3633
  }
3507
3634
 
@@ -3557,7 +3684,7 @@ var walletConnectImage = wallet_default;
3557
3684
  var walletSigningImage = signing_default;
3558
3685
 
3559
3686
  // src/components/WalletModalContent/index.tsx
3560
- var import_jsx_runtime72 = require("react/jsx-runtime");
3687
+ var import_jsx_runtime74 = require("react/jsx-runtime");
3561
3688
  function WalletModalContent({
3562
3689
  status,
3563
3690
  error,
@@ -3627,15 +3754,15 @@ function WalletModalContent({
3627
3754
  statusImage: walletConnectImage
3628
3755
  };
3629
3756
  }, [visible, connected, status, error, address]);
3630
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: `matchid-wallet-box`, children: [
3631
- /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: `matchid-wallet-content`, children: [
3632
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Lottie_default, { animationData: pageData.statusImage, style: {
3757
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: `matchid-wallet-box`, children: [
3758
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: `matchid-wallet-content`, children: [
3759
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Lottie_default, { animationData: pageData.statusImage, style: {
3633
3760
  width: 128,
3634
3761
  height: 128
3635
3762
  } }),
3636
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: pageData.isError ? "matchid-error" : "", children: pageData.text })
3763
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: pageData.isError ? "matchid-error" : "", children: pageData.text })
3637
3764
  ] }),
3638
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3765
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3639
3766
  Button,
3640
3767
  {
3641
3768
  block: true,
@@ -3711,15 +3838,15 @@ function WalletModalContentV2(props) {
3711
3838
  statusImage: walletConnectImage
3712
3839
  };
3713
3840
  }, [props, submitting]);
3714
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: `matchid-wallet-box`, children: [
3715
- /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: `matchid-wallet-content`, children: [
3716
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Lottie_default, { animationData: pageData.statusImage, style: {
3841
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: `matchid-wallet-box`, children: [
3842
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: `matchid-wallet-content`, children: [
3843
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Lottie_default, { animationData: pageData.statusImage, style: {
3717
3844
  width: 128,
3718
3845
  height: 128
3719
3846
  } }),
3720
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: props.status == "error" ? "matchid-error" : "", children: pageData.text })
3847
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: props.status == "error" ? "matchid-error" : "", children: pageData.text })
3721
3848
  ] }),
3722
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3849
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3723
3850
  Button,
3724
3851
  {
3725
3852
  block: true,
@@ -3783,7 +3910,7 @@ var import_wagmi = require("wagmi");
3783
3910
  var import_ethers = require("ethers");
3784
3911
 
3785
3912
  // node_modules/@wagmi/core/dist/esm/version.js
3786
- var version = "2.16.5";
3913
+ var version = "2.17.1";
3787
3914
 
3788
3915
  // node_modules/@wagmi/core/dist/esm/utils/getVersion.js
3789
3916
  var getVersion2 = () => `@wagmi/core@${version}`;
@@ -4001,7 +4128,7 @@ async function getEthersSigner(config, { chainId } = {}) {
4001
4128
  // src/components/EVMModal/index.tsx
4002
4129
  var import_siwe = require("siwe");
4003
4130
  var import_styles = require("@rainbow-me/rainbowkit/styles.css");
4004
- var import_jsx_runtime73 = require("react/jsx-runtime");
4131
+ var import_jsx_runtime75 = require("react/jsx-runtime");
4005
4132
  function WalletContent({
4006
4133
  onSuccess,
4007
4134
  type
@@ -4159,7 +4286,7 @@ function WalletContent({
4159
4286
  setNonce(void 0);
4160
4287
  setStatus("start");
4161
4288
  };
4162
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
4289
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4163
4290
  WalletModalContentV2,
4164
4291
  {
4165
4292
  status,
@@ -4177,14 +4304,14 @@ function EVMConnectModal({
4177
4304
  ...props
4178
4305
  }) {
4179
4306
  const intl = (0, import_react_intl9.useIntl)();
4180
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4307
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4181
4308
  id: type == "bind" ? "bindWith" : "loginWith"
4182
4309
  }, {
4183
4310
  name: "EVM"
4184
- }), children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(WalletContent, { onSuccess, type }) });
4311
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(WalletContent, { onSuccess, type }) });
4185
4312
  }
4186
4313
  function EVMModal(props) {
4187
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_rainbowkit.RainbowKitProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(EVMConnectModal, { ...props }) });
4314
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_rainbowkit.RainbowKitProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(EVMConnectModal, { ...props }) });
4188
4315
  }
4189
4316
 
4190
4317
  // src/components/TRONModal/index.tsx
@@ -4299,7 +4426,7 @@ var useTRONWallet = () => {
4299
4426
  };
4300
4427
 
4301
4428
  // src/components/TRONModal/index.tsx
4302
- var import_jsx_runtime74 = require("react/jsx-runtime");
4429
+ var import_jsx_runtime76 = require("react/jsx-runtime");
4303
4430
  function TRONConnectModal({
4304
4431
  type = "login",
4305
4432
  onSuccess,
@@ -4309,9 +4436,9 @@ function TRONConnectModal({
4309
4436
  const intl = (0, import_react_intl10.useIntl)();
4310
4437
  const { wallets, installedWallets, chooseWallet, wallet, address, onConnect } = useTRONWallet();
4311
4438
  const iconMaps = {
4312
- tronlink: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
4313
- bitget: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
4314
- okx: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
4439
+ tronlink: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
4440
+ bitget: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
4441
+ okx: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
4315
4442
  };
4316
4443
  const { events, login } = useMatch();
4317
4444
  const [status, setStatus] = (0, import_react18.useState)("");
@@ -4403,11 +4530,11 @@ function TRONConnectModal({
4403
4530
  disconnect();
4404
4531
  }
4405
4532
  }, [props.isOpen]);
4406
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4533
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4407
4534
  id: type == "bind" ? "bindWith" : "loginWith"
4408
4535
  }, {
4409
4536
  name: "TRON"
4410
- }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4537
+ }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4411
4538
  WalletModalContent,
4412
4539
  {
4413
4540
  error,
@@ -4420,9 +4547,9 @@ function TRONConnectModal({
4420
4547
  setVisible: () => {
4421
4548
  }
4422
4549
  }
4423
- ) : /* @__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: [
4550
+ ) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "matchid-login-recommend-list", children: [
4424
4551
  installedWallets.map((wallet2) => {
4425
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4552
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4426
4553
  RecommendItem,
4427
4554
  {
4428
4555
  icon: iconMaps[wallet2.walletKey],
@@ -4435,14 +4562,14 @@ function TRONConnectModal({
4435
4562
  );
4436
4563
  }),
4437
4564
  wallets.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
4438
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4565
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4439
4566
  RecommendItem,
4440
4567
  {
4441
4568
  icon: iconMaps[wallet2.walletKey],
4442
4569
  name: wallet2.name,
4443
4570
  onClick: () => {
4444
4571
  },
4445
- footer: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { size: "sm", onClick: () => {
4572
+ footer: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Button, { size: "sm", onClick: () => {
4446
4573
  window.open(wallet2.website);
4447
4574
  }, children: "Install" })
4448
4575
  },
@@ -4452,14 +4579,14 @@ function TRONConnectModal({
4452
4579
  ] }) }) });
4453
4580
  }
4454
4581
  function TRONModal(props) {
4455
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(TRONConnectModal, { ...props, type: props.type });
4582
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(TRONConnectModal, { ...props, type: props.type });
4456
4583
  }
4457
4584
 
4458
4585
  // src/components/TONModal/index.tsx
4459
4586
  var import_react19 = __toESM(require("react"));
4460
4587
  var import_react_intl11 = require("react-intl");
4461
4588
  var import_ui_react = require("@tonconnect/ui-react");
4462
- var import_jsx_runtime75 = require("react/jsx-runtime");
4589
+ var import_jsx_runtime77 = require("react/jsx-runtime");
4463
4590
  function WalletContent2({
4464
4591
  onSuccess,
4465
4592
  type
@@ -4586,7 +4713,7 @@ function WalletContent2({
4586
4713
  }
4587
4714
  }
4588
4715
  }, [state]);
4589
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4716
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
4590
4717
  WalletModalContent,
4591
4718
  {
4592
4719
  connected,
@@ -4620,20 +4747,20 @@ function TONConnectModal({
4620
4747
  const intl = (0, import_react_intl11.useIntl)();
4621
4748
  const { endpoints, appid } = useLocalStore_default();
4622
4749
  const manifestUrl = `${endpoints.back}api/v1/wallet/ton?appid=${appid}&url=` + encodeURIComponent(window.location.origin);
4623
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4750
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4624
4751
  id: type == "bind" ? "bindWith" : "loginWith"
4625
4752
  }, {
4626
4753
  name: "TON"
4627
- }), children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4754
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
4628
4755
  import_ui_react.TonConnectUIProvider,
4629
4756
  {
4630
4757
  manifestUrl,
4631
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(WalletContent2, { onSuccess, type })
4758
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(WalletContent2, { onSuccess, type })
4632
4759
  }
4633
4760
  ) });
4634
4761
  }
4635
4762
  function TONModal(props) {
4636
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(TONConnectModal, { ...props });
4763
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(TONConnectModal, { ...props });
4637
4764
  }
4638
4765
 
4639
4766
  // src/components/BTCModal/index.tsx
@@ -4856,7 +4983,7 @@ var useBTCWallet = () => {
4856
4983
  };
4857
4984
 
4858
4985
  // src/components/BTCModal/index.tsx
4859
- var import_jsx_runtime76 = require("react/jsx-runtime");
4986
+ var import_jsx_runtime78 = require("react/jsx-runtime");
4860
4987
  function BTCConnectModal({
4861
4988
  type = "login",
4862
4989
  onSuccess,
@@ -4866,10 +4993,10 @@ function BTCConnectModal({
4866
4993
  const intl = (0, import_react_intl12.useIntl)();
4867
4994
  const { wallets, installedWallets, chooseWallet, wallet, address, onConnect } = useBTCWallet();
4868
4995
  const iconMaps = {
4869
- leather: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
4870
- unisat: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
4871
- xverse: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 }),
4872
- phantom: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(PhantomIcon, { size: isDownMd ? 36 : 40 })
4996
+ leather: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
4997
+ unisat: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
4998
+ xverse: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 }),
4999
+ phantom: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(PhantomIcon, { size: isDownMd ? 36 : 40 })
4873
5000
  };
4874
5001
  const { events, login } = useMatch();
4875
5002
  const [status, setStatus] = (0, import_react21.useState)("");
@@ -4969,11 +5096,11 @@ function BTCConnectModal({
4969
5096
  statusRef.current = "";
4970
5097
  setError("");
4971
5098
  };
4972
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5099
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4973
5100
  id: type == "bind" ? "bindWith" : "loginWith"
4974
5101
  }, {
4975
5102
  name: "BTC"
4976
- }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
5103
+ }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
4977
5104
  WalletModalContent,
4978
5105
  {
4979
5106
  error,
@@ -4986,9 +5113,9 @@ function BTCConnectModal({
4986
5113
  setVisible: () => {
4987
5114
  }
4988
5115
  }
4989
- ) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "matchid-login-recommend-list", children: [
5116
+ ) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "matchid-login-recommend-list", children: [
4990
5117
  installedWallets.map((wallet2) => {
4991
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
5118
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
4992
5119
  RecommendItem,
4993
5120
  {
4994
5121
  icon: iconMaps[wallet2.walletKey],
@@ -5001,14 +5128,14 @@ function BTCConnectModal({
5001
5128
  );
5002
5129
  }),
5003
5130
  wallets.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
5004
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
5131
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
5005
5132
  RecommendItem,
5006
5133
  {
5007
5134
  icon: iconMaps[wallet2.walletKey],
5008
5135
  name: wallet2.name,
5009
5136
  onClick: () => {
5010
5137
  },
5011
- footer: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Button, { size: "sm", onClick: () => {
5138
+ footer: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Button, { size: "sm", onClick: () => {
5012
5139
  window.open(wallet2.website);
5013
5140
  }, children: "Install" })
5014
5141
  },
@@ -5018,13 +5145,13 @@ function BTCConnectModal({
5018
5145
  ] }) }) });
5019
5146
  }
5020
5147
  function BTCModal(props) {
5021
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(BTCConnectModal, { ...props });
5148
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(BTCConnectModal, { ...props });
5022
5149
  }
5023
5150
 
5024
5151
  // src/components/WalletModal/index.tsx
5025
5152
  var import_react22 = require("react");
5026
5153
  var import_react_intl13 = require("react-intl");
5027
- var import_jsx_runtime77 = require("react/jsx-runtime");
5154
+ var import_jsx_runtime79 = require("react/jsx-runtime");
5028
5155
  function WalletConnectModal({
5029
5156
  type,
5030
5157
  methods: _methods,
@@ -5042,13 +5169,13 @@ function WalletConnectModal({
5042
5169
  const platform = config.platform.map((p) => p.toLowerCase());
5043
5170
  return WALLET_METHODS.filter((m) => platform.includes(m));
5044
5171
  }, [config.platform, _methods]);
5045
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5172
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5046
5173
  id: type == "bind" ? "bindWith" : "loginWith"
5047
5174
  }, {
5048
5175
  name: ""
5049
- }), children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "matchid-login-recommend-list", children: methods.map((method, index) => {
5176
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "matchid-login-recommend-list", children: methods.map((method, index) => {
5050
5177
  const m = walletMap[method];
5051
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
5178
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5052
5179
  RecommendItem,
5053
5180
  {
5054
5181
  icon: m?.icon,
@@ -5062,12 +5189,12 @@ function WalletConnectModal({
5062
5189
  }) }) }) });
5063
5190
  }
5064
5191
  function WalletModal(props) {
5065
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(WalletConnectModal, { ...props });
5192
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(WalletConnectModal, { ...props });
5066
5193
  }
5067
5194
 
5068
5195
  // src/components/AlphaAvatar/index.tsx
5069
5196
  var import_react23 = require("react");
5070
- var import_jsx_runtime78 = require("react/jsx-runtime");
5197
+ var import_jsx_runtime80 = require("react/jsx-runtime");
5071
5198
  function AlphaAvatar({ name, size = 40, className = "" }) {
5072
5199
  const [avatar, setAvatar] = (0, import_react23.useState)(void 0);
5073
5200
  (0, import_react23.useEffect)(() => {
@@ -5076,7 +5203,7 @@ function AlphaAvatar({ name, size = 40, className = "" }) {
5076
5203
  setAvatar(char);
5077
5204
  }
5078
5205
  }, [name]);
5079
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
5206
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
5080
5207
  width: size,
5081
5208
  height: size,
5082
5209
  fontSize: Math.ceil(size / 2)
@@ -5084,7 +5211,7 @@ function AlphaAvatar({ name, size = 40, className = "" }) {
5084
5211
  }
5085
5212
 
5086
5213
  // src/components/WalletAsset/index.tsx
5087
- var import_jsx_runtime79 = require("react/jsx-runtime");
5214
+ var import_jsx_runtime81 = require("react/jsx-runtime");
5088
5215
  function WalletAsset({
5089
5216
  onAssetClick,
5090
5217
  matchWalletAssetsOptions
@@ -5094,7 +5221,7 @@ function WalletAsset({
5094
5221
  list: walletAssets.mergedAssets
5095
5222
  });
5096
5223
  const { list } = useMatchChain();
5097
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "matchid-wallet-asset-list", children: matchWalletAssetList.list.map((n, index) => {
5224
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "matchid-wallet-asset-list", children: matchWalletAssetList.list.map((n, index) => {
5098
5225
  const clickFunc = onAssetClick && onAssetClick(n);
5099
5226
  const chain = list?.find((m) => m.id.toString() === n.chain_id);
5100
5227
  const getFooterColor = () => {
@@ -5109,11 +5236,11 @@ function WalletAsset({
5109
5236
  }
5110
5237
  return "";
5111
5238
  };
5112
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: `matchid-wallet-asset-item`, onClick: clickFunc, style: {
5239
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-wallet-asset-item`, onClick: clickFunc, style: {
5113
5240
  cursor: clickFunc ? "pointer" : "default"
5114
5241
  }, children: [
5115
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "matchid-wallet-asset-logo", title: n.symbol || n.name || "", children: [
5116
- n.icon ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-wallet-asset-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5242
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "matchid-wallet-asset-logo", title: n.symbol || n.name || "", children: [
5243
+ n.icon ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-wallet-asset-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5117
5244
  AlphaAvatar,
5118
5245
  {
5119
5246
  className: `matchid-wallet-asset-icon`,
@@ -5121,12 +5248,12 @@ function WalletAsset({
5121
5248
  name: n.symbol || n.name || ""
5122
5249
  }
5123
5250
  ),
5124
- chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("img", { src: chain.iconUrl, alt: chain.name, className: `matchid-wallet-asset-chain` })
5251
+ chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("img", { src: chain.iconUrl, alt: chain.name, className: `matchid-wallet-asset-chain` })
5125
5252
  ] }),
5126
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: `matchid-wallet-asset-info`, children: [
5127
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: `matchid-wallet-asset-name`, children: n.symbol }),
5128
- "price" in n && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: `matchid-wallet-asset-content`, children: [
5129
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "matchid-wallet-asset-price", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5253
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-wallet-asset-info`, children: [
5254
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: `matchid-wallet-asset-name`, children: n.symbol }),
5255
+ "price" in n && /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-wallet-asset-content`, children: [
5256
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "matchid-wallet-asset-price", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5130
5257
  NumberFormatter,
5131
5258
  {
5132
5259
  value: n.price,
@@ -5134,7 +5261,7 @@ function WalletAsset({
5134
5261
  tFixNum: 2
5135
5262
  }
5136
5263
  ) }),
5137
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "matchid-wallet-asset-value", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5264
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "matchid-wallet-asset-value", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5138
5265
  NumberFormatter,
5139
5266
  {
5140
5267
  value: n.value,
@@ -5143,15 +5270,15 @@ function WalletAsset({
5143
5270
  }
5144
5271
  ) })
5145
5272
  ] }),
5146
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: `matchid-wallet-asset-footer`, children: [
5147
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: `matchid-wallet-asset-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5273
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-wallet-asset-footer`, children: [
5274
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: `matchid-wallet-asset-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5148
5275
  NumberFormatter,
5149
5276
  {
5150
5277
  value: n.balance,
5151
5278
  tFixNum: 3
5152
5279
  }
5153
5280
  ) }),
5154
- "price_change_24h" in n && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: `matchid-wallet-asset-change ${getFooterColor()}`, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5281
+ "price_change_24h" in n && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: `matchid-wallet-asset-change ${getFooterColor()}`, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5155
5282
  NumberFormatter,
5156
5283
  {
5157
5284
  prefix: `${(n?.price_change_24h || 0) < 0 ? "-" : "+"} `,
@@ -5170,7 +5297,7 @@ function WalletAsset({
5170
5297
  var import_react24 = require("react");
5171
5298
  var import_viem3 = require("viem");
5172
5299
  var import_react_intl14 = require("react-intl");
5173
- var import_jsx_runtime80 = require("react/jsx-runtime");
5300
+ var import_jsx_runtime82 = require("react/jsx-runtime");
5174
5301
  function Input2({
5175
5302
  onChange,
5176
5303
  placeholder,
@@ -5180,8 +5307,8 @@ function Input2({
5180
5307
  error,
5181
5308
  size = "df"
5182
5309
  }) {
5183
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
5184
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5310
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
5311
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5185
5312
  "input",
5186
5313
  {
5187
5314
  placeholder,
@@ -5192,7 +5319,7 @@ function Input2({
5192
5319
  className: `matchid-token-input ${error ? "matchid-token-input-error" : ""}`
5193
5320
  }
5194
5321
  ),
5195
- error && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "matchid-token-input-error-text", children: error })
5322
+ error && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "matchid-token-input-error-text", children: error })
5196
5323
  ] });
5197
5324
  }
5198
5325
  function TokenSend({
@@ -5320,24 +5447,24 @@ function TokenSend({
5320
5447
  window.removeEventListener("message", receiveMessage);
5321
5448
  };
5322
5449
  }, []);
5323
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl14.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-send-box`, children: [
5324
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "matchid-token-send-content", children: [
5325
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-content`, children: [
5326
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-header`, children: [
5327
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl14.FormattedMessage, { id: "amount" }) }),
5328
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
5329
- token.icon ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5450
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_intl14.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-send-box`, children: [
5451
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "matchid-token-send-content", children: [
5452
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-amount-content`, children: [
5453
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-amount-header`, children: [
5454
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_intl14.FormattedMessage, { id: "amount" }) }),
5455
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
5456
+ token.icon ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5330
5457
  "img",
5331
5458
  {
5332
5459
  src: token?.icon,
5333
5460
  alt: token?.symbol,
5334
5461
  className: `matchid-token-amount-chain-icon`
5335
5462
  }
5336
- ) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(AlphaAvatar2, { name: token.symbol || token.name || "", size: 16 }),
5337
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { children: token?.symbol })
5463
+ ) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(AlphaAvatar2, { name: token.symbol || token.name || "", size: 16 }),
5464
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { children: token?.symbol })
5338
5465
  ] })
5339
5466
  ] }),
5340
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5467
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5341
5468
  Input2,
5342
5469
  {
5343
5470
  type: "text",
@@ -5350,18 +5477,18 @@ function TokenSend({
5350
5477
  error: error.amount || txError
5351
5478
  }
5352
5479
  ),
5353
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
5354
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-title`, children: [
5355
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl14.FormattedMessage, { id: "balance" }),
5480
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
5481
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-amount-title`, children: [
5482
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_intl14.FormattedMessage, { id: "balance" }),
5356
5483
  ":"
5357
5484
  ] }),
5358
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
5485
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
5359
5486
  ] }),
5360
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
5487
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
5361
5488
  ] }),
5362
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-address-content`, children: [
5363
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl14.FormattedMessage, { id: "receiveTitle" }) }) }),
5364
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5489
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-address-content`, children: [
5490
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_intl14.FormattedMessage, { id: "receiveTitle" }) }) }),
5491
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5365
5492
  Input2,
5366
5493
  {
5367
5494
  type: "text",
@@ -5377,7 +5504,7 @@ function TokenSend({
5377
5504
  )
5378
5505
  ] })
5379
5506
  ] }),
5380
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5507
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5381
5508
  Button,
5382
5509
  {
5383
5510
  size: "lg",
@@ -5386,7 +5513,7 @@ function TokenSend({
5386
5513
  disabled: !canSend || !!txError,
5387
5514
  onClick: onNext,
5388
5515
  loading: loading || sending,
5389
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl14.FormattedMessage, { id: "next" })
5516
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_intl14.FormattedMessage, { id: "next" })
5390
5517
  }
5391
5518
  )
5392
5519
  ] }) });
@@ -5394,7 +5521,7 @@ function TokenSend({
5394
5521
 
5395
5522
  // src/components/TokenDetail/index.tsx
5396
5523
  var import_react_intl15 = require("react-intl");
5397
- var import_jsx_runtime81 = require("react/jsx-runtime");
5524
+ var import_jsx_runtime83 = require("react/jsx-runtime");
5398
5525
  function TokenDetail({
5399
5526
  onClose,
5400
5527
  token
@@ -5404,41 +5531,41 @@ function TokenDetail({
5404
5531
  const chain = chainList?.find((m) => m.id.toString() === token.chain_id);
5405
5532
  const onSend = () => {
5406
5533
  modal.show((props) => {
5407
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(TokenSend, { onClose: () => {
5534
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(TokenSend, { onClose: () => {
5408
5535
  props.close();
5409
5536
  onClose();
5410
5537
  }, onBack: props.close, zIndex: props.zIndex, token });
5411
5538
  });
5412
5539
  };
5413
5540
  const intl = (0, import_react_intl15.useIntl)();
5414
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ModalDrawer, { isOpen: true, title: intl.formatMessage({
5541
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ModalDrawer, { isOpen: true, title: intl.formatMessage({
5415
5542
  id: "tokenDetails"
5416
- }), onClose, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-detail`, children: [
5417
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-main`, children: [
5418
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-info`, children: [
5419
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-logo`, children: [
5420
- token.icon ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("img", { src: token.icon, alt: token.symbol, className: `matchid-token-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(AlphaAvatar2, { className: `matchid-token-icon`, size: 48, name: token.symbol || token.name || "" }),
5421
- chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("img", { src: chain.iconUrl, alt: chain.name, className: `matchid-token-chain` })
5543
+ }), onClose, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-token-detail`, children: [
5544
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-token-main`, children: [
5545
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-token-info`, children: [
5546
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-token-logo`, children: [
5547
+ token.icon ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("img", { src: token.icon, alt: token.symbol, className: `matchid-token-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(AlphaAvatar2, { className: `matchid-token-icon`, size: 48, name: token.symbol || token.name || "" }),
5548
+ chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("img", { src: chain.iconUrl, alt: chain.name, className: `matchid-token-chain` })
5422
5549
  ] }),
5423
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-name`, children: [
5424
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10 }),
5550
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-token-name`, children: [
5551
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10 }),
5425
5552
  " ",
5426
5553
  token.symbol
5427
5554
  ] })
5428
5555
  ] }),
5429
- token.address.toLowerCase() != NATIVE_TOKEN_ADDRESS && /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-contract`, children: [
5430
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "matchid-token-contract-title", children: "Contract address" }),
5431
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "matchid-token-contract-address", children: token.address })
5556
+ token.address.toLowerCase() != NATIVE_TOKEN_ADDRESS && /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-token-contract`, children: [
5557
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "matchid-token-contract-title", children: "Contract address" }),
5558
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "matchid-token-contract-address", children: token.address })
5432
5559
  ] })
5433
5560
  ] }),
5434
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Button, { size: "lg", block: true, highlight: true, onClick: onSend, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react_intl15.FormattedMessage, { id: "send" }) })
5561
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Button, { size: "lg", block: true, highlight: true, onClick: onSend, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_react_intl15.FormattedMessage, { id: "send" }) })
5435
5562
  ] }) });
5436
5563
  }
5437
5564
 
5438
5565
  // src/components/TokenSendList/index.tsx
5439
5566
  var import_react25 = require("react");
5440
5567
  var import_react_intl16 = require("react-intl");
5441
- var import_jsx_runtime82 = require("react/jsx-runtime");
5568
+ var import_jsx_runtime84 = require("react/jsx-runtime");
5442
5569
  function TokenSendList({ close }) {
5443
5570
  const isDownMd = useDownMd();
5444
5571
  const walletAssets = useMatchWalletAssets();
@@ -5450,16 +5577,16 @@ function TokenSendList({ close }) {
5450
5577
  const modal = useModal();
5451
5578
  const onNext = () => {
5452
5579
  checked && modal.show((props) => {
5453
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TokenSend, { onClose: () => {
5580
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(TokenSend, { onClose: () => {
5454
5581
  props.close();
5455
5582
  close();
5456
5583
  }, onBack: props.close, zIndex: props.zIndex, token: checked });
5457
5584
  });
5458
5585
  };
5459
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "matchid-token-send-list-box", children: [
5460
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
5586
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "matchid-token-send-list-box", children: [
5587
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
5461
5588
  const chain = list?.find((m) => m.id.toString() === n.chain_id);
5462
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
5589
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
5463
5590
  "div",
5464
5591
  {
5465
5592
  className: `matchid-token-send-item ${checked?.address == n.address ? "matchid-token-send-chekced" : ""}`,
@@ -5467,10 +5594,10 @@ function TokenSendList({ close }) {
5467
5594
  setChecked(n);
5468
5595
  },
5469
5596
  children: [
5470
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
5471
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "matchid-token-send-content", children: [
5472
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "matchid-token-send-logo", children: [
5473
- n.icon ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5597
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
5598
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "matchid-token-send-content", children: [
5599
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "matchid-token-send-logo", children: [
5600
+ n.icon ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
5474
5601
  AlphaAvatar,
5475
5602
  {
5476
5603
  className: `matchid-token-send-icon`,
@@ -5478,7 +5605,7 @@ function TokenSendList({ close }) {
5478
5605
  name: n.symbol || n.name || ""
5479
5606
  }
5480
5607
  ),
5481
- chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5608
+ chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
5482
5609
  "img",
5483
5610
  {
5484
5611
  src: chain.iconUrl,
@@ -5487,9 +5614,9 @@ function TokenSendList({ close }) {
5487
5614
  }
5488
5615
  )
5489
5616
  ] }),
5490
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-send-info`, children: [
5491
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
5492
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
5617
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: `matchid-token-send-info`, children: [
5618
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
5619
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
5493
5620
  ] })
5494
5621
  ] })
5495
5622
  ]
@@ -5497,7 +5624,7 @@ function TokenSendList({ close }) {
5497
5624
  index
5498
5625
  );
5499
5626
  }) }),
5500
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_intl16.FormattedMessage, { id: "next" }) })
5627
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_react_intl16.FormattedMessage, { id: "next" }) })
5501
5628
  ] });
5502
5629
  }
5503
5630
 
@@ -5605,7 +5732,7 @@ function useHash({
5605
5732
 
5606
5733
  // src/components/TransactionList/index.tsx
5607
5734
  var import_react_intl17 = require("react-intl");
5608
- var import_jsx_runtime83 = require("react/jsx-runtime");
5735
+ var import_jsx_runtime85 = require("react/jsx-runtime");
5609
5736
  var Item = ({ data }) => {
5610
5737
  const { address } = useWallet();
5611
5738
  const isOut = data.from.toLowerCase() == address.toLowerCase();
@@ -5692,18 +5819,18 @@ var Item = ({ data }) => {
5692
5819
  }
5693
5820
  return chain?.nativeCurrency.symbol || chain?.nativeCurrency.name;
5694
5821
  }, [transferType, chain, contracts, chainId, data.to]);
5695
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
5822
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
5696
5823
  "a",
5697
5824
  {
5698
5825
  href: explorerLink(`tx/${data.hash}`),
5699
5826
  target: "_blank",
5700
5827
  className: `matchid-transaction-item`,
5701
5828
  children: [
5702
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-transacton-item-container`, children: [
5703
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "matchid-transaction-item-icon", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ArrowSendIcon, { className: !isOut ? "rotate-180" : "" }) }),
5704
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-transaction-item-details`, children: [
5705
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: `matchid-transaction-item-address`, children: formatAddress(to, 6, 4) }),
5706
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5829
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-transacton-item-container`, children: [
5830
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "matchid-transaction-item-icon", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ArrowSendIcon, { className: !isOut ? "rotate-180" : "" }) }),
5831
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-transaction-item-details`, children: [
5832
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-transaction-item-address`, children: formatAddress(to, 6, 4) }),
5833
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
5707
5834
  "div",
5708
5835
  {
5709
5836
  className: `matchid-transaction-item-timestamp`,
@@ -5712,11 +5839,11 @@ var Item = ({ data }) => {
5712
5839
  )
5713
5840
  ] })
5714
5841
  ] }),
5715
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-transaction-item-amount ${"matchid-transaction-item-" + status}`, children: [
5716
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(NumberFormatter, { value: amount, tFixNum: 6, prefix: isOut ? "-" : "+", suffix: " " + symbol }),
5717
- status == "loading" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(LoadingIcon_default, { color: "#000000", size: 16, rotate: true }),
5718
- status == "success" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(CheckRoundIcon, { size: 16 }),
5719
- status == "error" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(InfoRoundIcon, { size: 16 })
5842
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-transaction-item-amount ${"matchid-transaction-item-" + status}`, children: [
5843
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(NumberFormatter, { value: amount, tFixNum: 6, prefix: isOut ? "-" : "+", suffix: " " + symbol }),
5844
+ status == "loading" && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(LoadingIcon_default, { color: "#000000", size: 16, rotate: true }),
5845
+ status == "success" && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(CheckRoundIcon, { size: 16 }),
5846
+ status == "error" && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(InfoRoundIcon, { size: 16 })
5720
5847
  ] })
5721
5848
  ]
5722
5849
  }
@@ -5726,26 +5853,26 @@ function TransactionList({
5726
5853
  scrollableTarget
5727
5854
  }) {
5728
5855
  const { fetchMoreData, hasMore, items } = useMatchWalletRecords();
5729
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5856
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
5730
5857
  import_react_infinite_scroll_component.default,
5731
5858
  {
5732
5859
  scrollableTarget,
5733
5860
  dataLength: items.length,
5734
5861
  next: fetchMoreData,
5735
5862
  hasMore,
5736
- loader: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "matchid-list-nomore", children: [
5737
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(LoadingIcon_default, { rotate: true, size: 16, color: "black" }),
5863
+ loader: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "matchid-list-nomore", children: [
5864
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(LoadingIcon_default, { rotate: true, size: 16, color: "black" }),
5738
5865
  "Loading..."
5739
5866
  ] }),
5740
- endMessage: items.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_react_intl17.FormattedMessage, { id: "noMoreRecords" }) }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_react_intl17.FormattedMessage, { id: "noRecords" }) }),
5741
- children: items.length == 0 && !hasMore ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "mt-[150px]" }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: `matchid-transaction-list`, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Item, { data: item }, index)) })
5867
+ endMessage: items.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_intl17.FormattedMessage, { id: "noMoreRecords" }) }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_intl17.FormattedMessage, { id: "noRecords" }) }),
5868
+ children: items.length == 0 && !hasMore ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "mt-[150px]" }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-transaction-list`, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Item, { data: item }, index)) })
5742
5869
  }
5743
5870
  );
5744
5871
  }
5745
5872
 
5746
5873
  // src/ui/Modal/index.tsx
5747
5874
  var import_react_intl18 = require("react-intl");
5748
- var import_jsx_runtime84 = require("react/jsx-runtime");
5875
+ var import_jsx_runtime86 = require("react/jsx-runtime");
5749
5876
  function Modal({
5750
5877
  children,
5751
5878
  isOpen,
@@ -5753,10 +5880,10 @@ function Modal({
5753
5880
  zIndex = 100,
5754
5881
  className = ""
5755
5882
  }) {
5756
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: `matchid-modal ${className}`, style: {
5883
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-modal ${className}`, style: {
5757
5884
  width
5758
5885
  }, children: [
5759
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "matchid-modal-mobile-header" }),
5886
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "matchid-modal-mobile-header" }),
5760
5887
  children
5761
5888
  ] }) });
5762
5889
  }
@@ -5770,13 +5897,13 @@ function ModalWithHeader({
5770
5897
  ...props
5771
5898
  }) {
5772
5899
  const isDownMd = useDownMd();
5773
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(Modal, { ...props, children: [
5774
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
5775
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "matchid-modal-header-content", children: [
5776
- onBack && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
5777
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "matchid-modal-header-title", children: title })
5900
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(Modal, { ...props, children: [
5901
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
5902
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "matchid-modal-header-content", children: [
5903
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
5904
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "matchid-modal-header-title", children: title })
5778
5905
  ] }),
5779
- onClose && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
5906
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
5780
5907
  ] }),
5781
5908
  children
5782
5909
  ] });
@@ -5811,17 +5938,17 @@ function ConfirmModal({
5811
5938
  setLoading(false);
5812
5939
  }
5813
5940
  };
5814
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(ModalWithHeader, { isOpen, onClose, title, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "matchid-confirm-modal", children: [
5815
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "matchid-w-full", children }),
5816
- error && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: `matchid-error`, children: error }),
5817
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Button, { size: "lg", onClick: onSubmit, loading, block: true, highlight: true, children: confirmText ?? intl.formatMessage({
5941
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ModalWithHeader, { isOpen, onClose, title, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "matchid-confirm-modal", children: [
5942
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "matchid-w-full", children }),
5943
+ error && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: `matchid-error`, children: error }),
5944
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Button, { size: "lg", onClick: onSubmit, loading, block: true, highlight: true, children: confirmText ?? intl.formatMessage({
5818
5945
  id: "Confirm"
5819
5946
  }) })
5820
5947
  ] }) });
5821
5948
  }
5822
5949
 
5823
5950
  // src/ui/ModalDrawer/index.tsx
5824
- var import_jsx_runtime85 = require("react/jsx-runtime");
5951
+ var import_jsx_runtime87 = require("react/jsx-runtime");
5825
5952
  function ModalDrawer({
5826
5953
  title,
5827
5954
  drawerTitleVisible = true,
@@ -5829,13 +5956,13 @@ function ModalDrawer({
5829
5956
  }) {
5830
5957
  const isDownMd = useDownMd();
5831
5958
  if (isDownMd) {
5832
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ModalWithHeader, { ...props, title });
5959
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ModalWithHeader, { ...props, title });
5833
5960
  }
5834
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
5961
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
5835
5962
  }
5836
5963
 
5837
5964
  // src/ui/HashPanel/index.tsx
5838
- var import_jsx_runtime86 = require("react/jsx-runtime");
5965
+ var import_jsx_runtime88 = require("react/jsx-runtime");
5839
5966
  function HashPanel({
5840
5967
  hash,
5841
5968
  chain,
@@ -5895,14 +6022,14 @@ function HashPanel({
5895
6022
  }
5896
6023
  }, [hashQuery.data]);
5897
6024
  const link = chain ? `${chain?.blockExplorers?.default.url}/tx/${hash}` : "";
5898
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6025
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5899
6026
  ModalDrawer,
5900
6027
  {
5901
6028
  isOpen,
5902
6029
  showClose: true,
5903
6030
  onClose,
5904
6031
  zIndex,
5905
- title: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6032
+ title: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5906
6033
  "div",
5907
6034
  {
5908
6035
  className: "matchid-hashpanel-header",
@@ -5912,32 +6039,32 @@ function HashPanel({
5912
6039
  children: statusValue.text
5913
6040
  }
5914
6041
  ),
5915
- children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "matchid-hashpanel-box", children: [
5916
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "matchid-hashpanel-content", children: [
5917
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: `matchid-hashpanel-status`, style: {
6042
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "matchid-hashpanel-box", children: [
6043
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "matchid-hashpanel-content", children: [
6044
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-hashpanel-status`, style: {
5918
6045
  color: statusValue.color
5919
6046
  }, children: statusValue.text }),
5920
- statusValue.lottie && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
6047
+ statusValue.lottie && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
5921
6048
  width: "96px",
5922
6049
  height: "96px"
5923
6050
  } }),
5924
- hash && /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
6051
+ hash && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
5925
6052
  "Hash:",
5926
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("a", { href: link, target: "_blank", children: hash })
6053
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("a", { href: link, target: "_blank", children: hash })
5927
6054
  ] }),
5928
- error && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "matchid-hashpanel-text", children: error })
6055
+ error && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "matchid-hashpanel-text", children: error })
5929
6056
  ] }),
5930
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
6057
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
5931
6058
  ] })
5932
6059
  }
5933
6060
  );
5934
6061
  }
5935
6062
  function HashPanel_default(props) {
5936
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(HashPanel, { ...props });
6063
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(HashPanel, { ...props });
5937
6064
  }
5938
6065
 
5939
6066
  // src/ui/Switch/index.tsx
5940
- var import_jsx_runtime87 = require("react/jsx-runtime");
6067
+ var import_jsx_runtime89 = require("react/jsx-runtime");
5941
6068
  function Switch({
5942
6069
  size = "default",
5943
6070
  checked = false,
@@ -5952,12 +6079,12 @@ function Switch({
5952
6079
  onChange && onChange(!checked);
5953
6080
  }
5954
6081
  };
5955
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { onClick, className: `matchid-switch matchid-switch-${size} ${checked ? "matchid-switch-checked" : ""} ${disabled ? "matchid-switch-disabled" : ""} ${loading ? "matchid-switch-loading" : ""}`, ...props, children: loading ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(LoadingIcon_default, { className: "matchid-switch-loading-icon", size: size == "default" ? 24 : 18, color: "var(--matchid-swicth-loading-color)" }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "matchid-switch-ball" }) });
6082
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { onClick, className: `matchid-switch matchid-switch-${size} ${checked ? "matchid-switch-checked" : ""} ${disabled ? "matchid-switch-disabled" : ""} ${loading ? "matchid-switch-loading" : ""}`, ...props, children: loading ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(LoadingIcon_default, { className: "matchid-switch-loading-icon", size: size == "default" ? 24 : 18, color: "var(--matchid-swicth-loading-color)" }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "matchid-switch-ball" }) });
5956
6083
  }
5957
6084
 
5958
6085
  // src/ui/AlphaAvatar/index.tsx
5959
6086
  var import_react29 = require("react");
5960
- var import_jsx_runtime88 = require("react/jsx-runtime");
6087
+ var import_jsx_runtime90 = require("react/jsx-runtime");
5961
6088
  function AlphaAvatar2({
5962
6089
  name,
5963
6090
  size = "default",
@@ -5974,7 +6101,7 @@ function AlphaAvatar2({
5974
6101
  return "";
5975
6102
  }, [name]);
5976
6103
  const numberSize = typeof size === "number" ? size : size === "sm" ? 24 : size === "default" ? 40 : 64;
5977
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
6104
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
5978
6105
  width: numberSize,
5979
6106
  height: numberSize,
5980
6107
  fontSize: Math.ceil(numberSize / 2),
@@ -5983,7 +6110,7 @@ function AlphaAvatar2({
5983
6110
  }
5984
6111
 
5985
6112
  // src/ui/Radio/index.tsx
5986
- var import_jsx_runtime89 = require("react/jsx-runtime");
6113
+ var import_jsx_runtime91 = require("react/jsx-runtime");
5987
6114
  function Radio({
5988
6115
  checked = false,
5989
6116
  onChange,
@@ -5992,20 +6119,20 @@ function Radio({
5992
6119
  className = "",
5993
6120
  style = {}
5994
6121
  }) {
5995
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
6122
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
5996
6123
  width: size,
5997
6124
  height: size,
5998
6125
  ...style,
5999
6126
  // @ts-ignore
6000
6127
  "--matchid-radio-checked": color
6001
- }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-radio-content`, style: {
6128
+ }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-radio-content`, style: {
6002
6129
  width: Math.floor(size * 0.7),
6003
6130
  height: Math.floor(size * 0.7)
6004
6131
  } }) });
6005
6132
  }
6006
6133
 
6007
6134
  // src/ui/Skeleton/index.tsx
6008
- var import_jsx_runtime90 = require("react/jsx-runtime");
6135
+ var import_jsx_runtime92 = require("react/jsx-runtime");
6009
6136
  var Skeleton = ({
6010
6137
  style = {},
6011
6138
  className = "",
@@ -6016,7 +6143,7 @@ var Skeleton = ({
6016
6143
  children
6017
6144
  }) => {
6018
6145
  if (!loading) {
6019
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_jsx_runtime90.Fragment, { children });
6146
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_jsx_runtime92.Fragment, { children });
6020
6147
  }
6021
6148
  const skeletonStyle = {
6022
6149
  width,
@@ -6024,7 +6151,7 @@ var Skeleton = ({
6024
6151
  borderRadius: radius,
6025
6152
  ...style
6026
6153
  };
6027
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
6154
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6028
6155
  "div",
6029
6156
  {
6030
6157
  className: "matchid-skeleton " + className,
@@ -6035,10 +6162,10 @@ var Skeleton = ({
6035
6162
  var Skeleton_default = Skeleton;
6036
6163
 
6037
6164
  // src/ui/Tabs/index.tsx
6038
- var import_jsx_runtime91 = require("react/jsx-runtime");
6165
+ var import_jsx_runtime93 = require("react/jsx-runtime");
6039
6166
  function Tabs(props) {
6040
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-tabs`, children: props.tabs.map((tab, index) => {
6041
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { onClick: () => props.setActiveTab(index), className: `matchid-tab ${props.activeTab === index ? "matchid-tab-active" : ""}`, children: tab }, index);
6167
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-tabs`, children: props.tabs.map((tab, index) => {
6168
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { onClick: () => props.setActiveTab(index), className: `matchid-tab ${props.activeTab === index ? "matchid-tab-active" : ""}`, children: tab }, index);
6042
6169
  }) });
6043
6170
  }
6044
6171
 
@@ -6056,16 +6183,16 @@ var LazyLottie = (props) => {
6056
6183
  var Lottie_default = LazyLottie;
6057
6184
 
6058
6185
  // src/ui/Checkbox/index.tsx
6059
- var import_jsx_runtime92 = require("react/jsx-runtime");
6186
+ var import_jsx_runtime94 = require("react/jsx-runtime");
6060
6187
  function Checkbox({
6061
6188
  checked = false,
6062
6189
  onChange
6063
6190
  }) {
6064
- return checked ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(CheckboxCheckedIcon, { onClick: () => onChange?.(false) }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(CheckboxIcon, { onClick: () => onChange?.(true) });
6191
+ return checked ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(CheckboxCheckedIcon, { onClick: () => onChange?.(false) }) : /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(CheckboxIcon, { onClick: () => onChange?.(true) });
6065
6192
  }
6066
6193
 
6067
6194
  // src/context/ModalContext.tsx
6068
- var import_jsx_runtime93 = require("react/jsx-runtime");
6195
+ var import_jsx_runtime95 = require("react/jsx-runtime");
6069
6196
  var ModalContext = (0, import_react30.createContext)(null);
6070
6197
  function ModalProvider({ children }) {
6071
6198
  const [modalState, setModalState] = (0, import_react30.useState)({
@@ -6109,7 +6236,7 @@ function ModalProvider({ children }) {
6109
6236
  index: modalIndex,
6110
6237
  zIndex: newZIndex,
6111
6238
  close: () => closeModal(modalIndex),
6112
- content: ({ close, zIndex }) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ModalDrawer, { showClose: true, isOpen: true, onClose: close, title: props.title, zIndex, onBack: props.onBack, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(props.content, { close, zIndex }) })
6239
+ content: ({ close, zIndex }) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(ModalDrawer, { showClose: true, isOpen: true, onClose: close, title: props.title, zIndex, onBack: props.onBack, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(props.content, { close, zIndex }) })
6113
6240
  }],
6114
6241
  highestZIndex: newZIndex
6115
6242
  };
@@ -6117,11 +6244,11 @@ function ModalProvider({ children }) {
6117
6244
  }, [getNextIndex, closeModal]);
6118
6245
  const modalElements = modalState.modals.map(
6119
6246
  (modal) => modal.visible ? (0, import_react_dom.createPortal)(
6120
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(modal.content, { zIndex: modal.zIndex, close: modal.close }, modal.index),
6247
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(modal.content, { zIndex: modal.zIndex, close: modal.close }, modal.index),
6121
6248
  document.body
6122
6249
  ) : null
6123
6250
  );
6124
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(ModalContext.Provider, { value: { show, open }, children: [
6251
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(ModalContext.Provider, { value: { show, open }, children: [
6125
6252
  children,
6126
6253
  modalElements
6127
6254
  ] });
@@ -6165,7 +6292,7 @@ var useTransactionStore = (0, import_zustand5.create)((0, import_middleware3.dev
6165
6292
  var useTransactionStore_default = useTransactionStore;
6166
6293
 
6167
6294
  // src/hooks/useWallet.tsx
6168
- var import_jsx_runtime94 = require("react/jsx-runtime");
6295
+ var import_jsx_runtime96 = require("react/jsx-runtime");
6169
6296
  var AppClientId = "react-sdk-" + getVersion();
6170
6297
  function useWallet() {
6171
6298
  const { address, wallet: walletConfig } = useLocalStore_default();
@@ -6339,12 +6466,12 @@ function useWallet() {
6339
6466
  address: evmAccount.address
6340
6467
  });
6341
6468
  modal.show((props) => {
6342
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
6469
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
6343
6470
  });
6344
6471
  return txHash;
6345
6472
  } catch (error) {
6346
6473
  modal.show((props) => {
6347
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, error: typeof error == "string" ? error : error.details || error.message, chain: _chain });
6474
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, error: typeof error == "string" ? error : error.details || error.message, chain: _chain });
6348
6475
  });
6349
6476
  throw error;
6350
6477
  }
@@ -6422,7 +6549,7 @@ function useCopyClipboard(timeout = 500) {
6422
6549
  // src/context/ToastContext.tsx
6423
6550
  var import_react33 = require("react");
6424
6551
  var import_react_dom2 = require("react-dom");
6425
- var import_jsx_runtime95 = require("react/jsx-runtime");
6552
+ var import_jsx_runtime97 = require("react/jsx-runtime");
6426
6553
  var ToastContext = (0, import_react33.createContext)(null);
6427
6554
  function ToastProvider({ children, zIndex = 299 }) {
6428
6555
  const [toasts, setToasts] = (0, import_react33.useState)([]);
@@ -6435,28 +6562,28 @@ function ToastProvider({ children, zIndex = 299 }) {
6435
6562
  setTimeout(() => removeToast(id), timeout);
6436
6563
  }, [removeToast]);
6437
6564
  const success = (0, import_react33.useCallback)((text, timeout) => {
6438
- show({ icon: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(CheckRoundIcon, { color: "#2FCC00", size: 24 }), text, timeout });
6565
+ show({ icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(CheckRoundIcon, { color: "#2FCC00", size: 24 }), text, timeout });
6439
6566
  }, [show]);
6440
6567
  const error = (0, import_react33.useCallback)((text, timeout) => {
6441
- show({ icon: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(ErrorRoundIcon, { size: 24 }), text, timeout });
6568
+ show({ icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(ErrorRoundIcon, { size: 24 }), text, timeout });
6442
6569
  }, [show]);
6443
6570
  const ToastComponent = (0, import_react_dom2.createPortal)(
6444
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "matchid-toast-box", style: {
6571
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "matchid-toast-box", style: {
6445
6572
  zIndex
6446
- }, children: toasts.reverse().map(({ id, icon, text }) => /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
6573
+ }, children: toasts.reverse().map(({ id, icon, text }) => /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
6447
6574
  "div",
6448
6575
  {
6449
6576
  className: "matchid-toast",
6450
6577
  children: [
6451
- icon && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { children: icon }),
6452
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { children: text })
6578
+ icon && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { children: icon }),
6579
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { children: text })
6453
6580
  ]
6454
6581
  },
6455
6582
  id
6456
6583
  )) }),
6457
6584
  document.body
6458
6585
  );
6459
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(ToastContext.Provider, { value: { show, success, error }, children: [
6586
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(ToastContext.Provider, { value: { show, success, error }, children: [
6460
6587
  children,
6461
6588
  ToastComponent
6462
6589
  ] });
@@ -6601,7 +6728,7 @@ function useWalletAssetListQuery({
6601
6728
  var import_react34 = require("react");
6602
6729
  var import_viem10 = require("viem");
6603
6730
  var import_react_intl19 = require("react-intl");
6604
- var import_jsx_runtime96 = require("react/jsx-runtime");
6731
+ var import_jsx_runtime98 = require("react/jsx-runtime");
6605
6732
  function useMatchChain() {
6606
6733
  const chainListQuery = useChainListQuery();
6607
6734
  const modal = useModal();
@@ -6632,28 +6759,28 @@ function useMatchChain() {
6632
6759
  const { chainId: storeChainId2, setChainId: setChainId2 } = useLocalStore_default();
6633
6760
  const [selectedChainId, setSelectedChainId] = (0, import_react34.useState)(storeChainId2);
6634
6761
  const isDownMd = useDownMd();
6635
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: `matchid-change-network-box`, children: [
6636
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
6637
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
6762
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: `matchid-change-network-box`, children: [
6763
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
6764
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
6638
6765
  "div",
6639
6766
  {
6640
6767
  onClick: () => setSelectedChainId(item.id),
6641
6768
  className: `matchid-change-network-item ${selectedChainId == item.id ? "matchid-change-network-selected" : ""}`,
6642
6769
  children: [
6643
- /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
6644
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
6645
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
6770
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
6771
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
6772
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
6646
6773
  ] }),
6647
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
6774
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
6648
6775
  ]
6649
6776
  },
6650
6777
  index
6651
6778
  );
6652
6779
  }) }),
6653
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
6780
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
6654
6781
  setChainId2(selectedChainId || 0);
6655
6782
  close();
6656
- }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_intl19.FormattedMessage, { id: "confirm" }) })
6783
+ }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_intl19.FormattedMessage, { id: "confirm" }) })
6657
6784
  ] });
6658
6785
  }
6659
6786
  const showChangeNetwork = () => {
@@ -6726,7 +6853,7 @@ function useIsContract({
6726
6853
  }
6727
6854
 
6728
6855
  // src/components/ImportToken/index.tsx
6729
- var import_jsx_runtime97 = require("react/jsx-runtime");
6856
+ var import_jsx_runtime99 = require("react/jsx-runtime");
6730
6857
  function ImportToken({ close }) {
6731
6858
  const [status, setStatus] = (0, import_react35.useState)("");
6732
6859
  const { token } = useUserInfo();
@@ -6837,22 +6964,22 @@ function ImportToken({ close }) {
6837
6964
  enabled: canImport
6838
6965
  });
6839
6966
  if (status == "success" || status == "fail") {
6840
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
6841
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
6842
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: `matchid-import-token-result-img`, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Lottie_default, { animationData: status == "success" ? success_default : fail_default, style: {
6967
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
6968
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
6969
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: `matchid-import-token-result-img`, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Lottie_default, { animationData: status == "success" ? success_default : fail_default, style: {
6843
6970
  width: "96px",
6844
6971
  height: "96px"
6845
6972
  } }) }),
6846
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl20.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl20.FormattedMessage, { id: "importFail" }) })
6973
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl20.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl20.FormattedMessage, { id: "importFail" }) })
6847
6974
  ] }),
6848
- status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl20.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl20.FormattedMessage, { id: "back" }) })
6975
+ status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl20.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl20.FormattedMessage, { id: "back" }) })
6849
6976
  ] });
6850
6977
  }
6851
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: `matchid-import-token`, children: [
6852
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "matchid-import-token-form", children: [
6853
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Field, { label: intl.formatMessage({
6978
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: `matchid-import-token`, children: [
6979
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-import-token-form", children: [
6980
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Field, { label: intl.formatMessage({
6854
6981
  id: "tokenSmartContract"
6855
- }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
6982
+ }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
6856
6983
  Input,
6857
6984
  {
6858
6985
  placeholder: intl.formatMessage({
@@ -6863,9 +6990,9 @@ function ImportToken({ close }) {
6863
6990
  maxLength: 42
6864
6991
  }
6865
6992
  ) }),
6866
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Field, { label: intl.formatMessage({
6993
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Field, { label: intl.formatMessage({
6867
6994
  id: "tokenSymbol"
6868
- }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
6995
+ }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
6869
6996
  Input,
6870
6997
  {
6871
6998
  placeholder: intl.formatMessage({
@@ -6876,9 +7003,9 @@ function ImportToken({ close }) {
6876
7003
  maxLength: 16
6877
7004
  }
6878
7005
  ) }),
6879
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Field, { label: intl.formatMessage({
7006
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Field, { label: intl.formatMessage({
6880
7007
  id: "tokenDecimals"
6881
- }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7008
+ }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
6882
7009
  Input,
6883
7010
  {
6884
7011
  placeholder: intl.formatMessage({
@@ -6890,7 +7017,7 @@ function ImportToken({ close }) {
6890
7017
  }
6891
7018
  ) })
6892
7019
  ] }),
6893
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7020
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
6894
7021
  Button,
6895
7022
  {
6896
7023
  size: "lg",
@@ -6899,14 +7026,14 @@ function ImportToken({ close }) {
6899
7026
  loading: loading || isContractQuery.isLoading,
6900
7027
  disabled: !canImport || !isContractQuery.data,
6901
7028
  highlight: true,
6902
- children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl20.FormattedMessage, { id: "import" })
7029
+ children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl20.FormattedMessage, { id: "import" })
6903
7030
  }
6904
7031
  )
6905
7032
  ] });
6906
7033
  }
6907
7034
 
6908
7035
  // src/hooks/useMatchWallet.tsx
6909
- var import_jsx_runtime98 = require("react/jsx-runtime");
7036
+ var import_jsx_runtime100 = require("react/jsx-runtime");
6910
7037
  var ReceiveModal = () => {
6911
7038
  const chain = useMatchChain();
6912
7039
  const { address } = useWallet();
@@ -6920,10 +7047,10 @@ var ReceiveModal = () => {
6920
7047
  }));
6921
7048
  };
6922
7049
  const chainLink = chain.explorerLink("address/" + address);
6923
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: `matchid-receive-modal`, children: [
6924
- /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "matchid-receive-container", children: [
6925
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_intl21.FormattedMessage, { id: "receiveQrcode" }) }),
6926
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7050
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: `matchid-receive-modal`, children: [
7051
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "matchid-receive-container", children: [
7052
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl21.FormattedMessage, { id: "receiveQrcode" }) }),
7053
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
6927
7054
  import_react_qrcode.QRCode,
6928
7055
  {
6929
7056
  margin: "0",
@@ -6931,7 +7058,7 @@ var ReceiveModal = () => {
6931
7058
  value: address
6932
7059
  }
6933
7060
  ) }),
6934
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7061
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
6935
7062
  "a",
6936
7063
  {
6937
7064
  href: chainLink,
@@ -6941,7 +7068,7 @@ var ReceiveModal = () => {
6941
7068
  }
6942
7069
  )
6943
7070
  ] }),
6944
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7071
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
6945
7072
  import_react_intl21.FormattedMessage,
6946
7073
  {
6947
7074
  id: "copyAddress"
@@ -7565,7 +7692,7 @@ function useTransaction({
7565
7692
  // src/components/CEXBindModal/index.tsx
7566
7693
  var import_react39 = require("react");
7567
7694
  var import_react_intl22 = require("react-intl");
7568
- var import_jsx_runtime99 = require("react/jsx-runtime");
7695
+ var import_jsx_runtime101 = require("react/jsx-runtime");
7569
7696
  function CEXBindModal({
7570
7697
  onClose,
7571
7698
  type,
@@ -7581,7 +7708,7 @@ function CEXBindModal({
7581
7708
  const [secret, setSecret] = (0, import_react39.useState)("");
7582
7709
  const [error, setError] = (0, import_react39.useState)("");
7583
7710
  const needPassphrase = (0, import_react39.useMemo)(() => {
7584
- return ["bitget", "okx"].includes(type.toLowerCase());
7711
+ return ["bitget", "okx", "kucoin"].includes(type.toLowerCase());
7585
7712
  }, [type]);
7586
7713
  (0, import_react39.useEffect)(() => {
7587
7714
  if (isOpen) {
@@ -7620,20 +7747,20 @@ function CEXBindModal({
7620
7747
  setLoading(false);
7621
7748
  }
7622
7749
  };
7623
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ModalWithHeader, { showClose: true, isOpen, onClose, title: intl.formatMessage({
7750
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ModalWithHeader, { showClose: true, isOpen, onClose, title: intl.formatMessage({
7624
7751
  id: "CEXBindTitle"
7625
7752
  }, {
7626
7753
  type
7627
- }), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-cex-modal", children: [
7628
- /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { children: [
7629
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindAttention" }) }),
7630
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindTips1" }) }),
7631
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindTips2" }) }),
7632
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindTips3" }) })
7754
+ }), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: "matchid-cex-modal", children: [
7755
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { children: [
7756
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindAttention" }) }),
7757
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindTips1" }) }),
7758
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindTips2" }) }),
7759
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindTips3" }) })
7633
7760
  ] }),
7634
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Field, { label: intl.formatMessage({
7761
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Field, { label: intl.formatMessage({
7635
7762
  id: "CEXBindApiKey"
7636
- }), children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7763
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
7637
7764
  Input,
7638
7765
  {
7639
7766
  value: key,
@@ -7641,9 +7768,9 @@ function CEXBindModal({
7641
7768
  placeholder: "**** **** ****"
7642
7769
  }
7643
7770
  ) }),
7644
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Field, { label: intl.formatMessage({
7771
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Field, { label: intl.formatMessage({
7645
7772
  id: "CEXBindApiSecretKey"
7646
- }), error: !needPassphrase && error, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7773
+ }), error: !needPassphrase && error, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
7647
7774
  Input,
7648
7775
  {
7649
7776
  value: secret,
@@ -7651,9 +7778,9 @@ function CEXBindModal({
7651
7778
  placeholder: "**** **** ****"
7652
7779
  }
7653
7780
  ) }),
7654
- needPassphrase && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Field, { error, label: intl.formatMessage({
7781
+ needPassphrase && /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Field, { error, label: intl.formatMessage({
7655
7782
  id: "CEXBindApiPassphrase"
7656
- }), children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7783
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
7657
7784
  Input,
7658
7785
  {
7659
7786
  value: APIPassphrase,
@@ -7661,7 +7788,7 @@ function CEXBindModal({
7661
7788
  placeholder: "**** **** ****"
7662
7789
  }
7663
7790
  ) }),
7664
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7791
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
7665
7792
  Button,
7666
7793
  {
7667
7794
  onClick: SubmitApi,
@@ -7669,7 +7796,7 @@ function CEXBindModal({
7669
7796
  block: true,
7670
7797
  loading,
7671
7798
  disabled: !key || !secret,
7672
- children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl22.FormattedMessage, { id: "continue" })
7799
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "continue" })
7673
7800
  }
7674
7801
  )
7675
7802
  ] }) });
@@ -7677,7 +7804,25 @@ function CEXBindModal({
7677
7804
 
7678
7805
  // src/context/BusinessProvider.tsx
7679
7806
  var import_react_query9 = require("@tanstack/react-query");
7680
- var import_jsx_runtime100 = require("react/jsx-runtime");
7807
+
7808
+ // src/components/BindEmailModal/index.tsx
7809
+ var import_jsx_runtime102 = require("react/jsx-runtime");
7810
+ var BindEmailModal = ({ isOpen, onClose, onBack, onLogin }) => {
7811
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
7812
+ EmailModal,
7813
+ {
7814
+ type: "bind",
7815
+ isOpen,
7816
+ onClose,
7817
+ onBack,
7818
+ onLogin
7819
+ }
7820
+ );
7821
+ };
7822
+ var BindEmailModal_default = BindEmailModal;
7823
+
7824
+ // src/context/BusinessProvider.tsx
7825
+ var import_jsx_runtime103 = require("react/jsx-runtime");
7681
7826
  function BusinessProvider({ children }) {
7682
7827
  const { overview, token } = useUserInfo();
7683
7828
  const { type: EVMType, isOpen: EVMIsOpen, close: EVMClose } = useEVMModalStore();
@@ -7685,6 +7830,7 @@ function BusinessProvider({ children }) {
7685
7830
  const { type: TRONType, isOpen: TRONIsOpen, close: TRONClose } = useTRONModalStore();
7686
7831
  const { type: BTCType, isOpen: BTCIsOpen, close: BTCClose } = useBTCModalStore();
7687
7832
  const { type: CEXType, isOpen: CEXIsOpen, close: CEXClose } = useCEXBindModalStore();
7833
+ const { type: EmailType, isOpen: EmailIsOpen, close: EmailClose } = useEmailModalStore();
7688
7834
  const WalletModalStore = useWalletModalStore();
7689
7835
  const { tgAppAuthCode, setTgAppAuthCode } = useStore_default();
7690
7836
  const { login } = useMatch();
@@ -7711,8 +7857,8 @@ function BusinessProvider({ children }) {
7711
7857
  enabled: !!tgAppAuthCode,
7712
7858
  refetchInterval: 1e3 * 5
7713
7859
  });
7714
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
7715
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7860
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
7861
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7716
7862
  EVMModal,
7717
7863
  {
7718
7864
  isOpen: EVMIsOpen && (EVMType == "login" && !overview && !token || EVMType == "bind" && !!token && !!overview),
@@ -7722,7 +7868,7 @@ function BusinessProvider({ children }) {
7722
7868
  zIndex: 199
7723
7869
  }
7724
7870
  ),
7725
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7871
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7726
7872
  TRONModal,
7727
7873
  {
7728
7874
  isOpen: TRONIsOpen && (TRONType == "login" && !overview && !token || TRONType == "bind" && !!token && !!overview),
@@ -7732,7 +7878,7 @@ function BusinessProvider({ children }) {
7732
7878
  zIndex: 199
7733
7879
  }
7734
7880
  ),
7735
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7881
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7736
7882
  TONModal,
7737
7883
  {
7738
7884
  isOpen: TONIsOpen && (TONType == "login" && !overview && !token || TONType == "bind" && !!token && !!overview),
@@ -7742,7 +7888,7 @@ function BusinessProvider({ children }) {
7742
7888
  zIndex: 199
7743
7889
  }
7744
7890
  ),
7745
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7891
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7746
7892
  BTCModal,
7747
7893
  {
7748
7894
  isOpen: BTCIsOpen && (BTCType == "login" && !overview && !token || BTCType == "bind" && !!token && !!overview),
@@ -7752,7 +7898,7 @@ function BusinessProvider({ children }) {
7752
7898
  zIndex: 199
7753
7899
  }
7754
7900
  ),
7755
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7901
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7756
7902
  CEXBindModal,
7757
7903
  {
7758
7904
  isOpen: CEXIsOpen && (!!token && !!overview),
@@ -7761,7 +7907,7 @@ function BusinessProvider({ children }) {
7761
7907
  zIndex: 199
7762
7908
  }
7763
7909
  ),
7764
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7910
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7765
7911
  WalletModal,
7766
7912
  {
7767
7913
  isOpen: WalletModalStore.isOpen && (WalletModalStore.type == "login" && !overview && !token || WalletModalStore.type == "bind" && !!token && !!overview),
@@ -7771,14 +7917,22 @@ function BusinessProvider({ children }) {
7771
7917
  zIndex: 150
7772
7918
  }
7773
7919
  ),
7920
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7921
+ BindEmailModal_default,
7922
+ {
7923
+ isOpen: EmailIsOpen && (EmailType == "bind" && !!token && !!overview),
7924
+ onClose: EmailClose,
7925
+ onLogin: EmailClose
7926
+ }
7927
+ ),
7774
7928
  children
7775
7929
  ] });
7776
7930
  }
7777
7931
 
7778
7932
  // src/context/index.tsx
7779
- var import_jsx_runtime101 = require("react/jsx-runtime");
7933
+ var import_jsx_runtime104 = require("react/jsx-runtime");
7780
7934
  var Providers = ({ children }) => {
7781
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ToastProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(BusinessProvider, { children }) }) });
7935
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ToastProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(BusinessProvider, { children }) }) });
7782
7936
  };
7783
7937
  var context_default = Providers;
7784
7938
 
@@ -8251,7 +8405,9 @@ var en_default = {
8251
8405
  noRequests: "No Requests yet",
8252
8406
  noMore: "No more",
8253
8407
  Remove: "Remove",
8254
- removeSuccess: "Remove Successfully"
8408
+ removeSuccess: "Remove Successfully",
8409
+ loginAgreement: "By login, you agree to our <termsLink>Terms of Service</termsLink> and <privacyLink>Privacy Policy</privacyLink>",
8410
+ poweredBy: "Powered by"
8255
8411
  };
8256
8412
 
8257
8413
  // src/i18n/zh.json
@@ -8339,7 +8495,9 @@ var zh_default = {
8339
8495
  noRequests: "\u6682\u65E0\u8BF7\u6C42",
8340
8496
  noMore: "\u6CA1\u6709\u66F4\u591A",
8341
8497
  Remove: "\u79FB\u9664",
8342
- removeSuccess: "\u79FB\u9664\u6210\u529F"
8498
+ removeSuccess: "\u79FB\u9664\u6210\u529F",
8499
+ loginAgreement: "\u767B\u5F55\u5373\u8868\u793A\u60A8\u540C\u610F\u6211\u4EEC\u7684<termsLink>\u670D\u52A1\u6761\u6B3E</termsLink>\u548C<privacyLink>\u9690\u79C1\u653F\u7B56</privacyLink>",
8500
+ poweredBy: "\u7531"
8343
8501
  };
8344
8502
 
8345
8503
  // src/i18n/tw.json
@@ -8427,7 +8585,9 @@ var tw_default = {
8427
8585
  noRequests: "\u66AB\u7121\u8ACB\u6C42",
8428
8586
  noMore: "\u6C92\u6709\u66F4\u591A",
8429
8587
  Remove: "\u79FB\u9664",
8430
- removeSuccess: "\u79FB\u9664\u6210\u529F"
8588
+ removeSuccess: "\u79FB\u9664\u6210\u529F",
8589
+ loginAgreement: "\u767B\u5165\u5373\u8868\u793A\u60A8\u540C\u610F\u6211\u5011\u7684<termsLink>\u670D\u52D9\u689D\u6B3E</termsLink>\u548C<privacyLink>\u96B1\u79C1\u6B0A\u653F\u7B56</privacyLink>",
8590
+ poweredBy: "\u7531"
8431
8591
  };
8432
8592
 
8433
8593
  // src/i18n/fr.json
@@ -8515,7 +8675,9 @@ var fr_default = {
8515
8675
  noRequests: "Pas encore de demandes",
8516
8676
  noMore: "Plus rien",
8517
8677
  Remove: "Supprimer",
8518
- removeSuccess: "Suppression r\xE9ussie"
8678
+ removeSuccess: "Suppression r\xE9ussie",
8679
+ loginAgreement: "En vous connectant, vous acceptez nos <termsLink>Conditions G\xE9n\xE9rales d'Utilisation</termsLink> et notre <privacyLink>Politique de Confidentialit\xE9</privacyLink>",
8680
+ poweredBy: "Par"
8519
8681
  };
8520
8682
 
8521
8683
  // src/i18n/ja.json
@@ -8603,7 +8765,9 @@ var ja_default = {
8603
8765
  noRequests: "\u307E\u3060\u30EA\u30AF\u30A8\u30B9\u30C8\u304C\u3042\u308A\u307E\u305B\u3093",
8604
8766
  noMore: "\u3053\u308C\u4EE5\u4E0A\u3042\u308A\u307E\u305B\u3093",
8605
8767
  Remove: "\u524A\u9664",
8606
- removeSuccess: "\u524A\u9664\u306B\u6210\u529F\u3057\u307E\u3057\u305F"
8768
+ removeSuccess: "\u524A\u9664\u306B\u6210\u529F\u3057\u307E\u3057\u305F",
8769
+ loginAgreement: "\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u3053\u3068\u306B\u3088\u308A\u3001\u5F53\u793E\u306E<termsLink>\u5229\u7528\u898F\u7D04</termsLink>\u304A\u3088\u3073<privacyLink>\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC</termsLink>\u306B\u540C\u610F\u3057\u305F\u3082\u306E\u3068\u307F\u306A\u3055\u308C\u307E\u3059",
8770
+ poweredBy: "\u88FD\u9020\u5143"
8607
8771
  };
8608
8772
 
8609
8773
  // src/i18n/ko.json
@@ -8691,7 +8855,9 @@ var ko_default = {
8691
8855
  noRequests: "\uC544\uC9C1 \uC694\uCCAD\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",
8692
8856
  noMore: "\uB354 \uC774\uC0C1 \uC5C6\uC74C",
8693
8857
  Remove: "\uC0AD\uC81C",
8694
- removeSuccess: "\uC0AD\uC81C \uC131\uACF5"
8858
+ removeSuccess: "\uC0AD\uC81C \uC131\uACF5",
8859
+ loginAgreement: "\uB85C\uADF8\uC778\uD568\uC73C\uB85C\uC368 \uB2F9\uC0AC\uC758 <termsLink>\uC11C\uBE44\uC2A4 \uC57D\uAD00</termsLink> \uBC0F <privacyLink>\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68</privacyLink>\uC5D0 \uB3D9\uC758\uD558\uB294 \uAC83\uC73C\uB85C \uAC04\uC8FC\uB429\uB2C8\uB2E4",
8860
+ poweredBy: "\uC81C\uC791"
8695
8861
  };
8696
8862
 
8697
8863
  // src/i18n/vi.json
@@ -8779,7 +8945,9 @@ var vi_default = {
8779
8945
  noRequests: "Ch\u01B0a c\xF3 y\xEAu c\u1EA7u n\xE0o",
8780
8946
  noMore: "Kh\xF4ng c\xF2n n\u1EEFa",
8781
8947
  Remove: "X\xF3a",
8782
- removeSuccess: "X\xF3a th\xE0nh c\xF4ng"
8948
+ removeSuccess: "X\xF3a th\xE0nh c\xF4ng",
8949
+ loginAgreement: "B\u1EB1ng c\xE1ch \u0111\u0103ng nh\u1EADp, b\u1EA1n \u0111\u1ED3ng \xFD v\u1EDBi <termsLink>\u0110i\u1EC1u kho\u1EA3n d\u1ECBch v\u1EE5</termsLink> v\xE0 <privacyLink>Ch\xEDnh s\xE1ch quy\u1EC1n ri\xEAng t\u01B0</privacyLink> c\u1EE7a ch\xFAng t\xF4i",
8950
+ poweredBy: "B\u1EDFi"
8783
8951
  };
8784
8952
 
8785
8953
  // src/i18n/es.json
@@ -8867,7 +9035,9 @@ var es_default = {
8867
9035
  noRequests: "A\xFAn no hay solicitudes",
8868
9036
  noMore: "No hay m\xE1s",
8869
9037
  Remove: "Eliminar",
8870
- removeSuccess: "Eliminado con \xE9xito"
9038
+ removeSuccess: "Eliminado con \xE9xito",
9039
+ loginAgreement: "Al iniciar sesi\xF3n, aceptas nuestros <termsLink>T\xE9rminos de servicio</termsLink> y nuestra <privacyLink>Pol\xEDtica de privacidad</privacyLink>",
9040
+ poweredBy: "Por"
8871
9041
  };
8872
9042
 
8873
9043
  // src/i18n/pt.json
@@ -8955,7 +9125,9 @@ var pt_default = {
8955
9125
  noRequests: "Ainda sem solicita\xE7\xF5es",
8956
9126
  noMore: "N\xE3o h\xE1 mais",
8957
9127
  Remove: "Remover",
8958
- removeSuccess: "Removido com sucesso"
9128
+ removeSuccess: "Removido com sucesso",
9129
+ loginAgreement: "Ao fazer login, voc\xEA concorda com nossos <termsLink>Termos de Servi\xE7o</termsLink> e nossa <privacyLink>Pol\xEDtica de Privacidade</privacyLink>",
9130
+ poweredBy: "Por"
8959
9131
  };
8960
9132
 
8961
9133
  // src/i18n/index.ts
@@ -9040,7 +9212,7 @@ var matchTest = /* @__PURE__ */ (0, import_viem17.defineChain)({
9040
9212
 
9041
9213
  // src/MatchContext.tsx
9042
9214
  var import_wagmi3 = require("wagmi");
9043
- var import_jsx_runtime102 = require("react/jsx-runtime");
9215
+ var import_jsx_runtime105 = require("react/jsx-runtime");
9044
9216
  var queryClient = new import_react_query10.QueryClient();
9045
9217
  var wagmiConfig = (0, import_rainbowkit2.getDefaultConfig)({
9046
9218
  appName: "MatchID",
@@ -9079,7 +9251,7 @@ var MatchProvider = ({
9079
9251
  useWalletInit({
9080
9252
  config: wallet
9081
9253
  });
9082
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_react_intl23.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_wagmi3.WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_react_query10.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
9254
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_intl23.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_wagmi3.WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_query10.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
9083
9255
  MatchContext.Provider,
9084
9256
  {
9085
9257
  value: {
@@ -9090,7 +9262,7 @@ var MatchProvider = ({
9090
9262
  theme,
9091
9263
  locale: realLocale
9092
9264
  },
9093
- children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(context_default, { children })
9265
+ children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(context_default, { children })
9094
9266
  }
9095
9267
  ) }) }) });
9096
9268
  };