@matchain/matchid-sdk-react 0.1.53-alpha.6 → 0.1.53-alpha.8

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 (76) hide show
  1. package/dist/assets/icon/index.d.mts +4 -146
  2. package/dist/assets/icon/index.d.ts +4 -146
  3. package/dist/assets/icon/index.js +35 -0
  4. package/dist/assets/icon/index.js.map +1 -1
  5. package/dist/assets/icon/index.mjs +3 -1
  6. package/dist/{chunk-3USZ4ZZY.mjs → chunk-FKXS2XRG.mjs} +96 -2
  7. package/dist/chunk-FKXS2XRG.mjs.map +1 -0
  8. package/dist/{chunk-OCQ2AIM3.mjs → chunk-IZOOVZAD.mjs} +5 -5
  9. package/dist/chunk-IZOOVZAD.mjs.map +1 -0
  10. package/dist/{chunk-Z7DMYFH5.mjs → chunk-QTUR37B2.mjs} +5729 -5364
  11. package/dist/chunk-QTUR37B2.mjs.map +1 -0
  12. package/dist/{chunk-V2S54LGG.mjs → chunk-X5HGL3ZX.mjs} +45 -3
  13. package/dist/chunk-X5HGL3ZX.mjs.map +1 -0
  14. package/dist/components/index.d.mts +3 -3
  15. package/dist/components/index.d.ts +3 -3
  16. package/dist/components/index.js +726 -360
  17. package/dist/components/index.js.map +1 -1
  18. package/dist/components/index.mjs +9 -5
  19. package/dist/hooks/api/index.d.mts +3 -2
  20. package/dist/hooks/api/index.d.ts +3 -2
  21. package/dist/hooks/api/index.js +249 -62
  22. package/dist/hooks/api/index.js.map +1 -1
  23. package/dist/hooks/api/index.mjs +9 -9
  24. package/dist/hooks/index.d.mts +3 -2
  25. package/dist/hooks/index.d.ts +3 -2
  26. package/dist/hooks/index.js +359 -320
  27. package/dist/hooks/index.js.map +1 -1
  28. package/dist/hooks/index.mjs +5 -5
  29. package/dist/{index-W6yjuOKT.d.mts → index-BDffLLM_.d.mts} +29 -17
  30. package/dist/index-BVfCh4l-.d.mts +203 -0
  31. package/dist/{index-Bpd2gBNh.d.mts → index-BaFmUVw-.d.mts} +1 -1
  32. package/dist/{index-Dt92N6yZ.d.ts → index-BsX-ovIl.d.ts} +29 -17
  33. package/dist/{index-wqqEUufi.d.mts → index-C0UKUm0h.d.ts} +25 -5
  34. package/dist/{index-DaXXoRxr.d.ts → index-CQmN0dN4.d.ts} +1 -1
  35. package/dist/index-D3Kp05kW.d.ts +203 -0
  36. package/dist/{index-BaYTgL99.d.mts → index-D5WIVIkc.d.ts} +3 -2
  37. package/dist/{index-D_UNctDI.d.mts → index-D7S5DMUy.d.mts} +18 -5
  38. package/dist/{index-BhU3hF7y.d.ts → index-DC4F1u-w.d.mts} +25 -5
  39. package/dist/{index-C5StsjWY.d.ts → index-DQFQ39D9.d.ts} +18 -5
  40. package/dist/{index-mxbJ8CFx.d.mts → index-DjbH13zc.d.mts} +3 -1
  41. package/dist/{index-D1QeVZyN.d.ts → index-SOVt-ADK.d.mts} +3 -2
  42. package/dist/{index-CFqk8eNo.d.ts → index-zc2GEzJ9.d.ts} +3 -1
  43. package/dist/index.css +123 -15
  44. package/dist/index.d.mts +9 -7
  45. package/dist/index.d.ts +9 -7
  46. package/dist/index.js +1023 -564
  47. package/dist/index.js.map +1 -1
  48. package/dist/index.mjs +13 -12
  49. package/dist/request-B0CyrGFT.d.mts +15 -0
  50. package/dist/request-B0CyrGFT.d.ts +15 -0
  51. package/dist/types/index.d.mts +1 -1
  52. package/dist/types/index.d.ts +1 -1
  53. package/dist/{types-Bx_FJ11s.d.mts → types-VrV1kYga.d.mts} +9 -1
  54. package/dist/{types-Bx_FJ11s.d.ts → types-VrV1kYga.d.ts} +9 -1
  55. package/dist/ui/index.d.mts +3 -3
  56. package/dist/ui/index.d.ts +3 -3
  57. package/dist/ui/index.js +106 -61
  58. package/dist/ui/index.js.map +1 -1
  59. package/dist/ui/index.mjs +8 -4
  60. package/dist/utils/index.d.mts +1 -1
  61. package/dist/utils/index.d.ts +1 -1
  62. package/dist/utils/index.js +4 -4
  63. package/dist/utils/index.js.map +1 -1
  64. package/dist/utils/index.mjs +1 -1
  65. package/example/package.json +3 -1
  66. package/example/src/App.tsx +30 -7
  67. package/example/src/pages/Contact/index.tsx +90 -0
  68. package/example/src/pages/UI/components/Tabs.tsx +18 -0
  69. package/example/src/pages/UI/index.tsx +2 -0
  70. package/package.json +4 -1
  71. package/dist/chunk-3USZ4ZZY.mjs.map +0 -1
  72. package/dist/chunk-OCQ2AIM3.mjs.map +0 -1
  73. package/dist/chunk-UDXKFDXO.mjs +0 -97
  74. package/dist/chunk-UDXKFDXO.mjs.map +0 -1
  75. package/dist/chunk-V2S54LGG.mjs.map +0 -1
  76. package/dist/chunk-Z7DMYFH5.mjs.map +0 -1
package/dist/index.js CHANGED
@@ -34,6 +34,7 @@ __export(src_exports, {
34
34
  Chains: () => chains_exports,
35
35
  Components: () => components_exports,
36
36
  Hooks: () => hooks_exports,
37
+ Icon: () => icon_exports,
37
38
  MatchProvider: () => MatchProvider,
38
39
  ModalProvider: () => ModalProvider,
39
40
  ToastProvider: () => ToastProvider,
@@ -44,7 +45,7 @@ __export(src_exports, {
44
45
  module.exports = __toCommonJS(src_exports);
45
46
 
46
47
  // src/MatchContext.tsx
47
- var import_react41 = require("react");
48
+ var import_react43 = require("react");
48
49
 
49
50
  // src/hooks/index.tsx
50
51
  var hooks_exports = {};
@@ -479,6 +480,54 @@ var getTgAppLoginStatus = (data) => {
479
480
  data
480
481
  });
481
482
  };
483
+ var getContactListApi = (data) => {
484
+ return request_default({
485
+ url: `/api/v1/contacts/list`,
486
+ method: "POST",
487
+ data
488
+ });
489
+ };
490
+ var searchContactsApi = (data) => {
491
+ return request_default({
492
+ url: `/api/v1/contacts/search`,
493
+ method: "POST",
494
+ data
495
+ });
496
+ };
497
+ var addContactsApi = (data) => {
498
+ return request_default({
499
+ url: `/api/v1/contacts/add`,
500
+ method: "POST",
501
+ data
502
+ });
503
+ };
504
+ var acceptContactsApi = (data) => {
505
+ return request_default({
506
+ url: `/api/v1/contacts/accept`,
507
+ method: "POST",
508
+ data
509
+ });
510
+ };
511
+ var delContactsApi = (data) => {
512
+ return request_default({
513
+ url: `/api/v1/contacts/del`,
514
+ method: "POST",
515
+ data
516
+ });
517
+ };
518
+ var getContractsInfoApi = () => {
519
+ return retryRequest({
520
+ url: `/api/v1/contracts/info`,
521
+ method: "GET"
522
+ });
523
+ };
524
+ var userInviteApi = (data) => {
525
+ return request_default({
526
+ url: `/api/v1/user/invite`,
527
+ method: "POST",
528
+ data
529
+ });
530
+ };
482
531
 
483
532
  // src/store/useLocalStore.ts
484
533
  var persistedState = (0, import_middleware.persist)(
@@ -583,12 +632,12 @@ var isValidEmail = (email) => {
583
632
  var isValidUsername = (username) => {
584
633
  return /^[a-zA-Z0-9_-]+$/.test(username);
585
634
  };
586
- function truncateAddress(address) {
587
- if (address.length <= 6) {
635
+ function truncateAddress(address, startLen = 4, endLen = 4) {
636
+ if (address.length <= startLen + endLen) {
588
637
  return address;
589
638
  }
590
- const start = address.slice(0, 4);
591
- const end = address.slice(-2);
639
+ const start = address.slice(0, startLen);
640
+ const end = address.slice(-endLen);
592
641
  return `${start}...${end}`;
593
642
  }
594
643
  function getAppClientId() {
@@ -683,11 +732,87 @@ function bytesToBase64(bytes) {
683
732
  // src/store/useModalStore.ts
684
733
  var import_zustand2 = require("zustand");
685
734
 
735
+ // src/assets/icon/index.tsx
736
+ var icon_exports = {};
737
+ __export(icon_exports, {
738
+ ArrowDownIcon: () => ArrowDownIcon,
739
+ ArrowLeftIcon: () => ArrowLeftIcon,
740
+ ArrowRightIcon: () => ArrowRightIcon,
741
+ ArrowSendIcon: () => ArrowSendIcon,
742
+ BTCDarkIcon: () => BTCDarkIcon,
743
+ BTCLightIcon: () => BTCLightIcon,
744
+ BackIcon: () => BackIcon,
745
+ BitgetIcon: () => BitgetIcon,
746
+ CheckIcon: () => CheckIcon,
747
+ CheckRoundIcon: () => CheckRoundIcon,
748
+ CloseEyeIcon: () => CloseEyeIcon,
749
+ CloseIcon: () => CloseIcon,
750
+ CloseRoundIcon: () => CloseRoundIcon,
751
+ CopyIcon: () => CopyIcon,
752
+ DeleteRoundIcon: () => DeleteRoundIcon,
753
+ DiscordIcon: () => DiscordIcon,
754
+ EVMDarkIcon: () => EVMDarkIcon,
755
+ EVMLightIcon: () => EVMLightIcon,
756
+ EmailIcon: () => EmailIcon,
757
+ EmailLineIcon: () => EmailLineIcon,
758
+ ErrorRoundIcon: () => ErrorRoundIcon,
759
+ FacebookIcon: () => FacebookIcon,
760
+ GithubIcon: () => GithubIcon,
761
+ GoogleIcon: () => GoogleIcon,
762
+ InfoLineIcon: () => InfoLineIcon,
763
+ InfoRoundIcon: () => InfoRoundIcon,
764
+ LeatherIcon: () => LeatherIcon,
765
+ LinkedinIcon: () => LinkedinIcon,
766
+ LoadingIcon: () => LoadingIcon_default,
767
+ LoginIcon: () => LoginIcon_default,
768
+ MoreIcon: () => MoreIcon,
769
+ OKXIcon: () => OKXIcon,
770
+ OpenEyeIcon: () => OpenEyeIcon,
771
+ PasswordRoundIcon: () => PasswordRoundIcon,
772
+ PhantomIcon: () => PhantomIcon,
773
+ SOLDarkIcon: () => SOLDarkIcon,
774
+ SOLLightIcon: () => SOLLightIcon,
775
+ TRXDarkIcon: () => TRXDarkIcon,
776
+ TRXLightIcon: () => TRXLightIcon,
777
+ TelegramIcon: () => TelegramIcon,
778
+ TonDarkIcon: () => TonLightIcon,
779
+ TonLightIcon: () => TonLightIcon2,
780
+ TransferIcon: () => TransferIcon,
781
+ TronLinkIcon: () => TronLinkIcon,
782
+ UnLoginIcon: () => UnLoginIcon_default,
783
+ UnisatIcon: () => UnisatIcon,
784
+ WalletIcon: () => WalletIcon,
785
+ XIcon: () => XIcon,
786
+ XverseIcon: () => XverseIcon,
787
+ YoutubeIcon: () => YoutubeIcon
788
+ });
789
+
686
790
  // src/assets/icon/BackIcon.tsx
687
791
  var import_jsx_runtime2 = require("react/jsx-runtime");
792
+ function BackIcon({
793
+ color = "#000",
794
+ size = 24,
795
+ className,
796
+ style
797
+ }) {
798
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { className, style, width: size, height: size, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
799
+ "path",
800
+ {
801
+ d: "M11.2917 25.2926C11.1988 25.3855 11.1251 25.4958 11.0748 25.6172C11.0245 25.7386 10.9987 25.8687 10.9987 26.0001C10.9987 26.1315 11.0245 26.2616 11.0748 26.383C11.1251 26.5044 11.1988 26.6147 11.2917 26.7076C11.3846 26.8005 11.4949 26.8742 11.6163 26.9245C11.7377 26.9747 11.8678 27.0006 11.9992 27.0006C12.1306 27.0006 12.2607 26.9747 12.3821 26.9245C12.5035 26.8742 12.6138 26.8005 12.7067 26.7076L22.7067 16.7076C22.7997 16.6147 22.8734 16.5044 22.9238 16.383C22.9741 16.2616 23 16.1315 23 16.0001C23 15.8687 22.9741 15.7385 22.9238 15.6171C22.8734 15.4957 22.7997 15.3854 22.7067 15.2926L12.7067 5.29257C12.5191 5.10493 12.2646 4.99951 11.9992 4.99951C11.7338 4.99951 11.4794 5.10493 11.2917 5.29257C11.1041 5.48021 10.9987 5.7347 10.9987 6.00007C10.9987 6.26543 11.1041 6.51993 11.2917 6.70757L20.5855 16.0001L11.2917 25.2926Z",
802
+ fill: color
803
+ }
804
+ ) });
805
+ }
688
806
 
689
807
  // src/assets/icon/CloseIcon.tsx
690
808
  var import_jsx_runtime3 = require("react/jsx-runtime");
809
+ function CloseIcon({
810
+ color = "#000",
811
+ size = 24,
812
+ style
813
+ }) {
814
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { style, width: size, height: size, viewBox: "0 0 29 29", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M1 1L14.5 14.5M28 28L14.5 14.5M14.5 14.5L1 28L28 1", stroke: color, strokeWidth: "2" }) });
815
+ }
691
816
 
692
817
  // src/assets/icon/XIcon.tsx
693
818
  var import_jsx_runtime4 = require("react/jsx-runtime");
@@ -953,6 +1078,21 @@ function CheckRoundIcon({
953
1078
 
954
1079
  // src/assets/icon/PasswordRoundIcon.tsx
955
1080
  var import_jsx_runtime16 = require("react/jsx-runtime");
1081
+ function PasswordRoundIcon() {
1082
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1083
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("rect", { x: "0.5", y: "0.5", width: "39", height: "39", rx: "7.5", fill: "white" }),
1084
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("rect", { x: "0.5", y: "0.5", width: "39", height: "39", rx: "7.5", stroke: "black" }),
1085
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1086
+ "path",
1087
+ {
1088
+ fillRule: "evenodd",
1089
+ clipRule: "evenodd",
1090
+ d: "M19.7673 16.1137C19.962 13.9479 21.7831 12.25 24 12.25C26.3472 12.25 28.25 14.1528 28.25 16.5C28.25 18.8472 26.3472 20.75 24 20.75C23.488 20.75 22.9987 20.6598 22.5461 20.495C21.9175 20.2662 21.1115 20.3279 20.5486 20.8908L19.2626 22.1768C19.2157 22.2237 19.1521 22.25 19.0858 22.25H18C17.3096 22.25 16.75 22.8096 16.75 23.5V24.25H15.5C14.8096 24.25 14.25 24.8096 14.25 25.5V26.5C14.25 26.6381 14.1381 26.75 14 26.75H12C11.8619 26.75 11.75 26.6381 11.75 26.5V23.9538C11.75 23.8817 11.7811 23.8131 11.8354 23.7656L19.1524 17.3632C19.5404 17.0238 19.7275 16.556 19.7673 16.1137ZM24 10.75C20.9997 10.75 18.5369 13.0473 18.2733 15.9794C18.2614 16.1115 18.2107 16.1941 18.1646 16.2344L10.8476 22.6368C10.4678 22.9691 10.25 23.4491 10.25 23.9538V26.5C10.25 27.4665 11.0335 28.25 12 28.25H14C14.9665 28.25 15.75 27.4665 15.75 26.5V25.75H17C17.6904 25.75 18.25 25.1904 18.25 24.5V23.75H19.0858C19.5499 23.75 19.995 23.5656 20.3232 23.2374L21.6092 21.9514C21.6738 21.8868 21.8277 21.8298 22.033 21.9045C22.6476 22.1283 23.3104 22.25 24 22.25C27.1756 22.25 29.75 19.6756 29.75 16.5C29.75 13.3244 27.1756 10.75 24 10.75ZM25 16.5C25.5523 16.5 26 16.0523 26 15.5C26 14.9477 25.5523 14.5 25 14.5C24.4477 14.5 24 14.9477 24 15.5C24 16.0523 24.4477 16.5 25 16.5Z",
1091
+ fill: "black"
1092
+ }
1093
+ )
1094
+ ] });
1095
+ }
956
1096
 
957
1097
  // src/assets/icon/CloseEyeIcon.tsx
958
1098
  var import_jsx_runtime17 = require("react/jsx-runtime");
@@ -1847,6 +1987,39 @@ function PhantomIcon({
1847
1987
  ) });
1848
1988
  }
1849
1989
 
1990
+ // src/assets/icon/MoreIcon.tsx
1991
+ var import_jsx_runtime51 = require("react/jsx-runtime");
1992
+ function MoreIcon({
1993
+ width = "11",
1994
+ height = "3",
1995
+ color = "black",
1996
+ ...props
1997
+ }) {
1998
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width, height, viewBox: "0 0 11 3", fill: "none", ...props, children: [
1999
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2000
+ "path",
2001
+ {
2002
+ d: "M2.3335 1.33325C2.3335 1.88554 1.88578 2.33325 1.3335 2.33325C0.781211 2.33325 0.333496 1.88554 0.333496 1.33325C0.333496 0.780967 0.781211 0.333252 1.3335 0.333252C1.88578 0.333252 2.3335 0.780967 2.3335 1.33325Z",
2003
+ fill: color
2004
+ }
2005
+ ),
2006
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2007
+ "path",
2008
+ {
2009
+ d: "M6.3335 1.33325C6.3335 1.88554 5.88578 2.33325 5.3335 2.33325C4.78121 2.33325 4.3335 1.88554 4.3335 1.33325C4.3335 0.780967 4.78121 0.333252 5.3335 0.333252C5.88578 0.333252 6.3335 0.780967 6.3335 1.33325Z",
2010
+ fill: color
2011
+ }
2012
+ ),
2013
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2014
+ "path",
2015
+ {
2016
+ d: "M10.3335 1.33325C10.3335 1.88554 9.88578 2.33325 9.3335 2.33325C8.78121 2.33325 8.3335 1.88554 8.3335 1.33325C8.3335 0.780967 8.78121 0.333252 9.3335 0.333252C9.88578 0.333252 10.3335 0.780967 10.3335 1.33325Z",
2017
+ fill: color
2018
+ }
2019
+ )
2020
+ ] });
2021
+ }
2022
+
1850
2023
  // src/hooks/useLayout.tsx
1851
2024
  var useLayout_exports = {};
