@dcl/shop 1.12.2-34952267751.commit-238b526 → 1.12.2-34971053975.commit-a7f84c8
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-siWjYXXC.js → Activity-B6ikNqvo.js} +6 -6
- package/_assets/{AnimatedBackground-BugetQOT.js → AnimatedBackground-BMb7rvun.js} +6 -6
- package/_assets/Assets-DgMWcGQE.js +939 -0
- package/_assets/{Authorizations-BbD7n7VP.js → Authorizations-B7xAIeF_.js} +2 -2
- package/_assets/{Cart-C2JINVsV.js → Cart-CwBcJxTr.js} +6 -6
- package/_assets/{Collection--VRQWagp.js → Collection-DlHBHW6I.js} +5 -5
- package/_assets/{CollectionCarousel-DJ22bLsm.js → CollectionCarousel-BEo7WSno.js} +54 -54
- package/_assets/{Confetti-upwjxWRl.js → Confetti-Dn8-JEM9.js} +4 -4
- package/_assets/{ConstantsUtil-CVlcVbe3.js → ConstantsUtil-BfeVP8OX.js} +2 -2
- package/_assets/{ContentClient-DFKBUKq9.js → ContentClient-BgiyWvaC.js} +2 -2
- package/_assets/{Creator-CnvTIUIR.js → Creator-CVDhc4KI.js} +28 -28
- package/_assets/{DeploymentBuilder-B0_Tu7hd.js → DeploymentBuilder-CVfMLlHa.js} +3 -3
- package/_assets/{EmotePlaybackBar-r2Vm5Com.js → EmotePlaybackBar-B62YEt9G.js} +5 -5
- package/_assets/{ErrorNotice-DdXfJJQ5.js → ErrorNotice-CWVZqiKm.js} +2 -2
- package/_assets/{Event-Di_H3_8X.js → Event-DnCv7Xg4.js} +2 -2
- package/_assets/{ExchangeController-CDFzZYyn.js → ExchangeController-_gA6u_p7.js} +2 -2
- package/_assets/{Faq-C6G9icRA.js → Faq-ZShU0n7U.js} +2 -2
- package/_assets/{GetCredits-C3TmZRkA.js → GetCredits-Bj2YvP67.js} +2 -2
- package/_assets/{Grow-eSBVpy87.js → Grow-Crvwr5n9.js} +2 -2
- package/_assets/HelpersUtil-CuAlXmSB.js +63 -0
- package/_assets/{ItemDetail-D-qm5dRj.js → ItemDetail-2gzLCIOg.js} +262 -257
- package/_assets/{LoadMore-D-sqkeqn.js → LoadMore-YxufSP26.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-C7DuwIf7.js → ManaPricingBanner.styles-Bp7LjYRJ.js} +2 -2
- package/_assets/MyAssets-DaodAqcp.js +1096 -0
- package/_assets/{MyFavorites-BrahbeXJ.js → MyFavorites-Veqwi_3D.js} +2 -2
- package/_assets/{NetworkUtil-Clofb_T-.js → NetworkUtil-BeQH6gwx.js} +2 -2
- package/_assets/{NotFound-C2zk4xTg.js → NotFound-CVLknwBX.js} +2 -2
- package/_assets/{NotificationsBell-Dbe2NDDi.js → NotificationsBell-vJAXfuHR.js} +13 -13
- package/_assets/{OutfitDetail-DNvTjhl5.js → OutfitDetail-BEKvifMp.js} +2 -2
- package/_assets/{OutfitPreview-CzJ7zFyn.js → OutfitPreview-9sitM8AO.js} +3 -3
- package/_assets/{OutfitStudio-BQmOHxV3.js → OutfitStudio-Cj_PBpbg.js} +2 -2
- package/_assets/{PhArrowCircleDown-ak13FLPU.js → PhArrowCircleDown-BQf7a7tx.js} +4 -4
- package/_assets/{PhArrowClockwise-B1_sSsDG.js → PhArrowClockwise-tl_iVvce.js} +5 -5
- package/_assets/{PhArrowDown-3SgA8Sjh.js → PhArrowDown-Nx8skxB1.js} +4 -4
- package/_assets/{PhArrowLeft-D0xJapef.js → PhArrowLeft-B2FOU46g.js} +3 -3
- package/_assets/{PhArrowRight-BEzeYnOS.js → PhArrowRight-YEtM5hEO.js} +5 -5
- package/_assets/{PhArrowSquareOut-ncs5AP9J.js → PhArrowSquareOut-Cwvs2k2I.js} +5 -5
- package/_assets/{PhArrowUp-DAiP5DLU.js → PhArrowUp-Ddpjrupw.js} +2 -2
- package/_assets/PhArrowUpRight-GR9jLk0j.js +15 -0
- package/_assets/{PhArrowsClockwise-BW3eqMIv.js → PhArrowsClockwise-DiFALoYE.js} +5 -5
- package/_assets/{PhArrowsDownUp-CL__e9hj.js → PhArrowsDownUp-C5MsaDSU.js} +5 -5
- package/_assets/{PhArrowsLeftRight-CKf-pynd.js → PhArrowsLeftRight-CVSlwL5f.js} +4 -4
- package/_assets/{PhBank-CYFoeatO.js → PhBank-JlgXqj6a.js} +3 -3
- package/_assets/{PhBrowser-B8QcDy-X.js → PhBrowser-BAuOLdYK.js} +4 -4
- package/_assets/{PhCaretDown-BJucyF_I.js → PhCaretDown-BnGAdY4m.js} +4 -4
- package/_assets/{PhCaretLeft-DXM-1eI2.js → PhCaretLeft-CuCRXELD.js} +3 -3
- package/_assets/{PhCaretRight-CUbjYMvE.js → PhCaretRight-Dh12cPi2.js} +3 -3
- package/_assets/{PhCaretUp-XANHSPHz.js → PhCaretUp-D_YSLbRZ.js} +4 -4
- package/_assets/{PhCheck-DtDQz9uq.js → PhCheck-DM-Xw6Og.js} +3 -3
- package/_assets/{PhCircleHalf-N8EEYP9W.js → PhCircleHalf-B_a7PTBj.js} +4 -4
- package/_assets/{PhClock-D4HOB74r.js → PhClock-C6uHGxHX.js} +4 -4
- package/_assets/{PhCompass-DaDix-lb.js → PhCompass-BCBQfuVk.js} +4 -4
- package/_assets/{PhCopy-DfG9L19w.js → PhCopy-CuJFaD8W.js} +5 -5
- package/_assets/{PhCreditCard-54JvBHpJ.js → PhCreditCard-j7mRfOWb.js} +5 -5
- package/_assets/{PhCurrencyDollar--4El0jyD.js → PhCurrencyDollar-BHK_WZqp.js} +5 -5
- package/_assets/{PhDesktop-C59sef21.js → PhDesktop-yP_Shy1c.js} +2 -2
- package/_assets/{PhDeviceMobile-CqU5hwgB.js → PhDeviceMobile-MCjovOoQ.js} +4 -4
- package/_assets/{PhDotsThree-DKKOuXPs.js → PhDotsThree-B-8MklB_.js} +4 -4
- package/_assets/{PhEnvelope-BV_YRi_L.js → PhEnvelope-BVMpBzL8.js} +3 -3
- package/_assets/{PhFunnelSimple-DCJ64Yx1.js → PhFunnelSimple-Xip53NJe.js} +5 -5
- package/_assets/{PhGlobe-CfDkOX-M.js → PhGlobe-DTLd7vq3.js} +4 -4
- package/_assets/{PhIdentificationCard-CZevIBOX.js → PhIdentificationCard-Owvtcfl8.js} +5 -5
- package/_assets/{PhImage-BvwFiqL_.js → PhImage-gpASuR3P.js} +2 -2
- package/_assets/{PhInfo-ByE07_XD.js → PhInfo-By_MexxN.js} +4 -4
- package/_assets/{PhLightbulb-COGGqe5o.js → PhLightbulb-D9di92yf.js} +4 -4
- package/_assets/{PhMagnifyingGlass-CoJqZmSp.js → PhMagnifyingGlass-DDgrWTCc.js} +5 -5
- package/_assets/{PhPaperPlaneRight-BOtHGdWm.js → PhPaperPlaneRight-DQP_XqUF.js} +4 -4
- package/_assets/{PhPlus-BtM9eWY5.js → PhPlus-l3KhxySr.js} +3 -3
- package/_assets/{PhPower-XoT0HBKo.js → PhPower-Cr4gqDwx.js} +4 -4
- package/_assets/{PhPuzzlePiece-DPN_Gt0E.js → PhPuzzlePiece-BVKd_9LG.js} +4 -4
- package/_assets/{PhQrCode-Ba2Av-ws.js → PhQrCode-C2-pxwu5.js} +3 -3
- package/_assets/{PhQuestion-BsODZylj.js → PhQuestion-hJFyp5y_.js} +3 -3
- package/_assets/{PhQuestionMark-CQGfqgyU.js → PhQuestionMark-BIf3aP5-.js} +3 -3
- package/_assets/{PhSealCheck-ORxCOA65.js → PhSealCheck-DYwmEsuV.js} +2 -2
- package/_assets/{PhSignOut-CIIz9cbC.js → PhSignOut-D4m3HfaH.js} +4 -4
- package/_assets/{PhSpinner-v_BVhkr6.js → PhSpinner-CQO82DfI.js} +3 -3
- package/_assets/{PhTrash-DaneU5r-.js → PhTrash-BcF8SoSu.js} +2 -2
- package/_assets/{PhUser-CKCQsYp2.js → PhUser-TbE-uvug.js} +5 -5
- package/_assets/{PhVault-q-BY5Hn5.js → PhVault-DN8MSFv_.js} +2 -2
- package/_assets/{PhWallet-Df5kuqF4.js → PhWallet-DZOB7Naf.js} +5 -5
- package/_assets/{PhWarning-DmzK9PIH.js → PhWarning-BioUNSl5.js} +3 -3
- package/_assets/{PhWarningCircle-B6Azmmj3.js → PhWarningCircle-B1qANwXx.js} +5 -5
- package/_assets/{PhX-Bv7tUluK.js → PhX-C2MAMi7o.js} +3 -3
- package/_assets/{StoreSettings-DXOqr7lc.js → StoreSettings-cnSJnEoU.js} +3 -3
- package/_assets/{Success-0aSNITFG.js → Success-DSjHbwsm.js} +2 -2
- package/_assets/{SwapController-B_2D4qoY.js → SwapController-D1yNpizk.js} +2 -2
- package/_assets/{TradeService-7U6O3-yI.js → TradeService-C-Sp4nAs.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-o4NRojJJ.js → W3MFrameProviderSingleton-DJCn0B4B.js} +4 -4
- package/_assets/{WebCryptoP256-DcssHpK7.js → WebCryptoP256-DdwSJwak.js} +2 -2
- package/_assets/{add-WC3KG-NP.js → add-CHjzJko0.js} +2 -2
- package/_assets/{all-wallets-BV2RKDKX.js → all-wallets-iP9kf8IH.js} +2 -2
- package/_assets/{app-store-DzdJFJvJ.js → app-store-KBtXJUZW.js} +2 -2
- package/_assets/{apple-C_YCXF5K.js → apple-1wsuvzH8.js} +2 -2
- package/_assets/{arrow-bottom-circle-CWERGNL8.js → arrow-bottom-circle-CgTwGRtZ.js} +3 -3
- package/_assets/arrow-bottom-g-rIpj6-.js +9 -0
- package/_assets/{arrow-left-BHfhO25z.js → arrow-left-DwniLz7a.js} +3 -3
- package/_assets/arrow-right-DrFyKfK3.js +9 -0
- package/_assets/{arrow-top-C5YdnARR.js → arrow-top-tB4xV8bo.js} +3 -3
- package/_assets/{async-directive-Ul6OERsh.js → async-directive-B7SDFDfN.js} +3 -3
- package/_assets/{authorizations-BpA7J6nv.js → authorizations-DWBedPPC.js} +2 -2
- package/_assets/{bank-CcJhMycN.js → bank-Bq57T_gs.js} +3 -3
- package/_assets/{basic-CU1kWM_B.js → basic-F8T3s2s0.js} +2 -2
- package/_assets/{biconomy-CG4oe_pD.js → biconomy-BYnpHohE.js} +2 -2
- package/_assets/{browseLayout.styles-4ap7kx9k.js → browseLayout.styles-CUa0JgI7.js} +173 -165
- package/_assets/{browser-CePgleG4.js → browser-B8dgFdTL.js} +3 -3
- package/_assets/{browser-CNhrcETW.js → browser-BiTB4Srk.js} +2 -2
- package/_assets/{browser-xz-gmjRJ.js → browser-_u-u7Oe_.js} +2 -2
- package/_assets/{browser-ponyfill-DnS23_qH.js → browser-ponyfill-CJDpXLMh.js} +2 -2
- package/_assets/{builder-Uh_QHIQ6.js → builder-Dha-HVpq.js} +2 -2
- package/_assets/{buy-B5M_2UT-.js → buy-D5xK_7jz.js} +2 -2
- package/_assets/{buy-gasless-By4UCL5G.js → buy-gasless-B2eSXOhX.js} +2 -2
- package/_assets/{card-vJcgWj0J.js → card-SS6BCQlD.js} +2 -2
- package/_assets/{categories-s25qDcz8.js → categories-CQewJ4Uc.js} +2 -2
- package/_assets/{ccip-DvbgVSwB.js → ccip-Cf1Ojagp.js} +2 -2
- package/_assets/{ccip-CfmbFrZH.js → ccip-CoPrnICo.js} +2 -2
- package/_assets/{chains-m-fvvDHS.js → chains-hPvY0FLa.js} +2 -2
- package/_assets/{checkmark-BdVL_wyR.js → checkmark-Ce_V05yL.js} +2 -2
- package/_assets/{checkmark-bold-D2_kDMAk.js → checkmark-bold-H9kfGvBU.js} +3 -3
- package/_assets/{chevron-bottom-D0Fjkofu.js → chevron-bottom-BNXS4EZd.js} +3 -3
- package/_assets/{chevron-left-C9tCZw7F.js → chevron-left-CntWv8x6.js} +3 -3
- package/_assets/{chevron-right-CFriZlYk.js → chevron-right-BeBDYBiH.js} +2 -2
- package/_assets/{chevron-top-CI7Nc1Hh.js → chevron-top-mB0Ljyp5.js} +3 -3
- package/_assets/{chrome-store-BPxSE7E7.js → chrome-store-PMcYx52p.js} +3 -3
- package/_assets/{class-map-uVWd2sCT.js → class-map-D0tzaS-h.js} +2 -2
- package/_assets/{clock-CCT_gA8y.js → clock-BiZp9Ggi.js} +3 -3
- package/_assets/{close-CVrMDBuL.js → close-BFw77kzc.js} +3 -3
- package/_assets/{coinPlaceholder-vau3Ommw.js → coinPlaceholder-B9YzaxY6.js} +2 -2
- package/_assets/collectionPage.styles-DyHk1tDQ.js +41 -0
- package/_assets/common-BgWhpEag.js +2 -0
- package/_assets/{compass-BVX94cA4.js → compass-BqXmuVKk.js} +3 -3
- package/_assets/controller-D87zYpDU.js +3 -0
- package/_assets/{copy-DbIo246v.js → copy-DNAdNuz_.js} +2 -2
- package/_assets/{core-DoDkK-JQ.js → core-IQh9m55M.js} +5 -5
- package/_assets/{createSvgIcon-AK7VRVN4.js → createSvgIcon-O6Ung3cJ.js} +3 -3
- package/_assets/{crumbs.styles-BBOgiQ-V.js → crumbs.styles-Cqk5FLiw.js} +2 -2
- package/_assets/cursor-C4vkS7KW.js +4 -0
- package/_assets/{cursor-transparent-D_Cn2Qj1.js → cursor-transparent-BUUXFhiw.js} +2 -2
- package/_assets/{custom-BnrdIOOX.js → custom-fzVZr1mw.js} +2 -2
- package/_assets/{data-capture-B2_dizO_.js → data-capture-6sabeqek.js} +2 -2
- package/_assets/{dcl-schemas-DU0vGMAi.js → dcl-schemas-CKztSOGI.js} +2 -2
- package/_assets/decimals-BsQudh4A.js +2 -0
- package/_assets/decimals-QMRaj8A4.js +2 -0
- package/_assets/{desktop-DiOFIHxS.js → desktop-BV-CpCPh.js} +3 -3
- package/_assets/detectExtension-eFuiXBqe.js +2 -0
- package/_assets/{disconnect-DJcY0BVy.js → disconnect-C5A_Ulh-.js} +3 -3
- package/_assets/{discord-CFlQgGeS.js → discord-DFEpyKvH.js} +3 -3
- package/_assets/{disposePreview-BnC_0-K_.js → disposePreview-CRyPyKKT.js} +2 -2
- package/_assets/{email-CHpYsXDV.js → email-D4EyTUe7.js} +7 -7
- package/_assets/{embedded-wallet-Bu8ad7yi.js → embedded-wallet-C2D3EAb1.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-tLBNQtjX.js → emotion-styled.browser.esm-CpBJ03i2.js} +2 -2
- package/_assets/{engine-WQ_PFTkV.js → engine-BbOCbSlD.js} +2 -2
- package/_assets/{errors-Bska53t6.js → errors-Bg8qsU53.js} +2 -2
- package/_assets/estimate-l1-fee-D0jvE3mx.js +2 -0
- package/_assets/eth_estimateGas-CQNX7NuJ.js +2 -0
- package/_assets/eth_getStorageAt-D0NnJlij.js +2 -0
- package/_assets/eth_getTransactionCount-CVuUWiNN.js +2 -0
- package/_assets/ethereum-6iw3lFOZ.js +2 -0
- package/_assets/{ethers-DOxpBstR.js → ethers-BsaABekR.js} +2 -2
- package/_assets/{etherscan-B_DEmwcU.js → etherscan-DjB6vSIQ.js} +3 -3
- package/_assets/{events-CVTjJMET.js → events-C4OPCmQP.js} +2 -2
- package/_assets/{exclamation-triangle-CwRHSRAS.js → exclamation-triangle-BigqO5zC.js} +2 -2
- package/_assets/{execute-BNeM18Ox.js → execute-CgxmdyBm.js} +3 -3
- package/_assets/{extension-C5CHNEBM.js → extension-DrkmxAqx.js} +3 -3
- package/_assets/{external-link-DhWG0oh3.js → external-link-CbNALei9.js} +2 -2
- package/_assets/{extractIPFS-YpxmKw9M.js → extractIPFS-C7dZUA2N.js} +2 -2
- package/_assets/{facebook-ZbOHRELg.js → facebook-DaDSqQru.js} +3 -3
- package/_assets/{farcaster-MlS0fAkK.js → farcaster-Do6RB5zR.js} +3 -3
- package/_assets/{features-nCqFC4Hp.js → features-mKpIPTnS.js} +2 -2
- package/_assets/fetchTokenMetadata-W7uHvfeQ.js +3 -0
- package/_assets/{field.styles-C0hP5Nvw.js → field.styles-BOtOsc-J.js} +2 -2
- package/_assets/filters-ZGEyDIFh.js +9 -0
- package/_assets/{fortmatic-d2zOBJsV.js → fortmatic-BEQagSCY.js} +2 -2
- package/_assets/{get-bytecode-DkyBhWG0.js → get-bytecode-rNyaD7v6.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-CIF0vnWX.js +2 -0
- package/_assets/{getBalance-8WdMwmlE.js → getBalance-BkvZMo_t.js} +3 -3
- package/_assets/getInstalledModules-BgDYjPss.js +2 -0
- package/_assets/getNFT-B9d1ULLA.js +2 -0
- package/_assets/{getNFT-D7H4s4bO.js → getNFT-CvB3KXgJ.js} +3 -3
- package/_assets/{github-DcWwSd2A.js → github-CoYfnUKi.js} +3 -3
- package/_assets/{google-BWF_TAVo.js → google-BvNO-5zV.js} +3 -3
- package/_assets/{grid.styles-BJJSFZSz.js → grid.styles-BYhO5kl4.js} +2 -2
- package/_assets/{hashTypedData-CCQr4xhM.js → hashTypedData-BePwOHrb.js} +2 -2
- package/_assets/{hashTypedData-LyJcbtjj.js → hashTypedData-Dl6tw3EV.js} +2 -2
- package/_assets/{help-circle-Chc_vCdy.js → help-circle-CS_fIGWE.js} +2 -2
- package/_assets/{id-7VZ83soE.js → id-BctfRKQ1.js} +3 -3
- package/_assets/{image-Bgj_xLD4.js → image-5sWR7BDC.js} +2 -2
- package/_assets/{in-app-wallet-calls-9KSXE9GH.js → in-app-wallet-calls-Y2q1hEWu.js} +2 -2
- package/_assets/{in-app-B4RhGBCh.js → in-app-xLEGGOxw.js} +2 -2
- package/_assets/{index-BzrU_xTj.js → index-5R1NH3hO.js} +2 -2
- package/_assets/{index-CxRbA6MI.js → index-B2N1TlZf.js} +2 -2
- package/_assets/{index-HfXmqqOB.js → index-B3dFnJQP.js} +2 -2
- package/_assets/{index-BuBMGMtY.js → index-B4sJodB8.js} +3 -3
- package/_assets/{index-BYcTSIVf.js → index-B7zg3iXU.js} +9 -9
- package/_assets/{index-KGKbIgYc.js → index-BBc3X6XF.js} +539 -507
- package/_assets/{index-CxKeAG-J.js → index-BDHBYg9U.js} +2 -2
- package/_assets/{index-CZyzFCL9.js → index-BEQnNfRX.js} +8 -8
- package/_assets/{index-D7lw4vKg.js → index-BHU0VbfL.js} +3 -3
- package/_assets/{index-Da4inYY3.js → index-BJu0G-Ry.js} +4 -4
- package/_assets/{index-ovYwqG3U.js → index-BLwUrxaM.js} +4 -4
- package/_assets/{index-BRihLNDO.js → index-BNSQiuue.js} +2 -2
- package/_assets/{index-z3GWPvvT.js → index-BPmph_y2.js} +2 -2
- package/_assets/{index-ChCaLJWf.js → index-BT-HHXrw.js} +2 -2
- package/_assets/{index-2hLftpjl.js → index-BTtbpRCO.js} +2 -2
- package/_assets/{index-DzzXwSZ_.js → index-BTy5TIkz.js} +3 -3
- package/_assets/{index-P43ylXlL.js → index-B_X1F7fX.js} +4 -4
- package/_assets/{index-B2jE74v0.js → index-Bc0x7wx0.js} +2 -2
- package/_assets/index-Bd664zE6.js +20 -0
- package/_assets/{index-PoXBOo9s.js → index-BmNHZBRl.js} +4 -4
- package/_assets/{index-D4RODIqW.css → index-Bv15foVK.css} +1 -1
- package/_assets/{index-CapZaipt.js → index-BvkN1JGf.js} +4 -4
- package/_assets/{index-CY3jvlYI.js → index-Bz3QM6R_.js} +2 -2
- package/_assets/{index-BAnXoBQa.js → index-Bzs9W9Xf.js} +2 -2
- package/_assets/{index-C-I-VAtj.js → index-C284vC1D.js} +2 -2
- package/_assets/{index-qdxlhv6O.js → index-C4KUTBCy.js} +2 -2
- package/_assets/{index-DBH3OwKH.js → index-C5gt-xEm.js} +2 -2
- package/_assets/{index-C2wWmtlM.js → index-CAR9wmvw.js} +5 -5
- package/_assets/{index-b1B_uAjk.js → index-CG6n56be.js} +5 -5
- package/_assets/{index-CrTPPk7j.js → index-CJGZvhoi.js} +2 -2
- package/_assets/{index-B13-c4P_.js → index-CMwT-EMo.js} +2 -2
- package/_assets/{index-Df_2haqu.js → index-COocIzMl.js} +4 -4
- package/_assets/{index-Bxumz6fq.js → index-CRNomRFG.js} +3 -3
- package/_assets/index-CVV8mr-f.js +2 -0
- package/_assets/{index-CUwG9Gow.js → index-CWzVzsYx.js} +5 -5
- package/_assets/{index-xtcL5SzR.js → index-CY2qhmNH.js} +3 -3
- package/_assets/{index-B6UXzlO7.js → index-Cd6atmT5.js} +2 -2
- package/_assets/{index-B0P4rhnH.js → index-CnxpIcjg.js} +2 -2
- package/_assets/{index-ZubpwVm5.js → index-CrQTd_Vt.js} +2 -2
- package/_assets/index-CrX0Yz5L.js +2 -0
- package/_assets/{index-xAvWfXcL.js → index-CwDHbFrE.js} +5 -5
- package/_assets/{index-CTXBNDaR.js → index-D2VIT3xx.js} +3 -3
- package/_assets/{index-CL1zwzqa.js → index-D5Du4xGQ.js} +2 -2
- package/_assets/{index-xqaY6JvQ.js → index-DA1NP8Ju.js} +2 -2
- package/_assets/{index-Ct1LvV9T.js → index-DAK-djOp.js} +2 -2
- package/_assets/{index-Cn5i7pxA.js → index-DExh-qiO.js} +2 -2
- package/_assets/{index-UeOBzUmn.js → index-DF0Z9gru.js} +2 -2
- package/_assets/{index-DXza9S1H.js → index-DJkU_5N3.js} +2 -2
- package/_assets/{index-Bbdi2im4.js → index-DPWoZxpF.js} +2 -2
- package/_assets/{index-BOLPfj8p.js → index-DUqa7_dx.js} +2 -2
- package/_assets/{index-DThURYeF.js → index-DYql6z0j.js} +2 -2
- package/_assets/{index-CoHZlbxe.js → index-Db7v2JAh.js} +4 -4
- package/_assets/{index-6WQDsbX1.js → index-DcqsKEsF.js} +2 -2
- package/_assets/{index-G4LsqNWU.js → index-De3Ourso.js} +3 -3
- package/_assets/{index-DAqJHTwr.js → index-Dm1LzUJg.js} +2 -2
- package/_assets/{index-DCuIjSa3.js → index-Dnk8czQv.js} +2 -2
- package/_assets/{index-CAwE9Yy4.js → index-Dr7jRd9A.js} +4 -4
- package/_assets/{index-B0fhzNVc.js → index-F-PZn4me.js} +3 -3
- package/_assets/{index-BR_dJjYg.js → index-KOw8Pyjo.js} +2 -2
- package/_assets/{index-CiyGPGO9.js → index-OYOhdV0y.js} +2 -2
- package/_assets/{index-Dt4Q6hxP.js → index-OaamUQLA.js} +4 -4
- package/_assets/{index-CAPkL9qq.js → index-gvhfk3Kf.js} +2 -2
- package/_assets/{index-DdRwH_39.js → index-k1aOSuhb.js} +4 -4
- package/_assets/{index-BIIfWRsm.js → index-lmuWdSJU.js} +4 -4
- package/_assets/{index-CvgtFUyg.js → index-s6EBI2aX.js} +2 -2
- package/_assets/{index-CKwTnm7g.js → index-t6AoMEJd.js} +6 -6
- package/_assets/{index-CYQC6fE_.js → index-wjxY48Yl.js} +2 -2
- package/_assets/{index-Dbnvtlu9.js → index-xHMVqN46.js} +2 -2
- package/_assets/{index.es-CdrKIXAf.js → index.es-B4j-BNrr.js} +5 -5
- package/_assets/{index.es-DPNqN1VR.js → index.es-CAomYnsN.js} +2 -2
- package/_assets/{index.es-Hocc0M2s.js → index.es-D_pn-sSx.js} +2 -2
- package/_assets/{index.es-Cn1837qk.js → index.es-xs2jYw5E.js} +2 -2
- package/_assets/{info-D7ObqMR7.js → info-B7xrwD1T.js} +3 -3
- package/_assets/{info-circle-Cn1eJfl8.js → info-circle-g_FLkwEH.js} +3 -3
- package/_assets/{items-empty-Db7ykBge.js → items-empty-C7avnipb.js} +2 -2
- package/_assets/{jsxRuntime.module-KGmzlnK1.js → jsxRuntime.module-BxsNWh0e.js} +2 -2
- package/_assets/{jump-C3eF7452.js → jump-C9PIzJMo.js} +2 -2
- package/_assets/{lightbulb-BKWlXPb6.js → lightbulb-BEdzTqhe.js} +3 -3
- package/_assets/{linkAccount-Dg1gRdCu.js → linkAccount-BbYoROZZ.js} +2 -2
- package/_assets/{localBatchGatewayRequest-o2tz0Xkw.js → localBatchGatewayRequest-C1oGJkvn.js} +2 -2
- package/_assets/{mail-uZxvzFx_.js → mail-B5y2UAYP.js} +2 -2
- package/_assets/mana-matic-light-Bl5duieC.js +2 -0
- package/_assets/{mobile-NGKGetAS.js → mobile-Px_F4xuu.js} +2 -2
- package/_assets/{more-D3jNhOpW.js → more-vjJSeJc6.js} +3 -3
- package/_assets/{native-CvGGXrJP.js → native-D9_vWjzw.js} +2 -2
- package/_assets/{network-placeholder-D5qcFSJX.js → network-placeholder-BT0DMZpT.js} +2 -2
- package/_assets/{networks-DpUYbi2j.js → networks-D-8eSR4f.js} +2 -2
- package/_assets/{nftPlaceholder-Cdllyb5L.js → nftPlaceholder-Dv1GbIku.js} +3 -3
- package/_assets/{off-Cy19A7zA.js → off-BIRJlzsd.js} +3 -3
- package/_assets/{onramp-DrkhTAlE.js → onramp-CJNj90av.js} +2 -2
- package/_assets/openzeppelin-DqgAToDp.js +2 -0
- package/_assets/ownerOf-Dt-ag82o.js +2 -0
- package/_assets/parseNft-DUoA2cf9.js +3 -0
- package/_assets/{parseSignature-iObXbLbJ.js → parseSignature--ghdQtU2.js} +2 -2
- package/_assets/{parseSignature-BCGLPNhC.js → parseSignature-DEThZFaN.js} +4 -4
- package/_assets/{passkeys-4vxYlgiO.js → passkeys-CGWK9Quy.js} +2 -2
- package/_assets/{pay-with-exchange-BRIaMBg2.js → pay-with-exchange-BouUEn78.js} +2 -2
- package/_assets/{play-store-BqyyIuw-.js → play-store-BQbH9juS.js} +3 -3
- package/_assets/{plus-TKHoVUto.js → plus-CRN7wFaf.js} +2 -2
- package/_assets/{prepare-contract-call-DzSUrXuE.js → prepare-contract-call-Cxatn87X.js} +2 -2
- package/_assets/{qr-code-DNktFNYV.js → qr-code-D3CPi7o-.js} +3 -3
- package/_assets/{qr-overlay-K_inpcHR.js → qr-overlay-CTxRGEIz.js} +4 -4
- package/_assets/{react-CbiDtrwy.js → react-CJ0-yyn7.js} +2 -2
- package/_assets/{receive-BsVhuoyI.js → receive-DVMKwcdo.js} +2 -2
- package/_assets/{recycle-horizontal-D7wSarZ0.js → recycle-horizontal-2b5C-1KE.js} +2 -2
- package/_assets/{ref-ClbGTQC1.js → ref-aKgZQrB7.js} +3 -3
- package/_assets/{refresh-Ne9sq_3A.js → refresh-CxxKeQ5p.js} +3 -3
- package/_assets/{reown-logo-CTKEUi_d.js → reown-logo-CvtJaHLE.js} +3 -3
- package/_assets/{resolveImplementation-DpzhGxRX.js → resolveImplementation-a3DBQ8m8.js} +2 -2
- package/_assets/{resume-buy-BvCiqn2w.js → resume-buy-Bq0nVPcE.js} +2 -2
- package/_assets/{rpc-C_QkhZkG.js → rpc-B0RZ-vtD.js} +2 -2
- package/_assets/{sales-empty-CbN8gNFb.js → sales-empty-bGF50GDf.js} +2 -2
- package/_assets/search-3wKI8ynJ.js +9 -0
- package/_assets/{search-empty-v82Jfcsb.js → search-empty-tgZpxVpX.js} +2 -2
- package/_assets/{secp256k1-B5JWxdoq.js → secp256k1-1jgJmYWx.js} +2 -2
- package/_assets/{secp256k1-DO1HKk_9.js → secp256k1-BxaRnytz.js} +2 -2
- package/_assets/{secp256k1-B8ClqkT8.js → secp256k1-JJlVLcuk.js} +2 -2
- package/_assets/{send-CEpYMZe7.js → send-DMTfvSnB.js} +2 -2
- package/_assets/{send-CAaL-103.js → send-afZjmQ6f.js} +2 -2
- package/_assets/send-batch-transaction-BVT1kCg_.js +2 -0
- package/_assets/{send-eip712-transaction-BpCm1YSI.js → send-eip712-transaction-B3M5RWsD.js} +3 -3
- package/_assets/send-gasless-transaction-L4j1ZusH.js +3 -0
- package/_assets/send-transaction-BbDZEBSv.js +3 -0
- package/_assets/{sendMetaTransaction-CbxM2dJ4.js → sendMetaTransaction-BhpPcSya.js} +2 -2
- package/_assets/{sendRawTransaction-D-J01xpv.js → sendRawTransaction-DoZqg8jx.js} +4 -4
- package/_assets/{sentry-pksVc8Y1.js → sentry-D5q6Jl_E.js} +3 -3
- package/_assets/{serializeTransaction-BNmuM5Vp.js → serializeTransaction-CKZVZu41.js} +2 -2
- package/_assets/{session-proposal-xZsE3jVs.js → session-proposal-CXoYD_S4.js} +2 -2
- package/_assets/{session-request-DZrNMJCR.js → session-request-CVNcyjpe.js} +3 -3
- package/_assets/{sha256-DWDaWrQD.js → sha256-B7YAclKN.js} +2 -2
- package/_assets/{sha3-DbomSxuI.js → sha3-BhaNbge-.js} +2 -2
- package/_assets/{signing-BwRlgyGP.js → signing-BhjVqedK.js} +4 -4
- package/_assets/{skeleton.styles-CTlrCuJj.js → skeleton.styles-BBTzNQBL.js} +2 -2
- package/_assets/{socials-xQSQwdy_.js → socials-CwtPBLJA.js} +2 -2
- package/_assets/{styled-C37YZplh.js → styled-UgoNAbpl.js} +3 -3
- package/_assets/{swapHorizontal-AUQR3QWw.js → swapHorizontal-B4kcglfm.js} +2 -2
- package/_assets/{swapHorizontalBold-CJ-O8FMu.js → swapHorizontalBold-B7MRRr2N.js} +3 -3
- package/_assets/{swapHorizontalMedium-C9_JLGaD.js → swapHorizontalMedium-C5ev_7je.js} +2 -2
- package/_assets/{swapHorizontalRoundedBold-CprcKnGZ.js → swapHorizontalRoundedBold-zu2vwomo.js} +3 -3
- package/_assets/{swapVertical-C0UtEvQr.js → swapVertical-DpeRjJbe.js} +3 -3
- package/_assets/{swaps-JSJu9ZEk.js → swaps-Bnpjv3io.js} +2 -2
- package/_assets/{telegram-BPHwvSxV.js → telegram-wm1axFAX.js} +3 -3
- package/_assets/{thirdweb-0WodtONG.js → thirdweb-CjXdOXcl.js} +4 -4
- package/_assets/{three-dots-CuMLURps.js → three-dots-Cc2_9MPN.js} +2 -2
- package/_assets/{to-serializable-transaction-B9zCzvuC.js → to-serializable-transaction-DW6Rxq_m.js} +3 -3
- package/_assets/totalSupply-DjGpB4tZ.js +2 -0
- package/_assets/{transaction-dnqRlxqs.js → transaction-DuJWq6eX.js} +2 -2
- package/_assets/{transactionReceipt-zwt2ZXmW.js → transactionReceipt-8SAHHVSP.js} +2 -2
- package/_assets/transactions-CKBlMfJD.js +17 -0
- package/_assets/{twitch-BEksYNQy.js → twitch-B46ssSkZ.js} +3 -3
- package/_assets/{twitterIcon-C-RbKp2J.js → twitterIcon-eHwnG6jo.js} +3 -3
- package/_assets/{useCreditPacks-C9QUVT1i.js → useCreditPacks-CBkUPkUM.js} +2 -2
- package/_assets/{useInfiniteGrid-Cgk7ZeHL.js → useInfiniteGrid-DHrXE4eM.js} +2 -2
- package/_assets/{useStore-D5kMn0mR.js → useStore-ckE2dxkp.js} +3 -3
- package/_assets/{useTheme-vTP9z_Gm.js → useTheme-CyUvY5YF.js} +2 -2
- package/_assets/{utils-DrNnWK05.js → utils-wnY81oYl.js} +2 -2
- package/_assets/{verify-DX3fSqPA.js → verify-D9O8bUPp.js} +2 -2
- package/_assets/{verify-filled-rDNnAKA1.js → verify-filled-BwZg15UB.js} +3 -3
- package/_assets/{verifyHash-DIESi3OJ.js → verifyHash-DMMueGNF.js} +2 -2
- package/_assets/{w3m-modal-6MmYKXgB.js → w3m-modal-BCGJhbtp.js} +2 -2
- package/_assets/{w3m-modal-q9WU-JG5.js → w3m-modal-C1fyEGvy.js} +2 -2
- package/_assets/{wait-for-tx-receipt-rUn3vghV.js → wait-for-tx-receipt-D41lpt1M.js} +2 -2
- package/_assets/{wallet-BYrWPu9Q.js → wallet-gc8JT2Jk.js} +2 -2
- package/_assets/{wallet-placeholder-DD3BllZl.js → wallet-placeholder-OuGxMvpI.js} +3 -3
- package/_assets/{wallet-BDmvD81m.js → wallet-t7uhZ_wp.js} +2 -2
- package/_assets/{walletconnect-CeHvp7GG.js → walletconnect-_sKMAvFE.js} +5 -5
- package/_assets/{wallets-uhB6Tvqm.js → wallets-_qhdmZdK.js} +6 -6
- package/_assets/{warning-circle-0P7CyfRX.js → warning-circle-Dz6a5xi_.js} +2 -2
- package/_assets/{web-connector-BOij74Y4.js → web-connector-SZx3KLiq.js} +4 -4
- package/_assets/{writeContract-CfRoYwPI.js → writeContract-DNkvql92.js} +2 -2
- package/_assets/{x-Dp_viDtj.js → x-BgKeiA5E.js} +2 -2
- package/_assets/{zora-sepolia-PqJWDgc_.js → zora-sepolia-Zq3rr1_u.js} +2 -2
- package/_assets/{zoraTestnet-C9-KL1tb.js → zoraTestnet-U_RmMDCL.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Assets-DlgKLJ-E.js +0 -939
- package/_assets/HelpersUtil-DX5u_vH_.js +0 -63
- package/_assets/MyAssets-D-74TXj0.js +0 -1061
- package/_assets/PhArrowUpRight-CpVGKPzB.js +0 -15
- package/_assets/arrow-bottom-lj5jq4hP.js +0 -9
- package/_assets/arrow-right-DrvdIWK8.js +0 -9
- package/_assets/collectionPage.styles-CPno7D9g.js +0 -41
- package/_assets/common-DxHICWNQ.js +0 -2
- package/_assets/controller-DqPjxg9H.js +0 -3
- package/_assets/cursor-CRt00jB7.js +0 -4
- package/_assets/decimals-B3xpoTsT.js +0 -2
- package/_assets/decimals-BGOT8ITj.js +0 -2
- package/_assets/detectExtension-Lc4xlnmZ.js +0 -2
- package/_assets/estimate-l1-fee-CpYC06aO.js +0 -2
- package/_assets/eth_estimateGas-BQ8foI_n.js +0 -2
- package/_assets/eth_getStorageAt-B6MCehWg.js +0 -2
- package/_assets/eth_getTransactionCount-gXfe8bkr.js +0 -2
- package/_assets/ethereum-Csbrq78G.js +0 -2
- package/_assets/fetchTokenMetadata-Coko2qOP.js +0 -3
- package/_assets/filters-ByxHqr_b.js +0 -9
- package/_assets/get-ecosystem-wallet-info-JLiYFqKn.js +0 -2
- package/_assets/getInstalledModules-Bn-WMWvZ.js +0 -2
- package/_assets/getNFT-BygCA-zb.js +0 -2
- package/_assets/index-C8kaVPrn.js +0 -2
- package/_assets/index-DUOPuDtZ.js +0 -20
- package/_assets/index-FeiBiOm6.js +0 -2
- package/_assets/openzeppelin-CqDJzb_H.js +0 -2
- package/_assets/ownerOf-BtEo_nZi.js +0 -2
- package/_assets/parseNft-5q27IIJ4.js +0 -3
- package/_assets/search-oltotRQx.js +0 -9
- package/_assets/send-batch-transaction-CJvetNA5.js +0 -2
- package/_assets/send-gasless-transaction-BQ5n3ZLO.js +0 -3
- package/_assets/send-transaction-CQcs63ct.js +0 -3
- package/_assets/totalSupply-CQm-t9gk.js +0 -2
- package/_assets/transactions-BOc83Sc_.js +0 -17
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-
|
|
1
|
+
import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CJ0-yyn7.js";import{u as _e,s as Re}from"./search-empty-tgZpxVpX.js";import{u as ze,S as Y,R as Ae,a as Te,b as Be,c as De,D as We,d as Oe,C as Ge,e as Ke,F as Ue,f as He,g as Ve,M as qe,h as Qe}from"./browseLayout.styles-CUa0JgI7.js";import{d as de,bF as Je,ab as Z,aa as X,e as s,bG as Ye,H as Ze,bH as Xe,c as o,bI as et,bJ as ee,B as tt,o as he,a5 as ue,y as ot,D as me,bK as rt,bL as it,I as te,f as st,x as at,v as nt,ay as lt,O as ct,P as dt,S as M,Q as z,R as oe,bM as re,bN as ht}from"./index-BBc3X6XF.js";import{T as pe}from"./skeleton.styles-BBTzNQBL.js";import{d as ut,P as mt,C as pt,a as xt,b as gt,c as ft,e as bt}from"./collectionPage.styles-DyHk1tDQ.js";import{u as yt,L as wt}from"./useStore-ckE2dxkp.js";import{L as ie}from"./LoadMore-YxufSP26.js";import{u as se}from"./useInfiniteGrid-DHrXE4eM.js";import{S as vt}from"./categories-CQewJ4Uc.js";import{E as A}from"./ErrorNotice-CWVZqiKm.js";import{c as jt,i as Ct}from"./items-empty-C7avnipb.js";import{G as ae}from"./grid.styles-BYhO5kl4.js";import"./dcl-schemas-CKztSOGI.js";import"./sentry-D5q6Jl_E.js";import"./ethers-BsaABekR.js";import"./intl-AKLEHPeO.js";import"./crumbs.styles-Cqk5FLiw.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new r.Error().stack;i&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[i]="e0098f88-6812-4575-92a8-22e469e96bb4",r._sentryDebugIdIdentifier="sentry-dbid-e0098f88-6812-4575-92a8-22e469e96bb4")}catch{}})();function kt(r){const{gridLoading:i,gridError:a,gridCount:l,baselinePending:c,baselineError:d,baselineCount:b}=r;return i?"skeletons":a?"error":l>0?"items":c?"skeletons":d?"error":b===0?"no-creations":"filters"}const{colors:y,radius:$,media:$t}=de,St=s.article`
|
|
2
2
|
height: 300px;
|
|
3
3
|
/* No fill of its own (Figma 922:183803): the mosaic covers the top and the footer paints its own
|
|
4
4
|
translucent black, so the page field is what shows through the corners. */
|
|
@@ -42,24 +42,24 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
42
42
|
visibility: hidden;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
`,Nt=
|
|
45
|
+
`,Nt=s.div`
|
|
46
46
|
position: relative;
|
|
47
47
|
flex: 1;
|
|
48
48
|
min-height: 0;
|
|
49
49
|
background: ${y.media};
|
|
50
50
|
overflow: hidden;
|
|
51
51
|
border-radius: ${$.card} ${$.card} 0 0;
|
|
52
|
-
`,Et=
|
|
52
|
+
`,Et=s.img`
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 100%;
|
|
55
55
|
object-fit: cover;
|
|
56
56
|
display: block;
|
|
57
|
-
`,Pt=
|
|
57
|
+
`,Pt=s(Ye)`
|
|
58
58
|
& [data-testid='coll-thumb-cell'] img {
|
|
59
59
|
object-fit: contain;
|
|
60
60
|
padding: 10px;
|
|
61
61
|
}
|
|
62
|
-
`,Ft=
|
|
62
|
+
`,Ft=s.div`
|
|
63
63
|
flex: 0 0 102px;
|
|
64
64
|
height: 102px;
|
|
65
65
|
padding: 12px 12px 16px 16px;
|
|
@@ -68,7 +68,7 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
68
68
|
gap: 8px;
|
|
69
69
|
background: ${y.overlay};
|
|
70
70
|
border-radius: 0 0 ${$.card} ${$.card};
|
|
71
|
-
`,It=
|
|
71
|
+
`,It=s.h3`
|
|
72
72
|
margin: 0;
|
|
73
73
|
font-weight: 700;
|
|
74
74
|
font-size: 16px;
|
|
@@ -81,7 +81,7 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
81
81
|
${$t.maxWidth("mobile")} {
|
|
82
82
|
font-size: 16px;
|
|
83
83
|
}
|
|
84
|
-
`,Lt=
|
|
84
|
+
`,Lt=s.div`
|
|
85
85
|
flex: 1;
|
|
86
86
|
min-height: 0;
|
|
87
87
|
display: grid;
|
|
@@ -91,12 +91,12 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
91
91
|
& > * {
|
|
92
92
|
grid-area: stack;
|
|
93
93
|
}
|
|
94
|
-
`,Mt=
|
|
94
|
+
`,Mt=s.div`
|
|
95
95
|
display: flex;
|
|
96
96
|
align-items: center;
|
|
97
97
|
justify-content: space-between;
|
|
98
98
|
gap: 10px;
|
|
99
|
-
`,_t=
|
|
99
|
+
`,_t=s(Ze)`
|
|
100
100
|
min-width: 0;
|
|
101
101
|
color: ${y.gray4};
|
|
102
102
|
|
|
@@ -111,15 +111,15 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
111
111
|
color: ${y.white};
|
|
112
112
|
font-weight: 600;
|
|
113
113
|
}
|
|
114
|
-
`,Rt=
|
|
114
|
+
`,Rt=s.span`
|
|
115
115
|
min-width: 0;
|
|
116
|
-
`,zt=
|
|
116
|
+
`,zt=s.span`
|
|
117
117
|
flex: none;
|
|
118
118
|
color: ${y.gray4};
|
|
119
119
|
font-weight: 600;
|
|
120
120
|
font-size: 14px;
|
|
121
121
|
white-space: nowrap;
|
|
122
|
-
`,At=
|
|
122
|
+
`,At=s.button`
|
|
123
123
|
visibility: hidden;
|
|
124
124
|
width: 100%;
|
|
125
125
|
height: 46px;
|
|
@@ -141,7 +141,7 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
141
141
|
&:active {
|
|
142
142
|
background: ${y.text2};
|
|
143
143
|
}
|
|
144
|
-
`;function Tt({collection:r,cover:
|
|
144
|
+
`;function Tt({collection:r,cover:i,itemCount:a}){const l=ce(),{contractAddress:c,name:d,creator:b}=r,j=i==null||a==null,{data:n}=Xe(c,j),g=i==null?(n==null?void 0:n.items)??[]:[],f=a??(n==null?void 0:n.total);function h(){l(`/collection/${c}`)}return e.jsxs(St,{"data-testid":"coll-card",role:"link",tabIndex:0,onClick:h,onKeyDown:m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),h())},children:[e.jsx(Nt,{children:i?e.jsx(Et,{"data-testid":"coll-card-img",src:i,alt:"",loading:"lazy"}):g.length>0?e.jsx(Pt,{items:g,tinted:!1}):null}),e.jsxs(Ft,{children:[e.jsx(It,{title:d,children:d}),e.jsxs(Lt,{children:[e.jsxs(Mt,{"data-meta":!0,"data-testid":"coll-card-meta",children:[b?e.jsx(_t,{address:b,linkToProfile:!0}):e.jsx(Rt,{children:" "}),e.jsx(zt,{"data-testid":"coll-card-count","aria-busy":f==null||void 0,children:f==null?e.jsx(pe,{className:"skeleton",width:54,"data-testid":"coll-card-count-skeleton","aria-hidden":!0}):o("collectionCard.itemCount",{count:f})})]}),e.jsx(At,{"data-view":!0,"data-testid":"coll-card-view",onClick:m=>{m.stopPropagation(),h()},tabIndex:-1,children:o("collectionCard.viewCollection")})]})]})]})}function Bt({address:r,className:i=""}){const a=et(),l=ee(d=>d.followed.includes(r.toLowerCase())),c=ee(d=>d.toggle);return!a||!r?null:e.jsx(tt,{type:"button",size:"sm",variant:l?"ghost":"outline",className:i||void 0,"data-testid":"follow-button","aria-pressed":l,title:l?o("creator.unfollowTitle"):o("creator.followTitle"),onClick:()=>c(r),children:l?o("creator.following"):o("creator.follow")})}const{colors:w,radius:xe,media:v}=de,ge=he`
|
|
145
145
|
display: inline-flex;
|
|
146
146
|
align-items: center;
|
|
147
147
|
justify-content: center;
|
|
@@ -155,7 +155,7 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
155
155
|
text-transform: uppercase;
|
|
156
156
|
letter-spacing: 0.046em;
|
|
157
157
|
text-decoration: none;
|
|
158
|
-
`,Dt=
|
|
158
|
+
`,Dt=s.section`
|
|
159
159
|
position: relative;
|
|
160
160
|
border-radius: ${xe.card};
|
|
161
161
|
overflow: hidden;
|
|
@@ -175,20 +175,20 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
175
175
|
${v.maxWidth("mobile")} {
|
|
176
176
|
min-height: 260px;
|
|
177
177
|
}
|
|
178
|
-
`,Wt=
|
|
178
|
+
`,Wt=s.div`
|
|
179
179
|
position: absolute;
|
|
180
180
|
inset: 0;
|
|
181
181
|
z-index: 0;
|
|
182
|
-
`,Ot=
|
|
182
|
+
`,Ot=s.img`
|
|
183
183
|
width: 100%;
|
|
184
184
|
height: 100%;
|
|
185
185
|
object-fit: cover;
|
|
186
186
|
display: block;
|
|
187
|
-
`,Gt=
|
|
187
|
+
`,Gt=s.div`
|
|
188
188
|
position: absolute;
|
|
189
189
|
inset: 0;
|
|
190
190
|
background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
|
|
191
|
-
`,Kt=
|
|
191
|
+
`,Kt=s.div`
|
|
192
192
|
position: absolute;
|
|
193
193
|
top: 16px;
|
|
194
194
|
right: 16px;
|
|
@@ -222,9 +222,9 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
222
222
|
height: 30px;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
`,Ut=
|
|
225
|
+
`,Ut=s.a`
|
|
226
226
|
${fe};
|
|
227
|
-
`,Ht=
|
|
227
|
+
`,Ht=s(Ie)`
|
|
228
228
|
${fe};
|
|
229
229
|
width: 32px;
|
|
230
230
|
height: 32px;
|
|
@@ -248,7 +248,7 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
248
248
|
height: 14px;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
`,Vt=
|
|
251
|
+
`,Vt=s.div`
|
|
252
252
|
position: relative;
|
|
253
253
|
z-index: 1;
|
|
254
254
|
display: flex;
|
|
@@ -261,7 +261,7 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
261
261
|
${v.maxWidth("mobile")} {
|
|
262
262
|
padding: 56px 16px 24px;
|
|
263
263
|
}
|
|
264
|
-
`,ne=
|
|
264
|
+
`,ne=s.img`
|
|
265
265
|
display: block;
|
|
266
266
|
width: 112px;
|
|
267
267
|
height: 112px;
|
|
@@ -275,7 +275,7 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
275
275
|
width: 88px;
|
|
276
276
|
height: 88px;
|
|
277
277
|
}
|
|
278
|
-
`,qt=
|
|
278
|
+
`,qt=s.h2`
|
|
279
279
|
margin: 0;
|
|
280
280
|
font-size: 18px;
|
|
281
281
|
font-weight: 700;
|
|
@@ -285,7 +285,7 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
285
285
|
${v.maxWidth("mobile")} {
|
|
286
286
|
font-size: 16px;
|
|
287
287
|
}
|
|
288
|
-
`,Qt=
|
|
288
|
+
`,Qt=s.p`
|
|
289
289
|
margin: 0;
|
|
290
290
|
font-size: 15px;
|
|
291
291
|
color: ${w.white};
|
|
@@ -295,18 +295,18 @@ import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-CbiDtrwy.js";i
|
|
|
295
295
|
${v.maxWidth("mobile")} {
|
|
296
296
|
font-size: 14px;
|
|
297
297
|
}
|
|
298
|
-
`,Jt=
|
|
298
|
+
`,Jt=s.div`
|
|
299
299
|
display: flex;
|
|
300
300
|
align-items: center;
|
|
301
301
|
gap: 12px;
|
|
302
302
|
flex-wrap: wrap;
|
|
303
303
|
justify-content: center;
|
|
304
|
-
`,Yt=
|
|
304
|
+
`,Yt=s.a`
|
|
305
305
|
${ge};
|
|
306
306
|
transition: background 0.15s ease;
|
|
307
307
|
|
|
308
308
|
&:hover {
|
|
309
309
|
background: ${w.blackBtn};
|
|
310
310
|
}
|
|
311
|
-
`,Zt={website:"website",twitter:"twitter",discord:"discord",facebook:"facebook"};function Xt({address:r}){var m,C;const{data:
|
|
312
|
-
//# sourceMappingURL=Creator-
|
|
311
|
+
`,Zt={website:"website",twitter:"twitter",discord:"discord",facebook:"facebook"};function Xt({address:r}){var m,C;const{data:i}=ue(r),{data:a}=yt(r),l=ot(p=>{var S;return(S=p.session)==null?void 0:S.address}),c=!!l&&l.toLowerCase()===r.toLowerCase(),d=(i==null?void 0:i.name)||me(r),b=(C=(m=i==null?void 0:i.avatar)==null?void 0:m.snapshots)==null?void 0:C.face256,j=(a==null?void 0:a.cover)||ut,n=a==null?void 0:a.description,g=`${st.profileUrl}/${r}`,f=wt.filter(p=>a==null?void 0:a.links[p]),h=rt(it({name:i==null?void 0:i.name,hasClaimedName:i==null?void 0:i.hasClaimedName,ethAddress:(i==null?void 0:i.ethAddress)??r}));return e.jsxs(Dt,{"aria-label":`${d} storefront`,children:[e.jsxs(Wt,{children:[e.jsx(Ot,{src:j,alt:"",loading:"eager"}),e.jsx(Gt,{"aria-hidden":!0})]}),(f.length>0||c)&&e.jsxs(Kt,{children:[f.map(p=>e.jsx(Ut,{"data-testid":"creator-hero-link",href:(a==null?void 0:a.links[p])??"",target:"_blank",rel:"noopener noreferrer",title:o(`creator.link.${p}`),"aria-label":o(`creator.link.${p}`),children:e.jsx(te,{name:Zt[p]})},p)),c&&e.jsx(Ht,{to:"/store-settings",title:o("creator.editStore"),"aria-label":o("creator.editStore"),children:e.jsx(te,{name:"pen"})})]}),e.jsxs(Vt,{children:[b?e.jsx(ne,{src:b,alt:"",loading:"eager",style:{backgroundColor:h}}):e.jsx(ne,{as:"span","aria-hidden":!0,style:{backgroundColor:h}}),e.jsxs("div",{children:[e.jsx(qt,{children:d}),n?e.jsx(Qt,{children:n}):null]}),e.jsxs(Jt,{children:[e.jsx(Yt,{"data-testid":"creator-hero-view",href:g,target:"_blank",rel:"noopener noreferrer",children:o("creator.viewProfile")}),e.jsx(Bt,{address:r,className:"creator-hero__follow"})]})]})]})}const eo=["all","on_sale","not_for_sale"],le=48;function wo(){var Q,J;const{address:r}=Le(),i=ce(),[a]=Me(),l=a.has("collections"),{data:c}=ue(r),d=(c==null?void 0:c.name)||(r?me(r):o("creator.fallbackName"));at({title:d,description:o("seo.creator.description",{name:d}),image:(J=(Q=c==null?void 0:c.avatar)==null?void 0:Q.snapshots)==null?void 0:J.face256});const b=L.useMemo(()=>({category:"all",status:"all",subCategory:null,rarities:[],priceMin:"",priceMax:"",smart:!1,sort:"newest"}),[]),[j,n]=_e(b),{category:g,subCategory:f,rarities:h,priceMin:m,priceMax:C,smart:p,sort:S}=j,N=eo.includes(j.status)?j.status:"all",T=t=>n({status:t});ze(`${l}:${g}:${f??""}`);const[P,E]=L.useState(!1);L.useEffect(()=>{if(!P)return;const t=Fe=>{Fe.key==="Escape"&&E(!1)};document.addEventListener("keydown",t);const x=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=x}},[P]);const B=m&&!Number.isNaN(Number(m))?Number(m):void 0,D=C&&!Number.isNaN(Number(C))?Number(C):void 0,be=f?vt[f]:void 0,ye=(Y.find(t=>t.key===S)??Y[0]).server,W={creator:r,category:g,rarities:h.length?h:void 0,wearableCategories:be,minPriceCredits:B,maxPriceCredits:D,isWearableSmart:p||void 0,isOnSale:N==="all"?void 0:N==="on_sale",sortBy:ye},{items:_,total:we,isLoading:ve,isPlaceholderData:je,error:O,hasNextPage:Ce,isFetchingNextPage:G,isFetchNextPageError:ke,fetchNextPage:$e}=se(["creator-items",W],t=>re({...W,first:le,skip:t}),{enabled:!!r&&!l}),F=nt({queryKey:["creator-item-count",r],queryFn:()=>re({creator:r,first:1}).then(t=>t.total),enabled:!!r}),u=se(["creator-collections",r],t=>ht(r,{first:le,skip:t}).then(x=>({items:x.collections,total:x.total})),{enabled:!!r&&l});function K(t){n({category:t,subCategory:null},{drop:l?["collections"]:void 0})}function Se(){const t=new URLSearchParams(a);t.delete("collections");const x=t.toString();i({search:x?`?${x}`:""},{replace:!0})}function Ne(){if(l){Se();return}const t=new URLSearchParams(a);t.delete("collections");const x=t.toString();i({search:x?`?${x}&collections`:"?collections"},{replace:!0})}function U(t){n({rarities:h.includes(t)?h.filter(x=>x!==t):[...h,t]})}function H(){n(b)}const k=[];(g==="wearable"||g==="emote")&&k.push({key:"category",label:o(g==="emote"?"categories.emotes":"categories.wearables"),onRemove:()=>K("all")}),(B!=null||D!=null)&&k.push({key:"price",label:o("filter.price"),onRemove:()=>{n({priceMin:"",priceMax:""})}});for(const t of Ae)h.includes(t)&&k.push({key:`rarity-${t}`,label:lt(t),onRemove:()=>U(t)});p&&k.push({key:"smart",label:o("filter.smart"),onRemove:()=>n({smart:!1})}),N!=="all"&&k.push({key:"status",label:N==="on_sale"?o("filter.onSale"):o("filter.notForSale"),onRemove:()=>T("all")});const I=kt({gridLoading:ve||je,gridError:!!O,gridCount:_.length,baselinePending:F.isPending,baselineError:F.isError,baselineCount:F.data}),V=I==="skeletons",{data:q}=ct(),Ee=L.useMemo(()=>_.map(t=>({...t,priceCredits:dt(t,q)})),[_,q]),Pe=t=>t.priceCredits>0||!!t.manaWei,R=I==="items"||I==="skeletons"?null:I;return e.jsxs(mt,{children:[e.jsxs(pt,{"aria-label":o("creator.breadcrumbAria"),children:[e.jsx(xt,{onClick:()=>i("/items"),children:o("creator.breadcrumb")}),e.jsx("span",{children:"/"}),e.jsx(gt,{children:d})]}),r?e.jsx(Xt,{address:r}):null,e.jsxs(Te,{children:[P?e.jsx(Be,{onClick:()=>E(!1),"aria-hidden":!0}):null,e.jsxs(De,{"data-open":P||void 0,"data-testid":"creator-sidebar",children:[e.jsxs(We,{children:[e.jsx(Oe,{children:o("assets.filters")}),e.jsx(Ge,{onClick:()=>E(!1),"aria-label":o("assets.closeFilters"),children:"✕"})]}),e.jsx(Ke,{children:e.jsx(Ue,{category:g,subCategory:f,onCategory:K,onSub:t=>n({subCategory:t}),priceMin:m,priceMax:C,onPriceMin:t=>n({priceMin:t}),onPriceMax:t=>n({priceMax:t}),rarities:h,onToggleRarity:U,status:N,onStatus:T,smart:p,onSmart:t=>n({smart:t}),hideNames:!0,collections:l,onCollections:Ne})}),e.jsx(He,{children:e.jsx(Ve,{type:"button",onClick:()=>E(!1),children:o("assets.showItems")})})]}),e.jsx(qe,{children:l?e.jsxs(e.Fragment,{children:[e.jsx(ft,{children:e.jsx(bt,{"data-testid":"creator-collections-count","aria-busy":u.isLoading||void 0,children:u.isLoading?e.jsx(pe,{className:"skeleton",width:72,"data-testid":"creator-collections-count-skeleton","aria-hidden":!0}):o("creator.collectionsCount",{count:u.total})})}),u.error?e.jsx(A,{message:o("creator.error")}):null,e.jsx(ae,{"data-variant":"collections",children:u.isLoading?e.jsx(M,{count:9}):e.jsxs(e.Fragment,{children:[u.items.map(t=>e.jsx(Tt,{collection:t,itemCount:t.itemCount},t.contractAddress)),u.isFetchingNextPage?e.jsx(M,{count:6}):null]})}),e.jsx(ie,{hasNextPage:u.hasNextPage,isFetching:u.isFetchingNextPage,isError:u.isFetchNextPageError,onLoadMore:()=>void u.fetchNextPage()}),!u.isLoading&&!u.error&&u.items.length===0?e.jsx(z,{testId:"creator-collections-empty",icon:jt,title:o("creator.collectionsEmptyTitle"),body:o("creator.collectionsEmpty"),cta:{label:o("assets.empty.cta"),to:"/items"}}):null]}):e.jsxs(e.Fragment,{children:[e.jsx(Qe,{sort:S,onSort:t=>n({sort:t}),total:we,loading:V,onOpenFilters:()=>E(!0),chips:k,onClearChips:H}),O?e.jsx(A,{message:o("creator.error"),testId:"creator-error"}):null,e.jsx(ae,{"data-testid":"creator-grid",children:V?e.jsx(M,{count:15}):e.jsxs(e.Fragment,{children:[Ee.map(t=>Pe(t)?e.jsx(oe,{item:t},t.id):e.jsx(oe,{item:t,mode:"view"},t.id)),G?e.jsx(M,{count:6}):null]})}),e.jsx(ie,{hasNextPage:Ce,isFetching:G,isError:ke,onLoadMore:()=>void $e()}),R==="error"?e.jsx(A,{message:o("creator.error"),testId:"creator-empty-error"}):R==="no-creations"?e.jsx(z,{testId:"creator-empty-none",icon:Ct,title:o("creator.emptyNoCreationsTitle"),body:o("creator.emptyNoCreations"),cta:{label:o("assets.empty.cta"),to:"/items"}}):R==="filters"?e.jsx(z,{testId:"creator-empty-filters",icon:Re,title:o("creator.emptyFilters.title"),body:o("creator.emptyFilters.body",{count:F.data??0}),cta:{label:o("filterBar.clearAll"),onClick:H}}):null]})})]})]})}export{wo as Creator,wo as default};
|
|
312
|
+
//# sourceMappingURL=Creator-CVDhc4KI.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as I}from"./react-
|
|
1
|
+
import{g as I}from"./react-CJ0-yyn7.js";import{r as H}from"./index-BT-HHXrw.js";import{r as M}from"./dcl-schemas-CKztSOGI.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},u=new o.Error().stack;u&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[u]="460a82ae-4b27-4bc2-b879-fde26f2c7d81",o._sentryDebugIdIdentifier="sentry-dbid-460a82ae-4b27-4bc2-b879-fde26f2c7d81")}catch{}})();function O(o,u){for(var w=0;w<u.length;w++){const h=u[w];if(typeof h!="string"&&!Array.isArray(h)){for(const b in h)if(b!=="default"&&!(b in o)){const g=Object.getOwnPropertyDescriptor(h,b);g&&Object.defineProperty(o,b,g.get?g:{enumerable:!0,get:()=>h[b]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var f={},F;function C(){if(F)return f;F=1,Object.defineProperty(f,"__esModule",{value:!0}),f.getHashesByKey=f.buildEntityWithoutNewFiles=f.buildEntity=f.buildEntityAndFile=void 0;const o=H(),u=M();async function w({type:n,pointers:t,timestamp:e,content:a,metadata:r}){var i;if(t.length===0)throw new Error("All entities must have at least one pointer.");const d={version:"v3",type:n,pointers:t,timestamp:e,content:a,metadata:r};if(a){const s=new Set;for(const p of a){const E=p.file.toLowerCase();if(s.has(E))throw new Error(`Error creating the deployable entity: Decentraland's file system is case insensitive, the file ${JSON.stringify(p.file)} is repeated`);s.add(E)}}const c=new TextEncoder().encode(JSON.stringify(d)),l={id:await(0,o.hashV1)(c),...d};if(!u.Entity.validate(l))throw new Error(`Generated entity is not valid:
|
|
2
2
|
`+((i=u.Entity.validate.errors)===null||i===void 0?void 0:i.map(s=>s.message).join(`
|
|
3
|
-
`)));return{entity:l,entityFile:
|
|
4
|
-
//# sourceMappingURL=DeploymentBuilder-
|
|
3
|
+
`)));return{entity:l,entityFile:c}}f.buildEntityAndFile=w;async function h({type:n,pointers:t,files:e,metadata:a,timestamp:r}){const i=Array.from(e||[]).map(([l,s])=>({key:l,content:s})),d=await Promise.all(i.map(async({key:l,content:s})=>({key:l,content:s,hash:await(0,o.hashV1)(s)}))),c=new Map(d.map(({hash:l,key:s})=>[s,l])),y=new Map(d.map(({hash:l,content:s})=>[l,s]));return g(n,t,{hashesByKey:c,filesByHash:y,metadata:a,timestamp:r})}f.buildEntity=h;async function b(n,{contentUrl:t,type:e,pointers:a,hashesByKey:r,metadata:i,timestamp:d}){const c=r??i?m(i):void 0;if(c&&D(e,c)){const y=await _(n,t,c),l=await A(y,i);return h({type:e,pointers:a,files:y,metadata:l,timestamp:d})}return g(e,a,{hashesByKey:r,metadata:i,timestamp:d})}f.buildEntityWithoutNewFiles=b;async function g(n,t,e){if(t.length===0)throw new Error("All entities must have at least one pointer.");const a=e!=null&&e.hashesByKey?e==null?void 0:e.hashesByKey:new Map,r=Array.from(a.entries()).map(([l,s])=>({file:l,hash:s})),i=e!=null&&e.timestamp?e==null?void 0:e.timestamp:Date.now(),{entity:d,entityFile:c}=await w({type:n,pointers:t,timestamp:i,content:r,metadata:e==null?void 0:e.metadata}),y=e!=null&&e.filesByHash?e.filesByHash:new Map;return y.set(d.id,c),{files:y,entityId:d.id}}function D(n,t){return n===u.EntityType.PROFILE&&Array.from(t).some(([,e])=>e.toLowerCase().startsWith("qm"))}async function v(n,t){const a=await(await n.fetch(t)).arrayBuffer();return new Uint8Array(a)}async function _(n,t,e){const a=e.get("body.png"),r=e.get("face256.png"),i=new URL(`${t}/contents/${a}`).toString(),d=new URL(`${t}/contents/${r}`).toString(),[c,y]=await Promise.all([v(n,i),v(n,d)]);return new Map([["body.png",c],["face256.png",y]])}async function A(n,t){return t&&(t.avatars=await Promise.all(t.avatars.map(async e=>{const a={face256:"",body:""},r=n.get("face256.png");r&&(a.face256=await(0,o.hashV1)(r));const i=n.get("body.png");return i&&(a.body=await(0,o.hashV1)(i)),e.avatar.snapshots=a,e})),t)}function m(n){const t=n.avatars[0];if(t.avatar.snapshots)return new Map([["body.png",t.avatar.snapshots.body],["face256.png",t.avatar.snapshots.face256]])}return f.getHashesByKey=m,f}var B=C();const P=I(B),j=O({__proto__:null,default:P},[B]);export{j as D};
|
|
4
|
+
//# sourceMappingURL=DeploymentBuilder-CVfMLlHa.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-
|
|
2
|
-
import{j as r,r as s}from"./react-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-BPmph_y2.js","_assets/react-CJ0-yyn7.js","_assets/dcl-schemas-CKztSOGI.js","_assets/index-BBc3X6XF.js","_assets/sentry-D5q6Jl_E.js","_assets/ethers-BsaABekR.js","_assets/intl-AKLEHPeO.js","_assets/index-Bv15foVK.css","_assets/createSvgIcon-O6Ung3cJ.js","_assets/emotion-styled.browser.esm-CpBJ03i2.js","_assets/styled-UgoNAbpl.js","_assets/index-De3Ourso.js","_assets/useTheme-CyUvY5YF.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{j as r,r as s}from"./react-CJ0-yyn7.js";import{_ as n,d,e as p}from"./index-BBc3X6XF.js";import{E as u}from"./sentry-D5q6Jl_E.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="e541913a-abbf-4e95-a5a6-54b80eddc08b",t._sentryDebugIdIdentifier="sentry-dbid-e541913a-abbf-4e95-a5a6-54b80eddc08b")}catch{}})();const l=s.lazy(async()=>{const[{EmoteControls:t},{Experimental_CssVarsProvider:o},{light:a}]=await Promise.all([n(()=>import("./index-BPmph_y2.js").then(i=>i.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),n(()=>import("./index-De3Ourso.js"),__vite__mapDeps([11,3,1,2,4,5,6,7,12,10])),n(()=>import("./index-BBc3X6XF.js").then(i=>i.dG),__vite__mapDeps([3,1,2,4,5,6,7]))]);return{default:i=>r.jsx(o,{theme:a,children:r.jsx(t,{...i})})}});function c(t){return r.jsx(u,{fallback:r.jsx(r.Fragment,{}),children:r.jsx(s.Suspense,{fallback:null,children:r.jsx(l,{...t})})})}const{colors:e,radius:b}=d,x=p.div`
|
|
3
3
|
/* Doubled class: a preview panel may size its children greedily (ItemDetail's stretches every child to
|
|
4
4
|
fill the stage), and the bar's own geometry has to win that whichever order the styles land in. */
|
|
5
5
|
&& {
|
|
@@ -15,7 +15,7 @@ import{j as r,r as s}from"./react-CbiDtrwy.js";import{_ as n,d,e as p}from"./ind
|
|
|
15
15
|
background: rgba(255, 255, 255, 0.94);
|
|
16
16
|
backdrop-filter: blur(6px);
|
|
17
17
|
border: 1px solid ${e.line};
|
|
18
|
-
border-radius: ${
|
|
18
|
+
border-radius: ${b.pill};
|
|
19
19
|
padding: 6px 12px;
|
|
20
20
|
box-shadow: 0 2px 10px rgba(22, 21, 24, 0.12);
|
|
21
21
|
}
|
|
@@ -117,5 +117,5 @@ import{j as r,r as s}from"./react-CbiDtrwy.js";import{_ as n,d,e as p}from"./ind
|
|
|
117
117
|
outline: 2px solid ${e.accent};
|
|
118
118
|
outline-offset: 2px;
|
|
119
119
|
}
|
|
120
|
-
`;function f({previewId:t,testId:o="emote-controls"}){return r.jsx(
|
|
121
|
-
//# sourceMappingURL=EmotePlaybackBar-
|
|
120
|
+
`;function f({previewId:t,testId:o="emote-controls"}){return r.jsx(x,{"data-preview-controls":!0,"data-testid":o,children:r.jsx(c,{wearablePreviewId:t,hideFrameInput:!0})})}export{f as E};
|
|
121
|
+
//# sourceMappingURL=EmotePlaybackBar-B62YEt9G.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j as n}from"./react-
|
|
2
|
-
//# sourceMappingURL=ErrorNotice-
|
|
1
|
+
import{j as n}from"./react-CJ0-yyn7.js";import{I as o}from"./index-BBc3X6XF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c67eed24-9c07-42e3-aafe-ecbed75d6f90",e._sentryDebugIdIdentifier="sentry-dbid-c67eed24-9c07-42e3-aafe-ecbed75d6f90")}catch{}})();function i({message:e,className:r,testId:t}){return e?n.jsxs("p",{className:r?`error-notice ${r}`:"error-notice","data-testid":t,role:"alert",children:[n.jsx(o,{name:"alert",className:"error-notice__ico",size:18}),n.jsx("span",{className:"error-notice__msg",children:e})]}):null}export{i as E};
|
|
2
|
+
//# sourceMappingURL=ErrorNotice-CWVZqiKm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{u as m,r as p,j as r}from"./react-
|
|
2
|
-
//# sourceMappingURL=Event-
|
|
1
|
+
import{u as m,r as p,j as r}from"./react-CJ0-yyn7.js";import{u,a as f,b,l as g,t as y,c as n}from"./index-BBc3X6XF.js";import{Assets as x}from"./Assets-DgMWcGQE.js";import"./dcl-schemas-CKztSOGI.js";import"./sentry-D5q6Jl_E.js";import"./ethers-BsaABekR.js";import"./intl-AKLEHPeO.js";import"./search-empty-tgZpxVpX.js";import"./browseLayout.styles-CUa0JgI7.js";import"./categories-CQewJ4Uc.js";import"./skeleton.styles-BBTzNQBL.js";import"./LoadMore-YxufSP26.js";import"./useInfiniteGrid-DHrXE4eM.js";import"./ErrorNotice-CWVZqiKm.js";import"./buy-gasless-B2eSXOhX.js";import"./authorizations-DWBedPPC.js";import"./sendMetaTransaction-BhpPcSya.js";import"./buy-D5xK_7jz.js";import"./errors-Bg8qsU53.js";import"./name-glyph-aUugT8vq.js";import"./crumbs.styles-Cqk5FLiw.js";import"./grid.styles-BYhO5kl4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f88dc570-e06b-4407-9b6e-92a650b9910c",e._sentryDebugIdIdentifier="sentry-dbid-f88dc570-e06b-4407-9b6e-92a650b9910c")}catch{}})();function H(){const e=m(),o=u(l=>l.locale),{campaign:t,isPending:i}=f(),{contracts:a,isPending:c}=b((t==null?void 0:t.tags)??[]),s=!i&&!(t!=null&&t.mainTag);if(p.useEffect(()=>{s&&e("/items",{replace:!0})},[s,e]),i||c||s)return r.jsx("div",{className:"page-loading","aria-busy":"true",children:r.jsx("span",{className:"spinner","aria-hidden":!0})});const d=g(t==null?void 0:t.tabName,y(o))??(t==null?void 0:t.name)??"";return r.jsx(x,{contracts:a,hideNames:!0,lockStatus:"on_sale",seo:{title:d||n("seo.collectibles.title"),description:n("seo.collectibles.description"),noindex:!0}})}export{H as Event};
|
|
2
|
+
//# sourceMappingURL=Event-DnCv7Xg4.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{C as
|
|
2
|
-
//# sourceMappingURL=ExchangeController-
|
|
1
|
+
import{C as d,E as h,b as f,S as E,d as k,O as U,N as A,g as P,B as x,e as N,i as I,p as _}from"./W3MFrameProviderSingleton-DJCn0B4B.js";import{g as L,a as D,f as b,b as v,c as T}from"./index-BvkN1JGf.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="a7a8a1f3-884f-4089-94aa-2b0b3cb26316",t._sentryDebugIdIdentifier="sentry-dbid-a7a8a1f3-884f-4089-94aa-2b0b3cb26316")}catch{}})();const W=0,C={paymentAsset:null,amount:null,tokenAmount:0,priceLoading:!1,error:null,exchanges:[],isLoading:!1,currentPayment:void 0,isPaymentInProgress:!1,paymentId:"",assets:[]},e=_(C),m={state:e,subscribe(t){return I(e,()=>t(e))},subscribeKey(t,n){return N(e,t,n)},resetState(){Object.assign(e,{...C})},async getAssetsForNetwork(t){const n=T(t),s=await m.getAssetsImageAndPrice(n),r=n.map(a=>{var c,o,p,l;const u=a.asset==="native"?P():`${a.network}:${a.asset}`,i=s.find(S=>{var y,g,w;return((w=(g=(y=S.fungibles)==null?void 0:y[0])==null?void 0:g.address)==null?void 0:w.toLowerCase())===u.toLowerCase()});return{...a,price:((o=(c=i==null?void 0:i.fungibles)==null?void 0:c[0])==null?void 0:o.price)||1,metadata:{...a.metadata,iconUrl:(l=(p=i==null?void 0:i.fungibles)==null?void 0:p[0])==null?void 0:l.iconUrl}}});return e.assets=r,r},async getAssetsImageAndPrice(t){const n=t.map(r=>r.asset==="native"?P():`${r.network}:${r.asset}`);return await Promise.all(n.map(r=>x.fetchTokenPrice({addresses:[r]})))},getTokenAmount(){var s;if(!((s=e==null?void 0:e.paymentAsset)!=null&&s.price))throw new Error("Cannot get token price");const t=A.bigNumber(e.amount??0).round(8),n=A.bigNumber(e.paymentAsset.price).round(8);return t.div(n).round(8).toNumber()},setAmount(t){var n;e.amount=t,(n=e.paymentAsset)!=null&&n.price&&(e.tokenAmount=m.getTokenAmount())},setPaymentAsset(t){e.paymentAsset=t},isPayWithExchangeEnabled(){var t;return(t=U.state.remoteFeatures)==null?void 0:t.payWithExchange},isPayWithExchangeSupported(){return m.isPayWithExchangeEnabled()&&d.state.activeCaipNetwork&&k.PAY_WITH_EXCHANGE_SUPPORTED_CHAIN_NAMESPACES.includes(d.state.activeCaipNetwork.chainNamespace)},async fetchExchanges(){var t;try{const n=m.isPayWithExchangeSupported();if(!e.paymentAsset||!n){e.exchanges=[],e.isLoading=!1;return}e.isLoading=!0;const s=await v({page:W,asset:b(e.paymentAsset.network,e.paymentAsset.asset),amount:((t=e.amount)==null?void 0:t.toString())??"0"});e.exchanges=s.exchanges.slice(0,2)}catch{throw E.showError("Unable to get exchanges"),new Error("Unable to get exchanges")}finally{e.isLoading=!1}},async getPayUrl(t,n){try{const s=Number(n.amount),r=await D({exchangeId:t,asset:b(n.network,n.asset),amount:s.toString(),recipient:`${n.network}:${n.recipient}`});return h.sendEvent({type:"track",event:"PAY_EXCHANGE_SELECTED",properties:{exchange:{id:t},configuration:{network:n.network,asset:n.asset,recipient:n.recipient,amount:s},currentPayment:{type:"exchange",exchangeId:t},source:"fund-from-exchange",headless:!1}}),r}catch(s){throw s instanceof Error&&s.message.includes("is not supported")?new Error("Asset not supported"):new Error(s.message)}},async handlePayWithExchange(t){var n;try{const s=(n=d.getAccountData())==null?void 0:n.address;if(!s)throw new Error("No account connected");if(!e.paymentAsset)throw new Error("No payment asset selected");const r=f.returnOpenHref("","popupWindow","scrollbar=yes,width=480,height=720");if(!r)throw new Error("Could not create popup window");e.isPaymentInProgress=!0,e.paymentId=crypto.randomUUID(),e.currentPayment={type:"exchange",exchangeId:t};const{network:a,asset:u}=e.paymentAsset,i={network:a,asset:u,amount:e.tokenAmount,recipient:s},c=await m.getPayUrl(t,i);if(!c){try{r.close()}catch(o){console.error("Unable to close popup window",o)}throw new Error("Unable to initiate payment")}e.currentPayment.sessionId=c.sessionId,e.currentPayment.status="IN_PROGRESS",e.currentPayment.exchangeId=t,r.location.href=c.url}catch{e.error="Unable to initiate payment",E.showError(e.error)}},async waitUntilComplete({exchangeId:t,sessionId:n,paymentId:s,retries:r=20}){const a=await m.getBuyStatus(t,n,s);if(a.status==="SUCCESS"||a.status==="FAILED")return a;if(r===0)throw new Error("Unable to get deposit status");return await new Promise(u=>{setTimeout(u,5e3)}),m.waitUntilComplete({exchangeId:t,sessionId:n,paymentId:s,retries:r-1})},async getBuyStatus(t,n,s){var r,a,u,i,c;try{if(!e.currentPayment)throw new Error("No current payment");const o=await L({sessionId:n,exchangeId:t});if(e.currentPayment.status=o.status,o.status==="SUCCESS"||o.status==="FAILED"){const p=(r=d.getAccountData())==null?void 0:r.address;e.currentPayment.result=o.txHash,e.isPaymentInProgress=!1,h.sendEvent({type:"track",event:o.status==="SUCCESS"?"PAY_SUCCESS":"PAY_ERROR",properties:{message:o.status==="FAILED"?f.parseError(e.error):void 0,source:"fund-from-exchange",paymentId:s,configuration:{network:((a=e.paymentAsset)==null?void 0:a.network)||"",asset:((u=e.paymentAsset)==null?void 0:u.asset)||"",recipient:p||"",amount:e.amount??0},currentPayment:{type:"exchange",exchangeId:(i=e.currentPayment)==null?void 0:i.exchangeId,sessionId:(c=e.currentPayment)==null?void 0:c.sessionId,result:o.txHash}}})}return o}catch{return{status:"UNKNOWN",txHash:""}}},reset(){e.currentPayment=void 0,e.isPaymentInProgress=!1,e.paymentId="",e.paymentAsset=null,e.amount=0,e.tokenAmount=0,e.priceLoading=!1,e.error=null,e.exchanges=[],e.isLoading=!1}};export{m as E};
|
|
2
|
+
//# sourceMappingURL=ExchangeController-_gA6u_p7.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as x,j as o}from"./react-
|
|
1
|
+
import{r as x,j as o}from"./react-CJ0-yyn7.js";import{d as e,e as a,c as h,I as w}from"./index-BBc3X6XF.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new i.Error().stack;s&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[s]="b54bbf96-49cd-400c-8579-dfe3cb1b03c6",i._sentryDebugIdIdentifier="sentry-dbid-b54bbf96-49cd-400c-8579-dfe3cb1b03c6")}catch{}})();const m=a.section`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 36px;
|
|
@@ -172,4 +172,4 @@ import{r as x,j as o}from"./react-CbiDtrwy.js";import{d as e,e as a,c as h,I as
|
|
|
172
172
|
}
|
|
173
173
|
`;function S({title:i,entries:s,tone:l="light",className:u}){const[f,b]=x.useState(()=>new Set),p=x.useId();function g(t){b(n=>{const r=new Set(n);return r.delete(t)||r.add(t),r})}return o.jsxs(m,{className:u,"data-tone":l,"data-testid":"faq",children:[o.jsx(k,{"data-testid":"faq-title",children:h(i)}),o.jsx(v,{children:s.map(t=>{const n=f.has(t.question),r=`${p}-panel-${t.question}`,c=`${p}-header-${t.question}`;return o.jsxs($,{"data-open":n,"data-testid":"faq-item",children:[o.jsxs(y,{type:"button",onClick:()=>g(t.question),id:c,"aria-expanded":n,"aria-controls":n?r:void 0,"data-open":n,"data-testid":"faq-question",children:[o.jsx(q,{children:h(t.question)}),o.jsx(I,{"data-open":n,"aria-hidden":!0,children:o.jsx(w,{name:"chevron-up-line",size:36})})]}),n&&o.jsx(j,{id:r,role:"region","aria-labelledby":c,"data-testid":"faq-answer",children:h(t.answer).split(`
|
|
174
174
|
`).map(d=>d.trim()).filter(Boolean).map(d=>o.jsx("p",{children:d},d))})]},t.question)})})]})}export{S as F};
|
|
175
|
-
//# sourceMappingURL=Faq-
|
|
175
|
+
//# sourceMappingURL=Faq-ZShU0n7U.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as ue,a as ge,r as l,j as t}from"./react-
|
|
1
|
+
import{u as ue,a as ge,r as l,j as t}from"./react-CJ0-yyn7.js";import{e as i,d as e,w as B,x as xe,c as o,C as h,y as fe,A as me,ak as g,br as be,n as G,bC as M,bX as we,bj as H,z as ie,I as ye,av as ke,bY as N}from"./index-BBc3X6XF.js";import{C as ve}from"./Confetti-Dn8-JEM9.js";import{F as Ce}from"./Faq-ZShU0n7U.js";import{R as Q}from"./resume-buy-Bq0nVPcE.js";import{u as $e,d as je,R as Se,c as Pe,i as Ae,e as _e}from"./useCreditPacks-CBkUPkUM.js";import"./dcl-schemas-CKztSOGI.js";import"./sentry-D5q6Jl_E.js";import"./ethers-BsaABekR.js";import"./intl-AKLEHPeO.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new s.Error().stack;n&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[n]="f9195430-1359-4c5a-9eb1-3908edbc1e1a",s._sentryDebugIdIdentifier="sentry-dbid-f9195430-1359-4c5a-9eb1-3908edbc1e1a")}catch{}})();const A="https://cdn.decentraland.org/@dcl/shop/1.12.2-34971053975.commit-a7f84c8/_assets/pack-coins-BDh1ZDbh.webp",re="https://cdn.decentraland.org/@dcl/shop/1.12.2-34971053975.commit-a7f84c8/_assets/pack-stacks-D-V2jSHW.webp",ne="https://cdn.decentraland.org/@dcl/shop/1.12.2-34971053975.commit-a7f84c8/_assets/pack-chest-BX_j84xW.webp",Te="https://cdn.decentraland.org/@dcl/shop/1.12.2-34971053975.commit-a7f84c8/_assets/credit-coin-CmcTCd5i.webp",O="data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2334CE77'/%3e%3cpath%20d='M21.6583%2046.1067L11.4656%2036.0591C10.1688%2034.829%2010.1905%2032.7207%2011.4769%2031.4622L13.6868%2029.3591C14.9732%2028.1006%2017.1615%2028.1058%2018.4582%2029.3359L23.8747%2034.6197L41.9704%2015.6527C43.2568%2014.3942%2045.4291%2014.2093%2046.7258%2015.4394L48.8765%2017.3628C50.1732%2018.5929%2050.3491%2020.6844%2049.0626%2021.9429L26.6112%2045.8766C25.1433%2047.342%2022.955%2047.3368%2021.6583%2046.1067Z'%20fill='%23FCFCFC'/%3e%3c/svg%3e",K="linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)",Re=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 24px;
|
|
@@ -852,4 +852,4 @@ import{u as ue,a as ge,r as l,j as t}from"./react-CbiDtrwy.js";import{e as i,d a
|
|
|
852
852
|
font-family: ${e.font.sans};
|
|
853
853
|
color: ${e.colors.err};
|
|
854
854
|
`,v=Ae()?"mock":"stripe",ee=[A,A,re,ne],zt={pack_5:A,pack_10:A,pack_25:re,pack_50:ne};function se(s,n){return zt[s.id]??ee[n%ee.length]}function Ft(s,n){return s.artUrl??se(s,n)}const Bt=[{question:"faq.buyers.whatAreQ",answer:"faq.buyers.whatAreA"},{question:"faq.buyers.whatCanIBuyQ",answer:"faq.buyers.whatCanIBuyA"},{question:"faq.buyers.whereBuyQ",answer:"faq.buyers.whereBuyA"},{question:"faq.buyers.whereUseQ",answer:"faq.buyers.whereUseA"},{question:"faq.buyers.expireQ",answer:"faq.buyers.expireA"},{question:"faq.buyers.transferQ",answer:"faq.buyers.transferA"}];function te(s){const n=s;if((n==null?void 0:n.name)==="AbortError")return o("getCredits.errorCanceled");const x=((n==null?void 0:n.message)??"").toLowerCase();return x.includes("sign in")?o("getCredits.errorSignIn",{currency:h.name}):x.includes("timed out")?o("getCredits.errorTimeout",{currency:h.name}):o("getCredits.errorGeneric")}function Qt(){var L;xe({title:o("nav.getCredits",{currency:h.name}),noindex:!0});const s=ue(),{session:n,signIn:x,restored:a}=fe(),m=me(),[b,$]=ge(),{packs:w,isLoading:ae}=$e(),[f,p]=l.useState("select"),[d,I]=l.useState(null),[j,q]=l.useState(null),de=(j!=null?(L=w.find(r=>r.credits===j))==null?void 0:L.artUrl:void 0)??Te,[ce,y]=l.useState(null),[le,S]=l.useState(!1),T=l.useRef(null);l.useEffect(()=>()=>{var r;return(r=T.current)==null?void 0:r.abort()},[]);const E=l.useCallback(()=>{$(r=>{const c=new URLSearchParams(r);return c.delete("order"),c.delete("canceled"),c},{replace:!0})},[$]),R=l.useCallback(async r=>{p("processing");const c=new AbortController;T.current=c;try{const u=await je(r,{signal:c.signal,address:n==null?void 0:n.address,identity:n==null?void 0:n.identity});if(u.status==="credited"){const k=u.creditsGranted??(d==null?void 0:d.credits)??0;q(k>0?k:null),p("success"),g("Shop Completed Buy Credits",{order_id:r,pack_usd:(d==null?void 0:d.usd)??null,credits:k>0?k:null,provider:v}),m.invalidateQueries({queryKey:["usd-balance"]});try{if(sessionStorage.getItem(Se)){const P={resumeCheckout:!0,...k>0?{creditsAdded:k}:{}};s("/cart",{state:P});return}}catch{}try{const P=sessionStorage.getItem(Q);if(P){sessionStorage.removeItem(Q);const U=JSON.parse(P),D=be(U);if(D){s(D,{state:{item:U,resumeBuy:!0}});return}}}catch{}}else u.status==="abandoned"||u.status==="initiated"?(g("Shop Buy Credits Cancelled",{order_id:r,provider:v,step:"grant"}),m.invalidateQueries({queryKey:["usd-balance"]}),S(!0),p("select")):u.status==="failed"?(g("Shop Buy Credits Failed",{step:"grant",error_code:"grant_failed",pack_usd:(d==null?void 0:d.usd)??null}),y(u.error??o("getCredits.errorGrant",{currency:h.name})),p("error")):(g("Shop Buy Credits Pending",{step:"grant",pack_usd:(d==null?void 0:d.usd)??null}),m.invalidateQueries({queryKey:["usd-balance"]}),p("pending"))}catch(u){G(u,{flow:"get_credits",step:"grant",order_id:r}),g("Shop Buy Credits Failed",{step:"grant",error_code:M(u),pack_usd:(d==null?void 0:d.usd)??null}),y(te(u)),p("error")}},[d,n,m,s]),pe=l.useCallback(async r=>{if(!n){x();return}y(null),S(!1),I(r),p(v==="mock"?"processing":"redirecting"),g("Shop Started Buy Credits",{pack_usd:r.usd,credits:r.credits,provider:v});try{const c=await Pe(r.id,{address:n.address,identity:n.identity});if(c.mock)R(c.orderId);else if(c.url)g("Shop Redirected To Stripe",{order_id:c.orderId,pack_usd:r.usd,credits:r.credits}),window.location.href=c.url;else throw new Error("Checkout did not return a redirect url")}catch(c){G(c,{flow:"get_credits",step:"checkout",provider:v}),g("Shop Buy Credits Failed",{step:"checkout",error_code:M(c),pack_usd:r.usd}),y(te(c)),p("error")}},[n,x,R]),z=l.useRef(!1),W=l.useRef(null);l.useEffect(()=>{if(z.current)return;const r=b.get("order");if(b.get("canceled")!=null){if(r&&!a)return;z.current=!0,g("Shop Buy Credits Cancelled",{order_id:r,provider:v}),r&&n&&we(r,n.identity),E(),S(!0),p("select");return}if(r){if(p("processing"),!n){a&&(g("Shop Buy Credits Failed",{step:"grant",error_code:"no_identity",pack_usd:(d==null?void 0:d.usd)??null}),y(o("getCredits.errorSignInAfterPay",{currency:h.name})),p("error"));return}z.current=!0,E(),R(r)}},[b,n,a]);function F(){var r;(r=T.current)==null||r.abort(),p("select"),I(null),q(null),y(null),S(!1)}function he(){const r=W.current;if(!r)return;const c=window.matchMedia("(prefers-reduced-motion: reduce)").matches;r.scrollIntoView({behavior:c?"auto":"smooth",block:"center"}),r.focus({preventScroll:!0})}return t.jsxs(Re,{children:[(f==="select"||f==="redirecting")&&t.jsxs(t.Fragment,{children:[t.jsx(ze,{"data-testid":"credits-hero",children:t.jsxs(Fe,{children:[t.jsxs(Ie,{$hidden:f==="redirecting",children:[t.jsxs(qe,{children:[t.jsx(Ee,{children:o("getCredits.title")}),t.jsxs(We,{children:[t.jsx(Le,{children:o("getCredits.subtitle")}),t.jsx(Ue,{type:"button",onClick:he,"data-testid":"credits-learn-more",children:o("getCredits.learnMore")})]})]}),le&&t.jsx(De,{role:"status",children:o("getCredits.canceledNote")}),t.jsx(It,{packs:w,loading:ae,onSelect:r=>void pe(r)})]}),f==="redirecting"&&t.jsxs(Je,{role:"status","aria-live":"polite",children:[t.jsx(rt,{src:H,alt:"",width:72,height:72}),t.jsx(et,{children:o("getCredits.redirecting")})]})]})}),t.jsx(Be,{ref:W,tabIndex:-1,"data-testid":"credits-faq",children:t.jsx(Ce,{title:"faq.title",entries:Bt,tone:"on-dark"})})]}),f==="processing"&&t.jsxs(it,{role:"status","aria-live":"polite",children:[t.jsx(oe,{src:H,alt:"",width:61,height:61}),t.jsxs(nt,{children:[t.jsxs(ot,{children:[t.jsx("strong",{children:o("getCredits.processing")}),"…"]}),t.jsxs(st,{"aria-hidden":!0,children:[t.jsx(dt,{children:t.jsx(ct,{})}),t.jsx(lt,{children:"1/1"})]})]})]}),f==="success"&&t.jsx(J,{"data-outcome":"success",children:t.jsxs(pt,{role:"status","aria-live":"polite",children:[t.jsx(ve,{}),t.jsxs(ht,{children:[t.jsx(ut,{src:O,alt:"",width:60,height:60}),t.jsxs(gt,{children:[t.jsx("strong",{children:o("getCredits.successTitle")})," ",o("getCredits.successBody",{currency:h.name})]})]}),j!=null&&t.jsx(xt,{children:t.jsxs(ft,{children:[t.jsx(mt,{src:de,alt:"",width:93,height:93}),t.jsxs(bt,{children:[t.jsx(ie,{}),t.jsxs("span",{children:[t.jsx(wt,{children:o("getCredits.creditsAmount",{credits:j,currency:h.name})})," ",t.jsx(yt,{children:o("getCredits.creditsAdded")})]})]})]})}),t.jsxs(kt,{children:[t.jsx(C,{"data-variant":"outline",onClick:F,children:o("getCredits.buyMore",{currency:h.name})}),t.jsx(C,{onClick:()=>s("/items"),children:o("getCredits.startShopping")})]})]})}),f==="pending"&&t.jsx(J,{children:t.jsxs(Ct,{role:"status","aria-live":"polite","data-testid":"credits-pending",children:[t.jsxs($t,{children:[t.jsx(jt,{src:O,alt:"",width:32,height:32}),t.jsx(St,{children:o("getCredits.pendingTitle",{currency:h.name})})]}),t.jsx(Pt,{children:o("getCredits.pendingBody")}),t.jsxs(At,{children:[t.jsx(C,{"data-variant":"outline",onClick:()=>s("/items"),children:o("getCredits.goShopping")}),t.jsx(C,{"data-variant":"ruby",onClick:F,children:o("getCredits.gotIt")})]})]})}),f==="error"&&t.jsxs(vt,{role:"alert",children:[t.jsx(_t,{"data-tone":"error",children:o("getCredits.errorTitle")}),t.jsx(Rt,{children:ce}),t.jsx(Tt,{children:t.jsx(C,{onClick:F,children:o("getCredits.tryAgain")})})]})]})}function It({packs:s,loading:n,onSelect:x}){return n?t.jsx(Y,{"aria-busy":"true","aria-label":o("getCredits.packsLoading",{currency:h.name}),children:[0,1,2,3].map(a=>t.jsxs(V,{as:"div","data-skeleton":"true","data-testid":"pack-skeleton","aria-hidden":!0,children:[t.jsxs(X,{children:[t.jsxs(Z,{children:[t.jsx(Ye,{}),t.jsx(Ve,{})]}),t.jsx(Xe,{})]}),t.jsx(Ze,{})]},a))}):t.jsx(Y,{children:s.map((a,m)=>{const b=_e(a,s);return t.jsxs(V,{type:"button","data-testid":"pack","data-best":a.bestValue?"true":void 0,onClick:()=>x(a),"aria-label":b?o("getCredits.packAriaBonus",{amount:N(a.credits),usd:a.usd,bonus:b.bonus,baseline:b.baseline}):o("getCredits.packAria",{amount:N(a.credits),usd:a.usd}),children:[a.bestValue&&t.jsxs(Ge,{children:[t.jsx(ye,{name:"star-rounded"}),o("getCredits.packBadge")]}),t.jsxs(X,{children:[t.jsxs(Z,{children:[t.jsxs(Me,{children:[t.jsx(ie,{}),t.jsx(He,{children:t.jsx(ke,{credits:a.credits})})]}),t.jsx(Ne,{children:o("getCredits.packUnit",{currency:h.name})})]}),t.jsx(Qe,{children:t.jsx("img",{src:Ft(a,m),alt:"",loading:"lazy",width:507,height:507,onError:$=>{const w=$.currentTarget;w.dataset.artFallback||(w.dataset.artFallback="done",w.src=se(a,m))}})})]}),t.jsxs(Oe,{children:["$",a.usd.toFixed(2)]})]},a.id)})})}export{Qt as GetCredits,Qt as default};
|
|
855
|
-
//# sourceMappingURL=GetCredits-
|
|
855
|
+
//# sourceMappingURL=GetCredits-Bj2YvP67.js.map
|