@dcl/shop 0.8.0 → 0.8.1-31010487922.commit-7e8c168
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-BpEWDEgt.js → Activity-D0ke7CND.js} +3 -3
- package/_assets/{AnimatedBackground-whCeMUgc.js → AnimatedBackground-ECFAiLHT.js} +1 -1
- package/_assets/Assets-BF1jmHXH.js +801 -0
- package/_assets/{Assets.styles-DuSEfvzx.js → Assets.styles-oV1FeEer.js} +2 -2
- package/_assets/{Authorizations-DTC0viZ7.js → Authorizations-Cc50JSP-.js} +3 -3
- package/_assets/{Cart-Ccdz2uXK.js → Cart-D4Ru3hhk.js} +3 -3
- package/_assets/{CircularProgress-BkDrovgn.js → CircularProgress-DqnGiMZe.js} +3 -3
- package/_assets/{Collection-LGp9HIwD.js → Collection-YEjRwps6.js} +10 -10
- package/_assets/{CollectionCarousel-CnR1So5p.js → CollectionCarousel-BeRnGCYD.js} +32 -32
- package/_assets/{ConstantsUtil-Di3dRDAF.js → ConstantsUtil-BkhvNc68.js} +1 -1
- package/_assets/{ContentClient-CRr9ZuRH.js → ContentClient-CGWTGqN4.js} +1 -1
- package/_assets/Creator-D__6ZkY9.js +306 -0
- package/_assets/{DeploymentBuilder-DYNbIRzZ.js → DeploymentBuilder-CFls_09j.js} +1 -1
- package/_assets/{ErrorNotice-BXWX_0E4.js → ErrorNotice-Q_ppMazV.js} +1 -1
- package/_assets/{ExchangeController-C_NxeYpZ.js → ExchangeController-qVRplriS.js} +1 -1
- package/_assets/{Faq-BXT0tU5Q.js → Faq-cnUUa754.js} +1 -1
- package/_assets/{GetCredits-CiVv6zS4.js → GetCredits-B0kU7FuE.js} +19 -19
- package/_assets/{Grow-d2ucdHqS.js → Grow-HgGzFpE3.js} +1 -1
- package/_assets/{HelpersUtil-BsEaPmaI.js → HelpersUtil-Ew-F4vBT.js} +1 -1
- package/_assets/{ItemDetail-BxGSP-it.js → ItemDetail-qqSyfKPj.js} +13 -13
- package/_assets/LazyEmoteControls-DNXHFm3g.js +2 -0
- package/_assets/{LoadMore-DcIHY8Kf.js → LoadMore-DSHozISi.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-CxOm66Fo.js → ManaPricingBanner.styles-UwzPqB3A.js} +1 -1
- package/_assets/{MyAssets-BozGMHXd.js → MyAssets-fpg41I4K.js} +1 -1
- package/_assets/{MyFavorites-wLuasEwD.js → MyFavorites-Cd7TlT9w.js} +2 -2
- package/_assets/{NetworkUtil-EoWQDMpU.js → NetworkUtil-CO-1nCx-.js} +1 -1
- package/_assets/{NotFound-D9deZR03.js → NotFound-CTSrHIhr.js} +1 -1
- package/_assets/{NotificationsBell-DULYJmKs.js → NotificationsBell-DabycGGR.js} +1 -1
- package/_assets/{OutfitDetail-B28zoBrk.js → OutfitDetail-BCQPpfUl.js} +15 -15
- package/_assets/{OutfitPreview-GRiCEESc.js → OutfitPreview-CNVm-Mmy.js} +2 -2
- package/_assets/{OutfitStudio-D7500MAI.js → OutfitStudio-DF2ScfYx.js} +13 -13
- package/_assets/{StoreSettings-DK8rP1ia.js → StoreSettings-rrOuug9U.js} +9 -9
- package/_assets/{Success-zZ3HkHoh.js → Success-D8XBSWq_.js} +13 -13
- package/_assets/{SwapController-LhvwgYfv.js → SwapController-ZQOTT4HD.js} +1 -1
- package/_assets/{Tooltip-Dh6dtNV3.js → Tooltip-xIVvDLOp.js} +2 -2
- package/_assets/{TradeService-DjBvwlyu.js → TradeService-DmCFIQne.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-DyHElSGY.js → W3MFrameProviderSingleton-CRZ8AP2Q.js} +3 -3
- package/_assets/{WebCryptoP256-CGMChTjg.js → WebCryptoP256-DXjlDDMT.js} +1 -1
- package/_assets/authorizations-BixBV4TD.js +1 -0
- package/_assets/{basic-BwriZEC-.js → basic-CcERZRfI.js} +1 -1
- package/_assets/{biconomy-CeViGwXz.js → biconomy-BIgRCmes.js} +1 -1
- package/_assets/{browser-CqsLPmeb.js → browser-DrmA6_0y.js} +1 -1
- package/_assets/{browser-ponyfill-I5CKtKME.js → browser-ponyfill-fSxUcg6c.js} +1 -1
- package/_assets/{builder-CYMYImB0.js → builder-yYkfVnmO.js} +1 -1
- package/_assets/buy-C6t8EdJL.js +1 -0
- package/_assets/{buy-gasless-DIfZSqYX.js → buy-gasless-uXmROTXZ.js} +1 -1
- package/_assets/{categories-BbYXk3ti.js → categories-CGxAQH-_.js} +45 -33
- package/_assets/{ccip-CwIu0LfN.js → ccip-ClC71LrZ.js} +1 -1
- package/_assets/{ccip-Sex5PzD_.js → ccip-TCYs1z3C.js} +1 -1
- package/_assets/{chains-DPlhC0Sw.js → chains-BqVOrxrG.js} +1 -1
- package/_assets/{collectionPage.styles-CHbJGgda.js → collectionPage.styles-DxfKkCjZ.js} +4 -4
- package/_assets/{common-CNwVQ4p9.js → common-CkYiP-7J.js} +1 -1
- package/_assets/{controller-DfTp5YOO.js → controller-CAD_Ncxd.js} +2 -2
- package/_assets/{core-BEK9pA3q.js → core-C5ZUevur.js} +4 -4
- package/_assets/{createSvgIcon-CU05oHiV.js → createSvgIcon-DsB10OiJ.js} +4 -4
- package/_assets/{custom-BhGswfT_.js → custom-CizQsxK3.js} +1 -1
- package/_assets/{data-capture-nvuZRuzg.js → data-capture-Bwsb_w-3.js} +1 -1
- package/_assets/decimals-DO67KSdi.js +1 -0
- package/_assets/{decimals-B3pg7hp8.js → decimals-DyjR4aoq.js} +1 -1
- package/_assets/{detectExtension-DEjVJeUh.js → detectExtension-DWfhzRDC.js} +1 -1
- package/_assets/{disposePreview-B96DpOZy.js → disposePreview-flulL6RX.js} +1 -1
- package/_assets/{email-CieTjR51.js → email-CUebz27I.js} +1 -1
- package/_assets/{embedded-wallet-CI-r3uDX.js → embedded-wallet-DHuEKb2B.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-BlQXcSKx.js → emotion-styled.browser.esm-CVKaLYZX.js} +1 -1
- package/_assets/{engine-CHP2eI44.js → engine-CwQ6coYl.js} +1 -1
- package/_assets/errors-CBUUj0FX.js +1 -0
- package/_assets/estimate-l1-fee-BJpzTLgk.js +1 -0
- package/_assets/eth_estimateGas-CZdRIIy4.js +1 -0
- package/_assets/{eth_getStorageAt-BUYdIAYw.js → eth_getStorageAt-C4Yqzc5m.js} +1 -1
- package/_assets/eth_getTransactionCount-W_BA_-db.js +1 -0
- package/_assets/{ethereum-CliiIOgc.js → ethereum-DFU7Vz3W.js} +1 -1
- package/_assets/{ethers-DejfrZ8i.js → ethers-lk3HAbPB.js} +1 -1
- package/_assets/{execute-BJuyrz_X.js → execute-BkwPHs5d.js} +2 -2
- package/_assets/{extractIPFS-CUaS-9Rs.js → extractIPFS-DzfSqAlh.js} +1 -1
- package/_assets/{features-B9o2bxOE.js → features-COoncQLs.js} +1 -1
- package/_assets/{fetchTokenMetadata-DeEXEM9T.js → fetchTokenMetadata-DVdGF8SH.js} +2 -2
- package/_assets/{field.styles-BYH2xB5-.js → field.styles-ChGQv28p.js} +1 -1
- package/_assets/{fortmatic-EI5cNLV0.js → fortmatic-9W3d2zrH.js} +1 -1
- package/_assets/{get-bytecode-knYex1Eu.js → get-bytecode-BsB9WanS.js} +1 -1
- package/_assets/get-ecosystem-wallet-info-BpyDXVOG.js +1 -0
- package/_assets/{getBalance-pkY6oxRI.js → getBalance-NmIU2b2O.js} +2 -2
- package/_assets/{getInstalledModules-tywfzr6y.js → getInstalledModules-BE5-ES5I.js} +1 -1
- package/_assets/{getNFT-CYm9n3Xd.js → getNFT-BGxpYRoe.js} +2 -2
- package/_assets/getNFT-YEPEG38f.js +1 -0
- package/_assets/{grid.styles-DoBUqqdT.js → grid.styles-D2J96SwT.js} +1 -1
- package/_assets/{hashTypedData-DpkGfcdz.js → hashTypedData-CApfLnos.js} +1 -1
- package/_assets/{hashTypedData-ONHChmVW.js → hashTypedData-CcYMI56c.js} +1 -1
- package/_assets/{in-app-GxZkDa12.js → in-app-CKc3O4Sv.js} +1 -1
- package/_assets/{in-app-wallet-calls-B91UMKOr.js → in-app-wallet-calls-n0DVkHti.js} +1 -1
- package/_assets/index-0kdmGL8P.js +3390 -0
- package/_assets/index-3QPqSkja.js +1 -0
- package/_assets/{index-DEPPVv3y.js → index-4iaG5DfH.js} +1 -1
- package/_assets/{index-DOxWmjOH.js → index-6S3FMUEk.js} +1 -1
- package/_assets/{index-5GNI01Ww.js → index-6X3q9jcE.js} +1 -1
- package/_assets/{index-CSlo2BeJ.js → index-7vaOJntM.js} +1 -1
- package/_assets/{index-BJM0Y8Dj.js → index-9ZdEDnsf.js} +1 -1
- package/_assets/{index-L36hhrTC.js → index-B0Nj1Xpe.js} +1 -1
- package/_assets/{index-CMV7iaeR.js → index-B7SwXBLX.js} +1 -1
- package/_assets/{index-L_H5aHd6.js → index-BAuvCwBS.js} +1 -1
- package/_assets/{index-BACQuryf.js → index-BBAMyxaq.js} +1 -1
- package/_assets/{index-JweqbyGF.js → index-BKGDTHnI.js} +2 -2
- package/_assets/{index-BsE741-i.js → index-BW8WltKr.js} +1 -1
- package/_assets/{index-B49Ra42Y.js → index-Be2ZgTC2.js} +2 -2
- package/_assets/{index-C33PRPh0.js → index-BhB231bL.js} +1 -1
- package/_assets/{index-BkDtNpJ9.js → index-BhLXJT-A.js} +1 -1
- package/_assets/{index-Bk7mlw_4.js → index-BiCSZsIb.js} +1 -1
- package/_assets/{index-_943ql8C.js → index-BkyUhgF6.js} +1 -1
- package/_assets/{index-CRQCirWA.js → index-Bm2p-zGj.js} +1 -1
- package/_assets/{index-DMNGIYYv.js → index-BmnaNalD.js} +1 -1
- package/_assets/{index-Cv1Bu0gQ.js → index-BsSKIwHD.js} +1 -1
- package/_assets/{index-Bzt1xZyM.js → index-BxR_qhCB.js} +1 -1
- package/_assets/{index-__99MHKr.js → index-BxmGjj2a.js} +2 -2
- package/_assets/{index-CTpdUOYC.js → index-BzcwOGk4.js} +1 -1
- package/_assets/{index-OxDwxhIP.js → index-BzkS1G6W.js} +1 -1
- package/_assets/{index-BpBengnA.js → index-C3Stq5lv.js} +1 -1
- package/_assets/{index-BH5LU_4T.js → index-C59CJSbo.js} +1 -1
- package/_assets/{index-l4-9ZZLe.js → index-C6MGFWmE.js} +3 -3
- package/_assets/{index-B-FT9tly.js → index-C7RtdG3Z.js} +1 -1
- package/_assets/{index-DxSEHau1.js → index-CA4L-7AN.js} +1 -1
- package/_assets/{index--dDDhPCb.js → index-CBeTDdme.js} +1 -1
- package/_assets/{index-DftqIOqz.js → index-CC3KVZ-C.js} +1 -1
- package/_assets/{index-t0T-6ZrA.js → index-CF7r6gRE.js} +1 -1
- package/_assets/{index-DI-3MKLG.js → index-CJEkcTww.js} +1 -1
- package/_assets/{index-Cu9CgJO0.js → index-CLpv_ZJ-.js} +1 -1
- package/_assets/{index-OqCfgEJv.js → index-CMEuS0ny.js} +1 -1
- package/_assets/{index-BX8-GtYO.js → index-CVOcWyr3.js} +3 -3
- package/_assets/{index-INHGq5Es.js → index-CcVPLkSq.js} +1 -1
- package/_assets/{index-CIQQJerR.js → index-CczTfLT1.js} +1 -1
- package/_assets/{index-B6MX4qjW.js → index-CgeqYqkT.js} +3 -3
- package/_assets/{index-BFFeuHAN.js → index-CpR4TF12.js} +1 -1
- package/_assets/{index-Bmq5dKA-.js → index-CtdnhIV0.js} +1 -1
- package/_assets/{index-73vZ1csI.js → index-CxzejZj0.js} +1 -1
- package/_assets/{index-B_JiruyT.js → index-CydESP8d.js} +1 -1
- package/_assets/{index-D4Aqu34H.js → index-D0cG_Wab.js} +1 -1
- package/_assets/{index-B4d9kGHc.js → index-DGxvuwYE.js} +1 -1
- package/_assets/{index-DOiEVNYb.js → index-DN1EN0BQ.js} +1 -1
- package/_assets/{index-G6kG-9qx.js → index-DRT-S6qO.js} +1 -1
- package/_assets/{index-DPmmgd_P.js → index-DaUjgiMa.js} +2 -2
- package/_assets/{index-Bk_uITsR.js → index-DhLM0XTE.js} +1 -1
- package/_assets/{index-C5F4093w.js → index-DmMFljl8.js} +1 -1
- package/_assets/{index-BYlZ9YbP.js → index-DxEnMKm3.js} +1 -1
- package/_assets/{index-DhNV3-07.js → index-DxQd7A0J.js} +1 -1
- package/_assets/{index-BkMwrTJ3.js → index-DzGUGKu8.js} +1 -1
- package/_assets/{index-E7P9-xl1.js → index-IpNLzHgx.js} +1 -1
- package/_assets/{index-Dfv984cL.js → index-KJ7hHQUO.js} +1 -1
- package/_assets/{index-CtybxktV.js → index-U0B_ruvX.js} +1 -1
- package/_assets/{index-BWh4oQv2.js → index-Y97601kH.js} +1 -1
- package/_assets/{index-Cakc_FOK.js → index-Yr43kIYd.js} +1 -1
- package/_assets/{index-DGI43LaB.js → index-_jZ2ge8B.js} +1 -1
- package/_assets/{index-D3BUTCsu.js → index-c7dUn7oS.js} +1 -1
- package/_assets/{index-De1oZcbD.js → index-hCVFHVic.js} +11 -11
- package/_assets/{index-CrYXAQF7.js → index-mRgaZ-_k.js} +1 -1
- package/_assets/{index-8TbyLPoA.js → index-wnob8aZw.js} +2 -2
- package/_assets/{index.es-DD8zy1OU.js → index.es-Bt1vrHLy.js} +1 -1
- package/_assets/{index.es-7bD3vSL6.js → index.es-CQZWy8u6.js} +4 -4
- package/_assets/{index.es-DdtYF7po.js → index.es-DrGoY9Xx.js} +1 -1
- package/_assets/{index.es-DQ3AciL_.js → index.es-DrfFlp1M.js} +1 -1
- package/_assets/{linkAccount-BodpWbRq.js → linkAccount-CNeA4_rd.js} +1 -1
- package/_assets/{localBatchGatewayRequest-Cqcm6wSH.js → localBatchGatewayRequest-DjDL8c_C.js} +1 -1
- package/_assets/{native-DfrS-44q.js → native-D1Bt7nPF.js} +1 -1
- package/_assets/{networks-BsQOwKdI.js → networks-BICt4Cqn.js} +1 -1
- package/_assets/{onramp-CutBYUPg.js → onramp-DG7xtPwJ.js} +1 -1
- package/_assets/{openzeppelin-K-AgEyIf.js → openzeppelin-DT5thYhO.js} +1 -1
- package/_assets/{ownerOf-Dw2VC0ue.js → ownerOf-CSle-7WO.js} +1 -1
- package/_assets/parseNft-DeY1x__c.js +2 -0
- package/_assets/{parseSignature-DnyPA3OO.js → parseSignature-BwH4RvfH.js} +1 -1
- package/_assets/{parseSignature-BrLHTUOQ.js → parseSignature-C3vshYUJ.js} +3 -3
- package/_assets/{passkeys-zi3xVlV1.js → passkeys-BL7MgzVl.js} +1 -1
- package/_assets/{pay-with-exchange-pvINEHpN.js → pay-with-exchange-qF0q90BH.js} +1 -1
- package/_assets/{prepare-contract-call-BnXbUbQT.js → prepare-contract-call-Nm9e1q7x.js} +1 -1
- package/_assets/{qr-overlay-CLKlyiw2.js → qr-overlay-hZqIuLIW.js} +3 -3
- package/_assets/{react-DehiWSvs.js → react-OEOSdkUk.js} +1 -1
- package/_assets/{receive-BLXAcZ6B.js → receive-COE1EvWZ.js} +1 -1
- package/_assets/{resolveImplementation-CfgIWk0L.js → resolveImplementation-HLbNG2Vp.js} +1 -1
- package/_assets/{rpc-C2ZJH6qL.js → rpc-lGsIPm3Z.js} +1 -1
- package/_assets/{secp256k1-DQNL-k-L.js → secp256k1-BBTaGZ_Y.js} +1 -1
- package/_assets/{secp256k1-BPdRWJXL.js → secp256k1-CQZtwuUm.js} +1 -1
- package/_assets/{secp256k1--GaGebUJ.js → secp256k1-GE4zGOQU.js} +1 -1
- package/_assets/{send-Cl_aA-ga.js → send-BJWcTbds.js} +1 -1
- package/_assets/{send-batch-transaction-1ElceULH.js → send-batch-transaction-Ba7JslR9.js} +1 -1
- package/_assets/{send-eip712-transaction-BV_DsAbU.js → send-eip712-transaction-BSFP8vKh.js} +2 -2
- package/_assets/send-gasless-transaction-dOOl0_oC.js +2 -0
- package/_assets/{send-transaction-DWimy5qX.js → send-transaction-CMc6wANs.js} +2 -2
- package/_assets/{sendMetaTransaction-B6HBQ8NH.js → sendMetaTransaction-DqzmtvVe.js} +1 -1
- package/_assets/{sendRawTransaction-6C6FbT-9.js → sendRawTransaction-zYZQ5Tfd.js} +3 -3
- package/_assets/{sentry-973sfbO9.js → sentry-B60WY-np.js} +1 -1
- package/_assets/{serializeTransaction-DJpTnAzh.js → serializeTransaction-CDXHLkZy.js} +1 -1
- package/_assets/{session-proposal-B1fE_9QJ.js → session-proposal-B6LJtMoi.js} +1 -1
- package/_assets/{session-request-DVlIT2Cz.js → session-request-B2L7VQbP.js} +2 -2
- package/_assets/{sha256--PXCNFKm.js → sha256-B3W1x8Ou.js} +1 -1
- package/_assets/{signing-C2OtEE_7.js → signing-DH8o0qgI.js} +3 -3
- package/_assets/{socials-CwiK-Oz5.js → socials-De6pYslK.js} +1 -1
- package/_assets/{styled-INC_AiMB.js → styled-Dlzz4gCY.js} +2 -2
- package/_assets/{swaps-Cz6uslns.js → swaps-C1ulCDV2.js} +1 -1
- package/_assets/{thirdweb-QagPg_5G.js → thirdweb-BB9WKhiC.js} +3 -3
- package/_assets/{to-serializable-transaction-CI3ePtUl.js → to-serializable-transaction-BxPcLWhE.js} +2 -2
- package/_assets/{totalSupply-DEpB2B-R.js → totalSupply-BfIXxtR1.js} +1 -1
- package/_assets/{transaction-BRB0QRZP.js → transaction-C7nbuBwl.js} +1 -1
- package/_assets/{transactionReceipt-B2jt8_c5.js → transactionReceipt-D9BW4O3E.js} +1 -1
- package/_assets/{transactions-DuxoNdoM.js → transactions-CA_3u_cG.js} +1 -1
- package/_assets/{useCreditPacks-CeoLpXxe.js → useCreditPacks-D4YqwUaM.js} +1 -1
- package/_assets/useImportable-B7DZOe6X.js +1 -0
- package/_assets/{useInfiniteGrid-D9jUBgv1.js → useInfiniteGrid-DDAFkDbL.js} +1 -1
- package/_assets/useTheme-jEgFLoWg.js +1 -0
- package/_assets/useUrlFilters-DABDXRpV.js +1 -0
- package/_assets/{utils-B9hEgCzc.js → utils-BkRfOA0C.js} +1 -1
- package/_assets/{verifyHash-BWYK-_oQ.js → verifyHash-CfhhiiiM.js} +1 -1
- package/_assets/{w3m-modal-C_cXhjYQ.js → w3m-modal-Dgkl_pUo.js} +1 -1
- package/_assets/{w3m-modal-DeCOfGwP.js → w3m-modal-oirp7A4F.js} +1 -1
- package/_assets/{wait-for-tx-receipt-D52q1hNL.js → wait-for-tx-receipt-DJ9PgMUD.js} +1 -1
- package/_assets/{wallets-BiRgfoDB.js → wallets-Bj-wvS3Z.js} +5 -5
- package/_assets/{web-connector-CI1NmWV2.js → web-connector-Djk4hyaT.js} +3 -3
- package/_assets/{writeContract-J3cBsNY4.js → writeContract-oXMRoqds.js} +1 -1
- package/_assets/{zora-sepolia-Dv22rzxP.js → zora-sepolia-DOetv30E.js} +1 -1
- package/_assets/{zoraTestnet-zRF1Vikt.js → zoraTestnet-nCZwff13.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Assets-CH4B54Xy.js +0 -801
- package/_assets/Creator-2jJw01qB.js +0 -306
- package/_assets/LazyEmoteControls-D7IWhRxC.js +0 -2
- package/_assets/authorizations-w-yCHVpU.js +0 -1
- package/_assets/buy-DIVuBMot.js +0 -1
- package/_assets/decimals-BpjIyOut.js +0 -1
- package/_assets/errors-BAqCaL6O.js +0 -1
- package/_assets/estimate-l1-fee-D_pdXw9y.js +0 -1
- package/_assets/eth_estimateGas-BmR_JMy9.js +0 -1
- package/_assets/eth_getTransactionCount-riJ8hG2K.js +0 -1
- package/_assets/get-ecosystem-wallet-info-C5KzHIh2.js +0 -1
- package/_assets/getNFT-BXJA28mr.js +0 -1
- package/_assets/index-CcbRdBPP.js +0 -1
- package/_assets/index-DbCMsBDL.js +0 -3504
- package/_assets/parseNft-pYm9OVKe.js +0 -2
- package/_assets/send-gasless-transaction-eTi92Rfc.js +0 -2
- package/_assets/useImportable-CHlGR9sz.js +0 -1
- package/_assets/useTheme-HGI9qk_L.js +0 -1
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{j as e,r as j}from"./react-OEOSdkUk.js";import{s as t,I as R,t as S,ah as N,b as p}from"./index-0kdmGL8P.js";const D=t(R)`
|
|
2
|
+
transition: transform 0.15s ease;
|
|
3
|
+
|
|
4
|
+
&[data-up='true'] {
|
|
5
|
+
transform: rotate(180deg);
|
|
6
|
+
}
|
|
7
|
+
`;function I({up:x=!1,...u}){return e.jsx(D,{name:"chevron-down","data-up":x||void 0,...u})}const{colors:B,font:A}=S,G=t.div`
|
|
2
8
|
display: flex;
|
|
3
9
|
flex-direction: column;
|
|
4
10
|
gap: 2px;
|
|
@@ -20,7 +26,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
20
26
|
display: flex;
|
|
21
27
|
flex-direction: column;
|
|
22
28
|
gap: 2px;
|
|
23
|
-
`,
|
|
29
|
+
`,U=t.div`
|
|
24
30
|
display: grid;
|
|
25
31
|
grid-template-rows: 0fr;
|
|
26
32
|
transition: grid-template-rows 0.22s ease;
|
|
@@ -32,13 +38,13 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
32
38
|
@media (prefers-reduced-motion: reduce) {
|
|
33
39
|
transition: none;
|
|
34
40
|
}
|
|
35
|
-
`,
|
|
41
|
+
`,T=t.div`
|
|
36
42
|
overflow: hidden;
|
|
37
43
|
min-height: 0;
|
|
38
44
|
display: flex;
|
|
39
45
|
flex-direction: column;
|
|
40
46
|
gap: 2px;
|
|
41
|
-
`,W=
|
|
47
|
+
`,W=N`
|
|
42
48
|
display: flex;
|
|
43
49
|
align-items: center;
|
|
44
50
|
justify-content: space-between;
|
|
@@ -62,7 +68,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
62
68
|
&[data-expanded] {
|
|
63
69
|
background: ${B.media};
|
|
64
70
|
}
|
|
65
|
-
`,
|
|
71
|
+
`,Q=t.button`
|
|
66
72
|
${W};
|
|
67
73
|
padding-left: 24px;
|
|
68
74
|
|
|
@@ -79,22 +85,22 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
79
85
|
font-size: 14px;
|
|
80
86
|
line-height: 1.57;
|
|
81
87
|
color: ${B.text};
|
|
82
|
-
`,
|
|
88
|
+
`,q=t.span`
|
|
83
89
|
display: flex;
|
|
84
90
|
align-items: center;
|
|
85
91
|
gap: 8px;
|
|
86
92
|
min-width: 0;
|
|
87
|
-
`,
|
|
93
|
+
`,J=t(R)`
|
|
88
94
|
width: 24px;
|
|
89
95
|
height: 24px;
|
|
90
96
|
color: ${B.gray0};
|
|
91
|
-
`,
|
|
97
|
+
`,V=t.span`
|
|
92
98
|
font-family: ${A.sans};
|
|
93
99
|
font-weight: 400;
|
|
94
100
|
font-size: 14px;
|
|
95
101
|
line-height: 1.5;
|
|
96
102
|
color: ${B.gray0};
|
|
97
|
-
`,
|
|
103
|
+
`,X=t.p`
|
|
98
104
|
font-family: ${A.sans};
|
|
99
105
|
font-weight: 600;
|
|
100
106
|
font-size: 13px;
|
|
@@ -103,10 +109,10 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
103
109
|
color: #6a6a6a;
|
|
104
110
|
margin: 0 0 4px;
|
|
105
111
|
padding: 8px 16px 0;
|
|
106
|
-
`,
|
|
112
|
+
`,Y=[{key:"all",labelKey:"categories.shopAll"},{key:"wearable",labelKey:"categories.wearables",expandable:!0,subs:[{key:"Head",labelKey:"categories.head",icon:"cat-head"},{key:"Upper Body",labelKey:"categories.upperBody",icon:"cat-upper"},{key:"Handwear",labelKey:"categories.handwear",icon:"cat-handwear"},{key:"Lower Body",labelKey:"categories.lowerBody",icon:"cat-lower"},{key:"Feet",labelKey:"categories.feet",icon:"cat-feet"},{key:"Accessories",labelKey:"categories.accessories",icon:"cat-accessories"},{key:"Skins",labelKey:"categories.skins",icon:"cat-skins"}]},{key:"emote",labelKey:"categories.emotes",expandable:!0,subs:[{key:"Dance",labelKey:"categories.dance",icon:"emote-dance"},{key:"Stunt",labelKey:"categories.stunt",icon:"emote-stunt"},{key:"Greetings",labelKey:"categories.greetings",icon:"emote-greetings"},{key:"Fun",labelKey:"categories.fun",icon:"emote-fun"},{key:"Poses",labelKey:"categories.poses",icon:"emote-poses"},{key:"Reactions",labelKey:"categories.reactions",icon:"emote-reactions"},{key:"Horror",labelKey:"categories.horror",icon:"emote-horror"},{key:"Miscellaneous",labelKey:"categories.miscellaneous",icon:"emote-misc"}]},{key:"names",labelKey:"categories.names"}];function Ke({category:x,subCategory:u,onCategory:b,onSub:y,title:f,flat:m=!1,collections:h=!1,onCollections:w,hideAll:g=!1,hideNames:r=!1,extraLabelKey:v="categories.collections"}){const[C,F]=j.useState(()=>x==="wearable"?"wearable":null);function l(o){o.subs?F(s=>{const c=s!==o.key;return c&&b(o.key),c?o.key:null}):(b(o.key),F(null))}return e.jsxs(G,{"data-flat":m||void 0,children:[f?e.jsx(X,{children:f}):null,Y.filter(o=>!(g&&o.key==="all")&&!(r&&o.key==="names")).map(o=>{const s=C===o.key&&!!o.subs,c=!h&&o.key===x;return e.jsxs(H,{children:[e.jsxs(L,{type:"button","data-cat":!0,"data-expanded":s||void 0,"data-selected":c||void 0,onClick:()=>l(o),children:[e.jsx(P,{children:p(o.labelKey)}),o.expandable?e.jsx(I,{up:s,size:24,color:S.colors.text}):null]}),o.subs?e.jsx(U,{"data-open":s||void 0,children:e.jsx(T,{children:o.subs.map(d=>e.jsx(Q,{type:"button","data-sub":!0,"data-active":u===d.key||void 0,onClick:()=>y(u===d.key?null:d.key),children:e.jsxs(q,{children:[e.jsx(J,{name:d.icon,"aria-hidden":!0}),e.jsx(V,{"data-sub-label":!0,children:p(d.labelKey)})]})},d.key))})}):null]},o.key)}),w?e.jsx(H,{children:e.jsx(L,{type:"button","data-cat":!0,"data-selected":h||void 0,onClick:w,children:e.jsx(P,{children:p(v)})})}):null]})}const{colors:k,radius:_}=S,Z=t.div`
|
|
107
113
|
position: relative;
|
|
108
114
|
display: inline-block;
|
|
109
|
-
`,
|
|
115
|
+
`,ee=t.button`
|
|
110
116
|
display: inline-flex;
|
|
111
117
|
align-items: center;
|
|
112
118
|
justify-content: space-between;
|
|
@@ -131,10 +137,10 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
131
137
|
outline: 0;
|
|
132
138
|
border-color: ${k.accent};
|
|
133
139
|
}
|
|
134
|
-
`,
|
|
140
|
+
`,te=t.span`
|
|
135
141
|
overflow: hidden;
|
|
136
142
|
text-overflow: ellipsis;
|
|
137
|
-
`,
|
|
143
|
+
`,oe=t.ul`
|
|
138
144
|
position: absolute;
|
|
139
145
|
top: calc(100% + 8px);
|
|
140
146
|
z-index: 40;
|
|
@@ -154,7 +160,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
154
160
|
&[data-align='right'] {
|
|
155
161
|
right: 0;
|
|
156
162
|
}
|
|
157
|
-
`,
|
|
163
|
+
`,ne=t.button`
|
|
158
164
|
display: flex;
|
|
159
165
|
align-items: center;
|
|
160
166
|
width: 100%;
|
|
@@ -176,7 +182,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
176
182
|
&[data-active] {
|
|
177
183
|
background: ${k.media};
|
|
178
184
|
}
|
|
179
|
-
`;function
|
|
185
|
+
`;function ae({options:x,value:u,onChange:b,label:y,placeholder:f,align:m="left",className:h="",ariaLabel:w,open:g,onOpenChange:r}){const[v,C]=j.useState(!1),l=g!==void 0?g:v,o=j.useRef(null),s=j.useRef(r);s.current=r;const c=j.useCallback(n=>{var $;g!==void 0?($=s.current)==null||$.call(s,n):C(n)},[g]),d=x.find(n=>n.value===u),E=y??(d==null?void 0:d.label)??f;return j.useEffect(()=>{if(!l)return;function n(a){o.current&&!o.current.contains(a.target)&&c(!1)}function $(a){a.key==="Escape"&&c(!1)}return document.addEventListener("pointerdown",n),document.addEventListener("keydown",$),()=>{document.removeEventListener("pointerdown",n),document.removeEventListener("keydown",$)}},[l,c]),e.jsxs(Z,{className:h||void 0,ref:o,children:[e.jsxs(ee,{type:"button","data-dropdown-trigger":!0,"data-open":l||void 0,"aria-haspopup":"listbox","aria-expanded":l,"aria-label":w,onClick:()=>c(!l),children:[e.jsx(te,{children:E}),e.jsx(I,{up:l,size:24,color:S.colors.text2})]}),l?e.jsx(oe,{"data-align":m,role:"listbox",children:x.map(n=>e.jsx("li",{role:"none",children:e.jsx(ne,{type:"button",role:"option","aria-selected":n.value===u,"data-active":n.value===u||void 0,onClick:()=>{b(n.value),c(!1)},children:n.label})},n.value))}):null]})}const{colors:z}=S,ie=t.div`
|
|
180
186
|
position: absolute;
|
|
181
187
|
top: calc(100% + 8px);
|
|
182
188
|
left: 0;
|
|
@@ -198,7 +204,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
198
204
|
min-width: 240px;
|
|
199
205
|
padding: 12px;
|
|
200
206
|
}
|
|
201
|
-
`,
|
|
207
|
+
`,se=t.label`
|
|
202
208
|
display: flex;
|
|
203
209
|
align-items: center;
|
|
204
210
|
gap: 8px;
|
|
@@ -216,7 +222,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
216
222
|
width: 15px;
|
|
217
223
|
height: 15px;
|
|
218
224
|
}
|
|
219
|
-
`,
|
|
225
|
+
`,Ce=t.div`
|
|
220
226
|
display: flex;
|
|
221
227
|
align-items: center;
|
|
222
228
|
gap: 8px;
|
|
@@ -237,17 +243,17 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
237
243
|
-webkit-appearance: none;
|
|
238
244
|
margin: 0;
|
|
239
245
|
}
|
|
240
|
-
`,
|
|
246
|
+
`,Fe=t.p`
|
|
241
247
|
margin: 8px 2px 0;
|
|
242
248
|
color: ${z.muted};
|
|
243
249
|
font-size: 12px;
|
|
244
|
-
`,{colors:i,media:K,radius:
|
|
250
|
+
`,{colors:i,media:K,radius:re}=S,le=t.div`
|
|
245
251
|
display: flex;
|
|
246
252
|
flex-wrap: wrap;
|
|
247
253
|
align-items: center;
|
|
248
254
|
gap: 8px 12px;
|
|
249
255
|
margin-bottom: 20px;
|
|
250
|
-
`,
|
|
256
|
+
`,ce=t.span`
|
|
251
257
|
order: 1;
|
|
252
258
|
color: ${i.muted};
|
|
253
259
|
font-weight: 400;
|
|
@@ -259,7 +265,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
259
265
|
font-size: 12px;
|
|
260
266
|
line-height: 1;
|
|
261
267
|
}
|
|
262
|
-
`,
|
|
268
|
+
`,de=t.div`
|
|
263
269
|
order: 2;
|
|
264
270
|
display: flex;
|
|
265
271
|
flex-wrap: wrap;
|
|
@@ -271,13 +277,13 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
271
277
|
flex-basis: 100%;
|
|
272
278
|
gap: 4px;
|
|
273
279
|
}
|
|
274
|
-
`,
|
|
280
|
+
`,pe=t.button`
|
|
275
281
|
display: inline-flex;
|
|
276
282
|
align-items: center;
|
|
277
283
|
gap: 4px;
|
|
278
284
|
padding: 2px 4px 2px 8px;
|
|
279
285
|
border: 0;
|
|
280
|
-
border-radius: ${
|
|
286
|
+
border-radius: ${re.pill};
|
|
281
287
|
background: ${i.gray0};
|
|
282
288
|
color: ${i.white};
|
|
283
289
|
font-weight: 400;
|
|
@@ -297,7 +303,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
297
303
|
outline: 2px solid ${i.accent};
|
|
298
304
|
outline-offset: 2px;
|
|
299
305
|
}
|
|
300
|
-
`,
|
|
306
|
+
`,xe=t(R)`
|
|
301
307
|
width: 14px;
|
|
302
308
|
height: 14px;
|
|
303
309
|
color: ${i.white};
|
|
@@ -317,7 +323,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
317
323
|
outline: 2px solid ${i.accent};
|
|
318
324
|
outline-offset: 2px;
|
|
319
325
|
}
|
|
320
|
-
`,
|
|
326
|
+
`,ue=t.div`
|
|
321
327
|
flex: 0 1 405px;
|
|
322
328
|
min-width: 200px;
|
|
323
329
|
|
|
@@ -327,7 +333,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
327
333
|
order: -1;
|
|
328
334
|
flex: 1 0 100%;
|
|
329
335
|
}
|
|
330
|
-
`,
|
|
336
|
+
`,he=t.div`
|
|
331
337
|
order: 4;
|
|
332
338
|
display: flex;
|
|
333
339
|
align-items: center;
|
|
@@ -360,7 +366,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
360
366
|
text-transform: none;
|
|
361
367
|
}
|
|
362
368
|
}
|
|
363
|
-
`,
|
|
369
|
+
`,fe=t.button`
|
|
364
370
|
display: inline-flex;
|
|
365
371
|
align-items: center;
|
|
366
372
|
gap: 4px;
|
|
@@ -391,14 +397,14 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
391
397
|
width: 20px;
|
|
392
398
|
height: 20px;
|
|
393
399
|
color: ${i.text2};
|
|
394
|
-
`,
|
|
400
|
+
`,be=t.div`
|
|
395
401
|
order: 2;
|
|
396
402
|
display: flex;
|
|
397
403
|
align-items: center;
|
|
398
404
|
gap: 8px;
|
|
399
|
-
`,
|
|
405
|
+
`,ye=t.div`
|
|
400
406
|
position: relative;
|
|
401
|
-
`,
|
|
407
|
+
`,me=t.button`
|
|
402
408
|
display: inline-flex;
|
|
403
409
|
align-items: center;
|
|
404
410
|
gap: 6px;
|
|
@@ -424,7 +430,7 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
424
430
|
outline: 2px solid ${i.accent};
|
|
425
431
|
outline-offset: 2px;
|
|
426
432
|
}
|
|
427
|
-
`,
|
|
433
|
+
`,we=t.span`
|
|
428
434
|
display: inline-grid;
|
|
429
435
|
place-items: center;
|
|
430
436
|
min-width: 18px;
|
|
@@ -435,8 +441,14 @@ import{r as j,j as e}from"./react-DehiWSvs.js";import{s as t,t as S,I as R,ae as
|
|
|
435
441
|
color: ${i.white};
|
|
436
442
|
font-size: 11px;
|
|
437
443
|
font-weight: 700;
|
|
438
|
-
`,
|
|
444
|
+
`,ke=t.div`
|
|
439
445
|
position: fixed;
|
|
440
446
|
inset: 0;
|
|
441
447
|
z-index: 34;
|
|
442
|
-
`,
|
|
448
|
+
`,ve=t.span`
|
|
449
|
+
display: inline-block;
|
|
450
|
+
width: 72px;
|
|
451
|
+
height: 1em;
|
|
452
|
+
vertical-align: -0.1em;
|
|
453
|
+
border-radius: 4px;
|
|
454
|
+
`,$e=["common","uncommon","epic","rare","legendary","exotic","mythic","unique"],je=[{key:"newest",label:"filterBar.sortNewest",server:"newest"},{key:"price-asc",label:"filterBar.sortCheapest",server:"cheapest"},{key:"price-desc",label:"filterBar.sortMostExpensive",server:"most_expensive"},{key:"name",label:"filterBar.sortName",server:"name"}];function Se({panelKey:x,label:u,active:b,badge:y,panel:f,children:m}){const h=f.open===x;return e.jsxs(ye,{children:[e.jsxs(me,{type:"button","data-open":h||void 0,"data-active":b||void 0,onClick:()=>f.toggle(x),children:[u," ",y?e.jsx(we,{children:y}):null," ",e.jsx(I,{up:h,size:24,color:S.colors.text2})]}),h?m:null]})}function Ee({sort:x,onSort:u,sortOptions:b=je,total:y,loading:f,query:m,onOpenFilters:h,chips:w,onClearChips:g,rarities:r,onToggleRarity:v,rarityOptions:C=$e,anyActive:F,onClear:l,renderLeading:o,renderTrailing:s,search:c}){const[d,E]=j.useState(null),n={open:d,toggle:a=>E(M=>M===a?null:a),close:()=>E(null)},$=!!v||!!o||!!s;return e.jsxs(e.Fragment,{children:[d?e.jsx(ke,{onClick:n.close,"aria-hidden":!0}):null,e.jsxs(le,{"data-testid":"browse-toolbar",children:[e.jsx(ce,{"data-testid":"browse-count","aria-busy":f||void 0,children:f?e.jsx(ve,{className:"skeleton","data-testid":"browse-count-skeleton","aria-hidden":!0}):e.jsxs(e.Fragment,{children:[p("filterBar.count",{count:y}),m?` ${p("filterBar.forQuery",{query:m})}`:""]})}),w&&w.length?e.jsxs(de,{"data-testid":"filter-chips",children:[w.map(a=>e.jsxs(pe,{type:"button",onClick:a.onRemove,"aria-label":p("filterBar.removeFilter",{filter:a.label}),children:[e.jsx("span",{children:a.label}),e.jsx(xe,{name:"close","aria-hidden":!0})]},a.key)),g?e.jsx(O,{type:"button",onClick:g,children:p("filterBar.clearAll")}):null]}):null,$?e.jsxs(be,{children:[o==null?void 0:o(n),v?e.jsx(Se,{panelKey:"rarity",label:p("filterBar.rarity"),active:((r==null?void 0:r.length)??0)>0,badge:(r==null?void 0:r.length)||void 0,panel:n,children:e.jsx(ie,{"data-variant":"rarity",children:C.map(a=>e.jsxs(se,{children:[e.jsx("input",{type:"checkbox",checked:(r==null?void 0:r.includes(a))??!1,onChange:()=>v(a)}),e.jsx("span",{children:a})]},a))})}):null,s==null?void 0:s(n),F?e.jsx(O,{type:"button",onClick:()=>{l==null||l(),n.close()},children:p("filterBar.clearAll")}):null]}):null,e.jsxs(he,{children:[c?e.jsx(ue,{children:c}):null,e.jsx(ae,{label:p("filterBar.sortBy"),ariaLabel:p("filterBar.sortBy"),value:x,options:b.map(a=>({value:a.key,label:p(a.label)})),onChange:u,align:"right",open:n.open==="sort",onOpenChange:a=>a?n.toggle("sort"):n.close()}),h?e.jsxs(fe,{type:"button",onClick:h,children:[p("filterBar.filters"),e.jsx(ge,{name:"filter","aria-hidden":!0})]}):null]})]})]})}const Re={Head:["head","hat","hair","facial_hair","eyes","eyebrows","mouth","mask","helmet","tiara","top_head"],"Upper Body":["upper_body"],Handwear:["hands_wear"],"Lower Body":["lower_body"],Feet:["feet"],Accessories:["earring","eyewear"],Skins:["skin"],Dance:["dance"],Stunt:["stunt"],Greetings:["greetings"],Fun:["fun"],Poses:["poses"],Reactions:["reactions"],Horror:["horror"],Miscellaneous:["miscellaneous"]};export{Ke as C,Ee as F,Fe as H,ie as P,$e as R,je as S,Y as a,I as b,Se as c,Ce as d,Re as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ao as R,aQ as M,bi as S,ak as $,ax as A}from"./sendRawTransaction-
|
|
1
|
+
import{ao as R,aQ as M,bi as S,ak as $,ax as A}from"./sendRawTransaction-zYZQ5Tfd.js";import{B as p,ar as b,am as k,as as w,at as E,H as u,ac as T}from"./NetworkUtil-CO-1nCx-.js";import{l as C,b as G}from"./localBatchGatewayRequest-DjDL8c_C.js";import"./index-0kdmGL8P.js";import"./react-OEOSdkUk.js";import"./sentry-B60WY-np.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-lk3HAbPB.js";import"./intl-CBcMB1D2.js";class D extends p{constructor({callbackSelector:a,cause:t,data:f,extraData:e,sender:i,urls:d}){var s;super(t.shortMessage||"An error occurred while fetching for an offchain result.",{cause:t,metaMessages:[...t.metaMessages||[],(s=t.metaMessages)!=null&&s.length?"":[],"Offchain Gateway Call:",d&&[" Gateway URL(s):",...d.map(n=>` ${b(n)}`)],` Sender: ${i}`,` Data: ${f}`,` Callback selector: ${a}`,` Extra data: ${e}`].flat(),name:"OffchainLookupError"})}}class B extends p{constructor({result:a,url:t}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${b(t)}`,`Response: ${k(a)}`],name:"OffchainLookupResponseMalformedError"})}}class P extends p{constructor({sender:a,to:t}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${t}`,`OffchainLookup sender address: ${a}`],name:"OffchainLookupSenderMismatchError"})}}const z="0x556f1830",U={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function K(c,{blockNumber:a,blockTag:t,data:f,requestOptions:e,to:i}){var o;const{args:d}=R({data:f,abi:[U]}),[s,n,l,m,y]=d,{ccipRead:h}=c,r=h&&typeof(h==null?void 0:h.request)=="function"?h.request:j;try{if(!M(i,s))throw new P({sender:s,to:i});const g=n.includes(C)?await G({data:l,ccipRequest:x=>r({...x,requestOptions:e})}):await r({data:l,requestOptions:e,sender:s,urls:n}),{data:L}=await S(c,{blockNumber:a,blockTag:t,data:$([m,A([{type:"bytes"},{type:"bytes"}],[g,y])]),requestOptions:e,to:i});return L}catch(g){throw(o=e==null?void 0:e.signal)!=null&&o.aborted?w(e.signal):E(g)?g:new D({callbackSelector:m,cause:g,data:f,extraData:y,sender:s,urls:n})}}async function j({data:c,requestOptions:a,sender:t,urls:f}){var i,d,s;let e=new Error("An unknown error occurred.");for(let n=0;n<f.length;n++){if((i=a==null?void 0:a.signal)!=null&&i.aborted)throw w(a.signal);const l=f[n],m=l.includes("{data}")?"GET":"POST",y=m==="POST"?{data:c,sender:t}:void 0,h=m==="POST"?{"Content-Type":"application/json"}:{};try{const r=await fetch(l.replace("{sender}",t.toLowerCase()).replace("{data}",c),{body:JSON.stringify(y),headers:h,method:m,...a!=null&&a.signal?{signal:a.signal}:{}});let o;if((d=r.headers.get("Content-Type"))!=null&&d.startsWith("application/json")?o=(await r.json()).data:o=await r.text(),!r.ok){e=new u({body:y,details:o!=null&&o.error?k(o.error):r.statusText,headers:r.headers,status:r.status,url:l});continue}if(!T(o)){e=new B({result:o,url:l});continue}return o}catch(r){if((s=a==null?void 0:a.signal)!=null&&s.aborted)throw w(a.signal);if(E(r))throw r;e=new u({body:y,details:r.message,url:l})}}throw e}export{j as ccipRequest,K as offchainLookup,U as offchainLookupAbiItem,z as offchainLookupSignature};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as k,a as b,c as L}from"./parseSignature-
|
|
1
|
+
import{l as k,a as b,c as L}from"./parseSignature-C3vshYUJ.js";import{s as y,b as O}from"./to-serializable-transaction-BxPcLWhE.js";import{B as m,q as E,w as x,j as R}from"./prepare-contract-call-Nm9e1q7x.js";import{g as w,H as h}from"./rpc-lGsIPm3Z.js";import{i as M}from"./get-bytecode-BsB9WanS.js";import"./transactionReceipt-D9BW4O3E.js";import"./sha256-B3W1x8Ou.js";import"./index-0kdmGL8P.js";import"./react-OEOSdkUk.js";import"./sentry-B60WY-np.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-lk3HAbPB.js";import"./intl-CBcMB1D2.js";import"./hashTypedData-CcYMI56c.js";import"./transaction-C7nbuBwl.js";import"./utils-BkRfOA0C.js";class q extends m{constructor({callbackSelector:s,cause:t,data:n,extraData:i,sender:f,urls:a}){var o;super(t.shortMessage||"An error occurred while fetching for an offchain result.",{cause:t,metaMessages:[...t.metaMessages||[],(o=t.metaMessages)!=null&&o.length?"":[],"Offchain Gateway Call:",a&&[" Gateway URL(s):",...a.map(p=>` ${w(p)}`)],` Sender: ${f}`,` Data: ${n}`,` Callback selector: ${s}`,` Extra data: ${i}`].flat(),name:"OffchainLookupError"})}}class S extends m{constructor({result:s,url:t}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${w(t)}`,`Response: ${y(s)}`],name:"OffchainLookupResponseMalformedError"})}}class $ extends m{constructor({sender:s,to:t}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${t}`,`OffchainLookup sender address: ${s}`],name:"OffchainLookupSenderMismatchError"})}}const K="0x556f1830",T={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function Q(c,{blockNumber:s,blockTag:t,data:n,to:i}){const{args:f}=O({data:n,abi:[T]}),[a,o,p,d,r]=f,{ccipRead:e}=c,u=e&&typeof(e==null?void 0:e.request)=="function"?e.request:C;try{if(!M(i,a))throw new $({sender:a,to:i});const l=o.includes(k)?await b({data:p,ccipRequest:u}):await u({data:p,sender:a,urls:o}),{data:g}=await L(c,{blockNumber:s,blockTag:t,data:x([d,R([{type:"bytes"},{type:"bytes"}],[l,r])]),to:i});return g}catch(l){throw new q({callbackSelector:d,cause:l,data:n,extraData:r,sender:a,urls:o})}}async function C({data:c,sender:s,urls:t}){var i;let n=new Error("An unknown error occurred.");for(let f=0;f<t.length;f++){const a=t[f],o=a.includes("{data}")?"GET":"POST",p=o==="POST"?{data:c,sender:s}:void 0,d=o==="POST"?{"Content-Type":"application/json"}:{};try{const r=await fetch(a.replace("{sender}",s.toLowerCase()).replace("{data}",c),{body:JSON.stringify(p),headers:d,method:o});let e;if((i=r.headers.get("Content-Type"))!=null&&i.startsWith("application/json")?e=(await r.json()).data:e=await r.text(),!r.ok){n=new h({body:p,details:e!=null&&e.error?y(e.error):r.statusText,headers:r.headers,status:r.status,url:a});continue}if(!E(e)){n=new S({result:e,url:a});continue}return e}catch(r){n=new h({body:p,details:r.message,url:a})}}throw n}export{C as ccipRequest,Q as offchainLookup,T as offchainLookupAbiItem,K as offchainLookupSignature};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e}from"./utils-B9hEgCzc.js";import{k as Ae,b as Me}from"./utils-B9hEgCzc.js";import{b as Be,a as He,o as ze,c as fe,z as Le,d as Pe}from"./zora-sepolia-Dv22rzxP.js";import{e as Ie,m as Ue}from"./ethereum-CliiIOgc.js";import"./sentry-973sfbO9.js";import"./react-DehiWSvs.js";const o=e({blockExplorers:[{name:"Abstract Block Explorer",url:"https://explorer.abs.xyz"}],id:2741,name:"Abstract",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),s=e({blockExplorers:[{name:"Abstract Testnet Block Explorer",url:"https://explorer.testnet.abs.xyz"}],id:11124,name:"Abstract Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),l=e({id:31337,name:"Anvil",nativeCurrency:{decimals:18,name:"Anvil Ether",symbol:"ETH"},rpc:"http://127.0.0.1:8545",testnet:!0}),c=e({blockExplorers:[{apiUrl:"https://api.arbiscan.io/api",name:"Arbiscan",url:"https://arbiscan.io"}],id:42161,name:"Arbitrum One",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),i=e({blockExplorers:[{name:"Arbiscan",url:"https://nova.arbiscan.io/"}],id:42170,name:"Arbitrum Nova",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),m=e({blockExplorers:[{apiUrl:"https://sepolia.arbiscan.io/api",name:"Arbiscan",url:"https://sepolia.arbiscan.io"}],id:421614,name:"Arbitrum Sepolia",nativeCurrency:{decimals:18,name:"Arbitrum Sepolia Ether",symbol:"ETH"},testnet:!0}),p=e({blockExplorers:[{name:"Arc Testnet Explorer",url:"https://testnet.arcscan.app"}],id:5042002,name:"Arc Testnet",nativeCurrency:{decimals:18,name:"USDC",symbol:"USDC"},testnet:!0}),u=e({blockExplorers:[{apiUrl:"https://scan-testnet.assetchain.org/api",name:"Asset Chain Testnet Explorer",url:"https://scan-testnet.assetchain.org"}],id:42421,name:"AssetChain Testnet",nativeCurrency:{decimals:18,name:"Real World Asset",symbol:"RWA"},testnet:!0}),b=e({blockExplorers:[{name:"Astria EVM Dusknet Explorer",url:"https://explorer.evm.dusk-3.devnet.astria.org/"}],id:912559,name:"Astria EVM Dusknet",nativeCurrency:{decimals:18,name:"RIA",symbol:"RIA"}}),h=e({blockExplorers:[{apiUrl:"https://api.snowtrace.io/api",name:"SnowTrace",url:"https://snowtrace.io"}],id:43114,name:"Avalanche",nativeCurrency:{decimals:18,name:"Avalanche",symbol:"AVAX"}}),E=e({blockExplorers:[{apiUrl:"https://api-testnet.snowtrace.io/api",name:"SnowTrace",url:"https://testnet.snowtrace.io"}],id:43113,name:"Avalanche Fuji",nativeCurrency:{decimals:18,name:"Avalanche Fuji",symbol:"AVAX"},testnet:!0}),d=e({blockExplorers:[{apiUrl:"https://api.berascan.com/api",name:"berascan",url:"https://berascan.com/"}],id:80094,name:"Berachain",nativeCurrency:{decimals:18,name:"BERA",symbol:"BERA"}}),y=e({blockExplorers:[{name:"beratrail",url:"https://bepolia.beratrail.io/"}],id:80069,name:"Berachain Bepolia",nativeCurrency:{decimals:18,name:"BERA",symbol:"BERA"},testnet:!0}),x=e({blockExplorers:[{apiUrl:"https://api.blastscan.io/api",name:"Blastscan",url:"https://blastscan.io"}],id:81457,name:"Blast",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),k=e({blockExplorers:[{name:"Blast Sepolia Explorer",url:"https://testnet.blastscan.io"}],id:168587773,name:"Blast Sepolia Testnet",nativeCurrency:{decimals:18,name:"Sepolia Ether",symbol:"ETH"},testnet:!0}),T=e({blockExplorers:[{name:"bscscan",url:"https://bscscan.com"}],id:56,name:"BNB Smart Chain Mainnet",nativeCurrency:{decimals:18,name:"BNB Chain Native Token",symbol:"BNB"}}),C=e({blockExplorers:[{name:"bscscan-testnet",url:"https://testnet.bscscan.com"}],id:97,name:"BNB Smart Chain Testnet",nativeCurrency:{decimals:18,name:"BNB Chain Native Token",symbol:"tBNB"}}),v=e({blockExplorers:[{name:"blockscout",url:"https://explorer.celo.org"}],id:42220,name:"Celo Mainnet",nativeCurrency:{decimals:18,name:"CELO",symbol:"CELO"}}),S=e({blockExplorers:[{name:"Celo Sepolia Explorer",url:"https://celo-sepolia.blockscout.com/"}],id:11142220,name:"Celo Sepolia Testnet",nativeCurrency:{decimals:18,name:"CELO",symbol:"CELO-S"},testnet:!0}),A=e({blockExplorers:[{name:"Core Scan",url:"https://scan.coredao.org/"}],id:1116,name:"Core",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),M=e({blockExplorers:[{name:"Core Testnet Scan",url:"https://scan.test2.btcs.network/"}],id:1114,name:"Core Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),g=e({blockExplorers:[{name:"Cronos Explorer",url:"https://explorer.cronos.org"}],id:25,name:"Cronos Mainnet",nativeCurrency:{decimals:18,name:"Cronos",symbol:"CRO"}}),B=e({blockExplorers:[],id:666666666,name:"Degen Chain",nativeCurrency:{decimals:18,name:"DEGEN",symbol:"DEGEN"}}),H=e({blockExplorers:[{name:"Etherlink Explorer",url:"https://explorer.etherlink.com/"}],id:42793,name:"Etherlink",nativeCurrency:{decimals:18,name:"Etherlink",symbol:"XTZ"}}),z=e({blockExplorers:[{name:"Etherlink Shadownet Explorer",url:"https://shadownet.explorer.etherlink.com/"}],id:127823,name:"Etherlink Shadownet",nativeCurrency:{decimals:18,name:"Etherlink",symbol:"XTZ"},testnet:!0}),f=e({blockExplorers:[{name:"Etherlink Testnet Explorer",url:"https://testnet.explorer.etherlink.com/"}],id:128123,name:"Etherlink Testnet",nativeCurrency:{decimals:18,name:"Etherlink",symbol:"XTZ"},testnet:!0}),L=e({blockExplorers:[{name:"ftmscan",url:"https://ftmscan.com"}],id:250,name:"Fantom Opera",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"}}),P=e({blockExplorers:[{name:"ftmscan",url:"https://testnet.ftmscan.com"}],id:4002,name:"Fantom Testnet",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},testnet:!0}),w=e({blockExplorers:[{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz"}],id:68840142,name:"Frame Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),I=e({blockExplorers:[{name:"Fraxscan",url:"https://holesky.fraxscan.com/"}],id:2522,name:"Fraxtal Testnet",nativeCurrency:{decimals:18,name:"Frax Ether",symbol:"frxETH"},testnet:!0}),U=e({blockExplorers:[{name:"blockscout",url:"https://gnosis.blockscout.com"}],id:100,name:"Gnosis",nativeCurrency:{decimals:18,name:"xDAI",symbol:"XDAI"}}),R=e({blockExplorers:[{name:"blockscout",url:"https://gnosis-chiado.blockscout.com"}],id:10200,name:"Gnosis Chiado Testnet",nativeCurrency:{decimals:18,name:"xDAI",symbol:"XDAI"},testnet:!0}),G=e({blockExplorers:[{name:"GWScan Block Explorer",url:"https://v1.gwscan.com"}],id:71402,name:"Godwoken Mainnet",nativeCurrency:{decimals:18,name:"pCKB",symbol:"pCKB"}}),F=e({blockExplorers:[{name:"GWScan Block Explorer",url:"https://v1.testnet.gwscan.com"}],id:71401,name:"Godwoken Testnet v1",nativeCurrency:{decimals:18,name:"pCKB",symbol:"pCKB"},testnet:!0}),D=e({id:31337,name:"Hardhat",nativeCurrency:{decimals:18,name:"Hardhat Ether",symbol:"ETH"},rpc:"http://127.0.0.1:8545",testnet:!0}),N=e({blockExplorers:[{name:"Hokum Explorer",url:"https://testnet-explorer.hokum.gg"}],id:20482050,name:"Hokum Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),X=e({blockExplorers:[{apiUrl:"https://api.lineascan.build/api",name:"LineaScan",url:"https://lineascan.build"}],id:59144,name:"Linea",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),O=e({blockExplorers:[{apiUrl:"https://api-sepolia.lineascan.build/api",name:"LineaScan",url:"https://sepolia.lineascan.build"}],id:59141,name:"Linea Sepolia",nativeCurrency:{decimals:18,name:"Sepolia Ether",symbol:"ETH"},testnet:!0}),V=e({id:1337,name:"Localhost",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpc:"http://127.0.0.1:8545",testnet:!0}),Z=e({blockExplorers:[{name:"Explorer",url:"https://explorer.lootchain.com/"}],id:5151706,name:"Loot Chain Mainnet",nativeCurrency:{decimals:18,name:"AGLD",symbol:"AGLD"}}),W=e({blockExplorers:[{name:"manta-pacific Explorer",url:"https://pacific-explorer.manta.network"}],id:169,name:"Manta Pacific Mainnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),K=e({blockExplorers:[{name:"manta-testnet Explorer",url:"https://manta-testnet.calderaexplorer.xyz"}],id:3441005,name:"Manta Pacific Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),j=e({blockExplorers:[{name:"Blockscout",url:"https://testnet.explorer.metall2.com"}],id:1740,name:"Metal L2 Testnet",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},testnet:!0}),q=e({blockExplorers:[{name:"Modescout",url:"https://explorer.mode.network/"}],id:34443,name:"Mode",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),J=e({blockExplorers:[{name:"Modescout",url:"https://sepolia.explorer.mode.network/"}],id:919,name:"Mode Testnet",nativeCurrency:{decimals:18,name:"Sepolia Ether",symbol:"ETH"},testnet:!0}),Q=e({blockExplorers:[{name:"Monad Vision",url:"https://monadvision.com/"},{name:"Monad Scan",url:"https://monadscan.com/"}],id:143,name:"Monad",nativeCurrency:{decimals:18,name:"Mon",symbol:"MON"}}),Y=e({blockExplorers:[{name:"Monad Explorer",url:"https://testnet.monadexplorer.com/"}],id:10143,name:"Monad Testnet",nativeCurrency:{decimals:18,name:"Mon",symbol:"MON"},testnet:!0}),_=e({blockExplorers:[{name:"moonscan",url:"https://moonbeam.moonscan.io"}],id:1284,name:"Moonbeam",nativeCurrency:{decimals:18,name:"Glimmer",symbol:"GLMR"}}),$=e({blockExplorers:[{name:"Chainlens",url:"https://palm.chainlens.com"}],id:11297108109,name:"Palm",nativeCurrency:{decimals:18,name:"PALM",symbol:"PALM"}}),ee=e({blockExplorers:[{name:"Chainlens",url:"https://testnet.palm.chainlens.com"}],id:11297108099,name:"Palm Testnet",nativeCurrency:{decimals:18,name:"PALM",symbol:"PALM"},testnet:!0}),te=e({blockExplorers:[{apiUrl:"https://api.polygonscan.com/api",name:"PolygonScan",url:"https://polygonscan.com"}],id:137,name:"Polygon",nativeCurrency:{decimals:18,name:"POL",symbol:"POL"}}),ne=e({blockExplorers:[{apiUrl:"https://api-amoy.polygonscan.com/api",name:"PolygonScan",url:"https://amoy.polygonscan.com"}],id:80002,name:"Polygon Amoy",nativeCurrency:{decimals:18,name:"MATIC",symbol:"MATIC"},testnet:!0}),t=e({blockExplorers:[{apiUrl:"https://mumbai.polygonscan.com/api",name:"PolygonScan",url:"https://mumbai.polygonscan.com"}],id:80001,name:"Polygon Mumbai",nativeCurrency:{decimals:18,name:"MATIC",symbol:"MATIC"},testnet:!0}),ae=t,re=e({blockExplorers:[{name:"blockscout",url:"https://zkevm.polygonscan.com"}],id:1101,name:"Polygon zkEVM",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),oe=e({blockExplorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net"}],id:1442,name:"Polygon zkEVM Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),se=e({blockExplorers:[{name:"rarichain-explorer",url:"https://mainnet.explorer.rarichain.org"}],id:1380012617,name:"Rarichain",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),le=e({blockExplorers:[{name:"rarichain-testnet-explorer",url:"https://explorer.rarichain.org"}],id:1918988905,name:"RARIchain Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),ce=e({blockExplorers:[{name:"Scrollscan",url:"https://scrollscan.com"}],id:534352,name:"Scroll",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),ie=e({blockExplorers:[{name:"Scroll Alpha Testnet Block Explorer",url:"https://alpha-blockscout.scroll.io"}],id:534353,name:"Scroll Alpha Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),me=e({blockExplorers:[{name:"Scroll Sepolia Etherscan",url:"https://sepolia.scrollscan.com"}],id:534353,name:"Scroll Sepolia Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),pe=e({blockExplorers:[{apiUrl:"https://api-sepolia.etherscan.io/api",name:"Etherscan",url:"https://sepolia.etherscan.io"}],id:11155111,name:"Sepolia",nativeCurrency:{decimals:18,name:"Sepolia Ether",symbol:"ETH"},testnet:!0}),ue=e({blockExplorers:[{apiUrl:"https://shannon-explorer.somnia.network/api",name:"Somnia Testnet Explorer",url:"https://shannon-explorer.somnia.network/"}],id:50312,name:"Somnia Testnet",nativeCurrency:{decimals:18,name:"Somnia Testnet Token",symbol:"STT"},testnet:!0}),be=e({blockExplorers:[{name:"Minato Explorer",url:"https://explorer-testnet.soneium.org/"}],id:1946,name:"Soneium Minato",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),he=e({blockExplorers:[{name:"T-Rex Testnet Block Explorer",url:"https://testnet.trex.xyz/"}],id:1962,name:"T-Rex Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),Ee=e({blockExplorers:[{name:"Treasure Block Explorer",url:"https://treasurescan.io"}],id:61166,name:"Treasure",nativeCurrency:{decimals:18,name:"MAGIC",symbol:"MAGIC"}}),de=e({blockExplorers:[{name:"Treasure Topaz Block Explorer",url:"https://topaz.treasurescan.io"}],id:978658,name:"Treasure Topaz",nativeCurrency:{decimals:18,name:"MAGIC",symbol:"MAGIC"}}),ye=e({blockExplorers:[{name:"Blockscout",url:"https://explorer.xai-chain.net"}],id:660279,name:"Xai Mainnet",nativeCurrency:{decimals:18,name:"XAI token",symbol:"XAI"}}),xe=e({blockExplorers:[{name:"Blockscout",url:"https://testnet-explorer-v2.xai-chain.net"}],id:37714555429,name:"Xai Sepolia",nativeCurrency:{decimals:18,name:"sXAI",symbol:"sXAI"},testnet:!0}),ke=e({blockExplorers:[{name:"zkCandy Block Explorer",url:"https://sepolia.explorer.zkcandy.io"}],id:302,name:"zkCandy Sepolia Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),Te=e({blockExplorers:[{apiUrl:"https://block-explorer-api.zksync.dev/api",name:"zkSync Era Block Explorer",url:"https://explorer.zksync.io"}],id:324,name:"ZkSync Era",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),Ce=e({blockExplorers:[{apiUrl:"https://block-explorer-api.sepolia.zksync.dev/api",name:"zkSync Sepolia Block Explorer",url:"https://sepolia.explorer.zksync.io"}],id:300,name:"ZkSync Sepolia",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}});export{o as abstract,s as abstractTestnet,l as anvil,c as arbitrum,i as arbitrumNova,m as arbitrumSepolia,p as arcTestnet,u as assetChainTestnet,b as astriaEvmDusknet,h as avalanche,E as avalancheFuji,Be as base,He as baseSepolia,d as berachain,y as berachainBepolia,x as blast,k as blastSepolia,T as bsc,C as bscTestnet,v as celo,S as celoSepoliaTestnet,A as coreMainnet,M as coreTestnet,g as cronos,e as defineChain,B as degen,Ie as ethereum,H as etherlink,z as etherlinkShadownet,f as etherlinkTestnet,L as fantom,P as fantomTestnet,w as frameTestnet,I as fraxtalTestnet,Ae as getChainMetadata,Me as getRpcUrlForChain,U as gnosis,R as gnosisChiadoTestnet,G as godWoken,F as godWokenTestnetV1,D as hardhat,N as hokumTestnet,X as linea,O as lineaSepolia,V as localhost,Z as loot,Ue as mainnet,W as mantaPacific,K as mantaPacificTestnet,j as metalL2Testnet,q as mode,J as modeTestnet,Q as monad,Y as monadTestnet,_ as moonbeam,ae as mumbai,ze as optimism,fe as optimismSepolia,$ as palm,ee as palmTestnet,te as polygon,ne as polygonAmoy,t as polygonMumbai,re as polygonZkEvm,oe as polygonZkEvmTestnet,se as rari,le as rariTestnet,ce as scroll,ie as scrollAlphaTestnet,me as scrollSepoliaTestnet,pe as sepolia,ue as somniaTestnet,be as soneiumMinato,he as tRexTestnet,Ee as treasure,de as treasureTopaz,ye as xai,xe as xaiSepolia,ke as zkCandySepolia,Te as zkSync,Ce as zkSyncSepolia,Le as zora,Pe as zoraSepolia};
|
|
1
|
+
import{d as e}from"./utils-BkRfOA0C.js";import{k as Ae,b as Me}from"./utils-BkRfOA0C.js";import{b as Be,a as He,o as ze,c as fe,z as Le,d as Pe}from"./zora-sepolia-DOetv30E.js";import{e as Ie,m as Ue}from"./ethereum-DFU7Vz3W.js";import"./sentry-B60WY-np.js";import"./react-OEOSdkUk.js";const o=e({blockExplorers:[{name:"Abstract Block Explorer",url:"https://explorer.abs.xyz"}],id:2741,name:"Abstract",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),s=e({blockExplorers:[{name:"Abstract Testnet Block Explorer",url:"https://explorer.testnet.abs.xyz"}],id:11124,name:"Abstract Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),l=e({id:31337,name:"Anvil",nativeCurrency:{decimals:18,name:"Anvil Ether",symbol:"ETH"},rpc:"http://127.0.0.1:8545",testnet:!0}),c=e({blockExplorers:[{apiUrl:"https://api.arbiscan.io/api",name:"Arbiscan",url:"https://arbiscan.io"}],id:42161,name:"Arbitrum One",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),i=e({blockExplorers:[{name:"Arbiscan",url:"https://nova.arbiscan.io/"}],id:42170,name:"Arbitrum Nova",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),m=e({blockExplorers:[{apiUrl:"https://sepolia.arbiscan.io/api",name:"Arbiscan",url:"https://sepolia.arbiscan.io"}],id:421614,name:"Arbitrum Sepolia",nativeCurrency:{decimals:18,name:"Arbitrum Sepolia Ether",symbol:"ETH"},testnet:!0}),p=e({blockExplorers:[{name:"Arc Testnet Explorer",url:"https://testnet.arcscan.app"}],id:5042002,name:"Arc Testnet",nativeCurrency:{decimals:18,name:"USDC",symbol:"USDC"},testnet:!0}),u=e({blockExplorers:[{apiUrl:"https://scan-testnet.assetchain.org/api",name:"Asset Chain Testnet Explorer",url:"https://scan-testnet.assetchain.org"}],id:42421,name:"AssetChain Testnet",nativeCurrency:{decimals:18,name:"Real World Asset",symbol:"RWA"},testnet:!0}),b=e({blockExplorers:[{name:"Astria EVM Dusknet Explorer",url:"https://explorer.evm.dusk-3.devnet.astria.org/"}],id:912559,name:"Astria EVM Dusknet",nativeCurrency:{decimals:18,name:"RIA",symbol:"RIA"}}),h=e({blockExplorers:[{apiUrl:"https://api.snowtrace.io/api",name:"SnowTrace",url:"https://snowtrace.io"}],id:43114,name:"Avalanche",nativeCurrency:{decimals:18,name:"Avalanche",symbol:"AVAX"}}),E=e({blockExplorers:[{apiUrl:"https://api-testnet.snowtrace.io/api",name:"SnowTrace",url:"https://testnet.snowtrace.io"}],id:43113,name:"Avalanche Fuji",nativeCurrency:{decimals:18,name:"Avalanche Fuji",symbol:"AVAX"},testnet:!0}),d=e({blockExplorers:[{apiUrl:"https://api.berascan.com/api",name:"berascan",url:"https://berascan.com/"}],id:80094,name:"Berachain",nativeCurrency:{decimals:18,name:"BERA",symbol:"BERA"}}),y=e({blockExplorers:[{name:"beratrail",url:"https://bepolia.beratrail.io/"}],id:80069,name:"Berachain Bepolia",nativeCurrency:{decimals:18,name:"BERA",symbol:"BERA"},testnet:!0}),x=e({blockExplorers:[{apiUrl:"https://api.blastscan.io/api",name:"Blastscan",url:"https://blastscan.io"}],id:81457,name:"Blast",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),k=e({blockExplorers:[{name:"Blast Sepolia Explorer",url:"https://testnet.blastscan.io"}],id:168587773,name:"Blast Sepolia Testnet",nativeCurrency:{decimals:18,name:"Sepolia Ether",symbol:"ETH"},testnet:!0}),T=e({blockExplorers:[{name:"bscscan",url:"https://bscscan.com"}],id:56,name:"BNB Smart Chain Mainnet",nativeCurrency:{decimals:18,name:"BNB Chain Native Token",symbol:"BNB"}}),C=e({blockExplorers:[{name:"bscscan-testnet",url:"https://testnet.bscscan.com"}],id:97,name:"BNB Smart Chain Testnet",nativeCurrency:{decimals:18,name:"BNB Chain Native Token",symbol:"tBNB"}}),v=e({blockExplorers:[{name:"blockscout",url:"https://explorer.celo.org"}],id:42220,name:"Celo Mainnet",nativeCurrency:{decimals:18,name:"CELO",symbol:"CELO"}}),S=e({blockExplorers:[{name:"Celo Sepolia Explorer",url:"https://celo-sepolia.blockscout.com/"}],id:11142220,name:"Celo Sepolia Testnet",nativeCurrency:{decimals:18,name:"CELO",symbol:"CELO-S"},testnet:!0}),A=e({blockExplorers:[{name:"Core Scan",url:"https://scan.coredao.org/"}],id:1116,name:"Core",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),M=e({blockExplorers:[{name:"Core Testnet Scan",url:"https://scan.test2.btcs.network/"}],id:1114,name:"Core Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),g=e({blockExplorers:[{name:"Cronos Explorer",url:"https://explorer.cronos.org"}],id:25,name:"Cronos Mainnet",nativeCurrency:{decimals:18,name:"Cronos",symbol:"CRO"}}),B=e({blockExplorers:[],id:666666666,name:"Degen Chain",nativeCurrency:{decimals:18,name:"DEGEN",symbol:"DEGEN"}}),H=e({blockExplorers:[{name:"Etherlink Explorer",url:"https://explorer.etherlink.com/"}],id:42793,name:"Etherlink",nativeCurrency:{decimals:18,name:"Etherlink",symbol:"XTZ"}}),z=e({blockExplorers:[{name:"Etherlink Shadownet Explorer",url:"https://shadownet.explorer.etherlink.com/"}],id:127823,name:"Etherlink Shadownet",nativeCurrency:{decimals:18,name:"Etherlink",symbol:"XTZ"},testnet:!0}),f=e({blockExplorers:[{name:"Etherlink Testnet Explorer",url:"https://testnet.explorer.etherlink.com/"}],id:128123,name:"Etherlink Testnet",nativeCurrency:{decimals:18,name:"Etherlink",symbol:"XTZ"},testnet:!0}),L=e({blockExplorers:[{name:"ftmscan",url:"https://ftmscan.com"}],id:250,name:"Fantom Opera",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"}}),P=e({blockExplorers:[{name:"ftmscan",url:"https://testnet.ftmscan.com"}],id:4002,name:"Fantom Testnet",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},testnet:!0}),w=e({blockExplorers:[{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz"}],id:68840142,name:"Frame Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),I=e({blockExplorers:[{name:"Fraxscan",url:"https://holesky.fraxscan.com/"}],id:2522,name:"Fraxtal Testnet",nativeCurrency:{decimals:18,name:"Frax Ether",symbol:"frxETH"},testnet:!0}),U=e({blockExplorers:[{name:"blockscout",url:"https://gnosis.blockscout.com"}],id:100,name:"Gnosis",nativeCurrency:{decimals:18,name:"xDAI",symbol:"XDAI"}}),R=e({blockExplorers:[{name:"blockscout",url:"https://gnosis-chiado.blockscout.com"}],id:10200,name:"Gnosis Chiado Testnet",nativeCurrency:{decimals:18,name:"xDAI",symbol:"XDAI"},testnet:!0}),G=e({blockExplorers:[{name:"GWScan Block Explorer",url:"https://v1.gwscan.com"}],id:71402,name:"Godwoken Mainnet",nativeCurrency:{decimals:18,name:"pCKB",symbol:"pCKB"}}),F=e({blockExplorers:[{name:"GWScan Block Explorer",url:"https://v1.testnet.gwscan.com"}],id:71401,name:"Godwoken Testnet v1",nativeCurrency:{decimals:18,name:"pCKB",symbol:"pCKB"},testnet:!0}),D=e({id:31337,name:"Hardhat",nativeCurrency:{decimals:18,name:"Hardhat Ether",symbol:"ETH"},rpc:"http://127.0.0.1:8545",testnet:!0}),N=e({blockExplorers:[{name:"Hokum Explorer",url:"https://testnet-explorer.hokum.gg"}],id:20482050,name:"Hokum Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),X=e({blockExplorers:[{apiUrl:"https://api.lineascan.build/api",name:"LineaScan",url:"https://lineascan.build"}],id:59144,name:"Linea",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),O=e({blockExplorers:[{apiUrl:"https://api-sepolia.lineascan.build/api",name:"LineaScan",url:"https://sepolia.lineascan.build"}],id:59141,name:"Linea Sepolia",nativeCurrency:{decimals:18,name:"Sepolia Ether",symbol:"ETH"},testnet:!0}),V=e({id:1337,name:"Localhost",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpc:"http://127.0.0.1:8545",testnet:!0}),Z=e({blockExplorers:[{name:"Explorer",url:"https://explorer.lootchain.com/"}],id:5151706,name:"Loot Chain Mainnet",nativeCurrency:{decimals:18,name:"AGLD",symbol:"AGLD"}}),W=e({blockExplorers:[{name:"manta-pacific Explorer",url:"https://pacific-explorer.manta.network"}],id:169,name:"Manta Pacific Mainnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),K=e({blockExplorers:[{name:"manta-testnet Explorer",url:"https://manta-testnet.calderaexplorer.xyz"}],id:3441005,name:"Manta Pacific Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),j=e({blockExplorers:[{name:"Blockscout",url:"https://testnet.explorer.metall2.com"}],id:1740,name:"Metal L2 Testnet",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},testnet:!0}),q=e({blockExplorers:[{name:"Modescout",url:"https://explorer.mode.network/"}],id:34443,name:"Mode",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),J=e({blockExplorers:[{name:"Modescout",url:"https://sepolia.explorer.mode.network/"}],id:919,name:"Mode Testnet",nativeCurrency:{decimals:18,name:"Sepolia Ether",symbol:"ETH"},testnet:!0}),Q=e({blockExplorers:[{name:"Monad Vision",url:"https://monadvision.com/"},{name:"Monad Scan",url:"https://monadscan.com/"}],id:143,name:"Monad",nativeCurrency:{decimals:18,name:"Mon",symbol:"MON"}}),Y=e({blockExplorers:[{name:"Monad Explorer",url:"https://testnet.monadexplorer.com/"}],id:10143,name:"Monad Testnet",nativeCurrency:{decimals:18,name:"Mon",symbol:"MON"},testnet:!0}),_=e({blockExplorers:[{name:"moonscan",url:"https://moonbeam.moonscan.io"}],id:1284,name:"Moonbeam",nativeCurrency:{decimals:18,name:"Glimmer",symbol:"GLMR"}}),$=e({blockExplorers:[{name:"Chainlens",url:"https://palm.chainlens.com"}],id:11297108109,name:"Palm",nativeCurrency:{decimals:18,name:"PALM",symbol:"PALM"}}),ee=e({blockExplorers:[{name:"Chainlens",url:"https://testnet.palm.chainlens.com"}],id:11297108099,name:"Palm Testnet",nativeCurrency:{decimals:18,name:"PALM",symbol:"PALM"},testnet:!0}),te=e({blockExplorers:[{apiUrl:"https://api.polygonscan.com/api",name:"PolygonScan",url:"https://polygonscan.com"}],id:137,name:"Polygon",nativeCurrency:{decimals:18,name:"POL",symbol:"POL"}}),ne=e({blockExplorers:[{apiUrl:"https://api-amoy.polygonscan.com/api",name:"PolygonScan",url:"https://amoy.polygonscan.com"}],id:80002,name:"Polygon Amoy",nativeCurrency:{decimals:18,name:"MATIC",symbol:"MATIC"},testnet:!0}),t=e({blockExplorers:[{apiUrl:"https://mumbai.polygonscan.com/api",name:"PolygonScan",url:"https://mumbai.polygonscan.com"}],id:80001,name:"Polygon Mumbai",nativeCurrency:{decimals:18,name:"MATIC",symbol:"MATIC"},testnet:!0}),ae=t,re=e({blockExplorers:[{name:"blockscout",url:"https://zkevm.polygonscan.com"}],id:1101,name:"Polygon zkEVM",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),oe=e({blockExplorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net"}],id:1442,name:"Polygon zkEVM Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),se=e({blockExplorers:[{name:"rarichain-explorer",url:"https://mainnet.explorer.rarichain.org"}],id:1380012617,name:"Rarichain",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),le=e({blockExplorers:[{name:"rarichain-testnet-explorer",url:"https://explorer.rarichain.org"}],id:1918988905,name:"RARIchain Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),ce=e({blockExplorers:[{name:"Scrollscan",url:"https://scrollscan.com"}],id:534352,name:"Scroll",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),ie=e({blockExplorers:[{name:"Scroll Alpha Testnet Block Explorer",url:"https://alpha-blockscout.scroll.io"}],id:534353,name:"Scroll Alpha Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),me=e({blockExplorers:[{name:"Scroll Sepolia Etherscan",url:"https://sepolia.scrollscan.com"}],id:534353,name:"Scroll Sepolia Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),pe=e({blockExplorers:[{apiUrl:"https://api-sepolia.etherscan.io/api",name:"Etherscan",url:"https://sepolia.etherscan.io"}],id:11155111,name:"Sepolia",nativeCurrency:{decimals:18,name:"Sepolia Ether",symbol:"ETH"},testnet:!0}),ue=e({blockExplorers:[{apiUrl:"https://shannon-explorer.somnia.network/api",name:"Somnia Testnet Explorer",url:"https://shannon-explorer.somnia.network/"}],id:50312,name:"Somnia Testnet",nativeCurrency:{decimals:18,name:"Somnia Testnet Token",symbol:"STT"},testnet:!0}),be=e({blockExplorers:[{name:"Minato Explorer",url:"https://explorer-testnet.soneium.org/"}],id:1946,name:"Soneium Minato",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),he=e({blockExplorers:[{name:"T-Rex Testnet Block Explorer",url:"https://testnet.trex.xyz/"}],id:1962,name:"T-Rex Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),Ee=e({blockExplorers:[{name:"Treasure Block Explorer",url:"https://treasurescan.io"}],id:61166,name:"Treasure",nativeCurrency:{decimals:18,name:"MAGIC",symbol:"MAGIC"}}),de=e({blockExplorers:[{name:"Treasure Topaz Block Explorer",url:"https://topaz.treasurescan.io"}],id:978658,name:"Treasure Topaz",nativeCurrency:{decimals:18,name:"MAGIC",symbol:"MAGIC"}}),ye=e({blockExplorers:[{name:"Blockscout",url:"https://explorer.xai-chain.net"}],id:660279,name:"Xai Mainnet",nativeCurrency:{decimals:18,name:"XAI token",symbol:"XAI"}}),xe=e({blockExplorers:[{name:"Blockscout",url:"https://testnet-explorer-v2.xai-chain.net"}],id:37714555429,name:"Xai Sepolia",nativeCurrency:{decimals:18,name:"sXAI",symbol:"sXAI"},testnet:!0}),ke=e({blockExplorers:[{name:"zkCandy Block Explorer",url:"https://sepolia.explorer.zkcandy.io"}],id:302,name:"zkCandy Sepolia Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},testnet:!0}),Te=e({blockExplorers:[{apiUrl:"https://block-explorer-api.zksync.dev/api",name:"zkSync Era Block Explorer",url:"https://explorer.zksync.io"}],id:324,name:"ZkSync Era",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),Ce=e({blockExplorers:[{apiUrl:"https://block-explorer-api.sepolia.zksync.dev/api",name:"zkSync Sepolia Block Explorer",url:"https://sepolia.explorer.zksync.io"}],id:300,name:"ZkSync Sepolia",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}});export{o as abstract,s as abstractTestnet,l as anvil,c as arbitrum,i as arbitrumNova,m as arbitrumSepolia,p as arcTestnet,u as assetChainTestnet,b as astriaEvmDusknet,h as avalanche,E as avalancheFuji,Be as base,He as baseSepolia,d as berachain,y as berachainBepolia,x as blast,k as blastSepolia,T as bsc,C as bscTestnet,v as celo,S as celoSepoliaTestnet,A as coreMainnet,M as coreTestnet,g as cronos,e as defineChain,B as degen,Ie as ethereum,H as etherlink,z as etherlinkShadownet,f as etherlinkTestnet,L as fantom,P as fantomTestnet,w as frameTestnet,I as fraxtalTestnet,Ae as getChainMetadata,Me as getRpcUrlForChain,U as gnosis,R as gnosisChiadoTestnet,G as godWoken,F as godWokenTestnetV1,D as hardhat,N as hokumTestnet,X as linea,O as lineaSepolia,V as localhost,Z as loot,Ue as mainnet,W as mantaPacific,K as mantaPacificTestnet,j as metalL2Testnet,q as mode,J as modeTestnet,Q as monad,Y as monadTestnet,_ as moonbeam,ae as mumbai,ze as optimism,fe as optimismSepolia,$ as palm,ee as palmTestnet,te as polygon,ne as polygonAmoy,t as polygonMumbai,re as polygonZkEvm,oe as polygonZkEvmTestnet,se as rari,le as rariTestnet,ce as scroll,ie as scrollAlphaTestnet,me as scrollSepoliaTestnet,pe as sepolia,ue as somniaTestnet,be as soneiumMinato,he as tRexTestnet,Ee as treasure,de as treasureTopaz,ye as xai,xe as xaiSepolia,ke as zkCandySepolia,Te as zkSync,Ce as zkSyncSepolia,Le as zora,Pe as zoraSepolia};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r}from"./react-
|
|
1
|
+
import{j as r}from"./react-OEOSdkUk.js";import{t as c,s,S as i,o as C,av as v,aw as A,b as l,z as $,B as w,E as y}from"./index-0kdmGL8P.js";const L="https://cdn.decentraland.org/@dcl/shop/0.8.1-31010487922.commit-7e8c168/_assets/default-cover-7vUE644d.jpeg",{colors:d,radius:j}=c,S=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -9,13 +9,13 @@ import{j as r}from"./react-DehiWSvs.js";import{t as c,s,P as i,k as C,as as v,at
|
|
|
9
9
|
border: 1px solid ${d.line};
|
|
10
10
|
border-radius: ${j.card};
|
|
11
11
|
background: ${d.media};
|
|
12
|
-
`,
|
|
12
|
+
`,k=s.span`
|
|
13
13
|
display: inline-flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
gap: 6px;
|
|
16
16
|
font-weight: 600;
|
|
17
17
|
color: ${d.text};
|
|
18
|
-
`;function
|
|
18
|
+
`;function B({items:p,source:u}){const m=i(t=>t.add),g=i(t=>t.items.map(e=>e.id)),x=C(t=>{var e;return(e=t.session)==null?void 0:e.address}),o=p.filter(t=>!v(t)&&!A(t,x));if(o.length===0)return null;const f=new Set(g),a=o.filter(t=>!f.has(t.id)),h=o.reduce((t,e)=>t+e.priceCredits,0);function b(){a.forEach(t=>m(t,u)),y.success(l("addAll.added",{count:a.length}))}return r.jsxs(S,{children:[r.jsxs(k,{children:[l("addAll.forSale",{count:o.length})," · ",r.jsx($,{size:16})," ",h.toLocaleString()]}),r.jsx(w,{variant:"purple",size:"sm",onClick:b,disabled:a.length===0,children:a.length===0?l("addAll.allInCart"):l("addAll.addAll",{count:a.length})})]})}const{colors:n}=c,I=s.div`
|
|
19
19
|
max-width: 1721px;
|
|
20
20
|
margin: 0 auto;
|
|
21
21
|
`,P=s.nav`
|
|
@@ -45,4 +45,4 @@ import{j as r}from"./react-DehiWSvs.js";import{t as c,s,P as i,k as C,as as v,at
|
|
|
45
45
|
`,T=s.span`
|
|
46
46
|
color: ${n.muted};
|
|
47
47
|
font-weight: 600;
|
|
48
|
-
`;export{
|
|
48
|
+
`;export{B as A,P as C,I as P,R as a,U as b,O as c,L as d,T as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as s}from"./utils-
|
|
1
|
+
import{g as s}from"./utils-BkRfOA0C.js";import"./sentry-B60WY-np.js";import"./react-OEOSdkUk.js";async function d(n){const t=await s();if(!n.every(i=>t.includes(i.id)))throw new Error(`Insight is not available for chains ${n.filter(i=>!t.includes(i.id)).map(i=>i.id).join(", ")}`)}export{d as assertInsightEnabled};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index.es-
|
|
2
|
-
import{_ as G}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index.es-Bt1vrHLy.js","_assets/dcl-schemas-CmtP3U6y.js","_assets/wallets-Bj-wvS3Z.js","_assets/signing-DH8o0qgI.js","_assets/prepare-contract-call-Nm9e1q7x.js","_assets/utils-BkRfOA0C.js","_assets/sentry-B60WY-np.js","_assets/react-OEOSdkUk.js","_assets/index-0kdmGL8P.js","_assets/ethers-lk3HAbPB.js","_assets/intl-CBcMB1D2.js","_assets/index-D-NhBWWr.css","_assets/to-serializable-transaction-BxPcLWhE.js","_assets/transaction-C7nbuBwl.js","_assets/get-bytecode-BsB9WanS.js","_assets/execute-BkwPHs5d.js","_assets/detectExtension-DWfhzRDC.js","_assets/linkAccount-CNeA4_rd.js","_assets/index-CgeqYqkT.js","_assets/ethereum-DFU7Vz3W.js","_assets/types-DC0Zmj1B.js","_assets/store-CraP4F4Y.js","_assets/hashTypedData-CcYMI56c.js","_assets/send-transaction-CMc6wANs.js","_assets/eth_sendRawTransaction-DPdnXbFR.js","_assets/index-BKGDTHnI.js","_assets/events-DQ172AOg.js","_assets/index-CcVPLkSq.js","_assets/index-CJEkcTww.js","_assets/index-nibyPLVP.js","_assets/index-CJdot1dH.js","_assets/index-BBAMyxaq.js","_assets/index.es-DrGoY9Xx.js","_assets/browser-ponyfill-fSxUcg6c.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as G}from"./index-0kdmGL8P.js";import{t as V}from"./transaction-C7nbuBwl.js";import{a as g,b as R}from"./utils-BkRfOA0C.js";import{s as J,g as v,b as K,u as X,n as I}from"./prepare-contract-call-Nm9e1q7x.js";import{p as Y}from"./linkAccount-CNeA4_rd.js";import{g as B,a as U,N as $,n as D,s as Q,D as Z,b as E,f as H}from"./wallets-Bj-wvS3Z.js";import{U as x,S as O}from"./rpc-lGsIPm3Z.js";import{g as nn,v as an,s as en}from"./hashTypedData-CcYMI56c.js";import"./react-OEOSdkUk.js";import"./sentry-B60WY-np.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-lk3HAbPB.js";import"./intl-CBcMB1D2.js";import"./signing-DH8o0qgI.js";import"./to-serializable-transaction-BxPcLWhE.js";import"./get-bytecode-BsB9WanS.js";import"./execute-BkwPHs5d.js";import"./detectExtension-DWfhzRDC.js";import"./index-CgeqYqkT.js";import"./ethereum-DFU7Vz3W.js";import"./types-DC0Zmj1B.js";import"./store-CraP4F4Y.js";import"./send-transaction-CMc6wANs.js";import"./eth_sendRawTransaction-DPdnXbFR.js";import"./index-BKGDTHnI.js";import"./events-DQ172AOg.js";import"./index-CcVPLkSq.js";import"./index-CJEkcTww.js";import"./index-nibyPLVP.js";import"./index-CJdot1dH.js";import"./index-BBAMyxaq.js";let y=null;const b={lastUsedChainId:"tw.wc.lastUsedChainId",requestedChains:"tw.wc.requestedChains"};async function zn(n,i,e,t,a){var A,N,S;const o=await j(n,e,a),s=n.walletConnect;let{onDisplayUri:c}=s||{};const d=await U(e);!c&&a&&(c=q=>{const L=d.mobile.native||d.mobile.universal;if(!L){a(q);return}const z=H(L,q).redirect;a(z)}),c&&o.events.addListener("display_uri",c);let h=s==null?void 0:s.optionalChains;const u=n.chain;e==="global.safe"&&(h=dn.map(g));const{chains:l,rpcMap:r}=rn({chain:u,client:n.client,optionalChains:h});await o.connect({...s!=null&&s.pairingTopic?{pairingTopic:s==null?void 0:s.pairingTopic}:{},optionalNamespaces:{[$]:{chains:l,events:["chainChanged","accountsChanged"],methods:["eth_sendTransaction","eth_signTransaction","eth_sign","personal_sign","eth_signTypedData","eth_signTypedData_v4","wallet_switchEthereumChain","wallet_addEthereumChain"],rpcMap:r}}}),F(l.map(_=>Number(_.split(":")[1])),t);const m=((A=l[0])==null?void 0:A.split(":")[1])||1,p=D(m),f=cn(o.session,"eip155:1");if(!f)throw new Error("No accounts found on provider.");const T=n.chain&&n.chain.id===p?n.chain:g(p);if(n){const _={chain:n.chain,optionalChains:(N=n.walletConnect)==null?void 0:N.optionalChains,pairingTopic:(S=n.walletConnect)==null?void 0:S.pairingTopic};t&&Q(t,e,_)}return c&&o.events.removeListener("display_uri",c),k(f,T,o,i,t,n.client,d,a)}async function tn(n,i,e){var s,c,d,h,u,l;if(!n.session)throw new Error("No session found on provider.");const t=`eip155:${i.id}`,a=I(i.id);if(M(n.session,t)){n.setDefaultChain(t);return}try{await w({provider:n,payload:{method:"wallet_switchEthereumChain",params:[{chainId:a}]},chain:t,walletInfo:e}),n.setDefaultChain(t);return}catch(r){if(((r==null?void 0:r.code)??((c=(s=r==null?void 0:r.data)==null?void 0:s.originalError)==null?void 0:c.code))===4001)throw new Error("User rejected chain switch")}const o=on(n.session);if(!o)throw new Error("No routable chain to send wallet_addEthereumChain");try{await w({provider:n,payload:{method:"wallet_addEthereumChain",params:[{chainId:a,chainName:i.name,nativeCurrency:i.nativeCurrency,rpcUrls:[i.rpc],blockExplorerUrls:[((h=(d=i.blockExplorers)==null?void 0:d[0])==null?void 0:h.url)??""]}]},chain:o,walletInfo:e})}catch(r){throw((r==null?void 0:r.code)??((l=(u=r==null?void 0:r.data)==null?void 0:u.originalError)==null?void 0:l.code))===4001?new Error("User rejected add chain"):new Error(`Add chain failed: ${(r==null?void 0:r.message)||String(r)}`)}if(await w({provider:n,payload:{method:"wallet_switchEthereumChain",params:[{chainId:a}]},chain:t,walletInfo:e}),n.setDefaultChain(t),!M(n.session,t))throw new Error("Target chain still not enabled by wallet")}function P(n){var i;return(i=n==null?void 0:n.namespaces)==null?void 0:i.eip155}function M(n,i){var t;const e=P(n);return!!((t=e==null?void 0:e.accounts)!=null&&t.some(a=>a.startsWith(`${i}:`)))}function cn(n,i){var a;const e=P(n),t=((a=e==null?void 0:e.accounts)==null?void 0:a.find(o=>o.startsWith(`${i}:`)))||(e==null?void 0:e.accounts[0]);return t?t.split(":")[2]??null:null}function on(n){var e,t,a,o;const i=P(n);return((o=(a=(t=(e=i==null?void 0:i.accounts)==null?void 0:e[0])==null?void 0:t.split(":"))==null?void 0:a.slice(0,2))==null?void 0:o.join(":"))??null}async function Gn(n,i,e,t,a){var m,p,C,f,T;const o=t?await B(t,e):null,s=await U(e),c=await j(o?{chain:o.chain,client:n.client,walletConnect:{optionalChains:o.optionalChains,pairingTopic:o.pairingTopic}}:{client:n.client,walletConnect:{}},e,a);if(!c.session)throw await c.disconnect(),new Error("No wallet connect session found on provider.");const d=(C=(p=(m=c.session)==null?void 0:m.namespaces)==null?void 0:p[$])==null?void 0:C.accounts,h=(f=d==null?void 0:d[0])==null?void 0:f.split(":")[2];if(!h)throw new Error("No accounts found on provider.");const u=((T=n.chain)==null?void 0:T.id)||1,l=D(u),r=n.chain&&n.chain.id===l?n.chain:g(l);return k(h,r,c,i,t,n.client,s,a)}async function j(n,i,e){var c,d,h,u;if(y)return y;const t=await U(i),a=n.walletConnect,{UniversalProvider:o}=await G(async()=>{const{UniversalProvider:l}=await import("./index.es-Bt1vrHLy.js");return{UniversalProvider:l}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33])),s=await o.init({metadata:{description:((c=a==null?void 0:a.appMetadata)==null?void 0:c.description)||E().description,icons:[((d=a==null?void 0:a.appMetadata)==null?void 0:d.logoUrl)||E().logoUrl],name:((h=a==null?void 0:a.appMetadata)==null?void 0:h.name)||E().name,url:((u=a==null?void 0:a.appMetadata)==null?void 0:u.url)||E().url,redirect:{native:t.mobile.native||void 0,universal:t.mobile.universal||void 0}},projectId:(a==null?void 0:a.projectId)||Z});if(s.events.setMaxListeners(Number.POSITIVE_INFINITY),i!=="walletConnect"){async function l(){var m,p,C,f;const r=((f=(C=(p=(m=s.session)==null?void 0:m.peer)==null?void 0:p.metadata)==null?void 0:C.redirect)==null?void 0:f.native)||t.mobile.native||t.mobile.universal;e&&r&&await e(r)}s.on("session_request_sent",l),s.events.addListener("disconnect",()=>{s.off("session_request_sent",l),y=null})}return y=s,s}function W({provider:n,address:i,client:e,chain:t,sessionRequestHandler:a,walletInfo:o}){return{address:v(i),async sendTransaction(c){const d=await w({provider:n,payload:{method:"eth_sendTransaction",params:[{data:c.data,from:v(i),gas:c.gas?I(c.gas):void 0,to:c.to,value:c.value?I(c.value):void 0}]},chain:`eip155:${c.chainId}`,walletInfo:o,sessionRequestHandler:a});return V({chainId:c.chainId,client:e,contractAddress:c.to??void 0,gasPrice:c.gasPrice,transactionHash:d,walletAddress:v(i),walletType:"walletConnect"}),{transactionHash:d}},async signMessage({message:c}){const d=typeof c=="string"?K(c):c.raw instanceof Uint8Array?X(c.raw):c.raw;return w({provider:n,payload:{method:"personal_sign",params:[d,this.address]},chain:`eip155:${t.id}`,walletInfo:o,sessionRequestHandler:a})},async signTypedData(c){const d=Y(c),{domain:h,message:u,primaryType:l}=d,r={EIP712Domain:nn({domain:h}),...d.types};an({domain:h,message:u,primaryType:l,types:r});const m=en({domain:h??{},message:u,primaryType:l,types:r});return await w({provider:n,payload:{method:"eth_signTypedData_v4",params:[this.address,m]},chain:`eip155:${t.id}`,walletInfo:o,sessionRequestHandler:a})}}}async function w(n){var d,h,u,l;const{provider:i,payload:e,chain:t,walletInfo:a,sessionRequestHandler:o}=n,s=i.request(e,t),c=((l=(u=(h=(d=i.session)==null?void 0:d.peer)==null?void 0:h.metadata)==null?void 0:u.redirect)==null?void 0:l.native)||a.mobile.native||a.mobile.universal;return o&&c&&await o(c),s}function k(n,i,e,t,a,o,s,c){const d=W({address:n,chain:i,client:o,provider:e,sessionRequestHandler:c,walletInfo:s});async function h(){e.removeListener("accountsChanged",l),e.removeListener("chainChanged",r),e.removeListener("disconnect",u),await e.disconnect(),y=null}function u(){F([],a),a==null||a.removeItem(b.lastUsedChainId),h(),t.emit("disconnect",void 0)}function l(m){if(m[0]){const p=W({address:v(m[0]),chain:i,client:o,provider:e,sessionRequestHandler:c,walletInfo:s});t.emit("accountChanged",p),t.emit("accountsChanged",m)}else u()}function r(m){const p=g(D(m));t.emit("chainChanged",p),a==null||a.setItem(b.lastUsedChainId,String(m))}return e.on("accountsChanged",l),e.on("chainChanged",r),e.on("disconnect",u),e.on("session_delete",u),[d,i,h,m=>sn(e,m,s)]}async function sn(n,i,e){try{await tn(n,i,e)}catch(t){const a=typeof t=="string"?t:t==null?void 0:t.message;throw/user rejected request/i.test(a)?new x(t):new O(t)}}function F(n,i){i==null||i.setItem(b.requestedChains,J(n))}function rn(n){const i={},e=[];n.chain&&(i[n.chain.id]=R({chain:n.chain,client:n.client}),e.push(n.chain.id));const t=((n==null?void 0:n.optionalChains)||[]).slice(0,10);for(const a of t)i[a.id]=R({chain:a,client:n.client}),e.push(a.id);return e.includes(1)||(i[1]=g(1).rpc,e.push(1)),{chains:e.map(a=>`eip155:${a}`),rpcMap:i}}const dn=[1,11155111,42161,43114,8453,1313161554,84532,56,42220,100,10,137,1101,324,534352,80094];export{Gn as autoConnectWC,zn as connectWC};
|