@matchain/matchid-sdk-react 0.1.53-alpha.2 → 0.1.53-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/assets/icon/index.d.mts +4 -2
  2. package/dist/assets/icon/index.d.ts +4 -2
  3. package/dist/assets/icon/index.js +19 -0
  4. package/dist/assets/icon/index.js.map +1 -1
  5. package/dist/assets/icon/index.mjs +3 -1
  6. package/dist/{chunk-LHNKZISB.mjs → chunk-3USZ4ZZY.mjs} +20 -2
  7. package/dist/chunk-3USZ4ZZY.mjs.map +1 -0
  8. package/dist/{chunk-W5A6WY7Y.mjs → chunk-3YF3P77J.mjs} +46 -8
  9. package/dist/chunk-3YF3P77J.mjs.map +1 -0
  10. package/dist/{chunk-4A2YPGO3.mjs → chunk-4EVF2PXX.mjs} +2 -2
  11. package/dist/{chunk-MX7N57AH.mjs → chunk-OCQ2AIM3.mjs} +7 -2
  12. package/dist/{chunk-MX7N57AH.mjs.map → chunk-OCQ2AIM3.mjs.map} +1 -1
  13. package/dist/{chunk-FB5MHLWX.mjs → chunk-V2S54LGG.mjs} +2 -2
  14. package/dist/components/index.d.mts +3 -3
  15. package/dist/components/index.d.ts +3 -3
  16. package/dist/components/index.js +403 -346
  17. package/dist/components/index.js.map +1 -1
  18. package/dist/components/index.mjs +5 -5
  19. package/dist/hooks/api/index.d.mts +2 -2
  20. package/dist/hooks/api/index.d.ts +2 -2
  21. package/dist/hooks/api/index.js +47 -44
  22. package/dist/hooks/api/index.js.map +1 -1
  23. package/dist/hooks/api/index.mjs +5 -5
  24. package/dist/hooks/index.d.mts +2 -2
  25. package/dist/hooks/index.d.ts +2 -2
  26. package/dist/hooks/index.js +175 -172
  27. package/dist/hooks/index.js.map +1 -1
  28. package/dist/hooks/index.mjs +5 -5
  29. package/dist/{index-K5vXmiRX.d.ts → index-BKHtf1Tu.d.ts} +1 -1
  30. package/dist/{index-DNJuiNdz.d.mts → index-BSUoL5Jo.d.mts} +2 -2
  31. package/dist/{index-Df-WlkXq.d.ts → index-BVO4Bt59.d.ts} +2 -2
  32. package/dist/{index-IwwXQ_QV.d.ts → index-CcN5ls1U.d.ts} +1 -1
  33. package/dist/{index-BsL6zo6a.d.ts → index-Cul4qlZl.d.ts} +1 -1
  34. package/dist/{index-yy3VTdFU.d.mts → index-CvVl_Xw1.d.mts} +2 -2
  35. package/dist/{index-BCGJczpk.d.mts → index-DXRsJY9h.d.mts} +1 -1
  36. package/dist/{index-Bil_db2f.d.mts → index-DgwlV4ve.d.ts} +1 -1
  37. package/dist/{index-iWHaT8HV.d.mts → index-DrEKzXYX.d.mts} +1 -1
  38. package/dist/{index-BS-NO8Y2.d.ts → index-EPwrSSOz.d.mts} +1 -1
  39. package/dist/{index-CZqdmQu1.d.mts → index-ba3VTkaV.d.mts} +1 -1
  40. package/dist/{index-B8cUP7cH.d.ts → index-lKJjj0w4.d.ts} +2 -2
  41. package/dist/index.d.mts +7 -7
  42. package/dist/index.d.ts +7 -7
  43. package/dist/index.js +442 -385
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +12 -12
  46. package/dist/types/index.d.mts +1 -1
  47. package/dist/types/index.d.ts +1 -1
  48. package/dist/{types-CZbR7ERa.d.mts → types-Bgd3Ac92.d.mts} +1 -1
  49. package/dist/{types-CZbR7ERa.d.ts → types-Bgd3Ac92.d.ts} +1 -1
  50. package/dist/ui/index.d.mts +3 -3
  51. package/dist/ui/index.d.ts +3 -3
  52. package/dist/ui/index.js +62 -59
  53. package/dist/ui/index.js.map +1 -1
  54. package/dist/ui/index.mjs +2 -2
  55. package/dist/utils/index.d.mts +2 -1
  56. package/dist/utils/index.d.ts +2 -1
  57. package/dist/utils/index.js +6 -0
  58. package/dist/utils/index.js.map +1 -1
  59. package/dist/utils/index.mjs +3 -1
  60. package/example/dist/assets/ccip-nxE3Zma4.js +1 -0
  61. package/example/dist/assets/index-BFAv3rdU.css +1 -0
  62. package/example/dist/assets/index-DMWWRDPI.js +1658 -0
  63. package/example/dist/index.html +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-LHNKZISB.mjs.map +0 -1
  66. package/dist/chunk-W5A6WY7Y.mjs.map +0 -1
  67. package/example/dist/assets/TransportWebHID-BEu7tC0r.js +0 -1
  68. package/example/dist/assets/bignumber-iG7K-qxw.js +0 -10
  69. package/example/dist/assets/ccip-a6wQ1Vcb.js +0 -1
  70. package/example/dist/assets/draggabilly-CRYR_S0q.js +0 -14
  71. package/example/dist/assets/index--dp9m9Ep.js +0 -1
  72. package/example/dist/assets/index-BDTHolFv.js +0 -569
  73. package/example/dist/assets/index-BZl59qLb.js +0 -179
  74. package/example/dist/assets/index-BmMbYNHO.js +0 -303
  75. package/example/dist/assets/index-C7cxVRDF.js +0 -1677
  76. package/example/dist/assets/index-CJk171Yb.js +0 -1
  77. package/example/dist/assets/index-CQiBesAa.js +0 -3
  78. package/example/dist/assets/index-D62loNA9.js +0 -3
  79. package/example/dist/assets/index-DqyX3FG6.js +0 -1
  80. package/example/dist/assets/index-Gy3FXGhr.css +0 -1
  81. package/example/dist/assets/inherits_browser-BlmhoU4v.js +0 -1
  82. package/example/dist/assets/solanaEmbed.esm-Djn-u4Vn.js +0 -38
  83. /package/dist/{chunk-4A2YPGO3.mjs.map → chunk-4EVF2PXX.mjs.map} +0 -0
  84. /package/dist/{chunk-FB5MHLWX.mjs.map → chunk-V2S54LGG.mjs.map} +0 -0