1852
2025
  __export(useLayout_exports, {
@@ -1868,39 +2041,39 @@ function useDownMd() {
1868
2041
  }
1869
2042
 
1870
2043
  // src/hooks/useConfig.tsx
1871
- var import_jsx_runtime51 = require("react/jsx-runtime");
2044
+ var import_jsx_runtime52 = require("react/jsx-runtime");
1872
2045
  var DEFAULT_WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
1873
2046
  var WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
1874
2047
  function useWalletConfig() {
1875
2048
  const isDownMd = useDownMd();
1876
2049
  const walletMap = {
1877
2050
  evm: {
1878
- icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
1879
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
2051
+ icon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
2052
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
1880
2053
  name: "EVM",
1881
2054
  method: "evm"
1882
2055
  },
1883
2056
  sol: {
1884
- icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
1885
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
2057
+ icon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
2058
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
1886
2059
  name: "SOL",
1887
2060
  method: "sol"
1888
2061
  },
1889
2062
  btc: {
1890
- icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
1891
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
2063
+ icon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
2064
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
1892
2065
  name: "BTC",
1893
2066
  method: "btc"
1894
2067
  },
1895
2068
  tron: {
1896
- icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(TRXDarkIcon, { size: isDownMd ? 36 : 40 }),
1897
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(TRXLightIcon, { size: isDownMd ? 36 : 40 }),
2069
+ icon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TRXDarkIcon, { size: isDownMd ? 36 : 40 }),
2070
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TRXLightIcon, { size: isDownMd ? 36 : 40 }),
1898
2071
  name: "TRON",
1899
2072
  method: "tron"
1900
2073
  },
1901
2074
  ton: {
1902
- icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(TonLightIcon, { size: isDownMd ? 36 : 40 }),
1903
- activeIcon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(TonLightIcon2, { size: isDownMd ? 36 : 40 }),
2075
+ icon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TonLightIcon, { size: isDownMd ? 36 : 40 }),
2076
+ activeIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TonLightIcon2, { size: isDownMd ? 36 : 40 }),
1904
2077
  name: "TON",
1905
2078
  method: "ton"
1906
2079
  }
@@ -2225,6 +2398,11 @@ function useUserInfo() {
2225
2398
  window.addEventListener("message", authMessageHandle);
2226
2399
  });
2227
2400
  };
2401
+ const invite = async (invite_code) => {
2402
+ return await userInviteApi({
2403
+ invite_code
2404
+ });
2405
+ };
2228
2406
  return {
2229
2407
  loginByMethod,
2230
2408
  loginByTelegram,
@@ -2248,7 +2426,8 @@ function useUserInfo() {
2248
2426
  auth,
2249
2427
  login: loginMethod,
2250
2428
  bind,
2251
- getAuthInfo
2429
+ getAuthInfo,
2430
+ invite
2252
2431
  };
2253
2432
  }
2254
2433
 
@@ -2311,11 +2490,13 @@ __export(ui_exports, {
2311
2490
  Overlay: () => Overlay,
2312
2491
  Popover: () => Popover,
2313
2492
  Radio: () => Radio,
2314
- Switch: () => Switch
2493
+ Skeleton: () => Skeleton_default,
2494
+ Switch: () => Switch,
2495
+ Tabs: () => Tabs
2315
2496
  });
2316
2497
 
2317
2498
  // src/ui/Button/index.tsx
2318
- var import_jsx_runtime52 = require("react/jsx-runtime");
2499
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2319
2500
  function Button({
2320
2501
  size = "df",
2321
2502
  disabled = false,
@@ -2334,7 +2515,7 @@ function Button({
2334
2515
  onClick && onClick();
2335
2516
  }
2336
2517
  };
2337
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2518
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2338
2519
  "button",
2339
2520
  {
2340
2521
  type,
@@ -2344,14 +2525,14 @@ function Button({
2344
2525
  ...style
2345
2526
  },
2346
2527
  onClick: onAction,
2347
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
2528
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
2348
2529
  }
2349
2530
  );
2350
2531
  }
2351
2532
 
2352
2533
  // src/ui/Overlay/index.tsx
2353
2534
  var import_react4 = require("react");
2354
- var import_jsx_runtime53 = require("react/jsx-runtime");
2535
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2355
2536
  function Overlay({
2356
2537
  isOpen = false,
2357
2538
  children,
@@ -2367,7 +2548,7 @@ function Overlay({
2367
2548
  document.body.style.overflow = "";
2368
2549
  };
2369
2550
  }, [isOpen]);
2370
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2551
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2371
2552
  "div",
2372
2553
  {
2373
2554
  className: "matchid-overlay",
@@ -2376,11 +2557,11 @@ function Overlay({
2376
2557
  },
2377
2558
  children
2378
2559
  }
2379
- ) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_jsx_runtime53.Fragment, {});
2560
+ ) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, {});
2380
2561
  }
2381
2562
 
2382
2563
  // src/ui/Drawer/index.tsx
2383
- var import_jsx_runtime54 = require("react/jsx-runtime");
2564
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2384
2565
  function Drawer({
2385
2566
  children,
2386
2567
  showClose = true,
@@ -2391,22 +2572,22 @@ function Drawer({
2391
2572
  onBack
2392
2573
  }) {
2393
2574
  if (!isOpen) {
2394
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, {});
2575
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, {});
2395
2576
  }
2396
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-drawer", children: [
2397
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
2398
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
2399
- onBack && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
2577
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-drawer", children: [
2578
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
2579
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
2580
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
2400
2581
  title
2401
2582
  ] }),
2402
- showClose && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
2583
+ showClose && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
2403
2584
  ] }),
2404
2585
  children
2405
2586
  ] }) });
2406
2587
  }
2407
2588
 
2408
2589
  // src/ui/Field/index.tsx
2409
- var import_jsx_runtime55 = require("react/jsx-runtime");
2590
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2410
2591
  function Field({
2411
2592
  label,
2412
2593
  children,
@@ -2414,13 +2595,13 @@ function Field({
2414
2595
  required,
2415
2596
  className = ""
2416
2597
  }) {
2417
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
2418
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-field-label", children: [
2419
- required && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "matchid-field-required", children: "*" }),
2598
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
2599
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "matchid-field-label", children: [
2600
+ required && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "matchid-field-required", children: "*" }),
2420
2601
  label
2421
2602
  ] }),
2422
2603
  children,
2423
- error && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-field-error", children: error })
2604
+ error && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "matchid-field-error", children: error })
2424
2605
  ] });
2425
2606
  }
2426
2607
 
@@ -2428,7 +2609,7 @@ function Field({
2428
2609
  var import_react5 = require("react");
2429
2610
 
2430
2611
  // src/ui/Modal/index.tsx
2431
- var import_jsx_runtime56 = require("react/jsx-runtime");
2612
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2432
2613
  function Modal({
2433
2614
  children,
2434
2615
  isOpen,
@@ -2436,10 +2617,10 @@ function Modal({
2436
2617
  zIndex = 100,
2437
2618
  className = ""
2438
2619
  }) {
2439
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `matchid-modal ${className}`, style: {
2620
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: `matchid-modal ${className}`, style: {
2440
2621
  width
2441
2622
  }, children: [
2442
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "matchid-modal-mobile-header" }),
2623
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "matchid-modal-mobile-header" }),
2443
2624
  children
2444
2625
  ] }) });
2445
2626
  }
@@ -2453,20 +2634,20 @@ function ModalWithHeader({
2453
2634
  ...props
2454
2635
  }) {
2455
2636
  const isDownMd = useDownMd();
2456
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Modal, { ...props, children: [
2457
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
2458
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "matchid-modal-header-content", children: [
2459
- onBack && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
2460
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "matchid-modal-header-title", children: title })
2637
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Modal, { ...props, children: [
2638
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
2639
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "matchid-modal-header-content", children: [
2640
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
2641
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "matchid-modal-header-title", children: title })
2461
2642
  ] }),
2462
- onClose && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
2643
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
2463
2644
  ] }),
2464
2645
  children
2465
2646
  ] });
2466
2647
  }
2467
2648
 
2468
2649
  // src/ui/ModalDrawer/index.tsx
2469
- var import_jsx_runtime57 = require("react/jsx-runtime");
2650
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2470
2651
  function ModalDrawer({
2471
2652
  title,
2472
2653
  drawerTitleVisible = true,
@@ -2474,9 +2655,9 @@ function ModalDrawer({
2474
2655
  }) {
2475
2656
  const isDownMd = useDownMd();
2476
2657
  if (isDownMd) {
2477
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ModalWithHeader, { ...props, title });
2658
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ModalWithHeader, { ...props, title });
2478
2659
  }
2479
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
2660
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
2480
2661
  }
2481
2662
 
2482
2663
  // src/assets/img/confirm.gif
@@ -2532,7 +2713,7 @@ function useHash({
2532
2713
  }
2533
2714
 
2534
2715
  // src/ui/HashPanel/index.tsx
2535
- var import_jsx_runtime58 = require("react/jsx-runtime");
2716
+ var import_jsx_runtime59 = require("react/jsx-runtime");
2536
2717
  function HashPanel({
2537
2718
  hash,
2538
2719
  chain,
@@ -2591,14 +2772,14 @@ function HashPanel({
2591
2772
  }
2592
2773
  }, [hashQuery.data]);
2593
2774
  const link = chain ? `${chain?.blockExplorers?.default.url}/tx/${hash}` : "";
2594
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2775
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2595
2776
  ModalDrawer,
2596
2777
  {
2597
2778
  isOpen,
2598
2779
  showClose: true,
2599
2780
  onClose,
2600
2781
  zIndex,
2601
- title: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2782
+ title: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2602
2783
  "div",
2603
2784
  {
2604
2785
  className: "matchid-hashpanel-header",
@@ -2608,29 +2789,29 @@ function HashPanel({
2608
2789
  children: statusValue.text
2609
2790
  }
2610
2791
  ),
2611
- children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-hashpanel-box", children: [
2612
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-hashpanel-content", children: [
2613
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: `matchid-hashpanel-status`, style: {
2792
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-hashpanel-box", children: [
2793
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-hashpanel-content", children: [
2794
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: `matchid-hashpanel-status`, style: {
2614
2795
  color: statusValue.color
2615
2796
  }, children: statusValue.text }),
2616
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("img", { src: statusValue.icon, alt: statusValue.text, className: `matchid-hashpanel-img` }),
2617
- hash && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
2797
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("img", { src: statusValue.icon, alt: statusValue.text, className: `matchid-hashpanel-img` }),
2798
+ hash && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
2618
2799
  "Hash:",
2619
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("a", { href: link, target: "_blank", children: hash })
2800
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("a", { href: link, target: "_blank", children: hash })
2620
2801
  ] })
2621
2802
  ] }),
2622
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
2803
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
2623
2804
  ] })
2624
2805
  }
2625
2806
  );
2626
2807
  }
2627
2808
  function HashPanel_default(props) {
2628
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(HashPanel, { ...props });
2809
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(HashPanel, { ...props });
2629
2810
  }
2630
2811
 
2631
2812
  // src/ui/Input/index.tsx
2632
2813
  var import_react6 = require("react");
