@matchain/matchid-sdk-react 0.1.51 → 0.1.53-alpha.0
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.
- package/dist/assets/icon/index.d.mts +1 -1
- package/dist/assets/icon/index.d.ts +1 -1
- package/dist/{chunk-VIJ4FUT3.mjs → chunk-LRJDS2OK.mjs} +93 -91
- package/dist/chunk-LRJDS2OK.mjs.map +1 -0
- package/dist/{chunk-UXFJALFG.mjs → chunk-YQHI5BIZ.mjs} +2 -2
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +60 -56
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +28 -25
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +20 -16
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/{index-XzSw1Bym.d.mts → index-0EM3dXJ4.d.mts} +2 -2
- package/dist/{index-k2Uf0F94.d.ts → index-BNNgBoTN.d.ts} +1 -1
- package/dist/{index-BUj9mOrS.d.ts → index-BlYHNOxm.d.ts} +1 -1
- package/dist/{index-DvM6x6e6.d.ts → index-BoIDCH41.d.ts} +1 -1
- package/dist/{index-B-QfwtE5.d.mts → index-Bsfb3Ysq.d.mts} +1 -1
- package/dist/{index-Bmir-Wor.d.mts → index-C29kl7io.d.mts} +1 -1
- package/dist/{index-X_fw5wX_.d.ts → index-C7InzeOC.d.ts} +1 -1
- package/dist/{index-B_o9HBS1.d.mts → index-CGx_yc95.d.mts} +1 -1
- package/dist/{index-DMUZQqNB.d.ts → index-CO1j3Cxc.d.ts} +2 -2
- package/dist/{index-BDoEk1EK.d.ts → index-Ce5JlNJv.d.ts} +2 -2
- package/dist/{index-D5OzNRfu.d.mts → index-CqO8nMTh.d.mts} +2 -2
- package/dist/{index-CDqIk5k2.d.mts → index-CteYYAoN.d.mts} +1 -1
- package/dist/index.css +1 -0
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +96 -94
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-Dd_ExpLx.d.mts → types-Cv5UhCIP.d.mts} +1 -1
- package/dist/{types-Dd_ExpLx.d.ts → types-Cv5UhCIP.d.ts} +1 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/example/dist/assets/TransportWebHID-BwG9Tbw2.js +1 -0
- package/example/dist/assets/bignumber-FiRdtNkj.js +10 -0
- package/example/dist/assets/ccip-CJyR03AW.js +1 -0
- package/example/dist/assets/draggabilly-1Sl0icBA.js +14 -0
- package/example/dist/assets/index-BAfSBdWW.js +1 -0
- package/example/dist/assets/index-CYk2C9XJ.js +1 -0
- package/example/dist/assets/index-CcgesoWE.js +179 -0
- package/example/dist/assets/index-D5RU9xxK.js +3 -0
- package/example/dist/assets/index-D8N4Z5B5.js +1677 -0
- package/example/dist/assets/index-DATAk5xI.js +569 -0
- package/example/dist/assets/index-DN1wW-Mo.js +3 -0
- package/example/dist/assets/index-DxxLiL3_.js +303 -0
- package/example/dist/assets/index-Gy3FXGhr.css +1 -0
- package/example/dist/assets/index-RIWy1Hg7.js +1 -0
- package/example/dist/assets/inherits_browser-BlmhoU4v.js +1 -0
- package/example/dist/assets/solanaEmbed.esm-CNS-QKE2.js +38 -0
- package/example/dist/index.html +14 -0
- package/package.json +1 -1
- package/dist/chunk-VIJ4FUT3.mjs.map +0 -1
- /package/dist/{chunk-UXFJALFG.mjs.map → chunk-YQHI5BIZ.mjs.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
useUserInfo,
|
|
12
12
|
verifyPohApi,
|
|
13
13
|
wallet_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LRJDS2OK.mjs";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./chunk-J5LGTIGS.mjs";
|
|
@@ -94,4 +94,4 @@ export {
|
|
|
94
94
|
user_exports,
|
|
95
95
|
api_exports
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=chunk-
|
|
97
|
+
//# sourceMappingURL=chunk-YQHI5BIZ.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as BTCModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, S as SOLModal, d as TONModal, T as TRONModal, f as TokenDetail, g as TokenSend, h as TokenSendList, j as TransactionList, U as UsernameModal, e as WalletAsset, W as WalletModal } from '../index-
|
|
2
|
-
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-
|
|
1
|
+
export { B as BTCModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, S as SOLModal, d as TONModal, T as TRONModal, f as TokenDetail, g as TokenSend, h as TokenSendList, j as TransactionList, U as UsernameModal, e as WalletAsset, W as WalletModal } from '../index-0EM3dXJ4.mjs';
|
|
2
|
+
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-CGx_yc95.mjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-Cv5UhCIP.mjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@tanstack/react-query/src/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as BTCModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, S as SOLModal, d as TONModal, T as TRONModal, f as TokenDetail, g as TokenSend, h as TokenSendList, j as TransactionList, U as UsernameModal, e as WalletAsset, W as WalletModal } from '../index-
|
|
2
|
-
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-
|
|
1
|
+
export { B as BTCModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, S as SOLModal, d as TONModal, T as TRONModal, f as TokenDetail, g as TokenSend, h as TokenSendList, j as TransactionList, U as UsernameModal, e as WalletAsset, W as WalletModal } from '../index-Ce5JlNJv.js';
|
|
2
|
+
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-BlYHNOxm.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-Cv5UhCIP.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@tanstack/react-query/src/types';
|
package/dist/components/index.js
CHANGED
|
@@ -1903,7 +1903,9 @@ var useStore = (0, import_zustand2.create)((set) => ({
|
|
|
1903
1903
|
walletReady: false,
|
|
1904
1904
|
setWalletReady: (inited) => set({ walletReady: inited }),
|
|
1905
1905
|
tgAppAuthCode: "",
|
|
1906
|
-
setTgAppAuthCode: (code) => set({ tgAppAuthCode: code })
|
|
1906
|
+
setTgAppAuthCode: (code) => set({ tgAppAuthCode: code }),
|
|
1907
|
+
emailLoginKey: "",
|
|
1908
|
+
setEmailLoginKey: (key) => set({ emailLoginKey: key })
|
|
1907
1909
|
}));
|
|
1908
1910
|
var useStore_default = useStore;
|
|
1909
1911
|
|
|
@@ -2545,10 +2547,12 @@ function useImportTokenListQuery({
|
|
|
2545
2547
|
// src/hooks/useMatchChain.tsx
|
|
2546
2548
|
var import_react13 = require("react");
|
|
2547
2549
|
var import_viem5 = require("viem");
|
|
2550
|
+
var import_react_intl2 = require("react-intl");
|
|
2548
2551
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2549
2552
|
function useMatchChain() {
|
|
2550
2553
|
const chainListQuery = useChainListQuery();
|
|
2551
2554
|
const modal = useModal();
|
|
2555
|
+
const intl = (0, import_react_intl2.useIntl)();
|
|
2552
2556
|
const { chainId: storeChainId, setChainId } = useLocalStore_default();
|
|
2553
2557
|
const chainId = (0, import_react13.useMemo)(() => {
|
|
2554
2558
|
if (!chainListQuery.data || !chainListQuery.data.length) {
|
|
@@ -2596,12 +2600,12 @@ function useMatchChain() {
|
|
|
2596
2600
|
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
|
|
2597
2601
|
setChainId2(selectedChainId || 0);
|
|
2598
2602
|
close();
|
|
2599
|
-
}, block: true, children: "
|
|
2603
|
+
}, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_intl2.FormattedMessage, { id: "confirm" }) })
|
|
2600
2604
|
] });
|
|
2601
2605
|
}
|
|
2602
2606
|
const showChangeNetwork = () => {
|
|
2603
2607
|
modal.open({
|
|
2604
|
-
title: "
|
|
2608
|
+
title: intl.formatMessage({ id: "changeNetwork" }),
|
|
2605
2609
|
content: ChangeNetwork
|
|
2606
2610
|
});
|
|
2607
2611
|
};
|
|
@@ -2701,11 +2705,11 @@ var useContractStore = (0, import_zustand4.create)((0, import_middleware3.devtoo
|
|
|
2701
2705
|
var useContractStore_default = useContractStore;
|
|
2702
2706
|
|
|
2703
2707
|
// src/hooks/useMatchWallet.tsx
|
|
2704
|
-
var
|
|
2708
|
+
var import_react_intl4 = require("react-intl");
|
|
2705
2709
|
|
|
2706
2710
|
// src/components/ImportToken/index.tsx
|
|
2707
2711
|
var import_react14 = require("react");
|
|
2708
|
-
var
|
|
2712
|
+
var import_react_intl3 = require("react-intl");
|
|
2709
2713
|
var import_react_query4 = require("@tanstack/react-query");
|
|
2710
2714
|
var import_viem7 = require("viem");
|
|
2711
2715
|
|
|
@@ -3109,7 +3113,7 @@ var useWalletModalStore = (0, import_zustand5.create)((set) => ({
|
|
|
3109
3113
|
|
|
3110
3114
|
// src/components/CEXBindModal/index.tsx
|
|
3111
3115
|
var import_react18 = require("react");
|
|
3112
|
-
var
|
|
3116
|
+
var import_react_intl5 = require("react-intl");
|
|
3113
3117
|
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3114
3118
|
|
|
3115
3119
|
// src/context/BusinessProvider.tsx
|
|
@@ -3128,7 +3132,7 @@ var import_react20 = require("react");
|
|
|
3128
3132
|
|
|
3129
3133
|
// src/MatchContext.tsx
|
|
3130
3134
|
var import_react_query9 = require("@tanstack/react-query");
|
|
3131
|
-
var
|
|
3135
|
+
var import_react_intl6 = require("react-intl");
|
|
3132
3136
|
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3133
3137
|
var queryClient = new import_react_query9.QueryClient();
|
|
3134
3138
|
var MatchContext = (0, import_react21.createContext)(void 0);
|
|
@@ -3155,7 +3159,7 @@ function useUserInfo() {
|
|
|
3155
3159
|
locale,
|
|
3156
3160
|
refreshOverview
|
|
3157
3161
|
} = useLocalStore_default();
|
|
3158
|
-
const { setTgAppAuthCode } = useStore_default();
|
|
3162
|
+
const { setTgAppAuthCode, emailLoginKey, setEmailLoginKey } = useStore_default();
|
|
3159
3163
|
const { events, login } = useMatch();
|
|
3160
3164
|
const { open: SOLOpen } = useSOLModalStore();
|
|
3161
3165
|
const { open: TRONOpen } = useTRONModalStore();
|
|
@@ -3257,7 +3261,7 @@ function useUserInfo() {
|
|
|
3257
3261
|
const getLoginEmailCode = async (email) => {
|
|
3258
3262
|
const res = await getEmailCodeApi(email);
|
|
3259
3263
|
if (isSuccess(res)) {
|
|
3260
|
-
|
|
3264
|
+
setEmailLoginKey(res.data.key);
|
|
3261
3265
|
return res.data.key;
|
|
3262
3266
|
}
|
|
3263
3267
|
throw new Error(res.message);
|
|
@@ -3269,7 +3273,7 @@ function useUserInfo() {
|
|
|
3269
3273
|
try {
|
|
3270
3274
|
const obj = {
|
|
3271
3275
|
email,
|
|
3272
|
-
verification_key:
|
|
3276
|
+
verification_key: emailLoginKey,
|
|
3273
3277
|
verification_code: code
|
|
3274
3278
|
};
|
|
3275
3279
|
const res = await verifyEmailCodeApi(obj);
|
|
@@ -3421,10 +3425,10 @@ function useUserInfo() {
|
|
|
3421
3425
|
|
|
3422
3426
|
// src/components/EmailModal/StepVerify.tsx
|
|
3423
3427
|
var import_react23 = require("react");
|
|
3424
|
-
var
|
|
3428
|
+
var import_react_intl7 = require("react-intl");
|
|
3425
3429
|
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3426
3430
|
function StepVerify(props) {
|
|
3427
|
-
const intl = (0,
|
|
3431
|
+
const intl = (0, import_react_intl7.useIntl)();
|
|
3428
3432
|
const { getLoginEmailCode, loginByEmail } = useUserInfo();
|
|
3429
3433
|
const [error, setError] = (0, import_react23.useState)("");
|
|
3430
3434
|
const [code, setCode] = (0, import_react23.useState)("");
|
|
@@ -3504,7 +3508,7 @@ function StepVerify(props) {
|
|
|
3504
3508
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
|
|
3505
3509
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
|
|
3506
3510
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
|
|
3507
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3511
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_intl7.FormattedMessage, { id: "sendEmailTips" }) })
|
|
3508
3512
|
] })
|
|
3509
3513
|
] }),
|
|
3510
3514
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Field, { label: intl.formatMessage({
|
|
@@ -3538,12 +3542,12 @@ function StepVerify(props) {
|
|
|
3538
3542
|
)
|
|
3539
3543
|
}
|
|
3540
3544
|
) }),
|
|
3541
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3545
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_intl7.FormattedMessage, { id: "continue" }) })
|
|
3542
3546
|
] });
|
|
3543
3547
|
}
|
|
3544
3548
|
|
|
3545
3549
|
// src/components/EmailModal/index.tsx
|
|
3546
|
-
var
|
|
3550
|
+
var import_react_intl8 = require("react-intl");
|
|
3547
3551
|
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3548
3552
|
function EmailModal({
|
|
3549
3553
|
isOpen = false,
|
|
@@ -3554,7 +3558,7 @@ function EmailModal({
|
|
|
3554
3558
|
}) {
|
|
3555
3559
|
const [step, setStep] = (0, import_react24.useState)("input");
|
|
3556
3560
|
const [emailVal, setEmailVal] = (0, import_react24.useState)("");
|
|
3557
|
-
const intl = (0,
|
|
3561
|
+
const intl = (0, import_react_intl8.useIntl)();
|
|
3558
3562
|
(0, import_react24.useEffect)(() => {
|
|
3559
3563
|
if (!isOpen) {
|
|
3560
3564
|
setStep("input");
|
|
@@ -3581,7 +3585,7 @@ function EmailModal({
|
|
|
3581
3585
|
|
|
3582
3586
|
// src/components/LoginBox/index.tsx
|
|
3583
3587
|
var import_react25 = require("react");
|
|
3584
|
-
var
|
|
3588
|
+
var import_react_intl9 = require("react-intl");
|
|
3585
3589
|
|
|
3586
3590
|
// src/hooks/useAppConfig.ts
|
|
3587
3591
|
var import_react_query10 = require("@tanstack/react-query");
|
|
@@ -3696,7 +3700,7 @@ function LoginBox({
|
|
|
3696
3700
|
const [emailOpen, setEmailOpen] = (0, import_react25.useState)(false);
|
|
3697
3701
|
const { login } = useUserInfo();
|
|
3698
3702
|
const [showWallet, setShowWallet] = (0, import_react25.useState)(false);
|
|
3699
|
-
const intl = (0,
|
|
3703
|
+
const intl = (0, import_react_intl9.useIntl)();
|
|
3700
3704
|
const isDownMd = useDownMd();
|
|
3701
3705
|
const methodMap = {
|
|
3702
3706
|
wallet: {
|
|
@@ -3812,7 +3816,7 @@ function LoginBox({
|
|
|
3812
3816
|
);
|
|
3813
3817
|
}) }),
|
|
3814
3818
|
methodConfig.methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "matchid-login-other", children: [
|
|
3815
|
-
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3819
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_react_intl9.FormattedMessage, { id: "otherLoginMethods" }) }),
|
|
3816
3820
|
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "matchid-login-method-box", children: methodConfig.methods.map((m) => {
|
|
3817
3821
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3818
3822
|
"div",
|
|
@@ -3846,7 +3850,7 @@ function LoginBox({
|
|
|
3846
3850
|
var import_react27 = require("react");
|
|
3847
3851
|
|
|
3848
3852
|
// src/components/LoginPanel/index.tsx
|
|
3849
|
-
var
|
|
3853
|
+
var import_react_intl10 = require("react-intl");
|
|
3850
3854
|
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3851
3855
|
function LoginPanel({
|
|
3852
3856
|
header,
|
|
@@ -3857,8 +3861,8 @@ function LoginPanel({
|
|
|
3857
3861
|
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "matchid-login-panel", children: [
|
|
3858
3862
|
header ? header : /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "matchid-login-panel-header", children: [
|
|
3859
3863
|
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
|
|
3860
|
-
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3861
|
-
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3864
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react_intl10.FormattedMessage, { id: "loginTitle" }) }),
|
|
3865
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react_intl10.FormattedMessage, { id: "loginTips" }) })
|
|
3862
3866
|
] }),
|
|
3863
3867
|
onClose && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
|
|
3864
3868
|
] }),
|
|
@@ -3914,7 +3918,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
|
3914
3918
|
}
|
|
3915
3919
|
|
|
3916
3920
|
// src/components/UserPopover/index.tsx
|
|
3917
|
-
var
|
|
3921
|
+
var import_react_intl11 = require("react-intl");
|
|
3918
3922
|
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3919
3923
|
function UserContent() {
|
|
3920
3924
|
const { logout, address, username } = useUserInfo();
|
|
@@ -3949,7 +3953,7 @@ function UserContent() {
|
|
|
3949
3953
|
};
|
|
3950
3954
|
const [usernameOpen, setUsernameOpen] = (0, import_react26.useState)(false);
|
|
3951
3955
|
const [copied, setCopied] = useCopyClipboard();
|
|
3952
|
-
const intl = (0,
|
|
3956
|
+
const intl = (0, import_react_intl11.useIntl)();
|
|
3953
3957
|
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "matchid-user-popover-content", children: [
|
|
3954
3958
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "matchid-user-popover-list", children: [
|
|
3955
3959
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(UserItem, { onClick: () => {
|
|
@@ -3962,7 +3966,7 @@ function UserContent() {
|
|
|
3962
3966
|
id: "setUsername"
|
|
3963
3967
|
}) })
|
|
3964
3968
|
] }),
|
|
3965
|
-
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3969
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_intl11.FormattedMessage, { id: "disconnect" }) }),
|
|
3966
3970
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
|
|
3967
3971
|
setUsernameOpen(false);
|
|
3968
3972
|
}, onSuccess: () => {
|
|
@@ -3978,7 +3982,7 @@ function UserPopover({
|
|
|
3978
3982
|
}
|
|
3979
3983
|
|
|
3980
3984
|
// src/components/LoginButton/index.tsx
|
|
3981
|
-
var
|
|
3985
|
+
var import_react_intl12 = require("react-intl");
|
|
3982
3986
|
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3983
3987
|
function LoginButton({
|
|
3984
3988
|
loginRender,
|
|
@@ -3991,7 +3995,7 @@ function LoginButton({
|
|
|
3991
3995
|
walletMethods,
|
|
3992
3996
|
...props
|
|
3993
3997
|
}) {
|
|
3994
|
-
const intl = (0,
|
|
3998
|
+
const intl = (0, import_react_intl12.useIntl)();
|
|
3995
3999
|
const { isLogin, username } = useUserInfo();
|
|
3996
4000
|
const [loginOpen, setLoginOpen] = (0, import_react27.useState)(false);
|
|
3997
4001
|
if (!isLogin) {
|
|
@@ -4008,7 +4012,7 @@ function LoginButton({
|
|
|
4008
4012
|
),
|
|
4009
4013
|
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
|
|
4010
4014
|
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(UnLoginIcon_default, {}),
|
|
4011
|
-
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4015
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react_intl12.FormattedMessage, { id: "login" }) })
|
|
4012
4016
|
] })
|
|
4013
4017
|
] });
|
|
4014
4018
|
}
|
|
@@ -4022,7 +4026,7 @@ function LoginButton({
|
|
|
4022
4026
|
|
|
4023
4027
|
// src/components/UsernameModal/index.tsx
|
|
4024
4028
|
var import_react28 = require("react");
|
|
4025
|
-
var
|
|
4029
|
+
var import_react_intl13 = require("react-intl");
|
|
4026
4030
|
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
4027
4031
|
var ValidItem = ({
|
|
4028
4032
|
success = false,
|
|
@@ -4078,7 +4082,7 @@ function UsernameModal({
|
|
|
4078
4082
|
setIsSubmitting(false);
|
|
4079
4083
|
}
|
|
4080
4084
|
};
|
|
4081
|
-
const intl = (0,
|
|
4085
|
+
const intl = (0, import_react_intl13.useIntl)();
|
|
4082
4086
|
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
4083
4087
|
id: username ? "editUsernameTitle" : "setUsernameTitle"
|
|
4084
4088
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "matchid-username-box", children: [
|
|
@@ -4113,10 +4117,10 @@ function UsernameModal({
|
|
|
4113
4117
|
] }),
|
|
4114
4118
|
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
|
|
4115
4119
|
marginTop: isDownMd ? "36px" : "64px"
|
|
4116
|
-
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
4120
|
+
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_intl13.FormattedMessage, { id: "confirm" }) }),
|
|
4117
4121
|
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Button, { style: {
|
|
4118
4122
|
marginTop: isDownMd ? "12px" : "24px"
|
|
4119
|
-
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
4123
|
+
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_intl13.FormattedMessage, { id: "cancel" }) })
|
|
4120
4124
|
] }) });
|
|
4121
4125
|
}
|
|
4122
4126
|
|
|
@@ -4137,7 +4141,7 @@ var WalletAdapterNetwork;
|
|
|
4137
4141
|
// src/components/SOLModal/index.tsx
|
|
4138
4142
|
var import_wallet_adapter_wallets = require("@solana/wallet-adapter-wallets");
|
|
4139
4143
|
var import_styles = require("@solana/wallet-adapter-react-ui/styles.css");
|
|
4140
|
-
var
|
|
4144
|
+
var import_react_intl14 = require("react-intl");
|
|
4141
4145
|
|
|
4142
4146
|
// src/components/WalletModalContent/index.tsx
|
|
4143
4147
|
var import_react29 = require("react");
|
|
@@ -4382,7 +4386,7 @@ function SOLConnectModal({
|
|
|
4382
4386
|
onSuccess,
|
|
4383
4387
|
...props
|
|
4384
4388
|
}) {
|
|
4385
|
-
const intl = (0,
|
|
4389
|
+
const intl = (0, import_react_intl14.useIntl)();
|
|
4386
4390
|
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
4387
4391
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
4388
4392
|
}, {
|
|
@@ -4395,7 +4399,7 @@ function SOLModal(props) {
|
|
|
4395
4399
|
|
|
4396
4400
|
// src/components/TRONModal/index.tsx
|
|
4397
4401
|
var import_react32 = __toESM(require("react"));
|
|
4398
|
-
var
|
|
4402
|
+
var import_react_intl15 = require("react-intl");
|
|
4399
4403
|
|
|
4400
4404
|
// src/lib/tron/TronLinkAdapter.ts
|
|
4401
4405
|
var TronLinkAdapter = class {
|
|
@@ -4512,7 +4516,7 @@ function TRONConnectModal({
|
|
|
4512
4516
|
...props
|
|
4513
4517
|
}) {
|
|
4514
4518
|
const isDownMd = useDownMd();
|
|
4515
|
-
const intl = (0,
|
|
4519
|
+
const intl = (0, import_react_intl15.useIntl)();
|
|
4516
4520
|
const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useTRONWallet();
|
|
4517
4521
|
const iconMaps = {
|
|
4518
4522
|
tronlink: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
|
|
@@ -4663,7 +4667,7 @@ function TRONModal(props) {
|
|
|
4663
4667
|
|
|
4664
4668
|
// src/components/TONModal/index.tsx
|
|
4665
4669
|
var import_react33 = __toESM(require("react"));
|
|
4666
|
-
var
|
|
4670
|
+
var import_react_intl16 = require("react-intl");
|
|
4667
4671
|
var import_ui_react = require("@tonconnect/ui-react");
|
|
4668
4672
|
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
4669
4673
|
function WalletContent2({
|
|
@@ -4823,7 +4827,7 @@ function TONConnectModal({
|
|
|
4823
4827
|
onSuccess,
|
|
4824
4828
|
...props
|
|
4825
4829
|
}) {
|
|
4826
|
-
const intl = (0,
|
|
4830
|
+
const intl = (0, import_react_intl16.useIntl)();
|
|
4827
4831
|
const { endpoints, appid } = useLocalStore_default();
|
|
4828
4832
|
const manifestUrl = `${endpoints.back}api/v1/wallet/ton?appid=${appid}&url=` + encodeURIComponent(window.location.origin);
|
|
4829
4833
|
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
@@ -4844,7 +4848,7 @@ function TONModal(props) {
|
|
|
4844
4848
|
|
|
4845
4849
|
// src/components/BTCModal/index.tsx
|
|
4846
4850
|
var import_react35 = __toESM(require("react"));
|
|
4847
|
-
var
|
|
4851
|
+
var import_react_intl17 = require("react-intl");
|
|
4848
4852
|
|
|
4849
4853
|
// src/lib/btc/UnisatAdapter.ts
|
|
4850
4854
|
var UnisatAdapter = class {
|
|
@@ -5034,7 +5038,7 @@ function BTCConnectModal({
|
|
|
5034
5038
|
...props
|
|
5035
5039
|
}) {
|
|
5036
5040
|
const isDownMd = useDownMd();
|
|
5037
|
-
const intl = (0,
|
|
5041
|
+
const intl = (0, import_react_intl17.useIntl)();
|
|
5038
5042
|
const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useBTCWallet();
|
|
5039
5043
|
const iconMaps = {
|
|
5040
5044
|
leather: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
|
|
@@ -5193,14 +5197,14 @@ function BTCModal(props) {
|
|
|
5193
5197
|
|
|
5194
5198
|
// src/components/WalletModal/index.tsx
|
|
5195
5199
|
var import_react36 = require("react");
|
|
5196
|
-
var
|
|
5200
|
+
var import_react_intl18 = require("react-intl");
|
|
5197
5201
|
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
5198
5202
|
function WalletConnectModal({
|
|
5199
5203
|
type,
|
|
5200
5204
|
methods: _methods,
|
|
5201
5205
|
...props
|
|
5202
5206
|
}) {
|
|
5203
|
-
const intl = (0,
|
|
5207
|
+
const intl = (0, import_react_intl18.useIntl)();
|
|
5204
5208
|
const { walletMap } = useWalletConfig();
|
|
5205
5209
|
const { bind, login } = useUserInfo();
|
|
5206
5210
|
const config = useAppConfig();
|
|
@@ -5339,7 +5343,7 @@ function WalletAsset({
|
|
|
5339
5343
|
// src/components/TokenSend/index.tsx
|
|
5340
5344
|
var import_react38 = require("react");
|
|
5341
5345
|
var import_viem11 = require("viem");
|
|
5342
|
-
var
|
|
5346
|
+
var import_react_intl19 = require("react-intl");
|
|
5343
5347
|
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
5344
5348
|
function Input2({
|
|
5345
5349
|
onChange,
|
|
@@ -5372,7 +5376,7 @@ function TokenSend({
|
|
|
5372
5376
|
onBack
|
|
5373
5377
|
}) {
|
|
5374
5378
|
const { list: chainList } = useMatchChain();
|
|
5375
|
-
const intl = (0,
|
|
5379
|
+
const intl = (0, import_react_intl19.useIntl)();
|
|
5376
5380
|
const { createWalletClient: createWalletClient2 } = useWallet();
|
|
5377
5381
|
const isNative = token.address.toLowerCase() == NATIVE_TOKEN_ADDRESS;
|
|
5378
5382
|
const chain = (0, import_react38.useMemo)(() => {
|
|
@@ -5490,11 +5494,11 @@ function TokenSend({
|
|
|
5490
5494
|
window.removeEventListener("message", receiveMessage);
|
|
5491
5495
|
};
|
|
5492
5496
|
}, []);
|
|
5493
|
-
return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5497
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl19.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-send-box`, children: [
|
|
5494
5498
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "matchid-token-send-content", children: [
|
|
5495
5499
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-content`, children: [
|
|
5496
5500
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-header`, children: [
|
|
5497
|
-
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5501
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl19.FormattedMessage, { id: "amount" }) }),
|
|
5498
5502
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
|
|
5499
5503
|
token.icon ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5500
5504
|
"img",
|
|
@@ -5522,7 +5526,7 @@ function TokenSend({
|
|
|
5522
5526
|
),
|
|
5523
5527
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
|
|
5524
5528
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-title`, children: [
|
|
5525
|
-
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5529
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl19.FormattedMessage, { id: "balance" }),
|
|
5526
5530
|
":"
|
|
5527
5531
|
] }),
|
|
5528
5532
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
|
|
@@ -5530,7 +5534,7 @@ function TokenSend({
|
|
|
5530
5534
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
|
|
5531
5535
|
] }),
|
|
5532
5536
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-address-content`, children: [
|
|
5533
|
-
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5537
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl19.FormattedMessage, { id: "receiveTitle" }) }) }),
|
|
5534
5538
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5535
5539
|
Input2,
|
|
5536
5540
|
{
|
|
@@ -5556,14 +5560,14 @@ function TokenSend({
|
|
|
5556
5560
|
disabled: !canSend || !!txError,
|
|
5557
5561
|
onClick: onNext,
|
|
5558
5562
|
loading: loading || sending,
|
|
5559
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5563
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl19.FormattedMessage, { id: "next" })
|
|
5560
5564
|
}
|
|
5561
5565
|
)
|
|
5562
5566
|
] }) });
|
|
5563
5567
|
}
|
|
5564
5568
|
|
|
5565
5569
|
// src/components/TokenDetail/index.tsx
|
|
5566
|
-
var
|
|
5570
|
+
var import_react_intl20 = require("react-intl");
|
|
5567
5571
|
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
5568
5572
|
function TokenDetail({
|
|
5569
5573
|
onClose,
|
|
@@ -5580,7 +5584,7 @@ function TokenDetail({
|
|
|
5580
5584
|
}, onBack: props.close, zIndex: props.zIndex, token });
|
|
5581
5585
|
});
|
|
5582
5586
|
};
|
|
5583
|
-
const intl = (0,
|
|
5587
|
+
const intl = (0, import_react_intl20.useIntl)();
|
|
5584
5588
|
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ModalDrawer, { isOpen: true, title: intl.formatMessage({
|
|
5585
5589
|
id: "tokenDetails"
|
|
5586
5590
|
}), onClose, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-token-detail`, children: [
|
|
@@ -5601,13 +5605,13 @@ function TokenDetail({
|
|
|
5601
5605
|
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "matchid-token-contract-address", children: token.address })
|
|
5602
5606
|
] })
|
|
5603
5607
|
] }),
|
|
5604
|
-
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Button, { size: "lg", block: true, highlight: true, onClick: onSend, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
5608
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Button, { size: "lg", block: true, highlight: true, onClick: onSend, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_intl20.FormattedMessage, { id: "send" }) })
|
|
5605
5609
|
] }) });
|
|
5606
5610
|
}
|
|
5607
5611
|
|
|
5608
5612
|
// src/components/TokenSendList/index.tsx
|
|
5609
5613
|
var import_react39 = require("react");
|
|
5610
|
-
var
|
|
5614
|
+
var import_react_intl21 = require("react-intl");
|
|
5611
5615
|
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
5612
5616
|
function TokenSendList({ close }) {
|
|
5613
5617
|
const isDownMd = useDownMd();
|
|
@@ -5667,7 +5671,7 @@ function TokenSendList({ close }) {
|
|
|
5667
5671
|
index
|
|
5668
5672
|
);
|
|
5669
5673
|
}) }),
|
|
5670
|
-
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
5674
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl21.FormattedMessage, { id: "next" }) })
|
|
5671
5675
|
] });
|
|
5672
5676
|
}
|
|
5673
5677
|
|
|
@@ -5676,7 +5680,7 @@ var import_react_infinite_scroll_component = __toESM(require("react-infinite-scr
|
|
|
5676
5680
|
var import_react40 = require("react");
|
|
5677
5681
|
var import_viem12 = require("viem");
|
|
5678
5682
|
var import_viem13 = require("viem");
|
|
5679
|
-
var
|
|
5683
|
+
var import_react_intl22 = require("react-intl");
|
|
5680
5684
|
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
5681
5685
|
var Item = ({ data }) => {
|
|
5682
5686
|
const { address } = useWallet();
|
|
@@ -5809,7 +5813,7 @@ function TransactionList({
|
|
|
5809
5813
|
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(LoadingIcon_default, { rotate: true, size: 16, color: "black" }),
|
|
5810
5814
|
"Loading..."
|
|
5811
5815
|
] }),
|
|
5812
|
-
endMessage: items.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
5816
|
+
endMessage: items.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_intl22.FormattedMessage, { id: "noMoreRecords" }) }) : /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: `matchid-list-nomore`, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_intl22.FormattedMessage, { id: "noRecords" }) }),
|
|
5813
5817
|
children: items.length == 0 && !hasMore ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "mt-[150px]" }) : /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: `matchid-transaction-list`, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Item, { data: item }, index)) })
|
|
5814
5818
|
}
|
|
5815
5819
|
);
|