@@ -614,6 +614,9 @@ function TransferIcon({ size = 40, ...props }) {
614
614
  // src/assets/icon/ArrowSendIcon.tsx
615
615
  var import_jsx_runtime48 = require("react/jsx-runtime");
616
616
 
617
+ // src/assets/icon/PhantomIcon.tsx
618
+ var import_jsx_runtime49 = require("react/jsx-runtime");
619
+
617
620
  // src/hooks/useLayout.tsx
618
621
  var useLayout_exports = {};
619
622
  __export(useLayout_exports, {
@@ -635,7 +638,7 @@ function useDownMd() {
635
638
  }
636
639
 
637
640
  // src/hooks/useConfig.tsx
638
- var import_jsx_runtime49 = require("react/jsx-runtime");
641
+ var import_jsx_runtime50 = require("react/jsx-runtime");
639
642
  var DEFAULT_WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
640
643
 
641
644
  // src/store/useModalStore.ts
@@ -676,7 +679,7 @@ var import_react6 = require("react");
676
679
 
677
680
  // src/ui/Overlay/index.tsx
678
681
  var import_react2 = require("react");
679
- var import_jsx_runtime50 = require("react/jsx-runtime");
682
+ var import_jsx_runtime51 = require("react/jsx-runtime");
680
683
  function Overlay({
681
684
  isOpen = false,
682
685
  children,
@@ -692,7 +695,7 @@ function Overlay({
692
695
  document.body.style.overflow = "";
693
696
  };
694
697
  }, [isOpen]);
695
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
698
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
696
699
  "div",
697
700
  {
698
701
  className: "matchid-overlay",
@@ -701,11 +704,11 @@ function Overlay({
701
704
  },
702
705
  children
703
706
  }
704
- ) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, {});
707
+ ) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, {});
705
708
  }
706
709
 
707
710
  // src/ui/Modal/index.tsx
708
- var import_jsx_runtime51 = require("react/jsx-runtime");
711
+ var import_jsx_runtime52 = require("react/jsx-runtime");
709
712
  function Modal({
710
713
  children,
711
714
  isOpen,
@@ -713,10 +716,10 @@ function Modal({
713
716
  zIndex = 100,
714
717
  className = ""
715
718
  }) {
716
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: `matchid-modal ${className}`, style: {
719
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: `matchid-modal ${className}`, style: {
717
720
  width
718
721
  }, children: [
719
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-modal-mobile-header" }),
722
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "matchid-modal-mobile-header" }),
720
723
  children
721
724
  ] }) });
722
725
  }
@@ -730,13 +733,13 @@ function ModalWithHeader({
730
733
  ...props
731
734
  }) {
732
735
  const isDownMd = useDownMd();
733
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Modal, { ...props, children: [
734
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
735
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-modal-header-content", children: [
736
- onBack && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
737
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "matchid-modal-header-title", children: title })
736
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Modal, { ...props, children: [
737
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
738
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "matchid-modal-header-content", children: [
739
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
740
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "matchid-modal-header-title", children: title })
738
741
  ] }),
739
- onClose && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
742
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
740
743
  ] }),
741
744
  children
742
745
  ] });
@@ -747,7 +750,7 @@ var import_react4 = require("react");
747
750
 
748
751
  // src/utils/index.tsx
749
752
  var import_moment = __toESM(require("moment"));
750
- var import_jsx_runtime52 = require("react/jsx-runtime");
753
+ var import_jsx_runtime53 = require("react/jsx-runtime");
751
754
  var getVersion = () => {
752
755
  return "0.0.2";
753
756
  };
@@ -779,10 +782,10 @@ var NumberFormatter = ({
779
782
  const [intPart, decimalPart] = numberValue.toString().split(".");
780
783
  const intFormat = separator ? intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",") : intPart;
781
784
  if (Math.abs(parseFloat(numberValue)) >= 1) {
782
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className, children: [
783
- prefix && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: prefixClassName, children: prefix }),
784
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: intClassName, children: intFormat }),
785
- decimalPart ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: decimalClassName, children: [
785
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { className, children: [
786
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: prefixClassName, children: prefix }),
787
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: intClassName, children: intFormat }),
788
+ decimalPart ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { className: decimalClassName, children: [
786
789
  ".",
787
790
  decimalPart.substring(0, fixNum)
788
791
  ] }) : "",
@@ -799,30 +802,30 @@ var NumberFormatter = ({
799
802
  }
800
803
  }
801
804
  if (zeroCount < tFixNum) {
802
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className, children: [
803
- prefix && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: prefixClassName, children: prefix }),
804
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: intClassName, children: intFormat }),
805
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: decimalClassName, children: [
805
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { className, children: [
806
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: prefixClassName, children: prefix }),
807
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: intClassName, children: intFormat }),
808
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { className: decimalClassName, children: [
806
809
  ".",
807
810
  decimalPart.substring(0, tFixNum)
808
811
  ] }),
809
812
  suffix
810
813
  ] });
811
814
  }
812
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className, children: [
813
- prefix && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: prefixClassName, children: prefix }),
814
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: intClassName, children: intFormat }),
815
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: decimalClassName, children: [
815
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { className, children: [
816
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: prefixClassName, children: prefix }),
817
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: intClassName, children: intFormat }),
818
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { className: decimalClassName, children: [
816
819
  ".0",
817
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("sub", { children: zeroCount }),
820
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("sub", { children: zeroCount }),
818
821
  decimalPart?.substring(zeroCount, zeroCount + tFixNum - 2)
819
822
  ] }),