2633
- var import_jsx_runtime59 = require("react/jsx-runtime");
2814
+ var import_jsx_runtime60 = require("react/jsx-runtime");
2634
2815
  function Input({
2635
2816
  onChange,
2636
2817
  type,
@@ -2640,17 +2821,17 @@ function Input({
2640
2821
  }) {
2641
2822
  const [inputType, setInputType] = (0, import_react6.useState)(type);
2642
2823
  const isDownMd = useDownMd();
2643
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
2824
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
2644
2825
  "div",
2645
2826
  {
2646
2827
  className: `matchid-input-box ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
2647
2828
  children: [
2648
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
2649
- props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
2829
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
2830
+ props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
2650
2831
  if (onChange) {
2651
2832
  onChange({ target: { value: "" } });
2652
2833
  }
2653
- }, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2834
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2654
2835
  DeleteRoundIcon,
2655
2836
  {
2656
2837
  height: isDownMd ? 16 : 21,
@@ -2658,9 +2839,9 @@ function Input({
2658
2839
  color: "var(--matchid-input-delete-icon-color)"
2659
2840
  }
2660
2841
  ) }),
2661
- type === "password" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
2842
+ type === "password" && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
2662
2843
  setInputType(inputType === "password" ? "text" : "password");
2663
- }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
2844
+ }, 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 }) }),
2664
2845
  after
2665
2846
  ]
2666
2847
  }
@@ -2669,7 +2850,7 @@ function Input({
2669
2850
 
2670
2851
  // src/ui/Popover/index.tsx
2671
2852
  var import_react7 = require("react");
2672
- var import_jsx_runtime60 = require("react/jsx-runtime");
2853
+ var import_jsx_runtime61 = require("react/jsx-runtime");
2673
2854
  function Popover({
2674
2855
  children,
2675
2856
  content,
@@ -2679,7 +2860,7 @@ function Popover({
2679
2860
  gap = "20px"
2680
2861
  }) {
2681
2862
  const [active, setActive] = (0, import_react7.useState)(false);
2682
- return children && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
2863
+ return children && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
2683
2864
  "div",
2684
2865
  {
2685
2866
  onClick: () => {
@@ -2690,16 +2871,16 @@ function Popover({
2690
2871
  className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
2691
2872
  children: [
2692
2873
  children,
2693
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { style: {
2874
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { style: {
2694
2875
  paddingTop: gap
2695
- }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: `matchid-popover-content`, children: content }) })
2876
+ }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: `matchid-popover-content`, children: content }) })
2696
2877
  ]
2697
2878
  }
2698
2879
  );
2699
2880
  }
2700
2881
 
2701
2882
  // src/ui/Switch/index.tsx
2702
- var import_jsx_runtime61 = require("react/jsx-runtime");
2883
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2703
2884
  function Switch({
2704
2885
  size = "default",
2705
2886
  checked = false,
@@ -2714,12 +2895,12 @@ function Switch({
2714
2895
  onChange && onChange(!checked);
2715
2896
  }
2716
2897
  };
2717
- return /* @__PURE__ */ (0, import_jsx_runtime61.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_runtime61.jsx)(LoadingIcon_default, { className: "matchid-switch-loading-icon", size: size == "default" ? 24 : 18, color: "var(--matchid-swicth-loading-color)" }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "matchid-switch-ball" }) });
2898
+ return /* @__PURE__ */ (0, import_jsx_runtime62.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_runtime62.jsx)(LoadingIcon_default, { className: "matchid-switch-loading-icon", size: size == "default" ? 24 : 18, color: "var(--matchid-swicth-loading-color)" }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-switch-ball" }) });
2718
2899
  }
2719
2900
 
2720
2901
  // src/ui/AlphaAvatar/index.tsx
2721
2902
  var import_react8 = require("react");
2722
- var import_jsx_runtime62 = require("react/jsx-runtime");
2903
+ var import_jsx_runtime63 = require("react/jsx-runtime");
2723
2904
  function AlphaAvatar({
2724
2905
  name,
2725
2906
  size = "default",
@@ -2736,7 +2917,7 @@ function AlphaAvatar({
2736
2917
  return "";
2737
2918
  }, [name]);
2738
2919
  const numberSize = typeof size === "number" ? size : size === "sm" ? 24 : size === "default" ? 40 : 64;
2739
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
2920
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
2740
2921
  width: numberSize,
2741
2922
  height: numberSize,
2742
2923
  fontSize: Math.ceil(numberSize / 2),
@@ -2745,7 +2926,7 @@ function AlphaAvatar({
2745
2926
  }
2746
2927
 
2747
2928
  // src/ui/Radio/index.tsx
2748
- var import_jsx_runtime63 = require("react/jsx-runtime");
2929
+ var import_jsx_runtime64 = require("react/jsx-runtime");
2749
2930
  function Radio({
2750
2931
  checked = false,
2751
2932
  onChange,
@@ -2754,20 +2935,58 @@ function Radio({
2754
2935
  className = "",
2755
2936
  style = {}
2756
2937
  }) {
2757
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
2938
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
2758
2939
  width: size,
2759
2940
  height: size,
2760
2941
  ...style,
2761
2942
  // @ts-ignore
2762
2943
  "--matchid-radio-checked": color
2763
- }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: `matchid-radio-content`, style: {
2944
+ }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: `matchid-radio-content`, style: {
2764
2945
  width: Math.floor(size * 0.7),
2765
2946
  height: Math.floor(size * 0.7)
2766
2947
  } }) });
2767
2948
  }
2768
2949
 
2950
+ // src/ui/Skeleton/index.tsx
2951
+ var import_jsx_runtime65 = require("react/jsx-runtime");
2952
+ var Skeleton = ({
2953
+ style = {},
2954
+ className = "",
2955
+ width = 40,
2956
+ height = 40,
2957
+ radius = 5,
2958
+ loading = true,
2959
+ children
2960
+ }) => {
2961
+ if (!loading) {
2962
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_jsx_runtime65.Fragment, { children });
2963
+ }
2964
+ const skeletonStyle = {
2965
+ width,
2966
+ height,
2967
+ borderRadius: radius,
2968
+ ...style
2969
+ };
2970
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
2971
+ "div",
2972
+ {
2973
+ className: "matchid-skeleton " + className,
2974
+ style: skeletonStyle
2975
+ }
2976
+ );
2977
+ };
2978
+ var Skeleton_default = Skeleton;
2979
+
2980
+ // src/ui/Tabs/index.tsx
2981
+ var import_jsx_runtime66 = require("react/jsx-runtime");
2982
+ function Tabs(props) {
2983
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: `matchid-tabs`, children: props.tabs.map((tab, index) => {
2984
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { onClick: () => props.setActiveTab(index), className: `matchid-tab ${props.activeTab === index ? "matchid-tab-active" : ""}`, children: tab }, index);
2985
+ }) });
2986
+ }
2987
+
2769
2988
  // src/context/ModalContext.tsx
2770
- var import_jsx_runtime64 = require("react/jsx-runtime");
2989
+ var import_jsx_runtime67 = require("react/jsx-runtime");
2771
2990
  var ModalContext = (0, import_react9.createContext)(null);
2772
2991
  function ModalProvider({ children }) {
2773
2992
  const [modalState, setModalState] = (0, import_react9.useState)({
@@ -2807,7 +3026,7 @@ function ModalProvider({ children }) {
2807
3026
  visible: true,
2808
3027
  index: modalIndex,
2809
3028
  zIndex: newZIndex,
2810
- content: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ModalDrawer, { showClose: true, isOpen: true, onClose: () => closeModal(modalIndex), title: props.title, zIndex: newZIndex, onBack: props.onBack, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(props.content, { close: () => closeModal(modalIndex), zIndex: newZIndex }) })
3029
+ content: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ModalDrawer, { showClose: true, isOpen: true, onClose: () => closeModal(modalIndex), title: props.title, zIndex: newZIndex, onBack: props.onBack, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(props.content, { close: () => closeModal(modalIndex), zIndex: newZIndex }) })
2811
3030
  }],
2812
3031
  highestZIndex: newZIndex
2813
3032
  };
@@ -2819,7 +3038,7 @@ function ModalProvider({ children }) {
2819
3038
  document.body
2820
3039
  ) : null
2821
3040
  );
2822
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(ModalContext.Provider, { value: { show, open }, children: [
3041
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(ModalContext.Provider, { value: { show, open }, children: [
2823
3042
  children,
2824
3043
  modalElements
2825
3044
  ] });
@@ -2863,7 +3082,7 @@ var useTransactionStore = (0, import_zustand4.create)((0, import_middleware2.dev
2863
3082
  var useTransactionStore_default = useTransactionStore;
2864
3083
 
2865
3084
  // src/hooks/useWallet.tsx
2866
- var import_jsx_runtime65 = require("react/jsx-runtime");
3085
+ var import_jsx_runtime68 = require("react/jsx-runtime");
2867
3086
  var AppClientId = "react-sdk-" + getVersion();
2868
3087
  function useWallet() {
2869
3088
  const { address, wallet: walletConfig } = useLocalStore_default();
@@ -3036,7 +3255,7 @@ function useWallet() {
3036
3255
  address: evmAccount.address
3037
3256
  });
3038
3257
  modal.show((props) => {
3039
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
3258
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
3040
3259
  });
3041
3260
  clearInterval(window.matchProvider.transactionMessageIntervalMap[transactionId].interval);
3042
3261
  delete window.matchProvider.transactionMessageIntervalMap[transactionId];
@@ -3113,7 +3332,7 @@ function useCopyClipboard(timeout = 500) {
3113
3332
  // src/context/ToastContext.tsx
3114
3333
  var import_react12 = require("react");
3115
3334
  var import_react_dom2 = require("react-dom");
3116
- var import_jsx_runtime66 = require("react/jsx-runtime");
3335
+ var import_jsx_runtime69 = require("react/jsx-runtime");
3117
3336
  var ToastContext = (0, import_react12.createContext)(null);
3118
3337
  function ToastProvider({ children, zIndex = 299 }) {
3119
3338
  const [toasts, setToasts] = (0, import_react12.useState)([]);
@@ -3126,28 +3345,28 @@ function ToastProvider({ children, zIndex = 299 }) {
3126
3345
  setTimeout(() => removeToast(id), timeout);
3127
3346
  }, [removeToast]);
3128
3347
  const success = (0, import_react12.useCallback)((text, timeout) => {
3129
- show({ icon: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CheckRoundIcon, { color: "#2FCC00", size: 24 }), text, timeout });
3348
+ show({ icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(CheckRoundIcon, { color: "#2FCC00", size: 24 }), text, timeout });
3130
3349
  }, [show]);
3131
3350
  const error = (0, import_react12.useCallback)((text, timeout) => {
3132
- show({ icon: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ErrorRoundIcon, { size: 24 }), text, timeout });
3351
+ show({ icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ErrorRoundIcon, { size: 24 }), text, timeout });
3133
3352
  }, [show]);
3134
3353
  const ToastComponent = (0, import_react_dom2.createPortal)(
3135
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-toast-box", style: {
3354
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "matchid-toast-box", style: {
3136
3355
  zIndex
3137
- }, children: toasts.reverse().map(({ id, icon, text }) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
3356
+ }, children: toasts.reverse().map(({ id, icon, text }) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
3138
3357
  "div",
3139
3358
  {
3140
3359
  className: "matchid-toast",
3141
3360
  children: [
3142
- icon && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { children: icon }),
3143
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { children: text })
3361
+ icon && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { children: icon }),
3362
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { children: text })
3144
3363
  ]
3145
3364
  },
3146
3365
  id
3147
3366
  )) }),
3148
3367
  document.body
3149
3368
  );
3150
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(ToastContext.Provider, { value: { show, success, error }, children: [
3369
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(ToastContext.Provider, { value: { show, success, error }, children: [
3151
3370
  children,
3152
3371
  ToastComponent
3153
3372
  ] });
@@ -3292,7 +3511,7 @@ function useWalletAssetListQuery({
3292
3511
  var import_react13 = require("react");
3293
3512
  var import_viem5 = require("viem");
3294
3513
  var import_react_intl = require("react-intl");
3295
- var import_jsx_runtime67 = require("react/jsx-runtime");
3514
+ var import_jsx_runtime70 = require("react/jsx-runtime");
3296
3515
  function useMatchChain() {
3297
3516
  const chainListQuery = useChainListQuery();
3298
3517
  const modal = useModal();
@@ -3323,28 +3542,28 @@ function useMatchChain() {
3323
3542
  const { chainId: storeChainId2, setChainId: setChainId2 } = useLocalStore_default();
3324
3543
  const [selectedChainId, setSelectedChainId] = (0, import_react13.useState)(storeChainId2);
3325
3544
  const isDownMd = useDownMd();
3326
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: `matchid-change-network-box`, children: [
3327
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
3328
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
3545
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: `matchid-change-network-box`, children: [
3546
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
3547
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
3329
3548
  "div",
3330
3549
  {
3331
3550
  onClick: () => setSelectedChainId(item.id),
3332
3551
  className: `matchid-change-network-item ${selectedChainId == item.id ? "matchid-change-network-selected" : ""}`,
3333
3552
  children: [
3334
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
3335
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
3336
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
3553
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
3554
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
3555
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
3337
3556
  ] }),
3338
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
3557
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
3339
3558
  ]
3340
3559
  },
3341
3560
  index
3342
3561
  );
3343
3562
  }) }),
3344
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
3563
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
3345
3564
  setChainId2(selectedChainId || 0);
3346
3565
  close();
3347
- }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl.FormattedMessage, { id: "confirm" }) })
3566
+ }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_intl.FormattedMessage, { id: "confirm" }) })
3348
3567
  ] });
3349
3568
  }
3350
3569
  const showChangeNetwork = () => {
@@ -3384,6 +3603,8 @@ var components_exports = {};
3384
3603
  __export(components_exports, {
3385
3604
  BTCModal: () => BTCModal,
3386
3605
  Button: () => Button,
3606
+ ContactCard: () => ContactCard,
3607
+ ContactList: () => ContactList,
3387
3608
  EVMModal: () => EVMModal,
3388
3609
  EmailModal: () => EmailModal,
3389
3610
  Field: () => Field,
@@ -3413,7 +3634,7 @@ var import_react16 = require("react");
3413
3634
  // src/components/EmailModal/StepEmail.tsx
3414
3635
  var import_react14 = require("react");
3415
3636
  var import_react_intl2 = require("react-intl");
3416
- var import_jsx_runtime68 = require("react/jsx-runtime");
3637
+ var import_jsx_runtime71 = require("react/jsx-runtime");
3417
3638
  function StepEmail(props) {
3418
3639
  const intl = (0, import_react_intl2.useIntl)();
3419
3640
  const [emailVal, setEmailVal] = (0, import_react14.useState)("");
@@ -3428,10 +3649,10 @@ function StepEmail(props) {
3428
3649
  const onContinue = async () => {
3429
3650
  props.onContinue(emailVal);
3430
3651
  };
3431
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "matchid-email-email-box", children: [
3432
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Field, { label: intl.formatMessage({
3652
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-email-email-box", children: [
3653
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Field, { label: intl.formatMessage({
3433
3654
  id: "emailAddress"
3434
- }), children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3655
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3435
3656
  Input,
3436
3657
  {
3437
3658
  placeholder: intl.formatMessage({
@@ -3441,9 +3662,9 @@ function StepEmail(props) {
3441
3662
  value: emailVal
3442
3663
  }
3443
3664
  ) }),
3444
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Button, { disabled: !canContinue, style: {
3665
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { disabled: !canContinue, style: {
3445
3666
  marginTop: "64px"
3446
- }, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_intl2.FormattedMessage, { id: "continue" }) })
3667
+ }, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react_intl2.FormattedMessage, { id: "continue" }) })
3447
3668
  ] });
3448
3669
  }
3449
3670
 
@@ -3457,7 +3678,7 @@ var NATIVE_TOKEN_ADDRESS = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
3457
3678
 
3458
3679
  // src/components/EmailModal/StepVerify.tsx
3459
3680
  var import_react_intl3 = require("react-intl");
3460
- var import_jsx_runtime69 = require("react/jsx-runtime");
3681
+ var import_jsx_runtime72 = require("react/jsx-runtime");
3461
3682
  function StepVerify(props) {
3462
3683
  const intl = (0, import_react_intl3.useIntl)();
3463
3684
  const { getLoginEmailCode, loginByEmail } = useUserInfo();
@@ -3534,17 +3755,17 @@ function StepVerify(props) {
3534
3755
  setSubmitting(false);
3535
3756
  }
3536
3757
  };
3537
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-email-verify-box", children: [
3538
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-email-verify-header", children: [
3539
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
3540
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
3541
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
3542
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react_intl3.FormattedMessage, { id: "sendEmailTips" }) })
3758
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "matchid-email-verify-box", children: [
3759
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "matchid-email-verify-header", children: [
3760
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
3761
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
3762
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
3763
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_intl3.FormattedMessage, { id: "sendEmailTips" }) })
3543
3764
  ] })
3544
3765
  ] }),
3545
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Field, { label: intl.formatMessage({
3766
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Field, { label: intl.formatMessage({
3546
3767
  id: "verificationCode"
3547
- }), error, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3768
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3548
3769
  Input,
3549
3770
  {
3550
3771
  placeholder: intl.formatMessage({
@@ -3554,7 +3775,7 @@ function StepVerify(props) {
3554
3775
  maxLength: codeLength,
3555
3776
  onChange: (e) => setCode(e.target.value),
3556
3777
  value: code,
3557
- after: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3778
+ after: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3558
3779
  Button,
3559
3780
  {
3560
3781
  highlight: true,
@@ -3573,13 +3794,13 @@ function StepVerify(props) {
3573
3794
  )
3574
3795
  }
3575
3796
  ) }),
3576
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react_intl3.FormattedMessage, { id: "continue" }) })
3797
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_intl3.FormattedMessage, { id: "continue" }) })
3577
3798
  ] });
3578
3799
  }
3579
3800
 
3580
3801
  // src/components/EmailModal/index.tsx
3581
3802
  var import_react_intl4 = require("react-intl");
3582
- var import_jsx_runtime70 = require("react/jsx-runtime");
3803
+ var import_jsx_runtime73 = require("react/jsx-runtime");
3583
3804
  function EmailModal({
3584
3805
  isOpen = false,
3585
3806
  width = 480,
@@ -3596,7 +3817,7 @@ function EmailModal({
3596
3817
  setEmailVal("");
3597
3818
  }
3598
3819
  }, [isOpen]);
3599
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3820
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3600
3821
  ModalWithHeader,
3601
3822
  {
3602
3823
  isOpen,
@@ -3606,10 +3827,10 @@ function EmailModal({
3606
3827
  id: "email"
3607
3828
  }),
3608
3829
  onBack: step == "verify" ? () => setStep("input") : onBack,
3609
- children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
3830
+ children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
3610
3831
  setEmailVal(email);
3611
3832
  setStep("verify");
3612
- } }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
3833
+ } }) : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
3613
3834
  }
3614
3835
  );
3615
3836
  }
@@ -3639,7 +3860,7 @@ function useAppConfig() {
3639
3860
  }
3640
3861
 
3641
3862
  // src/components/LoginBox/index.tsx
3642
- var import_jsx_runtime71 = require("react/jsx-runtime");
3863
+ var import_jsx_runtime74 = require("react/jsx-runtime");
3643
3864
  var RecommendItem = ({
3644
3865
  icon,
3645
3866
  name,
@@ -3648,20 +3869,20 @@ var RecommendItem = ({
3648
3869
  children,
3649
3870
  footer
3650
3871
  }) => {
3651
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-login-recommend-method", children: [
3652
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
3653
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
3654
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
3655
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
3872
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-login-recommend-method", children: [
3873
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
3874
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
3875
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
3876
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
3656
3877
  ] }),
3657
- footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3878
+ footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3658
3879
  ArrowDownIcon,
3659
3880
  {
3660
3881
  className: `matchid-login-recommend-method-arrow ${showChildren ? "matchid-login-recommend-method-arrow-active" : ""}`,
3661
3882
  size: 20,
3662
3883
  color: "var(--matchid-arrow-color)"
3663
3884
  }
3664
- ) : /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3885
+ ) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3665
3886
  ArrowRightIcon,
3666
3887
  {
3667
3888
  className: "matchid-login-recommend-method-arrow",
@@ -3670,7 +3891,7 @@ var RecommendItem = ({
3670
3891
  }
3671
3892
  )
3672
3893
  ] }),
3673
- children && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3894
+ children && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3674
3895
  "div",
3675
3896
  {
3676
3897
  className: `matchid-login-recommend-method-popover ${showChildren ? "matchid-login-recommend-method-popover-active" : ""}`,
@@ -3735,75 +3956,75 @@ function LoginBox({
3735
3956
  const isDownMd = useDownMd();
3736
3957
  const methodMap = {
3737
3958
  wallet: {
3738
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
3959
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
3739
3960
  name: intl.formatMessage({ id: "wallet" }),
3740
3961
  onClick: () => setShowWallet(!showWallet),
3741
3962
  type: "wallet"
3742
3963
  },
3743
3964
  email: {
3744
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
3965
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
3745
3966
  name: intl.formatMessage({ id: "email" }),
3746
3967
  onClick: () => {
3747
3968
  setEmailOpen(true);
3748
3969
  }
3749
3970
  },
3750
3971
  google: {
3751
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
3972
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
3752
3973
  name: "Google",
3753
3974
  onClick: () => login("google")
3754
3975
  },
3755
3976
  twitter: {
3756
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
3977
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
3757
3978
  name: "X",
3758
3979
  onClick: () => login("twitter")
3759
3980
  },
3760
3981
  telegram: {
3761
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
3982
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
3762
3983
  name: "Telegram",
3763
3984
  onClick: () => login("telegram")
3764
3985
  },
3765
3986
  github: {
3766
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
3987
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
3767
3988
  name: "Github",
3768
3989
  onClick: () => login("github")
3769
3990
  },
3770
3991
  discord: {
3771
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
3992
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
3772
3993
  name: "Discord",
3773
3994
  onClick: () => login("discord")
3774
3995
  },
3775
3996
  linkedin: {
3776
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
3997
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
3777
3998
  name: "LinkedIn",
3778
3999
  onClick: () => login("linkedin")
3779
4000
  },
3780
4001
  facebook: {
3781
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
4002
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
3782
4003
  name: "Facebook",
3783
4004
  onClick: () => login("facebook")
3784
4005
  },
3785
4006
  youtube: {
3786
- icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
4007
+ icon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
3787
4008
  name: "Youtube",
3788
4009
  onClick: () => login("youtube")
3789
4010
  }
3790
4011
  };
3791
4012
  const { walletMap } = useWalletConfig();
3792
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
3793
- (!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-login-box", children: [
3794
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-login-recommend-list", children: methodConfig.recommendMethods.map((m) => {
3795
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4013
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
4014
+ (!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-login-box", children: [
4015
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-login-recommend-list", children: methodConfig.recommendMethods.map((m) => {
4016
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3796
4017
  RecommendItem,
3797
4018
  {
3798
4019
  icon: methodMap[m]?.icon,
3799
4020
  name: methodMap[m]?.name,
3800
4021
  onClick: methodMap[m]?.onClick,
3801
4022
  showChildren: m == "wallet" && showWallet,
3802
- children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
3803
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
3804
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: methodConfig.walletMethods.map((n) => {
4023
+ children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
4024
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
4025
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: methodConfig.walletMethods.map((n) => {
3805
4026
  const m2 = walletMap[n];
3806
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
4027
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
3807
4028
  "div",
3808
4029
  {
3809
4030
  className: "matchid-login-recommend-wallet-item",
@@ -3811,16 +4032,16 @@ function LoginBox({
3811
4032
  login(m2.method);
3812
4033
  },
3813
4034
  children: [
3814
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
3815
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
3816
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4035
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
4036
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
4037
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3817
4038
  "div",
3818
4039
  {
3819
4040
  className: "matchid-login-recommend-wallet-item-hover-icon",
3820
4041
  children: m2.activeIcon
3821
4042
  }
3822
4043
  ),
3823
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4044
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3824
4045
  "span",
3825
4046
  {
3826
4047
  className: "matchid-login-recommend-wallet-item-name",
@@ -3828,7 +4049,7 @@ function LoginBox({
3828
4049
  }
3829
4050
  )
3830
4051
  ] }),
3831
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4052
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3832
4053
  ArrowRightIcon,
3833
4054
  {
3834
4055
  className: "matchid-login-recommend-wallet-item-arrow",
@@ -3846,10 +4067,10 @@ function LoginBox({
3846
4067
  m
3847
4068
  );
3848
4069
  }) }),
3849
- methodConfig.methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-login-other", children: [
3850
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react_intl5.FormattedMessage, { id: "otherLoginMethods" }) }),
3851
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-login-method-box", children: methodConfig.methods.map((m) => {
3852
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4070
+ methodConfig.methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-login-other", children: [
4071
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_intl5.FormattedMessage, { id: "otherLoginMethods" }) }),
4072
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-login-method-box", children: methodConfig.methods.map((m) => {
4073
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3853
4074
  "div",
3854
4075
  {
3855
4076
  className: "matchid-login-method-item",
@@ -3862,7 +4083,7 @@ function LoginBox({
3862
4083
  }) })
3863
4084
  ] })
3864
4085
  ] }),
3865
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4086
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3866
4087
  EmailModal,
3867
4088
  {
3868
4089
  isOpen: emailOpen,
@@ -3882,40 +4103,40 @@ var import_react19 = require("react");
3882
4103
 
3883
4104
  // src/components/LoginPanel/index.tsx
3884
4105
  var import_react_intl6 = require("react-intl");
3885
- var import_jsx_runtime72 = require("react/jsx-runtime");
4106
+ var import_jsx_runtime75 = require("react/jsx-runtime");
3886
4107
  function LoginPanel({
3887
4108
  header,
3888
4109
  onClose,
3889
4110
  ...props
3890
4111
  }) {
3891
4112
  const isDownMd = useDownMd();
3892
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "matchid-login-panel", children: [
3893
- header ? header : /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "matchid-login-panel-header", children: [
3894
- /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
3895
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_intl6.FormattedMessage, { id: "loginTitle" }) }),
3896
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_intl6.FormattedMessage, { id: "loginTips" }) })
4113
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "matchid-login-panel", children: [
4114
+ header ? header : /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "matchid-login-panel-header", children: [
4115
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
4116
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_react_intl6.FormattedMessage, { id: "loginTitle" }) }),
4117
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_react_intl6.FormattedMessage, { id: "loginTips" }) })
3897
4118
  ] }),
3898
- onClose && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
4119
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
3899
4120
  ] }),
3900
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-login-panel-divide" }),
3901
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(LoginBox, { ...props }) })
4121
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "matchid-login-panel-divide" }),
4122
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(LoginBox, { ...props }) })
3902
4123
  ] });
3903
4124
  }
3904
4125
 
3905
4126
  // src/components/LoginModal/index.tsx
3906
- var import_jsx_runtime73 = require("react/jsx-runtime");
4127
+ var import_jsx_runtime76 = require("react/jsx-runtime");
3907
4128
  function LoginModal({
3908
4129
  isOpen = false,
3909
4130
  width = 480,
3910
4131
  ...props
3911
4132
  }) {
3912
4133
  const { isLogin } = useUserInfo();
3913
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
4134
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3914
4135
  Modal,
3915
4136
  {
3916
4137
  isOpen: isOpen && !isLogin,
3917
4138
  width,
3918
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(LoginPanel, { ...props, inModal: true })
4139
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(LoginPanel, { ...props, inModal: true })
3919
4140
  }
3920
4141
  );
3921
4142
  }
@@ -3924,10 +4145,10 @@ function LoginModal({
3924
4145
  var import_react18 = require("react");
3925
4146
 
3926
4147
  // src/assets/icon/ProfileIcon.tsx
3927
- var import_jsx_runtime74 = require("react/jsx-runtime");
4148
+ var import_jsx_runtime77 = require("react/jsx-runtime");
3928
4149
  function ProfileIcon({ size = 24, color = "black", ...props }) {
3929
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3930
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4150
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4151
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
3931
4152
  "path",
3932
4153
  {
3933
4154
  fillRule: "evenodd",
@@ -3936,7 +4157,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
3936
4157
  fill: color
3937
4158
  }
3938
4159
  ),
3939
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4160
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
3940
4161
  "path",
3941
4162
  {
3942
4163
  fillRule: "evenodd",
@@ -3950,7 +4171,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
3950
4171
 
3951
4172
  // src/components/UserPopover/index.tsx
3952
4173
  var import_react_intl7 = require("react-intl");
3953
- var import_jsx_runtime75 = require("react/jsx-runtime");
4174
+ var import_jsx_runtime78 = require("react/jsx-runtime");
3954
4175
  function UserContent() {
3955
4176
  const { logout, address, username } = useUserInfo();
3956
4177
  const [logouting, setLogouting] = (0, import_react18.useState)(false);
@@ -3971,34 +4192,34 @@ function UserContent() {
3971
4192
  rightIcon,
3972
4193
  onClick
3973
4194
  }) => {
3974
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
3975
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
4195
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
4196
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
3976
4197
  icon,
3977
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "matchid-user-popover-item-text", children })
4198
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "matchid-user-popover-item-text", children })
3978
4199
  ] }),
3979
4200
  rightIcon
3980
4201
  ] });
3981
4202
  };
3982
4203
  const UserDivider = () => {
3983
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: `matchid-user-popover-divider` });
4204
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: `matchid-user-popover-divider` });
3984
4205
  };
3985
4206
  const [usernameOpen, setUsernameOpen] = (0, import_react18.useState)(false);
3986
4207
  const [copied, setCopied] = useCopyClipboard();
3987
4208
  const intl = (0, import_react_intl7.useIntl)();
3988
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "matchid-user-popover-content", children: [
3989
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "matchid-user-popover-list", children: [
3990
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(UserItem, { onClick: () => {
4209
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "matchid-user-popover-content", children: [
4210
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "matchid-user-popover-list", children: [
4211
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(UserItem, { onClick: () => {
3991
4212
  setCopied(address);
3992
- }, icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CheckIcon, { size: 20, color: "#0ecb81" }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CopyIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CheckIcon, { size: 20, color: "var(--icon-color)" }), children: truncateAddress(address) }),
3993
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(UserDivider, {}),
3994
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(UserItem, { onClick: () => {
4213
+ }, icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(CheckIcon, { size: 20, color: "#0ecb81" }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(CopyIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(CheckIcon, { size: 20, color: "var(--icon-color)" }), children: truncateAddress(address) }),
4214
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(UserDivider, {}),
4215
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(UserItem, { onClick: () => {
3995
4216
  setUsernameOpen(true);
3996
- }, icon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
4217
+ }, icon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
3997
4218
  id: "setUsername"
3998
4219
  }) })
3999
4220
  ] }),
4000
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_react_intl7.FormattedMessage, { id: "disconnect" }) }),
4001
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
4221
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_react_intl7.FormattedMessage, { id: "disconnect" }) }),
4222
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
4002
4223
  setUsernameOpen(false);
4003
4224
  }, onSuccess: () => {
4004
4225
  setUsernameOpen(false);
@@ -4009,12 +4230,12 @@ function UserPopover({
4009
4230
  children,
4010
4231
  ...props
4011
4232
  }) {
4012
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(UserContent, {}), children });
4233
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(UserContent, {}), children });
4013
4234
  }
4014
4235
 
4015
4236
  // src/components/LoginButton/index.tsx
4016
4237
  var import_react_intl8 = require("react-intl");
4017
- var import_jsx_runtime76 = require("react/jsx-runtime");
4238
+ var import_jsx_runtime79 = require("react/jsx-runtime");
4018
4239
  function LoginButton({
4019
4240
  loginRender,
4020
4241
  methods,
@@ -4030,8 +4251,8 @@ function LoginButton({
4030
4251
  const { isLogin, username } = useUserInfo();
4031
4252
  const [loginOpen, setLoginOpen] = (0, import_react19.useState)(false);
4032
4253
  if (!isLogin) {
4033
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_jsx_runtime76.Fragment, { children: [
4034
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4254
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_jsx_runtime79.Fragment, { children: [
4255
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
4035
4256
  LoginModal,
4036
4257
  {
4037
4258
  methods,
@@ -4041,15 +4262,15 @@ function LoginButton({
4041
4262
  onClose: () => setLoginOpen(false)
4042
4263
  }
4043
4264
  ),
4044
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
4045
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(UnLoginIcon_default, {}),
4046
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_react_intl8.FormattedMessage, { id: "login" }) })
4265
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
4266
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(UnLoginIcon_default, {}),
4267
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_react_intl8.FormattedMessage, { id: "login" }) })
4047
4268
  ] })
4048
4269
  ] });
4049
4270
  }
4050
- return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_jsx_runtime76.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
4051
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(LoginIcon_default, {}),
4052
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
4271
+ return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_jsx_runtime79.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
4272
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(LoginIcon_default, {}),
4273
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
4053
4274
  id: "user"
4054
4275
  }) })
4055
4276
  ] }) });
@@ -4058,15 +4279,15 @@ function LoginButton({
4058
4279
  // src/components/UsernameModal/index.tsx
4059
4280
  var import_react20 = require("react");
4060
4281
  var import_react_intl9 = require("react-intl");
4061
- var import_jsx_runtime77 = require("react/jsx-runtime");
4282
+ var import_jsx_runtime80 = require("react/jsx-runtime");
4062
4283
  var ValidItem = ({
4063
4284
  success = false,
4064
4285
  text
4065
4286
  }) => {
4066
4287
  const isDownMd = useDownMd();
4067
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
4068
- success ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(InfoLineIcon, { size: isDownMd ? 12 : 16 }),
4069
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { children: text })
4288
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
4289
+ success ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(InfoLineIcon, { size: isDownMd ? 12 : 16 }),
4290
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { children: text })
4070
4291
  ] });
4071
4292
  };
4072
4293
  function UsernameModal({
@@ -4114,12 +4335,12 @@ function UsernameModal({
4114
4335
  }
4115
4336
  };
4116
4337
  const intl = (0, import_react_intl9.useIntl)();
4117
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
4338
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
4118
4339
  id: username ? "editUsernameTitle" : "setUsernameTitle"
4119
- }), children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "matchid-username-box", children: [
4120
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Field, { label: intl.formatMessage({
4340
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "matchid-username-box", children: [
4341
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Field, { label: intl.formatMessage({
4121
4342
  id: "username"
4122
- }), error, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
4343
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
4123
4344
  Input,
4124
4345
  {
4125
4346
  placeholder: intl.formatMessage({
@@ -4132,8 +4353,8 @@ function UsernameModal({
4132
4353
  value: val
4133
4354
  }
4134
4355
  ) }),
4135
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "matchid-valid", children: [
4136
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
4356
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "matchid-valid", children: [
4357
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
4137
4358
  ValidItem,
4138
4359
  {
4139
4360
  success: isValid,
@@ -4142,16 +4363,16 @@ function UsernameModal({
4142
4363
  })
4143
4364
  }
4144
4365
  ),
4145
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
4366
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
4146
4367
  id: "usernameLengthError"
4147
4368
  }) })
4148
4369
  ] }),
4149
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
4370
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
4150
4371
  marginTop: isDownMd ? "36px" : "64px"
4151
- }, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react_intl9.FormattedMessage, { id: "confirm" }) }),
4152
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Button, { style: {
4372
+ }, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl9.FormattedMessage, { id: "confirm" }) }),
4373
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { style: {
4153
4374
  marginTop: isDownMd ? "12px" : "24px"
4154
- }, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react_intl9.FormattedMessage, { id: "cancel" }) })
4375
+ }, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl9.FormattedMessage, { id: "cancel" }) })
4155
4376
  ] }) });
4156
4377
  }
4157
4378
 
@@ -4170,7 +4391,7 @@ var walletConnectImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEA
4170
4391
  var walletSigningImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAABAsUlEQVR4Xu19CXQUx7X2vCUveS/vJdgx+yaJHQwI8G4wzWIbG2LLNrbxPgnY7CC0SyNpJBAIECAZAbLB8gAyKGGxiFnkGJwmz47xsU0mvyEWoGW0D0jgSeK88L84/7l/fS2V3GrNaDRCEiPpfud8p3qqu6tnpvt+favqVpXJxGAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYbYvCwkKlpKREvXDhglpQUKCKz+qlS5e0z8j3N5aXl6tXrlwJMf4OBoPRDD777LPg7Ozs0MOHD1NiYiLNnTuX7rzrDho5ejj179+f+vbt69ccNGgQBQQE0LBhw2jUqFE0ZswYun3sGBo3cQxNmDiexk+8XaTBIh1LwYLfbY/vcvsnTpyofUbqjXfeeSdNnjyZHnnkEXrxxRcpKSmJfvnLX9KuXbtCz5w5ozgcjmDjs8LoQlBVNcBqtZrFjbfjIYAR/fCHP6Qf/OAH9C//8i/0z//8zw2p3P6nf/qnhtRfKH4K00B534z5kvr/71//9V/p3/7t36hHjx6aeM6cOZPWr19Pubm56tmzZ81CCHqYGF0LH3/8sW3lypXqtGnTqHfv3tpDAOLBkakkHiQ8KJ4EwOTmAfMHGoWiO1HeO2O+O+r/M5wDMfiv//ovuuuuuyg6OloTAhOj68But6cvWLBAc51xs40PhHwojHmeiGP9jcbv2N3Y0v/A+L/p/z94gqhiwSPYsWNHuon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B6Y+QP/5Xz/UbqbRYJldj7jPraGnc9G1jHal6OhotPjbTYzOhUPvHlLnL/iZFg2IBh/jA+PpwTHul3MMGvObY2vaCHw9R3ZVGfObI85pzW9pzTnGPG9szTltRf39R5UQ3cqPPvqotlApRnhyi38nBKK6RH3N/M4776CbjyZMmEB9+/bVBnfIh83kRvkl5cPRUQbQXFuEJ/p6HX8WgNb8/rYiro0uXSwzh1GkmzIyKDs721xQUKB890QxOiUqKyuDEeCTkpISumvXLlq1ahU99NBDdP/99xNi/DFqcNiwYcxOSNw7EEFecNcR4+ErMcz7hRde0Gb22bNnz+nU1FRF/egjxfgcMboYzp8/H/zll1+qvz9/Xj3/1VfqVwYWFRWhu0e9cOGCto20sLBQo3gz8P4ust/Bk3kwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDN/x/wHjsXZ4EUApzgAAAABJRU5ErkJggg==";
4171
4392
 
4172
4393
  // src/components/WalletModalContent/index.tsx
4173
- var import_jsx_runtime78 = require("react/jsx-runtime");
4394
+ var import_jsx_runtime81 = require("react/jsx-runtime");
4174
4395
  function WalletModalContent({
4175
4396
  status,
4176
4397
  error,
@@ -4240,12 +4461,12 @@ function WalletModalContent({
4240
4461
  statusImage: walletConnectImage
4241
4462
  };
4242
4463
  }, [visible, connected, status, error, address]);
4243
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: `matchid-wallet-box`, children: [
4244
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: `matchid-wallet-content`, children: [
4245
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("img", { src: pageData.statusImage }),
4246
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: pageData.isError ? "matchid-error" : "", children: pageData.text })
4464
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-wallet-box`, children: [
4465
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-wallet-content`, children: [
4466
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("img", { src: pageData.statusImage }),
4467
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: pageData.isError ? "matchid-error" : "", children: pageData.text })
4247
4468
  ] }),
4248
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
4469
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
4249
4470
  Button,
4250
4471
  {
4251
4472
  block: true,
@@ -4321,12 +4542,12 @@ function WalletModalContentV2(props) {
4321
4542
  statusImage: walletConnectImage
4322
4543
  };
4323
4544
  }, [props, submitting]);
4324
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: `matchid-wallet-box`, children: [
4325
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: `matchid-wallet-content`, children: [
4326
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("img", { src: pageData.statusImage }),
4327
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: props.status == "error" ? "matchid-error" : "", children: pageData.text })
4545
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-wallet-box`, children: [
4546
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-wallet-content`, children: [
4547
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("img", { src: pageData.statusImage }),
4548
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: props.status == "error" ? "matchid-error" : "", children: pageData.text })
4328
4549
  ] }),
4329
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
4550
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
4330
4551
  Button,
4331
4552
  {
4332
4553
  block: true,
@@ -4667,7 +4888,7 @@ async function getEthersSigner(config, { chainId } = {}) {
4667
4888
  // src/components/EVMModal/index.tsx
4668
4889
  var import_siwe = require("siwe");
4669
4890
  var import_styles = require("@rainbow-me/rainbowkit/styles.css");
4670
- var import_jsx_runtime79 = require("react/jsx-runtime");
4891
+ var import_jsx_runtime82 = require("react/jsx-runtime");
4671
4892
  function WalletContent({
4672
4893
  onSuccess,
4673
4894
  type
@@ -4825,7 +5046,7 @@ function WalletContent({
4825
5046
  setNonce(void 0);
4826
5047
  setStatus("start");
4827
5048
  };
4828
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5049
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
4829
5050
  WalletModalContentV2,
4830
5051
  {
4831
5052
  status,
@@ -4860,14 +5081,14 @@ function EVMConnectModal({
4860
5081
  ...props
4861
5082
  }) {
4862
5083
  const intl = (0, import_react_intl10.useIntl)();
4863
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5084
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
4864
5085
  id: type == "bind" ? "bindWith" : "loginWith"
4865
5086
  }, {
4866
5087
  name: "EVM"
4867
- }), children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_wagmi2.WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_rainbowkit.RainbowKitProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(WalletContent, { onSuccess, type }) }) }) });
5088
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_wagmi2.WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_rainbowkit.RainbowKitProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(WalletContent, { onSuccess, type }) }) }) });
4868
5089
  }
4869
5090
  function EVMModal(props) {
4870
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(EVMConnectModal, { ...props });
5091
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(EVMConnectModal, { ...props });
4871
5092
  }
4872
5093
 
4873
5094
  // src/components/TRONModal/index.tsx
@@ -4982,7 +5203,7 @@ var useTRONWallet = () => {
4982
5203
  };
4983
5204
 
4984
5205
  // src/components/TRONModal/index.tsx
4985
- var import_jsx_runtime80 = require("react/jsx-runtime");
5206
+ var import_jsx_runtime83 = require("react/jsx-runtime");
4986
5207
  function TRONConnectModal({
4987
5208
  type = "login",
4988
5209
  onSuccess,
@@ -4992,9 +5213,9 @@ function TRONConnectModal({
4992
5213
  const intl = (0, import_react_intl11.useIntl)();
4993
5214
  const { wallets, installedWallets, chooseWallet, wallet, address, onConnect } = useTRONWallet();
4994
5215
  const iconMaps = {
4995
- tronlink: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
4996
- bitget: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
4997
- okx: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
5216
+ tronlink: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
5217
+ bitget: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
5218
+ okx: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
4998
5219
  };
4999
5220
  const { events, login } = useMatch();
5000
5221
  const [status, setStatus] = (0, import_react25.useState)("");
@@ -5086,11 +5307,11 @@ function TRONConnectModal({
5086
5307
  disconnect();
5087
5308
  }
5088
5309
  }, [props.isOpen]);
5089
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5310
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5090
5311
  id: type == "bind" ? "bindWith" : "loginWith"
5091
5312
  }, {
5092
5313
  name: "TRON"
5093
- }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5314
+ }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5094
5315
  WalletModalContent,
5095
5316
  {
5096
5317
  error,
@@ -5103,9 +5324,9 @@ function TRONConnectModal({
5103
5324
  setVisible: () => {
5104
5325
  }
5105
5326
  }
5106
- ) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "matchid-login-recommend-list", children: [
5327
+ ) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "matchid-login-recommend-list", children: [
5107
5328
  installedWallets.map((wallet2) => {
5108
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5329
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5109
5330
  RecommendItem,
5110
5331
  {
5111
5332
  icon: iconMaps[wallet2.walletKey],
@@ -5118,14 +5339,14 @@ function TRONConnectModal({
5118
5339
  );
5119
5340
  }),
5120
5341
  wallets.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
5121
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5342
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5122
5343
  RecommendItem,
5123
5344
  {
5124
5345
  icon: iconMaps[wallet2.walletKey],
5125
5346
  name: wallet2.name,
5126
5347
  onClick: () => {
5127
5348
  },
5128
- footer: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { size: "sm", onClick: () => {
5349
+ footer: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Button, { size: "sm", onClick: () => {
5129
5350
  window.open(wallet2.website);
5130
5351
  }, children: "Install" })
5131
5352
  },
@@ -5135,14 +5356,14 @@ function TRONConnectModal({
5135
5356
  ] }) }) });
5136
5357
  }
5137
5358
  function TRONModal(props) {
5138
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TRONConnectModal, { ...props, type: props.type });
5359
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(TRONConnectModal, { ...props, type: props.type });
5139
5360
  }
5140
5361
 
5141
5362
  // src/components/TONModal/index.tsx
5142
5363
  var import_react26 = __toESM(require("react"));
5143
5364
  var import_react_intl12 = require("react-intl");
5144
5365
  var import_ui_react = require("@tonconnect/ui-react");
5145
- var import_jsx_runtime81 = require("react/jsx-runtime");
5366
+ var import_jsx_runtime84 = require("react/jsx-runtime");
5146
5367
  function WalletContent2({
5147
5368
  onSuccess,
5148
5369
  type
@@ -5269,7 +5490,7 @@ function WalletContent2({
5269
5490
  }
5270
5491
  }
5271
5492
  }, [state]);
5272
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5493
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
5273
5494
  WalletModalContent,
5274
5495
  {
5275
5496
  connected,
@@ -5303,20 +5524,20 @@ function TONConnectModal({
5303
5524
  const intl = (0, import_react_intl12.useIntl)();
5304
5525
  const { endpoints, appid } = useLocalStore_default();
5305
5526
  const manifestUrl = `${endpoints.back}api/v1/wallet/ton?appid=${appid}&url=` + encodeURIComponent(window.location.origin);
5306
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5527
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5307
5528
  id: type == "bind" ? "bindWith" : "loginWith"
5308
5529
  }, {
5309
5530
  name: "TON"
5310
- }), children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5531
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
5311
5532
  import_ui_react.TonConnectUIProvider,
5312
5533
  {
5313
5534
  manifestUrl,
5314
- children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(WalletContent2, { onSuccess, type })
5535
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(WalletContent2, { onSuccess, type })
5315
5536
  }
5316
5537
  ) });
5317
5538
  }
5318
5539
  function TONModal(props) {
5319
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(TONConnectModal, { ...props });
5540
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(TONConnectModal, { ...props });
5320
5541
  }
5321
5542
 
5322
5543
  // src/components/BTCModal/index.tsx
@@ -5539,7 +5760,7 @@ var useBTCWallet = () => {
5539
5760
  };
5540
5761
 
5541
5762
  // src/components/BTCModal/index.tsx
5542
- var import_jsx_runtime82 = require("react/jsx-runtime");
5763
+ var import_jsx_runtime85 = require("react/jsx-runtime");
5543
5764
  function BTCConnectModal({
5544
5765
  type = "login",
5545
5766
  onSuccess,
@@ -5549,10 +5770,10 @@ function BTCConnectModal({
5549
5770
  const intl = (0, import_react_intl13.useIntl)();
5550
5771
  const { wallets, installedWallets, chooseWallet, wallet, address, onConnect } = useBTCWallet();
5551
5772
  const iconMaps = {
5552
- leather: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
5553
- unisat: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
5554
- xverse: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 }),
5555
- phantom: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PhantomIcon, { size: isDownMd ? 36 : 40 })
5773
+ leather: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
5774
+ unisat: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
5775
+ xverse: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 }),
5776
+ phantom: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(PhantomIcon, { size: isDownMd ? 36 : 40 })
5556
5777
  };
5557
5778
  const { events, login } = useMatch();
5558
5779
  const [status, setStatus] = (0, import_react28.useState)("");
@@ -5652,11 +5873,11 @@ function BTCConnectModal({
5652
5873
  statusRef.current = "";
5653
5874
  setError("");
5654
5875
  };
5655
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5876
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5656
5877
  id: type == "bind" ? "bindWith" : "loginWith"
5657
5878
  }, {
5658
5879
  name: "BTC"
5659
- }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5880
+ }), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
5660
5881
  WalletModalContent,
5661
5882
  {
5662
5883
  error,
@@ -5669,9 +5890,9 @@ function BTCConnectModal({
5669
5890
  setVisible: () => {
5670
5891
  }
5671
5892
  }
5672
- ) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "matchid-login-recommend-list", children: [
5893
+ ) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "matchid-login-recommend-list", children: [
5673
5894
  installedWallets.map((wallet2) => {
5674
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5895
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
5675
5896
  RecommendItem,
5676
5897
  {
5677
5898
  icon: iconMaps[wallet2.walletKey],
@@ -5684,14 +5905,14 @@ function BTCConnectModal({
5684
5905
  );
5685
5906
  }),
5686
5907
  wallets.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
5687
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5908
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
5688
5909
  RecommendItem,
5689
5910
  {
5690
5911
  icon: iconMaps[wallet2.walletKey],
5691
5912
  name: wallet2.name,
5692
5913
  onClick: () => {
5693
5914
  },
5694
- footer: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Button, { size: "sm", onClick: () => {
5915
+ footer: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { size: "sm", onClick: () => {
5695
5916
  window.open(wallet2.website);
5696
5917
  }, children: "Install" })
5697
5918
  },
@@ -5701,13 +5922,13 @@ function BTCConnectModal({
5701
5922
  ] }) }) });
5702
5923
  }
5703
5924
  function BTCModal(props) {
5704
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(BTCConnectModal, { ...props });
5925
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(BTCConnectModal, { ...props });
5705
5926
  }
5706
5927
 
5707
5928
  // src/components/WalletModal/index.tsx
5708
5929
  var import_react29 = require("react");
5709
5930
  var import_react_intl14 = require("react-intl");
5710
- var import_jsx_runtime83 = require("react/jsx-runtime");
5931
+ var import_jsx_runtime86 = require("react/jsx-runtime");
5711
5932
  function WalletConnectModal({
5712
5933
  type,
5713
5934
  methods: _methods,
@@ -5725,13 +5946,13 @@ function WalletConnectModal({
5725
5946
  const platform = config.platform.map((p) => p.toLowerCase());
5726
5947
  return WALLET_METHODS.filter((m) => platform.includes(m));
5727
5948
  }, [config.platform, _methods]);
5728
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5949
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
5729
5950
  id: type == "bind" ? "bindWith" : "loginWith"
5730
5951
  }, {
5731
5952
  name: ""
5732
- }), children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "matchid-login-recommend-list", children: methods.map((method, index) => {
5953
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "matchid-login-recommend-list", children: methods.map((method, index) => {
5733
5954
  const m = walletMap[method];
5734
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5955
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
5735
5956
  RecommendItem,
5736
5957
  {
5737
5958
  icon: m?.icon,
@@ -5745,12 +5966,12 @@ function WalletConnectModal({
5745
5966
  }) }) }) });
5746
5967
  }
5747
5968
  function WalletModal(props) {
5748
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(WalletConnectModal, { ...props });
5969
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(WalletConnectModal, { ...props });
5749
5970
  }
5750
5971
 
5751
5972
  // src/components/AlphaAvatar/index.tsx
5752
5973
  var import_react30 = require("react");
5753
- var import_jsx_runtime84 = require("react/jsx-runtime");
5974
+ var import_jsx_runtime87 = require("react/jsx-runtime");
5754
5975
  function AlphaAvatar2({ name, size = 40, className = "" }) {
5755
5976
  const [avatar, setAvatar] = (0, import_react30.useState)(void 0);
5756
5977
  (0, import_react30.useEffect)(() => {
@@ -5759,7 +5980,7 @@ function AlphaAvatar2({ name, size = 40, className = "" }) {
5759
5980
  setAvatar(char);
5760
5981
  }
5761
5982
  }, [name]);
5762
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
5983
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
5763
5984
  width: size,
5764
5985
  height: size,
5765
5986
  fontSize: Math.ceil(size / 2)
@@ -5767,7 +5988,7 @@ function AlphaAvatar2({ name, size = 40, className = "" }) {
5767
5988
  }
5768
5989
 
5769
5990
  // src/components/WalletAsset/index.tsx
5770
- var import_jsx_runtime85 = require("react/jsx-runtime");
5991
+ var import_jsx_runtime88 = require("react/jsx-runtime");
5771
5992
  function WalletAsset({
5772
5993
  onAssetClick,
5773
5994
  matchWalletAssetsOptions
@@ -5777,7 +5998,7 @@ function WalletAsset({
5777
5998
  list: walletAssets.mergedAssets
5778
5999
  });
5779
6000
  const { list } = useMatchChain();
5780
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "matchid-wallet-asset-list", children: matchWalletAssetList.list.map((n, index) => {
6001
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "matchid-wallet-asset-list", children: matchWalletAssetList.list.map((n, index) => {
5781
6002
  const clickFunc = onAssetClick && onAssetClick(n);
5782
6003
  const chain = list?.find((m) => m.id.toString() === n.chain_id);
5783
6004
  const getFooterColor = () => {
@@ -5792,11 +6013,11 @@ function WalletAsset({
5792
6013
  }
5793
6014
  return "";
5794
6015
  };
5795
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-wallet-asset-item`, onClick: clickFunc, style: {
6016
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-wallet-asset-item`, onClick: clickFunc, style: {
5796
6017
  cursor: clickFunc ? "pointer" : "default"
5797
6018
  }, children: [
5798
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "matchid-wallet-asset-logo", title: n.symbol || n.name || "", children: [
5799
- n.icon ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-wallet-asset-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6019
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "matchid-wallet-asset-logo", title: n.symbol || n.name || "", children: [
6020
+ n.icon ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-wallet-asset-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5800
6021
  AlphaAvatar2,
5801
6022
  {
5802
6023
  className: `matchid-wallet-asset-icon`,
@@ -5804,12 +6025,12 @@ function WalletAsset({
5804
6025
  name: n.symbol || n.name || ""
5805
6026
  }
5806
6027
  ),
5807
- chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("img", { src: chain.iconUrl, alt: chain.name, className: `matchid-wallet-asset-chain` })
6028
+ chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("img", { src: chain.iconUrl, alt: chain.name, className: `matchid-wallet-asset-chain` })
5808
6029
  ] }),
5809
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-wallet-asset-info`, children: [
5810
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-wallet-asset-name`, children: n.symbol }),
5811
- "price" in n && /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-wallet-asset-content`, children: [
5812
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "matchid-wallet-asset-price", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6030
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-wallet-asset-info`, children: [
6031
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-wallet-asset-name`, children: n.symbol }),
6032
+ "price" in n && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-wallet-asset-content`, children: [
6033
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "matchid-wallet-asset-price", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5813
6034
  NumberFormatter,
5814
6035
  {
5815
6036
  value: n.price,
@@ -5817,7 +6038,7 @@ function WalletAsset({
5817
6038
  tFixNum: 2
5818
6039
  }
5819
6040
  ) }),
5820
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "matchid-wallet-asset-value", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6041
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "matchid-wallet-asset-value", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5821
6042
  NumberFormatter,
5822
6043
  {
5823
6044
  value: n.value,
@@ -5826,15 +6047,15 @@ function WalletAsset({
5826
6047
  }
5827
6048
  ) })
5828
6049
  ] }),
5829
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-wallet-asset-footer`, children: [
5830
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-wallet-asset-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6050
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-wallet-asset-footer`, children: [
6051
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-wallet-asset-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5831
6052
  NumberFormatter,
5832
6053
  {
5833
6054
  value: n.balance,
5834
6055
  tFixNum: 3
5835
6056
  }
5836
6057
  ) }),
5837
- "price_change_24h" in n && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-wallet-asset-change ${getFooterColor()}`, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6058
+ "price_change_24h" in n && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-wallet-asset-change ${getFooterColor()}`, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5838
6059
  NumberFormatter,
5839
6060
  {
5840
6061
  prefix: `${(n?.price_change_24h || 0) < 0 ? "-" : "+"} `,
@@ -5853,7 +6074,7 @@ function WalletAsset({
5853
6074
  var import_react31 = require("react");
5854
6075
  var import_viem10 = require("viem");
5855
6076
  var import_react_intl15 = require("react-intl");
5856
- var import_jsx_runtime86 = require("react/jsx-runtime");
6077
+ var import_jsx_runtime89 = require("react/jsx-runtime");
5857
6078
  function Input2({
5858
6079
  onChange,
5859
6080
  placeholder,
@@ -5863,8 +6084,8 @@ function Input2({
5863
6084
  error,
5864
6085
  size = "df"
5865
6086
  }) {
5866
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
5867
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6087
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
6088
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
5868
6089
  "input",
5869
6090
  {
5870
6091
  placeholder,
@@ -5875,7 +6096,7 @@ function Input2({
5875
6096
  className: `matchid-token-input ${error ? "matchid-token-input-error" : ""}`
5876
6097
  }
5877
6098
  ),
5878
- error && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "matchid-token-input-error-text", children: error })
6099
+ error && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "matchid-token-input-error-text", children: error })
5879
6100
  ] });
5880
6101
  }
5881
6102
  function TokenSend({
@@ -6003,24 +6224,24 @@ function TokenSend({
6003
6224
  window.removeEventListener("message", receiveMessage);
6004
6225
  };
6005
6226
  }, []);
6006
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react_intl15.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-token-send-box`, children: [
6007
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "matchid-token-send-content", children: [
6008
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-token-amount-content`, children: [
6009
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-token-amount-header`, children: [
6010
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react_intl15.FormattedMessage, { id: "amount" }) }),
6011
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
6012
- token.icon ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6227
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-send-box`, children: [
6228
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "matchid-token-send-content", children: [
6229
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-content`, children: [
6230
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-header`, children: [
6231
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "amount" }) }),
6232
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
6233
+ token.icon ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6013
6234
  "img",
6014
6235
  {
6015
6236
  src: token?.icon,
6016
6237
  alt: token?.symbol,
6017
6238
  className: `matchid-token-amount-chain-icon`
6018
6239
  }
6019
- ) : /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(AlphaAvatar, { name: token.symbol || token.name || "", size: 16 }),
6020
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { children: token?.symbol })
6240
+ ) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(AlphaAvatar, { name: token.symbol || token.name || "", size: 16 }),
6241
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { children: token?.symbol })
6021
6242
  ] })
6022
6243
  ] }),
6023
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6244
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6024
6245
  Input2,
6025
6246
  {
6026
6247
  type: "text",
@@ -6033,18 +6254,18 @@ function TokenSend({
6033
6254
  error: error.amount || txError
6034
6255
  }
6035
6256
  ),
6036
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
6037
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-token-amount-title`, children: [
6038
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react_intl15.FormattedMessage, { id: "balance" }),
6257
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
6258
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-title`, children: [
6259
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "balance" }),
6039
6260
  ":"
6040
6261
  ] }),
6041
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
6262
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
6042
6263
  ] }),
6043
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
6264
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
6044
6265
  ] }),
6045
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: `matchid-token-address-content`, children: [
6046
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react_intl15.FormattedMessage, { id: "receiveTitle" }) }) }),
6047
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6266
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-address-content`, children: [
6267
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "receiveTitle" }) }) }),
6268
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6048
6269
  Input2,
6049
6270
  {
6050
6271
  type: "text",
@@ -6060,7 +6281,7 @@ function TokenSend({
6060
6281
  )
6061
6282
  ] })
6062
6283
  ] }),
