@dcl/shop 0.1.0-29842599290.commit-2475f4f → 0.1.0-29842935035.commit-a65be40
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/{AnimatedBackground-D2JRqhrS.js → AnimatedBackground-CnAO4k7S.js} +3 -3
- package/assets/{Assets-D_767CI9.js → Assets-B1FxBJPM.js} +1 -1
- package/assets/{Cart-DpvMVP-7.js → Cart-BxDJekyS.js} +1 -1
- package/assets/{CircularProgress-BJ_TjCN_.js → CircularProgress-ApNcnq7N.js} +1 -1
- package/assets/{Collection-CROpeZdX.js → Collection-DuTrg3E-.js} +1 -1
- package/assets/{CollectionCarousel-BB3DzDmR.js → CollectionCarousel-C5GeFa_Y.js} +1 -1
- package/assets/{Creator-_z1lwt4_.js → Creator-f3wTway-.js} +1 -1
- package/assets/{CssVarsProvider-Cb_KA4y8.js → CssVarsProvider-D2zNKsxj.js} +1 -1
- package/assets/{ExchangeController-CBn3jEwJ.js → ExchangeController-DWwsC0kg.js} +1 -1
- package/assets/{GetCredits-CBBS-hLK.js → GetCredits-B-V0lmX1.js} +1 -1
- package/assets/{HelpersUtil-HdrIw3ED.js → HelpersUtil-DXarOia5.js} +1 -1
- package/assets/{ImportListings-B4Ah3yQs.js → ImportListings-CdLYYVRk.js} +1 -1
- package/assets/{ItemDetail-Bdnzeft3.js → ItemDetail-CnDcWx8Z.js} +2 -2
- package/assets/{LoadMore-Blqu_ob_.js → LoadMore-BMDjLVnk.js} +1 -1
- package/assets/{MarketCheckout-DOEU43Cr.js → MarketCheckout-CI0IRHEV.js} +1 -1
- package/assets/{MyAssets-KamgxHyB.js → MyAssets-Bvn9R5Vx.js} +1 -1
- package/assets/{MyFavorites-46gv8iFB.js → MyFavorites-CnUUhrsk.js} +1 -1
- package/assets/{MyPurchases-xyHXfcs_.js → MyPurchases-BLpXWFws.js} +1 -1
- package/assets/{NotFound-SYVjtlXK.js → NotFound-9S6G5mG4.js} +1 -1
- package/assets/{PrimaryListModal-B8X89MoS.js → PrimaryListModal-BFbTQMIs.js} +1 -1
- package/assets/{StoreSettings-B4i_rpq0.js → StoreSettings-YvF4h8EI.js} +5 -5
- package/assets/{Success-BoPV7W7T.js → Success-C1LGYw7c.js} +1 -1
- package/assets/{SwapController-CBn7it3D.js → SwapController-DzlqZKEu.js} +1 -1
- package/assets/{TradeService-BUz_DTCw.js → TradeService-BIXNDi8_.js} +1 -1
- package/assets/{W3MFrameProviderSingleton-tZh6bMfi.js → W3MFrameProviderSingleton-7ZlGHyOT.js} +3 -3
- package/assets/{WebCryptoP256-DSBDULPY.js → WebCryptoP256-BsFuSRMZ.js} +1 -1
- package/assets/{basic-DlABK3_N.js → basic-Bas_eU9V.js} +1 -1
- package/assets/{biconomy-MRqMpiGP.js → biconomy-DxGC86Xq.js} +1 -1
- package/assets/{buy-B5ZS4ZBM.js → buy-BlwZzU_E.js} +1 -1
- package/assets/{buy-gasless-Ba7WiBbA.js → buy-gasless-B1VlH3HF.js} +1 -1
- package/assets/{cart-checkout-Cv0O-IMr.js → cart-checkout-BsPe3vsb.js} +1 -1
- package/assets/{categories-BicEp1xc.js → categories-CgoVNI3r.js} +1 -1
- package/assets/{ccip-LxG2dAFM.js → ccip-BZ5t4M98.js} +1 -1
- package/assets/{ccip-7UmS1PeQ.js → ccip-CLolljPY.js} +1 -1
- package/assets/{collection-5wVB2Die.js → collection-Qcgn_TR_.js} +1 -1
- package/assets/{controller-DduDD9ay.js → controller-Dmiz4V9v.js} +2 -2
- package/assets/{core-CeGBqHMO.js → core-CClsAKFe.js} +4 -4
- package/assets/{custom-D0AtamZ4.js → custom-8DiMBmid.js} +1 -1
- package/assets/{data-capture-DvKKxnqn.js → data-capture-DMdQZHt4.js} +1 -1
- package/assets/{decimals-BHuuK15t.js → decimals-BMkgPUUI.js} +1 -1
- package/assets/{decimals-Cy9cbsXq.js → decimals-jsc6T1pS.js} +1 -1
- package/assets/{detectExtension-DFy8j1N5.js → detectExtension-_uzJMxml.js} +1 -1
- package/assets/{email-Bafq5LVA.js → email-rauE2gwy.js} +1 -1
- package/assets/{embedded-wallet-Cq9sdxt_.js → embedded-wallet-DcPnMzKJ.js} +1 -1
- package/assets/{emotion-styled.browser.esm-IwF2UC65.js → emotion-styled.browser.esm-Cj9DOOij.js} +1 -1
- package/assets/{engine-CkrY35__.js → engine-8fIJfqfj.js} +1 -1
- package/assets/{errors-VkIbnyNm.js → errors-p2bFnwUF.js} +1 -1
- package/assets/{estimate-l1-fee-i2iZ2Vqn.js → estimate-l1-fee-XBWG77Ow.js} +1 -1
- package/assets/{eth_estimateGas-DSwQmDKV.js → eth_estimateGas-r87LpjqX.js} +1 -1
- package/assets/{eth_getStorageAt-DtuLpaRO.js → eth_getStorageAt-qm5qDkl9.js} +1 -1
- package/assets/{eth_getTransactionCount-jaO8Tr8s.js → eth_getTransactionCount-BAARL3ae.js} +1 -1
- package/assets/{extractIPFS-B1rYPZY7.js → extractIPFS-nkX8AeoZ.js} +1 -1
- package/assets/{features-BEM4jzxK.js → features-C_BSHMtq.js} +1 -1
- package/assets/{fetchTokenMetadata-BhtlFZh7.js → fetchTokenMetadata-DFl0aYrb.js} +2 -2
- package/assets/{get-ecosystem-wallet-info-CT1s8m3e.js → get-ecosystem-wallet-info-BHQDfsn-.js} +1 -1
- package/assets/{getBalance-CfJ0XnIl.js → getBalance-BfswuTLE.js} +1 -1
- package/assets/{getInstalledModules-CaXPPvdO.js → getInstalledModules-DCDW2oYW.js} +1 -1
- package/assets/{getNFT-DlVnt9Q9.js → getNFT-IEcrtkPh.js} +1 -1
- package/assets/{getNFT-CZfISvmz.js → getNFT-d_1IA_yV.js} +2 -2
- package/assets/{getOverlayAlpha-BueYXZ9u.js → getOverlayAlpha-yAmCaiXy.js} +1 -1
- package/assets/{hashTypedData-DLnXsDCk.js → hashTypedData-C8lb7A30.js} +1 -1
- package/assets/{hashTypedData-CuVSwrXW.js → hashTypedData-DtoFYwPK.js} +1 -1
- package/assets/{import-CN6p_MqT.js → import-YJkTWfno.js} +1 -1
- package/assets/{in-app-wallet-calls-CJqUcl-9.js → in-app-wallet-calls-BnNBT5Mt.js} +1 -1
- package/assets/{index-BIPP0co7.js → index--j54mUQU.js} +1 -1
- package/assets/{index-jtb2-_sz.js → index-2lvvWbBd.js} +1 -1
- package/assets/{index-OQjcAgDp.js → index-7IQPQlmq.js} +1 -1
- package/assets/{index-C8LSdB4m.js → index-B0GbG2PP.js} +1 -1
- package/assets/{index-DZl9hhbT.js → index-B0KyEyZW.js} +2 -2
- package/assets/{index-B1B5XO_U.js → index-B2ys_PW2.js} +1 -1
- package/assets/{index-bDNg_irz.js → index-BEXITBRH.js} +1 -1
- package/assets/{index-BvYeGTV6.js → index-BNnVKxqC.js} +1 -1
- package/assets/{index-BlNrP_ot.js → index-BQyF5ApH.js} +1 -1
- package/assets/{index-i1ke3OIj.js → index-BSZAIF-P.js} +1 -1
- package/assets/{index-oG-jQqT1.js → index-BUqo3Tj9.js} +1 -1
- package/assets/{index-BEAmVVuB.js → index-B_msdDpn.js} +1 -1
- package/assets/{index-Ckm2E71r.js → index-BbKMnNcs.js} +1 -1
- package/assets/{index-ZQBK6Pdm.js → index-Bcoz1tgv.js} +1 -1
- package/assets/{index-DWUDXdC9.js → index-BdfJq1z-.js} +1 -1
- package/assets/{index-BHVOprA5.js → index-BlgZoMqa.js} +1 -1
- package/assets/{index-BQxvWH_G.js → index-BtEbPAKt.js} +1 -1
- package/assets/{index-BPlP5Yrj.js → index-C7g3x2a5.js} +1 -1
- package/assets/{index-Dl9esg1J.js → index-CAx92XfP.js} +1 -1
- package/assets/{index-FXbiSAAP.js → index-CBiJc7wf.js} +1 -1
- package/assets/{index-DQfozNLU.js → index-CCGHENcO.js} +1 -1
- package/assets/{index-CgwJgOun.js → index-CDtEmRi2.js} +3 -3
- package/assets/{index-BrkctpUM.js → index-CT03O-jT.js} +1 -1
- package/assets/{index-Tx1QPCiA.js → index-CbWEoIuL.js} +1 -1
- package/assets/{index-TjznWbc4.js → index-Cc_DM0iK.js} +1 -1
- package/assets/{index-Bpmady1C.js → index-CgY1C4yg.js} +1 -1
- package/assets/{index-B4D19REm.js → index-CnOiYeAk.js} +9 -9
- package/assets/{index-VVTks7i3.js → index-CyKa-S56.js} +1 -1
- package/assets/{index-B4edWAth.js → index-D1YQ5vIT.js} +1 -1
- package/assets/{index-BfoFTQum.js → index-DII6Tqu_.js} +1 -1
- package/assets/{index-BHCsuHPe.js → index-DMcwCitM.js} +1 -1
- package/assets/{index-D_kcwQmd.js → index-DTW5h3EC.js} +1 -1
- package/assets/{index-D5CqgRew.js → index-DVF8Krqj.js} +1 -1
- package/assets/{index-P0Yx7vsd.js → index-DWGTPbVn.js} +1 -1
- package/assets/{index-Cw5PuAy9.js → index-DXm5dWgZ.js} +1 -1
- package/assets/{index-ZV7fMVI5.js → index-D_Xsd3Vt.js} +1 -1
- package/assets/{index-BYGUxDY4.js → index-Db2SQ7UZ.js} +1 -1
- package/assets/{index-DF-DiDVu.js → index-DibWgfYu.js} +1 -1
- package/assets/{index-Bzl-y_xE.js → index-DmCYLxGR.js} +1 -1
- package/assets/{index-sEQX5urS.js → index-FDBQ0uaQ.js} +1 -1
- package/assets/{index-CDneVgN3.js → index-G6xf-Q3K.js} +1 -1
- package/assets/{index-DOeRQwCQ.js → index-KNJzOfGC.js} +2 -2
- package/assets/{index-Bsrh1wrG.js → index-PleUZn46.js} +3 -3
- package/assets/{index-BONeQS2n.js → index-QpE7O6o7.js} +2 -2
- package/assets/{index-1gbEXIom.js → index-XbUjhNHl.js} +1 -1
- package/assets/{index-BY9My0oM.js → index-_cQYPRhD.js} +1 -1
- package/assets/{index-DOpbd-jp.js → index-aUi4MQGL.js} +1 -1
- package/assets/{index-CLJtuWHL.js → index-hPqe-mn5.js} +1 -1
- package/assets/{index-BGBt5Xm9.js → index-ibDi_M3N.js} +1 -1
- package/assets/{index-Dtj-WGsX.js → index-w6PsRxrI.js} +1 -1
- package/assets/{index-BmFerGWY.js → index-z4NyCW59.js} +1 -1
- package/assets/{index.es-BCuQ9fc-.js → index.es-B8p45Gxw.js} +4 -4
- package/assets/{index.es-hSZLYkrj.js → index.es-Cj4qvOPU.js} +1 -1
- package/assets/{index.es-C89JefA5.js → index.es-DTVjAbnO.js} +1 -1
- package/assets/{localBatchGatewayRequest-CZllhI1g.js → localBatchGatewayRequest-qe0AcPei.js} +1 -1
- package/assets/{mana-rate-Bf-vAahU.js → mana-rate-C9OeZ3I-.js} +1 -1
- package/assets/{networks-kfrZy_3R.js → networks-CpT7rAv_.js} +1 -1
- package/assets/{onramp-cgk7gEx6.js → onramp-DILJkR23.js} +1 -1
- package/assets/{openzeppelin-CBxu6ipZ.js → openzeppelin-I_v5U0zJ.js} +1 -1
- package/assets/{ownerOf-q_CySRt_.js → ownerOf-swrVNY-9.js} +1 -1
- package/assets/{parseNft-5mLnHHsb.js → parseNft-CooUo9vw.js} +2 -2
- package/assets/{parseSignature-Xsezcdr3.js → parseSignature-CIOeOtiN.js} +3 -3
- package/assets/{parseSignature-BXQWiyxd.js → parseSignature-DK4ozIkj.js} +1 -1
- package/assets/{pay-with-exchange-8pnV59u_.js → pay-with-exchange-BUUCcSJH.js} +1 -1
- package/assets/{qr-overlay-BDJyO_OZ.js → qr-overlay-C9GK8MHy.js} +1 -1
- package/assets/{receive-BSmYsMYb.js → receive-DSXgD8l5.js} +1 -1
- package/assets/{resolveImplementation-pTzqT2n7.js → resolveImplementation-Bbq7vp1O.js} +1 -1
- package/assets/{rpc-2aRT-2co.js → rpc-DLfN54Vu.js} +1 -1
- package/assets/{secp256k1-CV0oEz43.js → secp256k1-D7jgbcwp.js} +1 -1
- package/assets/{secp256k1-DlGyN83x.js → secp256k1-JPjPXkQA.js} +1 -1
- package/assets/{secp256k1-CBqMIQsl.js → secp256k1-vft3wPq6.js} +1 -1
- package/assets/{send-CtmOo9OT.js → send-C7bIAjWP.js} +1 -1
- package/assets/{send-batch-transaction-DczlMlYX.js → send-batch-transaction-DCaMbGgk.js} +1 -1
- package/assets/{send-eip712-transaction-C7NnRqWA.js → send-eip712-transaction-B0EfagOx.js} +2 -2
- package/assets/{send-gasless-transaction-CGNQiDpn.js → send-gasless-transaction-DADJYiOb.js} +2 -2
- package/assets/{sendRawTransaction-C-hku157.js → sendRawTransaction-B0JjP1WZ.js} +3 -3
- package/assets/{serializeTransaction-BsWWwZbQ.js → serializeTransaction-DqLhlNY8.js} +1 -1
- package/assets/{session-proposal-ni3LdMGP.js → session-proposal-B-aCZN30.js} +1 -1
- package/assets/{session-request-IgqIbKir.js → session-request-BD7-zSM_.js} +2 -2
- package/assets/{sha256-4_9oQ2I6.js → sha256-CKNPKKPX.js} +1 -1
- package/assets/{signing-Bhm8lszD.js → signing-BPqQRusg.js} +4 -4
- package/assets/{socials-DSk2lLL3.js → socials-C1dbbHYL.js} +1 -1
- package/assets/{swaps-C363NeRy.js → swaps-DkWNTomv.js} +1 -1
- package/assets/{thirdweb-BhNxfjG0.js → thirdweb-D0HOfogA.js} +3 -3
- package/assets/{totalSupply-Be_gMWWK.js → totalSupply-CpvOP_C5.js} +1 -1
- package/assets/{trade-encoding-D5hlkp_r.js → trade-encoding-Bkk79sDB.js} +1 -1
- package/assets/{transactionReceipt-pNi0w4mU.js → transactionReceipt-CHeWdSHX.js} +1 -1
- package/assets/{transactions-CCTEkhLH.js → transactions-59I5qjgt.js} +1 -1
- package/assets/{useCreditPacks-BE-fG45H.js → useCreditPacks-Q7ub-ShV.js} +1 -1
- package/assets/{useInfiniteGrid-zYFhuy60.js → useInfiniteGrid-DNbOhMyq.js} +1 -1
- package/assets/{useStore-DlgSV8xZ.js → useStore-BxLN3UHd.js} +1 -1
- package/assets/useTheme-3SpHG4Qk.js +1 -0
- package/assets/{useTheme-DSjNsZwZ.js → useTheme-DLmJNPU6.js} +1 -1
- package/assets/{verifyHash-DBA8HgBY.js → verifyHash-BHrLI5gL.js} +1 -1
- package/assets/{w3m-modal-CJSKRyIz.js → w3m-modal-3Wn89MEZ.js} +1 -1
- package/assets/{w3m-modal-C9hrB0_f.js → w3m-modal-f6BMPOJv.js} +1 -1
- package/assets/{wait-for-tx-receipt-BdSu8YP0.js → wait-for-tx-receipt-CkGwzcag.js} +1 -1
- package/assets/{wallets-CJn4BiVq.js → wallets-Kk_yC_Zf.js} +6 -6
- package/assets/{web-connector-CB2KBra0.js → web-connector-BQJIB5KD.js} +3 -3
- package/assets/{writeContract-DobkVUdS.js → writeContract-C8YjcPqM.js} +1 -1
- package/assets/{zoraTestnet-DXF2ZpAM.js → zoraTestnet-BUaTQysG.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/assets/useTheme-BmPzYbts.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/fortmatic-DhmlcDbL.js","assets/react-C51i12iP.js","assets/index-htvE856q.js","assets/dcl-schemas-BICTSpB5.js","assets/ethers-BeFqf2KO.js","assets/sentry-DKBoGDXH.js","assets/index-COjgItKg.js","assets/index-dYP5cvK2.js","assets/index-Dp3Py-Ws.js","assets/hooks.module-C4R15-Vr.js","assets/events-DQ172AOg.js","assets/intl-CBcMB1D2.js","assets/index-
|
|
2
|
-
var ce=Object.defineProperty;var de=(o,n,e)=>n in o?ce(o,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[n]=e;var h=(o,n,e)=>de(o,typeof n!="symbol"?n+"":n,e);import{c as u,e as l,f as g}from"./dcl-schemas-BICTSpB5.js";import{g as he}from"./react-C51i12iP.js";import{r as ue}from"./events-DQ172AOg.js";import{_ as m}from"./index-B4D19REm.js";var y;(function(o){o.Update="Web3ReactUpdate",o.Error="Web3ReactError",o.Deactivate="Web3ReactDeactivate"})(y||(y={}));const le={clientId:"e1adce863fe287bb6cf0e3fd90bdb77f",chains:[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA,u.ChainId.MATIC_MAINNET,u.ChainId.MATIC_AMOY]},pe={storageKey:"decentraland-connect-storage-key",[l.ProviderType.INJECTED]:{},[l.ProviderType.FORTMATIC]:{apiKeys:{[u.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[u.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:[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA,u.ChainId.MATIC_MAINNET,u.ChainId.MATIC_AMOY,u.ChainId.ARBITRUM_MAINNET,u.ChainId.OPTIMISM_MAINNET,u.ChainId.AVALANCHE_MAINNET,u.ChainId.BSC_MAINNET,u.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:A(l.ProviderType.MAGIC),chains:[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA,u.ChainId.MATIC_MAINNET,u.ChainId.MATIC_AMOY,u.ChainId.OPTIMISM_MAINNET,u.ChainId.ARBITRUM_MAINNET,u.ChainId.AVALANCHE_MAINNET,u.ChainId.BSC_MAINNET,u.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:A(l.ProviderType.MAGIC),chains:[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA,u.ChainId.MATIC_MAINNET,u.ChainId.MATIC_AMOY,u.ChainId.OPTIMISM_MAINNET,u.ChainId.ARBITRUM_MAINNET,u.ChainId.AVALANCHE_MAINNET,u.ChainId.BSC_MAINNET,u.ChainId.FANTOM_MAINNET]},thirdweb:le};function I(){return pe}function A(o){const n={[u.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[u.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[u.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[u.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[u.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[u.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[u.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[u.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[u.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let e="";switch(o){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 r=Object.keys(n);for(const t of r)n[t]+=`?project=${e}`}return n}var $=ue();const Ue=he($);function fe(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}var E=(function(o){fe(n,o);function n(r){var t,i=r===void 0?{}:r,s=i.supportedChainIds;return t=o.call(this)||this,t.supportedChainIds=s,t}var e=n.prototype;return e.emitUpdate=function(t){this.emit(y.Update,t)},e.emitError=function(t){this.emit(y.Error,t)},e.emitDeactivate=function(){this.emit(y.Deactivate)},n})($.EventEmitter);class z extends E{constructor(e){const r=I()[g.ProviderType.FORTMATIC],t=Object.keys(r.apiKeys).map(i=>Number(i));if(!t.includes(e))throw new Error(`Invariant error: Unsupported chainId ${e}`);super({supportedChainIds:t});h(this,"apiKey");h(this,"chainId");h(this,"rpcUrl");h(this,"fortmatic");this.apiKey=r.apiKeys[e],this.chainId=e,this.rpcUrl=r.urls[e]}async activate(){if(!this.fortmatic){const{default:r}=await m(async()=>{const{default:t}=await import("./fortmatic-DhmlcDbL.js").then(i=>i.f);return{default:t}},__vite__mapDeps([0,1]));this.fortmatic=new r(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const e=await this.fortmatic.getProvider().enable().then(r=>r[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 U(){return U=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r])}return o},U.apply(this,arguments)}function q(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}function K(o){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(o)}function L(o,n){return L=Object.setPrototypeOf||function(r,t){return r.__proto__=t,r},L(o,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(o,n,e){return ve()?O=Reflect.construct:O=function(t,i,s){var a=[null];a.push.apply(a,i);var c=Function.bind.apply(t,a),d=new c;return s&&L(d,s.prototype),d},O.apply(null,arguments)}function we(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function S(o){var n=typeof Map=="function"?new Map:void 0;return S=function(r){if(r===null||!we(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(r))return n.get(r);n.set(r,t)}function t(){return O(r,arguments,K(this).constructor)}return t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),L(t,r)},S(o)}function b(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function P(o,n){try{var e=o()}catch(r){return n(r)}return e&&e.then?e.then(void 0,n):e}function C(o){return o.hasOwnProperty("result")?o.result:o}var k=(function(o){q(n,o);function n(){var e;return e=o.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(o){q(n,o);function n(){var e;return e=o.call(this)||this,e.name=e.constructor.name,e.message="The user rejected the request.",e}return n})(S(Error)),me=(function(o){q(n,o);function n(r){var t;return t=o.call(this,r)||this,t.handleNetworkChanged=t.handleNetworkChanged.bind(b(t)),t.handleChainChanged=t.handleChainChanged.bind(b(t)),t.handleAccountsChanged=t.handleAccountsChanged.bind(b(t)),t.handleClose=t.handleClose.bind(b(t)),t}var e=n.prototype;return e.handleChainChanged=function(t){this.emitUpdate({chainId:t,provider:window.ethereum})},e.handleAccountsChanged=function(t){t.length===0?this.emitDeactivate():this.emitUpdate({account:t[0]})},e.handleClose=function(t,i){this.emitDeactivate()},e.handleNetworkChanged=function(t){this.emitUpdate({chainId:t,provider:window.ethereum})},e.activate=function(){try{var t=function(f){if(i)return f;function p(){return U({provider:window.ethereum},a?{account:a}:{})}var v=(function(){if(!a)return Promise.resolve(window.ethereum.enable().then(function(T){return T&&C(T)[0]})).then(function(T){a=T})})();return v&&v.then?v.then(p):p(v)},i=!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(d){return C(d)[0]})).then(function(d){a=d})},function(d){if(d.code===4001)throw new ge});return Promise.resolve(c&&c.then?c.then(t):t(c))}catch(d){return Promise.reject(d)}},e.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(t){return Promise.reject(t)}},e.getChainId=function(){try{var t=function(){function c(){if(!i)try{i=C(window.ethereum.send({method:"net_version"}))}catch{}return i||(window.ethereum.isDapper?i=C(window.ethereum.cachedResults.net_version):i=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),i}var d=(function(){if(!i){var f=P(function(){return Promise.resolve(window.ethereum.send("net_version").then(C)).then(function(p){i=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return d&&d.then?d.then(c):c(d)};if(!window.ethereum)throw new k;var i,s=P(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(C)).then(function(a){i=a})},function(){});return Promise.resolve(s&&s.then?s.then(t):t(s))}catch(a){return Promise.reject(a)}},e.getAccount=function(){try{var t=function(){function c(){return i||(i=C(window.ethereum.send({method:"eth_accounts"}))[0]),i}var d=(function(){if(!i){var f=P(function(){return Promise.resolve(window.ethereum.enable().then(function(p){return C(p)[0]})).then(function(p){i=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return d&&d.then?d.then(c):c(d)};if(!window.ethereum)throw new k;var i,s=P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(a){return C(a)[0]})).then(function(a){i=a})},function(){});return Promise.resolve(s&&s.then?s.then(t):t(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(t){return C(t).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(t){return Promise.reject(t)}},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((r,t)=>{setTimeout(()=>{t(new G)},Ie)}),e=super.activate();return Promise.race([e,n])}}var Ce="Invariant failed";function V(o,n){throw new Error(Ce)}function Y(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,N(o,n)}function D(o){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(o)}function N(o,n){return N=Object.setPrototypeOf||function(r,t){return r.__proto__=t,r},N(o,n)}function ye(){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(o,n,e){return ye()?R=Reflect.construct:R=function(t,i,s){var a=[null];a.push.apply(a,i);var c=Function.bind.apply(t,a),d=new c;return s&&N(d,s.prototype),d},R.apply(null,arguments)}function Ee(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function W(o){var n=typeof Map=="function"?new Map:void 0;return W=function(r){if(r===null||!Ee(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(r))return n.get(r);n.set(r,t)}function t(){return R(r,arguments,D(this).constructor)}return t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),N(t,r)},W(o)}var j=(function(o){Y(n,o);function n(e,r,t){var i;return i=o.call(this)||this,i.code=r,i.data=t,i.name=i.constructor.name,i.message=e,i}return n})(W(Error)),Ae=function(n,e){var r=this,t=this;this.isMetaMask=!1,this.sendAsync=function(s,a){console.log("sendAsync",s.method,s.params),t.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(r.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 j(c.status+": "+c.statusText,-32e3);return Promise.resolve(c.json()).then(function(d){if("error"in d){var f,p,v;throw new j(d==null||(f=d.error)==null?void 0:f.message,d==null||(p=d.error)==null?void 0:p.code,d==null||(v=d.error)==null?void 0:v.data)}else{if("result"in d)return d.result;throw new j("Received unexpected JSON-RPC response to "+s+" request.",-32e3,d)}})})}catch(c){return Promise.reject(c)}},this.chainId=n,this.url=e;var i=new URL(e);this.host=i.host,this.path=i.pathname},Te=(function(o){Y(n,o);function n(r){var t,i=r.urls,s=r.defaultChainId;return s||Object.keys(i).length===1||V(),t=o.call(this,{supportedChainIds:Object.keys(i).map(function(a){return Number(a)})})||this,t.currentChainId=s||Number(Object.keys(i)[0]),t.providers=Object.keys(i).reduce(function(a,c){return a[Number(c)]=new Ae(Number(c),i[Number(c)]),a},{}),t}var e=n.prototype;return e.activate=function(){try{var t=this;return Promise.resolve({provider:t.providers[t.currentChainId],chainId:t.currentChainId,account:null})}catch(i){return Promise.reject(i)}},e.getProvider=function(){try{var t=this;return Promise.resolve(t.providers[t.currentChainId])}catch(i){return Promise.reject(i)}},e.getChainId=function(){try{var t=this;return Promise.resolve(t.currentChainId)}catch(i){return Promise.reject(i)}},e.getAccount=function(){return Promise.resolve(null)},e.deactivate=function(){},e.changeChainId=function(t){Object.keys(this.providers).includes(t.toString())||V(),this.currentChainId=t,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:t})},n})(E);class Q extends Te{constructor(n){super({urls:I()[l.ProviderType.NETWORK].urls,defaultChainId:n})}}function x(){return x=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r])}return o},x.apply(this,arguments)}function Pe(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,F(o,n)}function F(o,n){return F=Object.setPrototypeOf||function(r,t){return r.__proto__=t,r},F(o,n)}function B(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}var _e=1,Ne=(function(o){Pe(n,o);function n(r){var t,i=r.url,s=r.appName,a=r.appLogoUrl,c=r.darkMode,d=r.supportedChainIds;return t=o.call(this,{supportedChainIds:d})||this,t.url=i,t.appName=s,t.appLogoUrl=a,t.darkMode=c||!1,t.handleChainChanged=t.handleChainChanged.bind(B(t)),t.handleAccountsChanged=t.handleAccountsChanged.bind(B(t)),t}var e=n.prototype;return e.activate=function(){try{var t=this,i=function(){return Promise.resolve(t.provider.request({method:"eth_requestAccounts"})).then(function(c){var d=c[0];return t.provider.on("chainChanged",t.handleChainChanged),t.provider.on("accountsChanged",t.handleAccountsChanged),{provider:t.provider,account:d}})},s=(function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)t.provider=window.ethereum;else{var a=(function(){if(!t.walletLink)return Promise.resolve(m(()=>import("./index-htvE856q.js").then(c=>c.i),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11])).then(function(c){var d;return(d=c==null?void 0:c.default)!=null?d:c})).then(function(c){t.walletLink=new c(x({appName:t.appName,darkMode:t.darkMode},t.appLogoUrl?{appLogoUrl:t.appLogoUrl}:{})),t.provider=t.walletLink.makeWeb3Provider(t.url,_e)})})();if(a&&a.then)return a.then(function(){})}})();return Promise.resolve(s&&s.then?s.then(i):i(s))}catch(a){return Promise.reject(a)}},e.getProvider=function(){try{var t=this;return Promise.resolve(t.provider)}catch(i){return Promise.reject(i)}},e.getChainId=function(){try{var t=this;return Promise.resolve(t.provider.chainId)}catch(i){return Promise.reject(i)}},e.getAccount=function(){try{var t=this;return Promise.resolve(t.provider.request({method:"eth_requestAccounts"})).then(function(i){return i[0]})}catch(i){return Promise.reject(i)}},e.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},e.close=function(){try{var t=this;return t.provider.close(),t.emitDeactivate(),Promise.resolve()}catch(i){return Promise.reject(i)}},e.handleChainChanged=function(t){this.emitUpdate({chainId:t})},e.handleAccountsChanged=function(t){this.emitUpdate({account:t[0]})},n})(E);class X extends Ne{constructor(n){const e=I()[g.ProviderType.WALLET_LINK],r=e.urls[n];if(!r)throw new Error(`Unsupported chainId for WalletLink: ${n}. Supported chains: ${Object.keys(e.urls).join(", ")}`);super({url:r,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 r=localStorage.key(e);r&&n.test(r)&&localStorage.removeItem(r)}}}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});h(this,"desiredChainId");h(this,"appKit");h(this,"provider");h(this,"accountUnsubscribe");h(this,"networkUnsubscribe");h(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-CgwJgOun.js").then(a=>a.h);return{createAppKit:s}},__vite__mapDeps([12,13,1,3,5,4,11,14,15,16,17,18,19,20,21,22,23,24])),{WagmiAdapter:r}=await m(async()=>{const{WagmiAdapter:s}=await import("./index-Bsrh1wrG.js").then(a=>a.b);return{WagmiAdapter:s}},__vite__mapDeps([25,15,3,16,1,5,17,18,19,13,4,11,14,26,27,6,28,29,30])),t=await this.getNetworks(),i=new r({networks:t,projectId:w.configuration.projectId});return this.appKit=e({adapters:[i],projectId:w.configuration.projectId,networks:t,defaultNetwork:t[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});h(this,"waitForSessionRestore",async()=>{const e=this.appKit;if(!e)return;const r=e.getAccount();if((r==null?void 0:r.status)==="connected"||(r==null?void 0:r.status)==="disconnected")return;const t=r!=null&&r.status?5e3:500;return new Promise(i=>{const s=setTimeout(()=>{a==null||a(),i()},t),a=e.subscribeAccount(c=>{((c==null?void 0:c.status)==="connected"||(c==null?void 0:c.status)==="disconnected")&&(clearTimeout(s),a==null||a(),i())},"eip155")})});h(this,"validateRestoredSession",async e=>{try{const r=e.getWalletProvider();return r?(await r.request({method:"eth_chainId"}),!0):!1}catch(r){return w.isStaleSessionError(r)?!1:(console.warn("Error validating WalletConnect session:",r),!0)}});h(this,"openModalAndWaitForConnection",async()=>{const e=this.requireAppKit(),r=()=>new Promise((t,i)=>{let s=!1;const a=(p,v)=>{s||(s=!0,clearTimeout(c),p==null||p(),v==null||v())},c=setTimeout(()=>{a(),i(new Error("Connection timeout"))},3e5),d=e.subscribeAccount(p=>{p!=null&&p.isConnected&&(p!=null&&p.address)&&(a(d,f),t(p.address))},"eip155"),f=e.subscribeState(p=>{!p.open&&!e.getAddress("eip155")&&(a(d,f),i(new Error("User closed the modal without connecting")))})});try{await e.open({view:"Connect"}),await r()}catch(t){if(w.isStaleSessionError(t)){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 r()}else throw t}});h(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(),r=e.getAccount();(r==null?void 0:r.status)==="connected"&&(r==null?void 0:r.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 i=e.getWalletProvider();if(!i)throw new Error("Failed to get wallet provider after connection");this.provider=i,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}});h(this,"getProvider",async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider});h(this,"getChainId",async()=>this.requireAppKit().getChainId()??this.desiredChainId);h(this,"getAccount",async()=>this.requireAppKit().getAddress("eip155")??null);h(this,"getWalletName",()=>{var e,r,t;return(t=(r=(e=this.appKit)==null?void 0:e.getWalletInfo)==null?void 0:r.call(e,"eip155"))==null?void 0:t.name});h(this,"deactivate",()=>{});h(this,"clearInstance",()=>{var r,t;const e=this.provider;if(e){this.provider=void 0;try{(r=this.accountUnsubscribe)==null||r.call(this),(t=this.networkUnsubscribe)==null||t.call(this)}catch(i){console.warn("Error unsubscribing from AppKit events:",i)}return this.accountUnsubscribe=void 0,this.networkUnsubscribe=void 0,e}});h(this,"close",async()=>{var r;if(this.clearInstance()){try{await((r=this.appKit)==null?void 0:r.disconnect())}catch(t){console.warn("Error during WalletConnect disconnect:",t)}this.appKit=void 0}});h(this,"handleAccountsChanged",e=>{this.emitUpdate({account:e[0]})});h(this,"handleChainChanged",e=>{this.emitUpdate({chainId:e})});h(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 r=e.message.toLowerCase();return r.includes("no matching key")||r.includes("session topic doesn't exist")||r.includes("missing or invalid")||r.includes("expired")||r.includes("user rejected methods")||r.includes("is not configured")||r.includes("cannot read properties")||r.includes("undefined is not an object")}return!1}async getNetworks(){const e=w.configuration.chains,r=await m(()=>import("./networks-kfrZy_3R.js"),__vite__mapDeps([31,19,5,1,32,33,26,13,3,4,11,14,34,35,30])),t=e.map(s=>{const a=be[s];if(a)return r[a]}).filter(s=>s!==void 0);if(t.length===0)throw new Error("No supported networks found for WalletConnect");const i=t.find(s=>s.id===this.desiredChainId);if(i){const s=t.filter(a=>a.id!==this.desiredChainId);return[i,...s]}return[t[0],...t.slice(1)]}};h(w,"configuration",I()[g.ProviderType.WALLET_CONNECT_V2]),h(w,"clearStorage",(e=new Z)=>{e.removeRegExp(new RegExp("^wc@2:")),e.removeRegExp(new RegExp("^@appkit")),w.sharedAppKit=null}),h(w,"sharedAppKit",null);let _=w;class H extends E{constructor(e,r=!1){super({supportedChainIds:I()[g.ProviderType.MAGIC].chains});h(this,"isTest");h(this,"chainId");h(this,"account");h(this,"magic");h(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 r=await this.getProvider(),t=await r.request({method:"eth_accounts"});return this.account=t[0]??null,{provider:r,chainId:this.chainId,account:this.account}});h(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(r,t,i)=>{var s,a,c;if(((s=i[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const d=parseInt((c=(a=i[0])==null?void 0:a.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(d)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(d),this.emitUpdate({chainId:d}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return r.bind(e)(...i)}}),sendAsync:new Proxy(e.send,{apply:async(r,t,i)=>r.bind(e)(...i)})}});h(this,"getChainId",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId});h(this,"getAccount",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account});h(this,"deactivate",()=>{});h(this,"buildMagicInstance",async e=>{const{Magic:r}=await m(async()=>{const{Magic:a}=await import("./index-DGOaB47n.js");return{Magic:a}},__vite__mapDeps([36,5,1,37])),{OAuthExtension:t}=await m(async()=>{const{OAuthExtension:a}=await import("./index-IqrjnIQ9.js");return{OAuthExtension:a}},__vite__mapDeps([38,37,5,1,39,7,8,4,10,3])),i=I()[this.isTest?g.ProviderType.MAGIC_TEST:g.ProviderType.MAGIC],s=i.urls[e];if(!s)throw new Error(`Unsupported chainId for Magic: ${e}. Supported chains: ${Object.keys(i.urls).join(", ")}`);return new r(i.apiKey,{extensions:[new t],network:{rpcUrl:s,chainId:e}})});this.isTest=r,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 r;super({supportedChainIds:((r=I().thirdweb)==null?void 0:r.chains)??[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA]});h(this,"chainId");h(this,"client");h(this,"wallet");h(this,"chain");h(this,"eip1193Provider");h(this,"activate",async()=>{const e=await this.getClient(),r=await this.getWallet();let t;try{t=await r.autoConnect({client:e})}catch{throw new Error("Thirdweb: No active session. User must authenticate first.")}if(!t)throw new Error("Thirdweb: No active session. User must authenticate first.");const i=await this.getChain(),{EIP1193:s}=await m(async()=>{const{EIP1193:d}=await import("./wallets-CJn4BiVq.js").then(f=>f.ag);return{EIP1193:d}},__vite__mapDeps([40,41,42,5,1,13,3,4,11,14,28,43,20,16,21,44,22,45]));return this.eip1193Provider=s.toProvider({wallet:r,chain:i,client:e}),{provider:await this.getProvider(),chainId:this.chainId,account:t.address}});h(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(r,t,i)=>{var a,c,d,f;if(((a=i[0])==null?void 0:a.method)==="wallet_switchEthereumChain"){const p=(f=(d=(c=i[0])==null?void 0:c.params)==null?void 0:d[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-CJn4BiVq.js").then(se=>se.ag);return{EIP1193:ae}},__vite__mapDeps([40,41,42,5,1,13,3,4,11,14,28,43,20,16,21,44,22,45]));return this.eip1193Provider=oe.toProvider({wallet:ne,chain:ie,client:T}),this.emitUpdate({chainId:v}),null}return Reflect.apply(r,e,i)}}),sendAsync:new Proxy(e.request,{apply:async(r,t,i)=>Reflect.apply(r,e,i)})}});h(this,"getChainId",async()=>this.chainId);h(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}});h(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-BhNxfjG0.js").then(t=>t.t),__vite__mapDeps([46,42,5,1,41,13,3,4,11,14,47,48,49,50,51,52,53,54,55,56]))}catch{throw new Error("Thirdweb: thirdweb package is not installed.")}const r=I().thirdweb;return this.client=e.createThirdwebClient({clientId:r.clientId}),this.client}async getWallet(){if(this.wallet)return this.wallet;let e;try{e=await m(()=>import("./wallets-CJn4BiVq.js").then(r=>r.ag),__vite__mapDeps([40,41,42,5,1,13,3,4,11,14,28,43,20,16,21,44,22,45]))}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-CpxWadaj.js"),__vite__mapDeps([57,42,5,1,55,45]));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){h(this,"provider");h(this,"id",0);h(this,"on",(n,e)=>this.provider.on(n,e));h(this,"emit",(n,...e)=>this.provider.emit(n,e));h(this,"removeListener",(n,e)=>this.provider.removeListener(n,e));h(this,"request",async({method:n,params:e})=>this.isModernProvider()?this.provider.request({method:n,params:e}):this.send(n,e));h(this,"sendAsync",async(n,e)=>this.hasSendAsync()?this.provider.sendAsync(n,(r,t)=>{t&&!Object.prototype.hasOwnProperty.call(t,"result")?e(r,{id:0,jsonrpc:"2.0",result:t}):e(r,t)}):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 r,t,i;const s=typeof e=="function";if(s){const a=n;t=a.params||[],r=a.method,i=e}else r=n,t=e||[],i=(a,c)=>{if(a)throw a;return c};if(this.isModernProvider()){const[a,c]=await this.provider.request({method:r,params:t}).then(f=>[null,f]).catch(f=>[f,void 0]);return i(a,s?{id:"",jsonrpc:"2.0",result:c}:c)}else{this.patchOldMobile();const[a,c]=s?await new Promise(d=>this.provider.send(n,(f,p)=>{d([f,p])})):await new Promise(d=>this.provider.send({jsonrpc:"2.0",id:++this.id,method:r,params:t},(f,p)=>{const v=p;d([(v==null?void 0:v.error)??f,(v==null?void 0:v.result)??p])}));return i(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){h(this,"storage");h(this,"connector");h(this,"promiseOfConnection");h(this,"getWalletName",()=>{if(this.connector instanceof _)return this.connector.getWalletName()});h(this,"clearConnectionData",()=>{const{storageKey:n}=I();this.storage.remove(n),_.clearStorage(this.storage)});h(this,"handleWeb3ReactDeactivate",async()=>{try{await this.disconnect()}catch(n){console.error(n)}});this.storage=n}async connect(n,e=u.ChainId.ETHEREUM_MAINNET){if(this.connector)try{await this.disconnect()}catch(a){console.error("Error disconnecting previous connection",a)}const r=this.buildConnector(n,e);r.on(y.Deactivate,this.handleWeb3ReactDeactivate);let{provider:t,account:i}={};try{const a=await r.activate();t=a.provider,i=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)&&r.on(y.Update,({chainId:a})=>{a&&this.setConnectionData(n,a)});let s=e;if(n===l.ProviderType.INJECTED){const a=await t.request({method:"eth_chainId"});s=a?parseInt(a,16):s}return this.connector=r,this.setConnectionData(n,s),{provider:M.adapt(t),providerType:n,account:i||"",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[r,t]=await Promise.all([this.connector.getProvider(),this.connector.getAccount()]);return{provider:r,providerType:n.providerType,chainId:n.chainId,account:t||""}}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(y.Deactivate),this.connector.removeAllListeners(y.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 createProvider(n,e=u.ChainId.ETHEREUM_MAINNET){const t=await this.buildConnector(n,e).getProvider();return M.adapt(t)}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(r){console.error("Error parsing connection data",r);return}}storeConnectionData(n,e){this.setConnectionData(n,e)}setConnectionData(n,e){const{storageKey:r}=I(),t=JSON.stringify({providerType:n,chainId:e});this.storage.set(r,t)}isClosableConnector(){return this.connector&&"close"in this.connector}}const Oe=new re(new Z),Ke=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{Ue as N,Oe as c,$ as e,Ke as i};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/fortmatic-DhmlcDbL.js","assets/react-C51i12iP.js","assets/index-htvE856q.js","assets/dcl-schemas-BICTSpB5.js","assets/ethers-BeFqf2KO.js","assets/sentry-DKBoGDXH.js","assets/index-COjgItKg.js","assets/index-dYP5cvK2.js","assets/index-Dp3Py-Ws.js","assets/hooks.module-C4R15-Vr.js","assets/events-DQ172AOg.js","assets/intl-CBcMB1D2.js","assets/index-CDtEmRi2.js","assets/index-CnOiYeAk.js","assets/index-eE-_qVda.css","assets/W3MFrameProviderSingleton-7ZlGHyOT.js","assets/index-Bk6ayCIs.js","assets/browser-ponyfill-Djb5Py6a.js","assets/browser-ponyfill-DMgE6PM5.js","assets/NetworkUtil-Xp0fNa8X.js","assets/index-BdfJq1z-.js","assets/index-nibyPLVP.js","assets/index-Bcoz1tgv.js","assets/index.es-Cj4qvOPU.js","assets/lit-element-B3y9oplH.js","assets/index-PleUZn46.js","assets/sendRawTransaction-B0JjP1WZ.js","assets/index-DH3Yzbz3.js","assets/store-CraP4F4Y.js","assets/custom-8DiMBmid.js","assets/writeContract-C8YjcPqM.js","assets/networks-CpT7rAv_.js","assets/zoraTestnet-BUaTQysG.js","assets/verifyHash-BHrLI5gL.js","assets/secp256k1-JPjPXkQA.js","assets/serializeTransaction-DqLhlNY8.js","assets/index-DGOaB47n.js","assets/index-BfnFZQqu.js","assets/index-IqrjnIQ9.js","assets/index-CI-AD5iw.js","assets/wallets-Kk_yC_Zf.js","assets/signing-BPqQRusg.js","assets/utils-CBfcEx8F.js","assets/hashTypedData-C8lb7A30.js","assets/index-CJdot1dH.js","assets/ethereum-CkPyqOMA.js","assets/thirdweb-D0HOfogA.js","assets/wait-for-tx-receipt-CkGwzcag.js","assets/transactionReceipt-CHeWdSHX.js","assets/sleep-mAKpSMLY.js","assets/eth_estimateGas-r87LpjqX.js","assets/eth_getStorageAt-qm5qDkl9.js","assets/eth_getTransactionCount-BAARL3ae.js","assets/decimals-jsc6T1pS.js","assets/decimals-BMkgPUUI.js","assets/zora-sepolia-CKT05Lph.js","assets/send-batch-transaction-DCaMbGgk.js","assets/chains-CpxWadaj.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var ce=Object.defineProperty;var de=(o,n,e)=>n in o?ce(o,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[n]=e;var h=(o,n,e)=>de(o,typeof n!="symbol"?n+"":n,e);import{c as u,e as l,f as g}from"./dcl-schemas-BICTSpB5.js";import{g as he}from"./react-C51i12iP.js";import{r as ue}from"./events-DQ172AOg.js";import{_ as m}from"./index-CnOiYeAk.js";var y;(function(o){o.Update="Web3ReactUpdate",o.Error="Web3ReactError",o.Deactivate="Web3ReactDeactivate"})(y||(y={}));const le={clientId:"e1adce863fe287bb6cf0e3fd90bdb77f",chains:[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA,u.ChainId.MATIC_MAINNET,u.ChainId.MATIC_AMOY]},pe={storageKey:"decentraland-connect-storage-key",[l.ProviderType.INJECTED]:{},[l.ProviderType.FORTMATIC]:{apiKeys:{[u.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[u.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:[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA,u.ChainId.MATIC_MAINNET,u.ChainId.MATIC_AMOY,u.ChainId.ARBITRUM_MAINNET,u.ChainId.OPTIMISM_MAINNET,u.ChainId.AVALANCHE_MAINNET,u.ChainId.BSC_MAINNET,u.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:A(l.ProviderType.MAGIC),chains:[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA,u.ChainId.MATIC_MAINNET,u.ChainId.MATIC_AMOY,u.ChainId.OPTIMISM_MAINNET,u.ChainId.ARBITRUM_MAINNET,u.ChainId.AVALANCHE_MAINNET,u.ChainId.BSC_MAINNET,u.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:A(l.ProviderType.MAGIC),chains:[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA,u.ChainId.MATIC_MAINNET,u.ChainId.MATIC_AMOY,u.ChainId.OPTIMISM_MAINNET,u.ChainId.ARBITRUM_MAINNET,u.ChainId.AVALANCHE_MAINNET,u.ChainId.BSC_MAINNET,u.ChainId.FANTOM_MAINNET]},thirdweb:le};function I(){return pe}function A(o){const n={[u.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[u.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[u.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[u.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[u.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[u.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[u.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[u.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[u.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let e="";switch(o){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 r=Object.keys(n);for(const t of r)n[t]+=`?project=${e}`}return n}var $=ue();const Ue=he($);function fe(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}var E=(function(o){fe(n,o);function n(r){var t,i=r===void 0?{}:r,s=i.supportedChainIds;return t=o.call(this)||this,t.supportedChainIds=s,t}var e=n.prototype;return e.emitUpdate=function(t){this.emit(y.Update,t)},e.emitError=function(t){this.emit(y.Error,t)},e.emitDeactivate=function(){this.emit(y.Deactivate)},n})($.EventEmitter);class z extends E{constructor(e){const r=I()[g.ProviderType.FORTMATIC],t=Object.keys(r.apiKeys).map(i=>Number(i));if(!t.includes(e))throw new Error(`Invariant error: Unsupported chainId ${e}`);super({supportedChainIds:t});h(this,"apiKey");h(this,"chainId");h(this,"rpcUrl");h(this,"fortmatic");this.apiKey=r.apiKeys[e],this.chainId=e,this.rpcUrl=r.urls[e]}async activate(){if(!this.fortmatic){const{default:r}=await m(async()=>{const{default:t}=await import("./fortmatic-DhmlcDbL.js").then(i=>i.f);return{default:t}},__vite__mapDeps([0,1]));this.fortmatic=new r(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const e=await this.fortmatic.getProvider().enable().then(r=>r[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 U(){return U=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r])}return o},U.apply(this,arguments)}function q(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}function K(o){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(o)}function L(o,n){return L=Object.setPrototypeOf||function(r,t){return r.__proto__=t,r},L(o,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(o,n,e){return ve()?O=Reflect.construct:O=function(t,i,s){var a=[null];a.push.apply(a,i);var c=Function.bind.apply(t,a),d=new c;return s&&L(d,s.prototype),d},O.apply(null,arguments)}function we(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function S(o){var n=typeof Map=="function"?new Map:void 0;return S=function(r){if(r===null||!we(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(r))return n.get(r);n.set(r,t)}function t(){return O(r,arguments,K(this).constructor)}return t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),L(t,r)},S(o)}function b(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function P(o,n){try{var e=o()}catch(r){return n(r)}return e&&e.then?e.then(void 0,n):e}function C(o){return o.hasOwnProperty("result")?o.result:o}var k=(function(o){q(n,o);function n(){var e;return e=o.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(o){q(n,o);function n(){var e;return e=o.call(this)||this,e.name=e.constructor.name,e.message="The user rejected the request.",e}return n})(S(Error)),me=(function(o){q(n,o);function n(r){var t;return t=o.call(this,r)||this,t.handleNetworkChanged=t.handleNetworkChanged.bind(b(t)),t.handleChainChanged=t.handleChainChanged.bind(b(t)),t.handleAccountsChanged=t.handleAccountsChanged.bind(b(t)),t.handleClose=t.handleClose.bind(b(t)),t}var e=n.prototype;return e.handleChainChanged=function(t){this.emitUpdate({chainId:t,provider:window.ethereum})},e.handleAccountsChanged=function(t){t.length===0?this.emitDeactivate():this.emitUpdate({account:t[0]})},e.handleClose=function(t,i){this.emitDeactivate()},e.handleNetworkChanged=function(t){this.emitUpdate({chainId:t,provider:window.ethereum})},e.activate=function(){try{var t=function(f){if(i)return f;function p(){return U({provider:window.ethereum},a?{account:a}:{})}var v=(function(){if(!a)return Promise.resolve(window.ethereum.enable().then(function(T){return T&&C(T)[0]})).then(function(T){a=T})})();return v&&v.then?v.then(p):p(v)},i=!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(d){return C(d)[0]})).then(function(d){a=d})},function(d){if(d.code===4001)throw new ge});return Promise.resolve(c&&c.then?c.then(t):t(c))}catch(d){return Promise.reject(d)}},e.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(t){return Promise.reject(t)}},e.getChainId=function(){try{var t=function(){function c(){if(!i)try{i=C(window.ethereum.send({method:"net_version"}))}catch{}return i||(window.ethereum.isDapper?i=C(window.ethereum.cachedResults.net_version):i=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),i}var d=(function(){if(!i){var f=P(function(){return Promise.resolve(window.ethereum.send("net_version").then(C)).then(function(p){i=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return d&&d.then?d.then(c):c(d)};if(!window.ethereum)throw new k;var i,s=P(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(C)).then(function(a){i=a})},function(){});return Promise.resolve(s&&s.then?s.then(t):t(s))}catch(a){return Promise.reject(a)}},e.getAccount=function(){try{var t=function(){function c(){return i||(i=C(window.ethereum.send({method:"eth_accounts"}))[0]),i}var d=(function(){if(!i){var f=P(function(){return Promise.resolve(window.ethereum.enable().then(function(p){return C(p)[0]})).then(function(p){i=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return d&&d.then?d.then(c):c(d)};if(!window.ethereum)throw new k;var i,s=P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(a){return C(a)[0]})).then(function(a){i=a})},function(){});return Promise.resolve(s&&s.then?s.then(t):t(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(t){return C(t).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(t){return Promise.reject(t)}},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((r,t)=>{setTimeout(()=>{t(new G)},Ie)}),e=super.activate();return Promise.race([e,n])}}var Ce="Invariant failed";function V(o,n){throw new Error(Ce)}function Y(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,N(o,n)}function D(o){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(o)}function N(o,n){return N=Object.setPrototypeOf||function(r,t){return r.__proto__=t,r},N(o,n)}function ye(){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(o,n,e){return ye()?R=Reflect.construct:R=function(t,i,s){var a=[null];a.push.apply(a,i);var c=Function.bind.apply(t,a),d=new c;return s&&N(d,s.prototype),d},R.apply(null,arguments)}function Ee(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function W(o){var n=typeof Map=="function"?new Map:void 0;return W=function(r){if(r===null||!Ee(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(r))return n.get(r);n.set(r,t)}function t(){return R(r,arguments,D(this).constructor)}return t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),N(t,r)},W(o)}var j=(function(o){Y(n,o);function n(e,r,t){var i;return i=o.call(this)||this,i.code=r,i.data=t,i.name=i.constructor.name,i.message=e,i}return n})(W(Error)),Ae=function(n,e){var r=this,t=this;this.isMetaMask=!1,this.sendAsync=function(s,a){console.log("sendAsync",s.method,s.params),t.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(r.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 j(c.status+": "+c.statusText,-32e3);return Promise.resolve(c.json()).then(function(d){if("error"in d){var f,p,v;throw new j(d==null||(f=d.error)==null?void 0:f.message,d==null||(p=d.error)==null?void 0:p.code,d==null||(v=d.error)==null?void 0:v.data)}else{if("result"in d)return d.result;throw new j("Received unexpected JSON-RPC response to "+s+" request.",-32e3,d)}})})}catch(c){return Promise.reject(c)}},this.chainId=n,this.url=e;var i=new URL(e);this.host=i.host,this.path=i.pathname},Te=(function(o){Y(n,o);function n(r){var t,i=r.urls,s=r.defaultChainId;return s||Object.keys(i).length===1||V(),t=o.call(this,{supportedChainIds:Object.keys(i).map(function(a){return Number(a)})})||this,t.currentChainId=s||Number(Object.keys(i)[0]),t.providers=Object.keys(i).reduce(function(a,c){return a[Number(c)]=new Ae(Number(c),i[Number(c)]),a},{}),t}var e=n.prototype;return e.activate=function(){try{var t=this;return Promise.resolve({provider:t.providers[t.currentChainId],chainId:t.currentChainId,account:null})}catch(i){return Promise.reject(i)}},e.getProvider=function(){try{var t=this;return Promise.resolve(t.providers[t.currentChainId])}catch(i){return Promise.reject(i)}},e.getChainId=function(){try{var t=this;return Promise.resolve(t.currentChainId)}catch(i){return Promise.reject(i)}},e.getAccount=function(){return Promise.resolve(null)},e.deactivate=function(){},e.changeChainId=function(t){Object.keys(this.providers).includes(t.toString())||V(),this.currentChainId=t,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:t})},n})(E);class Q extends Te{constructor(n){super({urls:I()[l.ProviderType.NETWORK].urls,defaultChainId:n})}}function x(){return x=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r])}return o},x.apply(this,arguments)}function Pe(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,F(o,n)}function F(o,n){return F=Object.setPrototypeOf||function(r,t){return r.__proto__=t,r},F(o,n)}function B(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}var _e=1,Ne=(function(o){Pe(n,o);function n(r){var t,i=r.url,s=r.appName,a=r.appLogoUrl,c=r.darkMode,d=r.supportedChainIds;return t=o.call(this,{supportedChainIds:d})||this,t.url=i,t.appName=s,t.appLogoUrl=a,t.darkMode=c||!1,t.handleChainChanged=t.handleChainChanged.bind(B(t)),t.handleAccountsChanged=t.handleAccountsChanged.bind(B(t)),t}var e=n.prototype;return e.activate=function(){try{var t=this,i=function(){return Promise.resolve(t.provider.request({method:"eth_requestAccounts"})).then(function(c){var d=c[0];return t.provider.on("chainChanged",t.handleChainChanged),t.provider.on("accountsChanged",t.handleAccountsChanged),{provider:t.provider,account:d}})},s=(function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)t.provider=window.ethereum;else{var a=(function(){if(!t.walletLink)return Promise.resolve(m(()=>import("./index-htvE856q.js").then(c=>c.i),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11])).then(function(c){var d;return(d=c==null?void 0:c.default)!=null?d:c})).then(function(c){t.walletLink=new c(x({appName:t.appName,darkMode:t.darkMode},t.appLogoUrl?{appLogoUrl:t.appLogoUrl}:{})),t.provider=t.walletLink.makeWeb3Provider(t.url,_e)})})();if(a&&a.then)return a.then(function(){})}})();return Promise.resolve(s&&s.then?s.then(i):i(s))}catch(a){return Promise.reject(a)}},e.getProvider=function(){try{var t=this;return Promise.resolve(t.provider)}catch(i){return Promise.reject(i)}},e.getChainId=function(){try{var t=this;return Promise.resolve(t.provider.chainId)}catch(i){return Promise.reject(i)}},e.getAccount=function(){try{var t=this;return Promise.resolve(t.provider.request({method:"eth_requestAccounts"})).then(function(i){return i[0]})}catch(i){return Promise.reject(i)}},e.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},e.close=function(){try{var t=this;return t.provider.close(),t.emitDeactivate(),Promise.resolve()}catch(i){return Promise.reject(i)}},e.handleChainChanged=function(t){this.emitUpdate({chainId:t})},e.handleAccountsChanged=function(t){this.emitUpdate({account:t[0]})},n})(E);class X extends Ne{constructor(n){const e=I()[g.ProviderType.WALLET_LINK],r=e.urls[n];if(!r)throw new Error(`Unsupported chainId for WalletLink: ${n}. Supported chains: ${Object.keys(e.urls).join(", ")}`);super({url:r,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 r=localStorage.key(e);r&&n.test(r)&&localStorage.removeItem(r)}}}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});h(this,"desiredChainId");h(this,"appKit");h(this,"provider");h(this,"accountUnsubscribe");h(this,"networkUnsubscribe");h(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-CDtEmRi2.js").then(a=>a.h);return{createAppKit:s}},__vite__mapDeps([12,13,1,3,5,4,11,14,15,16,17,18,19,20,21,22,23,24])),{WagmiAdapter:r}=await m(async()=>{const{WagmiAdapter:s}=await import("./index-PleUZn46.js").then(a=>a.b);return{WagmiAdapter:s}},__vite__mapDeps([25,15,3,16,1,5,17,18,19,13,4,11,14,26,27,6,28,29,30])),t=await this.getNetworks(),i=new r({networks:t,projectId:w.configuration.projectId});return this.appKit=e({adapters:[i],projectId:w.configuration.projectId,networks:t,defaultNetwork:t[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});h(this,"waitForSessionRestore",async()=>{const e=this.appKit;if(!e)return;const r=e.getAccount();if((r==null?void 0:r.status)==="connected"||(r==null?void 0:r.status)==="disconnected")return;const t=r!=null&&r.status?5e3:500;return new Promise(i=>{const s=setTimeout(()=>{a==null||a(),i()},t),a=e.subscribeAccount(c=>{((c==null?void 0:c.status)==="connected"||(c==null?void 0:c.status)==="disconnected")&&(clearTimeout(s),a==null||a(),i())},"eip155")})});h(this,"validateRestoredSession",async e=>{try{const r=e.getWalletProvider();return r?(await r.request({method:"eth_chainId"}),!0):!1}catch(r){return w.isStaleSessionError(r)?!1:(console.warn("Error validating WalletConnect session:",r),!0)}});h(this,"openModalAndWaitForConnection",async()=>{const e=this.requireAppKit(),r=()=>new Promise((t,i)=>{let s=!1;const a=(p,v)=>{s||(s=!0,clearTimeout(c),p==null||p(),v==null||v())},c=setTimeout(()=>{a(),i(new Error("Connection timeout"))},3e5),d=e.subscribeAccount(p=>{p!=null&&p.isConnected&&(p!=null&&p.address)&&(a(d,f),t(p.address))},"eip155"),f=e.subscribeState(p=>{!p.open&&!e.getAddress("eip155")&&(a(d,f),i(new Error("User closed the modal without connecting")))})});try{await e.open({view:"Connect"}),await r()}catch(t){if(w.isStaleSessionError(t)){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 r()}else throw t}});h(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(),r=e.getAccount();(r==null?void 0:r.status)==="connected"&&(r==null?void 0:r.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 i=e.getWalletProvider();if(!i)throw new Error("Failed to get wallet provider after connection");this.provider=i,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}});h(this,"getProvider",async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider});h(this,"getChainId",async()=>this.requireAppKit().getChainId()??this.desiredChainId);h(this,"getAccount",async()=>this.requireAppKit().getAddress("eip155")??null);h(this,"getWalletName",()=>{var e,r,t;return(t=(r=(e=this.appKit)==null?void 0:e.getWalletInfo)==null?void 0:r.call(e,"eip155"))==null?void 0:t.name});h(this,"deactivate",()=>{});h(this,"clearInstance",()=>{var r,t;const e=this.provider;if(e){this.provider=void 0;try{(r=this.accountUnsubscribe)==null||r.call(this),(t=this.networkUnsubscribe)==null||t.call(this)}catch(i){console.warn("Error unsubscribing from AppKit events:",i)}return this.accountUnsubscribe=void 0,this.networkUnsubscribe=void 0,e}});h(this,"close",async()=>{var r;if(this.clearInstance()){try{await((r=this.appKit)==null?void 0:r.disconnect())}catch(t){console.warn("Error during WalletConnect disconnect:",t)}this.appKit=void 0}});h(this,"handleAccountsChanged",e=>{this.emitUpdate({account:e[0]})});h(this,"handleChainChanged",e=>{this.emitUpdate({chainId:e})});h(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 r=e.message.toLowerCase();return r.includes("no matching key")||r.includes("session topic doesn't exist")||r.includes("missing or invalid")||r.includes("expired")||r.includes("user rejected methods")||r.includes("is not configured")||r.includes("cannot read properties")||r.includes("undefined is not an object")}return!1}async getNetworks(){const e=w.configuration.chains,r=await m(()=>import("./networks-CpT7rAv_.js"),__vite__mapDeps([31,19,5,1,32,33,26,13,3,4,11,14,34,35,30])),t=e.map(s=>{const a=be[s];if(a)return r[a]}).filter(s=>s!==void 0);if(t.length===0)throw new Error("No supported networks found for WalletConnect");const i=t.find(s=>s.id===this.desiredChainId);if(i){const s=t.filter(a=>a.id!==this.desiredChainId);return[i,...s]}return[t[0],...t.slice(1)]}};h(w,"configuration",I()[g.ProviderType.WALLET_CONNECT_V2]),h(w,"clearStorage",(e=new Z)=>{e.removeRegExp(new RegExp("^wc@2:")),e.removeRegExp(new RegExp("^@appkit")),w.sharedAppKit=null}),h(w,"sharedAppKit",null);let _=w;class H extends E{constructor(e,r=!1){super({supportedChainIds:I()[g.ProviderType.MAGIC].chains});h(this,"isTest");h(this,"chainId");h(this,"account");h(this,"magic");h(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 r=await this.getProvider(),t=await r.request({method:"eth_accounts"});return this.account=t[0]??null,{provider:r,chainId:this.chainId,account:this.account}});h(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(r,t,i)=>{var s,a,c;if(((s=i[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const d=parseInt((c=(a=i[0])==null?void 0:a.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(d)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(d),this.emitUpdate({chainId:d}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return r.bind(e)(...i)}}),sendAsync:new Proxy(e.send,{apply:async(r,t,i)=>r.bind(e)(...i)})}});h(this,"getChainId",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId});h(this,"getAccount",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account});h(this,"deactivate",()=>{});h(this,"buildMagicInstance",async e=>{const{Magic:r}=await m(async()=>{const{Magic:a}=await import("./index-DGOaB47n.js");return{Magic:a}},__vite__mapDeps([36,5,1,37])),{OAuthExtension:t}=await m(async()=>{const{OAuthExtension:a}=await import("./index-IqrjnIQ9.js");return{OAuthExtension:a}},__vite__mapDeps([38,37,5,1,39,7,8,4,10,3])),i=I()[this.isTest?g.ProviderType.MAGIC_TEST:g.ProviderType.MAGIC],s=i.urls[e];if(!s)throw new Error(`Unsupported chainId for Magic: ${e}. Supported chains: ${Object.keys(i.urls).join(", ")}`);return new r(i.apiKey,{extensions:[new t],network:{rpcUrl:s,chainId:e}})});this.isTest=r,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 r;super({supportedChainIds:((r=I().thirdweb)==null?void 0:r.chains)??[u.ChainId.ETHEREUM_MAINNET,u.ChainId.ETHEREUM_SEPOLIA]});h(this,"chainId");h(this,"client");h(this,"wallet");h(this,"chain");h(this,"eip1193Provider");h(this,"activate",async()=>{const e=await this.getClient(),r=await this.getWallet();let t;try{t=await r.autoConnect({client:e})}catch{throw new Error("Thirdweb: No active session. User must authenticate first.")}if(!t)throw new Error("Thirdweb: No active session. User must authenticate first.");const i=await this.getChain(),{EIP1193:s}=await m(async()=>{const{EIP1193:d}=await import("./wallets-Kk_yC_Zf.js").then(f=>f.ag);return{EIP1193:d}},__vite__mapDeps([40,41,42,5,1,13,3,4,11,14,28,43,20,16,21,44,22,45]));return this.eip1193Provider=s.toProvider({wallet:r,chain:i,client:e}),{provider:await this.getProvider(),chainId:this.chainId,account:t.address}});h(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(r,t,i)=>{var a,c,d,f;if(((a=i[0])==null?void 0:a.method)==="wallet_switchEthereumChain"){const p=(f=(d=(c=i[0])==null?void 0:c.params)==null?void 0:d[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-Kk_yC_Zf.js").then(se=>se.ag);return{EIP1193:ae}},__vite__mapDeps([40,41,42,5,1,13,3,4,11,14,28,43,20,16,21,44,22,45]));return this.eip1193Provider=oe.toProvider({wallet:ne,chain:ie,client:T}),this.emitUpdate({chainId:v}),null}return Reflect.apply(r,e,i)}}),sendAsync:new Proxy(e.request,{apply:async(r,t,i)=>Reflect.apply(r,e,i)})}});h(this,"getChainId",async()=>this.chainId);h(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}});h(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-D0HOfogA.js").then(t=>t.t),__vite__mapDeps([46,42,5,1,41,13,3,4,11,14,47,48,49,50,51,52,53,54,55,56]))}catch{throw new Error("Thirdweb: thirdweb package is not installed.")}const r=I().thirdweb;return this.client=e.createThirdwebClient({clientId:r.clientId}),this.client}async getWallet(){if(this.wallet)return this.wallet;let e;try{e=await m(()=>import("./wallets-Kk_yC_Zf.js").then(r=>r.ag),__vite__mapDeps([40,41,42,5,1,13,3,4,11,14,28,43,20,16,21,44,22,45]))}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-CpxWadaj.js"),__vite__mapDeps([57,42,5,1,55,45]));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){h(this,"provider");h(this,"id",0);h(this,"on",(n,e)=>this.provider.on(n,e));h(this,"emit",(n,...e)=>this.provider.emit(n,e));h(this,"removeListener",(n,e)=>this.provider.removeListener(n,e));h(this,"request",async({method:n,params:e})=>this.isModernProvider()?this.provider.request({method:n,params:e}):this.send(n,e));h(this,"sendAsync",async(n,e)=>this.hasSendAsync()?this.provider.sendAsync(n,(r,t)=>{t&&!Object.prototype.hasOwnProperty.call(t,"result")?e(r,{id:0,jsonrpc:"2.0",result:t}):e(r,t)}):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 r,t,i;const s=typeof e=="function";if(s){const a=n;t=a.params||[],r=a.method,i=e}else r=n,t=e||[],i=(a,c)=>{if(a)throw a;return c};if(this.isModernProvider()){const[a,c]=await this.provider.request({method:r,params:t}).then(f=>[null,f]).catch(f=>[f,void 0]);return i(a,s?{id:"",jsonrpc:"2.0",result:c}:c)}else{this.patchOldMobile();const[a,c]=s?await new Promise(d=>this.provider.send(n,(f,p)=>{d([f,p])})):await new Promise(d=>this.provider.send({jsonrpc:"2.0",id:++this.id,method:r,params:t},(f,p)=>{const v=p;d([(v==null?void 0:v.error)??f,(v==null?void 0:v.result)??p])}));return i(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){h(this,"storage");h(this,"connector");h(this,"promiseOfConnection");h(this,"getWalletName",()=>{if(this.connector instanceof _)return this.connector.getWalletName()});h(this,"clearConnectionData",()=>{const{storageKey:n}=I();this.storage.remove(n),_.clearStorage(this.storage)});h(this,"handleWeb3ReactDeactivate",async()=>{try{await this.disconnect()}catch(n){console.error(n)}});this.storage=n}async connect(n,e=u.ChainId.ETHEREUM_MAINNET){if(this.connector)try{await this.disconnect()}catch(a){console.error("Error disconnecting previous connection",a)}const r=this.buildConnector(n,e);r.on(y.Deactivate,this.handleWeb3ReactDeactivate);let{provider:t,account:i}={};try{const a=await r.activate();t=a.provider,i=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)&&r.on(y.Update,({chainId:a})=>{a&&this.setConnectionData(n,a)});let s=e;if(n===l.ProviderType.INJECTED){const a=await t.request({method:"eth_chainId"});s=a?parseInt(a,16):s}return this.connector=r,this.setConnectionData(n,s),{provider:M.adapt(t),providerType:n,account:i||"",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[r,t]=await Promise.all([this.connector.getProvider(),this.connector.getAccount()]);return{provider:r,providerType:n.providerType,chainId:n.chainId,account:t||""}}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(y.Deactivate),this.connector.removeAllListeners(y.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 createProvider(n,e=u.ChainId.ETHEREUM_MAINNET){const t=await this.buildConnector(n,e).getProvider();return M.adapt(t)}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(r){console.error("Error parsing connection data",r);return}}storeConnectionData(n,e){this.setConnectionData(n,e)}setConnectionData(n,e){const{storageKey:r}=I(),t=JSON.stringify({providerType:n,chainId:e});this.storage.set(r,t)}isClosableConnector(){return this.connector&&"close"in this.connector}}const Oe=new re(new Z),Ke=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{Ue as N,Oe as c,$ as e,Ke as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as O,e as ri,c as Hn,g as $t,j,f as mr,R as hr,h as ni,i as oi,k as lr}from"./react-C51i12iP.js";import{a as Ht}from"./dcl-schemas-BICTSpB5.js";import{b as Ot,h as Rt,a as Ze,i as va,j as ma,k as ha,l as ai,m as ur,e as ii,n as si,o as li,p as ui,q as ci,d as Mr,s as ga,g as ya,c as ba,f as fi,t as pi,r as di}from"./index-Dp3Py-Ws.js";import{p as Lr}from"./sentry-DKBoGDXH.js";import{c as vi,_ as mi,T as xa,B as hi,a as gi,b as yi,d as bi,u as Tn,e as An,f as xi}from"./index-
|
|
1
|
+
import{r as O,e as ri,c as Hn,g as $t,j,f as mr,R as hr,h as ni,i as oi,k as lr}from"./react-C51i12iP.js";import{a as Ht}from"./dcl-schemas-BICTSpB5.js";import{b as Ot,h as Rt,a as Ze,i as va,j as ma,k as ha,l as ai,m as ur,e as ii,n as si,o as li,p as ui,q as ci,d as Mr,s as ga,g as ya,c as ba,f as fi,t as pi,r as di}from"./index-Dp3Py-Ws.js";import{p as Lr}from"./sentry-DKBoGDXH.js";import{c as vi,_ as mi,T as xa,B as hi,a as gi,b as yi,d as bi,u as Tn,e as An,f as xi}from"./index-BNnVKxqC.js";import{E as Vc}from"./index-BNnVKxqC.js";import{c as Si}from"./index-BbKMnNcs.js";import{n as nt}from"./emotion-styled.browser.esm-Cj9DOOij.js";import{L as He,H as Wt,J as dt,K as Pt,M,N as Ge,P as Ct,Q as je,bc as Be,bh as tt,bi as wi,bj as Or,bk as Je,ba as wt,bl as Fn,bm as Ei,aX as Ft,bn as $i,bo as Oi,O as ye,bp as Ri,bq as Pi,br as Sa,bs as cr,bt as fr}from"./index-CnOiYeAk.js";import{u as Ci}from"./useTheme-3SpHG4Qk.js";import{g as Vn,u as ki}from"./getOverlayAlpha-yAmCaiXy.js";import"./useTheme-DLmJNPU6.js";import"./CircularProgress-ApNcnq7N.js";import"./ethers-BeFqf2KO.js";import"./intl-CBcMB1D2.js";function Ii(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Mi(e){return O.Children.toArray(e).filter(t=>O.isValidElement(t))}const Ti={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Ai={},Bi=Object.freeze(Object.defineProperty({__proto__:null,default:Ai},Symbol.toStringTag,{value:"Module"})),Li=ri(Bi);var Dr,zn;function Tr(){if(zn)return Dr;zn=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&typeof t.get=="function"?t.get:null,o=e&&Map.prototype.forEach,n=typeof Set=="function"&&Set.prototype,a=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=n&&a&&typeof a.get=="function"?a.get:null,i=n&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,u=l?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,p=c?WeakSet.prototype.has:null,h=typeof WeakRef=="function"&&WeakRef.prototype,m=h?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,w=String.prototype.match,$=String.prototype.slice,x=String.prototype.replace,S=String.prototype.toUpperCase,E=String.prototype.toLowerCase,T=RegExp.prototype.test,k=Array.prototype.concat,A=Array.prototype.join,C=Array.prototype.slice,B=Math.floor,W=typeof BigInt=="function"?BigInt.prototype.valueOf:null,U=Object.getOwnPropertySymbols,q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ie=typeof Symbol=="function"&&typeof Symbol.iterator=="object",L=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ie||!0)?Symbol.toStringTag:null,X=Object.prototype.propertyIsEnumerable,F=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(f){return f.__proto__}:null);function se(f,d){if(f===1/0||f===-1/0||f!==f||f&&f>-1e3&&f<1e3||T.call(/e/,d))return d;var Y=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof f=="number"){var ue=f<0?-B(-f):B(f);if(ue!==f){var ce=String(ue),G=$.call(d,ce.length+1);return x.call(ce,Y,"$&_")+"."+x.call(x.call(G,/([0-9]{3})/g,"$&_"),/_$/,"")}}return x.call(d,Y,"$&_")}var K=Li,me=K.custom,Ie=ne(me)?me:null,Ee={__proto__:null,double:'"',single:"'"},be={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Dr=function f(d,Y,ue,ce){var G=Y||{};if(de(G,"quoteStyle")&&!de(Ee,G.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(de(G,"maxStringLength")&&(typeof G.maxStringLength=="number"?G.maxStringLength<0&&G.maxStringLength!==1/0:G.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Te=de(G,"customInspect")?G.customInspect:!0;if(typeof Te!="boolean"&&Te!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(de(G,"indent")&&G.indent!==null&&G.indent!==" "&&!(parseInt(G.indent,10)===G.indent&&G.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(de(G,"numericSeparator")&&typeof G.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var _e=G.numericSeparator;if(typeof d>"u")return"undefined";if(d===null)return"null";if(typeof d=="boolean")return d?"true":"false";if(typeof d=="string")return Oe(d,G);if(typeof d=="number"){if(d===0)return 1/0/d>0?"0":"-0";var Se=String(d);return _e?se(d,Se):Se}if(typeof d=="bigint"){var Ae=String(d)+"n";return _e?se(d,Ae):Ae}var mt=typeof G.depth>"u"?5:G.depth;if(typeof ue>"u"&&(ue=0),ue>=mt&&mt>0&&typeof d=="object")return N(d)?"[Array]":"[Object]";var ze=Q(G,ue);if(typeof ce>"u")ce=[];else if(le(ce,d)>=0)return"[Circular]";function Ce(we,Bt,Br){if(Bt&&(ce=C.call(ce),ce.push(Bt)),Br){var vr={depth:G.depth};return de(G,"quoteStyle")&&(vr.quoteStyle=G.quoteStyle),f(we,vr,ue+1,ce)}return f(we,G,ue+1,ce)}if(typeof d=="function"&&!ae(d)){var ct=Fe(d),It=Pe(d,Ce);return"[Function"+(ct?": "+ct:" (anonymous)")+"]"+(It.length>0?" { "+A.call(It,", ")+" }":"")}if(ne(d)){var Mt=ie?x.call(String(d),/^(Symbol\(.*\))_[^)]*$/,"$1"):q.call(d);return typeof d=="object"&&!ie?I(Mt):Mt}if($e(d)){for(var ot="<"+E.call(String(d.nodeName)),ht=d.attributes||[],ft=0;ft<ht.length;ft++)ot+=" "+ht[ft].name+"="+b(P(ht[ft].value),"double",G);return ot+=">",d.childNodes&&d.childNodes.length&&(ot+="..."),ot+="</"+E.call(String(d.nodeName))+">",ot}if(N(d)){if(d.length===0)return"[]";var gt=Pe(d,Ce);return ze&&!oe(gt)?"["+Re(gt,ze)+"]":"[ "+A.call(gt,", ")+" ]"}if(re(d)){var at=Pe(d,Ce);return!("cause"in Error.prototype)&&"cause"in d&&!X.call(d,"cause")?"{ ["+String(d)+"] "+A.call(k.call("[cause]: "+Ce(d.cause),at),", ")+" }":at.length===0?"["+String(d)+"]":"{ ["+String(d)+"] "+A.call(at,", ")+" }"}if(typeof d=="object"&&Te){if(Ie&&typeof d[Ie]=="function"&&K)return K(d,{depth:mt-ue});if(Te!=="symbol"&&typeof d.inspect=="function")return d.inspect()}if(xe(d)){var Tt=[];return o&&o.call(d,function(we,Bt){Tt.push(Ce(Bt,d,!0)+" => "+Ce(we,d))}),te("Map",r.call(d),Tt,ze)}if(Me(d)){var pt=[];return i&&i.call(d,function(we){pt.push(Ce(we,d))}),te("Set",s.call(d),pt,ze)}if(qe(d))return D("WeakMap");if(Ve(d))return D("WeakSet");if(Ne(d))return D("WeakRef");if(V(d))return I(Ce(Number(d)));if(J(d))return I(Ce(W.call(d)));if(Z(d))return I(g.call(d));if(ee(d))return I(Ce(String(d)));if(typeof window<"u"&&d===window)return"{ [object Window] }";if(typeof globalThis<"u"&&d===globalThis||typeof Hn<"u"&&d===Hn)return"{ [object globalThis] }";if(!_(d)&&!ae(d)){var it=Pe(d,Ce),At=F?F(d)===Object.prototype:d instanceof Object||d.constructor===Object,ve=d instanceof Object?"":"null prototype",he=!At&&L&&Object(d)===d&&L in d?$.call(pe(d),8,-1):ve?"Object":"",yt=At||typeof d.constructor!="function"?"":d.constructor.name?d.constructor.name+" ":"",Qe=yt+(he||ve?"["+A.call(k.call([],he||[],ve||[]),": ")+"] ":"");return it.length===0?Qe+"{}":ze?Qe+"{"+Re(it,ze)+"}":Qe+"{ "+A.call(it,", ")+" }"}return String(d)};function b(f,d,Y){var ue=Y.quoteStyle||d,ce=Ee[ue];return ce+f+ce}function P(f){return x.call(String(f),/"/g,""")}function H(f){return!L||!(typeof f=="object"&&(L in f||typeof f[L]<"u"))}function N(f){return pe(f)==="[object Array]"&&H(f)}function _(f){return pe(f)==="[object Date]"&&H(f)}function ae(f){return pe(f)==="[object RegExp]"&&H(f)}function re(f){return pe(f)==="[object Error]"&&H(f)}function ee(f){return pe(f)==="[object String]"&&H(f)}function V(f){return pe(f)==="[object Number]"&&H(f)}function Z(f){return pe(f)==="[object Boolean]"&&H(f)}function ne(f){if(ie)return f&&typeof f=="object"&&f instanceof Symbol;if(typeof f=="symbol")return!0;if(!f||typeof f!="object"||!q)return!1;try{return q.call(f),!0}catch{}return!1}function J(f){if(!f||typeof f!="object"||!W)return!1;try{return W.call(f),!0}catch{}return!1}var ge=Object.prototype.hasOwnProperty||function(f){return f in this};function de(f,d){return ge.call(f,d)}function pe(f){return y.call(f)}function Fe(f){if(f.name)return f.name;var d=w.call(v.call(f),/^function\s*([\w$]+)/);return d?d[1]:null}function le(f,d){if(f.indexOf)return f.indexOf(d);for(var Y=0,ue=f.length;Y<ue;Y++)if(f[Y]===d)return Y;return-1}function xe(f){if(!r||!f||typeof f!="object")return!1;try{r.call(f);try{s.call(f)}catch{return!0}return f instanceof Map}catch{}return!1}function qe(f){if(!u||!f||typeof f!="object")return!1;try{u.call(f,u);try{p.call(f,p)}catch{return!0}return f instanceof WeakMap}catch{}return!1}function Ne(f){if(!m||!f||typeof f!="object")return!1;try{return m.call(f),!0}catch{}return!1}function Me(f){if(!s||!f||typeof f!="object")return!1;try{s.call(f);try{r.call(f)}catch{return!0}return f instanceof Set}catch{}return!1}function Ve(f){if(!p||!f||typeof f!="object")return!1;try{p.call(f,p);try{u.call(f,u)}catch{return!0}return f instanceof WeakSet}catch{}return!1}function $e(f){return!f||typeof f!="object"?!1:typeof HTMLElement<"u"&&f instanceof HTMLElement?!0:typeof f.nodeName=="string"&&typeof f.getAttribute=="function"}function Oe(f,d){if(f.length>d.maxStringLength){var Y=f.length-d.maxStringLength,ue="... "+Y+" more character"+(Y>1?"s":"");return Oe($.call(f,0,d.maxStringLength),d)+ue}var ce=be[d.quoteStyle||"single"];ce.lastIndex=0;var G=x.call(x.call(f,ce,"\\$1"),/[\x00-\x1f]/g,R);return b(G,"single",d)}function R(f){var d=f.charCodeAt(0),Y={8:"b",9:"t",10:"n",12:"f",13:"r"}[d];return Y?"\\"+Y:"\\x"+(d<16?"0":"")+S.call(d.toString(16))}function I(f){return"Object("+f+")"}function D(f){return f+" { ? }"}function te(f,d,Y,ue){var ce=ue?Re(Y,ue):A.call(Y,", ");return f+" ("+d+") {"+ce+"}"}function oe(f){for(var d=0;d<f.length;d++)if(le(f[d],`
|
|
2
2
|
`)>=0)return!1;return!0}function Q(f,d){var Y;if(f.indent===" ")Y=" ";else if(typeof f.indent=="number"&&f.indent>0)Y=A.call(Array(f.indent+1)," ");else return null;return{base:Y,prev:A.call(Array(d+1),Y)}}function Re(f,d){if(f.length===0)return"";var Y=`
|
|
3
3
|
`+d.prev+d.base;return Y+A.call(f,","+Y)+`
|
|
4
4
|
`+d.prev}function Pe(f,d){var Y=N(f),ue=[];if(Y){ue.length=f.length;for(var ce=0;ce<f.length;ce++)ue[ce]=de(f,ce)?d(f[ce],f):""}var G=typeof U=="function"?U(f):[],Te;if(ie){Te={};for(var _e=0;_e<G.length;_e++)Te["$"+G[_e]]=G[_e]}for(var Se in f)de(f,Se)&&(Y&&String(Number(Se))===Se&&Se<f.length||ie&&Te["$"+Se]instanceof Symbol||(T.call(/[^\w$]/,Se)?ue.push(d(Se,f)+": "+d(f[Se],f)):ue.push(Se+": "+d(f[Se],f))));if(typeof U=="function")for(var Ae=0;Ae<G.length;Ae++)X.call(f,G[Ae])&&ue.push("["+d(G[Ae])+"]: "+d(f[G[Ae]],f));return ue}return Dr}var jr,Un;function Di(){if(Un)return jr;Un=1;var e=Tr(),t=Ot(),r=function(i,l,u){for(var c=i,p;(p=c.next)!=null;c=p)if(p.key===l)return c.next=p.next,u||(p.next=i.next,i.next=p),p},o=function(i,l){if(i){var u=r(i,l);return u&&u.value}},n=function(i,l,u){var c=r(i,l);c?c.value=u:i.next={key:l,next:i.next,value:u}},a=function(i,l){return i?!!r(i,l):!1},s=function(i,l){if(i)return r(i,l,!0)};return jr=function(){var l,u={assert:function(c){if(!u.has(c))throw new t("Side channel does not contain "+e(c))},delete:function(c){var p=s(l,c);return p&&l&&!l.next&&(l=void 0),!!p},get:function(c){return o(l,c)},has:function(c){return a(l,c)},set:function(c,p){l||(l={next:void 0}),n(l,c,p)}};return u},jr}var qr,Gn;function wa(){if(Gn)return qr;Gn=1;var e=Rt(),t=Ze(),r=Tr(),o=Ot(),n=e("%Map%",!0),a=t("Map.prototype.get",!0),s=t("Map.prototype.set",!0),i=t("Map.prototype.has",!0),l=t("Map.prototype.delete",!0),u=t("Map.prototype.size",!0);return qr=!!n&&function(){var p,h={assert:function(m){if(!h.has(m))throw new o("Side channel does not contain "+r(m))},delete:function(m){if(p){var g=l(p,m);return u(p)===0&&(p=void 0),g}return!1},get:function(m){if(p)return a(p,m)},has:function(m){return p?i(p,m):!1},set:function(m,g){p||(p=new n),s(p,m,g)}};return h},qr}var Nr,Xn;function ji(){if(Xn)return Nr;Xn=1;var e=Rt(),t=Ze(),r=Tr(),o=wa(),n=Ot(),a=e("%WeakMap%",!0),s=t("WeakMap.prototype.get",!0),i=t("WeakMap.prototype.set",!0),l=t("WeakMap.prototype.has",!0),u=t("WeakMap.prototype.delete",!0);return Nr=a?function(){var p,h,m={assert:function(g){if(!m.has(g))throw new n("Side channel does not contain "+r(g))},delete:function(g){if(a&&g&&(typeof g=="object"||typeof g=="function")){if(p)return u(p,g)}else if(o&&h)return h.delete(g);return!1},get:function(g){return a&&g&&(typeof g=="object"||typeof g=="function")&&p?s(p,g):h&&h.get(g)},has:function(g){return a&&g&&(typeof g=="object"||typeof g=="function")&&p?l(p,g):!!h&&h.has(g)},set:function(g,y){a&&g&&(typeof g=="object"||typeof g=="function")?(p||(p=new a),i(p,g,y)):o&&(h||(h=o()),h.set(g,y))}};return m}:o,Nr}var _r,Yn;function Ea(){if(Yn)return _r;Yn=1;var e=Ot(),t=Tr(),r=Di(),o=wa(),n=ji(),a=n||o||r;return _r=function(){var i,l={assert:function(u){if(!l.has(u)){var c=u&&Object(u)===u?"the given object key":t(u);throw new e("Side channel does not contain "+c)}},delete:function(u){return!!i&&i.delete(u)},get:function(u){return i&&i.get(u)},has:function(u){return!!i&&i.has(u)},set:function(u,c){i||(i=a()),i.set(u,c)}};return l},_r}var Wr,Kn;function $a(){if(Kn)return Wr;Kn=1;var e=Object.prototype.toString;return Wr=function(r){var o=e.call(r),n=o==="[object Arguments]";return n||(n=o!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&e.call(r.callee)==="[object Function]"),n},Wr}var Hr,Zn;function qi(){if(Zn)return Hr;Zn=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=$a(),n=Object.prototype.propertyIsEnumerable,a=!n.call({toString:null},"toString"),s=n.call(function(){},"prototype"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(h){var m=h.constructor;return m&&m.prototype===h},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=(function(){if(typeof window>"u")return!1;for(var h in window)try{if(!u["$"+h]&&t.call(window,h)&&window[h]!==null&&typeof window[h]=="object")try{l(window[h])}catch{return!0}}catch{return!0}return!1})(),p=function(h){if(typeof window>"u"||!c)return l(h);try{return l(h)}catch{return!1}};e=function(m){var g=m!==null&&typeof m=="object",y=r.call(m)==="[object Function]",v=o(m),w=g&&r.call(m)==="[object String]",$=[];if(!g&&!y&&!v)throw new TypeError("Object.keys called on a non-object");var x=s&&y;if(w&&m.length>0&&!t.call(m,0))for(var S=0;S<m.length;++S)$.push(String(S));if(v&&m.length>0)for(var E=0;E<m.length;++E)$.push(String(E));else for(var T in m)!(x&&T==="prototype")&&t.call(m,T)&&$.push(String(T));if(a)for(var k=p(m),A=0;A<i.length;++A)!(k&&i[A]==="constructor")&&t.call(m,i[A])&&$.push(i[A]);return $}}return Hr=e,Hr}var Fr,Jn;function Bn(){if(Jn)return Fr;Jn=1;var e=Array.prototype.slice,t=$a(),r=Object.keys,o=r?function(s){return r(s)}:qi(),n=Object.keys;return o.shim=function(){if(Object.keys){var s=(function(){var i=Object.keys(arguments);return i&&i.length===arguments.length})(1,2);s||(Object.keys=function(l){return t(l)?n(e.call(l)):n(l)})}else Object.keys=o;return Object.keys||o},Fr=o,Fr}var Vr,Qn;function kt(){if(Qn)return Vr;Qn=1;var e=Bn(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,o=Array.prototype.concat,n=ma(),a=function(u){return typeof u=="function"&&r.call(u)==="[object Function]"},s=va()(),i=function(u,c,p,h){if(c in u){if(h===!0){if(u[c]===p)return}else if(!a(h)||!h())return}s?n(u,c,p,!0):n(u,c,p)},l=function(u,c){var p=arguments.length>2?arguments[2]:{},h=e(c);t&&(h=o.call(h,Object.getOwnPropertySymbols(c)));for(var m=0;m<h.length;m+=1)i(u,h[m],c[h[m]],p[h[m]])};return l.supportsDescriptors=!!s,Vr=l,Vr}var zr,eo;function Oa(){if(eo)return zr;eo=1;var e=Bn(),t=ha()(),r=Ze(),o=ai(),n=r("Array.prototype.push"),a=r("Object.prototype.propertyIsEnumerable"),s=t?o.getOwnPropertySymbols:null;return zr=function(l,u){if(l==null)throw new TypeError("target must be an object");var c=o(l);if(arguments.length===1)return c;for(var p=1;p<arguments.length;++p){var h=o(arguments[p]),m=e(h),g=t&&(o.getOwnPropertySymbols||s);if(g)for(var y=g(h),v=0;v<y.length;++v){var w=y[v];a(h,w)&&n(m,w)}for(var $=0;$<m.length;++$){var x=m[$];if(a(h,x)){var S=h[x];c[x]=S}}}return c},zr}var Ur,to;function Ra(){if(to)return Ur;to=1;var e=Oa(),t=function(){if(!Object.assign)return!1;for(var o="abcdefghijklmnopqrst",n=o.split(""),a={},s=0;s<n.length;++s)a[n[s]]=n[s];var i=Object.assign({},a),l="";for(var u in i)l+=u;return o!==l},r=function(){if(!Object.assign||!Object.preventExtensions)return!1;var o=Object.preventExtensions({1:2});try{Object.assign(o,"xy")}catch{return o[1]==="y"}return!1};return Ur=function(){return!Object.assign||t()||r()?e:Object.assign},Ur}var Gr,ro;function Ni(){if(ro)return Gr;ro=1;var e=kt(),t=Ra();return Gr=function(){var o=t();return e(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o},Gr}var Xr,no;function _i(){if(no)return Xr;no=1;var e=kt(),t=ur(),r=Oa(),o=Ra(),n=Ni(),a=t.apply(o()),s=function(l,u){return a(Object,arguments)};return e(s,{getPolyfill:o,implementation:r,shim:n}),Xr=s,Xr}var Yr,oo;function Pa(){if(oo)return Yr;oo=1;var e=Rt(),t=ur(),r=t(e("String.prototype.indexOf"));return Yr=function(n,a){var s=e(n,!!a);return typeof s=="function"&&r(n,".prototype.")>-1?t(s):s},Yr}var Kr,ao;function Wi(){if(ao)return Kr;ao=1;var e=function(){return typeof(function(){}).name=="string"},t=Object.getOwnPropertyDescriptor;if(t)try{t([],"length")}catch{t=null}e.functionsHaveConfigurableNames=function(){if(!e()||!t)return!1;var n=t(function(){},"name");return!!n&&!!n.configurable};var r=Function.prototype.bind;return e.boundFunctionsHaveNames=function(){return e()&&typeof r=="function"&&(function(){}).bind().name!==""},Kr=e,Kr}var Zr,io;function Hi(){if(io)return Zr;io=1;var e=ma(),t=va()(),r=Wi().functionsHaveConfigurableNames(),o=Ot();return Zr=function(a,s){if(typeof a!="function")throw new o("`fn` is not a function");var i=arguments.length>2&&!!arguments[2];return(!i||r)&&(t?e(a,"name",s,!0,!0):e(a,"name",s)),a},Zr}var Jr,so;function Ca(){if(so)return Jr;so=1;var e=Hi(),t=Ot(),r=Object;return Jr=e(function(){if(this==null||this!==r(this))throw new t("RegExp.prototype.flags getter called on non-object");var n="";return this.hasIndices&&(n+="d"),this.global&&(n+="g"),this.ignoreCase&&(n+="i"),this.multiline&&(n+="m"),this.dotAll&&(n+="s"),this.unicode&&(n+="u"),this.unicodeSets&&(n+="v"),this.sticky&&(n+="y"),n},"get flags",!0),Jr}var Qr,lo;function ka(){if(lo)return Qr;lo=1;var e=Ca(),t=kt().supportsDescriptors,r=Object.getOwnPropertyDescriptor;return Qr=function(){if(t&&/a/mig.flags==="gim"){var n=r(RegExp.prototype,"flags");if(n&&typeof n.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var a="",s={};if(Object.defineProperty(s,"hasIndices",{get:function(){a+="d"}}),Object.defineProperty(s,"sticky",{get:function(){a+="y"}}),n.get.call(s),a==="dy")return n.get}}return e},Qr}var en,uo;function Fi(){if(uo)return en;uo=1;var e=kt().supportsDescriptors,t=ka(),r=li(),o=Object.defineProperty,n=si(),a=ii(),s=/a/;return en=function(){if(!e||!a)throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var l=t(),u=a(s),c=r(u,"flags");return(!c||c.get!==l)&&o(u,"flags",{configurable:!0,enumerable:!1,get:l}),l},en}var tn,co;function Vi(){if(co)return tn;co=1;var e=kt(),t=ur(),r=Ca(),o=ka(),n=Fi(),a=t(o());return e(a,{getPolyfill:o,implementation:r,shim:n}),tn=a,tn}var Vt={exports:{}},rn,fo;function zi(){if(fo)return rn;fo=1;var e=ui(),t=Ea()(),r=Ot(),o={assert:function(n,a){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof a!="string")throw new r("`slot` must be a string");if(t.assert(n),!o.has(n,a))throw new r("`"+a+"` is not present on `O`")},get:function(n,a){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof a!="string")throw new r("`slot` must be a string");var s=t.get(n);return s&&s["$"+a]},has:function(n,a){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof a!="string")throw new r("`slot` must be a string");var s=t.get(n);return!!s&&e(s,"$"+a)},set:function(n,a,s){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof a!="string")throw new r("`slot` must be a string");var i=t.get(n);i||(i={},t.set(n,i)),i["$"+a]=s}};return Object.freeze&&Object.freeze(o),rn=o,rn}var nn,po;function Ui(){if(po)return nn;po=1;var e=zi(),t=ci(),r=typeof StopIteration=="object"?StopIteration:null;return nn=function(n){if(!r)throw new t("this environment lacks StopIteration");e.set(n,"[[Done]]",!1);var a={next:function(){var i=e.get(this,"[[Iterator]]"),l=!!e.get(i,"[[Done]]");try{return{done:l,value:l?void 0:i.next()}}catch(u){if(e.set(i,"[[Done]]",!0),u!==r)throw u;return{done:!0,value:void 0}}}};return e.set(a,"[[Iterator]]",n),a},nn}var on,vo;function Ia(){if(vo)return on;vo=1;var e=Ze(),t=e("String.prototype.valueOf"),r=function(i){try{return t(i),!0}catch{return!1}},o=e("Object.prototype.toString"),n="[object String]",a=Mr()();return on=function(i){return typeof i=="string"?!0:!i||typeof i!="object"?!1:a?r(i):o(i)===n},on}var an,mo;function Ma(){if(mo)return an;mo=1;var e=typeof Map=="function"&&Map.prototype?Map:null,t=typeof Set=="function"&&Set.prototype?Set:null,r;e||(r=function(s){return!1});var o=e?Map.prototype.has:null,n=t?Set.prototype.has:null;return!r&&!o&&(r=function(s){return!1}),an=r||function(s){if(!s||typeof s!="object")return!1;try{if(o.call(s),n)try{n.call(s)}catch{return!0}return s instanceof e}catch{}return!1},an}var sn,ho;function Ta(){if(ho)return sn;ho=1;var e=typeof Map=="function"&&Map.prototype?Map:null,t=typeof Set=="function"&&Set.prototype?Set:null,r;t||(r=function(s){return!1});var o=e?Map.prototype.has:null,n=t?Set.prototype.has:null;return!r&&!n&&(r=function(s){return!1}),sn=r||function(s){if(!s||typeof s!="object")return!1;try{if(n.call(s),o)try{o.call(s)}catch{return!0}return s instanceof t}catch{}return!1},sn}var go;function Gi(){if(go)return Vt.exports;go=1;var e=ya(),t=Ui();if(ga()()||ha()()){var r=Symbol.iterator;Vt.exports=function(C){if(C!=null&&typeof C[r]<"u")return C[r]();if(e(C))return Array.prototype[r].call(C)}}else{var o=ba(),n=Ia(),a=Rt(),s=a("%Map%",!0),i=a("%Set%",!0),l=Pa(),u=l("Array.prototype.push"),c=l("String.prototype.charCodeAt"),p=l("String.prototype.slice"),h=function(C,B){var W=C.length;if(B+1>=W)return B+1;var U=c(C,B);if(U<55296||U>56319)return B+1;var q=c(C,B+1);return q<56320||q>57343?B+1:B+2},m=function(C){var B=0;return{next:function(){var U=B>=C.length,q;return U||(q=C[B],B+=1),{done:U,value:q}}}},g=function(C,B){if(o(C)||e(C))return m(C);if(n(C)){var W=0;return{next:function(){var q=h(C,W),ie=p(C,W,q);return W=q,{done:q>C.length,value:ie}}}}if(B&&typeof C["_es6-shim iterator_"]<"u")return C["_es6-shim iterator_"]()};if(!s&&!i)Vt.exports=function(C){if(C!=null)return g(C,!0)};else{var y=Ma(),v=Ta(),w=l("Map.prototype.forEach",!0),$=l("Set.prototype.forEach",!0);if(typeof Lr>"u"||!Lr.versions||!Lr.versions.node)var x=l("Map.prototype.iterator",!0),S=l("Set.prototype.iterator",!0);var E=l("Map.prototype.@@iterator",!0)||l("Map.prototype._es6-shim iterator_",!0),T=l("Set.prototype.@@iterator",!0)||l("Set.prototype._es6-shim iterator_",!0),k=function(C){if(y(C)){if(x)return t(x(C));if(E)return E(C);if(w){var B=[];return w(C,function(U,q){u(B,[q,U])}),m(B)}}if(v(C)){if(S)return t(S(C));if(T)return T(C);if($){var W=[];return $(C,function(U){u(W,U)}),m(W)}}};Vt.exports=function(C){return k(C)||g(C)}}}return Vt.exports}var ln,yo;function Aa(){if(yo)return ln;yo=1;var e=function(t){return t!==t};return ln=function(r,o){return r===0&&o===0?1/r===1/o:!!(r===o||e(r)&&e(o))},ln}var un,bo;function Ba(){if(bo)return un;bo=1;var e=Aa();return un=function(){return typeof Object.is=="function"?Object.is:e},un}var cn,xo;function Xi(){if(xo)return cn;xo=1;var e=Ba(),t=kt();return cn=function(){var o=e();return t(Object,{is:o},{is:function(){return Object.is!==o}}),o},cn}var fn,So;function Yi(){if(So)return fn;So=1;var e=kt(),t=ur(),r=Aa(),o=Ba(),n=Xi(),a=t(o(),Object);return e(a,{getPolyfill:o,implementation:r,shim:n}),fn=a,fn}var pn,wo;function La(){if(wo)return pn;wo=1;var e=ur(),t=Ze(),r=Rt(),o=r("%ArrayBuffer%",!0),n=t("ArrayBuffer.prototype.byteLength",!0),a=t("Object.prototype.toString"),s=!!o&&!n&&new o(0).slice,i=!!s&&e(s);return pn=n||i?function(u){if(!u||typeof u!="object")return!1;try{return n?n(u):i(u,0),!0}catch{return!1}}:o?function(u){return a(u)==="[object ArrayBuffer]"}:function(u){return!1},pn}var dn,Eo;function Ki(){if(Eo)return dn;Eo=1;var e=Ze(),t=e("Date.prototype.getDay"),r=function(i){try{return t(i),!0}catch{return!1}},o=e("Object.prototype.toString"),n="[object Date]",a=Mr()();return dn=function(i){return typeof i!="object"||i===null?!1:a?r(i):o(i)===n},dn}var vn,$o;function Zi(){if($o)return vn;$o=1;var e=Ze(),t=e("SharedArrayBuffer.prototype.byteLength",!0);return vn=t?function(o){if(!o||typeof o!="object")return!1;try{return t(o),!0}catch{return!1}}:function(o){return!1},vn}var mn,Oo;function Ji(){if(Oo)return mn;Oo=1;var e=Ze(),t=e("Number.prototype.toString"),r=function(i){try{return t(i),!0}catch{return!1}},o=e("Object.prototype.toString"),n="[object Number]",a=Mr()();return mn=function(i){return typeof i=="number"?!0:!i||typeof i!="object"?!1:a?r(i):o(i)===n},mn}var hn,Ro;function Qi(){if(Ro)return hn;Ro=1;var e=Ze(),t=e("Boolean.prototype.toString"),r=e("Object.prototype.toString"),o=function(i){try{return t(i),!0}catch{return!1}},n="[object Boolean]",a=Mr()();return hn=function(i){return typeof i=="boolean"?!0:i===null||typeof i!="object"?!1:a?o(i):r(i)===n},hn}var gr={exports:{}},Po;function es(){if(Po)return gr.exports;Po=1;var e=Ze(),t=e("Object.prototype.toString"),r=ga()(),o=fi();if(r){var n=e("Symbol.prototype.toString"),a=o(/^Symbol\(.*\)$/),s=function(l){return typeof l.valueOf()!="symbol"?!1:a(n(l))};gr.exports=function(l){if(typeof l=="symbol")return!0;if(!l||typeof l!="object"||t(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}}}else gr.exports=function(l){return!1};return gr.exports}var yr={exports:{}},gn,Co;function ts(){if(Co)return gn;Co=1;var e=typeof BigInt<"u"&&BigInt;return gn=function(){return typeof e=="function"&&typeof BigInt=="function"&&typeof e(42)=="bigint"&&typeof BigInt(42)=="bigint"},gn}var ko;function rs(){if(ko)return yr.exports;ko=1;var e=ts()();if(e){var t=BigInt.prototype.valueOf,r=function(n){try{return t.call(n),!0}catch{}return!1};yr.exports=function(n){return n===null||typeof n>"u"||typeof n=="boolean"||typeof n=="string"||typeof n=="number"||typeof n=="symbol"||typeof n=="function"?!1:typeof n=="bigint"?!0:r(n)}}else yr.exports=function(n){return!1};return yr.exports}var yn,Io;function ns(){if(Io)return yn;Io=1;var e=Ia(),t=Ji(),r=Qi(),o=es(),n=rs();return yn=function(s){if(s==null||typeof s!="object"&&typeof s!="function")return null;if(e(s))return"String";if(t(s))return"Number";if(r(s))return"Boolean";if(o(s))return"Symbol";if(n(s))return"BigInt"},yn}var bn,Mo;function os(){if(Mo)return bn;Mo=1;var e=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,t=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,r;e||(r=function(s){return!1});var o=e?e.prototype.has:null,n=t?t.prototype.has:null;return!r&&!o&&(r=function(s){return!1}),bn=r||function(s){if(!s||typeof s!="object")return!1;try{if(o.call(s,o),n)try{n.call(s,n)}catch{return!0}return s instanceof e}catch{}return!1},bn}var br={exports:{}},To;function as(){if(To)return br.exports;To=1;var e=Rt(),t=Ze(),r=e("%WeakSet%",!0),o=t("WeakSet.prototype.has",!0);if(o){var n=t("WeakMap.prototype.has",!0);br.exports=function(s){if(!s||typeof s!="object")return!1;try{if(o(s,o),n)try{n(s,n)}catch{return!0}return s instanceof r}catch{}return!1}}else br.exports=function(s){return!1};return br.exports}var xn,Ao;function is(){if(Ao)return xn;Ao=1;var e=Ma(),t=Ta(),r=os(),o=as();return xn=function(a){if(a&&typeof a=="object"){if(e(a))return"Map";if(t(a))return"Set";if(r(a))return"WeakMap";if(o(a))return"WeakSet"}return!1},xn}var Sn,Bo;function ss(){if(Bo)return Sn;Bo=1;var e=Ze(),t=e("ArrayBuffer.prototype.byteLength",!0),r=La();return Sn=function(n){return r(n)?t?t(n):n.byteLength:NaN},Sn}var wn,Lo;function ls(){if(Lo)return wn;Lo=1;var e=_i(),t=Pa(),r=Vi(),o=Rt(),n=Gi(),a=Ea(),s=Yi(),i=ya(),l=ba(),u=La(),c=Ki(),p=pi(),h=Zi(),m=Bn(),g=ns(),y=is(),v=di(),w=ss(),$=t("SharedArrayBuffer.prototype.byteLength",!0),x=t("Date.prototype.getTime"),S=Object.getPrototypeOf,E=t("Object.prototype.toString"),T=o("%Set%",!0),k=t("Map.prototype.has",!0),A=t("Map.prototype.get",!0),C=t("Map.prototype.size",!0),B=t("Set.prototype.add",!0),W=t("Set.prototype.delete",!0),U=t("Set.prototype.has",!0),q=t("Set.prototype.size",!0);function ie(b,P,H,N){for(var _=n(b),ae;(ae=_.next())&&!ae.done;)if(K(P,ae.value,H,N))return W(b,ae.value),!0;return!1}function L(b){if(typeof b>"u")return null;if(typeof b!="object")return typeof b=="symbol"?!1:typeof b=="string"||typeof b=="number"?+b==+b:!0}function X(b,P,H,N,_,ae){var re=L(H);if(re!=null)return re;var ee=A(P,re),V=e({},_,{strict:!1});return typeof ee>"u"&&!k(P,re)||!K(N,ee,V,ae)?!1:!k(b,re)&&K(N,ee,V,ae)}function F(b,P,H){var N=L(H);return N??(U(P,N)&&!U(b,N))}function se(b,P,H,N,_,ae){for(var re=n(b),ee,V;(ee=re.next())&&!ee.done;)if(V=ee.value,K(H,V,_,ae)&&K(N,A(P,V),_,ae))return W(b,V),!0;return!1}function K(b,P,H,N){var _=H||{};if(_.strict?s(b,P):b===P)return!0;var ae=g(b),re=g(P);if(ae!==re)return!1;if(!b||!P||typeof b!="object"&&typeof P!="object")return _.strict?s(b,P):b==P;var ee=N.has(b),V=N.has(P),Z;if(ee&&V){if(N.get(b)===N.get(P))return!0}else Z={};return ee||N.set(b,Z),V||N.set(P,Z),be(b,P,_,N)}function me(b){return!b||typeof b!="object"||typeof b.length!="number"||typeof b.copy!="function"||typeof b.slice!="function"||b.length>0&&typeof b[0]!="number"?!1:!!(b.constructor&&b.constructor.isBuffer&&b.constructor.isBuffer(b))}function Ie(b,P,H,N){if(q(b)!==q(P))return!1;for(var _=n(b),ae=n(P),re,ee,V;(re=_.next())&&!re.done;)if(re.value&&typeof re.value=="object")V||(V=new T),B(V,re.value);else if(!U(P,re.value)){if(H.strict||!F(b,P,re.value))return!1;V||(V=new T),B(V,re.value)}if(V){for(;(ee=ae.next())&&!ee.done;)if(ee.value&&typeof ee.value=="object"){if(!ie(V,ee.value,H.strict,N))return!1}else if(!H.strict&&!U(b,ee.value)&&!ie(V,ee.value,H.strict,N))return!1;return q(V)===0}return!0}function Ee(b,P,H,N){if(C(b)!==C(P))return!1;for(var _=n(b),ae=n(P),re,ee,V,Z,ne,J;(re=_.next())&&!re.done;)if(Z=re.value[0],ne=re.value[1],Z&&typeof Z=="object")V||(V=new T),B(V,Z);else if(J=A(P,Z),typeof J>"u"&&!k(P,Z)||!K(ne,J,H,N)){if(H.strict||!X(b,P,Z,ne,H,N))return!1;V||(V=new T),B(V,Z)}if(V){for(;(ee=ae.next())&&!ee.done;)if(Z=ee.value[0],J=ee.value[1],Z&&typeof Z=="object"){if(!se(V,b,Z,J,H,N))return!1}else if(!H.strict&&(!b.has(Z)||!K(A(b,Z),J,H,N))&&!se(V,b,Z,J,e({},H,{strict:!1}),N))return!1;return q(V)===0}return!0}function be(b,P,H,N){var _,ae;if(typeof b!=typeof P||b==null||P==null||E(b)!==E(P)||i(b)!==i(P))return!1;var re=l(b),ee=l(P);if(re!==ee)return!1;var V=b instanceof Error,Z=P instanceof Error;if(V!==Z||(V||Z)&&(b.name!==P.name||b.message!==P.message))return!1;var ne=p(b),J=p(P);if(ne!==J||(ne||J)&&(b.source!==P.source||r(b)!==r(P)))return!1;var ge=c(b),de=c(P);if(ge!==de||(ge||de)&&x(b)!==x(P)||H.strict&&S&&S(b)!==S(P))return!1;var pe=v(b),Fe=v(P);if(pe!==Fe)return!1;if(pe||Fe){if(b.length!==P.length)return!1;for(_=0;_<b.length;_++)if(b[_]!==P[_])return!1;return!0}var le=me(b),xe=me(P);if(le!==xe)return!1;if(le||xe){if(b.length!==P.length)return!1;for(_=0;_<b.length;_++)if(b[_]!==P[_])return!1;return!0}var qe=u(b),Ne=u(P);if(qe!==Ne)return!1;if(qe||Ne)return w(b)!==w(P)?!1:typeof Uint8Array=="function"&&K(new Uint8Array(b),new Uint8Array(P),H,N);var Me=h(b),Ve=h(P);if(Me!==Ve)return!1;if(Me||Ve)return $(b)!==$(P)?!1:typeof Uint8Array=="function"&&K(new Uint8Array(b),new Uint8Array(P),H,N);if(typeof b!=typeof P)return!1;var $e=m(b),Oe=m(P);if($e.length!==Oe.length)return!1;for($e.sort(),Oe.sort(),_=$e.length-1;_>=0;_--)if($e[_]!=Oe[_])return!1;for(_=$e.length-1;_>=0;_--)if(ae=$e[_],!K(b[ae],P[ae],H,N))return!1;var R=y(b),I=y(P);return R!==I?!1:R==="Set"||I==="Set"?Ie(b,P,H,N):R==="Map"?Ee(b,P,H,N):!0}return wn=function(P,H,N){return K(P,H,N,a())},wn}var us=ls();const Do=$t(us);function cs(){let e=null;return(t,r,...o)=>{e&&clearTimeout(e),e=setTimeout(t,r,...o)}}const fs=nt("iframe")({background:"transparent",border:0,width:"100%",height:"100%"}),ps=cs(),z=(e,t)=>t==null||t===""?"":Array.isArray(t)?t.length>0?t.map(r=>`${e}=${encodeURIComponent(String(r))}`).join("&"):"":`${e}=${encodeURIComponent(String(t))}`,ds=e=>{const{dev:t=!1,baseUrl:r=Si.get("WEARABLE_PREVIEW_URL"),unity:o=!1,onLoad:n=()=>{},onError:a=()=>{},onUpdate:s=()=>{},...i}=e,[l,u]=O.useState({isReady:!1,pendingOptions:null}),c=O.useRef(null),p=O.useRef(null),h=O.useMemo(()=>{const{contractAddress:w,tokenId:$,itemId:x,profile:S,urns:E,urls:T,base64s:k,skin:A,hair:C,eyes:B,bodyShape:W,emote:U,camera:q,projection:ie,zoom:L,background:X,offsetX:F,offsetY:se,offsetZ:K,cameraX:me,cameraY:Ie,cameraZ:Ee,wheelZoom:be,wheelPrecision:b,wheelStart:P,disableBackground:H,disableAutoRotate:N,disableAutoCenter:_,disableFace:ae,disableDefaultWearables:re,disableDefaultEmotes:ee,disableFadeEffect:V,showSceneBoundaries:Z,showThumbnailBoundaries:ne,panning:J,lockAlpha:ge,lockBeta:de,lockRadius:pe,peerUrl:Fe,nftServerUrl:le,marketplaceServerUrl:xe,type:qe,unityMode:Ne,username:Me,socialEmote:Ve}=i,$e=z("contract",w),Oe=z("token",$),R=z("item",x),I=z("profile",S),D=z("urn",E),te=z("url",T),oe=z("base64",k),Q=z("skin",A),Re=z("hair",C),Pe=z("eyes",B),f=z("bodyShape",W),d=z("emote",U),Y=z("camera",q),ue=z("projection",ie),ce=z("zoom",L),G=z("background",X),Te=z("offsetX",F),_e=z("offsetY",se),Se=z("offsetZ",K),Ae=z("cameraX",me),mt=z("cameraY",Ie),ze=z("cameraZ",Ee),Ce=z("wheelZoom",be),ct=z("wheelPrecision",b),It=z("wheelStart",P),Mt=z("disableBackground",H),ot=z("disableAutoRotate",N),ht=z("disableAutoCenter",_),ft=z("disableFace",ae),gt=z("disableDefaultWearables",re),at=z("disableDefaultEmotes",ee),Tt=z("disableFadeEffect",V),pt=z("showSceneBoundaries",Z),it=z("showThumbnailBoundaries",ne),At=z("peerUrl",Fe),he=z("marketplaceServerUrl",xe??le),yt=z("type",qe),Qe=z("panning",J),we=z("lockAlpha",ge),Bt=z("lockBeta",de),Br=z("lockRadius",pe),vr=z("env",t?"dev":void 0),Za=z("unity",o),Ja=z("mode",Ne),Qa=z("username",Me),ei=z("socialEmote",Ve);return r+"?"+[$e,Oe,R,I,D,te,oe,Q,Re,Pe,f,d,Y,ue,ce,G,Te,_e,Se,Ae,mt,ze,Ce,ct,It,Mt,ot,ht,ft,gt,at,Tt,pt,it,At,he,yt,Qe,we,Bt,Br,vr,Za,Ja,Qa,ei].filter(ti=>!!ti).join("&")},[i,r,t,o]),m=O.useMemo(()=>{const w={};for(const $ in i)typeof i[$]!="function"&&(w[$]=i[$]);return w},[i]),g=O.useCallback(w=>{var x;const $=p.current;(!$||!Do(w,$))&&((x=c.current)!=null&&x.contentWindow&&Ht.sendMessage(c.current.contentWindow,Ht.PreviewMessageType.UPDATE,{options:w}),s(w),p.current=w)},[s]),y=O.useCallback(()=>{c.current?typeof window<"u"&&(l.isReady?g(m):Do(l.pendingOptions,m)||u(w=>({...w,pendingOptions:m,url:h}))):console.warn("Could not send update, iframe is not referenced")},[m,l.pendingOptions,l.isReady,g]),v=O.useCallback(w=>{var S;const{origin:$}=w;if($!==r||!((S=w.data)!=null&&S.type))return;switch(w.data.type){case Ht.PreviewMessageType.LOAD:{const E=w.data.payload;n(E==null?void 0:E.renderer);break}case Ht.PreviewMessageType.ERROR:{const E=w.data.payload;a(new Error(E.message));break}case Ht.PreviewMessageType.READY:{u(E=>E.isReady?E:E.pendingOptions!==null?(g(E.pendingOptions),{...E,isReady:!0,pendingOptions:null}):{...E,isReady:!0});break}}},[r,n,a,g]);return O.useEffect(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v,!1)}),[v]),O.useEffect(()=>{e.blob&&y()},[e.blob,y]),O.useEffect(()=>{ps(y,500)},[y]),e.tokenId&&e.itemId&&console.warn("You should NOT use `tokenId` and `itemId` props simultaneously"),j.jsx(fs,{id:e.id,src:h,ref:c,allow:"autoplay"})};ds.createController=vi;var En={exports:{}},fe={};/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r}from"./parseSignature-BXQWiyxd.js";import{B as f,E as v,a as A,b as S,F as I,W as F,d as R,e as x,f as C,g as B,p as N,l as P,n as D,p as U,h as w,s as L,z as M}from"./parseSignature-BXQWiyxd.js";import{I as k,c as z,a as q,p as V,w as O}from"./custom-D0AtamZ4.js";import{h as s}from"./W3MFrameProviderSingleton-tZh6bMfi.js";import{U as j,c as W,f as K,s as Z,w as J,a as Q}from"./W3MFrameProviderSingleton-tZh6bMfi.js";import{A as Y,a as _,B as $,b as aa,C as ra,D as oa,E as sa,F as ea,c as ta,H as ia,I as na,d as ca,e as da,f as Ea,g as pa,h as ua,i as la,j as ma,k as Ta,l as ga,J as ba,L as ha,M as ya,m as fa,N as va,n as Aa,o as Sa,P as Ia,p as Fa,q as Ra,R as xa,r as Ca,s as Ba,t as Na,u as Pa,S as Da,v as Ua,w as wa,x as La,T as Ma,y as Ha,z as ka,G as za,U as qa,K as Va,O as Oa,Q as Ga,V as ja,W as Wa,X as Ka,Y as Za,Z as Ja,_ as Qa,$ as Xa,a0 as Ya,a1 as _a,a2 as $a,a3 as ar,a4 as rr,a5 as or,a6 as sr,a7 as er,a8 as tr,a9 as ir,aa as nr,ab as cr,ac as dr,ad as Er,ae as pr,af as ur,ag as lr,ah as mr,ai as Tr,aj as gr,ak as br,al as hr,am as yr,an as fr,ao as vr,ap as Ar,a1 as Sr}from"./NetworkUtil-Xp0fNa8X.js";import{A as Fr,a as Rr,b as xr,c as Cr,d as Br,e as Nr,f as Pr,g as Dr,h as Ur,i as wr,j as Lr,k as Mr,l as Hr,m as kr,n as zr,o as qr,p as Vr,B as Or,q as Gr,r as jr,C as Wr,s as Kr,t as Zr,u as Jr,v as Qr,w as Xr,x as Yr,y as _r,z as $r,D as ao,E as ro,F as oo,G as so,H as eo,I as to,J as io,K as no,L as co,M as Eo,N as po,O as uo,P as lo,Q as mo,R as To,S as go,T as bo,U as ho,V as yo,W as fo,X as vo,Y as Ao,Z as So,_ as Io,$ as Fo,a0 as Ro,a1 as xo,a2 as Co,a3 as Bo,a4 as No,a5 as Po,a6 as Do,a7 as Uo,a8 as wo,a9 as Lo,aa as Mo,ab as Ho,ac as ko,ad as zo,ae as qo,af as Vo,ag as Oo,ah as Go,ai as jo,aj as Wo,ak as Ko,al as Zo,am as Jo,an as Qo,ao as Xo,ap as Yo,aq as _o,ar as $o,as,at as rs,au as os,av as ss,aw as es,ax as ts,ay as is,az as ns,aA as cs,aB as ds,aC as Es,aD as ps,aE as us,aF as ls,aG as ms,aH as Ts,aI as gs,aJ as bs,aK as hs,aL as ys,aM as fs,aN as vs,aM as As,aO as Ss,aP as Is,aQ as Fs,aR as Rs,aS as xs,aT as Cs,aU as Bs,aV as Ns,aW as Ps,aX as Ds,aY as Us,aZ as ws,a_ as Ls,a$ as Ms,b0 as Hs,b1 as ks,b2 as zs,b3 as qs,b4 as Vs,aL as Os,aM as Gs,b4 as js,aN as Ws,aM as Ks,b5 as Zs,b6 as Js,aA as Qs}from"./sendRawTransaction-C-hku157.js";import{I as Ys,a as _s,b as $s,g as ae,h as re,c as oe,d as se,e as ee,p as te,t as ie,v as ne}from"./hashTypedData-CuVSwrXW.js";import{d as de,e as Ee,a as pe}from"./localBatchGatewayRequest-CZllhI1g.js";import{ccipRequest as le,ccipRequest as me,offchainLookup as Te,offchainLookupAbiItem as ge,offchainLookupSignature as be}from"./ccip-7UmS1PeQ.js";import{d as t}from"./verifyHash-DBA8HgBY.js";import{e as ye,p as fe,a as ve,s as Ae,s as Se}from"./verifyHash-DBA8HgBY.js";import{a as Fe,b as Re,c as xe,s as Ce,d as Be}from"./serializeTransaction-BsWWwZbQ.js";import"./secp256k1-DlGyN83x.js";import"./dcl-schemas-BICTSpB5.js";import"./index-Bk6ayCIs.js";import"./react-C51i12iP.js";import"./sentry-DKBoGDXH.js";import"./index-DZl9hhbT.js";import"./events-DQ172AOg.js";import"./index-B4D19REm.js";import"./ethers-BeFqf2KO.js";import"./intl-CBcMB1D2.js";import"./browser-ponyfill-Djb5Py6a.js";import"./browser-ponyfill-DMgE6PM5.js";export{Fr as AbiConstructorNotFoundError,Rr as AbiConstructorParamsNotFoundError,xr as AbiDecodingDataSizeTooSmallError,Cr as AbiDecodingZeroDataError,Br as AbiEncodingArrayLengthMismatchError,Nr as AbiEncodingBytesSizeMismatchError,Pr as AbiEncodingLengthMismatchError,Dr as AbiErrorInputsNotFoundError,Ur as AbiErrorNotFoundError,wr as AbiErrorSignatureNotFoundError,Lr as AbiEventNotFoundError,Mr as AbiEventSignatureEmptyTopicsError,Hr as AbiEventSignatureNotFoundError,kr as AbiFunctionNotFoundError,zr as AbiFunctionOutputsNotFoundError,qr as AbiFunctionSignatureNotFoundError,Vr as AccountStateConflictError,Y as AtomicReadyWalletRejectedUpgradeError,_ as AtomicityNotSupportedError,$ as BaseError,Or as BaseFeeScalarError,Gr as BlockNotFoundError,f as BundleFailedError,aa as BundleTooLargeError,jr as BytesSizeMismatchError,Wr as CallExecutionError,ra as ChainDisconnectedError,Kr as ChainDoesNotSupportContract,Zr as ChainMismatchError,Jr as ChainNotFoundError,Qr as CircularReferenceError,Xr as ClientChainNotConfiguredError,Yr as ContractFunctionExecutionError,_r as ContractFunctionRevertedError,$r as ContractFunctionZeroDataError,ao as CounterfactualDeploymentFailedError,ro as DecodeLogDataMismatch,oo as DecodeLogTopicsMismatch,oa as DuplicateIdError,so as Eip1559FeesNotSupportedError,v as EnsAvatarInvalidNftUriError,A as EnsAvatarUnsupportedNamespaceError,S as EnsAvatarUriResolutionError,eo as EstimateGasExecutionError,sa as ExecutionRevertedError,ea as FeeCapTooHighError,ta as FeeCapTooLowError,I as FilterTypeNotSupportedError,ia as HttpRequestError,na as InsufficientFundsError,ca as IntegerOutOfRangeError,da as InternalRpcError,Ea as IntrinsicGasTooHighError,pa as IntrinsicGasTooLowError,to as InvalidAbiDecodingTypeError,io as InvalidAbiEncodingTypeError,no as InvalidAbiItemError,co as InvalidAbiParametersError,Eo as InvalidAbiTypeParameterError,po as InvalidAddressError,uo as InvalidArrayError,ua as InvalidBytesBooleanError,lo as InvalidChainIdError,k as InvalidDecimalNumberError,mo as InvalidDefinitionTypeError,Ys as InvalidDomainError,To as InvalidFunctionModifierError,la as InvalidHexBooleanError,ma as InvalidInputRpcError,go as InvalidLegacyVError,bo as InvalidModifierError,ho as InvalidParameterError,Ta as InvalidParamsRpcError,yo as InvalidParenthesisError,_s as InvalidPrimaryTypeError,ga as InvalidRequestRpcError,fo as InvalidSerializableTransactionError,vo as InvalidSignatureError,Ao as InvalidStorageKeySizeError,So as InvalidStructSignatureError,$s as InvalidStructTypeError,ba as JsonRpcVersionUnsupportedError,ha as LimitExceededRpcError,Io as MaxFeePerGasTooLowError,ya as MethodNotFoundRpcError,fa as MethodNotSupportedRpcError,va as NonceMaxValueError,Aa as NonceTooHighError,Sa as NonceTooLowError,Ia as ParseRpcError,Fa as ProviderDisconnectedError,Ra as ProviderRpcError,Fo as RawContractError,xa as ResourceNotFoundRpcError,Ca as ResourceUnavailableRpcError,Ba as ResponseBodyTooLargeError,Na as RpcError,Pa as RpcRequestError,Da as SizeExceedsPaddingSizeError,Ua as SizeOverflowError,wa as SliceOffsetOutOfBoundsError,Ro as SolidityProtectedKeywordError,xo as StateAssignmentConflictError,La as SwitchChainError,Ma as TimeoutError,Ha as TipAboveFeeCapError,Co as TransactionExecutionError,Bo as TransactionNotFoundError,No as TransactionReceiptNotFoundError,ka as TransactionRejectedRpcError,za as TransactionTypeNotSupportedError,qa as UnauthorizedProviderError,Va as UnknownBundleIdError,Oa as UnknownNodeError,Ga as UnknownRpcError,Po as UnknownSignatureError,Do as UnknownTypeError,ja as UnsupportedChainIdError,Wa as UnsupportedNonOptionalCapabilityError,Uo as UnsupportedPackedAbiType,Ka as UnsupportedProviderMethodError,j as UrlRequiredError,Za as UserRejectedRequestError,F as WaitForCallsStatusTimeoutError,wo as WaitForTransactionReceiptTimeoutError,Lo as assertCurrentChain,Mo as assertRequest,Fe as assertTransactionEIP1559,Re as assertTransactionEIP2930,xe as assertTransactionLegacy,Ho as blobsToCommitments,ko as blobsToProofs,Ja as boolToBytes,Qa as boolToHex,zo as bytesToBigInt,qo as bytesToBool,Xa as bytesToHex,Vo as bytesToNumber,Oo as bytesToString,le as ccipFetch,me as ccipRequest,Go as checksumAddress,jo as commitmentToVersionedHash,Wo as commitmentsToVersionedHashes,Ko as concat,Zo as concatBytes,Jo as concatHex,z as createClient,R as createNonceManager,r as createPublicClient,W as createTransport,q as custom,Qo as decodeAbiParameters,Xo as decodeErrorResult,Yo as decodeEventLog,de as decodeFunctionData,_o as decodeFunctionResult,$o as defineBlock,t as defineChain,as as defineTransaction,rs as defineTransactionReceipt,os as defineTransactionRequest,ss as deploylessCallViaBytecodeBytecode,es as deploylessCallViaFactoryBytecode,ts as encodeAbiParameters,is as encodeDeployData,Ee as encodeErrorResult,x as encodeEventTopics,ns as encodeFunctionData,pe as encodeFunctionResult,C as encodePacked,Ya as erc20Abi,_a as erc6492SignatureValidatorAbi,cs as erc6492SignatureValidatorByteCode,B as ethAddress,$a as etherUnits,ye as extendSchema,K as fallback,ds as formatBlock,Es as formatEther,ar as formatGwei,ps as formatLog,us as formatTransaction,ls as formatTransactionReceipt,ms as formatTransactionRequest,rr as formatUnits,or as fromHex,Ts as getAbiItem,gs as getAddress,bs as getChainContractAddress,hs as getContractError,ys as getEventSelector,fs as getEventSignature,vs as getFunctionSelector,As as getFunctionSignature,Ss as getTransactionType,ae as getTypesForEIP712Domain,sr as gweiUnits,re as hashDomain,oe as hashMessage,se as hashStruct,ee as hashTypedData,er as hexToBigInt,tr as hexToBool,ir as hexToBytes,nr as hexToNumber,N as hexToSignature,cr as hexToString,s as http,Is as isAddress,Fs as isAddressEqual,dr as isHex,Rs as keccak256,P as labelhash,xs as maxUint16,Cs as maxUint256,Er as multicall3Abi,D as namehash,pr as numberToBytes,ur as numberToHex,Te as offchainLookup,ge as offchainLookupAbiItem,be as offchainLookupSignature,lr as pad,mr as padBytes,Tr as padHex,Bs as parseAbi,fe as parseAbiItem,ve as parseAbiParameters,Ns as parseEventLogs,U as parseSignature,V as parseUnits,Ps as prepareEncodeFunctionData,te as presignMessagePrefix,w as publicActions,Ds as recoverAddress,Us as recoverPublicKey,ws as rpcTransactionType,Ce as serializeAccessList,L as serializeErc6492Signature,Ae as serializeSignature,Be as serializeTransaction,Ls as sha256,Z as shouldThrow,Se as signatureToHex,gr as size,Ms as slice,Hs as sliceBytes,ks as sliceHex,br as stringToBytes,hr as stringToHex,yr as stringify,zs as toBlobSidecars,qs as toBlobs,fr as toBytes,Vs as toEventHash,Os as toEventSelector,Gs as toEventSignature,js as toFunctionHash,Ws as toFunctionSelector,Ks as toFunctionSignature,vr as toHex,ie as toPrefixedMessage,Zs as toRlp,Js as transactionType,Ar as trim,Sr as universalSignatureValidatorAbi,Qs as universalSignatureValidatorByteCode,ne as validateTypedData,O as withCache,J as withRetry,Q as withTimeout,M as zeroAddress};
|
|
1
|
+
import{c as r}from"./parseSignature-DK4ozIkj.js";import{B as f,E as v,a as A,b as S,F as I,W as F,d as R,e as x,f as C,g as B,p as N,l as P,n as D,p as U,h as w,s as L,z as M}from"./parseSignature-DK4ozIkj.js";import{I as k,c as z,a as q,p as V,w as O}from"./custom-8DiMBmid.js";import{h as s}from"./W3MFrameProviderSingleton-7ZlGHyOT.js";import{U as j,c as W,f as K,s as Z,w as J,a as Q}from"./W3MFrameProviderSingleton-7ZlGHyOT.js";import{A as Y,a as _,B as $,b as aa,C as ra,D as oa,E as sa,F as ea,c as ta,H as ia,I as na,d as ca,e as da,f as Ea,g as pa,h as ua,i as la,j as ma,k as Ta,l as ga,J as ba,L as ha,M as ya,m as fa,N as va,n as Aa,o as Sa,P as Ia,p as Fa,q as Ra,R as xa,r as Ca,s as Ba,t as Na,u as Pa,S as Da,v as Ua,w as wa,x as La,T as Ma,y as Ha,z as ka,G as za,U as qa,K as Va,O as Oa,Q as Ga,V as ja,W as Wa,X as Ka,Y as Za,Z as Ja,_ as Qa,$ as Xa,a0 as Ya,a1 as _a,a2 as $a,a3 as ar,a4 as rr,a5 as or,a6 as sr,a7 as er,a8 as tr,a9 as ir,aa as nr,ab as cr,ac as dr,ad as Er,ae as pr,af as ur,ag as lr,ah as mr,ai as Tr,aj as gr,ak as br,al as hr,am as yr,an as fr,ao as vr,ap as Ar,a1 as Sr}from"./NetworkUtil-Xp0fNa8X.js";import{A as Fr,a as Rr,b as xr,c as Cr,d as Br,e as Nr,f as Pr,g as Dr,h as Ur,i as wr,j as Lr,k as Mr,l as Hr,m as kr,n as zr,o as qr,p as Vr,B as Or,q as Gr,r as jr,C as Wr,s as Kr,t as Zr,u as Jr,v as Qr,w as Xr,x as Yr,y as _r,z as $r,D as ao,E as ro,F as oo,G as so,H as eo,I as to,J as io,K as no,L as co,M as Eo,N as po,O as uo,P as lo,Q as mo,R as To,S as go,T as bo,U as ho,V as yo,W as fo,X as vo,Y as Ao,Z as So,_ as Io,$ as Fo,a0 as Ro,a1 as xo,a2 as Co,a3 as Bo,a4 as No,a5 as Po,a6 as Do,a7 as Uo,a8 as wo,a9 as Lo,aa as Mo,ab as Ho,ac as ko,ad as zo,ae as qo,af as Vo,ag as Oo,ah as Go,ai as jo,aj as Wo,ak as Ko,al as Zo,am as Jo,an as Qo,ao as Xo,ap as Yo,aq as _o,ar as $o,as,at as rs,au as os,av as ss,aw as es,ax as ts,ay as is,az as ns,aA as cs,aB as ds,aC as Es,aD as ps,aE as us,aF as ls,aG as ms,aH as Ts,aI as gs,aJ as bs,aK as hs,aL as ys,aM as fs,aN as vs,aM as As,aO as Ss,aP as Is,aQ as Fs,aR as Rs,aS as xs,aT as Cs,aU as Bs,aV as Ns,aW as Ps,aX as Ds,aY as Us,aZ as ws,a_ as Ls,a$ as Ms,b0 as Hs,b1 as ks,b2 as zs,b3 as qs,b4 as Vs,aL as Os,aM as Gs,b4 as js,aN as Ws,aM as Ks,b5 as Zs,b6 as Js,aA as Qs}from"./sendRawTransaction-B0JjP1WZ.js";import{I as Ys,a as _s,b as $s,g as ae,h as re,c as oe,d as se,e as ee,p as te,t as ie,v as ne}from"./hashTypedData-DtoFYwPK.js";import{d as de,e as Ee,a as pe}from"./localBatchGatewayRequest-qe0AcPei.js";import{ccipRequest as le,ccipRequest as me,offchainLookup as Te,offchainLookupAbiItem as ge,offchainLookupSignature as be}from"./ccip-CLolljPY.js";import{d as t}from"./verifyHash-BHrLI5gL.js";import{e as ye,p as fe,a as ve,s as Ae,s as Se}from"./verifyHash-BHrLI5gL.js";import{a as Fe,b as Re,c as xe,s as Ce,d as Be}from"./serializeTransaction-DqLhlNY8.js";import"./secp256k1-JPjPXkQA.js";import"./dcl-schemas-BICTSpB5.js";import"./index-Bk6ayCIs.js";import"./react-C51i12iP.js";import"./sentry-DKBoGDXH.js";import"./index-B0KyEyZW.js";import"./events-DQ172AOg.js";import"./index-CnOiYeAk.js";import"./ethers-BeFqf2KO.js";import"./intl-CBcMB1D2.js";import"./browser-ponyfill-Djb5Py6a.js";import"./browser-ponyfill-DMgE6PM5.js";export{Fr as AbiConstructorNotFoundError,Rr as AbiConstructorParamsNotFoundError,xr as AbiDecodingDataSizeTooSmallError,Cr as AbiDecodingZeroDataError,Br as AbiEncodingArrayLengthMismatchError,Nr as AbiEncodingBytesSizeMismatchError,Pr as AbiEncodingLengthMismatchError,Dr as AbiErrorInputsNotFoundError,Ur as AbiErrorNotFoundError,wr as AbiErrorSignatureNotFoundError,Lr as AbiEventNotFoundError,Mr as AbiEventSignatureEmptyTopicsError,Hr as AbiEventSignatureNotFoundError,kr as AbiFunctionNotFoundError,zr as AbiFunctionOutputsNotFoundError,qr as AbiFunctionSignatureNotFoundError,Vr as AccountStateConflictError,Y as AtomicReadyWalletRejectedUpgradeError,_ as AtomicityNotSupportedError,$ as BaseError,Or as BaseFeeScalarError,Gr as BlockNotFoundError,f as BundleFailedError,aa as BundleTooLargeError,jr as BytesSizeMismatchError,Wr as CallExecutionError,ra as ChainDisconnectedError,Kr as ChainDoesNotSupportContract,Zr as ChainMismatchError,Jr as ChainNotFoundError,Qr as CircularReferenceError,Xr as ClientChainNotConfiguredError,Yr as ContractFunctionExecutionError,_r as ContractFunctionRevertedError,$r as ContractFunctionZeroDataError,ao as CounterfactualDeploymentFailedError,ro as DecodeLogDataMismatch,oo as DecodeLogTopicsMismatch,oa as DuplicateIdError,so as Eip1559FeesNotSupportedError,v as EnsAvatarInvalidNftUriError,A as EnsAvatarUnsupportedNamespaceError,S as EnsAvatarUriResolutionError,eo as EstimateGasExecutionError,sa as ExecutionRevertedError,ea as FeeCapTooHighError,ta as FeeCapTooLowError,I as FilterTypeNotSupportedError,ia as HttpRequestError,na as InsufficientFundsError,ca as IntegerOutOfRangeError,da as InternalRpcError,Ea as IntrinsicGasTooHighError,pa as IntrinsicGasTooLowError,to as InvalidAbiDecodingTypeError,io as InvalidAbiEncodingTypeError,no as InvalidAbiItemError,co as InvalidAbiParametersError,Eo as InvalidAbiTypeParameterError,po as InvalidAddressError,uo as InvalidArrayError,ua as InvalidBytesBooleanError,lo as InvalidChainIdError,k as InvalidDecimalNumberError,mo as InvalidDefinitionTypeError,Ys as InvalidDomainError,To as InvalidFunctionModifierError,la as InvalidHexBooleanError,ma as InvalidInputRpcError,go as InvalidLegacyVError,bo as InvalidModifierError,ho as InvalidParameterError,Ta as InvalidParamsRpcError,yo as InvalidParenthesisError,_s as InvalidPrimaryTypeError,ga as InvalidRequestRpcError,fo as InvalidSerializableTransactionError,vo as InvalidSignatureError,Ao as InvalidStorageKeySizeError,So as InvalidStructSignatureError,$s as InvalidStructTypeError,ba as JsonRpcVersionUnsupportedError,ha as LimitExceededRpcError,Io as MaxFeePerGasTooLowError,ya as MethodNotFoundRpcError,fa as MethodNotSupportedRpcError,va as NonceMaxValueError,Aa as NonceTooHighError,Sa as NonceTooLowError,Ia as ParseRpcError,Fa as ProviderDisconnectedError,Ra as ProviderRpcError,Fo as RawContractError,xa as ResourceNotFoundRpcError,Ca as ResourceUnavailableRpcError,Ba as ResponseBodyTooLargeError,Na as RpcError,Pa as RpcRequestError,Da as SizeExceedsPaddingSizeError,Ua as SizeOverflowError,wa as SliceOffsetOutOfBoundsError,Ro as SolidityProtectedKeywordError,xo as StateAssignmentConflictError,La as SwitchChainError,Ma as TimeoutError,Ha as TipAboveFeeCapError,Co as TransactionExecutionError,Bo as TransactionNotFoundError,No as TransactionReceiptNotFoundError,ka as TransactionRejectedRpcError,za as TransactionTypeNotSupportedError,qa as UnauthorizedProviderError,Va as UnknownBundleIdError,Oa as UnknownNodeError,Ga as UnknownRpcError,Po as UnknownSignatureError,Do as UnknownTypeError,ja as UnsupportedChainIdError,Wa as UnsupportedNonOptionalCapabilityError,Uo as UnsupportedPackedAbiType,Ka as UnsupportedProviderMethodError,j as UrlRequiredError,Za as UserRejectedRequestError,F as WaitForCallsStatusTimeoutError,wo as WaitForTransactionReceiptTimeoutError,Lo as assertCurrentChain,Mo as assertRequest,Fe as assertTransactionEIP1559,Re as assertTransactionEIP2930,xe as assertTransactionLegacy,Ho as blobsToCommitments,ko as blobsToProofs,Ja as boolToBytes,Qa as boolToHex,zo as bytesToBigInt,qo as bytesToBool,Xa as bytesToHex,Vo as bytesToNumber,Oo as bytesToString,le as ccipFetch,me as ccipRequest,Go as checksumAddress,jo as commitmentToVersionedHash,Wo as commitmentsToVersionedHashes,Ko as concat,Zo as concatBytes,Jo as concatHex,z as createClient,R as createNonceManager,r as createPublicClient,W as createTransport,q as custom,Qo as decodeAbiParameters,Xo as decodeErrorResult,Yo as decodeEventLog,de as decodeFunctionData,_o as decodeFunctionResult,$o as defineBlock,t as defineChain,as as defineTransaction,rs as defineTransactionReceipt,os as defineTransactionRequest,ss as deploylessCallViaBytecodeBytecode,es as deploylessCallViaFactoryBytecode,ts as encodeAbiParameters,is as encodeDeployData,Ee as encodeErrorResult,x as encodeEventTopics,ns as encodeFunctionData,pe as encodeFunctionResult,C as encodePacked,Ya as erc20Abi,_a as erc6492SignatureValidatorAbi,cs as erc6492SignatureValidatorByteCode,B as ethAddress,$a as etherUnits,ye as extendSchema,K as fallback,ds as formatBlock,Es as formatEther,ar as formatGwei,ps as formatLog,us as formatTransaction,ls as formatTransactionReceipt,ms as formatTransactionRequest,rr as formatUnits,or as fromHex,Ts as getAbiItem,gs as getAddress,bs as getChainContractAddress,hs as getContractError,ys as getEventSelector,fs as getEventSignature,vs as getFunctionSelector,As as getFunctionSignature,Ss as getTransactionType,ae as getTypesForEIP712Domain,sr as gweiUnits,re as hashDomain,oe as hashMessage,se as hashStruct,ee as hashTypedData,er as hexToBigInt,tr as hexToBool,ir as hexToBytes,nr as hexToNumber,N as hexToSignature,cr as hexToString,s as http,Is as isAddress,Fs as isAddressEqual,dr as isHex,Rs as keccak256,P as labelhash,xs as maxUint16,Cs as maxUint256,Er as multicall3Abi,D as namehash,pr as numberToBytes,ur as numberToHex,Te as offchainLookup,ge as offchainLookupAbiItem,be as offchainLookupSignature,lr as pad,mr as padBytes,Tr as padHex,Bs as parseAbi,fe as parseAbiItem,ve as parseAbiParameters,Ns as parseEventLogs,U as parseSignature,V as parseUnits,Ps as prepareEncodeFunctionData,te as presignMessagePrefix,w as publicActions,Ds as recoverAddress,Us as recoverPublicKey,ws as rpcTransactionType,Ce as serializeAccessList,L as serializeErc6492Signature,Ae as serializeSignature,Be as serializeTransaction,Ls as sha256,Z as shouldThrow,Se as signatureToHex,gr as size,Ms as slice,Hs as sliceBytes,ks as sliceHex,br as stringToBytes,hr as stringToHex,yr as stringify,zs as toBlobSidecars,qs as toBlobs,fr as toBytes,Vs as toEventHash,Os as toEventSelector,Gs as toEventSignature,js as toFunctionHash,Ws as toFunctionSelector,Ks as toFunctionSignature,vr as toHex,ie as toPrefixedMessage,Zs as toRlp,Js as transactionType,Ar as trim,Sr as universalSignatureValidatorAbi,Qs as universalSignatureValidatorByteCode,ne as validateTypedData,O as withCache,J as withRetry,Q as withTimeout,M as zeroAddress};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ie,k as he,r as i,j as v,R as se}from"./react-C51i12iP.js";import{a as Y,g as W}from"./dcl-schemas-BICTSpB5.js";import{bs as be,bt as ve,bu as vt,be as yt,bv as xt,L as le,M,N as _,J as ye,K as Se,bp as Et,Q as J,S as we,H as Xe,bh as Le,bn as Ct,bj as pe,P as Ze,bw as Rt,T as Mt,a_ as Pt,aV as Tt,O as A,bq as It,bc as fe}from"./index-B4D19REm.js";import{n as Q}from"./emotion-styled.browser.esm-IwF2UC65.js";import{u as St}from"./useTheme-DSjNsZwZ.js";import{C as wt}from"./CircularProgress-BJ_TjCN_.js";var te={},$e;function kt(){if($e)return te;$e=1,Object.defineProperty(te,"__esModule",{value:!0});function e(){let t,n;const o=new Promise((r,a)=>{t=s=>{r(s),o.isPending=!1},n=s=>{a(s),o.isPending=!1}}).catch(r=>Promise.reject(r));return o.resolve=t,o.reject=n,"finally"in o||(o.finally=r=>{o.then(r),o.catch(r)}),o.isPending=!0,o}return te.future=e,te.default=e,te}var Nt=kt();const zt=ie(Nt);function Oe(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o?o.push(n):e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&(n?o.splice(o.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var o=e.get(t);o&&o.slice().map(function(r){r(n)}),(o=e.get("*"))&&o.slice().map(function(r){r(t,n)})}}}const Z=new Map,Me=new Map,ke=new Map,ge=new Map;function Ae(e){const t=document.getElementById(e);return!t||!t.contentWindow?!1:ke.get(t.contentWindow)??!1}function Pe(e){if(e.data&&e.data.type)try{switch(e.data.type){case Y.PreviewMessageType.CONTROLLER_RESPONSE:{const t=e.data.payload,{id:n}=t,o=Z.get(n);o&&(Z.delete(n),t.ok?o.resolve(t.result):t.ok===!1&&o.reject(new Error(t.error)));break}case Y.PreviewMessageType.EMOTE_EVENT:{const t=e.data.payload,{type:n,payload:o}=t,r=e.source?Me.get(e.source):null;r&&n&&r.emit(n,o);break}case Y.PreviewMessageType.LOAD:{e.source&&(ke.set(e.source,!0),(ge.get(e.source)||[]).filter(o=>{var r;return((r=o.data)==null?void 0:r.type)!==Y.PreviewMessageType.LOAD}).forEach(Pe),ge.delete(e.source));break}default:}}catch(t){console.error("Error processing WearablePreview message:",t)}}const Bt=e=>{var n;if(((n=e.data)==null?void 0:n.type)===Y.PreviewMessageType.LOAD){Pe(e);return}if(!(e.source?ke.get(e.source):!1)&&e.source){const o=ge.get(e.source)||[];o.push(e),ge.set(e.source,o);return}Pe(e)};typeof window<"u"&&window.addEventListener("message",Bt,!1);let Ve=0;function _t(e){return function(n,o,r){const a=document.getElementById(e);if(!a||!a.contentWindow){const g=new Error("iframe not found or not accessible");return Promise.reject(g)}const s=e+"-"+Ve,l=zt();Z.set(s,l);const c=Y.PreviewMessageType.CONTROLLER_REQUEST,f={id:s,namespace:n,method:o,params:r},m=setTimeout(()=>{Z.delete(s),l.reject(new Error(`Request timeout for ${o}`))},1e4),u=l.resolve,y=l.reject;l.resolve=g=>{clearTimeout(m),u(g)},l.reject=g=>{clearTimeout(m),y(g)};try{Y.sendMessage(a.contentWindow,c,f)}catch(g){const b=g instanceof Error?g.message:String(g);l.reject(new Error(`Failed to send message: ${b}`)),Z.delete(s),clearTimeout(m)}return Ve++,l}}function jt(e){const t=document.getElementById(e);if(!t)throw new Error(`Could not find an iframe with id="${e}"`);Z.clear();const n=t.contentWindow?Me.get(t.contentWindow)??Oe():Oe();t.contentWindow&&Me.set(t.contentWindow,n);const o=_t(e);return{scene:{getScreenshot(r,a){return o("scene","getScreenshot",[r,a])},getMetrics(){return o("scene","getMetrics",[])},changeZoom:function(r){return o("scene","changeZoom",[r])},panCamera:function(r){return o("scene","panCamera",[r])},changeCameraPosition:function(r){return o("scene","changeCameraPosition",[r])},cleanup(){return o("scene","cleanup",[])},setUsername:function(r){return o("scene","setUsername",[r])}},emote:{getLength(){return o("emote","getLength",[])},isPlaying(){return o("emote","isPlaying",[])},goTo(r){return o("emote","goTo",[r])},play(){return o("emote","play",[])},pause(){return o("emote","pause",[])},stop(){return o("emote","stop",[])},enableSound(){return o("emote","enableSound",[])},disableSound(){return o("emote","disableSound",[])},hasSound(){return o("emote","hasSound",[])},isSocialEmote(){return o("emote","isSocialEmote",[])},getSocialEmoteAnimations(){return o("emote","getSocialEmoteAnimations",[])},getPlayingSocialEmoteAnimation(){return o("emote","getPlayingSocialEmoteAnimation",[])},emote:null,events:n},physics:{setSpringBonesParams(r,a){return o("physics","setSpringBonesParams",[r,a])}}}}var oe={},De;function Lt(){if(De)return oe;De=1;var e=be();Object.defineProperty(oe,"__esModule",{value:!0}),oe.default=void 0;var t=e(ve()),n=he();return oe.default=(0,t.default)((0,n.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause"),oe}var $t=Lt();const Ot=ie($t);var ne={},Fe;function At(){if(Fe)return ne;Fe=1;var e=be();Object.defineProperty(ne,"__esModule",{value:!0}),ne.default=void 0;var t=e(ve()),n=he();return ne.default=(0,t.default)((0,n.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow"),ne}var Vt=At();const Dt=ie(Vt);var re={},We;function Ft(){if(We)return re;We=1;var e=be();Object.defineProperty(re,"__esModule",{value:!0}),re.default=void 0;var t=e(ve()),n=he();return re.default=(0,t.default)((0,n.jsx)("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63m2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71M4.27 3 3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9zM12 4 9.91 6.09 12 8.18z"}),"VolumeOff"),re}var Wt=Ft();const Ut=ie(Wt);var ae={},Ue;function qt(){if(Ue)return ae;Ue=1;var e=be();Object.defineProperty(ae,"__esModule",{value:!0}),ae.default=void 0;var t=e(ve()),n=he();return ae.default=(0,t.default)((0,n.jsx)("path",{d:"M3 9v6h4l5 5V4L7 9zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77"}),"VolumeUp"),ae}var Ht=qt();const Yt=ie(Ht),Gt=(e,t)=>{const n=i.useRef(null),[o,r]=i.useState(!1);return i.useEffect(()=>{const a=t??jt(e);if(n.current=a,Ae(e)){r(!0);return}const s=document.getElementById(e);if(!s){console.error(`Could not find iframe with id="${e}"`);return}if(!s.contentWindow){console.error(`Iframe contentWindow is not accessible for id="${e}"`);return}const c=f=>{var m;((m=f.data)==null?void 0:m.type)===Y.PreviewMessageType.LOAD&&Ae(e)&&r(!0)};return window.addEventListener("message",c),()=>{window.removeEventListener("message",c),r(!1),n.current=null}},[e,t]),{controllerRef:n,isReady:o}};function Je(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Je(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Kt(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Je(e))&&(o&&(o+=" "),o+=t);return o}const Xt=["className","component"];function Zt(e={}){const{themeId:t,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:r}=e,a=vt("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(yt);return i.forwardRef(function(c,f){const m=St(n),u=xt(c),{className:y,component:g="div"}=u,b=le(u,Xt);return v.jsx(a,M({as:g,ref:f,className:Kt(y,r?r(o):o),theme:t&&m[t]||m},b))})}function Te(e,t){return Te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Te(e,t)}function Jt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Te(e,t)}const qe=se.createContext(null);function Qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ne(e,t){var n=function(a){return t&&i.isValidElement(a)?t(a):a},o=Object.create(null);return e&&i.Children.map(e,function(r){return r}).forEach(function(r){o[r.key]=n(r)}),o}function eo(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var o=Object.create(null),r=[];for(var a in e)a in t?r.length&&(o[a]=r,r=[]):r.push(a);var s,l={};for(var c in t){if(o[c])for(s=0;s<o[c].length;s++){var f=o[c][s];l[o[c][s]]=n(f)}l[c]=n(c)}for(s=0;s<r.length;s++)l[r[s]]=n(r[s]);return l}function K(e,t,n){return n[t]!=null?n[t]:e.props[t]}function to(e,t){return Ne(e.children,function(n){return i.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:K(n,"appear",e),enter:K(n,"enter",e),exit:K(n,"exit",e)})})}function oo(e,t,n){var o=Ne(e.children),r=eo(t,o);return Object.keys(r).forEach(function(a){var s=r[a];if(i.isValidElement(s)){var l=a in t,c=a in o,f=t[a],m=i.isValidElement(f)&&!f.props.in;c&&(!l||m)?r[a]=i.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:K(s,"exit",e),enter:K(s,"enter",e)}):!c&&l&&!m?r[a]=i.cloneElement(s,{in:!1}):c&&l&&i.isValidElement(f)&&(r[a]=i.cloneElement(s,{onExited:n.bind(null,s),in:f.props.in,exit:K(s,"exit",e),enter:K(s,"enter",e)}))}}),r}var no=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},ro={component:"div",childFactory:function(t){return t}},ze=(function(e){Jt(t,e);function t(o,r){var a;a=e.call(this,o,r)||this;var s=a.handleExited.bind(Qt(a));return a.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},a}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(r,a){var s=a.children,l=a.handleExited,c=a.firstRender;return{children:c?to(r,l):oo(r,s,l),firstRender:!1}},n.handleExited=function(r,a){var s=Ne(this.props.children);r.key in s||(r.props.onExited&&r.props.onExited(a),this.mounted&&this.setState(function(l){var c=M({},l.children);return delete c[r.key],{children:c}}))},n.render=function(){var r=this.props,a=r.component,s=r.childFactory,l=le(r,["component","childFactory"]),c=this.state.contextValue,f=no(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,a===null?se.createElement(qe.Provider,{value:c},f):se.createElement(qe.Provider,{value:c},se.createElement(a,l,f))},t})(se.Component);ze.propTypes={};ze.defaultProps=ro;function ao(e){const{className:t,classes:n,pulsate:o=!1,rippleX:r,rippleY:a,rippleSize:s,in:l,onExited:c,timeout:f}=e,[m,u]=i.useState(!1),y=_(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),g={width:s,height:s,top:-(s/2)+a,left:-(s/2)+r},b=_(n.child,m&&n.childLeaving,o&&n.childPulsate);return!l&&!m&&u(!0),i.useEffect(()=>{if(!l&&c!=null){const x=setTimeout(c,f);return()=>{clearTimeout(x)}}},[c,l,f]),v.jsx("span",{className:y,style:g,children:v.jsx("span",{className:b})})}const j=ye("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),so=["center","classes","className"];let xe=e=>e,He,Ye,Ge,Ke;const Ie=550,io=80,lo=we(He||(He=xe`
|
|
1
|
+
import{g as ie,k as he,r as i,j as v,R as se}from"./react-C51i12iP.js";import{a as Y,g as W}from"./dcl-schemas-BICTSpB5.js";import{bs as be,bt as ve,bu as vt,be as yt,bv as xt,L as le,M,N as _,J as ye,K as Se,bp as Et,Q as J,S as we,H as Xe,bh as Le,bn as Ct,bj as pe,P as Ze,bw as Rt,T as Mt,a_ as Pt,aV as Tt,O as A,bq as It,bc as fe}from"./index-CnOiYeAk.js";import{n as Q}from"./emotion-styled.browser.esm-Cj9DOOij.js";import{u as St}from"./useTheme-DLmJNPU6.js";import{C as wt}from"./CircularProgress-ApNcnq7N.js";var te={},$e;function kt(){if($e)return te;$e=1,Object.defineProperty(te,"__esModule",{value:!0});function e(){let t,n;const o=new Promise((r,a)=>{t=s=>{r(s),o.isPending=!1},n=s=>{a(s),o.isPending=!1}}).catch(r=>Promise.reject(r));return o.resolve=t,o.reject=n,"finally"in o||(o.finally=r=>{o.then(r),o.catch(r)}),o.isPending=!0,o}return te.future=e,te.default=e,te}var Nt=kt();const zt=ie(Nt);function Oe(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o?o.push(n):e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&(n?o.splice(o.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var o=e.get(t);o&&o.slice().map(function(r){r(n)}),(o=e.get("*"))&&o.slice().map(function(r){r(t,n)})}}}const Z=new Map,Me=new Map,ke=new Map,ge=new Map;function Ae(e){const t=document.getElementById(e);return!t||!t.contentWindow?!1:ke.get(t.contentWindow)??!1}function Pe(e){if(e.data&&e.data.type)try{switch(e.data.type){case Y.PreviewMessageType.CONTROLLER_RESPONSE:{const t=e.data.payload,{id:n}=t,o=Z.get(n);o&&(Z.delete(n),t.ok?o.resolve(t.result):t.ok===!1&&o.reject(new Error(t.error)));break}case Y.PreviewMessageType.EMOTE_EVENT:{const t=e.data.payload,{type:n,payload:o}=t,r=e.source?Me.get(e.source):null;r&&n&&r.emit(n,o);break}case Y.PreviewMessageType.LOAD:{e.source&&(ke.set(e.source,!0),(ge.get(e.source)||[]).filter(o=>{var r;return((r=o.data)==null?void 0:r.type)!==Y.PreviewMessageType.LOAD}).forEach(Pe),ge.delete(e.source));break}default:}}catch(t){console.error("Error processing WearablePreview message:",t)}}const Bt=e=>{var n;if(((n=e.data)==null?void 0:n.type)===Y.PreviewMessageType.LOAD){Pe(e);return}if(!(e.source?ke.get(e.source):!1)&&e.source){const o=ge.get(e.source)||[];o.push(e),ge.set(e.source,o);return}Pe(e)};typeof window<"u"&&window.addEventListener("message",Bt,!1);let Ve=0;function _t(e){return function(n,o,r){const a=document.getElementById(e);if(!a||!a.contentWindow){const g=new Error("iframe not found or not accessible");return Promise.reject(g)}const s=e+"-"+Ve,l=zt();Z.set(s,l);const c=Y.PreviewMessageType.CONTROLLER_REQUEST,f={id:s,namespace:n,method:o,params:r},m=setTimeout(()=>{Z.delete(s),l.reject(new Error(`Request timeout for ${o}`))},1e4),u=l.resolve,y=l.reject;l.resolve=g=>{clearTimeout(m),u(g)},l.reject=g=>{clearTimeout(m),y(g)};try{Y.sendMessage(a.contentWindow,c,f)}catch(g){const b=g instanceof Error?g.message:String(g);l.reject(new Error(`Failed to send message: ${b}`)),Z.delete(s),clearTimeout(m)}return Ve++,l}}function jt(e){const t=document.getElementById(e);if(!t)throw new Error(`Could not find an iframe with id="${e}"`);Z.clear();const n=t.contentWindow?Me.get(t.contentWindow)??Oe():Oe();t.contentWindow&&Me.set(t.contentWindow,n);const o=_t(e);return{scene:{getScreenshot(r,a){return o("scene","getScreenshot",[r,a])},getMetrics(){return o("scene","getMetrics",[])},changeZoom:function(r){return o("scene","changeZoom",[r])},panCamera:function(r){return o("scene","panCamera",[r])},changeCameraPosition:function(r){return o("scene","changeCameraPosition",[r])},cleanup(){return o("scene","cleanup",[])},setUsername:function(r){return o("scene","setUsername",[r])}},emote:{getLength(){return o("emote","getLength",[])},isPlaying(){return o("emote","isPlaying",[])},goTo(r){return o("emote","goTo",[r])},play(){return o("emote","play",[])},pause(){return o("emote","pause",[])},stop(){return o("emote","stop",[])},enableSound(){return o("emote","enableSound",[])},disableSound(){return o("emote","disableSound",[])},hasSound(){return o("emote","hasSound",[])},isSocialEmote(){return o("emote","isSocialEmote",[])},getSocialEmoteAnimations(){return o("emote","getSocialEmoteAnimations",[])},getPlayingSocialEmoteAnimation(){return o("emote","getPlayingSocialEmoteAnimation",[])},emote:null,events:n},physics:{setSpringBonesParams(r,a){return o("physics","setSpringBonesParams",[r,a])}}}}var oe={},De;function Lt(){if(De)return oe;De=1;var e=be();Object.defineProperty(oe,"__esModule",{value:!0}),oe.default=void 0;var t=e(ve()),n=he();return oe.default=(0,t.default)((0,n.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause"),oe}var $t=Lt();const Ot=ie($t);var ne={},Fe;function At(){if(Fe)return ne;Fe=1;var e=be();Object.defineProperty(ne,"__esModule",{value:!0}),ne.default=void 0;var t=e(ve()),n=he();return ne.default=(0,t.default)((0,n.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow"),ne}var Vt=At();const Dt=ie(Vt);var re={},We;function Ft(){if(We)return re;We=1;var e=be();Object.defineProperty(re,"__esModule",{value:!0}),re.default=void 0;var t=e(ve()),n=he();return re.default=(0,t.default)((0,n.jsx)("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63m2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71M4.27 3 3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9zM12 4 9.91 6.09 12 8.18z"}),"VolumeOff"),re}var Wt=Ft();const Ut=ie(Wt);var ae={},Ue;function qt(){if(Ue)return ae;Ue=1;var e=be();Object.defineProperty(ae,"__esModule",{value:!0}),ae.default=void 0;var t=e(ve()),n=he();return ae.default=(0,t.default)((0,n.jsx)("path",{d:"M3 9v6h4l5 5V4L7 9zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77"}),"VolumeUp"),ae}var Ht=qt();const Yt=ie(Ht),Gt=(e,t)=>{const n=i.useRef(null),[o,r]=i.useState(!1);return i.useEffect(()=>{const a=t??jt(e);if(n.current=a,Ae(e)){r(!0);return}const s=document.getElementById(e);if(!s){console.error(`Could not find iframe with id="${e}"`);return}if(!s.contentWindow){console.error(`Iframe contentWindow is not accessible for id="${e}"`);return}const c=f=>{var m;((m=f.data)==null?void 0:m.type)===Y.PreviewMessageType.LOAD&&Ae(e)&&r(!0)};return window.addEventListener("message",c),()=>{window.removeEventListener("message",c),r(!1),n.current=null}},[e,t]),{controllerRef:n,isReady:o}};function Je(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Je(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Kt(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Je(e))&&(o&&(o+=" "),o+=t);return o}const Xt=["className","component"];function Zt(e={}){const{themeId:t,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:r}=e,a=vt("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(yt);return i.forwardRef(function(c,f){const m=St(n),u=xt(c),{className:y,component:g="div"}=u,b=le(u,Xt);return v.jsx(a,M({as:g,ref:f,className:Kt(y,r?r(o):o),theme:t&&m[t]||m},b))})}function Te(e,t){return Te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Te(e,t)}function Jt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Te(e,t)}const qe=se.createContext(null);function Qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ne(e,t){var n=function(a){return t&&i.isValidElement(a)?t(a):a},o=Object.create(null);return e&&i.Children.map(e,function(r){return r}).forEach(function(r){o[r.key]=n(r)}),o}function eo(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var o=Object.create(null),r=[];for(var a in e)a in t?r.length&&(o[a]=r,r=[]):r.push(a);var s,l={};for(var c in t){if(o[c])for(s=0;s<o[c].length;s++){var f=o[c][s];l[o[c][s]]=n(f)}l[c]=n(c)}for(s=0;s<r.length;s++)l[r[s]]=n(r[s]);return l}function K(e,t,n){return n[t]!=null?n[t]:e.props[t]}function to(e,t){return Ne(e.children,function(n){return i.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:K(n,"appear",e),enter:K(n,"enter",e),exit:K(n,"exit",e)})})}function oo(e,t,n){var o=Ne(e.children),r=eo(t,o);return Object.keys(r).forEach(function(a){var s=r[a];if(i.isValidElement(s)){var l=a in t,c=a in o,f=t[a],m=i.isValidElement(f)&&!f.props.in;c&&(!l||m)?r[a]=i.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:K(s,"exit",e),enter:K(s,"enter",e)}):!c&&l&&!m?r[a]=i.cloneElement(s,{in:!1}):c&&l&&i.isValidElement(f)&&(r[a]=i.cloneElement(s,{onExited:n.bind(null,s),in:f.props.in,exit:K(s,"exit",e),enter:K(s,"enter",e)}))}}),r}var no=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},ro={component:"div",childFactory:function(t){return t}},ze=(function(e){Jt(t,e);function t(o,r){var a;a=e.call(this,o,r)||this;var s=a.handleExited.bind(Qt(a));return a.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},a}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(r,a){var s=a.children,l=a.handleExited,c=a.firstRender;return{children:c?to(r,l):oo(r,s,l),firstRender:!1}},n.handleExited=function(r,a){var s=Ne(this.props.children);r.key in s||(r.props.onExited&&r.props.onExited(a),this.mounted&&this.setState(function(l){var c=M({},l.children);return delete c[r.key],{children:c}}))},n.render=function(){var r=this.props,a=r.component,s=r.childFactory,l=le(r,["component","childFactory"]),c=this.state.contextValue,f=no(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,a===null?se.createElement(qe.Provider,{value:c},f):se.createElement(qe.Provider,{value:c},se.createElement(a,l,f))},t})(se.Component);ze.propTypes={};ze.defaultProps=ro;function ao(e){const{className:t,classes:n,pulsate:o=!1,rippleX:r,rippleY:a,rippleSize:s,in:l,onExited:c,timeout:f}=e,[m,u]=i.useState(!1),y=_(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),g={width:s,height:s,top:-(s/2)+a,left:-(s/2)+r},b=_(n.child,m&&n.childLeaving,o&&n.childPulsate);return!l&&!m&&u(!0),i.useEffect(()=>{if(!l&&c!=null){const x=setTimeout(c,f);return()=>{clearTimeout(x)}}},[c,l,f]),v.jsx("span",{className:y,style:g,children:v.jsx("span",{className:b})})}const j=ye("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),so=["center","classes","className"];let xe=e=>e,He,Ye,Ge,Ke;const Ie=550,io=80,lo=we(He||(He=xe`
|
|
2
2
|
0% {
|
|
3
3
|
transform: scale(0);
|
|
4
4
|
opacity: 0.1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as u,b as h}from"./lit-element-B3y9oplH.js";import{n as d,o as f}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-
|
|
1
|
+
import{i as u,b as h}from"./lit-element-B3y9oplH.js";import{n as d,o as f}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-G6xf-Q3K.js";import{d as g,r as m,e as b}from"./index-CDtEmRi2.js";const y=g`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-
|
|
1
|
+
import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-G6xf-Q3K.js";import"./index-DXm5dWgZ.js";import{d as b,r as x,e as z}from"./index-CDtEmRi2.js";import"./index-BQyF5ApH.js";const S=f`<svg width="86" height="96" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
d="M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z"
|
|
4
4
|
/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as m,b as f}from"./lit-element-B3y9oplH.js";import{n as h}from"./class-map-CxwNmq0D.js";import{c as l}from"./index-
|
|
1
|
+
import{i as m,b as f}from"./lit-element-B3y9oplH.js";import{n as h}from"./class-map-CxwNmq0D.js";import{c as l}from"./index-G6xf-Q3K.js";import{d as c}from"./index-CDtEmRi2.js";const p=c`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
background: linear-gradient(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as h,b as d}from"./lit-element-B3y9oplH.js";import{n as i,o as c}from"./class-map-CxwNmq0D.js";import"./index-
|
|
1
|
+
import{i as h,b as d}from"./lit-element-B3y9oplH.js";import{n as i,o as c}from"./class-map-CxwNmq0D.js";import"./index-w6PsRxrI.js";import{c as m}from"./index-G6xf-Q3K.js";import{d as g,r as y,e as f}from"./index-CDtEmRi2.js";const b=g`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{as as n,at as t}from"./index-B4D19REm.js";const e="https://wearable-preview.decentraland.zone",a="https://decentraland.zone/account",o="https://decentraland.zone/profile",_="https://decentraland.zone/marketplace",R="https://decentraland.zone/builder",c="https://decentraland.zone/dao",s="https://decentraland.zone/governance",d="https://decentraland.zone/events",L="https://decentraland.zone/places",E="https://decentraland.org/create/",U="https://docs.decentraland.org/player/",r="https://decentraland.zone/download/creator-hub/",l="https://decentraland.zone/download/",O="https://decentraland.zone/download_success/",A="ea2ybdmmn1kv",T="master",N="18g1DzIyBxvu0steSwKyQr",p="https://cms.decentraland.org",S="https://decentraland.zone/marketplace/names/claim",C="https://decentraland.zone/marketplace/lands",h="https://decentraland.zone/marketplace/account",D="https://decentraland.zone/create/",I="https://studios.decentraland.zone/",g="https://decentraland.zone/builder/collections",$="https://decentraland.zone/builder/names",P="https://decentraland.zone/builder/worlds?tab=dcl",i="https://decentraland.zone/builder/land",m="https://decentraland.zone/events/me/",B="https://decentraland.zone/places/favorites/",M="https://docs.decentraland.org/player/",V="https://docs.decentraland.org/creator/",y="https://decentraland.zone/blog/",G="https://docs.decentraland.org/contributor/",u="https://decentraland.zone/governance/transparency/",F="https://decentraland.zone/governance/proposals/",b="https://decentraland.zone/dao/grants/",K="https://decentraland.zone/governance/projects/",Y="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",v="https://decentraland.zone/marketplace/settings",z="https://dcl.gg/discord",f="https://reddit.com/r/decentraland",w="https://github.com/decentraland",W="https://x.com/decentraland",k="https://instagram.com/decentraland_foundation/",H="https://youtube.com/@decentraland_foundation",x="https://tiktok.com/@decentraland_fdn",j="https://linkedin.com/company/decentralandorg",Q="https://decentraland.zone/privacy",J="https://decentraland.zone/terms",X="https://decentraland.zone/content",q="https://decentraland.zone/ethics",Z="https://decentraland.org/help",tt="mailto:hello@decentraland.org",nt="https://docs.decentraland.org/faqs/decentraland-101",et="https://docs.decentraland.org",at="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",ot="https://download-gateway.decentraland.zone",_t="https://decentraland.zone/top-scenes",Rt="https://testflight.apple.com/join/KF4r3jlU",ct="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",st={WEARABLE_PREVIEW_URL:e,ACCOUNT_URL:a,PROFILE_URL:o,MARKETPLACE_URL:_,BUILDER_URL:R,DAO_URL:c,GOVERNANCE_URL:s,EVENTS_URL:d,PLACES_URL:L,CREATE_URL:E,LEARN_URL:U,CREATOR_HUB_URL:r,DOWNLOAD_URL:l,DOWNLOAD_SUCCESS_URL:O,CONTENTFUL_SPACE_ID:A,CONTENTFUL_ENV:T,CONTENTFUL_NAVBAR_ENTRY_ID:N,CONTENTFUL_CONTENTFUL_CDN_URL:p,MARKETPLACE_NAMES_URL:S,MARKETPLACE_LANDS_URL:C,MARKETPLACE_MY_ASSETS_URL:h,LANDING_CREATORS_URL:D,STUDIOS_URL:I,BUILDER_WEARABLE_EMOTES_URL:g,BUILDER_NAMES_URL:$,BUILDER_WORLDS_URL:P,BUILDER_LAND_URL:i,EVENTS_MY_EVENTS:m,PLACES_MY_FAVORITE_URL:B,DOCS_ABOUT_URL:M,DOCS_CREATORS_URL:V,BLOG_URL:y,DOCS_CONTRIBUTOR_URL:G,GOVERNANCE_TRANSPARENCY_URL:u,GOVERNANCE_PROPOSALS_URL:F,DAO_GRANTS_URL:b,GOVERNANCE_PROJECTS_URL:K,DOCS_DAO_URL:Y,MARKETPLACE_SETTINGS_URL:v,DISCORD_URL:z,REDDIT_URL:f,GITHUB_URL:w,X_URL:W,INSTAGRAM_URL:k,YOUTUBE_URL:H,TIKTOK_URL:x,LINKEDIN_URL:j,PRIVACY_POLICY_URL:Q,TERMS_OF_USE_URL:J,CONTENT_POLICY_URL:X,CODE_OF_ETHICS_URL:q,SUPPORT_URL:Z,EMAIL_HELLO_URL:tt,FAQ_URL:nt,DOCS_URL:et,BEEHIV_SUBSCRIPTION_URL:at,AUTO_SIGNING_BASE_URL:ot,TOP_SCENES_URL:_t,IOS_STORE_URL:Rt,ANDROID_STORE_URL:ct},dt="https://wearable-preview.decentraland.org",Lt="https://decentraland.org/account",Et="https://decentraland.org/profile",Ut="https://decentraland.org/marketplace",rt="https://decentraland.org/builder",lt="https://decentraland.org/dao",Ot="https://decentraland.org/governance",At="https://decentraland.org/events",Tt="https://decentraland.org/places",Nt="https://decentraland.org/create/",pt="https://docs.decentraland.org/player/",St="https://decentraland.org/download/creator-hub/",Ct="https://decentraland.org/download/",ht="https://decentraland.org/download_success/",Dt="ea2ybdmmn1kv",It="master",gt="18g1DzIyBxvu0steSwKyQr",$t="https://cms.decentraland.org",Pt="https://decentraland.org/marketplace/names/claim",it="https://decentraland.org/marketplace/lands",mt="https://decentraland.org/marketplace/account",Bt="https://decentraland.org/create/",Mt="https://studios.decentraland.org/",Vt="https://decentraland.org/builder/collections",yt="https://decentraland.org/builder/names",Gt="https://decentraland.org/builder/worlds?tab=dcl",ut="https://decentraland.org/builder/land",Ft="https://decentraland.org/events/me/",bt="https://decentraland.org/places/favorites/",Kt="https://docs.decentraland.org/player/",Yt="https://docs.decentraland.org/creator/",vt="https://decentraland.org/blog/",zt="https://docs.decentraland.org/contributor/",ft="https://decentraland.org/governance/transparency/",wt="https://decentraland.org/governance/proposals/",Wt="https://decentraland.org/dao/grants/",kt="https://decentraland.org/governance/projects/",Ht="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",xt="https://decentraland.org/marketplace/settings",jt="https://dcl.gg/discord",Qt="https://reddit.com/r/decentraland",Jt="https://github.com/decentraland",Xt="https://x.com/decentraland",qt="https://instagram.com/decentraland_foundation/",Zt="https://youtube.com/@decentraland_foundation",tn="https://tiktok.com/@decentraland_fdn",nn="https://linkedin.com/company/decentralandorg",en="https://decentraland.org/privacy",an="https://decentraland.org/terms",on="https://decentraland.org/content",_n="https://decentraland.org/ethics",Rn="https://decentraland.org/help",cn="mailto:hello@decentraland.org",sn="https://docs.decentraland.org/faqs/decentraland-101",dn="https://docs.decentraland.org",Ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",En="https://download-gateway.decentraland.org",Un="https://decentraland.org/top-scenes",rn="https://testflight.apple.com/join/KF4r3jlU",ln="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",On={WEARABLE_PREVIEW_URL:dt,ACCOUNT_URL:Lt,PROFILE_URL:Et,MARKETPLACE_URL:Ut,BUILDER_URL:rt,DAO_URL:lt,GOVERNANCE_URL:Ot,EVENTS_URL:At,PLACES_URL:Tt,CREATE_URL:Nt,LEARN_URL:pt,CREATOR_HUB_URL:St,DOWNLOAD_URL:Ct,DOWNLOAD_SUCCESS_URL:ht,CONTENTFUL_SPACE_ID:Dt,CONTENTFUL_ENV:It,CONTENTFUL_NAVBAR_ENTRY_ID:gt,CONTENTFUL_CONTENTFUL_CDN_URL:$t,MARKETPLACE_NAMES_URL:Pt,MARKETPLACE_LANDS_URL:it,MARKETPLACE_MY_ASSETS_URL:mt,LANDING_CREATORS_URL:Bt,STUDIOS_URL:Mt,BUILDER_WEARABLE_EMOTES_URL:Vt,BUILDER_NAMES_URL:yt,BUILDER_WORLDS_URL:Gt,BUILDER_LAND_URL:ut,EVENTS_MY_EVENTS:Ft,PLACES_MY_FAVORITE_URL:bt,DOCS_ABOUT_URL:Kt,DOCS_CREATORS_URL:Yt,BLOG_URL:vt,DOCS_CONTRIBUTOR_URL:zt,GOVERNANCE_TRANSPARENCY_URL:ft,GOVERNANCE_PROPOSALS_URL:wt,DAO_GRANTS_URL:Wt,GOVERNANCE_PROJECTS_URL:kt,DOCS_DAO_URL:Ht,MARKETPLACE_SETTINGS_URL:xt,DISCORD_URL:jt,REDDIT_URL:Qt,GITHUB_URL:Jt,X_URL:Xt,INSTAGRAM_URL:qt,YOUTUBE_URL:Zt,TIKTOK_URL:tn,LINKEDIN_URL:nn,PRIVACY_POLICY_URL:en,TERMS_OF_USE_URL:an,CONTENT_POLICY_URL:on,CODE_OF_ETHICS_URL:_n,SUPPORT_URL:Rn,EMAIL_HELLO_URL:cn,FAQ_URL:sn,DOCS_URL:dn,BEEHIV_SUBSCRIPTION_URL:Ln,AUTO_SIGNING_BASE_URL:En,TOP_SCENES_URL:Un,IOS_STORE_URL:rn,ANDROID_STORE_URL:ln},An="https://wearable-preview.decentraland.today",Tn="https://decentraland.today/account",Nn="https://decentraland.today/profile",pn="https://decentraland.today/marketplace",Sn="https://decentraland.today/builder",Cn="https://decentraland.today/dao",hn="https://decentraland.today/governance",Dn="https://decentraland.zone/events",In="https://decentraland.zone/places",gn="https://decentraland.today/create/",$n="https://docs.decentraland.org/player/",Pn="https://decentraland.today/download/creator-hub/",mn="https://decentraland.today/download/",Bn="https://decentraland.today/download_success/",Mn="ea2ybdmmn1kv",Vn="master",yn="18g1DzIyBxvu0steSwKyQr",Gn="https://cms.decentraland.org",un="https://decentraland.today/marketplace/names/claim",Fn="https://decentraland.today/marketplace/lands",bn="https://decentraland.today/marketplace/account",Kn="https://decentraland.today/create/",Yn="https://studios.decentraland.today/",vn="https://decentraland.today/builder/collections",zn="https://decentraland.today/builder/names",fn="https://decentraland.today/builder/worlds?tab=dcl",wn="https://decentraland.today/builder/land",Wn="https://decentraland.today/events/me/",kn="https://decentraland.today/places/favorites/",Hn="https://docs.decentraland.org/player/",xn="https://docs.decentraland.org/creator/",jn="https://decentraland.today/blog/",Qn="https://docs.decentraland.org/contributor/",Jn="https://decentraland.today/governance/transparency/",Xn="https://decentraland.today/governance/proposals/",qn="https://decentraland.today/dao/grants/",Zn="https://decentraland.today/governance/projects/",te="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ne="https://decentraland.today/marketplace/settings",ee="https://dcl.gg/discord",ae="https://reddit.com/r/decentraland",oe="https://github.com/decentraland",_e="https://x.com/decentraland",Re="https://instagram.com/decentraland_foundation/",ce="https://youtube.com/@decentraland_foundation",se="https://tiktok.com/@decentraland_fdn",de="https://linkedin.com/company/decentralandorg",Le="https://decentraland.org/privacy",Ee="https://decentraland.org/terms",Ue="https://decentraland.org/content",re="https://decentraland.org/ethics",le="https://decentraland.org/help",Oe="mailto:hello@decentraland.org",Ae="https://docs.decentraland.org/faqs/decentraland-101",Te="https://docs.decentraland.org",Ne="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",pe="https://download-gateway.decentraland.zone",Se="https://decentraland.zone/top-scenes",Ce="https://testflight.apple.com/join/KF4r3jlU",he="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",De={WEARABLE_PREVIEW_URL:An,ACCOUNT_URL:Tn,PROFILE_URL:Nn,MARKETPLACE_URL:pn,BUILDER_URL:Sn,DAO_URL:Cn,GOVERNANCE_URL:hn,EVENTS_URL:Dn,PLACES_URL:In,CREATE_URL:gn,LEARN_URL:$n,CREATOR_HUB_URL:Pn,DOWNLOAD_URL:mn,DOWNLOAD_SUCCESS_URL:Bn,CONTENTFUL_SPACE_ID:Mn,CONTENTFUL_ENV:Vn,CONTENTFUL_NAVBAR_ENTRY_ID:yn,CONTENTFUL_CONTENTFUL_CDN_URL:Gn,MARKETPLACE_NAMES_URL:un,MARKETPLACE_LANDS_URL:Fn,MARKETPLACE_MY_ASSETS_URL:bn,LANDING_CREATORS_URL:Kn,STUDIOS_URL:Yn,BUILDER_WEARABLE_EMOTES_URL:vn,BUILDER_NAMES_URL:zn,BUILDER_WORLDS_URL:fn,BUILDER_LAND_URL:wn,EVENTS_MY_EVENTS:Wn,PLACES_MY_FAVORITE_URL:kn,DOCS_ABOUT_URL:Hn,DOCS_CREATORS_URL:xn,BLOG_URL:jn,DOCS_CONTRIBUTOR_URL:Qn,GOVERNANCE_TRANSPARENCY_URL:Jn,GOVERNANCE_PROPOSALS_URL:Xn,DAO_GRANTS_URL:qn,GOVERNANCE_PROJECTS_URL:Zn,DOCS_DAO_URL:te,MARKETPLACE_SETTINGS_URL:ne,DISCORD_URL:ee,REDDIT_URL:ae,GITHUB_URL:oe,X_URL:_e,INSTAGRAM_URL:Re,YOUTUBE_URL:ce,TIKTOK_URL:se,LINKEDIN_URL:de,PRIVACY_POLICY_URL:Le,TERMS_OF_USE_URL:Ee,CONTENT_POLICY_URL:Ue,CODE_OF_ETHICS_URL:re,SUPPORT_URL:le,EMAIL_HELLO_URL:Oe,FAQ_URL:Ae,DOCS_URL:Te,BEEHIV_SUBSCRIPTION_URL:Ne,AUTO_SIGNING_BASE_URL:pe,TOP_SCENES_URL:Se,IOS_STORE_URL:Ce,ANDROID_STORE_URL:he},ge=n({[t.DEVELOPMENT]:st,[t.STAGING]:De,[t.PRODUCTION]:On});export{ge as c};
|
|
1
|
+
import{as as n,at as t}from"./index-CnOiYeAk.js";const e="https://wearable-preview.decentraland.zone",a="https://decentraland.zone/account",o="https://decentraland.zone/profile",_="https://decentraland.zone/marketplace",R="https://decentraland.zone/builder",c="https://decentraland.zone/dao",s="https://decentraland.zone/governance",d="https://decentraland.zone/events",L="https://decentraland.zone/places",E="https://decentraland.org/create/",U="https://docs.decentraland.org/player/",r="https://decentraland.zone/download/creator-hub/",l="https://decentraland.zone/download/",O="https://decentraland.zone/download_success/",A="ea2ybdmmn1kv",T="master",N="18g1DzIyBxvu0steSwKyQr",p="https://cms.decentraland.org",S="https://decentraland.zone/marketplace/names/claim",C="https://decentraland.zone/marketplace/lands",h="https://decentraland.zone/marketplace/account",D="https://decentraland.zone/create/",I="https://studios.decentraland.zone/",g="https://decentraland.zone/builder/collections",$="https://decentraland.zone/builder/names",P="https://decentraland.zone/builder/worlds?tab=dcl",i="https://decentraland.zone/builder/land",m="https://decentraland.zone/events/me/",B="https://decentraland.zone/places/favorites/",M="https://docs.decentraland.org/player/",V="https://docs.decentraland.org/creator/",y="https://decentraland.zone/blog/",G="https://docs.decentraland.org/contributor/",u="https://decentraland.zone/governance/transparency/",F="https://decentraland.zone/governance/proposals/",b="https://decentraland.zone/dao/grants/",K="https://decentraland.zone/governance/projects/",Y="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",v="https://decentraland.zone/marketplace/settings",z="https://dcl.gg/discord",f="https://reddit.com/r/decentraland",w="https://github.com/decentraland",W="https://x.com/decentraland",k="https://instagram.com/decentraland_foundation/",H="https://youtube.com/@decentraland_foundation",x="https://tiktok.com/@decentraland_fdn",j="https://linkedin.com/company/decentralandorg",Q="https://decentraland.zone/privacy",J="https://decentraland.zone/terms",X="https://decentraland.zone/content",q="https://decentraland.zone/ethics",Z="https://decentraland.org/help",tt="mailto:hello@decentraland.org",nt="https://docs.decentraland.org/faqs/decentraland-101",et="https://docs.decentraland.org",at="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",ot="https://download-gateway.decentraland.zone",_t="https://decentraland.zone/top-scenes",Rt="https://testflight.apple.com/join/KF4r3jlU",ct="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",st={WEARABLE_PREVIEW_URL:e,ACCOUNT_URL:a,PROFILE_URL:o,MARKETPLACE_URL:_,BUILDER_URL:R,DAO_URL:c,GOVERNANCE_URL:s,EVENTS_URL:d,PLACES_URL:L,CREATE_URL:E,LEARN_URL:U,CREATOR_HUB_URL:r,DOWNLOAD_URL:l,DOWNLOAD_SUCCESS_URL:O,CONTENTFUL_SPACE_ID:A,CONTENTFUL_ENV:T,CONTENTFUL_NAVBAR_ENTRY_ID:N,CONTENTFUL_CONTENTFUL_CDN_URL:p,MARKETPLACE_NAMES_URL:S,MARKETPLACE_LANDS_URL:C,MARKETPLACE_MY_ASSETS_URL:h,LANDING_CREATORS_URL:D,STUDIOS_URL:I,BUILDER_WEARABLE_EMOTES_URL:g,BUILDER_NAMES_URL:$,BUILDER_WORLDS_URL:P,BUILDER_LAND_URL:i,EVENTS_MY_EVENTS:m,PLACES_MY_FAVORITE_URL:B,DOCS_ABOUT_URL:M,DOCS_CREATORS_URL:V,BLOG_URL:y,DOCS_CONTRIBUTOR_URL:G,GOVERNANCE_TRANSPARENCY_URL:u,GOVERNANCE_PROPOSALS_URL:F,DAO_GRANTS_URL:b,GOVERNANCE_PROJECTS_URL:K,DOCS_DAO_URL:Y,MARKETPLACE_SETTINGS_URL:v,DISCORD_URL:z,REDDIT_URL:f,GITHUB_URL:w,X_URL:W,INSTAGRAM_URL:k,YOUTUBE_URL:H,TIKTOK_URL:x,LINKEDIN_URL:j,PRIVACY_POLICY_URL:Q,TERMS_OF_USE_URL:J,CONTENT_POLICY_URL:X,CODE_OF_ETHICS_URL:q,SUPPORT_URL:Z,EMAIL_HELLO_URL:tt,FAQ_URL:nt,DOCS_URL:et,BEEHIV_SUBSCRIPTION_URL:at,AUTO_SIGNING_BASE_URL:ot,TOP_SCENES_URL:_t,IOS_STORE_URL:Rt,ANDROID_STORE_URL:ct},dt="https://wearable-preview.decentraland.org",Lt="https://decentraland.org/account",Et="https://decentraland.org/profile",Ut="https://decentraland.org/marketplace",rt="https://decentraland.org/builder",lt="https://decentraland.org/dao",Ot="https://decentraland.org/governance",At="https://decentraland.org/events",Tt="https://decentraland.org/places",Nt="https://decentraland.org/create/",pt="https://docs.decentraland.org/player/",St="https://decentraland.org/download/creator-hub/",Ct="https://decentraland.org/download/",ht="https://decentraland.org/download_success/",Dt="ea2ybdmmn1kv",It="master",gt="18g1DzIyBxvu0steSwKyQr",$t="https://cms.decentraland.org",Pt="https://decentraland.org/marketplace/names/claim",it="https://decentraland.org/marketplace/lands",mt="https://decentraland.org/marketplace/account",Bt="https://decentraland.org/create/",Mt="https://studios.decentraland.org/",Vt="https://decentraland.org/builder/collections",yt="https://decentraland.org/builder/names",Gt="https://decentraland.org/builder/worlds?tab=dcl",ut="https://decentraland.org/builder/land",Ft="https://decentraland.org/events/me/",bt="https://decentraland.org/places/favorites/",Kt="https://docs.decentraland.org/player/",Yt="https://docs.decentraland.org/creator/",vt="https://decentraland.org/blog/",zt="https://docs.decentraland.org/contributor/",ft="https://decentraland.org/governance/transparency/",wt="https://decentraland.org/governance/proposals/",Wt="https://decentraland.org/dao/grants/",kt="https://decentraland.org/governance/projects/",Ht="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",xt="https://decentraland.org/marketplace/settings",jt="https://dcl.gg/discord",Qt="https://reddit.com/r/decentraland",Jt="https://github.com/decentraland",Xt="https://x.com/decentraland",qt="https://instagram.com/decentraland_foundation/",Zt="https://youtube.com/@decentraland_foundation",tn="https://tiktok.com/@decentraland_fdn",nn="https://linkedin.com/company/decentralandorg",en="https://decentraland.org/privacy",an="https://decentraland.org/terms",on="https://decentraland.org/content",_n="https://decentraland.org/ethics",Rn="https://decentraland.org/help",cn="mailto:hello@decentraland.org",sn="https://docs.decentraland.org/faqs/decentraland-101",dn="https://docs.decentraland.org",Ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",En="https://download-gateway.decentraland.org",Un="https://decentraland.org/top-scenes",rn="https://testflight.apple.com/join/KF4r3jlU",ln="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",On={WEARABLE_PREVIEW_URL:dt,ACCOUNT_URL:Lt,PROFILE_URL:Et,MARKETPLACE_URL:Ut,BUILDER_URL:rt,DAO_URL:lt,GOVERNANCE_URL:Ot,EVENTS_URL:At,PLACES_URL:Tt,CREATE_URL:Nt,LEARN_URL:pt,CREATOR_HUB_URL:St,DOWNLOAD_URL:Ct,DOWNLOAD_SUCCESS_URL:ht,CONTENTFUL_SPACE_ID:Dt,CONTENTFUL_ENV:It,CONTENTFUL_NAVBAR_ENTRY_ID:gt,CONTENTFUL_CONTENTFUL_CDN_URL:$t,MARKETPLACE_NAMES_URL:Pt,MARKETPLACE_LANDS_URL:it,MARKETPLACE_MY_ASSETS_URL:mt,LANDING_CREATORS_URL:Bt,STUDIOS_URL:Mt,BUILDER_WEARABLE_EMOTES_URL:Vt,BUILDER_NAMES_URL:yt,BUILDER_WORLDS_URL:Gt,BUILDER_LAND_URL:ut,EVENTS_MY_EVENTS:Ft,PLACES_MY_FAVORITE_URL:bt,DOCS_ABOUT_URL:Kt,DOCS_CREATORS_URL:Yt,BLOG_URL:vt,DOCS_CONTRIBUTOR_URL:zt,GOVERNANCE_TRANSPARENCY_URL:ft,GOVERNANCE_PROPOSALS_URL:wt,DAO_GRANTS_URL:Wt,GOVERNANCE_PROJECTS_URL:kt,DOCS_DAO_URL:Ht,MARKETPLACE_SETTINGS_URL:xt,DISCORD_URL:jt,REDDIT_URL:Qt,GITHUB_URL:Jt,X_URL:Xt,INSTAGRAM_URL:qt,YOUTUBE_URL:Zt,TIKTOK_URL:tn,LINKEDIN_URL:nn,PRIVACY_POLICY_URL:en,TERMS_OF_USE_URL:an,CONTENT_POLICY_URL:on,CODE_OF_ETHICS_URL:_n,SUPPORT_URL:Rn,EMAIL_HELLO_URL:cn,FAQ_URL:sn,DOCS_URL:dn,BEEHIV_SUBSCRIPTION_URL:Ln,AUTO_SIGNING_BASE_URL:En,TOP_SCENES_URL:Un,IOS_STORE_URL:rn,ANDROID_STORE_URL:ln},An="https://wearable-preview.decentraland.today",Tn="https://decentraland.today/account",Nn="https://decentraland.today/profile",pn="https://decentraland.today/marketplace",Sn="https://decentraland.today/builder",Cn="https://decentraland.today/dao",hn="https://decentraland.today/governance",Dn="https://decentraland.zone/events",In="https://decentraland.zone/places",gn="https://decentraland.today/create/",$n="https://docs.decentraland.org/player/",Pn="https://decentraland.today/download/creator-hub/",mn="https://decentraland.today/download/",Bn="https://decentraland.today/download_success/",Mn="ea2ybdmmn1kv",Vn="master",yn="18g1DzIyBxvu0steSwKyQr",Gn="https://cms.decentraland.org",un="https://decentraland.today/marketplace/names/claim",Fn="https://decentraland.today/marketplace/lands",bn="https://decentraland.today/marketplace/account",Kn="https://decentraland.today/create/",Yn="https://studios.decentraland.today/",vn="https://decentraland.today/builder/collections",zn="https://decentraland.today/builder/names",fn="https://decentraland.today/builder/worlds?tab=dcl",wn="https://decentraland.today/builder/land",Wn="https://decentraland.today/events/me/",kn="https://decentraland.today/places/favorites/",Hn="https://docs.decentraland.org/player/",xn="https://docs.decentraland.org/creator/",jn="https://decentraland.today/blog/",Qn="https://docs.decentraland.org/contributor/",Jn="https://decentraland.today/governance/transparency/",Xn="https://decentraland.today/governance/proposals/",qn="https://decentraland.today/dao/grants/",Zn="https://decentraland.today/governance/projects/",te="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ne="https://decentraland.today/marketplace/settings",ee="https://dcl.gg/discord",ae="https://reddit.com/r/decentraland",oe="https://github.com/decentraland",_e="https://x.com/decentraland",Re="https://instagram.com/decentraland_foundation/",ce="https://youtube.com/@decentraland_foundation",se="https://tiktok.com/@decentraland_fdn",de="https://linkedin.com/company/decentralandorg",Le="https://decentraland.org/privacy",Ee="https://decentraland.org/terms",Ue="https://decentraland.org/content",re="https://decentraland.org/ethics",le="https://decentraland.org/help",Oe="mailto:hello@decentraland.org",Ae="https://docs.decentraland.org/faqs/decentraland-101",Te="https://docs.decentraland.org",Ne="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",pe="https://download-gateway.decentraland.zone",Se="https://decentraland.zone/top-scenes",Ce="https://testflight.apple.com/join/KF4r3jlU",he="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",De={WEARABLE_PREVIEW_URL:An,ACCOUNT_URL:Tn,PROFILE_URL:Nn,MARKETPLACE_URL:pn,BUILDER_URL:Sn,DAO_URL:Cn,GOVERNANCE_URL:hn,EVENTS_URL:Dn,PLACES_URL:In,CREATE_URL:gn,LEARN_URL:$n,CREATOR_HUB_URL:Pn,DOWNLOAD_URL:mn,DOWNLOAD_SUCCESS_URL:Bn,CONTENTFUL_SPACE_ID:Mn,CONTENTFUL_ENV:Vn,CONTENTFUL_NAVBAR_ENTRY_ID:yn,CONTENTFUL_CONTENTFUL_CDN_URL:Gn,MARKETPLACE_NAMES_URL:un,MARKETPLACE_LANDS_URL:Fn,MARKETPLACE_MY_ASSETS_URL:bn,LANDING_CREATORS_URL:Kn,STUDIOS_URL:Yn,BUILDER_WEARABLE_EMOTES_URL:vn,BUILDER_NAMES_URL:zn,BUILDER_WORLDS_URL:fn,BUILDER_LAND_URL:wn,EVENTS_MY_EVENTS:Wn,PLACES_MY_FAVORITE_URL:kn,DOCS_ABOUT_URL:Hn,DOCS_CREATORS_URL:xn,BLOG_URL:jn,DOCS_CONTRIBUTOR_URL:Qn,GOVERNANCE_TRANSPARENCY_URL:Jn,GOVERNANCE_PROPOSALS_URL:Xn,DAO_GRANTS_URL:qn,GOVERNANCE_PROJECTS_URL:Zn,DOCS_DAO_URL:te,MARKETPLACE_SETTINGS_URL:ne,DISCORD_URL:ee,REDDIT_URL:ae,GITHUB_URL:oe,X_URL:_e,INSTAGRAM_URL:Re,YOUTUBE_URL:ce,TIKTOK_URL:se,LINKEDIN_URL:de,PRIVACY_POLICY_URL:Le,TERMS_OF_USE_URL:Ee,CONTENT_POLICY_URL:Ue,CODE_OF_ETHICS_URL:re,SUPPORT_URL:le,EMAIL_HELLO_URL:Oe,FAQ_URL:Ae,DOCS_URL:Te,BEEHIV_SUBSCRIPTION_URL:Ne,AUTO_SIGNING_BASE_URL:pe,TOP_SCENES_URL:Se,IOS_STORE_URL:Ce,ANDROID_STORE_URL:he},ge=n({[t.DEVELOPMENT]:st,[t.STAGING]:De,[t.PRODUCTION]:On});export{ge as c};
|