820
823
  suffix
821
824
  ] });
822
825
  }
823
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className, children: [
824
- prefix && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: prefixClassName, children: prefix }),
825
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: intClassName, children: intPart }),
826
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { className, children: [
827
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: prefixClassName, children: prefix }),
828
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: intClassName, children: intPart }),
826
829
  suffix
827
830
  ] });
828
831
  };
@@ -831,7 +834,7 @@ var isInTgApp = () => {
831
834
  };
832
835
 
833
836
  // src/ui/Button/index.tsx
834
- var import_jsx_runtime53 = require("react/jsx-runtime");
837
+ var import_jsx_runtime54 = require("react/jsx-runtime");
835
838
  function Button({
836
839
  size = "df",
837
840
  disabled = false,
@@ -850,7 +853,7 @@ function Button({
850
853
  onClick && onClick();
851
854
  }
852
855
  };
853
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
856
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
854
857
  "button",
855
858
  {
856
859
  type,
@@ -860,14 +863,14 @@ function Button({
860
863
  ...style
861
864
  },
862
865
  onClick: onAction,
863
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
866
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
864
867
  }
865
868
  );
866
869
  }
867
870
 
868
871
  // src/ui/Input/index.tsx
869
872
  var import_react3 = require("react");
870
- var import_jsx_runtime54 = require("react/jsx-runtime");
873
+ var import_jsx_runtime55 = require("react/jsx-runtime");
871
874
  function Input({
872
875
  onChange,
873
876
  type,
@@ -877,17 +880,17 @@ function Input({
877
880
  }) {
878
881
  const [inputType, setInputType] = (0, import_react3.useState)(type);
879
882
  const isDownMd = useDownMd();
880
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
883
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
881
884
  "div",
882
885
  {
883
886
  className: `matchid-input-box ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
884
887
  children: [
885
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
886
- props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
888
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
889
+ props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
887
890
  if (onChange) {
888
891
  onChange({ target: { value: "" } });
889
892
  }
890
- }, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
893
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
891
894
  DeleteRoundIcon,
892
895
  {
893
896
  height: isDownMd ? 16 : 21,
@@ -895,9 +898,9 @@ function Input({
895
898
  color: "var(--matchid-input-delete-icon-color)"
896
899
  }
897
900
  ) }),
898
- type === "password" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
901
+ type === "password" && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
899
902
  setInputType(inputType === "password" ? "text" : "password");
900
- }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
903
+ }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
901
904
  after
902
905
  ]
903
906
  }
@@ -905,7 +908,7 @@ function Input({
905
908
  }
906
909
 
907
910
  // src/ui/Field/index.tsx
908
- var import_jsx_runtime55 = require("react/jsx-runtime");
911
+ var import_jsx_runtime56 = require("react/jsx-runtime");
909
912
  function Field({
910
913
  label,
911
914
  children,
@@ -913,19 +916,19 @@ function Field({
913
916
  required,
914
917
  className = ""
915
918
  }) {
916
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
917
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-field-label", children: [
918
- required && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "matchid-field-required", children: "*" }),
919
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
920
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "matchid-field-label", children: [
921
+ required && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "matchid-field-required", children: "*" }),
919
922
  label
920
923
  ] }),
921
924
  children,
922
- error && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-field-error", children: error })
925
+ error && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "matchid-field-error", children: error })
923
926
  ] });
924
927
  }
925
928
 
926
929
  // src/components/EmailModal/StepEmail.tsx
927
930
  var import_react_intl = require("react-intl");
928
- var import_jsx_runtime56 = require("react/jsx-runtime");
931
+ var import_jsx_runtime57 = require("react/jsx-runtime");
929
932
 
930
933
  // src/components/EmailModal/StepVerify.tsx
931
934
  var import_react5 = require("react");
@@ -935,15 +938,15 @@ var NATIVE_TOKEN_ADDRESS = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
935
938
 
936
939
  // src/components/EmailModal/StepVerify.tsx
937
940
  var import_react_intl2 = require("react-intl");
938
- var import_jsx_runtime57 = require("react/jsx-runtime");
941
+ var import_jsx_runtime58 = require("react/jsx-runtime");
939
942
 
940
943
  // src/components/EmailModal/index.tsx
941
944
  var import_react_intl3 = require("react-intl");
942
- var import_jsx_runtime58 = require("react/jsx-runtime");
945
+ var import_jsx_runtime59 = require("react/jsx-runtime");
943
946
 
944
947
  // src/ui/Popover/index.tsx
945
948
  var import_react7 = require("react");
946
- var import_jsx_runtime59 = require("react/jsx-runtime");
949
+ var import_jsx_runtime60 = require("react/jsx-runtime");
947
950
 
948
951
  // src/components/LoginBox/index.tsx
949
952
  var import_react8 = require("react");
@@ -953,36 +956,36 @@ var import_react_intl4 = require("react-intl");
953
956
  var import_react_query = require("@tanstack/react-query");
954
957
 
955
958
  // src/components/LoginBox/index.tsx
956
- var import_jsx_runtime60 = require("react/jsx-runtime");
959
+ var import_jsx_runtime61 = require("react/jsx-runtime");
957
960
 
958
961
  // src/components/LoginButton/index.tsx
959
962
  var import_react10 = require("react");
960
963
 
961
964
  // src/components/LoginPanel/index.tsx
962
965
  var import_react_intl5 = require("react-intl");
963
- var import_jsx_runtime61 = require("react/jsx-runtime");
966
+ var import_jsx_runtime62 = require("react/jsx-runtime");
964
967
 
965
968
  // src/components/LoginModal/index.tsx
966
- var import_jsx_runtime62 = require("react/jsx-runtime");
969
+ var import_jsx_runtime63 = require("react/jsx-runtime");
967
970
 
968
971
  // src/components/UserPopover/index.tsx
969
972
  var import_react9 = require("react");
970
973
 
971
974
  // src/assets/icon/ProfileIcon.tsx
972
- var import_jsx_runtime63 = require("react/jsx-runtime");
975
+ var import_jsx_runtime64 = require("react/jsx-runtime");
973
976
 
974
977
  // src/components/UserPopover/index.tsx
975
978
  var import_react_intl6 = require("react-intl");
976
- var import_jsx_runtime64 = require("react/jsx-runtime");
979
+ var import_jsx_runtime65 = require("react/jsx-runtime");
977
980
 
978
981
  // src/components/LoginButton/index.tsx
979
982
  var import_react_intl7 = require("react-intl");
980
- var import_jsx_runtime65 = require("react/jsx-runtime");
983
+ var import_jsx_runtime66 = require("react/jsx-runtime");
981
984
 
982
985
  // src/components/UsernameModal/index.tsx
983
986
  var import_react11 = require("react");
984
987
  var import_react_intl8 = require("react-intl");
985
- var import_jsx_runtime66 = require("react/jsx-runtime");
988
+ var import_jsx_runtime67 = require("react/jsx-runtime");
986
989
 
987
990
  // src/components/TRONModal/index.tsx
988
991
  var import_react14 = __toESM(require("react"));
@@ -1020,19 +1023,19 @@ var import_react_intl9 = require("react-intl");
1020
1023
 
1021
1024
  // src/components/WalletModalContent/index.tsx
1022
1025
  var import_react12 = require("react");
1023
- var import_jsx_runtime67 = require("react/jsx-runtime");
1026
+ var import_jsx_runtime68 = require("react/jsx-runtime");
1024
1027
 
1025
1028
  // src/hooks/useTRONWallet.ts
1026
1029
  var import_react13 = require("react");
1027
1030
 
1028
1031
  // src/components/TRONModal/index.tsx
1029
- var import_jsx_runtime68 = require("react/jsx-runtime");
1032
+ var import_jsx_runtime69 = require("react/jsx-runtime");
1030
1033
 
1031
1034
  // src/components/TONModal/index.tsx
1032
1035
  var import_react15 = __toESM(require("react"));
1033
1036
  var import_react_intl10 = require("react-intl");
1034
1037
  var import_ui_react = require("@tonconnect/ui-react");
1035
- var import_jsx_runtime69 = require("react/jsx-runtime");
1038
+ var import_jsx_runtime70 = require("react/jsx-runtime");
1036
1039
 
1037
1040
  // src/components/BTCModal/index.tsx
1038
1041
  var import_react17 = __toESM(require("react"));
@@ -1045,16 +1048,16 @@ var import_sats_connect = require("sats-connect");
1045
1048
  var import_react16 = require("react");
1046
1049
 
1047
1050
  // src/components/BTCModal/index.tsx
1048
- var import_jsx_runtime70 = require("react/jsx-runtime");
1051
+ var import_jsx_runtime71 = require("react/jsx-runtime");
1049
1052
 
1050
1053
  // src/components/WalletModal/index.tsx
1051
1054
  var import_react18 = require("react");
1052
1055
  var import_react_intl12 = require("react-intl");
1053
- var import_jsx_runtime71 = require("react/jsx-runtime");
1056
+ var import_jsx_runtime72 = require("react/jsx-runtime");
1054
1057
 
1055
1058
  // src/components/AlphaAvatar/index.tsx
1056
1059
  var import_react19 = require("react");
1057
- var import_jsx_runtime72 = require("react/jsx-runtime");
1060
+ var import_jsx_runtime73 = require("react/jsx-runtime");
1058
1061
  function AlphaAvatar({ name, size = 40, className = "" }) {
1059
1062
  const [avatar, setAvatar] = (0, import_react19.useState)(void 0);
1060
1063
  (0, import_react19.useEffect)(() => {
@@ -1063,7 +1066,7 @@ function AlphaAvatar({ name, size = 40, className = "" }) {
1063
1066
  setAvatar(char);
1064
1067
  }
1065
1068
  }, [name]);
1066
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1069
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1067
1070
  width: size,
1068
1071
  height: size,
1069
1072
  fontSize: Math.ceil(size / 2)
@@ -1071,10 +1074,10 @@ function AlphaAvatar({ name, size = 40, className = "" }) {
1071
1074
  }
1072
1075
 
1073
1076
  // src/components/WalletAsset/index.tsx
1074
- var import_jsx_runtime73 = require("react/jsx-runtime");
1077
+ var import_jsx_runtime74 = require("react/jsx-runtime");
1075
1078
 
1076
1079
  // src/ui/Drawer/index.tsx
1077
- var import_jsx_runtime74 = require("react/jsx-runtime");
1080
+ var import_jsx_runtime75 = require("react/jsx-runtime");
1078
1081
  function Drawer({
1079
1082
  children,
1080
1083
  showClose = true,
@@ -1085,15 +1088,15 @@ function Drawer({
1085
1088
  onBack
1086
1089
  }) {
1087
1090
  if (!isOpen) {
1088
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_jsx_runtime74.Fragment, {});
1091
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_jsx_runtime75.Fragment, {});
1089
1092
  }
1090
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-drawer", children: [
1091
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
1092
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
1093
- onBack && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
1093
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "matchid-drawer", children: [
1094
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
1095
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
1096
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
1094
1097
  title
1095
1098
  ] }),
1096
- showClose && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
1099
+ showClose && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
1097
1100
  ] }),
1098
1101
  children
1099
1102
  ] }) });
@@ -1103,7 +1106,7 @@ function Drawer({
1103
1106
  var import_react20 = require("react");
1104
1107
 
1105
1108
  // src/ui/ModalDrawer/index.tsx
1106
- var import_jsx_runtime75 = require("react/jsx-runtime");
1109
+ var import_jsx_runtime76 = require("react/jsx-runtime");
1107
1110
  function ModalDrawer({
1108
1111
  title,
1109
1112
  drawerTitleVisible = true,
@@ -1111,9 +1114,9 @@ function ModalDrawer({
1111
1114
  }) {
1112
1115
  const isDownMd = useDownMd();
1113
1116
  if (isDownMd) {
1114
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ModalWithHeader, { ...props, title });
1117
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ModalWithHeader, { ...props, title });
1115
1118
  }
1116
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
1119
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
1117
1120
  }
1118
1121
 
1119
1122
  // src/assets/img/confirm.gif
@@ -1169,7 +1172,7 @@ function useHash({
1169
1172
  }
1170
1173
 
1171
1174
  // src/ui/HashPanel/index.tsx
1172
- var import_jsx_runtime76 = require("react/jsx-runtime");
1175
+ var import_jsx_runtime77 = require("react/jsx-runtime");
1173
1176
  function HashPanel({
1174
1177
  hash,
1175
1178
  chain,
@@ -1228,14 +1231,14 @@ function HashPanel({
1228
1231
  }
1229
1232
  }, [hashQuery.data]);
1230
1233
  const link = chain ? `${chain?.blockExplorers?.default.url}/tx/${hash}` : "";
1231
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
1234
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
1232
1235
  ModalDrawer,
1233
1236
  {
1234
1237
  isOpen,
1235
1238
  showClose: true,
1236
1239
  onClose,
1237
1240
  zIndex,
1238
- title: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
1241
+ title: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
1239
1242
  "div",
1240
1243
  {
1241
1244
  className: "matchid-hashpanel-header",
@@ -1245,32 +1248,32 @@ function HashPanel({
1245
1248
  children: statusValue.text
1246
1249
  }
1247
1250
  ),
1248
- children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "matchid-hashpanel-box", children: [
1249
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "matchid-hashpanel-content", children: [
1250
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: `matchid-hashpanel-status`, style: {
1251
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "matchid-hashpanel-box", children: [
1252
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "matchid-hashpanel-content", children: [
1253
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: `matchid-hashpanel-status`, style: {
1251
1254
  color: statusValue.color
1252
1255
  }, children: statusValue.text }),
1253
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("img", { src: statusValue.icon, alt: statusValue.text, className: `matchid-hashpanel-img` }),
1254
- hash && /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
1256
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("img", { src: statusValue.icon, alt: statusValue.text, className: `matchid-hashpanel-img` }),
1257
+ hash && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
1255
1258
  "Hash:",
1256
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("a", { href: link, target: "_blank", children: hash })
1259
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("a", { href: link, target: "_blank", children: hash })
1257
1260
  ] })
1258
1261
  ] }),
1259
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
1262
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
1260
1263
  ] })
1261
1264
  }
1262
1265
  );
1263
1266
  }
1264
1267
  function HashPanel_default(props) {
1265
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(HashPanel, { ...props });
1268
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(HashPanel, { ...props });
1266
1269
  }
1267
1270
 
1268
1271
  // src/ui/Switch/index.tsx
1269
- var import_jsx_runtime77 = require("react/jsx-runtime");
1272
+ var import_jsx_runtime78 = require("react/jsx-runtime");
1270
1273
 
1271
1274
  // src/ui/AlphaAvatar/index.tsx
1272
1275
  var import_react21 = require("react");
1273
- var import_jsx_runtime78 = require("react/jsx-runtime");
1276
+ var import_jsx_runtime79 = require("react/jsx-runtime");
1274
1277
  function AlphaAvatar2({
1275
1278
  name,
1276
1279
  size = "default",
@@ -1287,7 +1290,7 @@ function AlphaAvatar2({
1287
1290
  return "";
1288
1291
  }, [name]);
1289
1292
  const numberSize = typeof size === "number" ? size : size === "sm" ? 24 : size === "default" ? 40 : 64;
1290
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1293
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1291
1294
  width: numberSize,
1292
1295
  height: numberSize,
1293
1296
  fontSize: Math.ceil(numberSize / 2),
@@ -1296,7 +1299,7 @@ function AlphaAvatar2({
1296
1299
  }
1297
1300
 
1298
1301
  // src/ui/Radio/index.tsx
1299
- var import_jsx_runtime79 = require("react/jsx-runtime");
1302
+ var import_jsx_runtime80 = require("react/jsx-runtime");
1300
1303
  function Radio({
1301
1304
  checked = false,
1302
1305
  onChange,
@@ -1305,13 +1308,13 @@ function Radio({
1305
1308
  className = "",
1306
1309
  style = {}
1307
1310
  }) {
1308
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
1311
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
1309
1312
  width: size,
1310
1313
  height: size,
1311
1314
  ...style,
1312
1315
  // @ts-ignore
1313
1316
  "--matchid-radio-checked": color
1314
- }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: `matchid-radio-content`, style: {
1317
+ }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-radio-content`, style: {
1315
1318
  width: Math.floor(size * 0.7),
1316
1319
  height: Math.floor(size * 0.7)
1317
1320
  } }) });
@@ -1321,7 +1324,7 @@ function Radio({
1321
1324
  var import_react22 = require("react");
1322
1325
  var import_viem2 = require("viem");
1323
1326
  var import_react_intl13 = require("react-intl");
1324
- var import_jsx_runtime80 = require("react/jsx-runtime");
1327
+ var import_jsx_runtime81 = require("react/jsx-runtime");
1325
1328
  function Input2({
1326
1329
  onChange,
1327
1330
  placeholder,
@@ -1331,8 +1334,8 @@ function Input2({
1331
1334
  error,
1332
1335
  size = "df"
1333
1336
  }) {
1334
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
1335
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
1337
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
1338
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
1336
1339
  "input",
1337
1340
  {
1338
1341
  placeholder,
@@ -1343,7 +1346,7 @@ function Input2({
1343
1346
  className: `matchid-token-input ${error ? "matchid-token-input-error" : ""}`
1344
1347
  }
1345
1348
  ),
1346
- error && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "matchid-token-input-error-text", children: error })
1349
+ error && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "matchid-token-input-error-text", children: error })
1347
1350
  ] });