6063
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6284
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6064
6285
  Button,
6065
6286
  {
6066
6287
  size: "lg",
@@ -6069,7 +6290,7 @@ function TokenSend({
6069
6290
  disabled: !canSend || !!txError,
6070
6291
  onClick: onNext,
6071
6292
  loading: loading || sending,
6072
- children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react_intl15.FormattedMessage, { id: "next" })
6293
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "next" })
6073
6294
  }
6074
6295
  )
6075
6296
  ] }) });
@@ -6077,7 +6298,7 @@ function TokenSend({
6077
6298
 
6078
6299
  // src/components/TokenDetail/index.tsx
6079
6300
  var import_react_intl16 = require("react-intl");
6080
- var import_jsx_runtime87 = require("react/jsx-runtime");
6301
+ var import_jsx_runtime90 = require("react/jsx-runtime");
6081
6302
  function TokenDetail({
6082
6303
  onClose,
6083
6304
  token
@@ -6087,41 +6308,41 @@ function TokenDetail({
6087
6308
  const chain = chainList?.find((m) => m.id.toString() === token.chain_id);
6088
6309
  const onSend = () => {
6089
6310
  modal.show((props) => {
6090
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(TokenSend, { onClose: () => {
6311
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(TokenSend, { onClose: () => {
6091
6312
  props.close();
6092
6313
  onClose();
6093
6314
  }, onBack: props.close, zIndex: props.zIndex, token });
6094
6315
  });
6095
6316
  };
6096
6317
  const intl = (0, import_react_intl16.useIntl)();
6097
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ModalDrawer, { isOpen: true, title: intl.formatMessage({
6318
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ModalDrawer, { isOpen: true, title: intl.formatMessage({
6098
6319
  id: "tokenDetails"
6099
- }), onClose, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: `matchid-token-detail`, children: [
6100
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: `matchid-token-main`, children: [
6101
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: `matchid-token-info`, children: [
6102
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: `matchid-token-logo`, children: [
6103
- token.icon ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("img", { src: token.icon, alt: token.symbol, className: `matchid-token-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(AlphaAvatar, { className: `matchid-token-icon`, size: 48, name: token.symbol || token.name || "" }),
6104
- chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("img", { src: chain.iconUrl, alt: chain.name, className: `matchid-token-chain` })
6320
+ }), onClose, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-token-detail`, children: [
6321
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-token-main`, children: [
6322
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-token-info`, children: [
6323
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-token-logo`, children: [
6324
+ token.icon ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("img", { src: token.icon, alt: token.symbol, className: `matchid-token-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(AlphaAvatar, { className: `matchid-token-icon`, size: 48, name: token.symbol || token.name || "" }),
6325
+ chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("img", { src: chain.iconUrl, alt: chain.name, className: `matchid-token-chain` })
6105
6326
  ] }),
6106
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: `matchid-token-name`, children: [
6107
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10 }),
6327
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-token-name`, children: [
6328
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10 }),
6108
6329
  " ",
6109
6330
  token.symbol
6110
6331
  ] })
6111
6332
  ] }),
6112
- token.address.toLowerCase() != NATIVE_TOKEN_ADDRESS && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: `matchid-token-contract`, children: [
6113
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "matchid-token-contract-title", children: "Contract address" }),
6114
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "matchid-token-contract-address", children: token.address })
6333
+ token.address.toLowerCase() != NATIVE_TOKEN_ADDRESS && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-token-contract`, children: [
6334
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "matchid-token-contract-title", children: "Contract address" }),
6335
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "matchid-token-contract-address", children: token.address })
6115
6336
  ] })
6116
6337
  ] }),
6117
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { size: "lg", block: true, highlight: true, onClick: onSend, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_intl16.FormattedMessage, { id: "send" }) })
6338
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Button, { size: "lg", block: true, highlight: true, onClick: onSend, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_intl16.FormattedMessage, { id: "send" }) })
6118
6339
  ] }) });
