@blockend/widget 1.0.61 → 1.0.63-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AllRoutes-BqW5S4_J.js → AllRoutes-8vhlfGf-.js} +9 -9
- package/dist/{Box-Dw7IJo3D.js → Box-BTaHIEfq.js} +1 -1
- package/dist/{EstGas-C_ldluj6.js → EstGas-CR6YmgrV.js} +7 -7
- package/dist/{Grow-DjneaPQY.js → Grow-BmLMXGpF.js} +2 -2
- package/dist/{InputComp-CWH4SAk7.js → InputComp-BcRHFujR.js} +3 -3
- package/dist/{LoadRoute-Cafzlcfy.js → LoadRoute-D-6AXSyf.js} +4 -4
- package/dist/{QuotesProgress-Covy7wmW.js → QuotesProgress-dZK5t6Af.js} +1 -1
- package/dist/{SwapAsset-BqXVX_DR.js → SwapAsset-Cb1HU2IW.js} +1 -1
- package/dist/{Tooltip-D2kKNQ0U.js → Tooltip-CCJQNWKV.js} +3 -3
- package/dist/{TxnButton-CPMFPFA_.js → TxnButton-Ddhzivbr.js} +3 -3
- package/dist/{add-CRY8asYF.js → add-CXxCm9LT.js} +1 -1
- package/dist/{all-wallets-DOnIRIv0.js → all-wallets-B2k777Go.js} +1 -1
- package/dist/{app-store-C0M9hC1B.js → app-store-BefvqWIr.js} +1 -1
- package/dist/{apple-Bv7oA5AQ.js → apple-xv2wilZw.js} +1 -1
- package/dist/{arrow-bottom-circle-BUny4yP8.js → arrow-bottom-circle-DiCGVTmN.js} +1 -1
- package/dist/{arrow-bottom-D4arnome.js → arrow-bottom-eJR2wz4Q.js} +1 -1
- package/dist/{arrow-left-DImJbKZs.js → arrow-left-eW5rkpGR.js} +1 -1
- package/dist/{arrow-right-BvRPNX9F.js → arrow-right-D_PahEvj.js} +1 -1
- package/dist/{arrow-top-1RWPJImu.js → arrow-top-Cd45U-OK.js} +1 -1
- package/dist/{bank-C0t9JpLj.js → bank-Du_PBJEL.js} +1 -1
- package/dist/{basic-VfgwBHn1.js → basic-Og2t8wfR.js} +3 -3
- package/dist/{browser-0d0uw45D.js → browser-HO6X74Jh.js} +1 -1
- package/dist/{card-BBByykfy.js → card-CjWBCXYA.js} +1 -1
- package/dist/{ccip-8__szz9Q.js → ccip-DHqvWSgS.js} +1 -1
- package/dist/{checkmark-B_osdsm_.js → checkmark-CMLNKLjH.js} +1 -1
- package/dist/{checkmark-bold-BEzepFY4.js → checkmark-bold-CM9EIYV0.js} +1 -1
- package/dist/{chevron-bottom-Bdaxlaxc.js → chevron-bottom-BDaOxnxp.js} +1 -1
- package/dist/{chevron-left-2aCeqxdm.js → chevron-left-BuK5WmH2.js} +1 -1
- package/dist/{chevron-right-BPgQeMPz.js → chevron-right-BMRPUQ7d.js} +1 -1
- package/dist/{chevron-top-BskFpgMP.js → chevron-top-DndcjTpF.js} +1 -1
- package/dist/{chrome-store-CxhEG2Jk.js → chrome-store-BMaWFKtJ.js} +1 -1
- package/dist/{clock-BDgHn083.js → clock-B5OmOXN6.js} +1 -1
- package/dist/{close-CQTa1LZg.js → close-Bkt0qqtO.js} +1 -1
- package/dist/{coinPlaceholder-B-NSV729.js → coinPlaceholder-B9E-pdBA.js} +1 -1
- package/dist/{compass-BdJmk2w2.js → compass-70YC7hlj.js} +1 -1
- package/dist/{copy-Cg4vgr82.js → copy-6xIbuiPA.js} +1 -1
- package/dist/{core-BSwMFU2B.js → core-CIqAJqfO.js} +3 -3
- package/dist/{cursor-BoD_rq0f.js → cursor-XVsA3bFU.js} +1 -1
- package/dist/{cursor-transparent-Dqs1kXcb.js → cursor-transparent-umSbGkB7.js} +1 -1
- package/dist/{desktop-BOxkTik1.js → desktop-CXv5OVB9.js} +1 -1
- package/dist/{disconnect-CTxFyZWa.js → disconnect-Dvhyoj4V.js} +1 -1
- package/dist/{discord-BJRxIhBt.js → discord-BVK5s4WI.js} +1 -1
- package/dist/{down-372J_rRV.js → down-FxTTd1zc.js} +2 -2
- package/dist/{etherscan-CyQf5MH5.js → etherscan-DxlyP6n6.js} +1 -1
- package/dist/{exclamation-triangle-DFOXjtuI.js → exclamation-triangle-iHVFOZzs.js} +1 -1
- package/dist/{extension-XiWSr1Ku.js → extension-DiDqWBcW.js} +1 -1
- package/dist/{external-link-CYjbHRDY.js → external-link-BHW_akeT.js} +1 -1
- package/dist/{facebook-DhP37m2R.js → facebook-BdfpC6Ls.js} +1 -1
- package/dist/{farcaster-C1J2oGt2.js → farcaster-CsPD4_Ee.js} +1 -1
- package/dist/{filters-C5jLy9GP.js → filters-CqRduOsu.js} +1 -1
- package/dist/{getChainIds-AaKb_MmO.js → getChainIds-CJguHdTG.js} +2 -2
- package/dist/{getCosmosAddress-D-F7jz-d.js → getCosmosAddress-Jm1ni4XU.js} +2 -2
- package/dist/{github-CJ8g1by7.js → github-BOePu0Wa.js} +1 -1
- package/dist/{google-DpIVCnNm.js → google-BbTzqlxg.js} +1 -1
- package/dist/{hamburger-BylLGawu.js → hamburger-Co59plQs.js} +5 -5
- package/dist/{help-circle-BESCFGIa.js → help-circle-f8w-O5uS.js} +1 -1
- package/dist/{id-CPX0IEMo.js → id-FJz-6DWQ.js} +1 -1
- package/dist/{image-DrFHyQOS.js → image-BGcjHz_W.js} +1 -1
- package/dist/{index-D0J1OD73.js → index-B1aDjOsb.js} +1973 -1973
- package/dist/{index-DjHDqI7m.js → index-B7BjZ7QD.js} +4 -4
- package/dist/{index-BDezoD7C.js → index-BGtpuYz8.js} +1 -1
- package/dist/{index-H7ThVJwV.js → index-BmpkN5Ku.js} +4 -4
- package/dist/{index-eatshJSd.js → index-By0HLmvg.js} +1005 -1005
- package/dist/{index-DoNokw4Q.js → index-C9NKLe0T.js} +1 -1
- package/dist/{index-D_8iklL2.js → index-CsUXwhXc.js} +434 -432
- package/dist/{index-BOd8pd8c.js → index-DN3VaeWb.js} +11 -11
- package/dist/{index-BheqnLKf.js → index-Qlxj5hfD.js} +78 -78
- package/dist/{index-DO14DPs3.js → index-Yg5537Ua.js} +5 -5
- package/dist/{index-DhZwdjPQ.js → index-uGXbvlKh.js} +2 -2
- package/dist/{index.es-B95K0DgG.js → index.es-DI1TVLSl.js} +1 -1
- package/dist/{index.es-gTtSa0r5.js → index.es-DksqakUY.js} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/{info-DB9XS3BU.js → info-D7az05BN.js} +1 -1
- package/dist/{info-circle-BVB8s9W_.js → info-circle-BJVzgICV.js} +1 -1
- package/dist/{lightbulb-C0eiLvuS.js → lightbulb-BwTw8953.js} +1 -1
- package/dist/{mail-CYcc9yZZ.js → mail-yo0Q-pKc.js} +1 -1
- package/dist/{mobile-Cvm9Skqq.js → mobile-Cq9QgJo1.js} +1 -1
- package/dist/{more-B-UvO1Yo.js → more-CA9mN5hg.js} +1 -1
- package/dist/{network-placeholder-C8QNcwPf.js → network-placeholder-DJgEL8xU.js} +1 -1
- package/dist/{nftPlaceholder-C_LU9tT5.js → nftPlaceholder-BtmwsJfE.js} +1 -1
- package/dist/{off-BEQbMYBZ.js → off-DOBUEPIz.js} +1 -1
- package/dist/{play-store-CEopCauM.js → play-store-CTeI1TUT.js} +1 -1
- package/dist/{plus-CtEYHV2t.js → plus-BIMbqFAs.js} +1 -1
- package/dist/{qr-code-BhmZxeo_.js → qr-code-BNLm2nbm.js} +1 -1
- package/dist/{recycle-horizontal-CF9eqICi.js → recycle-horizontal-CD20fzzc.js} +1 -1
- package/dist/{refresh-Bm3plkBE.js → refresh-vAF43DQ5.js} +1 -1
- package/dist/{reown-logo-8S9ZN_-T.js → reown-logo-QC8cVkw7.js} +1 -1
- package/dist/{search-DNcA47oY.js → search-BEV7hWzk.js} +1 -1
- package/dist/{send-B0S9gHH6.js → send-DQuKJTh-.js} +1 -1
- package/dist/{swapHorizontal-BuTPPB8N.js → swapHorizontal-QlUI5TkM.js} +1 -1
- package/dist/{swapHorizontalBold-BnB-fpce.js → swapHorizontalBold-CxRB7lBz.js} +1 -1
- package/dist/{swapHorizontalMedium-9QnwwjJD.js → swapHorizontalMedium-DR23H9E6.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-C83mxp3u.js → swapHorizontalRoundedBold-CvCYhrA3.js} +1 -1
- package/dist/{swapVertical-BAz7hmKO.js → swapVertical-NpfviMzk.js} +1 -1
- package/dist/{telegram-BMT9bLfw.js → telegram-B2E4bkq4.js} +1 -1
- package/dist/{three-dots-DuhUrXKI.js → three-dots-zOUHoCrw.js} +1 -1
- package/dist/{twitch-ClsoABSi.js → twitch-DvXB4cDF.js} +1 -1
- package/dist/{twitterIcon-B9n98fnH.js → twitterIcon-CkAU-gkN.js} +1 -1
- package/dist/{unsupportedProp-BXmR-9gT.js → unsupportedProp-CR0Bm2eS.js} +1 -1
- package/dist/{useRegisterError-DVG0sgLq.js → useRegisterError-B1UKihdk.js} +1 -1
- package/dist/{verify-BHTa1Niv.js → verify-DcGLVQiP.js} +1 -1
- package/dist/{verify-filled-CqobBYuI.js → verify-filled-DQ3ygXuA.js} +1 -1
- package/dist/{w3m-modal-B7akV0Kp.js → w3m-modal-BJNv805u.js} +2 -2
- package/dist/{wallet-ObJy7yZR.js → wallet-Dyl015cJ.js} +1 -1
- package/dist/{wallet-placeholder-BxVrKpEz.js → wallet-placeholder-DwdGMd_q.js} +1 -1
- package/dist/{walletconnect-CYJbrPQQ.js → walletconnect-Cm10vkxV.js} +1 -1
- package/dist/{warning-circle-DOwgDOgL.js → warning-circle-B_JpskvF.js} +1 -1
- package/dist/{x-B03u0kWD.js → x-BBTlR8TT.js} +1 -1
- package/package.json +1 -1
- package/dist/AllRoutes-CIe7ZLbW.js +0 -2209
- package/dist/Box-QpYIDD-V.js +0 -54
- package/dist/EstGas-Dpwt2-50.js +0 -1574
- package/dist/Grow-L7kyPhbh.js +0 -1656
- package/dist/InputComp-Dl4M7E5v.js +0 -105
- package/dist/LoadRoute-cBSl34Bs.js +0 -125
- package/dist/QuotesProgress-CxJUoCPy.js +0 -28
- package/dist/SwapAsset-CkRat7Ok.js +0 -51
- package/dist/Tooltip-3YpYU_vO.js +0 -572
- package/dist/TxnButton-mfwy-EoQ.js +0 -222
- package/dist/add-Dfrw-dUV.js +0 -19
- package/dist/all-wallets-Dw10lWJZ.js +0 -10
- package/dist/app-store-DJiZFSCr.js +0 -21
- package/dist/apple-kMZGS4AC.js +0 -22
- package/dist/arrow-bottom-DgmWrLqf.js +0 -12
- package/dist/arrow-bottom-circle-C7iPKwzW.js +0 -15
- package/dist/arrow-left-Dol642VI.js +0 -12
- package/dist/arrow-right-CMwyPVT7.js +0 -12
- package/dist/arrow-top-kn9xtx92.js +0 -12
- package/dist/bank-DK-FvDfd.js +0 -18
- package/dist/basic-Sejv2JvX.js +0 -5783
- package/dist/browser-BzT1ACe9.js +0 -18
- package/dist/card-DqDM55a-.js +0 -18
- package/dist/ccip-BPZSey8I.js +0 -228
- package/dist/checkmark-DEKH6rOS.js +0 -15
- package/dist/checkmark-bold-Dzv2hN2Q.js +0 -12
- package/dist/chevron-bottom-CXdHWe0F.js +0 -12
- package/dist/chevron-left-CeuFz3M9.js +0 -12
- package/dist/chevron-right-DikqbHjp.js +0 -12
- package/dist/chevron-top-CjCScawp.js +0 -12
- package/dist/chrome-store-DaP5Y4w2.js +0 -65
- package/dist/clock-BzjZWK68.js +0 -12
- package/dist/close-Dqncm2nY.js +0 -12
- package/dist/coinPlaceholder-BExfa33b.js +0 -12
- package/dist/compass-C1H_fht-.js +0 -12
- package/dist/copy-DPMVX3yZ.js +0 -19
- package/dist/core-BYOwnw_B.js +0 -16521
- package/dist/cursor-transparent-IQlZspwQ.js +0 -16
- package/dist/cursor-ybJpiPr6.js +0 -7
- package/dist/desktop-WMYv3b4Q.js +0 -13
- package/dist/disconnect-eMeec26w.js +0 -12
- package/dist/discord-CpTo4KnZ.js +0 -21
- package/dist/down-hvB7J3FG.js +0 -622
- package/dist/etherscan-DQ1h54d3.js +0 -10
- package/dist/exclamation-triangle-DzKs0-30.js +0 -8
- package/dist/extension-ep1TEUSD.js +0 -12
- package/dist/external-link-DRzzevt_.js +0 -12
- package/dist/facebook-eXS31CP5.js +0 -30
- package/dist/farcaster-f0EPKy4w.js +0 -16
- package/dist/filters-RqawLZYy.js +0 -12
- package/dist/getChainIds-DXEtLb1g.js +0 -1888
- package/dist/getCosmosAddress-X_cfoAnv.js +0 -9517
- package/dist/github-d1vUfc1B.js +0 -22
- package/dist/google-Dtcfyt4F.js +0 -22
- package/dist/hamburger-DezZOKRv.js +0 -3915
- package/dist/help-circle-BTpSg7wr.js +0 -16
- package/dist/id-CV-pIIiZ.js +0 -16
- package/dist/image-n7ODnWNp.js +0 -8
- package/dist/index-BYmiFoJh.js +0 -29495
- package/dist/index-C7McnY5R.js +0 -18509
- package/dist/index-CI-V1HdQ.js +0 -3267
- package/dist/index-CSgWo9Cg.js +0 -6713
- package/dist/index-CViW2kjE.js +0 -13547
- package/dist/index-CoV9zQx1.js +0 -992
- package/dist/index-GlSAE8hE.js +0 -472
- package/dist/index-Pni0gIii.js +0 -206
- package/dist/index-TEYMoNwP.js +0 -9
- package/dist/index-VS3sEqmI.js +0 -330
- package/dist/index-ePnYqYhf.js +0 -1483
- package/dist/index.es-BzyBckd_.js +0 -366
- package/dist/index.es-CMvE7ghR.js +0 -14904
- package/dist/info-DWZmKXfC.js +0 -7
- package/dist/info-circle-Bk9rpQzz.js +0 -16
- package/dist/lightbulb-CUDopurR.js +0 -7
- package/dist/mail-Df9wlUBz.js +0 -12
- package/dist/mobile-DcoUJktC.js +0 -13
- package/dist/more-DbsAB7Xx.js +0 -15
- package/dist/network-placeholder-CnHZLxGT.js +0 -18
- package/dist/nftPlaceholder-D7igGAAq.js +0 -12
- package/dist/off-Brms9nN7.js +0 -12
- package/dist/play-store-z4z-boXn.js +0 -36
- package/dist/plus-LkrIZJEQ.js +0 -17
- package/dist/qr-code-CZnYaNoE.js +0 -10
- package/dist/recycle-horizontal-CeGotUdv.js +0 -13
- package/dist/refresh-CKhWU1dQ.js +0 -12
- package/dist/reown-logo-CF2Qkyw1.js +0 -16
- package/dist/search-DyuAYb_-.js +0 -12
- package/dist/send-BbBOjlsM.js +0 -19
- package/dist/swapHorizontal-DA7yhPfV.js +0 -12
- package/dist/swapHorizontalBold-BujZxwgY.js +0 -12
- package/dist/swapHorizontalMedium-hEBn_MJv.js +0 -20
- package/dist/swapHorizontalRoundedBold-Cqg1Na-5.js +0 -12
- package/dist/swapVertical-D1CdGHJt.js +0 -12
- package/dist/telegram-dDQ2sOw5.js +0 -20
- package/dist/three-dots-ltDeu1Xu.js +0 -9
- package/dist/twitch-sBusnrAt.js +0 -22
- package/dist/twitterIcon-BKMgaEZ4.js +0 -10
- package/dist/unsupportedProp-P9y3_0om.js +0 -10
- package/dist/useRegisterError-DGMdKFc9.js +0 -8918
- package/dist/verify-DXzijLDZ.js +0 -12
- package/dist/verify-filled-DnKqj8X5.js +0 -12
- package/dist/w3m-modal-Cc1j8j_E.js +0 -1471
- package/dist/wallet-placeholder-DEsjd5Nv.js +0 -18
- package/dist/wallet-zL6TDKIa.js +0 -12
- package/dist/walletconnect-CZz6e0wy.js +0 -36
- package/dist/warning-circle-DsGlg2MF.js +0 -16
- package/dist/x-MwPhq03Y.js +0 -16
@@ -1,105 +0,0 @@
|
|
1
|
-
import { jsxs as b, jsx as t, Fragment as k } from "react/jsx-runtime";
|
2
|
-
import { u as n, S as W } from "./index-D0J1OD73.js";
|
3
|
-
import { useState as S, useRef as x } from "react";
|
4
|
-
import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-DVG0sgLq.js";
|
5
|
-
import { useAccount as T, useBalance as A } from "wagmi";
|
6
|
-
import "@dynamic-labs/sdk-react-core";
|
7
|
-
import { c as B, r as G } from "./index-D_8iklL2.js";
|
8
|
-
function H({ amount: w, setAmount: l, fetchBalance: M, getCoinBalance: h, isBalanceLoading: f }) {
|
9
|
-
var d, o;
|
10
|
-
const s = n((a) => a.configuration), e = n((a) => a.fromCoin), r = n((a) => a.fromChain), { isAnyWalletConnected: g } = j({ chainData: r }), [$, z] = S(40), { address: N } = T(), v = x(), { defaultCoin: y } = I;
|
11
|
-
A({
|
12
|
-
address: N,
|
13
|
-
token: B((e == null ? void 0 : e.address) || ""),
|
14
|
-
chainId: Number((r == null ? void 0 : r.chainId) || 0),
|
15
|
-
enabled: (r == null ? void 0 : r.networkType) == "evm"
|
16
|
-
});
|
17
|
-
const c = x(), i = h;
|
18
|
-
return /* @__PURE__ */ b("div", { className: " bw-mb-5 bw-mt-4", children: [
|
19
|
-
/* @__PURE__ */ b("p", { className: "bw-text-sm bw-text-left bw-font-medium bw-mb-1 bw-text-text-secondary", children: [
|
20
|
-
"Give ",
|
21
|
-
(e == null ? void 0 : e.name) || ""
|
22
|
-
] }),
|
23
|
-
/* @__PURE__ */ b(
|
24
|
-
"div",
|
25
|
-
{
|
26
|
-
style: {
|
27
|
-
boxShadow: s && s.customTheme && ((o = (d = s.customTheme) == null ? void 0 : d.shadow) == null ? void 0 : o.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
|
28
|
-
},
|
29
|
-
className: "bw-w-full bw-h-[80px] bw-flex bw-gap-x-1 bw-items-center bw-px-2 bw-bg-background-container bw-rounded-md bw-border bw-border-border-primary",
|
30
|
-
children: [
|
31
|
-
/* @__PURE__ */ b("div", { className: "bw-w-full bw-flex bw-gap-x-2 bw-mt-5 bw-items-start bw-h-full", children: [
|
32
|
-
/* @__PURE__ */ t("div", { className: " bw-flex bw-items-center", children: e != null && e.image ? /* @__PURE__ */ t("div", { className: "bw-rounded-[50%] bw-bg-background-secondary bw-min-w-[40px] bw-w-[40px] bw-min-h-[40px] bw-flex bw-justify-center bw-items-center bw-border bw-border-border-primary", children: /* @__PURE__ */ t("img", { src: e == null ? void 0 : e.image, width: 39, height: 39, alt: "img", className: "bw-rounded-[50%] bw-max-w-[39px] bw-max-h-[39px] bw-object-contain bw-min-w-[39px] bw-min-h-[39px]" }) }) : /* @__PURE__ */ t("div", { className: "bw-min-w-[40px] bw-w-[40px] bw-border bw-border-border-primary bw-min-h-[40px] bw-rounded-[50%] ", children: /* @__PURE__ */ t("img", { src: y, width: 39, height: 39, alt: "img", className: "bw-rounded-[50%] bw-min-w-[38px] bw-min-h-[39px]" }) }) }),
|
33
|
-
/* @__PURE__ */ b("div", { className: "bw-w-full", children: [
|
34
|
-
/* @__PURE__ */ t(
|
35
|
-
"div",
|
36
|
-
{
|
37
|
-
onClick: () => {
|
38
|
-
c.current.focus();
|
39
|
-
},
|
40
|
-
className: " ",
|
41
|
-
children: /* @__PURE__ */ b("div", { className: "bw-text-left", children: [
|
42
|
-
/* @__PURE__ */ b("span", { className: "bw-invisible bw-absolute", ref: v, children: [
|
43
|
-
w,
|
44
|
-
"0"
|
45
|
-
] }),
|
46
|
-
/* @__PURE__ */ t(
|
47
|
-
"input",
|
48
|
-
{
|
49
|
-
ref: c,
|
50
|
-
pattern: "[0-9]*",
|
51
|
-
inputMode: "decimal",
|
52
|
-
autoFocus: !0,
|
53
|
-
onWheel: (a) => a.target.blur(),
|
54
|
-
type: "number",
|
55
|
-
value: w,
|
56
|
-
onChange: (a) => {
|
57
|
-
let m = a.target.value;
|
58
|
-
m.length <= 11 && l(m);
|
59
|
-
},
|
60
|
-
onKeyDown: (a) => {
|
61
|
-
G(a);
|
62
|
-
},
|
63
|
-
placeholder: "0.0",
|
64
|
-
className: "bw-text-2xl md:bw-text-3xl bw-border-none focus:bw-placeholder:bw-opacity-0 placeholder:bw-text-left bw-h-[36px] bw-ml-auto bw-mb-1 bw-pl-1 bw-min-w-[45px] bw-max-w-[200px] bw-font-medium placeholder:bw-text-text-placeholder bw-text-text-primary bw-bg-transparent"
|
65
|
-
}
|
66
|
-
)
|
67
|
-
] })
|
68
|
-
}
|
69
|
-
),
|
70
|
-
/* @__PURE__ */ t("div", { children: e.coin.length && g ? f ? /* @__PURE__ */ t(W, { className: "bw-bg-background-secondary bw-rounded-md bw-h-[18px] bw-w-[100px]" }) : /* @__PURE__ */ b("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
|
71
|
-
/* @__PURE__ */ t(D, { fill: "var(--tw-text-secondary)" }),
|
72
|
-
/* @__PURE__ */ t("p", { className: "bw-text-xs bw-font-medium bw-text-text-secondary", children: /* @__PURE__ */ t(
|
73
|
-
F,
|
74
|
-
{
|
75
|
-
value: p(i),
|
76
|
-
options: {
|
77
|
-
maxDecimals: 10
|
78
|
-
}
|
79
|
-
}
|
80
|
-
) }),
|
81
|
-
/* @__PURE__ */ t(
|
82
|
-
"button",
|
83
|
-
{
|
84
|
-
className: "bw-text-xs bw-font-normal bw-min-w-[37px] bw-h-[18px] bw-rounded-[4px] bw-px-1 bw-border bw-border-border-primary bw-text-text-secondary",
|
85
|
-
onClick: () => {
|
86
|
-
l(u(p(i), 10));
|
87
|
-
},
|
88
|
-
children: "MAX"
|
89
|
-
}
|
90
|
-
)
|
91
|
-
] }) : /* @__PURE__ */ t(k, {}) })
|
92
|
-
] })
|
93
|
-
] }),
|
94
|
-
/* @__PURE__ */ t("div", { className: "bw-flex bw-justify-between bw-items-center", children: /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: /* @__PURE__ */ b("p", { className: ` bw-font-normal bw-pl-2 ${w.length ? "bw-text-text-secondary bw-text-xs md:bw-text-sm" : "bw-text-text-placeholder bw-text-[10px]"}`, children: [
|
95
|
-
"$",
|
96
|
-
u(R(w * (e == null ? void 0 : e.lastPrice)), 10)
|
97
|
-
] }) }) })
|
98
|
-
]
|
99
|
-
}
|
100
|
-
)
|
101
|
-
] });
|
102
|
-
}
|
103
|
-
export {
|
104
|
-
H as default
|
105
|
-
};
|
@@ -1,125 +0,0 @@
|
|
1
|
-
import { jsx as e, jsxs as t, Fragment as m } from "react/jsx-runtime";
|
2
|
-
import { t as te } from "./truncate-D9t92mVX.js";
|
3
|
-
import { u as r, S as o, l as we } from "./index-D0J1OD73.js";
|
4
|
-
import { useState as ie, useEffect as le } from "react";
|
5
|
-
import { s as a } from "./WidgetForm.module-QHJ0-m5f.js";
|
6
|
-
import { G as ce, C as de, S as me } from "./clockIcon-C2W5xvyt.js";
|
7
|
-
import { S as re } from "./down-hvB7J3FG.js";
|
8
|
-
import { e as se } from "./ethertousd-CC_ezooz.js";
|
9
|
-
import { O as H } from "./index-BDezoD7C.js";
|
10
|
-
import { F as J, i as ae } from "./useRegisterError-DVG0sgLq.js";
|
11
|
-
function oe({ fill: n }) {
|
12
|
-
return /* @__PURE__ */ e(
|
13
|
-
"svg",
|
14
|
-
{
|
15
|
-
width: "14",
|
16
|
-
height: "13",
|
17
|
-
viewBox: "0 0 14 13",
|
18
|
-
fill: "none",
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
20
|
-
children: /* @__PURE__ */ e(
|
21
|
-
"path",
|
22
|
-
{
|
23
|
-
d: "M8.96762 0.608257C9.75204 0.81844 10.4162 1.32448 10.8223 2.02798C11.1795 2.64657 11.3164 3.35994 11.2014 4.05707C11.8556 4.29389 12.405 4.76918 12.7621 5.38777L12.7691 5.3999C13.1753 6.10339 13.2814 6.93156 13.0713 7.71597C12.8611 8.50039 12.355 9.16451 11.6515 9.57067L6.18127 12.7289C5.64759 13.0371 4.95884 12.8525 4.65071 12.3188C4.34259 11.7851 4.52714 11.0964 5.06083 10.7883L10.5311 7.63C10.9192 7.40591 11.0525 6.90848 10.8284 6.52034L10.8214 6.50821C10.5973 6.12008 10.0999 5.98679 9.71177 6.21088L4.2415 9.36915C3.70781 9.67727 3.01906 9.49272 2.71094 8.95903C2.39581 8.41322 2.58736 7.7366 3.12105 7.42847L8.59132 4.27021C8.97946 4.04612 9.11274 3.54869 8.88165 3.14842C8.65756 2.76029 8.16013 2.627 7.77199 2.85109L2.30172 6.00936C1.76804 6.31748 1.08629 6.14506 0.771161 5.59924C0.463038 5.06556 0.647589 4.37681 1.18127 4.06868L6.65155 0.910419C7.35504 0.504257 8.18321 0.398074 8.96762 0.608257Z",
|
24
|
-
fill: n,
|
25
|
-
"fill-opacity": "1"
|
26
|
-
}
|
27
|
-
)
|
28
|
-
}
|
29
|
-
);
|
30
|
-
}
|
31
|
-
function ue({ routes: n, handleShowAllRoutes: K, routesData: b, price: Q, amount: X, isRoutesEnabled: v }) {
|
32
|
-
var y, N, F, S, u, k, C, $, E, j, I, L, U, A, G, O, T, z, M, R, _, B, V, q, P, W;
|
33
|
-
const x = n.data, [c, Y] = ie(), l = r((i) => i.gradient), w = r((i) => i.configuration), h = r((i) => i.fromChain), g = r((i) => i.fromCoin), p = r((i) => i.toChain), d = r((i) => i.toCoin), { defaultCoin: D } = ae;
|
34
|
-
le(() => {
|
35
|
-
var i;
|
36
|
-
if (b) {
|
37
|
-
let f = { amountInUSD: 0, amountInNative: 0 }, Z = {};
|
38
|
-
(i = b == null ? void 0 : b.fee) == null || i.forEach((s) => {
|
39
|
-
s.source == "FROM_SOURCE_WALLET" && (f.amountInUSD += Number(s.amountInUSD), f.amountInNative += Number(se(s.amountInToken, s.token.decimals)), Z = { ...s });
|
40
|
-
}), Y({ tempGasObj: f, token: Z });
|
41
|
-
}
|
42
|
-
}, [b]);
|
43
|
-
let ee = (b == null ? void 0 : b.outputAmountDisplay) || "", be = Q.toString(), ne = (N = (y = b == null ? void 0 : b.providerDetails) == null ? void 0 : y.logoUrl) != null && N.length ? (F = b == null ? void 0 : b.providerDetails) == null ? void 0 : F.logoUrl : D;
|
44
|
-
return /* @__PURE__ */ e("div", { className: "bw-mt-2", children: (S = h == null ? void 0 : h.chain) != null && S.length && ((u = g == null ? void 0 : g.coin) != null && u.length) && ((k = p == null ? void 0 : p.chain) != null && k.length) && ((C = d == null ? void 0 : d.coin) != null && C.length) && X.length && v ? n.isSuccess && !((j = (E = ($ = n.data) == null ? void 0 : $.data) == null ? void 0 : E.quotes) != null && j.length) && !n.isFetching ? /* @__PURE__ */ e("div", { className: "bw-bg-background-container bw-text-text-secondary bw-flex bw-justify-center bw-items-center bw-h-[80px] bw-relative bw-flex-col bw-border bw-border-border-primary", children: "No Routes Available" }) : n.isSuccess || n.isLoading || n.isFetching ? /* @__PURE__ */ t("div", { children: [
|
45
|
-
/* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-justify-between", children: [
|
46
|
-
" ",
|
47
|
-
/* @__PURE__ */ t("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: [
|
48
|
-
"Get ",
|
49
|
-
d.name
|
50
|
-
] }),
|
51
|
-
n.isFetching ? /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e("div", { onClick: K, style: { ...w.gradientStyle }, className: `bw-w-[130px] bw-cursor-pointer bw-relative bw-p-[1px] bw-text-transparent bw-text-sm bw-font-normal bw-h-[18px] bw-rounded-xl ${l || `${a.overlayshow} ${(I = w.gradientStyle) != null && I.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`, children: /* @__PURE__ */ e("div", { className: " bw-w-full bw-h-full bw-text-text-secondary bw-relative bw-z-10 bw-bg-background-container bw-flex bw-justify-center bw-items-center bw-text-xs bw-font-normal bw-rounded-xl", children: "Show All Routes" }) })
|
52
|
-
] }),
|
53
|
-
/* @__PURE__ */ t("div", { className: " bw-mt-2", children: [
|
54
|
-
/* @__PURE__ */ t("div", { style: n.isFetching ? {} : { ...w.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || `${(L = w.gradientStyle) != null && L.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"} ${a.overlay}`} `} bw-relative bw-flex bw-justify-center bw-rounded-[8px] bw-w-full bw-p-[1px] bw-h-[86px] `, children: [
|
55
|
-
/* @__PURE__ */ t("div", { className: "bw-w-full bw-h-full bw-flex bw-px-2 bw-pb-3 bw-items-center bw-justify-between bw-bg-background-container rbw-elative bw-z-10 bw-rounded-[8px]", children: [
|
56
|
-
/* @__PURE__ */ t("div", { className: "bw-flex bw-items-start bw-gap-x-2", children: [
|
57
|
-
d != null && d.image && !n.isFetching ? /* @__PURE__ */ e("img", { src: d.image, width: 30, height: 30, className: "bw-mt-1 bw-max-w-[30px] bw-max-h-[30px] bw-object-contain bw-bg-background-secondary bw-rounded-[50%]" }) : /* @__PURE__ */ e(m, {}),
|
58
|
-
/* @__PURE__ */ t("div", { children: [
|
59
|
-
n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-secondary bw-mt-3 bw-rounded-sm bw-h-[36px] bw-min-h-[36px]", animation: "wave", variant: "rectangular", height: 36, width: 250 }) : /* @__PURE__ */ e("p", { className: "bw-text-2xl md:bw-text-3xl bw-mb-1 bw-font-medium bw-text-text-primary", children: /* @__PURE__ */ e(H, { value: ee, decimal: 12 }) }),
|
60
|
-
n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-secondary bw-mt-2 bw-rounded-sm bw-h-[20px] bw-w-[100px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 100 }) : /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
|
61
|
-
/* @__PURE__ */ e(ce, { fill: "var(--tw-text-primary)" }),
|
62
|
-
/* @__PURE__ */ t("p", { className: "bw-text-xs md:bw-text-sm bw-font-medium bw-text-text-primary", children: [
|
63
|
-
"Total Fee:",
|
64
|
-
" $",
|
65
|
-
/* @__PURE__ */ e(J, { value: ((U = c == null ? void 0 : c.tempGasObj) == null ? void 0 : U.amountInUSD) || 0, options: { maxDecimals: 8 } }),
|
66
|
-
" (",
|
67
|
-
/* @__PURE__ */ e(J, { value: ((A = c == null ? void 0 : c.tempGasObj) == null ? void 0 : A.amountInNative) || 0, options: { maxDecimals: 8 } }),
|
68
|
-
` ${((O = (G = c == null ? void 0 : c.token) == null ? void 0 : G.token) == null ? void 0 : O.symbol) || ""})`
|
69
|
-
] })
|
70
|
-
] })
|
71
|
-
] })
|
72
|
-
] }),
|
73
|
-
/* @__PURE__ */ t("div", { className: " bw-text-sm bw-font-medium bw-mt-2 bw-text-text-loaderbar ", children: [
|
74
|
-
n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-secondary bw-w-[50px] bw-rounded-sm bw-h-[20px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 50 }) : /* @__PURE__ */ t("p", { className: "bw-text-text-secondary bw-font-medium bw-text-xs md:bw-text-sm", children: [
|
75
|
-
"$",
|
76
|
-
/* @__PURE__ */ e(H, { value: be, decimal: 10 })
|
77
|
-
] }),
|
78
|
-
n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-secondary bw-w-[50px] bw-mt-2 bw-rounded-sm bw-h-[20px] bw-min-h-[20px] ", variant: "rectangular", animation: "wave", height: 20, width: 50 }) : ((M = (z = (T = x == null ? void 0 : x.data) == null ? void 0 : T.quotes) == null ? void 0 : z[0]) == null ? void 0 : M._id) === b._id ? /* @__PURE__ */ e("div", { style: { ...w.gradientStyle }, className: `${l || `${(R = w.gradientStyle) != null && R.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"} `} bw-mt-3 bw-text-right bw-text-transparent bw-text-[10px] bw-font-bold bw-bg-clip-text ${a.gradienttext}`, children: "BEST" }) : /* @__PURE__ */ e(m, {})
|
79
|
-
] })
|
80
|
-
] }),
|
81
|
-
n.isFetching ? /* @__PURE__ */ e("div", { className: "bw-absolute bw-w-[40px] bw-h-[40px] bw-bottom-[-35%] bw-z-20 ", children: /* @__PURE__ */ e(re, {}) }) : /* @__PURE__ */ e(m, {}),
|
82
|
-
/* @__PURE__ */ t("div", { className: "bw-h-[18px] bw-w-max bw-z-10 bw-min-w-[200px] bw-bg-background-container bw-flex bw-items-center bw-absolute bw-bottom-[-10%]", children: [
|
83
|
-
!n.isFetching && !we.isEmpty(b) ? /* @__PURE__ */ t("div", { className: "bw-flex bw-w-full bw-px-6 bw-items-center bw-gap-x-1", children: [
|
84
|
-
" ",
|
85
|
-
/* @__PURE__ */ t("p", { className: "bw-text-sm bw-w-full bw-text-center bw-flex bw-justify-center bw-items-center bw-font-normal bw-my-1 bw-text-text-secondary", children: [
|
86
|
-
/* @__PURE__ */ e("span", { className: "bw-text-sm bw-font-light", children: "via" }),
|
87
|
-
" ",
|
88
|
-
/* @__PURE__ */ e("img", { src: ne, className: "bw-rounded-[50%] bw-mx-[4px] bw-min-w-[18px] bw-max-h-[18px] bw-min-h-[18px]", width: 18, height: 18 }),
|
89
|
-
((_ = b == null ? void 0 : b.providerDetails) == null ? void 0 : _.name) || "",
|
90
|
-
": ",
|
91
|
-
b == null ? void 0 : b.protocolsUsed[0],
|
92
|
-
((B = b == null ? void 0 : b.protocolsUsed) == null ? void 0 : B.length) <= 1 ? "" : /* @__PURE__ */ t("span", { className: "bw-ml-1 bw-text-xs bw-font-normal", children: [
|
93
|
-
`+${((V = b == null ? void 0 : b.protocolsUsed) == null ? void 0 : V.length) - 1}`,
|
94
|
-
" More"
|
95
|
-
] }),
|
96
|
-
" "
|
97
|
-
] }),
|
98
|
-
" "
|
99
|
-
] }) : /* @__PURE__ */ e(m, {}),
|
100
|
-
/* @__PURE__ */ e("div", { style: n.isFetching ? {} : { ...w.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || ` ${a.overlay} ${(q = w == null ? void 0 : w.gradientStyle) != null && q.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`} bw-absolute bw-right-0 bw-rounded-[50%] bw-w-[4px] bw-h-[4px] ` }),
|
101
|
-
/* @__PURE__ */ e("div", { style: n.isFetching ? {} : { ...w.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || ` ${a.overlay} ${(P = w == null ? void 0 : w.gradientStyle) != null && P.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`} bw-absolute bw-rounded-[50%] bw-w-[4px] bw-h-[4px] ` })
|
102
|
-
] })
|
103
|
-
] }),
|
104
|
-
/* @__PURE__ */ e("div", { className: "bw-bg-background-container bw-flex bw-items-center bw-w-[85%] bw-mx-auto bw-rounded-b-md bw-justify-center bw-h-[60px]", children: n.isFetching ? /* @__PURE__ */ e("div", { className: "bw-mt-6 bw-w-full bw-h-[20px]" }) : /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-4 bw-mt-2 bw-bg-background-container bw-justify-center ", children: [
|
105
|
-
/* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
|
106
|
-
/* @__PURE__ */ e(oe, { fill: "var(--tw-text-secondary)" }),
|
107
|
-
/* @__PURE__ */ e("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: "Fee" }),
|
108
|
-
/* @__PURE__ */ e("p", { className: "bw-text-sm bw-line-through bw-font-medium bw-text-text-secondary", children: "0.1%" }),
|
109
|
-
/* @__PURE__ */ e("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: "0" })
|
110
|
-
] }),
|
111
|
-
/* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
|
112
|
-
/* @__PURE__ */ e(de, { fill: "var(--tw-text-secondary)" }),
|
113
|
-
/* @__PURE__ */ e("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: (b == null ? void 0 : b.estimatedTimeInSeconds) >= 90 ? `${Math.round(te(((b == null ? void 0 : b.estimatedTimeInSeconds) || 60) / 60, 2) || 0)}min` : `${(b == null ? void 0 : b.estimatedTimeInSeconds) || 60} secs` })
|
114
|
-
] }),
|
115
|
-
/* @__PURE__ */ t("div", { className: " bw-gap-x-1 bw-flex bw-items-center bw-text-xs bw-font-normal bw-text-text-primary", children: [
|
116
|
-
/* @__PURE__ */ e(me, { fill: "var(--tw-text-secondary)" }),
|
117
|
-
/* @__PURE__ */ e("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: `${((W = b == null ? void 0 : b.steps) == null ? void 0 : W.length) || ""} step` })
|
118
|
-
] })
|
119
|
-
] }) })
|
120
|
-
] })
|
121
|
-
] }) : v ? /* @__PURE__ */ e("div", { className: "bw-bg-background-container bw-text-text-secondary bw-justify-center bw-items-center bw-h-[80px] bw-relative bw-flex bw-flex-col bw-border bw-border-border-primary", children: "Failed to load routes" }) : /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e(m, {}) });
|
122
|
-
}
|
123
|
-
export {
|
124
|
-
ue as default
|
125
|
-
};
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { jsxs as o, jsx as a, Fragment as m } from "react/jsx-runtime";
|
2
|
-
import { s as l } from "./WidgetForm.module-QHJ0-m5f.js";
|
3
|
-
import { u as g } from "./index-BYmiFoJh.js";
|
4
|
-
function y({ routesData: x, routes: e, quoteTimer: n, amount: c }) {
|
5
|
-
var s, b, d, w;
|
6
|
-
const r = g((i) => i.configuration), t = g((i) => i.gradient);
|
7
|
-
return c && !e.isFetching && typeof e.data < "u" && ((d = (b = (s = e.data) == null ? void 0 : s.data) == null ? void 0 : b.quotes) != null && d.length) && !e.isError ? /* @__PURE__ */ o("div", { className: "bw-flex bw-items-center bw-gap-x-2 bw-justify-between", children: [
|
8
|
-
/* @__PURE__ */ a("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: "New Quote in" }),
|
9
|
-
/* @__PURE__ */ a("div", { className: " bw-w-[250px] bw-flex-1 bw-bg-border-primary bw-h-[3px] bw-overflow-x-hidden", children: /* @__PURE__ */ a(
|
10
|
-
"div",
|
11
|
-
{
|
12
|
-
style: {
|
13
|
-
height: "100%",
|
14
|
-
...r.gradientStyle,
|
15
|
-
width: `${100 - n / x.deadline * 100}%`
|
16
|
-
},
|
17
|
-
className: ` ${t || `${(w = r.gradientStyle) != null && w.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"} ${l.overlay}`} bw-relative `
|
18
|
-
}
|
19
|
-
) }),
|
20
|
-
/* @__PURE__ */ o("div", { style: { ...r.gradientStyle }, className: `${t ? `${t} bw-bg-clip-text bw-text-transparent` : l.gradienttext} bw-relative bw-text-right bw-w-max bw-text-2xl bw-font-semibold bw-text-transparent `, children: [
|
21
|
-
n,
|
22
|
-
"s"
|
23
|
-
] })
|
24
|
-
] }) : /* @__PURE__ */ a(m, {});
|
25
|
-
}
|
26
|
-
export {
|
27
|
-
y as default
|
28
|
-
};
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
2
|
-
import { u as a } from "./index-D0J1OD73.js";
|
3
|
-
function w({ fill1: o, fill2: r }) {
|
4
|
-
return /* @__PURE__ */ s(
|
5
|
-
"svg",
|
6
|
-
{
|
7
|
-
width: "37",
|
8
|
-
height: "37",
|
9
|
-
viewBox: "0 0 37 37",
|
10
|
-
fill: "none",
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
12
|
-
children: [
|
13
|
-
/* @__PURE__ */ t(
|
14
|
-
"circle",
|
15
|
-
{
|
16
|
-
cx: "18.5027",
|
17
|
-
cy: "18.6207",
|
18
|
-
r: "18.2551",
|
19
|
-
transform: "rotate(90 18.5027 18.6207)",
|
20
|
-
fill: o
|
21
|
-
}
|
22
|
-
),
|
23
|
-
/* @__PURE__ */ t(
|
24
|
-
"path",
|
25
|
-
{
|
26
|
-
d: "M14.3655 7.6488L7.58782 16.5705L28.9581 16.5705L28.9581 12.7663L14.3655 12.7663L14.3655 7.6488Z",
|
27
|
-
fill: r,
|
28
|
-
"fill-opacity": "1"
|
29
|
-
}
|
30
|
-
),
|
31
|
-
/* @__PURE__ */ t(
|
32
|
-
"path",
|
33
|
-
{
|
34
|
-
d: "M22.2517 29.0189L29.0294 20.0972L7.65911 20.0972L7.65911 23.9014L22.2517 23.9014L22.2517 29.0189Z",
|
35
|
-
fill: r,
|
36
|
-
"fill-opacity": "1"
|
37
|
-
}
|
38
|
-
)
|
39
|
-
]
|
40
|
-
}
|
41
|
-
);
|
42
|
-
}
|
43
|
-
function p({ handleSwap: o }) {
|
44
|
-
var i, l;
|
45
|
-
const r = a((n) => n.fromCoin), c = a((n) => n.toCoin);
|
46
|
-
let e = ((i = r == null ? void 0 : r.coin) == null ? void 0 : i.length) && ((l = c.coin) == null ? void 0 : l.length);
|
47
|
-
return /* @__PURE__ */ t("div", { onClick: o, className: `${e ? "" : "bw-pointer-events-none"} bw-absolute hover:bw-scale-[0.95] bw-border bw-border-border-primary bw-rounded-[50%] bw-cursor-pointer bw-bg-background-container bw-top-[33%] bw-right-[45%] `, children: /* @__PURE__ */ t(w, { fill1: "var(--tw-background-container)", fill2: e ? "var(--tw-text-primary)" : "var(--tw-text-secondary)" }) });
|
48
|
-
}
|
49
|
-
export {
|
50
|
-
p as default
|
51
|
-
};
|