1348
1351
  }
1349
1352
  function TokenSend({
@@ -1471,24 +1474,24 @@ function TokenSend({
1471
1474
  window.removeEventListener("message", receiveMessage);
1472
1475
  };
1473
1476
  }, []);
1474
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl13.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-send-box`, children: [
1475
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "matchid-token-send-content", children: [
1476
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-content`, children: [
1477
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-header`, children: [
1478
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl13.FormattedMessage, { id: "amount" }) }),
1479
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
1480
- token.icon ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
1477
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react_intl13.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-send-box`, children: [
1478
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "matchid-token-send-content", children: [
1479
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-amount-content`, children: [
1480
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-amount-header`, children: [
1481
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react_intl13.FormattedMessage, { id: "amount" }) }),
1482
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
1483
+ token.icon ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
1481
1484
  "img",
1482
1485
  {
1483
1486
  src: token?.icon,
1484
1487
  alt: token?.symbol,
1485
1488
  className: `matchid-token-amount-chain-icon`
1486
1489
  }
1487
- ) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(AlphaAvatar2, { name: token.symbol || token.name || "", size: 16 }),
1488
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { children: token?.symbol })
1490
+ ) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(AlphaAvatar2, { name: token.symbol || token.name || "", size: 16 }),
1491
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { children: token?.symbol })
1489
1492
  ] })