6119
6340
  }
6120
6341
 
6121
6342
  // src/components/TokenSendList/index.tsx
6122
6343
  var import_react32 = require("react");
6123
6344
  var import_react_intl17 = require("react-intl");
6124
- var import_jsx_runtime88 = require("react/jsx-runtime");
6345
+ var import_jsx_runtime91 = require("react/jsx-runtime");
6125
6346
  function TokenSendList({ close }) {
6126
6347
  const isDownMd = useDownMd();
6127
6348
  const walletAssets = useMatchWalletAssets();
@@ -6133,16 +6354,16 @@ function TokenSendList({ close }) {
6133
6354
  const modal = useModal();
6134
6355
  const onNext = () => {
6135
6356
  checked && modal.show((props) => {
6136
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(TokenSend, { onClose: () => {
6357
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(TokenSend, { onClose: () => {
6137
6358
  props.close();
6138
6359
  close();
6139
6360
  }, onBack: props.close, zIndex: props.zIndex, token: checked });
6140
6361
  });
6141
6362
  };
6142
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "matchid-token-send-list-box", children: [
6143
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
6363
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "matchid-token-send-list-box", children: [
6364
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
6144
6365
  const chain = list?.find((m) => m.id.toString() === n.chain_id);
6145
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6366
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6146
6367
  "div",
6147
6368
  {
6148
6369
  className: `matchid-token-send-item ${checked?.address == n.address ? "matchid-token-send-chekced" : ""}`,
@@ -6150,10 +6371,10 @@ function TokenSendList({ close }) {
6150
6371
  setChecked(n);
6151
6372
  },
6152
6373
  children: [
6153
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
6154
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "matchid-token-send-content", children: [
6155
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "matchid-token-send-logo", children: [
6156
- n.icon ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6374
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
6375
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "matchid-token-send-content", children: [
6376
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "matchid-token-send-logo", children: [
6377
+ n.icon ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6157
6378
  AlphaAvatar2,
6158
6379
  {
6159
6380
  className: `matchid-token-send-icon`,
@@ -6161,7 +6382,7 @@ function TokenSendList({ close }) {
6161
6382
  name: n.symbol || n.name || ""
6162
6383
  }
6163
6384
  ),
6164
- chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6385
+ chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6165
6386
  "img",
6166
6387
  {
6167
6388
  src: chain.iconUrl,
@@ -6170,9 +6391,9 @@ function TokenSendList({ close }) {
6170
6391
  }
6171
6392
  )
6172
6393
  ] }),
6173
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-token-send-info`, children: [
6174
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
6175
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
6394
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-send-info`, children: [
6395
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
6396
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
6176
6397
  ] })
6177
6398
  ] })
6178
6399
  ]
@@ -6180,7 +6401,7 @@ function TokenSendList({ close }) {
6180
6401
  index
6181
6402
  );
6182
6403
  }) }),
6183
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_intl17.FormattedMessage, { id: "next" }) })
6404
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl17.FormattedMessage, { id: "next" }) })
6184
6405
  ] });
6185
6406
  }
6186
6407
 
@@ -6248,7 +6469,7 @@ var useContractStore_default = useContractStore;
6248
6469
 
6249
6470
  // src/components/TransactionList/index.tsx
6250
6471
  var import_react_intl18 = require("react-intl");
6251
- var import_jsx_runtime89 = require("react/jsx-runtime");
6472
+ var import_jsx_runtime92 = require("react/jsx-runtime");
6252
6473
  var Item = ({ data }) => {
6253
6474
  const { address } = useWallet();
6254
6475
  const isOut = data.from.toLowerCase() == address.toLowerCase();
@@ -6335,18 +6556,18 @@ var Item = ({ data }) => {
6335
6556
  }
6336
6557
  return chain?.nativeCurrency.symbol || chain?.nativeCurrency.name;
6337
6558
  }, [transferType, chain, contracts, chainId, data.to]);
6338
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
6559
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
6339
6560
  "a",
