@dcl/shop 1.11.0 → 1.11.2-32965246252.commit-13c8ba6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_assets/{Activity-C-iRRJes.js → Activity-CP1ECejY.js} +8 -8
- package/_assets/{AnimatedBackground-2IqhbI98.js → AnimatedBackground-DtYPIbcl.js} +2 -2
- package/_assets/{Assets-BQHoTVy5.js → Assets-By0Rhz7x.js} +3 -3
- package/_assets/{Authorizations-DSQN_BUe.js → Authorizations-CvawcU2A.js} +2 -2
- package/_assets/{Cart-4FZ_RV6w.js → Cart-CYlGTo1G.js} +2 -2
- package/_assets/{Collection-C9Oa84DP.js → Collection-5gUmqbSO.js} +2 -2
- package/_assets/{CollectionCarousel-LTlXX1yl.js → CollectionCarousel-Cktbe885.js} +3 -3
- package/_assets/{Confetti-BHqqmYb2.js → Confetti-nYkhLzwN.js} +4 -4
- package/_assets/{ConstantsUtil-DFqlrvtU.js → ConstantsUtil-tH8b4Sih.js} +2 -2
- package/_assets/{ContentClient-lL0cd1fK.js → ContentClient-Cf58TUeO.js} +2 -2
- package/_assets/{Creator-DG7Zttkm.js → Creator-CVkv365r.js} +2 -2
- package/_assets/{DeploymentBuilder-auJsBwBc.js → DeploymentBuilder-BXoASvDP.js} +2 -2
- package/_assets/{EmotePlaybackBar-CUy3CzlZ.js → EmotePlaybackBar-DRW6zw8j.js} +3 -3
- package/_assets/{ErrorNotice-BjLTkOLz.js → ErrorNotice-t4ECFSsU.js} +2 -2
- package/_assets/{ExchangeController-em5jrB6C.js → ExchangeController-C8Z1Zetf.js} +2 -2
- package/_assets/{Faq-Cpsw7_4i.js → Faq-DigUPwwN.js} +2 -2
- package/_assets/{GetCredits-BTNAQtsn.js → GetCredits-C6UPapuB.js} +2 -2
- package/_assets/{Grow-DEVww-vf.js → Grow-l_u1PA_w.js} +2 -2
- package/_assets/{HelpersUtil-CNYq2ptq.js → HelpersUtil-DY3iMqWy.js} +2 -2
- package/_assets/{ItemDetail-BJ_vUz1c.js → ItemDetail-M3cpWawc.js} +2 -2
- package/_assets/{LoadMore-CED3UI8v.js → LoadMore-BBM-SXJP.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-BTTWbgOA.js → ManaPricingBanner.styles-DGUEM5J3.js} +2 -2
- package/_assets/{MyAssets-ExvadkK7.js → MyAssets-Br90M9s_.js} +2 -2
- package/_assets/{MyFavorites-BCpm40DL.js → MyFavorites-CmiaRzuz.js} +2 -2
- package/_assets/{NetworkUtil-_MPSq3Em.js → NetworkUtil-BZ47ACp8.js} +2 -2
- package/_assets/{NotFound-CmTXi9L3.js → NotFound-CVnfOmWc.js} +2 -2
- package/_assets/{NotificationsBell-D-6m4nDn.js → NotificationsBell-DPj_SC9_.js} +2 -2
- package/_assets/{OutfitDetail-7UO86DhJ.js → OutfitDetail-B6eOBBPT.js} +2 -2
- package/_assets/{OutfitPreview-JNvUqt1m.js → OutfitPreview-CB93yCZ2.js} +2 -2
- package/_assets/{OutfitStudio-DZHt3262.js → OutfitStudio-CLAZVuNz.js} +2 -2
- package/_assets/{StoreSettings-FlBDdIHX.js → StoreSettings-B62SbRFA.js} +2 -2
- package/_assets/{Success-DrVW8DLr.js → Success-CcLqbu9A.js} +2 -2
- package/_assets/{SwapController-DsQW0o_D.js → SwapController-Cmzk7aBX.js} +2 -2
- package/_assets/{TradeService-DpLGt6zv.js → TradeService-Bbn8PVai.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-Doq6mTar.js → W3MFrameProviderSingleton-C5R0Hv4f.js} +4 -4
- package/_assets/{WebCryptoP256-C54oY5uR.js → WebCryptoP256-CoWvLLBn.js} +2 -2
- package/_assets/{authorizations-FX9A7NCF.js → authorizations-Dfd7AOyN.js} +2 -2
- package/_assets/{basic-DzQ2oQpZ.js → basic-8adCBjLn.js} +2 -2
- package/_assets/{biconomy-D1Rmohrx.js → biconomy-0DvyR0vE.js} +2 -2
- package/_assets/{browseLayout.styles-DmXbjfpy.js → browseLayout.styles-CZMO6p62.js} +2 -2
- package/_assets/{browser-DDCBDKUs.js → browser-CRTtYpr2.js} +2 -2
- package/_assets/{browser-ponyfill-CFlZGY9p.js → browser-ponyfill-CUyGMBm7.js} +2 -2
- package/_assets/{builder-BUAFeauh.js → builder-BuVZpOfe.js} +2 -2
- package/_assets/{buy-BqmJYTA_.js → buy-C0bT8mAS.js} +2 -2
- package/_assets/{buy-gasless-r0-rX1Xz.js → buy-gasless-D8T6jLex.js} +2 -2
- package/_assets/{categories-DJ3CpW29.js → categories-DR9seQYU.js} +2 -2
- package/_assets/{ccip-CSFYjyzm.js → ccip-1pkZuB0E.js} +2 -2
- package/_assets/{ccip-DaOGcTi5.js → ccip-DRuetWI4.js} +2 -2
- package/_assets/{chains-Ca-lKFdh.js → chains-BcWQaIVL.js} +2 -2
- package/_assets/collectionPage.styles-BeZ03uBn.js +40 -0
- package/_assets/{common-D71QDZS6.js → common-6U-VLCbU.js} +2 -2
- package/_assets/{controller-bhainDRr.js → controller-ICVmH4Ig.js} +3 -3
- package/_assets/{core-W86KJVIY.js → core-s3KP05zr.js} +5 -5
- package/_assets/{createSvgIcon-42bsA22h.js → createSvgIcon-bdMIgLav.js} +2 -2
- package/_assets/{custom-NlyiR2bJ.js → custom-UWzt1HkN.js} +2 -2
- package/_assets/{data-capture-CkEuTxvB.js → data-capture-C3mZGErr.js} +2 -2
- package/_assets/{dcl-schemas-DvE7IWDY.js → dcl-schemas-CDqEnGVF.js} +2 -2
- package/_assets/{decimals-BonQIQks.js → decimals-B6ScQYpQ.js} +2 -2
- package/_assets/{decimals-_BVgpJXE.js → decimals-BBaBNZYL.js} +2 -2
- package/_assets/{detectExtension-DfGWjbQS.js → detectExtension-XiBshjVV.js} +2 -2
- package/_assets/{disposePreview-CJnRDEpI.js → disposePreview-Cr2UliIP.js} +2 -2
- package/_assets/{email-CqMQJOKz.js → email-CYRldPZy.js} +2 -2
- package/_assets/{embedded-wallet-6hmBy_Gf.js → embedded-wallet-PXQ371Y2.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-D5XTvD6_.js → emotion-styled.browser.esm-CXiBGfWG.js} +2 -2
- package/_assets/{engine-C3fRGwPf.js → engine-BYj8LRR-.js} +2 -2
- package/_assets/{errors-CpdVn533.js → errors-DrnWhano.js} +2 -2
- package/_assets/{estimate-l1-fee-Dcdfy4V-.js → estimate-l1-fee-Br5tf6YJ.js} +2 -2
- package/_assets/{eth_estimateGas-DesFBy-I.js → eth_estimateGas-KLSbpl5b.js} +2 -2
- package/_assets/{eth_getStorageAt-BhKGiz8g.js → eth_getStorageAt-BkrUTKef.js} +2 -2
- package/_assets/{eth_getTransactionCount-RiEmS15Z.js → eth_getTransactionCount-CCoUDrH9.js} +2 -2
- package/_assets/{ethereum-DZDk5IEF.js → ethereum-D0IGfAmi.js} +2 -2
- package/_assets/{ethers-owZvXzo9.js → ethers-IshNxzO2.js} +2 -2
- package/_assets/{events-CEwCSw8b.js → events-DmWFPeUq.js} +2 -2
- package/_assets/{execute-ChVwLvIS.js → execute-BITqWoLw.js} +3 -3
- package/_assets/{extractIPFS-MYkeOpFd.js → extractIPFS-CTDek6fb.js} +2 -2
- package/_assets/{features-Cqya9akR.js → features-DGwPKoN-.js} +2 -2
- package/_assets/{fetchTokenMetadata-Dt_Ge3P_.js → fetchTokenMetadata--Ly_UgiZ.js} +3 -3
- package/_assets/{field.styles-CeeeC6M6.js → field.styles-CrPrLgfc.js} +2 -2
- package/_assets/{fortmatic-HaoGtnlW.js → fortmatic-B4BmxhUY.js} +2 -2
- package/_assets/{get-bytecode-Ceomoa5A.js → get-bytecode-D_h1A1zC.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-H_KBMV7z.js → get-ecosystem-wallet-info-CYmLJgzN.js} +2 -2
- package/_assets/{getBalance-Cfh3tdBU.js → getBalance-DjGiniPh.js} +3 -3
- package/_assets/{getInstalledModules-Cs4m8xMh.js → getInstalledModules-DR1KTHzu.js} +2 -2
- package/_assets/{getNFT-CZmGsek0.js → getNFT-CNg62zD3.js} +2 -2
- package/_assets/{getNFT-Ds5tBhuH.js → getNFT-x38RyDB2.js} +3 -3
- package/_assets/{grid.styles-DNvkHrfB.js → grid.styles-LmmrrDys.js} +2 -2
- package/_assets/{hashTypedData-B46TYEGs.js → hashTypedData-MNLweE_a.js} +2 -2
- package/_assets/{hashTypedData-Ck3JYcdR.js → hashTypedData-sdmtN9Zz.js} +2 -2
- package/_assets/{in-app-DkAnD74t.js → in-app-Bu7Zv9-z.js} +2 -2
- package/_assets/{in-app-wallet-calls-6zqnTKmU.js → in-app-wallet-calls-Ch0ELDn9.js} +2 -2
- package/_assets/{index-C-lBesby.js → index-5NSbXKSv.js} +3 -3
- package/_assets/{index-h96Dfz17.js → index-B-Ajihp7.js} +2 -2
- package/_assets/{index-BymVVTih.js → index-B0WLbCww.js} +2 -2
- package/_assets/{index-BWCMDqq2.js → index-B2d6dDnR.js} +2 -2
- package/_assets/{index-B4HWQoMQ.js → index-B315VRIl.js} +2 -2
- package/_assets/{index-DOsSArLP.js → index-B4HX0CZx.js} +2 -2
- package/_assets/{index-3eVpa8Zs.js → index-B4S9GeTv.js} +3 -3
- package/_assets/{index-BPcUuaEM.js → index-B6nahZ4b.js} +2 -2
- package/_assets/{index-Bg3xAgln.js → index-BDkxSGPV.js} +2 -2
- package/_assets/{index-BEPvB9a4.js → index-BPWcQXMl.js} +2 -2
- package/_assets/{index-Bo4xq_KT.js → index-BUtPa6GQ.js} +39 -12
- package/_assets/{index-gKpIsDfs.js → index-BYLTT06l.js} +2 -2
- package/_assets/{index-VvaOIIkN.js → index-BagTuDyL.js} +2 -2
- package/_assets/{index-CPV3T5Nk.js → index-BdZj5Hzt.js} +2 -2
- package/_assets/{index-DNdSl4K9.js → index-Beo2oUYK.js} +2 -2
- package/_assets/{index-BuX-PHvB.js → index-Bic0I_uZ.js} +2 -2
- package/_assets/{index-DSSDadoY.js → index-BmhE3caQ.js} +2 -2
- package/_assets/{index-C2TEKrCX.js → index-Bqu7D4Cn.js} +2 -2
- package/_assets/{index-DML3k0rv.js → index-BuBssK3j.js} +2 -2
- package/_assets/{index-Df9jZPLX.js → index-C-0vDGti.js} +3 -3
- package/_assets/{index-BeOtFyfk.js → index-C5yBP4Mu.js} +4 -4
- package/_assets/{index-DNS0QrgR.js → index-C8ZpYOme.js} +2 -2
- package/_assets/{index-D6f-xTid.js → index-CEk2nZCx.js} +2 -2
- package/_assets/{index-BhQW2CzQ.js → index-CLT_fShJ.js} +2 -2
- package/_assets/{index-CbCpnm3M.js → index-CT6bjqM0.js} +2 -2
- package/_assets/{index-Rhe6B7O9.js → index-CUYsSSRU.js} +2 -2
- package/_assets/{index-BIwL8wYY.js → index-CXy1lICw.js} +3 -3
- package/_assets/{index-BkQgAoIb.js → index-CZ-GxAba.js} +2 -2
- package/_assets/{index-DMDo5Dfi.js → index-ChKbGwyG.js} +2 -2
- package/_assets/{index-B5QXa_jU.js → index-CkeRKp-D.js} +2 -2
- package/_assets/{index-DCzudm6R.js → index-Co8V1we7.js} +2 -2
- package/_assets/{index-B6482tHt.js → index-CooyqVnL.js} +2 -2
- package/_assets/{index-CM0lUMPb.js → index-CxiNiQql.js} +2 -2
- package/_assets/{index-CvgadAKP.js → index-CyufH55G.js} +2 -2
- package/_assets/{index-DJovNmup.js → index-D4CaQiXg.js} +2 -2
- package/_assets/{index-BrIq7-i_.js → index-D5C6Jf2g.js} +2 -2
- package/_assets/{index-CjNGDouF.js → index-DDiabBbx.js} +2 -2
- package/_assets/{index-C5FVqvWl.js → index-DEVplCn_.js} +2 -2
- package/_assets/{index-BsRChzmD.js → index-DG6QQ_2J.js} +2 -2
- package/_assets/{index-C8KL-9aQ.js → index-DHnYqA2D.js} +4 -4
- package/_assets/{index-CDQhnjTx.js → index-DHtZOoSj.js} +2 -2
- package/_assets/{index-lYPp_CsV.js → index-DLNncT_F.js} +2 -2
- package/_assets/{index-DVftQW5q.js → index-DMcpJs55.js} +2 -2
- package/_assets/{index-4IZGP5BI.js → index-DP2zGJus.js} +2 -2
- package/_assets/{index-BxSg-i3Z.js → index-DPaKunKm.js} +2 -2
- package/_assets/{index-DbNtir5j.js → index-DRrOiyHk.js} +2 -2
- package/_assets/{index-Dd2Jq54A.js → index-DT5c_fV2.js} +2 -2
- package/_assets/{index-BXMUYCCw.js → index-DYpqdGoC.js} +2 -2
- package/_assets/{index-DJ1qFjFz.js → index-D_tuuxnP.js} +2 -2
- package/_assets/{index-BA85S4-b.js → index-DbFrOrtt.js} +2 -2
- package/_assets/{index-Csoi-PzU.js → index-DcKArVXo.js} +2 -2
- package/_assets/{index-CxWJWmtu.js → index-Dmkdljm-.js} +2 -2
- package/_assets/{index-DBBu_7y6.js → index-Dp0EvwWN.js} +2 -2
- package/_assets/{index-mUHmvZEV.js → index-DtEasqMO.js} +2 -2
- package/_assets/{index-swOm_k9d.js → index-DwK_n4fi.js} +2 -2
- package/_assets/{index-CEdEU2Sz.js → index-DwXqRzoH.js} +2 -2
- package/_assets/{index-01W2VDSm.js → index-MGgUn-WH.js} +2 -2
- package/_assets/{index-DS-I38Tc.js → index-N4rWx0gr.js} +2 -2
- package/_assets/{index-BwNtq0ty.js → index-RwWClkgi.js} +2 -2
- package/_assets/{index-Cez_C6xC.js → index-T6YURB_R.js} +2 -2
- package/_assets/{index-D3K6TzDb.js → index-VVCezAYG.js} +2 -2
- package/_assets/{index-Baph5Fsk.js → index-YKSu1hwZ.js} +4 -4
- package/_assets/{index-BLyS1Id_.js → index-_BtwdviV.js} +2 -2
- package/_assets/{index-BGwtsOnp.js → index-hx-Z5LCN.js} +2 -2
- package/_assets/{index-C2brhh00.js → index-i1eBrvZf.js} +2 -2
- package/_assets/{index-C8b_Mp8q.js → index-isUMGRDw.js} +2 -2
- package/_assets/{index-DFuoNvPP.js → index-j_yYEFrz.js} +2 -2
- package/_assets/{index.es-CG8pIgNp.js → index.es-5UAQTciE.js} +2 -2
- package/_assets/{index.es-QU0adH7w.js → index.es-C3vaKwOX.js} +5 -5
- package/_assets/{index.es-DblaMqlJ.js → index.es-D-OEMBF-.js} +2 -2
- package/_assets/{index.es-BMZKN-3q.js → index.es-DLwz4OQB.js} +2 -2
- package/_assets/items-empty-C_gH1DkX.js +2 -0
- package/_assets/{jump-CEV1qxuu.js → jump-BlLiARV_.js} +2 -2
- package/_assets/{linkAccount-CDnEj4n7.js → linkAccount-CuSrWich.js} +2 -2
- package/_assets/{localBatchGatewayRequest-BTYDfS5L.js → localBatchGatewayRequest-BNo2EXnI.js} +2 -2
- package/_assets/{native-vQacsgOz.js → native-J_8MJYHP.js} +2 -2
- package/_assets/{networks-R6efXWNT.js → networks-CokwnUjP.js} +2 -2
- package/_assets/{onramp-MIzJ7Phu.js → onramp-Aiqx5RHE.js} +2 -2
- package/_assets/{openzeppelin-WZqVhiNR.js → openzeppelin-1fOq8ZOm.js} +2 -2
- package/_assets/{ownerOf-CUrOWK4W.js → ownerOf-UVqW65lI.js} +2 -2
- package/_assets/{parseNft-DNnWK2BZ.js → parseNft-Bx81AJrG.js} +3 -3
- package/_assets/{parseSignature-ssuAz5tk.js → parseSignature-C141PYHz.js} +4 -4
- package/_assets/{parseSignature-BxQdCW5i.js → parseSignature-DIz3eDbf.js} +2 -2
- package/_assets/{passkeys-VOKftow9.js → passkeys-DEkgG2JC.js} +2 -2
- package/_assets/{pay-with-exchange-H5b_2iDR.js → pay-with-exchange-B0Edm_sO.js} +2 -2
- package/_assets/{prepare-contract-call-DMYCdn0g.js → prepare-contract-call-BJOeaK83.js} +2 -2
- package/_assets/{qr-overlay-DlZQUuEN.js → qr-overlay-56D3Gl0s.js} +4 -4
- package/_assets/{react-eHGl4EaY.js → react-BwVKUOq3.js} +2 -2
- package/_assets/{receive-b4QzvIHG.js → receive--VyiBBVi.js} +2 -2
- package/_assets/{resolveImplementation-DHfJOcqj.js → resolveImplementation-Cv68WsI1.js} +2 -2
- package/_assets/{resume-buy-OKb8MiCf.js → resume-buy-CwzanqHx.js} +2 -2
- package/_assets/{rpc-DS-ctSv0.js → rpc-X9rHfWkB.js} +2 -2
- package/_assets/{sales-empty-CTLNLo98.js → sales-empty-CQ3_E6og.js} +2 -2
- package/_assets/{search-empty-CfWjX9Z-.js → search-empty-BjFHfdG4.js} +2 -2
- package/_assets/{secp256k1-DpFuX-Ol.js → secp256k1-BYfFefy8.js} +2 -2
- package/_assets/{secp256k1-DwYyjHky.js → secp256k1-C5iJ64mZ.js} +2 -2
- package/_assets/{secp256k1-8GzWOfIy.js → secp256k1-CiCoU0c1.js} +2 -2
- package/_assets/{send-COzoq6o1.js → send-CuWODK7h.js} +2 -2
- package/_assets/{send-batch-transaction-BgnH7oNx.js → send-batch-transaction-BfdIVqZ3.js} +2 -2
- package/_assets/{send-eip712-transaction-CNt5Pfzs.js → send-eip712-transaction-CwaDIVzZ.js} +3 -3
- package/_assets/{send-gasless-transaction-UwIdWPPH.js → send-gasless-transaction-CT12Tt7D.js} +3 -3
- package/_assets/{send-transaction-BXllE_ec.js → send-transaction-Ddxr3Ocz.js} +3 -3
- package/_assets/{sendMetaTransaction-D1z-Wmsw.js → sendMetaTransaction-C0lud7cG.js} +2 -2
- package/_assets/{sendRawTransaction-DXJcvhe0.js → sendRawTransaction-DC9Gx2J8.js} +4 -4
- package/_assets/{sentry-Bv3fzY7D.js → sentry-Bsae7YMx.js} +3 -3
- package/_assets/{serializeTransaction-B5hMBD3v.js → serializeTransaction-BcxNFpPf.js} +2 -2
- package/_assets/{session-proposal-C1LetR0O.js → session-proposal-BRTjUHNO.js} +2 -2
- package/_assets/{session-request-bNq-_KEQ.js → session-request-0A4jzxWn.js} +3 -3
- package/_assets/{sha256-D6nBKqdK.js → sha256-DuFZ-xgO.js} +2 -2
- package/_assets/{signing-DWEjtXRX.js → signing-DjkQXx2H.js} +4 -4
- package/_assets/{skeleton.styles-doHMnxGS.js → skeleton.styles-BSFkRsID.js} +2 -2
- package/_assets/{socials-F27dq_3-.js → socials-Bq8LLJzv.js} +2 -2
- package/_assets/{styled-P9L5SAVN.js → styled-CHKWBEcS.js} +2 -2
- package/_assets/{swaps-BJjH9K6-.js → swaps-HsHB8jE0.js} +2 -2
- package/_assets/{thirdweb-sllJut3_.js → thirdweb-DXvdAo-M.js} +4 -4
- package/_assets/{to-serializable-transaction-DYHJF9B0.js → to-serializable-transaction-DY0E52Cx.js} +3 -3
- package/_assets/{totalSupply-B1ExUCAh.js → totalSupply-tekRrLb9.js} +2 -2
- package/_assets/{transaction-BsO81ihM.js → transaction-DmRIdyP5.js} +2 -2
- package/_assets/{transactionReceipt-WABT5B1W.js → transactionReceipt-C8Az-i5d.js} +2 -2
- package/_assets/{transactions-DFiEzKoy.js → transactions-XeVMLuJC.js} +2 -2
- package/_assets/{useCreditPacks-v3OL_Ll5.js → useCreditPacks-DUiyawdD.js} +2 -2
- package/_assets/{useInfiniteGrid-CueovPl3.js → useInfiniteGrid-DY7gb2OF.js} +2 -2
- package/_assets/{useStore-B9TZQeZ1.js → useStore-CRWAT-Hl.js} +3 -3
- package/_assets/{useTheme-CH48hjjC.js → useTheme-tBW9Hl3o.js} +2 -2
- package/_assets/{utils-BWMxYffs.js → utils-BQ26ZG4D.js} +2 -2
- package/_assets/{verifyHash-D4hTFZ7n.js → verifyHash-BE902crr.js} +2 -2
- package/_assets/{w3m-modal-CLbpmAGV.js → w3m-modal-BOmKfhbd.js} +2 -2
- package/_assets/{w3m-modal-C4xYPIy3.js → w3m-modal-KveUXZA7.js} +2 -2
- package/_assets/{wait-for-tx-receipt-EKO_WpX3.js → wait-for-tx-receipt-BKB8LRgZ.js} +2 -2
- package/_assets/{wallets-D0RL-9yA.js → wallets-CrIbjhsV.js} +6 -6
- package/_assets/{web-connector-C-ABA0VC.js → web-connector-CZ0MpdTl.js} +4 -4
- package/_assets/{writeContract-BBWBhvR4.js → writeContract-DmwWgebd.js} +2 -2
- package/_assets/{zora-sepolia-CGe2iXCC.js → zora-sepolia-CPHox4vi.js} +2 -2
- package/_assets/{zoraTestnet-C-qLus12.js → zoraTestnet-C2wNQadV.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/collectionPage.styles-Clp4tsb3.js +0 -40
- package/_assets/items-empty-BMZ75Lpv.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as i,j as e,R as Ae}from"./react-eHGl4EaY.js";import{n as G}from"./dcl-schemas-DvE7IWDY.js";import{c as j}from"./index-D3K6TzDb.js";import{n as o,S as Ee}from"./emotion-styled.browser.esm-D5XTvD6_.js";import{m as ne,c7 as g,c8 as r}from"./index-Bo4xq_KT.js";import"./styled-P9L5SAVN.js";import"./sentry-Bv3fzY7D.js";import"./ethers-owZvXzo9.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="50da5fb4-ff7e-4f5a-9f1c-d1b72f43294f",t._sentryDebugIdIdentifier="sentry-dbid-50da5fb4-ff7e-4f5a-9f1c-d1b72f43294f")}catch{}})();function y(t){return Math.floor(t).toLocaleString("en-US")}const xe=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),He=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),Re=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),ie=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Fe=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),ge=i.memo(function(n){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),We=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),re=i.memo(function(n){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),De=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ne=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ue=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ze=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(n){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"#FCFCFC"})})});const se=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Ve=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),Be=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),Oe=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),Te=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),ze=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),_e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),$e=new Set([1,5,42,4,3,11155111]),Pe=new Set([137,80002,80001]),Ge={56:Te,10:Oe,42161:Be,250:_e,43114:ze};function le({chainId:t,...n}){const s=Ge[t];return s?e.jsx(s,{...n}):$e.has(t)?e.jsx(se,{...n}):Pe.has(t)?e.jsx(Ve,{...n}):e.jsx(se,{...n})}const Ce=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),be=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"#FCFCFC"})})}),Ke=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),Ye={signIn:"SIGN IN",signingIn:"SIGNING IN...",discover:"Discover",events:"Events",places:"Places",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Xe(){const t=j.get("SHOP_URL"),n=j.get("BUILDER_URL"),s=j.get("EVENTS_URL"),u=j.get("PLACES_URL"),b=j.get("CREATE_URL"),v=j.get("BLOG_URL"),m=j.get("MARKETPLACE_LANDS_URL");return{discover:{label:"discover",items:[{label:"events",url:s},{label:"places",url:u}]},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:m},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:b},{label:"publishWearablesEmotes",url:`${n}/collections`},{label:"publishLand",url:`${n}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:v}}}let ee=null;function me(){return ee||(ee=Xe()),ee}let te=null;function qe(){return te||(te=[{label:"viewProfile",url:j.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:j.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:j.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:j.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),te}const we=["discover","shop","create"],ve="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",f="@media (min-width: 992px)",Je={navbar:1100},Qe="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",K="rgba(38, 38, 38, 0.8)",Le="0.5px solid #5E5B67",Y="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",je=ne({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),X=ne({from:{opacity:0},to:{opacity:1}}),et=ne({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),tt=o("nav")({position:"fixed",top:0,left:0,right:0,zIndex:Je.navbar,fontFamily:ve,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:"rgba(22, 21, 24, 0.75)",boxShadow:Qe,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[f]:{height:92,padding:"16px 54px","&::before":{background:"rgba(22, 21, 24, 0.4)"}}}),ot=o("div")({display:"flex",alignItems:"center",[A]:{gap:12},[f]:{gap:48},"& .mobile-only":{display:"flex",[f]:{display:"none"}},"& .desktop-only":{display:"none",[f]:{display:"flex"}}}),nt=o("div")({display:"flex",alignItems:"center",gap:16,[f]:{gap:48}}),it=o("div")({display:"flex",alignItems:"center",gap:12,[f]:{gap:24}}),rt=o("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),st=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:"rgba(255, 255, 255, 0.1)",borderRadius:8,color:r.white,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.15)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.2)"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},[f]:{display:"none"}}),lt=o("button")({all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${r.softWhite}`,borderRadius:6,fontFamily:ve,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:r.softWhite,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.08)",borderColor:"rgba(255, 255, 255, 0.7)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.12)"},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2}}),at=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[f]:{display:"none"}})),dt=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?Y:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[f]:{display:"none"}})),ae=o("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),ct=o("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,textDecoration:"none","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:-2}}),pt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,cursor:"pointer","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),ut=o("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),ht=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none","&:hover":{color:r.white},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),ke=i.memo(function({open:n,onClose:s,i18n:u}){const b=me(),[v,m]=i.useState(null),l=i.useCallback(h=>{m(a=>a===h?null:h)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(at,{open:n,onClick:s}),e.jsxs(dt,{open:n,role:"navigation","aria-label":"Mobile navigation",children:[we.map(h=>{var d;const a=b[h],x=v===h;return e.jsxs(ae,{children:[e.jsxs(pt,{onClick:()=>l(h),"aria-expanded":x,children:[u[a.label],x?e.jsx(Fe,{}):e.jsx(ie,{})]}),e.jsx(ut,{open:x,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(ht,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[u[c.label],c.isExternal&&e.jsx(ge,{})]},c.label))})]},h)}),e.jsx(ae,{children:e.jsx(ct,{href:b.learn.url,children:u[b.learn.label]})})]})]})});ke.displayName="MobileMenu";const ft=o("div")({display:"none",[f]:{display:"flex",alignItems:"center",gap:24}}),xt=o("button")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}}),gt=o("a")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2}}),Ct=o(xt)({paddingRight:16}),bt=o("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),mt=o("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:Le,borderRadius:12,boxShadow:Y,padding:12,animation:`${X} 0.15s ease forwards`}),wt=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:r.white},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),ye=i.memo(function({desktopDropdown:n,onOpenDropdown:s,onScheduleCloseDropdown:u,activePage:b,i18n:v}){const m=me();return e.jsxs(ft,{children:[we.map(l=>{var h;return e.jsxs(bt,{onMouseEnter:()=>s(l),onMouseLeave:u,children:[e.jsxs(Ct,{className:b===l?"active":void 0,"aria-expanded":n===l,"aria-haspopup":"true",onClick:()=>{var x;const a=(x=m[l].items)==null?void 0:x[0];a&&window.open(a.url,"_self")},children:[v[m[l].label],e.jsx(ie,{style:{transform:n===l?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),n===l&&e.jsx(mt,{children:(h=m[l].items)==null?void 0:h.map(a=>e.jsxs(wt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[v[a.label],a.isExternal&&e.jsx(ge,{})]},a.label))})]},l)}),e.jsx(gt,{href:m.learn.url,className:b==="learn"?"active":void 0,children:v[m.learn.label]})]})});ye.displayName="NavLinks";const vt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[f]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"&.loading":{animation:`${je} 1.5s ease-in-out infinite`}}),Lt=o("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),jt=o("div")({position:"relative"}),kt=o("div")({position:"fixed",top:92,right:54,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:Le,borderRadius:12,boxShadow:Y,display:"none",padding:12,gap:24,animation:`${X} 0.15s ease forwards`,minWidth:484,[f]:{display:"flex"}}),yt=o("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),It=o("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),de=o("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Mt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),St=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),At=o("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Et=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ht=o("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),oe=o("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Rt=o("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:g.primary},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Ft=o("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Wt=o("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:Y,padding:"24px 12px",animation:`${X} 0.15s ease forwards`,[f]:{display:"none"}}),Dt=o("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Nt=o("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${je} 1.5s ease-in-out infinite`}}),Ut=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Zt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Vt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),Bt=o("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Ot=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),Tt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:r.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),zt=o("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),_t=o("div")({display:"flex",alignItems:"center",gap:6}),ce=o("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),pe=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),$t=o("div")({position:"relative"}),Pt=o("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:r.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Gt=o("div")({width:16,height:16,display:"flex",flexShrink:0}),Kt=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Yt={account:De,wearable:Ne,settings:Ue,shopping:Ze},Xt="https://peer.decentraland.org/content/contents/";function ue(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Xt}${t}`}}const qt={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function he(t){return qt[t]??`Chain ${t}`}const Ie=i.memo(function({isLoadingProfile:n,address:s,avatar:u,userCardOpen:b,onToggleUserCard:v,onClickSignOut:m,selectedChain:l,chains:h,onSelectChain:a,manaBalances:x,onClickBalance:d,i18n:c}){var B,$,P,S;const L=ue(($=(B=u==null?void 0:u.avatar)==null?void 0:B.snapshots)==null?void 0:$.face256),[H,q]=i.useState(),[N,O]=i.useState(!1);i.useEffect(()=>{O(!1)},[L]);const J=L?H===L:!1,R=ue((S=(P=u==null?void 0:u.avatar)==null?void 0:P.snapshots)==null?void 0:S.body),U=(u==null?void 0:u.name)||(s?`${s.slice(0,6)}...${s.slice(-4)}`:""),T=s?`${s.slice(0,6)}...${s.slice(-4)}`:"",[k,I]=i.useState(!1),[Z,z]=i.useState(!1),M=i.useCallback(()=>{s&&navigator.clipboard.writeText(s).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[s]),Q=i.useCallback(p=>{p!==l&&(a==null||a(p)),z(!1)},[l,a]),F=l!==void 0&&h&&h.length>0||x&&Object.keys(x).length>0,V=()=>F?e.jsxs(zt,{children:[x&&e.jsxs(_t,{children:[x.ETHEREUM!==void 0&&e.jsxs(ce,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.ETHEREUM),children:[e.jsx(Ce,{}),e.jsx(pe,{children:y(x.ETHEREUM)})]}),x.MATIC!==void 0&&e.jsxs(ce,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.MATIC),children:[e.jsx(be,{}),e.jsx(pe,{children:y(x.MATIC)})]})]}),l!==void 0&&h&&h.length>0&&e.jsxs($t,{children:[e.jsxs(Pt,{onClick:()=>z(p=>!p),children:[e.jsx(Gt,{children:e.jsx(le,{chainId:l})}),e.jsx(Kt,{children:he(l)}),e.jsx(ie,{style:{width:20,height:20,flexShrink:0,color:"white",transform:Z?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),Z&&e.jsx(Tt,{role:"listbox","aria-label":"Select chain",children:h.map(p=>{const w=p===l;return e.jsxs(Ft,{selected:w,role:"option","aria-selected":w,onClick:()=>Q(p),children:[e.jsx(le,{chainId:p}),he(p)]},p)})})]})]}):null,W=()=>!L||N?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(xe,{style:{width:"100%",height:"100%"}})}):e.jsx(Lt,{src:L,alt:"",onLoad:()=>q(L),onError:()=>O(!0),style:{opacity:J?1:0}}),_=()=>e.jsxs(e.Fragment,{children:[qe().map(p=>{const w=Yt[p.icon];return e.jsxs(Ht,{href:p.url,children:[w&&e.jsx(w,{}),c[p.label]]},p.label)}),e.jsx(oe,{}),e.jsxs(Rt,{onClick:m,children:[e.jsx(We,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(jt,{children:[e.jsx(vt,{onClick:v,"aria-label":"User menu","aria-expanded":b,"aria-haspopup":"true",className:n?"loading":void 0,children:!n&&W()}),b&&e.jsxs(kt,{onClick:p=>p.stopPropagation(),children:[e.jsx(yt,{children:R?e.jsx(It,{src:R,alt:""}):null}),e.jsxs(de,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Mt,{title:U,children:U}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(St,{children:c.walletAddress}),e.jsxs(At,{children:[k?c.addressCopied:T,e.jsx(Et,{onClick:M,"aria-label":"Copy address",children:e.jsx(re,{})})]})]}),V()]}),e.jsx(oe,{}),_()]})]})]}),b&&e.jsxs(Wt,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Dt,{children:[e.jsx(Nt,{className:n?"loading":void 0,children:!n&&W()}),e.jsxs(Ut,{children:[e.jsx(Zt,{title:U,children:U}),e.jsx(Vt,{children:c.walletAddress}),e.jsxs(Bt,{children:[k?c.addressCopied:T,e.jsx(Ot,{onClick:M,"aria-label":"Copy address",children:e.jsx(re,{})})]}),V()]})]}),e.jsx(oe,{}),e.jsx(de,{children:_()})]})]})});Ie.displayName="UserCardPanel";const Jt=Ae.memo(t=>e.jsxs(Ee,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Me=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:"#A0ABFF",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[f]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}}),Qt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),eo=o(Me)({color:r.softWhite}),to=o("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[f]:{gap:12}}),fe=o("button")(({clickable:t})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:r.softWhite,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[f]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),oo=o("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[f]:{flexDirection:"row",alignItems:"center",gap:24}});function no(t){const n=t-Date.now();return Math.max(0,Math.ceil(n/(1e3*60*60*24)))}const io=i.memo(function({isSignedIn:n,isSigningIn:s,isLoadingProfile:u=!1,address:b,avatar:v,i18n:m,notificationSlot:l,selectedChain:h,chains:a,onSelectChain:x,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:H,onClickCredits:q,shopCreditsBalance:N,onClickShopCredits:O,activePage:J,onToggleUserCard:R,onClickSignIn:U,onClickSignOut:T}){const k={...Ye,...m},[I,Z]=i.useState(!1),[z,M]=i.useState(null),[Q,F]=i.useState(!1),V=i.useRef(null),W=i.useRef(null),_=i.useCallback(()=>{Z(C=>(C||(M(null),F(!1)),!C))},[]),B=i.useCallback(()=>{Z(!1)},[]),$=i.useCallback(C=>{W.current&&(clearTimeout(W.current),W.current=null),M(C),F(!1)},[]),P=i.useCallback(()=>{W.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{F(C=>{const D=!C;return D&&(M(null),Z(!1)),R==null||R(D),D})},[R]),w=i.useCallback(()=>{F(!1)},[]);return i.useEffect(()=>{function C(D){const Se=D.target;V.current&&!V.current.contains(Se)&&(S(),w())}return document.addEventListener("mousedown",C),()=>document.removeEventListener("mousedown",C)},[S,w]),i.useEffect(()=>{const C=()=>{w(),S()};return window.addEventListener("scroll",C,{passive:!0}),()=>window.removeEventListener("scroll",C)},[w,S]),i.useEffect(()=>{function C(D){D.key==="Escape"&&(S(),w(),B())}return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[S,w,B]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(tt,{ref:V,children:[e.jsxs(ot,{children:[e.jsx(rt,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(xe,{})}),e.jsx(ye,{desktopDropdown:z,onOpenDropdown:$,onScheduleCloseDropdown:P,activePage:J,i18n:k})]}),e.jsxs(nt,{children:[n&&e.jsxs(it,{children:[(H||N!==void 0||L&&d)&&e.jsxs(oo,{children:[H&&e.jsxs(Me,{onClick:q,"aria-label":`${y(H.balance)} credits`,children:[e.jsx(Jt,{}),y(H.balance),e.jsxs(Qt,{className:"credits-tooltip",children:[k.creditsExpiringIn.replace("{days}",String(no(H.expiresAt))),e.jsx("br",{}),k.creditsValueNote]})]}),L&&d&&e.jsxs(to,{children:[d.ETHEREUM!==void 0&&e.jsxs(fe,{clickable:!!c,onClick:c?()=>c(G.Network.ETHEREUM):void 0,"aria-label":`${y(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(Ce,{}),y(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(fe,{clickable:!!c,onClick:c?()=>c(G.Network.MATIC):void 0,"aria-label":`${y(d.MATIC)} MANA on Polygon`,children:[e.jsx(be,{}),y(d.MATIC)]})]}),N!==void 0&&e.jsxs(eo,{onClick:O,"aria-label":`${y(N)} shop credits`,children:[e.jsx(Ke,{}),y(N)]})]}),l&&e.jsx("div",{onClick:()=>{F(!1),M(null)},children:l}),e.jsx(Ie,{isLoadingProfile:u,address:b,avatar:v,userCardOpen:Q,onToggleUserCard:p,onClickSignOut:T,selectedChain:h,chains:a,onSelectChain:x,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:k})]}),!n&&e.jsx(lt,{onClick:U,disabled:s,children:s?k.signingIn:k.signIn}),e.jsx(st,{onClick:_,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(Re,{}):e.jsx(He,{})})]})]}),e.jsx(ke,{open:I,onClose:B,i18n:k})]})});io.displayName="Navbar";const xo=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:r.white,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${et} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"& svg":{width:24,height:24}}),go=o("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:g.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),Co=o("div")({position:"relative"}),bo=o("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${X} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),mo=o("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),wo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),vo=o("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),Lo=o("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),jo=o("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),ko=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),yo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Io=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Mo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),So=o("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Ao=o("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:r.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{xo as BellButton,io as Navbar,go as NotificationBadge,So as NotificationDot,Ao as NotificationEmpty,mo as NotificationHeader,ko as NotificationItemContent,Io as NotificationItemDescription,jo as NotificationItemImage,Mo as NotificationItemTime,yo as NotificationItemTitle,vo as NotificationList,Lo as NotificationListItem,bo as NotificationPanel,wo as NotificationTitle,Co as NotificationWrapper};
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import{r as i,j as e,R as Ae}from"./react-BwVKUOq3.js";import{n as G}from"./dcl-schemas-CDqEnGVF.js";import{c as j}from"./index-VVCezAYG.js";import{n as o,S as Ee}from"./emotion-styled.browser.esm-CXiBGfWG.js";import{m as ne,c7 as g,c8 as r}from"./index-BUtPa6GQ.js";import"./styled-CHKWBEcS.js";import"./sentry-Bsae7YMx.js";import"./ethers-IshNxzO2.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="50da5fb4-ff7e-4f5a-9f1c-d1b72f43294f",t._sentryDebugIdIdentifier="sentry-dbid-50da5fb4-ff7e-4f5a-9f1c-d1b72f43294f")}catch{}})();function y(t){return Math.floor(t).toLocaleString("en-US")}const xe=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),He=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),Re=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),ie=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Fe=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),ge=i.memo(function(n){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),We=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),re=i.memo(function(n){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),De=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ne=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ue=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ze=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(n){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"#FCFCFC"})})});const se=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Ve=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),Be=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),Oe=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),Te=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),ze=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),_e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),$e=new Set([1,5,42,4,3,11155111]),Pe=new Set([137,80002,80001]),Ge={56:Te,10:Oe,42161:Be,250:_e,43114:ze};function le({chainId:t,...n}){const s=Ge[t];return s?e.jsx(s,{...n}):$e.has(t)?e.jsx(se,{...n}):Pe.has(t)?e.jsx(Ve,{...n}):e.jsx(se,{...n})}const Ce=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),be=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"#FCFCFC"})})}),Ke=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),Ye={signIn:"SIGN IN",signingIn:"SIGNING IN...",discover:"Discover",events:"Events",places:"Places",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Xe(){const t=j.get("SHOP_URL"),n=j.get("BUILDER_URL"),s=j.get("EVENTS_URL"),u=j.get("PLACES_URL"),b=j.get("CREATE_URL"),v=j.get("BLOG_URL"),m=j.get("MARKETPLACE_LANDS_URL");return{discover:{label:"discover",items:[{label:"events",url:s},{label:"places",url:u}]},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:m},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:b},{label:"publishWearablesEmotes",url:`${n}/collections`},{label:"publishLand",url:`${n}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:v}}}let ee=null;function me(){return ee||(ee=Xe()),ee}let te=null;function qe(){return te||(te=[{label:"viewProfile",url:j.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:j.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:j.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:j.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),te}const we=["discover","shop","create"],ve="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",f="@media (min-width: 992px)",Je={navbar:1100},Qe="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",K="rgba(38, 38, 38, 0.8)",Le="0.5px solid #5E5B67",Y="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",je=ne({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),X=ne({from:{opacity:0},to:{opacity:1}}),et=ne({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),tt=o("nav")({position:"fixed",top:0,left:0,right:0,zIndex:Je.navbar,fontFamily:ve,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:"rgba(22, 21, 24, 0.75)",boxShadow:Qe,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[f]:{height:92,padding:"16px 54px","&::before":{background:"rgba(22, 21, 24, 0.4)"}}}),ot=o("div")({display:"flex",alignItems:"center",[A]:{gap:12},[f]:{gap:48},"& .mobile-only":{display:"flex",[f]:{display:"none"}},"& .desktop-only":{display:"none",[f]:{display:"flex"}}}),nt=o("div")({display:"flex",alignItems:"center",gap:16,[f]:{gap:48}}),it=o("div")({display:"flex",alignItems:"center",gap:12,[f]:{gap:24}}),rt=o("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),st=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:"rgba(255, 255, 255, 0.1)",borderRadius:8,color:r.white,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.15)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.2)"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},[f]:{display:"none"}}),lt=o("button")({all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${r.softWhite}`,borderRadius:6,fontFamily:ve,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:r.softWhite,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.08)",borderColor:"rgba(255, 255, 255, 0.7)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.12)"},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2}}),at=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[f]:{display:"none"}})),dt=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?Y:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[f]:{display:"none"}})),ae=o("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),ct=o("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,textDecoration:"none","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:-2}}),pt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,cursor:"pointer","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),ut=o("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),ht=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none","&:hover":{color:r.white},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),ke=i.memo(function({open:n,onClose:s,i18n:u}){const b=me(),[v,m]=i.useState(null),l=i.useCallback(h=>{m(a=>a===h?null:h)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(at,{open:n,onClick:s}),e.jsxs(dt,{open:n,role:"navigation","aria-label":"Mobile navigation",children:[we.map(h=>{var d;const a=b[h],x=v===h;return e.jsxs(ae,{children:[e.jsxs(pt,{onClick:()=>l(h),"aria-expanded":x,children:[u[a.label],x?e.jsx(Fe,{}):e.jsx(ie,{})]}),e.jsx(ut,{open:x,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(ht,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[u[c.label],c.isExternal&&e.jsx(ge,{})]},c.label))})]},h)}),e.jsx(ae,{children:e.jsx(ct,{href:b.learn.url,children:u[b.learn.label]})})]})]})});ke.displayName="MobileMenu";const ft=o("div")({display:"none",[f]:{display:"flex",alignItems:"center",gap:24}}),xt=o("button")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}}),gt=o("a")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2}}),Ct=o(xt)({paddingRight:16}),bt=o("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),mt=o("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:Le,borderRadius:12,boxShadow:Y,padding:12,animation:`${X} 0.15s ease forwards`}),wt=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:r.white},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),ye=i.memo(function({desktopDropdown:n,onOpenDropdown:s,onScheduleCloseDropdown:u,activePage:b,i18n:v}){const m=me();return e.jsxs(ft,{children:[we.map(l=>{var h;return e.jsxs(bt,{onMouseEnter:()=>s(l),onMouseLeave:u,children:[e.jsxs(Ct,{className:b===l?"active":void 0,"aria-expanded":n===l,"aria-haspopup":"true",onClick:()=>{var x;const a=(x=m[l].items)==null?void 0:x[0];a&&window.open(a.url,"_self")},children:[v[m[l].label],e.jsx(ie,{style:{transform:n===l?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),n===l&&e.jsx(mt,{children:(h=m[l].items)==null?void 0:h.map(a=>e.jsxs(wt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[v[a.label],a.isExternal&&e.jsx(ge,{})]},a.label))})]},l)}),e.jsx(gt,{href:m.learn.url,className:b==="learn"?"active":void 0,children:v[m.learn.label]})]})});ye.displayName="NavLinks";const vt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[f]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"&.loading":{animation:`${je} 1.5s ease-in-out infinite`}}),Lt=o("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),jt=o("div")({position:"relative"}),kt=o("div")({position:"fixed",top:92,right:54,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:Le,borderRadius:12,boxShadow:Y,display:"none",padding:12,gap:24,animation:`${X} 0.15s ease forwards`,minWidth:484,[f]:{display:"flex"}}),yt=o("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),It=o("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),de=o("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Mt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),St=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),At=o("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Et=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ht=o("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),oe=o("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Rt=o("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:g.primary},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Ft=o("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Wt=o("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:Y,padding:"24px 12px",animation:`${X} 0.15s ease forwards`,[f]:{display:"none"}}),Dt=o("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Nt=o("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${je} 1.5s ease-in-out infinite`}}),Ut=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Zt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Vt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),Bt=o("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Ot=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),Tt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:r.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),zt=o("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),_t=o("div")({display:"flex",alignItems:"center",gap:6}),ce=o("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),pe=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),$t=o("div")({position:"relative"}),Pt=o("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:r.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Gt=o("div")({width:16,height:16,display:"flex",flexShrink:0}),Kt=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Yt={account:De,wearable:Ne,settings:Ue,shopping:Ze},Xt="https://peer.decentraland.org/content/contents/";function ue(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Xt}${t}`}}const qt={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function he(t){return qt[t]??`Chain ${t}`}const Ie=i.memo(function({isLoadingProfile:n,address:s,avatar:u,userCardOpen:b,onToggleUserCard:v,onClickSignOut:m,selectedChain:l,chains:h,onSelectChain:a,manaBalances:x,onClickBalance:d,i18n:c}){var B,$,P,S;const L=ue(($=(B=u==null?void 0:u.avatar)==null?void 0:B.snapshots)==null?void 0:$.face256),[H,q]=i.useState(),[N,O]=i.useState(!1);i.useEffect(()=>{O(!1)},[L]);const J=L?H===L:!1,R=ue((S=(P=u==null?void 0:u.avatar)==null?void 0:P.snapshots)==null?void 0:S.body),U=(u==null?void 0:u.name)||(s?`${s.slice(0,6)}...${s.slice(-4)}`:""),T=s?`${s.slice(0,6)}...${s.slice(-4)}`:"",[k,I]=i.useState(!1),[Z,z]=i.useState(!1),M=i.useCallback(()=>{s&&navigator.clipboard.writeText(s).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[s]),Q=i.useCallback(p=>{p!==l&&(a==null||a(p)),z(!1)},[l,a]),F=l!==void 0&&h&&h.length>0||x&&Object.keys(x).length>0,V=()=>F?e.jsxs(zt,{children:[x&&e.jsxs(_t,{children:[x.ETHEREUM!==void 0&&e.jsxs(ce,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.ETHEREUM),children:[e.jsx(Ce,{}),e.jsx(pe,{children:y(x.ETHEREUM)})]}),x.MATIC!==void 0&&e.jsxs(ce,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.MATIC),children:[e.jsx(be,{}),e.jsx(pe,{children:y(x.MATIC)})]})]}),l!==void 0&&h&&h.length>0&&e.jsxs($t,{children:[e.jsxs(Pt,{onClick:()=>z(p=>!p),children:[e.jsx(Gt,{children:e.jsx(le,{chainId:l})}),e.jsx(Kt,{children:he(l)}),e.jsx(ie,{style:{width:20,height:20,flexShrink:0,color:"white",transform:Z?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),Z&&e.jsx(Tt,{role:"listbox","aria-label":"Select chain",children:h.map(p=>{const w=p===l;return e.jsxs(Ft,{selected:w,role:"option","aria-selected":w,onClick:()=>Q(p),children:[e.jsx(le,{chainId:p}),he(p)]},p)})})]})]}):null,W=()=>!L||N?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(xe,{style:{width:"100%",height:"100%"}})}):e.jsx(Lt,{src:L,alt:"",onLoad:()=>q(L),onError:()=>O(!0),style:{opacity:J?1:0}}),_=()=>e.jsxs(e.Fragment,{children:[qe().map(p=>{const w=Yt[p.icon];return e.jsxs(Ht,{href:p.url,children:[w&&e.jsx(w,{}),c[p.label]]},p.label)}),e.jsx(oe,{}),e.jsxs(Rt,{onClick:m,children:[e.jsx(We,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(jt,{children:[e.jsx(vt,{onClick:v,"aria-label":"User menu","aria-expanded":b,"aria-haspopup":"true",className:n?"loading":void 0,children:!n&&W()}),b&&e.jsxs(kt,{onClick:p=>p.stopPropagation(),children:[e.jsx(yt,{children:R?e.jsx(It,{src:R,alt:""}):null}),e.jsxs(de,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Mt,{title:U,children:U}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(St,{children:c.walletAddress}),e.jsxs(At,{children:[k?c.addressCopied:T,e.jsx(Et,{onClick:M,"aria-label":"Copy address",children:e.jsx(re,{})})]})]}),V()]}),e.jsx(oe,{}),_()]})]})]}),b&&e.jsxs(Wt,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Dt,{children:[e.jsx(Nt,{className:n?"loading":void 0,children:!n&&W()}),e.jsxs(Ut,{children:[e.jsx(Zt,{title:U,children:U}),e.jsx(Vt,{children:c.walletAddress}),e.jsxs(Bt,{children:[k?c.addressCopied:T,e.jsx(Ot,{onClick:M,"aria-label":"Copy address",children:e.jsx(re,{})})]}),V()]})]}),e.jsx(oe,{}),e.jsx(de,{children:_()})]})]})});Ie.displayName="UserCardPanel";const Jt=Ae.memo(t=>e.jsxs(Ee,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Me=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:"#A0ABFF",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[f]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}}),Qt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),eo=o(Me)({color:r.softWhite}),to=o("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[f]:{gap:12}}),fe=o("button")(({clickable:t})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:r.softWhite,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[f]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),oo=o("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[f]:{flexDirection:"row",alignItems:"center",gap:24}});function no(t){const n=t-Date.now();return Math.max(0,Math.ceil(n/(1e3*60*60*24)))}const io=i.memo(function({isSignedIn:n,isSigningIn:s,isLoadingProfile:u=!1,address:b,avatar:v,i18n:m,notificationSlot:l,selectedChain:h,chains:a,onSelectChain:x,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:H,onClickCredits:q,shopCreditsBalance:N,onClickShopCredits:O,activePage:J,onToggleUserCard:R,onClickSignIn:U,onClickSignOut:T}){const k={...Ye,...m},[I,Z]=i.useState(!1),[z,M]=i.useState(null),[Q,F]=i.useState(!1),V=i.useRef(null),W=i.useRef(null),_=i.useCallback(()=>{Z(C=>(C||(M(null),F(!1)),!C))},[]),B=i.useCallback(()=>{Z(!1)},[]),$=i.useCallback(C=>{W.current&&(clearTimeout(W.current),W.current=null),M(C),F(!1)},[]),P=i.useCallback(()=>{W.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{F(C=>{const D=!C;return D&&(M(null),Z(!1)),R==null||R(D),D})},[R]),w=i.useCallback(()=>{F(!1)},[]);return i.useEffect(()=>{function C(D){const Se=D.target;V.current&&!V.current.contains(Se)&&(S(),w())}return document.addEventListener("mousedown",C),()=>document.removeEventListener("mousedown",C)},[S,w]),i.useEffect(()=>{const C=()=>{w(),S()};return window.addEventListener("scroll",C,{passive:!0}),()=>window.removeEventListener("scroll",C)},[w,S]),i.useEffect(()=>{function C(D){D.key==="Escape"&&(S(),w(),B())}return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[S,w,B]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(tt,{ref:V,children:[e.jsxs(ot,{children:[e.jsx(rt,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(xe,{})}),e.jsx(ye,{desktopDropdown:z,onOpenDropdown:$,onScheduleCloseDropdown:P,activePage:J,i18n:k})]}),e.jsxs(nt,{children:[n&&e.jsxs(it,{children:[(H||N!==void 0||L&&d)&&e.jsxs(oo,{children:[H&&e.jsxs(Me,{onClick:q,"aria-label":`${y(H.balance)} credits`,children:[e.jsx(Jt,{}),y(H.balance),e.jsxs(Qt,{className:"credits-tooltip",children:[k.creditsExpiringIn.replace("{days}",String(no(H.expiresAt))),e.jsx("br",{}),k.creditsValueNote]})]}),L&&d&&e.jsxs(to,{children:[d.ETHEREUM!==void 0&&e.jsxs(fe,{clickable:!!c,onClick:c?()=>c(G.Network.ETHEREUM):void 0,"aria-label":`${y(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(Ce,{}),y(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(fe,{clickable:!!c,onClick:c?()=>c(G.Network.MATIC):void 0,"aria-label":`${y(d.MATIC)} MANA on Polygon`,children:[e.jsx(be,{}),y(d.MATIC)]})]}),N!==void 0&&e.jsxs(eo,{onClick:O,"aria-label":`${y(N)} shop credits`,children:[e.jsx(Ke,{}),y(N)]})]}),l&&e.jsx("div",{onClick:()=>{F(!1),M(null)},children:l}),e.jsx(Ie,{isLoadingProfile:u,address:b,avatar:v,userCardOpen:Q,onToggleUserCard:p,onClickSignOut:T,selectedChain:h,chains:a,onSelectChain:x,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:k})]}),!n&&e.jsx(lt,{onClick:U,disabled:s,children:s?k.signingIn:k.signIn}),e.jsx(st,{onClick:_,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(Re,{}):e.jsx(He,{})})]})]}),e.jsx(ke,{open:I,onClose:B,i18n:k})]})});io.displayName="Navbar";const xo=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:r.white,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${et} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${g.primary}`,outlineOffset:2},"& svg":{width:24,height:24}}),go=o("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:g.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),Co=o("div")({position:"relative"}),bo=o("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${X} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),mo=o("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),wo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),vo=o("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),Lo=o("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),jo=o("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),ko=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),yo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Io=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Mo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),So=o("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Ao=o("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:r.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{xo as BellButton,io as Navbar,go as NotificationBadge,So as NotificationDot,Ao as NotificationEmpty,mo as NotificationHeader,ko as NotificationItemContent,Io as NotificationItemDescription,jo as NotificationItemImage,Mo as NotificationItemTime,yo as NotificationItemTitle,vo as NotificationList,Lo as NotificationListItem,bo as NotificationPanel,wo as NotificationTitle,Co as NotificationWrapper};
|
|
2
|
+
//# sourceMappingURL=index-DbFrOrtt.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{p as dt}from"./sentry-Bv3fzY7D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5cee38ea-1aae-4489-9b7d-bbc1e0d6c990",e._sentryDebugIdIdentifier="sentry-dbid-5cee38ea-1aae-4489-9b7d-bbc1e0d6c990")}catch{}})();var U=(e=>(e.MissingApiKey="MISSING_API_KEY",e.ModalNotReady="MODAL_NOT_READY",e.MalformedResponse="MALFORMED_RESPONSE",e.InvalidArgument="INVALID_ARGUMENT",e.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",e.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",e))(U||{}),j=(e=>(e.SyncWeb3Method="SYNC_WEB3_METHOD",e.DuplicateIframe="DUPLICATE_IFRAME",e.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",e.DeprecationNotice="DEPRECATION_NOTICE",e.ProductAnnouncement="ANNOUNCEMENT",e))(j||{}),ve=(e=>(e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",e[e.MagicLinkExpired=-10001]="MagicLinkExpired",e[e.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",e[e.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",e[e.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",e[e.UpdateEmailFailed=-10004]="UpdateEmailFailed",e[e.UserRequestEditEmail=-10005]="UserRequestEditEmail",e[e.InactiveRecipient=-10010]="InactiveRecipient",e[e.AccessDeniedToUser=-10011]="AccessDeniedToUser",e[e.RedirectLoginComplete=-10015]="RedirectLoginComplete",e))(ve||{}),M=(e=>(e.MetaMask="metamask",e.CoinbaseWallet="coinbase_wallet",e))(M||{}),ae=(e=>(e.WalletSelected="wallet_selected",e.WalletConnected="wallet_connected",e.WalletRejected="wallet_rejected",e))(ae||{}),h=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e))(h||{}),k=(e=>(e.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",e.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",e.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",e.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",e.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",e.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",e.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",e))(k||{}),ce=(e=>(e.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",e))(ce||{}),ut=(e=>(e.UpdateEmail="update-email",e.MFA="mfa",e.Recovery="recovery",e))(ut||{}),ht=(e=>(e.Retry="retry",e))(ht||{}),pt=(e=>(e.EmailSent="email-sent",e.EmailNotDeliverable="email-not-deliverable",e))(pt||{}),B=(e=>(e.VerifyEmailOtp="verify-email-otp",e.Cancel="cancel",e))(B||{}),mt=(e=>(e.EmailOTPSent="email-otp-sent",e.InvalidEmailOtp="invalid-email-otp",e.ExpiredEmailOtp="expired-email-otp",e))(mt||{}),ge=(e=>(e.Retry="device-retry",e))(ge||{}),Et=(e=>(e.DeviceApproved="device-approved",e.DeviceNeedsApproval="device-needs-approval",e.DeviceVerificationLinkExpired="device-verification-link-expired",e.DeviceVerificationEmailSent="device-verification-email-sent",e))(Et||{}),C=(e=>(e.Retry="Recency/auth-factor-retry",e.Cancel="Recency/auth-factor-verification-cancel",e.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",e))(C||{}),ft=(e=>(e.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",e.PrimaryAuthFactorVerified="Recency/auth-factor-verified",e.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",e.EmailExpired="Recency/auth-factor-verification-email-expired",e.EmailSent="Recency/auth-factor-verification-email-sent",e.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",e))(ft||{}),P=(e=>(e.RetryWithNewEmail="UpdateEmail/retry-with-new-email",e.Cancel="UpdateEmail/new-email-verification-cancel",e.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",e))(P||{}),gt=(e=>(e.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",e.EmailUpdated="UpdateEmail/email-updated",e.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",e.EmailExpired="UpdateEmail/new-email-verification-email-expired",e.EmailSent="UpdateEmail/new-email-verification-email-sent",e.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",e.InvalidEmail="UpdateEmail/new-email-invalid",e.EmailAlreadyExists="UpdateEmail/new-email-already-exists",e))(gt||{}),_t=(e=>(e.Harmony="HARMONY",e))(_t||{}),vt=(e=>(e.PhoneNumber="phone_number",e))(vt||{}),Ee={},yt=Object.create,pe=Object.defineProperty,It=Object.defineProperties,wt=Object.getOwnPropertyDescriptor,Rt=Object.getOwnPropertyDescriptors,$t=Object.getOwnPropertyNames,Te=Object.getOwnPropertySymbols,Nt=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Le=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ye=(e,t)=>{for(var r in t||(t={}))He.call(t,r)&&Le(e,r,t[r]);if(Te)for(var r of Te(t))At.call(t,r)&&Le(e,r,t[r]);return e},Ie=(e,t)=>It(e,Rt(t)),Ot=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Tt=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $t(t))!He.call(e,n)&&n!==r&&pe(e,n,{get:()=>t[n],enumerable:!(i=wt(t,n))||i.enumerable});return e},Lt=(e,t,r)=>(r=e!=null?yt(Nt(e)):{},Tt(!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),v=(e,t,r)=>new Promise((i,n)=>{var s=d=>{try{o(r.next(d))}catch(l){n(l)}},a=d=>{try{o(r.throw(d))}catch(l){n(l)}},o=d=>d.done?i(d.value):Promise.resolve(d.value).then(s,a);o((r=r.apply(e,t)).next())}),St=Ot((e,t)=>{var r=Object.prototype.hasOwnProperty,i="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(i=!1));function s(l,c,u){this.fn=l,this.context=c,this.once=u||!1}function a(l,c,u,f,_){if(typeof u!="function")throw new TypeError("The listener must be a function");var y=new s(u,f||l,_),$=i?i+c:c;return l._events[$]?l._events[$].fn?l._events[$]=[l._events[$],y]:l._events[$].push(y):(l._events[$]=y,l._eventsCount++),l}function o(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function d(){this._events=new n,this._eventsCount=0}d.prototype.eventNames=function(){var l=[],c,u;if(this._eventsCount===0)return l;for(u in c=this._events)r.call(c,u)&&l.push(i?u.slice(1):u);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(c)):l},d.prototype.listeners=function(l){var c=i?i+l:l,u=this._events[c];if(!u)return[];if(u.fn)return[u.fn];for(var f=0,_=u.length,y=new Array(_);f<_;f++)y[f]=u[f].fn;return y},d.prototype.listenerCount=function(l){var c=i?i+l:l,u=this._events[c];return u?u.fn?1:u.length:0},d.prototype.emit=function(l,c,u,f,_,y){var $=i?i+l:l;if(!this._events[$])return!1;var p=this._events[$],L=arguments.length,b,I;if(p.fn){switch(p.once&&this.removeListener(l,p.fn,void 0,!0),L){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,c),!0;case 3:return p.fn.call(p.context,c,u),!0;case 4:return p.fn.call(p.context,c,u,f),!0;case 5:return p.fn.call(p.context,c,u,f,_),!0;case 6:return p.fn.call(p.context,c,u,f,_,y),!0}for(I=1,b=new Array(L-1);I<L;I++)b[I-1]=arguments[I];p.fn.apply(p.context,b)}else{var ct=p.length,V;for(I=0;I<ct;I++)switch(p[I].once&&this.removeListener(l,p[I].fn,void 0,!0),L){case 1:p[I].fn.call(p[I].context);break;case 2:p[I].fn.call(p[I].context,c);break;case 3:p[I].fn.call(p[I].context,c,u);break;case 4:p[I].fn.call(p[I].context,c,u,f);break;default:if(!b)for(V=1,b=new Array(L-1);V<L;V++)b[V-1]=arguments[V];p[I].fn.apply(p[I].context,b)}}return!0},d.prototype.on=function(l,c,u){return a(this,l,c,u,!1)},d.prototype.once=function(l,c,u){return a(this,l,c,u,!0)},d.prototype.removeListener=function(l,c,u,f){var _=i?i+l:l;if(!this._events[_])return this;if(!c)return o(this,_),this;var y=this._events[_];if(y.fn)y.fn===c&&(!f||y.once)&&(!u||y.context===u)&&o(this,_);else{for(var $=0,p=[],L=y.length;$<L;$++)(y[$].fn!==c||f&&!y[$].once||u&&y[$].context!==u)&&p.push(y[$]);p.length?this._events[_]=p.length===1?p[0]:p:o(this,_)}return this},d.prototype.removeAllListeners=function(l){var c;return l?(c=i?i+l:l,this._events[c]&&o(this,c)):(this._events=new n,this._eventsCount=0),this},d.prototype.off=d.prototype.removeListener,d.prototype.addListener=d.prototype.on,d.prefixed=i,d.EventEmitter=d,typeof t<"u"&&(t.exports=d)});function bt(e){let t={exports:{}};return e(t,t.exports),t.exports}var Ct=Number.MAX_SAFE_INTEGER||9007199254740991,we={MAX_LENGTH:256,MAX_SAFE_INTEGER:Ct,MAX_SAFE_COMPONENT_LENGTH:16},Pt=typeof dt=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},E=Pt,ee=bt(function(e,t){let{MAX_SAFE_COMPONENT_LENGTH:r}=we,i=(t=e.exports={}).re=[],n=t.src=[],s=t.t={},a=0,o=(d,l,c)=>{let u=a++;E(u,l),s[d]=u,n[u]=l,i[u]=new RegExp(l,c?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION",`(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${n[s.NUMERICIDENTIFIER]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${n[s.NUMERICIDENTIFIERLOOSE]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASE",`(?:-(${n[s.PRERELEASEIDENTIFIER]}(?:\\.${n[s.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${n[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[s.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD",`(?:\\+(${n[s.BUILDIDENTIFIER]}(?:\\.${n[s.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${n[s.MAINVERSION]}${n[s.PRERELEASE]}?${n[s.BUILD]}?`),o("FULL",`^${n[s.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${n[s.MAINVERSIONLOOSE]}${n[s.PRERELEASELOOSE]}?${n[s.BUILD]}?`),o("LOOSE",`^${n[s.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${n[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${n[s.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:${n[s.PRERELEASE]})?${n[s.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:${n[s.PRERELEASELOOSE]})?${n[s.BUILD]}?)?)?`),o("XRANGE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAINLOOSE]}$`),o("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),o("COERCERTL",n[s.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${n[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",o("TILDE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${n[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",o("CARET",`^${n[s.LONECARET]}${n[s.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${n[s.LONECARET]}${n[s.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${n[s.GTLT]}\\s*(${n[s.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]}|${n[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${n[s.XRANGEPLAIN]})\\s+-\\s+(${n[s.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${n[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[s.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Se=/^[0-9]+$/,kt=(e,t)=>{let r=Se.test(e),i=Se.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},Ut={compareIdentifiers:kt},{MAX_LENGTH:be,MAX_SAFE_INTEGER:re}=we,{re:Ce,t:Pe}=ee,{compareIdentifiers:H}=Ut,w=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>be)throw new TypeError(`version is longer than ${be} characters`);E("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?Ce[Pe.LOOSE]:Ce[Pe.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>re||this.major<0)throw new TypeError("Invalid major version");if(this.minor>re||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>re||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<re)return n}return i}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(E("SemVer.compare",this.version,this.options,e),!(e instanceof w)){if(typeof e=="string"&&e===this.version)return 0;e=new w(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof w||(e=new w(e,this.options)),H(this.major,e.major)||H(this.minor,e.minor)||H(this.patch,e.patch)}comparePre(e){if(e instanceof w||(e=new w(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],i=e.prerelease[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}compareBuild(e){e instanceof w||(e=new w(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}},Dt=(e,t,r)=>new w(e,r).compare(new w(t,r)),q=Dt,Gt=(e,t,r)=>q(e,t,r)===0,xt=Gt,Ft=(e,t,r)=>q(e,t,r)!==0,Wt=Ft,jt=(e,t,r)=>q(e,t,r)>0,qt=jt,Vt=(e,t,r)=>q(e,t,r)>=0,Ht=Vt,Xt=(e,t,r)=>q(e,t,r)<0,Bt=Xt,Kt=(e,t,r)=>q(e,t,r)<=0,Yt=Kt,zt=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return xt(e,r,i);case"!=":return Wt(e,r,i);case">":return qt(e,r,i);case">=":return Ht(e,r,i);case"<":return Bt(e,r,i);case"<=":return Yt(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}},fe=zt,X=Symbol("SemVer ANY"),Q=class{static get ANY(){return X}constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof Q){if(e.loose===!!t.loose)return e;e=e.value}E("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===X?this.value="":this.value=this.operator+this.semver.version,E("comp",this)}parse(e){let t=this.options.loose?ke[Ue.COMPARATORLOOSE]:ke[Ue.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new w(r[2],this.options.loose):this.semver=X}toString(){return this.value}test(e){if(E("Comparator.test",e,this.options.loose),this.semver===X||e===X)return!0;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}return fe(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Q))throw new TypeError("a Comparator is required");if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""||new F(e.value,t).test(this.value);if(e.operator==="")return e.value===""||new F(this.value,t).test(e.semver);let r=!(this.operator!==">="&&this.operator!==">"||e.operator!==">="&&e.operator!==">"),i=!(this.operator!=="<="&&this.operator!=="<"||e.operator!=="<="&&e.operator!=="<"),n=this.semver.version===e.semver.version,s=!(this.operator!==">="&&this.operator!=="<="||e.operator!==">="&&e.operator!=="<="),a=fe(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),o=fe(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return r||i||n&&s||a||o}},{re:ke,t:Ue}=ee,F=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof F)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new F(e.raw,t);if(e instanceof Q)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let{loose:t}=this.options;e=e.trim();let r=t?N[R.HYPHENRANGELOOSE]:N[R.HYPHENRANGE];e=e.replace(r,cr(this.options.includePrerelease)),E("hyphen replace",e),e=e.replace(N[R.COMPARATORTRIM],Jt),E("comparator trim",e,N[R.COMPARATORTRIM]),e=(e=(e=e.replace(N[R.TILDETRIM],Qt)).replace(N[R.CARETTRIM],Zt)).split(/\s+/).join(" ");let i=t?N[R.COMPARATORLOOSE]:N[R.COMPARATOR];return e.split(" ").map(n=>er(n,this.options)).join(" ").split(/\s+/).map(n=>lr(n,this.options)).filter(this.options.loose?n=>!!n.match(i):()=>!0).map(n=>new Q(n,this.options))}intersects(e,t){if(!(e instanceof F))throw new TypeError("a Range is required");return this.set.some(r=>De(r,t)&&e.set.some(i=>De(i,t)&&r.every(n=>i.every(s=>n.intersects(s,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(dr(this.set[t],e,this.options))return!0;return!1}},{re:N,t:R,comparatorTrimReplace:Jt,tildeTrimReplace:Qt,caretTrimReplace:Zt}=ee,De=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},er=(e,t)=>(E("comp",e,t),e=ir(e,t),E("caret",e),e=tr(e,t),E("tildes",e),e=sr(e,t),E("xrange",e),e=ar(e,t),E("stars",e),e),A=e=>!e||e.toLowerCase()==="x"||e==="*",tr=(e,t)=>e.trim().split(/\s+/).map(r=>rr(r,t)).join(" "),rr=(e,t)=>{let r=t.loose?N[R.TILDELOOSE]:N[R.TILDE];return e.replace(r,(i,n,s,a,o)=>{let d;return E("tilde",e,i,n,s,a,o),A(n)?d="":A(s)?d=`>=${n}.0.0 <${+n+1}.0.0-0`:A(a)?d=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:o?(E("replaceTilde pr",o),d=`>=${n}.${s}.${a}-${o} <${n}.${+s+1}.0-0`):d=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,E("tilde return",d),d})},ir=(e,t)=>e.trim().split(/\s+/).map(r=>nr(r,t)).join(" "),nr=(e,t)=>{E("caret",e,t);let r=t.loose?N[R.CARETLOOSE]:N[R.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,o,d)=>{let l;return E("caret",e,n,s,a,o,d),A(s)?l="":A(a)?l=`>=${s}.0.0${i} <${+s+1}.0.0-0`:A(o)?l=s==="0"?`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:d?(E("replaceCaret pr",d),l=s==="0"?a==="0"?`>=${s}.${a}.${o}-${d} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}-${d} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o}-${d} <${+s+1}.0.0-0`):(E("no pr"),l=s==="0"?a==="0"?`>=${s}.${a}.${o}${i} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o} <${+s+1}.0.0-0`),E("caret return",l),l})},sr=(e,t)=>(E("replaceXRanges",e,t),e.split(/\s+/).map(r=>or(r,t)).join(" ")),or=(e,t)=>{e=e.trim();let r=t.loose?N[R.XRANGELOOSE]:N[R.XRANGE];return e.replace(r,(i,n,s,a,o,d)=>{E("xRange",e,i,n,s,a,o,d);let l=A(s),c=l||A(a),u=c||A(o),f=u;return n==="="&&f&&(n=""),d=t.includePrerelease?"-0":"",l?i=n===">"||n==="<"?"<0.0.0-0":"*":n&&f?(c&&(a=0),o=0,n===">"?(n=">=",c?(s=+s+1,a=0,o=0):(a=+a+1,o=0)):n==="<="&&(n="<",c?s=+s+1:a=+a+1),n==="<"&&(d="-0"),i=`${n+s}.${a}.${o}${d}`):c?i=`>=${s}.0.0${d} <${+s+1}.0.0-0`:u&&(i=`>=${s}.${a}.0${d} <${s}.${+a+1}.0-0`),E("xRange return",i),i})},ar=(e,t)=>(E("replaceStars",e,t),e.trim().replace(N[R.STAR],"")),lr=(e,t)=>(E("replaceGTE0",e,t),e.trim().replace(N[t.includePrerelease?R.GTE0PRE:R.GTE0],"")),cr=e=>(t,r,i,n,s,a,o,d,l,c,u,f,_)=>`${r=A(i)?"":A(n)?`>=${i}.0.0${e?"-0":""}`:A(s)?`>=${i}.${n}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${d=A(l)?"":A(c)?`<${+l+1}.0.0-0`:A(u)?`<${l}.${+c+1}.0-0`:f?`<=${l}.${c}.${u}-${f}`:e?`<${l}.${c}.${+u+1}-0`:`<=${d}`}`.trim(),dr=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(E(e[i].semver),e[i].semver!==Q.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0},ur=(e,t,r)=>{try{t=new F(t,r)}catch{return!1}return t.test(e)},{MAX_LENGTH:hr}=we,{re:Ge,t:xe}=ee,pr=(e,t)=>{if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w)return e;if(typeof e!="string"||e.length>hr||!(t.loose?Ge[xe.LOOSE]:Ge[xe.FULL]).test(e))return null;try{return new w(e,t)}catch{return null}},mr=pr,{re:ie,t:ne}=ee,Er=(e,t)=>{if(e instanceof w)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;let r=null;if((t=t||{}).rtl){let i;for(;(i=ie[ne.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),ie[ne.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;ie[ne.COERCERTL].lastIndex=-1}else r=e.match(ie[ne.COERCE]);return r===null?null:mr(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};function fr(e){return String.fromCharCode(parseInt(e.slice(1),16))}function gr(e){return`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`}function _r(e){return btoa(encodeURIComponent(e).replace(/%[0-9A-F]{2}/g,fr))}function vr(e){return decodeURIComponent(Array.from(atob(e),gr).join(""))}function Xe(e){return _r(JSON.stringify(e))}function yr(e){return JSON.parse(vr(e))}function K(e){return typeof e>"u"}function Ir(e){return e===null}function Be(e){return Ir(e)||K(e)}function wr(e){return Be(e)?!1:!K(e.jsonrpc)&&!K(e.id)&&(!K(e.result)||!K(e.error))}function Rr(e){return Be(e)?!1:typeof e=="number"&&Object.values(ve).includes(e)}function de(e){if(!e)return!0;for(let t in e)if(Object.hasOwnProperty.call(e,t))return!1;return!0}var g={};function vi(e,t){return Object.assign(g,t),e}var $r={"magic-sdk":"magic-sdk","@magic-sdk/react-native":"magic-sdk-rn","@magic-sdk/react-native-bare":"magic-sdk-rn-bare","@magic-sdk/react-native-expo":"magic-sdk-rn-expo"},D=class extends Error{constructor(e,t){super(`Magic SDK Error: [${e}] ${t}`),this.code=e,this.rawMessage=t,this.__proto__=Error,Object.setPrototypeOf(this,D.prototype)}},ue=class extends Error{constructor(e){super(),this.__proto__=Error;let t=Number(e==null?void 0:e.code);this.rawMessage=(e==null?void 0:e.message)||"Internal error",this.code=Rr(t)?t:ve.InternalError,this.message=`Magic RPC Error: [${this.code}] ${this.rawMessage}`,this.data=(e==null?void 0:e.data)||void 0,Object.setPrototypeOf(this,ue.prototype)}},te=class{constructor(e,t){this.code=e,this.rawMessage=t,this.message=`Magic SDK Warning: [${e}] ${t}`}log(){console.warn(this.message)}},Ke=class extends Error{constructor(e,t,r,i){super(`Magic Extension Error (${e.name}): [${t}] ${r}`),this.code=t,this.rawMessage=r,this.data=i,this.__proto__=Error,Object.setPrototypeOf(this,Ke.prototype)}},Fe=class{constructor(e,t,r){this.code=t,this.rawMessage=r,this.message=`Magic Extension Warning (${e.name}): [${t}] ${r}`}log(){console.warn(this.message)}};function Nr(){return new D(U.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function Ar(){return new D(U.ModalNotReady,"Modal is not ready.")}function Or(){return new D(U.MalformedResponse,"Response from the Magic iframe is malformed.")}function Mr(e){return new D(U.ExtensionNotInitialized,`Extensions must be initialized with a Magic SDK instance before \`Extension.${e}\` can be accessed. Do not invoke \`Extension.${e}\` inside an extension constructor.`)}function Tr(e){let t=`Some extensions are incompatible with \`${g.sdkName}@${g.version}\`:`;return e.filter(r=>typeof r.compat<"u"&&r.compat!==null).forEach(r=>{let i=r.compat[g.sdkName];typeof i=="string"?t+=`
|
|
1
|
+
import{p as dt}from"./sentry-Bsae7YMx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5cee38ea-1aae-4489-9b7d-bbc1e0d6c990",e._sentryDebugIdIdentifier="sentry-dbid-5cee38ea-1aae-4489-9b7d-bbc1e0d6c990")}catch{}})();var U=(e=>(e.MissingApiKey="MISSING_API_KEY",e.ModalNotReady="MODAL_NOT_READY",e.MalformedResponse="MALFORMED_RESPONSE",e.InvalidArgument="INVALID_ARGUMENT",e.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",e.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",e))(U||{}),j=(e=>(e.SyncWeb3Method="SYNC_WEB3_METHOD",e.DuplicateIframe="DUPLICATE_IFRAME",e.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",e.DeprecationNotice="DEPRECATION_NOTICE",e.ProductAnnouncement="ANNOUNCEMENT",e))(j||{}),ve=(e=>(e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",e[e.MagicLinkExpired=-10001]="MagicLinkExpired",e[e.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",e[e.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",e[e.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",e[e.UpdateEmailFailed=-10004]="UpdateEmailFailed",e[e.UserRequestEditEmail=-10005]="UserRequestEditEmail",e[e.InactiveRecipient=-10010]="InactiveRecipient",e[e.AccessDeniedToUser=-10011]="AccessDeniedToUser",e[e.RedirectLoginComplete=-10015]="RedirectLoginComplete",e))(ve||{}),M=(e=>(e.MetaMask="metamask",e.CoinbaseWallet="coinbase_wallet",e))(M||{}),ae=(e=>(e.WalletSelected="wallet_selected",e.WalletConnected="wallet_connected",e.WalletRejected="wallet_rejected",e))(ae||{}),h=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e))(h||{}),k=(e=>(e.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",e.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",e.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",e.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",e.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",e.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",e.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",e))(k||{}),ce=(e=>(e.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",e))(ce||{}),ut=(e=>(e.UpdateEmail="update-email",e.MFA="mfa",e.Recovery="recovery",e))(ut||{}),ht=(e=>(e.Retry="retry",e))(ht||{}),pt=(e=>(e.EmailSent="email-sent",e.EmailNotDeliverable="email-not-deliverable",e))(pt||{}),B=(e=>(e.VerifyEmailOtp="verify-email-otp",e.Cancel="cancel",e))(B||{}),mt=(e=>(e.EmailOTPSent="email-otp-sent",e.InvalidEmailOtp="invalid-email-otp",e.ExpiredEmailOtp="expired-email-otp",e))(mt||{}),ge=(e=>(e.Retry="device-retry",e))(ge||{}),Et=(e=>(e.DeviceApproved="device-approved",e.DeviceNeedsApproval="device-needs-approval",e.DeviceVerificationLinkExpired="device-verification-link-expired",e.DeviceVerificationEmailSent="device-verification-email-sent",e))(Et||{}),C=(e=>(e.Retry="Recency/auth-factor-retry",e.Cancel="Recency/auth-factor-verification-cancel",e.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",e))(C||{}),ft=(e=>(e.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",e.PrimaryAuthFactorVerified="Recency/auth-factor-verified",e.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",e.EmailExpired="Recency/auth-factor-verification-email-expired",e.EmailSent="Recency/auth-factor-verification-email-sent",e.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",e))(ft||{}),P=(e=>(e.RetryWithNewEmail="UpdateEmail/retry-with-new-email",e.Cancel="UpdateEmail/new-email-verification-cancel",e.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",e))(P||{}),gt=(e=>(e.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",e.EmailUpdated="UpdateEmail/email-updated",e.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",e.EmailExpired="UpdateEmail/new-email-verification-email-expired",e.EmailSent="UpdateEmail/new-email-verification-email-sent",e.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",e.InvalidEmail="UpdateEmail/new-email-invalid",e.EmailAlreadyExists="UpdateEmail/new-email-already-exists",e))(gt||{}),_t=(e=>(e.Harmony="HARMONY",e))(_t||{}),vt=(e=>(e.PhoneNumber="phone_number",e))(vt||{}),Ee={},yt=Object.create,pe=Object.defineProperty,It=Object.defineProperties,wt=Object.getOwnPropertyDescriptor,Rt=Object.getOwnPropertyDescriptors,$t=Object.getOwnPropertyNames,Te=Object.getOwnPropertySymbols,Nt=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Le=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ye=(e,t)=>{for(var r in t||(t={}))He.call(t,r)&&Le(e,r,t[r]);if(Te)for(var r of Te(t))At.call(t,r)&&Le(e,r,t[r]);return e},Ie=(e,t)=>It(e,Rt(t)),Ot=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Tt=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $t(t))!He.call(e,n)&&n!==r&&pe(e,n,{get:()=>t[n],enumerable:!(i=wt(t,n))||i.enumerable});return e},Lt=(e,t,r)=>(r=e!=null?yt(Nt(e)):{},Tt(!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),v=(e,t,r)=>new Promise((i,n)=>{var s=d=>{try{o(r.next(d))}catch(l){n(l)}},a=d=>{try{o(r.throw(d))}catch(l){n(l)}},o=d=>d.done?i(d.value):Promise.resolve(d.value).then(s,a);o((r=r.apply(e,t)).next())}),St=Ot((e,t)=>{var r=Object.prototype.hasOwnProperty,i="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(i=!1));function s(l,c,u){this.fn=l,this.context=c,this.once=u||!1}function a(l,c,u,f,_){if(typeof u!="function")throw new TypeError("The listener must be a function");var y=new s(u,f||l,_),$=i?i+c:c;return l._events[$]?l._events[$].fn?l._events[$]=[l._events[$],y]:l._events[$].push(y):(l._events[$]=y,l._eventsCount++),l}function o(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function d(){this._events=new n,this._eventsCount=0}d.prototype.eventNames=function(){var l=[],c,u;if(this._eventsCount===0)return l;for(u in c=this._events)r.call(c,u)&&l.push(i?u.slice(1):u);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(c)):l},d.prototype.listeners=function(l){var c=i?i+l:l,u=this._events[c];if(!u)return[];if(u.fn)return[u.fn];for(var f=0,_=u.length,y=new Array(_);f<_;f++)y[f]=u[f].fn;return y},d.prototype.listenerCount=function(l){var c=i?i+l:l,u=this._events[c];return u?u.fn?1:u.length:0},d.prototype.emit=function(l,c,u,f,_,y){var $=i?i+l:l;if(!this._events[$])return!1;var p=this._events[$],L=arguments.length,b,I;if(p.fn){switch(p.once&&this.removeListener(l,p.fn,void 0,!0),L){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,c),!0;case 3:return p.fn.call(p.context,c,u),!0;case 4:return p.fn.call(p.context,c,u,f),!0;case 5:return p.fn.call(p.context,c,u,f,_),!0;case 6:return p.fn.call(p.context,c,u,f,_,y),!0}for(I=1,b=new Array(L-1);I<L;I++)b[I-1]=arguments[I];p.fn.apply(p.context,b)}else{var ct=p.length,V;for(I=0;I<ct;I++)switch(p[I].once&&this.removeListener(l,p[I].fn,void 0,!0),L){case 1:p[I].fn.call(p[I].context);break;case 2:p[I].fn.call(p[I].context,c);break;case 3:p[I].fn.call(p[I].context,c,u);break;case 4:p[I].fn.call(p[I].context,c,u,f);break;default:if(!b)for(V=1,b=new Array(L-1);V<L;V++)b[V-1]=arguments[V];p[I].fn.apply(p[I].context,b)}}return!0},d.prototype.on=function(l,c,u){return a(this,l,c,u,!1)},d.prototype.once=function(l,c,u){return a(this,l,c,u,!0)},d.prototype.removeListener=function(l,c,u,f){var _=i?i+l:l;if(!this._events[_])return this;if(!c)return o(this,_),this;var y=this._events[_];if(y.fn)y.fn===c&&(!f||y.once)&&(!u||y.context===u)&&o(this,_);else{for(var $=0,p=[],L=y.length;$<L;$++)(y[$].fn!==c||f&&!y[$].once||u&&y[$].context!==u)&&p.push(y[$]);p.length?this._events[_]=p.length===1?p[0]:p:o(this,_)}return this},d.prototype.removeAllListeners=function(l){var c;return l?(c=i?i+l:l,this._events[c]&&o(this,c)):(this._events=new n,this._eventsCount=0),this},d.prototype.off=d.prototype.removeListener,d.prototype.addListener=d.prototype.on,d.prefixed=i,d.EventEmitter=d,typeof t<"u"&&(t.exports=d)});function bt(e){let t={exports:{}};return e(t,t.exports),t.exports}var Ct=Number.MAX_SAFE_INTEGER||9007199254740991,we={MAX_LENGTH:256,MAX_SAFE_INTEGER:Ct,MAX_SAFE_COMPONENT_LENGTH:16},Pt=typeof dt=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},E=Pt,ee=bt(function(e,t){let{MAX_SAFE_COMPONENT_LENGTH:r}=we,i=(t=e.exports={}).re=[],n=t.src=[],s=t.t={},a=0,o=(d,l,c)=>{let u=a++;E(u,l),s[d]=u,n[u]=l,i[u]=new RegExp(l,c?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION",`(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${n[s.NUMERICIDENTIFIER]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${n[s.NUMERICIDENTIFIERLOOSE]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASE",`(?:-(${n[s.PRERELEASEIDENTIFIER]}(?:\\.${n[s.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${n[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[s.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD",`(?:\\+(${n[s.BUILDIDENTIFIER]}(?:\\.${n[s.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${n[s.MAINVERSION]}${n[s.PRERELEASE]}?${n[s.BUILD]}?`),o("FULL",`^${n[s.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${n[s.MAINVERSIONLOOSE]}${n[s.PRERELEASELOOSE]}?${n[s.BUILD]}?`),o("LOOSE",`^${n[s.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${n[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${n[s.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:${n[s.PRERELEASE]})?${n[s.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:${n[s.PRERELEASELOOSE]})?${n[s.BUILD]}?)?)?`),o("XRANGE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAINLOOSE]}$`),o("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),o("COERCERTL",n[s.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${n[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",o("TILDE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${n[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",o("CARET",`^${n[s.LONECARET]}${n[s.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${n[s.LONECARET]}${n[s.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${n[s.GTLT]}\\s*(${n[s.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]}|${n[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${n[s.XRANGEPLAIN]})\\s+-\\s+(${n[s.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${n[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[s.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Se=/^[0-9]+$/,kt=(e,t)=>{let r=Se.test(e),i=Se.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},Ut={compareIdentifiers:kt},{MAX_LENGTH:be,MAX_SAFE_INTEGER:re}=we,{re:Ce,t:Pe}=ee,{compareIdentifiers:H}=Ut,w=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>be)throw new TypeError(`version is longer than ${be} characters`);E("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?Ce[Pe.LOOSE]:Ce[Pe.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>re||this.major<0)throw new TypeError("Invalid major version");if(this.minor>re||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>re||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<re)return n}return i}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(E("SemVer.compare",this.version,this.options,e),!(e instanceof w)){if(typeof e=="string"&&e===this.version)return 0;e=new w(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof w||(e=new w(e,this.options)),H(this.major,e.major)||H(this.minor,e.minor)||H(this.patch,e.patch)}comparePre(e){if(e instanceof w||(e=new w(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],i=e.prerelease[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}compareBuild(e){e instanceof w||(e=new w(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}},Dt=(e,t,r)=>new w(e,r).compare(new w(t,r)),q=Dt,Gt=(e,t,r)=>q(e,t,r)===0,xt=Gt,Ft=(e,t,r)=>q(e,t,r)!==0,Wt=Ft,jt=(e,t,r)=>q(e,t,r)>0,qt=jt,Vt=(e,t,r)=>q(e,t,r)>=0,Ht=Vt,Xt=(e,t,r)=>q(e,t,r)<0,Bt=Xt,Kt=(e,t,r)=>q(e,t,r)<=0,Yt=Kt,zt=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return xt(e,r,i);case"!=":return Wt(e,r,i);case">":return qt(e,r,i);case">=":return Ht(e,r,i);case"<":return Bt(e,r,i);case"<=":return Yt(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}},fe=zt,X=Symbol("SemVer ANY"),Q=class{static get ANY(){return X}constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof Q){if(e.loose===!!t.loose)return e;e=e.value}E("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===X?this.value="":this.value=this.operator+this.semver.version,E("comp",this)}parse(e){let t=this.options.loose?ke[Ue.COMPARATORLOOSE]:ke[Ue.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new w(r[2],this.options.loose):this.semver=X}toString(){return this.value}test(e){if(E("Comparator.test",e,this.options.loose),this.semver===X||e===X)return!0;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}return fe(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Q))throw new TypeError("a Comparator is required");if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""||new F(e.value,t).test(this.value);if(e.operator==="")return e.value===""||new F(this.value,t).test(e.semver);let r=!(this.operator!==">="&&this.operator!==">"||e.operator!==">="&&e.operator!==">"),i=!(this.operator!=="<="&&this.operator!=="<"||e.operator!=="<="&&e.operator!=="<"),n=this.semver.version===e.semver.version,s=!(this.operator!==">="&&this.operator!=="<="||e.operator!==">="&&e.operator!=="<="),a=fe(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),o=fe(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return r||i||n&&s||a||o}},{re:ke,t:Ue}=ee,F=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof F)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new F(e.raw,t);if(e instanceof Q)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let{loose:t}=this.options;e=e.trim();let r=t?N[R.HYPHENRANGELOOSE]:N[R.HYPHENRANGE];e=e.replace(r,cr(this.options.includePrerelease)),E("hyphen replace",e),e=e.replace(N[R.COMPARATORTRIM],Jt),E("comparator trim",e,N[R.COMPARATORTRIM]),e=(e=(e=e.replace(N[R.TILDETRIM],Qt)).replace(N[R.CARETTRIM],Zt)).split(/\s+/).join(" ");let i=t?N[R.COMPARATORLOOSE]:N[R.COMPARATOR];return e.split(" ").map(n=>er(n,this.options)).join(" ").split(/\s+/).map(n=>lr(n,this.options)).filter(this.options.loose?n=>!!n.match(i):()=>!0).map(n=>new Q(n,this.options))}intersects(e,t){if(!(e instanceof F))throw new TypeError("a Range is required");return this.set.some(r=>De(r,t)&&e.set.some(i=>De(i,t)&&r.every(n=>i.every(s=>n.intersects(s,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(dr(this.set[t],e,this.options))return!0;return!1}},{re:N,t:R,comparatorTrimReplace:Jt,tildeTrimReplace:Qt,caretTrimReplace:Zt}=ee,De=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},er=(e,t)=>(E("comp",e,t),e=ir(e,t),E("caret",e),e=tr(e,t),E("tildes",e),e=sr(e,t),E("xrange",e),e=ar(e,t),E("stars",e),e),A=e=>!e||e.toLowerCase()==="x"||e==="*",tr=(e,t)=>e.trim().split(/\s+/).map(r=>rr(r,t)).join(" "),rr=(e,t)=>{let r=t.loose?N[R.TILDELOOSE]:N[R.TILDE];return e.replace(r,(i,n,s,a,o)=>{let d;return E("tilde",e,i,n,s,a,o),A(n)?d="":A(s)?d=`>=${n}.0.0 <${+n+1}.0.0-0`:A(a)?d=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:o?(E("replaceTilde pr",o),d=`>=${n}.${s}.${a}-${o} <${n}.${+s+1}.0-0`):d=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,E("tilde return",d),d})},ir=(e,t)=>e.trim().split(/\s+/).map(r=>nr(r,t)).join(" "),nr=(e,t)=>{E("caret",e,t);let r=t.loose?N[R.CARETLOOSE]:N[R.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,o,d)=>{let l;return E("caret",e,n,s,a,o,d),A(s)?l="":A(a)?l=`>=${s}.0.0${i} <${+s+1}.0.0-0`:A(o)?l=s==="0"?`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:d?(E("replaceCaret pr",d),l=s==="0"?a==="0"?`>=${s}.${a}.${o}-${d} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}-${d} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o}-${d} <${+s+1}.0.0-0`):(E("no pr"),l=s==="0"?a==="0"?`>=${s}.${a}.${o}${i} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o} <${+s+1}.0.0-0`),E("caret return",l),l})},sr=(e,t)=>(E("replaceXRanges",e,t),e.split(/\s+/).map(r=>or(r,t)).join(" ")),or=(e,t)=>{e=e.trim();let r=t.loose?N[R.XRANGELOOSE]:N[R.XRANGE];return e.replace(r,(i,n,s,a,o,d)=>{E("xRange",e,i,n,s,a,o,d);let l=A(s),c=l||A(a),u=c||A(o),f=u;return n==="="&&f&&(n=""),d=t.includePrerelease?"-0":"",l?i=n===">"||n==="<"?"<0.0.0-0":"*":n&&f?(c&&(a=0),o=0,n===">"?(n=">=",c?(s=+s+1,a=0,o=0):(a=+a+1,o=0)):n==="<="&&(n="<",c?s=+s+1:a=+a+1),n==="<"&&(d="-0"),i=`${n+s}.${a}.${o}${d}`):c?i=`>=${s}.0.0${d} <${+s+1}.0.0-0`:u&&(i=`>=${s}.${a}.0${d} <${s}.${+a+1}.0-0`),E("xRange return",i),i})},ar=(e,t)=>(E("replaceStars",e,t),e.trim().replace(N[R.STAR],"")),lr=(e,t)=>(E("replaceGTE0",e,t),e.trim().replace(N[t.includePrerelease?R.GTE0PRE:R.GTE0],"")),cr=e=>(t,r,i,n,s,a,o,d,l,c,u,f,_)=>`${r=A(i)?"":A(n)?`>=${i}.0.0${e?"-0":""}`:A(s)?`>=${i}.${n}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${d=A(l)?"":A(c)?`<${+l+1}.0.0-0`:A(u)?`<${l}.${+c+1}.0-0`:f?`<=${l}.${c}.${u}-${f}`:e?`<${l}.${c}.${+u+1}-0`:`<=${d}`}`.trim(),dr=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(E(e[i].semver),e[i].semver!==Q.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0},ur=(e,t,r)=>{try{t=new F(t,r)}catch{return!1}return t.test(e)},{MAX_LENGTH:hr}=we,{re:Ge,t:xe}=ee,pr=(e,t)=>{if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w)return e;if(typeof e!="string"||e.length>hr||!(t.loose?Ge[xe.LOOSE]:Ge[xe.FULL]).test(e))return null;try{return new w(e,t)}catch{return null}},mr=pr,{re:ie,t:ne}=ee,Er=(e,t)=>{if(e instanceof w)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;let r=null;if((t=t||{}).rtl){let i;for(;(i=ie[ne.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),ie[ne.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;ie[ne.COERCERTL].lastIndex=-1}else r=e.match(ie[ne.COERCE]);return r===null?null:mr(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};function fr(e){return String.fromCharCode(parseInt(e.slice(1),16))}function gr(e){return`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`}function _r(e){return btoa(encodeURIComponent(e).replace(/%[0-9A-F]{2}/g,fr))}function vr(e){return decodeURIComponent(Array.from(atob(e),gr).join(""))}function Xe(e){return _r(JSON.stringify(e))}function yr(e){return JSON.parse(vr(e))}function K(e){return typeof e>"u"}function Ir(e){return e===null}function Be(e){return Ir(e)||K(e)}function wr(e){return Be(e)?!1:!K(e.jsonrpc)&&!K(e.id)&&(!K(e.result)||!K(e.error))}function Rr(e){return Be(e)?!1:typeof e=="number"&&Object.values(ve).includes(e)}function de(e){if(!e)return!0;for(let t in e)if(Object.hasOwnProperty.call(e,t))return!1;return!0}var g={};function vi(e,t){return Object.assign(g,t),e}var $r={"magic-sdk":"magic-sdk","@magic-sdk/react-native":"magic-sdk-rn","@magic-sdk/react-native-bare":"magic-sdk-rn-bare","@magic-sdk/react-native-expo":"magic-sdk-rn-expo"},D=class extends Error{constructor(e,t){super(`Magic SDK Error: [${e}] ${t}`),this.code=e,this.rawMessage=t,this.__proto__=Error,Object.setPrototypeOf(this,D.prototype)}},ue=class extends Error{constructor(e){super(),this.__proto__=Error;let t=Number(e==null?void 0:e.code);this.rawMessage=(e==null?void 0:e.message)||"Internal error",this.code=Rr(t)?t:ve.InternalError,this.message=`Magic RPC Error: [${this.code}] ${this.rawMessage}`,this.data=(e==null?void 0:e.data)||void 0,Object.setPrototypeOf(this,ue.prototype)}},te=class{constructor(e,t){this.code=e,this.rawMessage=t,this.message=`Magic SDK Warning: [${e}] ${t}`}log(){console.warn(this.message)}},Ke=class extends Error{constructor(e,t,r,i){super(`Magic Extension Error (${e.name}): [${t}] ${r}`),this.code=t,this.rawMessage=r,this.data=i,this.__proto__=Error,Object.setPrototypeOf(this,Ke.prototype)}},Fe=class{constructor(e,t,r){this.code=t,this.rawMessage=r,this.message=`Magic Extension Warning (${e.name}): [${t}] ${r}`}log(){console.warn(this.message)}};function Nr(){return new D(U.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function Ar(){return new D(U.ModalNotReady,"Modal is not ready.")}function Or(){return new D(U.MalformedResponse,"Response from the Magic iframe is malformed.")}function Mr(e){return new D(U.ExtensionNotInitialized,`Extensions must be initialized with a Magic SDK instance before \`Extension.${e}\` can be accessed. Do not invoke \`Extension.${e}\` inside an extension constructor.`)}function Tr(e){let t=`Some extensions are incompatible with \`${g.sdkName}@${g.version}\`:`;return e.filter(r=>typeof r.compat<"u"&&r.compat!==null).forEach(r=>{let i=r.compat[g.sdkName];typeof i=="string"?t+=`
|
|
2
2
|
- Extension \`${r.name}\` supports version(s) \`${i}\``:i||(t+=`
|
|
3
3
|
- Extension \`${r.name}\` does not support ${g.platform} environments.`)}),new D(U.IncompatibleExtensions,t)}function Lr(e){let t=r=>{let i=r+1,n=i%10,s=i%100;return n===1&&s!==11?`${i}st`:n===2&&s!==12?`${i}nd`:n===3&&s!==13?`${i}rd`:`${i}th`};return new D(U.InvalidArgument,`Invalid ${t(e.argument)} argument given to \`${e.procedure}\`.
|
|
4
4
|
Expected: \`${e.expected}\`
|
|
5
5
|
Received: \`${e.received}\``)}function yi(){return new te(j.DuplicateIframe,"Duplicate iframes found.")}function Sr(){return new te(j.SyncWeb3Method,"Non-async web3 methods are deprecated in web3 > 1.0 and are not supported by the Magic web3 provider. Please use an async method instead.")}function br(){return new te(j.ReactNativeEndpointConfiguration,`CUSTOM DOMAINS ARE NOT SUPPORTED WHEN USING MAGIC SDK WITH REACT NATIVE! The \`endpoint\` parameter SHOULD NOT be provided. The Magic \`<iframe>\` is automatically wrapped by a WebView pointed at \`${g.defaultEndpoint}\`. Changing this default behavior will lead to unexpected results and potentially security-threatening bugs.`)}function Y(e){let{method:t,removalVersions:r,useInstead:i}=e,n=r[g.sdkName],s=i?` Use \`${i}\` instead.`:"",a=`\`${t}\` will be removed from \`${g.sdkName}\` in version \`${n}\`.${s}`;return new te(j.DeprecationNotice,a)}function*Cr(){let e=0;for(;;)e<Number.MAX_SAFE_INTEGER?yield++e:e=0}var Pr=Cr();function Ye(){return Pr.next().value}var ze=Symbol("Payload pre-processed by Magic SDK");function Je(e){return Object.defineProperty(e,ze,{value:!0,enumerable:!1}),e}function kr(e){return!!e[ze]}function he(e){var t,r,i;return kr(e)||(e.jsonrpc=(t=e.jsonrpc)!=null?t:"2.0",e.id=Ye(),e.method=(r=e.method)!=null?r:"noop",e.params=(i=e.params)!=null?i:[],Je(e)),e}function m(e,t=[]){return Je({params:t,method:e,jsonrpc:"2.0",id:Ye()})}var Re=class{constructor(e){e instanceof Re?(this._jsonrpc=e.payload.jsonrpc,this._id=e.payload.id,this._result=e.payload.result,this._error=e.payload.error):wr(e)?(this._jsonrpc=e.jsonrpc,this._id=e.id,this._result=e.result,this._error=e.error):(this._jsonrpc=e.jsonrpc,this._id=e.id,this._result=void 0,this._error=void 0)}applyError(e){return this._error=e,this}applyResult(e){return this._result=e,this}get hasError(){return typeof this._error<"u"&&this._error!==null}get hasResult(){return typeof this._result<"u"}get payload(){return{jsonrpc:this._jsonrpc,id:this._id,result:this._result,error:this._error}}},Ur=Lt(St()),Dr=class extends Ur.default{};function Qe(){let e=new Dr;return{emitter:e,createChainingEmitterMethod:(t,r)=>(...i)=>(e[t].apply(e,i),r),createBoundEmitterMethod:t=>(...r)=>e[t].apply(e,r)}}var Ze=Symbol("isPromiEvent");function Gr(e){return!!e[Ze]}function Z(e){let t=et(e),{createBoundEmitterMethod:r,createChainingEmitterMethod:i}=Qe(),n=Symbol("Promise.then"),s=Symbol("Promise.catch"),a=Symbol("Promise.finally"),o=(c,u)=>(...f)=>{let _=u[c].apply(u,f);return d(_)},d=c=>Object.assign(c,{[Ze]:!0,[n]:c[n]||c.then,[s]:c[s]||c.catch,[a]:c[a]||c.finally,then:o(n,c),catch:o(s,c),finally:o(a,c),on:i("on",c),once:i("once",c),addListener:i("addListener",c),off:i("off",c),removeListener:i("removeListener",c),removeAllListeners:i("removeAllListeners",c),emit:r("emit"),eventNames:r("eventNames"),listeners:r("listeners"),listenerCount:r("listenerCount")}),l=d(t.then(c=>(l.emit("done",c),l.emit("settled"),c),c=>{throw l.emit("error",c),l.emit("settled"),c}));return l}function et(e){return new Promise((t,r)=>{let i=e(t,r);Promise.resolve(i).catch(r)})}var G=class{constructor(e){this.sdk=e}get overlay(){return this.sdk.overlay}request(e){let t=this.overlay.post(ce.MAGIC_HANDLE_REQUEST,he(e)),r=Z((n,s)=>{t.then(a=>{if(i(),a.hasError)s(new ue(a.payload.error));else if(a.hasResult)n(a.payload.result);else throw Or()}).catch(a=>{i(),s(a)})}),i=this.overlay.on(k.MAGIC_HANDLE_EVENT,n=>{var s;let{response:a}=n.data;if(a.id===e.id&&((s=a.result)!=null&&s.event)){let{event:o,params:d=[]}=a.result;r.emit(o,...d)}});return r}createIntermediaryEvent(e,t){return r=>{let i=m(h.IntermediaryEvent,[{payloadId:t,eventType:e,args:r}]);this.request(i)}}};function xr(e,t){let[r]=e.split(".").map(Number);return r>=t}var z={"magic-sdk":"v18.0.0","@magic-sdk/react-native":"v14.0.0","@magic-sdk/react-native-bare":"v19.0.0","@magic-sdk/react-native-expo":"v19.0.0"},Fr=class extends G{loginWithMagicLink(e){let t=g.sdkName==="@magic-sdk/react-native"||g.sdkName==="@magic-sdk/react-native-bare"||g.sdkName==="@magic-sdk/react-native-expo";if(t&&xr(g.version,19))throw new Error("loginWithMagicLink() is deprecated for this package, please utlize a passcode method like loginWithSMS or loginWithEmailOTP instead.");t&&Y({method:"auth.loginWithMagicLink()",removalVersions:z,useInstead:"auth.loginWithEmailOTP()"}).log();let{email:r,showUI:i=!0,redirectURI:n,overrides:s}=e,a=m(this.sdk.testMode?h.LoginWithMagicLinkTestMode:h.LoginWithMagicLink,[{email:r,showUI:i,redirectURI:n,overrides:s}]);return this.request(a)}loginWithSMS(e){let{phoneNumber:t}=e,r=m(this.sdk.testMode?h.LoginWithSmsTestMode:h.LoginWithSms,[{phoneNumber:t,showUI:!0}]);return this.request(r)}loginWithEmailOTP(e){let{email:t,showUI:r,deviceCheckUI:i,overrides:n}=e,s=m(this.sdk.testMode?h.LoginWithEmailOTPTestMode:h.LoginWithEmailOTP,[{email:t,showUI:r,deviceCheckUI:i,overrides:n}]),a=this.request(s);return!i&&a&&a.on(ge.Retry,()=>{this.createIntermediaryEvent(ge.Retry,s.id)()}),!r&&a&&(a.on(B.VerifyEmailOtp,o=>{this.createIntermediaryEvent(B.VerifyEmailOtp,s.id)(o)}),a.on(B.Cancel,()=>{this.createIntermediaryEvent(B.Cancel,s.id)()})),a}loginWithCredential(e){let t=e??"";if(!e&&g.platform==="web"){t=window.location.search;let i=window.location.origin+window.location.pathname;window.history.replaceState(null,"",i)}let r=m(this.sdk.testMode?h.LoginWithCredentialTestMode:h.LoginWithCredential,[t]);return this.request(r)}setAuthorizationToken(e){let t=m(h.SetAuthorizationToken,[{jwt:e}]);return this.request(t)}updateEmailWithUI(e){let{email:t,showUI:r=!0}=e,i=m(this.sdk.testMode?h.UpdateEmailTestMode:h.UpdateEmail,[{email:t,showUI:r}]),n=this.request(i);return r||(n.on(C.Retry,()=>{this.createIntermediaryEvent(C.Retry,i.id)()}),n.on(C.Cancel,()=>{this.createIntermediaryEvent(C.Cancel,i.id)()}),n.on(C.VerifyEmailOtp,s=>{this.createIntermediaryEvent(C.VerifyEmailOtp,i.id)(s)}),n.on(P.RetryWithNewEmail,s=>{this.createIntermediaryEvent(P.RetryWithNewEmail,i.id)(s)}),n.on(P.Cancel,()=>{this.createIntermediaryEvent(P.Cancel,i.id)()}),n.on(P.VerifyEmailOtp,s=>{this.createIntermediaryEvent(P.VerifyEmailOtp,i.id)(s)})),n}},tt={};Mt(tt,{clear:()=>Wr,getItem:()=>O,iterate:()=>rt,key:()=>qr,keys:()=>Vr,length:()=>jr,removeItem:()=>W,setItem:()=>T});var se;function S(e){return(...t)=>v(this,null,function*(){return se||(se=yield g.configureStorage()),yield se.ready(),se[e](...t)})}var O=S("getItem"),T=S("setItem"),W=S("removeItem"),Wr=S("clear"),jr=S("length"),qr=S("key"),Vr=S("keys"),rt=S("iterate");function Hr(){let e=window.crypto.getRandomValues(new Uint8Array(16));e[6]=e[6]&15|64,e[8]=e[8]&191|128;let t="";return t+=e[0].toString(16),t+=e[1].toString(16),t+=e[2].toString(16),t+=e[3].toString(16),t+="-",t+=e[4].toString(16),t+=e[5].toString(16),t+="-",t+=e[6].toString(16),t+=e[7].toString(16),t+="-",t+=e[8].toString(16),t+=e[9].toString(16),t+="-",t+=e[10].toString(16),t+=e[11].toString(16),t+=e[12].toString(16),t+=e[13].toString(16),t+=e[14].toString(16),t+=e[15].toString(16),t}var it="STORE_KEY_PRIVATE_KEY",_e="STORE_KEY_PUBLIC_JWK",nt="ECDSA",Xr="P-256",Br={name:nt,namedCurve:Xr};function me(){let e=typeof window<"u"&&!!window.crypto,t=e&&!!window.crypto.subtle;return e&&t}function Kr(){return v(this,null,function*(){let e=yield Yr();if(!e){console.info("unable to create public key or webcrypto is unsupported");return}let{subtle:t}=window.crypto,r=yield O(it);if(!r||!t){console.info("unable to find private key or webcrypto unsupported");return}let i={iat:Math.floor(new Date().getTime()/1e3),jti:Hr()},n={typ:"dpop+jwt",alg:"ES256",jwk:e},s={protected:We(JSON.stringify(n)),claims:We(JSON.stringify(i))},a=Jr(`${s.protected}.${s.claims}`),o={name:nt,hash:{name:"SHA-256"}},d=Zr(new Uint8Array(yield t.sign(o,r,a)));return`${s.protected}.${s.claims}.${d}`})}function Yr(){return v(this,null,function*(){if(!me()){console.info("webcrypto is not supported");return}return(yield O(_e))||(yield zr()),O(_e)})}function zr(){return v(this,null,function*(){let{subtle:e}=window.crypto,t=yield e.generateKey(Br,!1,["sign"]),r=yield e.exportKey("jwk",t.publicKey);yield T(it,t.privateKey),yield T(_e,r)})}function We(e){return st(Qr(e))}function Jr(e){return new TextEncoder().encode(e)}function st(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+/g,"")}function Qr(e){return encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(t,r)=>String.fromCharCode(parseInt(r,16)))}function Zr(e){let t="";return e.forEach(r=>{t+=String.fromCharCode(r)}),st(t)}var $e="ds",Ne="ek",Ae="iv",Oe="AES-GCM",ei=256;function Me(){return v(this,null,function*(){let e=[];yield rt((t,r,i)=>{r.startsWith(`${$e}_`)&&e.push(r)});for(let t of e)yield W(t)})}function ot(e){let t="",r=new Uint8Array(e),i=r.byteLength;for(let n=0;n<i;n++)t+=String.fromCharCode(r[n]);return window.btoa(t)}function at(e){let t=window.atob(e),r=t.length,i=new Uint8Array(r);for(let n=0;n<r;n++)i[n]=t.charCodeAt(n);return i.buffer}function ti(){return v(this,null,function*(){if(!me()){console.info("webcrypto is not supported");return}let{crypto:e}=window;return(yield O(Ae))||e.getRandomValues(new Uint8Array(12))})}function ri(){return v(this,null,function*(){if(!me()){console.info("webcrypto is not supported");return}let{subtle:e}=window.crypto;return(yield O(Ne))||(yield e.generateKey({name:Oe,length:ei},!1,["encrypt","decrypt"]))})}function ii(e,t){return v(this,null,function*(){let r=yield ti(),i=yield ri();if(!r||!i||!e)return;let n=at(e),{subtle:s}=window.crypto,a=yield s.encrypt({name:Oe,iv:r},i,n),o=ot(a);yield T(`${$e}_${t}`,o),yield T(Ne,i),yield T(Ae,r)})}function ni(e){return v(this,null,function*(){let t=yield O(`${$e}_${e}`),r=yield O(Ae),i=yield O(Ne);if(!r||!t||!i||!me())return;let{subtle:n}=window.crypto,s=yield n.decrypt({name:Oe,iv:r},i,at(t));return ot(s)})}function je(e,t){return t?new URL(e,t):new URL(e)}var si=class extends G{constructor(){super(...arguments),this.localForageKey="mc_active_wallet",this.localForageIsLoggedInKey="magic_auth_is_logged_in",this.userLoggedOutCallbacks=[]}getIdToken(e){let t=m(this.sdk.testMode?h.GetIdTokenTestMode:h.GetIdToken,[e]);return this.request(t)}generateIdToken(e){let t=m(this.sdk.testMode?h.GenerateIdTokenTestMode:h.GenerateIdToken,[e]);return this.request(t)}getInfo(){return v(this,null,function*(){let e=yield O(this.localForageKey),t=m(h.GetInfo,[{walletType:e}]);return this.request(t)})}isLoggedIn(){return Z((e,t)=>v(this,null,function*(){try{let r=!1;this.sdk.useStorageCache&&(r=(yield O(this.localForageIsLoggedInKey))==="true",r&&e(!0));let i=m(this.sdk.testMode?h.IsLoggedInTestMode:h.IsLoggedIn),n=yield this.request(i);this.sdk.useStorageCache&&(n?T(this.localForageIsLoggedInKey,!0):W(this.localForageIsLoggedInKey),r&&!n&&this.emitUserLoggedOut(!0)),e(n)}catch(r){t(r)}}))}logout(){return W(this.localForageKey),W(this.localForageIsLoggedInKey),Me(),Z((e,t)=>v(this,null,function*(){try{let r=m(this.sdk.testMode?h.LogoutTestMode:h.Logout),i=yield this.request(r);this.sdk.useStorageCache&&this.emitUserLoggedOut(i),e(i)}catch(r){t(r)}}))}requestInfoWithUI(e){let t=m(h.RequestUserInfoWithUI,e?[e]:[]);return this.request(t)}showSettings(e){let t=m(this.sdk.testMode?h.UserSettingsTestMode:h.UserSettings,[e]);return this.request(t)}recoverAccount(e){let t=m(this.sdk.testMode?h.RecoverAccountTestMode:h.RecoverAccount,[e]);return this.request(t)}getMetadata(){Y({method:"user.getMetadata()",removalVersions:z,useInstead:"user.getInfo()"}).log();let e=m(this.sdk.testMode?h.GetMetadataTestMode:h.GetMetadata);return this.request(e)}onUserLoggedOut(e){this.userLoggedOutCallbacks.push(e)}emitUserLoggedOut(e){this.userLoggedOutCallbacks.forEach(t=>{t(e)})}},oi=class extends G{constructor(){super(...arguments),this.localForageKey="mc_active_wallet"}connectWithUI(){let e=Z((t,r)=>v(this,null,function*(){try{if(this.isMetaMaskBrowser()&&(yield this.isWalletEnabled(M.MetaMask))){let o=yield this.autoConnectIfWalletBrowser(M.MetaMask);t(o);return}if(this.isCoinbaseWalletBrowser()&&(yield this.isWalletEnabled(M.CoinbaseWallet))){let o=yield this.autoConnectIfWalletBrowser(M.CoinbaseWallet);t(o);return}let i=this.getUserEnv(),n=m(h.Login,[i]),s=this.request(n);s.on(ae.WalletSelected,o=>this.handleWalletSelected(Ie(ye({},o),{payloadId:n.id}))),s.on("id-token-created",o=>{e.emit("id-token-created",o)});let a=yield s;a.error&&r(a),t(a)}catch(i){r(i)}}));return e}showUI(){return this.request(m(h.ShowUI))}showAddress(){return this.request(m(h.ShowAddress))}showSendTokensUI(){return this.request(m(h.ShowSendTokensUI))}showOnRamp(){return this.request(m(h.ShowOnRamp))}showNFTs(){return this.request(m(h.ShowNFTs))}showBalances(){return this.request(m(h.ShowBalances))}sendGaslessTransaction(e,t){return this.request(m(h.SendGaslessTransaction,[e,t]))}getInfo(){return v(this,null,function*(){Y({method:"wallet.getInfo()",removalVersions:z,useInstead:"user.getInfo()"}).log();let e=yield O(this.localForageKey),t=m(h.GetInfo,[{walletType:e}]);return this.request(t)})}disconnect(){Y({method:"wallet.disconnect()",removalVersions:z,useInstead:"user.logout()"}).log(),W(this.localForageKey),Me();let e=m(h.Disconnect);return this.request(e)}requestUserInfoWithUI(e){Y({method:"wallet.requestUserInfoWithUI()",removalVersions:z,useInstead:"user.requestUserInfoWithUI()"}).log();let t=m(h.RequestUserInfoWithUI,e?[e]:[]);return this.request(t)}getProvider(){return v(this,null,function*(){switch(yield O(this.localForageKey)){case M.MetaMask:return this.getMetaMaskProvider();case M.CoinbaseWallet:return this.getCoinbaseProvider();default:return this.sdk.rpcProvider}})}isMetaMaskInstalled(){var e,t,r;return((e=window.ethereum)==null?void 0:e.isMetaMask)||!!((r=(t=window.ethereum)==null?void 0:t.providers)!=null&&r.find(i=>i==null?void 0:i.isMetaMask))}isMetaMaskBrowser(){return this.isMobile()&&this.isMetaMaskInstalled()}getMetaMaskProvider(){var e,t;return((t=(e=window.ethereum)==null?void 0:e.providers)==null?void 0:t.find(r=>r==null?void 0:r.isMetaMask))||window.ethereum}connectToMetaMask(){if(this.isMobile()&&!this.isMetaMaskInstalled()){let e=`https://metamask.app.link/dapp/${window.location.href.replace(/(^\w+:|^)\/\//,"")}`;window.location.href=e}return this.getMetaMaskProvider().request({method:"eth_requestAccounts"})}isCoinbaseWalletInstalled(){var e,t,r;return((e=window.ethereum)==null?void 0:e.isCoinbaseWallet)||!!((r=(t=window.ethereum)==null?void 0:t.providers)!=null&&r.find(i=>i==null?void 0:i.isCoinbaseWallet))}isCoinbaseWalletBrowser(){var e;return!!((e=window.ethereum)!=null&&e.isCoinbaseBrowser)}getCoinbaseProvider(){var e,t;return((t=(e=window.ethereum)==null?void 0:e.providers)==null?void 0:t.find(r=>r==null?void 0:r.isCoinbaseWallet))||window.ethereum}connectToCoinbaseWallet(){if(this.isMobile()&&!this.isCoinbaseWalletBrowser()){let e=`https://go.cb-w.com/dapp?cb_url=${encodeURIComponent(window.location.href)}`;window.location.href=e}return this.getCoinbaseProvider().request({method:"eth_requestAccounts"})}isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Silk|Opera Mini/i.test(navigator.userAgent)}getUserEnv(){return{env:{isMetaMaskInstalled:this.isMetaMaskInstalled(),isCoinbaseWalletInstalled:this.isCoinbaseWalletInstalled()}}}connectToThirdPartyWallet(e){switch(e){case M.MetaMask:return this.connectToMetaMask();case M.CoinbaseWallet:return this.connectToCoinbaseWallet();default:throw new Error(`Invalid provider: ${e}. Must be one of "metamask" or "coinbase_wallet".`)}}isWalletEnabled(e){let t=m("mc_is_wallet_enabled",[{wallet:e}]);return this.request(t)}handleWalletSelected(e){return v(this,null,function*(){try{let t=yield this.connectToThirdPartyWallet(e.wallet);yield T(this.localForageKey,e.wallet),this.createIntermediaryEvent(ae.WalletConnected,e.payloadId)(t)}catch(t){console.error(t),this.createIntermediaryEvent(ae.WalletRejected,e.payloadId)()}})}autoConnectIfWalletBrowser(e){return v(this,null,function*(){let t;e===M.MetaMask&&(t=yield this.getMetaMaskProvider().request({method:"eth_requestAccounts"})),e===M.CoinbaseWallet&&(t=yield this.getCoinbaseProvider().request({method:"eth_requestAccounts"})),yield T(this.localForageKey,e);let r=m(h.AutoConnect,[{wallet:e,address:t}]);return this.request(r)})}},{createBoundEmitterMethod:oe,createChainingEmitterMethod:x}=Qe(),ai=class extends G{constructor(){super(...arguments),this.isMagic=!0,this.on=x("on",this),this.once=x("once",this),this.addListener=x("addListener",this),this.off=x("off",this),this.removeListener=x("removeListener",this),this.removeAllListeners=x("removeAllListeners",this),this.emit=oe("emit"),this.eventNames=oe("eventNames"),this.listeners=oe("listeners"),this.listenerCount=oe("listenerCount")}sendAsync(e,t){if(!t)throw Lr({procedure:"Magic.rpcProvider.sendAsync",argument:1,expected:"function",received:t===null?"null":typeof t});if(Array.isArray(e))this.overlay.post(ce.MAGIC_HANDLE_REQUEST,e.map(r=>{let i=he(r);return this.prefixPayloadMethodForTestMode(i),i})).then(r=>{t(null,r.map(i=>Ie(ye({},i.payload),{error:i.hasError?new ue(i.payload.error):null})))});else{let r=he(e);this.prefixPayloadMethodForTestMode(r),this.overlay.post(ce.MAGIC_HANDLE_REQUEST,r).then(i=>{t(i.hasError?new ue(i.payload.error):null,i.payload)})}}send(e,t){if(typeof e=="string"){let i=m(e,Array.isArray(t)?t:[]);return this.request(i)}if(Array.isArray(e)||t){this.sendAsync(e,t);return}let r=Sr();return r.log(),new Re(e).applyError({code:-32603,message:r.rawMessage}).payload}enable(){let e=m(h.Login);return this.request(e)}request(e){return this.prefixPayloadMethodForTestMode(e),super.request(e)}prefixPayloadMethodForTestMode(e){let t="testMode/eth/";this.sdk.testMode&&(e.method=`${t}${e.method}`)}},qe=["request","overlay","sdk"];function li(e){let t=Object.getPrototypeOf(e),r=[t];for(;t!==G.prototype;)t=Object.getPrototypeOf(t),r.push(t);return r}var lt=class extends G{constructor(){super(void 0),this.__sdk_access_field_descriptors__=new Map,this.__is_initialized__=!1,this.utils={createPromiEvent:Z,isPromiEvent:Gr,encodeJSON:Xe,decodeJSON:yr,createJsonRpcRequestPayload:m,standardizeJsonRpcRequestPayload:he,storage:tt};let e=[this,...li(this)];qe.forEach(t=>{let r=e.map(a=>Object.getOwnPropertyDescriptor(a,t)),i=r.findIndex(a=>!!a),n=i>0,s=r[i];s&&(this.__sdk_access_field_descriptors__.set(t,{descriptor:s,isPrototypeField:n}),Object.defineProperty(this,t,{configurable:!0,get:()=>{throw Mr(t)}}))})}init(e){this.__is_initialized__||(qe.forEach(t=>{if(this.__sdk_access_field_descriptors__.has(t)){let{descriptor:r,isPrototypeField:i}=this.__sdk_access_field_descriptors__.get(t);i?delete this[t]:Object.defineProperty(this,t,r)}}),this.sdk=e,this.__is_initialized__=!0)}createDeprecationWarning(e){let{method:t,removalVersion:r,useInstead:i}=e,n=i?` Use \`${i}\` instead.`:"",s=`\`${t}\` will be removed from this Extension in version \`${r}\`.${n}`;return new Fe(this,"DEPRECATION_NOTICE",s)}createWarning(e,t){return new Fe(this,e,t)}createError(e,t,r){return new Ke(this,e,t,r)}},ci=class extends lt{},J=class extends lt{};J.Internal=ci,J.Anonymous="anonymous extension";var di=class extends G{purchase(e){let t=m(h.NFTPurchase,[e]);return this.request(t)}checkout(e){let t=m(h.NFTCheckout,[e]);return this.request(t)}transfer(e){let t=m(h.NFTTransfer,[e]);return this.request(t)}};function Ve(e){return e.compat&&e.compat[g.sdkName]!=null?typeof e.compat[g.sdkName]=="string"?ur(Er(g.version),e.compat[g.sdkName]):!!e.compat[g.sdkName]:!0}function ui(e,t,r){return!t&&!r?`${e}_eth_mainnet`:r?`${e}_${JSON.stringify(r)}`:t?typeof t=="string"?`${e}_eth_${t}`:`${e}_${t.rpcUrl}_${t.chainId}_${t.chainType}`:`${e}_unknown`}function hi(e){var t;let r=(t=e==null?void 0:e.extensions)!=null?t:[],i={},n=[];if(Array.isArray(r)?r.forEach(s=>{Ve(s)?(s.init(this),(s.name||s.name!==J.Anonymous)&&(this[s.name]=s),s instanceof J.Internal&&(de(s.config)||(i[s.name]=s.config))):n.push(s)}):Object.keys(r).forEach(s=>{if(Ve(r[s])){r[s].init(this);let a=r[s];this[s]=a,a instanceof J.Internal&&(de(a.config)||(i[r[s].name]=a.config))}else n.push(r[s])}),n.length)throw Tr(n);return i}var le=class{constructor(e,t){this.apiKey=e;var r;if(!e)throw Nr();g.platform==="react-native"&&(t!=null&&t.endpoint)&&br().log();let{defaultEndpoint:i,version:n}=g;this.testMode=!!(t!=null&&t.testMode),this.useStorageCache=!!(t!=null&&t.useStorageCache),this.endpoint=je((r=t==null?void 0:t.endpoint)!=null?r:i).origin,this.auth=new Fr(this),this.user=new si(this),this.wallet=new oi(this),this.nft=new di(this),this.rpcProvider=new ai(this);let s=hi.call(this,t);this.parameters=Xe(Ie(ye({API_KEY:this.apiKey,DOMAIN_ORIGIN:window.location?window.location.origin:"",ETH_NETWORK:t==null?void 0:t.network,host:je(this.endpoint).host,sdk:$r[g.sdkName],version:n,ext:de(s)?void 0:s,locale:(t==null?void 0:t.locale)||"en_US"},g.bundleId?{bundleId:g.bundleId}:{}),{meta:t==null?void 0:t.meta})),this.networkHash=ui(this.apiKey,t==null?void 0:t.network,de(s)?void 0:s),t!=null&&t.deferPreload||this.preload()}get overlay(){if(!le.__overlays__.has(this.parameters)){let e=new g.ViewController(this.endpoint,this.parameters,this.networkHash);e.init(),le.__overlays__.set(this.parameters,e)}return le.__overlays__.get(this.parameters)}preload(){return v(this,null,function*(){yield this.overlay.checkIsReadyForRequest})}},pi=le;pi.__overlays__=new Map;function mi(e,t){return t&&Array.isArray(e)?e.find(r=>r.id===t):e}function Ei(e,t){var r;let i=(r=t.data.response)==null?void 0:r.id,n=mi(e,i);if(i&&n){let s=new Re(n).applyResult(t.data.response.result).applyError(t.data.response.error);return{id:i,response:s}}return{}}function fi(e,t,r){return v(this,null,function*(){var i;let n=yield O("rt"),s;if(g.platform==="web")try{s=(i=yield O("jwt"))!=null?i:yield Kr()}catch(d){console.error("webcrypto error",d)}let a={msgType:e,payload:t};s&&(a.jwt=s),s&&n&&(a.rt=n);let o=yield ni(r);return o&&(a.deviceShare=o),a})}function gi(e){return v(this,null,function*(){!e.data.rt||(yield T("rt",e.data.rt))})}var Ii=class{constructor(e,t,r){this.endpoint=e,this.parameters=t,this.networkHash=r,this.messageHandlers=new Set,this.isConnectedToInternet=!0,this.checkIsReadyForRequest=this.waitForReady(),this.isReadyForRequest=!1,this.listen()}post(e,t){return v(this,null,function*(){return et((r,i)=>v(this,null,function*(){if(!this.isConnectedToInternet){let l=Ar();i(l)}this.isReadyForRequest||(yield this.waitForReady());let n=[],s=Array.isArray(t)?t.map(l=>l.id):[],a=yield fi(`${e}-${this.parameters}`,t,this.networkHash);yield this._post(a);let o=l=>c=>{var u;let{id:f,response:_}=Ei(t,c);if(gi(c),((u=_==null?void 0:_.payload.error)==null?void 0:u.message)==="User denied account access.")Me();else if(c.data.deviceShare){let{deviceShare:y}=c.data;ii(y,this.networkHash)}f&&_&&Array.isArray(t)&&s.includes(f)?(n.push(_),n.length===t.length&&(l(),r(n))):f&&_&&!Array.isArray(t)&&f===t.id&&(l(),r(_))},d=this.on(k.MAGIC_HANDLE_RESPONSE,o(()=>d()))}))})}on(e,t){let r=t.bind(window),i=n=>{n.data.msgType===`${e}-${this.parameters}`&&r(n)};return this.messageHandlers.add(i),()=>this.messageHandlers.delete(i)}waitForReady(){return new Promise(e=>{let t=this.on(k.MAGIC_OVERLAY_READY,()=>{this.isReadyForRequest=!0,e(),t()})})}listen(){this.on(k.MAGIC_HIDE_OVERLAY,()=>{this.hideOverlay()}),this.on(k.MAGIC_SHOW_OVERLAY,()=>{this.showOverlay()}),this.on(k.MAGIC_SEND_PRODUCT_ANNOUNCEMENT,e=>{e.data.response.result.product_announcement&&new te(j.ProductAnnouncement,e.data.response.result.product_announcement).log()})}};export{pi as $,mt as A,Ii as B,ae as E,B as I,je as J,vi as K,gt as L,pt as N,ft as O,ge as R,Et as T,P as U,Ke as V,te as W,ue as _,J as a,ve as b,D as c,ce as d,U as e,k as f,ut as g,C as h,Gr as i,Z as j,_t as k,Ar as m,j as p,yi as q,Fe as s,M as u,h as v,ht as x,vt as y};
|
|
6
|
-
//# sourceMappingURL=index-
|
|
6
|
+
//# sourceMappingURL=index-DcKArVXo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as s}from"./parseSignature-BxQdCW5i.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-BxQdCW5i.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-NlyiR2bJ.js";import{h as n}from"./W3MFrameProviderSingleton-Doq6mTar.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-Doq6mTar.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-_MPSq3Em.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-DXJcvhe0.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-Ck3JYcdR.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-BTYDfS5L.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-CSFYjyzm.js";import{d as c}from"./verifyHash-D4hTFZ7n.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-D4hTFZ7n.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-B5hMBD3v.js";import"./secp256k1-DpFuX-Ol.js";import"./dcl-schemas-DvE7IWDY.js";import"./react-eHGl4EaY.js";import"./index-BxSg-i3Z.js";import"./sentry-Bv3fzY7D.js";import"./index-C-lBesby.js";import"./events-CEwCSw8b.js";import"./index-Bo4xq_KT.js";import"./ethers-owZvXzo9.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-CFlZGY9p.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import{c as s}from"./parseSignature-DIz3eDbf.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-DIz3eDbf.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-UWzt1HkN.js";import{h as n}from"./W3MFrameProviderSingleton-C5R0Hv4f.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-C5R0Hv4f.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-BZ47ACp8.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-DC9Gx2J8.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-sdmtN9Zz.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-BNo2EXnI.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-1pkZuB0E.js";import{d as c}from"./verifyHash-BE902crr.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-BE902crr.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-BcxNFpPf.js";import"./secp256k1-BYfFefy8.js";import"./dcl-schemas-CDqEnGVF.js";import"./react-BwVKUOq3.js";import"./index-DPaKunKm.js";import"./sentry-Bsae7YMx.js";import"./index-5NSbXKSv.js";import"./events-DmWFPeUq.js";import"./index-BUtPa6GQ.js";import"./ethers-IshNxzO2.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-CUyGMBm7.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
|
|
2
|
+
//# sourceMappingURL=index-Dmkdljm-.js.map
|