1490
1493
  ] }),
1491
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
1494
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
1492
1495
  Input2,
1493
1496
  {
1494
1497
  type: "text",
@@ -1501,18 +1504,18 @@ function TokenSend({
1501
1504
  error: error.amount || txError
1502
1505
  }
1503
1506
  ),
1504
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
1505
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-amount-title`, children: [
1506
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl13.FormattedMessage, { id: "balance" }),
1507
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
1508
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-amount-title`, children: [
1509
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react_intl13.FormattedMessage, { id: "balance" }),
1507
1510
  ":"
1508
1511
  ] }),
1509
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
1512
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
1510
1513
  ] }),
1511
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
1514
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
1512
1515
  ] }),
1513
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: `matchid-token-address-content`, children: [
1514
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl13.FormattedMessage, { id: "receiveTitle" }) }) }),
1515
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
1516
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: `matchid-token-address-content`, children: [
1517
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react_intl13.FormattedMessage, { id: "receiveTitle" }) }) }),
1518
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
1516
1519
  Input2,
1517
1520
  {
1518
1521
  type: "text",
@@ -1528,7 +1531,7 @@ function TokenSend({
1528
1531
  )
1529
1532
  ] })
1530
1533
  ] }),
1531
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
1534
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
1532
1535
  Button,