6340
6561
  {
6341
6562
  href: explorerLink(`tx/${data.hash}`),
6342
6563
  target: "_blank",
6343
6564
  className: `matchid-transaction-item`,
6344
6565
  children: [
6345
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-transacton-item-container`, children: [
6346
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "matchid-transaction-item-icon", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ArrowSendIcon, { className: !isOut ? "rotate-180" : "" }) }),
6347
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-transaction-item-details`, children: [
6348
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-transaction-item-address`, children: formatAddress(to, 6, 4) }),
6349
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6566
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-transacton-item-container`, children: [
6567
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "matchid-transaction-item-icon", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ArrowSendIcon, { className: !isOut ? "rotate-180" : "" }) }),
6568
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-transaction-item-details`, children: [
6569
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: `matchid-transaction-item-address`, children: formatAddress(to, 6, 4) }),
6570
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6350
6571
  "div",
6351
6572
  {
6352
6573
  className: `matchid-transaction-item-timestamp`,
@@ -6355,11 +6576,11 @@ var Item = ({ data }) => {
6355
6576
  )
6356
6577
  ] })
6357
6578
  ] }),
6358
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-transaction-item-amount ${"matchid-transaction-item-" + status}`, children: [
6359
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(NumberFormatter, { value: amount, tFixNum: 6, prefix: isOut ? "-" : "+", suffix: " " + symbol }),
6360
- status == "loading" && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(LoadingIcon_default, { color: "#000000", size: 16, rotate: true }),
6361
- status == "success" && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(CheckRoundIcon, { size: 16 }),
6362
- status == "error" && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(InfoRoundIcon, { size: 16 })
6579
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-transaction-item-amount ${"matchid-transaction-item-" + status}`, children: [
6580
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(NumberFormatter, { value: amount, tFixNum: 6, prefix: isOut ? "-" : "+", suffix: " " + symbol }),
6581
+ status == "loading" && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(LoadingIcon_default, { color: "#000000", size: 16, rotate: true }),
6582
+ status == "success" && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(CheckRoundIcon, { size: 16 }),
6583
+ status == "error" && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(InfoRoundIcon, { size: 16 })
6363
6584
  ] })
6364
6585
  ]
6365
6586
  }
@@ -6369,45 +6590,347 @@ function TransactionList({
6369
6590
  scrollableTarget
6370
6591
  }) {
6371
6592
  const { fetchMoreData, hasMore, items } = useMatchWalletRecords();
6372
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6593
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6373
6594
  import_react_infinite_scroll_component.default,
6374
6595
  {
6375
6596
  scrollableTarget,
6376
6597
  dataLength: items.length,
6377
6598
  next: fetchMoreData,
6378
6599
  hasMore,
6379
- loader: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "matchid-list-nomore", children: [
6380
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(LoadingIcon_default, { rotate: true, size: 16, color: "black" }),
6600
+ loader: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "matchid-list-nomore", children: [
6601
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(LoadingIcon_default, { rotate: true, size: 16, color: "black" }),
6381
6602
  "Loading..."
6382
6603
  ] }),
6383
- endMessage: items.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl18.FormattedMessage, { id: "noMoreRecords" }) }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl18.FormattedMessage, { id: "noRecords" }) }),
6384
- children: items.length == 0 && !hasMore ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "mt-[150px]" }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-transaction-list`, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Item, { data: item }, index)) })
6604
+ endMessage: items.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl18.FormattedMessage, { id: "noMoreRecords" }) }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl18.FormattedMessage, { id: "noRecords" }) }),
6605
+ children: items.length == 0 && !hasMore ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "mt-[150px]" }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: `matchid-transaction-list`, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Item, { data: item }, index)) })
6606
+ }
6607
+ );
6608
+ }
6609
+
6610
+ // src/hooks/api/index.ts
6611
+ var api_exports = {};
6612
+ __export(api_exports, {
6613
+ bind: () => bind_exports,
6614
+ contact: () => contact_exports,
6615
+ isSuccess: () => isSuccess,
6616
+ poh: () => poh_exports,
6617
+ user: () => user_exports,
6618
+ wallet: () => wallet_exports
6619
+ });
6620
+
6621
+ // src/hooks/api/bind.ts
6622
+ var bind_exports = {};
6623
+ __export(bind_exports, {
6624
+ bindCexApi: () => bindCexApi,
6625
+ unBindApi: () => unBindApi,
6626
+ unBindWalletApi: () => unBindWalletApi,
6627
+ useBindInfo: () => useBindInfo,
6628
+ useBindList: () => useBindList
6629
+ });
6630
+ var import_react_query4 = require("@tanstack/react-query");
6631
+ function useBindList(options) {
6632
+ const { isLogin } = useUserInfo();
6633
+ return (0, import_react_query4.useQuery)({
6634
+ queryKey: ["bindList"],
6635
+ enabled: isLogin,
6636
+ queryFn: async () => {
6637
+ let res = await getBindListApi();
6638
+ return res.data;
6639
+ },
6640
+ ...options
6641
+ });
6642
+ }
6643
+ function useBindInfo(options) {
6644
+ const { isLogin } = useUserInfo();
6645
+ return (0, import_react_query4.useQuery)({
6646
+ queryKey: ["bindInfo"],
6647
+ enabled: isLogin,
6648
+ queryFn: async () => {
6649
+ let res = await getBindInfoApi();
6650
+ return res.data;
6651
+ },
6652
+ ...options
6653
+ });
6654
+ }
6655
+
6656
+ // src/hooks/api/poh.ts
6657
+ var poh_exports = {};
6658
+ __export(poh_exports, {
6659
+ usePohList: () => usePohList,
6660
+ verifyPohApi: () => verifyPohApi
6661
+ });
6662
+ var import_react_query5 = require("@tanstack/react-query");
6663
+ function usePohList(options) {
6664
+ const { isLogin } = useUserInfo();
6665
+ return (0, import_react_query5.useQuery)({
6666
+ queryKey: ["pohList"],
6667
+ enabled: isLogin,
6668
+ queryFn: async () => {
6669
+ let res = await getPohListApi();
6670
+ return res.data;
6671
+ },
6672
+ ...options
6673
+ });
6674
+ }
6675
+
6676
+ // src/hooks/api/user.ts
6677
+ var user_exports = {};
6678
+ __export(user_exports, {
6679
+ chooseIdentityApi: () => chooseIdentityApi,
6680
+ mintPassportNftApi: () => mintPassportNftApi
6681
+ });
6682
+
6683
+ // src/hooks/api/contact.ts
6684
+ var contact_exports = {};
6685
+ __export(contact_exports, {
6686
+ acceptContact: () => acceptContact,
6687
+ addContact: () => addContact,
6688
+ delContact: () => delContact,
6689
+ useContactInfo: () => useContactInfo,
6690
+ useContactList: () => useContactList,
6691
+ useContactSearch: () => useContactSearch
6692
+ });
6693
+ var import_react_query6 = require("@tanstack/react-query");
6694
+ var import_last = __toESM(require("lodash/last"));
6695
+ var import_react34 = require("react");
6696
+ function useContactList(page_size = 10, type = "Friend") {
6697
+ const { token } = useLocalStore_default();
6698
+ const limitIdRef = (0, import_react34.useRef)(0);
6699
+ const queryClient2 = (0, import_react_query6.useQueryClient)();
6700
+ const contactQuery = (0, import_react_query6.useInfiniteQuery)({
6701
+ queryKey: ["matchid-contacts-list", type, token],
6702
+ initialPageParam: 1,
6703
+ queryFn: async (args) => {
6704
+ console.log(args);
6705
+ if (args.pageParam <= 1) {
6706
+ limitIdRef.current = 0;
6707
+ }
6708
+ return (await getContactListApi({
6709
+ limit: page_size,
6710
+ limit_id: limitIdRef.current,
6711
+ type
6712
+ })).data;
6713
+ },
6714
+ getNextPageParam: (lastPage, allPages) => {
6715
+ if (!lastPage) return void 0;
6716
+ const lastPageNum = Math.ceil(lastPage.meta.total / page_size);
6717
+ return allPages.length >= lastPageNum ? void 0 : allPages.length + 1;
6718
+ }
6719
+ });
6720
+ (0, import_react34.useEffect)(() => {
6721
+ if (!contactQuery.data?.pages || contactQuery.data?.pages.length == 0) {
6722
+ limitIdRef.current = 0;
6723
+ } else {
6724
+ const lastPage = (0, import_last.default)(contactQuery.data?.pages);
6725
+ const items = lastPage?.items;
6726
+ if (!items || items.length == 0) {
6727
+ limitIdRef.current = 0;
6728
+ return;
6729
+ }
6730
+ const lastItem = (0, import_last.default)(items);
6731
+ limitIdRef.current = lastItem?.limit_id || 0;
6732
+ }
6733
+ }, [contactQuery.data?.pages]);
6734
+ return {
6735
+ data: (contactQuery.data?.pages ?? []).reduce(
6736
+ (a, b) => {
6737
+ return a.concat(b?.items ?? []);
6738
+ },
6739
+ []
6740
+ ),
6741
+ totalCount: contactQuery.hasNextPage ? ((0, import_last.default)(contactQuery.data?.pages ?? [])?.meta.total ?? 0) + 1 : (0, import_last.default)(contactQuery.data?.pages ?? [])?.meta.total ?? 0,
6742
+ loading: contactQuery.isLoading,
6743
+ loadingNextPage: contactQuery.isFetchingNextPage,
6744
+ hasNextPage: contactQuery.hasNextPage,
6745
+ onLoadMore: contactQuery.fetchNextPage
6746
+ };
6747
+ }
6748
+ function useContactSearch(keyword, options) {
6749
+ return (0, import_react_query6.useQuery)({
6750
+ queryKey: ["matchid-contacts-search", keyword],
6751
+ enabled: !!keyword,
6752
+ queryFn: async () => {
6753
+ return (await searchContactsApi({
6754
+ address: keyword
6755
+ })).data;
6756
+ },
6757
+ ...options
6758
+ });
6759
+ }
6760
+ function useContactInfo(options) {
6761
+ const { token } = useUserInfo();
6762
+ return (0, import_react_query6.useQuery)({
6763
+ queryKey: ["matchid-contacts-info", token],
6764
+ enabled: !!token,
6765
+ queryFn: async () => {
6766
+ return (await getContractsInfoApi()).data;
6767
+ },
6768
+ ...options
6769
+ });
6770
+ }
6771
+ var addContact = async (friend_id) => {
6772
+ const res = await addContactsApi({
6773
+ friend_id: typeof friend_id === "string" ? friend_id : friend_id.did
6774
+ });
6775
+ if (isSuccess(res)) {
6776
+ return true;
6777
+ }
6778
+ throw new Error(res.message);
6779
+ };
6780
+ var acceptContact = async (friend_id) => {
6781
+ const res = await acceptContactsApi({
6782
+ friend_id: typeof friend_id === "string" ? friend_id : friend_id.did
6783
+ });
6784
+ if (isSuccess(res)) {
6785
+ return true;
6786
+ }
6787
+ throw new Error(res.message);
6788
+ };
6789
+ var delContact = async (friend_id) => {
6790
+ const res = await delContactsApi({
6791
+ friend_id: typeof friend_id === "string" ? friend_id : friend_id.did
6792
+ });
6793
+ if (isSuccess(res)) {
6794
+ return true;
6795
+ }
6796
+ throw new Error(res.message);
6797
+ };
6798
+
6799
+ // src/components/ContactList/index.tsx
6800
+ var import_react_virtuoso = require("react-virtuoso");
6801
+ var import_react35 = require("react");
6802
+ var import_react_intl19 = require("react-intl");
6803
+ var import_jsx_runtime93 = require("react/jsx-runtime");
6804
+ function ContactCard({
6805
+ loading = false,
6806
+ data,
6807
+ action
6808
+ }) {
6809
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-flex matchid-contact-item", children: [
6810
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-contact-item-content", children: [
6811
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 48, height: 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(AlphaAvatar, { size: 48, name: data?.name || "MatchID" }) }),
6812
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-contact-item-info", children: [
6813
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 80, height: 20, loading, children: data?.name || "MatchID User" }) }),
6814
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 80, height: 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
6815
+ ] })
6816
+ ] }),
6817
+ action && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-contact-item-action", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 20, height: 20, loading, children: action() }) })
6818
+ ] });
6819
+ }
6820
+ function RequestAction({ data, onSuccess }) {
6821
+ const [loading, setLoading] = (0, import_react35.useState)(false);
6822
+ const toast = useToast();
6823
+ const intl = (0, import_react_intl19.useIntl)();
6824
+ const onApprove = async () => {
6825
+ setLoading(true);
6826
+ try {
6827
+ await contact_exports.acceptContact(data);
6828
+ toast.success(intl.formatMessage({
6829
+ id: "approveSuccess"
6830
+ }));
6831
+ onSuccess && onSuccess(data);
6832
+ } catch (e) {
6833
+ console.error(e);
6834
+ toast.error(e.message);
6835
+ } finally {
6836
+ setLoading(false);
6837
+ }
6838
+ };
6839
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { size: "sm", onClick: onApprove, loading, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl19.FormattedMessage, { id: "Approve" }) });
6840
+ }
6841
+ function FriendsAction({
6842
+ data,
6843
+ onSuccess
6844
+ }) {
6845
+ const [loading, setLoading] = (0, import_react35.useState)(false);
6846
+ const toast = useToast();
6847
+ const intl = (0, import_react_intl19.useIntl)();
6848
+ const onRemove = async () => {
6849
+ setLoading(true);
6850
+ try {
6851
+ await contact_exports.delContact(data);
6852
+ toast.success(intl.formatMessage({
6853
+ id: "removeSuccess"
6854
+ }));
6855
+ onSuccess && onSuccess(data);
6856
+ } catch (e) {
6857
+ console.error(e);
6858
+ toast.error(e.message);
6859
+ } finally {
6860
+ setLoading(false);
6861
+ }
6862
+ };
6863
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Popover, { content: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-remove-box", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { size: "sm", loading, onClick: onRemove, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl19.FormattedMessage, { id: "Remove" }) }) }), children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(MoreIcon, { className: "matchid-cursor-pointer" }) });
6864
+ }
6865
+ function ContactList({
6866
+ limit = 10,
6867
+ height = 660,
6868
+ type = "Friend"
6869
+ }) {
6870
+ const { loading, totalCount, data, onLoadMore } = contact_exports.useContactList(limit, type);
6871
+ const [hiddenList, setHiddenList] = (0, import_react35.useState)([]);
6872
+ (0, import_react35.useEffect)(() => {
6873
+ setHiddenList([]);
6874
+ }, [type]);
6875
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
6876
+ import_react_virtuoso.Virtuoso,
6877
+ {
6878
+ style: {
6879
+ height
6880
+ },
6881
+ totalCount: loading ? 10 : totalCount,
6882
+ itemContent: (index) => {
6883
+ if (loading || !data[index]) {
6884
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ContactCard, { loading: true });
6885
+ }
6886
+ if (hiddenList.includes(data[index].limit_id || 0)) {
6887
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_jsx_runtime93.Fragment, {});
6888
+ }
6889
+ const item = data[index];
6890
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ContactCard, { data: item, action: () => {
6891
+ if (type == "Requests") {
6892
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(RequestAction, { data: item, onSuccess: (data2) => {
6893
+ setHiddenList([...hiddenList, data2.limit_id || 0]);
6894
+ } });
6895
+ }
6896
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(FriendsAction, { data: item, onSuccess: (data2) => {
6897
+ setHiddenList([...hiddenList, data2.limit_id || 0]);
6898
+ } });
6899
+ } });
6900
+ },
6901
+ endReached: () => {
6902
+ onLoadMore();
6903
+ },
6904
+ components: {
6905
+ EmptyPlaceholder: () => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-nomore", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl19.FormattedMessage, { id: type == "Friend" ? "noFriends" : "noRequests" }) }),
6906
+ Footer: data.length > 0 ? () => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-nomore", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl19.FormattedMessage, { id: "noMore" }) }) : void 0
6907
+ }
6385
6908
  }
6386
6909
  );
6387
6910
  }
6388
6911
 
6389
6912
  // src/hooks/useMatchWallet.tsx
6390
6913
  var import_react_qrcode = require("react-qrcode");
6391
- var import_react35 = require("react");
6392
- var import_react_query6 = require("@tanstack/react-query");
6914
+ var import_react37 = require("react");
6915
+ var import_react_query9 = require("@tanstack/react-query");
6393
6916
  var import_viem15 = require("viem");
6394
- var import_react_intl20 = require("react-intl");
6917
+ var import_react_intl21 = require("react-intl");
6395
6918
 
6396
6919
  // src/components/ImportToken/index.tsx
6397
- var import_react34 = require("react");
6398
- var import_react_intl19 = require("react-intl");
6399
- var import_react_query5 = require("@tanstack/react-query");
6920
+ var import_react36 = require("react");
6921
+ var import_react_intl20 = require("react-intl");
6922
+ var import_react_query8 = require("@tanstack/react-query");
6400
6923
  var import_viem14 = require("viem");
6401
6924
 
6402
6925
  // src/hooks/useIsContract.ts
6403
6926
  var import_viem13 = require("viem");
6404
- var import_react_query4 = require("@tanstack/react-query");
6927
+ var import_react_query7 = require("@tanstack/react-query");
6405
6928
  function useIsContract({
6406
6929
  address,
6407
6930
  chain,
6408
6931
  enabled
6409
6932
  }) {
6410
- return (0, import_react_query4.useQuery)({
6933
+ return (0, import_react_query7.useQuery)({
6411
6934
  queryKey: ["is_contract", chain?.id, address],
6412
6935
  queryFn: async () => {
6413
6936
  if (!chain) return false;
@@ -6424,14 +6947,14 @@ function useIsContract({
6424
6947
  }
6425
6948
 
6426
6949
  // src/components/ImportToken/index.tsx
6427
- var import_jsx_runtime90 = require("react/jsx-runtime");
6950
+ var import_jsx_runtime94 = require("react/jsx-runtime");
6428
6951
  function ImportToken({ close }) {
6429
- const [status, setStatus] = (0, import_react34.useState)("");
6952
+ const [status, setStatus] = (0, import_react36.useState)("");
6430
6953
  const { token } = useUserInfo();
6431
- const [address, setAddress] = (0, import_react34.useState)("");
6432
- const [symbol, setSymbol] = (0, import_react34.useState)("");
6433
- const [decimals, setDecimals] = (0, import_react34.useState)("");
6434
- const [error, setError] = (0, import_react34.useState)({});
6954
+ const [address, setAddress] = (0, import_react36.useState)("");
6955
+ const [symbol, setSymbol] = (0, import_react36.useState)("");
6956
+ const [decimals, setDecimals] = (0, import_react36.useState)("");
6957
+ const [error, setError] = (0, import_react36.useState)({});
6435
6958
  const { publicClient, chainId, chain } = useMatchChain();
6436
6959
  const getContractInfo = async () => {
6437
6960
  if (!publicClient) return;
@@ -6464,8 +6987,8 @@ function ImportToken({ close }) {
6464
6987
  });
6465
6988
  }
6466
6989
  };
6467
- const intl = (0, import_react_intl19.useIntl)();
6468
- (0, import_react34.useEffect)(() => {
6990
+ const intl = (0, import_react_intl20.useIntl)();
6991
+ (0, import_react36.useEffect)(() => {
6469
6992
  if (address.length === 42) {
6470
6993
  const reg = /^0x[0-9a-fA-F]{40}$/;
6471
6994
  if (!reg.test(address)) {
@@ -6484,9 +7007,9 @@ function ImportToken({ close }) {
6484
7007
  }
6485
7008
  }
6486
7009
  }, [address, publicClient]);
6487
- const [loading, setLoading] = (0, import_react34.useState)(false);
7010
+ const [loading, setLoading] = (0, import_react36.useState)(false);
6488
7011
  const toast = useToast();
6489
- const queryClient2 = (0, import_react_query5.useQueryClient)();
7012
+ const queryClient2 = (0, import_react_query8.useQueryClient)();
6490
7013
  const onImport = async () => {
6491
7014
  setLoading(true);
6492
7015
  try {
@@ -6512,7 +7035,7 @@ function ImportToken({ close }) {
6512
7035
  setLoading(false);
6513
7036
  }
6514
7037
  };
6515
- const canImport = (0, import_react34.useMemo)(() => {
7038
+ const canImport = (0, import_react36.useMemo)(() => {
6516
7039
  if (!address) {
6517
7040
  return false;
6518
7041
  }
@@ -6535,19 +7058,19 @@ function ImportToken({ close }) {
6535
7058
  enabled: canImport
6536
7059
  });
6537
7060
  if (status == "success" || status == "fail") {
6538
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
6539
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
6540
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("img", { src: status == "success" ? success_default : fail_default, alt: status == "success" ? "success" : "fail", className: `matchid-import-token-result-img` }),
6541
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_intl19.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_intl19.FormattedMessage, { id: "importFail" }) })
7061
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
7062
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
7063
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("img", { src: status == "success" ? success_default : fail_default, alt: status == "success" ? "success" : "fail", className: `matchid-import-token-result-img` }),
7064
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_intl20.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_intl20.FormattedMessage, { id: "importFail" }) })
6542
7065
  ] }),
6543
- status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_intl19.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_intl19.FormattedMessage, { id: "back" }) })
7066
+ status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_intl20.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_intl20.FormattedMessage, { id: "back" }) })
6544
7067
  ] });
6545
7068
  }
