@dcl/shop 1.7.1-31588909629.commit-83201d7 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_assets/{Activity-BcCDm6Fl.js → Activity-DSCP3qVT.js} +4 -4
- package/_assets/{AnimatedBackground-Ln0tLHDh.js → AnimatedBackground-DI6E3R8h.js} +2 -2
- package/_assets/{Assets-S_jz0174.js → Assets-BoDVV5Un.js} +7 -7
- package/_assets/{Authorizations-DFJWblIp.js → Authorizations-DlT06os0.js} +2 -2
- package/_assets/{Cart-ZJ_Bppix.js → Cart-98H8SEDi.js} +2 -2
- package/_assets/{CircularProgress-rw12eVF6.js → CircularProgress-CVMElXyN.js} +2 -2
- package/_assets/{Collection-CJxBpLyz.js → Collection-kp118x-L.js} +2 -2
- package/_assets/{CollectionCarousel-C_Eat7_D.js → CollectionCarousel-Bi0QxTqN.js} +3 -3
- package/_assets/{Confetti-rdNWp3rt.js → Confetti-W3F-dgtT.js} +4 -4
- package/_assets/{ConstantsUtil-GSXpd5w5.js → ConstantsUtil-H5MzXw_a.js} +2 -2
- package/_assets/{ContentClient-CqyA1XLO.js → ContentClient-CouwHQze.js} +2 -2
- package/_assets/{Creator-D69p5aL5.js → Creator-DuIxXv5-.js} +2 -2
- package/_assets/{DeploymentBuilder-C39bHixo.js → DeploymentBuilder-RTPThLbC.js} +2 -2
- package/_assets/{EmotePlaybackBar-2S9aRBTs.js → EmotePlaybackBar-CwnUkIi2.js} +3 -3
- package/_assets/{ErrorNotice-DraAWK0D.js → ErrorNotice-DInl_aPc.js} +2 -2
- package/_assets/{ExchangeController-BsXYFx4V.js → ExchangeController-BHhqTqpp.js} +2 -2
- package/_assets/{Faq-DWIztJkW.js → Faq-CaLlq-Oz.js} +2 -2
- package/_assets/{GetCredits-DZa9MSNQ.js → GetCredits-DrG2HYOY.js} +8 -8
- package/_assets/{Grow-C1y0GaQS.js → Grow-BuawLV7j.js} +2 -2
- package/_assets/{HelpersUtil-wr53cQnq.js → HelpersUtil-DxE7pdoJ.js} +2 -2
- package/_assets/{ItemDetail-Bhc_w426.js → ItemDetail-D1lNYrvj.js} +2 -2
- package/_assets/{JumpInIcon-BCg4gHDe.js → JumpInIcon-gwWkyigc.js} +2 -2
- package/_assets/{LoadMore-DcyQqB7V.js → LoadMore-BLj9usRy.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-D8yW6YOJ.js → ManaPricingBanner.styles-C5QyYWv_.js} +2 -2
- package/_assets/{MyAssets-DW_sO-OM.js → MyAssets-BHHo-axx.js} +2 -2
- package/_assets/{MyFavorites-CPd575Q_.js → MyFavorites-qN6xot5-.js} +2 -2
- package/_assets/{NetworkUtil-BdmSWRHM.js → NetworkUtil-eeGGUC7p.js} +2 -2
- package/_assets/{NotFound-CSzZF6DS.js → NotFound-CjS_h0nT.js} +2 -2
- package/_assets/{NotificationsBell-Dl8CPfgj.js → NotificationsBell-BxNn8kmF.js} +2 -2
- package/_assets/{OutfitDetail-xXFSLYGU.js → OutfitDetail-DcwkX_BA.js} +2 -2
- package/_assets/{OutfitPreview-BdU0H7of.js → OutfitPreview-Dzwv8CZm.js} +2 -2
- package/_assets/{OutfitStudio-BrRYkQSY.js → OutfitStudio-Kg0wPrSp.js} +2 -2
- package/_assets/{StoreSettings-DUQx_Dt6.js → StoreSettings-BMhll_uY.js} +22 -22
- package/_assets/{Success-RaPwuXOy.js → Success--EmgMp_h.js} +2 -2
- package/_assets/{SwapController-CUK9rnop.js → SwapController-DBYu3_GC.js} +2 -2
- package/_assets/{Tooltip-7mi0RVwp.js → Tooltip-DRKOJG6M.js} +2 -2
- package/_assets/{TradeService-DRvijSJR.js → TradeService-CMmg1hhm.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-Gs8pIXDu.js → W3MFrameProviderSingleton-BZDRIDaX.js} +4 -4
- package/_assets/{WebCryptoP256-l2eaCMqr.js → WebCryptoP256-DngvQsIc.js} +2 -2
- package/_assets/{authorizations-BzJgPMIG.js → authorizations-Bp29CgB8.js} +2 -2
- package/_assets/{basic-BZ0cc9NT.js → basic-D-nCiahk.js} +2 -2
- package/_assets/{biconomy-lqGo3FqW.js → biconomy-ChcwZEzk.js} +2 -2
- package/_assets/{browseLayout.styles-BOh7KWFh.js → browseLayout.styles-EyGWvLIQ.js} +2 -2
- package/_assets/{browser-DMDgib2N.js → browser-8yCVpLQu.js} +2 -2
- package/_assets/{browser-ponyfill-oWMQ6W4U.js → browser-ponyfill-BmvHJGnt.js} +2 -2
- package/_assets/{builder-70Bbd4Yo.js → builder-DSIPU3qH.js} +2 -2
- package/_assets/{buy-CdfkuQvD.js → buy-4aaQ0a-u.js} +2 -2
- package/_assets/{buy-gasless-RbBehDyA.js → buy-gasless-BVf_EoZF.js} +2 -2
- package/_assets/{ccip-fjQFi5wf.js → ccip-C2v3VpEN.js} +2 -2
- package/_assets/{ccip-C78V-wF_.js → ccip-tsmIe2rK.js} +2 -2
- package/_assets/{chains-BaSn87TI.js → chains-ZGrkcPp8.js} +2 -2
- package/_assets/collectionPage.styles-x9Ys9-EJ.js +40 -0
- package/_assets/{common-BaMXvfZO.js → common-DbVrNU8d.js} +2 -2
- package/_assets/{controller-CBS-P4GZ.js → controller-BxLT4wSK.js} +3 -3
- package/_assets/{core-BkEhcNP-.js → core-fYHKdQB7.js} +5 -5
- package/_assets/{createSvgIcon-DXItcdI1.js → createSvgIcon-DK7LeDz8.js} +2 -2
- package/_assets/{custom-7TFCWmXz.js → custom-CNWBSH0Y.js} +2 -2
- package/_assets/{data-capture-CQ0Wp4M5.js → data-capture-BRE7a_Af.js} +2 -2
- package/_assets/{dcl-schemas-oZ9h4ko3.js → dcl-schemas--SOz4s6t.js} +2 -2
- package/_assets/{decimals-DEAythTE.js → decimals-BRIIwlS4.js} +2 -2
- package/_assets/{decimals-B7uMBpx6.js → decimals-Cwkjreuy.js} +2 -2
- package/_assets/{detectExtension-BTFFC3GC.js → detectExtension-D_bmEQsq.js} +2 -2
- package/_assets/{disposePreview-Dwj5f8OE.js → disposePreview-BM0qOKtx.js} +2 -2
- package/_assets/{email-NbT9DRCC.js → email-BmAjF25r.js} +2 -2
- package/_assets/{embedded-wallet-CoT2K81g.js → embedded-wallet-CrYsPIo3.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-TuqOdZ1W.js → emotion-styled.browser.esm-QAN7vOQx.js} +2 -2
- package/_assets/{engine-CJ8gcBVv.js → engine-Qfbe01DZ.js} +2 -2
- package/_assets/{errors-BMWyMrL-.js → errors-Pkf3SgsD.js} +2 -2
- package/_assets/{estimate-l1-fee-tyb7kf7a.js → estimate-l1-fee-BhPYKs0i.js} +2 -2
- package/_assets/{eth_estimateGas-BRUeJfWB.js → eth_estimateGas-DJtpIKCF.js} +2 -2
- package/_assets/{eth_getStorageAt-C12bKqRd.js → eth_getStorageAt-BvVTVakd.js} +2 -2
- package/_assets/{eth_getTransactionCount-BY7KXSb0.js → eth_getTransactionCount-CTg3O9yy.js} +2 -2
- package/_assets/{ethereum-XoihOwzi.js → ethereum-BHI7M48A.js} +2 -2
- package/_assets/{ethers-9NkNazYH.js → ethers-BGK6CGbc.js} +2 -2
- package/_assets/{events-yk_it_H_.js → events-dtXWOsMC.js} +2 -2
- package/_assets/{execute-CUvhRThu.js → execute-C8YYpwHp.js} +3 -3
- package/_assets/{extractIPFS-CqNCLsEB.js → extractIPFS-K2F3vQ0J.js} +2 -2
- package/_assets/{features-CMOT5j2N.js → features-CXUhxSHE.js} +2 -2
- package/_assets/{fetchTokenMetadata-OIU3__l7.js → fetchTokenMetadata-D2sHJ20d.js} +3 -3
- package/_assets/{field.styles-DnIE_hBN.js → field.styles-lQKL7wnA.js} +2 -2
- package/_assets/{fortmatic-d6kDnMo1.js → fortmatic-VbcTaYCb.js} +2 -2
- package/_assets/{get-bytecode-DRUEP_v6.js → get-bytecode-CHdK0jd1.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-55siV4Qh.js → get-ecosystem-wallet-info-BTsiiXK0.js} +2 -2
- package/_assets/{getBalance-BdxfgjNN.js → getBalance-Cc-ynq9O.js} +3 -3
- package/_assets/{getInstalledModules-CaH96vr7.js → getInstalledModules-CUmb37N4.js} +2 -2
- package/_assets/{getNFT-CD8GHVnM.js → getNFT-DrE5xjA6.js} +2 -2
- package/_assets/{getNFT-1fMfvn-Y.js → getNFT-quDZXBOG.js} +3 -3
- package/_assets/{grid.styles-CG0auZKj.js → grid.styles-ZTmDzFjp.js} +2 -2
- package/_assets/{hashTypedData-BNp_7kH4.js → hashTypedData-Cw8rSdk5.js} +2 -2
- package/_assets/{hashTypedData-FhkMxMq8.js → hashTypedData-DtLk4Oqc.js} +2 -2
- package/_assets/{in-app-IiBMBdd6.js → in-app-XuiUAS3s.js} +2 -2
- package/_assets/{in-app-wallet-calls-D3n82g7g.js → in-app-wallet-calls-dlWnJrek.js} +2 -2
- package/_assets/{index-B1WSoA_d.js → index-7EHHt4dM.js} +2 -2
- package/_assets/{index-D5bSmdJh.js → index-7gPoET6B.js} +2 -2
- package/_assets/{index-_IxhqgxG.js → index-B-AIFgeo.js} +2 -2
- package/_assets/{index-CLE71cHa.js → index-B-_i8PBE.js} +2 -2
- package/_assets/{index-Cm9Y6iF_.js → index-B0KcUDm0.js} +2 -2
- package/_assets/{index-UVYDSF7V.js → index-B2VG6Otl.js} +3 -3
- package/_assets/{index-BTygCgGD.js → index-B4WtCx0a.js} +2 -2
- package/_assets/{index-Dtrkx-bX.js → index-B6F_Rucm.js} +2 -2
- package/_assets/{index-BLiBKN_P.js → index-B6rGZKVV.js} +2 -2
- package/_assets/{index-CCnv5kKy.js → index-B8X_PuAG.js} +2 -2
- package/_assets/{index-DqaF8d8U.js → index-BFbab9CT.js} +2 -2
- package/_assets/{index-1ljXkwFR.js → index-BGx3L_1D.js} +2 -2
- package/_assets/{index-B6IVDRLa.js → index-BHP4R-KS.js} +4 -4
- package/_assets/{index-BeTqS2CB.js → index-BSiRCa0g.js} +2 -2
- package/_assets/{index-D2JdVXoK.js → index-BXHRk0yG.js} +2 -2
- package/_assets/{index-DIu_3Qpj.js → index-BeGu1OK5.js} +2 -2
- package/_assets/{index-Ced05BdA.js → index-Bfwb72mL.js} +2 -2
- package/_assets/{index-gQVTHUsa.js → index-BjbppcFc.js} +2 -2
- package/_assets/{index-t5SAPiy6.js → index-BmPDz-lq.js} +2 -2
- package/_assets/{index-DwY73LjU.js → index-Bp5YE3NX.js} +2 -2
- package/_assets/{index-BOEoxcss.js → index-BzXbsAOr.js} +2 -2
- package/_assets/{index-D_7ZE6rf.js → index-C2if4RD2.js} +2 -2
- package/_assets/{index-CwNaJ0Wt.js → index-C6eQqGHR.js} +2 -2
- package/_assets/{index-CxA38i0e.js → index-C8V_2yLm.js} +2 -2
- package/_assets/{index-C5Val98O.js → index-CA2RKWQC.js} +2 -2
- package/_assets/{index-gIgBdyus.js → index-CGKgopQY.js} +3 -3
- package/_assets/{index-C6DGRojo.js → index-CHQz8mM1.js} +3 -3
- package/_assets/{index-Bon3We9w.js → index-CPvTZ3mm.js} +2 -2
- package/_assets/{index-C1lVVyzh.js → index-CTOwNiNy.js} +2 -2
- package/_assets/{index-QLR_j1L3.js → index-CTlXshC8.js} +2 -2
- package/_assets/{index-FD7UdKvz.js → index-CWaSn_Fb.js} +2 -2
- package/_assets/{index-Uc6baGYa.js → index-CXF1GvZf.js} +2 -2
- package/_assets/{index-dyZgvxBQ.js → index-Cew2sd8o.js} +2 -2
- package/_assets/{index-UE167sCA.js → index-CmHFYeQW.js} +2 -2
- package/_assets/{index-BseDzJYF.js → index-Cp6zKIzb.js} +2 -2
- package/_assets/{index-CWY4y51L.js → index-Cs9MFQFw.js} +2 -2
- package/_assets/{index-BhWSiQov.js → index-Ct4f_kk7.js} +2 -2
- package/_assets/{index-pK0njIsP.js → index-D7Vr2oVM.js} +12 -12
- package/_assets/{index-BmkjmkaR.js → index-D7qOh2Pb.js} +2 -2
- package/_assets/{index-CzFP82gq.js → index-DFae84bA.js} +2 -2
- package/_assets/{index-GyRYqfnl.js → index-DHcc1n0K.js} +2 -2
- package/_assets/{index-i3FBxfVM.js → index-DJFSJQ6v.js} +2 -2
- package/_assets/{index-C8_b0rdv.js → index-DJY8bktM.js} +2 -2
- package/_assets/{index-BzAHkA9m.js → index-DKKtGhbW.js} +2 -2
- package/_assets/{index--DDbkKxj.js → index-DLpbip__.js} +2 -2
- package/_assets/{index-Dg_QXQSF.js → index-DNEXEMAx.js} +2 -2
- package/_assets/{index-CvgZI4iH.js → index-DS0AiyWl.js} +2 -2
- package/_assets/{index-TXQq96ni.js → index-DVG-jLyq.js} +2 -2
- package/_assets/{index-PKtaDZPX.js → index-DWCrguT4.js} +2 -2
- package/_assets/{index-Nfpcco_0.js → index-DevU24aH.js} +2 -2
- package/_assets/{index-D6L7YadS.js → index-DiNnPlO5.js} +4 -4
- package/_assets/{index-CDyz_tcW.js → index-DiwLErnV.js} +2 -2
- package/_assets/{index-D5YZcIgK.js → index-GC1Q65VQ.js} +2 -2
- package/_assets/{index-D9u5sNyD.js → index-GLWmYkx4.js} +2 -2
- package/_assets/{index-BThdhVMv.js → index-Ja9_mxz7.js} +4 -4
- package/_assets/{index-B4reu1nx.js → index-TQ31Dj9G.js} +2 -2
- package/_assets/{index-FAlRoTO7.js → index-Wa87Q05Z.js} +2 -2
- package/_assets/{index-CcKOzz8r.js → index-X6c4Uv6E.js} +2 -2
- package/_assets/{index-Bbf2RIr7.js → index-XX0RysAj.js} +2 -2
- package/_assets/{index-CqhNARLg.js → index-XmZ_5wbk.js} +2 -2
- package/_assets/{index-DGyh0Z3B.js → index-gEDrLFcO.js} +2 -2
- package/_assets/{index-VEVDZOLt.js → index-hcGr914s.js} +2 -2
- package/_assets/{index-CFbo12NP.js → index-pSNJtHsU.js} +2 -2
- package/_assets/{index-PVgr9kqe.js → index-sLrcgF-e.js} +2 -2
- package/_assets/{index-HNVXkkkS.js → index-yN1Hh4Se.js} +2 -2
- package/_assets/{index-CmKOdBLV.js → index-ydLU_5Gn.js} +3 -3
- package/_assets/{index-BGNETsSQ.js → index-zxKYmTZp.js} +2 -2
- package/_assets/{index.es-hq4c2BaY.js → index.es-C5gwSK8p.js} +5 -5
- package/_assets/{index.es-CnaaGjGK.js → index.es-DCk5s8aZ.js} +2 -2
- package/_assets/{index.es-Db1I5w29.js → index.es-DXO6gTHr.js} +2 -2
- package/_assets/{index.es-stHeeAlu.js → index.es-DgIVXTLg.js} +2 -2
- package/_assets/items-empty-Ch7uK_cC.js +2 -0
- package/_assets/{linkAccount-BxeGB-sO.js → linkAccount-tKw9D7Vs.js} +2 -2
- package/_assets/{localBatchGatewayRequest-GTeruLPs.js → localBatchGatewayRequest-BDIxXCol.js} +2 -2
- package/_assets/{native-DcBwYWY3.js → native-Bz1HptbK.js} +2 -2
- package/_assets/{networks-BBOXlvX3.js → networks-Br0BLqPR.js} +2 -2
- package/_assets/{onramp-M59zJuNY.js → onramp-CuUrfCki.js} +2 -2
- package/_assets/{openzeppelin-mNktJbao.js → openzeppelin-D-JFhdr0.js} +2 -2
- package/_assets/{ownerOf-DD9ZdWgA.js → ownerOf-BYoH6fJy.js} +2 -2
- package/_assets/{parseNft-CxCwcOrH.js → parseNft-SkdP6ZWl.js} +3 -3
- package/_assets/{parseSignature-EI8RAHZi.js → parseSignature-0MbHeBsG.js} +2 -2
- package/_assets/{parseSignature-CzoEYob3.js → parseSignature-DyGLTNfl.js} +4 -4
- package/_assets/{passkeys-BHGHjHFg.js → passkeys-DyqK36QT.js} +2 -2
- package/_assets/{pay-with-exchange-Brbk2xYM.js → pay-with-exchange-Dwi8NtSl.js} +2 -2
- package/_assets/{prepare-contract-call-Iqn7q77l.js → prepare-contract-call-DSjIXieB.js} +2 -2
- package/_assets/{qr-overlay-B_VlIeeu.js → qr-overlay-CmEL3PEn.js} +4 -4
- package/_assets/{react-kphusOoP.js → react-CPKOypa5.js} +2 -2
- package/_assets/{receive-DijB46u3.js → receive-DsBylJty.js} +2 -2
- package/_assets/{resolveImplementation-A5tnt0DE.js → resolveImplementation-DbQfhb72.js} +2 -2
- package/_assets/{resume-buy-DWhUq2ya.js → resume-buy-7yxAf7iG.js} +2 -2
- package/_assets/{rpc-DuOgI_Dk.js → rpc-CPWgZb0d.js} +2 -2
- package/_assets/{sales-empty-CZpUr8Vo.js → sales-empty-000uqg0s.js} +2 -2
- package/_assets/{search-empty-CUu4COfd.js → search-empty-h0zJ0pvu.js} +2 -2
- package/_assets/{secp256k1-Cts-N8ss.js → secp256k1-CRcsJ61A.js} +2 -2
- package/_assets/{secp256k1-C_Xm46m9.js → secp256k1-CyDqUXh0.js} +2 -2
- package/_assets/{secp256k1-C5E_18Uw.js → secp256k1-QdDJCZZ8.js} +2 -2
- package/_assets/{send-B3iu9w43.js → send-YURKn6T0.js} +2 -2
- package/_assets/{send-batch-transaction-DXf1GIEI.js → send-batch-transaction-DlrF3ECN.js} +2 -2
- package/_assets/{send-eip712-transaction-VG-2gOcd.js → send-eip712-transaction-DL0MdBtR.js} +3 -3
- package/_assets/{send-gasless-transaction-CNpkCAAs.js → send-gasless-transaction-Lit3VLzk.js} +3 -3
- package/_assets/{send-transaction-BIDisDgg.js → send-transaction-eG41zAfO.js} +3 -3
- package/_assets/{sendMetaTransaction-BOLe3OTv.js → sendMetaTransaction-LMY2d53Q.js} +2 -2
- package/_assets/{sendRawTransaction-DCVrs5Dz.js → sendRawTransaction-ZBmmYmyk.js} +4 -4
- package/_assets/{sentry-NePMG8c7.js → sentry-Dhl3FQKR.js} +3 -3
- package/_assets/{serializeTransaction-DYP2OLyd.js → serializeTransaction-BV8O5uLy.js} +2 -2
- package/_assets/{session-proposal-CXYNmdYe.js → session-proposal-xqSYsPIQ.js} +2 -2
- package/_assets/{session-request-ypQOoDpT.js → session-request-BcCCmadp.js} +3 -3
- package/_assets/{sha256-ClHNgArd.js → sha256-BOQDDqPA.js} +2 -2
- package/_assets/{signing-CDNvUpy8.js → signing-CNpKg_vp.js} +4 -4
- package/_assets/{skeleton.styles-Swaf_3Kh.js → skeleton.styles-Dtw6XMDS.js} +2 -2
- package/_assets/{socials-BTsj7T0t.js → socials-D58ZHtqS.js} +2 -2
- package/_assets/{styled-C_vILGjH.js → styled-BUVq9rPS.js} +2 -2
- package/_assets/{swaps-hUW23IS4.js → swaps-xcPgt9Tf.js} +2 -2
- package/_assets/{thirdweb-Ddww8-jK.js → thirdweb-4dN90LaI.js} +4 -4
- package/_assets/{to-serializable-transaction-CI3QTKEO.js → to-serializable-transaction-Bsbzt-I2.js} +3 -3
- package/_assets/{totalSupply-BigzDXUH.js → totalSupply-C8piMspG.js} +2 -2
- package/_assets/{transaction-BDOMEoLL.js → transaction-DKG_a6g-.js} +2 -2
- package/_assets/{transactionReceipt-mi8QqP-6.js → transactionReceipt-Co69hre1.js} +2 -2
- package/_assets/{transactions-CSo8LkF0.js → transactions-Cx163gKY.js} +2 -2
- package/_assets/{useCreditPacks-XtadeSCm.js → useCreditPacks-BFMlIcuP.js} +2 -2
- package/_assets/{useInfiniteGrid-BcNHKS4q.js → useInfiniteGrid-D4LyqgVq.js} +2 -2
- package/_assets/{useStore-Cshj1ayZ.js → useStore-CUpQXMuK.js} +3 -3
- package/_assets/{useTheme-C3qJ-yXp.js → useTheme-By5MMSvI.js} +2 -2
- package/_assets/{utils-BWWfhrJP.js → utils-C3caSBM-.js} +2 -2
- package/_assets/{verifyHash-BZMHwARe.js → verifyHash-BEhRQ8gC.js} +2 -2
- package/_assets/{w3m-modal-DkJA0UeJ.js → w3m-modal-9oohg6Nw.js} +2 -2
- package/_assets/{w3m-modal-Cuj1SP1j.js → w3m-modal-BJSRAvV3.js} +2 -2
- package/_assets/{wait-for-tx-receipt-XHMrXN-l.js → wait-for-tx-receipt-BZg4176M.js} +2 -2
- package/_assets/{wallets-CDZziKUN.js → wallets-BgFKM5Un.js} +6 -6
- package/_assets/{web-connector-CYSknakR.js → web-connector-13zKCG8W.js} +4 -4
- package/_assets/{writeContract-YtKzCxsz.js → writeContract-BCrBUtwK.js} +2 -2
- package/_assets/{zora-sepolia-dnlxOXqv.js → zora-sepolia-BKmyGkTB.js} +2 -2
- package/_assets/{zoraTestnet-DhZrzuIj.js → zoraTestnet-BYfzXpe9.js} +2 -2
- package/index.html +11 -11
- package/package.json +1 -1
- package/_assets/collectionPage.styles-DSeUlSA9.js +0 -40
- package/_assets/items-empty-DfDrX_rB.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as f,b as l,a as ee}from"./lit-element-wjYUA6aF.js";import{n as c,o as w,r as u,a as Ii}from"./class-map-C1Xjz5Lx.js";import{d as v,r as _,e as W}from"./index-
|
|
1
|
+
import{i as f,b as l,a as ee}from"./lit-element-wjYUA6aF.js";import{n as c,o as w,r as u,a as Ii}from"./class-map-C1Xjz5Lx.js";import{d as v,r as _,e as W}from"./index-BHP4R-KS.js";import{c as p,U as F}from"./index-C8V_2yLm.js";import"./index-C2if4RD2.js";import"./index-CA2RKWQC.js";import"./index-Bfwb72mL.js";import{O as m,C as d,L as Ee,q as E,b as y,M as P,E as C,t as me,o as b,R as h,d as D,S as A,k as x,l as ze,W as Fe,ak as Xt,aj as he,a3 as J,a1 as qi,z as I,am as tt,A as _i,F as Ki,D as Gi,y as Xi,T as ft,V as Yt,X as Qt,a9 as Yi,ao as Qi,Z as Bt,ap as Ji}from"./W3MFrameProviderSingleton-BZDRIDaX.js";import"./index-BXHRk0yG.js";import{W as zs,a as Fs}from"./index-GC1Q65VQ.js";import"./index-sLrcgF-e.js";import"./index-BeGu1OK5.js";import"./index-zxKYmTZp.js";import{au as S}from"./NetworkUtil-eeGGUC7p.js";import{H as Jt}from"./HelpersUtil-DxE7pdoJ.js";import{n as Zi}from"./index-7EHHt4dM.js";import{E as Q}from"./ExchangeController-BHhqTqpp.js";import"./index-CTOwNiNy.js";import"./index-Cew2sd8o.js";import"./index-BjbppcFc.js";import{M as mt}from"./MathUtil-BvP0JcjY.js";import"./index-Bp5YE3NX.js";import{e as Zt,n as ei}from"./ref-LkxlwUph.js";import"./index-D7qOh2Pb.js";import"./index-DNEXEMAx.js";import"./index-B6rGZKVV.js";import"./index-yN1Hh4Se.js";import{O as bt}from"./index-XX0RysAj.js";import{e as en}from"./index-DJFSJQ6v.js";import"./index-BFbab9CT.js";import"./index-7gPoET6B.js";import{N as tn}from"./NavigationUtil-BgJKGvPt.js";import"./index-B-_i8PBE.js";import"./index-D7Vr2oVM.js";import"./react-CPKOypa5.js";import"./dcl-schemas--SOz4s6t.js";import"./sentry-Dhl3FQKR.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./index-CGKgopQY.js";import"./events-dtXWOsMC.js";import"./index-B6F_Rucm.js";import"./index-DJY8bktM.js";import"./index-OpYIGLSa.js";import"./index-DiwLErnV.js";import"./index.es-DCk5s8aZ.js";import"./browser-ponyfill-BmvHJGnt.js";import"./ConstantsUtil-H5MzXw_a.js";import"./async-directive--Ed0QLAK.js";import"./browser-8yCVpLQu.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="d44e0681-4c45-4e56-99a3-e578a399a80e",t._sentryDebugIdIdentifier="sentry-dbid-d44e0681-4c45-4e56-99a3-e578a399a80e")}catch{}})();const nn=v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -3424,4 +3424,4 @@ import{i as f,b as l,a as ee}from"./lit-element-wjYUA6aF.js";import{n as c,o as
|
|
|
3424
3424
|
</wui-button>
|
|
3425
3425
|
</wui-flex>
|
|
3426
3426
|
`}async onSign(){this.isSigning=!0;try{await Bt.requestSignMessage()}catch(e){if(e instanceof Error&&e.message.includes("OTP is required")){A.showError({message:"Something went wrong. We need to verify your account again."}),h.replace("DataCapture");return}throw e}finally{this.isSigning=!1}}async onCancel(){this.isCancelling=!0,await Bt.cancelSignMessage().finally(()=>this.isCancelling=!1)}};li([u()],Tt.prototype,"isCancelling",void 0);li([u()],Tt.prototype,"isSigning",void 0);Tt=li([p("w3m-siwx-sign-message-view")],Tt);export{di as AppKitAccountButton,hi as AppKitButton,wi as AppKitConnectButton,mi as AppKitNetworkButton,ci as W3mAccountButton,be as W3mAccountSettingsView,Ft as W3mAccountView,vt as W3mAllWalletsView,ui as W3mButton,At as W3mChooseAccountNameView,pi as W3mConnectButton,H as W3mConnectView,It as W3mConnectWalletsView,xi as W3mConnectingExternalView,Ct as W3mConnectingMultiChainView,kt as W3mConnectingWcBasicView,we as W3mConnectingWcView,Si as W3mDownloadsView,zs as W3mFooter,Re as W3mFundWalletView,Ei as W3mGetWalletView,fi as W3mNetworkButton,ot as W3mNetworkSwitchView,Le as W3mNetworksView,B as W3mProfileWalletsView,Fs as W3mRouter,Tt as W3mSIWXSignMessageView,_t as W3mSwitchActiveChainView,rt as W3mUnsupportedChainView,Kt as W3mWalletCompatibleNetworksView,Ai as W3mWhatIsANetworkView,ki as W3mWhatIsAWalletView};
|
|
3427
|
-
//# sourceMappingURL=index-
|
|
3427
|
+
//# sourceMappingURL=index-DWCrguT4.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{P as a,A as m,a as p}from"./index-
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import{P as a,A as m,a as p}from"./index-CTlXshC8.js";import{W as Ce,b as Ue,c as Ee}from"./index-CTlXshC8.js";import"./lit-element-wjYUA6aF.js";import"./class-map-C1Xjz5Lx.js";import"./index-BHP4R-KS.js";import"./index-D7Vr2oVM.js";import"./react-CPKOypa5.js";import"./dcl-schemas--SOz4s6t.js";import"./sentry-Dhl3FQKR.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./W3MFrameProviderSingleton-BZDRIDaX.js";import"./index-DJY8bktM.js";import"./index-CGKgopQY.js";import"./events-dtXWOsMC.js";import"./browser-ponyfill-BmvHJGnt.js";import"./NetworkUtil-eeGGUC7p.js";import"./index-B6F_Rucm.js";import"./index-OpYIGLSa.js";import"./index-DiwLErnV.js";import"./index.es-DCk5s8aZ.js";import"./index-C8V_2yLm.js";import"./index-zxKYmTZp.js";import"./index-CA2RKWQC.js";import"./index-sLrcgF-e.js";import"./index-C2if4RD2.js";import"./index-BeGu1OK5.js";import"./index-7EHHt4dM.js";import"./index-BXHRk0yG.js";import"./index-Bp5YE3NX.js";import"./index-DNEXEMAx.js";import"./MathUtil-BvP0JcjY.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]="de27cf09-2177-4007-9d3f-ec903d0c4eab",e._sentryDebugIdIdentifier="sentry-dbid-de27cf09-2177-4007-9d3f-ec903d0c4eab")}catch{}})();const S=3e5;async function C(e){return a.handleOpenPay(e)}async function X(e,t=S){if(t<=0)throw new m(p.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await C(e)}catch(s){throw s instanceof m?s:new m(p.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,l)=>{let o=!1;const c=setTimeout(()=>{o||(o=!0,i(),l(new m(p.GENERIC_PAYMENT_ERROR,"Payment timeout")))},t);function n(){if(o)return;const r=a.state.currentPayment,d=a.state.error,D=a.state.isPaymentInProgress;if((r==null?void 0:r.status)==="SUCCESS"){o=!0,i(),clearTimeout(c),s({success:!0,result:r.result});return}if((r==null?void 0:r.status)==="FAILED"){o=!0,i(),clearTimeout(c),s({success:!1,error:d||"Payment failed"});return}d&&!D&&!r&&(o=!0,i(),clearTimeout(c),s({success:!1,error:d}))}const b=u("currentPayment",n),y=u("error",n),f=u("isPaymentInProgress",n),i=U([b,y,f]);n()})}function $(){return a.getExchanges()}function ee(){var e;return(e=a.state.currentPayment)==null?void 0:e.result}function te(){return a.state.error}function ae(){return a.state.isPaymentInProgress}function u(e,t){return a.subscribeKey(e,t)}function U(e){return()=>{e.forEach(t=>{try{t()}catch{}})}}const se={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},re={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},oe={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},ne={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ie={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},me={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ce={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},de={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},pe={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ue={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},le={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},be={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ye={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},fe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{a as PayController,Ce as W3mPayLoadingView,Ue as W3mPayQuoteView,Ee as W3mPayView,me as arbitrumUSDC,le as arbitrumUSDT,se as baseETH,oe as baseSepoliaETH,re as baseUSDC,ne as ethereumUSDC,pe as ethereumUSDT,$ as getExchanges,ae as getIsPaymentInProgress,te as getPayError,ee as getPayResult,C as openPay,ie as optimismUSDC,ue as optimismUSDT,X as pay,ce as polygonUSDC,be as polygonUSDT,fe as solanaSOL,de as solanaUSDC,ye as solanaUSDT};
|
|
2
|
+
//# sourceMappingURL=index-DevU24aH.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/in-app-wallet-calls-
|
|
2
|
-
import{_ as b}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/in-app-wallet-calls-dlWnJrek.js","_assets/wait-for-tx-receipt-BZg4176M.js","_assets/transactionReceipt-Co69hre1.js","_assets/prepare-contract-call-DSjIXieB.js","_assets/utils-C3caSBM-.js","_assets/sentry-Dhl3FQKR.js","_assets/react-CPKOypa5.js","_assets/to-serializable-transaction-Bsbzt-I2.js","_assets/index-D7Vr2oVM.js","_assets/dcl-schemas--SOz4s6t.js","_assets/ethers-BGK6CGbc.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/transaction-DKG_a6g-.js","_assets/sleep-fBr8OToA.js","_assets/send-batch-transaction-DlrF3ECN.js","_assets/send-transaction-eG41zAfO.js","_assets/execute-C8YYpwHp.js","_assets/detectExtension-D_bmEQsq.js","_assets/eth_getTransactionCount-CTg3O9yy.js","_assets/index-ydLU_5Gn.js","_assets/signing-CNpKg_vp.js","_assets/get-bytecode-CHdK0jd1.js","_assets/send-eip712-transaction-DL0MdBtR.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/sha256-BOQDDqPA.js","_assets/linkAccount-tKw9D7Vs.js","_assets/wallets-BgFKM5Un.js","_assets/store-80QKZ2rN.js","_assets/hashTypedData-Cw8rSdk5.js","_assets/index-CGKgopQY.js","_assets/events-dtXWOsMC.js","_assets/index-B6F_Rucm.js","_assets/index-DJY8bktM.js","_assets/index-OpYIGLSa.js","_assets/index-B4WtCx0a.js","_assets/index-DiwLErnV.js","_assets/ethereum-BHI7M48A.js","_assets/types-BeDU9GfL.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as b}from"./index-D7Vr2oVM.js";import{e as R}from"./ethereum-BHI7M48A.js";import{s as M}from"./types-BeDU9GfL.js";import{f as D,e as I,a as v,w as B}from"./utils-C3caSBM-.js";import{p as W,g as V}from"./get-bytecode-CHdK0jd1.js";import{b as F,g as H,t as O}from"./to-serializable-transaction-Bsbzt-I2.js";import{r as $,e as N}from"./execute-C8YYpwHp.js";import{g as f,a4 as _,f as k,T as z,s as g,h as y,c as j}from"./prepare-contract-call-DSjIXieB.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="74aaa488-43b4-496e-8681-c6d491b29ae1",t._sentryDebugIdIdentifier="sentry-dbid-74aaa488-43b4-496e-8681-c6d491b29ae1")}catch{}})();const Ae="0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c",q="0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00",Y="0x4be0ddfebca9a5a4a617dee4dece99e7c862dceb",w="0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",Z="0x0000000071727De22E5E9d8BAf0edAc6f37da032",K=50000n,Ce=t=>J(t||w)==="v0.7"?Y:q,E=t=>{const e=D().bundler;return e.startsWith("localhost:")?`http://${e}/v2?chain=${t.id}`:`https://${t.id}.${e}/v2`},J=t=>{const e=f(t);if(e===w)return"v0.6";if(e===Z)return"v0.7";throw new Error("Unknown paymaster version")};function Q(t={}){return _({filters:t,signature:"event UserOperationRevertReason(bytes32 indexed userOpHash, address indexed sender, uint256 nonce, bytes revertReason)"})}function X(t={}){return _({filters:t,signature:"event PostOpRevertReason(bytes32 indexed userOpHash, address indexed sender, uint256 nonce, bytes revertReason)"})}function ee(t){const{receipt:e}=t,n={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs,status:e.status,to:e.to?e.to:null,transactionHash:e.transactionHash,transactionIndex:e.transactionIndex,type:e.type};return e.blobGasPrice&&(n.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(n.blobGasUsed=BigInt(e.blobGasUsed)),{...t,actualGasCost:BigInt(t.actualGasCost),actualGasUsed:BigInt(t.actualGasUsed),nonce:BigInt(t.nonce),receipt:n,userOpHash:t.userOpHash}}const xe=()=>{const t=BigInt(Math.floor(Math.random()*4294967296)),e=BigInt(Math.floor(Math.random()*4294967296)),n=BigInt(Math.floor(Math.random()*4294967296)),r=BigInt(Math.floor(Math.random()*4294967296)),o=BigInt(Math.floor(Math.random()*4294967296)),p=BigInt(Math.floor(Math.random()*4294967296));return t<<BigInt(160)|e<<BigInt(128)|n<<BigInt(96)|r<<BigInt(64)|o<<BigInt(32)|p};function U(t){return Object.fromEntries(Object.entries(t).map(([e,n])=>[e,n==null||k(n)?n:z(n)]))}async function Ie(t){return d({...t,operation:"eth_sendUserOperation",params:[U(t.userOp),t.options.entrypointAddress??w]})}async function _e(t,e){const n=await d({...t,operation:"eth_estimateUserOperationGas",params:[U(t.userOp),t.options.entrypointAddress??w,e??{}]});return{callGasLimit:y(n.callGasLimit)+K,paymasterPostOpGasLimit:n.paymasterPostOpGasLimit!==void 0?y(n.paymasterPostOpGasLimit):void 0,paymasterVerificationGasLimit:n.paymasterVerificationGasLimit!==void 0?y(n.paymasterVerificationGasLimit):void 0,preVerificationGas:y(n.preVerificationGas),verificationGas:n.verificationGas!==void 0?y(n.verificationGas):void 0,verificationGasLimit:y(n.verificationGasLimit)}}async function Ee(t){const e=await d({...t,operation:"thirdweb_getUserOperationGasPrice",params:[]});return{maxFeePerGas:y(e.maxFeePerGas),maxPriorityFeePerGas:y(e.maxPriorityFeePerGas)}}async function Ue(t){var n,r;const e=await te(t);if(e){if(e.success===!1){const p=(r=(n=W({events:[Q(),X()],logs:e.logs})[0])==null?void 0:n.args)==null?void 0:r.revertReason;if(!p)throw new Error(`UserOp failed at txHash: ${e.receipt.transactionHash}`);const a=F({data:p});throw new Error(`UserOp failed with reason: '${a.args.join(",")}' at txHash: ${e.receipt.transactionHash}`)}return e.receipt}}async function te(t){const e=await d({operation:"eth_getUserOperationReceipt",options:t,params:[t.userOpHash]});if(e)return ee(e)}async function Pe(t){const e=await d({operation:"zk_paymasterData",options:t.options,params:[t.transaction]});return{paymaster:e.paymaster,paymasterInput:e.paymasterInput}}async function ne(t){const e=await d({...t,operation:"tw_execute",params:[t.eoaAddress,t.wrappedCalls,t.signature,t.authorization]});if(!e.queueId)throw new Error(`Error executing 7702 transaction: ${g(e)}`);return{transactionId:e.queueId}}async function ae(t){return{transactionHash:(await d({...t,operation:"tw_getTransactionHash",params:[t.transactionId]})).transactionHash}}async function Ge(t){return{transactionHash:(await d({operation:"zk_broadcastTransaction",options:t.options,params:[{...t.transaction,signedTransaction:t.signedTransaction}]})).transactionHash}}async function d(t){const{options:e,operation:n,params:r}=t,o=e.bundlerUrl??E(e.chain),a=await I(e.client)(o,{useAuthToken:!0,body:g({id:1,jsonrpc:"2.0",method:n,params:r}),headers:{"Content-Type":"application/json"},method:"POST"}),i=await a.json();if(!a.ok||i.error){let s=i.error||a.statusText;typeof s=="object"&&(s=g(s));const u=i.code||"UNKNOWN";throw new Error(`${n} error: ${s}
|
|
3
3
|
Status: ${a.status}
|
|
4
|
-
Code: ${u}`)}return i.result}async function ie(t){const{client:e,chain:n,bundlerUrl:r}=t,o=r??E(n),p=`delegation-contract:${o}`;return B(async()=>{var u;const i=await I(e)(o,{useAuthToken:!0,body:g({id:1,jsonrpc:"2.0",method:"tw_getDelegationContract",params:[]}),headers:{"Content-Type":"application/json"},method:"POST"});if(!i.ok)throw new Error(`Failed to fetch delegation contract: ${i.status} ${i.statusText}`);const s=await i.json();if(s.error)throw new Error(`Delegation contract RPC error: ${JSON.stringify(s.error)}`);if(!((u=s.result)!=null&&u.delegationContract))throw new Error("Invalid response: missing delegationContract in result");return s.result.delegationContract},{cacheKey:p,cacheTime:1440*60*1e3})}const se=t=>{const{client:e,adminAccount:n,sponsorGas:r}=t,o=async a=>{var A,C,x;const i=a[0];if(!i)throw new Error("No transactions provided");const s=v(i.chainId),u=H({address:n.address,chain:s,client:e,abi:ue});let c=(A=i.authorizationList)==null?void 0:A[0];const m=await ie({client:e,chain:s});if(c&&((C=c.address)==null?void 0:C.toLowerCase())!==m.toLowerCase())throw new Error(`Authorization address does not match expected delegation contract address. Expected ${m} but got ${c.address}`);if(!c&&!await oe(u,m)){let T=i.nonce?BigInt(i.nonce):BigInt(await re({client:e,address:n.address,chain:s}));T+=r?0n:1n;const h=await((x=n.signAuthorization)==null?void 0:x.call(n,{address:f(m),chainId:i.chainId,nonce:T}));if(!h)throw new Error("Failed to sign authorization");c=h}if(r){const l={calls:a.map(L=>({data:L.data??"0x",target:f(L.to??""),value:L.value??0n})),uid:$()},T=await n.signTypedData({domain:{chainId:i.chainId,name:"MinimalAccount",verifyingContract:u.address,version:"1"},message:l,primaryType:"WrappedCalls",types:{Call:[{name:"target",type:"address"},{name:"value",type:"uint256"},{name:"data",type:"bytes"}],WrappedCalls:[{name:"calls",type:"Call[]"},{name:"uid",type:"bytes32"}]}}),h=await ne({authorization:c,eoaAddress:f(n.address),options:{chain:v(i.chainId),client:e},signature:T,wrappedCalls:l});return{transactionHash:await pe({options:{chain:v(i.chainId),client:e},transactionId:h.transactionId})}}const S=N({calls:a.map(l=>({data:l.data??"0x",target:f(l.to??""),value:l.value??0n})),contract:u,overrides:{authorizationList:c?[c]:void 0,value:a.reduce((l,T)=>l+(T.value??0n),0n)}}),G=await O({from:n.address,transaction:S});return n.sendTransaction(G)},p={address:n.address,sendBatchTransaction:async a=>o(a),sendTransaction:async a=>o([a]),signMessage:({message:a,originalMessage:i,chainId:s})=>n.signMessage({chainId:s,message:a,originalMessage:i}),signTypedData:a=>n.signTypedData(a),sendCalls:async a=>{const{inAppWalletSendCalls:i}=await b(async()=>{const{inAppWalletSendCalls:S}=await import("./in-app-wallet-calls-D3n82g7g.js");return{inAppWalletSendCalls:S}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18])),s=a.calls[0];if(!s)throw new Error("No calls to send");const u=s.client,c=s.chain||a.chain,m=await i({account:p,calls:a.calls,chain:c});return{chain:c,client:u,id:m}},getCallsStatus:async a=>{const{inAppWalletGetCallsStatus:i}=await b(async()=>{const{inAppWalletGetCallsStatus:s}=await import("./in-app-wallet-calls-D3n82g7g.js");return{inAppWalletGetCallsStatus:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]));return i(a)},getCallsStatusRaw:async a=>{const{inAppWalletGetCallsStatusRaw:i}=await b(async()=>{const{inAppWalletGetCallsStatusRaw:s}=await import("./in-app-wallet-calls-D3n82g7g.js");return{inAppWalletGetCallsStatusRaw:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]));return i(a)},getCapabilities:async a=>({[a.chainId??1]:{atomic:{status:"supported"},paymasterService:{supported:r??!1}}})};return p};async function re(t){const{client:e,address:n,chain:r}=t,o=j({chain:r,client:e});return await b(async()=>{const{eth_getTransactionCount:a}=await import("./eth_getTransactionCount-BY7KXSb0.js");return{eth_getTransactionCount:a}},__vite__mapDeps([19,3,4,5,6])).then(({eth_getTransactionCount:a})=>a(o,{address:f(n),blockTag:"pending"}))}async function oe(t,e){const n=await V(t),r=n.length>0&&n.startsWith("0xef0100"),o=`0x${n.slice(8,48)}`;return r&&o.toLowerCase()===e.toLowerCase()}async function pe(t){const e=t.timeoutMs||3e5,n=t.intervalMs||1e3,r=Date.now()+e;for(;Date.now()<r;){const o=await ae({options:t.options,transactionId:t.transactionId});if(o.transactionHash)return o.transactionHash;await new Promise(p=>setTimeout(p,n))}throw new Error(`Timeout waiting for transaction to be mined on chain ${t.options.chain.id} with transactionId: ${t.transactionId}`)}const ue=[{type:"receive",stateMutability:"payable"},{type:"function",name:"createSessionWithSig",inputs:[{name:"sessionSpec",type:"tuple",internalType:"struct SessionLib.SessionSpec",components:[{name:"signer",type:"address",internalType:"address"},{name:"isWildcard",type:"bool",internalType:"bool"},{name:"expiresAt",type:"uint256",internalType:"uint256"},{name:"callPolicies",type:"tuple[]",internalType:"struct SessionLib.CallSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]},{name:"constraints",type:"tuple[]",internalType:"struct SessionLib.Constraint[]",components:[{name:"condition",type:"uint8",internalType:"enum SessionLib.Condition"},{name:"index",type:"uint64",internalType:"uint64"},{name:"refValue",type:"bytes32",internalType:"bytes32"},{name:"limit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]}]},{name:"transferPolicies",type:"tuple[]",internalType:"struct SessionLib.TransferSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"calls",type:"tuple[]",internalType:"struct Call[]",components:[{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"executeWithSig",inputs:[{name:"wrappedCalls",type:"tuple",internalType:"struct WrappedCalls",components:[{name:"calls",type:"tuple[]",internalType:"struct Call[]",components:[{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"getCallPoliciesForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple[]",internalType:"struct SessionLib.CallSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]},{name:"constraints",type:"tuple[]",internalType:"struct SessionLib.Constraint[]",components:[{name:"condition",type:"uint8",internalType:"enum SessionLib.Condition"},{name:"index",type:"uint64",internalType:"uint64"},{name:"refValue",type:"bytes32",internalType:"bytes32"},{name:"limit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]}]}],stateMutability:"view"},{type:"function",name:"getSessionExpirationForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getSessionStateForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple",internalType:"struct SessionLib.SessionState",components:[{name:"transferValue",type:"tuple[]",internalType:"struct SessionLib.LimitState[]",components:[{name:"remaining",type:"uint256",internalType:"uint256"},{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"index",type:"uint256",internalType:"uint256"}]},{name:"callValue",type:"tuple[]",internalType:"struct SessionLib.LimitState[]",components:[{name:"remaining",type:"uint256",internalType:"uint256"},{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"index",type:"uint256",internalType:"uint256"}]},{name:"callParams",type:"tuple[]",internalType:"struct SessionLib.LimitState[]",components:[{name:"remaining",type:"uint256",internalType:"uint256"},{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"index",type:"uint256",internalType:"uint256"}]}]}],stateMutability:"view"},{type:"function",name:"getTransferPoliciesForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple[]",internalType:"struct SessionLib.TransferSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]}],stateMutability:"view"},{type:"function",name:"isWildcardSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Executed",inputs:[{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"},{name:"data",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"SessionCreated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"sessionSpec",type:"tuple",indexed:!1,internalType:"struct SessionLib.SessionSpec",components:[{name:"signer",type:"address",internalType:"address"},{name:"isWildcard",type:"bool",internalType:"bool"},{name:"expiresAt",type:"uint256",internalType:"uint256"},{name:"callPolicies",type:"tuple[]",internalType:"struct SessionLib.CallSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]},{name:"constraints",type:"tuple[]",internalType:"struct SessionLib.Constraint[]",components:[{name:"condition",type:"uint8",internalType:"enum SessionLib.Condition"},{name:"index",type:"uint64",internalType:"uint64"},{name:"refValue",type:"bytes32",internalType:"bytes32"},{name:"limit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]}]},{name:"transferPolicies",type:"tuple[]",internalType:"struct SessionLib.TransferSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"ValueReceived",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"AllowanceExceeded",inputs:[{name:"allowanceUsage",type:"uint256",internalType:"uint256"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint64",internalType:"uint64"}]},{type:"error",name:"CallPolicyViolated",inputs:[{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"}]},{type:"error",name:"CallReverted",inputs:[]},{type:"error",name:"ConditionFailed",inputs:[{name:"param",type:"bytes32",internalType:"bytes32"},{name:"refValue",type:"bytes32",internalType:"bytes32"},{name:"condition",type:"uint8",internalType:"uint8"}]},{type:"error",name:"InvalidDataLength",inputs:[{name:"actualLength",type:"uint256",internalType:"uint256"},{name:"expectedLength",type:"uint256",internalType:"uint256"}]},{type:"error",name:"InvalidSignature",inputs:[{name:"msgSender",type:"address",internalType:"address"},{name:"thisAddress",type:"address",internalType:"address"}]},{type:"error",name:"LifetimeUsageExceeded",inputs:[{name:"lifetimeUsage",type:"uint256",internalType:"uint256"},{name:"limit",type:"uint256",internalType:"uint256"}]},{type:"error",name:"MaxValueExceeded",inputs:[{name:"value",type:"uint256",internalType:"uint256"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NoCallsToExecute",inputs:[]},{type:"error",name:"SessionExpired",inputs:[]},{type:"error",name:"SessionExpiresTooSoon",inputs:[]},{type:"error",name:"SessionZeroSigner",inputs:[]},{type:"error",name:"TransferPolicyViolated",inputs:[{name:"target",type:"address",internalType:"address"}]},{type:"error",name:"UIDAlreadyProcessed",inputs:[]}];function ce(t){return t.id==="inApp"||t.id==="embedded"}async function le(t,e,n){var p,a,i,s;if(((p=e==null?void 0:e.auth)==null?void 0:p.mode)!=="popup"&&((a=e==null?void 0:e.auth)==null?void 0:a.mode)!==void 0&&n.authenticateWithRedirect){const u=t.strategy;M.includes(u)&&await n.authenticateWithRedirect(u,(i=e==null?void 0:e.auth)==null?void 0:i.mode,(s=e==null?void 0:e.auth)==null?void 0:s.redirectUrl)}const o=(await n.connect(t)).user.account;return P({authAccount:o,client:t.client,createOptions:e,desiredChain:t.chain})}async function ye(t,e,n){t.authResult&&n.loginWithAuthToken&&await n.loginWithAuthToken(t.authResult);const r=await me(n);if(!r)throw new Error("Failed to authenticate user.");const o=r.account;return P({authAccount:o,client:t.client,createOptions:e,desiredChain:t.chain})}async function de(t){const{connectSmartAccount:e}=await b(async()=>{const{connectSmartAccount:n}=await import("./index-CmKOdBLV.js");return{connectSmartAccount:n}},__vite__mapDeps([20,8,6,9,5,10,11,12,13,3,4,7,17,18,21,22,23,24,25,16,26,27,28,29,30,31,32,33,34,35,36,37,38]));return e({chain:t.chain,client:t.client,personalAccount:t.authAccount},t.smartAccountOptions)}async function me(t){const e=await t.getUser();switch(e.status){case"Logged In, Wallet Initialized":return e}}async function P(t){const{createOptions:e,authAccount:n,desiredChain:r,client:o}=t;let p,a;const i=e&&"executionMode"in e?e.executionMode:void 0;if(i&&(i.mode==="EIP4337"?p=i.smartAccount:i.mode==="EIP7702"&&(a=i)),e&&"smartAccount"in e&&(e!=null&&e.smartAccount)&&(p=e.smartAccount),p){const[s,u]=await de({authAccount:n,chain:r,client:o,smartAccountOptions:p});return{account:s,adminAccount:n,chain:u}}if(a){const s=r;if(!s)throw new Error("Chain is required for EIP-7702 execution, pass a chain when connecting the inAppWallet.");return{account:se({adminAccount:n,client:o,sponsorGas:a.sponsorGas}),adminAccount:n,chain:s}}return{account:n,chain:r||R}}const Re=Object.freeze(Object.defineProperty({__proto__:null,autoConnectInAppWallet:ye,connectInAppWallet:le,isInAppWallet:ce},Symbol.toStringTag,{value:"Module"}));export{Ae as D,w as E,J as a,Ue as b,Ee as c,xe as d,_e as e,Z as f,E as g,U as h,Ce as i,Pe as j,Ge as k,Ie as l,ce as m,Re as n};
|
|
5
|
-
//# sourceMappingURL=index-
|
|
4
|
+
Code: ${u}`)}return i.result}async function ie(t){const{client:e,chain:n,bundlerUrl:r}=t,o=r??E(n),p=`delegation-contract:${o}`;return B(async()=>{var u;const i=await I(e)(o,{useAuthToken:!0,body:g({id:1,jsonrpc:"2.0",method:"tw_getDelegationContract",params:[]}),headers:{"Content-Type":"application/json"},method:"POST"});if(!i.ok)throw new Error(`Failed to fetch delegation contract: ${i.status} ${i.statusText}`);const s=await i.json();if(s.error)throw new Error(`Delegation contract RPC error: ${JSON.stringify(s.error)}`);if(!((u=s.result)!=null&&u.delegationContract))throw new Error("Invalid response: missing delegationContract in result");return s.result.delegationContract},{cacheKey:p,cacheTime:1440*60*1e3})}const se=t=>{const{client:e,adminAccount:n,sponsorGas:r}=t,o=async a=>{var A,C,x;const i=a[0];if(!i)throw new Error("No transactions provided");const s=v(i.chainId),u=H({address:n.address,chain:s,client:e,abi:ue});let c=(A=i.authorizationList)==null?void 0:A[0];const m=await ie({client:e,chain:s});if(c&&((C=c.address)==null?void 0:C.toLowerCase())!==m.toLowerCase())throw new Error(`Authorization address does not match expected delegation contract address. Expected ${m} but got ${c.address}`);if(!c&&!await oe(u,m)){let T=i.nonce?BigInt(i.nonce):BigInt(await re({client:e,address:n.address,chain:s}));T+=r?0n:1n;const h=await((x=n.signAuthorization)==null?void 0:x.call(n,{address:f(m),chainId:i.chainId,nonce:T}));if(!h)throw new Error("Failed to sign authorization");c=h}if(r){const l={calls:a.map(L=>({data:L.data??"0x",target:f(L.to??""),value:L.value??0n})),uid:$()},T=await n.signTypedData({domain:{chainId:i.chainId,name:"MinimalAccount",verifyingContract:u.address,version:"1"},message:l,primaryType:"WrappedCalls",types:{Call:[{name:"target",type:"address"},{name:"value",type:"uint256"},{name:"data",type:"bytes"}],WrappedCalls:[{name:"calls",type:"Call[]"},{name:"uid",type:"bytes32"}]}}),h=await ne({authorization:c,eoaAddress:f(n.address),options:{chain:v(i.chainId),client:e},signature:T,wrappedCalls:l});return{transactionHash:await pe({options:{chain:v(i.chainId),client:e},transactionId:h.transactionId})}}const S=N({calls:a.map(l=>({data:l.data??"0x",target:f(l.to??""),value:l.value??0n})),contract:u,overrides:{authorizationList:c?[c]:void 0,value:a.reduce((l,T)=>l+(T.value??0n),0n)}}),G=await O({from:n.address,transaction:S});return n.sendTransaction(G)},p={address:n.address,sendBatchTransaction:async a=>o(a),sendTransaction:async a=>o([a]),signMessage:({message:a,originalMessage:i,chainId:s})=>n.signMessage({chainId:s,message:a,originalMessage:i}),signTypedData:a=>n.signTypedData(a),sendCalls:async a=>{const{inAppWalletSendCalls:i}=await b(async()=>{const{inAppWalletSendCalls:S}=await import("./in-app-wallet-calls-dlWnJrek.js");return{inAppWalletSendCalls:S}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18])),s=a.calls[0];if(!s)throw new Error("No calls to send");const u=s.client,c=s.chain||a.chain,m=await i({account:p,calls:a.calls,chain:c});return{chain:c,client:u,id:m}},getCallsStatus:async a=>{const{inAppWalletGetCallsStatus:i}=await b(async()=>{const{inAppWalletGetCallsStatus:s}=await import("./in-app-wallet-calls-dlWnJrek.js");return{inAppWalletGetCallsStatus:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]));return i(a)},getCallsStatusRaw:async a=>{const{inAppWalletGetCallsStatusRaw:i}=await b(async()=>{const{inAppWalletGetCallsStatusRaw:s}=await import("./in-app-wallet-calls-dlWnJrek.js");return{inAppWalletGetCallsStatusRaw:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]));return i(a)},getCapabilities:async a=>({[a.chainId??1]:{atomic:{status:"supported"},paymasterService:{supported:r??!1}}})};return p};async function re(t){const{client:e,address:n,chain:r}=t,o=j({chain:r,client:e});return await b(async()=>{const{eth_getTransactionCount:a}=await import("./eth_getTransactionCount-CTg3O9yy.js");return{eth_getTransactionCount:a}},__vite__mapDeps([19,3,4,5,6])).then(({eth_getTransactionCount:a})=>a(o,{address:f(n),blockTag:"pending"}))}async function oe(t,e){const n=await V(t),r=n.length>0&&n.startsWith("0xef0100"),o=`0x${n.slice(8,48)}`;return r&&o.toLowerCase()===e.toLowerCase()}async function pe(t){const e=t.timeoutMs||3e5,n=t.intervalMs||1e3,r=Date.now()+e;for(;Date.now()<r;){const o=await ae({options:t.options,transactionId:t.transactionId});if(o.transactionHash)return o.transactionHash;await new Promise(p=>setTimeout(p,n))}throw new Error(`Timeout waiting for transaction to be mined on chain ${t.options.chain.id} with transactionId: ${t.transactionId}`)}const ue=[{type:"receive",stateMutability:"payable"},{type:"function",name:"createSessionWithSig",inputs:[{name:"sessionSpec",type:"tuple",internalType:"struct SessionLib.SessionSpec",components:[{name:"signer",type:"address",internalType:"address"},{name:"isWildcard",type:"bool",internalType:"bool"},{name:"expiresAt",type:"uint256",internalType:"uint256"},{name:"callPolicies",type:"tuple[]",internalType:"struct SessionLib.CallSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]},{name:"constraints",type:"tuple[]",internalType:"struct SessionLib.Constraint[]",components:[{name:"condition",type:"uint8",internalType:"enum SessionLib.Condition"},{name:"index",type:"uint64",internalType:"uint64"},{name:"refValue",type:"bytes32",internalType:"bytes32"},{name:"limit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]}]},{name:"transferPolicies",type:"tuple[]",internalType:"struct SessionLib.TransferSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"calls",type:"tuple[]",internalType:"struct Call[]",components:[{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"executeWithSig",inputs:[{name:"wrappedCalls",type:"tuple",internalType:"struct WrappedCalls",components:[{name:"calls",type:"tuple[]",internalType:"struct Call[]",components:[{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"getCallPoliciesForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple[]",internalType:"struct SessionLib.CallSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]},{name:"constraints",type:"tuple[]",internalType:"struct SessionLib.Constraint[]",components:[{name:"condition",type:"uint8",internalType:"enum SessionLib.Condition"},{name:"index",type:"uint64",internalType:"uint64"},{name:"refValue",type:"bytes32",internalType:"bytes32"},{name:"limit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]}]}],stateMutability:"view"},{type:"function",name:"getSessionExpirationForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getSessionStateForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple",internalType:"struct SessionLib.SessionState",components:[{name:"transferValue",type:"tuple[]",internalType:"struct SessionLib.LimitState[]",components:[{name:"remaining",type:"uint256",internalType:"uint256"},{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"index",type:"uint256",internalType:"uint256"}]},{name:"callValue",type:"tuple[]",internalType:"struct SessionLib.LimitState[]",components:[{name:"remaining",type:"uint256",internalType:"uint256"},{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"index",type:"uint256",internalType:"uint256"}]},{name:"callParams",type:"tuple[]",internalType:"struct SessionLib.LimitState[]",components:[{name:"remaining",type:"uint256",internalType:"uint256"},{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"index",type:"uint256",internalType:"uint256"}]}]}],stateMutability:"view"},{type:"function",name:"getTransferPoliciesForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple[]",internalType:"struct SessionLib.TransferSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]}],stateMutability:"view"},{type:"function",name:"isWildcardSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Executed",inputs:[{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"},{name:"data",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"SessionCreated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"sessionSpec",type:"tuple",indexed:!1,internalType:"struct SessionLib.SessionSpec",components:[{name:"signer",type:"address",internalType:"address"},{name:"isWildcard",type:"bool",internalType:"bool"},{name:"expiresAt",type:"uint256",internalType:"uint256"},{name:"callPolicies",type:"tuple[]",internalType:"struct SessionLib.CallSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]},{name:"constraints",type:"tuple[]",internalType:"struct SessionLib.Constraint[]",components:[{name:"condition",type:"uint8",internalType:"enum SessionLib.Condition"},{name:"index",type:"uint64",internalType:"uint64"},{name:"refValue",type:"bytes32",internalType:"bytes32"},{name:"limit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]}]},{name:"transferPolicies",type:"tuple[]",internalType:"struct SessionLib.TransferSpec[]",components:[{name:"target",type:"address",internalType:"address"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"},{name:"valueLimit",type:"tuple",internalType:"struct SessionLib.UsageLimit",components:[{name:"limitType",type:"uint8",internalType:"enum SessionLib.LimitType"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint256",internalType:"uint256"}]}]},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"ValueReceived",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"AllowanceExceeded",inputs:[{name:"allowanceUsage",type:"uint256",internalType:"uint256"},{name:"limit",type:"uint256",internalType:"uint256"},{name:"period",type:"uint64",internalType:"uint64"}]},{type:"error",name:"CallPolicyViolated",inputs:[{name:"target",type:"address",internalType:"address"},{name:"selector",type:"bytes4",internalType:"bytes4"}]},{type:"error",name:"CallReverted",inputs:[]},{type:"error",name:"ConditionFailed",inputs:[{name:"param",type:"bytes32",internalType:"bytes32"},{name:"refValue",type:"bytes32",internalType:"bytes32"},{name:"condition",type:"uint8",internalType:"uint8"}]},{type:"error",name:"InvalidDataLength",inputs:[{name:"actualLength",type:"uint256",internalType:"uint256"},{name:"expectedLength",type:"uint256",internalType:"uint256"}]},{type:"error",name:"InvalidSignature",inputs:[{name:"msgSender",type:"address",internalType:"address"},{name:"thisAddress",type:"address",internalType:"address"}]},{type:"error",name:"LifetimeUsageExceeded",inputs:[{name:"lifetimeUsage",type:"uint256",internalType:"uint256"},{name:"limit",type:"uint256",internalType:"uint256"}]},{type:"error",name:"MaxValueExceeded",inputs:[{name:"value",type:"uint256",internalType:"uint256"},{name:"maxValuePerUse",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NoCallsToExecute",inputs:[]},{type:"error",name:"SessionExpired",inputs:[]},{type:"error",name:"SessionExpiresTooSoon",inputs:[]},{type:"error",name:"SessionZeroSigner",inputs:[]},{type:"error",name:"TransferPolicyViolated",inputs:[{name:"target",type:"address",internalType:"address"}]},{type:"error",name:"UIDAlreadyProcessed",inputs:[]}];function ce(t){return t.id==="inApp"||t.id==="embedded"}async function le(t,e,n){var p,a,i,s;if(((p=e==null?void 0:e.auth)==null?void 0:p.mode)!=="popup"&&((a=e==null?void 0:e.auth)==null?void 0:a.mode)!==void 0&&n.authenticateWithRedirect){const u=t.strategy;M.includes(u)&&await n.authenticateWithRedirect(u,(i=e==null?void 0:e.auth)==null?void 0:i.mode,(s=e==null?void 0:e.auth)==null?void 0:s.redirectUrl)}const o=(await n.connect(t)).user.account;return P({authAccount:o,client:t.client,createOptions:e,desiredChain:t.chain})}async function ye(t,e,n){t.authResult&&n.loginWithAuthToken&&await n.loginWithAuthToken(t.authResult);const r=await me(n);if(!r)throw new Error("Failed to authenticate user.");const o=r.account;return P({authAccount:o,client:t.client,createOptions:e,desiredChain:t.chain})}async function de(t){const{connectSmartAccount:e}=await b(async()=>{const{connectSmartAccount:n}=await import("./index-ydLU_5Gn.js");return{connectSmartAccount:n}},__vite__mapDeps([20,8,6,9,5,10,11,12,13,3,4,7,17,18,21,22,23,24,25,16,26,27,28,29,30,31,32,33,34,35,36,37,38]));return e({chain:t.chain,client:t.client,personalAccount:t.authAccount},t.smartAccountOptions)}async function me(t){const e=await t.getUser();switch(e.status){case"Logged In, Wallet Initialized":return e}}async function P(t){const{createOptions:e,authAccount:n,desiredChain:r,client:o}=t;let p,a;const i=e&&"executionMode"in e?e.executionMode:void 0;if(i&&(i.mode==="EIP4337"?p=i.smartAccount:i.mode==="EIP7702"&&(a=i)),e&&"smartAccount"in e&&(e!=null&&e.smartAccount)&&(p=e.smartAccount),p){const[s,u]=await de({authAccount:n,chain:r,client:o,smartAccountOptions:p});return{account:s,adminAccount:n,chain:u}}if(a){const s=r;if(!s)throw new Error("Chain is required for EIP-7702 execution, pass a chain when connecting the inAppWallet.");return{account:se({adminAccount:n,client:o,sponsorGas:a.sponsorGas}),adminAccount:n,chain:s}}return{account:n,chain:r||R}}const Re=Object.freeze(Object.defineProperty({__proto__:null,autoConnectInAppWallet:ye,connectInAppWallet:le,isInAppWallet:ce},Symbol.toStringTag,{value:"Module"}));export{Ae as D,w as E,J as a,Ue as b,Ee as c,xe as d,_e as e,Z as f,E as g,U as h,Ce as i,Pe as j,Ge as k,Ie as l,ce as m,Re as n};
|
|
5
|
+
//# sourceMappingURL=index-DiNnPlO5.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as j}from"./index-
|
|
1
|
+
import{d as j}from"./index-B6F_Rucm.js";import"./react-CPKOypa5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6b9490ef-194f-4cd1-8f39-f6ceae3e9a23",e._sentryDebugIdIdentifier="sentry-dbid-6b9490ef-194f-4cd1-8f39-f6ceae3e9a23")}catch{}})();/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function P(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function V(e,r){return Array.isArray(r)?r.length===0?!0:e?r.every(n=>typeof n=="string"):r.every(n=>Number.isSafeInteger(n)):!1}function B(e,r){if(typeof r!="string")throw new Error(`${e}: string expected`);return!0}function I(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function v(e){if(!Array.isArray(e))throw new Error("array expected")}function S(e,r){if(!V(!0,r))throw new Error(`${e}: array of strings expected`)}function K(e,r){if(!V(!1,r))throw new Error(`${e}: array of numbers expected`)}function J(...e){const r=l=>l,n=(l,u)=>i=>l(u(i)),h=e.map(l=>l.encode).reduceRight(n,r),d=e.map(l=>l.decode).reduce(n,r);return{encode:h,decode:d}}function Q(e){const r=typeof e=="string"?e.split(""):e,n=r.length;S("alphabet",r);const h=new Map(r.map((d,l)=>[d,l]));return{encode:d=>(v(d),d.map(l=>{if(!Number.isSafeInteger(l)||l<0||l>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${l}". Allowed: ${e}`);return r[l]})),decode:d=>(v(d),d.map(l=>{B("alphabet.decode",l);const u=h.get(l);if(u===void 0)throw new Error(`Unknown letter: "${l}". Allowed: ${e}`);return u}))}}function W(e=""){return B("join",e),{encode:r=>(S("join.decode",r),r.join(e)),decode:r=>(B("join.decode",r),r.split(e))}}function fe(e,r="="){return I(e),B("padding",r),{encode(n){for(S("padding.encode",n);n.length*e%8;)n.push(r);return n},decode(n){S("padding.decode",n);let h=n.length;if(h*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;h>0&&n[h-1]===r;h--)if((h-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,h)}}}function G(e,r,n){if(r<2)throw new Error(`convertRadix: invalid from=${r}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(v(e),!e.length)return[];let h=0;const d=[],l=Array.from(e,i=>{if(I(i),i<0||i>=r)throw new Error(`invalid integer: ${i}`);return i}),u=l.length;for(;;){let i=0,a=!0;for(let w=h;w<u;w++){const p=l[w],x=r*i,A=x+p;if(!Number.isSafeInteger(A)||x/r!==i||A-p!==x)throw new Error("convertRadix: carry overflow");const m=A/n;i=A%n;const s=Math.floor(m);if(l[w]=s,!Number.isSafeInteger(s)||s*n+i!==A)throw new Error("convertRadix: carry overflow");if(a)s?a=!1:h=w;else continue}if(d.push(i),a)break}for(let i=0;i<e.length-1&&e[i]===0;i++)d.push(0);return d.reverse()}const X=(e,r)=>r===0?e:X(r,e%r),$=(e,r)=>e+(r-X(e,r)),R=(()=>{let e=[];for(let r=0;r<40;r++)e.push(2**r);return e})();function F(e,r,n,h){if(v(e),r<=0||r>32)throw new Error(`convertRadix2: wrong from=${r}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if($(r,n)>32)throw new Error(`convertRadix2: carry overflow from=${r} to=${n} carryBits=${$(r,n)}`);let d=0,l=0;const u=R[r],i=R[n]-1,a=[];for(const w of e){if(I(w),w>=u)throw new Error(`convertRadix2: invalid data word=${w} from=${r}`);if(d=d<<r|w,l+r>32)throw new Error(`convertRadix2: carry overflow pos=${l} from=${r}`);for(l+=r;l>=n;l-=n)a.push((d>>l-n&i)>>>0);const p=R[l];if(p===void 0)throw new Error("invalid carry");d&=p-1}if(d=d<<n-l&i,!h&&l>=r)throw new Error("Excess padding");if(!h&&d>0)throw new Error(`Non-zero padding: ${d}`);return h&&l>0&&a.push(d>>>0),a}function ae(e){I(e);const r=2**8;return{encode:n=>{if(!P(n))throw new Error("radix.encode input should be Uint8Array");return G(Array.from(n),r,e)},decode:n=>(K("radix.decode",n),Uint8Array.from(G(n,e,r)))}}function se(e,r=!1){if(I(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if($(8,e)>32||$(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!P(n))throw new Error("radix2.encode input should be Uint8Array");return F(Array.from(n),8,e,!r)},decode:n=>(K("radix2.decode",n),Uint8Array.from(F(n,e,8,r)))}}const we=J(se(5),Q("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),fe(5),W("")),le=e=>J(ae(58),Q(e),W("")),ge=le("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");function M(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Y(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?M(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function pe(e,r){r||(r=e.reduce((d,l)=>d+l.length,0));const n=Y(r);let h=0;for(const d of e)n.set(d,h),h+=d.length;return M(n)}function Z(e,r,n,h){return{name:e,prefix:r,encoder:{name:e,prefix:r,encode:n},decoder:{decode:h}}}const q=Z("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),T=Z("ascii","a",e=>{let r="a";for(let n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return r},e=>{e=e.substring(1);const r=Y(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}),ee={utf8:q,"utf-8":q,hex:j.base16,latin1:T,ascii:T,binary:T,...j};function ye(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?M(globalThis.Buffer.from(e,"utf-8")):n.decoder.decode(`${n.prefix}${e}`)}function Ae(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):n.encoder.encode(e).substring(1)}var H,N;function re(){if(N)return H;N=1;const e="Input must be an string, Buffer or Uint8Array";function r(u){let i;if(u instanceof Uint8Array)i=u;else if(typeof u=="string")i=new TextEncoder().encode(u);else throw new Error(e);return i}function n(u){return Array.prototype.map.call(u,function(i){return(i<16?"0":"")+i.toString(16)}).join("")}function h(u){return(4294967296+u).toString(16).substring(1)}function d(u,i,a){let w=`
|
|
2
2
|
`+u+" = ";for(let p=0;p<i.length;p+=2){if(a===32)w+=h(i[p]).toUpperCase(),w+=" ",w+=h(i[p+1]).toUpperCase();else if(a===64)w+=h(i[p+1]).toUpperCase(),w+=h(i[p]).toUpperCase();else throw new Error("Invalid size "+a);p%6===4?w+=`
|
|
3
3
|
`+new Array(u.length+4).join(" "):p<i.length-2&&(w+=" ")}console.log(w)}function l(u,i,a){let w=new Date().getTime();const p=new Uint8Array(i);for(let A=0;A<i;A++)p[A]=A%256;const x=new Date().getTime();console.log("Generated random input in "+(x-w)+"ms"),w=x;for(let A=0;A<a;A++){const m=u(p),s=new Date().getTime(),b=s-w;w=s,console.log("Hashed in "+b+"ms: "+m.substring(0,20)+"..."),console.log(Math.round(i/(1<<20)/(b/1e3)*100)/100+" MB PER SECOND")}}return H={normalizeInput:r,toHex:n,debugPrint:d,testSpeed:l},H}var C,O;function ue(){if(O)return C;O=1;const e=re();function r(t,c,o){const g=t[c]+t[o];let y=t[c+1]+t[o+1];g>=4294967296&&y++,t[c]=g,t[c+1]=y}function n(t,c,o,g){let y=t[c]+o;o<0&&(y+=4294967296);let k=t[c+1]+g;y>=4294967296&&k++,t[c]=y,t[c+1]=k}function h(t,c){return t[c]^t[c+1]<<8^t[c+2]<<16^t[c+3]<<24}function d(t,c,o,g,y,k){const ne=w[y],te=w[y+1],oe=w[k],ie=w[k+1];r(a,t,c),n(a,t,ne,te);let U=a[g]^a[t],E=a[g+1]^a[t+1];a[g]=E,a[g+1]=U,r(a,o,g),U=a[c]^a[o],E=a[c+1]^a[o+1],a[c]=U>>>24^E<<8,a[c+1]=E>>>24^U<<8,r(a,t,c),n(a,t,oe,ie),U=a[g]^a[t],E=a[g+1]^a[t+1],a[g]=U>>>16^E<<16,a[g+1]=E>>>16^U<<16,r(a,o,g),U=a[c]^a[o],E=a[c+1]^a[o+1],a[c]=E>>>31^U<<1,a[c+1]=U>>>31^E<<1}const l=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],i=new Uint8Array(u.map(function(t){return t*2})),a=new Uint32Array(32),w=new Uint32Array(32);function p(t,c){let o=0;for(o=0;o<16;o++)a[o]=t.h[o],a[o+16]=l[o];for(a[24]=a[24]^t.t,a[25]=a[25]^t.t/4294967296,c&&(a[28]=~a[28],a[29]=~a[29]),o=0;o<32;o++)w[o]=h(t.b,4*o);for(o=0;o<12;o++)d(0,8,16,24,i[o*16+0],i[o*16+1]),d(2,10,18,26,i[o*16+2],i[o*16+3]),d(4,12,20,28,i[o*16+4],i[o*16+5]),d(6,14,22,30,i[o*16+6],i[o*16+7]),d(0,10,20,30,i[o*16+8],i[o*16+9]),d(2,12,22,24,i[o*16+10],i[o*16+11]),d(4,14,16,26,i[o*16+12],i[o*16+13]),d(6,8,18,28,i[o*16+14],i[o*16+15]);for(o=0;o<16;o++)t.h[o]=t.h[o]^a[o]^a[o+16]}const x=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function A(t,c,o,g){if(t===0||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(c&&c.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(o&&o.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(g&&g.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const y={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t};x.fill(0),x[0]=t,c&&(x[1]=c.length),x[2]=1,x[3]=1,o&&x.set(o,32),g&&x.set(g,48);for(let k=0;k<16;k++)y.h[k]=l[k]^h(x,k*4);return c&&(m(y,c),y.c=128),y}function m(t,c){for(let o=0;o<c.length;o++)t.c===128&&(t.t+=t.c,p(t,!1),t.c=0),t.b[t.c++]=c[o]}function s(t){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;p(t,!0);const c=new Uint8Array(t.outlen);for(let o=0;o<t.outlen;o++)c[o]=t.h[o>>2]>>8*(o&3);return c}function b(t,c,o,g,y){o=o||64,t=e.normalizeInput(t),g&&(g=e.normalizeInput(g)),y&&(y=e.normalizeInput(y));const k=A(o,c,g,y);return m(k,t),s(k)}function f(t,c,o,g,y){const k=b(t,c,o,g,y);return e.toHex(k)}return C={blake2b:b,blake2bHex:f,blake2bInit:A,blake2bUpdate:m,blake2bFinal:s},C}var D,z;function ce(){if(z)return D;z=1;const e=re();function r(s,b){return s[b]^s[b+1]<<8^s[b+2]<<16^s[b+3]<<24}function n(s,b,f,t,c,o){u[s]=u[s]+u[b]+c,u[t]=h(u[t]^u[s],16),u[f]=u[f]+u[t],u[b]=h(u[b]^u[f],12),u[s]=u[s]+u[b]+o,u[t]=h(u[t]^u[s],8),u[f]=u[f]+u[t],u[b]=h(u[b]^u[f],7)}function h(s,b){return s>>>b^s<<32-b}const d=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),l=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),u=new Uint32Array(16),i=new Uint32Array(16);function a(s,b){let f=0;for(f=0;f<8;f++)u[f]=s.h[f],u[f+8]=d[f];for(u[12]^=s.t,u[13]^=s.t/4294967296,b&&(u[14]=~u[14]),f=0;f<16;f++)i[f]=r(s.b,4*f);for(f=0;f<10;f++)n(0,4,8,12,i[l[f*16+0]],i[l[f*16+1]]),n(1,5,9,13,i[l[f*16+2]],i[l[f*16+3]]),n(2,6,10,14,i[l[f*16+4]],i[l[f*16+5]]),n(3,7,11,15,i[l[f*16+6]],i[l[f*16+7]]),n(0,5,10,15,i[l[f*16+8]],i[l[f*16+9]]),n(1,6,11,12,i[l[f*16+10]],i[l[f*16+11]]),n(2,7,8,13,i[l[f*16+12]],i[l[f*16+13]]),n(3,4,9,14,i[l[f*16+14]],i[l[f*16+15]]);for(f=0;f<8;f++)s.h[f]^=u[f]^u[f+8]}function w(s,b){if(!(s>0&&s<=32))throw new Error("Incorrect output length, should be in [1, 32]");const f=b?b.length:0;if(b&&!(f>0&&f<=32))throw new Error("Incorrect key length, should be in [1, 32]");const t={h:new Uint32Array(d),b:new Uint8Array(64),c:0,t:0,outlen:s};return t.h[0]^=16842752^f<<8^s,f>0&&(p(t,b),t.c=64),t}function p(s,b){for(let f=0;f<b.length;f++)s.c===64&&(s.t+=s.c,a(s,!1),s.c=0),s.b[s.c++]=b[f]}function x(s){for(s.t+=s.c;s.c<64;)s.b[s.c++]=0;a(s,!0);const b=new Uint8Array(s.outlen);for(let f=0;f<s.outlen;f++)b[f]=s.h[f>>2]>>8*(f&3)&255;return b}function A(s,b,f){f=f||32,s=e.normalizeInput(s);const t=w(f,b);return p(t,s),x(t)}function m(s,b,f){const t=A(s,b,f);return e.toHex(t)}return D={blake2s:A,blake2sHex:m,blake2sInit:w,blake2sUpdate:p,blake2sFinal:x},D}var _,L;function de(){if(L)return _;L=1;const e=ue(),r=ce();return _={blake2b:e.blake2b,blake2bHex:e.blake2bHex,blake2bInit:e.blake2bInit,blake2bUpdate:e.blake2bUpdate,blake2bFinal:e.blake2bFinal,blake2s:r.blake2s,blake2sHex:r.blake2sHex,blake2sInit:r.blake2sInit,blake2sUpdate:r.blake2sUpdate,blake2sFinal:r.blake2sFinal},_}var xe=de();export{we as a,ge as b,pe as c,xe as d,ye as f,Ae as t};
|
|
4
|
-
//# sourceMappingURL=index-
|
|
4
|
+
//# sourceMappingURL=index-DiwLErnV.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as g,b as e}from"./lit-element-wjYUA6aF.js";import{r as f,n as w,o as v}from"./class-map-C1Xjz5Lx.js";import{d as y,r as k,e as P}from"./index-
|
|
1
|
+
import{i as g,b as e}from"./lit-element-wjYUA6aF.js";import{r as f,n as w,o as v}from"./class-map-C1Xjz5Lx.js";import{d as y,r as k,e as P}from"./index-BHP4R-KS.js";import{c as b}from"./index-C8V_2yLm.js";import"./index-B6rGZKVV.js";import{H as x}from"./HelpersUtil-DxE7pdoJ.js";import{R as u,E as I}from"./W3MFrameProviderSingleton-BZDRIDaX.js";import"./index-BXHRk0yG.js";import"./index-7EHHt4dM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="d3157b23-7705-4077-9ad3-005d86dc7e56",t._sentryDebugIdIdentifier="sentry-dbid-d3157b23-7705-4077-9ad3-005d86dc7e56")}catch{}})();const A=y`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -208,4 +208,4 @@ import{i as g,b as e}from"./lit-element-wjYUA6aF.js";import{r as f,n as w,o as v
|
|
|
208
208
|
imageSrc=${this.imageSrc}
|
|
209
209
|
name=${this.name}
|
|
210
210
|
></wui-wallet-image>`:!this.showAllWallets&&!this.imageSrc?e`<wui-wallet-image size="sm" name=${this.name}></wui-wallet-image>`:null}templateStatus(){return this.loading?e`<wui-loading-spinner size="lg" color="accent-primary"></wui-loading-spinner>`:this.tagLabel&&this.tagVariant?e`<wui-tag size="sm" variant=${this.tagVariant}>${this.tagLabel}</wui-tag>`:null}};l.styles=[k,P,E];m([w({type:Array})],l.prototype,"walletImages",void 0);m([w()],l.prototype,"imageSrc",void 0);m([w()],l.prototype,"name",void 0);m([w()],l.prototype,"size",void 0);m([w()],l.prototype,"tagLabel",void 0);m([w()],l.prototype,"tagVariant",void 0);m([w()],l.prototype,"walletIcon",void 0);m([w()],l.prototype,"tabIdx",void 0);m([w({type:Array})],l.prototype,"namespaces",void 0);m([w({type:Boolean})],l.prototype,"disabled",void 0);m([w({type:Boolean})],l.prototype,"showAllWallets",void 0);m([w({type:Boolean})],l.prototype,"loading",void 0);m([w({type:String})],l.prototype,"loadingSpinnerColor",void 0);l=m([b("wui-list-wallet")],l);export{d as W,p as a};
|
|
211
|
-
//# sourceMappingURL=index-
|
|
211
|
+
//# sourceMappingURL=index-GC1Q65VQ.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as X}from"./sentry-NePMG8c7.js";import{c as Tr}from"./react-kphusOoP.js";import{r as Zr,a as Qr,b as it,c as at,d as ft,e as st,f as ot,g as ut}from"./index-VEVDZOLt.js";import{c as Xr,d as nr}from"./ethers-9NkNazYH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="b245e532-9189-4d3a-a6cf-c5446cf625a7",e._sentryDebugIdIdentifier="sentry-dbid-b245e532-9189-4d3a-a6cf-c5446cf625a7")}catch{}})();var or={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Fr;function rr(){return Fr||(Fr=1,(function(e,g){var w=Xr(),h=w.Buffer;function x(l,y){for(var f in l)y[f]=l[f]}h.from&&h.alloc&&h.allocUnsafe&&h.allocUnsafeSlow?e.exports=w:(x(w,g),g.Buffer=s);function s(l,y,f){return h(l,y,f)}s.prototype=Object.create(h.prototype),x(h,s),s.from=function(l,y,f){if(typeof l=="number")throw new TypeError("Argument must not be a number");return h(l,y,f)},s.alloc=function(l,y,f){if(typeof l!="number")throw new TypeError("Argument must be a number");var p=h(l);return y!==void 0?typeof f=="string"?p.fill(y,f):p.fill(y):p.fill(0),p},s.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return h(l)},s.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return w.SlowBuffer(l)}})(or,or.exports)),or.exports}var hr,jr;function rt(){if(jr)return hr;jr=1;var e=Zr();return hr=function(w){return!!e(w)},hr}var lr,Dr;function ct(){if(Dr)return lr;Dr=1;var e=it(),g=Qr(),w=g("TypedArray.prototype.buffer",!0),h=rt();return lr=w||function(s){if(!h(s))throw new e("Not a Typed Array");return s.buffer},lr}var dr,kr;function ht(){if(kr)return dr;kr=1;var e=rr().Buffer,g=at(),w=ct(),h=ArrayBuffer.isView||function(f){try{return w(f),!0}catch{return!1}},x=typeof Uint8Array<"u",s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",l=s&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return dr=function(f,p){if(e.isBuffer(f))return f.constructor&&!("isBuffer"in f)?e.from(f):f;if(typeof f=="string")return e.from(f,p);if(s&&h(f)){if(f.byteLength===0)return e.alloc(0);if(l){var b=e.from(f.buffer,f.byteOffset,f.byteLength);if(b.byteLength===f.byteLength)return b}var B=f instanceof Uint8Array?f:new Uint8Array(f.buffer,f.byteOffset,f.byteLength),u=e.from(B);if(u.length===f.byteLength)return u}if(x&&f instanceof Uint8Array)return e.from(f);var S=g(f);if(S)for(var v=0;v<f.length;v+=1){var d=f[v];if(typeof d!="number"||d<0||d>255||~~d!==d)throw new RangeError("Array items must be numbers in the range 0-255.")}if(S||e.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return e.from(f);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},dr}var yr={},pr={},br,Ur;function lt(){if(Ur)return br;Ur=1;const e=(function*(){}).constructor;return br=()=>e,br}var _r,Nr;function dt(){if(Nr)return _r;Nr=1;var e=Qr(),g=ot(),w=g(/^\s*(?:function)?\*/),h=ft()(),x=st(),s=e("Object.prototype.toString"),l=e("Function.prototype.toString"),y=lt();return _r=function(p){if(typeof p!="function")return!1;if(w(l(p)))return!0;if(!h){var b=s(p);return b==="[object GeneratorFunction]"}if(!x)return!1;var B=y();return B&&x(p)===B.prototype},_r}var qr;function yt(){return qr||(qr=1,(function(e){var g=ut(),w=dt(),h=Zr(),x=rt();function s(i){return i.call.bind(i)}var l=typeof BigInt<"u",y=typeof Symbol<"u",f=s(Object.prototype.toString),p=s(Number.prototype.valueOf),b=s(String.prototype.valueOf),B=s(Boolean.prototype.valueOf);if(l)var u=s(BigInt.prototype.valueOf);if(y)var S=s(Symbol.prototype.valueOf);function v(i,sr){if(typeof i!="object")return!1;try{return sr(i),!0}catch{return!1}}e.isArgumentsObject=g,e.isGeneratorFunction=w,e.isTypedArray=x;function d(i){return typeof Promise<"u"&&i instanceof Promise||i!==null&&typeof i=="object"&&typeof i.then=="function"&&typeof i.catch=="function"}e.isPromise=d;function o(i){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(i):x(i)||t(i)}e.isArrayBufferView=o;function r(i){return h(i)==="Uint8Array"}e.isUint8Array=r;function c(i){return h(i)==="Uint8ClampedArray"}e.isUint8ClampedArray=c;function _(i){return h(i)==="Uint16Array"}e.isUint16Array=_;function F(i){return h(i)==="Uint32Array"}e.isUint32Array=F;function I(i){return h(i)==="Int8Array"}e.isInt8Array=I;function j(i){return h(i)==="Int16Array"}e.isInt16Array=j;function H(i){return h(i)==="Int32Array"}e.isInt32Array=H;function N(i){return h(i)==="Float32Array"}e.isFloat32Array=N;function k(i){return h(i)==="Float64Array"}e.isFloat64Array=k;function R(i){return h(i)==="BigInt64Array"}e.isBigInt64Array=R;function V(i){return h(i)==="BigUint64Array"}e.isBigUint64Array=V;function q(i){return f(i)==="[object Map]"}q.working=typeof Map<"u"&&q(new Map);function P(i){return typeof Map>"u"?!1:q.working?q(i):i instanceof Map}e.isMap=P;function $(i){return f(i)==="[object Set]"}$.working=typeof Set<"u"&&$(new Set);function L(i){return typeof Set>"u"?!1:$.working?$(i):i instanceof Set}e.isSet=L;function M(i){return f(i)==="[object WeakMap]"}M.working=typeof WeakMap<"u"&&M(new WeakMap);function D(i){return typeof WeakMap>"u"?!1:M.working?M(i):i instanceof WeakMap}e.isWeakMap=D;function W(i){return f(i)==="[object WeakSet]"}W.working=typeof WeakSet<"u"&&W(new WeakSet);function J(i){return W(i)}e.isWeakSet=J;function z(i){return f(i)==="[object ArrayBuffer]"}z.working=typeof ArrayBuffer<"u"&&z(new ArrayBuffer);function tr(i){return typeof ArrayBuffer>"u"?!1:z.working?z(i):i instanceof ArrayBuffer}e.isArrayBuffer=tr;function Y(i){return f(i)==="[object DataView]"}Y.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Y(new DataView(new ArrayBuffer(1),0,1));function t(i){return typeof DataView>"u"?!1:Y.working?Y(i):i instanceof DataView}e.isDataView=t;var n=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function a(i){return f(i)==="[object SharedArrayBuffer]"}function E(i){return typeof n>"u"?!1:(typeof a.working>"u"&&(a.working=a(new n)),a.working?a(i):i instanceof n)}e.isSharedArrayBuffer=E;function O(i){return f(i)==="[object AsyncFunction]"}e.isAsyncFunction=O;function A(i){return f(i)==="[object Map Iterator]"}e.isMapIterator=A;function m(i){return f(i)==="[object Set Iterator]"}e.isSetIterator=m;function C(i){return f(i)==="[object Generator]"}e.isGeneratorObject=C;function T(i){return f(i)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=T;function U(i){return v(i,p)}e.isNumberObject=U;function K(i){return v(i,b)}e.isStringObject=K;function er(i){return v(i,B)}e.isBooleanObject=er;function Z(i){return l&&v(i,u)}e.isBigIntObject=Z;function ir(i){return y&&v(i,S)}e.isSymbolObject=ir;function cr(i){return U(i)||K(i)||er(i)||Z(i)||ir(i)}e.isBoxedPrimitive=cr;function fr(i){return typeof Uint8Array<"u"&&(tr(i)||E(i))}e.isAnyArrayBuffer=fr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(i){Object.defineProperty(e,i,{enumerable:!1,value:function(){throw new Error(i+" is not supported in userland")}})})})(pr)),pr}var vr,Pr;function pt(){return Pr||(Pr=1,vr=function(g){return g&&typeof g=="object"&&typeof g.copy=="function"&&typeof g.fill=="function"&&typeof g.readUInt8=="function"}),vr}var Rr;function St(){return Rr||(Rr=1,(function(e){var g={},w=Object.getOwnPropertyDescriptors||function(n){for(var a=Object.keys(n),E={},O=0;O<a.length;O++)E[a[O]]=Object.getOwnPropertyDescriptor(n,a[O]);return E},h=/%[sdj%]/g;e.format=function(t){if(!j(t)){for(var n=[],a=0;a<arguments.length;a++)n.push(y(arguments[a]));return n.join(" ")}for(var a=1,E=arguments,O=E.length,A=String(t).replace(h,function(C){if(C==="%%")return"%";if(a>=O)return C;switch(C){case"%s":return String(E[a++]);case"%d":return Number(E[a++]);case"%j":try{return JSON.stringify(E[a++])}catch{return"[Circular]"}default:return C}}),m=E[a];a<O;m=E[++a])_(m)||!R(m)?A+=" "+m:A+=" "+y(m);return A},e.deprecate=function(t,n){if(typeof X<"u"&&X.noDeprecation===!0)return t;if(typeof X>"u")return function(){return e.deprecate(t,n).apply(this,arguments)};var a=!1;function E(){if(!a){if(X.throwDeprecation)throw new Error(n);X.traceDeprecation?console.trace(n):console.error(n),a=!0}return t.apply(this,arguments)}return E};var x={},s=/^$/;if(g.NODE_DEBUG){var l=g.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+l+"$","i")}e.debuglog=function(t){if(t=t.toUpperCase(),!x[t])if(s.test(t)){var n=X.pid;x[t]=function(){var a=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,a)}}else x[t]=function(){};return x[t]};function y(t,n){var a={seen:[],stylize:p};return arguments.length>=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),c(n)?a.showHidden=n:n&&e._extend(a,n),N(a.showHidden)&&(a.showHidden=!1),N(a.depth)&&(a.depth=2),N(a.colors)&&(a.colors=!1),N(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=f),B(a,t,a.depth)}e.inspect=y,y.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},y.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f(t,n){var a=y.styles[n];return a?"\x1B["+y.colors[a][0]+"m"+t+"\x1B["+y.colors[a][1]+"m":t}function p(t,n){return t}function b(t){var n={};return t.forEach(function(a,E){n[a]=!0}),n}function B(t,n,a){if(t.customInspect&&n&&P(n.inspect)&&n.inspect!==e.inspect&&!(n.constructor&&n.constructor.prototype===n)){var E=n.inspect(a,t);return j(E)||(E=B(t,E,a)),E}var O=u(t,n);if(O)return O;var A=Object.keys(n),m=b(A);if(t.showHidden&&(A=Object.getOwnPropertyNames(n)),q(n)&&(A.indexOf("message")>=0||A.indexOf("description")>=0))return S(n);if(A.length===0){if(P(n)){var C=n.name?": "+n.name:"";return t.stylize("[Function"+C+"]","special")}if(k(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(V(n))return t.stylize(Date.prototype.toString.call(n),"date");if(q(n))return S(n)}var T="",U=!1,K=["{","}"];if(r(n)&&(U=!0,K=["[","]"]),P(n)){var er=n.name?": "+n.name:"";T=" [Function"+er+"]"}if(k(n)&&(T=" "+RegExp.prototype.toString.call(n)),V(n)&&(T=" "+Date.prototype.toUTCString.call(n)),q(n)&&(T=" "+S(n)),A.length===0&&(!U||n.length==0))return K[0]+T+K[1];if(a<0)return k(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var Z;return U?Z=v(t,n,a,m,A):Z=A.map(function(ir){return d(t,n,a,m,ir,U)}),t.seen.pop(),o(Z,T,K)}function u(t,n){if(N(n))return t.stylize("undefined","undefined");if(j(n)){var a="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(a,"string")}if(I(n))return t.stylize(""+n,"number");if(c(n))return t.stylize(""+n,"boolean");if(_(n))return t.stylize("null","null")}function S(t){return"["+Error.prototype.toString.call(t)+"]"}function v(t,n,a,E,O){for(var A=[],m=0,C=n.length;m<C;++m)J(n,String(m))?A.push(d(t,n,a,E,String(m),!0)):A.push("");return O.forEach(function(T){T.match(/^\d+$/)||A.push(d(t,n,a,E,T,!0))}),A}function d(t,n,a,E,O,A){var m,C,T;if(T=Object.getOwnPropertyDescriptor(n,O)||{value:n[O]},T.get?T.set?C=t.stylize("[Getter/Setter]","special"):C=t.stylize("[Getter]","special"):T.set&&(C=t.stylize("[Setter]","special")),J(E,O)||(m="["+O+"]"),C||(t.seen.indexOf(T.value)<0?(_(a)?C=B(t,T.value,null):C=B(t,T.value,a-1),C.indexOf(`
|
|
1
|
+
import{p as X}from"./sentry-Dhl3FQKR.js";import{c as Tr}from"./react-CPKOypa5.js";import{r as Zr,a as Qr,b as it,c as at,d as ft,e as st,f as ot,g as ut}from"./index-hcGr914s.js";import{c as Xr,d as nr}from"./ethers-BGK6CGbc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="b245e532-9189-4d3a-a6cf-c5446cf625a7",e._sentryDebugIdIdentifier="sentry-dbid-b245e532-9189-4d3a-a6cf-c5446cf625a7")}catch{}})();var or={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Fr;function rr(){return Fr||(Fr=1,(function(e,g){var w=Xr(),h=w.Buffer;function x(l,y){for(var f in l)y[f]=l[f]}h.from&&h.alloc&&h.allocUnsafe&&h.allocUnsafeSlow?e.exports=w:(x(w,g),g.Buffer=s);function s(l,y,f){return h(l,y,f)}s.prototype=Object.create(h.prototype),x(h,s),s.from=function(l,y,f){if(typeof l=="number")throw new TypeError("Argument must not be a number");return h(l,y,f)},s.alloc=function(l,y,f){if(typeof l!="number")throw new TypeError("Argument must be a number");var p=h(l);return y!==void 0?typeof f=="string"?p.fill(y,f):p.fill(y):p.fill(0),p},s.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return h(l)},s.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return w.SlowBuffer(l)}})(or,or.exports)),or.exports}var hr,jr;function rt(){if(jr)return hr;jr=1;var e=Zr();return hr=function(w){return!!e(w)},hr}var lr,Dr;function ct(){if(Dr)return lr;Dr=1;var e=it(),g=Qr(),w=g("TypedArray.prototype.buffer",!0),h=rt();return lr=w||function(s){if(!h(s))throw new e("Not a Typed Array");return s.buffer},lr}var dr,kr;function ht(){if(kr)return dr;kr=1;var e=rr().Buffer,g=at(),w=ct(),h=ArrayBuffer.isView||function(f){try{return w(f),!0}catch{return!1}},x=typeof Uint8Array<"u",s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",l=s&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return dr=function(f,p){if(e.isBuffer(f))return f.constructor&&!("isBuffer"in f)?e.from(f):f;if(typeof f=="string")return e.from(f,p);if(s&&h(f)){if(f.byteLength===0)return e.alloc(0);if(l){var b=e.from(f.buffer,f.byteOffset,f.byteLength);if(b.byteLength===f.byteLength)return b}var B=f instanceof Uint8Array?f:new Uint8Array(f.buffer,f.byteOffset,f.byteLength),u=e.from(B);if(u.length===f.byteLength)return u}if(x&&f instanceof Uint8Array)return e.from(f);var S=g(f);if(S)for(var v=0;v<f.length;v+=1){var d=f[v];if(typeof d!="number"||d<0||d>255||~~d!==d)throw new RangeError("Array items must be numbers in the range 0-255.")}if(S||e.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return e.from(f);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},dr}var yr={},pr={},br,Ur;function lt(){if(Ur)return br;Ur=1;const e=(function*(){}).constructor;return br=()=>e,br}var _r,Nr;function dt(){if(Nr)return _r;Nr=1;var e=Qr(),g=ot(),w=g(/^\s*(?:function)?\*/),h=ft()(),x=st(),s=e("Object.prototype.toString"),l=e("Function.prototype.toString"),y=lt();return _r=function(p){if(typeof p!="function")return!1;if(w(l(p)))return!0;if(!h){var b=s(p);return b==="[object GeneratorFunction]"}if(!x)return!1;var B=y();return B&&x(p)===B.prototype},_r}var qr;function yt(){return qr||(qr=1,(function(e){var g=ut(),w=dt(),h=Zr(),x=rt();function s(i){return i.call.bind(i)}var l=typeof BigInt<"u",y=typeof Symbol<"u",f=s(Object.prototype.toString),p=s(Number.prototype.valueOf),b=s(String.prototype.valueOf),B=s(Boolean.prototype.valueOf);if(l)var u=s(BigInt.prototype.valueOf);if(y)var S=s(Symbol.prototype.valueOf);function v(i,sr){if(typeof i!="object")return!1;try{return sr(i),!0}catch{return!1}}e.isArgumentsObject=g,e.isGeneratorFunction=w,e.isTypedArray=x;function d(i){return typeof Promise<"u"&&i instanceof Promise||i!==null&&typeof i=="object"&&typeof i.then=="function"&&typeof i.catch=="function"}e.isPromise=d;function o(i){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(i):x(i)||t(i)}e.isArrayBufferView=o;function r(i){return h(i)==="Uint8Array"}e.isUint8Array=r;function c(i){return h(i)==="Uint8ClampedArray"}e.isUint8ClampedArray=c;function _(i){return h(i)==="Uint16Array"}e.isUint16Array=_;function F(i){return h(i)==="Uint32Array"}e.isUint32Array=F;function I(i){return h(i)==="Int8Array"}e.isInt8Array=I;function j(i){return h(i)==="Int16Array"}e.isInt16Array=j;function H(i){return h(i)==="Int32Array"}e.isInt32Array=H;function N(i){return h(i)==="Float32Array"}e.isFloat32Array=N;function k(i){return h(i)==="Float64Array"}e.isFloat64Array=k;function R(i){return h(i)==="BigInt64Array"}e.isBigInt64Array=R;function V(i){return h(i)==="BigUint64Array"}e.isBigUint64Array=V;function q(i){return f(i)==="[object Map]"}q.working=typeof Map<"u"&&q(new Map);function P(i){return typeof Map>"u"?!1:q.working?q(i):i instanceof Map}e.isMap=P;function $(i){return f(i)==="[object Set]"}$.working=typeof Set<"u"&&$(new Set);function L(i){return typeof Set>"u"?!1:$.working?$(i):i instanceof Set}e.isSet=L;function M(i){return f(i)==="[object WeakMap]"}M.working=typeof WeakMap<"u"&&M(new WeakMap);function D(i){return typeof WeakMap>"u"?!1:M.working?M(i):i instanceof WeakMap}e.isWeakMap=D;function W(i){return f(i)==="[object WeakSet]"}W.working=typeof WeakSet<"u"&&W(new WeakSet);function J(i){return W(i)}e.isWeakSet=J;function z(i){return f(i)==="[object ArrayBuffer]"}z.working=typeof ArrayBuffer<"u"&&z(new ArrayBuffer);function tr(i){return typeof ArrayBuffer>"u"?!1:z.working?z(i):i instanceof ArrayBuffer}e.isArrayBuffer=tr;function Y(i){return f(i)==="[object DataView]"}Y.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Y(new DataView(new ArrayBuffer(1),0,1));function t(i){return typeof DataView>"u"?!1:Y.working?Y(i):i instanceof DataView}e.isDataView=t;var n=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function a(i){return f(i)==="[object SharedArrayBuffer]"}function E(i){return typeof n>"u"?!1:(typeof a.working>"u"&&(a.working=a(new n)),a.working?a(i):i instanceof n)}e.isSharedArrayBuffer=E;function O(i){return f(i)==="[object AsyncFunction]"}e.isAsyncFunction=O;function A(i){return f(i)==="[object Map Iterator]"}e.isMapIterator=A;function m(i){return f(i)==="[object Set Iterator]"}e.isSetIterator=m;function C(i){return f(i)==="[object Generator]"}e.isGeneratorObject=C;function T(i){return f(i)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=T;function U(i){return v(i,p)}e.isNumberObject=U;function K(i){return v(i,b)}e.isStringObject=K;function er(i){return v(i,B)}e.isBooleanObject=er;function Z(i){return l&&v(i,u)}e.isBigIntObject=Z;function ir(i){return y&&v(i,S)}e.isSymbolObject=ir;function cr(i){return U(i)||K(i)||er(i)||Z(i)||ir(i)}e.isBoxedPrimitive=cr;function fr(i){return typeof Uint8Array<"u"&&(tr(i)||E(i))}e.isAnyArrayBuffer=fr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(i){Object.defineProperty(e,i,{enumerable:!1,value:function(){throw new Error(i+" is not supported in userland")}})})})(pr)),pr}var vr,Pr;function pt(){return Pr||(Pr=1,vr=function(g){return g&&typeof g=="object"&&typeof g.copy=="function"&&typeof g.fill=="function"&&typeof g.readUInt8=="function"}),vr}var Rr;function St(){return Rr||(Rr=1,(function(e){var g={},w=Object.getOwnPropertyDescriptors||function(n){for(var a=Object.keys(n),E={},O=0;O<a.length;O++)E[a[O]]=Object.getOwnPropertyDescriptor(n,a[O]);return E},h=/%[sdj%]/g;e.format=function(t){if(!j(t)){for(var n=[],a=0;a<arguments.length;a++)n.push(y(arguments[a]));return n.join(" ")}for(var a=1,E=arguments,O=E.length,A=String(t).replace(h,function(C){if(C==="%%")return"%";if(a>=O)return C;switch(C){case"%s":return String(E[a++]);case"%d":return Number(E[a++]);case"%j":try{return JSON.stringify(E[a++])}catch{return"[Circular]"}default:return C}}),m=E[a];a<O;m=E[++a])_(m)||!R(m)?A+=" "+m:A+=" "+y(m);return A},e.deprecate=function(t,n){if(typeof X<"u"&&X.noDeprecation===!0)return t;if(typeof X>"u")return function(){return e.deprecate(t,n).apply(this,arguments)};var a=!1;function E(){if(!a){if(X.throwDeprecation)throw new Error(n);X.traceDeprecation?console.trace(n):console.error(n),a=!0}return t.apply(this,arguments)}return E};var x={},s=/^$/;if(g.NODE_DEBUG){var l=g.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+l+"$","i")}e.debuglog=function(t){if(t=t.toUpperCase(),!x[t])if(s.test(t)){var n=X.pid;x[t]=function(){var a=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,a)}}else x[t]=function(){};return x[t]};function y(t,n){var a={seen:[],stylize:p};return arguments.length>=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),c(n)?a.showHidden=n:n&&e._extend(a,n),N(a.showHidden)&&(a.showHidden=!1),N(a.depth)&&(a.depth=2),N(a.colors)&&(a.colors=!1),N(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=f),B(a,t,a.depth)}e.inspect=y,y.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},y.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f(t,n){var a=y.styles[n];return a?"\x1B["+y.colors[a][0]+"m"+t+"\x1B["+y.colors[a][1]+"m":t}function p(t,n){return t}function b(t){var n={};return t.forEach(function(a,E){n[a]=!0}),n}function B(t,n,a){if(t.customInspect&&n&&P(n.inspect)&&n.inspect!==e.inspect&&!(n.constructor&&n.constructor.prototype===n)){var E=n.inspect(a,t);return j(E)||(E=B(t,E,a)),E}var O=u(t,n);if(O)return O;var A=Object.keys(n),m=b(A);if(t.showHidden&&(A=Object.getOwnPropertyNames(n)),q(n)&&(A.indexOf("message")>=0||A.indexOf("description")>=0))return S(n);if(A.length===0){if(P(n)){var C=n.name?": "+n.name:"";return t.stylize("[Function"+C+"]","special")}if(k(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(V(n))return t.stylize(Date.prototype.toString.call(n),"date");if(q(n))return S(n)}var T="",U=!1,K=["{","}"];if(r(n)&&(U=!0,K=["[","]"]),P(n)){var er=n.name?": "+n.name:"";T=" [Function"+er+"]"}if(k(n)&&(T=" "+RegExp.prototype.toString.call(n)),V(n)&&(T=" "+Date.prototype.toUTCString.call(n)),q(n)&&(T=" "+S(n)),A.length===0&&(!U||n.length==0))return K[0]+T+K[1];if(a<0)return k(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var Z;return U?Z=v(t,n,a,m,A):Z=A.map(function(ir){return d(t,n,a,m,ir,U)}),t.seen.pop(),o(Z,T,K)}function u(t,n){if(N(n))return t.stylize("undefined","undefined");if(j(n)){var a="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(a,"string")}if(I(n))return t.stylize(""+n,"number");if(c(n))return t.stylize(""+n,"boolean");if(_(n))return t.stylize("null","null")}function S(t){return"["+Error.prototype.toString.call(t)+"]"}function v(t,n,a,E,O){for(var A=[],m=0,C=n.length;m<C;++m)J(n,String(m))?A.push(d(t,n,a,E,String(m),!0)):A.push("");return O.forEach(function(T){T.match(/^\d+$/)||A.push(d(t,n,a,E,T,!0))}),A}function d(t,n,a,E,O,A){var m,C,T;if(T=Object.getOwnPropertyDescriptor(n,O)||{value:n[O]},T.get?T.set?C=t.stylize("[Getter/Setter]","special"):C=t.stylize("[Getter]","special"):T.set&&(C=t.stylize("[Setter]","special")),J(E,O)||(m="["+O+"]"),C||(t.seen.indexOf(T.value)<0?(_(a)?C=B(t,T.value,null):C=B(t,T.value,a-1),C.indexOf(`
|
|
2
2
|
`)>-1&&(A?C=C.split(`
|
|
3
3
|
`).map(function(U){return" "+U}).join(`
|
|
4
4
|
`).slice(2):C=`
|
|
@@ -8,4 +8,4 @@ import{p as X}from"./sentry-NePMG8c7.js";import{c as Tr}from"./react-kphusOoP.js
|
|
|
8
8
|
`)>=0,O+A.replace(/\u001b\[\d\d?m/g,"").length+1},0);return E>60?a[0]+(n===""?"":n+`
|
|
9
9
|
`)+" "+t.join(`,
|
|
10
10
|
`)+" "+a[1]:a[0]+n+" "+t.join(", ")+" "+a[1]}e.types=yt();function r(t){return Array.isArray(t)}e.isArray=r;function c(t){return typeof t=="boolean"}e.isBoolean=c;function _(t){return t===null}e.isNull=_;function F(t){return t==null}e.isNullOrUndefined=F;function I(t){return typeof t=="number"}e.isNumber=I;function j(t){return typeof t=="string"}e.isString=j;function H(t){return typeof t=="symbol"}e.isSymbol=H;function N(t){return t===void 0}e.isUndefined=N;function k(t){return R(t)&&L(t)==="[object RegExp]"}e.isRegExp=k,e.types.isRegExp=k;function R(t){return typeof t=="object"&&t!==null}e.isObject=R;function V(t){return R(t)&&L(t)==="[object Date]"}e.isDate=V,e.types.isDate=V;function q(t){return R(t)&&(L(t)==="[object Error]"||t instanceof Error)}e.isError=q,e.types.isNativeError=q;function P(t){return typeof t=="function"}e.isFunction=P;function $(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}e.isPrimitive=$,e.isBuffer=pt();function L(t){return Object.prototype.toString.call(t)}function M(t){return t<10?"0"+t.toString(10):t.toString(10)}var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function W(){var t=new Date,n=[M(t.getHours()),M(t.getMinutes()),M(t.getSeconds())].join(":");return[t.getDate(),D[t.getMonth()],n].join(" ")}e.log=function(){console.log("%s - %s",W(),e.format.apply(e,arguments))},e.inherits=nr(),e._extend=function(t,n){if(!n||!R(n))return t;for(var a=Object.keys(n),E=a.length;E--;)t[a[E]]=n[a[E]];return t};function J(t,n){return Object.prototype.hasOwnProperty.call(t,n)}var z=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(n){if(typeof n!="function")throw new TypeError('The "original" argument must be of type Function');if(z&&n[z]){var a=n[z];if(typeof a!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(a,z,{value:a,enumerable:!1,writable:!1,configurable:!0}),a}function a(){for(var E,O,A=new Promise(function(T,U){E=T,O=U}),m=[],C=0;C<arguments.length;C++)m.push(arguments[C]);m.push(function(T,U){T?O(T):E(U)});try{n.apply(this,m)}catch(T){O(T)}return A}return Object.setPrototypeOf(a,Object.getPrototypeOf(n)),z&&Object.defineProperty(a,z,{value:a,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(a,w(n))},e.promisify.custom=z;function tr(t,n){if(!t){var a=new Error("Promise was rejected with a falsy value");a.reason=t,t=a}return n(t)}function Y(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');function n(){for(var a=[],E=0;E<arguments.length;E++)a.push(arguments[E]);var O=a.pop();if(typeof O!="function")throw new TypeError("The last argument must be of type Function");var A=this,m=function(){return O.apply(A,arguments)};t.apply(this,a).then(function(C){X.nextTick(m.bind(null,null,C))},function(C){X.nextTick(tr.bind(null,C,m))})}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,w(t)),n}e.callbackify=Y})(yr)),yr}var gr,Mr;function Et(){if(Mr)return gr;Mr=1,gr=e;function e(w,h){if(g("noDeprecation"))return w;var x=!1;function s(){if(!x){if(g("throwDeprecation"))throw new Error(h);g("traceDeprecation")?console.trace(h):console.warn(h),x=!0}return w.apply(this,arguments)}return s}function g(w){try{if(!Tr.localStorage)return!1}catch{return!1}var h=Tr.localStorage[w];return h==null?!1:String(h).toLowerCase()==="true"}return gr}var xr={},ur={exports:{}},zr;function bt(){return zr||(zr=1,(function(e,g){var w=Xr(),h=w.Buffer;function x(l,y){for(var f in l)y[f]=l[f]}h.from&&h.alloc&&h.allocUnsafe&&h.allocUnsafeSlow?e.exports=w:(x(w,g),g.Buffer=s);function s(l,y,f){return h(l,y,f)}x(h,s),s.from=function(l,y,f){if(typeof l=="number")throw new TypeError("Argument must not be a number");return h(l,y,f)},s.alloc=function(l,y,f){if(typeof l!="number")throw new TypeError("Argument must be a number");var p=h(l);return y!==void 0?typeof f=="string"?p.fill(y,f):p.fill(y):p.fill(0),p},s.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return h(l)},s.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return w.SlowBuffer(l)}})(ur,ur.exports)),ur.exports}var Gr;function Ct(){if(Gr)return xr;Gr=1;var e=bt().Buffer,g=e.isEncoding||function(r){switch(r=""+r,r&&r.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function w(r){if(!r)return"utf8";for(var c;;)switch(r){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return r;default:if(c)return;r=(""+r).toLowerCase(),c=!0}}function h(r){var c=w(r);if(typeof c!="string"&&(e.isEncoding===g||!g(r)))throw new Error("Unknown encoding: "+r);return c||r}xr.StringDecoder=x;function x(r){this.encoding=h(r);var c;switch(this.encoding){case"utf16le":this.text=B,this.end=u,c=4;break;case"utf8":this.fillLast=f,c=4;break;case"base64":this.text=S,this.end=v,c=3;break;default:this.write=d,this.end=o;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(c)}x.prototype.write=function(r){if(r.length===0)return"";var c,_;if(this.lastNeed){if(c=this.fillLast(r),c===void 0)return"";_=this.lastNeed,this.lastNeed=0}else _=0;return _<r.length?c?c+this.text(r,_):this.text(r,_):c||""},x.prototype.end=b,x.prototype.text=p,x.prototype.fillLast=function(r){if(this.lastNeed<=r.length)return r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,r.length),this.lastNeed-=r.length};function s(r){return r<=127?0:r>>5===6?2:r>>4===14?3:r>>3===30?4:r>>6===2?-1:-2}function l(r,c,_){var F=c.length-1;if(F<_)return 0;var I=s(c[F]);return I>=0?(I>0&&(r.lastNeed=I-1),I):--F<_||I===-2?0:(I=s(c[F]),I>=0?(I>0&&(r.lastNeed=I-2),I):--F<_||I===-2?0:(I=s(c[F]),I>=0?(I>0&&(I===2?I=0:r.lastNeed=I-3),I):0))}function y(r,c,_){if((c[0]&192)!==128)return r.lastNeed=0,"�";if(r.lastNeed>1&&c.length>1){if((c[1]&192)!==128)return r.lastNeed=1,"�";if(r.lastNeed>2&&c.length>2&&(c[2]&192)!==128)return r.lastNeed=2,"�"}}function f(r){var c=this.lastTotal-this.lastNeed,_=y(this,r);if(_!==void 0)return _;if(this.lastNeed<=r.length)return r.copy(this.lastChar,c,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,c,0,r.length),this.lastNeed-=r.length}function p(r,c){var _=l(this,r,c);if(!this.lastNeed)return r.toString("utf8",c);this.lastTotal=_;var F=r.length-(_-this.lastNeed);return r.copy(this.lastChar,0,F),r.toString("utf8",c,F)}function b(r){var c=r&&r.length?this.write(r):"";return this.lastNeed?c+"�":c}function B(r,c){if((r.length-c)%2===0){var _=r.toString("utf16le",c);if(_){var F=_.charCodeAt(_.length-1);if(F>=55296&&F<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",c,r.length-1)}function u(r){var c=r&&r.length?this.write(r):"";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return c+this.lastChar.toString("utf16le",0,_)}return c}function S(r,c){var _=(r.length-c)%3;return _===0?r.toString("base64",c):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",c,r.length-_))}function v(r){var c=r&&r.length?this.write(r):"";return this.lastNeed?c+this.lastChar.toString("base64",0,3-this.lastNeed):c}function d(r){return r.toString(this.encoding)}function o(r){return r&&r.length?this.write(r):""}return xr}var wr={exports:{}},Br,Hr;function ar(){if(Hr)return Br;Hr=1;var e=rr().Buffer,g=ht();function w(h,x){this._block=e.alloc(h),this._finalSize=x,this._blockSize=h,this._len=0}return w.prototype.update=function(h,x){h=g(h,x||"utf8");for(var s=this._block,l=this._blockSize,y=h.length,f=this._len,p=0;p<y;){for(var b=f%l,B=Math.min(y-p,l-b),u=0;u<B;u++)s[b+u]=h[p+u];f+=B,p+=B,f%l===0&&this._update(s)}return this._len+=y,this},w.prototype.digest=function(h){var x=this._len%this._blockSize;this._block[x]=128,this._block.fill(0,x+1),x>=this._finalSize&&(this._update(this._block),this._block.fill(0));var s=this._len*8;if(s<=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var l=(s&4294967295)>>>0,y=(s-l)/4294967296;this._block.writeUInt32BE(y,this._blockSize-8),this._block.writeUInt32BE(l,this._blockSize-4)}this._update(this._block);var f=this._hash();return h?f.toString(h):f},w.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Br=w,Br}var mr,Vr;function _t(){if(Vr)return mr;Vr=1;var e=nr(),g=ar(),w=rr().Buffer,h=[1518500249,1859775393,-1894007588,-899497514],x=new Array(80);function s(){this.init(),this._w=x,g.call(this,64,56)}e(s,g),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function l(p){return p<<5|p>>>27}function y(p){return p<<30|p>>>2}function f(p,b,B,u){return p===0?b&B|~b&u:p===2?b&B|b&u|B&u:b^B^u}return s.prototype._update=function(p){for(var b=this._w,B=this._a|0,u=this._b|0,S=this._c|0,v=this._d|0,d=this._e|0,o=0;o<16;++o)b[o]=p.readInt32BE(o*4);for(;o<80;++o)b[o]=b[o-3]^b[o-8]^b[o-14]^b[o-16];for(var r=0;r<80;++r){var c=~~(r/20),_=l(B)+f(c,u,S,v)+d+b[r]+h[c]|0;d=v,v=S,S=y(u),u=B,B=_}this._a=B+this._a|0,this._b=u+this._b|0,this._c=S+this._c|0,this._d=v+this._d|0,this._e=d+this._e|0},s.prototype._hash=function(){var p=w.allocUnsafe(20);return p.writeInt32BE(this._a|0,0),p.writeInt32BE(this._b|0,4),p.writeInt32BE(this._c|0,8),p.writeInt32BE(this._d|0,12),p.writeInt32BE(this._e|0,16),p},mr=s,mr}var Ar,$r;function vt(){if($r)return Ar;$r=1;var e=nr(),g=ar(),w=rr().Buffer,h=[1518500249,1859775393,-1894007588,-899497514],x=new Array(80);function s(){this.init(),this._w=x,g.call(this,64,56)}e(s,g),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function l(b){return b<<1|b>>>31}function y(b){return b<<5|b>>>27}function f(b){return b<<30|b>>>2}function p(b,B,u,S){return b===0?B&u|~B&S:b===2?B&u|B&S|u&S:B^u^S}return s.prototype._update=function(b){for(var B=this._w,u=this._a|0,S=this._b|0,v=this._c|0,d=this._d|0,o=this._e|0,r=0;r<16;++r)B[r]=b.readInt32BE(r*4);for(;r<80;++r)B[r]=l(B[r-3]^B[r-8]^B[r-14]^B[r-16]);for(var c=0;c<80;++c){var _=~~(c/20),F=y(u)+p(_,S,v,d)+o+B[c]+h[_]|0;o=d,d=v,v=f(S),S=u,u=F}this._a=u+this._a|0,this._b=S+this._b|0,this._c=v+this._c|0,this._d=d+this._d|0,this._e=o+this._e|0},s.prototype._hash=function(){var b=w.allocUnsafe(20);return b.writeInt32BE(this._a|0,0),b.writeInt32BE(this._b|0,4),b.writeInt32BE(this._c|0,8),b.writeInt32BE(this._d|0,12),b.writeInt32BE(this._e|0,16),b},Ar=s,Ar}var Sr,Lr;function tt(){if(Lr)return Sr;Lr=1;var e=nr(),g=ar(),w=rr().Buffer,h=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],x=new Array(64);function s(){this.init(),this._w=x,g.call(this,64,56)}e(s,g),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function l(u,S,v){return v^u&(S^v)}function y(u,S,v){return u&S|v&(u|S)}function f(u){return(u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10)}function p(u){return(u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7)}function b(u){return(u>>>7|u<<25)^(u>>>18|u<<14)^u>>>3}function B(u){return(u>>>17|u<<15)^(u>>>19|u<<13)^u>>>10}return s.prototype._update=function(u){for(var S=this._w,v=this._a|0,d=this._b|0,o=this._c|0,r=this._d|0,c=this._e|0,_=this._f|0,F=this._g|0,I=this._h|0,j=0;j<16;++j)S[j]=u.readInt32BE(j*4);for(;j<64;++j)S[j]=B(S[j-2])+S[j-7]+b(S[j-15])+S[j-16]|0;for(var H=0;H<64;++H){var N=I+p(c)+l(c,_,F)+h[H]+S[H]|0,k=f(v)+y(v,d,o)|0;I=F,F=_,_=c,c=r+N|0,r=o,o=d,d=v,v=N+k|0}this._a=v+this._a|0,this._b=d+this._b|0,this._c=o+this._c|0,this._d=r+this._d|0,this._e=c+this._e|0,this._f=_+this._f|0,this._g=F+this._g|0,this._h=I+this._h|0},s.prototype._hash=function(){var u=w.allocUnsafe(32);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u.writeInt32BE(this._h,28),u},Sr=s,Sr}var Er,Wr;function gt(){if(Wr)return Er;Wr=1;var e=nr(),g=tt(),w=ar(),h=rr().Buffer,x=new Array(64);function s(){this.init(),this._w=x,w.call(this,64,56)}return e(s,g),s.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},s.prototype._hash=function(){var l=h.allocUnsafe(28);return l.writeInt32BE(this._a,0),l.writeInt32BE(this._b,4),l.writeInt32BE(this._c,8),l.writeInt32BE(this._d,12),l.writeInt32BE(this._e,16),l.writeInt32BE(this._f,20),l.writeInt32BE(this._g,24),l},Er=s,Er}var Cr,Jr;function et(){if(Jr)return Cr;Jr=1;var e=nr(),g=ar(),w=rr().Buffer,h=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],x=new Array(160);function s(){this.init(),this._w=x,g.call(this,128,112)}e(s,g),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function l(d,o,r){return r^d&(o^r)}function y(d,o,r){return d&o|r&(d|o)}function f(d,o){return(d>>>28|o<<4)^(o>>>2|d<<30)^(o>>>7|d<<25)}function p(d,o){return(d>>>14|o<<18)^(d>>>18|o<<14)^(o>>>9|d<<23)}function b(d,o){return(d>>>1|o<<31)^(d>>>8|o<<24)^d>>>7}function B(d,o){return(d>>>1|o<<31)^(d>>>8|o<<24)^(d>>>7|o<<25)}function u(d,o){return(d>>>19|o<<13)^(o>>>29|d<<3)^d>>>6}function S(d,o){return(d>>>19|o<<13)^(o>>>29|d<<3)^(d>>>6|o<<26)}function v(d,o){return d>>>0<o>>>0?1:0}return s.prototype._update=function(d){for(var o=this._w,r=this._ah|0,c=this._bh|0,_=this._ch|0,F=this._dh|0,I=this._eh|0,j=this._fh|0,H=this._gh|0,N=this._hh|0,k=this._al|0,R=this._bl|0,V=this._cl|0,q=this._dl|0,P=this._el|0,$=this._fl|0,L=this._gl|0,M=this._hl|0,D=0;D<32;D+=2)o[D]=d.readInt32BE(D*4),o[D+1]=d.readInt32BE(D*4+4);for(;D<160;D+=2){var W=o[D-30],J=o[D-30+1],z=b(W,J),tr=B(J,W);W=o[D-4],J=o[D-4+1];var Y=u(W,J),t=S(J,W),n=o[D-14],a=o[D-14+1],E=o[D-32],O=o[D-32+1],A=tr+a|0,m=z+n+v(A,tr)|0;A=A+t|0,m=m+Y+v(A,t)|0,A=A+O|0,m=m+E+v(A,O)|0,o[D]=m,o[D+1]=A}for(var C=0;C<160;C+=2){m=o[C],A=o[C+1];var T=y(r,c,_),U=y(k,R,V),K=f(r,k),er=f(k,r),Z=p(I,P),ir=p(P,I),cr=h[C],fr=h[C+1],i=l(I,j,H),sr=l(P,$,L),G=M+ir|0,Q=N+Z+v(G,M)|0;G=G+sr|0,Q=Q+i+v(G,sr)|0,G=G+fr|0,Q=Q+cr+v(G,fr)|0,G=G+A|0,Q=Q+m+v(G,A)|0;var Or=er+U|0,nt=K+T+v(Or,er)|0;N=H,M=L,H=j,L=$,j=I,$=P,P=q+G|0,I=F+Q+v(P,q)|0,F=_,q=V,_=c,V=R,c=r,R=k,k=G+Or|0,r=Q+nt+v(k,G)|0}this._al=this._al+k|0,this._bl=this._bl+R|0,this._cl=this._cl+V|0,this._dl=this._dl+q|0,this._el=this._el+P|0,this._fl=this._fl+$|0,this._gl=this._gl+L|0,this._hl=this._hl+M|0,this._ah=this._ah+r+v(this._al,k)|0,this._bh=this._bh+c+v(this._bl,R)|0,this._ch=this._ch+_+v(this._cl,V)|0,this._dh=this._dh+F+v(this._dl,q)|0,this._eh=this._eh+I+v(this._el,P)|0,this._fh=this._fh+j+v(this._fl,$)|0,this._gh=this._gh+H+v(this._gl,L)|0,this._hh=this._hh+N+v(this._hl,M)|0},s.prototype._hash=function(){var d=w.allocUnsafe(64);function o(r,c,_){d.writeInt32BE(r,_),d.writeInt32BE(c,_+4)}return o(this._ah,this._al,0),o(this._bh,this._bl,8),o(this._ch,this._cl,16),o(this._dh,this._dl,24),o(this._eh,this._el,32),o(this._fh,this._fl,40),o(this._gh,this._gl,48),o(this._hh,this._hl,56),d},Cr=s,Cr}var Ir,Kr;function xt(){if(Kr)return Ir;Kr=1;var e=nr(),g=et(),w=ar(),h=rr().Buffer,x=new Array(160);function s(){this.init(),this._w=x,w.call(this,128,112)}return e(s,g),s.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},s.prototype._hash=function(){var l=h.allocUnsafe(48);function y(f,p,b){l.writeInt32BE(f,b),l.writeInt32BE(p,b+4)}return y(this._ah,this._al,0),y(this._bh,this._bl,8),y(this._ch,this._cl,16),y(this._dh,this._dl,24),y(this._eh,this._el,32),y(this._fh,this._fl,40),l},Ir=s,Ir}var Yr;function It(){return Yr||(Yr=1,(function(e){e.exports=function(w){var h=w.toLowerCase(),x=e.exports[h];if(!x)throw new Error(h+" is not supported (we accept pull requests)");return new x},e.exports.sha=_t(),e.exports.sha1=vt(),e.exports.sha224=gt(),e.exports.sha256=tt(),e.exports.sha384=xt(),e.exports.sha512=et()})(wr)),wr.exports}export{ht as a,St as b,Et as c,Ct as d,It as e,rr as r};
|
|
11
|
-
//# sourceMappingURL=index-
|
|
11
|
+
//# sourceMappingURL=index-GLWmYkx4.js.map
|