1533
1536
  {
1534
1537
  size: "lg",
@@ -1537,7 +1540,7 @@ function TokenSend({
1537
1540
  disabled: !canSend || !!txError,
1538
1541
  onClick: onNext,
1539
1542
  loading: loading || sending,
1540
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl13.FormattedMessage, { id: "next" })
1543
+ children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react_intl13.FormattedMessage, { id: "next" })
1541
1544
  }
1542
1545
  )
1543
1546
  ] }) });
@@ -1545,12 +1548,12 @@ function TokenSend({
1545
1548
 
1546
1549
  // src/components/TokenDetail/index.tsx
1547
1550
  var import_react_intl14 = require("react-intl");
1548
- var import_jsx_runtime81 = require("react/jsx-runtime");
1551
+ var import_jsx_runtime82 = require("react/jsx-runtime");
1549
1552
 
1550
1553
  // src/components/TokenSendList/index.tsx
1551
1554
  var import_react23 = require("react");
1552
1555
  var import_react_intl15 = require("react-intl");
1553
- var import_jsx_runtime82 = require("react/jsx-runtime");
1556
+ var import_jsx_runtime83 = require("react/jsx-runtime");
1554
1557
  function TokenSendList({ close }) {
1555
1558
  const isDownMd = useDownMd();
1556
1559
  const walletAssets = useMatchWalletAssets();
@@ -1562,16 +1565,16 @@ function TokenSendList({ close }) {
1562
1565
  const modal = useModal();
1563
1566
  const onNext = () => {
1564
1567
  checked && modal.show((props) => {
1565
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TokenSend, { onClose: () => {
1568
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(TokenSend, { onClose: () => {
1566
1569
  props.close();
1567
1570
  close();
1568
1571
  }, onBack: props.close, zIndex: props.zIndex, token: checked });
1569
1572
  });
1570
1573
  };
1571
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "matchid-token-send-list-box", children: [
1572
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
1574
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "matchid-token-send-list-box", children: [
1575
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
1573
1576
  const chain = list?.find((m) => m.id.toString() === n.chain_id);
1574
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
1577
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
1575
1578
  "div",
1576
1579
  {
1577
1580
  className: `matchid-token-send-item ${checked?.address == n.address ? "matchid-token-send-chekced" : ""}`,
@@ -1579,10 +1582,10 @@ function TokenSendList({ close }) {
1579
1582
  setChecked(n);
1580
1583
  },
1581
1584
  children: [
1582
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
1583
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "matchid-token-send-content", children: [
1584
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "matchid-token-send-logo", children: [
1585
- n.icon ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
1585
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
1586
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "matchid-token-send-content", children: [
1587
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "matchid-token-send-logo", children: [
1588
+ n.icon ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
1586
1589
  AlphaAvatar,
1587
1590
  {
1588
1591
  className: `matchid-token-send-icon`,
@@ -1590,7 +1593,7 @@ function TokenSendList({ close }) {
1590
1593
  name: n.symbol || n.name || ""
1591
1594
  }
1592
1595
  ),
1593
- chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
1596
+ chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
1594
1597
  "img",
1595
1598
  {
1596
1599
  src: chain.iconUrl,
@@ -1599,9 +1602,9 @@ function TokenSendList({ close }) {
1599
1602
  }
1600
1603
  )
1601
1604
  ] }),
1602
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: `matchid-token-send-info`, children: [
1603
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
1604
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
1605
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: `matchid-token-send-info`, children: [
1606
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
1607
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
1605
1608
  ] })
1606
1609
  ] })
1607
1610
  ]
@@ -1609,7 +1612,7 @@ function TokenSendList({ close }) {
1609
1612
  index
1610
1613
  );
1611
1614
  }) }),
1612
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_intl15.FormattedMessage, { id: "next" }) })
1615
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_react_intl15.FormattedMessage, { id: "next" }) })
1613
1616
  ] });
