@dcl/shop 1.18.2-36699317496.commit-01b8efb → 1.19.0
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-Cv8PEDCM.js → Activity-BeGw9uju.js} +4 -4
- package/_assets/{AnimatedBackground-DU8dE9Vn.js → AnimatedBackground-DNkejhsz.js} +3 -3
- package/_assets/{Assets-CXqob4KH.js → Assets-fYcVwnf6.js} +9 -9
- package/_assets/{Cart-ERtGuzM7.js → Cart-C1IsnQc1.js} +2 -2
- package/_assets/{Collection-Py2Ivr9p.js → Collection-D75ifw6k.js} +2 -2
- package/_assets/{CollectionCarousel-88Pkalip.js → CollectionCarousel-CbXDISuB.js} +5 -5
- package/_assets/{Confetti-eieA8ns-.js → Confetti-tWvQ-0RK.js} +4 -4
- package/_assets/{ConstantsUtil-1_1F1v6q.js → ConstantsUtil-BuyWmRFN.js} +2 -2
- package/_assets/{ContentClient--aUkwTQk.js → ContentClient-MDKn9KZ6.js} +2 -2
- package/_assets/{Creator-BQNKujnt.js → Creator-Cdj2b5rq.js} +2 -2
- package/_assets/{CreditPackPicker-BJh7gVyM.js → CreditPackPicker-7XbTLYv_.js} +2 -2
- package/_assets/{CreditRate-DhVy8SW0.js → CreditRate-DAFWOS7H.js} +2 -2
- package/_assets/{DeploymentBuilder-CgN_VFxE.js → DeploymentBuilder-DxVavXId.js} +2 -2
- package/_assets/{EmotePlaybackBar-KdJuV-TR.js → EmotePlaybackBar-bMl7SiBo.js} +3 -3
- package/_assets/{ErrorNotice-DtXBOdpx.js → ErrorNotice-BWwJBVf7.js} +2 -2
- package/_assets/{Event-2yLCQeRh.js → Event-8Bdqr2gY.js} +2 -2
- package/_assets/{ExchangeController-KJye0wPi.js → ExchangeController-Bvc3JmJy.js} +2 -2
- package/_assets/{Faq-Didhrv12.js → Faq-B6xE2Nny.js} +2 -2
- package/_assets/{Filters-CW5QDWVD.js → Filters-BrIgTlFj.js} +2 -2
- package/_assets/{GetCredits-D4lcj4Ru.js → GetCredits-BysShVRx.js} +2 -2
- package/_assets/{Grow-CvvkHqAX.js → Grow-C2MqLB21.js} +2 -2
- package/_assets/{HelpersUtil-kIgw5TTS.js → HelpersUtil-CUdtyhK-.js} +2 -2
- package/_assets/{IssueModal-9eOYi4Sj.js → IssueModal-DL7GaVIB.js} +2 -2
- package/_assets/{ItemDetail-X0NkykeE.js → ItemDetail-bcRkUoe5.js} +2 -2
- package/_assets/{LoadMore-BSPvXjEq.js → LoadMore-B_zhlrmT.js} +2 -2
- package/_assets/{ManaPricingBanner-DigbTeg8.js → ManaPricingBanner-9wEAAFHo.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-Dc3fA-wN.js → ManaPricingBanner.styles-D07uEXpE.js} +2 -2
- package/_assets/{MyAssets-B4OLB5Ra.js → MyAssets-BWzErZGx.js} +2 -2
- package/_assets/{MyFavorites-DtMQgdd2.js → MyFavorites-DbWTtT54.js} +2 -2
- package/_assets/{MyStore-CdTXUo-D.js → MyStore-CrqnoFL4.js} +2 -2
- package/_assets/{NetworkUtil-D1pm9LAf.js → NetworkUtil-DNqR901Z.js} +2 -2
- package/_assets/{NotFound-CdsGhw3A.js → NotFound-CfimhF4l.js} +2 -2
- package/_assets/{NotificationsBell-BsIxlK--.js → NotificationsBell-DxAPdgbi.js} +2 -2
- package/_assets/{OutfitDetail-Dplq-yw0.js → OutfitDetail-CDY4NwaD.js} +2 -2
- package/_assets/{OutfitPreview-C8aKVg-G.js → OutfitPreview-CRSBczE7.js} +2 -2
- package/_assets/{OutfitStudio-SPKmHfra.js → OutfitStudio-Nl_O_Ei7.js} +2 -2
- package/_assets/{PaymentMethodStep-ExP5RaVg.js → PaymentMethodStep-7Nf59EYo.js} +5 -5
- package/_assets/{SaleCountdown-DZs8FLI1.js → SaleCountdown-C2WQWUha.js} +2 -2
- package/_assets/{Spinner-G33nBiZc.js → Spinner-AS4fD5FB.js} +2 -2
- package/_assets/{StoreSettings-yRVUj9gn.js → StoreSettings-BdKCVf5m.js} +3 -3
- package/_assets/{Success-B-akppan.js → Success-MSNkSCvx.js} +2 -2
- package/_assets/{SwapController-BLUipOVv.js → SwapController-n7WUWWo1.js} +2 -2
- package/_assets/{Tooltip-BLMUNUCw.js → Tooltip-csxTKEcm.js} +2 -2
- package/_assets/{TradeService-B9JX1BzC.js → TradeService-CMS8HH-z.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-CVJxzwXU.js → W3MFrameProviderSingleton-DCDZ_-PL.js} +4 -4
- package/_assets/{WebCryptoP256-CydbHReO.js → WebCryptoP256-4WVcg93v.js} +2 -2
- package/_assets/{basic-C8sbouX1.js → basic-tIHTwqmd.js} +2 -2
- package/_assets/{biconomy-D3_yfqL3.js → biconomy-CUKH-Fxi.js} +2 -2
- package/_assets/{browseLayout.styles-CyC4WPSY.js → browseLayout.styles-CZlPJ6m5.js} +2 -2
- package/_assets/{browser-DyD2zvSB.js → browser-BHvjNOO8.js} +2 -2
- package/_assets/{browser-27gwVLEC.js → browser-pgcIASRW.js} +2 -2
- package/_assets/{browser-ponyfill-B_nEXG4k.js → browser-ponyfill-BT5LnFt5.js} +2 -2
- package/_assets/{buy-BvYZcaDE.js → buy-Co-ENVXc.js} +2 -2
- package/_assets/{buy-gasless-CavNsthw.js → buy-gasless-DWSGCjEQ.js} +2 -2
- package/_assets/{ccip-W2RahrQP.js → ccip-BCPTRikp.js} +2 -2
- package/_assets/{ccip-DOltnJAd.js → ccip-BjpbgG2c.js} +2 -2
- package/_assets/{chains-2ZkFuyps.js → chains-WDppbU6H.js} +2 -2
- package/_assets/collectionPage.styles-j5KRQZ62.js +41 -0
- package/_assets/{common-MNBB5OG1.js → common-Dyfi9-qF.js} +2 -2
- package/_assets/{controller-DtgzPHCQ.js → controller-CUoM3_oQ.js} +3 -3
- package/_assets/{core-CNLia4ok.js → core-BXYVC2kU.js} +5 -5
- package/_assets/{createSvgIcon-DDd5PhO1.js → createSvgIcon-DPbcs2v5.js} +2 -2
- package/_assets/{crumbs.styles-DoKQEwMj.js → crumbs.styles-txSK4dTM.js} +2 -2
- package/_assets/{custom-CZJsO_mx.js → custom-DRklnkpg.js} +2 -2
- package/_assets/{data-capture-COmMo0De.js → data-capture-nO0V04_f.js} +2 -2
- package/_assets/{dcl-schemas-BqHUwNqd.js → dcl-schemas-Ch5C6FYh.js} +2 -2
- package/_assets/{decimals-BRG44LM_.js → decimals-C5CduTab.js} +2 -2
- package/_assets/{decimals-DrtoVrkw.js → decimals-DAvyrcZu.js} +2 -2
- package/_assets/{detectExtension-DZU1ap38.js → detectExtension-DiXMx_W2.js} +2 -2
- package/_assets/{disposePreview-BBU3P8er.js → disposePreview-mDuBaZ_g.js} +2 -2
- package/_assets/{email-vOHWF_-s.js → email-C5fI40n1.js} +2 -2
- package/_assets/{embedded-wallet-DlBCCX_e.js → embedded-wallet-5cSN7XT1.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-ChHUrxdv.js → emotion-styled.browser.esm-DAOgibG3.js} +2 -2
- package/_assets/{engine-CiqeVLfK.js → engine-5oDXn_7r.js} +2 -2
- package/_assets/{errors-s3lXv01b.js → errors-CLi9K-L1.js} +2 -2
- package/_assets/{estimate-l1-fee-lSQd-x6M.js → estimate-l1-fee-BfA7l553.js} +2 -2
- package/_assets/{eth_estimateGas-CqaBNuVy.js → eth_estimateGas-BeLpFZ-K.js} +2 -2
- package/_assets/{eth_getStorageAt-b0qFnAmB.js → eth_getStorageAt-BbB5SMWJ.js} +2 -2
- package/_assets/{eth_getTransactionCount-DpDXw0cy.js → eth_getTransactionCount-DH_qdxpP.js} +2 -2
- package/_assets/{ethereum-DA11u6-H.js → ethereum-CRRCl3Oi.js} +2 -2
- package/_assets/{ethers-FMLh2To0.js → ethers-C4a6Jf75.js} +2 -2
- package/_assets/{events-xR4CLJ6O.js → events-VdMuMMqI.js} +2 -2
- package/_assets/{execute-BVxFrl50.js → execute-DYxb7ppj.js} +3 -3
- package/_assets/{extractIPFS-D_xvC5ei.js → extractIPFS-C98ZY173.js} +2 -2
- package/_assets/{features-BVugtMuy.js → features-DJY0e3Bz.js} +2 -2
- package/_assets/{fetchTokenMetadata-DmNDVtCc.js → fetchTokenMetadata-HORvvXxg.js} +3 -3
- package/_assets/{field.styles-BjJqCKP8.js → field.styles-CalXkDdx.js} +2 -2
- package/_assets/{fortmatic-khHFakQE.js → fortmatic-BNzOK5JO.js} +2 -2
- package/_assets/{get-bytecode-CF5rPNUA.js → get-bytecode-IOvurXFJ.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-DT7Fgi_0.js → get-ecosystem-wallet-info-BCRCLMgd.js} +2 -2
- package/_assets/{getBalance-UV4g55-g.js → getBalance-BHvnzhG9.js} +3 -3
- package/_assets/{getInstalledModules-JQ9sgXI7.js → getInstalledModules-CUNrIDuz.js} +2 -2
- package/_assets/{getNFT-CQ4EoTzX.js → getNFT-B6n0HDvv.js} +3 -3
- package/_assets/{getNFT-BEQVQQ6_.js → getNFT-BVCpE58W.js} +2 -2
- package/_assets/{grid.styles-C8epOWb6.js → grid.styles-CpB9wS2H.js} +2 -2
- package/_assets/{hashTypedData-BNjpWpj2.js → hashTypedData-BcOqLlJx.js} +2 -2
- package/_assets/{hashTypedData-Dzq_vr-Y.js → hashTypedData-_2VHuDSf.js} +2 -2
- package/_assets/{import-C32aUwJ-.js → import-BnQRG6Kg.js} +2 -2
- package/_assets/{in-app-1tdAC6_d.js → in-app-BdFgV4nn.js} +2 -2
- package/_assets/{in-app-wallet-calls-rFyHb7zx.js → in-app-wallet-calls-CWI5AQFa.js} +2 -2
- package/_assets/{index-C9JKi6C9.js → index-1es0lGsf.js} +2 -2
- package/_assets/{index-DeS2QcS_.js → index-B-3mnGek.js} +3 -3
- package/_assets/{index-B2XvL1Ec.js → index-B1M-nsDU.js} +2 -2
- package/_assets/{index-r0znEyMN.js → index-B5ISO45B.js} +2 -2
- package/_assets/{index-D4y5uZ-J.js → index-B5wETTDl.js} +2 -2
- package/_assets/{index-ZmSlRnwW.js → index-B62cgvkR.js} +2 -2
- package/_assets/{index-D-Qq7AFM.js → index-B6uQDfO3.js} +2 -2
- package/_assets/{index-BU9L1jph.js → index-B7Fv6Oag.js} +2 -2
- package/_assets/{index-DMU8WwyK.js → index-B8E-AD_J.js} +2 -2
- package/_assets/{index-CpN5BttZ.js → index-BIojVkos.js} +2 -2
- package/_assets/{index-D7aMhNYR.js → index-BM07sxa_.js} +2 -2
- package/_assets/{index-DCj1afij.js → index-BMVjzD_U.js} +3 -3
- package/_assets/{index-zWHwK8LP.js → index-BUkfIThl.js} +2 -2
- package/_assets/{index-X-5mK4Th.js → index-BV6fxrmf.js} +2 -2
- package/_assets/{index-C4T5szPC.js → index-BWAFxmyt.js} +2 -2
- package/_assets/{index-Db0M_X2k.js → index-BWdRaOCR.js} +2 -2
- package/_assets/{index-CYO3wfTs.js → index-B_7Q1I9Q.js} +2 -2
- package/_assets/{index-H7ep9Rq4.js → index-C0dl8jmt.js} +2 -2
- package/_assets/{index-NpmhmugW.js → index-C1O6jHxG.js} +2 -2
- package/_assets/{index-BimshxFa.js → index-C532V4qJ.js} +3 -3
- package/_assets/{index-BLlk1TdE.js → index-C75ynYaQ.js} +2 -2
- package/_assets/{index-B6nOuJQV.js → index-CKkJi-bq.js} +2 -2
- package/_assets/{index-D7IdVQiv.js → index-COspzOWC.js} +2 -2
- package/_assets/{index-1GnqLAI_.js → index-CT2L6VvZ.js} +2 -2
- package/_assets/{index-BQyoN2fu.js → index-CTbbYDIU.js} +2 -2
- package/_assets/{index-C6OXQaIJ.js → index-CVY0S9OX.js} +2 -2
- package/_assets/{index-jii8dSH9.js → index-CYDLEc6j.js} +4 -4
- package/_assets/{index-Kh_O1AQU.js → index-CcgVPZ5-.js} +2 -2
- package/_assets/{index-DSVgVGvw.js → index-CeVKESs-.js} +2 -2
- package/_assets/{index-DRpp-9Ax.js → index-CexAI8ue.js} +2 -2
- package/_assets/{index-c9Fqa9I4.js → index-CjgGA8ap.js} +2 -2
- package/_assets/{index-CM5PSkXg.js → index-CtNd1uez.js} +3 -3
- package/_assets/{index-CEXPD6wn.js → index-D1Nd7gOt.js} +2 -2
- package/_assets/{index-B6JLypyJ.js → index-D3LOqI9e.js} +2 -2
- package/_assets/{index-CLSqZUbP.js → index-D3SktrFS.js} +2 -2
- package/_assets/{index-Cf_2QCy8.js → index-D8062vRq.js} +2 -2
- package/_assets/{index-yT2R0MOZ.js → index-DBAqJN7s.js} +4 -4
- package/_assets/{index-Db3NFX6H.js → index-DEwRieHl.js} +2 -2
- package/_assets/{index-DLAQxPYM.js → index-DH4hRgnV.js} +2 -2
- package/_assets/{index-DALUGT_-.js → index-DHmsdL5S.js} +2 -2
- package/_assets/{index-DSMfYjcn.js → index-DK9xkfU9.js} +2 -2
- package/_assets/{index-Dx1gD9vs.js → index-DL9x92FZ.js} +2 -2
- package/_assets/{index-BiRgI2bT.js → index-DRXO843V.js} +2 -2
- package/_assets/{index-sh1QPtHZ.js → index-DTCPOepm.js} +2 -2
- package/_assets/{index-Cjt8y837.js → index-DTdCdfzP.js} +2 -2
- package/_assets/{index-HR3pY-sM.js → index-DWQMHqVt.js} +2 -2
- package/_assets/{index-BdN3DWUA.js → index-DWYPckZ4.js} +2 -2
- package/_assets/{index-CDwNT0Gi.js → index-D_FWYvi-.js} +2 -2
- package/_assets/{index-0thrSFb1.js → index-D_ZbtIpG.js} +2 -2
- package/_assets/{index--m8yqDmI.js → index-D__RWNfC.js} +2 -2
- package/_assets/{index--HKM17KR.js → index-D_deVb-D.js} +2 -2
- package/_assets/{index-MAY9er2c.js → index-DaiLEIU7.js} +4 -4
- package/_assets/{index-Bsoaz1KO.js → index-DfjCnhTa.js} +2 -2
- package/_assets/{index-YSJKoltZ.js → index-DlR8bQOt.js} +2 -2
- package/_assets/{index-BU5FCydW.js → index-DljoYvOw.js} +12 -12
- package/_assets/{index-CZ9K15YN.js → index-DnHvN2jw.js} +2 -2
- package/_assets/{index-BjFb2_7h.js → index-Dp47_9uW.js} +2 -2
- package/_assets/{index-CdlIZMru.js → index-DyD3itci.js} +2 -2
- package/_assets/{index-BZFDlbpe.js → index-K65LZonS.js} +2 -2
- package/_assets/{index-D_qyhQlq.js → index-OAMg2I05.js} +2 -2
- package/_assets/{index-BKmKxQIC.js → index-PALLiW3-.js} +2 -2
- package/_assets/{index-C7ToCPZ0.js → index-SWeIpIDs.js} +2 -2
- package/_assets/{index-B_nBv8l9.js → index-bNjx1K93.js} +2 -2
- package/_assets/{index-BfJnZxH1.js → index-iicecV3n.js} +2 -2
- package/_assets/{index-Dg7VM7nf.js → index-mDEVykrV.js} +2 -2
- package/_assets/{index-CtvKNtpi.js → index-rCQWEO5b.js} +2 -2
- package/_assets/index-xarUdNs4.css +1 -0
- package/_assets/{index-B27__oz0.js → index-yj36vTKt.js} +2 -2
- package/_assets/{index.es-BA44R-Xa.js → index.es-B7kdvKnV.js} +2 -2
- package/_assets/{index.es-dUdsfw4t.js → index.es-CFqE1B_-.js} +2 -2
- package/_assets/{index.es-QXK-eANc.js → index.es-D1nVZUP1.js} +2 -2
- package/_assets/{index.es-CSamVR2I.js → index.es-V3Uw-Zb-.js} +5 -5
- package/_assets/items-empty-Cep5wNDE.js +2 -0
- package/_assets/{jump-D2HbRr2q.js → jump-Ck95_tg_.js} +2 -2
- package/_assets/{linkAccount-CNxRauTe.js → linkAccount-CAN7lbWC.js} +2 -2
- package/_assets/{loader-logo-xHBruJq3.js → loader-logo-CIiCFwgq.js} +2 -2
- package/_assets/{localBatchGatewayRequest-ClHJb64u.js → localBatchGatewayRequest-CTzYkjnp.js} +2 -2
- package/_assets/{modal.styles-BB1k2W3W.js → modal.styles-ButkCLCt.js} +2 -2
- package/_assets/{native-BcUvcFQf.js → native-DVJo7Uy7.js} +2 -2
- package/_assets/{networks-BP4WLO6B.js → networks-BYYvKVPZ.js} +2 -2
- package/_assets/{onramp-CDRtIxCM.js → onramp-BCx6J7lZ.js} +2 -2
- package/_assets/{openzeppelin--odnQm_c.js → openzeppelin-Bm_dWofi.js} +2 -2
- package/_assets/{ownerOf-CS2S4HKY.js → ownerOf-DqF__NFK.js} +2 -2
- package/_assets/{parseNft-uChPEm1I.js → parseNft-BPMv2W2U.js} +3 -3
- package/_assets/{parseSignature-BN4JZzva.js → parseSignature-CcDEF3aT.js} +4 -4
- package/_assets/{parseSignature-BuJ1wZqH.js → parseSignature-DopoO0qx.js} +2 -2
- package/_assets/{passkeys-DHsT5Nmm.js → passkeys-eBxkaLcH.js} +2 -2
- package/_assets/{pay-with-exchange-DYokda-c.js → pay-with-exchange-Ci7qqhrM.js} +2 -2
- package/_assets/{prepare-contract-call-rQrMVz6Q.js → prepare-contract-call-Do2FNRqz.js} +2 -2
- package/_assets/{qr-overlay-B0egTFoT.js → qr-overlay-DlS-uWbW.js} +4 -4
- package/_assets/{react-DUeL1qp6.js → react-W6DPPZx2.js} +2 -2
- package/_assets/{receive-pYQvjqFB.js → receive-RN80yUjQ.js} +2 -2
- package/_assets/{resolveImplementation-Bm7aHAcg.js → resolveImplementation-BI3GOlU5.js} +2 -2
- package/_assets/{resume-buy-BPHZDw7c.js → resume-buy-DLoChZrc.js} +2 -2
- package/_assets/{resume-name-BSxtavJ3.js → resume-name-1zBWm51e.js} +2 -2
- package/_assets/{rpc-B-OcEn7S.js → rpc-DM2YS0jc.js} +2 -2
- package/_assets/{sales-empty-5sV_8BjH.js → sales-empty-Dnsipv8W.js} +2 -2
- package/_assets/{search-empty-H6-ff5sq.js → search-empty-Dvn318rX.js} +2 -2
- package/_assets/{secp256k1-DLm8Os8y.js → secp256k1-C4OMeax7.js} +2 -2
- package/_assets/{secp256k1-CgBKAU1K.js → secp256k1-NmEPlAZw.js} +2 -2
- package/_assets/{secp256k1-BLSkGxtg.js → secp256k1-WkAauRSr.js} +2 -2
- package/_assets/{send-GXeKBaeq.js → send-C0r-5tij.js} +2 -2
- package/_assets/{send-batch-transaction-DmYSGBzU.js → send-batch-transaction-CnI2VsQr.js} +2 -2
- package/_assets/{send-eip712-transaction-B3g4mZmi.js → send-eip712-transaction-DaLfugLr.js} +3 -3
- package/_assets/{send-gasless-transaction-DooK6oIE.js → send-gasless-transaction-DUB8Kjk5.js} +3 -3
- package/_assets/{send-transaction-C6Wu4coH.js → send-transaction-tJISdP6Y.js} +3 -3
- package/_assets/{sendMetaTransaction-B5ZO9jvL.js → sendMetaTransaction-nj4rME5D.js} +2 -2
- package/_assets/{sendRawTransaction-DT2Th3au.js → sendRawTransaction-DfekQM89.js} +4 -4
- package/_assets/{sentry-CXljof2R.js → sentry-Bf5cwK6Z.js} +3 -3
- package/_assets/{serializeTransaction-AM7lBsFk.js → serializeTransaction-CxIs4lGj.js} +2 -2
- package/_assets/{session-proposal-DVtQPrvD.js → session-proposal-B5Wg5om5.js} +2 -2
- package/_assets/{session-request-BorxnSb-.js → session-request-DMi03oq9.js} +3 -3
- package/_assets/{sha256-CKDpyd5j.js → sha256-C6FguC0o.js} +2 -2
- package/_assets/{sha3-Ddr1Yh2t.js → sha3-C3b0dKwM.js} +2 -2
- package/_assets/signin-empty-t0d2AJfu.js +2 -0
- package/_assets/{signing-PbT8rOK5.js → signing-BK_PENgC.js} +4 -4
- package/_assets/{skeleton.styles-Bg8kRALo.js → skeleton.styles-CLPYGy7U.js} +2 -2
- package/_assets/{socials-Bq-GWj8b.js → socials-BOzm4twp.js} +2 -2
- package/_assets/{styled-CKnuvISQ.js → styled-DsLK5cPQ.js} +2 -2
- package/_assets/{swaps-CXoZforC.js → swaps-C6BJhPZY.js} +2 -2
- package/_assets/{thirdweb-DuwS2_Z5.js → thirdweb-DPdu8_Iz.js} +4 -4
- package/_assets/{to-serializable-transaction-Bifleqz-.js → to-serializable-transaction-BCAsGvu5.js} +3 -3
- package/_assets/{totalSupply-CVYVSeL1.js → totalSupply-CJeCybrj.js} +2 -2
- package/_assets/{trade-encoding-9VxkSLUE.js → trade-encoding-C2C756Mb.js} +2 -2
- package/_assets/{transaction-2jjZedBE.js → transaction-DK3gmzym.js} +2 -2
- package/_assets/{transactionReceipt-D-Yy8IeO.js → transactionReceipt-SVsD6Wmt.js} +2 -2
- package/_assets/{transactions-BQz7OrAF.js → transactions-CIoxFkMZ.js} +2 -2
- package/_assets/{useInfiniteGrid-DxgAT_kc.js → useInfiniteGrid-OYi4qkxL.js} +2 -2
- package/_assets/{useStore-DvWx61co.js → useStore-Cu25kFq7.js} +3 -3
- package/_assets/{useTheme-eQmEuyuH.js → useTheme-DXyqGHPK.js} +2 -2
- package/_assets/{utils-C7Ok6jYM.js → utils-DWFFXuVr.js} +2 -2
- package/_assets/{verifyHash-621Z04dc.js → verifyHash-BuoiWnLm.js} +2 -2
- package/_assets/{w3m-modal-B3osBOPJ.js → w3m-modal-B4-nkuIe.js} +2 -2
- package/_assets/{w3m-modal-CLdcq1yd.js → w3m-modal-BcCfYrK3.js} +2 -2
- package/_assets/{wait-for-tx-receipt-B0jsH53r.js → wait-for-tx-receipt-Dk2kUnaX.js} +2 -2
- package/_assets/{wallets-CpTLFdBc.js → wallets-CMSR8zSM.js} +6 -6
- package/_assets/{web-connector-BWApdRbV.js → web-connector-njIri1mV.js} +4 -4
- package/_assets/{writeContract-D0ic7xMc.js → writeContract-BIL6JKQ4.js} +2 -2
- package/_assets/{zora-sepolia-6Qf6jPe0.js → zora-sepolia-CGWAmNQa.js} +2 -2
- package/_assets/{zoraTestnet-DE24U8mH.js → zoraTestnet-BbdMl-3q.js} +2 -2
- package/index.html +12 -12
- package/package.json +1 -1
- package/_assets/collectionPage.styles-CpLxZSFb.js +0 -41
- package/_assets/index-un_saWbe.css +0 -1
- package/_assets/items-empty-rSd_Iik6.js +0 -2
- package/_assets/signin-empty-BEsGFkKt.js +0 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/fortmatic-
|
|
2
|
-
var ce=Object.defineProperty;var de=(i,n,e)=>n in i?ce(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e;var d=(i,n,e)=>de(i,typeof n!="symbol"?n+"":n,e);import{e as h,f as l,g}from"./dcl-schemas-BqHUwNqd.js";import{g as ue}from"./react-DUeL1qp6.js";import{r as he}from"./events-xR4CLJ6O.js";import{_ as m}from"./index-BU5FCydW.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new i.Error().stack;n&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[n]="d38af35e-af84-4ae4-9ce8-75d45f3ee267",i._sentryDebugIdIdentifier="sentry-dbid-d38af35e-af84-4ae4-9ce8-75d45f3ee267")}catch{}})();var C;(function(i){i.Update="Web3ReactUpdate",i.Error="Web3ReactError",i.Deactivate="Web3ReactDeactivate"})(C||(C={}));const le={clientId:"e1adce863fe287bb6cf0e3fd90bdb77f",chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY]},pe={storageKey:"decentraland-connect-storage-key",[l.ProviderType.INJECTED]:{},[l.ProviderType.FORTMATIC]:{apiKeys:{[h.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[h.ChainId.ETHEREUM_SEPOLIA]:"pk_test_5B728BEFE5C10911"},urls:A(l.ProviderType.FORTMATIC)},[l.ProviderType.NETWORK]:{urls:A(l.ProviderType.NETWORK)},[l.ProviderType.WALLET_LINK]:{appName:"Decentraland",urls:A(l.ProviderType.WALLET_LINK)},[l.ProviderType.WALLET_CONNECT_V2]:{projectId:"61570c542c2d66c659492e5b24a41522",urls:A(l.ProviderType.WALLET_CONNECT_V2),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.ARBITRUM_MAINNET,h.ChainId.OPTIMISM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},thirdweb:le};function I(){return pe}function A(i){const n={[h.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[h.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[h.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[h.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[h.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[h.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[h.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[h.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[h.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let e="";switch(i){case l.ProviderType.WALLET_LINK:e="walletlink";break;case l.ProviderType.FORTMATIC:e="fortmatic";break;case l.ProviderType.MAGIC:e="magic";break;case l.ProviderType.MAGIC_TEST:e="magic";break;case l.ProviderType.WALLET_CONNECT_V2:e="walletconnect-v2";break;case l.ProviderType.THIRDWEB:e="thirdweb";break}if(e){const t=Object.keys(n);for(const r of t)n[r]+=`?project=${e}`}return n}var $=he();const je=ue($);function fe(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n}var E=(function(i){fe(n,i);function n(t){var r,o=t===void 0?{}:t,s=o.supportedChainIds;return r=i.call(this)||this,r.supportedChainIds=s,r}var e=n.prototype;return e.emitUpdate=function(r){this.emit(C.Update,r)},e.emitError=function(r){this.emit(C.Error,r)},e.emitDeactivate=function(){this.emit(C.Deactivate)},n})($.EventEmitter);class z extends E{constructor(e){const t=I()[g.ProviderType.FORTMATIC],r=Object.keys(t.apiKeys).map(o=>Number(o));if(!r.includes(e))throw new Error(`Invariant error: Unsupported chainId ${e}`);super({supportedChainIds:r});d(this,"apiKey");d(this,"chainId");d(this,"rpcUrl");d(this,"fortmatic");this.apiKey=t.apiKeys[e],this.chainId=e,this.rpcUrl=t.urls[e]}async activate(){if(!this.fortmatic){const{default:t}=await m(async()=>{const{default:r}=await import("./fortmatic-khHFakQE.js").then(o=>o.f);return{default:r}},__vite__mapDeps([0,1]));this.fortmatic=new t(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const e=await this.fortmatic.getProvider().enable().then(t=>t[0]);return{provider:this.fortmatic.getProvider(),chainId:this.chainId,account:e}}getApiKey(){return this.apiKey}async getProvider(){return this.fortmatic.getProvider()}async getChainId(){return this.chainId}async getAccount(){return this.fortmatic.getProvider().send("eth_accounts").then(e=>e[0])}deactivate(){}close(){return this.fortmatic.user.logout()}}function j(){return j=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}return i},j.apply(this,arguments)}function q(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n}function D(i){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(i)}function L(i,n){return L=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},L(i,n)}function ve(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(i,n,e){return ve()?O=Reflect.construct:O=function(r,o,s){var a=[null];a.push.apply(a,o);var c=Function.bind.apply(r,a),u=new c;return s&&L(u,s.prototype),u},O.apply(null,arguments)}function we(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function S(i){var n=typeof Map=="function"?new Map:void 0;return S=function(t){if(t===null||!we(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return O(t,arguments,D(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),L(r,t)},S(i)}function b(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function P(i,n){try{var e=i()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}function y(i){return i.hasOwnProperty("result")?i.result:i}var k=(function(i){q(n,i);function n(){var e;return e=i.call(this)||this,e.name=e.constructor.name,e.message="No Ethereum provider was found on window.ethereum.",e}return n})(S(Error)),ge=(function(i){q(n,i);function n(){var e;return e=i.call(this)||this,e.name=e.constructor.name,e.message="The user rejected the request.",e}return n})(S(Error)),me=(function(i){q(n,i);function n(t){var r;return r=i.call(this,t)||this,r.handleNetworkChanged=r.handleNetworkChanged.bind(b(r)),r.handleChainChanged=r.handleChainChanged.bind(b(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(b(r)),r.handleClose=r.handleClose.bind(b(r)),r}var e=n.prototype;return e.handleChainChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.handleAccountsChanged=function(r){r.length===0?this.emitDeactivate():this.emitUpdate({account:r[0]})},e.handleClose=function(r,o){this.emitDeactivate()},e.handleNetworkChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.activate=function(){try{var r=function(f){if(o)return f;function p(){return j({provider:window.ethereum},a?{account:a}:{})}var v=(function(){if(!a)return Promise.resolve(window.ethereum.enable().then(function(T){return T&&y(T)[0]})).then(function(T){a=T})})();return v&&v.then?v.then(p):p(v)},o=!1,s=this;if(!window.ethereum)throw new k;window.ethereum.on&&(window.ethereum.on("chainChanged",s.handleChainChanged),window.ethereum.on("accountsChanged",s.handleAccountsChanged),window.ethereum.on("close",s.handleClose),window.ethereum.on("networkChanged",s.handleNetworkChanged)),window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1);var a,c=P(function(){return Promise.resolve(window.ethereum.send("eth_requestAccounts").then(function(u){return y(u)[0]})).then(function(u){a=u})},function(u){if(u.code===4001)throw new ge});return Promise.resolve(c&&c.then?c.then(r):r(c))}catch(u){return Promise.reject(u)}},e.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(r){return Promise.reject(r)}},e.getChainId=function(){try{var r=function(){function c(){if(!o)try{o=y(window.ethereum.send({method:"net_version"}))}catch{}return o||(window.ethereum.isDapper?o=y(window.ethereum.cachedResults.net_version):o=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),o}var u=(function(){if(!o){var f=P(function(){return Promise.resolve(window.ethereum.send("net_version").then(y)).then(function(p){o=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var o,s=P(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(y)).then(function(a){o=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.getAccount=function(){try{var r=function(){function c(){return o||(o=y(window.ethereum.send({method:"eth_accounts"}))[0]),o}var u=(function(){if(!o){var f=P(function(){return Promise.resolve(window.ethereum.enable().then(function(p){return y(p)[0]})).then(function(p){o=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var o,s=P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(a){return y(a)[0]})).then(function(a){o=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.deactivate=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},e.isAuthorized=function(){try{return window.ethereum?Promise.resolve(P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(r){return y(r).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(r){return Promise.reject(r)}},n})(E);class G extends Error{constructor(){super("There was an error unlocking your wallet. Please be sure your wallet is unlocked and try again."),this.name="ErrorUnlockingWallet"}}const Ie=60*1e3;class J extends me{constructor(n){super({supportedChainIds:[n]})}async activate(){const n=new Promise((t,r)=>{setTimeout(()=>{r(new G)},Ie)}),e=super.activate();return Promise.race([e,n])}}var ye="Invariant failed";function V(i,n){throw new Error(ye)}function Y(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,N(i,n)}function K(i){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(i)}function N(i,n){return N=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},N(i,n)}function Ce(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function R(i,n,e){return Ce()?R=Reflect.construct:R=function(r,o,s){var a=[null];a.push.apply(a,o);var c=Function.bind.apply(r,a),u=new c;return s&&N(u,s.prototype),u},R.apply(null,arguments)}function Ee(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function W(i){var n=typeof Map=="function"?new Map:void 0;return W=function(t){if(t===null||!Ee(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return R(t,arguments,K(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),N(r,t)},W(i)}var U=(function(i){Y(n,i);function n(e,t,r){var o;return o=i.call(this)||this,o.code=t,o.data=r,o.name=o.constructor.name,o.message=e,o}return n})(W(Error)),Ae=function(n,e){var t=this,r=this;this.isMetaMask=!1,this.sendAsync=function(s,a){console.log("sendAsync",s.method,s.params),r.request(s.method,s.params).then(function(c){return a(null,{jsonrpc:"2.0",id:s.id,result:c})}).catch(function(c){return a(c,null)})},this.request=function(s,a){try{return typeof s!="string"&&(a=s.params,s=s.method),Promise.resolve(fetch(t.url,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:s,params:a}),headers:{"Content-Type":"application/json"}})).then(function(c){if(!c.ok)throw new U(c.status+": "+c.statusText,-32e3);return Promise.resolve(c.json()).then(function(u){if("error"in u){var f,p,v;throw new U(u==null||(f=u.error)==null?void 0:f.message,u==null||(p=u.error)==null?void 0:p.code,u==null||(v=u.error)==null?void 0:v.data)}else{if("result"in u)return u.result;throw new U("Received unexpected JSON-RPC response to "+s+" request.",-32e3,u)}})})}catch(c){return Promise.reject(c)}},this.chainId=n,this.url=e;var o=new URL(e);this.host=o.host,this.path=o.pathname},Te=(function(i){Y(n,i);function n(t){var r,o=t.urls,s=t.defaultChainId;return s||Object.keys(o).length===1||V(),r=i.call(this,{supportedChainIds:Object.keys(o).map(function(a){return Number(a)})})||this,r.currentChainId=s||Number(Object.keys(o)[0]),r.providers=Object.keys(o).reduce(function(a,c){return a[Number(c)]=new Ae(Number(c),o[Number(c)]),a},{}),r}var e=n.prototype;return e.activate=function(){try{var r=this;return Promise.resolve({provider:r.providers[r.currentChainId],chainId:r.currentChainId,account:null})}catch(o){return Promise.reject(o)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.providers[r.currentChainId])}catch(o){return Promise.reject(o)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.currentChainId)}catch(o){return Promise.reject(o)}},e.getAccount=function(){return Promise.resolve(null)},e.deactivate=function(){},e.changeChainId=function(r){Object.keys(this.providers).includes(r.toString())||V(),this.currentChainId=r,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:r})},n})(E);class Q extends Te{constructor(n){super({urls:I()[l.ProviderType.NETWORK].urls,defaultChainId:n})}}function x(){return x=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}return i},x.apply(this,arguments)}function Pe(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,F(i,n)}function F(i,n){return F=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},F(i,n)}function B(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}var _e=1,Ne=(function(i){Pe(n,i);function n(t){var r,o=t.url,s=t.appName,a=t.appLogoUrl,c=t.darkMode,u=t.supportedChainIds;return r=i.call(this,{supportedChainIds:u})||this,r.url=o,r.appName=s,r.appLogoUrl=a,r.darkMode=c||!1,r.handleChainChanged=r.handleChainChanged.bind(B(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(B(r)),r}var e=n.prototype;return e.activate=function(){try{var r=this,o=function(){return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(c){var u=c[0];return r.provider.on("chainChanged",r.handleChainChanged),r.provider.on("accountsChanged",r.handleAccountsChanged),{provider:r.provider,account:u}})},s=(function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)r.provider=window.ethereum;else{var a=(function(){if(!r.walletLink)return Promise.resolve(m(()=>import("./index-Cjt8y837.js").then(c=>c.i),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11,12])).then(function(c){var u;return(u=c==null?void 0:c.default)!=null?u:c})).then(function(c){r.walletLink=new c(x({appName:r.appName,darkMode:r.darkMode},r.appLogoUrl?{appLogoUrl:r.appLogoUrl}:{})),r.provider=r.walletLink.makeWeb3Provider(r.url,_e)})})();if(a&&a.then)return a.then(function(){})}})();return Promise.resolve(s&&s.then?s.then(o):o(s))}catch(a){return Promise.reject(a)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.provider)}catch(o){return Promise.reject(o)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.provider.chainId)}catch(o){return Promise.reject(o)}},e.getAccount=function(){try{var r=this;return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(o){return o[0]})}catch(o){return Promise.reject(o)}},e.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},e.close=function(){try{var r=this;return r.provider.close(),r.emitDeactivate(),Promise.resolve()}catch(o){return Promise.reject(o)}},e.handleChainChanged=function(r){this.emitUpdate({chainId:r})},e.handleAccountsChanged=function(r){this.emitUpdate({account:r[0]})},n})(E);class X extends Ne{constructor(n){const e=I()[g.ProviderType.WALLET_LINK],t=e.urls[n];if(!t)throw new Error(`Unsupported chainId for WalletLink: ${n}. Supported chains: ${Object.keys(e.urls).join(", ")}`);super({url:t,appName:e.appName,supportedChainIds:[n]})}}class Me{}class Z extends Me{get(n){const e=window.localStorage.getItem(n);return e===null?void 0:e}set(n,e){window.localStorage.setItem(n,e)}remove(n){window.localStorage.removeItem(n)}removeRegExp(n){for(let e=localStorage.length-1;e>=0;e--){const t=localStorage.key(e);t&&n.test(t)&&localStorage.removeItem(t)}}}const be={[g.ChainId.ETHEREUM_MAINNET]:"mainnet",[g.ChainId.ETHEREUM_SEPOLIA]:"sepolia",[g.ChainId.MATIC_MAINNET]:"polygon",[g.ChainId.MATIC_AMOY]:"polygonAmoy",[g.ChainId.ARBITRUM_MAINNET]:"arbitrum",[g.ChainId.OPTIMISM_MAINNET]:"optimism",[g.ChainId.AVALANCHE_MAINNET]:"avalanche",[g.ChainId.BSC_MAINNET]:"bsc",[g.ChainId.FANTOM_MAINNET]:"fantom"},w=class w extends E{constructor(e){super({supportedChainIds:w.configuration.chains});d(this,"desiredChainId");d(this,"appKit");d(this,"provider");d(this,"accountUnsubscribe");d(this,"networkUnsubscribe");d(this,"initAppKit",async()=>{if(w.sharedAppKit)return this.appKit=w.sharedAppKit,this.appKit;const{createAppKit:e}=await m(async()=>{const{createAppKit:s}=await import("./index-MAY9er2c.js").then(a=>a.h);return{createAppKit:s}},__vite__mapDeps([13,14,1,3,5,4,12,15,16,17,18,19,20,21,22,23,24])),{WagmiAdapter:t}=await m(async()=>{const{WagmiAdapter:s}=await import("./index-yT2R0MOZ.js").then(a=>a.b);return{WagmiAdapter:s}},__vite__mapDeps([25,16,3,1,17,5,18,19,14,4,12,15,26,27,6,28,29,30])),r=await this.getNetworks(),o=new t({networks:r,projectId:w.configuration.projectId});return this.appKit=e({adapters:[o],projectId:w.configuration.projectId,networks:r,defaultNetwork:r[0],metadata:{name:"Decentraland",description:"Decentraland - Virtual World",url:typeof window<"u"?window.location.origin:"https://decentraland.org",icons:["https://decentraland.org/favicon.ico"]},themeMode:"dark",themeVariables:{"--w3m-z-index":3e3},features:{analytics:!1,email:!1,socials:!1,onramp:!1,swaps:!1},enableInjected:!0,enableEIP6963:!0}),w.sharedAppKit=this.appKit,await this.waitForSessionRestore(),this.appKit});d(this,"waitForSessionRestore",async()=>{const e=this.appKit;if(!e)return;const t=e.getAccount();if((t==null?void 0:t.status)==="connected"||(t==null?void 0:t.status)==="disconnected")return;const r=t!=null&&t.status?5e3:500;return new Promise(o=>{const s=setTimeout(()=>{a==null||a(),o()},r),a=e.subscribeAccount(c=>{((c==null?void 0:c.status)==="connected"||(c==null?void 0:c.status)==="disconnected")&&(clearTimeout(s),a==null||a(),o())},"eip155")})});d(this,"validateRestoredSession",async e=>{try{const t=e.getWalletProvider();return t?(await t.request({method:"eth_chainId"}),!0):!1}catch(t){return w.isStaleSessionError(t)?!1:(console.warn("Error validating WalletConnect session:",t),!0)}});d(this,"openModalAndWaitForConnection",async()=>{const e=this.requireAppKit(),t=()=>new Promise((r,o)=>{let s=!1;const a=(p,v)=>{s||(s=!0,clearTimeout(c),p==null||p(),v==null||v())},c=setTimeout(()=>{a(),o(new Error("Connection timeout"))},3e5),u=e.subscribeAccount(p=>{p!=null&&p.isConnected&&(p!=null&&p.address)&&(a(u,f),r(p.address))},"eip155"),f=e.subscribeState(p=>{!p.open&&!e.getAddress("eip155")&&(a(u,f),o(new Error("User closed the modal without connecting")))})});try{await e.open({view:"Connect"}),await t()}catch(r){if(w.isStaleSessionError(r)){if(console.warn("Stale session detected, retrying connection..."),w.clearStorage(),await this.initAppKit(),!this.appKit)throw new Error("AppKit reinitialization failed");await this.appKit.open({view:"Connect"}),await t()}else throw r}});d(this,"activate",async()=>{try{await this.initAppKit()}catch(c){if(console.error("Error initializing AppKit",c),w.isStaleSessionError(c))console.warn("WalletConnect session is stale, clearing storage and retrying..."),w.clearStorage(),await this.initAppKit();else throw c}const e=this.requireAppKit(),t=e.getAccount();(t==null?void 0:t.status)==="connected"&&(t==null?void 0:t.address)?await this.validateRestoredSession(e)||(console.warn("Restored WalletConnect session is stale, clearing and prompting reconnection..."),w.clearStorage(),await this.initAppKit(),await this.openModalAndWaitForConnection()):await this.openModalAndWaitForConnection();const o=e.getWalletProvider();if(!o)throw new Error("Failed to get wallet provider after connection");this.provider=o,this.accountUnsubscribe=e.subscribeAccount(c=>{c!=null&&c.address&&this.handleAccountsChanged([c.address])},"eip155"),this.networkUnsubscribe=e.subscribeCaipNetworkChange(c=>{c!=null&&c.id&&this.handleChainChanged(c.id)});const s=e.getAddress("eip155");return{chainId:e.getChainId()||this.desiredChainId,account:s||null,provider:this.provider}});d(this,"getProvider",async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider});d(this,"getChainId",async()=>this.requireAppKit().getChainId()??this.desiredChainId);d(this,"getAccount",async()=>this.requireAppKit().getAddress("eip155")??null);d(this,"getWalletName",()=>{var e,t,r;return(r=(t=(e=this.appKit)==null?void 0:e.getWalletInfo)==null?void 0:t.call(e,"eip155"))==null?void 0:r.name});d(this,"deactivate",()=>{});d(this,"clearInstance",()=>{var t,r;const e=this.provider;if(e){this.provider=void 0;try{(t=this.accountUnsubscribe)==null||t.call(this),(r=this.networkUnsubscribe)==null||r.call(this)}catch(o){console.warn("Error unsubscribing from AppKit events:",o)}return this.accountUnsubscribe=void 0,this.networkUnsubscribe=void 0,e}});d(this,"close",async()=>{var t;if(this.clearInstance()){try{await((t=this.appKit)==null?void 0:t.disconnect())}catch(r){console.warn("Error during WalletConnect disconnect:",r)}this.appKit=void 0}});d(this,"handleAccountsChanged",e=>{this.emitUpdate({account:e[0]})});d(this,"handleChainChanged",e=>{this.emitUpdate({chainId:e})});d(this,"handleDisconnect",()=>{this.clearInstance(),this.emitDeactivate()});this.desiredChainId=e}requireAppKit(){if(!this.appKit)throw new Error("AppKit is not initialized");return this.appKit}static isStaleSessionError(e){if(e instanceof Error){const t=e.message.toLowerCase();return t.includes("no matching key")||t.includes("session topic doesn't exist")||t.includes("missing or invalid")||t.includes("expired")||t.includes("user rejected methods")||t.includes("is not configured")||t.includes("cannot read properties")||t.includes("undefined is not an object")}return!1}async getNetworks(){const e=w.configuration.chains,t=await m(()=>import("./networks-BP4WLO6B.js"),__vite__mapDeps([31,19,5,1,32,33,26,14,3,4,12,15,34,35,30])),r=e.map(s=>{const a=be[s];if(a)return t[a]}).filter(s=>s!==void 0);if(r.length===0)throw new Error("No supported networks found for WalletConnect");const o=r.find(s=>s.id===this.desiredChainId);if(o){const s=r.filter(a=>a.id!==this.desiredChainId);return[o,...s]}return[r[0],...r.slice(1)]}};d(w,"configuration",I()[g.ProviderType.WALLET_CONNECT_V2]),d(w,"clearStorage",(e=new Z)=>{e.removeRegExp(new RegExp("^wc@2:")),e.removeRegExp(new RegExp("^@appkit")),w.sharedAppKit=null}),d(w,"sharedAppKit",null);let _=w;class H extends E{constructor(e,t=!1){super({supportedChainIds:I()[g.ProviderType.MAGIC].chains});d(this,"isTest");d(this,"chainId");d(this,"account");d(this,"magic");d(this,"activate",async()=>{if(this.magic=await this.buildMagicInstance(this.chainId),!await this.magic.user.isLoggedIn())throw new Error("Magic: user isn't logged in");const t=await this.getProvider(),r=await t.request({method:"eth_accounts"});return this.account=r[0]??null,{provider:t,chainId:this.chainId,account:this.account}});d(this,"getProvider",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");const e=await this.magic.wallet.getProvider();return{...e,isMagic:!0,request:new Proxy(e.request,{apply:async(t,r,o)=>{var s,a,c;if(((s=o[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const u=parseInt((c=(a=o[0])==null?void 0:a.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(u)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(u),this.emitUpdate({chainId:u}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return t.bind(e)(...o)}}),sendAsync:new Proxy(e.send,{apply:async(t,r,o)=>t.bind(e)(...o)})}});d(this,"getChainId",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId});d(this,"getAccount",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account});d(this,"getEmail",async()=>{try{if(!this.magic||!await this.magic.user.isLoggedIn())return;const t=await this.magic.user.getInfo();return(t==null?void 0:t.email)??void 0}catch{return}});d(this,"deactivate",()=>{});d(this,"buildMagicInstance",async e=>{const{Magic:t}=await m(async()=>{const{Magic:a}=await import("./index-BQyoN2fu.js");return{Magic:a}},__vite__mapDeps([36,5,1,37])),{OAuthExtension:r}=await m(async()=>{const{OAuthExtension:a}=await import("./index-CdlIZMru.js");return{OAuthExtension:a}},__vite__mapDeps([38,37,5,1,39,7,8,4,10,3])),o=I()[this.isTest?g.ProviderType.MAGIC_TEST:g.ProviderType.MAGIC],s=o.urls[e];if(!s)throw new Error(`Unsupported chainId for Magic: ${e}. Supported chains: ${Object.keys(o.urls).join(", ")}`);return new t(o.apiKey,{extensions:[new r],network:{rpcUrl:s,chainId:e}})});this.isTest=t,this.chainId=e,this.account=null}close(){if(!this.magic)throw new Error("Magic: instance was not initialized");return this.magic.user.logout()}}class ee extends H{constructor(n){super(n,!0)}}class te extends E{constructor(e){var t;super({supportedChainIds:((t=I().thirdweb)==null?void 0:t.chains)??[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA]});d(this,"chainId");d(this,"client");d(this,"wallet");d(this,"chain");d(this,"eip1193Provider");d(this,"activate",async()=>{const e=await this.getClient(),t=await this.getWallet();let r;try{r=await t.autoConnect({client:e})}catch{throw new Error("Thirdweb: No active session. User must authenticate first.")}if(!r)throw new Error("Thirdweb: No active session. User must authenticate first.");const o=await this.getChain(),{EIP1193:s}=await m(async()=>{const{EIP1193:u}=await import("./wallets-CpTLFdBc.js").then(f=>f.Q);return{EIP1193:u}},__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]));return this.eip1193Provider=s.toProvider({wallet:t,chain:o,client:e}),{provider:await this.getProvider(),chainId:this.chainId,account:r.address}});d(this,"getProvider",async()=>{if(!this.eip1193Provider)throw new Error("Thirdweb: wallet is not connected. Call activate() first.");const e=this.eip1193Provider;return{...e,isDapper:!1,isFortmatic:!1,isMetamask:!1,isMagic:!1,isThirdweb:!0,request:new Proxy(e.request,{apply:async(t,r,o)=>{var a,c,u,f;if(((a=o[0])==null?void 0:a.method)==="wallet_switchEthereumChain"){const p=(f=(u=(c=o[0])==null?void 0:c.params)==null?void 0:u[0])==null?void 0:f.chainId,v=parseInt(p,16);if(this.supportedChainIds&&!this.supportedChainIds.includes(v))throw new Error("Thirdweb: unsupported chain");this.chainId=v,this.chain=null,this.eip1193Provider=null;const T=await this.getClient(),ne=await this.getWallet(),ie=await this.getChain(),{EIP1193:oe}=await m(async()=>{const{EIP1193:ae}=await import("./wallets-CpTLFdBc.js").then(se=>se.Q);return{EIP1193:ae}},__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]));return this.eip1193Provider=oe.toProvider({wallet:ne,chain:ie,client:T}),this.emitUpdate({chainId:v}),null}return Reflect.apply(t,e,o)}}),sendAsync:new Proxy(e.request,{apply:async(t,r,o)=>Reflect.apply(t,e,o)})}});d(this,"getChainId",async()=>this.chainId);d(this,"getAccount",async()=>{if(!this.wallet)return null;try{const e=this.wallet.getAccount();return(e==null?void 0:e.address)??null}catch{return null}});d(this,"getEmail",async()=>{try{const e=await this.getClient(),{getUserEmail:t}=await m(async()=>{const{getUserEmail:o}=await import("./in-app-1tdAC6_d.js");return{getUserEmail:o}},__vite__mapDeps([57,42,43,5,1,48,47,14,3,4,12,15,58,59]));return await t({client:e})??void 0}catch{return}});d(this,"deactivate",()=>{});this.chainId=e,this.client=null,this.wallet=null,this.chain=null,this.eip1193Provider=null}async getClient(){if(this.client)return this.client;let e;try{e=await m(()=>import("./thirdweb-DuwS2_Z5.js").then(r=>r.t),__vite__mapDeps([60,43,5,1,42,41,14,3,4,12,15,44,45,46,61,62,63,64,65,66,55,67,68,69,70,54]))}catch{throw new Error("Thirdweb: thirdweb package is not installed.")}const t=I().thirdweb;return this.client=e.createThirdwebClient({clientId:t.clientId}),this.client}async getWallet(){if(this.wallet)return this.wallet;let e;try{e=await m(()=>import("./wallets-CpTLFdBc.js").then(t=>t.Q),__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]))}catch{throw new Error("Thirdweb: thirdweb package is not installed. Run: npm install thirdweb")}return this.wallet=e.inAppWallet(),this.wallet}async getChain(){if(this.chain)return this.chain;const e=await m(()=>import("./chains-2ZkFuyps.js"),__vite__mapDeps([71,43,5,1,69,51]));return this.chain=e.defineChain(this.chainId),this.chain}async close(){this.wallet&&await this.wallet.disconnect(),this.wallet=null,this.chain=null,this.eip1193Provider=null}}class M{constructor(n){d(this,"provider");d(this,"id",0);d(this,"on",(n,e)=>this.provider.on(n,e));d(this,"emit",(n,...e)=>this.provider.emit(n,e));d(this,"removeListener",(n,e)=>this.provider.removeListener(n,e));d(this,"request",async({method:n,params:e})=>this.isModernProvider()?this.provider.request({method:n,params:e}):this.send(n,e));d(this,"sendAsync",async(n,e)=>this.hasSendAsync()?this.provider.sendAsync(n,(t,r)=>{r&&!Object.prototype.hasOwnProperty.call(r,"result")?e(t,{id:0,jsonrpc:"2.0",result:r}):e(t,r)}):this.send(n,e));this.provider=n}static adapt(n){const e=new M(n);return{...n,on:e.on,emit:e.emit,removeListener:e.removeListener,request:e.request,sendAsync:e.sendAsync,send:e.send.bind(e)}}async send(n,e){let t,r,o;const s=typeof e=="function";if(s){const a=n;r=a.params||[],t=a.method,o=e}else t=n,r=e||[],o=(a,c)=>{if(a)throw a;return c};if(this.isModernProvider()){const[a,c]=await this.provider.request({method:t,params:r}).then(f=>[null,f]).catch(f=>[f,void 0]);return o(a,s?{id:"",jsonrpc:"2.0",result:c}:c)}else{this.patchOldMobile();const[a,c]=s?await new Promise(u=>this.provider.send(n,(f,p)=>{u([f,p])})):await new Promise(u=>this.provider.send({jsonrpc:"2.0",id:++this.id,method:t,params:r},(f,p)=>{const v=p;u([(v==null?void 0:v.error)??f,(v==null?void 0:v.result)??p])}));return o(a,c)}}isModernProvider(){return"request"in this.provider&&typeof this.provider.request=="function"}hasSendAsync(){return typeof this.provider.sendAsync=="function"}patchOldMobile(){this.provider&&!this.provider.isDapper&&!this.provider.isFortmatic&&!this.provider.isMetamask&&this.hasSendAsync()&&this.provider.send!==this.provider.sendAsync&&(this.provider.send=this.provider.sendAsync.bind(this.provider))}}class re{constructor(n){d(this,"storage");d(this,"connector");d(this,"promiseOfConnection");d(this,"getWalletName",()=>{if(this.connector instanceof _)return this.connector.getWalletName()});d(this,"clearConnectionData",()=>{const{storageKey:n}=I();this.storage.remove(n),_.clearStorage(this.storage)});d(this,"handleWeb3ReactDeactivate",async()=>{try{await this.disconnect()}catch(n){console.error(n)}});this.storage=n}async connect(n,e=h.ChainId.ETHEREUM_MAINNET){if(this.connector)try{await this.disconnect()}catch(a){console.error("Error disconnecting previous connection",a)}const t=this.buildConnector(n,e);t.on(C.Deactivate,this.handleWeb3ReactDeactivate);let{provider:r,account:o}={};try{const a=await t.activate();r=a.provider,o=a.account}catch(a){throw console.error("Error activating the connector",a),a}(n===l.ProviderType.MAGIC||n===l.ProviderType.MAGIC_TEST||n===l.ProviderType.THIRDWEB)&&t.on(C.Update,({chainId:a})=>{a&&this.setConnectionData(n,a)});let s=e;if(n===l.ProviderType.INJECTED){const a=await r.request({method:"eth_chainId"});s=a?parseInt(a,16):s}return this.connector=t,this.setConnectionData(n,s),{provider:M.adapt(r),providerType:n,account:o||"",chainId:s}}isConnected(){return!!this.connector&&!!this.getConnectionData()}async tryPreviousConnection(){const n=this.getConnectionData();if(!n)throw new Error("Could not find a valid provider. Make sure to call the `connect` method first");if(this.connector){const[t,r]=await Promise.all([this.connector.getProvider(),this.connector.getAccount()]);return{provider:t,providerType:n.providerType,chainId:n.chainId,account:r||""}}let e;try{e=this.promiseOfConnection?await this.promiseOfConnection:await(this.promiseOfConnection=this.connect(n.providerType,n.chainId))}finally{this.promiseOfConnection=void 0}return{...e,chainId:this.getConnectionData().chainId}}getAvailableProviders(){const n=[l.ProviderType.FORTMATIC,l.ProviderType.WALLET_CONNECT,l.ProviderType.WALLET_LINK];return typeof window<"u"&&window.ethereum!==void 0?n.unshift(l.ProviderType.INJECTED):n.unshift(l.ProviderType.METAMASK_MOBILE),n}async disconnect(){this.connector&&(this.connector.removeAllListeners(C.Deactivate),this.connector.removeAllListeners(C.Update),this.connector.deactivate(),this.isClosableConnector()&&await this.connector.close()),this.clearConnectionData(),this.connector=void 0}async getProvider(){if(!this.connector)throw new Error("No valid connector found. Please .connect() first");return this.connector.getProvider()}async getEmail(){const n=this.connector;if(n!=null&&n.getEmail)try{return await n.getEmail()}catch{return}}async createProvider(n,e=h.ChainId.ETHEREUM_MAINNET){const r=await this.buildConnector(n,e).getProvider();return M.adapt(r)}buildConnector(n,e){switch(n){case l.ProviderType.INJECTED:return new J(e);case l.ProviderType.FORTMATIC:return new z(e);case l.ProviderType.MAGIC:return new H(e);case l.ProviderType.MAGIC_TEST:return new ee(e);case l.ProviderType.WALLET_LINK:return new X(e);case l.ProviderType.NETWORK:return new Q(e);case l.ProviderType.WALLET_CONNECT_V2:return new _(e);case l.ProviderType.THIRDWEB:return new te(e);default:throw new Error(`Invalid provider ${n}`)}}getConnectionData(){const{storageKey:n}=I(),e=this.storage.get(n);try{return e?JSON.parse(e):void 0}catch(t){console.error("Error parsing connection data",t);return}}storeConnectionData(n,e){this.setConnectionData(n,e)}setConnectionData(n,e){const{storageKey:t}=I(),r=JSON.stringify({providerType:n,chainId:e});this.storage.set(t,r)}isClosableConnector(){return this.connector&&"close"in this.connector}}const Oe=new re(new Z),De=Object.freeze(Object.defineProperty({__proto__:null,AbstractConnector:E,ConnectionManager:re,ErrorUnlockingWallet:G,FortmaticConnector:z,InjectedConnector:J,MagicConnector:H,MagicTestConnector:ee,NetworkConnector:Q,ProviderAdapter:M,ThirdwebConnector:te,WalletConnectV2Connector:_,WalletLinkConnector:X,connection:Oe,getConfiguration:I,getRpcUrls:A},Symbol.toStringTag,{value:"Module"}));export{je as N,Oe as c,$ as e,De as i};
|
|
3
|
-
//# sourceMappingURL=index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/fortmatic-BNzOK5JO.js","_assets/react-W6DPPZx2.js","_assets/index-DTdCdfzP.js","_assets/dcl-schemas-Ch5C6FYh.js","_assets/ethers-C4a6Jf75.js","_assets/sentry-Bf5cwK6Z.js","_assets/index-CeVKESs-.js","_assets/index-DK9xkfU9.js","_assets/index-DH4hRgnV.js","_assets/hooks.module-54Oj1-WJ.js","_assets/events-VdMuMMqI.js","_assets/browser-pgcIASRW.js","_assets/intl-AKLEHPeO.js","_assets/index-DaiLEIU7.js","_assets/index-DljoYvOw.js","_assets/index-xarUdNs4.css","_assets/W3MFrameProviderSingleton-DCDZ_-PL.js","_assets/index-rCQWEO5b.js","_assets/browser-ponyfill-BT5LnFt5.js","_assets/NetworkUtil-DNqR901Z.js","_assets/index-yj36vTKt.js","_assets/index-OpYIGLSa.js","_assets/index-B62cgvkR.js","_assets/index.es-CFqE1B_-.js","_assets/lit-element-wjYUA6aF.js","_assets/index-DBAqJN7s.js","_assets/sendRawTransaction-DfekQM89.js","_assets/index-D_deVb-D.js","_assets/store-80QKZ2rN.js","_assets/custom-DRklnkpg.js","_assets/writeContract-BIL6JKQ4.js","_assets/networks-BYYvKVPZ.js","_assets/zoraTestnet-BbdMl-3q.js","_assets/verifyHash-BuoiWnLm.js","_assets/secp256k1-NmEPlAZw.js","_assets/serializeTransaction-CxIs4lGj.js","_assets/index-CTbbYDIU.js","_assets/index-CVY0S9OX.js","_assets/index-DyD3itci.js","_assets/index-iicecV3n.js","_assets/wallets-CMSR8zSM.js","_assets/signing-BK_PENgC.js","_assets/prepare-contract-call-Do2FNRqz.js","_assets/utils-DWFFXuVr.js","_assets/to-serializable-transaction-BCAsGvu5.js","_assets/transaction-DK3gmzym.js","_assets/get-bytecode-IOvurXFJ.js","_assets/execute-DYxb7ppj.js","_assets/detectExtension-DiXMx_W2.js","_assets/linkAccount-CAN7lbWC.js","_assets/index-CYDLEc6j.js","_assets/ethereum-CRRCl3Oi.js","_assets/types-BeDU9GfL.js","_assets/hashTypedData-BcOqLlJx.js","_assets/send-transaction-tJISdP6Y.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/index-C0dl8jmt.js","_assets/in-app-BdFgV4nn.js","_assets/passkeys-eBxkaLcH.js","_assets/uint8-array-BMe04WIx.js","_assets/thirdweb-DPdu8_Iz.js","_assets/wait-for-tx-receipt-Dk2kUnaX.js","_assets/transactionReceipt-SVsD6Wmt.js","_assets/sleep-fBr8OToA.js","_assets/eth_estimateGas-BeLpFZ-K.js","_assets/eth_getStorageAt-BbB5SMWJ.js","_assets/eth_getTransactionCount-DH_qdxpP.js","_assets/decimals-C5CduTab.js","_assets/decimals-DAvyrcZu.js","_assets/zora-sepolia-CGWAmNQa.js","_assets/send-batch-transaction-CnI2VsQr.js","_assets/chains-WDppbU6H.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var ce=Object.defineProperty;var de=(i,n,e)=>n in i?ce(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e;var d=(i,n,e)=>de(i,typeof n!="symbol"?n+"":n,e);import{e as h,f as l,g}from"./dcl-schemas-Ch5C6FYh.js";import{g as ue}from"./react-W6DPPZx2.js";import{r as he}from"./events-VdMuMMqI.js";import{_ as m}from"./index-DljoYvOw.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new i.Error().stack;n&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[n]="d38af35e-af84-4ae4-9ce8-75d45f3ee267",i._sentryDebugIdIdentifier="sentry-dbid-d38af35e-af84-4ae4-9ce8-75d45f3ee267")}catch{}})();var C;(function(i){i.Update="Web3ReactUpdate",i.Error="Web3ReactError",i.Deactivate="Web3ReactDeactivate"})(C||(C={}));const le={clientId:"e1adce863fe287bb6cf0e3fd90bdb77f",chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY]},pe={storageKey:"decentraland-connect-storage-key",[l.ProviderType.INJECTED]:{},[l.ProviderType.FORTMATIC]:{apiKeys:{[h.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[h.ChainId.ETHEREUM_SEPOLIA]:"pk_test_5B728BEFE5C10911"},urls:A(l.ProviderType.FORTMATIC)},[l.ProviderType.NETWORK]:{urls:A(l.ProviderType.NETWORK)},[l.ProviderType.WALLET_LINK]:{appName:"Decentraland",urls:A(l.ProviderType.WALLET_LINK)},[l.ProviderType.WALLET_CONNECT_V2]:{projectId:"61570c542c2d66c659492e5b24a41522",urls:A(l.ProviderType.WALLET_CONNECT_V2),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.ARBITRUM_MAINNET,h.ChainId.OPTIMISM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},thirdweb:le};function I(){return pe}function A(i){const n={[h.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[h.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[h.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[h.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[h.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[h.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[h.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[h.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[h.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let e="";switch(i){case l.ProviderType.WALLET_LINK:e="walletlink";break;case l.ProviderType.FORTMATIC:e="fortmatic";break;case l.ProviderType.MAGIC:e="magic";break;case l.ProviderType.MAGIC_TEST:e="magic";break;case l.ProviderType.WALLET_CONNECT_V2:e="walletconnect-v2";break;case l.ProviderType.THIRDWEB:e="thirdweb";break}if(e){const t=Object.keys(n);for(const r of t)n[r]+=`?project=${e}`}return n}var $=he();const je=ue($);function fe(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n}var E=(function(i){fe(n,i);function n(t){var r,o=t===void 0?{}:t,s=o.supportedChainIds;return r=i.call(this)||this,r.supportedChainIds=s,r}var e=n.prototype;return e.emitUpdate=function(r){this.emit(C.Update,r)},e.emitError=function(r){this.emit(C.Error,r)},e.emitDeactivate=function(){this.emit(C.Deactivate)},n})($.EventEmitter);class z extends E{constructor(e){const t=I()[g.ProviderType.FORTMATIC],r=Object.keys(t.apiKeys).map(o=>Number(o));if(!r.includes(e))throw new Error(`Invariant error: Unsupported chainId ${e}`);super({supportedChainIds:r});d(this,"apiKey");d(this,"chainId");d(this,"rpcUrl");d(this,"fortmatic");this.apiKey=t.apiKeys[e],this.chainId=e,this.rpcUrl=t.urls[e]}async activate(){if(!this.fortmatic){const{default:t}=await m(async()=>{const{default:r}=await import("./fortmatic-BNzOK5JO.js").then(o=>o.f);return{default:r}},__vite__mapDeps([0,1]));this.fortmatic=new t(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const e=await this.fortmatic.getProvider().enable().then(t=>t[0]);return{provider:this.fortmatic.getProvider(),chainId:this.chainId,account:e}}getApiKey(){return this.apiKey}async getProvider(){return this.fortmatic.getProvider()}async getChainId(){return this.chainId}async getAccount(){return this.fortmatic.getProvider().send("eth_accounts").then(e=>e[0])}deactivate(){}close(){return this.fortmatic.user.logout()}}function j(){return j=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}return i},j.apply(this,arguments)}function q(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n}function D(i){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(i)}function L(i,n){return L=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},L(i,n)}function ve(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(i,n,e){return ve()?O=Reflect.construct:O=function(r,o,s){var a=[null];a.push.apply(a,o);var c=Function.bind.apply(r,a),u=new c;return s&&L(u,s.prototype),u},O.apply(null,arguments)}function we(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function S(i){var n=typeof Map=="function"?new Map:void 0;return S=function(t){if(t===null||!we(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return O(t,arguments,D(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),L(r,t)},S(i)}function b(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function P(i,n){try{var e=i()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}function y(i){return i.hasOwnProperty("result")?i.result:i}var k=(function(i){q(n,i);function n(){var e;return e=i.call(this)||this,e.name=e.constructor.name,e.message="No Ethereum provider was found on window.ethereum.",e}return n})(S(Error)),ge=(function(i){q(n,i);function n(){var e;return e=i.call(this)||this,e.name=e.constructor.name,e.message="The user rejected the request.",e}return n})(S(Error)),me=(function(i){q(n,i);function n(t){var r;return r=i.call(this,t)||this,r.handleNetworkChanged=r.handleNetworkChanged.bind(b(r)),r.handleChainChanged=r.handleChainChanged.bind(b(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(b(r)),r.handleClose=r.handleClose.bind(b(r)),r}var e=n.prototype;return e.handleChainChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.handleAccountsChanged=function(r){r.length===0?this.emitDeactivate():this.emitUpdate({account:r[0]})},e.handleClose=function(r,o){this.emitDeactivate()},e.handleNetworkChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.activate=function(){try{var r=function(f){if(o)return f;function p(){return j({provider:window.ethereum},a?{account:a}:{})}var v=(function(){if(!a)return Promise.resolve(window.ethereum.enable().then(function(T){return T&&y(T)[0]})).then(function(T){a=T})})();return v&&v.then?v.then(p):p(v)},o=!1,s=this;if(!window.ethereum)throw new k;window.ethereum.on&&(window.ethereum.on("chainChanged",s.handleChainChanged),window.ethereum.on("accountsChanged",s.handleAccountsChanged),window.ethereum.on("close",s.handleClose),window.ethereum.on("networkChanged",s.handleNetworkChanged)),window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1);var a,c=P(function(){return Promise.resolve(window.ethereum.send("eth_requestAccounts").then(function(u){return y(u)[0]})).then(function(u){a=u})},function(u){if(u.code===4001)throw new ge});return Promise.resolve(c&&c.then?c.then(r):r(c))}catch(u){return Promise.reject(u)}},e.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(r){return Promise.reject(r)}},e.getChainId=function(){try{var r=function(){function c(){if(!o)try{o=y(window.ethereum.send({method:"net_version"}))}catch{}return o||(window.ethereum.isDapper?o=y(window.ethereum.cachedResults.net_version):o=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),o}var u=(function(){if(!o){var f=P(function(){return Promise.resolve(window.ethereum.send("net_version").then(y)).then(function(p){o=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var o,s=P(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(y)).then(function(a){o=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.getAccount=function(){try{var r=function(){function c(){return o||(o=y(window.ethereum.send({method:"eth_accounts"}))[0]),o}var u=(function(){if(!o){var f=P(function(){return Promise.resolve(window.ethereum.enable().then(function(p){return y(p)[0]})).then(function(p){o=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var o,s=P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(a){return y(a)[0]})).then(function(a){o=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.deactivate=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},e.isAuthorized=function(){try{return window.ethereum?Promise.resolve(P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(r){return y(r).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(r){return Promise.reject(r)}},n})(E);class G extends Error{constructor(){super("There was an error unlocking your wallet. Please be sure your wallet is unlocked and try again."),this.name="ErrorUnlockingWallet"}}const Ie=60*1e3;class J extends me{constructor(n){super({supportedChainIds:[n]})}async activate(){const n=new Promise((t,r)=>{setTimeout(()=>{r(new G)},Ie)}),e=super.activate();return Promise.race([e,n])}}var ye="Invariant failed";function V(i,n){throw new Error(ye)}function Y(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,N(i,n)}function K(i){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(i)}function N(i,n){return N=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},N(i,n)}function Ce(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function R(i,n,e){return Ce()?R=Reflect.construct:R=function(r,o,s){var a=[null];a.push.apply(a,o);var c=Function.bind.apply(r,a),u=new c;return s&&N(u,s.prototype),u},R.apply(null,arguments)}function Ee(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function W(i){var n=typeof Map=="function"?new Map:void 0;return W=function(t){if(t===null||!Ee(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return R(t,arguments,K(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),N(r,t)},W(i)}var U=(function(i){Y(n,i);function n(e,t,r){var o;return o=i.call(this)||this,o.code=t,o.data=r,o.name=o.constructor.name,o.message=e,o}return n})(W(Error)),Ae=function(n,e){var t=this,r=this;this.isMetaMask=!1,this.sendAsync=function(s,a){console.log("sendAsync",s.method,s.params),r.request(s.method,s.params).then(function(c){return a(null,{jsonrpc:"2.0",id:s.id,result:c})}).catch(function(c){return a(c,null)})},this.request=function(s,a){try{return typeof s!="string"&&(a=s.params,s=s.method),Promise.resolve(fetch(t.url,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:s,params:a}),headers:{"Content-Type":"application/json"}})).then(function(c){if(!c.ok)throw new U(c.status+": "+c.statusText,-32e3);return Promise.resolve(c.json()).then(function(u){if("error"in u){var f,p,v;throw new U(u==null||(f=u.error)==null?void 0:f.message,u==null||(p=u.error)==null?void 0:p.code,u==null||(v=u.error)==null?void 0:v.data)}else{if("result"in u)return u.result;throw new U("Received unexpected JSON-RPC response to "+s+" request.",-32e3,u)}})})}catch(c){return Promise.reject(c)}},this.chainId=n,this.url=e;var o=new URL(e);this.host=o.host,this.path=o.pathname},Te=(function(i){Y(n,i);function n(t){var r,o=t.urls,s=t.defaultChainId;return s||Object.keys(o).length===1||V(),r=i.call(this,{supportedChainIds:Object.keys(o).map(function(a){return Number(a)})})||this,r.currentChainId=s||Number(Object.keys(o)[0]),r.providers=Object.keys(o).reduce(function(a,c){return a[Number(c)]=new Ae(Number(c),o[Number(c)]),a},{}),r}var e=n.prototype;return e.activate=function(){try{var r=this;return Promise.resolve({provider:r.providers[r.currentChainId],chainId:r.currentChainId,account:null})}catch(o){return Promise.reject(o)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.providers[r.currentChainId])}catch(o){return Promise.reject(o)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.currentChainId)}catch(o){return Promise.reject(o)}},e.getAccount=function(){return Promise.resolve(null)},e.deactivate=function(){},e.changeChainId=function(r){Object.keys(this.providers).includes(r.toString())||V(),this.currentChainId=r,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:r})},n})(E);class Q extends Te{constructor(n){super({urls:I()[l.ProviderType.NETWORK].urls,defaultChainId:n})}}function x(){return x=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}return i},x.apply(this,arguments)}function Pe(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,F(i,n)}function F(i,n){return F=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},F(i,n)}function B(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}var _e=1,Ne=(function(i){Pe(n,i);function n(t){var r,o=t.url,s=t.appName,a=t.appLogoUrl,c=t.darkMode,u=t.supportedChainIds;return r=i.call(this,{supportedChainIds:u})||this,r.url=o,r.appName=s,r.appLogoUrl=a,r.darkMode=c||!1,r.handleChainChanged=r.handleChainChanged.bind(B(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(B(r)),r}var e=n.prototype;return e.activate=function(){try{var r=this,o=function(){return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(c){var u=c[0];return r.provider.on("chainChanged",r.handleChainChanged),r.provider.on("accountsChanged",r.handleAccountsChanged),{provider:r.provider,account:u}})},s=(function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)r.provider=window.ethereum;else{var a=(function(){if(!r.walletLink)return Promise.resolve(m(()=>import("./index-DTdCdfzP.js").then(c=>c.i),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11,12])).then(function(c){var u;return(u=c==null?void 0:c.default)!=null?u:c})).then(function(c){r.walletLink=new c(x({appName:r.appName,darkMode:r.darkMode},r.appLogoUrl?{appLogoUrl:r.appLogoUrl}:{})),r.provider=r.walletLink.makeWeb3Provider(r.url,_e)})})();if(a&&a.then)return a.then(function(){})}})();return Promise.resolve(s&&s.then?s.then(o):o(s))}catch(a){return Promise.reject(a)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.provider)}catch(o){return Promise.reject(o)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.provider.chainId)}catch(o){return Promise.reject(o)}},e.getAccount=function(){try{var r=this;return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(o){return o[0]})}catch(o){return Promise.reject(o)}},e.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},e.close=function(){try{var r=this;return r.provider.close(),r.emitDeactivate(),Promise.resolve()}catch(o){return Promise.reject(o)}},e.handleChainChanged=function(r){this.emitUpdate({chainId:r})},e.handleAccountsChanged=function(r){this.emitUpdate({account:r[0]})},n})(E);class X extends Ne{constructor(n){const e=I()[g.ProviderType.WALLET_LINK],t=e.urls[n];if(!t)throw new Error(`Unsupported chainId for WalletLink: ${n}. Supported chains: ${Object.keys(e.urls).join(", ")}`);super({url:t,appName:e.appName,supportedChainIds:[n]})}}class Me{}class Z extends Me{get(n){const e=window.localStorage.getItem(n);return e===null?void 0:e}set(n,e){window.localStorage.setItem(n,e)}remove(n){window.localStorage.removeItem(n)}removeRegExp(n){for(let e=localStorage.length-1;e>=0;e--){const t=localStorage.key(e);t&&n.test(t)&&localStorage.removeItem(t)}}}const be={[g.ChainId.ETHEREUM_MAINNET]:"mainnet",[g.ChainId.ETHEREUM_SEPOLIA]:"sepolia",[g.ChainId.MATIC_MAINNET]:"polygon",[g.ChainId.MATIC_AMOY]:"polygonAmoy",[g.ChainId.ARBITRUM_MAINNET]:"arbitrum",[g.ChainId.OPTIMISM_MAINNET]:"optimism",[g.ChainId.AVALANCHE_MAINNET]:"avalanche",[g.ChainId.BSC_MAINNET]:"bsc",[g.ChainId.FANTOM_MAINNET]:"fantom"},w=class w extends E{constructor(e){super({supportedChainIds:w.configuration.chains});d(this,"desiredChainId");d(this,"appKit");d(this,"provider");d(this,"accountUnsubscribe");d(this,"networkUnsubscribe");d(this,"initAppKit",async()=>{if(w.sharedAppKit)return this.appKit=w.sharedAppKit,this.appKit;const{createAppKit:e}=await m(async()=>{const{createAppKit:s}=await import("./index-DaiLEIU7.js").then(a=>a.h);return{createAppKit:s}},__vite__mapDeps([13,14,1,3,5,4,12,15,16,17,18,19,20,21,22,23,24])),{WagmiAdapter:t}=await m(async()=>{const{WagmiAdapter:s}=await import("./index-DBAqJN7s.js").then(a=>a.b);return{WagmiAdapter:s}},__vite__mapDeps([25,16,3,1,17,5,18,19,14,4,12,15,26,27,6,28,29,30])),r=await this.getNetworks(),o=new t({networks:r,projectId:w.configuration.projectId});return this.appKit=e({adapters:[o],projectId:w.configuration.projectId,networks:r,defaultNetwork:r[0],metadata:{name:"Decentraland",description:"Decentraland - Virtual World",url:typeof window<"u"?window.location.origin:"https://decentraland.org",icons:["https://decentraland.org/favicon.ico"]},themeMode:"dark",themeVariables:{"--w3m-z-index":3e3},features:{analytics:!1,email:!1,socials:!1,onramp:!1,swaps:!1},enableInjected:!0,enableEIP6963:!0}),w.sharedAppKit=this.appKit,await this.waitForSessionRestore(),this.appKit});d(this,"waitForSessionRestore",async()=>{const e=this.appKit;if(!e)return;const t=e.getAccount();if((t==null?void 0:t.status)==="connected"||(t==null?void 0:t.status)==="disconnected")return;const r=t!=null&&t.status?5e3:500;return new Promise(o=>{const s=setTimeout(()=>{a==null||a(),o()},r),a=e.subscribeAccount(c=>{((c==null?void 0:c.status)==="connected"||(c==null?void 0:c.status)==="disconnected")&&(clearTimeout(s),a==null||a(),o())},"eip155")})});d(this,"validateRestoredSession",async e=>{try{const t=e.getWalletProvider();return t?(await t.request({method:"eth_chainId"}),!0):!1}catch(t){return w.isStaleSessionError(t)?!1:(console.warn("Error validating WalletConnect session:",t),!0)}});d(this,"openModalAndWaitForConnection",async()=>{const e=this.requireAppKit(),t=()=>new Promise((r,o)=>{let s=!1;const a=(p,v)=>{s||(s=!0,clearTimeout(c),p==null||p(),v==null||v())},c=setTimeout(()=>{a(),o(new Error("Connection timeout"))},3e5),u=e.subscribeAccount(p=>{p!=null&&p.isConnected&&(p!=null&&p.address)&&(a(u,f),r(p.address))},"eip155"),f=e.subscribeState(p=>{!p.open&&!e.getAddress("eip155")&&(a(u,f),o(new Error("User closed the modal without connecting")))})});try{await e.open({view:"Connect"}),await t()}catch(r){if(w.isStaleSessionError(r)){if(console.warn("Stale session detected, retrying connection..."),w.clearStorage(),await this.initAppKit(),!this.appKit)throw new Error("AppKit reinitialization failed");await this.appKit.open({view:"Connect"}),await t()}else throw r}});d(this,"activate",async()=>{try{await this.initAppKit()}catch(c){if(console.error("Error initializing AppKit",c),w.isStaleSessionError(c))console.warn("WalletConnect session is stale, clearing storage and retrying..."),w.clearStorage(),await this.initAppKit();else throw c}const e=this.requireAppKit(),t=e.getAccount();(t==null?void 0:t.status)==="connected"&&(t==null?void 0:t.address)?await this.validateRestoredSession(e)||(console.warn("Restored WalletConnect session is stale, clearing and prompting reconnection..."),w.clearStorage(),await this.initAppKit(),await this.openModalAndWaitForConnection()):await this.openModalAndWaitForConnection();const o=e.getWalletProvider();if(!o)throw new Error("Failed to get wallet provider after connection");this.provider=o,this.accountUnsubscribe=e.subscribeAccount(c=>{c!=null&&c.address&&this.handleAccountsChanged([c.address])},"eip155"),this.networkUnsubscribe=e.subscribeCaipNetworkChange(c=>{c!=null&&c.id&&this.handleChainChanged(c.id)});const s=e.getAddress("eip155");return{chainId:e.getChainId()||this.desiredChainId,account:s||null,provider:this.provider}});d(this,"getProvider",async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider});d(this,"getChainId",async()=>this.requireAppKit().getChainId()??this.desiredChainId);d(this,"getAccount",async()=>this.requireAppKit().getAddress("eip155")??null);d(this,"getWalletName",()=>{var e,t,r;return(r=(t=(e=this.appKit)==null?void 0:e.getWalletInfo)==null?void 0:t.call(e,"eip155"))==null?void 0:r.name});d(this,"deactivate",()=>{});d(this,"clearInstance",()=>{var t,r;const e=this.provider;if(e){this.provider=void 0;try{(t=this.accountUnsubscribe)==null||t.call(this),(r=this.networkUnsubscribe)==null||r.call(this)}catch(o){console.warn("Error unsubscribing from AppKit events:",o)}return this.accountUnsubscribe=void 0,this.networkUnsubscribe=void 0,e}});d(this,"close",async()=>{var t;if(this.clearInstance()){try{await((t=this.appKit)==null?void 0:t.disconnect())}catch(r){console.warn("Error during WalletConnect disconnect:",r)}this.appKit=void 0}});d(this,"handleAccountsChanged",e=>{this.emitUpdate({account:e[0]})});d(this,"handleChainChanged",e=>{this.emitUpdate({chainId:e})});d(this,"handleDisconnect",()=>{this.clearInstance(),this.emitDeactivate()});this.desiredChainId=e}requireAppKit(){if(!this.appKit)throw new Error("AppKit is not initialized");return this.appKit}static isStaleSessionError(e){if(e instanceof Error){const t=e.message.toLowerCase();return t.includes("no matching key")||t.includes("session topic doesn't exist")||t.includes("missing or invalid")||t.includes("expired")||t.includes("user rejected methods")||t.includes("is not configured")||t.includes("cannot read properties")||t.includes("undefined is not an object")}return!1}async getNetworks(){const e=w.configuration.chains,t=await m(()=>import("./networks-BYYvKVPZ.js"),__vite__mapDeps([31,19,5,1,32,33,26,14,3,4,12,15,34,35,30])),r=e.map(s=>{const a=be[s];if(a)return t[a]}).filter(s=>s!==void 0);if(r.length===0)throw new Error("No supported networks found for WalletConnect");const o=r.find(s=>s.id===this.desiredChainId);if(o){const s=r.filter(a=>a.id!==this.desiredChainId);return[o,...s]}return[r[0],...r.slice(1)]}};d(w,"configuration",I()[g.ProviderType.WALLET_CONNECT_V2]),d(w,"clearStorage",(e=new Z)=>{e.removeRegExp(new RegExp("^wc@2:")),e.removeRegExp(new RegExp("^@appkit")),w.sharedAppKit=null}),d(w,"sharedAppKit",null);let _=w;class H extends E{constructor(e,t=!1){super({supportedChainIds:I()[g.ProviderType.MAGIC].chains});d(this,"isTest");d(this,"chainId");d(this,"account");d(this,"magic");d(this,"activate",async()=>{if(this.magic=await this.buildMagicInstance(this.chainId),!await this.magic.user.isLoggedIn())throw new Error("Magic: user isn't logged in");const t=await this.getProvider(),r=await t.request({method:"eth_accounts"});return this.account=r[0]??null,{provider:t,chainId:this.chainId,account:this.account}});d(this,"getProvider",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");const e=await this.magic.wallet.getProvider();return{...e,isMagic:!0,request:new Proxy(e.request,{apply:async(t,r,o)=>{var s,a,c;if(((s=o[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const u=parseInt((c=(a=o[0])==null?void 0:a.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(u)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(u),this.emitUpdate({chainId:u}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return t.bind(e)(...o)}}),sendAsync:new Proxy(e.send,{apply:async(t,r,o)=>t.bind(e)(...o)})}});d(this,"getChainId",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId});d(this,"getAccount",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account});d(this,"getEmail",async()=>{try{if(!this.magic||!await this.magic.user.isLoggedIn())return;const t=await this.magic.user.getInfo();return(t==null?void 0:t.email)??void 0}catch{return}});d(this,"deactivate",()=>{});d(this,"buildMagicInstance",async e=>{const{Magic:t}=await m(async()=>{const{Magic:a}=await import("./index-CTbbYDIU.js");return{Magic:a}},__vite__mapDeps([36,5,1,37])),{OAuthExtension:r}=await m(async()=>{const{OAuthExtension:a}=await import("./index-DyD3itci.js");return{OAuthExtension:a}},__vite__mapDeps([38,37,5,1,39,7,8,4,10,3])),o=I()[this.isTest?g.ProviderType.MAGIC_TEST:g.ProviderType.MAGIC],s=o.urls[e];if(!s)throw new Error(`Unsupported chainId for Magic: ${e}. Supported chains: ${Object.keys(o.urls).join(", ")}`);return new t(o.apiKey,{extensions:[new r],network:{rpcUrl:s,chainId:e}})});this.isTest=t,this.chainId=e,this.account=null}close(){if(!this.magic)throw new Error("Magic: instance was not initialized");return this.magic.user.logout()}}class ee extends H{constructor(n){super(n,!0)}}class te extends E{constructor(e){var t;super({supportedChainIds:((t=I().thirdweb)==null?void 0:t.chains)??[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA]});d(this,"chainId");d(this,"client");d(this,"wallet");d(this,"chain");d(this,"eip1193Provider");d(this,"activate",async()=>{const e=await this.getClient(),t=await this.getWallet();let r;try{r=await t.autoConnect({client:e})}catch{throw new Error("Thirdweb: No active session. User must authenticate first.")}if(!r)throw new Error("Thirdweb: No active session. User must authenticate first.");const o=await this.getChain(),{EIP1193:s}=await m(async()=>{const{EIP1193:u}=await import("./wallets-CMSR8zSM.js").then(f=>f.Q);return{EIP1193:u}},__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]));return this.eip1193Provider=s.toProvider({wallet:t,chain:o,client:e}),{provider:await this.getProvider(),chainId:this.chainId,account:r.address}});d(this,"getProvider",async()=>{if(!this.eip1193Provider)throw new Error("Thirdweb: wallet is not connected. Call activate() first.");const e=this.eip1193Provider;return{...e,isDapper:!1,isFortmatic:!1,isMetamask:!1,isMagic:!1,isThirdweb:!0,request:new Proxy(e.request,{apply:async(t,r,o)=>{var a,c,u,f;if(((a=o[0])==null?void 0:a.method)==="wallet_switchEthereumChain"){const p=(f=(u=(c=o[0])==null?void 0:c.params)==null?void 0:u[0])==null?void 0:f.chainId,v=parseInt(p,16);if(this.supportedChainIds&&!this.supportedChainIds.includes(v))throw new Error("Thirdweb: unsupported chain");this.chainId=v,this.chain=null,this.eip1193Provider=null;const T=await this.getClient(),ne=await this.getWallet(),ie=await this.getChain(),{EIP1193:oe}=await m(async()=>{const{EIP1193:ae}=await import("./wallets-CMSR8zSM.js").then(se=>se.Q);return{EIP1193:ae}},__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]));return this.eip1193Provider=oe.toProvider({wallet:ne,chain:ie,client:T}),this.emitUpdate({chainId:v}),null}return Reflect.apply(t,e,o)}}),sendAsync:new Proxy(e.request,{apply:async(t,r,o)=>Reflect.apply(t,e,o)})}});d(this,"getChainId",async()=>this.chainId);d(this,"getAccount",async()=>{if(!this.wallet)return null;try{const e=this.wallet.getAccount();return(e==null?void 0:e.address)??null}catch{return null}});d(this,"getEmail",async()=>{try{const e=await this.getClient(),{getUserEmail:t}=await m(async()=>{const{getUserEmail:o}=await import("./in-app-BdFgV4nn.js");return{getUserEmail:o}},__vite__mapDeps([57,42,43,5,1,48,47,14,3,4,12,15,58,59]));return await t({client:e})??void 0}catch{return}});d(this,"deactivate",()=>{});this.chainId=e,this.client=null,this.wallet=null,this.chain=null,this.eip1193Provider=null}async getClient(){if(this.client)return this.client;let e;try{e=await m(()=>import("./thirdweb-DPdu8_Iz.js").then(r=>r.t),__vite__mapDeps([60,43,5,1,42,41,14,3,4,12,15,44,45,46,61,62,63,64,65,66,55,67,68,69,70,54]))}catch{throw new Error("Thirdweb: thirdweb package is not installed.")}const t=I().thirdweb;return this.client=e.createThirdwebClient({clientId:t.clientId}),this.client}async getWallet(){if(this.wallet)return this.wallet;let e;try{e=await m(()=>import("./wallets-CMSR8zSM.js").then(t=>t.Q),__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]))}catch{throw new Error("Thirdweb: thirdweb package is not installed. Run: npm install thirdweb")}return this.wallet=e.inAppWallet(),this.wallet}async getChain(){if(this.chain)return this.chain;const e=await m(()=>import("./chains-WDppbU6H.js"),__vite__mapDeps([71,43,5,1,69,51]));return this.chain=e.defineChain(this.chainId),this.chain}async close(){this.wallet&&await this.wallet.disconnect(),this.wallet=null,this.chain=null,this.eip1193Provider=null}}class M{constructor(n){d(this,"provider");d(this,"id",0);d(this,"on",(n,e)=>this.provider.on(n,e));d(this,"emit",(n,...e)=>this.provider.emit(n,e));d(this,"removeListener",(n,e)=>this.provider.removeListener(n,e));d(this,"request",async({method:n,params:e})=>this.isModernProvider()?this.provider.request({method:n,params:e}):this.send(n,e));d(this,"sendAsync",async(n,e)=>this.hasSendAsync()?this.provider.sendAsync(n,(t,r)=>{r&&!Object.prototype.hasOwnProperty.call(r,"result")?e(t,{id:0,jsonrpc:"2.0",result:r}):e(t,r)}):this.send(n,e));this.provider=n}static adapt(n){const e=new M(n);return{...n,on:e.on,emit:e.emit,removeListener:e.removeListener,request:e.request,sendAsync:e.sendAsync,send:e.send.bind(e)}}async send(n,e){let t,r,o;const s=typeof e=="function";if(s){const a=n;r=a.params||[],t=a.method,o=e}else t=n,r=e||[],o=(a,c)=>{if(a)throw a;return c};if(this.isModernProvider()){const[a,c]=await this.provider.request({method:t,params:r}).then(f=>[null,f]).catch(f=>[f,void 0]);return o(a,s?{id:"",jsonrpc:"2.0",result:c}:c)}else{this.patchOldMobile();const[a,c]=s?await new Promise(u=>this.provider.send(n,(f,p)=>{u([f,p])})):await new Promise(u=>this.provider.send({jsonrpc:"2.0",id:++this.id,method:t,params:r},(f,p)=>{const v=p;u([(v==null?void 0:v.error)??f,(v==null?void 0:v.result)??p])}));return o(a,c)}}isModernProvider(){return"request"in this.provider&&typeof this.provider.request=="function"}hasSendAsync(){return typeof this.provider.sendAsync=="function"}patchOldMobile(){this.provider&&!this.provider.isDapper&&!this.provider.isFortmatic&&!this.provider.isMetamask&&this.hasSendAsync()&&this.provider.send!==this.provider.sendAsync&&(this.provider.send=this.provider.sendAsync.bind(this.provider))}}class re{constructor(n){d(this,"storage");d(this,"connector");d(this,"promiseOfConnection");d(this,"getWalletName",()=>{if(this.connector instanceof _)return this.connector.getWalletName()});d(this,"clearConnectionData",()=>{const{storageKey:n}=I();this.storage.remove(n),_.clearStorage(this.storage)});d(this,"handleWeb3ReactDeactivate",async()=>{try{await this.disconnect()}catch(n){console.error(n)}});this.storage=n}async connect(n,e=h.ChainId.ETHEREUM_MAINNET){if(this.connector)try{await this.disconnect()}catch(a){console.error("Error disconnecting previous connection",a)}const t=this.buildConnector(n,e);t.on(C.Deactivate,this.handleWeb3ReactDeactivate);let{provider:r,account:o}={};try{const a=await t.activate();r=a.provider,o=a.account}catch(a){throw console.error("Error activating the connector",a),a}(n===l.ProviderType.MAGIC||n===l.ProviderType.MAGIC_TEST||n===l.ProviderType.THIRDWEB)&&t.on(C.Update,({chainId:a})=>{a&&this.setConnectionData(n,a)});let s=e;if(n===l.ProviderType.INJECTED){const a=await r.request({method:"eth_chainId"});s=a?parseInt(a,16):s}return this.connector=t,this.setConnectionData(n,s),{provider:M.adapt(r),providerType:n,account:o||"",chainId:s}}isConnected(){return!!this.connector&&!!this.getConnectionData()}async tryPreviousConnection(){const n=this.getConnectionData();if(!n)throw new Error("Could not find a valid provider. Make sure to call the `connect` method first");if(this.connector){const[t,r]=await Promise.all([this.connector.getProvider(),this.connector.getAccount()]);return{provider:t,providerType:n.providerType,chainId:n.chainId,account:r||""}}let e;try{e=this.promiseOfConnection?await this.promiseOfConnection:await(this.promiseOfConnection=this.connect(n.providerType,n.chainId))}finally{this.promiseOfConnection=void 0}return{...e,chainId:this.getConnectionData().chainId}}getAvailableProviders(){const n=[l.ProviderType.FORTMATIC,l.ProviderType.WALLET_CONNECT,l.ProviderType.WALLET_LINK];return typeof window<"u"&&window.ethereum!==void 0?n.unshift(l.ProviderType.INJECTED):n.unshift(l.ProviderType.METAMASK_MOBILE),n}async disconnect(){this.connector&&(this.connector.removeAllListeners(C.Deactivate),this.connector.removeAllListeners(C.Update),this.connector.deactivate(),this.isClosableConnector()&&await this.connector.close()),this.clearConnectionData(),this.connector=void 0}async getProvider(){if(!this.connector)throw new Error("No valid connector found. Please .connect() first");return this.connector.getProvider()}async getEmail(){const n=this.connector;if(n!=null&&n.getEmail)try{return await n.getEmail()}catch{return}}async createProvider(n,e=h.ChainId.ETHEREUM_MAINNET){const r=await this.buildConnector(n,e).getProvider();return M.adapt(r)}buildConnector(n,e){switch(n){case l.ProviderType.INJECTED:return new J(e);case l.ProviderType.FORTMATIC:return new z(e);case l.ProviderType.MAGIC:return new H(e);case l.ProviderType.MAGIC_TEST:return new ee(e);case l.ProviderType.WALLET_LINK:return new X(e);case l.ProviderType.NETWORK:return new Q(e);case l.ProviderType.WALLET_CONNECT_V2:return new _(e);case l.ProviderType.THIRDWEB:return new te(e);default:throw new Error(`Invalid provider ${n}`)}}getConnectionData(){const{storageKey:n}=I(),e=this.storage.get(n);try{return e?JSON.parse(e):void 0}catch(t){console.error("Error parsing connection data",t);return}}storeConnectionData(n,e){this.setConnectionData(n,e)}setConnectionData(n,e){const{storageKey:t}=I(),r=JSON.stringify({providerType:n,chainId:e});this.storage.set(t,r)}isClosableConnector(){return this.connector&&"close"in this.connector}}const Oe=new re(new Z),De=Object.freeze(Object.defineProperty({__proto__:null,AbstractConnector:E,ConnectionManager:re,ErrorUnlockingWallet:G,FortmaticConnector:z,InjectedConnector:J,MagicConnector:H,MagicTestConnector:ee,NetworkConnector:Q,ProviderAdapter:M,ThirdwebConnector:te,WalletConnectV2Connector:_,WalletLinkConnector:X,connection:Oe,getConfiguration:I,getRpcUrls:A},Symbol.toStringTag,{value:"Module"}));export{je as N,Oe as c,$ as e,De as i};
|
|
3
|
+
//# sourceMappingURL=index-BMVjzD_U.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as u,b as f}from"./lit-element-wjYUA6aF.js";import{n as c}from"./class-map-BxMzgOIb.js";import"./index-
|
|
1
|
+
import{i as u,b as f}from"./lit-element-wjYUA6aF.js";import{n as c}from"./class-map-BxMzgOIb.js";import"./index-K65LZonS.js";import{d as v,r as h}from"./index-DaiLEIU7.js";import{c as m,U as p}from"./index-BWdRaOCR.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="ce17afaf-1e4c-4910-ac1b-e6a26fb07132",a._sentryDebugIdIdentifier="sentry-dbid-ce17afaf-1e4c-4910-ac1b-e6a26fb07132")}catch{}})();const g=v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
width: var(--local-width);
|
|
@@ -44,4 +44,4 @@ import{i as u,b as f}from"./lit-element-wjYUA6aF.js";import{n as c}from"./class-
|
|
|
44
44
|
--local-height: var(--apkt-spacing-${e[this.size??"xl"]});
|
|
45
45
|
`,f`${this.visualTemplate()}`}visualTemplate(){if(this.imageSrc)return this.dataset.variant="image",f`<wui-image src=${this.imageSrc} alt=${this.alt??"avatar"}></wui-image>`;if(this.address){this.dataset.variant="generated";const e=p.generateAvatarColors(this.address);return this.style.cssText+=`
|
|
46
46
|
${e}`,null}return this.dataset.variant="default",null}};r.styles=[h,g];o([c()],r.prototype,"imageSrc",void 0);o([c()],r.prototype,"alt",void 0);o([c()],r.prototype,"address",void 0);o([c()],r.prototype,"size",void 0);r=o([m("wui-avatar")],r);
|
|
47
|
-
//# sourceMappingURL=index-
|
|
47
|
+
//# sourceMappingURL=index-BUkfIThl.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b4 as a,b5 as n}from"./index-BU5FCydW.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]="d8723ddf-dd07-4972-8b16-da3f1c18d4e7",t._sentryDebugIdIdentifier="sentry-dbid-d8723ddf-dd07-4972-8b16-da3f1c18d4e7")}catch{}})();const o="https://wearable-preview.decentraland.zone",_="https://decentraland.zone/account",d="https://decentraland.zone/profile",c="https://decentraland.zone/marketplace",R="https://decentraland.zone/shop",s="https://decentraland.zone/builder",L="https://decentraland.zone/dao",r="https://decentraland.zone/governance",U="https://decentraland.zone/events",E="https://decentraland.zone/places",l="https://decentraland.org/create/",O="https://docs.decentraland.org/player/",A="https://decentraland.zone/download/creator-hub/",T="https://decentraland.zone/download/",p="https://decentraland.zone/download_success/",N="ea2ybdmmn1kv",S="master",C="18g1DzIyBxvu0steSwKyQr",h="https://cms-api.decentraland.org",I="https://decentraland.zone/marketplace/names/claim",D="https://decentraland.zone/marketplace/lands",g="https://decentraland.zone/marketplace/account",$="https://decentraland.zone/create/",i="https://studios.decentraland.zone/",P="https://decentraland.zone/builder/collections",m="https://decentraland.zone/builder/names",B="https://decentraland.zone/builder/worlds?tab=dcl",y="https://decentraland.zone/builder/land",M="https://decentraland.zone/events/me/",V="https://decentraland.zone/places/favorites/",b="https://docs.decentraland.org/player/",u="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",F="https://docs.decentraland.org/contributor/",f="https://decentraland.zone/governance/transparency/",K="https://decentraland.zone/governance/proposals/",v="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",z="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",w="https://decentraland.zone/marketplace/settings",H="https://dcl.gg/discord",W="https://reddit.com/r/decentraland",k="https://github.com/decentraland",x="https://x.com/decentraland",j="https://instagram.com/decentraland_foundation/",Q="https://youtube.com/@decentraland_foundation",J="https://tiktok.com/@decentraland_fdn",X="https://linkedin.com/company/decentralandorg",q="https://decentraland.zone/privacy",Z="https://decentraland.zone/terms",tt="https://decentraland.zone/content",nt="https://decentraland.zone/ethics",et="https://decentraland.org/help",at="mailto:hello@decentraland.org",ot="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",dt="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",ct="https://download-gateway.decentraland.zone",Rt="https://decentraland.zone/top-scenes",st="https://testflight.apple.com/join/KF4r3jlU",Lt="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",rt={WEARABLE_PREVIEW_URL:o,ACCOUNT_URL:_,PROFILE_URL:d,MARKETPLACE_URL:c,SHOP_URL:R,BUILDER_URL:s,DAO_URL:L,GOVERNANCE_URL:r,EVENTS_URL:U,PLACES_URL:E,CREATE_URL:l,LEARN_URL:O,CREATOR_HUB_URL:A,DOWNLOAD_URL:T,DOWNLOAD_SUCCESS_URL:p,CONTENTFUL_SPACE_ID:N,CONTENTFUL_ENV:S,CONTENTFUL_NAVBAR_ENTRY_ID:C,CONTENTFUL_CONTENTFUL_CDN_URL:h,MARKETPLACE_NAMES_URL:I,MARKETPLACE_LANDS_URL:D,MARKETPLACE_MY_ASSETS_URL:g,LANDING_CREATORS_URL:$,STUDIOS_URL:i,BUILDER_WEARABLE_EMOTES_URL:P,BUILDER_NAMES_URL:m,BUILDER_WORLDS_URL:B,BUILDER_LAND_URL:y,EVENTS_MY_EVENTS:M,PLACES_MY_FAVORITE_URL:V,DOCS_ABOUT_URL:b,DOCS_CREATORS_URL:u,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:F,GOVERNANCE_TRANSPARENCY_URL:f,GOVERNANCE_PROPOSALS_URL:K,DAO_GRANTS_URL:v,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:z,MARKETPLACE_SETTINGS_URL:w,DISCORD_URL:H,REDDIT_URL:W,GITHUB_URL:k,X_URL:x,INSTAGRAM_URL:j,YOUTUBE_URL:Q,TIKTOK_URL:J,LINKEDIN_URL:X,PRIVACY_POLICY_URL:q,TERMS_OF_USE_URL:Z,CONTENT_POLICY_URL:tt,CODE_OF_ETHICS_URL:nt,SUPPORT_URL:et,EMAIL_HELLO_URL:at,FAQ_URL:ot,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:dt,AUTO_SIGNING_BASE_URL:ct,TOP_SCENES_URL:Rt,IOS_STORE_URL:st,ANDROID_STORE_URL:Lt},Ut="https://wearable-preview.decentraland.org",Et="https://decentraland.org/account",lt="https://decentraland.org/profile",Ot="https://decentraland.org/marketplace",At="https://decentraland.org/shop",Tt="https://decentraland.org/builder",pt="https://decentraland.org/dao",Nt="https://decentraland.org/governance",St="https://decentraland.org/events",Ct="https://decentraland.org/places",ht="https://decentraland.org/create/",It="https://docs.decentraland.org/player/",Dt="https://decentraland.org/download/creator-hub/",gt="https://decentraland.org/download/",$t="https://decentraland.org/download_success/",it="ea2ybdmmn1kv",Pt="master",mt="18g1DzIyBxvu0steSwKyQr",Bt="https://cms-api.decentraland.org",yt="https://decentraland.org/marketplace/names/claim",Mt="https://decentraland.org/marketplace/lands",Vt="https://decentraland.org/marketplace/account",bt="https://decentraland.org/create/",ut="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",Ft="https://decentraland.org/builder/names",ft="https://decentraland.org/builder/worlds?tab=dcl",Kt="https://decentraland.org/builder/land",vt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",zt="https://docs.decentraland.org/player/",wt="https://docs.decentraland.org/creator/",Ht="https://decentraland.org/blog/",Wt="https://docs.decentraland.org/contributor/",kt="https://decentraland.org/governance/transparency/",xt="https://decentraland.org/governance/proposals/",jt="https://decentraland.org/dao/grants/",Qt="https://decentraland.org/governance/projects/",Jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xt="https://decentraland.org/marketplace/settings",qt="https://dcl.gg/discord",Zt="https://reddit.com/r/decentraland",tn="https://github.com/decentraland",nn="https://x.com/decentraland",en="https://instagram.com/decentraland_foundation/",an="https://youtube.com/@decentraland_foundation",on="https://tiktok.com/@decentraland_fdn",_n="https://linkedin.com/company/decentralandorg",dn="https://decentraland.org/privacy",cn="https://decentraland.org/terms",Rn="https://decentraland.org/content",sn="https://decentraland.org/ethics",Ln="https://decentraland.org/help",rn="mailto:hello@decentraland.org",Un="https://docs.decentraland.org/faqs/decentraland-101",En="https://docs.decentraland.org",ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",On="https://download-gateway.decentraland.org",An="https://decentraland.org/top-scenes",Tn="https://testflight.apple.com/join/KF4r3jlU",pn="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Nn={WEARABLE_PREVIEW_URL:Ut,ACCOUNT_URL:Et,PROFILE_URL:lt,MARKETPLACE_URL:Ot,SHOP_URL:At,BUILDER_URL:Tt,DAO_URL:pt,GOVERNANCE_URL:Nt,EVENTS_URL:St,PLACES_URL:Ct,CREATE_URL:ht,LEARN_URL:It,CREATOR_HUB_URL:Dt,DOWNLOAD_URL:gt,DOWNLOAD_SUCCESS_URL:$t,CONTENTFUL_SPACE_ID:it,CONTENTFUL_ENV:Pt,CONTENTFUL_NAVBAR_ENTRY_ID:mt,CONTENTFUL_CONTENTFUL_CDN_URL:Bt,MARKETPLACE_NAMES_URL:yt,MARKETPLACE_LANDS_URL:Mt,MARKETPLACE_MY_ASSETS_URL:Vt,LANDING_CREATORS_URL:bt,STUDIOS_URL:ut,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:Ft,BUILDER_WORLDS_URL:ft,BUILDER_LAND_URL:Kt,EVENTS_MY_EVENTS:vt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:zt,DOCS_CREATORS_URL:wt,BLOG_URL:Ht,DOCS_CONTRIBUTOR_URL:Wt,GOVERNANCE_TRANSPARENCY_URL:kt,GOVERNANCE_PROPOSALS_URL:xt,DAO_GRANTS_URL:jt,GOVERNANCE_PROJECTS_URL:Qt,DOCS_DAO_URL:Jt,MARKETPLACE_SETTINGS_URL:Xt,DISCORD_URL:qt,REDDIT_URL:Zt,GITHUB_URL:tn,X_URL:nn,INSTAGRAM_URL:en,YOUTUBE_URL:an,TIKTOK_URL:on,LINKEDIN_URL:_n,PRIVACY_POLICY_URL:dn,TERMS_OF_USE_URL:cn,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:sn,SUPPORT_URL:Ln,EMAIL_HELLO_URL:rn,FAQ_URL:Un,DOCS_URL:En,BEEHIV_SUBSCRIPTION_URL:ln,AUTO_SIGNING_BASE_URL:On,TOP_SCENES_URL:An,IOS_STORE_URL:Tn,ANDROID_STORE_URL:pn},Sn="https://wearable-preview.decentraland.today",Cn="https://decentraland.today/account",hn="https://decentraland.today/profile",In="https://decentraland.today/marketplace",Dn="https://decentraland.today/shop",gn="https://decentraland.today/builder",$n="https://decentraland.today/dao",Pn="https://decentraland.today/governance",mn="https://decentraland.today/events",Bn="https://decentraland.today/places",yn="https://decentraland.today/create/",Mn="https://docs.decentraland.org/player/",Vn="https://decentraland.today/download/creator-hub/",bn="https://decentraland.today/download/",un="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",Fn="master",fn="18g1DzIyBxvu0steSwKyQr",Kn="https://cms-api.decentraland.org",vn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",zn="https://decentraland.today/marketplace/account",wn="https://decentraland.today/create/",Hn="https://studios.decentraland.today/",Wn="https://decentraland.today/builder/collections",kn="https://decentraland.today/builder/names",xn="https://decentraland.today/builder/worlds?tab=dcl",jn="https://decentraland.today/builder/land",Qn="https://decentraland.today/events/me/",Jn="https://decentraland.today/places/favorites/",Xn="https://docs.decentraland.org/player/",qn="https://docs.decentraland.org/creator/",Zn="https://decentraland.today/blog/",te="https://docs.decentraland.org/contributor/",ne="https://decentraland.today/governance/transparency/",ee="https://decentraland.today/governance/proposals/",ae="https://decentraland.today/dao/grants/",oe="https://decentraland.today/governance/projects/",_e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",de="https://decentraland.today/marketplace/settings",ce="https://dcl.gg/discord",Re="https://reddit.com/r/decentraland",se="https://github.com/decentraland",Le="https://x.com/decentraland",re="https://instagram.com/decentraland_foundation/",Ue="https://youtube.com/@decentraland_foundation",Ee="https://tiktok.com/@decentraland_fdn",le="https://linkedin.com/company/decentralandorg",Oe="https://decentraland.org/privacy",Ae="https://decentraland.org/terms",Te="https://decentraland.org/content",pe="https://decentraland.org/ethics",Ne="https://decentraland.org/help",Se="mailto:hello@decentraland.org",Ce="https://docs.decentraland.org/faqs/decentraland-101",he="https://docs.decentraland.org",Ie="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",De="https://download-gateway.decentraland.zone",ge="https://decentraland.zone/top-scenes",$e="https://testflight.apple.com/join/KF4r3jlU",ie="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Pe={WEARABLE_PREVIEW_URL:Sn,ACCOUNT_URL:Cn,PROFILE_URL:hn,MARKETPLACE_URL:In,SHOP_URL:Dn,BUILDER_URL:gn,DAO_URL:$n,GOVERNANCE_URL:Pn,EVENTS_URL:mn,PLACES_URL:Bn,CREATE_URL:yn,LEARN_URL:Mn,CREATOR_HUB_URL:Vn,DOWNLOAD_URL:bn,DOWNLOAD_SUCCESS_URL:un,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:Fn,CONTENTFUL_NAVBAR_ENTRY_ID:fn,CONTENTFUL_CONTENTFUL_CDN_URL:Kn,MARKETPLACE_NAMES_URL:vn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:zn,LANDING_CREATORS_URL:wn,STUDIOS_URL:Hn,BUILDER_WEARABLE_EMOTES_URL:Wn,BUILDER_NAMES_URL:kn,BUILDER_WORLDS_URL:xn,BUILDER_LAND_URL:jn,EVENTS_MY_EVENTS:Qn,PLACES_MY_FAVORITE_URL:Jn,DOCS_ABOUT_URL:Xn,DOCS_CREATORS_URL:qn,BLOG_URL:Zn,DOCS_CONTRIBUTOR_URL:te,GOVERNANCE_TRANSPARENCY_URL:ne,GOVERNANCE_PROPOSALS_URL:ee,DAO_GRANTS_URL:ae,GOVERNANCE_PROJECTS_URL:oe,DOCS_DAO_URL:_e,MARKETPLACE_SETTINGS_URL:de,DISCORD_URL:ce,REDDIT_URL:Re,GITHUB_URL:se,X_URL:Le,INSTAGRAM_URL:re,YOUTUBE_URL:Ue,TIKTOK_URL:Ee,LINKEDIN_URL:le,PRIVACY_POLICY_URL:Oe,TERMS_OF_USE_URL:Ae,CONTENT_POLICY_URL:Te,CODE_OF_ETHICS_URL:pe,SUPPORT_URL:Ne,EMAIL_HELLO_URL:Se,FAQ_URL:Ce,DOCS_URL:he,BEEHIV_SUBSCRIPTION_URL:Ie,AUTO_SIGNING_BASE_URL:De,TOP_SCENES_URL:ge,IOS_STORE_URL:$e,ANDROID_STORE_URL:ie},ye=a({[n.DEVELOPMENT]:rt,[n.STAGING]:Pe,[n.PRODUCTION]:Nn});export{ye as c};
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import{b4 as a,b5 as n}from"./index-DljoYvOw.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]="d8723ddf-dd07-4972-8b16-da3f1c18d4e7",t._sentryDebugIdIdentifier="sentry-dbid-d8723ddf-dd07-4972-8b16-da3f1c18d4e7")}catch{}})();const o="https://wearable-preview.decentraland.zone",_="https://decentraland.zone/account",d="https://decentraland.zone/profile",c="https://decentraland.zone/marketplace",R="https://decentraland.zone/shop",s="https://decentraland.zone/builder",L="https://decentraland.zone/dao",r="https://decentraland.zone/governance",U="https://decentraland.zone/events",E="https://decentraland.zone/places",l="https://decentraland.org/create/",O="https://docs.decentraland.org/player/",A="https://decentraland.zone/download/creator-hub/",T="https://decentraland.zone/download/",p="https://decentraland.zone/download_success/",N="ea2ybdmmn1kv",S="master",C="18g1DzIyBxvu0steSwKyQr",h="https://cms-api.decentraland.org",I="https://decentraland.zone/marketplace/names/claim",D="https://decentraland.zone/marketplace/lands",g="https://decentraland.zone/marketplace/account",$="https://decentraland.zone/create/",i="https://studios.decentraland.zone/",P="https://decentraland.zone/builder/collections",m="https://decentraland.zone/builder/names",B="https://decentraland.zone/builder/worlds?tab=dcl",y="https://decentraland.zone/builder/land",M="https://decentraland.zone/events/me/",V="https://decentraland.zone/places/favorites/",b="https://docs.decentraland.org/player/",u="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",F="https://docs.decentraland.org/contributor/",f="https://decentraland.zone/governance/transparency/",K="https://decentraland.zone/governance/proposals/",v="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",z="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",w="https://decentraland.zone/marketplace/settings",H="https://dcl.gg/discord",W="https://reddit.com/r/decentraland",k="https://github.com/decentraland",x="https://x.com/decentraland",j="https://instagram.com/decentraland_foundation/",Q="https://youtube.com/@decentraland_foundation",J="https://tiktok.com/@decentraland_fdn",X="https://linkedin.com/company/decentralandorg",q="https://decentraland.zone/privacy",Z="https://decentraland.zone/terms",tt="https://decentraland.zone/content",nt="https://decentraland.zone/ethics",et="https://decentraland.org/help",at="mailto:hello@decentraland.org",ot="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",dt="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",ct="https://download-gateway.decentraland.zone",Rt="https://decentraland.zone/top-scenes",st="https://testflight.apple.com/join/KF4r3jlU",Lt="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",rt={WEARABLE_PREVIEW_URL:o,ACCOUNT_URL:_,PROFILE_URL:d,MARKETPLACE_URL:c,SHOP_URL:R,BUILDER_URL:s,DAO_URL:L,GOVERNANCE_URL:r,EVENTS_URL:U,PLACES_URL:E,CREATE_URL:l,LEARN_URL:O,CREATOR_HUB_URL:A,DOWNLOAD_URL:T,DOWNLOAD_SUCCESS_URL:p,CONTENTFUL_SPACE_ID:N,CONTENTFUL_ENV:S,CONTENTFUL_NAVBAR_ENTRY_ID:C,CONTENTFUL_CONTENTFUL_CDN_URL:h,MARKETPLACE_NAMES_URL:I,MARKETPLACE_LANDS_URL:D,MARKETPLACE_MY_ASSETS_URL:g,LANDING_CREATORS_URL:$,STUDIOS_URL:i,BUILDER_WEARABLE_EMOTES_URL:P,BUILDER_NAMES_URL:m,BUILDER_WORLDS_URL:B,BUILDER_LAND_URL:y,EVENTS_MY_EVENTS:M,PLACES_MY_FAVORITE_URL:V,DOCS_ABOUT_URL:b,DOCS_CREATORS_URL:u,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:F,GOVERNANCE_TRANSPARENCY_URL:f,GOVERNANCE_PROPOSALS_URL:K,DAO_GRANTS_URL:v,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:z,MARKETPLACE_SETTINGS_URL:w,DISCORD_URL:H,REDDIT_URL:W,GITHUB_URL:k,X_URL:x,INSTAGRAM_URL:j,YOUTUBE_URL:Q,TIKTOK_URL:J,LINKEDIN_URL:X,PRIVACY_POLICY_URL:q,TERMS_OF_USE_URL:Z,CONTENT_POLICY_URL:tt,CODE_OF_ETHICS_URL:nt,SUPPORT_URL:et,EMAIL_HELLO_URL:at,FAQ_URL:ot,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:dt,AUTO_SIGNING_BASE_URL:ct,TOP_SCENES_URL:Rt,IOS_STORE_URL:st,ANDROID_STORE_URL:Lt},Ut="https://wearable-preview.decentraland.org",Et="https://decentraland.org/account",lt="https://decentraland.org/profile",Ot="https://decentraland.org/marketplace",At="https://decentraland.org/shop",Tt="https://decentraland.org/builder",pt="https://decentraland.org/dao",Nt="https://decentraland.org/governance",St="https://decentraland.org/events",Ct="https://decentraland.org/places",ht="https://decentraland.org/create/",It="https://docs.decentraland.org/player/",Dt="https://decentraland.org/download/creator-hub/",gt="https://decentraland.org/download/",$t="https://decentraland.org/download_success/",it="ea2ybdmmn1kv",Pt="master",mt="18g1DzIyBxvu0steSwKyQr",Bt="https://cms-api.decentraland.org",yt="https://decentraland.org/marketplace/names/claim",Mt="https://decentraland.org/marketplace/lands",Vt="https://decentraland.org/marketplace/account",bt="https://decentraland.org/create/",ut="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",Ft="https://decentraland.org/builder/names",ft="https://decentraland.org/builder/worlds?tab=dcl",Kt="https://decentraland.org/builder/land",vt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",zt="https://docs.decentraland.org/player/",wt="https://docs.decentraland.org/creator/",Ht="https://decentraland.org/blog/",Wt="https://docs.decentraland.org/contributor/",kt="https://decentraland.org/governance/transparency/",xt="https://decentraland.org/governance/proposals/",jt="https://decentraland.org/dao/grants/",Qt="https://decentraland.org/governance/projects/",Jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xt="https://decentraland.org/marketplace/settings",qt="https://dcl.gg/discord",Zt="https://reddit.com/r/decentraland",tn="https://github.com/decentraland",nn="https://x.com/decentraland",en="https://instagram.com/decentraland_foundation/",an="https://youtube.com/@decentraland_foundation",on="https://tiktok.com/@decentraland_fdn",_n="https://linkedin.com/company/decentralandorg",dn="https://decentraland.org/privacy",cn="https://decentraland.org/terms",Rn="https://decentraland.org/content",sn="https://decentraland.org/ethics",Ln="https://decentraland.org/help",rn="mailto:hello@decentraland.org",Un="https://docs.decentraland.org/faqs/decentraland-101",En="https://docs.decentraland.org",ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",On="https://download-gateway.decentraland.org",An="https://decentraland.org/top-scenes",Tn="https://testflight.apple.com/join/KF4r3jlU",pn="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Nn={WEARABLE_PREVIEW_URL:Ut,ACCOUNT_URL:Et,PROFILE_URL:lt,MARKETPLACE_URL:Ot,SHOP_URL:At,BUILDER_URL:Tt,DAO_URL:pt,GOVERNANCE_URL:Nt,EVENTS_URL:St,PLACES_URL:Ct,CREATE_URL:ht,LEARN_URL:It,CREATOR_HUB_URL:Dt,DOWNLOAD_URL:gt,DOWNLOAD_SUCCESS_URL:$t,CONTENTFUL_SPACE_ID:it,CONTENTFUL_ENV:Pt,CONTENTFUL_NAVBAR_ENTRY_ID:mt,CONTENTFUL_CONTENTFUL_CDN_URL:Bt,MARKETPLACE_NAMES_URL:yt,MARKETPLACE_LANDS_URL:Mt,MARKETPLACE_MY_ASSETS_URL:Vt,LANDING_CREATORS_URL:bt,STUDIOS_URL:ut,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:Ft,BUILDER_WORLDS_URL:ft,BUILDER_LAND_URL:Kt,EVENTS_MY_EVENTS:vt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:zt,DOCS_CREATORS_URL:wt,BLOG_URL:Ht,DOCS_CONTRIBUTOR_URL:Wt,GOVERNANCE_TRANSPARENCY_URL:kt,GOVERNANCE_PROPOSALS_URL:xt,DAO_GRANTS_URL:jt,GOVERNANCE_PROJECTS_URL:Qt,DOCS_DAO_URL:Jt,MARKETPLACE_SETTINGS_URL:Xt,DISCORD_URL:qt,REDDIT_URL:Zt,GITHUB_URL:tn,X_URL:nn,INSTAGRAM_URL:en,YOUTUBE_URL:an,TIKTOK_URL:on,LINKEDIN_URL:_n,PRIVACY_POLICY_URL:dn,TERMS_OF_USE_URL:cn,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:sn,SUPPORT_URL:Ln,EMAIL_HELLO_URL:rn,FAQ_URL:Un,DOCS_URL:En,BEEHIV_SUBSCRIPTION_URL:ln,AUTO_SIGNING_BASE_URL:On,TOP_SCENES_URL:An,IOS_STORE_URL:Tn,ANDROID_STORE_URL:pn},Sn="https://wearable-preview.decentraland.today",Cn="https://decentraland.today/account",hn="https://decentraland.today/profile",In="https://decentraland.today/marketplace",Dn="https://decentraland.today/shop",gn="https://decentraland.today/builder",$n="https://decentraland.today/dao",Pn="https://decentraland.today/governance",mn="https://decentraland.today/events",Bn="https://decentraland.today/places",yn="https://decentraland.today/create/",Mn="https://docs.decentraland.org/player/",Vn="https://decentraland.today/download/creator-hub/",bn="https://decentraland.today/download/",un="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",Fn="master",fn="18g1DzIyBxvu0steSwKyQr",Kn="https://cms-api.decentraland.org",vn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",zn="https://decentraland.today/marketplace/account",wn="https://decentraland.today/create/",Hn="https://studios.decentraland.today/",Wn="https://decentraland.today/builder/collections",kn="https://decentraland.today/builder/names",xn="https://decentraland.today/builder/worlds?tab=dcl",jn="https://decentraland.today/builder/land",Qn="https://decentraland.today/events/me/",Jn="https://decentraland.today/places/favorites/",Xn="https://docs.decentraland.org/player/",qn="https://docs.decentraland.org/creator/",Zn="https://decentraland.today/blog/",te="https://docs.decentraland.org/contributor/",ne="https://decentraland.today/governance/transparency/",ee="https://decentraland.today/governance/proposals/",ae="https://decentraland.today/dao/grants/",oe="https://decentraland.today/governance/projects/",_e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",de="https://decentraland.today/marketplace/settings",ce="https://dcl.gg/discord",Re="https://reddit.com/r/decentraland",se="https://github.com/decentraland",Le="https://x.com/decentraland",re="https://instagram.com/decentraland_foundation/",Ue="https://youtube.com/@decentraland_foundation",Ee="https://tiktok.com/@decentraland_fdn",le="https://linkedin.com/company/decentralandorg",Oe="https://decentraland.org/privacy",Ae="https://decentraland.org/terms",Te="https://decentraland.org/content",pe="https://decentraland.org/ethics",Ne="https://decentraland.org/help",Se="mailto:hello@decentraland.org",Ce="https://docs.decentraland.org/faqs/decentraland-101",he="https://docs.decentraland.org",Ie="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",De="https://download-gateway.decentraland.zone",ge="https://decentraland.zone/top-scenes",$e="https://testflight.apple.com/join/KF4r3jlU",ie="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Pe={WEARABLE_PREVIEW_URL:Sn,ACCOUNT_URL:Cn,PROFILE_URL:hn,MARKETPLACE_URL:In,SHOP_URL:Dn,BUILDER_URL:gn,DAO_URL:$n,GOVERNANCE_URL:Pn,EVENTS_URL:mn,PLACES_URL:Bn,CREATE_URL:yn,LEARN_URL:Mn,CREATOR_HUB_URL:Vn,DOWNLOAD_URL:bn,DOWNLOAD_SUCCESS_URL:un,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:Fn,CONTENTFUL_NAVBAR_ENTRY_ID:fn,CONTENTFUL_CONTENTFUL_CDN_URL:Kn,MARKETPLACE_NAMES_URL:vn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:zn,LANDING_CREATORS_URL:wn,STUDIOS_URL:Hn,BUILDER_WEARABLE_EMOTES_URL:Wn,BUILDER_NAMES_URL:kn,BUILDER_WORLDS_URL:xn,BUILDER_LAND_URL:jn,EVENTS_MY_EVENTS:Qn,PLACES_MY_FAVORITE_URL:Jn,DOCS_ABOUT_URL:Xn,DOCS_CREATORS_URL:qn,BLOG_URL:Zn,DOCS_CONTRIBUTOR_URL:te,GOVERNANCE_TRANSPARENCY_URL:ne,GOVERNANCE_PROPOSALS_URL:ee,DAO_GRANTS_URL:ae,GOVERNANCE_PROJECTS_URL:oe,DOCS_DAO_URL:_e,MARKETPLACE_SETTINGS_URL:de,DISCORD_URL:ce,REDDIT_URL:Re,GITHUB_URL:se,X_URL:Le,INSTAGRAM_URL:re,YOUTUBE_URL:Ue,TIKTOK_URL:Ee,LINKEDIN_URL:le,PRIVACY_POLICY_URL:Oe,TERMS_OF_USE_URL:Ae,CONTENT_POLICY_URL:Te,CODE_OF_ETHICS_URL:pe,SUPPORT_URL:Ne,EMAIL_HELLO_URL:Se,FAQ_URL:Ce,DOCS_URL:he,BEEHIV_SUBSCRIPTION_URL:Ie,AUTO_SIGNING_BASE_URL:De,TOP_SCENES_URL:ge,IOS_STORE_URL:$e,ANDROID_STORE_URL:ie},ye=a({[n.DEVELOPMENT]:rt,[n.STAGING]:Pe,[n.PRODUCTION]:Nn});export{ye as c};
|
|
2
|
+
//# sourceMappingURL=index-BV6fxrmf.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as t,a as d,i as n,b as p}from"./lit-element-wjYUA6aF.js";import{n as f}from"./class-map-BxMzgOIb.js";import{c as w,t as g}from"./index-
|
|
1
|
+
import{w as t,a as d,i as n,b as p}from"./lit-element-wjYUA6aF.js";import{n as f}from"./class-map-BxMzgOIb.js";import{c as w,t as g}from"./index-BWdRaOCR.js";import{r as k}from"./index-DaiLEIU7.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new l.Error().stack;i&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[i]="5803508a-9c1e-4eec-b78d-1e5dfecc8bc6",l._sentryDebugIdIdentifier="sentry-dbid-5803508a-9c1e-4eec-b78d-1e5dfecc8bc6")}catch{}})();const v=t`<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<rect width="64" height="64" fill="#F7931A"/>
|
|
3
3
|
<g clip-path="url(#clip0_1045_17)">
|
|
4
4
|
<path d="M63.0394 39.7409C58.7654 56.8839 41.4024 67.3169 24.2574 63.0419C7.11937 58.7679 -3.31363 41.4039 0.962367 24.2619C5.23437 7.11686 22.5974 -3.31714 39.7374 0.956863C56.8814 5.23086 67.3134 22.5969 63.0394 39.7409Z" fill="#F7931A"/>
|
|
@@ -466,4 +466,4 @@ import{w as t,a as d,i as n,b as p}from"./lit-element-wjYUA6aF.js";import{n as f
|
|
|
466
466
|
`;var c=function(l,i,C,a){var r=arguments.length,e=r<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,C):a,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(l,i,C,a);else for(var s=l.length-1;s>=0;s--)(h=l[s])&&(e=(r<3?h(e):r>3?h(i,C,e):h(i,C))||e);return r>3&&e&&Object.defineProperty(i,C,e),e};const G={browser:u,dao:M,defi:x,defiAlt:Z,eth:y,layers:E,lock:B,login:H,network:_,nft:D,noun:m,profile:b,system:j,meld:F,onrampCard:P,google:L,pencil:S,lightbulb:V,solana:A,ton:g,bitcoin:v};let o=class extends n{constructor(){super(...arguments),this.name="browser",this.size="md"}render(){return this.style.cssText=`
|
|
467
467
|
--local-size: var(--apkt-visual-size-${this.size});
|
|
468
468
|
`,p`${G[this.name]}`}};o.styles=[k,z];c([f()],o.prototype,"name",void 0);c([f()],o.prototype,"size",void 0);o=c([w("wui-visual")],o);
|
|
469
|
-
//# sourceMappingURL=index-
|
|
469
|
+
//# sourceMappingURL=index-BWAFxmyt.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/PhArrowCircleDown-BgP2jbf5.js","_assets/property-CbgY9QKj.js","_assets/PhArrowClockwise-CuNU0iSl.js","_assets/PhArrowDown-BrLks3Uz.js","_assets/PhArrowLeft-BbZGSN_s.js","_assets/PhArrowRight-DqLi6_uj.js","_assets/PhArrowSquareOut-CX0ZRgNC.js","_assets/PhArrowsDownUp-CV1NqVLb.js","_assets/PhArrowsLeftRight-DvGI6Nto.js","_assets/PhArrowUp-D9ugstgK.js","_assets/PhArrowUpRight-Bpfn12eW.js","_assets/PhArrowsClockwise-CRZyQVpN.js","_assets/PhBank-BRxdKSKq.js","_assets/PhBrowser-C_wNKcTe.js","_assets/PhCaretDown-DBNFm85V.js","_assets/PhCaretLeft-Cad__LUx.js","_assets/PhCaretRight-CuRYBcM2.js","_assets/PhCaretUp-DE2FiuTS.js","_assets/PhCheck-y4MOxgof.js","_assets/PhCircleHalf-xlPKmtS7.js","_assets/PhClock-BBNMhMKw.js","_assets/PhCompass-DpAl_LfZ.js","_assets/PhCopy-D4HwCqa2.js","_assets/PhCreditCard-CD12JEEL.js","_assets/PhCurrencyDollar-DPFX6nyR.js","_assets/PhDesktop-CNhh70Hf.js","_assets/PhDeviceMobile-DQgHhtB0.js","_assets/PhDotsThree-B1gOaArE.js","_assets/PhVault-DC9QjU0-.js","_assets/PhEnvelope-CGnM9AiA.js","_assets/PhFunnelSimple-D8YZwX53.js","_assets/PhGlobe-CXtg_GcB.js","_assets/PhIdentificationCard-oMtubY4C.js","_assets/PhImage-DKp6-EHn.js","_assets/PhInfo-CPd-HNhu.js","_assets/PhLightbulb-C47afrxR.js","_assets/PhMagnifyingGlass-DBaqb5ff.js","_assets/PhPaperPlaneRight-FQGhQUrW.js","_assets/PhPlus-B_CxFvZS.js","_assets/PhPower-DRTSLLeY.js","_assets/PhPuzzlePiece-zlHiPdqx.js","_assets/PhQrCode-riEgpq80.js","_assets/PhQuestion-DHYK7o0G.js","_assets/PhQuestionMark-ZgOsaVvK.js","_assets/PhSealCheck-B5VE_9Jt.js","_assets/PhSignOut-DKQOfDHS.js","_assets/PhSpinner-B3k7aAJt.js","_assets/PhTrash-CD2fhMLB.js","_assets/PhUser-BeKUoVY6.js","_assets/PhWallet-djswo-CG.js","_assets/PhWarning-B4g8NvcF.js","_assets/PhWarningCircle-xLZ7sbu0.js","_assets/PhX-BVzMqBjL.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{a as k,i as y,b as x,w as h}from"./lit-element-wjYUA6aF.js";import{n as s,o as Z,a as A}from"./class-map-BxMzgOIb.js";import{r as E,v as c,d as I}from"./index-
|
|
2
|
+
import{a as k,i as y,b as x,w as h}from"./lit-element-wjYUA6aF.js";import{n as s,o as Z,a as A}from"./class-map-BxMzgOIb.js";import{r as E,v as c,d as I}from"./index-DaiLEIU7.js";import{_ as r}from"./index-DljoYvOw.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]="d37f1756-6665-47e7-ada5-83fbee55a357",t._sentryDebugIdIdentifier="sentry-dbid-d37f1756-6665-47e7-ada5-83fbee55a357")}catch{}})();const L=".",C={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--apkt-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--apkt-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},formatCurrency(t=0,e={}){const i=Number(t);return isNaN(i)?"$0.00":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(i)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:o}){return t.length<=e+i?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n==null?void 0:n.replace("px","")),p=`${a}% ${a}% at 65% 40%`,u=[];for(let d=0;d<5;d+=1){const m=this.tintColor(o,.15*d);u.push(`rgb(${m[0]}, ${m[1]}, ${m[2]})`)}return`
|
|
3
3
|
--local-color-1: ${u[0]};
|
|
4
4
|
--local-color-2: ${u[1]};
|
|
5
5
|
--local-color-3: ${u[2]};
|
|
@@ -637,4 +637,4 @@ import{a as k,i as y,b as x,w as h}from"./lit-element-wjYUA6aF.js";import{n as s
|
|
|
637
637
|
--local-align: ${this.align};
|
|
638
638
|
--local-color: ${this.color==="inherit"?"inherit":L1[this.color??"primary"]};
|
|
639
639
|
`,x`<slot class=${A(e)}></slot>`}};v.styles=[E,$1];w([s()],v.prototype,"variant",void 0);w([s()],v.prototype,"color",void 0);w([s()],v.prototype,"align",void 0);w([s()],v.prototype,"lineClamp",void 0);w([s()],v.prototype,"display",void 0);v=w([P("wui-text")],v);export{C as U,P as c,h1 as t};
|
|
640
|
-
//# sourceMappingURL=index-
|
|
640
|
+
//# sourceMappingURL=index-BWdRaOCR.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as h,b as a}from"./lit-element-wjYUA6aF.js";import{n as i,o as p}from"./class-map-BxMzgOIb.js";import"./index-
|
|
1
|
+
import{i as h,b as a}from"./lit-element-wjYUA6aF.js";import{n as i,o as p}from"./class-map-BxMzgOIb.js";import"./index-DTCPOepm.js";import{c as b}from"./index-BWdRaOCR.js";import{d as f,r as y,e as g}from"./index-DaiLEIU7.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]="7126f597-c464-4ca9-80eb-3ba155ddbe1d",e._sentryDebugIdIdentifier="sentry-dbid-7126f597-c464-4ca9-80eb-3ba155ddbe1d")}catch{}})();const m=f`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
@@ -75,4 +75,4 @@ import{i as h,b as a}from"./lit-element-wjYUA6aF.js";import{n as i,o as p}from".
|
|
|
75
75
|
src=${this.imageSrc}
|
|
76
76
|
boxColor=${this.boxColor}
|
|
77
77
|
></wui-image>`}templateRightIcon(){return this.rightIcon?this.loading?a`<wui-loading-spinner size="md" color="accent-primary"></wui-loading-spinner>`:a`<wui-icon name="chevronRight" size="lg" color="default"></wui-icon>`:null}};o.styles=[y,g,m];t([i()],o.prototype,"type",void 0);t([i()],o.prototype,"imageSrc",void 0);t([i()],o.prototype,"imageSize",void 0);t([i()],o.prototype,"icon",void 0);t([i()],o.prototype,"iconColor",void 0);t([i({type:Boolean})],o.prototype,"loading",void 0);t([i()],o.prototype,"tabIdx",void 0);t([i()],o.prototype,"boxColor",void 0);t([i({type:Boolean})],o.prototype,"disabled",void 0);t([i({type:Boolean})],o.prototype,"rightIcon",void 0);t([i({type:Boolean})],o.prototype,"boxed",void 0);t([i({type:Boolean})],o.prototype,"rounded",void 0);t([i({type:Boolean})],o.prototype,"fullSize",void 0);o=t([b("wui-list-item")],o);
|
|
78
|
-
//# sourceMappingURL=index-
|
|
78
|
+
//# sourceMappingURL=index-B_7Q1I9Q.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./react-
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import"./react-W6DPPZx2.js";(function(){try{var c=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new c.Error().stack;o&&(c._sentryDebugIds=c._sentryDebugIds||{},c._sentryDebugIds[o]="21ed88f5-0b8c-4d59-8771-ab68e42ab1f6",c._sentryDebugIdIdentifier="sentry-dbid-21ed88f5-0b8c-4d59-8771-ab68e42ab1f6")}catch{}})();var k,m;function w(){if(m)return k;m=1;function c(a){try{return JSON.stringify(a)}catch{return'"[Circular]"'}}k=o;function o(a,t,y){var b=y&&y.stringify||c,v=1;if(typeof a=="object"&&a!==null){var s=t.length+v;if(s===1)return a;var d=new Array(s);d[0]=b(a);for(var i=1;i<s;i++)d[i]=b(t[i]);return d.join(" ")}if(typeof a!="string")return a;var u=t.length;if(u===0)return a;for(var f="",n=1-v,r=-1,l=a&&a.length||0,e=0;e<l;){if(a.charCodeAt(e)===37&&e+1<l){switch(r=r>-1?r:0,a.charCodeAt(e+1)){case 100:case 102:if(n>=u||t[n]==null)break;r<e&&(f+=a.slice(r,e)),f+=Number(t[n]),r=e+2,e++;break;case 105:if(n>=u||t[n]==null)break;r<e&&(f+=a.slice(r,e)),f+=Math.floor(Number(t[n])),r=e+2,e++;break;case 79:case 111:case 106:if(n>=u||t[n]===void 0)break;r<e&&(f+=a.slice(r,e));var h=typeof t[n];if(h==="string"){f+="'"+t[n]+"'",r=e+2,e++;break}if(h==="function"){f+=t[n].name||"<anonymous>",r=e+2,e++;break}f+=b(t[n]),r=e+2,e++;break;case 115:if(n>=u)break;r<e&&(f+=a.slice(r,e)),f+=String(t[n]),r=e+2,e++;break;case 37:r<e&&(f+=a.slice(r,e)),f+="%",r=e+2,e++,n--;break}++n}++e}return r===-1?a:(r<l&&(f+=a.slice(r)),f)}return k}export{w as r};
|
|
2
|
+
//# sourceMappingURL=index-C0dl8jmt.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as b,b as c}from"./lit-element-wjYUA6aF.js";import{n}from"./class-map-BxMzgOIb.js";import{c as g}from"./index-
|
|
1
|
+
import{i as b,b as c}from"./lit-element-wjYUA6aF.js";import{n}from"./class-map-BxMzgOIb.js";import{c as g}from"./index-BWdRaOCR.js";import"./index-DTCPOepm.js";import{d as p,r as m,e as h}from"./index-DaiLEIU7.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]="1818b7e5-9397-48a9-b422-8e1f36576a4d",t._sentryDebugIdIdentifier="sentry-dbid-1818b7e5-9397-48a9-b422-8e1f36576a4d")}catch{}})();const v=p`
|
|
2
2
|
:host {
|
|
3
3
|
width: var(--local-width);
|
|
4
4
|
}
|
|
@@ -150,4 +150,4 @@ import{i as b,b as c}from"./lit-element-wjYUA6aF.js";import{n}from"./class-map-B
|
|
|
150
150
|
<slot name="iconRight"></slot>
|
|
151
151
|
</button>
|
|
152
152
|
`}loadingTemplate(){if(this.loading){const e=f[this.size],a=this.variant==="neutral-primary"||this.variant==="accent-primary"?"invert":"primary";return c`<wui-loading-spinner color=${a} size=${e}></wui-loading-spinner>`}return null}};r.styles=[m,h,v];i([n()],r.prototype,"size",void 0);i([n({type:Boolean})],r.prototype,"disabled",void 0);i([n({type:Boolean})],r.prototype,"fullWidth",void 0);i([n({type:Boolean})],r.prototype,"loading",void 0);i([n()],r.prototype,"variant",void 0);i([n()],r.prototype,"textVariant",void 0);r=i([g("wui-button")],r);
|
|
153
|
-
//# sourceMappingURL=index-
|
|
153
|
+
//# sourceMappingURL=index-C1O6jHxG.js.map
|