@dcl/shop 1.9.3-32728233076.commit-3f83397 → 1.9.3-32728520776.commit-2125350
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-lXImq1g-.js → Activity-D9o9lE5w.js} +9 -9
- package/_assets/{AnimatedBackground-Cev_PGgR.js → AnimatedBackground-COo_R0jv.js} +2 -2
- package/_assets/{Assets-DVolhtS4.js → Assets-Y4eozfQW.js} +21 -21
- package/_assets/{Authorizations-w6DnVVKM.js → Authorizations-C0z53Boc.js} +2 -2
- package/_assets/Cart-C4cV57WY.js +748 -0
- package/_assets/{Collection-BSuyVLjK.js → Collection-C_Cp60e9.js} +9 -9
- package/_assets/CollectionCarousel-DjxDQdsi.js +834 -0
- package/_assets/{Confetti-C7i2Cy9j.js → Confetti-CMO39W3p.js} +4 -4
- package/_assets/{ConstantsUtil-9zBSU6WC.js → ConstantsUtil-Bbx2EnN1.js} +2 -2
- package/_assets/{ContentClient-SBMSiQrr.js → ContentClient-S0T5yhCs.js} +2 -2
- package/_assets/{Creator-DRSU9EGr.js → Creator-gSXHGSIE.js} +11 -11
- package/_assets/{DeploymentBuilder-VXVKMXIh.js → DeploymentBuilder-bYpmgp1U.js} +2 -2
- package/_assets/{EmotePlaybackBar-DMyEpqWq.js → EmotePlaybackBar-CfW86IbL.js} +4 -4
- package/_assets/{ErrorNotice-CSPveybR.js → ErrorNotice-BicXGP8v.js} +2 -2
- package/_assets/{ExchangeController-BV36OQSP.js → ExchangeController-DUt90otz.js} +2 -2
- package/_assets/{Faq-DqdaJLWQ.js → Faq-CmdQSmMk.js} +2 -2
- package/_assets/{GetCredits-Rt-C5FJb.js → GetCredits-BrLdJcKY.js} +79 -34
- package/_assets/Grow-1YErdSUM.js +2 -0
- package/_assets/{HelpersUtil-DVnCfYAW.js → HelpersUtil-CUOIt2Kt.js} +2 -2
- package/_assets/ItemDetail-ClYJIcRD.js +3671 -0
- package/_assets/{LoadMore-Die59e5G.js → LoadMore-D3q3yeyF.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-CclSwdjZ.js → ManaPricingBanner.styles-DkVQDA15.js} +9 -9
- package/_assets/{MyAssets-BDpUrhAS.js → MyAssets-C1xXEgSx.js} +4 -4
- package/_assets/{MyFavorites-BMrtr-_2.js → MyFavorites-CDfj556i.js} +6 -6
- package/_assets/{NetworkUtil-D48_2D6H.js → NetworkUtil-DRQK_H65.js} +2 -2
- package/_assets/{NotFound-BQMxQrmN.js → NotFound-CUINsS6X.js} +2 -2
- package/_assets/NotificationsBell-B_t-MyxQ.js +142 -0
- package/_assets/{OutfitDetail-Cqm_Idom.js → OutfitDetail-DXRNX56m.js} +10 -10
- package/_assets/{OutfitPreview-RU4ZCxti.js → OutfitPreview-iDueDIA-.js} +3 -3
- package/_assets/{OutfitStudio-Dnpnfj3h.js → OutfitStudio-FXiBsHyu.js} +10 -10
- package/_assets/{StoreSettings-aw-eL5yj.js → StoreSettings-7Og6OHg0.js} +2 -2
- package/_assets/{Success-B1be43q4.js → Success-pVEf1Pmv.js} +2 -2
- package/_assets/{SwapController-DYIDMcXV.js → SwapController-ovttdj6_.js} +2 -2
- package/_assets/{TradeService-ZRAQiOoB.js → TradeService-DaczXkjB.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-BZ5oZDy3.js → W3MFrameProviderSingleton-DOpb6TWk.js} +4 -4
- package/_assets/{WebCryptoP256-jLDZjT0m.js → WebCryptoP256-Z3_YATN2.js} +2 -2
- package/_assets/authorizations-Pa02Rvk0.js +2 -0
- package/_assets/{basic-DZFEQC0Q.js → basic-CTdE8-Mw.js} +2 -2
- package/_assets/{biconomy-r1vh_BUF.js → biconomy-BugdobVi.js} +2 -2
- package/_assets/{browseLayout.styles-M1vmBmQ9.js → browseLayout.styles-cHBpKfzE.js} +8 -8
- package/_assets/{browser-BfpJhTRn.js → browser-aP4ALHvi.js} +2 -2
- package/_assets/{browser-ponyfill-CeGNYKsC.js → browser-ponyfill-B6fUJtt_.js} +2 -2
- package/_assets/{builder-CqRvwTi-.js → builder-BaKD_SXW.js} +2 -2
- package/_assets/{buy-gasless-UFQUKlRJ.js → buy-gasless-DglyzUg0.js} +2 -2
- package/_assets/buy-yABQoWYF.js +2 -0
- package/_assets/{categories--rjXwQHy.js → categories-WfhNnl_I.js} +2 -2
- package/_assets/{ccip-BssRTLrI.js → ccip-BjvbP5qt.js} +2 -2
- package/_assets/{ccip-DnPn1XL8.js → ccip-D4vfWGNH.js} +2 -2
- package/_assets/{chains-D8WloBbh.js → chains-Cbz6ZCTH.js} +2 -2
- package/_assets/collectionPage.styles-dsAJIyD2.js +40 -0
- package/_assets/{common-10QliGhT.js → common-Cny9D6mj.js} +2 -2
- package/_assets/{controller-BQa0i6u_.js → controller-rAkJUkD2.js} +3 -3
- package/_assets/{core-Bb2WuqFf.js → core-Dt8An-Mf.js} +5 -5
- package/_assets/createSvgIcon-04tFlD5h.js +75 -0
- package/_assets/{custom-BPrhzhzW.js → custom-BZyTZNRB.js} +2 -2
- package/_assets/{data-capture-BbUQzaNz.js → data-capture-DEcXG1m5.js} +2 -2
- package/_assets/{dcl-schemas-DwcpdmVO.js → dcl-schemas-svqq6ugh.js} +2 -2
- package/_assets/{decimals-C3FELhkV.js → decimals-BKASTExz.js} +2 -2
- package/_assets/{decimals-DshOoAas.js → decimals-DoCYKpVG.js} +2 -2
- package/_assets/{detectExtension-BYtG1TEB.js → detectExtension-fW9JZUGn.js} +2 -2
- package/_assets/{disposePreview-BwiSyzKg.js → disposePreview-B5X2Wtjy.js} +2 -2
- package/_assets/{email-BwYca_57.js → email-Lz1TQbsL.js} +2 -2
- package/_assets/{embedded-wallet-B3vRszsO.js → embedded-wallet-DA_7zbSp.js} +2 -2
- package/_assets/emotion-styled.browser.esm-B9vSliMo.js +2 -0
- package/_assets/{engine-C7qM8CsN.js → engine-JXVYObCB.js} +2 -2
- package/_assets/{errors-DAq91AQn.js → errors-b0b_6dKf.js} +2 -2
- package/_assets/{estimate-l1-fee-CggarMeO.js → estimate-l1-fee-DO97WA99.js} +2 -2
- package/_assets/{eth_estimateGas-Bo9gu2yL.js → eth_estimateGas-Dh1OdQV5.js} +2 -2
- package/_assets/{eth_getStorageAt-DWdz73ik.js → eth_getStorageAt-CccvIINo.js} +2 -2
- package/_assets/{eth_getTransactionCount-BCADxZgN.js → eth_getTransactionCount-B6JWuHPI.js} +2 -2
- package/_assets/{ethereum-Bok2Rz8-.js → ethereum-D1JNhzlo.js} +2 -2
- package/_assets/{ethers-CFEyxHZP.js → ethers-CoAxqZ_O.js} +2 -2
- package/_assets/{events-DMOQOqxZ.js → events-E0dmGhp9.js} +2 -2
- package/_assets/{execute-DsezyRbV.js → execute-BnNah6ti.js} +3 -3
- package/_assets/{extractIPFS-BR99h2x_.js → extractIPFS-C0Sr49iY.js} +2 -2
- package/_assets/{features-BMOVGD4S.js → features-DoSbM0rw.js} +2 -2
- package/_assets/{fetchTokenMetadata-BDzanTyh.js → fetchTokenMetadata-BwN2VYQy.js} +3 -3
- package/_assets/{field.styles-BKPWJCCT.js → field.styles-Ym93SFwn.js} +2 -2
- package/_assets/{fortmatic-DFCiuD3V.js → fortmatic-BsycPqnd.js} +2 -2
- package/_assets/{get-bytecode-kZLDQ-Oa.js → get-bytecode--syS_G1u.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-Cpo5hKNm.js → get-ecosystem-wallet-info-C5XCIBfL.js} +2 -2
- package/_assets/{getBalance-D041WVmM.js → getBalance-DI_0_0zi.js} +3 -3
- package/_assets/{getInstalledModules-DH453Ivk.js → getInstalledModules-CiCnwHTj.js} +2 -2
- package/_assets/getNFT-Biyp8G_2.js +2 -0
- package/_assets/getNFT-DC3mUS-6.js +3 -0
- package/_assets/{grid.styles-DTbeN-Gc.js → grid.styles-CssSVVeG.js} +2 -2
- package/_assets/{hashTypedData-DQAKp7O1.js → hashTypedData-BnpZsB48.js} +2 -2
- package/_assets/{hashTypedData-DQOn3f3z.js → hashTypedData-D-dF3Vrs.js} +2 -2
- package/_assets/{in-app-D_du3w69.js → in-app-BG1TZ0Zy.js} +2 -2
- package/_assets/{in-app-wallet-calls-Da_HIXO9.js → in-app-wallet-calls-DuvoSzrT.js} +2 -2
- package/_assets/{index-DmnTeH6s.js → index--yKiKXdN.js} +3 -3
- package/_assets/{index-DsouhR2q.js → index-7IqHD4hI.js} +2 -2
- package/_assets/{index-CpLB2Z0y.js → index-8wgoz-Wz.js} +2 -2
- package/_assets/{index-obnYnix2.js → index-9oOE75Xw.js} +2 -2
- package/_assets/{index-C2cr87yl.js → index-B1iE-wGm.js} +5 -5
- package/_assets/{index-C9OjyzpX.js → index-B2m2JO94.js} +6 -6
- package/_assets/{index-DBuquCy7.js → index-B9AUkaZh.js} +2 -2
- package/_assets/{index-mfwVKH8d.js → index-BCsDvBSq.js} +4 -4
- package/_assets/{index-CsjI427t.js → index-BFilYpiW.js} +2 -2
- package/_assets/{index-1f9QXoGs.js → index-BGmX52TW.js} +2 -2
- package/_assets/{index-CtlGdtrd.js → index-BHklx_NS.js} +13 -13
- package/_assets/{index-CmE-tZ7g.js → index-BJNETmMq.js} +4 -4
- package/_assets/index-BNiNeFAq.js +3 -0
- package/_assets/{index-xtLVdnOV.js → index-BSyKbwJ8.js} +2 -2
- package/_assets/index-Ba-b1Mu4.js +31 -0
- package/_assets/{index-CFZdO6_a.js → index-BcG1r-_u.js} +2 -2
- package/_assets/{index--HmLtwiL.js → index-Bk-RmN_v.js} +2 -2
- package/_assets/index-CTUYL2uj.js +29 -0
- package/_assets/{index-BAaNNyvO.js → index-CUVsgkD0.js} +9 -9
- package/_assets/{index-DWcDVtOo.js → index-CWjXTD6_.js} +2 -2
- package/_assets/{index-r_-MWBQr.js → index-CZ2lEEsc.js} +2 -2
- package/_assets/{index-BEJEiFA8.js → index-Cadjbl-w.js} +4 -4
- package/_assets/{index-DED-BCxp.js → index-CfSzAx-T.js} +2 -2
- package/_assets/{index-F2buC19f.js → index-Cflnx-FU.js} +3 -3
- package/_assets/{index-y-Kkzyqm.js → index-CgW1-Il_.js} +3 -3
- package/_assets/{index-Co05iN5E.js → index-Cix1E4VK.js} +2 -2
- package/_assets/{index-JpEx0t70.js → index-CkehP62_.js} +5 -5
- package/_assets/{index-DFoNzvzX.js → index-CouzSDcX.js} +2 -2
- package/_assets/{index-Aqwlwdt1.js → index-CrCGniU5.js} +7 -7
- package/_assets/{index-ew3k6ZBb.js → index-CxGk1rqj.js} +2 -2
- package/_assets/{index-TvVB0Fw-.js → index-D145vz-F.js} +3 -3
- package/_assets/{index-CL7g3Xrl.js → index-D4KtEOBE.js} +2 -2
- package/_assets/{index-BfNjUYPt.js → index-D5L-IIpv.js} +3 -3
- package/_assets/{index-C9aixo7f.js → index-DBIxb02y.js} +3 -3
- package/_assets/{index-MzSwOMxi.js → index-DC4sSN9L.js} +6 -6
- package/_assets/{index-B3QoG6Bt.js → index-DDMyVvZg.js} +3 -3
- package/_assets/{index-q1JMsIPj.js → index-DIwWQYZ1.js} +4 -4
- package/_assets/{index-CiahiyKN.js → index-DIygHak2.js} +4 -4
- package/_assets/{index-TsQ9Qkl1.js → index-DKKqHXzD.js} +2 -2
- package/_assets/{index-DaMN2YND.js → index-DNy6PKbR.js} +2 -2
- package/_assets/{index-DEazoufB.js → index-DOPdLlOg.js} +2 -2
- package/_assets/{index-6NyDvKje.js → index-DOV9jgbe.js} +2 -2
- package/_assets/{index-BLIFkdeC.js → index-DUgBZdkw.js} +2 -2
- package/_assets/{index-BRwFIcaj.js → index-DVjKGm-h.js} +6 -6
- package/_assets/{index-q7YkjnBH.js → index-D_udL4cY.js} +2 -2
- package/_assets/{index-DtwEow2A.js → index-Dbeuta8f.js} +2 -2
- package/_assets/{index-BhdG9CXE.js → index-Dffw2E5J.js} +2 -2
- package/_assets/{index-scHfPmI1.js → index-DjMiSXeo.js} +5 -5
- package/_assets/{index-DnT77tSK.js → index-DkI3xqXD.js} +2 -2
- package/_assets/{index-BMgs7y1M.js → index-Dmmure8-.js} +2 -2
- package/_assets/{index-gKq0fOcI.js → index-DxZDFKkv.js} +2 -2
- package/_assets/{index-ByyCZ7uW.js → index-GNXQpWOL.js} +5 -5
- package/_assets/{index-fAMx8roa.js → index-JH7jxtVJ.js} +2 -2
- package/_assets/{index-CIto5Y3s.js → index-W7q3Avj3.js} +8 -8
- package/_assets/{index-DV3b2VQZ.js → index-WnrVfSPb.js} +4 -4
- package/_assets/{index-TOJt75GH.js → index-XusXHAYq.js} +2 -2
- package/_assets/index-Z3u2KLcq.js +2 -0
- package/_assets/{index-DFttH-Qw.js → index-_po3J2ew.js} +3 -3
- package/_assets/{index-ASNIqqQj.js → index-evWOPXio.js} +2 -2
- package/_assets/{index-CurC_dfq.js → index-f11cYtHG.js} +2 -2
- package/_assets/{index-qFhqnI-q.js → index-ftIN1m8X.js} +2 -2
- package/_assets/{index-DtOPswm5.js → index-hvXA14v6.js} +3 -3
- package/_assets/{index-B5iDyCmL.js → index-kfKOW5m2.js} +9 -9
- package/_assets/{index-8W0sheUj.js → index-lxjMzlHS.js} +2 -2
- package/_assets/{index-Px3nt7oi.js → index-rTIOez0c.js} +2 -2
- package/_assets/{index-c92sgu1a.js → index-toGfi7w7.js} +2 -2
- package/_assets/{index-Bu0VLINz.js → index-vjJU-bi2.js} +2 -2
- package/_assets/{index.es-_SGXUuPK.js → index.es-BpDxaTqI.js} +2 -2
- package/_assets/{index.es-BcvIrMAv.js → index.es-C7laiXjg.js} +5 -5
- package/_assets/{index.es-BDEBmVF2.js → index.es-CJGIrvfF.js} +2 -2
- package/_assets/{index.es-BGGZKUFo.js → index.es-TKSASEfd.js} +2 -2
- package/_assets/{items-empty-Ca8ecTXQ.js → items-empty-BNi6DAkv.js} +2 -2
- package/_assets/{jump-eik67Nht.js → jump-CulZklMq.js} +2 -2
- package/_assets/{linkAccount-X0PCIwrI.js → linkAccount-DopygbFC.js} +2 -2
- package/_assets/{localBatchGatewayRequest-CWS28iOs.js → localBatchGatewayRequest-N_sEv7JY.js} +2 -2
- package/_assets/{native-AhIIn9qy.js → native-BhgkBdbd.js} +2 -2
- package/_assets/{networks-CA9pX4tX.js → networks-zvnhFWal.js} +2 -2
- package/_assets/{onramp-CIWyc98f.js → onramp-DXowcKTQ.js} +2 -2
- package/_assets/{openzeppelin-CZnBx1BV.js → openzeppelin-Dtf4Nrvs.js} +2 -2
- package/_assets/{ownerOf-C5c-B8eB.js → ownerOf-BUEmzdPa.js} +2 -2
- package/_assets/{parseNft-C1JLH4xB.js → parseNft-Dgaj65_E.js} +3 -3
- package/_assets/{parseSignature-COWrdLji.js → parseSignature-BZmj-iFk.js} +2 -2
- package/_assets/{parseSignature-ClHBGVGg.js → parseSignature-BsLkawHO.js} +4 -4
- package/_assets/passkeys-DElPWXqM.js +2 -0
- package/_assets/{pay-with-exchange-Bsvyssf4.js → pay-with-exchange-CUY7x67N.js} +2 -2
- package/_assets/{prepare-contract-call-tSgXz5LD.js → prepare-contract-call-soZUsjox.js} +2 -2
- package/_assets/{qr-overlay-CN-2P-rY.js → qr-overlay-BckReipC.js} +4 -4
- package/_assets/{react-CdMVTK5A.js → react-q07_1eQs.js} +2 -2
- package/_assets/{receive-BGNNkngF.js → receive-DuTsqlOY.js} +2 -2
- package/_assets/{resolveImplementation-DWRQlCPy.js → resolveImplementation-7Owvoi32.js} +2 -2
- package/_assets/{resume-buy-BnHDbYYM.js → resume-buy-BSC7wjIC.js} +2 -2
- package/_assets/{rpc-Cbm0xzrD.js → rpc-BPdetj4U.js} +2 -2
- package/_assets/{sales-empty-BHr6fPem.js → sales-empty-BCsfMKse.js} +2 -2
- package/_assets/{search-empty-G9FFb9dO.js → search-empty-rD_F2jwV.js} +2 -2
- package/_assets/{secp256k1-D4JW1BUr.js → secp256k1-B7ngxTwD.js} +2 -2
- package/_assets/{secp256k1-oGmM1kTU.js → secp256k1-BhKefO5_.js} +2 -2
- package/_assets/{secp256k1-LyyjV6Ml.js → secp256k1-DsjnVDFU.js} +2 -2
- package/_assets/{send-BORdYpvs.js → send-MzdlpiiI.js} +2 -2
- package/_assets/{send-batch-transaction-DfpWjR2f.js → send-batch-transaction-BSwQbG3R.js} +2 -2
- package/_assets/{send-eip712-transaction-S4lKrpN3.js → send-eip712-transaction-gI1w0Tu9.js} +3 -3
- package/_assets/{send-gasless-transaction-DN1NlAq9.js → send-gasless-transaction-m82i1pzk.js} +3 -3
- package/_assets/send-transaction-DL2Di-ku.js +3 -0
- package/_assets/sendMetaTransaction-DnD9EI2I.js +2 -0
- package/_assets/{sendRawTransaction-Jpvb0NY5.js → sendRawTransaction-Bd4CI7V4.js} +4 -4
- package/_assets/{sentry-B8lJGLBG.js → sentry-DSEkd3Xt.js} +3 -3
- package/_assets/{serializeTransaction-DcEOtxbF.js → serializeTransaction-8hE84M0F.js} +2 -2
- package/_assets/{session-proposal-D7I0aAb8.js → session-proposal-ULCH6TBE.js} +2 -2
- package/_assets/{session-request-BVJM1MAb.js → session-request-B2bsOcdW.js} +3 -3
- package/_assets/{sha256-DlaOoq3i.js → sha256-DUrn5Bgc.js} +2 -2
- package/_assets/{signing-B4-bsEyE.js → signing-Bc8ge6wY.js} +4 -4
- package/_assets/{skeleton.styles-BXYSWK8e.js → skeleton.styles-C3Fnqoi6.js} +2 -2
- package/_assets/{socials-DA7NEoFT.js → socials-CWjPWjKU.js} +2 -2
- package/_assets/{styled-iuTt0GAf.js → styled-Dcm0vwtp.js} +3 -3
- package/_assets/{swaps-Cd-2cSq_.js → swaps-DbXztRfc.js} +8 -8
- package/_assets/{thirdweb-YGQ8uQzx.js → thirdweb-qZyj1T91.js} +4 -4
- package/_assets/{to-serializable-transaction-CC49_EOS.js → to-serializable-transaction-DP3UKn81.js} +3 -3
- package/_assets/{totalSupply-De68C2pQ.js → totalSupply-BAYrHx3b.js} +2 -2
- package/_assets/{transaction-DlT8shix.js → transaction-BM3VtiVe.js} +2 -2
- package/_assets/{transactionReceipt-BeX17ERR.js → transactionReceipt-B2UmxzkT.js} +2 -2
- package/_assets/transactions-kLstds5q.js +17 -0
- package/_assets/{useCreditPacks-CY039ulO.js → useCreditPacks-Do8-fTGZ.js} +2 -2
- package/_assets/{useInfiniteGrid--5uY41d1.js → useInfiniteGrid-O_ua4Wwo.js} +2 -2
- package/_assets/{useStore-BKDb0-rL.js → useStore-F6znCH5_.js} +3 -3
- package/_assets/{useTheme-EVSibIm3.js → useTheme-DQp0NjPE.js} +2 -2
- package/_assets/{utils-Czrw0Q2Z.js → utils-BBCSVRfV.js} +2 -2
- package/_assets/{verifyHash-mbLcp3lP.js → verifyHash-DaY1o-mE.js} +2 -2
- package/_assets/{w3m-modal-BnjZAwnt.js → w3m-modal-Cy592fFO.js} +2 -2
- package/_assets/{w3m-modal-WX5sBMy5.js → w3m-modal-vVNm9mQy.js} +2 -2
- package/_assets/{wait-for-tx-receipt-b3xInCcA.js → wait-for-tx-receipt-CFebGgdy.js} +2 -2
- package/_assets/{wallets-BDSOR5MG.js → wallets-B8d40F7x.js} +6 -6
- package/_assets/{web-connector-G7miSbJK.js → web-connector-DQ1wqCnM.js} +4 -4
- package/_assets/{writeContract-BkiVChtW.js → writeContract-B8Z8SiYw.js} +2 -2
- package/_assets/{zora-sepolia-DNkkd-kU.js → zora-sepolia-BxrLZh1f.js} +2 -2
- package/_assets/{zoraTestnet-i-R1KJeQ.js → zoraTestnet-CMNAkbYG.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Cart-Dl8bkLoJ.js +0 -645
- package/_assets/CircularProgress-BugL8orw.js +0 -29
- package/_assets/CollectionCarousel-CLXiDpcX.js +0 -937
- package/_assets/Grow-DEVn29yk.js +0 -2
- package/_assets/ItemDetail-KySUUcKS.js +0 -3655
- package/_assets/NotificationsBell-7aC1MWpI.js +0 -142
- package/_assets/app-store-4P6uzW8u.svg +0 -34
- package/_assets/authorizations-DF4TCNrP.js +0 -2
- package/_assets/buy-tMXLicAh.js +0 -2
- package/_assets/clsx-BEtG4eYu.js +0 -2
- package/_assets/collectionPage.styles-COpwbA3e.js +0 -40
- package/_assets/createSvgIcon-DKA9KJk3.js +0 -75
- package/_assets/download-on-the-app-store-D7CmsZZO.svg +0 -25
- package/_assets/emotion-styled.browser.esm-eN474Lsc.js +0 -2
- package/_assets/get-in-on-google-play-Cqt13Ucn.svg +0 -23
- package/_assets/get-in-on-play-store-button-49Za7I2x.svg +0 -11
- package/_assets/getNFT-C0J1t5Sk.js +0 -3
- package/_assets/getNFT-CYKLLiBq.js +0 -2
- package/_assets/index-B3cIjEJp.js +0 -31
- package/_assets/index-COJ7gdW-.js +0 -2
- package/_assets/index-DsjPnvaB.js +0 -2
- package/_assets/index-DuZVeMWX.js +0 -3
- package/_assets/logo-pattern-D4X-bvlg.webp +0 -0
- package/_assets/man-default1-BEO13leF.png +0 -0
- package/_assets/passkeys-BA61pdau.js +0 -2
- package/_assets/qr-android-MBrMPexN.svg +0 -1
- package/_assets/send-transaction-BBqZqVFH.js +0 -3
- package/_assets/sendMetaTransaction-9izc41PC.js +0 -2
- package/_assets/transactions-CgMmcqKX.js +0 -17
|
@@ -0,0 +1,834 @@
|
|
|
1
|
+
import{r as C,j as s}from"./react-q07_1eQs.js";import{s as ae,f as E,A as $,g as T,r as H,m as O,i as R,j as X}from"./authorizations-Pa02Rvk0.js";import{i as ne}from"./errors-b0b_6dKf.js";import{t as c,s as a,m as ie,b as k,I as K,h as z,aC as re,bF as D,c4 as oe,g as A,f as M,aH as U,W as se,X as Q,q as S,an as de,c5 as ce,c6 as L,M as le}from"./index-BHklx_NS.js";import{E as pe}from"./ErrorNotice-BicXGP8v.js";import{j as he,k as ue,l as G,m as ge,n as fe}from"./buy-yABQoWYF.js";import{a as xe,w as me,S as be,G as we}from"./buy-gasless-DglyzUg0.js";import{M as B,E as N,s as Z}from"./sendMetaTransaction-DnD9EI2I.js";import{I as ye,C as J}from"./ethers-CoAxqZ_O.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7eea8043-b3f4-4107-bd36-69d5b167b2df",t._sentryDebugIdIdentifier="sentry-dbid-7eea8043-b3f4-4107-bd36-69d5b167b2df")}catch{}})();const W="shop:resume_after_signin",ve=900*1e3;function pt(t){try{sessionStorage.setItem(W,JSON.stringify({...t,at:Date.now()}))}catch{}}function ht(t){let e;try{e=sessionStorage.getItem(W)}catch{return null}if(!e)return null;try{sessionStorage.removeItem(W)}catch{}let n;try{n=JSON.parse(e)}catch{return null}return!n||n.type!==t||typeof n.at!="number"||Date.now()-n.at>ve?null:n.type==="cart-checkout"?{type:"cart-checkout"}:{type:"item-buy",path:n.path}}function ut(t,e){const n=(o,...l)=>void t.invalidateQueries({queryKey:e?[o,...l]:[o]});t.invalidateQueries({queryKey:["usd-balance"]}),t.invalidateQueries({queryKey:["detail-trade"]}),t.invalidateQueries({queryKey:["shop-item"]}),n("owned-token",e==null?void 0:e.contractAddress,e==null?void 0:e.tokenId),n("public-token",e==null?void 0:e.contractAddress,e==null?void 0:e.tokenId),n("item-resales",e==null?void 0:e.contractAddress,e==null?void 0:e.itemId),t.invalidateQueries({queryKey:["shop-items"]}),t.invalidateQueries({queryKey:["catalog-items"]}),t.invalidateQueries({queryKey:["overview-listings"]}),t.invalidateQueries({queryKey:["upsell-listings"]}),t.invalidateQueries({queryKey:["my-assets"]}),t.invalidateQueries({queryKey:["purchases"]}),t.invalidateQueries({queryKey:["owned-item-count"]})}const ke=ie`
|
|
2
|
+
to { transform: rotate(360deg); }
|
|
3
|
+
`,Ce=a.div`
|
|
4
|
+
position: fixed;
|
|
5
|
+
inset: 0;
|
|
6
|
+
z-index: ${c.z.prompt};
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
padding: 16px;
|
|
11
|
+
background: rgba(22, 21, 24, 0.55);
|
|
12
|
+
`,Ae=a.div`
|
|
13
|
+
width: 480px;
|
|
14
|
+
max-width: 100%;
|
|
15
|
+
max-height: 92vh;
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
background: ${c.colors.white};
|
|
18
|
+
border-radius: 16px;
|
|
19
|
+
padding: 12px 16px 16px;
|
|
20
|
+
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
gap: 20px;
|
|
24
|
+
`,Me=a.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
gap: 8px;
|
|
29
|
+
padding-bottom: 16px;
|
|
30
|
+
border-bottom: 1px solid ${c.colors.gray4};
|
|
31
|
+
`,Te=a.h2`
|
|
32
|
+
margin: 0;
|
|
33
|
+
font-family: ${c.font.sans};
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
font-size: 20px;
|
|
36
|
+
line-height: 1.6;
|
|
37
|
+
color: ${c.colors.text};
|
|
38
|
+
`,je=a.button`
|
|
39
|
+
flex: none;
|
|
40
|
+
display: grid;
|
|
41
|
+
place-items: center;
|
|
42
|
+
width: 24px;
|
|
43
|
+
height: 24px;
|
|
44
|
+
border: 0;
|
|
45
|
+
background: none;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
color: ${c.colors.text};
|
|
48
|
+
|
|
49
|
+
.ico {
|
|
50
|
+
width: 18px;
|
|
51
|
+
height: 18px;
|
|
52
|
+
}
|
|
53
|
+
&:disabled {
|
|
54
|
+
opacity: 0.4;
|
|
55
|
+
cursor: default;
|
|
56
|
+
}
|
|
57
|
+
&:focus-visible {
|
|
58
|
+
outline: 2px solid ${c.colors.accent};
|
|
59
|
+
outline-offset: 2px;
|
|
60
|
+
}
|
|
61
|
+
`,ze=a.span`
|
|
62
|
+
margin-left: auto;
|
|
63
|
+
margin-right: 12px;
|
|
64
|
+
color: ${c.colors.muted};
|
|
65
|
+
font-size: 14px;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
`,Ie=a.div`
|
|
68
|
+
display: grid;
|
|
69
|
+
grid-template-columns: 44px 1fr;
|
|
70
|
+
align-items: center;
|
|
71
|
+
gap: 14px;
|
|
72
|
+
padding: 14px 18px;
|
|
73
|
+
background: ${c.colors.white};
|
|
74
|
+
border: 1px solid ${c.colors.line};
|
|
75
|
+
border-radius: 16px;
|
|
76
|
+
`,We=a.div`
|
|
77
|
+
width: 44px;
|
|
78
|
+
height: 44px;
|
|
79
|
+
border-radius: 10px;
|
|
80
|
+
background: ${c.colors.media};
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
color: ${c.colors.muted2};
|
|
86
|
+
|
|
87
|
+
img {
|
|
88
|
+
width: 100%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
object-fit: contain;
|
|
91
|
+
}
|
|
92
|
+
.ccy-mark {
|
|
93
|
+
width: 26px;
|
|
94
|
+
height: 26px;
|
|
95
|
+
}
|
|
96
|
+
`,Ee=a.div`
|
|
97
|
+
min-width: 0;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
gap: 4px;
|
|
101
|
+
`,$e=a.span`
|
|
102
|
+
font-weight: 700;
|
|
103
|
+
color: ${c.colors.text};
|
|
104
|
+
`,Se=a.span`
|
|
105
|
+
font-size: 13px;
|
|
106
|
+
line-height: 1.45;
|
|
107
|
+
color: ${c.colors.muted};
|
|
108
|
+
`,Be=a.p`
|
|
109
|
+
margin: 0;
|
|
110
|
+
font-size: 12px;
|
|
111
|
+
line-height: 1.5;
|
|
112
|
+
color: ${c.colors.muted2};
|
|
113
|
+
`,Ne=a.div`
|
|
114
|
+
display: flex;
|
|
115
|
+
gap: 12px;
|
|
116
|
+
|
|
117
|
+
${c.media.maxWidth("mobile")} {
|
|
118
|
+
flex-direction: column-reverse;
|
|
119
|
+
}
|
|
120
|
+
`,Pe=a.button`
|
|
121
|
+
flex: 1 1 0;
|
|
122
|
+
height: 48px;
|
|
123
|
+
border: 2px solid ${c.colors.accent};
|
|
124
|
+
border-radius: 12px;
|
|
125
|
+
background: transparent;
|
|
126
|
+
color: ${c.colors.accent};
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
font-family: ${c.font.sans};
|
|
129
|
+
font-weight: 600;
|
|
130
|
+
font-size: 13px;
|
|
131
|
+
line-height: 24px;
|
|
132
|
+
letter-spacing: 0.46px;
|
|
133
|
+
text-transform: uppercase;
|
|
134
|
+
|
|
135
|
+
&:hover:not(:disabled) {
|
|
136
|
+
background: rgba(105, 31, 169, 0.06);
|
|
137
|
+
}
|
|
138
|
+
&:disabled {
|
|
139
|
+
cursor: default;
|
|
140
|
+
opacity: 0.5;
|
|
141
|
+
}
|
|
142
|
+
&:focus-visible {
|
|
143
|
+
outline: 2px solid ${c.colors.accent};
|
|
144
|
+
outline-offset: 2px;
|
|
145
|
+
}
|
|
146
|
+
`,Fe=a.button`
|
|
147
|
+
flex: 1 1 0;
|
|
148
|
+
display: inline-flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
gap: 8px;
|
|
152
|
+
height: 48px;
|
|
153
|
+
border: 0;
|
|
154
|
+
border-radius: 12px;
|
|
155
|
+
background: ${c.colors.accent};
|
|
156
|
+
color: ${c.colors.softWhite};
|
|
157
|
+
cursor: pointer;
|
|
158
|
+
font-family: ${c.font.sans};
|
|
159
|
+
font-weight: 600;
|
|
160
|
+
font-size: 13px;
|
|
161
|
+
line-height: 24px;
|
|
162
|
+
letter-spacing: 0.46px;
|
|
163
|
+
text-transform: uppercase;
|
|
164
|
+
|
|
165
|
+
&:hover:not(:disabled) {
|
|
166
|
+
background: ${c.colors.accentHover};
|
|
167
|
+
}
|
|
168
|
+
&:disabled {
|
|
169
|
+
cursor: default;
|
|
170
|
+
background: rgba(105, 31, 169, 0.4);
|
|
171
|
+
}
|
|
172
|
+
&:focus-visible {
|
|
173
|
+
outline: 2px solid ${c.colors.accent};
|
|
174
|
+
outline-offset: 2px;
|
|
175
|
+
}
|
|
176
|
+
`,Ve=a.span`
|
|
177
|
+
width: 16px;
|
|
178
|
+
height: 16px;
|
|
179
|
+
border-radius: 50%;
|
|
180
|
+
border: 2px solid rgba(255, 255, 255, 0.5);
|
|
181
|
+
border-top-color: ${c.colors.white};
|
|
182
|
+
animation: ${ke} 0.7s linear infinite;
|
|
183
|
+
|
|
184
|
+
@media (prefers-reduced-motion: reduce) {
|
|
185
|
+
animation: none;
|
|
186
|
+
}
|
|
187
|
+
`;function gt({auth:t,signer:e,step:n,title:o,reason:l,name:p,image:g,icon:u,onAuthorized:y,onCancel:b,onClose:h}){const[f,m]=C.useState(!1),[r,w]=C.useState(null);async function x(){m(!0),w(null);try{await ae({auth:t,signer:e,active:!0}),y()}catch(d){ne(d)?w(k("authorizeStep.errorRejected")):(z(d,{flow:"authorize_step",kind:t.kind}),w(k("authorizeStep.errorGeneric"))),m(!1)}}return s.jsx(Ce,{onClick:f?void 0:h,role:"presentation","data-testid":"authorize-step-scrim",children:s.jsxs(Ae,{onClick:d=>d.stopPropagation(),role:"dialog","aria-modal":"true","aria-label":o,children:[s.jsxs(Me,{children:[s.jsx(Te,{children:o}),n&&n.total>1?s.jsx(ze,{"data-testid":"authorize-step-count",children:k("authorizeStep.stepOf",{index:n.index,total:n.total})}):null,s.jsx(je,{onClick:h,disabled:f,"aria-label":k("authorizeStep.close"),children:s.jsx(K,{name:"close",className:"ico"})})]}),s.jsxs(Ie,{"data-testid":"authorize-step-row",children:[s.jsx(We,{children:g?s.jsx("img",{src:g,alt:""}):u}),s.jsxs(Ee,{children:[s.jsx($e,{title:p,children:p}),s.jsx(Se,{children:l})]})]}),s.jsx(Be,{children:k("authorizeStep.note")}),s.jsx(pe,{message:r}),s.jsxs(Ne,{children:[s.jsx(Pe,{type:"button",onClick:b,disabled:f,children:k("authorizeStep.cancel")}),s.jsx(Fe,{type:"button","data-testid":"authorize-step-action",onClick:()=>void x(),disabled:f,children:f?s.jsxs(s.Fragment,{children:[s.jsx(Ve,{"aria-hidden":!0}),k("authorizeStep.authorizing")]}):k("authorizeStep.authorize")})]})]})})}const ft="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%201'%3e%3cpath%20id='Vector'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%202L22%2012L12%2022L2%2012L12%202ZM12%204.8L19.2%2012L12%2019.2L4.8%2012L12%204.8ZM12%2015.6C12.9548%2015.6001%2013.8705%2015.2209%2014.5457%2014.5459C15.2209%2013.8708%2015.6003%2012.9552%2015.6004%2012.0004C15.6005%2011.0456%2015.2213%2010.1299%2014.5463%209.45471C13.8712%208.7795%2012.9556%208.40011%2012.0008%208.4C11.0461%208.4%2010.1304%208.77928%209.45525%209.45442C8.78012%2010.1295%208.40083%2011.0452%208.40083%2012C8.40083%2012.9548%208.78012%2013.8705%209.45525%2014.5456C10.1304%2015.2207%2011.0461%2015.6%2012.0008%2015.6H12Z'%20fill='white'/%3e%3cg%20id='Rectangle%201'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",xt="data:image/webp;base64,UklGRvgKAABXRUJQVlA4IOwKAADQKwCdASpgAGUAPjEUiEKiISEUnq8wIAMEtgBkC7j/3+G/I38cvlZrz9m/Bv7ucdsZLtP/U/cL2pPMH/Tb/Nfar3MfMJ+1P7ge7h/p/W5/dvUF/ln/R60X0FfLU/cP4VP2y/bv2Zf//dh/DX9N2THgHQ12q7Xn+Y33EAH0+/4PqITRFa4zT/1eWj619gr9Vf+j6x/rq/cX2Hv1j//7lHMptECj4S9oGS9bHSMqnYSXt0dT9/kqkBaEohWLz5fYi/Xc3O4w88eWX2PNn6f6HvokNQLshYmWuZVr+fWvmb8Mxmef32yaJFKhIrqBLsKH0p5i3G0l0My3DEGl5xNk8x8K5XQfwFnKNgmq56O8EtvsHrECHmK24etcKyXmPUNXqKG2wZt46qpzuG9FVqioXjkt+Ml5ZFMcX4Qt/gSM/pW5noqKyz52OQ+lnhtm6rvL/2wg1r915uiwJUqVqwoeahezVpjC5WF8gAD+//5xQfuw+m9CcVG4VSUxpYVbr28IJLI3JdtWufv0qzX1l/3///nmDOH9JxLbHvzElYZJh+KXu/Vm+DvLe+P3f899UasoAiqy0L6a080Zavene3J0LDFVwNKwBgTJhhnyHyXiivUCl9zFEJexNTm1uifLMn5AZB2Xhc14br6GW53pQRv/ZFIb42GbedOasp2CIgHD1AJtyBg/Yezhfuezuqo6BepEhErXb16zn+iTu/Au8DBrwz0ECgvcMrvW3Tl0jCaZqgsLwX93iEett0p1YS4pccTTlEJdxO4akcHPIoqkIq4x6COqE3W7HJ8lENPyAK9D22Zm6RAw7y23dzUt3eFk2R8ispGWbqcc/Bc4vmwZoglkFKho1lkVGOPPKjEME6mh3us+O7/UujXlQwLOh2O1Z37xfMuHPssVRIhAo8JjaMNPeY1Gc8OnuRjPp1KMfXaYQMqEVVqX7+p63Vg8xE7pnolcBqsi2123Sd1YQoFY/IdzmOWPpd1ArCvv7AJu1XlsrEbcbPt77rTmXqXgL7MTdrLwJTHSa9eMkhjkVSL2kQmiIeLlnlCTSDBW2VUJk70ZkAh1pxjwg7vagecieGvdjVPsg3qs4KdFjz8mQwdlU7nYiRLy4fs5XeEPHwuNRjqTZLmR4+P+g4i7Zld4R0BKjaNzU6io3Wg4nbeKP4Y+odsQRWTiMmULla/V5U4+shB6rhSyyxah5qNb8JF/AeM/ZEMC/ruNHFVt2z99+G334RjV11a2DLmDOKk9ULgM+aE+Yvf5FamiiBHu2zJyVP7tAllsCtG9RNmH0r5gx4OhIh17p5dfa8U78wK4Jbvcq14Zo7vgs1XwYcWKO2paQrmjei9+P5hbMwOlwQa5W1hnpxBU9gySq2/opHOaHYFiFqD8b9OReysGuVclXPTDKmqtCUHVSZYHmKP9SHubBuavbErBRmVY+Nmz5/B5SzRCnPk3+cfd7wYriQaMwOS/BOCOBvr1SO0gSrIIx4DZCbhAqPUhV9emH31oXt5i1r88/lsQKPT0LrwlaJslMnvEkMbyD9UoApwbtAZqvqugP84V2o6mM62j670PrgZQEfdrfU/Brf0uTzjZCvCUbO9oEswXg6unROfjUtgZnghqpTXVvThkder6/50kGKJje5eoSL8jwIInxFI/v/5hPjsO29Tu1V+3cT5pJ2NkOia+rW+0X3pvw9VEWQQngLrTZhrPuNAcaAWSvy+dppsI+zNXiWwCFwO+p9LyTusGvrw3oYM1FvmXff91gzvOTnyjBAeVacK1AOLetlzmatqtuQysM9IxbOLVnQ9tffTmqDbxmQTY36WqDIp2rFx05HMlrdU8jV2cl4FL70S9JSuBRoGBUYYTK1i94k3Gr2foiVl/1sktnyF95b+foK2ThVL47hB+FjNZl/Q5hTnB53rn1EppKC3jDCjN0RwIG+xO3/iwvVmdA1FEPlB/m+7K/PplluG+hMXZdqh3Vb9jGlnL1G331f68q/T4Nn53VaedqyO+K/EaZOEfFwFWbD3J0XY7eklhHvnvN+GHzT/+1ZZ/iSjsT5VcncMxDkPVAEE5+Iv8DKGs//vXXfBMs7evhxSafUuPe7x7/VPkmKnd3V+Ibc3YympmNS6TDTxtAQWCBWgJ+ZQPXvrj4Xg8lb5ZDvvVDXrXN+VzCMqq54jt2MMdkjh3QMHo32O5bPYOnQl9zl+KmVQf7XNUE3O2MxAzv2dA7w6RPbOP2OOIWRgwLdNy6OIn23vTZOirV3ufMnGIjTehD8YrfBtMhQjIpRyvVuNf8YzYoCwF8ybfcFoatV5hvAaQwhruxLD0XRSM+oAGPo44Kl6q8jz7/Qp2PtBCFVj56ostyJs0hg3PAAg+YjMvWuQMecMhPjns/mX//5XmYe9lHvfe79d91n/0puJ8C/mfnuGOTRostWX6xRZd2og1rRieHnM/8dJ58g7leMFibJD2gtq8r7n9Ce+wpYNpznRUmHcU/mP5Wlfbs/hGxk2K82pViHQElv+AumJhHOSR4Skb42vDdVFDsDyCYpN6qcJDwaDExGlckHBj2YfMCfhNFmFnEO/exYslmeNN7+UzbSW8dI1W5F/5JxVmygNHYODYFCxBcfUBf/KSOXMy+FnP9BXJx1JWZwFMeYk0JLF0cXByy84zX4WNi5IDCH6JVMx+EAzKiYrqFbfkqqWXPYzyyTFD7DQX9noCFp43nE3GNFJ/1Hg3aiFUzJuhIiBOcVnmdqcSXZmaoVN83qTB/UlqZlreRNmYOMhP1mB30Ap9yebO12VCfQ/t59iX/JHZAV4DOn3Wj10EdAmiJ4LIM7FFZuVoHwTIVBtCluMMQ5hm5kGsCp7tSnG6tgKv6r699n4BwegEJxjIBln/anJbwVigZdYOv9MJ9SmBt2yFttw3Ar3Aw1+o3Ux0CqBc23d3/urM30mJNJUyaHfuTVBXmKInUWQnT05RzFvEbS2qnBEiicuXN+h0dTN3MCAdChkQvF4nn7WeJDvg4KEdS6FN0s4TiFuWQVhloZV/3+PzN4lqrKEXSLCdzrf/gK1i2fVuLsZTulPvvcz6hhhKfA4Fni6xlMZqxVIsYoUySePySdGiyRwpzFmi3yeInf75Z8T3uqtArQNMwe3glLiiS5PUy7Y8Svsbg5xwXhr6aOPuUvj4NrXNcSgefLeNmL680LGBzBGg2M9qv2auWIpJohW8LDNngafslp+2ydYZ60t+jonPHmMDTK1R/BkkDSoxfARfSpzxRoQqCibQ/i/KfV3hnGHLWJQ9L9CaFbMy/xF1JrNXwBpZVVIEt3ivU4LwEGnaDWcgbd2t+QbDsrepZNFW9PsCU4T7IEvTthlSDAqV8HTsoCcCc0t2vD3+G8gy8h32cZaYPvipwofQ+Zd23iBld0QOVDxEDGInn4CucUTfC3/c9tjfveCPuFQTdp7Wrc2qmpty8Kn7IJOa+Hy3xJuNHAW7yTU8KHJTrxD/9fvFMkH6eDgNbEzJ5NOCoxFFplGXuhHd8jxk9u/k3bBVF6oLskpdipOj9NqvNNv7Dy1cNnPGqKJSTZ01tIQ7lIcMeBvj6Ov6rRVP4ue+EW7a/VxCfsIzlgflFXrjoKLs1k1hQW83BtGjQ37OmBhgI+6ULvZAWhooUlzBa7n+F/yXGW5dmI1gA3TANbTih2YGTLfBnAI9Z7QHGSJh6CMgmUr2kMgJYoxGft2beB7EXyDAwxQmjAEpZ2zFRVHDTYDjyz+H094nbYcAhgAAAAA=",mt="https://cdn.decentraland.org/@dcl/shop/1.9.3-32728520776.commit-2125350/_assets/buy-error-22UunaPC.png";function De(t,e){return(t+e-1n)/e}function Le(t,e,n){return t<=0||e<=0?0n:t>=e?n:De(n*BigInt(t),BigInt(e))}function bt(t){var h,f,m;const e=Number.isFinite(t.priceCents)?Math.max(0,Math.trunc(t.priceCents)):0,n=Number.isFinite(t.balanceCents)?Math.max(0,Math.trunc(t.balanceCents)):0,o=t.priceManaWei>0n?t.priceManaWei:0n,l=t.manaBalanceWei>0n?t.manaBalanceWei:0n;if(e<=0)return{options:[],preferred:null,manaShortfall:null};const p=[];n>=e&&p.push({method:"credits",creditsCents:e,credits:re(e),manaWei:0n});const g=D(n)*oe;if(o>0n&&g>0&&g<e){const r=e-g,w=Le(r,e,o);l>=w&&p.push({method:"combined",creditsCents:g,credits:D(g),manaWei:w})}o>0n&&l>=o&&p.push({method:"mana",creditsCents:0,credits:0,manaWei:o});const u=((h=p.find(r=>r.method==="credits"))==null?void 0:h.method)??((f=p.find(r=>r.method==="combined"))==null?void 0:f.method)??((m=p.find(r=>r.method==="mana"))==null?void 0:m.method)??null,b=!p.some(r=>r.method==="mana"||r.method==="combined")&&o>0n&&l>0n?{manaWei:l,manaCents:qe(l,e,o),priceCents:e}:null;return{options:p,preferred:u,manaShortfall:b}}function qe(t,e,n){return Number(t*BigInt(e)/n)}function wt(t,e){let n=Number.isFinite(e)?Math.max(0,Math.trunc(e)):0;return t.map(o=>{const l=Number.isFinite(o)?Math.max(0,Math.trunc(o)):0,p=Math.min(l,n);return n-=p,p})}function yt(t,e){return t.options.find(n=>n.method===e)??null}async function vt(t){const[e]=await Y({...t,trades:[t.trade]});return e}async function kt(t){const[e]=await Y({...t,trades:[],mints:[t.mint]});return e}async function Y(t){const{trades:e,mints:n=[],buyer:o,signer:l,onSigned:p,manaWei:g}=t;if(e.length===0&&n.length===0)throw new Error("No items to buy");const u=new Map;for(const h of e){const f=`${h.chainId}:${h.contract.toLowerCase()}`,m=u.get(f);m?m.push(h):u.set(f,[h])}const y=new Map;for(const h of n){const f=y.get(h.chainId);f?f.push(h):y.set(h.chainId,[h])}const b=[];for(const h of u.values())b.push(await He({trades:h,buyer:o,signer:l,onSigned:p,requiredManaWei:g}));for(const[h,f]of y){const m=g??f.reduce((r,w)=>r+BigInt(w.item.priceWei),0n);b.push(await Oe({mints:f,chainId:h,buyer:o,signer:l,onSigned:p,requiredManaWei:m}))}return b}async function He(t){const{trades:e,buyer:n,signer:o,onSigned:l,requiredManaWei:p}=t,g=e[0],u=A(U(g.contract),g.chainId),y=A(M.MANAToken,g.chainId);await E({auth:{kind:$.Allowance,contractAddress:y.address,spenderAddress:u.address,chainId:g.chainId},signer:o,requiredWei:p});const b=e.map(r=>ue(r,n));if(T.enabled)try{const r=new ye(u.abi).encodeFunctionData("accept",[b]),w=H(),x=O(o.provider,w),d=await Z(x,w,r,u,{serverURL:T.relayerUrl});return l==null||l(),await R(d,"the MANA purchase"),d}catch(r){if(r instanceof B&&r.code===N.USER_DENIED||r instanceof X)throw r;z(r,{flow:"buy_mana",step:"gasless_fallback"})}await Q(o.provider,g.chainId);const f=await new J(u.address,u.abi,o).accept(b,G(g.chainId));return l==null||l(),(await f.wait()).transactionHash}async function Oe(t){const{mints:e,chainId:n,buyer:o,signer:l,onSigned:p,requiredManaWei:g}=t,u=A(M.CollectionStore,n),y=A(M.MANAToken,n),b=e.map(r=>r.item);if(await E({auth:{kind:$.Allowance,contractAddress:y.address,spenderAddress:u.address,chainId:n},signer:l,requiredWei:g}),T.enabled)try{const r=ge(b,o,u.abi),w=H(),x=O(l.provider,w),d=await Z(x,w,r,u,{serverURL:T.relayerUrl});return p==null||p(),await R(d,"the MANA purchase"),d}catch(r){if(r instanceof B&&r.code===N.USER_DENIED||r instanceof X)throw r;z(r,{flow:"buy_mint_mana",step:"gasless_fallback"})}await Q(l.provider,n);const f=await new J(u.address,u.abi,l).buy(fe(b,o),G(n));return p==null||p(),(await f.wait()).transactionHash}async function Ct(t){const{trade:e,...n}=t;return _({target:{kind:"trade",trade:e},...n})}async function At(t){const{mint:e,...n}=t;return _({target:{kind:"store",mint:e},...n})}async function _(t){const{target:e,buyer:n,signer:o,credits:l,manaGapWei:p,providerType:g,onBroadcast:u,onReverted:y,onUnobservable:b}=t;if(l.length===0)throw new Error("No credits to spend — use the MANA-only rail for that");if(p<=0n)throw new Error("No MANA gap to cover — use the credits-only rail for that");const h=ee(e),f=A(M.MANAToken,h),m=A(M.CreditsManager,h);await E({auth:{kind:$.Allowance,contractAddress:f.address,spenderAddress:m.address,chainId:h},signer:o,requiredWei:p});const w=(l.reduce((d,v)=>d+BigInt(v.availableAmount),0n)+p).toString(),x=Re(e,l,w);if(T.enabled){let d;try{return d=await xe({purchase:x,buyer:n,signer:o}),u==null||u({txHash:d}),await me(d),d}catch(v){if(v instanceof B&&v.code===N.USER_DENIED||v instanceof be)throw v;if(!(v instanceof we))throw d&&(y==null||y({txHash:d})),v;if(v.reason==="relayer-unreachable")throw b==null||b(),v;if(!se(g))throw v;z(v,{flow:"buy_credits_and_mana",step:"gasless_fallback"})}}return he({purchase:x,buyer:n,signer:o,onBroadcast:u,onReverted:y})}function ee(t){return t.kind==="trade"?t.trade.chainId:t.mint.chainId}function Re(t,e,n){return t.kind==="trade"?{kind:"trade",trade:t.trade,credits:e,maxCreditedValue:n}:{kind:"store",item:t.mint.item,chainId:t.mint.chainId,credits:e,maxCreditedValue:n}}function Mt(t,e){const n=ee(e);return t==="combined"?{spender:A(M.CreditsManager,n).address,chainId:n}:{spender:e.kind==="trade"?A(U(e.trade.contract),n).address:A(M.CollectionStore,n).address,chainId:n}}function Tt(t){return s.jsx("svg",{viewBox:"0 0 18 18",width:"18",height:"18","aria-hidden":!0,...t,children:s.jsx("path",{d:"M4 4l10 10M14 4L4 14",stroke:"#161518",strokeWidth:"1.8",strokeLinecap:"round"})})}function jt(t){return s.jsx("svg",{viewBox:"0 0 20 20",width:"24",height:"24","aria-hidden":!0,...t,children:s.jsx("path",{fill:"#f48221",d:"M10 0a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 11a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm0-8a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V6a1 1 0 0 1 1-1Z"})})}const{colors:i,gradients:P,radius:te,z:Xe}=c,zt=a.div`
|
|
188
|
+
position: fixed;
|
|
189
|
+
inset: 0;
|
|
190
|
+
z-index: ${Xe.overlay};
|
|
191
|
+
display: flex;
|
|
192
|
+
overflow-y: auto;
|
|
193
|
+
padding: 20px;
|
|
194
|
+
`,It=a.div`
|
|
195
|
+
position: fixed;
|
|
196
|
+
inset: 0;
|
|
197
|
+
background: rgba(22, 21, 24, 0.45);
|
|
198
|
+
`,Wt=a.div`
|
|
199
|
+
position: relative;
|
|
200
|
+
z-index: 1;
|
|
201
|
+
margin: auto;
|
|
202
|
+
width: 100%;
|
|
203
|
+
/* Wide enough to fit all 4 credit bundles comfortably in a single row (the credits-server returns 4;
|
|
204
|
+
the Figma mock showed 3 at ~180px). The pack tiles flex to share this width. */
|
|
205
|
+
max-width: 700px;
|
|
206
|
+
/* Flex-item auto-minimum can otherwise push the card past the viewport on a narrow screen. */
|
|
207
|
+
min-width: 0;
|
|
208
|
+
/* Never taller than the viewport (100% of the padded overlay): the no-funds state stacks a warning, a
|
|
209
|
+
line list, 4 pack tiles, the total AND the Cancel/Buy pair, which overflows a laptop screen at 100%
|
|
210
|
+
zoom and used to take the CTAs off-screen with it. The body absorbs the difference, and the clip is
|
|
211
|
+
the backstop — a phase that forgets to make itself shrinkable is then visibly cut off at the card's
|
|
212
|
+
edge instead of painting its buttons out on the scrim. */
|
|
213
|
+
max-height: 100%;
|
|
214
|
+
overflow: hidden;
|
|
215
|
+
background: ${i.white};
|
|
216
|
+
border-radius: 16px;
|
|
217
|
+
padding: 12px 16px 16px;
|
|
218
|
+
box-shadow: 0 24px 60px rgba(22, 21, 24, 0.28);
|
|
219
|
+
animation: cart-pop-in 0.16s ease;
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
gap: 24px;
|
|
223
|
+
|
|
224
|
+
&[data-tall] {
|
|
225
|
+
min-height: 379px;
|
|
226
|
+
justify-content: space-between;
|
|
227
|
+
}
|
|
228
|
+
`,Et=a.div`
|
|
229
|
+
display: flex;
|
|
230
|
+
flex-direction: column;
|
|
231
|
+
gap: 4px;
|
|
232
|
+
padding-bottom: 16px;
|
|
233
|
+
border-bottom: 1px solid ${i.gray4};
|
|
234
|
+
`,$t=a.div`
|
|
235
|
+
display: flex;
|
|
236
|
+
align-items: flex-start;
|
|
237
|
+
justify-content: space-between;
|
|
238
|
+
gap: 8px;
|
|
239
|
+
`,St=a.h2`
|
|
240
|
+
margin: 0;
|
|
241
|
+
font-size: 20px;
|
|
242
|
+
font-weight: 700;
|
|
243
|
+
line-height: 1.6;
|
|
244
|
+
color: ${i.text};
|
|
245
|
+
`,Bt=a.button`
|
|
246
|
+
flex-shrink: 0;
|
|
247
|
+
border: 0;
|
|
248
|
+
background: transparent;
|
|
249
|
+
cursor: pointer;
|
|
250
|
+
padding: 2px;
|
|
251
|
+
line-height: 0;
|
|
252
|
+
`,Nt=a.div`
|
|
253
|
+
display: flex;
|
|
254
|
+
align-items: center;
|
|
255
|
+
gap: 4px;
|
|
256
|
+
`,Pt=a.span`
|
|
257
|
+
font-size: 14px;
|
|
258
|
+
font-weight: 600;
|
|
259
|
+
color: ${i.muted1};
|
|
260
|
+
`,Ft=a(S)`
|
|
261
|
+
width: 14px;
|
|
262
|
+
height: 14px;
|
|
263
|
+
background: ${i.text};
|
|
264
|
+
`,Vt=a.span`
|
|
265
|
+
font-size: 14px;
|
|
266
|
+
color: ${i.text};
|
|
267
|
+
`,Dt=a.div`
|
|
268
|
+
display: flex;
|
|
269
|
+
flex-direction: column;
|
|
270
|
+
gap: 24px;
|
|
271
|
+
/* Shrink inside a viewport-capped card instead of overflowing it. Anything with its own flexible
|
|
272
|
+
region (e.g. the cart's line list) gives up height first; this scroll is the last resort so the
|
|
273
|
+
CTAs are always reachable on a short screen. */
|
|
274
|
+
min-height: 0;
|
|
275
|
+
overflow-y: auto;
|
|
276
|
+
|
|
277
|
+
/* Processing / loading states centre a single element in a taller body. */
|
|
278
|
+
&[data-processing] {
|
|
279
|
+
flex: 1;
|
|
280
|
+
align-items: center;
|
|
281
|
+
justify-content: center;
|
|
282
|
+
gap: 32px;
|
|
283
|
+
padding: 24px 0;
|
|
284
|
+
}
|
|
285
|
+
`,Lt=a.div`
|
|
286
|
+
display: flex;
|
|
287
|
+
gap: 24px;
|
|
288
|
+
align-items: center;
|
|
289
|
+
|
|
290
|
+
${c.media.maxWidth("mobile")} {
|
|
291
|
+
gap: 12px;
|
|
292
|
+
}
|
|
293
|
+
`,qt=a.div`
|
|
294
|
+
flex-shrink: 0;
|
|
295
|
+
width: 110px;
|
|
296
|
+
height: 110px;
|
|
297
|
+
background: ${i.media};
|
|
298
|
+
border-radius: 8px;
|
|
299
|
+
display: grid;
|
|
300
|
+
place-items: center;
|
|
301
|
+
overflow: hidden;
|
|
302
|
+
|
|
303
|
+
& img {
|
|
304
|
+
width: 83%;
|
|
305
|
+
height: 83%;
|
|
306
|
+
object-fit: contain;
|
|
307
|
+
filter: drop-shadow(0.7px 2.9px 3.7px rgba(0, 0, 0, 0.1));
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
${c.media.maxWidth("mobile")} {
|
|
311
|
+
width: 78px;
|
|
312
|
+
height: 78px;
|
|
313
|
+
border-radius: 7px;
|
|
314
|
+
}
|
|
315
|
+
`,Ht=a.div`
|
|
316
|
+
flex: 1;
|
|
317
|
+
min-width: 0;
|
|
318
|
+
display: flex;
|
|
319
|
+
flex-direction: column;
|
|
320
|
+
justify-content: center;
|
|
321
|
+
gap: 4px;
|
|
322
|
+
`,Ot=a.div`
|
|
323
|
+
font-size: 18px;
|
|
324
|
+
font-weight: 700;
|
|
325
|
+
line-height: 1.3;
|
|
326
|
+
color: ${i.text};
|
|
327
|
+
overflow: hidden;
|
|
328
|
+
text-overflow: ellipsis;
|
|
329
|
+
|
|
330
|
+
${c.media.maxWidth("mobile")} {
|
|
331
|
+
font-size: 16px;
|
|
332
|
+
}
|
|
333
|
+
`,Rt=a(de)`
|
|
334
|
+
font-size: 12px;
|
|
335
|
+
line-height: 1.43;
|
|
336
|
+
color: ${i.muted};
|
|
337
|
+
|
|
338
|
+
${c.media.maxWidth("mobile")} {
|
|
339
|
+
font-size: 10px;
|
|
340
|
+
}
|
|
341
|
+
`,Xt=a.div`
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: center;
|
|
344
|
+
gap: 6px;
|
|
345
|
+
margin-top: 4px;
|
|
346
|
+
|
|
347
|
+
& span {
|
|
348
|
+
font-size: 18px;
|
|
349
|
+
font-weight: 700;
|
|
350
|
+
color: ${i.text2};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
${c.media.maxWidth("mobile")} {
|
|
354
|
+
& span {
|
|
355
|
+
font-size: 20px;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
`,Kt=a(S)`
|
|
359
|
+
width: 18px;
|
|
360
|
+
height: 18px;
|
|
361
|
+
background: ${i.text2};
|
|
362
|
+
`,Ut=a.div`
|
|
363
|
+
display: flex;
|
|
364
|
+
align-items: flex-start;
|
|
365
|
+
gap: 12px;
|
|
366
|
+
background: rgba(255, 162, 90, 0.3);
|
|
367
|
+
border-radius: ${te.btn};
|
|
368
|
+
padding: 16px;
|
|
369
|
+
|
|
370
|
+
& > svg {
|
|
371
|
+
flex-shrink: 0;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
${c.media.maxWidth("mobile")} {
|
|
375
|
+
align-items: center;
|
|
376
|
+
gap: 8px;
|
|
377
|
+
padding: 12px 8px;
|
|
378
|
+
}
|
|
379
|
+
`,Qt=a.p`
|
|
380
|
+
margin: 0;
|
|
381
|
+
font-size: 14px;
|
|
382
|
+
line-height: 1.334;
|
|
383
|
+
color: ${i.text2};
|
|
384
|
+
|
|
385
|
+
& b {
|
|
386
|
+
font-weight: 700;
|
|
387
|
+
}
|
|
388
|
+
`,Gt=a.a`
|
|
389
|
+
display: inline-block;
|
|
390
|
+
margin-top: 4px;
|
|
391
|
+
font-size: 14px;
|
|
392
|
+
font-weight: 600;
|
|
393
|
+
line-height: 1.334;
|
|
394
|
+
color: ${i.text2};
|
|
395
|
+
text-decoration: underline;
|
|
396
|
+
|
|
397
|
+
&:hover {
|
|
398
|
+
color: ${i.accent};
|
|
399
|
+
}
|
|
400
|
+
`,Zt=a.div`
|
|
401
|
+
display: flex;
|
|
402
|
+
flex-wrap: wrap;
|
|
403
|
+
gap: 12px;
|
|
404
|
+
margin: -6px 0;
|
|
405
|
+
padding: 6px;
|
|
406
|
+
|
|
407
|
+
/* Phones get a fixed 2x2 (Figma mobile frame). Wrapping decided the row break from each tile's own
|
|
408
|
+
content width, so a pack whose amount and price were wide enough — "260 ($29.99)" — stopped
|
|
409
|
+
sharing a line and claimed a full row: the four landed 2/1/1, three rows tall. That extra row is
|
|
410
|
+
also what pushed the total under the sticky CTAs. The tracks are minmax(0, 1fr), not 1fr, so a
|
|
411
|
+
long price shrinks the text inside the tile instead of widening the column past the card. */
|
|
412
|
+
${c.media.maxWidth("mobile")} {
|
|
413
|
+
display: grid;
|
|
414
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
415
|
+
gap: 16px 12px;
|
|
416
|
+
}
|
|
417
|
+
`,Jt=a.button`
|
|
418
|
+
/* Wide enough to stay readable, so a narrow card wraps the tiles onto a second row instead of
|
|
419
|
+
squeezing four of them into one. */
|
|
420
|
+
flex: 1 1 140px;
|
|
421
|
+
height: 109px;
|
|
422
|
+
border: 1px solid ${i.muted2};
|
|
423
|
+
background: ${i.media};
|
|
424
|
+
border-radius: 16px;
|
|
425
|
+
display: flex;
|
|
426
|
+
align-items: center;
|
|
427
|
+
justify-content: center;
|
|
428
|
+
gap: 8px;
|
|
429
|
+
cursor: pointer;
|
|
430
|
+
padding: 3px;
|
|
431
|
+
transition:
|
|
432
|
+
transform 0.12s ease,
|
|
433
|
+
border-color 0.12s ease,
|
|
434
|
+
border-width 0.12s ease,
|
|
435
|
+
padding 0.12s ease;
|
|
436
|
+
|
|
437
|
+
/* The buy gradient AS the border: the flat fill is clipped to the padding box and the gradient to the
|
|
438
|
+
border box, which paints a gradient ring on the tile's own radius with no wrapper element (a
|
|
439
|
+
gradient is not a valid border-color). */
|
|
440
|
+
&:hover:not(:disabled),
|
|
441
|
+
&[data-on] {
|
|
442
|
+
padding: 0;
|
|
443
|
+
border-color: transparent;
|
|
444
|
+
border-width: 4px;
|
|
445
|
+
background-image: linear-gradient(${i.media}, ${i.media}), ${P.buyBtn};
|
|
446
|
+
background-origin: border-box;
|
|
447
|
+
background-clip: padding-box, border-box;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* Selected also lifts; hover alone is just the ring. */
|
|
451
|
+
&[data-on] {
|
|
452
|
+
transform: scale(1.03);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
${c.media.maxWidth("mobile")} {
|
|
456
|
+
height: 83px;
|
|
457
|
+
gap: 6px;
|
|
458
|
+
/* A grid item defaults to min-width:auto, which would let the widest price push the tile out of
|
|
459
|
+
its track and back past the card edge — the shrinking the 1fr tracks above are there to allow. */
|
|
460
|
+
min-width: 0;
|
|
461
|
+
|
|
462
|
+
/* The grid gives every tile an identical box, so the lift only makes the selected one overlap its
|
|
463
|
+
gap and read as a size the design never gives it. The ring already says which is picked. */
|
|
464
|
+
&[data-on] {
|
|
465
|
+
transform: none;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
`,Yt=a.img`
|
|
469
|
+
width: 24px;
|
|
470
|
+
height: 26px;
|
|
471
|
+
flex: none;
|
|
472
|
+
`,_t=a.span`
|
|
473
|
+
font-size: 24px;
|
|
474
|
+
font-weight: 500;
|
|
475
|
+
color: ${i.text};
|
|
476
|
+
`,ea=a.span`
|
|
477
|
+
font-size: 14px;
|
|
478
|
+
color: ${i.text};
|
|
479
|
+
`,ta=a.div`
|
|
480
|
+
display: flex;
|
|
481
|
+
align-items: center;
|
|
482
|
+
justify-content: space-between;
|
|
483
|
+
border-top: 1px solid ${i.gray4};
|
|
484
|
+
padding-top: 12px;
|
|
485
|
+
`,aa=a.div`
|
|
486
|
+
display: flex;
|
|
487
|
+
align-items: center;
|
|
488
|
+
gap: 8px;
|
|
489
|
+
font-size: 24px;
|
|
490
|
+
font-weight: 700;
|
|
491
|
+
color: ${i.text};
|
|
492
|
+
`,na=a(S)`
|
|
493
|
+
width: 30px;
|
|
494
|
+
height: 30px;
|
|
495
|
+
background: ${i.text};
|
|
496
|
+
`,ia=a.span`
|
|
497
|
+
font-size: 14px;
|
|
498
|
+
font-weight: 600;
|
|
499
|
+
color: ${i.muted1};
|
|
500
|
+
`,ra=a.div`
|
|
501
|
+
position: sticky;
|
|
502
|
+
bottom: 0;
|
|
503
|
+
display: flex;
|
|
504
|
+
gap: 12px;
|
|
505
|
+
margin-top: -8px;
|
|
506
|
+
padding-top: 8px;
|
|
507
|
+
background: ${i.white};
|
|
508
|
+
|
|
509
|
+
/*
|
|
510
|
+
* data-stack — one CTA per row on a phone.
|
|
511
|
+
*
|
|
512
|
+
* OPT-IN rather than applied to every state, because it is only worth it where BOTH labels are long: on
|
|
513
|
+
* a 390px screen the purchase-complete pair wraps to "TRY IN / WORLD" beside "MY ITEMS", while the error
|
|
514
|
+
* states' CANCEL / TRY AGAIN still read fine side by side.
|
|
515
|
+
*
|
|
516
|
+
* column-REVERSE, so the primary sits on top without reordering the markup — which would move it off the
|
|
517
|
+
* right-hand side on desktop, where the secondary-then-primary reading order is what every other row in
|
|
518
|
+
* the flow uses.
|
|
519
|
+
*/
|
|
520
|
+
${c.media.maxWidth("mobile")} {
|
|
521
|
+
&[data-stack] {
|
|
522
|
+
flex-direction: column-reverse;
|
|
523
|
+
|
|
524
|
+
/*
|
|
525
|
+
* The row sizes its CTAs with flex: 1. In a column that basis applies to the HEIGHT, so it would
|
|
526
|
+
* override the 46px and collapse both buttons to their min-content. Hand the sizing back over.
|
|
527
|
+
*/
|
|
528
|
+
> * {
|
|
529
|
+
flex: none;
|
|
530
|
+
width: 100%;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
`,Ke=a.button`
|
|
535
|
+
flex: 1;
|
|
536
|
+
/* Let the CTAs shrink so their min-content can't widen the modal past the viewport on mobile. */
|
|
537
|
+
min-width: 0;
|
|
538
|
+
height: 46px;
|
|
539
|
+
border-radius: ${te.card};
|
|
540
|
+
border: 0;
|
|
541
|
+
cursor: pointer;
|
|
542
|
+
font-size: 15px;
|
|
543
|
+
font-weight: 600;
|
|
544
|
+
letter-spacing: 0.46px;
|
|
545
|
+
text-transform: uppercase;
|
|
546
|
+
display: inline-flex;
|
|
547
|
+
align-items: center;
|
|
548
|
+
justify-content: center;
|
|
549
|
+
gap: 8px;
|
|
550
|
+
|
|
551
|
+
&[data-full] {
|
|
552
|
+
width: 100%;
|
|
553
|
+
}
|
|
554
|
+
/* The design system's primary fill (Figma 738:53266 "BUY Button") — the same gradient the cart's
|
|
555
|
+
CHECKOUT carries, so the two ends of the buy flow match. */
|
|
556
|
+
&[data-variant='gradient'] {
|
|
557
|
+
background: ${P.buyBtn};
|
|
558
|
+
color: ${i.softWhite};
|
|
559
|
+
}
|
|
560
|
+
&[data-variant='gradient']:hover:not(:disabled),
|
|
561
|
+
&[data-variant='gradient']:active:not(:disabled) {
|
|
562
|
+
background-image: linear-gradient(${i.dclRed}, ${i.dclRed});
|
|
563
|
+
}
|
|
564
|
+
&[data-variant='outline'] {
|
|
565
|
+
background: transparent;
|
|
566
|
+
border: 0.5px solid ${i.text};
|
|
567
|
+
color: ${i.text2};
|
|
568
|
+
font-size: 13px;
|
|
569
|
+
}
|
|
570
|
+
/* Figma's outlined hover (738:53251), which on this light card is the readable half of the pair: the
|
|
571
|
+
white-fill hover the dark-field buttons take would be invisible here. Same treatment as the
|
|
572
|
+
drawer's dismissing CTA (CartPopover ctaCss) — the two sit in one flow. */
|
|
573
|
+
&[data-variant='outline']:hover:not(:disabled) {
|
|
574
|
+
background: ${i.text2};
|
|
575
|
+
color: ${i.softWhite};
|
|
576
|
+
}
|
|
577
|
+
&[data-variant='ruby'] {
|
|
578
|
+
background: ${i.dclRed};
|
|
579
|
+
color: ${i.softWhite};
|
|
580
|
+
font-size: 13px;
|
|
581
|
+
letter-spacing: 0.61px;
|
|
582
|
+
}
|
|
583
|
+
// Solid accent fill (the error state's "Try again").
|
|
584
|
+
&[data-variant='purple'] {
|
|
585
|
+
background: ${i.accent};
|
|
586
|
+
color: ${i.softWhite};
|
|
587
|
+
font-size: 13px;
|
|
588
|
+
}
|
|
589
|
+
&:hover:not(:disabled),
|
|
590
|
+
&[data-variant='purple']:hover:not(:disabled) {
|
|
591
|
+
background: ${i.accentHover};
|
|
592
|
+
}
|
|
593
|
+
&:disabled {
|
|
594
|
+
opacity: 0.6;
|
|
595
|
+
cursor: default;
|
|
596
|
+
}
|
|
597
|
+
`,oa=Ke.withComponent("a"),sa=a.img`
|
|
598
|
+
width: 61px;
|
|
599
|
+
height: 61px;
|
|
600
|
+
`,da=a.div`
|
|
601
|
+
display: flex;
|
|
602
|
+
flex-direction: column;
|
|
603
|
+
align-items: center;
|
|
604
|
+
gap: 16px;
|
|
605
|
+
background: rgba(255, 201, 213, 0.5);
|
|
606
|
+
border-radius: 16px;
|
|
607
|
+
padding: 24px 16px;
|
|
608
|
+
`,ca=a.img`
|
|
609
|
+
width: 64px;
|
|
610
|
+
height: 80px;
|
|
611
|
+
object-fit: contain;
|
|
612
|
+
`,la=a.p`
|
|
613
|
+
margin: 0;
|
|
614
|
+
text-align: center;
|
|
615
|
+
font-size: 20px;
|
|
616
|
+
line-height: 1.334;
|
|
617
|
+
font-weight: 400;
|
|
618
|
+
color: ${i.text2};
|
|
619
|
+
|
|
620
|
+
& b {
|
|
621
|
+
font-weight: 700;
|
|
622
|
+
}
|
|
623
|
+
`,pa=a.div`
|
|
624
|
+
font-size: 20px;
|
|
625
|
+
font-weight: 700;
|
|
626
|
+
color: ${i.text2};
|
|
627
|
+
text-align: center;
|
|
628
|
+
`,ha=a.div`
|
|
629
|
+
width: 100%;
|
|
630
|
+
max-width: 456px;
|
|
631
|
+
height: 12px;
|
|
632
|
+
background: ${i.media};
|
|
633
|
+
border-radius: 100px;
|
|
634
|
+
overflow: hidden;
|
|
635
|
+
`,ua=a.span`
|
|
636
|
+
display: block;
|
|
637
|
+
height: 100%;
|
|
638
|
+
width: 40%;
|
|
639
|
+
border-radius: 100px;
|
|
640
|
+
background: ${P.amethyst};
|
|
641
|
+
animation: buy-modal-progress 1.1s ease-in-out infinite;
|
|
642
|
+
|
|
643
|
+
@keyframes buy-modal-progress {
|
|
644
|
+
0% {
|
|
645
|
+
transform: translateX(-120%);
|
|
646
|
+
}
|
|
647
|
+
100% {
|
|
648
|
+
transform: translateX(320%);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
&[data-step] {
|
|
653
|
+
animation: none;
|
|
654
|
+
min-width: 12px;
|
|
655
|
+
transition: width 0.35s ease;
|
|
656
|
+
}
|
|
657
|
+
`,ga=a.div`
|
|
658
|
+
display: flex;
|
|
659
|
+
flex-direction: column;
|
|
660
|
+
align-items: center;
|
|
661
|
+
gap: 16px;
|
|
662
|
+
background: rgba(193, 238, 207, 0.5);
|
|
663
|
+
border-radius: 16px;
|
|
664
|
+
padding: 24px 16px;
|
|
665
|
+
|
|
666
|
+
&[data-wide] {
|
|
667
|
+
flex-direction: row;
|
|
668
|
+
align-items: center;
|
|
669
|
+
gap: 24px;
|
|
670
|
+
padding: 16px 24px;
|
|
671
|
+
}
|
|
672
|
+
@media (max-width: 600px) {
|
|
673
|
+
&[data-wide] {
|
|
674
|
+
flex-direction: column;
|
|
675
|
+
gap: 12px;
|
|
676
|
+
padding: 16px;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
`,fa=a.p`
|
|
680
|
+
margin: 0;
|
|
681
|
+
font-size: 20px;
|
|
682
|
+
line-height: 1.334;
|
|
683
|
+
color: ${i.text2};
|
|
684
|
+
text-align: center;
|
|
685
|
+
|
|
686
|
+
& b {
|
|
687
|
+
font-weight: 700;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
&[data-wide] {
|
|
691
|
+
text-align: left;
|
|
692
|
+
font-size: 18px;
|
|
693
|
+
}
|
|
694
|
+
@media (max-width: 600px) {
|
|
695
|
+
&[data-wide] {
|
|
696
|
+
text-align: center;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
`,{colors:F,media:j}=c,Ue=a.section`
|
|
700
|
+
margin-top: 40px;
|
|
701
|
+
`,Qe=a.div`
|
|
702
|
+
display: flex;
|
|
703
|
+
align-items: center;
|
|
704
|
+
justify-content: space-between;
|
|
705
|
+
margin-bottom: 20px;
|
|
706
|
+
`,Ge=a.h2`
|
|
707
|
+
font-size: 22px;
|
|
708
|
+
font-weight: 700;
|
|
709
|
+
color: ${F.softWhite};
|
|
710
|
+
`,Ze=a.button`
|
|
711
|
+
display: inline-flex;
|
|
712
|
+
align-items: center;
|
|
713
|
+
gap: 4px;
|
|
714
|
+
background: none;
|
|
715
|
+
border: 0;
|
|
716
|
+
padding: 0;
|
|
717
|
+
color: ${F.softWhite};
|
|
718
|
+
font-weight: 700;
|
|
719
|
+
font-size: 13px;
|
|
720
|
+
letter-spacing: 0.046em;
|
|
721
|
+
text-transform: uppercase;
|
|
722
|
+
cursor: pointer;
|
|
723
|
+
white-space: nowrap;
|
|
724
|
+
|
|
725
|
+
&:hover {
|
|
726
|
+
text-decoration: underline;
|
|
727
|
+
}
|
|
728
|
+
`,Je=a(K)`
|
|
729
|
+
transform: rotate(-90deg);
|
|
730
|
+
`,Ye=a.div`
|
|
731
|
+
position: relative;
|
|
732
|
+
`,q=a.button`
|
|
733
|
+
position: absolute;
|
|
734
|
+
top: 112px;
|
|
735
|
+
transform: translateY(-50%);
|
|
736
|
+
z-index: 5;
|
|
737
|
+
width: 53px;
|
|
738
|
+
height: 53px;
|
|
739
|
+
padding: 0;
|
|
740
|
+
border: 0;
|
|
741
|
+
background: transparent;
|
|
742
|
+
cursor: pointer;
|
|
743
|
+
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
|
|
744
|
+
transition:
|
|
745
|
+
transform 0.15s ease,
|
|
746
|
+
filter 0.15s ease,
|
|
747
|
+
opacity 0.15s ease;
|
|
748
|
+
|
|
749
|
+
& img {
|
|
750
|
+
display: block;
|
|
751
|
+
width: 100%;
|
|
752
|
+
height: 100%;
|
|
753
|
+
}
|
|
754
|
+
// Sit the arrows in the page gutter (aligned to the nav's 54px), not over the cards — at -40px their
|
|
755
|
+
// inner edge landed ~13px onto the first/last card.
|
|
756
|
+
&[data-side='left'] {
|
|
757
|
+
left: -53px;
|
|
758
|
+
}
|
|
759
|
+
&[data-side='right'] {
|
|
760
|
+
right: -53px;
|
|
761
|
+
}
|
|
762
|
+
&[data-side='left'] img {
|
|
763
|
+
transform: scaleX(-1);
|
|
764
|
+
}
|
|
765
|
+
&:hover:not(:disabled) {
|
|
766
|
+
transform: translateY(-50%) scale(1.07);
|
|
767
|
+
}
|
|
768
|
+
&:disabled {
|
|
769
|
+
opacity: 0;
|
|
770
|
+
pointer-events: none;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
@media (prefers-reduced-motion: reduce) {
|
|
774
|
+
transition: none;
|
|
775
|
+
}
|
|
776
|
+
${j.maxWidth("lg")} {
|
|
777
|
+
display: none;
|
|
778
|
+
}
|
|
779
|
+
`,_e=a.div`
|
|
780
|
+
display: grid;
|
|
781
|
+
grid-auto-flow: column;
|
|
782
|
+
grid-auto-columns: calc((100% - 64px) / 5);
|
|
783
|
+
gap: 16px;
|
|
784
|
+
overflow-x: auto;
|
|
785
|
+
overflow-y: hidden;
|
|
786
|
+
${ce};
|
|
787
|
+
scroll-snap-type: x mandatory;
|
|
788
|
+
scrollbar-width: none;
|
|
789
|
+
|
|
790
|
+
&::-webkit-scrollbar {
|
|
791
|
+
display: none;
|
|
792
|
+
}
|
|
793
|
+
& > * {
|
|
794
|
+
scroll-snap-align: start;
|
|
795
|
+
}
|
|
796
|
+
${j.maxWidth("xl")} {
|
|
797
|
+
grid-auto-columns: calc((100% - 48px) / 4);
|
|
798
|
+
}
|
|
799
|
+
${j.maxWidth("lg")} {
|
|
800
|
+
grid-auto-columns: calc((100% - 32px) / 3);
|
|
801
|
+
}
|
|
802
|
+
${j.maxWidth("sm")} {
|
|
803
|
+
grid-auto-columns: calc((100% - 16px) / 2);
|
|
804
|
+
}
|
|
805
|
+
`,et=a.div`
|
|
806
|
+
display: flex;
|
|
807
|
+
align-items: center;
|
|
808
|
+
justify-content: center;
|
|
809
|
+
gap: 8px;
|
|
810
|
+
margin-top: 18px;
|
|
811
|
+
`,tt=a.button`
|
|
812
|
+
width: 10px;
|
|
813
|
+
height: 10px;
|
|
814
|
+
border-radius: 50%;
|
|
815
|
+
border: 0;
|
|
816
|
+
padding: 0;
|
|
817
|
+
/* Figma "Carousel Dots" (verbatim): rgba(0,0,0,0.5) at rest, Brand/Orange active. */
|
|
818
|
+
background: rgba(0, 0, 0, 0.5);
|
|
819
|
+
cursor: pointer;
|
|
820
|
+
transition:
|
|
821
|
+
opacity 0.12s ease,
|
|
822
|
+
background 0.12s ease,
|
|
823
|
+
transform 0.12s ease;
|
|
824
|
+
|
|
825
|
+
&:hover {
|
|
826
|
+
opacity: 0.8;
|
|
827
|
+
}
|
|
828
|
+
&[data-active] {
|
|
829
|
+
background: ${F.media};
|
|
830
|
+
opacity: 1;
|
|
831
|
+
transform: scale(1.1);
|
|
832
|
+
}
|
|
833
|
+
`;function xa({title:t,items:e,onViewAll:n}){const o=C.useRef(null),[l,p]=C.useState(1),[g,u]=C.useState(0),[y,b]=C.useState(!0),[h,f]=C.useState(!1),m=C.useCallback(()=>{const x=o.current;if(!x)return;const{scrollLeft:d,scrollWidth:v,clientWidth:I}=x,V=Math.max(1,Math.ceil(v/I));p(V),u(Math.min(V-1,Math.round(d/I))),b(d<=1),f(d+I>=v-1)},[]);if(C.useEffect(()=>{m();const x=o.current;if(x)return x.addEventListener("scroll",m,{passive:!0}),window.addEventListener("resize",m),()=>{x.removeEventListener("scroll",m),window.removeEventListener("resize",m)}},[m,e.length]),e.length===0)return null;function r(x){const d=o.current;d&&d.scrollBy({left:x*d.clientWidth,behavior:"smooth"})}function w(x){const d=o.current;d&&d.scrollTo({left:x*d.clientWidth,behavior:"smooth"})}return s.jsxs(Ue,{"data-testid":"carousel",children:[s.jsxs(Qe,{children:[s.jsx(Ge,{children:t}),n?s.jsxs(Ze,{onClick:n,children:[k("collectionCarousel.viewAll"),s.jsx(Je,{name:"chevron-down",size:16})]}):null]}),s.jsxs(Ye,{children:[s.jsx(q,{"data-side":"left",onClick:()=>r(-1),"aria-label":k("collectionCarousel.scrollLeft"),disabled:y,children:s.jsx("img",{src:L,alt:"","aria-hidden":!0})}),s.jsx(_e,{ref:o,children:e.map(x=>s.jsx(le,{item:x},x.id))}),s.jsx(q,{"data-side":"right",onClick:()=>r(1),"aria-label":k("collectionCarousel.scrollRight"),disabled:h,children:s.jsx("img",{src:L,alt:"","aria-hidden":!0})})]}),l>1?s.jsx(et,{"aria-label":k("collectionCarousel.pages"),children:Array.from({length:l}).map((x,d)=>s.jsx(tt,{"data-active":d===g||void 0,"aria-label":k("collectionCarousel.goToPage",{page:d+1}),"aria-current":d===g?"true":void 0,onClick:()=>w(d)},d))}):null]})}export{wt as $,Lt as A,Nt as B,Wt as C,Yt as D,xt as E,_t as F,ea as G,Et as H,ta as I,aa as J,na as K,sa as L,zt as M,ia as N,bt as O,pa as P,ht as Q,xa as R,It as S,St as T,gt as U,pt as V,Ut as W,Bt as X,ut as Y,Mt as Z,Y as _,$t as a,Le as a0,Re as a1,ee as a2,ga as a3,fa as a4,oa as a5,yt as a6,vt as a7,kt as a8,Ct as a9,At as aa,Tt as b,Pt as c,Ft as d,Vt as e,Dt as f,da as g,ca as h,mt as i,la as j,ra as k,Ke as l,ft as m,ha as n,ua as o,jt as p,Qt as q,Gt as r,qt as s,Ht as t,Ot as u,Rt as v,Xt as w,Kt as x,Zt as y,Jt as z};
|
|
834
|
+
//# sourceMappingURL=CollectionCarousel-DjxDQdsi.js.map
|