1614
1617
  }
1615
1618
 
@@ -1677,12 +1680,12 @@ var useContractStore_default = useContractStore;
1677
1680
 
1678
1681
  // src/components/TransactionList/index.tsx
1679
1682
  var import_react_intl16 = require("react-intl");
1680
- var import_jsx_runtime83 = require("react/jsx-runtime");
1683
+ var import_jsx_runtime84 = require("react/jsx-runtime");
1681
1684
 
1682
1685
  // src/components/CEXBindModal/index.tsx
1683
1686
  var import_react25 = require("react");
1684
1687
  var import_react_intl17 = require("react-intl");
1685
- var import_jsx_runtime84 = require("react/jsx-runtime");
1688
+ var import_jsx_runtime85 = require("react/jsx-runtime");
1686
1689
 
1687
1690
  // src/context/BusinessProvider.tsx
1688
1691
  var import_react_query3 = require("@tanstack/react-query");
@@ -1700,12 +1703,12 @@ var useStore = (0, import_zustand4.create)((set) => ({
1700
1703
  var useStore_default = useStore;
1701
1704
 
1702
1705
  // src/context/BusinessProvider.tsx
1703
- var import_jsx_runtime85 = require("react/jsx-runtime");
1706
+ var import_jsx_runtime86 = require("react/jsx-runtime");
1704
1707
 
1705
1708
  // src/context/ModalContext.tsx
1706
1709
  var import_react26 = require("react");
1707
1710
  var import_react_dom = require("react-dom");
1708
- var import_jsx_runtime86 = require("react/jsx-runtime");
1711
+ var import_jsx_runtime87 = require("react/jsx-runtime");
1709
1712
  var ModalContext = (0, import_react26.createContext)(null);
1710
1713
  function useModal() {
1711
1714
  const context = (0, import_react26.useContext)(ModalContext);
@@ -1718,7 +1721,7 @@ function useModal() {
1718
1721
  // src/context/ToastContext.tsx
1719
1722
  var import_react27 = require("react");
1720
1723
  var import_react_dom2 = require("react-dom");
1721
- var import_jsx_runtime87 = require("react/jsx-runtime");
1724
+ var import_jsx_runtime88 = require("react/jsx-runtime");
1722
1725
  var ToastContext = (0, import_react27.createContext)(null);
1723
1726
  function useToast() {
1724
1727
  const context = (0, import_react27.useContext)(ToastContext);
@@ -1729,7 +1732,7 @@ function useToast() {
1729
1732
  }
1730
1733
 
1731
1734
  // src/context/index.tsx
1732
- var import_jsx_runtime88 = require("react/jsx-runtime");
1735
+ var import_jsx_runtime89 = require("react/jsx-runtime");
1733
1736
 
1734
1737
  // src/hooks/useWalletInit.ts
1735
1738
  var import_react28 = require("react");
@@ -1741,7 +1744,7 @@ var import_react29 = require("react");
1741
1744
  // src/MatchContext.tsx
1742
1745
  var import_react_query4 = require("@tanstack/react-query");
1743
1746
  var import_react_intl18 = require("react-intl");
1744
- var import_jsx_runtime89 = require("react/jsx-runtime");
1747
+ var import_jsx_runtime90 = require("react/jsx-runtime");
1745
1748
  var queryClient = new import_react_query4.QueryClient();
1746
1749
  var MatchContext = (0, import_react30.createContext)(void 0);
1747
1750
  var useMatch = () => {
@@ -2097,7 +2100,7 @@ var useTransactionStore = (0, import_zustand5.create)((0, import_middleware3.dev
2097
2100
  var useTransactionStore_default = useTransactionStore;
2098
2101
 
2099
2102
  // src/hooks/useWallet.tsx
2100
- var import_jsx_runtime90 = require("react/jsx-runtime");
2103
+ var import_jsx_runtime91 = require("react/jsx-runtime");
2101
2104
  var AppClientId2 = "react-sdk-" + getVersion();
2102
2105
  function useWallet() {
2103
2106
  const { address, wallet: walletConfig } = useLocalStore_default();
@@ -2270,7 +2273,7 @@ function useWallet() {
2270
2273
  address: evmAccount.address
2271
2274
  });
2272
2275
  modal.show((props) => {
2273
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
2276
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
2274
2277
  });
2275
2278
  clearInterval(window.matchProvider.transactionMessageIntervalMap[transactionId].interval);
2276
2279
  delete window.matchProvider.transactionMessageIntervalMap[transactionId];
@@ -2403,7 +2406,7 @@ function useImportTokenListQuery({
2403
2406
  var import_react35 = require("react");
2404
2407
  var import_viem8 = require("viem");
2405
2408
  var import_react_intl19 = require("react-intl");
2406
- var import_jsx_runtime91 = require("react/jsx-runtime");
2409
+ var import_jsx_runtime92 = require("react/jsx-runtime");
2407
2410
  function useMatchChain() {
2408
2411
  const chainListQuery = useChainListQuery();
2409
2412
  const modal = useModal();
@@ -2434,28 +2437,28 @@ function useMatchChain() {
2434
2437
  const { chainId: storeChainId2, setChainId: setChainId2 } = useLocalStore_default();
2435
2438
  const [selectedChainId, setSelectedChainId] = (0, import_react35.useState)(storeChainId2);
2436
2439
  const isDownMd = useDownMd();
2437
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-change-network-box`, children: [
2438
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
2439
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
2440
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-change-network-box`, children: [
2441
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
2442
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
2440
2443
  "div",
2441
2444
  {
2442
2445
  onClick: () => setSelectedChainId(item.id),
2443
2446
  className: `matchid-change-network-item ${selectedChainId == item.id ? "matchid-change-network-selected" : ""}`,
2444
2447
  children: [
2445
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
2446
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
2447
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
2448
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
2449
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
2450
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
2448
2451
  ] }),
2449
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
2452
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
2450
2453
  ]
2451
2454
  },
2452
2455
  index
2453
2456
  );
2454
2457
  }) }),
2455
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
2458
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
2456
2459
  setChainId2(selectedChainId || 0);
2457
2460
  close();
2458
- }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl19.FormattedMessage, { id: "confirm" }) })
2461
+ }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl19.FormattedMessage, { id: "confirm" }) })
2459
2462
  ] });