6546
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-import-token`, children: [
6547
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "matchid-import-token-form", children: [
6548
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Field, { label: intl.formatMessage({
7069
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: `matchid-import-token`, children: [
7070
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "matchid-import-token-form", children: [
7071
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Field, { label: intl.formatMessage({
6549
7072
  id: "tokenSmartContract"
6550
- }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7073
+ }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
6551
7074
  Input,
6552
7075
  {
6553
7076
  placeholder: intl.formatMessage({
@@ -6558,9 +7081,9 @@ function ImportToken({ close }) {
6558
7081
  maxLength: 42
6559
7082
  }
6560
7083
  ) }),
6561
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Field, { label: intl.formatMessage({
7084
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Field, { label: intl.formatMessage({
6562
7085
  id: "tokenSymbol"
6563
- }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7086
+ }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
6564
7087
  Input,
6565
7088
  {
6566
7089
  placeholder: intl.formatMessage({
@@ -6571,9 +7094,9 @@ function ImportToken({ close }) {
6571
7094
  maxLength: 16
6572
7095
  }
6573
7096
  ) }),
6574
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Field, { label: intl.formatMessage({
7097
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Field, { label: intl.formatMessage({
6575
7098
  id: "tokenDecimals"
6576
- }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7099
+ }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
6577
7100
  Input,
6578
7101
  {
6579
7102
  placeholder: intl.formatMessage({
@@ -6585,7 +7108,7 @@ function ImportToken({ close }) {
6585
7108
  }
6586
7109
  ) })
6587
7110
  ] }),
6588
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7111
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
6589
7112
  Button,
6590
7113
  {
6591
7114
  size: "lg",
@@ -6594,20 +7117,20 @@ function ImportToken({ close }) {
6594
7117
  loading: loading || isContractQuery.isLoading,
6595
7118
  disabled: !canImport || !isContractQuery.data,
6596
7119
  highlight: true,
6597
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_intl19.FormattedMessage, { id: "import" })
7120
+ children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_intl20.FormattedMessage, { id: "import" })
6598
7121
  }
6599
7122
  )
6600
7123
  ] });
6601
7124
  }
6602
7125
 
6603
7126
  // src/hooks/useMatchWallet.tsx
6604
- var import_jsx_runtime91 = require("react/jsx-runtime");
7127
+ var import_jsx_runtime95 = require("react/jsx-runtime");
6605
7128
  var ReceiveModal = () => {
6606
7129
  const chain = useMatchChain();
6607
7130
  const { address } = useWallet();
6608
7131
  const [copied, setCopied] = useCopyClipboard();
6609
7132
  const toast = useToast();
6610
- const intl = (0, import_react_intl20.useIntl)();
7133
+ const intl = (0, import_react_intl21.useIntl)();
6611
7134
  const onCopy = () => {
6612
7135
  setCopied(address);
6613
7136
  toast.success(intl.formatMessage({
@@ -6615,10 +7138,10 @@ var ReceiveModal = () => {
6615
7138
  }));
6616
7139
  };
6617
7140
  const chainLink = chain.explorerLink("address/" + address);
6618
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-receive-modal`, children: [
6619
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "matchid-receive-container", children: [
6620
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl20.FormattedMessage, { id: "receiveQrcode" }) }),
6621
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7141
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: `matchid-receive-modal`, children: [
7142
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "matchid-receive-container", children: [
7143
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react_intl21.FormattedMessage, { id: "receiveQrcode" }) }),
7144
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
6622
7145
  import_react_qrcode.QRCode,
6623
7146
  {
6624
7147
  margin: "0",
@@ -6626,7 +7149,7 @@ var ReceiveModal = () => {
6626
7149
  value: address
6627
7150
  }
6628
7151
  ) }),
6629
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7152
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
6630
7153
  "a",
6631
7154
  {
6632
7155
  href: chainLink,
@@ -6636,8 +7159,8 @@ var ReceiveModal = () => {
6636
7159
  }
6637
7160
  )
6638
7161
  ] }),
6639
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6640
- import_react_intl20.FormattedMessage,
7162
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7163
+ import_react_intl21.FormattedMessage,
6641
7164
  {
6642
7165
  id: "copyAddress"
6643
7166
  }
@@ -6646,7 +7169,7 @@ var ReceiveModal = () => {
6646
7169
  };
