@dcl/shop 1.12.2-34943028392.commit-9a41f7d → 1.12.2-34948836375.commit-6cf32c8
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/_assets/{Activity-BzrkDG8v.js → Activity-J2iy4jC2.js} +16 -16
- package/_assets/{AnimatedBackground-C2L1hqCI.js → AnimatedBackground-CZSQraQ0.js} +2 -2
- package/_assets/Assets-rO2myygc.js +939 -0
- package/_assets/{Authorizations-DmFpLf4s.js → Authorizations-RQz4v6iB.js} +7 -7
- package/_assets/Cart-DdbsSYxC.js +748 -0
- package/_assets/{Collection-CGLLXm0e.js → Collection-9Z2j-rTm.js} +16 -16
- package/_assets/{CollectionCarousel-DGdcg_9O.js → CollectionCarousel-p9BPJONR.js} +121 -121
- package/_assets/{Confetti-CxMOsCWv.js → Confetti-BGVbEJbR.js} +4 -4
- package/_assets/{ConstantsUtil-DHkDWk8J.js → ConstantsUtil-Bp-pnAsz.js} +2 -2
- package/_assets/{ContentClient-_ezZZzIw.js → ContentClient-DTRb9-5C.js} +2 -2
- package/_assets/{Creator-CM3ZV_Bg.js → Creator-BJL4gekm.js} +46 -46
- package/_assets/DeploymentBuilder-Cjkaft-R.js +4 -0
- package/_assets/{EmotePlaybackBar-DkG8TD79.js → EmotePlaybackBar-BPKSzBrx.js} +5 -5
- package/_assets/{ErrorNotice-blsFbR3-.js → ErrorNotice-nSEXNWXK.js} +2 -2
- package/_assets/Event-mTDtnPdT.js +2 -0
- package/_assets/{ExchangeController-BLBMrkUL.js → ExchangeController-D8uwDzSY.js} +2 -2
- package/_assets/{Faq-Bj8Nhewk.js → Faq-CVMMGesq.js} +3 -3
- package/_assets/{GetCredits-SwIp3hRH.js → GetCredits-B-d63Asa.js} +5 -5
- package/_assets/{Grow-BIPZJVs3.js → Grow-DpxGM69E.js} +2 -2
- package/_assets/{HelpersUtil-CZEbckkL.js → HelpersUtil-CA8woQfF.js} +3 -3
- package/_assets/{ItemDetail-Bf_S4Uni.js → ItemDetail-Bxxs1KIm.js} +225 -225
- package/_assets/LoadMore-Cr-mnVTu.js +8 -0
- package/_assets/{ManaPricingBanner.styles-CMRvNq20.js → ManaPricingBanner.styles-CuFOcVnZ.js} +6 -6
- package/_assets/{MyAssets-BKjWGYWp.js → MyAssets-CIl-ZNFw.js} +2 -2
- package/_assets/{MyFavorites-CLVWTn_L.js → MyFavorites-CONQ86Ux.js} +7 -7
- package/_assets/{NetworkUtil-qkKRl2Bt.js → NetworkUtil-ida2KYao.js} +2 -2
- package/_assets/NotFound-Cjy5dUWa.js +18 -0
- package/_assets/NotificationsBell-CyOkbx1n.js +142 -0
- package/_assets/{OutfitDetail-B6o4BSfC.js → OutfitDetail-BsiAngXf.js} +6 -6
- package/_assets/{OutfitPreview-BAzyTNUV.js → OutfitPreview-CS5cySDc.js} +3 -3
- package/_assets/{OutfitStudio-DqBO-mPF.js → OutfitStudio-D-FGJRNJ.js} +19 -19
- package/_assets/{PhArrowCircleDown-F6XaRM9L.js → PhArrowCircleDown-ak13FLPU.js} +5 -5
- package/_assets/{PhArrowClockwise-q_-mQx9S.js → PhArrowClockwise-B1_sSsDG.js} +3 -3
- package/_assets/{PhArrowDown-DbUWaovp.js → PhArrowDown-3SgA8Sjh.js} +3 -3
- package/_assets/{PhArrowLeft-BHIRtLA9.js → PhArrowLeft-D0xJapef.js} +3 -3
- package/_assets/{PhArrowRight-Chd6UGyN.js → PhArrowRight-BEzeYnOS.js} +4 -4
- package/_assets/{PhArrowSquareOut-6HUnIa-j.js → PhArrowSquareOut-ncs5AP9J.js} +3 -3
- package/_assets/{PhArrowUp-CMwjZS9_.js → PhArrowUp-DAiP5DLU.js} +4 -4
- package/_assets/{PhArrowUpRight-BKMZVVGq.js → PhArrowUpRight-CpVGKPzB.js} +5 -5
- package/_assets/{PhArrowsClockwise-F_7-Dc35.js → PhArrowsClockwise-BW3eqMIv.js} +2 -2
- package/_assets/{PhArrowsDownUp-Dn_FyHzt.js → PhArrowsDownUp-CL__e9hj.js} +4 -4
- package/_assets/{PhArrowsLeftRight-CaFe7nV6.js → PhArrowsLeftRight-CKf-pynd.js} +4 -4
- package/_assets/{PhBank-BI7khlVk.js → PhBank-CYFoeatO.js} +5 -5
- package/_assets/{PhBrowser-CECFOU5M.js → PhBrowser-B8QcDy-X.js} +4 -4
- package/_assets/PhCaretDown-BJucyF_I.js +15 -0
- package/_assets/PhCaretLeft-DXM-1eI2.js +15 -0
- package/_assets/{PhCaretRight-CFC60GD1.js → PhCaretRight-CUbjYMvE.js} +2 -2
- package/_assets/{PhCaretUp-DIACD1RA.js → PhCaretUp-XANHSPHz.js} +5 -5
- package/_assets/{PhCheck-BvBD9Aid.js → PhCheck-DtDQz9uq.js} +3 -3
- package/_assets/{PhCircleHalf-Bun-1FCv.js → PhCircleHalf-N8EEYP9W.js} +4 -4
- package/_assets/{PhClock-D_ASVz8S.js → PhClock-D4HOB74r.js} +4 -4
- package/_assets/{PhCompass-DocyDWCu.js → PhCompass-DaDix-lb.js} +5 -5
- package/_assets/{PhCopy-D6EBlOAj.js → PhCopy-DfG9L19w.js} +4 -4
- package/_assets/{PhCreditCard-B0qL8bHI.js → PhCreditCard-54JvBHpJ.js} +3 -3
- package/_assets/{PhCurrencyDollar-DMjw0pw9.js → PhCurrencyDollar--4El0jyD.js} +4 -4
- package/_assets/{PhDesktop-BCskflgs.js → PhDesktop-C59sef21.js} +3 -3
- package/_assets/{PhDeviceMobile-C4XbDOvg.js → PhDeviceMobile-CqU5hwgB.js} +4 -4
- package/_assets/{PhDotsThree-C1eKbboP.js → PhDotsThree-DKKOuXPs.js} +4 -4
- package/_assets/{PhEnvelope-BiE8gj38.js → PhEnvelope-BV_YRi_L.js} +2 -2
- package/_assets/{PhFunnelSimple-Cp9cUJMS.js → PhFunnelSimple-DCJ64Yx1.js} +5 -5
- package/_assets/{PhGlobe-DKh2xV8G.js → PhGlobe-CfDkOX-M.js} +2 -2
- package/_assets/{PhIdentificationCard-Bmin-yhM.js → PhIdentificationCard-CZevIBOX.js} +2 -2
- package/_assets/{PhImage-chlN_hIc.js → PhImage-BvwFiqL_.js} +2 -2
- package/_assets/{PhInfo-C7QGtQg6.js → PhInfo-ByE07_XD.js} +5 -5
- package/_assets/{PhLightbulb-CkOJ2DJ3.js → PhLightbulb-COGGqe5o.js} +2 -2
- package/_assets/{PhMagnifyingGlass-BTmWgGWE.js → PhMagnifyingGlass-CoJqZmSp.js} +4 -4
- package/_assets/{PhPaperPlaneRight-BdlILCZ-.js → PhPaperPlaneRight-BOtHGdWm.js} +4 -4
- package/_assets/{PhPlus-BcjO7oMF.js → PhPlus-BtM9eWY5.js} +4 -4
- package/_assets/{PhPower-DOEZz8fY.js → PhPower-XoT0HBKo.js} +5 -5
- package/_assets/{PhPuzzlePiece-BTpL210F.js → PhPuzzlePiece-DPN_Gt0E.js} +4 -4
- package/_assets/{PhQrCode-BZYdQpUJ.js → PhQrCode-Ba2Av-ws.js} +2 -2
- package/_assets/{PhQuestion-C0lp-4DF.js → PhQuestion-BsODZylj.js} +3 -3
- package/_assets/{PhQuestionMark-VF_NxIwy.js → PhQuestionMark-CQGfqgyU.js} +5 -5
- package/_assets/{PhSealCheck-1OIprpHs.js → PhSealCheck-ORxCOA65.js} +3 -3
- package/_assets/{PhSignOut-CQoJ2HjV.js → PhSignOut-CIIz9cbC.js} +4 -4
- package/_assets/{PhSpinner-I7LCPPQZ.js → PhSpinner-v_BVhkr6.js} +3 -3
- package/_assets/{PhTrash-BLYxR73H.js → PhTrash-DaneU5r-.js} +2 -2
- package/_assets/{PhUser-B6uTfnUV.js → PhUser-CKCQsYp2.js} +2 -2
- package/_assets/{PhVault-huUMPy8_.js → PhVault-q-BY5Hn5.js} +2 -2
- package/_assets/{PhWallet-CqCYhzA6.js → PhWallet-Df5kuqF4.js} +5 -5
- package/_assets/{PhWarning-B-8AQOtI.js → PhWarning-DmzK9PIH.js} +5 -5
- package/_assets/{PhWarningCircle-DMKHSe_T.js → PhWarningCircle-B6Azmmj3.js} +3 -3
- package/_assets/{PhX-CdA2pR0v.js → PhX-Bv7tUluK.js} +2 -2
- package/_assets/{StoreSettings-CRrjV6iO.js → StoreSettings-DtLddUAS.js} +10 -10
- package/_assets/{Success-BwnpaEyU.js → Success--Ei6iKXI.js} +6 -6
- package/_assets/{SwapController-quTHZ8od.js → SwapController-BA5TjqZA.js} +2 -2
- package/_assets/{TradeService-DBV1qd6u.js → TradeService-DywJ4wNp.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-CXJijBFn.js → W3MFrameProviderSingleton-CmmiYZ9j.js} +4 -4
- package/_assets/{WebCryptoP256-9g20gwOq.js → WebCryptoP256-BPfgDNR9.js} +2 -2
- package/_assets/{add-CNAGUF7G.js → add-WC3KG-NP.js} +2 -2
- package/_assets/{all-wallets-Do04Q1GD.js → all-wallets-BV2RKDKX.js} +2 -2
- package/_assets/{app-store-ZwD4kBP5.js → app-store-DzdJFJvJ.js} +2 -2
- package/_assets/{apple-DA1GHxT3.js → apple-C_YCXF5K.js} +3 -3
- package/_assets/{arrow-bottom-circle-Dzl92t2I.js → arrow-bottom-circle-CWERGNL8.js} +3 -3
- package/_assets/arrow-bottom-lj5jq4hP.js +9 -0
- package/_assets/{arrow-left-Ckx45zyh.js → arrow-left-BHfhO25z.js} +3 -3
- package/_assets/{arrow-right-BcWHW3tW.js → arrow-right-DrvdIWK8.js} +2 -2
- package/_assets/{arrow-top-BhrmNTjO.js → arrow-top-C5YdnARR.js} +3 -3
- package/_assets/{async-directive-CZ-ebsJC.js → async-directive-Ul6OERsh.js} +3 -3
- package/_assets/authorizations-D-BlJBCy.js +2 -0
- package/_assets/{bank-BfuZXPF5.js → bank-CcJhMycN.js} +2 -2
- package/_assets/{basic-F2Aaa6rH.js → basic-D9ZT1BuA.js} +2 -2
- package/_assets/{biconomy-PJhknwtx.js → biconomy-CZoSyrbX.js} +2 -2
- package/_assets/{browseLayout.styles-CqS3Mi2Y.js → browseLayout.styles-DXvUud3S.js} +8 -8
- package/_assets/{browser-DymfWuKv.js → browser-CePgleG4.js} +3 -3
- package/_assets/{browser-D_Ek7DWr.js → browser-DSALTQXN.js} +2 -2
- package/_assets/{browser-DnyELsVd.js → browser-ShmbZCwm.js} +2 -2
- package/_assets/{browser-ponyfill-CcTu7hLV.js → browser-ponyfill-BNu_nbrj.js} +2 -2
- package/_assets/builder-g8RNS_Vg.js +2 -0
- package/_assets/buy-DTXSyPtH.js +2 -0
- package/_assets/{buy-gasless-BZfxsLgU.js → buy-gasless-DiikOGgv.js} +2 -2
- package/_assets/{card-DThPVMJR.js → card-vJcgWj0J.js} +2 -2
- package/_assets/{categories-D8FktL3U.js → categories-v7iHQh9a.js} +3 -3
- package/_assets/{ccip-BIrWHUzQ.js → ccip-CWbNdN46.js} +2 -2
- package/_assets/{ccip-DYhBuxYc.js → ccip-DelhpKhz.js} +2 -2
- package/_assets/{chains-CUQUsBUh.js → chains-tR4n3Rjk.js} +2 -2
- package/_assets/{checkmark-BWfow5Hm.js → checkmark-BdVL_wyR.js} +2 -2
- package/_assets/{checkmark-bold-DpY-xklc.js → checkmark-bold-D2_kDMAk.js} +3 -3
- package/_assets/{chevron-bottom-CvrvhzO8.js → chevron-bottom-D0Fjkofu.js} +3 -3
- package/_assets/chevron-left-C9tCZw7F.js +9 -0
- package/_assets/chevron-right-CFriZlYk.js +9 -0
- package/_assets/chevron-top-CI7Nc1Hh.js +9 -0
- package/_assets/{chrome-store-KoCRE_P4.js → chrome-store-BPxSE7E7.js} +3 -3
- package/_assets/{class-map-C0Rma2l2.js → class-map-uVWd2sCT.js} +2 -2
- package/_assets/{clock-GD6fuViS.js → clock-CCT_gA8y.js} +3 -3
- package/_assets/{close-CN58s0HI.js → close-CVrMDBuL.js} +3 -3
- package/_assets/{coinPlaceholder-7RZ9OmZY.js → coinPlaceholder-vau3Ommw.js} +2 -2
- package/_assets/collectionPage.styles-B9DFBjev.js +41 -0
- package/_assets/common-yKZODGdF.js +2 -0
- package/_assets/{compass-D-rZZnyG.js → compass-BVX94cA4.js} +3 -3
- package/_assets/{controller-BhUAzwJn.js → controller-Bld7fSw_.js} +3 -3
- package/_assets/{copy-2dTl5JIk.js → copy-DbIo246v.js} +2 -2
- package/_assets/{core-inDOASrl.js → core-D92-eur5.js} +5 -5
- package/_assets/{createSvgIcon-vHje6rN0.js → createSvgIcon-DxzmVGNY.js} +6 -6
- package/_assets/crumbs.styles-B0j-GlvV.js +10 -0
- package/_assets/cursor-CRt00jB7.js +4 -0
- package/_assets/{cursor-transparent-CxCv7i5W.js → cursor-transparent-D_Cn2Qj1.js} +2 -2
- package/_assets/{custom-DY40wvG2.js → custom-CZWdKBPL.js} +2 -2
- package/_assets/{data-capture-CJc4yzny.js → data-capture-CX4kn4Xl.js} +5 -5
- package/_assets/{dcl-schemas-D4UJavpl.js → dcl-schemas-BEn5-KfC.js} +2 -2
- package/_assets/decimals-E28v80-_.js +2 -0
- package/_assets/decimals-epBomYJA.js +2 -0
- package/_assets/{desktop-hQx0DPre.js → desktop-DiOFIHxS.js} +3 -3
- package/_assets/detectExtension-CwKpcDtv.js +2 -0
- package/_assets/{disconnect-DK02_cdg.js → disconnect-DJcY0BVy.js} +3 -3
- package/_assets/{discord-DI917ReU.js → discord-CFlQgGeS.js} +3 -3
- package/_assets/{disposePreview-CYfbetLY.js → disposePreview-DGzpJsbb.js} +2 -2
- package/_assets/{email-CH02hcOX.js → email-BHBQRb65.js} +7 -7
- package/_assets/{embedded-wallet-D-q4VZI9.js → embedded-wallet-C6Gy4WTK.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-Cksk7-TV.js → emotion-styled.browser.esm-BJIlADB7.js} +2 -2
- package/_assets/{engine-fPplgmpB.js → engine-Yiha65AY.js} +2 -2
- package/_assets/errors-wEpZJGJP.js +2 -0
- package/_assets/estimate-l1-fee-CLftLGg-.js +2 -0
- package/_assets/eth_estimateGas-BectDuYc.js +2 -0
- package/_assets/eth_getStorageAt-1yhQzTuj.js +2 -0
- package/_assets/eth_getTransactionCount-D4KYioQk.js +2 -0
- package/_assets/ethereum-BaJC9L6n.js +2 -0
- package/_assets/{ethers-DujCu8ER.js → ethers-DsAoqs4p.js} +2 -2
- package/_assets/{etherscan-1ZO8YOdM.js → etherscan-B_DEmwcU.js} +3 -3
- package/_assets/{events-Co3sdv9k.js → events-Z3dAOhvY.js} +2 -2
- package/_assets/{exclamation-triangle-B-lUKP3N.js → exclamation-triangle-CwRHSRAS.js} +3 -3
- package/_assets/{execute-CquTb3TI.js → execute-Dp67kIVB.js} +3 -3
- package/_assets/{extension-BJk7Ap5S.js → extension-C5CHNEBM.js} +3 -3
- package/_assets/{external-link-CUZQGcmk.js → external-link-DhWG0oh3.js} +2 -2
- package/_assets/{extractIPFS-DdLMni2E.js → extractIPFS-Cg7kPTyT.js} +2 -2
- package/_assets/{facebook-CKL1kZxO.js → facebook-ZbOHRELg.js} +3 -3
- package/_assets/{farcaster-aMNZ-p6M.js → farcaster-MlS0fAkK.js} +3 -3
- package/_assets/{features-BXj0ukDd.js → features-NLP5a5Tz.js} +2 -2
- package/_assets/fetchTokenMetadata-DxlcVtmx.js +3 -0
- package/_assets/{field.styles-CSXpGbTT.js → field.styles-CZBu3L1V.js} +4 -4
- package/_assets/{filters-C6jnCJ-u.js → filters-ByxHqr_b.js} +2 -2
- package/_assets/{fortmatic-BW_IxidD.js → fortmatic-giGwlnqU.js} +2 -2
- package/_assets/{get-bytecode-Cn7UTcHZ.js → get-bytecode-g7wo4tN3.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-DtESs8m7.js +2 -0
- package/_assets/{getBalance-TFKNnv_8.js → getBalance-D6g2ByQs.js} +3 -3
- package/_assets/{getInstalledModules-DUmQU99m.js → getInstalledModules-OCneY0pB.js} +2 -2
- package/_assets/{getNFT-BUrn6FSo.js → getNFT-C2rmwr1y.js} +3 -3
- package/_assets/getNFT-DXnohOJa.js +2 -0
- package/_assets/{github-zd84z5Ek.js → github-DcWwSd2A.js} +3 -3
- package/_assets/{google-d3DYsc60.js → google-BWF_TAVo.js} +2 -2
- package/_assets/grid.styles-D8y3Md9p.js +15 -0
- package/_assets/{hashTypedData-CHzLxMfd.js → hashTypedData-CqJya2E6.js} +2 -2
- package/_assets/{hashTypedData-CrRAwPzP.js → hashTypedData-DbZ540ih.js} +2 -2
- package/_assets/{help-circle-hL-zFkun.js → help-circle-Chc_vCdy.js} +3 -3
- package/_assets/{id-C8eFRL7j.js → id-7VZ83soE.js} +3 -3
- package/_assets/{image-D-6g9w_t.js → image-Bgj_xLD4.js} +3 -3
- package/_assets/{in-app-CuV_Z2D5.js → in-app-7RIyYwr4.js} +2 -2
- package/_assets/in-app-wallet-calls-B_Nob2Dp.js +2 -0
- package/_assets/{index-Bz_A8esJ.js → index-7CCjLw0u.js} +4 -4
- package/_assets/{index-F7Dx4dlO.js → index-7lpgP4PJ.js} +4 -4
- package/_assets/{index-VDsZU95P.js → index-B0b3tE0c.js} +4 -4
- package/_assets/{index-wIdCHhoY.js → index-B2LbNj_R.js} +2 -2
- package/_assets/{index-D_XQVbK8.js → index-B6-4doHB.js} +2 -2
- package/_assets/index-BHH-ygDH.js +3 -0
- package/_assets/{index-BHPF4sRd.js → index-BMTJPKai.js} +2 -2
- package/_assets/{index-949vKUn3.js → index-BRDkcfDz.js} +2 -2
- package/_assets/{index-CF5ob_0m.js → index-BScED-bZ.js} +2 -2
- package/_assets/{index-mowwUo8b.js → index-BSvARysd.js} +4 -4
- package/_assets/{index-X47fbIFm.js → index-BWxd86Vj.js} +7 -7
- package/_assets/{index-Dy805UKF.js → index-BeUJsqeQ.js} +2 -2
- package/_assets/{index-BsbX4DC2.js → index-BgkGjzDI.js} +2 -2
- package/_assets/{index-Y6uaMjy5.js → index-BjFsM0oT.js} +2 -2
- package/_assets/{index-CijtQRgj.js → index-BkMOX_Op.js} +2 -2
- package/_assets/{index-cos5bl3t.js → index-Bobcegi1.js} +2 -2
- package/_assets/{index-CPrTl8tw.js → index-BsMA9366.js} +5 -5
- package/_assets/{index-BL0KK1zj.js → index-C73O17Kl.js} +4 -4
- package/_assets/{index-B87nkJq0.js → index-CDtFhkB_.js} +4 -4
- package/_assets/{index-_0lHBbSd.js → index-CGS4qhMY.js} +2 -2
- package/_assets/{index-Dg3SO4eX.js → index-COM0SPl1.js} +2 -2
- package/_assets/{index-BK7VmRLL.js → index-CP1u55g3.js} +2 -2
- package/_assets/{index-Btmp9LJ0.js → index-CQ25VkJI.js} +3 -3
- package/_assets/{index-nPJmHpI2.js → index-CXMa-J76.js} +4 -4
- package/_assets/{index-DmsoihJh.js → index-CYHgmrtK.js} +2 -2
- package/_assets/{index-DW8HTtwT.js → index-CaszeEvt.js} +2 -2
- package/_assets/{index-DTXSH816.js → index-CcqYtwt3.js} +2 -2
- package/_assets/{index-BIFoqh85.js → index-Cd4qg3y2.js} +4 -4
- package/_assets/{index-CLDZDevB.js → index-CuuExxM6.js} +2 -2
- package/_assets/index-CwvrGPbx.js +4213 -0
- package/_assets/{index-CiS3fCco.js → index-D0mKR1Uq.js} +2 -2
- package/_assets/{index-Cd4NOyyx.js → index-D391fIN0.js} +2 -2
- package/_assets/{index-BFyX6Uii.js → index-D5norgxm.js} +2 -2
- package/_assets/{index-BbEyFW28.js → index-DIDCs6WQ.js} +2 -2
- package/_assets/{index-CWQONcxa.js → index-DKQvgIG5.js} +5 -5
- package/_assets/{index-BA__KCKf.js → index-DRJSt6_X.js} +2 -2
- package/_assets/{index-DiORvAC6.js → index-DS7j0g6y.js} +5 -5
- package/_assets/{index-BEzGkEHj.js → index-DVuPr51_.js} +20 -20
- package/_assets/{index-CVn38tzc.css → index-DWaYKcdc.css} +1 -1
- package/_assets/{index-DjMT6Byy.js → index-DZScr1GS.js} +3 -3
- package/_assets/{index-D7B1UY76.js → index-DdnyYkRs.js} +2 -2
- package/_assets/{index-BDSSiPXq.js → index-DjLd5rYK.js} +2 -2
- package/_assets/{index-B-2zvuoP.js → index-DjtvFnLh.js} +2 -2
- package/_assets/index-Dn4KZdaA.js +2 -0
- package/_assets/{index-GisWkdZX.js → index-DomMPXQj.js} +4 -4
- package/_assets/{index-Bf2GWdI8.js → index-DonluLU3.js} +2 -2
- package/_assets/{index-DKGDHfPP.js → index-DqAm4Wjx.js} +2 -2
- package/_assets/index-Ds8cBLDT.js +28 -0
- package/_assets/{index-BrtVhFAJ.js → index-DskNH7_F.js} +2 -2
- package/_assets/index-DwipOeoQ.js +2 -0
- package/_assets/{index-BSCDPNbi.js → index-DxK-KEEO.js} +2 -2
- package/_assets/{index-C8P2V5Hx.js → index-DxeSXDhW.js} +7 -7
- package/_assets/{index-B3-7eIuI.js → index-DzdzPcAF.js} +3 -3
- package/_assets/{index-U8ihLOoc.js → index-QGdB1wb7.js} +2 -2
- package/_assets/{index-9LOzazBB.js → index-RJudh9Ct.js} +4 -4
- package/_assets/{index-BRPUnkAK.js → index-RX4XaJG4.js} +6 -6
- package/_assets/{index-BNgZDuxz.js → index-S7STKBrt.js} +4 -4
- package/_assets/{index-C7BzrW1m.js → index-UrlARuY0.js} +3 -3
- package/_assets/{index-DtX-noNj.js → index-_HKxCNov.js} +2 -2
- package/_assets/{index-DN0CmocU.js → index-atuR1r1C.js} +4 -4
- package/_assets/{index-RAKMXcMQ.js → index-fUy6m31Q.js} +3 -3
- package/_assets/{index-CJslWeB5.js → index-m-k1ONxw.js} +2 -2
- package/_assets/{index-CVYS747r.js → index-noVH-Q6R.js} +3 -3
- package/_assets/{index-yiZB9zm3.js → index-s3fqrm7k.js} +2 -2
- package/_assets/{index-DUZjNoEW.js → index-t08CzlbS.js} +2 -2
- package/_assets/{index-Bx47jLVY.js → index-tuk1tZ_u.js} +4 -4
- package/_assets/{index-DsfO6FEB.js → index-u2xgc_Gz.js} +2 -2
- package/_assets/{index-U3bGcYCp.js → index-yi3HWnj_.js} +3 -3
- package/_assets/{index.es-DOZvEBqr.js → index.es-BOLgFwZv.js} +2 -2
- package/_assets/{index.es-C4Ajm3Om.js → index.es-DFtzDt27.js} +5 -5
- package/_assets/{index.es-Bp4hyPxO.js → index.es-DN-4f9er.js} +2 -2
- package/_assets/{index.es-BX0WJZb3.js → index.es-Y_OTMJEv.js} +2 -2
- package/_assets/{info-TiK2m5-Y.js → info-D7ObqMR7.js} +3 -3
- package/_assets/{info-circle-Cjm1aaI5.js → info-circle-Cn1eJfl8.js} +3 -3
- package/_assets/{items-empty-BpIzHPJt.js → items-empty-CDQLWT4f.js} +2 -2
- package/_assets/jsxRuntime.module-KGmzlnK1.js +2 -0
- package/_assets/{jump-DsZxiANl.js → jump-lzA8KqWK.js} +2 -2
- package/_assets/{lightbulb-M3egNz3u.js → lightbulb-BKWlXPb6.js} +3 -3
- package/_assets/{linkAccount-BRcjAOJg.js → linkAccount-D7Lo5Fky.js} +2 -2
- package/_assets/{localBatchGatewayRequest-MRyP6ruT.js → localBatchGatewayRequest-CQTaa_Xl.js} +2 -2
- package/_assets/{mail-Bjuf52Eu.js → mail-uZxvzFx_.js} +2 -2
- package/_assets/{mobile-ChlkZUx7.js → mobile-NGKGetAS.js} +2 -2
- package/_assets/{more-odGFVZ6c.js → more-D3jNhOpW.js} +3 -3
- package/_assets/{native-B_aTen7C.js → native-cH_0VsVR.js} +2 -2
- package/_assets/{network-placeholder-Bx-MbMDF.js → network-placeholder-D5qcFSJX.js} +2 -2
- package/_assets/{networks-hTpee3Ao.js → networks-9q7XE_b5.js} +2 -2
- package/_assets/{nftPlaceholder-BsX6zBqg.js → nftPlaceholder-Cdllyb5L.js} +3 -3
- package/_assets/{off-CUpQ3Yl-.js → off-Cy19A7zA.js} +3 -3
- package/_assets/{onramp-D0PWlrC-.js → onramp-WYoC_2JJ.js} +2 -2
- package/_assets/{openzeppelin-Cw9sai0o.js → openzeppelin-B26CxjRn.js} +2 -2
- package/_assets/ownerOf-CR-pYgie.js +2 -0
- package/_assets/parseNft-DoCeRtaz.js +3 -0
- package/_assets/{parseSignature-Br2BNRrk.js → parseSignature-CFwV_3Sj.js} +4 -4
- package/_assets/{parseSignature-C_v-mn6Y.js → parseSignature-QwU35EfM.js} +2 -2
- package/_assets/passkeys-BDSLI6JH.js +2 -0
- package/_assets/{pay-with-exchange-DIpmlSrF.js → pay-with-exchange-Dn2ZiQRJ.js} +2 -2
- package/_assets/{play-store-C298g5Zr.js → play-store-BqyyIuw-.js} +2 -2
- package/_assets/{plus-c1-ca8Km.js → plus-TKHoVUto.js} +3 -3
- package/_assets/{prepare-contract-call-jaur3RsL.js → prepare-contract-call-C5MBXliq.js} +2 -2
- package/_assets/{qr-code-VlhVVdH4.js → qr-code-DNktFNYV.js} +2 -2
- package/_assets/{qr-overlay-DmOsCP4D.js → qr-overlay-2y6p10sk.js} +4 -4
- package/_assets/{react-B3VM-Euj.js → react-BG8VKwrs.js} +3 -3
- package/_assets/{receive-CwiywfD8.js → receive-CGyG04lY.js} +2 -2
- package/_assets/{recycle-horizontal-Dkaylhpp.js → recycle-horizontal-D7wSarZ0.js} +2 -2
- package/_assets/{ref-DHpb_JDM.js → ref-ClbGTQC1.js} +3 -3
- package/_assets/{refresh-Ck2C1pkV.js → refresh-Ne9sq_3A.js} +2 -2
- package/_assets/{reown-logo-BLgzyruS.js → reown-logo-CTKEUi_d.js} +3 -3
- package/_assets/{resolveImplementation-B29uUWXx.js → resolveImplementation-DLF7p0HK.js} +2 -2
- package/_assets/{resume-buy-B8LQM9gG.js → resume-buy-D6gjpV5I.js} +2 -2
- package/_assets/{rpc-FzbXjgsC.js → rpc-DjqI0NmR.js} +4 -4
- package/_assets/sales-empty-BCFlZ1Kk.js +2 -0
- package/_assets/{search-empty-DCF9ryoP.js → search-empty-BpMm9tI6.js} +2 -2
- package/_assets/{search-B7IwOtLS.js → search-oltotRQx.js} +2 -2
- package/_assets/{secp256k1-qe_45vGh.js → secp256k1-BqIlgE5L.js} +2 -2
- package/_assets/{secp256k1-D9hSYM0G.js → secp256k1-DRppp9VB.js} +2 -2
- package/_assets/{secp256k1-BqTpcPZk.js → secp256k1-UNqqlOQ7.js} +2 -2
- package/_assets/{send-Cpg_0X6f.js → send-CAaL-103.js} +2 -2
- package/_assets/{send-DmFe0ckc.js → send-avIcUC3Q.js} +2 -2
- package/_assets/send-batch-transaction-rKyhIytb.js +2 -0
- package/_assets/{send-eip712-transaction-hK2ImXv3.js → send-eip712-transaction-BoRspE2R.js} +3 -3
- package/_assets/send-gasless-transaction-xdY1TN2_.js +3 -0
- package/_assets/send-transaction-B3QVkcGi.js +3 -0
- package/_assets/{sendMetaTransaction-BSYJiftl.js → sendMetaTransaction-Dhuf5w6N.js} +2 -2
- package/_assets/{sendRawTransaction-e9Y5k_r2.js → sendRawTransaction-BbLkhJa0.js} +4 -4
- package/_assets/{sentry-CHz0jIQP.js → sentry-eiNE_T77.js} +3 -3
- package/_assets/{serializeTransaction-BkTRnorj.js → serializeTransaction-E2BUrxll.js} +2 -2
- package/_assets/{session-proposal-Db33AqAm.js → session-proposal-Bs7GYJdO.js} +2 -2
- package/_assets/session-request-BUwswPeh.js +3 -0
- package/_assets/{sha256-BHPU-yAR.js → sha256-QTFcttLy.js} +2 -2
- package/_assets/{sha3-B-waMVSt.js → sha3-BnLSGe3q.js} +2 -2
- package/_assets/{signing-BUSO0LRR.js → signing-B7DPAVqs.js} +4 -4
- package/_assets/skeleton.styles-bancAmCI.js +8 -0
- package/_assets/{socials-DnieC1jR.js → socials-Dw7-Rmzi.js} +2 -2
- package/_assets/{styled-CXThh17X.js → styled-BAp_hlJt.js} +3 -3
- package/_assets/{swapHorizontal-BN5KnB0R.js → swapHorizontal-AUQR3QWw.js} +2 -2
- package/_assets/{swapHorizontalBold-ui2X_0Pn.js → swapHorizontalBold-CJ-O8FMu.js} +3 -3
- package/_assets/{swapHorizontalMedium-CLLhrVwA.js → swapHorizontalMedium-C9_JLGaD.js} +2 -2
- package/_assets/{swapHorizontalRoundedBold-DSvQ6GmQ.js → swapHorizontalRoundedBold-CprcKnGZ.js} +3 -3
- package/_assets/{swapVertical-C77_weR3.js → swapVertical-C0UtEvQr.js} +3 -3
- package/_assets/{swaps-C9QGOtWS.js → swaps-D6QIvCFU.js} +2 -2
- package/_assets/{telegram-NiE4nQTP.js → telegram-BPHwvSxV.js} +2 -2
- package/_assets/{thirdweb-DogFxs1d.js → thirdweb-CRRacliS.js} +4 -4
- package/_assets/{three-dots-DCiCRV1J.js → three-dots-CuMLURps.js} +3 -3
- package/_assets/{to-serializable-transaction-CTo7dsx8.js → to-serializable-transaction-COhsgTk_.js} +3 -3
- package/_assets/totalSupply-DVGh8BDW.js +2 -0
- package/_assets/{transaction-ePDkVOA3.js → transaction-BBI2xlTk.js} +2 -2
- package/_assets/{transactionReceipt-BIPiW6iD.js → transactionReceipt-DHzlWkC9.js} +2 -2
- package/_assets/transactions-_PP0VZjh.js +17 -0
- package/_assets/{twitch-CljYs_zu.js → twitch-BEksYNQy.js} +2 -2
- package/_assets/{twitterIcon-BV_SOaTk.js → twitterIcon-C-RbKp2J.js} +3 -3
- package/_assets/useCreditPacks-ZEO0PAYJ.js +2 -0
- package/_assets/useInfiniteGrid-D25SubwU.js +2 -0
- package/_assets/useStore-DTTkvsJu.js +3 -0
- package/_assets/useTheme-L-wqQk2z.js +2 -0
- package/_assets/{utils-DvexXHkz.js → utils-BeknD1Pa.js} +2 -2
- package/_assets/{verify-Dp8FCc7I.js → verify-DX3fSqPA.js} +2 -2
- package/_assets/{verify-filled-oSUaVrok.js → verify-filled-rDNnAKA1.js} +3 -3
- package/_assets/{verifyHash-CqCcMMhr.js → verifyHash-BlkIyJF8.js} +2 -2
- package/_assets/{w3m-modal-CIbxmciZ.js → w3m-modal-CDsMCGJp.js} +2 -2
- package/_assets/{w3m-modal-p5Cog3Qg.js → w3m-modal-DRHjwfPR.js} +2 -2
- package/_assets/wait-for-tx-receipt-T0TE-tdi.js +2 -0
- package/_assets/{wallet-CJoKG7Dz.js → wallet-BDmvD81m.js} +3 -3
- package/_assets/{wallet-B3-jzGXG.js → wallet-Dgo2zwQv.js} +2 -2
- package/_assets/{wallet-placeholder-BSyNQtN-.js → wallet-placeholder-DD3BllZl.js} +3 -3
- package/_assets/{walletconnect-B5U8RBku.js → walletconnect-CeHvp7GG.js} +5 -5
- package/_assets/{wallets-CHxIfw2N.js → wallets-BkI_aTsn.js} +6 -6
- package/_assets/{warning-circle-CJPSee3J.js → warning-circle-0P7CyfRX.js} +3 -3
- package/_assets/{web-connector-BtV_awUR.js → web-connector-BOVGNKko.js} +4 -4
- package/_assets/{writeContract-CpjCnu21.js → writeContract-DwmLxQPI.js} +2 -2
- package/_assets/{x-B5IgbBUZ.js → x-Dp_viDtj.js} +2 -2
- package/_assets/{zora-sepolia-vv4fqay3.js → zora-sepolia-BNz_fefw.js} +2 -2
- package/_assets/{zoraTestnet-DTte8zft.js → zoraTestnet-k5nrTRiy.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Assets-D5FXIj8J.js +0 -939
- package/_assets/Cart-DlmaIZKc.js +0 -748
- package/_assets/DeploymentBuilder-Dok3fzUQ.js +0 -4
- package/_assets/LoadMore-C10HOksE.js +0 -8
- package/_assets/NotFound-vZRKOc0g.js +0 -18
- package/_assets/NotificationsBell-BoBMVi11.js +0 -142
- package/_assets/PhCaretDown-D8Xqsou-.js +0 -15
- package/_assets/PhCaretLeft-QDAnkLG7.js +0 -15
- package/_assets/arrow-bottom-BVQmW3wa.js +0 -9
- package/_assets/authorizations-DTpZ0TyT.js +0 -2
- package/_assets/builder-rs_Lwn-T.js +0 -2
- package/_assets/buy-cJ9O8eBB.js +0 -2
- package/_assets/chevron-left-5PMBZUkw.js +0 -9
- package/_assets/chevron-right-C56uPsti.js +0 -9
- package/_assets/chevron-top-k_S8fIel.js +0 -9
- package/_assets/collectionPage.styles-CcS9Jsdo.js +0 -41
- package/_assets/common-qZtjaINm.js +0 -2
- package/_assets/crumbs.styles-DaR36ESY.js +0 -10
- package/_assets/cursor-L-UT_Ljd.js +0 -4
- package/_assets/decimals-B6LTIrCi.js +0 -2
- package/_assets/decimals-CfiLsa9D.js +0 -2
- package/_assets/detectExtension-DVDsZnEO.js +0 -2
- package/_assets/errors-DPhIolcl.js +0 -2
- package/_assets/estimate-l1-fee-CrP0wpZI.js +0 -2
- package/_assets/eth_estimateGas-KldyvUIP.js +0 -2
- package/_assets/eth_getStorageAt-s_dGFL2L.js +0 -2
- package/_assets/eth_getTransactionCount-CNA7mZ1L.js +0 -2
- package/_assets/ethereum-jQLc-lmM.js +0 -2
- package/_assets/fetchTokenMetadata-Ducea3S0.js +0 -3
- package/_assets/get-ecosystem-wallet-info-CgB1vWwB.js +0 -2
- package/_assets/getNFT-C-OS-q6L.js +0 -2
- package/_assets/grid.styles-B3jUBgU_.js +0 -15
- package/_assets/in-app-wallet-calls-3yDlgTIx.js +0 -2
- package/_assets/index-CdCOuMju.js +0 -3
- package/_assets/index-CeM-P3No.js +0 -4213
- package/_assets/index-DaNWyzp1.js +0 -2
- package/_assets/index-Dx2EJyfL.js +0 -28
- package/_assets/index-_GOWI8LR.js +0 -2
- package/_assets/jsxRuntime.module-DOXvkhfj.js +0 -2
- package/_assets/ownerOf-DFm4GfKF.js +0 -2
- package/_assets/parseNft-Cyf0x7fr.js +0 -3
- package/_assets/passkeys-BmMXgrim.js +0 -2
- package/_assets/sales-empty-DiZA2HrL.js +0 -2
- package/_assets/send-batch-transaction-c61eKFtF.js +0 -2
- package/_assets/send-gasless-transaction-Dyjrrx3R.js +0 -3
- package/_assets/send-transaction-zu05RQQe.js +0 -3
- package/_assets/session-request-CRjyiqyl.js +0 -3
- package/_assets/skeleton.styles-TP3MzVpg.js +0 -8
- package/_assets/totalSupply-CxKD_Ej5.js +0 -2
- package/_assets/transactions-C-eBXrKM.js +0 -17
- package/_assets/useCreditPacks-4yPwv6ei.js +0 -2
- package/_assets/useInfiniteGrid-_cqZ0Aml.js +0 -2
- package/_assets/useStore-BjDvSkA0.js +0 -3
- package/_assets/useTheme-DV9ND1To.js +0 -2
- package/_assets/wait-for-tx-receipt-C-bfM-ME.js +0 -2
|
@@ -1,939 +0,0 @@
|
|
|
1
|
-
import{r as m,b as Oe,j as e,u as tt}from"./react-B3VM-Euj.js";import{u as nt,s as st}from"./search-empty-DCF9ryoP.js";import{u as it,S as Ie,R as ot,a as at,b as rt,c as lt,D as ct,d as dt,C as ht,e as pt,F as ut,f as ft,g as mt,M as xt,h as gt}from"./browseLayout.styles-CqS3Mi2Y.js";import{c as G,R as bt,U as yt,bx as wt,bt as vt,aC as jt,b as Ct,n as $t,cz as kt,cA as St,a as i,t,q as He,bg as Et,v as Tt,E as ve,d as n,s as Rt,I as E,r as H,cB as le,be as _t,af as oe,bo as Le,bw as It,bv as Lt,p as De,J as Ge,V as qe,W as Nt,at as zt,L as At,S as Ne,M as J,aK as Mt,bG as Wt}from"./index-CeM-P3No.js";import{L as Bt}from"./LoadMore-C10HOksE.js";import{u as Pt}from"./useInfiniteGrid-_cqZ0Aml.js";import{n as Ft,S as Ut}from"./categories-D8FktL3U.js";import{E as Ot}from"./ErrorNotice-blsFbR3-.js";import{d as Ht}from"./dcl-schemas-D4UJavpl.js";import{s as Dt,G as Gt,w as qt,S as Vt}from"./buy-gasless-BZfxsLgU.js";import{s as Zt,o as Kt}from"./buy-cJ9O8eBB.js";import{f as Qt}from"./errors-DPhIolcl.js";import{J as Jt,C as Xt,B as je}from"./ethers-DujCu8ER.js";import{n as Yt}from"./name-glyph-aUugT8vq.js";import{c as en}from"./crumbs.styles-DaR36ESY.js";import{G as tn}from"./grid.styles-B3jUBgU_.js";import"./skeleton.styles-TP3MzVpg.js";import"./sentry-CHz0jIQP.js";import"./intl-AKLEHPeO.js";import"./authorizations-DTpZ0TyT.js";import"./sendMetaTransaction-BSYJiftl.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new s.Error().stack;o&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[o]="76404687-77a1-4520-931f-2b15bf38271c",s._sentryDebugIdIdentifier="sentry-dbid-76404687-77a1-4520-931f-2b15bf38271c")}catch{}})();function X(s){const o=s.source??"item",a=s.tradeId||`${s.contractAddress}-${s.tokenId??s.itemId??""}`;return`${o}:${a}`}const V="100000000000000000000",Ve=2,ae=15,nn=/^[a-zA-Z0-9]+$/;function ze(s){const o=s.trim();return o.length===0?{ok:!1,reason:"empty"}:nn.test(o)?o.length<Ve?{ok:!1,reason:"too-short"}:o.length>ae?{ok:!1,reason:"too-long"}:{ok:!0}:{ok:!1,reason:"invalid-chars"}}function sn(s){return s.replace(/[^a-zA-Z0-9]/g,"").slice(0,ae)}const on=["function available(string _subdomain) view returns (bool)"],Ae={mainnet:{rpc:"https://rpc.decentraland.org/mainnet",address:"0x2a187453064356c898cae034eaed119e1663acb8"},sepolia:{rpc:"https://rpc.decentraland.org/sepolia",address:"0x7518456ae93eb98f3e64571b689c626616bb7f30"}};function an(){return G.chainId===Number(Ht.ChainId.MATIC_MAINNET)?Ae.mainnet:Ae.sepolia}async function rn(s,o={}){var u;const{rpc:a,address:d}=an(),h=new Jt(a),g=new Xt(d,on,h);console.info(`[names] availability check → DCLRegistrar(${d}).available("${s}") on ${a}`);const l=await g.available(s);if((u=o.signal)!=null&&u.aborted)throw new DOMException("Aborted","AbortError");return console.info(`[names] "${s}" available=${l}`),l?"available":"taken"}const ln="https://app.across.to/api";class ke extends Error{constructor(){super("Name registration is temporarily unavailable due to high network costs"),this.name="NameRouteCostTooHighError"}}class Ce extends Error{constructor(){super("The name could not be registered on Ethereum; your funds were recovered."),this.name="NameNotRegisteredError"}}class $e extends Error{constructor(){super("We couldn't confirm whether the purchase went through."),this.name="NameSettlementUnknownError"}}function cn(s){return jt(V,s)}async function dn(s,o,a={}){var u;const d=a.chainId??G.chainId,h=a.provider??"across",g=`${G.creditsServerUrl}/credits-name-route?name=${encodeURIComponent(o)}&chainId=${d}&provider=${h}`,l=await Ct(g,{method:"GET",identity:s,metadata:{}});if(!l.ok){let c;try{c=(u=await l.json())==null?void 0:u.code}catch{}throw c==="ROUTE_COST_TOO_HIGH"?new ke:new Error(`fetchNameCreditRoute ${l.status}`)}return l.json()}function hn(s,o){const a=je.from(s.availableAmount),h=je.from(V).sub(a);return{credits:[{value:s.amount,expiresAt:Number(s.expiresAt),salt:Kt(s.id)}],creditsSignatures:[s.signature],externalCall:{target:o.externalCall.target,selector:o.externalCall.selector,data:o.externalCall.data,expiresAt:o.externalCall.expiresAt,salt:o.externalCall.salt},customExternalCallSignature:o.customExternalCallSignature,maxUncreditedValue:h.isNegative()?"0":h.toString(),maxCreditedValue:V}}async function pn(s,o={}){const a=ln,d=o.intervalMs??1e4,h=o.maxAttempts??60;let g={status:"pending",destinationTxHash:null,actionsSucceeded:null};for(let l=0;l<h;l++){try{const u=await fetch(`${a}/deposit/status?originChainId=137&depositTxHash=${s}`);if(u.ok){const c=await u.json(),p=(c.status??"pending").toLowerCase(),f=c.fillTx??c.fillTxnRef??null,w=typeof c.actionsSucceeded=="boolean"?c.actionsSucceeded:null;if(p==="filled")return{status:"filled",destinationTxHash:f,actionsSucceeded:w};if(p==="refunded"||p==="expired")return{status:p,destinationTxHash:null,actionsSucceeded:!1};g={status:"pending",destinationTxHash:f,actionsSucceeded:w}}}catch{}l<h-1&&await new Promise(u=>setTimeout(u,d))}return g}async function un(s){const{name:o,identity:a,signer:d}=s,h=f=>{var w;try{(w=s.onProgress)==null||w.call(s,f)}catch{}},g=s.chainId??G.chainId,l=s.provider??"across",u=(s.beneficiary??await d.getAddress()).toLowerCase();let c=null,p="unconfirmed";console.info("[names] register start",{name:o,buyer:u,chainId:g,provider:l}),h("preparing");try{const f=await bt(yt(G.chainId).address),w=cn(f);console.info("[names] step 1/6 sized reservation",{usdCents:w,manaRate:f});const j=await dn(a,o,{chainId:g,provider:l});console.info("[names] step 2/6 route fetched",{target:j.externalCall.target,selector:j.externalCall.selector,provider:j.provider,quoteId:j.quoteId});const $=await wt(a,w,void 0,void 0,o);if(c=$.credit.id,console.info("[names] step 3/6 credit authorized",{creditId:$.credit.id,maxCreditedValue:$.maxCreditedValue}),je.from($.maxCreditedValue).lt(V))throw new Error("Credit under-sized for the name price");h("awaiting-confirmation");const C=hn($.credit,j);let x;try{x=await Dt({chainId:g,buyer:u,signer:d,args:C})}catch(b){if(!(b instanceof Gt))throw b;if(b.reason==="relayer-unreachable"){p="unobservable";const S=new $e;throw S.cause=b,S}x=await Zt(g,C,d)}if(console.info("[names] step 4/6 useCredits submitted (Polygon origin tx)",{originTxHash:x}),h("confirming"),await qt(x),p="confirmed",console.info("[names] step 5/6 origin tx confirmed",{originTxHash:x}),l==="across"){h("registering");const b=await pn(x,s.acrossPoll);if(console.info("[names] step 6/6 across status",b),b.status==="pending")return{status:"pending",originTxHash:x};if(b.status==="filled"&&b.actionsSucceeded===null)return console.warn("[names] across filled without reporting actionsSucceeded — reporting pending",{originTxHash:x}),{status:"pending",originTxHash:x};if(b.status!=="filled"||b.actionsSucceeded!==!0)throw new Ce;return{status:"registered",originTxHash:x,destinationTxHash:b.destinationTxHash}}return{status:"pending",originTxHash:x}}catch(f){if(console.error("[names] register failed — raw error:",f,{name:o,buyer:u,originState:p}),f instanceof Vt)return{status:"pending",originTxHash:f.txHash};if(c&&p==="unconfirmed"&&await vt(a,[c]).catch(()=>{}),f instanceof ke||f instanceof Ce||f instanceof $e)throw f;const w=new Error(Qt(f,"Couldn't register the name. Please try again.",{sale:!0}));throw w.cause=f,w}}function fn(){const{data:s}=$t({queryKey:["feature-flag","shop-names"],queryFn:()=>kt(St.SHOP_NAMES),staleTime:6e4,refetchOnWindowFocus:!0,retry:1});return s===!0}const mn=60,xn=700,gn=25;function bn(s){if(!s)return[];const o=[];for(let a=1;a<=s.length;a++)o.push({text:s.slice(0,a),delay:mn});o[o.length-1]={text:s,delay:xn};for(let a=s.length-1;a>=1;a--)o.push({text:s.slice(0,a),delay:gn});return o}function yn(s){return s.flatMap(bn)}function wn(s,o){const a=m.useMemo(()=>yn(s),[s]),[d,h]=m.useState(0);return m.useEffect(()=>{if(!o||a.length===0)return;const g=setTimeout(()=>h(l=>(l+1)%a.length),a[d%a.length].delay);return()=>clearTimeout(g)},[d,o,a]),!o||a.length===0?"":a[d%a.length].text}const vn="https://cdn.decentraland.org/@dcl/shop/1.12.2-34943028392.commit-9a41f7d/_assets/name-verified-oGwQ3ntb.svg",jn="#34fee6",Cn=i.div`
|
|
2
|
-
position: fixed;
|
|
3
|
-
inset: 0;
|
|
4
|
-
z-index: 10000;
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
padding: 16px;
|
|
9
|
-
background: rgba(22, 21, 24, 0.55);
|
|
10
|
-
`,$n=i.div`
|
|
11
|
-
width: 560px;
|
|
12
|
-
max-width: 100%;
|
|
13
|
-
max-height: 92vh;
|
|
14
|
-
overflow-y: auto;
|
|
15
|
-
background: ${t.colors.white};
|
|
16
|
-
border-radius: 16px;
|
|
17
|
-
padding: 20px 24px 24px;
|
|
18
|
-
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
|
|
19
|
-
|
|
20
|
-
${t.media.maxWidth("mobile")} {
|
|
21
|
-
padding: 16px;
|
|
22
|
-
}
|
|
23
|
-
`,ce=i.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: flex-start;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
gap: 12px;
|
|
28
|
-
`,de=i.h2`
|
|
29
|
-
margin: 0;
|
|
30
|
-
font-family: ${t.font.sans};
|
|
31
|
-
font-weight: 700;
|
|
32
|
-
font-size: 20px;
|
|
33
|
-
line-height: 1.6;
|
|
34
|
-
color: ${t.colors.text};
|
|
35
|
-
`,he=i.button`
|
|
36
|
-
flex: none;
|
|
37
|
-
display: grid;
|
|
38
|
-
place-items: center;
|
|
39
|
-
width: 28px;
|
|
40
|
-
height: 28px;
|
|
41
|
-
border: 0;
|
|
42
|
-
background: none;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
color: ${t.colors.text};
|
|
45
|
-
|
|
46
|
-
.ico {
|
|
47
|
-
width: 18px;
|
|
48
|
-
height: 18px;
|
|
49
|
-
}
|
|
50
|
-
&:disabled {
|
|
51
|
-
opacity: 0.4;
|
|
52
|
-
cursor: default;
|
|
53
|
-
}
|
|
54
|
-
&:focus-visible {
|
|
55
|
-
outline: 2px solid ${t.colors.accent};
|
|
56
|
-
outline-offset: 2px;
|
|
57
|
-
}
|
|
58
|
-
`,pe=i.div`
|
|
59
|
-
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
gap: 6px;
|
|
62
|
-
margin-top: 4px;
|
|
63
|
-
font-family: ${t.font.sans};
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
color: ${t.colors.text2};
|
|
66
|
-
|
|
67
|
-
.ico {
|
|
68
|
-
width: 16px;
|
|
69
|
-
height: 16px;
|
|
70
|
-
color: ${t.colors.brandViolet};
|
|
71
|
-
}
|
|
72
|
-
`,ue=i.hr`
|
|
73
|
-
border: 0;
|
|
74
|
-
border-top: 1px solid ${t.colors.line};
|
|
75
|
-
margin: 16px 0;
|
|
76
|
-
`,fe=i.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
align-items: center;
|
|
79
|
-
gap: 16px;
|
|
80
|
-
`,kn=i.div`
|
|
81
|
-
flex: none;
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: column;
|
|
84
|
-
align-items: center;
|
|
85
|
-
justify-content: center;
|
|
86
|
-
gap: 12px;
|
|
87
|
-
width: 137px;
|
|
88
|
-
height: 137px;
|
|
89
|
-
padding: 20px 0;
|
|
90
|
-
border-radius: 12px;
|
|
91
|
-
overflow: hidden;
|
|
92
|
-
background: ${t.gradients.amethyst};
|
|
93
|
-
`,Sn=i.img`
|
|
94
|
-
display: block;
|
|
95
|
-
width: 47px;
|
|
96
|
-
height: 47px;
|
|
97
|
-
`,En=i.span`
|
|
98
|
-
display: inline-flex;
|
|
99
|
-
align-items: center;
|
|
100
|
-
gap: 2px;
|
|
101
|
-
max-width: 100%;
|
|
102
|
-
padding: 0 8px;
|
|
103
|
-
font-family: ${t.font.sans};
|
|
104
|
-
font-size: 18px;
|
|
105
|
-
font-weight: 600;
|
|
106
|
-
/* The design's cyan — it has to read against the purple, which the body text colour would not. */
|
|
107
|
-
color: ${jn};
|
|
108
|
-
white-space: nowrap;
|
|
109
|
-
overflow: hidden;
|
|
110
|
-
|
|
111
|
-
/* Truncation belongs on the flex item, not this box: text-overflow is inert on a flex container, and
|
|
112
|
-
the zero min-width is what lets the name shrink instead of pushing the tick out. */
|
|
113
|
-
> span {
|
|
114
|
-
min-width: 0;
|
|
115
|
-
overflow: hidden;
|
|
116
|
-
text-overflow: ellipsis;
|
|
117
|
-
}
|
|
118
|
-
`,Tn=i.img`
|
|
119
|
-
flex: none;
|
|
120
|
-
display: block;
|
|
121
|
-
width: 14px;
|
|
122
|
-
height: 14px;
|
|
123
|
-
`,Me=i.div`
|
|
124
|
-
flex: none;
|
|
125
|
-
display: grid;
|
|
126
|
-
place-items: center;
|
|
127
|
-
width: 56px;
|
|
128
|
-
height: 56px;
|
|
129
|
-
border-radius: 10px;
|
|
130
|
-
background: ${t.gradients.amethyst};
|
|
131
|
-
color: ${t.colors.white};
|
|
132
|
-
|
|
133
|
-
.ico {
|
|
134
|
-
width: 30px;
|
|
135
|
-
height: 30px;
|
|
136
|
-
}
|
|
137
|
-
`,me=i.div`
|
|
138
|
-
flex: 1;
|
|
139
|
-
min-width: 0;
|
|
140
|
-
`,xe=i.div`
|
|
141
|
-
font-family: ${t.font.sans};
|
|
142
|
-
font-weight: 700;
|
|
143
|
-
font-size: 20px;
|
|
144
|
-
line-height: 1.3;
|
|
145
|
-
color: ${t.colors.text};
|
|
146
|
-
overflow: hidden;
|
|
147
|
-
text-overflow: ellipsis;
|
|
148
|
-
white-space: nowrap;
|
|
149
|
-
|
|
150
|
-
span {
|
|
151
|
-
font-weight: 400;
|
|
152
|
-
color: ${t.colors.muted2};
|
|
153
|
-
}
|
|
154
|
-
`,ge=i.div`
|
|
155
|
-
font-family: ${t.font.sans};
|
|
156
|
-
font-size: 14px;
|
|
157
|
-
color: ${t.colors.muted2};
|
|
158
|
-
`,be=i.div`
|
|
159
|
-
flex: none;
|
|
160
|
-
display: flex;
|
|
161
|
-
align-items: center;
|
|
162
|
-
gap: 6px;
|
|
163
|
-
font-family: ${t.font.sans};
|
|
164
|
-
font-weight: 600;
|
|
165
|
-
font-size: 24px;
|
|
166
|
-
color: ${t.colors.text};
|
|
167
|
-
|
|
168
|
-
.ico {
|
|
169
|
-
width: 22px;
|
|
170
|
-
height: 22px;
|
|
171
|
-
color: ${t.colors.brandViolet};
|
|
172
|
-
}
|
|
173
|
-
`,Rn=i.div`
|
|
174
|
-
margin-top: 16px;
|
|
175
|
-
padding: 16px;
|
|
176
|
-
border-radius: 12px;
|
|
177
|
-
background: ${t.colors.promptLilac};
|
|
178
|
-
`,_n=i.div`
|
|
179
|
-
font-family: ${t.font.sans};
|
|
180
|
-
font-weight: 700;
|
|
181
|
-
font-size: 16px;
|
|
182
|
-
color: ${t.colors.text};
|
|
183
|
-
`,In=i.p`
|
|
184
|
-
margin: 8px 0 16px;
|
|
185
|
-
font-family: ${t.font.sans};
|
|
186
|
-
font-size: 14px;
|
|
187
|
-
line-height: 1.5;
|
|
188
|
-
color: ${t.colors.text2};
|
|
189
|
-
|
|
190
|
-
/* The chosen NAME is filled with the gradient the design runs through it (1356:335140), not a flat
|
|
191
|
-
violet — background-clip is the only way to paint a text run with one. */
|
|
192
|
-
b {
|
|
193
|
-
font-weight: 700;
|
|
194
|
-
background: linear-gradient(180deg, ${t.colors.dclRed}, ${t.colors.magenta});
|
|
195
|
-
background-clip: text;
|
|
196
|
-
-webkit-background-clip: text;
|
|
197
|
-
color: transparent;
|
|
198
|
-
}
|
|
199
|
-
`,Ln=i.label`
|
|
200
|
-
display: flex;
|
|
201
|
-
align-items: center;
|
|
202
|
-
gap: 8px;
|
|
203
|
-
padding: 12px 14px;
|
|
204
|
-
background: ${t.colors.softWhite};
|
|
205
|
-
/* A hairline in Gray 2, not a full pixel of soft-black: this field sits INSIDE the lilac panel and
|
|
206
|
-
the heavier edge made it read as the modal's primary control (Figma 1356:335172). */
|
|
207
|
-
border: 0.5px solid ${t.colors.muted};
|
|
208
|
-
border-radius: 8px;
|
|
209
|
-
cursor: text;
|
|
210
|
-
|
|
211
|
-
&:focus-within {
|
|
212
|
-
border-color: ${t.colors.magenta};
|
|
213
|
-
}
|
|
214
|
-
`,Nn=i.span`
|
|
215
|
-
flex: none;
|
|
216
|
-
font-family: ${t.font.sans};
|
|
217
|
-
font-size: 18px;
|
|
218
|
-
color: ${t.colors.muted2};
|
|
219
|
-
`,zn=i.input`
|
|
220
|
-
flex: 0 1 auto;
|
|
221
|
-
min-width: 0;
|
|
222
|
-
border: 0;
|
|
223
|
-
outline: none;
|
|
224
|
-
background: transparent;
|
|
225
|
-
font-family: ${t.font.sans};
|
|
226
|
-
font-size: 16px;
|
|
227
|
-
font-weight: 600;
|
|
228
|
-
color: ${t.colors.text};
|
|
229
|
-
|
|
230
|
-
&::placeholder {
|
|
231
|
-
color: ${t.colors.muted2};
|
|
232
|
-
font-weight: 400;
|
|
233
|
-
}
|
|
234
|
-
`,An=i.span`
|
|
235
|
-
flex: none;
|
|
236
|
-
font-family: ${t.font.sans};
|
|
237
|
-
font-size: 16px;
|
|
238
|
-
color: ${t.colors.muted2};
|
|
239
|
-
`,ye=i.button`
|
|
240
|
-
margin-top: 16px;
|
|
241
|
-
width: 100%;
|
|
242
|
-
height: 46px;
|
|
243
|
-
border: 0;
|
|
244
|
-
border-radius: 12px;
|
|
245
|
-
cursor: pointer;
|
|
246
|
-
background: ${t.gradients.buyBtn};
|
|
247
|
-
color: ${t.colors.softWhite};
|
|
248
|
-
font-family: ${t.font.sans};
|
|
249
|
-
font-weight: 600;
|
|
250
|
-
font-size: 15px;
|
|
251
|
-
letter-spacing: 0.46px;
|
|
252
|
-
text-transform: uppercase;
|
|
253
|
-
transition: background-image 0.15s ease;
|
|
254
|
-
|
|
255
|
-
/* Both ends stay on background-IMAGE: a gradient cannot interpolate to a plain colour, so swapping
|
|
256
|
-
the shorthand instead blanks the button for the length of the transition. */
|
|
257
|
-
&:hover:not(:disabled),
|
|
258
|
-
&:active:not(:disabled) {
|
|
259
|
-
background-image: linear-gradient(${t.colors.dclRed}, ${t.colors.dclRed});
|
|
260
|
-
}
|
|
261
|
-
&:focus-visible {
|
|
262
|
-
outline: 2px solid ${t.colors.accent};
|
|
263
|
-
outline-offset: 2px;
|
|
264
|
-
}
|
|
265
|
-
&:disabled {
|
|
266
|
-
cursor: not-allowed;
|
|
267
|
-
opacity: 0.5;
|
|
268
|
-
}
|
|
269
|
-
`,Mn=i.div`
|
|
270
|
-
display: flex;
|
|
271
|
-
flex: 1;
|
|
272
|
-
flex-direction: column;
|
|
273
|
-
align-items: center;
|
|
274
|
-
justify-content: center;
|
|
275
|
-
gap: 32px;
|
|
276
|
-
padding: 32px 0 8px;
|
|
277
|
-
`,Wn=i.img`
|
|
278
|
-
width: 61px;
|
|
279
|
-
height: 61px;
|
|
280
|
-
`,Bn=i.div`
|
|
281
|
-
display: flex;
|
|
282
|
-
flex-direction: column;
|
|
283
|
-
align-items: center;
|
|
284
|
-
gap: 8px;
|
|
285
|
-
width: 100%;
|
|
286
|
-
`,Pn=i.div`
|
|
287
|
-
font-family: ${t.font.sans};
|
|
288
|
-
font-weight: 700;
|
|
289
|
-
font-size: 20px;
|
|
290
|
-
line-height: 1.6;
|
|
291
|
-
color: ${t.colors.text2};
|
|
292
|
-
text-align: center;
|
|
293
|
-
`,Fn=i.p`
|
|
294
|
-
max-width: 400px;
|
|
295
|
-
font-family: ${t.font.sans};
|
|
296
|
-
font-size: 14px;
|
|
297
|
-
line-height: 1.57;
|
|
298
|
-
color: ${t.colors.muted};
|
|
299
|
-
text-align: center;
|
|
300
|
-
`,Un=i.div`
|
|
301
|
-
display: flex;
|
|
302
|
-
align-items: center;
|
|
303
|
-
justify-content: center;
|
|
304
|
-
gap: 8px;
|
|
305
|
-
width: 100%;
|
|
306
|
-
`,On=i.div`
|
|
307
|
-
flex: 1;
|
|
308
|
-
max-width: 400px;
|
|
309
|
-
height: 10px;
|
|
310
|
-
border-radius: 100px;
|
|
311
|
-
background: rgba(0, 0, 0, 0.1);
|
|
312
|
-
overflow: hidden;
|
|
313
|
-
|
|
314
|
-
span {
|
|
315
|
-
display: block;
|
|
316
|
-
height: 100%;
|
|
317
|
-
width: 33%;
|
|
318
|
-
border-radius: 100px;
|
|
319
|
-
background: ${t.gradients.buyBtn};
|
|
320
|
-
animation: nameProgress 1.1s ease-in-out infinite;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
@keyframes nameProgress {
|
|
324
|
-
0% {
|
|
325
|
-
transform: translateX(-100%);
|
|
326
|
-
}
|
|
327
|
-
100% {
|
|
328
|
-
transform: translateX(320%);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
@media (prefers-reduced-motion: reduce) {
|
|
333
|
-
span {
|
|
334
|
-
width: 33%;
|
|
335
|
-
animation: none;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
`,Hn=i.span`
|
|
339
|
-
flex: none;
|
|
340
|
-
font-family: ${t.font.sans};
|
|
341
|
-
font-size: 16px;
|
|
342
|
-
line-height: 22px;
|
|
343
|
-
color: ${t.colors.text2};
|
|
344
|
-
`,Dn=i.div`
|
|
345
|
-
display: flex;
|
|
346
|
-
flex-direction: column;
|
|
347
|
-
align-items: center;
|
|
348
|
-
gap: 16px;
|
|
349
|
-
padding: 24px;
|
|
350
|
-
border-radius: 12px;
|
|
351
|
-
background: #e2f5ea;
|
|
352
|
-
text-align: center;
|
|
353
|
-
`,Gn=i.div`
|
|
354
|
-
display: grid;
|
|
355
|
-
place-items: center;
|
|
356
|
-
width: 56px;
|
|
357
|
-
height: 56px;
|
|
358
|
-
border-radius: 50%;
|
|
359
|
-
background: ${t.colors.ok};
|
|
360
|
-
color: ${t.colors.white};
|
|
361
|
-
|
|
362
|
-
.ico {
|
|
363
|
-
width: 30px;
|
|
364
|
-
height: 30px;
|
|
365
|
-
}
|
|
366
|
-
`,qn=i.p`
|
|
367
|
-
margin: 0;
|
|
368
|
-
font-family: ${t.font.sans};
|
|
369
|
-
font-size: 16px;
|
|
370
|
-
line-height: 1.4;
|
|
371
|
-
color: ${t.colors.text};
|
|
372
|
-
|
|
373
|
-
b {
|
|
374
|
-
font-weight: 700;
|
|
375
|
-
}
|
|
376
|
-
`,We=i.div`
|
|
377
|
-
display: flex;
|
|
378
|
-
gap: 16px;
|
|
379
|
-
margin-top: 20px;
|
|
380
|
-
|
|
381
|
-
${t.media.maxWidth("mobile")} {
|
|
382
|
-
flex-direction: column;
|
|
383
|
-
}
|
|
384
|
-
`,Be=i.button`
|
|
385
|
-
flex: 1;
|
|
386
|
-
height: 48px;
|
|
387
|
-
border: 1px solid ${t.colors.accent};
|
|
388
|
-
border-radius: 8px;
|
|
389
|
-
background: ${t.colors.white};
|
|
390
|
-
color: ${t.colors.accent};
|
|
391
|
-
cursor: pointer;
|
|
392
|
-
font-family: ${t.font.sans};
|
|
393
|
-
font-weight: 600;
|
|
394
|
-
font-size: 13px;
|
|
395
|
-
letter-spacing: 0.46px;
|
|
396
|
-
text-transform: uppercase;
|
|
397
|
-
|
|
398
|
-
&:hover {
|
|
399
|
-
background: rgba(105, 31, 169, 0.06);
|
|
400
|
-
}
|
|
401
|
-
&:focus-visible {
|
|
402
|
-
outline: 2px solid ${t.colors.accent};
|
|
403
|
-
outline-offset: 2px;
|
|
404
|
-
}
|
|
405
|
-
`,Vn=i.a`
|
|
406
|
-
flex: 1;
|
|
407
|
-
display: inline-flex;
|
|
408
|
-
align-items: center;
|
|
409
|
-
justify-content: center;
|
|
410
|
-
height: 48px;
|
|
411
|
-
border-radius: 8px;
|
|
412
|
-
background: ${t.colors.dclRed};
|
|
413
|
-
color: ${t.colors.softWhite};
|
|
414
|
-
cursor: pointer;
|
|
415
|
-
text-decoration: none;
|
|
416
|
-
font-family: ${t.font.sans};
|
|
417
|
-
font-weight: 600;
|
|
418
|
-
font-size: 13px;
|
|
419
|
-
letter-spacing: 0.46px;
|
|
420
|
-
text-transform: uppercase;
|
|
421
|
-
|
|
422
|
-
&:hover {
|
|
423
|
-
filter: brightness(1.05);
|
|
424
|
-
}
|
|
425
|
-
&:focus-visible {
|
|
426
|
-
outline: 2px solid ${t.colors.accent};
|
|
427
|
-
outline-offset: 2px;
|
|
428
|
-
}
|
|
429
|
-
`,we=i.div`
|
|
430
|
-
display: flex;
|
|
431
|
-
align-items: flex-start;
|
|
432
|
-
gap: 12px;
|
|
433
|
-
padding: 16px;
|
|
434
|
-
margin-top: 8px;
|
|
435
|
-
border-radius: 12px;
|
|
436
|
-
background: rgba(255, 45, 85, 0.1);
|
|
437
|
-
font-family: ${t.font.sans};
|
|
438
|
-
font-size: 14px;
|
|
439
|
-
line-height: 1.5;
|
|
440
|
-
color: ${t.colors.text};
|
|
441
|
-
|
|
442
|
-
.ico {
|
|
443
|
-
width: 22px;
|
|
444
|
-
height: 22px;
|
|
445
|
-
flex: none;
|
|
446
|
-
color: ${t.colors.dclRed};
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* Informational, not a failure. Used for "your payment went through, the NAME is on its way" and for the
|
|
451
|
-
* reason a purchase is not available yet (no price, not enough credits) — none of which is an error, and
|
|
452
|
-
* all of which would contradict themselves rendered in the red error treatment.
|
|
453
|
-
*/
|
|
454
|
-
&[data-tone='info'] {
|
|
455
|
-
background: ${t.colors.panel};
|
|
456
|
-
|
|
457
|
-
.ico {
|
|
458
|
-
color: ${t.colors.accent};
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
`;function Zn({name:s,priceCredits:o,onClose:a}){const{session:d}=He(),{data:h,isError:g}=Et(d),l=Tt(),u=Oe(),[c,p]=m.useState("confirm"),[f,w]=m.useState(""),[j,$]=m.useState(null),[C,x]=m.useState(!1),[b,S]=m.useState("preparing"),L=m.useRef(!1),T=f.trim().toLowerCase()===s.toLowerCase(),k=c==="completing",W=o!=null?ve(o):"—",B=o==null,A=h==null?void 0:h.credits,P=o!=null&&A!=null?o-A:0,N=P>0,z=B?n("names.priceUnavailable"):N?n("names.insufficientCredits",{credits:ve(P)}):null;m.useEffect(()=>{const y=D=>{D.key==="Escape"&&!k&&a()};document.addEventListener("keydown",y);const U=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",y),document.body.style.overflow=U}},[k,a]);async function F(){if(!(!d||!T||B||N||L.current)){L.current=!0,p("completing"),$(null),S("preparing");try{const y=await un({name:s,identity:d.identity,signer:d.signer,onProgress:S});oe("Shop Completed Purchase",{items:[{item_id:null,contract_address:null,token_id:null,price_usd:Le(o??0),category:"name",is_smart:!1}],purchase_type:"name",is_primary:!0,payment_type:"credits",value_credits:o??null,value_usd:Le(o??0),transaction_hash:y.originTxHash??null,settlement:y.status}),l.invalidateQueries({queryKey:["usd-balance"]}),l.invalidateQueries({queryKey:["my-assets"]}),p(y.status==="registered"?"success":"pending")}catch(y){oe(Lt(y)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"submit",error_code:It(y),purchase_type:"name"});const U=y instanceof Ce,D=y instanceof $e;$(y instanceof ke?n("names.errorRouteCost"):U?n("names.errorNotRegistered"):D?n("names.errorSettlementUnknown"):(y==null?void 0:y.message)||n("names.errorGeneric")),x(U||D),p("error")}finally{L.current=!1}}}const R=c!=="success"&&c!=="pending",v=Rt(d==null?void 0:d.providerType),I=v?2:1,M=v&&(b==="preparing"||b==="awaiting-confirmation"),_=M?1:I,re=M?n("names.confirming"):n("names.completing"),Z=b==="registering"?n("names.processingRegistering"):null;return e.jsx(Cn,{onClick:k?void 0:a,role:"presentation",children:e.jsxs($n,{role:"dialog","aria-modal":"true","aria-label":n("names.buyTitle"),onClick:y=>y.stopPropagation(),children:[R&&e.jsxs(e.Fragment,{children:[e.jsxs(ce,{children:[e.jsx(de,{children:c==="error"?n("names.errorTitle"):n("names.buyTitle")}),e.jsx(he,{onClick:a,disabled:k,"aria-label":n("buyModal.close"),children:e.jsx(E,{name:"close"})})]}),e.jsxs(pe,{children:[n("names.myCreditsBalance")," ",e.jsx(H,{})," ",le(h,g)]}),e.jsx(ue,{})]}),(c==="confirm"||c==="error")&&e.jsxs(e.Fragment,{children:[e.jsxs(fe,{children:[e.jsx(Me,{"aria-hidden":!0,children:"@"}),e.jsxs(me,{children:[e.jsxs(xe,{children:[s,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(ge,{children:n("names.subtitle")})]}),e.jsxs(be,{children:[e.jsx(H,{}),W]})]}),c==="error"?e.jsxs(e.Fragment,{children:[e.jsxs(we,{children:[e.jsx(E,{name:"info","aria-hidden":!0}),e.jsx("span",{children:j})]}),C?e.jsx(ye,{onClick:a,children:n("names.errorSpentDismiss")}):e.jsx(ye,{onClick:()=>p("confirm"),children:n("names.tryAgain")})]}):e.jsxs(e.Fragment,{children:[e.jsxs(Rn,{children:[e.jsx(_n,{children:n("names.confirmTitle")}),e.jsx(In,{dangerouslySetInnerHTML:{__html:n("names.confirmBody",{name:`<b>@${Kn(s)}</b>`})}}),e.jsxs(Ln,{children:[e.jsx(Nn,{"aria-hidden":!0,children:"@"}),e.jsx(zn,{value:f,onChange:y=>w(y.target.value.replace(/[^a-zA-Z0-9]/g,"")),placeholder:"yourname","aria-label":n("names.reenterAria"),autoComplete:"off",spellCheck:!1,style:{width:`${Math.max(f.length,8)}ch`}}),e.jsx(An,{children:".dcl.eth"})]})]}),z?e.jsxs(we,{"data-tone":"info","data-testid":"name-blocked-reason",children:[e.jsx(E,{name:"info","aria-hidden":!0}),e.jsx("span",{children:z})]}):null,e.jsx(ye,{onClick:()=>void F(),disabled:!T||!d||B||N,children:n("names.buyCta")})]})]}),c==="completing"&&e.jsxs(Mn,{children:[e.jsx(Wn,{src:_t,alt:"",width:61,height:61}),e.jsxs(Bn,{children:[e.jsx(Pn,{children:re}),e.jsxs(Un,{children:[e.jsx(On,{"aria-hidden":!0,children:e.jsx("span",{})}),e.jsx(Hn,{"data-testid":"name-progress-count",children:`${_}/${I}`})]}),Z?e.jsx(Fn,{children:Z}):null]})]}),c==="pending"&&e.jsxs(e.Fragment,{children:[e.jsxs(ce,{children:[e.jsx(de,{children:n("names.pendingHeaderTitle")}),e.jsx(he,{onClick:a,"aria-label":n("buyModal.close"),children:e.jsx(E,{name:"close"})})]}),e.jsxs(pe,{children:[n("names.myCreditsBalance")," ",e.jsx(H,{})," ",le(h,g)]}),e.jsx(ue,{}),e.jsxs(we,{"data-tone":"info",children:[e.jsx(E,{name:"info","aria-hidden":!0}),e.jsxs("span",{children:[e.jsx("b",{children:n("names.pendingBannerBold")})," ",n("names.pendingBannerRest")]})]}),e.jsxs(fe,{style:{marginTop:20},children:[e.jsx(Me,{"aria-hidden":!0,children:"@"}),e.jsxs(me,{children:[e.jsxs(xe,{children:[s,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(ge,{children:n("names.subtitle")})]}),e.jsxs(be,{children:[e.jsx(H,{}),W]})]}),e.jsx(We,{children:e.jsx(Be,{onClick:()=>{a(),u("/my-items")},children:n("names.myItems")})})]}),c==="success"&&e.jsxs(e.Fragment,{children:[e.jsxs(ce,{children:[e.jsx(de,{children:n("names.successHeaderTitle")}),e.jsx(he,{onClick:a,"aria-label":n("buyModal.close"),children:e.jsx(E,{name:"close"})})]}),e.jsxs(pe,{children:[n("names.myCreditsBalance")," ",e.jsx(H,{})," ",le(h,g)]}),e.jsx(ue,{}),e.jsxs(Dn,{children:[e.jsx(Gn,{"aria-hidden":!0,children:e.jsx(E,{name:"check"})}),e.jsxs(qn,{children:[e.jsx("b",{children:n("names.successBannerBold")})," ",n("names.successBannerRest")]})]}),e.jsxs(fe,{style:{marginTop:20},children:[e.jsxs(kn,{"data-testid":"name-success-tile",children:[e.jsx(Sn,{src:Yt,alt:"","aria-hidden":!0,width:47,height:47}),e.jsxs(En,{children:[e.jsx("span",{"aria-hidden":!0,children:s}),e.jsx(Tn,{src:vn,alt:"","aria-hidden":!0,width:14,height:14})]})]}),e.jsxs(me,{children:[e.jsxs(xe,{children:[s,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(ge,{children:n("names.subtitle")})]}),e.jsxs(be,{children:[e.jsx(H,{}),W]})]}),e.jsxs(We,{children:[e.jsx(Be,{onClick:()=>{a(),u("/my-items")},children:n("names.myItems")}),e.jsx(Vn,{href:G.profileUrl,target:"_blank",rel:"noopener noreferrer",children:n("names.assignToAvatar")})]})]})]})})}function Kn(s){return s.replace(/[&<>"']/g,o=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[o])}const Qn="https://cdn.decentraland.org/@dcl/shop/1.12.2-34943028392.commit-9a41f7d/_assets/identity-icon-C8yAW_Gq.svg",Jn="https://cdn.decentraland.org/@dcl/shop/1.12.2-34943028392.commit-9a41f7d/_assets/world-icon-6xQ-PmmW.svg",Xn="https://cdn.decentraland.org/@dcl/shop/1.12.2-34943028392.commit-9a41f7d/_assets/invite-icon-Bz6lCTuB.svg",Yn="data:image/svg+xml,%3csvg%20width='55.6797'%20height='63.6174'%20viewBox='0%200%2055.6797%2063.6174'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Vote'%3e%3cpath%20id='Vector'%20d='M0.055012%2039.1045C1.61191%2039.4989%202.83757%2039.3938%204.4307%2039.392L8.27108%2039.3878L20.7762%2039.3883L42.8819%2039.3904L50.0954%2039.3907C51.793%2039.3907%2054.0562%2039.5509%2055.6466%2039.0843C55.5909%2040.7931%2055.647%2042.8581%2055.6469%2044.5864L55.6479%2055.616L55.6559%2059.5618C55.6583%2060.6219%2055.8213%2061.9838%2055.261%2062.8837C55.2205%2062.9265%2055.1794%2062.9688%2055.1377%2063.0104C54.7986%2063.3482%2054.3791%2063.5594%2053.9021%2063.5761C52.0714%2063.642%2050.1544%2063.6097%2048.3241%2063.6078L37.4452%2063.6066L2.97352%2063.6103C2.2022%2063.6084%201.15943%2063.6718%200.589171%2063.0576C-0.204857%2062.2037%200.0327979%2060.3244%200.0349529%2059.1687L0.0414734%2054.3929C0.0413119%2049.3191%20-0.00749456%2044.1727%200.055012%2039.1045Z'%20fill='white'%20fill-opacity='0.8'/%3e%3cpath%20id='Subtract'%20d='M37.1168%200.00495927C38.1773%200.00461149%2039.2888%20-0.0284991%2040.3433%200.0811311C41.0714%200.15695%2041.7266%200.914583%2041.7857%201.63484C41.853%202.45491%2041.8268%203.31926%2041.8258%204.15144L41.8189%208.70418L41.8199%2023.9639L40.1099%2023.9659L13.8726%2023.963L13.8678%209.0909L13.8648%204.29793C13.8644%202.52652%2013.3942%200.34203%2015.6754%200.0342561C15.8907%200.016712%2016.237%200.0120998%2016.4557%200.0117952C21.6059%200.00480262%2026.761%200.0117634%2031.9107%200.00788896L37.1168%200.00495927ZM33.3834%206.17293C32.439%206.55612%2031.0531%208.12922%2030.3014%208.88191L25.8297%2013.3634C25.3537%2012.824%2023.3455%2010.7605%2022.8209%2010.4239C22.5581%2010.2549%2022.2566%2010.1546%2021.9449%2010.1329C21.4563%2010.1008%2020.9754%2010.2879%2020.6139%2010.6134C20.2442%2010.9428%2020.0227%2011.4077%2020.0006%2011.9024C19.9561%2013.0748%2021.3406%2014.1198%2022.1256%2014.8868C22.9429%2015.714%2024.1669%2017.1028%2025.1168%2017.67C26.1632%2018.2949%2027.3471%2017.2145%2027.9723%2016.4942C30.25%2014.2025%2032.5393%2011.9456%2034.8101%209.64949C35.2937%209.16062%2035.7138%208.69126%2035.6851%207.96199C35.6419%206.86558%2034.7821%206.09682%2033.6959%206.14656C33.5914%206.15085%2033.4872%206.16001%2033.3834%206.17293Z'%20fill='%23FF7439'/%3e%3cpath%20id='Vector_2'%20d='M45.5498%2015.976C46.6399%2015.986%2049.9504%2015.7705%2050.7361%2016.241C51.0104%2016.4053%2051.2831%2016.6446%2051.4181%2016.9397C51.892%2017.9763%2052.1015%2019.357%2052.3802%2020.4819L54.0582%2027.2308C54.5046%2028.9073%2054.9023%2030.6043%2055.3338%2032.2824C55.6029%2033.329%2055.9417%2034.4293%2054.9705%2035.2255C54.8158%2035.359%2054.4427%2035.5934%2054.2329%2035.6091C52.7731%2035.7184%2051.1693%2035.6701%2049.7108%2035.6679L39.4635%2035.6649L14.5239%2035.6632C10.471%2035.6631%206.41808%2035.6665%202.36531%2035.6698C1.79359%2035.6657%201.33794%2035.6604%200.844568%2035.337C-0.57365%2034.4073%200.381076%2032.2112%200.72189%2030.8501L1.93462%2025.9936L3.28579%2020.566C3.53371%2019.5688%203.77194%2018.5694%204.04289%2017.5781C4.30559%2016.6172%204.74298%2016.1492%205.73966%2015.9892C7.15095%2015.9419%208.72017%2015.9778%2010.1434%2015.9809L10.1451%2023.9585C7.37011%2024.097%207.74242%2027.5535%209.84963%2027.6469C11.6268%2027.7258%2013.6164%2027.6909%2015.4098%2027.691L26.229%2027.6915L39.1339%2027.691L43.273%2027.6909C44.748%2027.6909%2047.2174%2028.0848%2047.3773%2025.9908C47.4212%2025.4807%2047.2565%2024.9745%2046.9209%2024.5879C46.5265%2024.141%2046.1143%2024.0046%2045.5418%2023.9673L45.5498%2015.976Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",es=i.div`
|
|
462
|
-
width: 100%;
|
|
463
|
-
min-width: 0;
|
|
464
|
-
`,ts=i.nav`
|
|
465
|
-
display: flex;
|
|
466
|
-
align-items: center;
|
|
467
|
-
gap: 6px;
|
|
468
|
-
margin: 4px 0 16px;
|
|
469
|
-
font-family: ${t.font.sans};
|
|
470
|
-
font-size: 12px;
|
|
471
|
-
line-height: 1;
|
|
472
|
-
color: ${t.colors.gray4};
|
|
473
|
-
${en};
|
|
474
|
-
`,ns=i.button`
|
|
475
|
-
border: 0;
|
|
476
|
-
background: none;
|
|
477
|
-
padding: 0;
|
|
478
|
-
cursor: pointer;
|
|
479
|
-
font: inherit;
|
|
480
|
-
color: ${t.colors.gray4};
|
|
481
|
-
|
|
482
|
-
&:hover {
|
|
483
|
-
color: ${t.colors.white};
|
|
484
|
-
text-decoration: underline;
|
|
485
|
-
}
|
|
486
|
-
&:focus-visible {
|
|
487
|
-
outline: 2px solid ${t.colors.white};
|
|
488
|
-
outline-offset: 2px;
|
|
489
|
-
}
|
|
490
|
-
`,ss=i.span`
|
|
491
|
-
font-weight: 700;
|
|
492
|
-
color: ${t.colors.softWhite};
|
|
493
|
-
`,is=i.div`
|
|
494
|
-
display: flex;
|
|
495
|
-
flex-direction: column;
|
|
496
|
-
gap: 48px;
|
|
497
|
-
padding-bottom: 48px;
|
|
498
|
-
|
|
499
|
-
${t.media.maxWidth("mobile")} {
|
|
500
|
-
gap: 32px;
|
|
501
|
-
padding-bottom: 32px;
|
|
502
|
-
}
|
|
503
|
-
`,os=i.div`
|
|
504
|
-
position: relative;
|
|
505
|
-
border: 1px solid ${t.colors.magenta};
|
|
506
|
-
border-radius: 24px;
|
|
507
|
-
overflow: hidden;
|
|
508
|
-
padding: 88px 48px;
|
|
509
|
-
display: flex;
|
|
510
|
-
flex-direction: column;
|
|
511
|
-
align-items: center;
|
|
512
|
-
gap: 48px;
|
|
513
|
-
text-align: center;
|
|
514
|
-
background: ${t.colors.overlay};
|
|
515
|
-
|
|
516
|
-
${t.media.maxWidth("mobile")} {
|
|
517
|
-
padding: 40px 20px;
|
|
518
|
-
gap: 28px;
|
|
519
|
-
}
|
|
520
|
-
`,as=i.div`
|
|
521
|
-
display: flex;
|
|
522
|
-
flex-direction: column;
|
|
523
|
-
align-items: center;
|
|
524
|
-
gap: 12px;
|
|
525
|
-
`,rs=i.h1`
|
|
526
|
-
margin: 0;
|
|
527
|
-
font-family: ${t.font.sans};
|
|
528
|
-
font-weight: 600;
|
|
529
|
-
font-size: 40px;
|
|
530
|
-
line-height: 1.167;
|
|
531
|
-
color: ${t.colors.white};
|
|
532
|
-
|
|
533
|
-
${t.media.maxWidth("mobile")} {
|
|
534
|
-
font-size: 26px;
|
|
535
|
-
}
|
|
536
|
-
`,ls=i.p`
|
|
537
|
-
margin: 0;
|
|
538
|
-
max-width: 760px;
|
|
539
|
-
font-family: ${t.font.sans};
|
|
540
|
-
font-weight: 500;
|
|
541
|
-
font-size: 24px;
|
|
542
|
-
line-height: 1.334;
|
|
543
|
-
color: #ecebed;
|
|
544
|
-
|
|
545
|
-
${t.media.maxWidth("mobile")} {
|
|
546
|
-
font-size: 16px;
|
|
547
|
-
}
|
|
548
|
-
`,cs=i.div`
|
|
549
|
-
width: min(785px, 100%);
|
|
550
|
-
display: flex;
|
|
551
|
-
flex-direction: column;
|
|
552
|
-
gap: 12px;
|
|
553
|
-
`,ds=i.div`
|
|
554
|
-
position: relative;
|
|
555
|
-
`,hs=i("div",Ft("invalid"))`
|
|
556
|
-
display: flex;
|
|
557
|
-
align-items: center;
|
|
558
|
-
gap: 8px;
|
|
559
|
-
padding: 8px 8px 8px 16px;
|
|
560
|
-
background: ${t.colors.softWhite};
|
|
561
|
-
/* Figma 1368:349148 gives the field a 3px Orange edge — it is the page's one input, and the design
|
|
562
|
-
leans on that weight to carry it. Red only when what has been typed cannot be claimed. */
|
|
563
|
-
border: 3px solid ${({invalid:s})=>s?t.colors.dclRed:t.colors.orange};
|
|
564
|
-
border-radius: 20px;
|
|
565
|
-
|
|
566
|
-
&:focus-within {
|
|
567
|
-
border-color: ${({invalid:s})=>s?t.colors.dclRed:t.colors.magenta};
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
${t.media.maxWidth("mobile")} {
|
|
571
|
-
border-radius: 16px;
|
|
572
|
-
}
|
|
573
|
-
`,ps=i.span`
|
|
574
|
-
position: absolute;
|
|
575
|
-
left: -9999px;
|
|
576
|
-
top: 0;
|
|
577
|
-
visibility: hidden;
|
|
578
|
-
pointer-events: none;
|
|
579
|
-
white-space: pre;
|
|
580
|
-
font-family: ${t.font.sans};
|
|
581
|
-
font-size: 20px;
|
|
582
|
-
font-weight: 600;
|
|
583
|
-
line-height: 1.6;
|
|
584
|
-
|
|
585
|
-
/* An empty field paints the PLACEHOLDER, which is lighter than a typed value — so the mirror has to
|
|
586
|
-
be lighter too. Measuring the placeholder at the value's weight made the box a few pixels wider
|
|
587
|
-
than the text in it, and ".dcl.eth" sat that far off the end of the word. */
|
|
588
|
-
&[data-placeholder] {
|
|
589
|
-
font-weight: 400;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
${t.media.maxWidth("mobile")} {
|
|
593
|
-
font-size: 16px;
|
|
594
|
-
}
|
|
595
|
-
`,us=i.div`
|
|
596
|
-
position: absolute;
|
|
597
|
-
top: calc(100% + 8px);
|
|
598
|
-
left: 0;
|
|
599
|
-
right: 0;
|
|
600
|
-
z-index: 2;
|
|
601
|
-
display: flex;
|
|
602
|
-
align-items: center;
|
|
603
|
-
gap: 8px;
|
|
604
|
-
padding: 8px 12px;
|
|
605
|
-
border-radius: 8px;
|
|
606
|
-
background: #ffcdd4;
|
|
607
|
-
color: #ec303a;
|
|
608
|
-
font-family: ${t.font.sans};
|
|
609
|
-
font-size: 14px;
|
|
610
|
-
font-weight: 500;
|
|
611
|
-
line-height: 1.2;
|
|
612
|
-
text-align: left;
|
|
613
|
-
|
|
614
|
-
${t.media.maxWidth("mobile")} {
|
|
615
|
-
position: static;
|
|
616
|
-
margin-top: 8px;
|
|
617
|
-
align-items: flex-start;
|
|
618
|
-
flex-wrap: wrap;
|
|
619
|
-
}
|
|
620
|
-
`,Ze=i.a`
|
|
621
|
-
display: inline-flex;
|
|
622
|
-
align-items: center;
|
|
623
|
-
gap: 2px;
|
|
624
|
-
margin-left: auto;
|
|
625
|
-
font-weight: 600;
|
|
626
|
-
text-decoration: underline;
|
|
627
|
-
text-transform: uppercase;
|
|
628
|
-
white-space: nowrap;
|
|
629
|
-
|
|
630
|
-
${t.media.maxWidth("mobile")} {
|
|
631
|
-
margin-left: 0;
|
|
632
|
-
}
|
|
633
|
-
`,fs=i(Ze)`
|
|
634
|
-
color: #ec303a;
|
|
635
|
-
`,ms=i.label`
|
|
636
|
-
flex: 1;
|
|
637
|
-
min-width: 0;
|
|
638
|
-
display: flex;
|
|
639
|
-
align-items: center;
|
|
640
|
-
gap: 0;
|
|
641
|
-
cursor: text;
|
|
642
|
-
overflow: hidden;
|
|
643
|
-
`,xs=i.span`
|
|
644
|
-
flex: none;
|
|
645
|
-
margin-right: 8px;
|
|
646
|
-
font-family: ${t.font.sans};
|
|
647
|
-
font-size: 26px;
|
|
648
|
-
font-weight: 500;
|
|
649
|
-
line-height: 1;
|
|
650
|
-
color: ${t.colors.muted2};
|
|
651
|
-
|
|
652
|
-
${t.media.maxWidth("mobile")} {
|
|
653
|
-
font-size: 20px;
|
|
654
|
-
}
|
|
655
|
-
`,gs=i.input`
|
|
656
|
-
flex: 0 1 auto;
|
|
657
|
-
min-width: 0;
|
|
658
|
-
max-width: 100%;
|
|
659
|
-
border: 0;
|
|
660
|
-
outline: none;
|
|
661
|
-
background: transparent;
|
|
662
|
-
font-family: ${t.font.sans};
|
|
663
|
-
font-size: 20px;
|
|
664
|
-
font-weight: 600;
|
|
665
|
-
line-height: 1.6;
|
|
666
|
-
color: ${t.colors.text};
|
|
667
|
-
padding: 0;
|
|
668
|
-
|
|
669
|
-
&::placeholder {
|
|
670
|
-
color: ${t.colors.muted1};
|
|
671
|
-
font-weight: 400;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
${t.media.maxWidth("mobile")} {
|
|
675
|
-
font-size: 16px;
|
|
676
|
-
}
|
|
677
|
-
`,bs=i.span`
|
|
678
|
-
flex: none;
|
|
679
|
-
/* Flush against the name: "yourname.dcl.eth" has to read as one address, and at 20px even a couple of
|
|
680
|
-
pixels here look like a space someone typed by mistake. */
|
|
681
|
-
margin-left: 0;
|
|
682
|
-
/* Not selectable: it is the fixed part of the address, not something the reader typed. */
|
|
683
|
-
user-select: none;
|
|
684
|
-
-webkit-user-select: none;
|
|
685
|
-
font-family: ${t.font.sans};
|
|
686
|
-
font-size: 20px;
|
|
687
|
-
font-weight: 400;
|
|
688
|
-
line-height: 1.6;
|
|
689
|
-
color: ${t.colors.muted1};
|
|
690
|
-
|
|
691
|
-
${t.media.maxWidth("mobile")} {
|
|
692
|
-
font-size: 16px;
|
|
693
|
-
}
|
|
694
|
-
`,ys=i.span`
|
|
695
|
-
flex: none;
|
|
696
|
-
font-family: ${t.font.sans};
|
|
697
|
-
font-size: 14px;
|
|
698
|
-
line-height: 1.43;
|
|
699
|
-
color: ${t.colors.muted2};
|
|
700
|
-
white-space: nowrap;
|
|
701
|
-
`,Ke=i.button`
|
|
702
|
-
flex: none;
|
|
703
|
-
display: inline-flex;
|
|
704
|
-
align-items: center;
|
|
705
|
-
justify-content: center;
|
|
706
|
-
gap: 8px;
|
|
707
|
-
height: 52px;
|
|
708
|
-
padding: 0 24px;
|
|
709
|
-
border: 0;
|
|
710
|
-
border-radius: 12px;
|
|
711
|
-
cursor: pointer;
|
|
712
|
-
background: ${t.gradients.buyBtn};
|
|
713
|
-
color: ${t.colors.softWhite};
|
|
714
|
-
font-family: ${t.font.sans};
|
|
715
|
-
font-weight: 600;
|
|
716
|
-
font-size: 15px;
|
|
717
|
-
letter-spacing: 0.46px;
|
|
718
|
-
line-height: 24px;
|
|
719
|
-
text-transform: uppercase;
|
|
720
|
-
transition: background-image 0.15s ease;
|
|
721
|
-
|
|
722
|
-
/* Both ends stay on background-IMAGE: a gradient cannot interpolate to a plain colour, so swapping
|
|
723
|
-
the background shorthand instead blanks the button for the length of the transition. */
|
|
724
|
-
&:hover:not(:disabled),
|
|
725
|
-
&:active:not(:disabled) {
|
|
726
|
-
background-image: linear-gradient(${t.colors.dclRed}, ${t.colors.dclRed});
|
|
727
|
-
}
|
|
728
|
-
&:focus-visible {
|
|
729
|
-
outline: 2px solid ${t.colors.white};
|
|
730
|
-
outline-offset: 2px;
|
|
731
|
-
}
|
|
732
|
-
&:disabled {
|
|
733
|
-
cursor: not-allowed;
|
|
734
|
-
opacity: 0.5;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
${t.media.maxWidth("mobile")} {
|
|
738
|
-
display: none;
|
|
739
|
-
}
|
|
740
|
-
`,ws=i(Ke)`
|
|
741
|
-
display: none;
|
|
742
|
-
|
|
743
|
-
${t.media.maxWidth("mobile")} {
|
|
744
|
-
display: inline-flex;
|
|
745
|
-
width: 100%;
|
|
746
|
-
height: 48px;
|
|
747
|
-
border-radius: 12px;
|
|
748
|
-
}
|
|
749
|
-
`,vs=i.span`
|
|
750
|
-
display: inline-flex;
|
|
751
|
-
align-items: center;
|
|
752
|
-
gap: 4px;
|
|
753
|
-
font-size: 18px;
|
|
754
|
-
font-weight: 600;
|
|
755
|
-
|
|
756
|
-
.ico {
|
|
757
|
-
width: 13.26px;
|
|
758
|
-
height: 14px;
|
|
759
|
-
}
|
|
760
|
-
`,js=i.div`
|
|
761
|
-
display: flex;
|
|
762
|
-
align-items: center;
|
|
763
|
-
gap: 8px;
|
|
764
|
-
padding: 8px 14px;
|
|
765
|
-
border-radius: 8px;
|
|
766
|
-
font-family: ${t.font.sans};
|
|
767
|
-
font-size: 13px;
|
|
768
|
-
font-weight: 500;
|
|
769
|
-
text-align: left;
|
|
770
|
-
|
|
771
|
-
background: ${({tone:s})=>s==="error"?"rgba(255, 45, 85, 0.12)":s==="ok"?"rgba(30, 166, 114, 0.14)":"rgba(255,255,255,0.14)"};
|
|
772
|
-
color: ${({tone:s})=>s==="error"?t.colors.dclRed:s==="ok"?"#0f7a4f":"#ecebed"};
|
|
773
|
-
|
|
774
|
-
.ico {
|
|
775
|
-
width: 16px;
|
|
776
|
-
height: 16px;
|
|
777
|
-
flex: none;
|
|
778
|
-
}
|
|
779
|
-
`,Y=i(js)`
|
|
780
|
-
position: absolute;
|
|
781
|
-
top: calc(100% + 8px);
|
|
782
|
-
left: 0;
|
|
783
|
-
right: 0;
|
|
784
|
-
z-index: 2;
|
|
785
|
-
|
|
786
|
-
/* Static on mobile, as TakenBanner is: the claim button sits below InputWrap there, so anything
|
|
787
|
-
floating out of the input lands on top of it. */
|
|
788
|
-
${t.media.maxWidth("mobile")} {
|
|
789
|
-
position: static;
|
|
790
|
-
margin-top: 8px;
|
|
791
|
-
}
|
|
792
|
-
`,Cs=i(Ze)`
|
|
793
|
-
color: inherit;
|
|
794
|
-
`,$s=i.section`
|
|
795
|
-
display: flex;
|
|
796
|
-
flex-direction: column;
|
|
797
|
-
gap: 48px;
|
|
798
|
-
padding: 0 48px;
|
|
799
|
-
|
|
800
|
-
${t.media.maxWidth("mobile")} {
|
|
801
|
-
gap: 32px;
|
|
802
|
-
padding: 0 20px;
|
|
803
|
-
}
|
|
804
|
-
`,ks=i.div`
|
|
805
|
-
display: flex;
|
|
806
|
-
flex-direction: column;
|
|
807
|
-
align-items: center;
|
|
808
|
-
gap: 24px;
|
|
809
|
-
`,Ss=i.h2`
|
|
810
|
-
margin: 0;
|
|
811
|
-
text-align: center;
|
|
812
|
-
font-family: ${t.font.sans};
|
|
813
|
-
font-weight: 600;
|
|
814
|
-
font-size: 32px;
|
|
815
|
-
line-height: 1.167;
|
|
816
|
-
color: ${t.colors.white};
|
|
817
|
-
|
|
818
|
-
${t.media.maxWidth("mobile")} {
|
|
819
|
-
font-size: 22px;
|
|
820
|
-
}
|
|
821
|
-
`,Es=i.p`
|
|
822
|
-
margin: 0;
|
|
823
|
-
max-width: 907px;
|
|
824
|
-
text-align: center;
|
|
825
|
-
font-family: ${t.font.sans};
|
|
826
|
-
font-weight: 400;
|
|
827
|
-
font-size: 20px;
|
|
828
|
-
line-height: 1.57;
|
|
829
|
-
color: ${t.colors.gray4};
|
|
830
|
-
|
|
831
|
-
${t.media.maxWidth("mobile")} {
|
|
832
|
-
font-size: 16px;
|
|
833
|
-
}
|
|
834
|
-
`,Ts=i.div`
|
|
835
|
-
display: grid;
|
|
836
|
-
grid-template-columns: repeat(4, 1fr);
|
|
837
|
-
gap: 24px;
|
|
838
|
-
align-items: stretch;
|
|
839
|
-
|
|
840
|
-
${t.media.maxWidth("lg")} {
|
|
841
|
-
grid-template-columns: repeat(2, 1fr);
|
|
842
|
-
}
|
|
843
|
-
${t.media.maxWidth("mobile")} {
|
|
844
|
-
grid-template-columns: 1fr;
|
|
845
|
-
}
|
|
846
|
-
`,ee=i.article`
|
|
847
|
-
min-width: 0;
|
|
848
|
-
display: flex;
|
|
849
|
-
flex-direction: column;
|
|
850
|
-
gap: 32px;
|
|
851
|
-
padding: 24px;
|
|
852
|
-
background: ${t.colors.overlay};
|
|
853
|
-
border-radius: 24px;
|
|
854
|
-
|
|
855
|
-
@media (forced-colors: active) {
|
|
856
|
-
outline: 1px solid CanvasText;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
${t.media.maxWidth("mobile")} {
|
|
860
|
-
gap: 20px;
|
|
861
|
-
padding: 20px;
|
|
862
|
-
}
|
|
863
|
-
`,te=i.img`
|
|
864
|
-
display: block;
|
|
865
|
-
align-self: flex-start;
|
|
866
|
-
height: 55px;
|
|
867
|
-
width: auto;
|
|
868
|
-
`,ne=i.div`
|
|
869
|
-
flex: 1;
|
|
870
|
-
display: flex;
|
|
871
|
-
flex-direction: column;
|
|
872
|
-
gap: 12px;
|
|
873
|
-
`,se=i.h3`
|
|
874
|
-
margin: 0;
|
|
875
|
-
font-family: ${t.font.sans};
|
|
876
|
-
font-weight: 700;
|
|
877
|
-
font-size: 20px;
|
|
878
|
-
line-height: 1.57;
|
|
879
|
-
text-transform: uppercase;
|
|
880
|
-
color: ${t.colors.white};
|
|
881
|
-
`,ie=i.p`
|
|
882
|
-
margin: 0;
|
|
883
|
-
font-family: ${t.font.sans};
|
|
884
|
-
font-weight: 400;
|
|
885
|
-
font-size: 14px;
|
|
886
|
-
line-height: 1.57;
|
|
887
|
-
color: ${t.colors.media};
|
|
888
|
-
`,Rs=i.span`
|
|
889
|
-
font-weight: 700;
|
|
890
|
-
color: ${t.colors.white};
|
|
891
|
-
`,Pe=i.a`
|
|
892
|
-
display: inline-flex;
|
|
893
|
-
align-items: center;
|
|
894
|
-
gap: 2px;
|
|
895
|
-
margin-top: auto;
|
|
896
|
-
font-family: ${t.font.sans};
|
|
897
|
-
font-weight: 500;
|
|
898
|
-
font-size: 14px;
|
|
899
|
-
line-height: 30px;
|
|
900
|
-
color: ${t.colors.softWhite};
|
|
901
|
-
text-decoration: underline;
|
|
902
|
-
|
|
903
|
-
&:focus-visible {
|
|
904
|
-
outline: 2px solid ${t.colors.softWhite};
|
|
905
|
-
outline-offset: 2px;
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
.ico {
|
|
909
|
-
width: 13px;
|
|
910
|
-
height: 13px;
|
|
911
|
-
}
|
|
912
|
-
`,_s=i.span`
|
|
913
|
-
position: absolute;
|
|
914
|
-
width: 1px;
|
|
915
|
-
height: 1px;
|
|
916
|
-
padding: 0;
|
|
917
|
-
margin: -1px;
|
|
918
|
-
overflow: hidden;
|
|
919
|
-
clip: rect(0, 0, 0, 0);
|
|
920
|
-
white-space: nowrap;
|
|
921
|
-
border: 0;
|
|
922
|
-
`,Is="https://docs.decentraland.org/creator/worlds/about/",Ls="https://governance.decentraland.org";function Fe(s){const o=typeof window<"u"?window.location.hostname:"";return`${o.endsWith("decentraland.org")?"https://decentraland.org":o.endsWith("decentraland.today")?"https://decentraland.today":"https://decentraland.zone"}/marketplace/names/browse?search=${encodeURIComponent(s)}`}function Ns({onBack:s}){De({title:n("seo.names.title"),description:n("seo.names.description")});const{session:o,signIn:a}=He(),d=fn(),{data:h}=Ge(),g=h?qe(V,h):null,[l,u]=m.useState(""),[c,p]=m.useState("idle"),[f,w]=m.useState(!1),[j,$]=m.useState(!1),[C,x]=m.useState(()=>{var v;return typeof window<"u"&&!!((v=window.matchMedia)!=null&&v.call(window,"(prefers-reduced-motion: reduce)").matches)});m.useEffect(()=>{var M;const v=(M=window.matchMedia)==null?void 0:M.call(window,"(prefers-reduced-motion: reduce)");if(!v)return;const I=_=>x(_.matches);return v.addEventListener("change",I),()=>v.removeEventListener("change",I)},[]);const b=n("names.placeholderExamples"),S=m.useMemo(()=>b.split(",").map(v=>v.trim()).filter(Boolean),[b]),T=wn(S,!j&&!l&&!C)||n("names.inputPlaceholder"),k=m.useRef(null),[W,B]=m.useState(void 0);m.useLayoutEffect(()=>{k.current&&B(k.current.getBoundingClientRect().width)},[l,T]),m.useEffect(()=>{if(!ze(l).ok){p(l.length===0?"idle":"invalid");return}p("checking");const I=new AbortController,M=setTimeout(()=>{(async()=>{try{const _=await rn(l,{signal:I.signal});p(_)}catch(_){if((_==null?void 0:_.name)==="AbortError")return;p("error")}})()},400);return()=>{clearTimeout(M),I.abort()}},[l]);const A=ze(l),P=A.ok&&(c==="available"||c==="error"),N=d&&P,z=!d&&P;function F(){if(N){if(!o){a();return}w(!0)}}const R=e.jsxs(e.Fragment,{children:[n("names.claim"),g!=null?e.jsxs(vs,{children:[e.jsx(H,{}),ve(g)]}):null]});return e.jsxs(es,{"data-testid":"names-page",children:[e.jsxs(ts,{"aria-label":n("names.breadcrumbAria"),children:[e.jsx(ns,{onClick:s,children:n("names.breadcrumbCollectibles")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(ss,{children:n("names.breadcrumbCurrent")})]}),e.jsxs(is,{children:[e.jsxs(os,{children:[e.jsxs(as,{children:[e.jsx(rs,{children:n("names.heroTitle")}),e.jsx(ls,{children:n("names.heroSubtitle")})]}),e.jsxs(cs,{children:[e.jsxs(ds,{"data-testid":"names-input-wrap",children:[e.jsxs(hs,{invalid:c==="taken",children:[e.jsxs(ms,{children:[e.jsx(xs,{"aria-hidden":!0,children:"@"}),e.jsx(gs,{value:l,onChange:v=>u(sn(v.target.value)),placeholder:T,"aria-label":n("names.inputAria"),autoComplete:"off",spellCheck:!1,maxLength:ae,onFocus:()=>$(!0),style:{width:W!=null?`${W}px`:void 0}}),e.jsx(ps,{ref:k,"aria-hidden":!0,"data-placeholder":!l||void 0,children:l||T}),e.jsx(bs,{children:n("names.suffix")})]}),l.length>0?e.jsxs(ys,{"aria-hidden":!0,children:[l.length,"/",ae]}):null,e.jsx(Ke,{onClick:F,disabled:!N,"data-testid":"names-claim",children:R})]}),c==="taken"?e.jsxs(us,{role:"status","data-testid":"names-taken",children:[e.jsx(E,{name:"info",size:16,"aria-hidden":!0}),e.jsx("span",{children:n("names.taken")}),e.jsxs(fs,{href:Fe(l),target:"_blank",rel:"noopener noreferrer",children:[n("names.takenMakeOffer"),e.jsx(E,{name:"external-link",size:13,"aria-hidden":!0})]})]}):null,c==="checking"?e.jsx(Y,{tone:"muted",role:"status","data-testid":"names-checking",children:n("names.checking")}):z?e.jsxs(Y,{tone:"muted",role:"status","data-testid":"names-disabled",children:[e.jsx(E,{name:"info",size:16,"aria-hidden":!0}),e.jsx("span",{children:n("names.registrationDisabled")}),e.jsxs(Cs,{href:Fe(l),target:"_blank",rel:"noopener noreferrer",children:[n("names.registrationDisabledLink"),e.jsx(E,{name:"external-link",size:13,"aria-hidden":!0})]})]}):c==="error"?e.jsx(Y,{tone:"muted",role:"status",children:n("names.checkError")}):c==="invalid"&&!A.ok&&A.reason==="too-short"?e.jsx(Y,{tone:"muted",role:"status",children:n("names.tooShort",{min:Ve})}):null]}),e.jsx(ws,{onClick:F,disabled:!N,children:R}),e.jsx(_s,{role:"status","aria-live":"polite",children:c==="available"?n("names.available",{name:l}):""})]})]}),e.jsxs($s,{children:[e.jsxs(ks,{children:[e.jsx(Ss,{children:n("names.whyTitle")}),e.jsx(Es,{children:n("names.whyIntro")})]}),e.jsxs(Ts,{children:[e.jsxs(ee,{children:[e.jsx(te,{src:Qn,alt:""}),e.jsxs(ne,{children:[e.jsx(se,{children:n("names.why1Title")}),e.jsx(ie,{children:n("names.why1")})]})]}),e.jsxs(ee,{children:[e.jsx(te,{src:Jn,alt:""}),e.jsxs(ne,{children:[e.jsx(se,{children:n("names.why2Title")}),e.jsxs(ie,{children:[n("names.why2")," ",e.jsx(Rs,{children:n("names.why2Address")})]}),e.jsxs(Pe,{href:Is,target:"_blank",rel:"noopener noreferrer",children:[n("names.learnMore"),e.jsx(E,{name:"external-link","aria-hidden":!0})]})]})]}),e.jsxs(ee,{children:[e.jsx(te,{src:Xn,alt:""}),e.jsxs(ne,{children:[e.jsx(se,{children:n("names.why3Title")}),e.jsx(ie,{children:n("names.why3")})]})]}),e.jsxs(ee,{children:[e.jsx(te,{src:Yn,alt:""}),e.jsxs(ne,{children:[e.jsx(se,{children:n("names.why4Title")}),e.jsx(ie,{children:n("names.why4")}),e.jsxs(Pe,{href:Ls,target:"_blank",rel:"noopener noreferrer",children:[n("names.learnMore"),e.jsx(E,{name:"external-link","aria-hidden":!0})]})]})]})]})]})]}),f?e.jsx(Zn,{name:l,priceCredits:g,onClose:()=>w(!1)}):null]})}const zs=i.p`
|
|
923
|
-
display: flex;
|
|
924
|
-
align-items: center;
|
|
925
|
-
gap: 10px;
|
|
926
|
-
background: ${t.colors.rarityBg};
|
|
927
|
-
color: ${t.colors.accent};
|
|
928
|
-
border-radius: 12px;
|
|
929
|
-
padding: 12px 16px;
|
|
930
|
-
margin-bottom: 14px;
|
|
931
|
-
font-weight: 600;
|
|
932
|
-
font-size: 14px;
|
|
933
|
-
|
|
934
|
-
&[data-variant='warn'] {
|
|
935
|
-
background: rgba(211, 51, 51, 0.1);
|
|
936
|
-
color: ${t.colors.err};
|
|
937
|
-
}
|
|
938
|
-
`,Ue=48,As=["all","on_sale","not_for_sale"],Ms=s=>s?"all":"on_sale";function ii(){const[s]=tt(),o=Oe(),a=(s.get("q")??"").trim().toLowerCase(),d=(s.get("q")??"").trim();De({title:d?n("seo.collectibles.searchTitle",{query:d}):n("seo.collectibles.title"),description:n("seo.collectibles.description")});const h=Ms(!!a),g=m.useMemo(()=>({category:"all",status:h,subCategory:null,rarities:[],priceMin:"",priceMax:"",smart:!1,sort:"newest"}),[h]),[l,u]=nt(g),{subCategory:c,rarities:p,priceMin:f,priceMax:w,smart:j,sort:$}=l,C=l.category,x=As.includes(l.status)?l.status:h;it(`${C}:${c??""}`);const[b,S]=m.useState(!1);m.useEffect(()=>{if(!b)return;const r=Q=>{Q.key==="Escape"&&S(!1)};document.addEventListener("keydown",r);const O=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",r),document.body.style.overflow=O}},[b]);const L=x==="on_sale",T=f&&!Number.isNaN(Number(f))?Number(f):void 0,k=w&&!Number.isNaN(Number(w))?Number(w):void 0,W=Nt(),B=c?Ut[c]:void 0,A=(Ie.find(r=>r.key===$)??Ie[0]).server,P={category:C,rarities:p.length?p:void 0,wearableCategories:B,minPriceCredits:T,maxPriceCredits:k,search:a||void 0,sortBy:A,isSmart:j||void 0,onSale:!0,listingType:W?void 0:"primary"},N={category:C,rarities:p.length?p:void 0,wearableCategories:B,search:a||void 0,sortBy:A,isWearableSmart:j||void 0,isOnSale:x==="not_for_sale"?!1:void 0},{items:z,total:F,isLoading:R,isPlaceholderData:v,error:I,hasNextPage:M,isFetchingNextPage:_,isFetchNextPageError:re,fetchNextPage:Z}=Pt(L?["shop-items",P]:["catalog-items",N],r=>L?Mt({...P,first:Ue,skip:r}):Wt({...N,first:Ue,skip:r}),{enabled:C!=="names"}),y=F,{data:U,isError:D,isPending:Qe}=Ge(),Je=r=>U&&r.manaWei?qe(r.manaWei,U):null,Xe=L&&Qe&&z.some(r=>r.source==="legacy"),Se=R||v||Xe,Ye=R?15:Math.max(z.length,1),Ee=m.useRef(null);m.useEffect(()=>{R||v||!a||Ee.current===a||(Ee.current=a,oe("Shop Searched",{query:a,result_count:y}))},[a,R,v,y]);const K=m.useRef("__init__");m.useEffect(()=>{if(R||v)return;const r=JSON.stringify({category:C,subCategory:c,rarities:p,min:T,max:k,sort:$,status:x,smart:j});if(K.current==="__init__"||K.current===r){K.current=r;return}K.current=r,oe("Shop Applied Filter",{filters:{category:C,sub_category:c,rarities:p,min_price_credits:T??null,max_price_credits:k??null,status:x,smart:j,sort:$},result_count:y})},[C,c,p,T,k,$,x,j,R,v,y]);function Te(r){u({category:r,subCategory:null})}function Re(r){u({status:r})}function _e(r){u({rarities:p.includes(r)?p.filter(O=>O!==r):[...p,r]})}function et(){u(g)}const q=[];(T!=null||k!=null)&&q.push({key:"price",label:n("filter.price"),onRemove:()=>{u({priceMin:"",priceMax:""})}});for(const r of ot)p.includes(r)&&q.push({key:`rarity-${r}`,label:zt(r),onRemove:()=>_e(r)});return j&&q.push({key:"smart",label:n("filter.smart"),onRemove:()=>u({smart:!1})}),x!==h&&q.push({key:"status",label:x==="all"?n("filter.statusAll"):x==="on_sale"?n("filter.onSale"):n("filter.notForSale"),onRemove:()=>Re(h)}),e.jsxs(at,{"data-testid":"browse",children:[C!=="names"&&e.jsxs(e.Fragment,{children:[b?e.jsx(rt,{onClick:()=>S(!1),"aria-hidden":!0}):null,e.jsxs(lt,{"data-open":b||void 0,"data-testid":"browse-sidebar",children:[e.jsxs(ct,{children:[e.jsx(dt,{children:n("assets.filters")}),e.jsx(ht,{onClick:()=>S(!1),"aria-label":n("assets.closeFilters"),children:"✕"})]}),e.jsx(pt,{children:e.jsx(ut,{category:C,subCategory:c,onCategory:Te,onSub:r=>u({subCategory:r}),priceMin:f,priceMax:w,onPriceMin:r=>u({priceMin:r}),onPriceMax:r=>u({priceMax:r}),rarities:p,onToggleRarity:_e,status:x,onStatus:Re,smart:j,onSmart:r=>u({smart:r})})}),e.jsx(ft,{children:e.jsx(mt,{type:"button",onClick:()=>S(!1),children:n("assets.showItems")})})]})]}),e.jsx(xt,{children:C==="names"?e.jsx(Ns,{onBack:()=>Te("all")}):e.jsxs(e.Fragment,{children:[e.jsx(gt,{sort:$,onSort:r=>u({sort:r}),total:F,loading:R||v,query:a,onOpenFilters:()=>S(!0),chips:q,onClearChips:et}),D&&L&&z.some(r=>r.source==="legacy")?e.jsx(zs,{"data-variant":"warn",children:n("assets.marketUnavailable")}):null,I?e.jsx(Ot,{message:n("assets.loadError"),testId:"browse-error"}):null,!Se&&z.length===0&&!I?e.jsx(At,{testId:"browse-empty",icon:st,title:n("assets.empty.title"),body:d?e.jsxs(e.Fragment,{children:[n("assets.empty.searchBefore"),e.jsx("b",{children:d}),n("assets.empty.searchAfter")]}):n("assets.empty.filters"),cta:{label:n("assets.empty.cta"),onClick:()=>o("/overview")}}):e.jsxs(e.Fragment,{children:[e.jsx(tn,{"data-testid":"grid",children:Se?e.jsx(Ne,{count:Ye}):e.jsxs(e.Fragment,{children:[z.map(r=>{if(!L)return e.jsx(J,{item:r,mode:"view"},X(r));const O=r;if(O.source!=="legacy")return e.jsx(J,{item:r},X(r));const Q=Je(O);return Q==null?e.jsx(J,{item:r,mode:"view"},X(r)):e.jsx(J,{item:{...O,priceCredits:Q}},X(r))}),_?e.jsx(Ne,{count:6}):null]})}),e.jsx(Bt,{hasNextPage:M,isFetching:_,isError:re,onLoadMore:()=>void Z()})]})]})})]})}export{ii as Assets};
|
|
939
|
-
//# sourceMappingURL=Assets-D5FXIj8J.js.map
|