2460
2463
  }
2461
2464
  const showChangeNetwork = () => {
@@ -2528,7 +2531,7 @@ function useIsContract({
2528
2531
  }
2529
2532
 
2530
2533
  // src/components/ImportToken/index.tsx
2531
- var import_jsx_runtime92 = require("react/jsx-runtime");
2534
+ var import_jsx_runtime93 = require("react/jsx-runtime");
2532
2535
  function ImportToken({ close }) {
2533
2536
  const [status, setStatus] = (0, import_react36.useState)("");
2534
2537
  const { token } = useUserInfo();
@@ -2639,19 +2642,19 @@ function ImportToken({ close }) {
2639
2642
  enabled: canImport
2640
2643
  });
2641
2644
  if (status == "success" || status == "fail") {
2642
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
2643
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
2644
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("img", { src: status == "success" ? success_default : fail_default, alt: status == "success" ? "success" : "fail", className: `matchid-import-token-result-img` }),
2645
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl20.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl20.FormattedMessage, { id: "importFail" }) })
2645
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
2646
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
2647
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: status == "success" ? success_default : fail_default, alt: status == "success" ? "success" : "fail", className: `matchid-import-token-result-img` }),
2648
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl20.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl20.FormattedMessage, { id: "importFail" }) })
2646
2649
  ] }),
2647
- status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl20.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl20.FormattedMessage, { id: "back" }) })
2650
+ status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl20.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl20.FormattedMessage, { id: "back" }) })
2648
2651
  ] });
2649
2652
  }
2650
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-import-token`, children: [
2651
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "matchid-import-token-form", children: [
2652
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Field, { label: intl.formatMessage({
2653
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: `matchid-import-token`, children: [
2654
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-import-token-form", children: [
2655
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Field, { label: intl.formatMessage({
2653
2656
  id: "tokenSmartContract"
2654
- }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
2657
+ }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
2655
2658
  Input,
2656
2659
  {
2657
2660
  placeholder: intl.formatMessage({
@@ -2662,9 +2665,9 @@ function ImportToken({ close }) {
2662
2665
  maxLength: 42
2663
2666
  }
2664
2667
  ) }),
2665
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Field, { label: intl.formatMessage({
2668
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Field, { label: intl.formatMessage({
2666
2669
  id: "tokenSymbol"
2667
- }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
2670
+ }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
2668
2671
  Input,
2669
2672
  {
2670
2673
  placeholder: intl.formatMessage({
@@ -2675,9 +2678,9 @@ function ImportToken({ close }) {
2675
2678
  maxLength: 16
2676
2679
  }
2677
2680
  ) }),
2678
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Field, { label: intl.formatMessage({
2681
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Field, { label: intl.formatMessage({
2679
2682
  id: "tokenDecimals"
2680
- }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
2683
+ }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
2681
2684
  Input,
2682
2685
  {
2683
2686
  placeholder: intl.formatMessage({
@@ -2689,7 +2692,7 @@ function ImportToken({ close }) {
2689
2692
  }
2690
2693
  ) })
2691
2694
  ] }),
2692
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
2695
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
2693
2696
  Button,
2694
2697
  {
2695
2698
  size: "lg",
@@ -2698,14 +2701,14 @@ function ImportToken({ close }) {
2698
2701
  loading: loading || isContractQuery.isLoading,
2699
2702
  disabled: !canImport || !isContractQuery.data,
2700
2703
  highlight: true,
2701
- children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl20.FormattedMessage, { id: "import" })
2704
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl20.FormattedMessage, { id: "import" })
2702
2705
  }
2703
2706
  )
2704
2707
  ] });
2705
2708
  }
2706
2709
 
2707
2710
  // src/hooks/useMatchWallet.tsx
2708
- var import_jsx_runtime93 = require("react/jsx-runtime");
2711
+ var import_jsx_runtime94 = require("react/jsx-runtime");
2709
2712
  var ReceiveModal = () => {
2710
2713
  const chain = useMatchChain();
2711
2714
  const { address } = useWallet();
@@ -2719,10 +2722,10 @@ var ReceiveModal = () => {
2719
2722
  }));
2720
2723
  };
2721
2724
  const chainLink = chain.explorerLink("address/" + address);
2722
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: `matchid-receive-modal`, children: [
2723
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-receive-container", children: [
2724
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl21.FormattedMessage, { id: "receiveQrcode" }) }),
2725
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
2725
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: `matchid-receive-modal`, children: [
2726
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "matchid-receive-container", children: [
2727
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_intl21.FormattedMessage, { id: "receiveQrcode" }) }),
2728
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
2726
2729
  import_react_qrcode.QRCode,
2727
2730
  {
2728
2731
  margin: "0",
@@ -2730,7 +2733,7 @@ var ReceiveModal = () => {
2730
2733
  value: address
2731
2734
  }
2732
2735
  ) }),
2733
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
2736
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
2734
2737
  "a",
2735
2738
  {
2736
2739
  href: chainLink,
@@ -2740,7 +2743,7 @@ var ReceiveModal = () => {
2740
2743
  }
2741
2744
  )
2742
2745
  ] }),
2743
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
2746
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
2744
2747
  import_react_intl21.FormattedMessage,
2745
2748
  {
2746
2749
  id: "copyAddress"