6647
7170
  function useMatchWallet() {
6648
7171
  const modal = useModal();
6649
- const intl = (0, import_react_intl20.useIntl)();
7172
+ const intl = (0, import_react_intl21.useIntl)();
6650
7173
  const showReceiveModal = () => {
6651
7174
  modal.open({
6652
7175
  title: intl.formatMessage({
@@ -6678,12 +7201,12 @@ function useMatchWallet() {
6678
7201
  };
6679
7202
  }
6680
7203
  function useMatchWalletRecords() {
6681
- const [hasMore, setHasMore] = (0, import_react35.useState)(true);
6682
- const [items, setItems] = (0, import_react35.useState)([]);
7204
+ const [hasMore, setHasMore] = (0, import_react37.useState)(true);
7205
+ const [items, setItems] = (0, import_react37.useState)([]);
6683
7206
  const { chainId, publicClient } = useMatchChain();
6684
7207
  const { address } = useWallet();
6685
- const hasMoreRef = (0, import_react35.useRef)(hasMore);
6686
- const nextPageParamsRef = (0, import_react35.useRef)(void 0);
7208
+ const hasMoreRef = (0, import_react37.useRef)(hasMore);
7209
+ const nextPageParamsRef = (0, import_react37.useRef)(void 0);
6687
7210
  const { contracts, setContracts } = useContractStore_default();
6688
7211
  const fetchMoreData = async () => {
6689
7212
  const chainIdStr = chainId ? chainId.toString() : "";
@@ -6710,7 +7233,7 @@ function useMatchWalletRecords() {
6710
7233
  hasMoreRef.current = true;
6711
7234
  fetchMoreData();
6712
7235
  };
6713
- (0, import_react35.useEffect)(() => {
7236
+ (0, import_react37.useEffect)(() => {
6714
7237
  if (chainId && address) {
6715
7238
  onInit();
6716
7239
  }
@@ -6766,7 +7289,7 @@ function useMatchWalletRecords() {
6766
7289
  setContracts(contractMap);
6767
7290
  }
6768
7291
  };
6769
- const list = (0, import_react35.useMemo)(() => {
7292
+ const list = (0, import_react37.useMemo)(() => {
6770
7293
  const localTransactions = transactions[`${chainId}-${address}`] || [];
6771
7294
  const removeList = localTransactions.filter((n) => items.findIndex((m) => m.hash == n.hash) >= 0);
6772
7295
  removeList.forEach((item) => {
@@ -6808,7 +7331,7 @@ function useMatchWalletAssets({
6808
7331
  chainId: chainId || 0,
6809
7332
  ...assetListOptions
6810
7333
  });
6811
- const mergedAssets = (0, import_react35.useMemo)(() => {
7334
+ const mergedAssets = (0, import_react37.useMemo)(() => {
6812
7335
  if (!assetListQuery.data && !importTokenQuery.data) return [];
6813
7336
  const assetList = (assetListQuery.data || []).map((asset) => ({
6814
7337
  ...asset,
@@ -6876,7 +7399,7 @@ function useMatchWalletAssetList({
6876
7399
  name: chain?.nativeCurrency.name,
6877
7400
  balance: 0
6878
7401
  };
6879
- const nativeBalanceQuery = (0, import_react_query6.useQuery)({
7402
+ const nativeBalanceQuery = (0, import_react_query9.useQuery)({
6880
7403
  queryKey: ["nativeBalance", nativeToken?.chain_id],
6881
7404
  queryFn: async () => {
6882
7405
  if (!nativeToken || !publicClient) return null;
@@ -6895,8 +7418,8 @@ function useMatchWalletAssetList({
6895
7418
  retry: 3
6896
7419
  // Retry up to 3 times if failed
6897
7420
  });
6898
- const erc20Tokens = (0, import_react35.useMemo)(() => list.filter((asset) => asset.address !== NATIVE_TOKEN_ADDRESS), [list]);
6899
- const erc20BalanceQuery = (0, import_react_query6.useQuery)({
7421
+ const erc20Tokens = (0, import_react37.useMemo)(() => list.filter((asset) => asset.address !== NATIVE_TOKEN_ADDRESS), [list]);
7422
+ const erc20BalanceQuery = (0, import_react_query9.useQuery)({
6900
7423
  queryKey: ["erc20Balances", erc20Tokens.map((token) => token.address)],
6901
7424
  queryFn: async () => {
6902
7425
  if (!erc20Tokens.length || !publicClient) return [];
@@ -6923,7 +7446,7 @@ function useMatchWalletAssetList({
6923
7446
  // Refresh every 15 seconds
6924
7447
  retry: 3
6925
7448
  });
6926
- const enrichedAssets = (0, import_react35.useMemo)(() => {
7449
+ const enrichedAssets = (0, import_react37.useMemo)(() => {
6927
7450
  if (!list) return [];
6928
7451
  const erc20Balances = erc20BalanceQuery.data || [];
6929
7452
  return list.map((asset) => {
@@ -6945,7 +7468,7 @@ function useMatchWalletAssetList({
6945
7468
  return { ...asset, balance, value, balanceValue };
6946
7469
  });
6947
7470
  }, [list, nativeBalanceQuery.data, erc20BalanceQuery.data]);
6948
- (0, import_react35.useEffect)(() => {
7471
+ (0, import_react37.useEffect)(() => {
6949
7472
  const list2 = enrichedAssets.sort((a, b) => {
6950
7473
  if (a.address === NATIVE_TOKEN_ADDRESS) return -1;
6951
7474
  if (b.address === NATIVE_TOKEN_ADDRESS) return 1;
@@ -6970,14 +7493,14 @@ function useMatchWalletAssetList({
6970
7493
  }
6971
7494
 
6972
7495
  // src/hooks/useReceipt.tsx
6973
- var import_react36 = require("react");
6974
- var import_react_query7 = require("@tanstack/react-query");
7496
+ var import_react38 = require("react");
7497
+ var import_react_query10 = require("@tanstack/react-query");
6975
7498
  var import_viem16 = require("viem");
6976
7499
  var CACHE_TTL = 86400 * 30 * 1e3;
6977
7500
  var MAX_CACHE_SIZE = 500;
6978
7501
  var STORAGE_KEY = "match_receipt_logs";
6979
7502
  function useReceiptCache() {
6980
- const [cache, setCache] = (0, import_react36.useState)(/* @__PURE__ */ new Map());
7503
+ const [cache, setCache] = (0, import_react38.useState)(/* @__PURE__ */ new Map());
6981
7504
  const isLocalStorageAvailable = (() => {
6982
7505
  try {
6983
7506
  const testKey = "__test__";
@@ -6988,7 +7511,7 @@ function useReceiptCache() {
6988
7511
  return false;
6989
7512
  }
6990
7513
  })();
6991
- (0, import_react36.useEffect)(() => {
7514
+ (0, import_react38.useEffect)(() => {
6992
7515
  if (isLocalStorageAvailable) {
6993
7516
  try {
6994
7517
  const storedData = localStorage.getItem(STORAGE_KEY);
@@ -7007,7 +7530,7 @@ function useReceiptCache() {
7007
7530
  }
7008
7531
  }
7009
7532
  }, []);
7010
- const updateLocalStorage = (0, import_react36.useCallback)((updatedCache) => {
7533
+ const updateLocalStorage = (0, import_react38.useCallback)((updatedCache) => {
7011
7534
  if (isLocalStorageAvailable) {
7012
7535
  try {
7013
7536
  const storedData = localStorage.getItem(STORAGE_KEY);
@@ -7024,7 +7547,7 @@ function useReceiptCache() {
7024
7547
  }
7025
7548
  }
7026
7549
  }, []);
7027
- const set = (0, import_react36.useCallback)((key, value) => {
7550
+ const set = (0, import_react38.useCallback)((key, value) => {
7028
7551
  const now = Date.now();
7029
7552
  const newCache = new Map(cache);
7030
7553
  newCache.forEach((entry, k) => {
@@ -7042,7 +7565,7 @@ function useReceiptCache() {
7042
7565
  setCache(newCache);
7043
7566
  updateLocalStorage(newCache);
7044
7567
  }, [cache, updateLocalStorage]);
7045
- const get = (0, import_react36.useCallback)((key) => {
7568
+ const get = (0, import_react38.useCallback)((key) => {
7046
7569
  const entry = cache.get(key);
7047
7570
  if (entry) {
7048
7571
  if (Date.now() - entry.timestamp > CACHE_TTL) {
@@ -7056,7 +7579,7 @@ function useReceiptCache() {
7056
7579
  }
7057
7580
  return void 0;
7058
7581
  }, [cache, updateLocalStorage]);
7059
- const del = (0, import_react36.useCallback)((key) => {
7582
+ const del = (0, import_react38.useCallback)((key) => {
7060
7583
  if (cache.has(key)) {
7061
7584
  const newCache = new Map(cache);
7062
7585
  newCache.delete(key);
@@ -7064,7 +7587,7 @@ function useReceiptCache() {
7064
7587
  updateLocalStorage(newCache);
7065
7588
  }
7066
7589
  }, [cache, updateLocalStorage]);
7067
- const clear = (0, import_react36.useCallback)(() => {
7590
+ const clear = (0, import_react38.useCallback)(() => {
7068
7591
  setCache(/* @__PURE__ */ new Map());
7069
7592
  if (isLocalStorageAvailable) {
7070
7593
  localStorage.removeItem(STORAGE_KEY);
@@ -7079,8 +7602,8 @@ function useReceipt2({
7079
7602
  const { list } = useMatchChain();
7080
7603
  const cache = useReceiptCache();
7081
7604
  const chain = list?.find((item) => item.id === chainId);
7082
- const [shouldRefetch, setShouldRefetch] = (0, import_react36.useState)(true);
7083
- const query = (0, import_react_query7.useQuery)({
7605
+ const [shouldRefetch, setShouldRefetch] = (0, import_react38.useState)(true);
7606
+ const query = (0, import_react_query10.useQuery)({
7084
7607
  queryKey: ["match-tx-receipt", hash, chain],
7085
7608
  queryFn: async () => {
7086
7609
  if (!chain || !hash) return false;
@@ -7105,7 +7628,7 @@ function useReceipt2({
7105
7628
  },
7106
7629
  refetchInterval: shouldRefetch ? 1e4 : false
7107
7630
  });
7108
- (0, import_react36.useEffect)(() => {
7631
+ (0, import_react38.useEffect)(() => {
7109
7632
  if (query.data) {
7110
7633
  setShouldRefetch(false);
7111
7634
  }
@@ -7114,14 +7637,14 @@ function useReceipt2({
7114
7637
  }
7115
7638
 
7116
7639
  // src/hooks/useTransaction.tsx
7117
- var import_react37 = require("react");
7118
- var import_react_query8 = require("@tanstack/react-query");
7640
+ var import_react39 = require("react");
7641
+ var import_react_query11 = require("@tanstack/react-query");
7119
7642
  var import_viem17 = require("viem");
7120
7643
  var CACHE_TTL2 = 86400 * 30 * 1e3;
7121
7644
  var MAX_CACHE_SIZE2 = 500;
7122
7645
  var STORAGE_KEY2 = "match_transaction_logs";
7123
7646
  function useTransactionCache() {
7124
- const [cache, setCache] = (0, import_react37.useState)(/* @__PURE__ */ new Map());
7647
+ const [cache, setCache] = (0, import_react39.useState)(/* @__PURE__ */ new Map());
7125
7648
  const isLocalStorageAvailable = (() => {
7126
7649
  try {
7127
7650
  const testKey = "__test__";
@@ -7132,7 +7655,7 @@ function useTransactionCache() {
7132
7655
  return false;
7133
7656
  }
7134
7657
  })();
7135
- (0, import_react37.useEffect)(() => {
7658
+ (0, import_react39.useEffect)(() => {
7136
7659
  if (isLocalStorageAvailable) {
7137
7660
  try {
7138
7661
  const storedData = localStorage.getItem(STORAGE_KEY2);
@@ -7151,7 +7674,7 @@ function useTransactionCache() {
7151
7674
  }
7152
7675
  }
7153
7676
  }, []);
7154
- const updateLocalStorage = (0, import_react37.useCallback)((updatedCache) => {
7677
+ const updateLocalStorage = (0, import_react39.useCallback)((updatedCache) => {
7155
7678
  if (isLocalStorageAvailable) {
7156
7679
  try {
7157
7680
  const storedData = localStorage.getItem(STORAGE_KEY2);
@@ -7168,7 +7691,7 @@ function useTransactionCache() {
7168
7691
  }
7169
7692
  }
7170
7693
  }, []);
7171
- const set = (0, import_react37.useCallback)((key, value) => {
7694
+ const set = (0, import_react39.useCallback)((key, value) => {
7172
7695
  const now = Date.now();
7173
7696
  const newCache = new Map(cache);
7174
7697
  newCache.forEach((entry, k) => {
@@ -7186,7 +7709,7 @@ function useTransactionCache() {
7186
7709
  setCache(newCache);
7187
7710
  updateLocalStorage(newCache);
7188
7711
  }, [cache, updateLocalStorage]);
7189
- const get = (0, import_react37.useCallback)((key) => {
7712
+ const get = (0, import_react39.useCallback)((key) => {
7190
7713
  const entry = cache.get(key);
7191
7714
  if (entry) {
7192
7715
  if (Date.now() - entry.timestamp > CACHE_TTL2) {
@@ -7200,7 +7723,7 @@ function useTransactionCache() {
7200
7723
  }
7201
7724
  return void 0;
7202
7725
  }, [cache, updateLocalStorage]);
7203
- const del = (0, import_react37.useCallback)((key) => {
7726
+ const del = (0, import_react39.useCallback)((key) => {
7204
7727
  if (cache.has(key)) {
7205
7728
  const newCache = new Map(cache);
7206
7729
  newCache.delete(key);
@@ -7208,7 +7731,7 @@ function useTransactionCache() {
7208
7731
  updateLocalStorage(newCache);
7209
7732
  }
7210
7733
  }, [cache, updateLocalStorage]);
7211
- const clear = (0, import_react37.useCallback)(() => {
7734
+ const clear = (0, import_react39.useCallback)(() => {
7212
7735
  setCache(/* @__PURE__ */ new Map());
7213
7736
  if (isLocalStorageAvailable) {
7214
7737
  localStorage.removeItem(STORAGE_KEY2);
@@ -7223,8 +7746,8 @@ function useTransaction({
7223
7746
  const { list } = useMatchChain();
7224
7747
  const cache = useTransactionCache();
7225
7748
  const chain = list?.find((item) => item.id === chainId);
7226
- const [shouldRefetch, setShouldRefetch] = (0, import_react37.useState)(true);
7227
- const query = (0, import_react_query8.useQuery)({
7749
+ const [shouldRefetch, setShouldRefetch] = (0, import_react39.useState)(true);
7750
+ const query = (0, import_react_query11.useQuery)({
7228
7751
  queryKey: ["match-tx-transaction", hash, chain],
7229
7752
  queryFn: async () => {
7230
7753
  if (!chain || !hash) return false;
@@ -7249,7 +7772,7 @@ function useTransaction({
7249
7772
  },
7250
7773
  refetchInterval: shouldRefetch ? 1e4 : false
7251
7774
  });
7252
- (0, import_react37.useEffect)(() => {
7775
+ (0, import_react39.useEffect)(() => {
7253
7776
  if (query.data) {
7254
7777
  setShouldRefetch(false);
7255
7778
  }
@@ -7258,27 +7781,27 @@ function useTransaction({
7258
7781
  }
7259
7782
 
7260
7783
  // src/components/CEXBindModal/index.tsx
7261
- var import_react38 = require("react");
7262
- var import_react_intl21 = require("react-intl");
7263
- var import_jsx_runtime92 = require("react/jsx-runtime");
7784
+ var import_react40 = require("react");
7785
+ var import_react_intl22 = require("react-intl");
7786
+ var import_jsx_runtime96 = require("react/jsx-runtime");
7264
7787
  function CEXBindModal({
7265
7788
  onClose,
7266
7789
  type,
7267
7790
  isOpen = false,
7268
7791
  ...props
7269
7792
  }) {
7270
- const intl = (0, import_react_intl21.useIntl)();
7793
+ const intl = (0, import_react_intl22.useIntl)();
7271
7794
  const { events } = useMatch();
7272
- const [APIPassphrase, setAPIPassphrase] = (0, import_react38.useState)("");
7795
+ const [APIPassphrase, setAPIPassphrase] = (0, import_react40.useState)("");
7273
7796
  const { refreshOverview } = useUserInfo();
7274
- const [loading, setLoading] = (0, import_react38.useState)(false);
7275
- const [key, setKey] = (0, import_react38.useState)("");
7276
- const [secret, setSecret] = (0, import_react38.useState)("");
7277
- const [error, setError] = (0, import_react38.useState)("");
7278
- const needPassphrase = (0, import_react38.useMemo)(() => {
7797
+ const [loading, setLoading] = (0, import_react40.useState)(false);
7798
+ const [key, setKey] = (0, import_react40.useState)("");
7799
+ const [secret, setSecret] = (0, import_react40.useState)("");
7800
+ const [error, setError] = (0, import_react40.useState)("");
7801
+ const needPassphrase = (0, import_react40.useMemo)(() => {
7279
7802
  return ["bitget", "okx"].includes(type.toLowerCase());
7280
7803
  }, [type]);
7281
- (0, import_react38.useEffect)(() => {
7804
+ (0, import_react40.useEffect)(() => {
7282
7805
  if (isOpen) {
7283
7806
  setSecret("");
7284
7807
  setKey("");
@@ -7315,20 +7838,20 @@ function CEXBindModal({
7315
7838
  setLoading(false);
7316
7839
  }
7317
7840
  };
7318
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ModalWithHeader, { showClose: true, isOpen, onClose, title: intl.formatMessage({
7841
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(ModalWithHeader, { showClose: true, isOpen, onClose, title: intl.formatMessage({
7319
7842
  id: "CEXBindTitle"
7320
7843
  }, {
7321
7844
  type
7322
- }), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "matchid-cex-modal", children: [
7323
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { children: [
7324
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl21.FormattedMessage, { id: "CEXBindAttention" }) }),
7325
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl21.FormattedMessage, { id: "CEXBindTips1" }) }),
7326
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl21.FormattedMessage, { id: "CEXBindTips2" }) }),
7327
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl21.FormattedMessage, { id: "CEXBindTips3" }) })
7845
+ }), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "matchid-cex-modal", children: [
7846
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { children: [
7847
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindAttention" }) }),
7848
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindTips1" }) }),
7849
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindTips2" }) }),
7850
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_intl22.FormattedMessage, { id: "CEXBindTips3" }) })
7328
7851
  ] }),
7329
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Field, { label: intl.formatMessage({
7852
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Field, { label: intl.formatMessage({
7330
7853
  id: "CEXBindApiKey"
7331
- }), children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7854
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7332
7855
  Input,
7333
7856
  {
7334
7857
  value: key,
@@ -7336,9 +7859,9 @@ function CEXBindModal({
7336
7859
  placeholder: "**** **** ****"
7337
7860
  }
7338
7861
  ) }),
7339
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Field, { label: intl.formatMessage({
7862
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Field, { label: intl.formatMessage({
7340
7863
  id: "CEXBindApiSecretKey"
7341
- }), error: !needPassphrase && error, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7864
+ }), error: !needPassphrase && error, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7342
7865
  Input,
7343
7866
  {
7344
7867
  value: secret,
@@ -7346,9 +7869,9 @@ function CEXBindModal({
7346
7869
  placeholder: "**** **** ****"
7347
7870
  }
7348
7871
  ) }),
7349
- needPassphrase && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Field, { error, label: intl.formatMessage({
7872
+ needPassphrase && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Field, { error, label: intl.formatMessage({
7350
7873
  id: "CEXBindApiPassphrase"
7351
- }), children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7874
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7352
7875
  Input,
7353
7876
  {
7354
7877
  value: APIPassphrase,
@@ -7356,7 +7879,7 @@ function CEXBindModal({
7356
7879
  placeholder: "**** **** ****"
7357
7880
  }
7358
7881
  ) }),
7359
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7882
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7360
7883
  Button,
7361
7884
  {
7362
7885
  onClick: SubmitApi,
@@ -7364,15 +7887,15 @@ function CEXBindModal({
7364
7887
  block: true,
7365
7888
  loading,
7366
7889
  disabled: !key || !secret,
7367
- children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl21.FormattedMessage, { id: "continue" })
7890
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_intl22.FormattedMessage, { id: "continue" })
7368
7891
  }
7369
7892
  )
7370
7893
  ] }) });
7371
7894
  }
7372
7895
 
7373
7896
  // src/context/BusinessProvider.tsx
7374
- var import_react_query9 = require("@tanstack/react-query");
7375
- var import_jsx_runtime93 = require("react/jsx-runtime");
7897
+ var import_react_query12 = require("@tanstack/react-query");
7898
+ var import_jsx_runtime97 = require("react/jsx-runtime");
7376
7899
  function BusinessProvider({ children }) {
7377
7900
  const { overview, token } = useUserInfo();
7378
7901
  const { type: EVMType, isOpen: EVMIsOpen, close: EVMClose } = useEVMModalStore();
@@ -7387,7 +7910,7 @@ function BusinessProvider({ children }) {
7387
7910
  WalletModalStore.close();
7388
7911
  func();
7389
7912
  };
7390
- (0, import_react_query9.useQuery)({
7913
+ (0, import_react_query12.useQuery)({
7391
7914
  queryKey: ["matchid-tgapp-login", tgAppAuthCode],
7392
7915
  queryFn: async () => {
7393
7916
  const res = await getTgAppLoginStatus({
@@ -7406,8 +7929,8 @@ function BusinessProvider({ children }) {
7406
7929
  enabled: !!tgAppAuthCode,
7407
7930
  refetchInterval: 1e3 * 5
7408
7931
  });
7409
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_jsx_runtime93.Fragment, { children: [
7410
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7932
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_jsx_runtime97.Fragment, { children: [
7933
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7411
7934
  EVMModal,
7412
7935
  {
7413
7936
  isOpen: EVMIsOpen && (EVMType == "login" && !overview && !token || EVMType == "bind" && !!token && !!overview),
@@ -7417,7 +7940,7 @@ function BusinessProvider({ children }) {
7417
7940
  zIndex: 199
7418
7941
  }
7419
7942
  ),
7420
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7943
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7421
7944
  TRONModal,
7422
7945
  {
7423
7946
  isOpen: TRONIsOpen && (TRONType == "login" && !overview && !token || TRONType == "bind" && !!token && !!overview),
@@ -7427,7 +7950,7 @@ function BusinessProvider({ children }) {
7427
7950
  zIndex: 199
7428
7951
  }
7429
7952
  ),
7430
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7953
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7431
7954
  TONModal,
7432
7955
  {
7433
7956
  isOpen: TONIsOpen && (TONType == "login" && !overview && !token || TONType == "bind" && !!token && !!overview),
@@ -7437,7 +7960,7 @@ function BusinessProvider({ children }) {
7437
7960
  zIndex: 199
7438
7961
  }
7439
7962
  ),
7440
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7963
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7441
7964
  BTCModal,
7442
7965
  {
7443
7966
  isOpen: BTCIsOpen && (BTCType == "login" && !overview && !token || BTCType == "bind" && !!token && !!overview),
@@ -7447,7 +7970,7 @@ function BusinessProvider({ children }) {
7447
7970
  zIndex: 199
7448
7971
  }
7449
7972
  ),
7450
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7973
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7451
7974
  CEXBindModal,
7452
7975
  {
7453
7976
  isOpen: CEXIsOpen && (!!token && !!overview),
@@ -7456,7 +7979,7 @@ function BusinessProvider({ children }) {
7456
7979
  zIndex: 199
7457
7980
  }
7458
7981
  ),
7459
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7982
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7460
7983
  WalletModal,
7461
7984
  {
7462
7985
  isOpen: WalletModalStore.isOpen && (WalletModalStore.type == "login" && !overview && !token || WalletModalStore.type == "bind" && !!token && !!overview),
@@ -7471,14 +7994,14 @@ function BusinessProvider({ children }) {
7471
7994
  }
7472
7995
 
7473
7996
  // src/context/index.tsx
7474
- var import_jsx_runtime94 = require("react/jsx-runtime");
7997
+ var import_jsx_runtime98 = require("react/jsx-runtime");
7475
7998
  var Providers = ({ children }) => {
7476
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(ToastProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(ModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(BusinessProvider, { children }) }) });
7999
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ToastProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(BusinessProvider, { children }) }) });
7477
8000
  };
7478
8001
  var context_default = Providers;
7479
8002
 
7480
8003
  // src/hooks/useWalletInit.ts
7481
- var import_react39 = require("react");
8004
+ var import_react41 = require("react");
7482
8005
 
7483
8006
  // src/utils/wallet.ts
7484
8007
  var sendMessage = ({ method, data, resolve, reject, timeout }) => {
@@ -7511,11 +8034,11 @@ function useWalletInit({
7511
8034
  }) {
7512
8035
  const { endpoints, token, setWallet, appid, refreshOverview } = useLocalStore_default();
7513
8036
  const { setWalletReady, walletReady } = useStore_default();
7514
- const iframeReadyRef = (0, import_react39.useRef)(walletReady);
7515
- (0, import_react39.useEffect)(() => {
8037
+ const iframeReadyRef = (0, import_react41.useRef)(walletReady);
8038
+ (0, import_react41.useEffect)(() => {
7516
8039
  setWallet(config);
7517
8040
  }, [config]);
7518
- (0, import_react39.useEffect)(() => {
8041
+ (0, import_react41.useEffect)(() => {
7519
8042
  matchlog_default.log("sdk.mpc.status", walletReady, iframeReadyRef.current);
7520
8043
  iframeReadyRef.current = walletReady;
7521
8044
  if (iframeReadyRef.current) {
@@ -7532,7 +8055,7 @@ function useWalletInit({
7532
8055
  onReady();
7533
8056
  }
7534
8057
  }, [walletReady]);
7535
- (0, import_react39.useEffect)(() => {
8058
+ (0, import_react41.useEffect)(() => {
7536
8059
  if (!endpoints.auth || !appid || !token || !config) {
7537
8060
  const existingIframe = getWalletIframe();
7538
8061
  if (existingIframe) {
@@ -7632,7 +8155,7 @@ function useWalletInit({
7632
8155
  }
7633
8156
  }
7634
8157
  }, [endpoints.auth, appid, token, config]);
7635
- (0, import_react39.useEffect)(() => {
8158
+ (0, import_react41.useEffect)(() => {
7636
8159
  const messageHandle = async (e) => {
7637
8160
  if (e.origin !== endpoints.auth.substring(0, endpoints.auth.length - 1)) {
7638
8161
  return;
@@ -7713,7 +8236,7 @@ function useWalletInit({
7713
8236
  }
7714
8237
 
7715
8238
  // src/hooks/useInit.tsx
7716
- var import_react40 = require("react");
8239
+ var import_react42 = require("react");
7717
8240
  function useInit({
7718
8241
  theme,
7719
8242
  appid,
@@ -7733,24 +8256,24 @@ function useInit({
7733
8256
  locale: realLocale
7734
8257
  } = useLocalStore_default();
7735
8258
  const walletModalStore = useWalletModalStore();
7736
- const overviewLoadingRef = (0, import_react40.useRef)(false);
8259
+ const overviewLoadingRef = (0, import_react42.useRef)(false);
7737
8260
  const searchParams = new URLSearchParams(window.location.search);
7738
8261
  const matchToken = searchParams.get("matchToken");
7739
8262
  const matchidt = searchParams.get("matchidt");
7740
8263
  const realEndpoints = endpoints || env_default.endpoints;
7741
- (0, import_react40.useEffect)(() => {
8264
+ (0, import_react42.useEffect)(() => {
7742
8265
  setTheme(theme);
7743
8266
  }, [theme]);
7744
- (0, import_react40.useEffect)(() => {
8267
+ (0, import_react42.useEffect)(() => {
7745
8268
  setAppid(appid);
7746
8269
  }, [appid]);
7747
- (0, import_react40.useEffect)(() => {
8270
+ (0, import_react42.useEffect)(() => {
7748
8271
  setEndpoints(realEndpoints);
7749
8272
  }, [realEndpoints]);
7750
- (0, import_react40.useEffect)(() => {
8273
+ (0, import_react42.useEffect)(() => {
7751
8274
  setLocale(locale || "en");
7752
8275
  }, [locale]);
7753
- (0, import_react40.useEffect)(() => {
8276
+ (0, import_react42.useEffect)(() => {
7754
8277
  if (matchToken) {
7755
8278
  const tokenData = JSON.parse(atob(matchToken));
7756
8279
  if (tokenData && tokenData.mid && tokenData.token) {
@@ -7761,7 +8284,7 @@ function useInit({
7761
8284
  }
7762
8285
  }
7763
8286
  }, [matchToken]);
7764
- (0, import_react40.useEffect)(() => {
8287
+ (0, import_react42.useEffect)(() => {
7765
8288
  if (matchidt) {
7766
8289
  const tokenData = decodeURIComponent(matchidt);
7767
8290
  const data = JSON.parse(decodeBase64(tokenData));
@@ -7791,7 +8314,7 @@ function useInit({
7791
8314
  }
7792
8315
  }
7793
8316
  }, [matchidt]);
7794
- (0, import_react40.useEffect)(() => {
8317
+ (0, import_react42.useEffect)(() => {
7795
8318
  const onLoginMessage = (event) => {
7796
8319
  const res = event.data;
7797
8320
  if (res.event === "login" && res.data && (res.data.token || res.data.token_type && res.data.access_token)) {
@@ -7828,7 +8351,7 @@ function useInit({
7828
8351
  overviewLoadingRef.current = false;
7829
8352
  }
7830
8353
  };
7831
- (0, import_react40.useEffect)(() => {
8354
+ (0, import_react42.useEffect)(() => {
7832
8355
  if (token) {
7833
8356
  loadOverview();
7834
8357
  }
@@ -7858,8 +8381,8 @@ function useInit({
7858
8381
  }
7859
8382
 
7860
8383
  // src/MatchContext.tsx
7861
- var import_react_query10 = require("@tanstack/react-query");
7862
- var import_react_intl22 = require("react-intl");
8384
+ var import_react_query13 = require("@tanstack/react-query");
8385
+ var import_react_intl23 = require("react-intl");
7863
8386
 
7864
8387
  // src/i18n/en.json
7865
8388
  var en_default = {
@@ -7939,7 +8462,14 @@ var en_default = {
7939
8462
  back: "Back",
7940
8463
  importSuccess: "Import Token Successfully",
7941
8464
  importFail: "Failed to import Token",
7942
- changeNetwork: "Change Network"
8465
+ changeNetwork: "Change Network",
8466
+ approveSuccess: "Approve Successfully",
8467
+ Approve: "Approve",
8468
+ noFriends: "No Friends yet",
8469
+ noRequests: "No Requests yet",
8470
+ noMore: "No more",
8471
+ Remove: "Remove",
8472
+ removeSuccess: "Remove Successfully"
7943
8473
  };
7944
8474
 
7945
8475
  // src/i18n/zh.json
@@ -8604,9 +9134,9 @@ var messages = {
8604
9134
  };
8605
9135
 
8606
9136
  // src/MatchContext.tsx
8607
- var import_jsx_runtime95 = require("react/jsx-runtime");
8608
- var queryClient = new import_react_query10.QueryClient();
8609
- var MatchContext = (0, import_react41.createContext)(void 0);
9137
+ var import_jsx_runtime99 = require("react/jsx-runtime");
9138
+ var queryClient = new import_react_query13.QueryClient();
9139
+ var MatchContext = (0, import_react43.createContext)(void 0);
8610
9140
  var MatchProvider = ({
8611
9141
  children,
8612
9142
  appid,
@@ -8626,7 +9156,7 @@ var MatchProvider = ({
8626
9156
  useWalletInit({
8627
9157
  config: wallet
8628
9158
  });
8629
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react_intl22.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react_query10.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
9159
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl23.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_query13.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8630
9160
  MatchContext.Provider,
8631
9161
  {
8632
9162
  value: {
@@ -8637,90 +9167,18 @@ var MatchProvider = ({
8637
9167
  theme,
8638
9168
  locale: realLocale
8639
9169
  },
8640
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(context_default, { children })
9170
+ children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(context_default, { children })
8641
9171
  }
8642
9172
  ) }) });
8643
9173
  };
8644
9174
  var useMatch = () => {
8645
- const context = (0, import_react41.useContext)(MatchContext);
9175
+ const context = (0, import_react43.useContext)(MatchContext);
8646
9176
  if (context === void 0) {
8647
9177
  throw new Error("useMatch must be used within a MatchProvider");
8648
9178
  }
8649
9179
  return context;
8650
9180
  };
8651
9181
 
8652
- // src/hooks/api/index.ts
8653
- var api_exports = {};
8654
- __export(api_exports, {
8655
- bind: () => bind_exports,
8656
- isSuccess: () => isSuccess,
8657
- poh: () => poh_exports,
8658
- user: () => user_exports,
8659
- wallet: () => wallet_exports
8660
- });
8661
-
8662
- // src/hooks/api/bind.ts
8663
- var bind_exports = {};
8664
- __export(bind_exports, {
8665
- bindCexApi: () => bindCexApi,
8666
- unBindApi: () => unBindApi,
8667
- unBindWalletApi: () => unBindWalletApi,
8668
- useBindInfo: () => useBindInfo,
8669
- useBindList: () => useBindList
8670
- });
8671
- var import_react_query11 = require("@tanstack/react-query");
8672
- function useBindList(options) {
8673
- const { isLogin } = useUserInfo();
8674
- return (0, import_react_query11.useQuery)({
8675
- queryKey: ["bindList"],
8676
- enabled: isLogin,
8677
- queryFn: async () => {
8678
- let res = await getBindListApi();
8679
- return res.data;
8680
- },
8681
- ...options
8682
- });
8683
- }
8684
- function useBindInfo(options) {
8685
- const { isLogin } = useUserInfo();
8686
- return (0, import_react_query11.useQuery)({
8687
- queryKey: ["bindInfo"],
8688
- enabled: isLogin,
8689
- queryFn: async () => {
8690
- let res = await getBindInfoApi();
8691
- return res.data;
8692
- },
8693
- ...options
8694
- });
8695
- }
8696
-
8697
- // src/hooks/api/poh.ts
8698
- var poh_exports = {};
8699
- __export(poh_exports, {
8700
- usePohList: () => usePohList,
8701
- verifyPohApi: () => verifyPohApi
8702
- });
8703
- var import_react_query12 = require("@tanstack/react-query");
8704
- function usePohList(options) {
8705
- const { isLogin } = useUserInfo();
8706
- return (0, import_react_query12.useQuery)({
8707
- queryKey: ["pohList"],
8708
- enabled: isLogin,
8709
- queryFn: async () => {
8710
- let res = await getPohListApi();
8711
- return res.data;
8712
- },
8713
- ...options
8714
- });
8715
- }
8716
-
8717
- // src/hooks/api/user.ts
8718
- var user_exports = {};
8719
- __export(user_exports, {
8720
- chooseIdentityApi: () => chooseIdentityApi,
8721
- mintPassportNftApi: () => mintPassportNftApi
8722
- });
8723
-
8724
9182
  // src/config/chains/index.ts
8725
9183
  var chains_exports = {};
8726
9184
  __export(chains_exports, {
@@ -8740,6 +9198,7 @@ __export(types_exports, {
8740
9198
  Chains,
8741
9199
  Components,
8742
9200
  Hooks,
9201
+ Icon,
8743
9202
  MatchProvider,
8744
9203
  ModalProvider,
8745
9204
  ToastProvider,