@dcl/shop 1.8.0 → 1.8.1-32008909185.commit-2a37b14
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-DSCP3qVT.js → Activity-DgrlHUeM.js} +6 -6
- package/_assets/{AnimatedBackground-DI6E3R8h.js → AnimatedBackground-CmcDe6Jw.js} +2 -2
- package/_assets/{Assets-BoDVV5Un.js → Assets-C-Xz1Uru.js} +3 -3
- package/_assets/{Authorizations-DlT06os0.js → Authorizations-DW3Kihg1.js} +3 -3
- package/_assets/{Cart-98H8SEDi.js → Cart-D3FEOEFo.js} +2 -2
- package/_assets/{CircularProgress-CVMElXyN.js → CircularProgress-DwZ-WtmB.js} +2 -2
- package/_assets/{Collection-kp118x-L.js → Collection-CaubpEOP.js} +8 -8
- package/_assets/{CollectionCarousel-Bi0QxTqN.js → CollectionCarousel-DiibtNyL.js} +97 -97
- package/_assets/{Confetti-W3F-dgtT.js → Confetti-B3ae-TOD.js} +4 -4
- package/_assets/{ConstantsUtil-H5MzXw_a.js → ConstantsUtil-DLte7utN.js} +2 -2
- package/_assets/{ContentClient-CouwHQze.js → ContentClient-BaklVvU8.js} +2 -2
- package/_assets/{Creator-DuIxXv5-.js → Creator-DuILeiyu.js} +2 -2
- package/_assets/{DeploymentBuilder-RTPThLbC.js → DeploymentBuilder-Eh0hDhmv.js} +3 -3
- package/_assets/{EmotePlaybackBar-CwnUkIi2.js → EmotePlaybackBar-D6pW2L63.js} +3 -3
- package/_assets/{ErrorNotice-DInl_aPc.js → ErrorNotice-B20z7ZKJ.js} +2 -2
- package/_assets/{ExchangeController-BHhqTqpp.js → ExchangeController-DrmVoZ_M.js} +2 -2
- package/_assets/{Faq-CaLlq-Oz.js → Faq-D0sWC_bf.js} +2 -2
- package/_assets/{GetCredits-DrG2HYOY.js → GetCredits-BR44yJwR.js} +8 -8
- package/_assets/{Grow-BuawLV7j.js → Grow-BqwDEw5F.js} +2 -2
- package/_assets/{HelpersUtil-DxE7pdoJ.js → HelpersUtil-WHjsGWK5.js} +3 -3
- package/_assets/{ItemDetail-D1lNYrvj.js → ItemDetail-DPcas8qC.js} +219 -219
- package/_assets/{LoadMore-BLj9usRy.js → LoadMore-Cc9p10Fd.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-C5QyYWv_.js → ManaPricingBanner.styles-Dumah5ZL.js} +2 -2
- package/_assets/{MyAssets-BHHo-axx.js → MyAssets-CUqbIzOz.js} +2 -2
- package/_assets/{MyFavorites-qN6xot5-.js → MyFavorites-CEHEl8Ip.js} +3 -3
- package/_assets/{NetworkUtil-eeGGUC7p.js → NetworkUtil-6HpBot6Z.js} +2 -2
- package/_assets/{NotFound-CjS_h0nT.js → NotFound-C7KJaRWT.js} +2 -2
- package/_assets/{NotificationsBell-BxNn8kmF.js → NotificationsBell-CSBOtift.js} +13 -13
- package/_assets/{OutfitDetail-DcwkX_BA.js → OutfitDetail-DfIiJ70C.js} +2 -2
- package/_assets/OutfitPreview-xwYHzHe_.js +7 -0
- package/_assets/{OutfitStudio-Kg0wPrSp.js → OutfitStudio-FBYfk5tv.js} +2 -2
- package/_assets/{PhArrowCircleDown-DBmTctYK.js → PhArrowCircleDown-vJZVrJ42.js} +5 -5
- package/_assets/{PhArrowClockwise-ZWBqR1iF.js → PhArrowClockwise-BdoT04dp.js} +5 -5
- package/_assets/{PhArrowDown-WIeXIufM.js → PhArrowDown-CcGbWaQp.js} +5 -5
- package/_assets/{PhArrowLeft-DvlPA_kr.js → PhArrowLeft-B1wZcKN1.js} +2 -2
- package/_assets/{PhArrowRight-CcUcrmQK.js → PhArrowRight-CxxvhfEq.js} +3 -3
- package/_assets/{PhArrowSquareOut-eQSuZWr9.js → PhArrowSquareOut-C7VVJaUM.js} +4 -4
- package/_assets/{PhArrowUp-oNKVxFhx.js → PhArrowUp-ZLIFqDsg.js} +5 -5
- package/_assets/{PhArrowUpRight-mk1FSkK1.js → PhArrowUpRight-CASBOtJ6.js} +3 -3
- package/_assets/{PhArrowsClockwise-DvXb79Nq.js → PhArrowsClockwise-Cg_DKbkh.js} +4 -4
- package/_assets/{PhArrowsDownUp-fJXobkfl.js → PhArrowsDownUp-DcDTQ9Nq.js} +5 -5
- package/_assets/{PhArrowsLeftRight-DsRlafed.js → PhArrowsLeftRight-Cp6Duw59.js} +4 -4
- package/_assets/{PhBank-BxBmdtlc.js → PhBank-DaH1J2fm.js} +5 -5
- package/_assets/{PhBrowser-TbGdYALn.js → PhBrowser-CuEI8T8V.js} +3 -3
- package/_assets/PhCaretDown-C_h7B-wg.js +15 -0
- package/_assets/{PhCaretLeft-BkF0xuuP.js → PhCaretLeft-C6AiFDuB.js} +4 -4
- package/_assets/{PhCaretRight-cZcclogr.js → PhCaretRight-DfyFNdXD.js} +4 -4
- package/_assets/PhCaretUp-_p9r-ftN.js +15 -0
- package/_assets/{PhCheck-Dok-YRwJ.js → PhCheck-CR4ph65X.js} +3 -3
- package/_assets/{PhCircleHalf-C_G0Deju.js → PhCircleHalf-bf4_rQfM.js} +5 -5
- package/_assets/{PhClock-DxtyCCHN.js → PhClock-GAqyMVHL.js} +3 -3
- package/_assets/{PhCompass-Cr5Wk3ha.js → PhCompass-Bgio4FOk.js} +4 -4
- package/_assets/{PhCopy-DpSRSBDo.js → PhCopy-CIyquHtv.js} +5 -5
- package/_assets/{PhCreditCard-rQSlkLhU.js → PhCreditCard-BSXEWsER.js} +2 -2
- package/_assets/{PhCurrencyDollar-DSXfHZr-.js → PhCurrencyDollar-CqUojjE3.js} +4 -4
- package/_assets/{PhDesktop-B8t_jyeP.js → PhDesktop-BogmbwY2.js} +4 -4
- package/_assets/{PhDeviceMobile-CKMo2R-O.js → PhDeviceMobile-Dmvj5_IH.js} +5 -5
- package/_assets/{PhDotsThree-CBBnUUK5.js → PhDotsThree-BQIClXtD.js} +3 -3
- package/_assets/{PhEnvelope-B3Ot4kfs.js → PhEnvelope-BfJyEfUD.js} +3 -3
- package/_assets/{PhFunnelSimple-ST58vUHY.js → PhFunnelSimple-CGNzs6Mz.js} +4 -4
- package/_assets/{PhGlobe-B1QBE0Ic.js → PhGlobe-Cs0mC85b.js} +3 -3
- package/_assets/{PhIdentificationCard-CmHEoEuJ.js → PhIdentificationCard-BQUI9UIj.js} +2 -2
- package/_assets/{PhImage-BM2XMyb9.js → PhImage-mIqmB6rB.js} +5 -5
- package/_assets/{PhInfo-DfmzAoRe.js → PhInfo-Bq-uaME7.js} +4 -4
- package/_assets/{PhLightbulb-Dhfv4D4c.js → PhLightbulb-D4uDMi2O.js} +4 -4
- package/_assets/{PhMagnifyingGlass-Djq6rEa-.js → PhMagnifyingGlass-CzUCQ7HZ.js} +2 -2
- package/_assets/{PhPaperPlaneRight-d8LGOK8o.js → PhPaperPlaneRight-DFGlqosO.js} +2 -2
- package/_assets/{PhPlus-B6aOwiLq.js → PhPlus-DzP_I_Lh.js} +4 -4
- package/_assets/{PhPower-DAs5tvdn.js → PhPower-BU0zl-V8.js} +5 -5
- package/_assets/{PhPuzzlePiece-C5F9l0Xz.js → PhPuzzlePiece-B06cIo0S.js} +4 -4
- package/_assets/{PhQrCode-DjCH9MIj.js → PhQrCode-CO2vMeyK.js} +2 -2
- package/_assets/{PhQuestion-Bd3_nr1y.js → PhQuestion-CGnki4M2.js} +3 -3
- package/_assets/{PhQuestionMark-Chm0gISn.js → PhQuestionMark-VYuR2-QR.js} +5 -5
- package/_assets/{PhSealCheck-BighefRp.js → PhSealCheck-7OjMmNjK.js} +2 -2
- package/_assets/{PhSignOut-X3VDO26Z.js → PhSignOut-BTcF9VJt.js} +3 -3
- package/_assets/{PhSpinner-CMt3xHt0.js → PhSpinner-d4GybHgJ.js} +3 -3
- package/_assets/{PhTrash-CBxSNELa.js → PhTrash-Cs80GpfS.js} +2 -2
- package/_assets/{PhUser-zWIlEtkm.js → PhUser-CrV8vTcH.js} +3 -3
- package/_assets/{PhVault-B5GZzffa.js → PhVault-DXMjxe4B.js} +2 -2
- package/_assets/{PhWallet-D6uFkw0p.js → PhWallet-B1y2ir8X.js} +4 -4
- package/_assets/{PhWarning-C2cnWjQI.js → PhWarning-DiUh_2q2.js} +3 -3
- package/_assets/{PhWarningCircle-BN86yUC5.js → PhWarningCircle-DwMiptTF.js} +5 -5
- package/_assets/{PhX-D9xXQPUU.js → PhX-D10cz3zh.js} +5 -5
- package/_assets/{StoreSettings-BMhll_uY.js → StoreSettings-COrspO93.js} +2 -2
- package/_assets/{Success--EmgMp_h.js → Success-j28DgkFG.js} +31 -31
- package/_assets/{SwapController-DBYu3_GC.js → SwapController-B1FcuDLF.js} +2 -2
- package/_assets/{Tooltip-DRKOJG6M.js → Tooltip-DdArv_uM.js} +2 -2
- package/_assets/{TradeService-CMmg1hhm.js → TradeService-BTR2cMaG.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-BZDRIDaX.js → W3MFrameProviderSingleton-CoxZjEAW.js} +4 -4
- package/_assets/{WebCryptoP256-DngvQsIc.js → WebCryptoP256-DxQOFZ2a.js} +2 -2
- package/_assets/{add-CSXcCGk_.js → add-C6BISYDT.js} +2 -2
- package/_assets/{all-wallets-DqZYwMwo.js → all-wallets-xo-RBy44.js} +2 -2
- package/_assets/{app-store-BefptbeL.js → app-store-BkcDu50q.js} +3 -3
- package/_assets/{apple-Bfh__HiP.js → apple-pa1-mgQL.js} +3 -3
- package/_assets/{arrow-bottom-B24463bX.js → arrow-bottom-B2TV7ghp.js} +2 -2
- package/_assets/{arrow-bottom-circle-u1TPNWtr.js → arrow-bottom-circle-BTYP_ql9.js} +2 -2
- package/_assets/{arrow-left-BvEq2K0o.js → arrow-left-D8Zy5CGX.js} +3 -3
- package/_assets/{arrow-right-W2XAOWM7.js → arrow-right-PuYqHFou.js} +3 -3
- package/_assets/{arrow-top-nu1PUCK6.js → arrow-top-BdiVfpFf.js} +3 -3
- package/_assets/async-directive-BF5rCMgn.js +10 -0
- package/_assets/{authorizations-Bp29CgB8.js → authorizations-DfzPgCw6.js} +2 -2
- package/_assets/{bank-BBag9zS_.js → bank-h_csYWke.js} +2 -2
- package/_assets/{basic-D-nCiahk.js → basic-B66PJDKD.js} +2 -2
- package/_assets/{biconomy-ChcwZEzk.js → biconomy-lWr3p6So.js} +2 -2
- package/_assets/{browseLayout.styles-EyGWvLIQ.js → browseLayout.styles-D1CM9KmN.js} +8 -8
- package/_assets/{browser-CPTAYjan.js → browser-BBrR2BtI.js} +3 -3
- package/_assets/{browser-8yCVpLQu.js → browser-QqqD3TFw.js} +2 -2
- package/_assets/{browser-ponyfill-BmvHJGnt.js → browser-ponyfill-BnqlLDGI.js} +2 -2
- package/_assets/{builder-DSIPU3qH.js → builder-G0IBSqxp.js} +2 -2
- package/_assets/buy-05S3RUjW.js +2 -0
- package/_assets/{buy-gasless-BVf_EoZF.js → buy-gasless-4AFVVU-o.js} +2 -2
- package/_assets/{card-C81sr-3j.js → card-BBiBeHzu.js} +2 -2
- package/_assets/{ccip-C2v3VpEN.js → ccip-CbPzd1j4.js} +2 -2
- package/_assets/{ccip-tsmIe2rK.js → ccip-DQgM3TkB.js} +2 -2
- package/_assets/{chains-ZGrkcPp8.js → chains-Bc-1sDIe.js} +2 -2
- package/_assets/{checkmark-Bo-gp4Ll.js → checkmark-DGh2aL9_.js} +2 -2
- package/_assets/{checkmark-bold-CrqYbcSP.js → checkmark-bold-BWpmcvWa.js} +2 -2
- package/_assets/chevron-bottom-CKrN3wHT.js +9 -0
- package/_assets/{chevron-left-KdfBU_7V.js → chevron-left-BSMCiWRu.js} +3 -3
- package/_assets/chevron-right-NSTsMrfQ.js +9 -0
- package/_assets/chevron-top-BiVhyzKv.js +9 -0
- package/_assets/{chrome-store-DtnWFF8y.js → chrome-store-BQ9_RhUA.js} +2 -2
- package/_assets/{class-map-C1Xjz5Lx.js → class-map-DopF_Eyi.js} +2 -2
- package/_assets/{clock-Baa7165K.js → clock-D5AXnR4c.js} +3 -3
- package/_assets/{close-wDYvpJu8.js → close-vtnC_SRG.js} +2 -2
- package/_assets/{coinPlaceholder-De2q0FMg.js → coinPlaceholder-Bbk6i-Hs.js} +2 -2
- package/_assets/collectionPage.styles-8Xd8LOXB.js +40 -0
- package/_assets/common-CoiDeeGp.js +2 -0
- package/_assets/{compass-BP3lwd_h.js → compass-CHspogsk.js} +3 -3
- package/_assets/{controller-BxLT4wSK.js → controller-CJZl5LHE.js} +3 -3
- package/_assets/{copy-EHnRey4G.js → copy-QgJXjsdf.js} +2 -2
- package/_assets/{core-fYHKdQB7.js → core-D09turdV.js} +5 -5
- package/_assets/{createSvgIcon-DK7LeDz8.js → createSvgIcon-BEUqk9eO.js} +2 -2
- package/_assets/{cursor-BuTKrcda.js → cursor-CIvWVuwc.js} +3 -3
- package/_assets/{cursor-transparent-7tV62vAu.js → cursor-transparent-CMFKnbKD.js} +3 -3
- package/_assets/{custom-CNWBSH0Y.js → custom-DwDXGAmh.js} +2 -2
- package/_assets/{data-capture-BRE7a_Af.js → data-capture-BK9IxMGw.js} +2 -2
- package/_assets/{dcl-schemas--SOz4s6t.js → dcl-schemas-BYdQ7kkG.js} +2 -2
- package/_assets/decimals-C7G-vT4E.js +2 -0
- package/_assets/decimals-D2VRihn0.js +2 -0
- package/_assets/{desktop-wbkE-tMP.js → desktop-BQs8_lD6.js} +3 -3
- package/_assets/detectExtension-B8fRWnGZ.js +2 -0
- package/_assets/{disconnect-DR7Yq8KR.js → disconnect-CN9A3nDW.js} +3 -3
- package/_assets/{discord-BcAZXa5x.js → discord-BtZldxgt.js} +2 -2
- package/_assets/{disposePreview-BM0qOKtx.js → disposePreview-CbUHkWpm.js} +2 -2
- package/_assets/{email-BmAjF25r.js → email-CAnxXQlJ.js} +2 -2
- package/_assets/{embedded-wallet-CrYsPIo3.js → embedded-wallet-BSjZnUnZ.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-QAN7vOQx.js → emotion-styled.browser.esm-BzkAb7an.js} +2 -2
- package/_assets/{engine-Qfbe01DZ.js → engine-RQnHECpA.js} +2 -2
- package/_assets/{errors-Pkf3SgsD.js → errors-CF1vLLbk.js} +2 -2
- package/_assets/estimate-l1-fee-DQ6SPNVC.js +2 -0
- package/_assets/eth_estimateGas-DpOgUrDZ.js +2 -0
- package/_assets/eth_getStorageAt-DOWgijZV.js +2 -0
- package/_assets/eth_getTransactionCount-BdvoceEV.js +2 -0
- package/_assets/ethereum-D33Nzdgq.js +2 -0
- package/_assets/{ethers-BGK6CGbc.js → ethers-BdNwa1Wm.js} +2 -2
- package/_assets/{etherscan-DmDyp2wT.js → etherscan-DQsvLcA9.js} +2 -2
- package/_assets/{events-dtXWOsMC.js → events-C0i8BPHO.js} +2 -2
- package/_assets/{exclamation-triangle-COwloaAZ.js → exclamation-triangle-Cy7ZFMOM.js} +3 -3
- package/_assets/{execute-C8YYpwHp.js → execute-BKUd3699.js} +3 -3
- package/_assets/{extension-BXZVsCm9.js → extension-02r3DmNk.js} +2 -2
- package/_assets/external-link-CGMMz88J.js +9 -0
- package/_assets/extractIPFS-CdnqFjzP.js +2 -0
- package/_assets/{facebook-Ce3bxU5i.js → facebook-D9vyDeMs.js} +2 -2
- package/_assets/{farcaster-5HoyJqWe.js → farcaster-CUy-7jKk.js} +3 -3
- package/_assets/{features-CXUhxSHE.js → features-CICfS7ce.js} +2 -2
- package/_assets/{fetchTokenMetadata-D2sHJ20d.js → fetchTokenMetadata-DMUj_PU3.js} +3 -3
- package/_assets/{field.styles-lQKL7wnA.js → field.styles-ByoreJ6e.js} +2 -2
- package/_assets/{filters-B_7HUVyj.js → filters-BlIPZ-w_.js} +3 -3
- package/_assets/{fortmatic-VbcTaYCb.js → fortmatic-B3WbZBdq.js} +2 -2
- package/_assets/{get-bytecode-CHdK0jd1.js → get-bytecode-CVXftxLw.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-JCRnkv-x.js +2 -0
- package/_assets/{getBalance-Cc-ynq9O.js → getBalance-5XVNz5UG.js} +3 -3
- package/_assets/getInstalledModules-JjJgMC9w.js +2 -0
- package/_assets/getNFT-CbB7B8a6.js +2 -0
- package/_assets/{getNFT-quDZXBOG.js → getNFT-RdMraD-P.js} +3 -3
- package/_assets/{github-psRgdSRX.js → github-CAcAfKle.js} +3 -3
- package/_assets/{google-zz0wXA6h.js → google-CxMs1yY4.js} +3 -3
- package/_assets/{grid.styles-ZTmDzFjp.js → grid.styles-BCSbJf2V.js} +2 -2
- package/_assets/{hashTypedData-DtLk4Oqc.js → hashTypedData-BlC8laee.js} +2 -2
- package/_assets/{hashTypedData-Cw8rSdk5.js → hashTypedData-DZgWETiq.js} +2 -2
- package/_assets/{help-circle-CaVlHgtL.js → help-circle-D3pVuyNX.js} +2 -2
- package/_assets/{id-B-QQrIC1.js → id-EZmnUdnm.js} +2 -2
- package/_assets/{image-C2jmt9mb.js → image-D_jaNeLn.js} +2 -2
- package/_assets/{in-app-XuiUAS3s.js → in-app-BRAAeRTM.js} +2 -2
- package/_assets/in-app-wallet-calls-Dc-5RRsW.js +2 -0
- package/_assets/{index-B-AIFgeo.js → index-B0I39KHD.js} +4 -4
- package/_assets/{index-DiNnPlO5.js → index-B1V0IIpL.js} +4 -4
- package/_assets/{index-CmHFYeQW.js → index-B221RLCQ.js} +2 -2
- package/_assets/{index-GC1Q65VQ.js → index-B3dvKsvA.js} +2 -2
- package/_assets/{index-D7Vr2oVM.js → index-BB5QyTUX.js} +12 -12
- package/_assets/{index-CPvTZ3mm.js → index-BCtV7iMx.js} +2 -2
- package/_assets/{index-Ct4f_kk7.js → index-BHFcr_8h.js} +2 -2
- package/_assets/{index-D7qOh2Pb.js → index-BHOpSk6g.js} +2 -2
- package/_assets/{index-BmPDz-lq.js → index-BTeCKPso.js} +2 -2
- package/_assets/{index-BjbppcFc.js → index-BZ6gXdNc.js} +2 -2
- package/_assets/{index-7EHHt4dM.js → index-B_4kBaNj.js} +6 -6
- package/_assets/{index-CWaSn_Fb.js → index-BaaMrF_F.js} +2 -2
- package/_assets/{index-gEDrLFcO.js → index-BdKcORG_.js} +2 -2
- package/_assets/{index-DFae84bA.js → index-Bgdoe1SV.js} +2 -2
- package/_assets/{index-CGKgopQY.js → index-BvCx6uXB.js} +3 -3
- package/_assets/index-Bwd-Urke.js +20 -0
- package/_assets/{index-B6rGZKVV.js → index-BxkQVM9p.js} +9 -9
- package/_assets/{index-CTlXshC8.js → index-ByM-AaN-.js} +2 -2
- package/_assets/{index-CA2RKWQC.js → index-ByQB84w-.js} +3 -3
- package/_assets/{index-B6F_Rucm.js → index-BzqbXDG5.js} +2 -2
- package/_assets/{index-DWCrguT4.js → index-C7KvJ4Ap.js} +2 -2
- package/_assets/{index-Bp5YE3NX.js → index-CAUfIFBn.js} +3 -3
- package/_assets/{index-7gPoET6B.js → index-CCmAzfK6.js} +5 -5
- package/_assets/{index-Ja9_mxz7.js → index-CLIQcA_B.js} +4 -4
- package/_assets/{index-DJFSJQ6v.js → index-CPCZRJJ8.js} +4 -4
- package/_assets/{index-DHcc1n0K.js → index-CPoXLDvO.js} +2 -2
- package/_assets/{index-BXHRk0yG.js → index-CTJ1p-tQ.js} +4 -4
- package/_assets/index-CUqWQbl3.js +3 -0
- package/_assets/{index-DS0AiyWl.js → index-Cbl6ZT2O.js} +2 -2
- package/_assets/{index-XmZ_5wbk.js → index-CepgNdZH.js} +2 -2
- package/_assets/{index-C8V_2yLm.js → index-Ct0BdBBO.js} +13 -13
- package/_assets/{index-B-_i8PBE.js → index-Cy9CkVcr.js} +2 -2
- package/_assets/{index-pSNJtHsU.js → index-D3Dh_0Zu.js} +2 -2
- package/_assets/index-D6EPHIMW.js +31 -0
- package/_assets/{index-sLrcgF-e.js → index-DBQc-iYs.js} +3 -3
- package/_assets/{index-CTOwNiNy.js → index-DDTIp2Fe.js} +2 -2
- package/_assets/{index-Wa87Q05Z.js → index-DEnNYMqD.js} +16 -16
- package/_assets/{index-DKKtGhbW.js → index-DFnE6AYn.js} +2 -2
- package/_assets/{index-B2VG6Otl.js → index-DJHYbQts.js} +3 -3
- package/_assets/index-DJW-FshA.js +2 -0
- package/_assets/{index-X6c4Uv6E.js → index-DMB2CPJ7.js} +2 -2
- package/_assets/{index-DJY8bktM.js → index-DMCfd_3z.js} +2 -2
- package/_assets/{index-TQ31Dj9G.js → index-DRvBbHp6.js} +2 -2
- package/_assets/{index-Cp6zKIzb.js → index-DTxzI9aE.js} +4 -4
- package/_assets/{index-DevU24aH.js → index-DWvfMJOM.js} +2 -2
- package/_assets/{index-B0KcUDm0.js → index-DaYiKik0.js} +2 -2
- package/_assets/{index-C2if4RD2.js → index-DbsyCUOB.js} +5 -5
- package/_assets/{index-Cs9MFQFw.js → index-DcdtBsv_.js} +2 -2
- package/_assets/{index-DLpbip__.js → index-DevjersM.js} +2 -2
- package/_assets/{index-XX0RysAj.js → index-DgZ9k8XX.js} +6 -6
- package/_assets/{index-BzXbsAOr.js → index-Dnma3Mdc.js} +2 -2
- package/_assets/{index-B8X_PuAG.js → index-Dq5RuaHw.js} +2 -2
- package/_assets/{index-Cew2sd8o.js → index-Dqer7ekI.js} +2 -2
- package/_assets/{index-B4WtCx0a.js → index-Dqgu0_eL.js} +2 -2
- package/_assets/{index-Bfwb72mL.js → index-Dtwbwzea.js} +2 -2
- package/_assets/{index-DVG-jLyq.js → index-Dum6-n3F.js} +2 -2
- package/_assets/{index-GLWmYkx4.js → index-Dx0T2nxw.js} +2 -2
- package/_assets/{index-CHQz8mM1.js → index-H5mtH1us.js} +3 -3
- package/_assets/{index-DiwLErnV.js → index-Kl3m7Xng.js} +2 -2
- package/_assets/{index-BFbab9CT.js → index-T9Gl9ldl.js} +2 -2
- package/_assets/index-TplsDVol.js +2 -0
- package/_assets/{index-BeGu1OK5.js → index-WZavAsDC.js} +3 -3
- package/_assets/{index-BHP4R-KS.js → index-WypKdDUw.js} +4 -4
- package/_assets/{index-CXF1GvZf.js → index-aIHoE7f1.js} +2 -2
- package/_assets/{index-zxKYmTZp.js → index-hoaOmVWG.js} +6 -6
- package/_assets/{index-hcGr914s.js → index-n44WWiK0.js} +2 -2
- package/_assets/{index-BSiRCa0g.js → index-xbM2705M.js} +2 -2
- package/_assets/{index.es-DgIVXTLg.js → index.es-73zpw4Yy.js} +2 -2
- package/_assets/{index.es-DCk5s8aZ.js → index.es-CQDrgVpl.js} +2 -2
- package/_assets/{index.es-DXO6gTHr.js → index.es-DmUm_ysg.js} +2 -2
- package/_assets/{index.es-C5gwSK8p.js → index.es-hX0Zyq3m.js} +5 -5
- package/_assets/{info-OmyNm-OX.js → info-DnsR7NqF.js} +2 -2
- package/_assets/{info-circle-BXcv2mSp.js → info-circle-CYhLz303.js} +3 -3
- package/_assets/items-empty-CzPw_3VX.js +2 -0
- package/_assets/jsxRuntime.module-BdZCPzuh.js +2 -0
- package/_assets/jump-BkIR-oXx.js +2 -0
- package/_assets/{lightbulb-BhYYPKCa.js → lightbulb-CrV2ehUv.js} +3 -3
- package/_assets/linkAccount-KNtoz6aA.js +2 -0
- package/_assets/{localBatchGatewayRequest-BDIxXCol.js → localBatchGatewayRequest-DYf0W7l-.js} +2 -2
- package/_assets/{mail-BujAiJT_.js → mail-DCBuUzr3.js} +2 -2
- package/_assets/{mobile-DbqgdYYl.js → mobile-BaKd3Qnj.js} +2 -2
- package/_assets/{more-DW0Ubi-A.js → more-LgdfAy-0.js} +2 -2
- package/_assets/{native-Bz1HptbK.js → native-C4nePaT-.js} +2 -2
- package/_assets/{network-placeholder-9yKv-UCl.js → network-placeholder-DGOUzxhW.js} +2 -2
- package/_assets/{networks-Br0BLqPR.js → networks-exXmNRjb.js} +2 -2
- package/_assets/{nftPlaceholder-Dp7HrYOG.js → nftPlaceholder-DfAiM1YP.js} +3 -3
- package/_assets/{off-B06N3u5j.js → off-I_Bs0UMa.js} +2 -2
- package/_assets/{onramp-CuUrfCki.js → onramp-BfUpoh8G.js} +2 -2
- package/_assets/openzeppelin-BBFetUge.js +2 -0
- package/_assets/ownerOf-BG5P7ZnF.js +2 -0
- package/_assets/parseNft-Bn5wiTO3.js +3 -0
- package/_assets/{parseSignature-DyGLTNfl.js → parseSignature-DSGd6q0T.js} +4 -4
- package/_assets/{parseSignature-0MbHeBsG.js → parseSignature-Ui8Kn0-5.js} +2 -2
- package/_assets/{passkeys-DyqK36QT.js → passkeys-fHFX7ZTh.js} +2 -2
- package/_assets/{pay-with-exchange-Dwi8NtSl.js → pay-with-exchange-B6jKJcdx.js} +2 -2
- package/_assets/{play-store-CGV0O_Jz.js → play-store-Zdx677t2.js} +3 -3
- package/_assets/{plus-D8Do9lRK.js → plus-BpaXWvxm.js} +2 -2
- package/_assets/{prepare-contract-call-DSjIXieB.js → prepare-contract-call-RHFlvvVY.js} +2 -2
- package/_assets/{qr-code-CnvkPJlE.js → qr-code-Bc1ba80O.js} +3 -3
- package/_assets/{qr-overlay-CmEL3PEn.js → qr-overlay-BFXvNlAS.js} +4 -4
- package/_assets/{react-CPKOypa5.js → react-DrXI7vJR.js} +2 -2
- package/_assets/{receive-DsBylJty.js → receive-C_wcchez.js} +2 -2
- package/_assets/{recycle-horizontal-BUI1wFhc.js → recycle-horizontal-n6I99nC_.js} +3 -3
- package/_assets/{ref-LkxlwUph.js → ref-Uk7bJ2Ii.js} +2 -2
- package/_assets/{refresh-gWkM7TpU.js → refresh-DqnhFnmq.js} +2 -2
- package/_assets/{reown-logo-CpiN-NOh.js → reown-logo-BV-uLdVW.js} +3 -3
- package/_assets/{resolveImplementation-DbQfhb72.js → resolveImplementation-BLpU_89k.js} +2 -2
- package/_assets/{resume-buy-7yxAf7iG.js → resume-buy-GvBiIhRS.js} +2 -2
- package/_assets/{rpc-CPWgZb0d.js → rpc-5nIPHZPT.js} +2 -2
- package/_assets/{sales-empty-000uqg0s.js → sales-empty-Df7J1gIl.js} +2 -2
- package/_assets/{search-Wn0h8HYX.js → search-8HlgtNap.js} +2 -2
- package/_assets/{search-empty-h0zJ0pvu.js → search-empty-DCejy82l.js} +2 -2
- package/_assets/{secp256k1-CyDqUXh0.js → secp256k1-CqUHoMxc.js} +2 -2
- package/_assets/{secp256k1-CRcsJ61A.js → secp256k1-DLbaOuou.js} +2 -2
- package/_assets/{secp256k1-QdDJCZZ8.js → secp256k1-Dg1Bk89u.js} +2 -2
- package/_assets/{send-BbZytlP1.js → send-BHKhUGFX.js} +2 -2
- package/_assets/{send-YURKn6T0.js → send-DfVX23rc.js} +2 -2
- package/_assets/send-batch-transaction-mvSbUTWw.js +2 -0
- package/_assets/{send-eip712-transaction-DL0MdBtR.js → send-eip712-transaction-Yfrn4IE_.js} +3 -3
- package/_assets/send-gasless-transaction-IECvu2wV.js +3 -0
- package/_assets/send-transaction-D46R_9UE.js +3 -0
- package/_assets/{sendMetaTransaction-LMY2d53Q.js → sendMetaTransaction-Cky3anzd.js} +2 -2
- package/_assets/{sendRawTransaction-ZBmmYmyk.js → sendRawTransaction-CQTI70Ie.js} +4 -4
- package/_assets/{sentry-Dhl3FQKR.js → sentry-SqoaCfGs.js} +3 -3
- package/_assets/{serializeTransaction-BV8O5uLy.js → serializeTransaction-vCS8JhOY.js} +2 -2
- package/_assets/{session-proposal-xqSYsPIQ.js → session-proposal-Cc5vNWC6.js} +2 -2
- package/_assets/session-request-C_SwgN4D.js +3 -0
- package/_assets/{sha256-BOQDDqPA.js → sha256-ChfZ32Do.js} +2 -2
- package/_assets/{signing-CNpKg_vp.js → signing-CkFwiO56.js} +4 -4
- package/_assets/{skeleton.styles-Dtw6XMDS.js → skeleton.styles-Q8AD9FjQ.js} +2 -2
- package/_assets/{socials-D58ZHtqS.js → socials-BN7TsNqA.js} +2 -2
- package/_assets/{styled-BUVq9rPS.js → styled-DK05okY6.js} +2 -2
- package/_assets/{swapHorizontal-3Mejt9DE.js → swapHorizontal-CXfaNtti.js} +2 -2
- package/_assets/{swapHorizontalBold-DkYUmHIw.js → swapHorizontalBold-gpSWS3ym.js} +3 -3
- package/_assets/{swapHorizontalMedium-C-AChIRi.js → swapHorizontalMedium-YvybS1X0.js} +3 -3
- package/_assets/{swapHorizontalRoundedBold-BtKMBAIU.js → swapHorizontalRoundedBold-4mt2CKzr.js} +2 -2
- package/_assets/{swapVertical-drqnjZhx.js → swapVertical-D7tPfByp.js} +3 -3
- package/_assets/{swaps-xcPgt9Tf.js → swaps-D24FrgTc.js} +8 -8
- package/_assets/{telegram-B0zQ2xux.js → telegram-CZbPcX2g.js} +2 -2
- package/_assets/{thirdweb-4dN90LaI.js → thirdweb-tFd9HRr4.js} +4 -4
- package/_assets/{three-dots-CalKjIbH.js → three-dots-Cf1FPHh0.js} +2 -2
- package/_assets/{to-serializable-transaction-Bsbzt-I2.js → to-serializable-transaction-DA0W2RfI.js} +3 -3
- package/_assets/totalSupply-DJpw9_J8.js +2 -0
- package/_assets/{transaction-DKG_a6g-.js → transaction-BtG_MHVn.js} +2 -2
- package/_assets/transactionReceipt-8j05XYJp.js +2 -0
- package/_assets/transactions-DU2g2tYq.js +17 -0
- package/_assets/{twitch-DFJ9vbRU.js → twitch-DW3PgCNj.js} +3 -3
- package/_assets/{twitterIcon-PQaPXSEq.js → twitterIcon-CnG-gacS.js} +3 -3
- package/_assets/{useCreditPacks-BFMlIcuP.js → useCreditPacks-DosC6YO1.js} +2 -2
- package/_assets/{useInfiniteGrid-D4LyqgVq.js → useInfiniteGrid-BBK3oobh.js} +2 -2
- package/_assets/useStore-BfAHWs1J.js +3 -0
- package/_assets/{useTheme-By5MMSvI.js → useTheme-CaaF56wf.js} +2 -2
- package/_assets/{utils-C3caSBM-.js → utils-CIkjve2U.js} +2 -2
- package/_assets/{verify-BkXjhgFz.js → verify-BVFN0KHq.js} +3 -3
- package/_assets/{verify-filled-Bgl9j8Ps.js → verify-filled-CgBDmJEs.js} +3 -3
- package/_assets/{verifyHash-BEhRQ8gC.js → verifyHash-BEun742s.js} +2 -2
- package/_assets/{w3m-modal-BJSRAvV3.js → w3m-modal-BFi8c3V1.js} +2 -2
- package/_assets/{w3m-modal-9oohg6Nw.js → w3m-modal-DvEpLin2.js} +2 -2
- package/_assets/{wait-for-tx-receipt-BZg4176M.js → wait-for-tx-receipt-C3XcyqB7.js} +2 -2
- package/_assets/{wallet-h2At2yYW.js → wallet-FHuzmtut.js} +2 -2
- package/_assets/{wallet-placeholder-BAdAxbaS.js → wallet-placeholder-BaNh3suA.js} +3 -3
- package/_assets/{walletconnect-DGwNgL-R.js → walletconnect-SOaTuXVA.js} +2 -2
- package/_assets/{wallets-BgFKM5Un.js → wallets-CgZfCb74.js} +6 -6
- package/_assets/{warning-circle-BcDrWyl5.js → warning-circle-IYnfnelV.js} +2 -2
- package/_assets/{web-connector-13zKCG8W.js → web-connector-Cy97mzba.js} +4 -4
- package/_assets/{writeContract-BCrBUtwK.js → writeContract-Cx4Nny0J.js} +2 -2
- package/_assets/{x-DoyXusK-.js → x-C1-09R-N.js} +3 -3
- package/_assets/{zora-sepolia-BKmyGkTB.js → zora-sepolia-BU07mfI_.js} +2 -2
- package/_assets/{zoraTestnet-BYfzXpe9.js → zoraTestnet-Bv9txE7V.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/JumpInIcon-gwWkyigc.js +0 -2
- package/_assets/OutfitPreview-Dzwv8CZm.js +0 -7
- package/_assets/PhCaretDown-DjcNJ1zq.js +0 -15
- package/_assets/PhCaretUp-BTUuw_V5.js +0 -15
- package/_assets/async-directive--Ed0QLAK.js +0 -10
- package/_assets/buy-4aaQ0a-u.js +0 -2
- package/_assets/chevron-bottom-B7xC8zte.js +0 -9
- package/_assets/chevron-right-r7vxjQcl.js +0 -9
- package/_assets/chevron-top-B9aXAl0y.js +0 -9
- package/_assets/collectionPage.styles-x9Ys9-EJ.js +0 -40
- package/_assets/common-DbVrNU8d.js +0 -2
- package/_assets/decimals-BRIIwlS4.js +0 -2
- package/_assets/decimals-Cwkjreuy.js +0 -2
- package/_assets/detectExtension-D_bmEQsq.js +0 -2
- package/_assets/estimate-l1-fee-BhPYKs0i.js +0 -2
- package/_assets/eth_estimateGas-DJtpIKCF.js +0 -2
- package/_assets/eth_getStorageAt-BvVTVakd.js +0 -2
- package/_assets/eth_getTransactionCount-CTg3O9yy.js +0 -2
- package/_assets/ethereum-BHI7M48A.js +0 -2
- package/_assets/external-link-DY6qwfgd.js +0 -9
- package/_assets/extractIPFS-K2F3vQ0J.js +0 -2
- package/_assets/get-ecosystem-wallet-info-BTsiiXK0.js +0 -2
- package/_assets/getInstalledModules-CUmb37N4.js +0 -2
- package/_assets/getNFT-DrE5xjA6.js +0 -2
- package/_assets/in-app-wallet-calls-dlWnJrek.js +0 -2
- package/_assets/index-BGx3L_1D.js +0 -2
- package/_assets/index-C6eQqGHR.js +0 -2
- package/_assets/index-DNEXEMAx.js +0 -31
- package/_assets/index-yN1Hh4Se.js +0 -20
- package/_assets/index-ydLU_5Gn.js +0 -3
- package/_assets/items-empty-Ch7uK_cC.js +0 -2
- package/_assets/jsxRuntime.module-MtWsgs3K.js +0 -2
- package/_assets/linkAccount-tKw9D7Vs.js +0 -2
- package/_assets/openzeppelin-D-JFhdr0.js +0 -2
- package/_assets/ownerOf-BYoH6fJy.js +0 -2
- package/_assets/parseNft-SkdP6ZWl.js +0 -3
- package/_assets/send-batch-transaction-DlrF3ECN.js +0 -2
- package/_assets/send-gasless-transaction-Lit3VLzk.js +0 -3
- package/_assets/send-transaction-eG41zAfO.js +0 -3
- package/_assets/session-request-BcCCmadp.js +0 -3
- package/_assets/totalSupply-C8piMspG.js +0 -2
- package/_assets/transactionReceipt-Co69hre1.js +0 -2
- package/_assets/transactions-Cx163gKY.js +0 -17
- package/_assets/useStore-CUpQXMuK.js +0 -3
package/index.html
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
<link rel="canonical" href="https://decentraland.org/shop/" />
|
|
17
17
|
|
|
18
18
|
<!-- Favicon: the Decentraland mark (same as the marketplace). -->
|
|
19
|
-
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
20
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/dcl-mark.png" />
|
|
21
21
|
<meta name="apple-mobile-web-app-title" content="DCL Shop" />
|
|
22
|
-
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
22
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/site.webmanifest" />
|
|
23
23
|
|
|
24
24
|
<!-- Open Graph.
|
|
25
25
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<meta name="twitter:image:alt" content="Decentraland Shop — wearables and emotes for your avatar" />
|
|
59
59
|
|
|
60
60
|
<!-- Sitemap -->
|
|
61
|
-
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
61
|
+
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/sitemap.xml" />
|
|
62
62
|
|
|
63
63
|
<!-- Warm the 3D preview / fonts -->
|
|
64
64
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
<link rel="preconnect" href="https://wearable-preview.decentraland.org" />
|
|
71
71
|
<link rel="preconnect" href="https://peer.decentraland.zone" crossorigin />
|
|
72
72
|
<link rel="preconnect" href="https://peer.decentraland.org" crossorigin />
|
|
73
|
-
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
74
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
75
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
76
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
77
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
78
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
79
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.
|
|
73
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/_assets/index-BB5QyTUX.js"></script>
|
|
74
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/_assets/react-DrXI7vJR.js">
|
|
75
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/_assets/dcl-schemas-BYdQ7kkG.js">
|
|
76
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/_assets/sentry-SqoaCfGs.js">
|
|
77
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/_assets/ethers-BdNwa1Wm.js">
|
|
78
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/_assets/intl-AKLEHPeO.js">
|
|
79
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.8.1-32008909185.commit-2a37b14/_assets/index-l2QjlKjX.css">
|
|
80
80
|
</head>
|
|
81
81
|
<body>
|
|
82
82
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/shop",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.1-32008909185.commit-2a37b14",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/shop.git"
|
|
10
10
|
},
|
|
11
|
-
"commit": "
|
|
11
|
+
"commit": "2a37b14b0b8514f266c507738a41a9ca0f598144"
|
|
12
12
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./react-CPKOypa5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="b8d202dc-e54d-4bab-8cc7-519dd563fc9b",e._sentryDebugIdIdentifier="sentry-dbid-b8d202dc-e54d-4bab-8cc7-519dd563fc9b")}catch{}})();function n(e){return t.jsxs("svg",{viewBox:"0 0 32 32",width:"32",height:"32",fill:"none","aria-hidden":!0,...e,children:[t.jsx("rect",{width:"32.0012",height:"32.0012",rx:"8",fill:"#FF2D55"}),t.jsx("rect",{x:"1.2632",y:"1.2632",width:"29.4748",height:"29.4748",rx:"6.7368",stroke:"#FCFCFC",strokeOpacity:"0.5",strokeWidth:"2.52641"}),t.jsx("path",{d:"M27.3021 14.4254L19.4245 6.55186C18.0203 5.14831 15.657 6.14106 15.657 8.12658V10.7283C15.5885 10.7283 15.5543 10.7283 15.4858 10.7283H8.01351C6.74626 10.7283 5.71875 11.721 5.71875 12.9877V18.9784C5.71875 20.2451 6.74626 21.272 8.01351 21.272H15.4515C15.52 21.272 15.5543 21.272 15.6228 21.272V23.8738C15.6228 25.8593 18.0203 26.852 19.3903 25.4485L27.2678 17.5749C28.1583 16.6848 28.1583 15.2813 27.3021 14.4254Z",fill:"#FCFCFC"})]})}export{n as J};
|
|
2
|
-
//# sourceMappingURL=JumpInIcon-gwWkyigc.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{r as c,j as f}from"./react-CPKOypa5.js";import{d as m}from"./dcl-schemas--SOz4s6t.js";import{bk as S,l as T,s as _,ad as k,bl as q,bm as M,bn as U,b as W}from"./index-D7Vr2oVM.js";import{d as C}from"./disposePreview-BM0qOKtx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b6042bb9-6188-42ec-9bf2-605cb6ee0b9f",e._sentryDebugIdIdentifier="sentry-dbid-b6042bb9-6188-42ec-9bf2-605cb6ee0b9f")}catch{}})();function h(e){return e.startsWith("urn:")}function $(e,n){var o,d;const s=(o=e.metadata)==null?void 0:o.emoteDataADR74;if(!((d=s==null?void 0:s.representations)!=null&&d.length))return null;const a=new Map((e.content??[]).map(r=>[r.file,r.hash])),t=s.representations.map(r=>({...r,contents:(r.contents??[]).filter(l=>a.has(l)).map(l=>({key:l,url:`${n}/content/contents/${a.get(l)}`}))}));return t.every(r=>r.contents.length===0)?null:{base64:H({...e.metadata,emoteDataADR74:{...s,representations:t}}),loop:!!s.loop}}function H(e){return btoa(JSON.stringify(e).replace(/[^\x20-\x7f]/g,""))}async function J(e,n=S([e]),s){var a;try{const t=await fetch(`${n}/content/entities/active`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({pointers:[e]}),signal:s});if(!t.ok)return await((a=t.body)==null?void 0:a.cancel()),null;const[o]=await t.json();return o?$(o,n):null}catch{return null}}function K(e){var s,a;const n=T({queryKey:["emote-base64",e],enabled:!!e,staleTime:18e5,retry:!1,queryFn:({signal:t})=>J(e,void 0,t)});return{base64:((s=n.data)==null?void 0:s.base64)??null,loop:((a=n.data)==null?void 0:a.loop)??!1,isLoading:n.isLoading}}const Q=_.div`
|
|
2
|
-
position: absolute;
|
|
3
|
-
inset: 0;
|
|
4
|
-
display: grid;
|
|
5
|
-
place-items: center;
|
|
6
|
-
`;function X({id:e,profile:n,bodyShape:s,urns:a,emote:t=m.PreviewEmote.FASHION,enabled:o=!0,skin:d,hair:r,eyes:l,unityMode:E=m.PreviewUnityMode.BUILDER,controls:x,onRenderer:I}){const A=k(u=>u.fittingOpen),{ref:j,active:D}=q(),g=t&&h(t)?t:null,{base64:p,loop:O,isLoading:R}=K(g),i=o&&a.length>0&&D&&!A&&!R,B=M(a)===m.ChainName.MATIC_AMOY,[L,b]=c.useState(!1),P=a.join(",");c.useEffect(()=>{b(!1)},[P,n,s,t,d,r,l]),c.useEffect(()=>{i&&b(!1)},[i]);const[F,v]=c.useState(!1);c.useEffect(()=>{if(!i){v(!1);return}let u=0,N=0;const w=()=>{document.getElementById(e)?v(!0):N++<300&&(u=requestAnimationFrame(w))};return w(),()=>cancelAnimationFrame(u)},[i,e]);const y=c.useRef(null);return c.useEffect(()=>{if(i)return()=>{C(y.current),y.current=null}},[i]),f.jsxs(f.Fragment,{children:[f.jsx("div",{ref:j,"data-preview-viewport":!0,"aria-hidden":!0}),i?f.jsx(U,{id:e,profile:n,bodyShape:s,urns:a,skin:d,hair:r,eyes:l,type:m.PreviewType.AVATAR,emote:g?void 0:t&&!h(t)?t:void 0,base64s:p?[p]:void 0,disableDefaultEmotes:!!p&&!O,unityMode:E,disableBackground:!0,disableFadeEffect:!0,dev:B,onRenderer:I,onLoad:()=>{var u;b(!0),y.current=((u=document.getElementById(e))==null?void 0:u.contentWindow)??null}},n):null,F?x:null,o&&a.length===0?null:!i||!L?f.jsx(Q,{"aria-busy":"true","aria-label":W("spinner.loading"),children:f.jsx("span",{className:"spinner","aria-hidden":!0})}):null]})}export{X as O};
|
|
7
|
-
//# sourceMappingURL=OutfitPreview-Dzwv8CZm.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{n as h,Y as g,t as o,p as c,O as n,s as u}from"./property-CbgY9QKj.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]="b224590e-4e51-449a-9e05-a2cc4e55b627",e._sentryDebugIdIdentifier="sentry-dbid-b224590e-4e51-449a-9e05-a2cc4e55b627")}catch{}})();var y=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a=(e,r,i,s)=>{for(var l=s>1?void 0:s?f(r,i):r,d=e.length-1,p;d>=0;d--)(p=e[d])&&(l=(s?p(r,i,l):p(l))||l);return s&&l&&y(r,i,l),l};let t=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return g`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",o`<path d="M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"/>`],["light",o`<path d="M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"/>`],["regular",o`<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"/>`],["bold",o`<path d="M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"/>`],["fill",o`<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"/>`],["duotone",o`<path d="M208,96l-80,80L48,96Z" opacity="0.2"/><path d="M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"/>`]]);t.styles=c`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;a([n({type:String,reflect:!0})],t.prototype,"size",2);a([n({type:String,reflect:!0})],t.prototype,"weight",2);a([n({type:String,reflect:!0})],t.prototype,"color",2);a([n({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=a([u("ph-caret-down")],t);export{t as PhCaretDown};
|
|
15
|
-
//# sourceMappingURL=PhCaretDown-DjcNJ1zq.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{n as h,Y as f,t as s,p as g,O as d,s as u}from"./property-CbgY9QKj.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]="079dfd52-b6a3-4e77-8a11-efd1fa9ee846",e._sentryDebugIdIdentifier="sentry-dbid-079dfd52-b6a3-4e77-8a11-efd1fa9ee846")}catch{}})();var c=Object.defineProperty,y=Object.getOwnPropertyDescriptor,o=(e,r,l,i)=>{for(var a=i>1?void 0:i?y(r,l):r,n=e.length-1,p;n>=0;n--)(p=e[n])&&(a=(i?p(r,l,a):p(a))||a);return i&&a&&c(r,l,a),a};let t=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return f`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",s`<path d="M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z"/>`],["light",s`<path d="M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z"/>`],["regular",s`<path d="M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"/>`],["bold",s`<path d="M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z"/>`],["fill",s`<path d="M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z"/>`],["duotone",s`<path d="M208,160H48l80-80Z" opacity="0.2"/><path d="M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z"/>`]]);t.styles=g`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;o([d({type:String,reflect:!0})],t.prototype,"size",2);o([d({type:String,reflect:!0})],t.prototype,"weight",2);o([d({type:String,reflect:!0})],t.prototype,"color",2);o([d({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=o([u("ph-caret-up")],t);export{t as PhCaretUp};
|
|
15
|
-
//# sourceMappingURL=PhCaretUp-BTUuw_V5.js.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import"./lit-element-wjYUA6aF.js";import{i as c,t as _}from"./class-map-C1Xjz5Lx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ff745bfd-c1b4-438d-88cb-e9bce699b13e",e._sentryDebugIdIdentifier="sentry-dbid-ff745bfd-c1b4-438d-88cb-e9bce699b13e")}catch{}})();/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/const b=e=>e===null||typeof e!="object"&&typeof e!="function",h=e=>e.strings===void 0;/**
|
|
6
|
-
* @license
|
|
7
|
-
* Copyright 2017 Google LLC
|
|
8
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/const o=(e,t)=>{var n;const s=e._$AN;if(s===void 0)return!1;for(const i of s)(n=i._$AO)==null||n.call(i,t,!1),o(i,t);return!0},d=e=>{let t,s;do{if((t=e._$AM)===void 0)break;s=t._$AN,s.delete(e),e=t}while((s==null?void 0:s.size)===0)},f=e=>{for(let t;t=e._$AM;e=t){let s=t._$AN;if(s===void 0)t._$AN=s=new Set;else if(s.has(e))break;s.add(e),A(t)}};function $(e){this._$AN!==void 0?(d(this),this._$AM=e,f(this)):this._$AM=e}function l(e,t=!1,s=0){const n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let r=s;r<n.length;r++)o(n[r],!1),d(n[r]);else n!=null&&(o(n,!1),d(n));else o(this,e)}const A=e=>{e.type==_.CHILD&&(e._$AP??(e._$AP=l),e._$AQ??(e._$AQ=$))};class y extends c{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,s,n){super._$AT(t,s,n),f(this),this.isConnected=t._$AU}_$AO(t,s=!0){var n,i;t!==this.isConnected&&(this.isConnected=t,t?(n=this.reconnected)==null||n.call(this):(i=this.disconnected)==null||i.call(this)),s&&(o(this,t),d(this))}setValue(t){if(h(this._$Ct))this._$Ct._$AI(t,this);else{const s=[...this._$Ct._$AH];s[this._$Ci]=t,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}}export{y as f,b as n};
|
|
10
|
-
//# sourceMappingURL=async-directive--Ed0QLAK.js.map
|
package/_assets/buy-4aaQ0a-u.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as h,B as re}from"./dcl-schemas--SOz4s6t.js";import{o as ie,a$ as ce,h as oe,g as f,f as y,R as de,c as N,b0 as ue,$ as E,b1 as k}from"./index-D7Vr2oVM.js";import{e as le,c as fe,i as U,r as b,A as he,g as C,M as pe,m as L,j as ge,k as B,l as me}from"./authorizations-Bp29CgB8.js";import"./react-CPKOypa5.js";import{C as w,p as G,h as A,r as F,a as I,b as D,u as ye,B as m,I as O,J as xe}from"./ethers-BGK6CGbc.js";import{M as V,E as W,s as H}from"./sendMetaTransaction-LMY2d53Q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="adc384ff-726a-45df-a885-2695202789f5",e._sentryDebugIdIdentifier="sentry-dbid-adc384ff-726a-45df-a885-2695202789f5")}catch{}})();function we(e){var n;if(e.salts.length===0||!e.txHash)return;let t;try{t=(n=ie.getState().session)==null?void 0:n.identity}catch{return}t&&ce(t,e.salts,e.txHash).catch(s=>{oe(s,{flow:"report-submitted-tx"})})}const _=e=>Math.floor(e/1e3);async function Ae(e){return await de()&&await ue()?N.treasuryAddress:e}function T(e){switch(e.assetType){case h.TradeAssetType.ERC721:return e.tokenId;case h.TradeAssetType.COLLECTION_ITEM:return e.itemId;case h.TradeAssetType.ERC20:case h.TradeAssetType.USD_PEGGED_MANA:return e.amount;default:throw new Error(`Unsupported assetType ${String(e.assetType)}`)}}function $(e){return{checks:{uses:e.checks.uses,expiration:_(e.checks.expiration),effective:_(e.checks.effective),salt:I(e.checks.salt,32),contractSignatureIndex:e.checks.contractSignatureIndex,signerSignatureIndex:e.checks.signerSignatureIndex,allowedRoot:I(e.checks.allowedRoot||"0x",32),externalChecks:(e.checks.externalChecks??[]).map(t=>({contractAddress:t.contractAddress,selector:t.selector,value:t.value?t.value:"0x",required:t.required}))},sent:e.sent.map(t=>({assetType:t.assetType,contractAddress:t.contractAddress,value:T(t),extra:t.extra?t.extra:"0x"})),received:e.received.map(t=>({assetType:t.assetType,contractAddress:t.contractAddress,value:T(t),extra:t.extra?t.extra:"0x",beneficiary:t.beneficiary}))}}const q={Trade:[{name:"checks",type:"Checks"},{name:"sent",type:"AssetWithoutBeneficiary[]"},{name:"received",type:"Asset[]"}],Asset:[{name:"assetType",type:"uint256"},{name:"contractAddress",type:"address"},{name:"value",type:"uint256"},{name:"extra",type:"bytes"},{name:"beneficiary",type:"address"}],AssetWithoutBeneficiary:[{name:"assetType",type:"uint256"},{name:"contractAddress",type:"address"},{name:"value",type:"uint256"},{name:"extra",type:"bytes"}],Checks:[{name:"uses",type:"uint256"},{name:"expiration",type:"uint256"},{name:"effective",type:"uint256"},{name:"salt",type:"bytes32"},{name:"contractSignatureIndex",type:"uint256"},{name:"signerSignatureIndex",type:"uint256"},{name:"allowedRoot",type:"bytes32"},{name:"externalChecks",type:"ExternalCheck[]"}],ExternalCheck:[{name:"contractAddress",type:"address"},{name:"selector",type:"bytes4"},{name:"value",type:"bytes"},{name:"required",type:"bool"}]},z=["function contractSignatureIndex() view returns (uint256)","function signerSignatureIndex(address) view returns (uint256)"];function Y(e,t){const n=f(y.OffChainMarketplaceV2,t);return{kind:he.Minter,contractAddress:e,spenderAddress:n.address,chainId:t}}async function $e(e){const t=fe(e.contractAddress,e.chainId);await U({auth:t,signer:e.signer})}async function qe(e){const{signer:t,nft:n,usdPrice:s,expiresAtMs:a,fingerprint:i=""}=e,r=(await t.getAddress()).toLowerCase(),c=f(y.OffChainMarketplaceV2,n.chainId),o=f(y.MANAToken,n.chainId),d=new w(c.address,z,b()),u=await d.contractSignatureIndex(),l=await d.signerSignatureIndex(r),p={signer:r,network:n.network,chainId:n.chainId,type:h.TradeType.PUBLIC_NFT_ORDER,checks:{uses:1,expiration:a,effective:Date.now(),salt:A(F(32)),contractSignatureIndex:u.toNumber(),signerSignatureIndex:l.toNumber(),allowedRoot:"0x",externalChecks:[]},sent:[{assetType:h.TradeAssetType.ERC721,contractAddress:n.contractAddress,tokenId:n.tokenId,extra:i}],received:[{assetType:h.TradeAssetType.USD_PEGGED_MANA,contractAddress:o.address,amount:G(String(s)).toString(),extra:"",beneficiary:await Ae(r)}]},x={name:c.name,version:c.version,salt:I(A(n.chainId),32),verifyingContract:c.address},g=await t._signTypedData(x,q,$(p));return{...p,signature:g}}async function ze(e){return le(Y(e.contractAddress,e.chainId),"")}async function Ye(e){await U({auth:Y(e.contractAddress,e.chainId),signer:e.signer})}async function Ke(e){const{signer:t,item:n,usdPrice:s,expiresAtMs:a}=e,i=(await t.getAddress()).toLowerCase(),r=f(y.OffChainMarketplaceV2,n.chainId),c=f(y.MANAToken,n.chainId),o=new w(r.address,z,b()),d=await o.contractSignatureIndex(),u=await o.signerSignatureIndex(i),l=Math.max(1,Math.floor(e.uses??1)),p={signer:i,network:n.network,chainId:n.chainId,type:h.TradeType.PUBLIC_ITEM_ORDER,checks:{uses:l,expiration:a,effective:Date.now(),salt:A(F(32)),contractSignatureIndex:d.toNumber(),signerSignatureIndex:u.toNumber(),allowedRoot:"0x",externalChecks:[]},sent:[{assetType:h.TradeAssetType.COLLECTION_ITEM,contractAddress:n.contractAddress,itemId:n.itemId,extra:""}],received:[{assetType:h.TradeAssetType.USD_PEGGED_MANA,contractAddress:c.address,amount:G(String(s)).toString(),extra:"",beneficiary:i}]},x={name:r.name,version:r.version,salt:I(A(n.chainId),32),verifyingContract:r.address},g=await t._signTypedData(x,q,$(p));return{...p,signature:g}}const{defaultAbiCoder:K,Interface:S,hexZeroPad:v,hexlify:Ie,randomBytes:Te}=ye,ke="tuple(address collection,uint256[] ids,uint256[] prices,address[] beneficiaries)[]",be="tuple(address signer,bytes signature,tuple(uint256 uses,uint256 expiration,uint256 effective,bytes32 salt,uint256 contractSignatureIndex,uint256 signerSignatureIndex,bytes32 allowedRoot,bytes32[] allowedProof,tuple(address contractAddress,bytes4 selector,bytes value,bool required)[] externalChecks) checks,tuple(uint256 assetType,address contractAddress,uint256 value,address beneficiary,bytes extra)[] sent,tuple(uint256 assetType,address contractAddress,uint256 value,address beneficiary,bytes extra)[] received)[]",Z="0x"+"0".repeat(64),P=e=>{const t=Number(e);return t>1e12?Math.floor(t/1e3):t};function M(e,t){return{signer:e.signer,signature:e.signature,checks:{uses:e.checks.uses,expiration:P(e.checks.expiration),effective:P(e.checks.effective),salt:v(e.checks.salt,32),contractSignatureIndex:e.checks.contractSignatureIndex,signerSignatureIndex:e.checks.signerSignatureIndex,allowedRoot:e.checks.allowedRoot&&e.checks.allowedRoot!=="0x"?e.checks.allowedRoot:Z,allowedProof:[],externalChecks:(e.checks.externalChecks??[]).map(n=>({contractAddress:n.contractAddress,selector:n.selector,value:n.value,required:n.required}))},sent:e.sent.map(n=>({assetType:n.assetType,contractAddress:n.contractAddress,value:T(n),beneficiary:t,extra:n.extra||"0x"})),received:e.received.map(n=>({assetType:n.assetType,contractAddress:n.contractAddress,value:T(n),beneficiary:"beneficiary"in n&&n.beneficiary?n.beneficiary:t,extra:n.extra||"0x"}))}}function Ce(e,t,n){const s=new S(n).getSighash("accept"),a=K.encode([be],[e.map(i=>M(i,t))]);return{selector:s,data:a}}function R(e){if(e!==80002)return{};const t=D("30","gwei");return{maxPriorityFeePerGas:t,maxFeePerGas:t.add(D("50","gwei"))}}function ve(e){return e?e.startsWith("0x")?v(e,32):v("0x"+re.from(e).toString("hex"),32):Z}function Ee(e,t,n,s,a,i){const{selector:r,data:c}=Ce(n,s,t);return J({target:e,selector:r,data:c,credits:a,maxCreditedValue:i})}function j(e,t){return e.map(n=>({collection:n.collection,ids:[n.itemId],prices:[n.priceWei],beneficiaries:[t]}))}function Se(e,t,n){const s=new S(n).getSighash("buy"),a=K.encode([ke],[j(e,t)]);return{selector:s,data:a}}function Ze(e,t,n){return new S(n).encodeFunctionData("buy",[j(e,t)])}function Me(e,t,n,s,a,i){const{selector:r,data:c}=Se(n,s,t);return J({target:e,selector:r,data:c,credits:a,maxCreditedValue:i})}function J(e){const{target:t,selector:n,data:s,credits:a,maxCreditedValue:i}=e,r=a.reduce((o,d)=>o.add(m.from(d.availableAmount)),m.from(0)),c=m.from(i).sub(r);return{credits:a.map(o=>({value:o.amount,expiresAt:Number(o.expiresAt),salt:ve(o.id)})),creditsSignatures:a.map(o=>o.signature),externalCall:{target:t,selector:n,data:s,expiresAt:Math.floor(Date.now()/1e3)+3600*24,salt:Ie(Te(32))},customExternalCallSignature:"0x",maxUncreditedValue:c.isNegative()?"0":c.toString(),maxCreditedValue:i}}function X(e){const t=new Map;for(const n of Q(e)){const s=Re(n),a=t.get(s);if(n.kind==="store"){a&&a.kind==="store"?a.purchases.push(n):t.set(s,{kind:"store",chainId:n.chainId,purchases:[n]});continue}a&&a.kind==="trade"?a.purchases.push(n):t.set(s,{kind:"trade",chainId:n.trade.chainId,marketplace:n.trade.contract.toLowerCase(),purchases:[n]})}return[...t.values()]}function Re(e){return e.kind==="store"?`store:${e.chainId}`:`trade:${e.trade.chainId}:${e.trade.contract.toLowerCase()}`}function Q(e){return e.map(t=>"kind"in t?t:{kind:"trade",...t})}function De(e){return e.reduce((t,n)=>t.add(m.from(n.maxCreditedValue)),m.from(0)).toString()}function ee(e,t){const n=e.purchases.flatMap(r=>r.credits),s=De(e.purchases),a=n.map(r=>r.id);if(e.kind==="store"){const r=f(y.CollectionStore,e.chainId);return{args:Me(r.address,r.abi,e.purchases.map(c=>c.item),t,n,s),salts:a,chainId:e.chainId}}const i=f(k(e.marketplace),e.chainId);return{args:Ee(i.address,i.abi,e.purchases.map(r=>r.trade),t,n,s),salts:a,chainId:e.chainId}}async function _e(e){const t=e.received[0],n=t.amount??"0";if(t.assetType!==Number(h.TradeAssetType.USD_PEGGED_MANA))return n;const s=f(k(e.contract),e.chainId),a=new xe(N.rpcUrl),r=await new w(s.address,["function manaUsdAggregator() view returns (address)"],a).manaUsdAggregator(),c=new w(r,["function decimals() view returns (uint8)","function latestRoundData() view returns (uint80,int256,uint256,uint256,uint80)"],a),o=await c.decimals(),d=await c.latestRoundData(),u=m.from(d[1]);return m.from(n).mul(m.from(10).pow(o)).div(u).mul(102).div(100).toString()}async function te(e,t,n,s){const a=n.provider;await E(a,e);const i=f(y.CreditsManager,e),c=await new w(i.address,i.abi,n).useCredits(t,R(e));return s==null||s(c.hash),(await c.wait()).transactionHash}async function Pe(e,t,n,s){const a=f(k(e.contract),e.chainId),i=M(e,n),r=new O(a.abi).encodeFunctionData("cancelSignature",[[i]]),c=b(),o=L(t.provider,c),d=await H(o,c,r,a,{serverURL:C.relayerUrl});return s!=null&&s.isCancelled?await ge({txHash:d,what:"the listing cancellation",isDone:s.isCancelled,onWaiting:s.onWaiting}):await B(d,"the listing cancellation"),d}const ne=["function transferFrom(address from, address to, uint256 tokenId)"];async function Ne(e){const{contractAddress:t,chainId:n,from:s,to:a,tokenId:i,signer:r}=e,c={...f(y.ERC721CollectionV2,n),address:t},o=new O(ne).encodeFunctionData("transferFrom",[s,a,i]),d=b(),u=L(r.provider,d),l=await H(u,d,o,c,{serverURL:C.relayerUrl});return await B(l,"the transfer"),l}async function je(e){const{contractAddress:t,chainId:n,tokenId:s,to:a,signer:i}=e,r=(await i.getAddress()).toLowerCase();if(C.enabled)try{return await Ne({contractAddress:t,chainId:n,from:r,to:a,tokenId:s,signer:i})}catch(u){if(u instanceof V&&u.code===W.USER_DENIED||u instanceof me)throw u;console.warn("[transferItem] gasless meta-tx failed, falling back to a direct tx:",u)}return await E(i.provider,n),(await(await new w(t,ne,i).transferFrom(r,a,s,R(n))).wait()).transactionHash}class Ue extends Error{constructor(t){super("The gasless cancellation was not confirmed"),this.cause=t,this.name="GaslessCancelFailedError"}get definitive(){var t;return this.cause instanceof pe||((t=this.cause)==null?void 0:t.name)==="MetaTxRevertedError"}}async function Je(e){const{trade:t,signer:n,mode:s="auto",watch:a}=e,i=(await n.getAddress()).toLowerCase();if(C.enabled&&s!=="direct")try{return await Pe(t,n,i,a)}catch(l){if(l instanceof V&&l.code===W.USER_DENIED)throw l;if(console.warn("[cancelListing] gasless meta-tx failed:",l),s==="gasless-only")throw new Ue(l)}await E(n.provider,t.chainId);const r=f(k(t.contract),t.chainId),c=M(t,i);return(await(await new w(r.address,r.abi,n).cancelSignature([c],R(t.chainId))).wait()).transactionHash}async function Le(e){const{purchase:t,buyer:n,signer:s,onBroadcast:a,onReverted:i}=e;if(t.credits.length===0)throw new Error("No credits to spend");const{args:r,chainId:c}=ee(X([t])[0],n);try{return await te(c,r,s,o=>a==null?void 0:a({txHash:o}))}catch(o){throw ae(o)&&(i==null||i({txHash:Be(o)})),o}}async function Xe(e){const{trade:t,buyer:n,signer:s,credits:a,onBroadcast:i,onReverted:r}=e;if(a.length===0)throw new Error("No credits to spend");const c=e.maxCreditedValue??await _e(t);return Le({purchase:{kind:"trade",trade:t,credits:a,maxCreditedValue:c},buyer:n,signer:s,onBroadcast:i,onReverted:r})}function ae(e){var t;return((t=se(e))==null?void 0:t.status)===0}function Be(e){var t;return((t=se(e))==null?void 0:t.transactionHash)??null}function se(e){return e==null?void 0:e.receipt}async function Qe(e){const{buyer:t,signer:n,onSigned:s,onBroadcast:a,onSettled:i,onReverted:r}=e,c=Q(e.purchases);if(c.length===0)throw new Error("No items to buy");const o=X(c),d=[];for(const u of o){const{args:l,salts:p}=ee(u,t);let x;try{x=await te(u.chainId,l,n,g=>{s==null||s(d.length+1,o.length),a==null||a({txHash:g,salts:p}),we({txHash:g,salts:p})})}catch(g){throw ae(g)&&(r==null||r({salts:p})),g}d.push(x),i==null||i({txHash:x,salts:p})}return d}export{Ue as G,Ke as a,ee as b,Je as c,$e as d,Ye as e,qe as f,X as g,Qe as h,ze as i,ve as j,Le as k,M as l,R as m,Ze as n,j as o,Re as p,Xe as q,we as r,te as s,je as t};
|
|
2
|
-
//# sourceMappingURL=buy-4aaQ0a-u.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="07584f8a-6b2d-436c-86e9-08f9bc9fe3b8",e._sentryDebugIdIdentifier="sentry-dbid-07584f8a-6b2d-436c-86e9-08f9bc9fe3b8")}catch{}})();const r=d`<svg fill="none" viewBox="0 0 16 16">
|
|
2
|
-
<path
|
|
3
|
-
fill="currentColor"
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
d="M1.46 4.96a1 1 0 0 1 1.41 0L8 10.09l5.13-5.13a1 1 0 1 1 1.41 1.41l-5.83 5.84a1 1 0 0 1-1.42 0L1.46 6.37a1 1 0 0 1 0-1.41Z"
|
|
6
|
-
clip-rule="evenodd"
|
|
7
|
-
/>
|
|
8
|
-
</svg>`;export{r as chevronBottomSvg};
|
|
9
|
-
//# sourceMappingURL=chevron-bottom-B7xC8zte.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f8f3fa30-1eab-4705-9cf9-aac59485db80",e._sentryDebugIdIdentifier="sentry-dbid-f8f3fa30-1eab-4705-9cf9-aac59485db80")}catch{}})();const r=d`<svg fill="none" viewBox="0 0 16 16">
|
|
2
|
-
<path
|
|
3
|
-
fill="currentColor"
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
d="M4.96 14.54a1 1 0 0 1 0-1.41L10.09 8 4.96 2.87a1 1 0 0 1 1.41-1.41l5.84 5.83a1 1 0 0 1 0 1.42l-5.84 5.83a1 1 0 0 1-1.41 0Z"
|
|
6
|
-
clip-rule="evenodd"
|
|
7
|
-
/>
|
|
8
|
-
</svg>`;export{r as chevronRightSvg};
|
|
9
|
-
//# sourceMappingURL=chevron-right-r7vxjQcl.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="e1d234b7-07fd-48bf-849c-47d0c83b7d7d",e._sentryDebugIdIdentifier="sentry-dbid-e1d234b7-07fd-48bf-849c-47d0c83b7d7d")}catch{}})();const l=n`<svg fill="none" viewBox="0 0 16 16">
|
|
2
|
-
<path
|
|
3
|
-
fill="currentColor"
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
d="M14.54 11.04a1 1 0 0 1-1.41 0L8 5.92l-5.13 5.12a1 1 0 1 1-1.41-1.41l5.83-5.84a1 1 0 0 1 1.42 0l5.83 5.84a1 1 0 0 1 0 1.41Z"
|
|
6
|
-
clip-rule="evenodd"
|
|
7
|
-
/>
|
|
8
|
-
</svg>`;export{l as chevronTopSvg};
|
|
9
|
-
//# sourceMappingURL=chevron-top-B9aXAl0y.js.map
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import{s as t,t as s}from"./index-D7Vr2oVM.js";import"./react-CPKOypa5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c389b758-ad6a-4e9f-9ca3-5ffc7b3d33dd",e._sentryDebugIdIdentifier="sentry-dbid-c389b758-ad6a-4e9f-9ca3-5ffc7b3d33dd")}catch{}})();const i="https://cdn.decentraland.org/@dcl/shop/1.8.0/_assets/default-cover-7vUE644d.jpeg",{colors:o}=s,c=t.div`
|
|
2
|
-
max-width: 1721px;
|
|
3
|
-
margin: 0 auto;
|
|
4
|
-
`,l=t.nav`
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: 8px;
|
|
8
|
-
font-size: 13px;
|
|
9
|
-
color: ${o.gray4};
|
|
10
|
-
margin-bottom: 18px;
|
|
11
|
-
`,f=t.button`
|
|
12
|
-
background: none;
|
|
13
|
-
border: 0;
|
|
14
|
-
padding: 0;
|
|
15
|
-
color: ${o.gray4};
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
|
|
18
|
-
&:hover {
|
|
19
|
-
color: ${o.white};
|
|
20
|
-
}
|
|
21
|
-
`,g=t.span`
|
|
22
|
-
color: ${o.softWhite};
|
|
23
|
-
font-weight: 600;
|
|
24
|
-
`,p=t.div`
|
|
25
|
-
flex: none;
|
|
26
|
-
width: 265px;
|
|
27
|
-
|
|
28
|
-
${s.media.maxWidth("lg")} {
|
|
29
|
-
width: 100%;
|
|
30
|
-
}
|
|
31
|
-
`,b=t.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
min-height: 44px;
|
|
35
|
-
margin-bottom: 16px;
|
|
36
|
-
`,u=t.span`
|
|
37
|
-
color: ${o.softWhite};
|
|
38
|
-
font-weight: 600;
|
|
39
|
-
`;export{l as C,c as P,p as S,f as a,g as b,b as c,i as d,u as e};
|
|
40
|
-
//# sourceMappingURL=collectionPage.styles-x9Ys9-EJ.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as d}from"./utils-C3caSBM-.js";import"./sentry-Dhl3FQKR.js";import"./react-CPKOypa5.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="66c876c7-8436-4b67-a999-6a75453db892",n._sentryDebugIdIdentifier="sentry-dbid-66c876c7-8436-4b67-a999-6a75453db892")}catch{}})();async function o(n){const e=await d();if(!n.every(i=>e.includes(i.id)))throw new Error(`Insight is not available for chains ${n.filter(i=>!e.includes(i.id)).map(i=>i.id).join(", ")}`)}export{o as assertInsightEnabled};
|
|
2
|
-
//# sourceMappingURL=common-DbVrNU8d.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{w as c}from"./utils-C3caSBM-.js";import{d as r}from"./decimals-Cwkjreuy.js";import"./sentry-Dhl3FQKR.js";import"./react-CPKOypa5.js";import"./prepare-contract-call-DSjIXieB.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new d.Error().stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="9a53d6ce-77b9-4d15-a4bf-b842cdc54ddd",d._sentryDebugIdIdentifier="sentry-dbid-9a53d6ce-77b9-4d15-a4bf-b842cdc54ddd")}catch{}})();async function f(d){return c(()=>r(d),{cacheKey:`${d.contract.chain.id}:${d.contract.address}:decimals`,cacheTime:Number.POSITIVE_INFINITY})}export{f as decimals};
|
|
2
|
-
//# sourceMappingURL=decimals-BRIIwlS4.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as d}from"./prepare-contract-call-DSjIXieB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d26b0e0e-9650-4cdc-a64d-fdebba42c24e",e._sentryDebugIdIdentifier="sentry-dbid-d26b0e0e-9650-4cdc-a64d-fdebba42c24e")}catch{}})();const n="0x313ce567",c=[],r=[{type:"uint8"}];async function s(e){return d({contract:e.contract,method:[n,c,r],params:[]})}export{s as d};
|
|
2
|
-
//# sourceMappingURL=decimals-Cwkjreuy.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t}from"./prepare-contract-call-DSjIXieB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ab831fab-2263-4612-b1e5-3fddd829d646",e._sentryDebugIdIdentifier="sentry-dbid-ab831fab-2263-4612-b1e5-3fddd829d646")}catch{}})();function f(e){const d=Array.isArray(e.method)?e.method[0]:t(e.method);return e.availableSelectors.includes(d)}export{f as d};
|
|
2
|
-
//# sourceMappingURL=detectExtension-D_bmEQsq.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as o,t as s}from"./to-serializable-transaction-Bsbzt-I2.js";import{r as c}from"./prepare-contract-call-DSjIXieB.js";import{s as d}from"./signing-CNpKg_vp.js";import"./index-D7Vr2oVM.js";import"./react-CPKOypa5.js";import"./dcl-schemas--SOz4s6t.js";import"./sentry-Dhl3FQKR.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./transaction-DKG_a6g-.js";import"./utils-C3caSBM-.js";import"./get-bytecode-CHdK0jd1.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]="ae49adeb-2777-4fbd-8940-952cbc25da46",t._sentryDebugIdIdentifier="sentry-dbid-ae49adeb-2777-4fbd-8940-952cbc25da46")}catch{}})();const m="0x420000000000000000000000000000000000000F";async function P(t){const{transaction:e,gasPriceOracleAddress:r}=t,a=o({address:r||m,chain:e.chain,client:e.client}),{gasPrice:f,...i}=await s({transaction:e}),n=d({transaction:i});return c({contract:a,method:"function getL1Fee(bytes memory _data) view returns (uint256)",params:[n]})}export{P as estimateL1Fee};
|
|
2
|
-
//# sourceMappingURL=estimate-l1-fee-BhPYKs0i.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{h as s}from"./prepare-contract-call-DSjIXieB.js";import"./utils-C3caSBM-.js";import"./sentry-Dhl3FQKR.js";import"./react-CPKOypa5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bef1bbb8-e2ee-48e6-a30b-01f258d14796",e._sentryDebugIdIdentifier="sentry-dbid-bef1bbb8-e2ee-48e6-a30b-01f258d14796")}catch{}})();async function d(e,t){const n=await e({method:"eth_estimateGas",params:[t]});return s(n)}export{d as eth_estimateGas};
|
|
2
|
-
//# sourceMappingURL=eth_estimateGas-DJtpIKCF.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as d}from"./prepare-contract-call-DSjIXieB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4183e6b6-e62c-470f-b02d-6381f7713b61",e._sentryDebugIdIdentifier="sentry-dbid-4183e6b6-e62c-470f-b02d-6381f7713b61")}catch{}})();async function r(e,t){return await e({method:"eth_getStorageAt",params:[d(t.address),t.position,t.blockTag??"latest"]})}export{r as e};
|
|
2
|
-
//# sourceMappingURL=eth_getStorageAt-BvVTVakd.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{n as o,a as r}from"./prepare-contract-call-DSjIXieB.js";import"./utils-C3caSBM-.js";import"./sentry-Dhl3FQKR.js";import"./react-CPKOypa5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cfc66f0b-8c37-47e9-aaa6-3f25687a4b14",e._sentryDebugIdIdentifier="sentry-dbid-cfc66f0b-8c37-47e9-aaa6-3f25687a4b14")}catch{}})();async function f(e,n){const t=await e({method:"eth_getTransactionCount",params:[n.address,n.blockNumber?o(n.blockNumber):n.blockTag||"pending"]});return r(t)}export{f as eth_getTransactionCount};
|
|
2
|
-
//# sourceMappingURL=eth_getTransactionCount-CTg3O9yy.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as t}from"./utils-C3caSBM-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="40179bfe-1797-4a8c-9a2a-243e3b542c29",e._sentryDebugIdIdentifier="sentry-dbid-40179bfe-1797-4a8c-9a2a-243e3b542c29")}catch{}})();const r=t({blockExplorers:[{name:"Etherscan",url:"https://etherscan.io"}],id:1,name:"Ethereum",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),d=r;export{r as e,d as m};
|
|
2
|
-
//# sourceMappingURL=ethereum-BHI7M48A.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="789b2d64-5711-4f68-bd73-6af58f1cac3c",e._sentryDebugIdIdentifier="sentry-dbid-789b2d64-5711-4f68-bd73-6af58f1cac3c")}catch{}})();const l=n`<svg fill="none" viewBox="0 0 14 15">
|
|
2
|
-
<path
|
|
3
|
-
fill="currentColor"
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
d="M3.74 3.99a1 1 0 0 1 1-1H11a1 1 0 0 1 1 1v6.26a1 1 0 0 1-2 0V6.4l-6.3 6.3a1 1 0 0 1-1.4-1.42l6.29-6.3H4.74a1 1 0 0 1-1-1Z"
|
|
6
|
-
clip-rule="evenodd"
|
|
7
|
-
/>
|
|
8
|
-
</svg>`;export{l as externalLinkSvg};
|
|
9
|
-
//# sourceMappingURL=external-link-DY6qwfgd.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{f as N,H as T}from"./prepare-contract-call-DSjIXieB.js";import"./utils-C3caSBM-.js";import"./sentry-Dhl3FQKR.js";import"./react-CPKOypa5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="257193e7-9c2d-4243-ad3f-1203a3af438b",t._sentryDebugIdIdentifier="sentry-dbid-257193e7-9c2d-4243-ad3f-1203a3af438b")}catch{}})();const C="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",U=C.length,L=C.charAt(0),M=Math.log(256)/Math.log(U);function v(t){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length===0)return"";let r=0,i=0,n=0;const s=t.length;for(;n!==s&&t[n]===0;)n++,r++;const f=(s-n)*M+1>>>0,a=new Uint8Array(f);for(;n!==s;){let x=t[n]||0,h=0;for(let y=f-1;(x!==0||h<i)&&y!==-1;y--,h++)x+=256*(a[y]||0)>>>0,a[y]=x%U>>>0,x=x/U>>>0;if(x!==0)throw new Error("Non-zero carry");i=h,n++}let l=f-i;for(;l!==f&&a[l]===0;)l++;let u=L.repeat(r);for(;l<f;++l)u+=C.charAt(a[l]||0);return u}let o,E,e=0,D={},b,P;const k=0;let _=0,m,j,z;const O={mapsAsObjects:!0,useRecords:!1};function F(t){let r;if(t<16&&(r=$(t)))return r;if(t>64&&decoder)return decoder.decode(o.subarray(e,e+=t));const i=e+t,n=[];for(r="";e<i;){const s=o[e++];if((s&128)===0)n.push(s);else if((s&224)===192){const f=o[e++]&63;n.push((s&31)<<6|f)}else if((s&240)===224){const f=o[e++]&63,a=o[e++]&63;n.push((s&31)<<12|f<<6|a)}else if((s&248)===240){const f=o[e++]&63,a=o[e++]&63,l=o[e++]&63;let u=(s&7)<<18|f<<12|a<<6|l;u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u)}else n.push(s);n.length>=4096&&(r+=d.apply(String,n),n.length=0)}return n.length>0&&(r+=d.apply(String,n)),r}class I{constructor(){Object.assign(this,O)}decodeKey(r){return r}decode(r,i=-1){E=i>-1?i:r.length,e=0,_=0,P=null,m=null,o=r;try{z=r.dataView||(r.dataView=new DataView(r.buffer,r.byteOffset,r.byteLength))}catch(n){throw o=null,r instanceof Uint8Array?n:new Error(`Source must be a Uint8Array or Buffer but was a ${r&&typeof r=="object"?r.constructor.name:typeof r}`)}return this instanceof I?(D=this,this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),(!b||b.length>0)&&(b=[])):(D=O,(!b||b.length>0)&&(b=[])),H()}}function H(){try{const t=S();if(m){if(e>=m.postBundlePosition){const r=new Error("Unexpected bundle position");throw r.incomplete=!0,r}e=m.postBundlePosition,m=null}if(e===E)b=null,o=null,j&&(j=null);else if(e>E){const r=new Error("Unexpected end of CBOR data");throw r.incomplete=!0,r}else throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw q(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function S(){let t=o[e++];const r=t>>5;if(t=t&31,t>23)switch(t){case 24:t=o[e++];break;default:throw new Error(`Unknown token ${t}`)}switch(r){case 0:return t;case 1:return~t;case 2:return W(t);case 3:if(_>=e)return P.slice(e-k,(e+=t)-k);if(_===0&&E<140&&t<32){const i=t<16?$(t):K(t);if(i!==null)return i}return F(t);case 4:{const i=new Array(t);for(let n=0;n<t;n++)i[n]=S();return i}case 5:{const i={};for(let n=0;n<t;n++)i[J(S())]=S();return i}default:if(Number.isNaN(t)){const i=new Error("Unexpected end of CBOR data");throw i.incomplete=!0,i}throw new Error(`Unknown CBOR token ${t}`)}}function J(t){if(typeof t=="string")return t==="__proto__"?"__proto_":t;if(typeof t!="object")return t.toString();throw new Error(`Invalid property name type ${typeof t}`)}const d=String.fromCharCode;function K(t){const r=e,i=new Array(t);for(let n=0;n<t;n++){const s=o[e++];if((s&128)>0){e=r;return}i[n]=s}return d.apply(String,i)}function $(t){if(t<4){if(t<2){if(t===0)return"";const V=o[e++];if((V&128)>1){e-=1;return}return d(V)}const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=2;return}if(t<3)return d(c,p);const w=o[e++];if((w&128)>0){e-=3;return}return d(c,p,w)}const r=o[e++],i=o[e++],n=o[e++],s=o[e++];if((r&128)>0||(i&128)>0||(n&128)>0||(s&128)>0){e-=4;return}if(t<6){if(t===4)return d(r,i,n,s);const c=o[e++];if((c&128)>0){e-=5;return}return d(r,i,n,s,c)}if(t<8){const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=6;return}if(t<7)return d(r,i,n,s,c,p);const w=o[e++];if((w&128)>0){e-=7;return}return d(r,i,n,s,c,p,w)}const f=o[e++],a=o[e++],l=o[e++],u=o[e++];if((f&128)>0||(a&128)>0||(l&128)>0||(u&128)>0){e-=8;return}if(t<10){if(t===8)return d(r,i,n,s,f,a,l,u);const c=o[e++];if((c&128)>0){e-=9;return}return d(r,i,n,s,f,a,l,u,c)}if(t<12){const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=10;return}if(t<11)return d(r,i,n,s,f,a,l,u,c,p);const w=o[e++];if((w&128)>0){e-=11;return}return d(r,i,n,s,f,a,l,u,c,p,w)}const x=o[e++],h=o[e++],y=o[e++],g=o[e++];if((x&128)>0||(h&128)>0||(y&128)>0||(g&128)>0){e-=12;return}if(t<14){if(t===12)return d(r,i,n,s,f,a,l,u,x,h,y,g);const c=o[e++];if((c&128)>0){e-=13;return}return d(r,i,n,s,f,a,l,u,x,h,y,g,c)}const A=o[e++],B=o[e++];if((A&128)>0||(B&128)>0){e-=14;return}if(t<15)return d(r,i,n,s,f,a,l,u,x,h,y,g,A,B);const R=o[e++];if((R&128)>0){e-=15;return}return d(r,i,n,s,f,a,l,u,x,h,y,g,A,B,R)}function W(t){return D.copyBuffers?Uint8Array.prototype.slice.call(o,e,e+=t):o.subarray(e,e+=t)}function q(){o=null,j=null,b=null}const G=new Array(147);for(let t=0;t<256;t++)G[t]=+`1e${Math.floor(45.15-t*.30103)}`;const Q=new I,X=Q.decode;function Y(t){return N(t,{strict:!1})?t:`0x${t}`}function nt(t){const r=T(Y(t)),i=r[r.length-2]*256+r[r.length-1],n=r.length-2-i;if(n<0||n>r.length)return;const s=r.slice(n,-2),f=X(s);if("ipfs"in f)return`ipfs://${v(f.ipfs)}`}export{nt as extractIPFSUri};
|
|
2
|
-
//# sourceMappingURL=extractIPFS-K2F3vQ0J.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as l}from"./execute-C8YYpwHp.js";import"./prepare-contract-call-DSjIXieB.js";import"./utils-C3caSBM-.js";import"./sentry-Dhl3FQKR.js";import"./react-CPKOypa5.js";import"./index-D7Vr2oVM.js";import"./dcl-schemas--SOz4s6t.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./detectExtension-D_bmEQsq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="978a90de-da6e-4ea4-98be-fff400be2bc1",e._sentryDebugIdIdentifier="sentry-dbid-978a90de-da6e-4ea4-98be-fff400be2bc1")}catch{}})();async function b(e){const n=await l(e);return{app:{android:null,browser:null,chrome:null,edge:null,firefox:null,ios:null,linux:null,mac:null,opera:null,safari:null,windows:null},desktop:{native:null,universal:null},homepage:n.homepage||"",id:e,image_id:n.imageUrl||"",mobile:{native:null,universal:null},name:n.name,rdns:null}}export{b as getEcosystemWalletInfo};
|
|
2
|
-
//# sourceMappingURL=get-ecosystem-wallet-info-BTsiiXK0.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as r,r as a}from"./prepare-contract-call-DSjIXieB.js";import{d as c}from"./detectExtension-D_bmEQsq.js";import"./utils-C3caSBM-.js";import"./sentry-Dhl3FQKR.js";import"./react-CPKOypa5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0875c01d-e994-4067-8cb7-f065bbdcf9c8",e._sentryDebugIdIdentifier="sentry-dbid-0875c01d-e994-4067-8cb7-f065bbdcf9c8")}catch{}})();const o="0x3e429396",s=[],t=[{components:[{name:"implementation",type:"address"},{components:[{name:"registerInstallationCallback",type:"bool"},{name:"requiredInterfaces",type:"bytes4[]"},{name:"supportedInterfaces",type:"bytes4[]"},{components:[{name:"selector",type:"bytes4"}],name:"callbackFunctions",type:"tuple[]"},{components:[{name:"selector",type:"bytes4"},{name:"permissionBits",type:"uint256"}],name:"fallbackFunctions",type:"tuple[]"}],name:"config",type:"tuple"}],type:"tuple[]"}];function y(e){return c({availableSelectors:e,method:[o,s,t]})}function f(e){return r(t,e)[0]}async function b(e){return a({contract:e.contract,method:[o,s,t],params:[]})}export{o as FN_SELECTOR,f as decodeGetInstalledModulesResult,b as getInstalledModules,y as isGetInstalledModulesSupported};
|
|
2
|
-
//# sourceMappingURL=getInstalledModules-CUmb37N4.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as c}from"./thirdweb-4dN90LaI.js";import{f as o}from"./fetchTokenMetadata-D2sHJ20d.js";import{parseNFT as i}from"./parseNft-SkdP6ZWl.js";import{totalSupply as d}from"./totalSupply-C8piMspG.js";import{r as m}from"./prepare-contract-call-DSjIXieB.js";import"./utils-C3caSBM-.js";import"./sentry-Dhl3FQKR.js";import"./react-CPKOypa5.js";import"./signing-CNpKg_vp.js";import"./index-D7Vr2oVM.js";import"./dcl-schemas--SOz4s6t.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./to-serializable-transaction-Bsbzt-I2.js";import"./transaction-DKG_a6g-.js";import"./get-bytecode-CHdK0jd1.js";import"./wait-for-tx-receipt-BZg4176M.js";import"./transactionReceipt-Co69hre1.js";import"./sleep-fBr8OToA.js";import"./eth_estimateGas-DJtpIKCF.js";import"./eth_getStorageAt-BvVTVakd.js";import"./eth_getTransactionCount-CTg3O9yy.js";import"./eth_sendRawTransaction-DYAsy3sS.js";import"./decimals-BRIIwlS4.js";import"./decimals-Cwkjreuy.js";import"./zora-sepolia-BKmyGkTB.js";import"./send-batch-transaction-DlrF3ECN.js";import"./send-transaction-eG41zAfO.js";import"./uint8-array-BMe04WIx.js";import"./detectExtension-D_bmEQsq.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="1457ab17-5a12-4eba-9b11-0f39a45e87f6",t._sentryDebugIdIdentifier="sentry-dbid-1457ab17-5a12-4eba-9b11-0f39a45e87f6")}catch{}})();const u="0x0e89341c",f=[{name:"tokenId",type:"uint256"}],p=[{type:"string"}];async function I(t){return m({contract:t.contract,method:[u,f,p],params:[t.tokenId]})}async function H(t){const{useIndexer:r=!0}=t;if(r)try{return await s(t)}catch{return await e(t)}return await e(t)}async function s(t){const r=await c({chain:t.contract.chain,client:t.contract.client,contractAddress:t.contract.address,tokenId:t.tokenId});return r||e(t)}async function e(t){const[r,n]=await Promise.all([I({contract:t.contract,tokenId:t.tokenId}),d({contract:t.contract,id:t.tokenId}).catch(()=>0n)]);return i(await o({client:t.contract.client,tokenId:t.tokenId,tokenUri:r}).then(a=>a||{id:t.tokenId,type:"ERC1155",uri:r}).catch(()=>({id:t.tokenId,type:"ERC1155",uri:r})),{chainId:t.contract.chain.id,owner:null,supply:n,tokenAddress:t.contract.address,tokenId:t.tokenId,tokenUri:r,type:"ERC1155"})}export{H as getNFT};
|
|
2
|
-
//# sourceMappingURL=getNFT-DrE5xjA6.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{e as p}from"./wait-for-tx-receipt-BZg4176M.js";import{c as m}from"./prepare-contract-call-DSjIXieB.js";import{s as b,a as h}from"./send-batch-transaction-DlrF3ECN.js";import{L as f}from"./utils-C3caSBM-.js";import{r as g}from"./execute-C8YYpwHp.js";import"./transactionReceipt-Co69hre1.js";import"./to-serializable-transaction-Bsbzt-I2.js";import"./index-D7Vr2oVM.js";import"./react-CPKOypa5.js";import"./dcl-schemas--SOz4s6t.js";import"./sentry-Dhl3FQKR.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./transaction-DKG_a6g-.js";import"./sleep-fBr8OToA.js";import"./send-transaction-eG41zAfO.js";import"./detectExtension-D_bmEQsq.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="b335cec1-a884-48c0-b45a-eb2c7f837c3b",s._sentryDebugIdIdentifier="sentry-dbid-b335cec1-a884-48c0-b45a-eb2c7f837c3b")}catch{}})();const u=new f(1e3);async function R(s){const{account:a,calls:r}=s,e=r.map(o=>({...o,chain:s.chain})),n=[],c=g(65);if(u.set(c,n),a.sendBatchTransaction){const o=await b({account:a,transactions:e});n.push(o.transactionHash),u.set(c,n)}else for(const o of e){const d=await h({account:a,transaction:o});n.push(d.transactionHash),u.set(c,n)}return c}async function W(s){const{chain:a,client:r,id:e}=s,n=u.get(e);if(!n)throw new Error("Failed to get calls status, unknown bundle id");const c=m({chain:a,client:r});let o="success";const d=await Promise.all(n.map(l=>p(c,{hash:l}).then(t=>({blockHash:t.blockHash,blockNumber:t.blockNumber,gasUsed:t.gasUsed,logs:t.logs.map(i=>({address:i.address,data:i.data,topics:i.topics})),status:t.status,transactionHash:t.transactionHash})).catch(()=>(o="pending",null))));return{atomic:!1,chainId:a.id,id:e,receipts:d.filter(l=>l!==null),status:o,statusCode:200,version:"2.0.0"}}async function $(s){const{chain:a,client:r,id:e}=s,n=u.get(e);if(!n)throw new Error("Failed to get calls status, unknown bundle id");const c=m({chain:a,client:r});let o=200;const d=[];for(const l of n)try{const t=await p(c,{hash:l});d.push({blockHash:t.blockHash,blockNumber:`0x${t.blockNumber.toString(16)}`,gasUsed:`0x${t.gasUsed.toString(16)}`,logs:t.logs.map(i=>({address:i.address,data:i.data,topics:i.topics})),status:t.status==="success"?"0x1":"0x0",transactionHash:t.transactionHash})}catch{o=100}return{atomic:!1,chainId:`0x${a.id.toString(16)}`,id:e,receipts:d,status:o,version:"2.0.0"}}export{W as inAppWalletGetCallsStatus,$ as inAppWalletGetCallsStatusRaw,R as inAppWalletSendCalls};
|
|
2
|
-
//# sourceMappingURL=in-app-wallet-calls-dlWnJrek.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./react-CPKOypa5.js";import{r as i}from"./index-DHcc1n0K.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]="fc926eed-22aa-4f51-9ee7-738213e9b894",e._sentryDebugIdIdentifier="sentry-dbid-fc926eed-22aa-4f51-9ee7-738213e9b894")}catch{}})();function s(e,r){for(var o=0;o<r.length;o++){const t=r[o];if(typeof t!="string"&&!Array.isArray(t)){for(const n in t)if(n!=="default"&&!(n in e)){const f=Object.getOwnPropertyDescriptor(t,n);f&&Object.defineProperty(e,n,f.get?f:{enumerable:!0,get:()=>t[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var d=i();const u=s({__proto__:null},[d]);export{u as i};
|
|
2
|
-
//# sourceMappingURL=index-BGx3L_1D.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as r}from"./react-CPKOypa5.js";import{r as f}from"./index-BSiRCa0g.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="211b2fa9-7a26-4ae0-9162-bfbf6a8f9b4f",e._sentryDebugIdIdentifier="sentry-dbid-211b2fa9-7a26-4ae0-9162-bfbf6a8f9b4f")}catch{}})();var n=f();const b=r(n);export{b as E};
|
|
2
|
-
//# sourceMappingURL=index-C6eQqGHR.js.map
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{i as c,b as h}from"./lit-element-wjYUA6aF.js";import{n as f}from"./class-map-C1Xjz5Lx.js";import{c as l}from"./index-C8V_2yLm.js";import{d as m}from"./index-BHP4R-KS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dc708068-cd7c-43c7-9632-9f3fb0de3e51",e._sentryDebugIdIdentifier="sentry-dbid-dc708068-cd7c-43c7-9632-9f3fb0de3e51")}catch{}})();const p=m`
|
|
2
|
-
:host {
|
|
3
|
-
display: block;
|
|
4
|
-
background: linear-gradient(
|
|
5
|
-
90deg,
|
|
6
|
-
${({tokens:e})=>e.theme.foregroundPrimary} 0%,
|
|
7
|
-
${({tokens:e})=>e.theme.foregroundSecondary} 50%,
|
|
8
|
-
${({tokens:e})=>e.theme.foregroundPrimary} 100%
|
|
9
|
-
);
|
|
10
|
-
background-size: 200% 100%;
|
|
11
|
-
animation: shimmer 2s linear infinite;
|
|
12
|
-
border-radius: ${({borderRadius:e})=>e[1]};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:host([data-rounded='true']) {
|
|
16
|
-
border-radius: ${({borderRadius:e})=>e[16]};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@keyframes shimmer {
|
|
20
|
-
0% {
|
|
21
|
-
background-position: 100% 0;
|
|
22
|
-
}
|
|
23
|
-
100% {
|
|
24
|
-
background-position: -100% 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
`;var d=function(e,t,i,n){var s=arguments.length,r=s<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(u=e[a])&&(r=(s<3?u(r):s>3?u(t,i,r):u(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r};let o=class extends c{constructor(){super(...arguments),this.width="",this.height="",this.variant="default",this.rounded=!1}render(){return this.style.cssText=`
|
|
28
|
-
width: ${this.width};
|
|
29
|
-
height: ${this.height};
|
|
30
|
-
`,this.dataset.rounded=this.rounded?"true":"false",h`<slot></slot>`}};o.styles=[p];d([f()],o.prototype,"width",void 0);d([f()],o.prototype,"height",void 0);d([f()],o.prototype,"variant",void 0);d([f({type:Boolean})],o.prototype,"rounded",void 0);o=d([l("wui-shimmer")],o);
|
|
31
|
-
//# sourceMappingURL=index-DNEXEMAx.js.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import{a as f,i as b,b as p}from"./lit-element-wjYUA6aF.js";import{n as d,o as c}from"./class-map-C1Xjz5Lx.js";import{c as m}from"./index-C8V_2yLm.js";import{r as y}from"./index-BHP4R-KS.js";import"./index-D7qOh2Pb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9fedba33-3bd6-4e1e-b105-e464db105c7a",e._sentryDebugIdIdentifier="sentry-dbid-9fedba33-3bd6-4e1e-b105-e464db105c7a")}catch{}})();const h=f`
|
|
2
|
-
:host {
|
|
3
|
-
position: relative;
|
|
4
|
-
display: inline-block;
|
|
5
|
-
width: 100%;
|
|
6
|
-
}
|
|
7
|
-
`;var n=function(e,t,o,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,o):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,o,s);else for(var u=e.length-1;u>=0;u--)(l=e[u])&&(r=(a<3?l(r):a>3?l(t,o,r):l(t,o))||r);return a>3&&r&&Object.defineProperty(t,o,r),r};let i=class extends b{constructor(){super(...arguments),this.disabled=!1}render(){return p`
|
|
8
|
-
<wui-input-text
|
|
9
|
-
type="email"
|
|
10
|
-
placeholder="Email"
|
|
11
|
-
icon="mail"
|
|
12
|
-
size="lg"
|
|
13
|
-
.disabled=${this.disabled}
|
|
14
|
-
.value=${this.value}
|
|
15
|
-
data-testid="wui-email-input"
|
|
16
|
-
tabIdx=${c(this.tabIdx)}
|
|
17
|
-
></wui-input-text>
|
|
18
|
-
${this.templateError()}
|
|
19
|
-
`}templateError(){return this.errorMessage?p`<wui-text variant="sm-regular" color="error">${this.errorMessage}</wui-text>`:null}};i.styles=[y,h];n([d()],i.prototype,"errorMessage",void 0);n([d({type:Boolean})],i.prototype,"disabled",void 0);n([d()],i.prototype,"value",void 0);n([d()],i.prototype,"tabIdx",void 0);i=n([m("wui-email-input")],i);
|
|
20
|
-
//# sourceMappingURL=index-yN1Hh4Se.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/decimals-BRIIwlS4.js","_assets/utils-C3caSBM-.js","_assets/sentry-Dhl3FQKR.js","_assets/react-CPKOypa5.js","_assets/decimals-Cwkjreuy.js","_assets/prepare-contract-call-DSjIXieB.js","_assets/signing-CNpKg_vp.js","_assets/index-D7Vr2oVM.js","_assets/dcl-schemas--SOz4s6t.js","_assets/ethers-BGK6CGbc.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/to-serializable-transaction-Bsbzt-I2.js","_assets/transaction-DKG_a6g-.js","_assets/get-bytecode-CHdK0jd1.js","_assets/in-app-wallet-calls-dlWnJrek.js","_assets/wait-for-tx-receipt-BZg4176M.js","_assets/transactionReceipt-Co69hre1.js","_assets/sleep-fBr8OToA.js","_assets/send-batch-transaction-DlrF3ECN.js","_assets/send-transaction-eG41zAfO.js","_assets/execute-C8YYpwHp.js","_assets/detectExtension-D_bmEQsq.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as T}from"./index-D7Vr2oVM.js";import{t as V,i as ct,a as ot}from"./transaction-DKG_a6g-.js";import{e as dt,i as pt,a as F}from"./utils-C3caSBM-.js";import{f as mt,h as q,e as $,i as ut,g as L,j as yt,t as lt}from"./to-serializable-transaction-Bsbzt-I2.js";import{r as C,a5 as B,w as E,S as O,G as x,s as z,h as _,l as D,H as ft,k as wt,e as At,T as gt,g as K}from"./prepare-contract-call-DSjIXieB.js";import{o as j,r as Gt}from"./execute-C8YYpwHp.js";import{Z,a as Y,p as Q,m as ht,b as Tt,d as J,e as Pt}from"./signing-CNpKg_vp.js";import{t as vt,p as Lt,s as Dt}from"./send-eip712-transaction-DL0MdBtR.js";import{s as Ot}from"./send-transaction-eG41zAfO.js";import{p as xt}from"./linkAccount-tKw9D7Vs.js";import{g as X,E as S,h as St,a as k,b as Ct,c as _t,d as Et,e as b,D as tt,f as at,i as Ft,j as Vt,k as bt,l as It}from"./index-DiNnPlO5.js";import{M as Ae}from"./wallets-BgFKM5Un.js";import"./react-CPKOypa5.js";import"./dcl-schemas--SOz4s6t.js";import"./sentry-Dhl3FQKR.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./detectExtension-D_bmEQsq.js";import"./get-bytecode-CHdK0jd1.js";import"./eth_sendRawTransaction-DYAsy3sS.js";import"./sha256-BOQDDqPA.js";import"./ethereum-BHI7M48A.js";import"./types-BeDU9GfL.js";import"./store-80QKZ2rN.js";import"./hashTypedData-Cw8rSdk5.js";import"./index-CGKgopQY.js";import"./events-dtXWOsMC.js";import"./index-B6F_Rucm.js";import"./index-DJY8bktM.js";import"./index-OpYIGLSa.js";import"./index-B4WtCx0a.js";import"./index-DiwLErnV.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]="ca9ab606-e121-42a0-8cfd-69a3670010b7",t._sentryDebugIdIdentifier="sentry-dbid-ca9ab606-e121-42a0-8cfd-69a3670010b7")}catch{}})();const Ut="0xdd62ed3e",Rt=[{name:"owner",type:"address"},{name:"spender",type:"address"}],Nt=[{type:"uint256"}];async function $t(t){return C({contract:t.contract,method:[Ut,Rt,Nt],params:[t.owner,t.spender]})}const kt="0x095ea7b3",Ht=[{name:"spender",type:"address"},{name:"value",type:"uint256"}],Mt=[{type:"bool"}];function Wt(t){const e=j(async()=>"asyncParams"in t?await t.asyncParams():t);return B({accessList:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.accessList},authorizationList:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.authorizationList},contract:t.contract,erc20Value:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.erc20Value},extraGas:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.extraGas},gas:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.gas},gasPrice:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.gasPrice},maxFeePerGas:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.maxFeePerGas},maxPriorityFeePerGas:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.maxPriorityFeePerGas},method:[kt,Ht,Mt],nonce:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.nonce},params:async()=>{const a=await e();return[a.spender,a.value]},value:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.value}})}function qt(t){return Wt({asyncParams:async()=>{let e;if("amount"in t){const{decimals:a}=await T(async()=>{const{decimals:r}=await import("./decimals-BRIIwlS4.js");return{decimals:r}},__vite__mapDeps([0,1,2,3,4,5])),i=await a(t).catch(()=>18);e=mt(t.amount.toString(),i)}else e=t.amountWei;return{overrides:{erc20Value:{amountWei:e,tokenAddress:t.contract.address},...t.overrides},spender:t.spender,value:e}},contract:t.contract})}const Bt="0xf15d424e",zt=[{name:"signer",type:"address"}],Kt=[{components:[{name:"signer",type:"address"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"startTimestamp",type:"uint128"},{name:"endTimestamp",type:"uint128"}],name:"permissions",type:"tuple"}];async function jt(t){return C({contract:t.contract,method:[Bt,zt,Kt],params:[t.signer]})}const Zt="0x5892e236",Yt=[{components:[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],name:"req",type:"tuple"},{name:"signature",type:"bytes"}],Qt=[];function Jt(t){const e=j(async()=>"asyncParams"in t?await t.asyncParams():t);return B({accessList:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.accessList},authorizationList:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.authorizationList},contract:t.contract,erc20Value:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.erc20Value},extraGas:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.extraGas},gas:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.gas},gasPrice:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.gasPrice},maxFeePerGas:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.maxFeePerGas},maxPriorityFeePerGas:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.maxPriorityFeePerGas},method:[Zt,Yt,Qt],nonce:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.nonce},params:async()=>{const a=await e();return[a.req,a.signature]},value:async()=>{var a;return(a=(await e()).overrides)==null?void 0:a.value}})}function W(){return new Date(Date.now()+1e3*60*60*24*365*10)}function U(t){return vt(Math.floor(t.getTime()/1e3))}const Xt=[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}];async function ta(t){const{account:e,contract:a,req:i}=t,r=await e.signTypedData({domain:{chainId:a.chain.id,name:"Account",verifyingContract:a.address,version:"1"},message:i,primaryType:"SignerPermissionRequest",types:{SignerPermissionRequest:Xt}});return{req:i,signature:r}}async function aa(t){var i;const{target:e,permissions:a}=t;return{approvedTargets:a.approvedTargets==="*"?[Z]:a.approvedTargets,isAdmin:0,nativeTokenLimitPerTransaction:q(((i=a.nativeTokenLimitPerTransaction)==null?void 0:i.toString())||"0"),permissionEndTimestamp:U(a.permissionEndTimestamp||W()),permissionStartTimestamp:U(a.permissionStartTimestamp||new Date(0)),reqValidityEndTimestamp:U(W()),reqValidityStartTimestamp:0n,signer:e,uid:await Gt()}}function ea(t){const{contract:e,sessionKeyAddress:a,account:i,permissions:r}=t;return Jt({async asyncParams(){const{req:n,signature:c}=await ta({account:i,contract:e,req:await aa({permissions:r,target:a})});return{req:n,signature:c}},contract:e})}async function sa(t){var c;const{accountContract:e,sessionKeyAddress:a,newPermissions:i}=t;if(!await Y(e))return!0;const n=await jt({contract:e,signer:a});return!!(n.endTimestamp&&n.endTimestamp<Math.floor(Date.now()/1e3)||!na(n.approvedTargets,i.approvedTargets)||q(((c=i.nativeTokenLimitPerTransaction)==null?void 0:c.toString())??"0")>n.nativeTokenLimitPerTransaction)}function na(t,e){return e==="*"&&t.length===1&&t[0]===Z?!0:e!=="*"?e.map(a=>a.toLowerCase()).every(a=>t.map(i=>i.toLowerCase()).includes(a)):!1}const ra=2n**96n-1n,ia="0x35567e1a",ca=[{name:"sender",type:"address"},{name:"key",type:"uint192"}],oa=[{name:"nonce",type:"uint256"}];async function da(t){return C({contract:t.contract,method:[ia,ca,oa],params:[t.sender,t.key]})}const pa="0xa6193531",ma=[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],ua=[{type:"bytes32"}];async function ya(t){return C({contract:t.contract,method:[pa,ma,ua],params:[t.userOp]})}const la="0x22cdde4c",fa=[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"accountGasLimits",type:"bytes32"},{name:"preVerificationGas",type:"uint256"},{name:"gasFees",type:"bytes32"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],wa=[{type:"bytes32"}];async function Aa(t){return C({contract:t.contract,method:[la,fa,wa],params:[t.userOp]})}function ga(t){return t.factory?E([t.factory,t.factoryData||"0x"]):"0x"}function Ga(t){return E([O(x(BigInt(t.verificationGasLimit)),{size:16}),O(x(BigInt(t.callGasLimit)),{size:16})])}function ha(t){return E([O(x(BigInt(t.maxPriorityFeePerGas)),{size:16}),O(x(BigInt(t.maxFeePerGas)),{size:16})])}function Ta(t){return t.paymaster?E([t.paymaster,O(x(BigInt(t.paymasterVerificationGasLimit||0)),{size:16}),O(x(BigInt(t.paymasterPostOpGasLimit||0)),{size:16}),t.paymasterData||"0x"]):"0x"}const Pa=t=>({accountGasLimits:Ga(t),callData:t.callData,gasFees:ha(t),initCode:ga(t),nonce:BigInt(t.nonce),paymasterAndData:Ta(t),preVerificationGas:BigInt(t.preVerificationGas),sender:t.sender,signature:t.signature});async function I(t){var A;const{userOp:e,paymasterOverride:a,client:i,chain:r,entrypointAddress:n}=t;if(a)return a(e);const c={"Content-Type":"application/json"},s=n??S,o=X(r),d={id:1,jsonrpc:"2.0",method:"pm_sponsorUserOperation",params:[St(e),s]},l=await dt(i)(o,{body:z(d),headers:c,method:"POST"});if(!l.ok){const g=await l.text()||l.statusText;throw new Error(`Paymaster error: ${l.status} - ${g}`)}const m=await l.json();if(m.result)return typeof m.result=="string"?{paymasterAndData:m.result}:(m.result.reason&&console.warn(`Paymaster policy rejected this transaction with reason: ${m.result.reason} ${m.result.policyId?`(policyId: ${m.result.policyId})`:""}`),{callGasLimit:m.result.callGasLimit?_(m.result.callGasLimit):void 0,paymaster:m.result.paymaster,paymasterAndData:m.result.paymasterAndData,paymasterData:m.result.paymasterData,paymasterPostOpGasLimit:m.result.paymasterPostOpGasLimit?_(m.result.paymasterPostOpGasLimit):void 0,paymasterVerificationGasLimit:m.result.paymasterVerificationGasLimit?_(m.result.paymasterVerificationGasLimit):void 0,preVerificationGas:m.result.preVerificationGas?_(m.result.preVerificationGas):void 0,verificationGasLimit:m.result.verificationGasLimit?_(m.result.verificationGasLimit):void 0});const w=((A=m.error)==null?void 0:A.message)||m.error||l.statusText||"unknown error";throw new Error(`Paymaster error from ${o}: ${w}`)}const H=new Set,M=t=>`${t.chain.id}:${t.address}`,et=t=>{H.add(M(t))},st=t=>{H.delete(M(t))},nt=t=>H.has(M(t));async function va(t){const e=t.timeoutMs||12e4,a=t.intervalMs||1e3,i=Date.now()+e;for(;Date.now()<i;){const r=await Ct(t);if(r)return r;await new Promise(n=>setTimeout(n,a))}throw new Error(`Timeout waiting for userOp to be mined on chain ${t.chain.id} with UserOp hash: ${t.userOpHash}`)}async function La(t){var P;const{transaction:e,accountContract:a,factoryContract:i,adminAddress:r,overrides:n,sponsorGas:c,waitForDeployment:s=!0,isDeployedOverride:o}=t,d=e.chain,y=e.client,l={bundlerUrl:n==null?void 0:n.bundlerUrl,chain:d,client:y,entrypointAddress:n==null?void 0:n.entrypointAddress},m=k(((P=t.overrides)==null?void 0:P.entrypointAddress)||S),[w,A,g,G,f]=await Promise.all([typeof o=="boolean"?o:Y(a).then(h=>h||nt(a)),$(e),D(e.gas),Da({bundlerOptions:l,chain:d,client:y,executeTx:e}),Ea({accountContract:a,chain:d,client:y,entrypointAddress:n==null?void 0:n.entrypointAddress,getNonceOverride:n==null?void 0:n.getAccountNonce})]),{maxFeePerGas:p,maxPriorityFeePerGas:u}=G;return m==="v0.7"?Oa({accountContract:a,adminAddress:r,bundlerOptions:l,callData:A,callGasLimit:g,factoryContract:i,isDeployed:w,maxFeePerGas:p,maxPriorityFeePerGas:u,nonce:f,overrides:n,sponsorGas:c,waitForDeployment:s}):xa({accountContract:a,adminAddress:r,bundlerOptions:l,callData:A,callGasLimit:g,factoryContract:i,isDeployed:w,maxFeePerGas:p,maxPriorityFeePerGas:u,nonce:f,overrides:n,sponsorGas:c,waitForDeployment:s})}async function Da(t){const{executeTx:e,bundlerOptions:a,chain:i,client:r}=t;let{maxFeePerGas:n,maxPriorityFeePerGas:c}=e;const s=(a==null?void 0:a.bundlerUrl)??X(i);if(pt(s)){const o=await _t({options:a});n=o.maxFeePerGas,c=o.maxPriorityFeePerGas}else{const[o,d]=await Promise.all([D(n),D(c)]);if(o&&d)n=o,c=d;else{const y=await ut(r,i);c=d??y.maxPriorityFeePerGas??0n,n=o??y.maxFeePerGas??0n}}return{maxFeePerGas:n,maxPriorityFeePerGas:c}}async function Oa(t){const{bundlerOptions:e,isDeployed:a,factoryContract:i,accountContract:r,adminAddress:n,sponsorGas:c,overrides:s,nonce:o,callData:d,callGasLimit:y,maxFeePerGas:l,maxPriorityFeePerGas:m,waitForDeployment:w}=t,{chain:A,client:g}=e;let G,f;a?(f="0x",w&&await rt(r)):(G=i.address,f=await $(Q({accountSalt:s==null?void 0:s.accountSalt,adminAddress:n,createAccountOverride:s==null?void 0:s.createAccount,factoryContract:i})),w&&et(r));const p={callData:d,callGasLimit:y??0n,factory:G,factoryData:f,maxFeePerGas:l,maxPriorityFeePerGas:m,nonce:o,paymaster:void 0,paymasterData:"0x",paymasterPostOpGasLimit:0n,paymasterVerificationGasLimit:0n,preVerificationGas:0n,sender:r.address,signature:tt,verificationGasLimit:0n};if(c){const u=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:p});if(u.paymaster&&u.paymasterData&&(p.paymaster=u.paymaster,p.paymasterData=u.paymasterData),u.callGasLimit&&u.verificationGasLimit&&u.preVerificationGas&&u.paymasterPostOpGasLimit&&u.paymasterVerificationGasLimit)p.callGasLimit=u.callGasLimit,p.verificationGasLimit=u.verificationGasLimit,p.preVerificationGas=u.preVerificationGas,p.paymasterPostOpGasLimit=u.paymasterPostOpGasLimit,p.paymasterVerificationGasLimit=u.paymasterVerificationGasLimit;else{const P=s!=null&&s.tokenPaymaster?{[s.tokenPaymaster.tokenAddress]:{stateDiff:{[wt(At([{type:"address"},{type:"uint256"}],[r.address,s.tokenPaymaster.balanceStorageSlot]))]:gt(ht,{size:32})}}}:void 0,h=await b({options:e,userOp:p},P);p.callGasLimit=h.callGasLimit,p.verificationGasLimit=h.verificationGasLimit,p.preVerificationGas=h.preVerificationGas,p.paymasterPostOpGasLimit=s!=null&&s.tokenPaymaster?500000n:h.paymasterPostOpGasLimit||0n,p.paymasterVerificationGasLimit=h.paymasterVerificationGasLimit||0n;const v=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:p});v.paymaster&&v.paymasterData&&(p.paymaster=v.paymaster,p.paymasterData=v.paymasterData)}}else{const u=await b({options:e,userOp:p});p.callGasLimit=u.callGasLimit,p.verificationGasLimit=u.verificationGasLimit,p.preVerificationGas=u.preVerificationGas,p.paymasterPostOpGasLimit=u.paymasterPostOpGasLimit||0n,p.paymasterVerificationGasLimit=u.paymasterVerificationGasLimit||0n}return{...p,signature:"0x"}}async function xa(t){const{bundlerOptions:e,isDeployed:a,factoryContract:i,accountContract:r,adminAddress:n,sponsorGas:c,overrides:s,nonce:o,callData:d,callGasLimit:y,maxFeePerGas:l,maxPriorityFeePerGas:m,waitForDeployment:w}=t,{chain:A,client:g}=e;let G;a?(G="0x",w&&await rt(r)):(G=await _a({accountSalt:s==null?void 0:s.accountSalt,adminAddress:n,createAccountOverride:s==null?void 0:s.createAccount,factoryContract:i}),w&&et(r));const f={callData:d,callGasLimit:y??0n,initCode:G,maxFeePerGas:l,maxPriorityFeePerGas:m,nonce:o,paymasterAndData:"0x",preVerificationGas:0n,sender:r.address,signature:tt,verificationGasLimit:0n};if(c){const p=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:f}),u="paymasterAndData"in p?p.paymasterAndData:"0x";if(u&&u!=="0x"&&(f.paymasterAndData=u),p.callGasLimit&&p.verificationGasLimit&&p.preVerificationGas)f.callGasLimit=p.callGasLimit,f.verificationGasLimit=p.verificationGasLimit,f.preVerificationGas=p.preVerificationGas;else{const P=await b({options:e,userOp:f});if(f.callGasLimit=P.callGasLimit,f.verificationGasLimit=P.verificationGasLimit,f.preVerificationGas=P.preVerificationGas,u&&u!=="0x"){const h=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:f}),v="paymasterAndData"in h?h.paymasterAndData:"0x";v&&v!=="0x"&&(f.paymasterAndData=v)}}}else{const p=await b({options:e,userOp:f});f.callGasLimit=p.callGasLimit,f.verificationGasLimit=p.verificationGasLimit,f.preVerificationGas=p.preVerificationGas}return{...f,signature:"0x"}}async function Sa(t){const{userOp:e,chain:a,entrypointAddress:i,adminAccount:r}=t,n=await Ca({chain:a,client:t.client,entrypointAddress:i,userOp:e});if(r.signMessage){const c=await r.signMessage({chainId:a.id,message:{raw:ft(n)},originalMessage:z(e)});return{...e,signature:c}}throw new Error("signMessage not implemented in signingAccount")}async function Ca(t){const{userOp:e,chain:a,entrypointAddress:i}=t,r=k(i||S);let n;if(r==="v0.7"){const c=Pa(e);n=await Aa({contract:L({address:i||at,chain:a,client:t.client}),userOp:c})}else n=await ya({contract:L({address:i||S,chain:a,client:t.client}),userOp:e});return n}async function _a(t){const{factoryContract:e,adminAddress:a,accountSalt:i,createAccountOverride:r}=t,n=Q({accountSalt:i,adminAddress:a,createAccountOverride:r,factoryContract:e});return E([e.address,await $(n)])}async function Ea(t){const{accountContract:e,chain:a,client:i,entrypointAddress:r,getNonceOverride:n}=t;return n?n(e):await da({contract:L({address:r||S,chain:a,client:i}),key:Et(),sender:e.address})}async function rt(t){const e=Date.now();for(;nt(t);){if(Date.now()-e>6e4)throw st(t),new Error("Account deployment is taking too long (over 1 minute). Please try again.");await new Promise(a=>setTimeout(a,500))}}const it=new WeakMap,R=new WeakMap;async function ye(t,e){var m,w,A,g,G,f,p;const{personalAccount:a,client:i}=t;if(!a)throw new Error("No personal account provided for smart account connection");const r=e,n=e.chain,c="gasless"in r?r.gasless:r.sponsorGas;if(await yt(n))return[ba({chain:n,connectionOptions:t,creationOptions:e,sponsorGas:c}),n];if(r.factoryAddress&&!((m=r.overrides)!=null&&m.entrypointAddress)){const u=await Ia(r.factoryAddress,i,n);u&&(r.overrides={...r.overrides,entrypointAddress:u})}(w=r.overrides)!=null&&w.tokenPaymaster&&!((A=r.overrides)!=null&&A.entrypointAddress)&&(r.overrides={...r.overrides,entrypointAddress:at});const s=r.factoryAddress??Ft((g=r.overrides)==null?void 0:g.entrypointAddress),o=L({address:s,chain:n,client:i}),d=await Tt({accountAddress:(G=r.overrides)==null?void 0:G.accountAddress,accountSalt:(f=r.overrides)==null?void 0:f.accountSalt,adminAddress:a.address,factoryContract:o,predictAddressOverride:(p=r.overrides)==null?void 0:p.predictAddress}).then(u=>u).catch(u=>{throw new Error(`Failed to get account address with factory contract ${o.address} on chain ID ${n.id}: ${(u==null?void 0:u.message)||"unknown error"}`,{cause:u})}),y=L({address:d,chain:n,client:i}),l=await Fa({...r,accountContract:y,chain:n,client:i,factoryContract:o,personalAccount:a,sponsorGas:c});if(it.set(a,l),R.set(l,a),r.sessionKey&&await sa({accountContract:y,newPermissions:r.sessionKey.permissions,sessionKeyAddress:r.sessionKey.address})){const u=ea({account:a,contract:y,permissions:r.sessionKey.permissions,sessionKeyAddress:r.sessionKey.address});await Ot({account:l,transaction:u})}return[l,n]}async function le(t){const e=R.get(t);e&&(it.delete(e),R.delete(t))}async function Fa(t){var n,c;const e=(n=t.overrides)==null?void 0:n.tokenPaymaster;if(e&&k(((c=t.overrides)==null?void 0:c.entrypointAddress)||S)!=="v0.7")throw new Error("Token paymaster is only supported for entrypoint version v0.7");const a=t.sponsorGas;let i=t.accountContract;const r={address:K(i.address),async onTransactionRequested(s){var o,d;return(d=(o=t.personalAccount).onTransactionRequested)==null?void 0:d.call(o,s)},async sendBatchTransaction(s){var m,w;const o=Pt({accountContract:i,executeBatchOverride:(m=t.overrides)==null?void 0:m.executeBatch,transactions:s});if(s.length===0)throw new Error("No transactions to send");const d=s[0];if(!d)throw new Error("No transactions to send");const y=F(d.chainId),l=await N({executeTx:o,options:{...t,accountContract:i,chain:y}});return V({chainId:y.id,client:t.client,contractAddress:((w=s[0])==null?void 0:w.to)??void 0,transactionHash:l.transactionHash,walletAddress:t.accountContract.address,walletType:"smart"}),l},async sendTransaction(s){var m,w,A;let o;if(e){await Va({accountContract:i,erc20Paymaster:e,options:t});const g=async()=>({paymaster:e.paymasterAddress,paymasterData:"0x"});o=((m=t.overrides)==null?void 0:m.paymaster)||g}else o=(w=t.overrides)==null?void 0:w.paymaster;s.chainId!==i.chain.id&&(i=L({address:r.address,chain:F(s.chainId),client:t.client}));const d=J({accountContract:i,executeOverride:(A=t.overrides)==null?void 0:A.execute,transaction:s}),y=F(s.chainId),l=await N({executeTx:d,options:{...t,accountContract:i,chain:y,overrides:{...t.overrides,paymaster:o}}});return V({chainId:y.id,client:t.client,contractAddress:s.to??void 0,transactionHash:l.transactionHash,walletAddress:t.accountContract.address,walletType:"smart"}),l},async signMessage({message:s}){var d;if((d=t.overrides)!=null&&d.signMessage)return t.overrides.signMessage({accountContract:i,adminAccount:t.personalAccount,factoryContract:t.factoryContract,message:s});const{smartAccountSignMessage:o}=await T(async()=>{const{smartAccountSignMessage:y}=await import("./signing-CNpKg_vp.js").then(l=>l.Q);return{smartAccountSignMessage:y}},__vite__mapDeps([6,5,1,2,3,7,8,9,10,11,12,13,14]));return o({accountContract:i,factoryContract:t.factoryContract,message:s,options:t})},async signTypedData(s){var d;if((d=t.overrides)!=null&&d.signTypedData)return t.overrides.signTypedData({accountContract:i,adminAccount:t.personalAccount,factoryContract:t.factoryContract,typedData:s});const{smartAccountSignTypedData:o}=await T(async()=>{const{smartAccountSignTypedData:y}=await import("./signing-CNpKg_vp.js").then(l=>l.Q);return{smartAccountSignTypedData:y}},__vite__mapDeps([6,5,1,2,3,7,8,9,10,11,12,13,14]));return o({accountContract:i,factoryContract:t.factoryContract,options:t,typedData:s})},sendCalls:async s=>{const{inAppWalletSendCalls:o}=await T(async()=>{const{inAppWalletSendCalls:w}=await import("./in-app-wallet-calls-dlWnJrek.js");return{inAppWalletSendCalls:w}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22])),d=s.calls[0];if(!d)throw new Error("No calls to send");const y=d.client,l=d.chain||s.chain,m=await o({account:r,calls:s.calls,chain:l});return{chain:l,client:y,id:m}},getCallsStatus:async s=>{const{inAppWalletGetCallsStatus:o}=await T(async()=>{const{inAppWalletGetCallsStatus:d}=await import("./in-app-wallet-calls-dlWnJrek.js");return{inAppWalletGetCallsStatus:d}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return o(s)},getCallsStatusRaw:async s=>{const{inAppWalletGetCallsStatusRaw:o}=await T(async()=>{const{inAppWalletGetCallsStatusRaw:d}=await import("./in-app-wallet-calls-dlWnJrek.js");return{inAppWalletGetCallsStatusRaw:d}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return o(s)},getCapabilities:async s=>({[s.chainId??1]:{atomic:{status:"supported"},paymasterService:{supported:a??!1}}})};return r}async function Va(t){var y;const{accountContract:e,erc20Paymaster:a,options:i}=t,r=a.tokenAddress,n=L({address:r,chain:e.chain,client:e.client});if(await $t({contract:n,owner:e.address,spender:a.paymasterAddress})>0n)return;const s=qt({amountWei:ra-1n,contract:n,spender:a.paymasterAddress}),o=await lt({from:e.address,transaction:s}),d=J({accountContract:e,executeOverride:(y=i.overrides)==null?void 0:y.execute,transaction:o});await N({executeTx:d,options:{...i,overrides:{...i.overrides,tokenPaymaster:void 0}}})}function ba(t){const{creationOptions:e,connectionOptions:a,chain:i}=t,r={address:K(a.personalAccount.address),async onTransactionRequested(n){var c,s;return(s=(c=a.personalAccount).onTransactionRequested)==null?void 0:s.call(c,n)},async sendTransaction(n){var y,l,m,w;const c={chain:F(n.chainId),client:a.client,data:n.data,eip712:n.eip712,to:n.to??void 0,value:n.value??0n};let s=await Lt({account:r,transaction:c});if(t.sponsorGas&&!s.paymaster){const A=await Vt({options:{bundlerUrl:(y=e.overrides)==null?void 0:y.bundlerUrl,chain:i,client:a.client,entrypointAddress:(l=e.overrides)==null?void 0:l.entrypointAddress},transaction:s});s={...s,...A}}const o=await Dt({account:r,chainId:i.id,eip712Transaction:s}),d=await bt({options:{bundlerUrl:(m=e.overrides)==null?void 0:m.bundlerUrl,chain:i,client:a.client,entrypointAddress:(w=e.overrides)==null?void 0:w.entrypointAddress},signedTransaction:o,transaction:s});return V({chainId:i.id,client:a.client,contractAddress:n.to??void 0,transactionHash:d.transactionHash,walletAddress:r.address,walletType:"smart"}),{chain:i,client:a.client,transactionHash:d.transactionHash}},async signMessage({message:n}){return a.personalAccount.signMessage({message:n})},async signTypedData(n){const c=xt(n);return a.personalAccount.signTypedData(c)},sendCalls:async n=>{const{inAppWalletSendCalls:c}=await T(async()=>{const{inAppWalletSendCalls:l}=await import("./in-app-wallet-calls-dlWnJrek.js");return{inAppWalletSendCalls:l}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22])),s=n.calls[0];if(!s)throw new Error("No calls to send");const o=s.client,d=s.chain||n.chain,y=await c({account:r,calls:n.calls,chain:d});return{chain:d,client:o,id:y}},getCallsStatus:async n=>{const{inAppWalletGetCallsStatus:c}=await T(async()=>{const{inAppWalletGetCallsStatus:s}=await import("./in-app-wallet-calls-dlWnJrek.js");return{inAppWalletGetCallsStatus:s}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return c(n)},getCallsStatusRaw:async n=>{const{inAppWalletGetCallsStatusRaw:c}=await T(async()=>{const{inAppWalletGetCallsStatusRaw:s}=await import("./in-app-wallet-calls-dlWnJrek.js");return{inAppWalletGetCallsStatusRaw:s}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return c(n)},getCapabilities:async n=>({[n.chainId??1]:{atomic:{status:"unsupported"},paymasterService:{supported:t.sponsorGas??!1}}})};return r}async function N(t){var i,r,n;const{executeTx:e,options:a}=t;try{const c=await La({accountContract:a.accountContract,adminAddress:a.personalAccount.address,factoryContract:a.factoryContract,overrides:a.overrides,sponsorGas:a.sponsorGas,transaction:e}),s=await Sa({adminAccount:a.personalAccount,chain:a.chain,client:a.client,entrypointAddress:(i=a.overrides)==null?void 0:i.entrypointAddress,userOp:c}),o={bundlerUrl:(r=a.overrides)==null?void 0:r.bundlerUrl,chain:a.chain,client:a.client,entrypointAddress:(n=a.overrides)==null?void 0:n.entrypointAddress},d=await It({options:o,userOp:s}),y=await va({...o,userOpHash:d});return V({chainId:a.chain.id,client:a.client,contractAddress:await D(e.to??void 0),transactionHash:y.transactionHash,walletAddress:a.accountContract.address,walletType:"smart"}),{chain:a.chain,client:a.client,transactionHash:y.transactionHash}}catch(c){throw ct(c)&&ot({chainId:a.chain.id,client:a.client,contractAddress:await D(e.to??void 0),error:c,transactionValue:await D(e.value),walletAddress:a.accountContract.address}),c}finally{st(a.accountContract)}}async function Ia(t,e,a){const i=L({address:t,chain:a,client:e});try{return await C({contract:i,method:"function entrypoint() public view returns (address)"})}catch{return}}export{ye as connectSmartAccount,le as disconnectSmartAccount,Ia as getEntrypointFromFactory,Ae as isSmartWallet};
|
|
3
|
-
//# sourceMappingURL=index-ydLU_5Gn.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e8033685-dd3d-49d6-8faa-8c308a3da412",e._sentryDebugIdIdentifier="sentry-dbid-e8033685-dd3d-49d6-8faa-8c308a3da412")}catch{}})();const s="https://cdn.decentraland.org/@dcl/shop/1.8.0/_assets/collections-empty-5cIoxSYD.svg",o="data:image/svg+xml,%3csvg%20width='138'%20height='138'%20viewBox='0%200%20138%20138'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M100.208%2082.875V69.5C100.208%2062.4055%2097.3894%2055.6015%2092.3728%2050.5849C87.3562%2045.5683%2080.5522%2042.75%2073.4577%2042.75H60.0827V38.2917C60.0827%2035.9268%2061.0221%2033.6588%2062.6943%2031.9866C64.3665%2030.3144%2066.6345%2029.375%2068.9994%2029.375C71.3642%2029.375%2073.6322%2030.3144%2075.3044%2031.9866C76.9766%2033.6588%2077.916%2035.9268%2077.916%2038.2917V42.75M99.6326%20100.138C98.7987%20102.883%2097.1042%20105.287%2094.7994%20106.995C92.4946%20108.704%2089.7016%20109.626%2086.8327%20109.625H51.166C47.6188%20109.625%2044.2168%20108.216%2041.7085%20105.708C39.2002%20103.199%2037.791%2099.7973%2037.791%2096.25V69.5C37.7875%2065.4555%2038.7026%2061.4631%2040.4673%2057.8239C42.2321%2054.1848%2044.8003%2050.994%2047.9783%2048.4923'%20stroke='url(%23paint0_linear_1565_322568)'%20stroke-width='8.91667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M55.625%20109.625V91.7917C55.625%2089.4268%2056.5644%2087.1588%2058.2366%2085.4866C59.9088%2083.8144%2062.1768%2082.875%2064.5417%2082.875H73.4583C75.8232%2082.875%2078.0912%2083.8144%2079.7634%2085.4866C81.4356%2087.1588%2082.375%2089.4268%2082.375%2091.7917V109.625M28.875%2029.375L109.125%20109.625'%20stroke='url(%23paint1_linear_1565_322568)'%20stroke-width='8.91667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_1565_322568'%20x1='35.8244'%20y1='69.5051'%20x2='146.296'%20y2='61.4101'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_1565_322568'%20x1='26.3464'%20y1='69.5051'%20x2='167.888'%20y2='56.17'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";export{s as c,o as i};
|
|
2
|
-
//# sourceMappingURL=items-empty-Ch7uK_cC.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{l as u}from"./hooks.module-54Oj1-WJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1e2344f1-e2b0-4b33-82e6-650bba9a0538",e._sentryDebugIdIdentifier="sentry-dbid-1e2344f1-e2b0-4b33-82e6-650bba9a0538")}catch{}})();var t=0;function a(e,n,f,b,i,l){n||(n={});var r,o,_=n;"ref"in n&&(r=n.ref,delete n.ref);var d={type:e,props:_,key:f,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--t,__i:-1,__u:0,__source:i,__self:l};if(typeof e=="function"&&(r=e.defaultProps))for(o in r)_[o]===void 0&&(_[o]=r[o]);return u.vnode&&u.vnode(d),d}export{a as u};
|
|
2
|
-
//# sourceMappingURL=jsxRuntime.module-MtWsgs3K.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{v as k,p,s as h}from"./prepare-contract-call-DSjIXieB.js";import{c as l,e as w}from"./utils-C3caSBM-.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="3bcd2f58-1db8-425d-aef4-c361c43a2b23",n._sentryDebugIdIdentifier="sentry-dbid-3bcd2f58-1db8-425d-aef4-c361c43a2b23")}catch{}})();function b(n){const t=n.domain;return(t==null?void 0:t.chainId)!==void 0&&k(t.chainId)&&(n.domain={...n.domain,chainId:p(n.domain.chainId)}),n}async function y({client:n,ecosystem:t,tokenToLink:e,storage:r}){const d=w(n,t),c=l("inAppWallet"),s=await r.getAuthCookie();if(!s)throw new Error("Failed to link account, no user logged in");const o={Authorization:`Bearer iaw-auth-token:${s}`,"Content-Type":"application/json"},a=await d(`${c}/api/2024-05-05/account/connect`,{body:h({accountAuthTokenToConnect:e}),headers:o,method:"POST"});if(!a.ok){const u=await a.json();throw new Error(u.message||"Failed to link account.")}const{linkedAccounts:i}=await a.json();return i??[]}async function m({client:n,ecosystem:t,profileToUnlink:e,allowAccountDeletion:r=!1,storage:d}){const c=w(n,t),s=l("inAppWallet"),o=await d.getAuthCookie();if(!o)throw new Error("Failed to unlink account, no user logged in");const a={Authorization:`Bearer iaw-auth-token:${o}`,"Content-Type":"application/json"},i=await c(`${s}/api/2024-05-05/account/disconnect`,{body:h({allowAccountDeletion:r,details:e.details,type:e.type}),headers:a,method:"POST"});if(!i.ok){const f=await i.json();throw new Error(f.message||"Failed to unlink account.")}const{linkedAccounts:u}=await i.json();return u??[]}async function I({client:n,ecosystem:t,storage:e}){const r=w(n,t),d=l("inAppWallet"),c=await e.getAuthCookie();if(!c)throw new Error("Failed to get linked accounts, no user logged in");const s={Authorization:`Bearer iaw-auth-token:${c}`,"Content-Type":"application/json"},o=await r(`${d}/api/2024-05-05/accounts`,{headers:s,method:"GET"});if(!o.ok){const i=await o.json();throw new Error(i.message||"Failed to get linked accounts.")}const{linkedAccounts:a}=await o.json();return a??[]}export{I as g,y as l,b as p,m as u};
|
|
2
|
-
//# sourceMappingURL=linkAccount-tKw9D7Vs.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as y}from"./to-serializable-transaction-Bsbzt-I2.js";import{s as p,f as c,r as u}from"./prepare-contract-call-DSjIXieB.js";import"./index-D7Vr2oVM.js";import"./react-CPKOypa5.js";import"./dcl-schemas--SOz4s6t.js";import"./sentry-Dhl3FQKR.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./transaction-DKG_a6g-.js";import"./utils-C3caSBM-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="59cb9d5c-bdc8-40a9-9e7b-16450e487131",e._sentryDebugIdIdentifier="sentry-dbid-59cb9d5c-bdc8-40a9-9e7b-16450e487131")}catch{}})();async function w({account:e,serializableTransaction:t,transaction:a,gasless:s}){const r=y({address:s.relayerForwarderAddress,chain:a.chain,client:a.client}),n=await u({contract:r,method:"function getNonce(address) view returns (uint256)",params:[e.address]}),[o,m]=await(async()=>{if(!t.to)throw new Error("OpenZeppelin transactions must have a 'to' address");if(!t.gas)throw new Error("OpenZeppelin transactions must have a 'gas' value");if(!t.data)throw new Error("OpenZeppelin transactions must have a 'data' value");if(s.experimentalChainlessSupport){const i={chainid:BigInt(a.chain.id),data:t.data,from:e.address,gas:t.gas,nonce:n,to:t.to,value:0n};return[await e.signTypedData({domain:{name:"GSNv2 Forwarder",verifyingContract:r.address,version:"0.0.1"},message:i,primaryType:"ForwardRequest",types:{ForwardRequest:g}}),i]}const d={data:t.data,from:e.address,gas:t.gas,nonce:n,to:t.to,value:0n};return[await e.signTypedData({domain:{chainId:a.chain.id,name:s.domainName??"GSNv2 Forwarder",verifyingContract:r.address,version:s.domainVersion??"0.0.1"},message:d,primaryType:"ForwardRequest",types:{ForwardRequest:f}}),d]})();return{message:m,messageType:"forward",signature:o}}const f=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"}],g=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"},{name:"chainid",type:"uint256"}];async function R(e){const{message:t,messageType:a,signature:s}=await w(e),r=await fetch(e.gasless.relayerUrl,{body:p({forwarderAddress:e.gasless.relayerForwarderAddress,request:t,signature:s,type:a}),method:"POST"});if(!r.ok)throw new Error(`Failed to send transaction: ${await r.text()}`);const n=await r.json();if(!n.result)throw new Error(`Relay transaction failed: ${n.message}`);const o=JSON.parse(n.result).txHash;if(c(o))return{chain:e.transaction.chain,client:e.transaction.client,transactionHash:o};throw new Error(`Failed to send transaction: ${p(n)}`)}export{w as prepareOpenZeppelinTransaction,R as relayOpenZeppelinTransaction};
|
|
2
|
-
//# sourceMappingURL=openzeppelin-D-JFhdr0.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d,e as a,r as s}from"./prepare-contract-call-DSjIXieB.js";import{d as f}from"./detectExtension-D_bmEQsq.js";import"./utils-C3caSBM-.js";import"./sentry-Dhl3FQKR.js";import"./react-CPKOypa5.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]="82b6ab04-7b59-49f1-ba28-7083ba88853f",e._sentryDebugIdIdentifier="sentry-dbid-82b6ab04-7b59-49f1-ba28-7083ba88853f")}catch{}})();const t="0x6352211e",n=[{name:"tokenId",type:"uint256"}],r=[{type:"address"}];function O(e){return f({availableSelectors:e,method:[t,n,r]})}function c(e){return a(n,[e.tokenId])}function w(e){return t+c(e).slice(2)}function I(e){return d(r,e)[0]}async function l(e){return s({contract:e.contract,method:[t,n,r],params:[e.tokenId]})}export{t as FN_SELECTOR,I as decodeOwnerOfResult,w as encodeOwnerOf,c as encodeOwnerOfParams,O as isOwnerOfSupported,l as ownerOf};
|
|
2
|
-
//# sourceMappingURL=ownerOf-BYoH6fJy.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/getNFT-quDZXBOG.js","_assets/index-D7Vr2oVM.js","_assets/react-CPKOypa5.js","_assets/dcl-schemas--SOz4s6t.js","_assets/sentry-Dhl3FQKR.js","_assets/ethers-BGK6CGbc.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/fetchTokenMetadata-D2sHJ20d.js","_assets/uint8-array-BMe04WIx.js","_assets/prepare-contract-call-DSjIXieB.js","_assets/utils-C3caSBM-.js","_assets/thirdweb-4dN90LaI.js","_assets/signing-CNpKg_vp.js","_assets/to-serializable-transaction-Bsbzt-I2.js","_assets/transaction-DKG_a6g-.js","_assets/get-bytecode-CHdK0jd1.js","_assets/wait-for-tx-receipt-BZg4176M.js","_assets/transactionReceipt-Co69hre1.js","_assets/sleep-fBr8OToA.js","_assets/eth_estimateGas-DJtpIKCF.js","_assets/eth_getStorageAt-BvVTVakd.js","_assets/eth_getTransactionCount-CTg3O9yy.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/decimals-BRIIwlS4.js","_assets/decimals-Cwkjreuy.js","_assets/zora-sepolia-BKmyGkTB.js","_assets/send-batch-transaction-DlrF3ECN.js","_assets/send-transaction-eG41zAfO.js","_assets/getNFT-DrE5xjA6.js","_assets/totalSupply-C8piMspG.js","_assets/detectExtension-D_bmEQsq.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as u}from"./index-D7Vr2oVM.js";import{a as I}from"./utils-C3caSBM-.js";import{g as _}from"./to-serializable-transaction-Bsbzt-I2.js";import{i as g}from"./prepare-contract-call-DSjIXieB.js";import"./react-CPKOypa5.js";import"./dcl-schemas--SOz4s6t.js";import"./sentry-Dhl3FQKR.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./transaction-DKG_a6g-.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]="3c932280-cb8d-4cdb-86b0-6e6dbc494fda",t._sentryDebugIdIdentifier="sentry-dbid-3c932280-cb8d-4cdb-86b0-6e6dbc494fda")}catch{}})();function A(t,e){switch(e.type){case"ERC721":return{chainId:e.chainId,id:e.tokenId,metadata:t,owner:(e==null?void 0:e.owner)??null,tokenAddress:e.tokenAddress,tokenURI:e.tokenUri,type:e.type};case"ERC1155":return{chainId:e.chainId,id:e.tokenId,metadata:t,owner:(e==null?void 0:e.owner)??null,supply:e.supply,tokenAddress:e.tokenAddress,tokenURI:e.tokenUri,type:e.type};default:throw new Error("Invalid NFT type")}}async function N(t){let e=t.uri;e.startsWith("did:nft:")&&(e=e.replace("did:nft:","").replace(/_/g,"/"));const[i="",l="",r=""]=e.split("/"),[n,s]=i.split(":"),[o,a]=l.split(":");if(!n||n.toLowerCase()!=="eip155")throw new Error(`Invalid EIP namespace, expected EIP155, got: "${n}"`);if(!s)throw new Error("Chain ID not found");if(!a||!g(a))throw new Error("Contract address not found");if(!r)throw new Error("Token ID not found");const w=I(Number(s)),f=_({address:a,chain:w,client:t.client});switch(o){case"erc721":{const{getNFT:d}=await u(async()=>{const{getNFT:c}=await import("./getNFT-quDZXBOG.js");return{getNFT:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28]));return(await d({contract:f,tokenId:BigInt(r)})).metadata.image??null}case"erc1155":{const{getNFT:d}=await u(async()=>{const{getNFT:c}=await import("./getNFT-DrE5xjA6.js");return{getNFT:c}},__vite__mapDeps([29,12,11,4,2,10,13,1,3,5,6,7,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,8,9,30,31]));return(await d({contract:f,tokenId:BigInt(r)})).metadata.image??null}default:throw new Error(`Invalid ERC namespace, expected ERC721 or ERC1155, got: "${o}"`)}}export{A as parseNFT,N as parseNftUri};
|
|
3
|
-
//# sourceMappingURL=parseNft-SkdP6ZWl.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{s as l}from"./send-transaction-eG41zAfO.js";import{w as u}from"./wait-for-tx-receipt-BZg4176M.js";import{l as r}from"./prepare-contract-call-DSjIXieB.js";import{e as w}from"./to-serializable-transaction-Bsbzt-I2.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="7b739f19-0ce5-4754-92e2-3bf9360d1622",n._sentryDebugIdIdentifier="sentry-dbid-7b739f19-0ce5-4754-92e2-3bf9360d1622")}catch{}})();async function g(n){const t=await l(n);return u(t)}async function I(n){const{account:t,transactions:s}=n;if(!t)throw new Error("not connected");if(s.length===0)throw new Error("No transactions to send");const a=s[0];if(!a)throw new Error("No transactions to send");if(t.sendBatchTransaction){const o=await Promise.all(s.map(async e=>{const[i,c,d,f]=await Promise.all([w(e),r(e.to),r(e.accessList),r(e.value)]);return{accessList:d,chainId:e.chain.id,data:i,to:c,value:f}}));return{...await t.sendBatchTransaction(o),chain:a.chain,client:a.client}}throw new Error("Account doesn't implement sendBatchTransaction")}export{g as a,I as s};
|
|
2
|
-
//# sourceMappingURL=send-batch-transaction-DlrF3ECN.js.map
|