@blockend/widget 1.0.60 → 1.0.61
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-Bi2Qb6vT.js → AllRoutes-BqW5S4_J.js} +9 -9
- package/dist/AllRoutes-CIe7ZLbW.js +2209 -0
- package/dist/{Box-DofFTOO9.js → Box-Dw7IJo3D.js} +1 -1
- package/dist/Box-QpYIDD-V.js +54 -0
- package/dist/EstGas-C_ldluj6.js +1576 -0
- package/dist/{EstGas-w0MeYkJr.js → EstGas-Dpwt2-50.js} +7 -7
- package/dist/{Grow-C7qv-xx7.js → Grow-DjneaPQY.js} +2 -2
- package/dist/Grow-L7kyPhbh.js +1656 -0
- package/dist/{InputComp-B7JBOOCL.js → InputComp-CWH4SAk7.js} +3 -3
- package/dist/InputComp-Dl4M7E5v.js +105 -0
- package/dist/{LoadRoute-KBCAhdb3.js → LoadRoute-Cafzlcfy.js} +4 -4
- package/dist/LoadRoute-cBSl34Bs.js +125 -0
- package/dist/{QuotesProgress-DaVjqEE8.js → QuotesProgress-Covy7wmW.js} +1 -1
- package/dist/QuotesProgress-CxJUoCPy.js +28 -0
- package/dist/{SwapAsset-ClNXL1XN.js → SwapAsset-BqXVX_DR.js} +1 -1
- package/dist/SwapAsset-CkRat7Ok.js +51 -0
- package/dist/Tooltip-3YpYU_vO.js +572 -0
- package/dist/{Tooltip-BfAqBg9y.js → Tooltip-D2kKNQ0U.js} +3 -3
- package/dist/TxnButton-CPMFPFA_.js +222 -0
- package/dist/{TxnButton-41zPru_N.js → TxnButton-mfwy-EoQ.js} +3 -3
- package/dist/{add-Dtd6YmCJ.js → add-CRY8asYF.js} +1 -1
- package/dist/add-Dfrw-dUV.js +19 -0
- package/dist/{all-wallets-fWl6fl6Y.js → all-wallets-DOnIRIv0.js} +1 -1
- package/dist/all-wallets-Dw10lWJZ.js +10 -0
- package/dist/{app-store-DSLOwXZY.js → app-store-C0M9hC1B.js} +1 -1
- package/dist/app-store-DJiZFSCr.js +21 -0
- package/dist/{apple-BMDEkk8X.js → apple-Bv7oA5AQ.js} +1 -1
- package/dist/apple-kMZGS4AC.js +22 -0
- package/dist/{arrow-bottom-BWURPGva.js → arrow-bottom-D4arnome.js} +1 -1
- package/dist/arrow-bottom-DgmWrLqf.js +12 -0
- package/dist/{arrow-bottom-circle-BR18TdWN.js → arrow-bottom-circle-BUny4yP8.js} +1 -1
- package/dist/arrow-bottom-circle-C7iPKwzW.js +15 -0
- package/dist/{arrow-left-DSHPaT9f.js → arrow-left-DImJbKZs.js} +1 -1
- package/dist/arrow-left-Dol642VI.js +12 -0
- package/dist/{arrow-right-BQyfcxHk.js → arrow-right-BvRPNX9F.js} +1 -1
- package/dist/arrow-right-CMwyPVT7.js +12 -0
- package/dist/{arrow-top-RP3srPoV.js → arrow-top-1RWPJImu.js} +1 -1
- package/dist/arrow-top-kn9xtx92.js +12 -0
- package/dist/{bank-C9VWqird.js → bank-C0t9JpLj.js} +1 -1
- package/dist/bank-DK-FvDfd.js +18 -0
- package/dist/{basic-ChmJK0Xt.js → basic-Sejv2JvX.js} +3 -3
- package/dist/basic-VfgwBHn1.js +5783 -0
- package/dist/{browser-CSkm7gnt.js → browser-0d0uw45D.js} +1 -1
- package/dist/browser-BzT1ACe9.js +18 -0
- package/dist/{card-qLWgu9c8.js → card-BBByykfy.js} +1 -1
- package/dist/card-DqDM55a-.js +18 -0
- package/dist/{ccip-QF_uXtAt.js → ccip-8__szz9Q.js} +1 -1
- package/dist/ccip-BPZSey8I.js +228 -0
- package/dist/{checkmark-BmzqmMw0.js → checkmark-B_osdsm_.js} +1 -1
- package/dist/checkmark-DEKH6rOS.js +15 -0
- package/dist/{checkmark-bold-B6aImdAf.js → checkmark-bold-BEzepFY4.js} +1 -1
- package/dist/checkmark-bold-Dzv2hN2Q.js +12 -0
- package/dist/{chevron-bottom-t4h4eaxS.js → chevron-bottom-Bdaxlaxc.js} +1 -1
- package/dist/chevron-bottom-CXdHWe0F.js +12 -0
- package/dist/{chevron-left-D3susSgC.js → chevron-left-2aCeqxdm.js} +1 -1
- package/dist/chevron-left-CeuFz3M9.js +12 -0
- package/dist/{chevron-right-W13sAkua.js → chevron-right-BPgQeMPz.js} +1 -1
- package/dist/chevron-right-DikqbHjp.js +12 -0
- package/dist/{chevron-top-Bx-QdB_J.js → chevron-top-BskFpgMP.js} +1 -1
- package/dist/chevron-top-CjCScawp.js +12 -0
- package/dist/{chrome-store-CGxM7IYK.js → chrome-store-CxhEG2Jk.js} +1 -1
- package/dist/chrome-store-DaP5Y4w2.js +65 -0
- package/dist/{clock-DLxk1mp4.js → clock-BDgHn083.js} +1 -1
- package/dist/clock-BzjZWK68.js +12 -0
- package/dist/{close-XyT_Ei7X.js → close-CQTa1LZg.js} +1 -1
- package/dist/close-Dqncm2nY.js +12 -0
- package/dist/{coinPlaceholder-COnVP39c.js → coinPlaceholder-B-NSV729.js} +1 -1
- package/dist/coinPlaceholder-BExfa33b.js +12 -0
- package/dist/{compass-B7Ua__ME.js → compass-BdJmk2w2.js} +1 -1
- package/dist/compass-C1H_fht-.js +12 -0
- package/dist/{copy-CwqmRN0X.js → copy-Cg4vgr82.js} +1 -1
- package/dist/copy-DPMVX3yZ.js +19 -0
- package/dist/{core-HN_b3jpG.js → core-BSwMFU2B.js} +6124 -4570
- package/dist/core-BYOwnw_B.js +16521 -0
- package/dist/{cursor-CZUzCZDa.js → cursor-BoD_rq0f.js} +1 -1
- package/dist/{cursor-transparent-C-iNJp5e.js → cursor-transparent-Dqs1kXcb.js} +1 -1
- package/dist/cursor-transparent-IQlZspwQ.js +16 -0
- package/dist/cursor-ybJpiPr6.js +7 -0
- package/dist/{desktop-CKvUvwiO.js → desktop-BOxkTik1.js} +1 -1
- package/dist/desktop-WMYv3b4Q.js +13 -0
- package/dist/{disconnect-Baq1ttCe.js → disconnect-CTxFyZWa.js} +1 -1
- package/dist/disconnect-eMeec26w.js +12 -0
- package/dist/{discord-D8jJPT-u.js → discord-BJRxIhBt.js} +1 -1
- package/dist/discord-CpTo4KnZ.js +21 -0
- package/dist/{down-CbXkinMO.js → down-372J_rRV.js} +2 -2
- package/dist/down-hvB7J3FG.js +622 -0
- package/dist/{etherscan-DmvsfmlR.js → etherscan-CyQf5MH5.js} +1 -1
- package/dist/etherscan-DQ1h54d3.js +10 -0
- package/dist/{exclamation-triangle-B5sVL0Op.js → exclamation-triangle-DFOXjtuI.js} +1 -1
- package/dist/exclamation-triangle-DzKs0-30.js +8 -0
- package/dist/{extension-DTURW9PD.js → extension-XiWSr1Ku.js} +1 -1
- package/dist/extension-ep1TEUSD.js +12 -0
- package/dist/{external-link-BhiyYwAM.js → external-link-CYjbHRDY.js} +1 -1
- package/dist/external-link-DRzzevt_.js +12 -0
- package/dist/{facebook-BKU8pCSU.js → facebook-DhP37m2R.js} +1 -1
- package/dist/facebook-eXS31CP5.js +30 -0
- package/dist/{farcaster-aPuBoT-f.js → farcaster-C1J2oGt2.js} +1 -1
- package/dist/farcaster-f0EPKy4w.js +16 -0
- package/dist/{filters-Dhcy_bWD.js → filters-C5jLy9GP.js} +1 -1
- package/dist/filters-RqawLZYy.js +12 -0
- package/dist/{getChainIds-hFBaLC3P.js → getChainIds-AaKb_MmO.js} +2 -2
- package/dist/getChainIds-DXEtLb1g.js +1888 -0
- package/dist/{getCosmosAddress-wW2QvGf4.js → getCosmosAddress-D-F7jz-d.js} +2 -2
- package/dist/getCosmosAddress-X_cfoAnv.js +9517 -0
- package/dist/{github-DpOcHBpK.js → github-CJ8g1by7.js} +1 -1
- package/dist/github-d1vUfc1B.js +22 -0
- package/dist/{google-Dlr5X4XZ.js → google-DpIVCnNm.js} +1 -1
- package/dist/google-Dtcfyt4F.js +22 -0
- package/dist/{hamburger-CbTP1z8e.js → hamburger-BylLGawu.js} +5 -5
- package/dist/hamburger-DezZOKRv.js +3915 -0
- package/dist/{help-circle-DfsreI1-.js → help-circle-BESCFGIa.js} +1 -1
- package/dist/help-circle-BTpSg7wr.js +16 -0
- package/dist/{id-CgVrDv4g.js → id-CPX0IEMo.js} +1 -1
- package/dist/id-CV-pIIiZ.js +16 -0
- package/dist/{image-BgZMfISb.js → image-DrFHyQOS.js} +1 -1
- package/dist/image-n7ODnWNp.js +8 -0
- package/dist/{index-CzIE4OVR.js → index-BDezoD7C.js} +1 -1
- package/dist/{index-DEzMTwnP.js → index-BOd8pd8c.js} +11 -11
- package/dist/index-BYmiFoJh.js +29495 -0
- package/dist/index-BheqnLKf.js +992 -0
- package/dist/{index-ij8WLtCK.js → index-C7McnY5R.js} +10 -10
- package/dist/{index-Dfnahm9u.js → index-CI-V1HdQ.js} +4 -4
- package/dist/{index-CQef3aFT.js → index-CSgWo9Cg.js} +5 -5
- package/dist/index-CViW2kjE.js +13547 -0
- package/dist/{index-W17Yun1B.js → index-CoV9zQx1.js} +78 -78
- package/dist/{index-BzlNNUJC.js → index-D0J1OD73.js} +4 -4
- package/dist/index-DO14DPs3.js +6713 -0
- package/dist/{index-BNAc3BNQ.js → index-D_8iklL2.js} +7 -7
- package/dist/{index-D-h2D2T4.js → index-DhZwdjPQ.js} +2 -2
- package/dist/{index-cmkdh21h.js → index-DjHDqI7m.js} +4 -4
- package/dist/{index-Doq8prid.js → index-DoNokw4Q.js} +1 -1
- package/dist/index-GlSAE8hE.js +472 -0
- package/dist/index-H7ThVJwV.js +3267 -0
- package/dist/index-Pni0gIii.js +206 -0
- package/dist/index-TEYMoNwP.js +9 -0
- package/dist/index-VS3sEqmI.js +330 -0
- package/dist/index-ePnYqYhf.js +1483 -0
- package/dist/index-eatshJSd.js +18509 -0
- package/dist/{index.es-DznYPOeF.js → index.es-B95K0DgG.js} +1 -1
- package/dist/index.es-BzyBckd_.js +366 -0
- package/dist/index.es-CMvE7ghR.js +14904 -0
- package/dist/index.es-gTtSa0r5.js +14904 -0
- package/dist/index.es.js +1 -1
- package/dist/{info-CZQMmcBD.js → info-DB9XS3BU.js} +1 -1
- package/dist/info-DWZmKXfC.js +7 -0
- package/dist/{info-circle-CA3WSSRD.js → info-circle-BVB8s9W_.js} +1 -1
- package/dist/info-circle-Bk9rpQzz.js +16 -0
- package/dist/{lightbulb-8ISYXfUt.js → lightbulb-C0eiLvuS.js} +1 -1
- package/dist/lightbulb-CUDopurR.js +7 -0
- package/dist/{mail-CHIth09p.js → mail-CYcc9yZZ.js} +1 -1
- package/dist/mail-Df9wlUBz.js +12 -0
- package/dist/{mobile-CrFtClXb.js → mobile-Cvm9Skqq.js} +1 -1
- package/dist/mobile-DcoUJktC.js +13 -0
- package/dist/{more-mHern-4V.js → more-B-UvO1Yo.js} +1 -1
- package/dist/more-DbsAB7Xx.js +15 -0
- package/dist/{network-placeholder-CoODkTLk.js → network-placeholder-C8QNcwPf.js} +1 -1
- package/dist/network-placeholder-CnHZLxGT.js +18 -0
- package/dist/{nftPlaceholder-CG7DC4DT.js → nftPlaceholder-C_LU9tT5.js} +1 -1
- package/dist/nftPlaceholder-D7igGAAq.js +12 -0
- package/dist/{off-CrgcN-zp.js → off-BEQbMYBZ.js} +1 -1
- package/dist/off-Brms9nN7.js +12 -0
- package/dist/{play-store-CQP9kqkp.js → play-store-CEopCauM.js} +1 -1
- package/dist/play-store-z4z-boXn.js +36 -0
- package/dist/{plus-DHA7xDuc.js → plus-CtEYHV2t.js} +1 -1
- package/dist/plus-LkrIZJEQ.js +17 -0
- package/dist/{qr-code-zibhnzKq.js → qr-code-BhmZxeo_.js} +1 -1
- package/dist/qr-code-CZnYaNoE.js +10 -0
- package/dist/{recycle-horizontal-DywyCULr.js → recycle-horizontal-CF9eqICi.js} +1 -1
- package/dist/recycle-horizontal-CeGotUdv.js +13 -0
- package/dist/{refresh-e2GocWQK.js → refresh-Bm3plkBE.js} +1 -1
- package/dist/refresh-CKhWU1dQ.js +12 -0
- package/dist/{reown-logo-BU64qOXz.js → reown-logo-8S9ZN_-T.js} +1 -1
- package/dist/reown-logo-CF2Qkyw1.js +16 -0
- package/dist/{search-DzxpvkH-.js → search-DNcA47oY.js} +1 -1
- package/dist/search-DyuAYb_-.js +12 -0
- package/dist/{send-r9Pjl4vo.js → send-B0S9gHH6.js} +1 -1
- package/dist/send-BbBOjlsM.js +19 -0
- package/dist/{swapHorizontal-BTrXWq48.js → swapHorizontal-BuTPPB8N.js} +1 -1
- package/dist/swapHorizontal-DA7yhPfV.js +12 -0
- package/dist/{swapHorizontalBold-CJqWkgp6.js → swapHorizontalBold-BnB-fpce.js} +1 -1
- package/dist/swapHorizontalBold-BujZxwgY.js +12 -0
- package/dist/{swapHorizontalMedium-DX7hDgRK.js → swapHorizontalMedium-9QnwwjJD.js} +1 -1
- package/dist/swapHorizontalMedium-hEBn_MJv.js +20 -0
- package/dist/{swapHorizontalRoundedBold-C51tXWKa.js → swapHorizontalRoundedBold-C83mxp3u.js} +1 -1
- package/dist/swapHorizontalRoundedBold-Cqg1Na-5.js +12 -0
- package/dist/{swapVertical-Crddwuzr.js → swapVertical-BAz7hmKO.js} +1 -1
- package/dist/swapVertical-D1CdGHJt.js +12 -0
- package/dist/{telegram-BC6rpZd8.js → telegram-BMT9bLfw.js} +1 -1
- package/dist/telegram-dDQ2sOw5.js +20 -0
- package/dist/{three-dots-DC9iZV71.js → three-dots-DuhUrXKI.js} +1 -1
- package/dist/three-dots-ltDeu1Xu.js +9 -0
- package/dist/{twitch-Dqthmddu.js → twitch-ClsoABSi.js} +1 -1
- package/dist/twitch-sBusnrAt.js +22 -0
- package/dist/{twitterIcon-DIWxOs67.js → twitterIcon-B9n98fnH.js} +1 -1
- package/dist/twitterIcon-BKMgaEZ4.js +10 -0
- package/dist/{unsupportedProp-BW6bMgdV.js → unsupportedProp-BXmR-9gT.js} +1 -1
- package/dist/unsupportedProp-P9y3_0om.js +10 -0
- package/dist/{useRegisterError-D0oAcJrb.js → useRegisterError-DGMdKFc9.js} +1 -1
- package/dist/useRegisterError-DVG0sgLq.js +8918 -0
- package/dist/{verify-GrViE51Y.js → verify-BHTa1Niv.js} +1 -1
- package/dist/verify-DXzijLDZ.js +12 -0
- package/dist/{verify-filled-Cws_QO3X.js → verify-filled-CqobBYuI.js} +1 -1
- package/dist/verify-filled-DnKqj8X5.js +12 -0
- package/dist/{w3m-modal-n7hzVP_I.js → w3m-modal-B7akV0Kp.js} +2 -2
- package/dist/w3m-modal-Cc1j8j_E.js +1471 -0
- package/dist/{wallet-Cd1ruTUh.js → wallet-ObJy7yZR.js} +1 -1
- package/dist/{wallet-placeholder-Ce4gGswZ.js → wallet-placeholder-BxVrKpEz.js} +1 -1
- package/dist/wallet-placeholder-DEsjd5Nv.js +18 -0
- package/dist/wallet-zL6TDKIa.js +12 -0
- package/dist/{walletconnect-CqpJhu9-.js → walletconnect-CYJbrPQQ.js} +1 -1
- package/dist/walletconnect-CZz6e0wy.js +36 -0
- package/dist/{warning-circle-DQ6ZS1NO.js → warning-circle-DOwgDOgL.js} +1 -1
- package/dist/warning-circle-DsGlg2MF.js +16 -0
- package/dist/{x-CR749er2.js → x-B03u0kWD.js} +1 -1
- package/dist/x-MwPhq03Y.js +16 -0
- package/package.json +1 -1
- package/dist/index.es-C8qSCFHh.js +0 -13234
@@ -0,0 +1,206 @@
|
|
1
|
+
import { jsxs as c, jsx as r, Fragment as A } from "react/jsx-runtime";
|
2
|
+
import O, { useContext as J, useState as y, useEffect as g, useRef as K } from "react";
|
3
|
+
import { a as Q, e as V, T as W, H as X, b as F, c as Y, E as Z, d as R } from "./EstGas-Dpwt2-50.js";
|
4
|
+
import { u as s, l as ee } from "./index-BYmiFoJh.js";
|
5
|
+
import { i as U, C as L, A as te } from "./useRegisterError-DGMdKFc9.js";
|
6
|
+
import { B as re } from "./Box-Dw7IJo3D.js";
|
7
|
+
function ne() {
|
8
|
+
var d, w, a, e, u, b, m, p, x, l, h, C, v, S;
|
9
|
+
const t = s((T) => T.persist), n = s((T) => T.configuration), { defaultCoin: i } = U;
|
10
|
+
let f = (a = (w = (d = t == null ? void 0 : t.route) == null ? void 0 : d.providerDetails) == null ? void 0 : w.logoUrl) != null && a.length ? (u = (e = t == null ? void 0 : t.route) == null ? void 0 : e.providerDetails) == null ? void 0 : u.logoUrl : i;
|
11
|
+
return ee.isEmpty(t.route) ? /* @__PURE__ */ r(A, {}) : /* @__PURE__ */ c("div", { className: "bw-relative bw-mt-4 bw-flex bw-justify-center ", children: [
|
12
|
+
/* @__PURE__ */ r(
|
13
|
+
"div",
|
14
|
+
{
|
15
|
+
style: {
|
16
|
+
boxShadow: n && n.customTheme && ((m = (b = n.customTheme) == null ? void 0 : b.shadow) == null ? void 0 : m.boxShadow) || "1px 1px 10px 3px rgba(0, 0, 0, 0.15)"
|
17
|
+
},
|
18
|
+
className: "bw-w-[200px] bw-rounded-[50%] bw-absolute bw-right-auto bw-z-0 bw-left-auto bw-h-[40px]"
|
19
|
+
}
|
20
|
+
),
|
21
|
+
/* @__PURE__ */ c("div", { className: "bw-flex bw-relative bw-bg-background-container bw-z-10 bw-mx-auto bw-h-[41px] bw-w-[70%] bw-border-[0.5px] bw-border-border-primary bw-border-r-0 bw-border-l-0 bw-items-center bw-gap-x-1", children: [
|
22
|
+
" ",
|
23
|
+
/* @__PURE__ */ c("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-primary", children: [
|
24
|
+
/* @__PURE__ */ r("span", { className: "bw-text-sm bw-font-light", children: "via" }),
|
25
|
+
" ",
|
26
|
+
/* @__PURE__ */ r("img", { src: f, className: "bw-rounded-[50%] bw-mx-[4px] bw-min-w-[18px] bw-max-h-[18px] bw-min-h-[18px]", width: 18, height: 18 }),
|
27
|
+
((x = (p = t == null ? void 0 : t.route) == null ? void 0 : p.providerDetails) == null ? void 0 : x.name) || "",
|
28
|
+
": ",
|
29
|
+
(l = t == null ? void 0 : t.route) == null ? void 0 : l.protocolsUsed[0],
|
30
|
+
((C = (h = t == null ? void 0 : t.route) == null ? void 0 : h.protocolsUsed) == null ? void 0 : C.length) <= 1 ? "" : /* @__PURE__ */ c("span", { className: "bw-ml-1 bw-text-xs bw-font-normal bw-leading-6", children: [
|
31
|
+
`+${((S = (v = t == null ? void 0 : t.route) == null ? void 0 : v.protocolsUsed) == null ? void 0 : S.length) - 1}`,
|
32
|
+
" More"
|
33
|
+
] }),
|
34
|
+
" "
|
35
|
+
] }),
|
36
|
+
" "
|
37
|
+
] })
|
38
|
+
] });
|
39
|
+
}
|
40
|
+
let E;
|
41
|
+
function oe() {
|
42
|
+
var u, b, m, p, x;
|
43
|
+
const t = s((l) => l.configuration), n = s((l) => l.persist), i = s((l) => l.setPersist), { isErrorMessage: f } = J(Q), d = Math.floor(((/* @__PURE__ */ new Date()).getTime() - n.quoteStartTime) / 1e3);
|
44
|
+
let w = ((u = n == null ? void 0 : n.route) == null ? void 0 : u.deadline) || 60;
|
45
|
+
const [a, e] = y(w);
|
46
|
+
return g(() => {
|
47
|
+
d && e(w - d);
|
48
|
+
}, []), g(() => (E = setInterval(() => {
|
49
|
+
e((l) => {
|
50
|
+
var h;
|
51
|
+
return l <= 0 ? (clearInterval(E), i({
|
52
|
+
...(h = s.getState()) == null ? void 0 : h.persist,
|
53
|
+
isQuoteTimer: !1,
|
54
|
+
showAcceptQuote: !0,
|
55
|
+
quoteStartTime: (/* @__PURE__ */ new Date()).getTime()
|
56
|
+
}), 0) : l - 1;
|
57
|
+
});
|
58
|
+
}, 1e3), () => clearInterval(E)), []), g(() => {
|
59
|
+
(f || !n.isQuoteTimer) && clearInterval(E);
|
60
|
+
}, [f, n.isQuoteTimer]), !(n != null && n.hash) && n.quote === "enable" ? /* @__PURE__ */ c("div", { className: "bw-absolute bw-top-0 bw-right-0 ", children: [
|
61
|
+
/* @__PURE__ */ r("svg", { className: "bw-absolute bw-w-[20px] bw-h-[20px]", children: /* @__PURE__ */ c("linearGradient", { id: "linearColors", x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
62
|
+
/* @__PURE__ */ r("stop", { offset: "1%", stopColor: (b = t == null ? void 0 : t.gradientStyle) != null && b.spinnerColor ? (m = t == null ? void 0 : t.gradientStyle) == null ? void 0 : m.spinnerColor : "#A45EFF" }),
|
63
|
+
/* @__PURE__ */ r("stop", { offset: "90%", stopColor: (p = t == null ? void 0 : t.gradientStyle) != null && p.spinnerColor ? (x = t == null ? void 0 : t.gradientStyle) == null ? void 0 : x.stopColor : "#2CFFE4" })
|
64
|
+
] }) }),
|
65
|
+
/* @__PURE__ */ c(
|
66
|
+
re,
|
67
|
+
{
|
68
|
+
sx: {
|
69
|
+
position: "relative",
|
70
|
+
display: "inline-flex"
|
71
|
+
},
|
72
|
+
children: [
|
73
|
+
/* @__PURE__ */ r(
|
74
|
+
L,
|
75
|
+
{
|
76
|
+
variant: "determinate",
|
77
|
+
sx: {
|
78
|
+
color: "var(--tw-border-primary)"
|
79
|
+
},
|
80
|
+
size: 20,
|
81
|
+
thickness: 2,
|
82
|
+
value: 100
|
83
|
+
}
|
84
|
+
),
|
85
|
+
/* @__PURE__ */ r(
|
86
|
+
L,
|
87
|
+
{
|
88
|
+
variant: "determinate",
|
89
|
+
size: 20,
|
90
|
+
thickness: 5,
|
91
|
+
value: a / w * 100,
|
92
|
+
sx: {
|
93
|
+
"svg circle": { stroke: "url(#linearColors)" },
|
94
|
+
position: "absolute",
|
95
|
+
left: 0,
|
96
|
+
[`& .${te.circle}`]: {
|
97
|
+
strokeLinecap: "round"
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
)
|
102
|
+
]
|
103
|
+
}
|
104
|
+
)
|
105
|
+
] }) : /* @__PURE__ */ r(A, {});
|
106
|
+
}
|
107
|
+
const ae = O.memo(function({ handleOpenExchange: t, amount: n, route: i, resetAmount: f, resetBalance: d, setExchange: w }) {
|
108
|
+
var k, D;
|
109
|
+
const a = s((o) => o.setPersist), e = s((o) => o.persist), u = s((o) => o.fromChain), b = s((o) => o.fromCoin), m = s((o) => o.toChain), p = s((o) => o.toCoin), [x, l] = y(!1), [h, C] = y(!1), [v, S] = y(!1), [T, q] = y({}), B = !e.stepData, { txnupdate: G, refunded: H } = U;
|
110
|
+
g(() => {
|
111
|
+
var o, j, M, z;
|
112
|
+
i != null && i.routeId && a({
|
113
|
+
...(o = s.getState()) == null ? void 0 : o.persist,
|
114
|
+
routeId: i == null ? void 0 : i.routeId,
|
115
|
+
route: i,
|
116
|
+
toChain: m,
|
117
|
+
toCoin: p,
|
118
|
+
fromChain: u,
|
119
|
+
fromCoin: b,
|
120
|
+
amount: n,
|
121
|
+
quote: "enable",
|
122
|
+
openAt: (/* @__PURE__ */ new Date()).getTime(),
|
123
|
+
startTime: ((z = (M = (j = s) == null ? void 0 : j.getState()) == null ? void 0 : M.persist) == null ? void 0 : z.startTime) || (/* @__PURE__ */ new Date()).getTime()
|
124
|
+
});
|
125
|
+
}, [i]);
|
126
|
+
function I(o) {
|
127
|
+
l(o);
|
128
|
+
}
|
129
|
+
function N() {
|
130
|
+
((e == null ? void 0 : e.openAt) + 60 * 60 * 1e3 - (/* @__PURE__ */ new Date()).getTime()) / 1e3 / 60 <= 0 && document.visibilityState === "visible" && (a({ allSteps: { steps: null, currentStep: 0 }, stepData: {} }), t(), f());
|
131
|
+
}
|
132
|
+
g(() => (e != null && e.openAt && window.addEventListener("visibilitychange", N), () => {
|
133
|
+
window.removeEventListener("visibilitychange", N);
|
134
|
+
}), [e == null ? void 0 : e.openAt]), g(() => (e != null && e.openAt && window.addEventListener("load", N), () => {
|
135
|
+
window.removeEventListener("load", N);
|
136
|
+
}), [e == null ? void 0 : e.openAt]);
|
137
|
+
function _(o) {
|
138
|
+
C(o);
|
139
|
+
}
|
140
|
+
function $(o) {
|
141
|
+
S(o);
|
142
|
+
}
|
143
|
+
function P() {
|
144
|
+
t(), a({ allSteps: { steps: null, currentStep: 0 }, stepData: {} }), h && d();
|
145
|
+
}
|
146
|
+
return /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r(W.Provider, { value: { isTxnSuccessful: h, handleTxnSuccess: _ }, children: /* @__PURE__ */ r(Q.Provider, { value: { isErrorMessage: v, handleErrorMessage: $, errorMessage: T, setErrorMessage: q }, children: /* @__PURE__ */ c("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: [
|
147
|
+
/* @__PURE__ */ r(X, { handleBack: P }),
|
148
|
+
/* @__PURE__ */ r("div", { className: "bw-mt-[-20px] ", children: /* @__PURE__ */ r(ne, {}) }),
|
149
|
+
e != null && e.isQuoteTimer ? /* @__PURE__ */ r(oe, {}) : /* @__PURE__ */ r(A, {}),
|
150
|
+
/* @__PURE__ */ r("div", { className: "bw-flex bw-justify-between bw-items-center" }),
|
151
|
+
/* @__PURE__ */ c("div", { className: "bw-flex bw-w-full bw-mt-4 bw-justify-between bw-items-center", children: [
|
152
|
+
/* @__PURE__ */ c("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
153
|
+
/* @__PURE__ */ r("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Send" }),
|
154
|
+
/* @__PURE__ */ r(F, { amount: e == null ? void 0 : e.amount, coinData: e.fromCoin, chainData: e.fromChain, field: "from" })
|
155
|
+
] }),
|
156
|
+
v ? /* @__PURE__ */ r("div", { className: "bw-border bw-mt-5 bw-w-[65px] bw-h-[65px] bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-container bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ", children: ((k = e == null ? void 0 : e.statusData) == null ? void 0 : k.status) === "refunded" ? /* @__PURE__ */ r("img", { src: H, width: 33, height: 30, alt: "img" }) : /* @__PURE__ */ r("img", { src: G, width: 33, height: 30, alt: "img" }) }) : /* @__PURE__ */ r(Y, { isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x, startTimer: I, error: v }),
|
157
|
+
/* @__PURE__ */ r("div", { className: "bw-w-full bw-z-0 md:bw-w-full bw-mt-5 bw-absolute bw-h-[1px] bw-bg-border-primary " }),
|
158
|
+
/* @__PURE__ */ c("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
159
|
+
/* @__PURE__ */ r("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Receive" }),
|
160
|
+
/* @__PURE__ */ r(F, { amount: Number(((D = e == null ? void 0 : e.route) == null ? void 0 : D.outputAmountDisplay) || ""), coinData: e == null ? void 0 : e.toCoin, chainData: e == null ? void 0 : e.toChain, field: "to" })
|
161
|
+
] })
|
162
|
+
] }),
|
163
|
+
/* @__PURE__ */ c("div", { className: "bw-h-[320px] bw-pr-1 bw-flex bw-flex-col bw-mt-8 bw-overflow-y-auto", children: [
|
164
|
+
B ? /* @__PURE__ */ r(A, {}) : /* @__PURE__ */ r(Z, {}),
|
165
|
+
/* @__PURE__ */ r(R, { handleOpenExchange: t, setExchange: w, amount: n, startTimer: I, handleBack: P, isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x })
|
166
|
+
] })
|
167
|
+
] }) }) }) });
|
168
|
+
});
|
169
|
+
function me({
|
170
|
+
handleConfirmClose: t,
|
171
|
+
routesData: n,
|
172
|
+
amount: i,
|
173
|
+
resetAmount: f,
|
174
|
+
resetBalance: d,
|
175
|
+
handleStopRoute: w
|
176
|
+
}) {
|
177
|
+
const a = K();
|
178
|
+
g(() => {
|
179
|
+
var b, m;
|
180
|
+
!a.current && Number(
|
181
|
+
((b = a == null ? void 0 : a.current) == null ? void 0 : b.minOutputAmount) || ((m = a == null ? void 0 : a.current) == null ? void 0 : m.outputAmountDisplay)
|
182
|
+
) !== Number((n == null ? void 0 : n.minOutputAmount) || (n == null ? void 0 : n.outputAmountDisplay)) && (a.current = n);
|
183
|
+
}, [n]), g(() => {
|
184
|
+
w(!0);
|
185
|
+
}, []);
|
186
|
+
function e() {
|
187
|
+
w(!1), t(!1);
|
188
|
+
}
|
189
|
+
function u() {
|
190
|
+
t(!1);
|
191
|
+
}
|
192
|
+
return /* @__PURE__ */ r(
|
193
|
+
ae,
|
194
|
+
{
|
195
|
+
handleOpenExchange: e,
|
196
|
+
amount: i,
|
197
|
+
route: n,
|
198
|
+
resetAmount: f,
|
199
|
+
resetBalance: d,
|
200
|
+
setExchange: u
|
201
|
+
}
|
202
|
+
);
|
203
|
+
}
|
204
|
+
export {
|
205
|
+
me as default
|
206
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
2
|
+
import "react";
|
3
|
+
import { F as m } from "./useRegisterError-DGMdKFc9.js";
|
4
|
+
function n({ value: t, decimal: o }) {
|
5
|
+
return t.length ? /* @__PURE__ */ r(m, { value: t, options: { maxDecimals: o } }) : t;
|
6
|
+
}
|
7
|
+
export {
|
8
|
+
n as O
|
9
|
+
};
|
@@ -0,0 +1,330 @@
|
|
1
|
+
import { g as O, b as Y, i as M, _ as w, d as P, s as z, e as L, f as v, h as b, p as g, P as c } from "./index-BYmiFoJh.js";
|
2
|
+
import * as C from "react";
|
3
|
+
import { jsxs as F, jsx as x } from "react/jsx-runtime";
|
4
|
+
function Z(r, i = 166) {
|
5
|
+
let o;
|
6
|
+
function a(...s) {
|
7
|
+
const u = () => {
|
8
|
+
r.apply(this, s);
|
9
|
+
};
|
10
|
+
clearTimeout(o), o = setTimeout(u, i);
|
11
|
+
}
|
12
|
+
return a.clear = () => {
|
13
|
+
clearTimeout(o);
|
14
|
+
}, a;
|
15
|
+
}
|
16
|
+
function V(r) {
|
17
|
+
return O("MuiSvgIcon", r);
|
18
|
+
}
|
19
|
+
Y("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
20
|
+
const D = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], U = (r) => {
|
21
|
+
const {
|
22
|
+
color: i,
|
23
|
+
fontSize: o,
|
24
|
+
classes: a
|
25
|
+
} = r, s = {
|
26
|
+
root: ["root", i !== "inherit" && `color${v(i)}`, `fontSize${v(o)}`]
|
27
|
+
};
|
28
|
+
return b(s, V, a);
|
29
|
+
}, B = z("svg", {
|
30
|
+
name: "MuiSvgIcon",
|
31
|
+
slot: "Root",
|
32
|
+
overridesResolver: (r, i) => {
|
33
|
+
const {
|
34
|
+
ownerState: o
|
35
|
+
} = r;
|
36
|
+
return [i.root, o.color !== "inherit" && i[`color${v(o.color)}`], i[`fontSize${v(o.fontSize)}`]];
|
37
|
+
}
|
38
|
+
})(({
|
39
|
+
theme: r,
|
40
|
+
ownerState: i
|
41
|
+
}) => {
|
42
|
+
var o, a, s, u, p, m, _, E, d, f, S, T, l;
|
43
|
+
return {
|
44
|
+
userSelect: "none",
|
45
|
+
width: "1em",
|
46
|
+
height: "1em",
|
47
|
+
display: "inline-block",
|
48
|
+
// the <svg> will define the property that has `currentColor`
|
49
|
+
// for example heroicons uses fill="none" and stroke="currentColor"
|
50
|
+
fill: i.hasSvgAsChild ? void 0 : "currentColor",
|
51
|
+
flexShrink: 0,
|
52
|
+
transition: (o = r.transitions) == null || (a = o.create) == null ? void 0 : a.call(o, "fill", {
|
53
|
+
duration: (s = r.transitions) == null || (s = s.duration) == null ? void 0 : s.shorter
|
54
|
+
}),
|
55
|
+
fontSize: {
|
56
|
+
inherit: "inherit",
|
57
|
+
small: ((u = r.typography) == null || (p = u.pxToRem) == null ? void 0 : p.call(u, 20)) || "1.25rem",
|
58
|
+
medium: ((m = r.typography) == null || (_ = m.pxToRem) == null ? void 0 : _.call(m, 24)) || "1.5rem",
|
59
|
+
large: ((E = r.typography) == null || (d = E.pxToRem) == null ? void 0 : d.call(E, 35)) || "2.1875rem"
|
60
|
+
}[i.fontSize],
|
61
|
+
// TODO v5 deprecate, v6 remove for sx
|
62
|
+
color: (f = (S = (r.vars || r).palette) == null || (S = S[i.color]) == null ? void 0 : S.main) != null ? f : {
|
63
|
+
action: (T = (r.vars || r).palette) == null || (T = T.action) == null ? void 0 : T.active,
|
64
|
+
disabled: (l = (r.vars || r).palette) == null || (l = l.action) == null ? void 0 : l.disabled,
|
65
|
+
inherit: void 0
|
66
|
+
}[i.color]
|
67
|
+
};
|
68
|
+
}), h = /* @__PURE__ */ C.forwardRef(function(i, o) {
|
69
|
+
const a = M({
|
70
|
+
props: i,
|
71
|
+
name: "MuiSvgIcon"
|
72
|
+
}), {
|
73
|
+
children: s,
|
74
|
+
className: u,
|
75
|
+
color: p = "inherit",
|
76
|
+
component: m = "svg",
|
77
|
+
fontSize: _ = "medium",
|
78
|
+
htmlColor: E,
|
79
|
+
inheritViewBox: d = !1,
|
80
|
+
titleAccess: f,
|
81
|
+
viewBox: S = "0 0 24 24"
|
82
|
+
} = a, T = w(a, D), l = /* @__PURE__ */ C.isValidElement(s) && s.type === "svg", e = P({}, a, {
|
83
|
+
color: p,
|
84
|
+
component: m,
|
85
|
+
fontSize: _,
|
86
|
+
instanceFontSize: i.fontSize,
|
87
|
+
inheritViewBox: d,
|
88
|
+
viewBox: S,
|
89
|
+
hasSvgAsChild: l
|
90
|
+
}), R = {};
|
91
|
+
d || (R.viewBox = S);
|
92
|
+
const N = U(e);
|
93
|
+
return /* @__PURE__ */ F(B, P({
|
94
|
+
as: m,
|
95
|
+
className: L(N.root, u),
|
96
|
+
focusable: "false",
|
97
|
+
color: E,
|
98
|
+
"aria-hidden": f ? void 0 : !0,
|
99
|
+
role: f ? "img" : void 0,
|
100
|
+
ref: o
|
101
|
+
}, R, T, l && s.props, {
|
102
|
+
ownerState: e,
|
103
|
+
children: [l ? s.props.children : s, f ? /* @__PURE__ */ x("title", {
|
104
|
+
children: f
|
105
|
+
}) : null]
|
106
|
+
}));
|
107
|
+
});
|
108
|
+
g.env.NODE_ENV !== "production" && (h.propTypes = {
|
109
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
110
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
111
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
112
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
113
|
+
/**
|
114
|
+
* Node passed into the SVG element.
|
115
|
+
*/
|
116
|
+
children: c.node,
|
117
|
+
/**
|
118
|
+
* Override or extend the styles applied to the component.
|
119
|
+
*/
|
120
|
+
classes: c.object,
|
121
|
+
/**
|
122
|
+
* @ignore
|
123
|
+
*/
|
124
|
+
className: c.string,
|
125
|
+
/**
|
126
|
+
* The color of the component.
|
127
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
128
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
129
|
+
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
130
|
+
* @default 'inherit'
|
131
|
+
*/
|
132
|
+
color: c.oneOfType([c.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), c.string]),
|
133
|
+
/**
|
134
|
+
* The component used for the root node.
|
135
|
+
* Either a string to use a HTML element or a component.
|
136
|
+
*/
|
137
|
+
component: c.elementType,
|
138
|
+
/**
|
139
|
+
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
140
|
+
* @default 'medium'
|
141
|
+
*/
|
142
|
+
fontSize: c.oneOfType([c.oneOf(["inherit", "large", "medium", "small"]), c.string]),
|
143
|
+
/**
|
144
|
+
* Applies a color attribute to the SVG element.
|
145
|
+
*/
|
146
|
+
htmlColor: c.string,
|
147
|
+
/**
|
148
|
+
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
149
|
+
* prop will be ignored.
|
150
|
+
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
151
|
+
* `component`'s viewBox to the root node.
|
152
|
+
* @default false
|
153
|
+
*/
|
154
|
+
inheritViewBox: c.bool,
|
155
|
+
/**
|
156
|
+
* The shape-rendering attribute. The behavior of the different options is described on the
|
157
|
+
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
|
158
|
+
* If you are having issues with blurry icons you should investigate this prop.
|
159
|
+
*/
|
160
|
+
shapeRendering: c.string,
|
161
|
+
/**
|
162
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
163
|
+
*/
|
164
|
+
sx: c.oneOfType([c.arrayOf(c.oneOfType([c.func, c.object, c.bool])), c.func, c.object]),
|
165
|
+
/**
|
166
|
+
* Provides a human-readable title for the element that contains it.
|
167
|
+
* https://www.w3.org/TR/SVG-access/#Equivalent
|
168
|
+
*/
|
169
|
+
titleAccess: c.string,
|
170
|
+
/**
|
171
|
+
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
172
|
+
* For example, if the SVG element is 500 (width) by 200 (height),
|
173
|
+
* and you pass viewBox="0 0 50 20",
|
174
|
+
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
175
|
+
* to bottom right (50,20) and each unit will be worth 10px.
|
176
|
+
* @default '0 0 24 24'
|
177
|
+
*/
|
178
|
+
viewBox: c.string
|
179
|
+
});
|
180
|
+
h.muiName = "SvgIcon";
|
181
|
+
function H(r, i) {
|
182
|
+
function o(a, s) {
|
183
|
+
return /* @__PURE__ */ x(h, P({
|
184
|
+
"data-testid": `${i}Icon`,
|
185
|
+
ref: s
|
186
|
+
}, a, {
|
187
|
+
children: r
|
188
|
+
}));
|
189
|
+
}
|
190
|
+
return g.env.NODE_ENV !== "production" && (o.displayName = `${i}Icon`), o.muiName = h.muiName, /* @__PURE__ */ C.memo(/* @__PURE__ */ C.forwardRef(o));
|
191
|
+
}
|
192
|
+
var y = { exports: {} }, t = {};
|
193
|
+
var $;
|
194
|
+
function q() {
|
195
|
+
if ($) return t;
|
196
|
+
$ = 1;
|
197
|
+
var r = Symbol.for("react.transitional.element"), i = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), u = Symbol.for("react.consumer"), p = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), S = Symbol.for("react.view_transition"), T = Symbol.for("react.client.reference");
|
198
|
+
function l(e) {
|
199
|
+
if (typeof e == "object" && e !== null) {
|
200
|
+
var R = e.$$typeof;
|
201
|
+
switch (R) {
|
202
|
+
case r:
|
203
|
+
switch (e = e.type, e) {
|
204
|
+
case o:
|
205
|
+
case s:
|
206
|
+
case a:
|
207
|
+
case _:
|
208
|
+
case E:
|
209
|
+
case S:
|
210
|
+
return e;
|
211
|
+
default:
|
212
|
+
switch (e = e && e.$$typeof, e) {
|
213
|
+
case p:
|
214
|
+
case m:
|
215
|
+
case f:
|
216
|
+
case d:
|
217
|
+
return e;
|
218
|
+
case u:
|
219
|
+
return e;
|
220
|
+
default:
|
221
|
+
return R;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
case i:
|
225
|
+
return R;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
return t.ContextConsumer = u, t.ContextProvider = p, t.Element = r, t.ForwardRef = m, t.Fragment = o, t.Lazy = f, t.Memo = d, t.Portal = i, t.Profiler = s, t.StrictMode = a, t.Suspense = _, t.SuspenseList = E, t.isContextConsumer = function(e) {
|
230
|
+
return l(e) === u;
|
231
|
+
}, t.isContextProvider = function(e) {
|
232
|
+
return l(e) === p;
|
233
|
+
}, t.isElement = function(e) {
|
234
|
+
return typeof e == "object" && e !== null && e.$$typeof === r;
|
235
|
+
}, t.isForwardRef = function(e) {
|
236
|
+
return l(e) === m;
|
237
|
+
}, t.isFragment = function(e) {
|
238
|
+
return l(e) === o;
|
239
|
+
}, t.isLazy = function(e) {
|
240
|
+
return l(e) === f;
|
241
|
+
}, t.isMemo = function(e) {
|
242
|
+
return l(e) === d;
|
243
|
+
}, t.isPortal = function(e) {
|
244
|
+
return l(e) === i;
|
245
|
+
}, t.isProfiler = function(e) {
|
246
|
+
return l(e) === s;
|
247
|
+
}, t.isStrictMode = function(e) {
|
248
|
+
return l(e) === a;
|
249
|
+
}, t.isSuspense = function(e) {
|
250
|
+
return l(e) === _;
|
251
|
+
}, t.isSuspenseList = function(e) {
|
252
|
+
return l(e) === E;
|
253
|
+
}, t.isValidElementType = function(e) {
|
254
|
+
return typeof e == "string" || typeof e == "function" || e === o || e === s || e === a || e === _ || e === E || typeof e == "object" && e !== null && (e.$$typeof === f || e.$$typeof === d || e.$$typeof === p || e.$$typeof === u || e.$$typeof === m || e.$$typeof === T || e.getModuleId !== void 0);
|
255
|
+
}, t.typeOf = l, t;
|
256
|
+
}
|
257
|
+
var n = {}, A;
|
258
|
+
function W() {
|
259
|
+
return A || (A = 1, g.env.NODE_ENV !== "production" && function() {
|
260
|
+
function r(e) {
|
261
|
+
if (typeof e == "object" && e !== null) {
|
262
|
+
var R = e.$$typeof;
|
263
|
+
switch (R) {
|
264
|
+
case i:
|
265
|
+
switch (e = e.type, e) {
|
266
|
+
case a:
|
267
|
+
case u:
|
268
|
+
case s:
|
269
|
+
case E:
|
270
|
+
case d:
|
271
|
+
case T:
|
272
|
+
return e;
|
273
|
+
default:
|
274
|
+
switch (e = e && e.$$typeof, e) {
|
275
|
+
case m:
|
276
|
+
case _:
|
277
|
+
case S:
|
278
|
+
case f:
|
279
|
+
return e;
|
280
|
+
case p:
|
281
|
+
return e;
|
282
|
+
default:
|
283
|
+
return R;
|
284
|
+
}
|
285
|
+
}
|
286
|
+
case o:
|
287
|
+
return R;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
}
|
291
|
+
var i = Symbol.for("react.transitional.element"), o = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), p = Symbol.for("react.consumer"), m = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), T = Symbol.for("react.view_transition"), l = Symbol.for("react.client.reference");
|
292
|
+
n.ContextConsumer = p, n.ContextProvider = m, n.Element = i, n.ForwardRef = _, n.Fragment = a, n.Lazy = S, n.Memo = f, n.Portal = o, n.Profiler = u, n.StrictMode = s, n.Suspense = E, n.SuspenseList = d, n.isContextConsumer = function(e) {
|
293
|
+
return r(e) === p;
|
294
|
+
}, n.isContextProvider = function(e) {
|
295
|
+
return r(e) === m;
|
296
|
+
}, n.isElement = function(e) {
|
297
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
298
|
+
}, n.isForwardRef = function(e) {
|
299
|
+
return r(e) === _;
|
300
|
+
}, n.isFragment = function(e) {
|
301
|
+
return r(e) === a;
|
302
|
+
}, n.isLazy = function(e) {
|
303
|
+
return r(e) === S;
|
304
|
+
}, n.isMemo = function(e) {
|
305
|
+
return r(e) === f;
|
306
|
+
}, n.isPortal = function(e) {
|
307
|
+
return r(e) === o;
|
308
|
+
}, n.isProfiler = function(e) {
|
309
|
+
return r(e) === u;
|
310
|
+
}, n.isStrictMode = function(e) {
|
311
|
+
return r(e) === s;
|
312
|
+
}, n.isSuspense = function(e) {
|
313
|
+
return r(e) === E;
|
314
|
+
}, n.isSuspenseList = function(e) {
|
315
|
+
return r(e) === d;
|
316
|
+
}, n.isValidElementType = function(e) {
|
317
|
+
return typeof e == "string" || typeof e == "function" || e === a || e === u || e === s || e === E || e === d || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === f || e.$$typeof === m || e.$$typeof === p || e.$$typeof === _ || e.$$typeof === l || e.getModuleId !== void 0);
|
318
|
+
}, n.typeOf = r;
|
319
|
+
}()), n;
|
320
|
+
}
|
321
|
+
var I;
|
322
|
+
function k() {
|
323
|
+
return I || (I = 1, g.env.NODE_ENV === "production" ? y.exports = /* @__PURE__ */ q() : y.exports = /* @__PURE__ */ W()), y.exports;
|
324
|
+
}
|
325
|
+
var J = /* @__PURE__ */ k();
|
326
|
+
export {
|
327
|
+
H as c,
|
328
|
+
Z as d,
|
329
|
+
J as r
|
330
|
+
};
|