@dcl/shop 1.14.1-35732774937.commit-d3acaab → 1.15.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-BZTNf3ED.js → Activity-BBgqwdRc.js} +6 -6
- package/_assets/{AnimatedBackground-DNRoFPGp.js → AnimatedBackground-CAe8erqx.js} +2 -2
- package/_assets/{Assets-DtiZKwuT.js → Assets-BVr6Ienp.js} +13 -13
- package/_assets/{Cart-l6NqHo0s.js → Cart-uMh-LLkS.js} +6 -6
- package/_assets/{Collection-Bt6A0KQ6.js → Collection-C6wH7PGc.js} +9 -9
- package/_assets/{CollectionCarousel-D77ErPU2.js → CollectionCarousel-DLu1yG2d.js} +7 -7
- package/_assets/{Confetti-RxABTwh2.js → Confetti-CUYY8WKL.js} +4 -4
- package/_assets/{ConstantsUtil-BE1palmA.js → ConstantsUtil-Du7Rw-I9.js} +2 -2
- package/_assets/{ContentClient-B-9RcYaE.js → ContentClient-CQ0rZRJX.js} +2 -2
- package/_assets/{Creator-CereCprD.js → Creator-DiqRz4sK.js} +2 -2
- package/_assets/{CreditPackPicker-0WOrhrpS.js → CreditPackPicker-CZe0q7lQ.js} +7 -7
- package/_assets/{DeploymentBuilder-Ce32CCQF.js → DeploymentBuilder-B8n1ixz5.js} +2 -2
- package/_assets/{EmotePlaybackBar-0NCN1NCU.js → EmotePlaybackBar-Dh9mWTmr.js} +4 -4
- package/_assets/{ErrorNotice-Cy86Y-Xz.js → ErrorNotice-BZweT4nq.js} +2 -2
- package/_assets/Event-BhrUy_li.js +72 -0
- package/_assets/{ExchangeController-C0AZT23t.js → ExchangeController-B8eGX00R.js} +2 -2
- package/_assets/{Faq-DepI4S0n.js → Faq-BRUGz0o1.js} +2 -2
- package/_assets/{Filters-D5CUPglE.js → Filters-CWaA5jz_.js} +9 -9
- package/_assets/{GetCredits-4uW6NXh_.js → GetCredits-91FKPj2S.js} +5 -5
- package/_assets/{Grow-BF6Dfobl.js → Grow-BtoTVtjh.js} +2 -2
- package/_assets/{HelpersUtil-Cm_oBcwa.js → HelpersUtil-DtSGcn50.js} +2 -2
- package/_assets/{ItemDetail-Co-8bNBU.js → ItemDetail-CPUr9pIj.js} +36 -36
- package/_assets/{LoadMore-B1h9Iiw8.js → LoadMore-VpUeZFim.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-BIM5H81_.js → ManaPricingBanner.styles-CAt88qh9.js} +6 -6
- package/_assets/{MyAssets-Ausqi6ZK.js → MyAssets-BUFp0lDY.js} +6 -6
- package/_assets/{MyFavorites-mo7wjv-d.js → MyFavorites-BJRUv9oZ.js} +2 -2
- package/_assets/{MyStore-CmWYy0qd.js → MyStore-CEJ3my3_.js} +10 -10
- package/_assets/{NetworkUtil--zruk36r.js → NetworkUtil-Ciq8Tbsc.js} +2 -2
- package/_assets/{NotFound-xsSZvF06.js → NotFound-DmCwRSbf.js} +2 -2
- package/_assets/{NotificationsBell-Br1kFnCO.js → NotificationsBell-DbHW9KbV.js} +2 -2
- package/_assets/{OutfitDetail-tsulPy0c.js → OutfitDetail-BdCmpPcB.js} +2 -2
- package/_assets/{OutfitPreview-BXtUfdS-.js → OutfitPreview-ziiAIMxw.js} +3 -3
- package/_assets/{OutfitStudio-Dec9gxoZ.js → OutfitStudio-i641piGk.js} +11 -11
- package/_assets/{PaymentMethodStep-ClTG31Bm.js → PaymentMethodStep-DLWg_1Mg.js} +5 -5
- package/_assets/{SaleCountdown-UAlrMSbY.js → SaleCountdown-D_0C1G0b.js} +2 -2
- package/_assets/{Spinner-BFANB0CL.js → Spinner-k8dLtOrJ.js} +2 -2
- package/_assets/{StoreSettings-B8w_IYAP.js → StoreSettings-DiqvHUbK.js} +5 -5
- package/_assets/{Success-Om4EVqe8.js → Success-yvCjE3be.js} +2 -2
- package/_assets/{SwapController-ZTw9N09i.js → SwapController-L-o_4Zfy.js} +2 -2
- package/_assets/{Tooltip-3YnG1Umc.js → Tooltip-BEJkU8QC.js} +2 -2
- package/_assets/{TradeService-DsJF_Ykz.js → TradeService-DVeKA0A9.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-C9yMX-9L.js → W3MFrameProviderSingleton-BxpE6Qai.js} +4 -4
- package/_assets/{WebCryptoP256-DyFevMsm.js → WebCryptoP256-DKkCHgRo.js} +2 -2
- package/_assets/{basic-QP6P-QFr.js → basic-DHFzByJo.js} +2 -2
- package/_assets/{biconomy-Cl4k6pus.js → biconomy-DCsUE-Aa.js} +2 -2
- package/_assets/{browseLayout.styles-CtEXdyi5.js → browseLayout.styles-fXEIBUq8.js} +2 -2
- package/_assets/{browser-DgDyU9Dd.js → browser-gYEIuxiW.js} +2 -2
- package/_assets/{browser-ponyfill-BoW4KA9T.js → browser-ponyfill-5UyluzqP.js} +2 -2
- package/_assets/{browser-C3Fk6SGT.js → browser-zYx7iqzr.js} +2 -2
- package/_assets/{buy-gasless-B_R3acE2.js → buy-gasless-BheWI81y.js} +2 -2
- package/_assets/{buy-BWL_MsWZ.js → buy-zKbAn0Jr.js} +2 -2
- package/_assets/{ccip-CEBv1Njx.js → ccip-DAEHnzsX.js} +2 -2
- package/_assets/{ccip-CGRe8tZG.js → ccip-DvIRUO6I.js} +2 -2
- package/_assets/{chains-C63N96dR.js → chains-lku0nIXt.js} +2 -2
- package/_assets/collectionPage.styles-B8UMV0wt.js +41 -0
- package/_assets/{common-BHGUItcH.js → common-C03gEIWz.js} +2 -2
- package/_assets/{controller-dcPPx0Ve.js → controller-CoiO-8ak.js} +3 -3
- package/_assets/{core-2kgw2Lk6.js → core-BOjd_Eve.js} +5 -5
- package/_assets/{createSvgIcon-e9fnpKTy.js → createSvgIcon-BiXHCpBo.js} +6 -6
- package/_assets/{crumbs.styles-FoTSTGkC.js → crumbs.styles-Bq-08Eo1.js} +2 -2
- package/_assets/{custom-CEirqsrc.js → custom-D9bjz_2p.js} +2 -2
- package/_assets/{data-capture-Bp0k2Qg7.js → data-capture-CGASy8JJ.js} +2 -2
- package/_assets/{dcl-schemas-BrVwEqiU.js → dcl-schemas-COntwfiV.js} +2 -2
- package/_assets/{decimals-UDFlnnNN.js → decimals-BpivF8HU.js} +2 -2
- package/_assets/{decimals-Ds-cKzq0.js → decimals-C39Js9A5.js} +2 -2
- package/_assets/{detectExtension-CPLy90w2.js → detectExtension-CYK2hYlo.js} +2 -2
- package/_assets/{disposePreview-TOHrr3Cv.js → disposePreview-C9RvsbNf.js} +2 -2
- package/_assets/{email-C8BApZt1.js → email-B7Hqc3Al.js} +2 -2
- package/_assets/{embedded-wallet-D6ovY2Wr.js → embedded-wallet-DQ3g7rbj.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-23GGtyp0.js → emotion-styled.browser.esm-orHSWwQS.js} +2 -2
- package/_assets/{engine-C_hk_rjg.js → engine-BVrA-eDe.js} +2 -2
- package/_assets/{errors-DLcrG7wZ.js → errors-DxKvZXrL.js} +2 -2
- package/_assets/{estimate-l1-fee-8JBCStoR.js → estimate-l1-fee-CI9CaMqP.js} +2 -2
- package/_assets/{eth_estimateGas-D5LOgdsb.js → eth_estimateGas-grjD8ZC6.js} +2 -2
- package/_assets/{eth_getStorageAt-Cgm8eZeC.js → eth_getStorageAt-Di8D3-FZ.js} +2 -2
- package/_assets/{eth_getTransactionCount-DT1wQUYG.js → eth_getTransactionCount-dmwPv1uL.js} +2 -2
- package/_assets/{ethereum-B6_NCD8u.js → ethereum-BXBXB0WJ.js} +2 -2
- package/_assets/{ethers-DCYs0L1t.js → ethers-BIoA35Pn.js} +2 -2
- package/_assets/{events-Ch5mkuEv.js → events-DNWUGNd7.js} +2 -2
- package/_assets/{execute-DaSSKs0J.js → execute-BRAlOglu.js} +3 -3
- package/_assets/{extractIPFS-D_yHf9NQ.js → extractIPFS-B6dS8Wbs.js} +2 -2
- package/_assets/{features-Ct4xvFci.js → features-YldM2Blt.js} +2 -2
- package/_assets/{fetchTokenMetadata-C5CN7SwU.js → fetchTokenMetadata-BTPEU-3q.js} +3 -3
- package/_assets/{field.styles-D3oougzk.js → field.styles-7aAfESFo.js} +2 -2
- package/_assets/{fortmatic-CErSY4Uv.js → fortmatic-Du20O965.js} +2 -2
- package/_assets/{get-bytecode-OECsahsT.js → get-bytecode-Dmk-6Mk4.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-CqmMi93Y.js → get-ecosystem-wallet-info-IK9mOCLo.js} +2 -2
- package/_assets/{getBalance-Dk_y5JwY.js → getBalance-ktnD9Moc.js} +3 -3
- package/_assets/{getInstalledModules-BylSc8z2.js → getInstalledModules-jTPTLnb8.js} +2 -2
- package/_assets/{getNFT-CuRxwrU7.js → getNFT-CwzF6z_7.js} +2 -2
- package/_assets/{getNFT-Dp_tiNuN.js → getNFT-DbXgJ4kx.js} +3 -3
- package/_assets/{grid.styles-B48spjFg.js → grid.styles-Reh_Sfmk.js} +2 -2
- package/_assets/{hashTypedData-dqSfQDie.js → hashTypedData-B5WTbVYh.js} +2 -2
- package/_assets/{hashTypedData-lGvaI2cA.js → hashTypedData-B72YO7bf.js} +2 -2
- package/_assets/{import-D_YdksPc.js → import-CJWafgcM.js} +2 -2
- package/_assets/{in-app-DU1izobx.js → in-app-reC7MW7U.js} +2 -2
- package/_assets/{in-app-wallet-calls-DiaCxPlO.js → in-app-wallet-calls-YVgiy_Z_.js} +2 -2
- package/_assets/{index-8oCEOyw8.js → index-1tydFwH5.js} +4 -4
- package/_assets/{index-BU6ORwL6.js → index-2QUWziXM.js} +2 -2
- package/_assets/{index-CWqd1Q-2.js → index-7WKP3ObD.js} +2 -2
- package/_assets/{index-CBinTZ0C.js → index-B-cCk8d1.js} +2 -2
- package/_assets/{index-DviRrMz0.js → index-B0NLjhmz.js} +2 -2
- package/_assets/{index-D5Dn5XcC.js → index-B18ZHjoG.js} +2 -2
- package/_assets/{index-CKqGOSZn.js → index-B3PqY8NV.js} +2 -2
- package/_assets/{index-CDILsv8-.js → index-B5Il9w_t.js} +2 -2
- package/_assets/{index-CNpOtENF.js → index-B610oYVJ.js} +2 -2
- package/_assets/{index-g7FUnJSt.js → index-B7A8C7MY.js} +2 -2
- package/_assets/{index-BFDlm927.js → index-B7Z8xaGK.js} +2 -2
- package/_assets/{index-D4oDLJRO.js → index-BQBSlmH-.js} +2 -2
- package/_assets/{index-qDty1LWz.js → index-BVGDgDVf.js} +2 -2
- package/_assets/{index-CR-T5X-D.js → index-BWz0ngpy.js} +2 -2
- package/_assets/{index-B7d2X751.js → index-BXCm1lR6.js} +2 -2
- package/_assets/{index-Ftq_Qf7i.js → index-BYiScitc.js} +2 -2
- package/_assets/{index-CHdO5uMl.js → index-BZcBt3X8.js} +2 -2
- package/_assets/{index-BkdttjkH.js → index-Ba4Qb-tQ.js} +2 -2
- package/_assets/{index-CoDvZdaf.js → index-Butijfje.js} +2 -2
- package/_assets/{index-xbkHs3zO.js → index-C-w85US7.js} +2 -2
- package/_assets/{index-BLD4vnX6.js → index-CA7DDOOl.js} +3 -3
- package/_assets/{index-Bgm4jxY7.js → index-CBv79d7E.js} +2 -2
- package/_assets/{index-BLdvJib1.js → index-CJ1iqO8A.js} +2 -2
- package/_assets/{index-9tO9OUL8.js → index-CLFGNSZ-.js} +2 -2
- package/_assets/{index-PkbXbgtC.js → index-COT5Frck.js} +2 -2
- package/_assets/index-COio6Ejd.js +4310 -0
- package/_assets/{index-y6pnI6yF.js → index-CQ_hwt2w.js} +2 -2
- package/_assets/{index-Bm5Ji_b0.js → index-CYwEY6Wy.js} +2 -2
- package/_assets/{index-QqOA5noN.js → index-CZiKz5pK.js} +2 -2
- package/_assets/{index-Iw0YFMKl.js → index-C_gzza3J.js} +2 -2
- package/_assets/{index-321qoCaJ.js → index-CcdPYHZS.js} +3 -3
- package/_assets/{index-BSWBAMJf.js → index-Cd_cQb_5.js} +4 -4
- package/_assets/{index-XHl9TuTe.js → index-ClePbRUv.js} +3 -3
- package/_assets/{index-i_5nPW9n.js → index-CnNEDEKF.js} +2 -2
- package/_assets/{index-CoWn_g-I.js → index-CnZUnVbC.js} +2 -2
- package/_assets/{index-z3v0I-ct.js → index-Csltect9.js} +2 -2
- package/_assets/{index-Q-4A0N-Q.js → index-Cvfa-O4J.js} +2 -2
- package/_assets/{index-DSOAGIi2.js → index-CyJXEo_c.js} +2 -2
- package/_assets/{index-CISfbcGB.js → index-D-gigTjB.js} +2 -2
- package/_assets/{index-B74ZvCCg.js → index-D1h1jMQm.js} +2 -2
- package/_assets/{index-DPROz7TD.js → index-D2gmXgfJ.js} +2 -2
- package/_assets/{index-Dilxq7oL.js → index-D48CxYHB.js} +2 -2
- package/_assets/{index-B1Lhr0k2.js → index-D4EeOyaA.js} +2 -2
- package/_assets/{index-B-uF7wnK.js → index-D71yoQwh.js} +4 -4
- package/_assets/{index-BjCx26RW.js → index-D8OXtAip.js} +2 -2
- package/_assets/{index-X7xVeMYf.js → index-DA4F0G5P.js} +2 -2
- package/_assets/{index-ChWki13j.js → index-DAFOiLHS.js} +3 -3
- package/_assets/{index-ivtc1-Fk.js → index-DAh-ftDy.js} +6 -6
- package/_assets/{index-mrYOkuEY.js → index-DDjkaD8J.js} +2 -2
- package/_assets/{index-ChMvb_7n.js → index-DHvU-KWh.js} +2 -2
- package/_assets/{index-TZtT5-BX.js → index-DJIQTk8q.js} +2 -2
- package/_assets/{index-B_ay8jUy.js → index-DKiO6CtY.js} +6 -6
- package/_assets/{index-Dc_G5PEm.js → index-DSwXuC0D.js} +2 -2
- package/_assets/{index-pgYwCuWG.js → index-DURI-gf8.js} +4 -4
- package/_assets/index-DVuzXPDM.css +1 -0
- package/_assets/{index-CDLP4B0L.js → index-DW-Melj-.js} +2 -2
- package/_assets/{index-CyqRAr8s.js → index-DcTChipn.js} +3 -3
- package/_assets/{index-CI34Z_Me.js → index-DcpPAZS7.js} +2 -2
- package/_assets/{index-BFEMM3r4.js → index-DdpXntwz.js} +2 -2
- package/_assets/{index-Bwnkxm_G.js → index-DkEEbiDR.js} +2 -2
- package/_assets/{index-BjR4exTy.js → index-DrLA_VU_.js} +2 -2
- package/_assets/{index-DTL7FTYv.js → index-DtTYXgF3.js} +2 -2
- package/_assets/{index-HyKwngHl.js → index-GQaePZB9.js} +2 -2
- package/_assets/{index-BK_57ve_.js → index-YHzCYJkG.js} +2 -2
- package/_assets/{index-D-Xi6X4E.js → index-Ys04Xign.js} +2 -2
- package/_assets/{index-DkxhLfIJ.js → index-jyj9sHwU.js} +2 -2
- package/_assets/{index-BNpv0X7m.js → index-nBFm5kuI.js} +2 -2
- package/_assets/{index-k1I1IsHl.js → index-uYTIcGSZ.js} +2 -2
- package/_assets/{index.es-CnHlKMhK.js → index.es-BXEjCl7y.js} +2 -2
- package/_assets/{index.es-Cd9yo4Tm.js → index.es-BZK_Cifn.js} +5 -5
- package/_assets/{index.es-CYcra466.js → index.es-Bn4oTPjZ.js} +2 -2
- package/_assets/{index.es-ywQflMXQ.js → index.es-CU-vsJdv.js} +2 -2
- package/_assets/items-empty-DGRxHTWy.js +2 -0
- package/_assets/{jump-B8xqzDZo.js → jump-DWbTrGpm.js} +2 -2
- package/_assets/{linkAccount-BykZ_J6_.js → linkAccount-CMtMM4t3.js} +2 -2
- package/_assets/loader-logo-CeNjVZuG.js +2 -0
- package/_assets/{localBatchGatewayRequest-BMZWtkh-.js → localBatchGatewayRequest-8oF0MPC1.js} +2 -2
- package/_assets/{modal.styles-Ah3BFwcL.js → modal.styles-hpuefgX4.js} +2 -2
- package/_assets/{native-Dp-2t67a.js → native-CPeL4rJZ.js} +2 -2
- package/_assets/{networks-9u6DsbLw.js → networks-BhouyyPS.js} +2 -2
- package/_assets/{onramp-DbbdvE9l.js → onramp-BvIHLQAv.js} +2 -2
- package/_assets/{openzeppelin-D69GD3Fm.js → openzeppelin-OZNoWqYj.js} +2 -2
- package/_assets/{ownerOf-B2KKjyzm.js → ownerOf-bCzxqzq0.js} +2 -2
- package/_assets/{parseNft-B4me14YE.js → parseNft-pxEjnpjF.js} +3 -3
- package/_assets/{parseSignature-CxQObnnK.js → parseSignature-BAJHdtSB.js} +4 -4
- package/_assets/{parseSignature-cCpQ1EW_.js → parseSignature-CpDiAFfJ.js} +2 -2
- package/_assets/{passkeys-xdBGznn1.js → passkeys-iblxlDv1.js} +2 -2
- package/_assets/{pay-with-exchange-BDhbjftO.js → pay-with-exchange-CLgZOiU6.js} +2 -2
- package/_assets/{prepare-contract-call-CITzhkar.js → prepare-contract-call-CoHsXlvg.js} +2 -2
- package/_assets/{qr-overlay-BZbZx8jf.js → qr-overlay-B_NIDLKC.js} +4 -4
- package/_assets/{react-ChceODIJ.js → react-BmPeg6sG.js} +2 -2
- package/_assets/{receive-DhIBZE4X.js → receive-DszbAWAn.js} +2 -2
- package/_assets/{resolveImplementation-C1gKzDiQ.js → resolveImplementation-32KPFc_U.js} +2 -2
- package/_assets/{resume-buy-C5UXHP38.js → resume-buy-D2TWyIFl.js} +2 -2
- package/_assets/{resume-name-DQBwW7EF.js → resume-name-B-MASXQk.js} +2 -2
- package/_assets/{rpc-DNG3H7ru.js → rpc-CHnWH0rF.js} +2 -2
- package/_assets/{sales-empty-CgfqOXUC.js → sales-empty-UircscXh.js} +2 -2
- package/_assets/{search-empty-CfGYFUfS.js → search-empty-CPirv6rw.js} +2 -2
- package/_assets/{secp256k1-B9h6m4IX.js → secp256k1-BUEs1rcj.js} +2 -2
- package/_assets/{secp256k1-AJ3c8h0I.js → secp256k1-Bb0zIfEz.js} +2 -2
- package/_assets/{secp256k1-CXECCrXG.js → secp256k1-D1DTa_mW.js} +2 -2
- package/_assets/{send-rDZTy53I.js → send-C8TzZsHF.js} +2 -2
- package/_assets/{send-batch-transaction-BXWSdFaa.js → send-batch-transaction-CcXPrdOH.js} +2 -2
- package/_assets/{send-eip712-transaction-BQGBgvcc.js → send-eip712-transaction-ouILrTb6.js} +3 -3
- package/_assets/{send-gasless-transaction-BeHePqFn.js → send-gasless-transaction-rKjG34Kj.js} +3 -3
- package/_assets/{send-transaction-Bhl38AZl.js → send-transaction-BbLs2Ynf.js} +3 -3
- package/_assets/{sendMetaTransaction-du2nxyMF.js → sendMetaTransaction-Dy6lp92T.js} +2 -2
- package/_assets/{sendRawTransaction--ZySriEz.js → sendRawTransaction-BY7CWiPp.js} +4 -4
- package/_assets/{sentry-DoDOB8I2.js → sentry-CfKEockx.js} +3 -3
- package/_assets/{serializeTransaction-BlKQ-BiD.js → serializeTransaction-DOIuoefa.js} +2 -2
- package/_assets/{session-proposal-tk_yO7ie.js → session-proposal-BR55dEaA.js} +2 -2
- package/_assets/{session-request-UyTvi1pP.js → session-request-C_hO74mD.js} +3 -3
- package/_assets/{sha256-D8fGQSFL.js → sha256-BJjUSCTX.js} +2 -2
- package/_assets/sha3-B3El3U9k.js +2 -0
- package/_assets/signin-empty-XsT9jLzt.js +2 -0
- package/_assets/{signing-D1A3ZrfL.js → signing-D66RpSSx.js} +4 -4
- package/_assets/{skeleton.styles-DFjpg3_l.js → skeleton.styles-B3BxeSy_.js} +2 -2
- package/_assets/{socials-5DQ9SrVR.js → socials-fdANcU4O.js} +2 -2
- package/_assets/{styled-CjIb5Zdy.js → styled-ihfZhc5C.js} +3 -3
- package/_assets/{swaps-Bztb-KRF.js → swaps-DZV3-WZp.js} +2 -2
- package/_assets/{thirdweb-CZL68BtG.js → thirdweb-dhrmjSPt.js} +4 -4
- package/_assets/{to-serializable-transaction-Cax3D0Ed.js → to-serializable-transaction-BxxEhlQY.js} +3 -3
- package/_assets/{totalSupply-Bfu1b9j-.js → totalSupply-B2nCZvgY.js} +2 -2
- package/_assets/{trade-encoding-7vKZ_RAW.js → trade-encoding-D0iBabuM.js} +2 -2
- package/_assets/{transaction-DT055YfQ.js → transaction-CJXWN8an.js} +2 -2
- package/_assets/{transactionReceipt-DUUD2Qe3.js → transactionReceipt-CpzMTSMZ.js} +2 -2
- package/_assets/{transactions-BAaPWgMx.js → transactions-CKkVNjQ4.js} +2 -2
- package/_assets/{useCreatorSales-Buish4Uu.js → useCreatorSales-Ze3V5ohC.js} +2 -2
- package/_assets/{useInfiniteGrid-CkEaLdl7.js → useInfiniteGrid-D8vhQEzx.js} +2 -2
- package/_assets/{useStore-BIMM-6gW.js → useStore-DdvCUhO-.js} +3 -3
- package/_assets/{useTheme-CseBhYMJ.js → useTheme-QKnvhO7_.js} +2 -2
- package/_assets/{utils-Cn2V-3Ut.js → utils-5qk7WI4m.js} +2 -2
- package/_assets/{verifyHash-yrhfOghy.js → verifyHash-Dm5TFWpr.js} +2 -2
- package/_assets/{w3m-modal-zmzVtMYW.js → w3m-modal-B5R3n_ak.js} +2 -2
- package/_assets/{w3m-modal-DA-0hW7m.js → w3m-modal-CEqDQIHN.js} +2 -2
- package/_assets/{wait-for-tx-receipt-DLebyGh2.js → wait-for-tx-receipt-CUblm3Uy.js} +2 -2
- package/_assets/{wallets-Dtvi0tKv.js → wallets-BT0Osdwo.js} +6 -6
- package/_assets/{web-connector-CvqIuRHL.js → web-connector-BzJlWUBl.js} +4 -4
- package/_assets/{writeContract-C_pXtfiq.js → writeContract-CH8f16EO.js} +2 -2
- package/_assets/{zora-sepolia-BYPjA30G.js → zora-sepolia-BfgSfWmM.js} +2 -2
- package/_assets/{zoraTestnet-CTpQFpZ6.js → zoraTestnet-CiGZFo3e.js} +2 -2
- package/index.html +12 -11
- package/package.json +2 -2
- package/_assets/Event-BneJnOKG.js +0 -72
- package/_assets/cart-checkout-BVJkagSM.js +0 -2
- package/_assets/collectionPage.styles-CJfCc8Bm.js +0 -41
- package/_assets/index-C7QbaZbm.css +0 -1
- package/_assets/index-DRRXfH5T.js +0 -4427
- package/_assets/items-empty-BBmu43Y2.js +0 -2
- package/_assets/sha3-Q9wbGaop.js +0 -2
- package/_assets/signin-empty-DpDwh-SV.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b6 as a,b7 as n}from"./index-DRRXfH5T.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]="4addb952-8433-495f-9f9c-a4634499a792",t._sentryDebugIdIdentifier="sentry-dbid-4addb952-8433-495f-9f9c-a4634499a792")}catch{}})();const o="https://wearable-preview.decentraland.zone",_="https://decentraland.zone/account",c="https://decentraland.zone/profile",R="https://decentraland.zone/marketplace",d="https://decentraland.zone/shop",s="https://decentraland.zone/builder",L="https://decentraland.zone/dao",r="https://decentraland.zone/governance",U="https://decentraland.zone/events",E="https://decentraland.zone/places",l="https://decentraland.org/create/",O="https://docs.decentraland.org/player/",A="https://decentraland.zone/download/creator-hub/",T="https://decentraland.zone/download/",p="https://decentraland.zone/download_success/",N="ea2ybdmmn1kv",S="master",C="18g1DzIyBxvu0steSwKyQr",h="https://cms-api.decentraland.org",I="https://decentraland.zone/marketplace/names/claim",D="https://decentraland.zone/marketplace/lands",g="https://decentraland.zone/marketplace/account",$="https://decentraland.zone/create/",i="https://studios.decentraland.zone/",P="https://decentraland.zone/builder/collections",m="https://decentraland.zone/builder/names",B="https://decentraland.zone/builder/worlds?tab=dcl",y="https://decentraland.zone/builder/land",M="https://decentraland.zone/events/me/",V="https://decentraland.zone/places/favorites/",b="https://docs.decentraland.org/player/",u="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",F="https://docs.decentraland.org/contributor/",f="https://decentraland.zone/governance/transparency/",K="https://decentraland.zone/governance/proposals/",v="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",z="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",w="https://decentraland.zone/marketplace/settings",H="https://dcl.gg/discord",W="https://reddit.com/r/decentraland",k="https://github.com/decentraland",x="https://x.com/decentraland",j="https://instagram.com/decentraland_foundation/",Q="https://youtube.com/@decentraland_foundation",J="https://tiktok.com/@decentraland_fdn",X="https://linkedin.com/company/decentralandorg",q="https://decentraland.zone/privacy",Z="https://decentraland.zone/terms",tt="https://decentraland.zone/content",nt="https://decentraland.zone/ethics",et="https://decentraland.org/help",at="mailto:hello@decentraland.org",ot="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",ct="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Rt="https://download-gateway.decentraland.zone",dt="https://decentraland.zone/top-scenes",st="https://testflight.apple.com/join/KF4r3jlU",Lt="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",rt={WEARABLE_PREVIEW_URL:o,ACCOUNT_URL:_,PROFILE_URL:c,MARKETPLACE_URL:R,SHOP_URL:d,BUILDER_URL:s,DAO_URL:L,GOVERNANCE_URL:r,EVENTS_URL:U,PLACES_URL:E,CREATE_URL:l,LEARN_URL:O,CREATOR_HUB_URL:A,DOWNLOAD_URL:T,DOWNLOAD_SUCCESS_URL:p,CONTENTFUL_SPACE_ID:N,CONTENTFUL_ENV:S,CONTENTFUL_NAVBAR_ENTRY_ID:C,CONTENTFUL_CONTENTFUL_CDN_URL:h,MARKETPLACE_NAMES_URL:I,MARKETPLACE_LANDS_URL:D,MARKETPLACE_MY_ASSETS_URL:g,LANDING_CREATORS_URL:$,STUDIOS_URL:i,BUILDER_WEARABLE_EMOTES_URL:P,BUILDER_NAMES_URL:m,BUILDER_WORLDS_URL:B,BUILDER_LAND_URL:y,EVENTS_MY_EVENTS:M,PLACES_MY_FAVORITE_URL:V,DOCS_ABOUT_URL:b,DOCS_CREATORS_URL:u,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:F,GOVERNANCE_TRANSPARENCY_URL:f,GOVERNANCE_PROPOSALS_URL:K,DAO_GRANTS_URL:v,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:z,MARKETPLACE_SETTINGS_URL:w,DISCORD_URL:H,REDDIT_URL:W,GITHUB_URL:k,X_URL:x,INSTAGRAM_URL:j,YOUTUBE_URL:Q,TIKTOK_URL:J,LINKEDIN_URL:X,PRIVACY_POLICY_URL:q,TERMS_OF_USE_URL:Z,CONTENT_POLICY_URL:tt,CODE_OF_ETHICS_URL:nt,SUPPORT_URL:et,EMAIL_HELLO_URL:at,FAQ_URL:ot,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:ct,AUTO_SIGNING_BASE_URL:Rt,TOP_SCENES_URL:dt,IOS_STORE_URL:st,ANDROID_STORE_URL:Lt},Ut="https://wearable-preview.decentraland.org",Et="https://decentraland.org/account",lt="https://decentraland.org/profile",Ot="https://decentraland.org/marketplace",At="https://decentraland.org/shop",Tt="https://decentraland.org/builder",pt="https://decentraland.org/dao",Nt="https://decentraland.org/governance",St="https://decentraland.org/events",Ct="https://decentraland.org/places",ht="https://decentraland.org/create/",It="https://docs.decentraland.org/player/",Dt="https://decentraland.org/download/creator-hub/",gt="https://decentraland.org/download/",$t="https://decentraland.org/download_success/",it="ea2ybdmmn1kv",Pt="master",mt="18g1DzIyBxvu0steSwKyQr",Bt="https://cms-api.decentraland.org",yt="https://decentraland.org/marketplace/names/claim",Mt="https://decentraland.org/marketplace/lands",Vt="https://decentraland.org/marketplace/account",bt="https://decentraland.org/create/",ut="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",Ft="https://decentraland.org/builder/names",ft="https://decentraland.org/builder/worlds?tab=dcl",Kt="https://decentraland.org/builder/land",vt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",zt="https://docs.decentraland.org/player/",wt="https://docs.decentraland.org/creator/",Ht="https://decentraland.org/blog/",Wt="https://docs.decentraland.org/contributor/",kt="https://decentraland.org/governance/transparency/",xt="https://decentraland.org/governance/proposals/",jt="https://decentraland.org/dao/grants/",Qt="https://decentraland.org/governance/projects/",Jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xt="https://decentraland.org/marketplace/settings",qt="https://dcl.gg/discord",Zt="https://reddit.com/r/decentraland",tn="https://github.com/decentraland",nn="https://x.com/decentraland",en="https://instagram.com/decentraland_foundation/",an="https://youtube.com/@decentraland_foundation",on="https://tiktok.com/@decentraland_fdn",_n="https://linkedin.com/company/decentralandorg",cn="https://decentraland.org/privacy",Rn="https://decentraland.org/terms",dn="https://decentraland.org/content",sn="https://decentraland.org/ethics",Ln="https://decentraland.org/help",rn="mailto:hello@decentraland.org",Un="https://docs.decentraland.org/faqs/decentraland-101",En="https://docs.decentraland.org",ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",On="https://download-gateway.decentraland.org",An="https://decentraland.org/top-scenes",Tn="https://testflight.apple.com/join/KF4r3jlU",pn="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Nn={WEARABLE_PREVIEW_URL:Ut,ACCOUNT_URL:Et,PROFILE_URL:lt,MARKETPLACE_URL:Ot,SHOP_URL:At,BUILDER_URL:Tt,DAO_URL:pt,GOVERNANCE_URL:Nt,EVENTS_URL:St,PLACES_URL:Ct,CREATE_URL:ht,LEARN_URL:It,CREATOR_HUB_URL:Dt,DOWNLOAD_URL:gt,DOWNLOAD_SUCCESS_URL:$t,CONTENTFUL_SPACE_ID:it,CONTENTFUL_ENV:Pt,CONTENTFUL_NAVBAR_ENTRY_ID:mt,CONTENTFUL_CONTENTFUL_CDN_URL:Bt,MARKETPLACE_NAMES_URL:yt,MARKETPLACE_LANDS_URL:Mt,MARKETPLACE_MY_ASSETS_URL:Vt,LANDING_CREATORS_URL:bt,STUDIOS_URL:ut,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:Ft,BUILDER_WORLDS_URL:ft,BUILDER_LAND_URL:Kt,EVENTS_MY_EVENTS:vt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:zt,DOCS_CREATORS_URL:wt,BLOG_URL:Ht,DOCS_CONTRIBUTOR_URL:Wt,GOVERNANCE_TRANSPARENCY_URL:kt,GOVERNANCE_PROPOSALS_URL:xt,DAO_GRANTS_URL:jt,GOVERNANCE_PROJECTS_URL:Qt,DOCS_DAO_URL:Jt,MARKETPLACE_SETTINGS_URL:Xt,DISCORD_URL:qt,REDDIT_URL:Zt,GITHUB_URL:tn,X_URL:nn,INSTAGRAM_URL:en,YOUTUBE_URL:an,TIKTOK_URL:on,LINKEDIN_URL:_n,PRIVACY_POLICY_URL:cn,TERMS_OF_USE_URL:Rn,CONTENT_POLICY_URL:dn,CODE_OF_ETHICS_URL:sn,SUPPORT_URL:Ln,EMAIL_HELLO_URL:rn,FAQ_URL:Un,DOCS_URL:En,BEEHIV_SUBSCRIPTION_URL:ln,AUTO_SIGNING_BASE_URL:On,TOP_SCENES_URL:An,IOS_STORE_URL:Tn,ANDROID_STORE_URL:pn},Sn="https://wearable-preview.decentraland.today",Cn="https://decentraland.today/account",hn="https://decentraland.today/profile",In="https://decentraland.today/marketplace",Dn="https://decentraland.today/shop",gn="https://decentraland.today/builder",$n="https://decentraland.today/dao",Pn="https://decentraland.today/governance",mn="https://decentraland.today/events",Bn="https://decentraland.today/places",yn="https://decentraland.today/create/",Mn="https://docs.decentraland.org/player/",Vn="https://decentraland.today/download/creator-hub/",bn="https://decentraland.today/download/",un="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",Fn="master",fn="18g1DzIyBxvu0steSwKyQr",Kn="https://cms-api.decentraland.org",vn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",zn="https://decentraland.today/marketplace/account",wn="https://decentraland.today/create/",Hn="https://studios.decentraland.today/",Wn="https://decentraland.today/builder/collections",kn="https://decentraland.today/builder/names",xn="https://decentraland.today/builder/worlds?tab=dcl",jn="https://decentraland.today/builder/land",Qn="https://decentraland.today/events/me/",Jn="https://decentraland.today/places/favorites/",Xn="https://docs.decentraland.org/player/",qn="https://docs.decentraland.org/creator/",Zn="https://decentraland.today/blog/",te="https://docs.decentraland.org/contributor/",ne="https://decentraland.today/governance/transparency/",ee="https://decentraland.today/governance/proposals/",ae="https://decentraland.today/dao/grants/",oe="https://decentraland.today/governance/projects/",_e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ce="https://decentraland.today/marketplace/settings",Re="https://dcl.gg/discord",de="https://reddit.com/r/decentraland",se="https://github.com/decentraland",Le="https://x.com/decentraland",re="https://instagram.com/decentraland_foundation/",Ue="https://youtube.com/@decentraland_foundation",Ee="https://tiktok.com/@decentraland_fdn",le="https://linkedin.com/company/decentralandorg",Oe="https://decentraland.org/privacy",Ae="https://decentraland.org/terms",Te="https://decentraland.org/content",pe="https://decentraland.org/ethics",Ne="https://decentraland.org/help",Se="mailto:hello@decentraland.org",Ce="https://docs.decentraland.org/faqs/decentraland-101",he="https://docs.decentraland.org",Ie="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",De="https://download-gateway.decentraland.zone",ge="https://decentraland.zone/top-scenes",$e="https://testflight.apple.com/join/KF4r3jlU",ie="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Pe={WEARABLE_PREVIEW_URL:Sn,ACCOUNT_URL:Cn,PROFILE_URL:hn,MARKETPLACE_URL:In,SHOP_URL:Dn,BUILDER_URL:gn,DAO_URL:$n,GOVERNANCE_URL:Pn,EVENTS_URL:mn,PLACES_URL:Bn,CREATE_URL:yn,LEARN_URL:Mn,CREATOR_HUB_URL:Vn,DOWNLOAD_URL:bn,DOWNLOAD_SUCCESS_URL:un,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:Fn,CONTENTFUL_NAVBAR_ENTRY_ID:fn,CONTENTFUL_CONTENTFUL_CDN_URL:Kn,MARKETPLACE_NAMES_URL:vn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:zn,LANDING_CREATORS_URL:wn,STUDIOS_URL:Hn,BUILDER_WEARABLE_EMOTES_URL:Wn,BUILDER_NAMES_URL:kn,BUILDER_WORLDS_URL:xn,BUILDER_LAND_URL:jn,EVENTS_MY_EVENTS:Qn,PLACES_MY_FAVORITE_URL:Jn,DOCS_ABOUT_URL:Xn,DOCS_CREATORS_URL:qn,BLOG_URL:Zn,DOCS_CONTRIBUTOR_URL:te,GOVERNANCE_TRANSPARENCY_URL:ne,GOVERNANCE_PROPOSALS_URL:ee,DAO_GRANTS_URL:ae,GOVERNANCE_PROJECTS_URL:oe,DOCS_DAO_URL:_e,MARKETPLACE_SETTINGS_URL:ce,DISCORD_URL:Re,REDDIT_URL:de,GITHUB_URL:se,X_URL:Le,INSTAGRAM_URL:re,YOUTUBE_URL:Ue,TIKTOK_URL:Ee,LINKEDIN_URL:le,PRIVACY_POLICY_URL:Oe,TERMS_OF_USE_URL:Ae,CONTENT_POLICY_URL:Te,CODE_OF_ETHICS_URL:pe,SUPPORT_URL:Ne,EMAIL_HELLO_URL:Se,FAQ_URL:Ce,DOCS_URL:he,BEEHIV_SUBSCRIPTION_URL:Ie,AUTO_SIGNING_BASE_URL:De,TOP_SCENES_URL:ge,IOS_STORE_URL:$e,ANDROID_STORE_URL:ie},ye=a({[n.DEVELOPMENT]:rt,[n.STAGING]:Pe,[n.PRODUCTION]:Nn});export{ye as c};
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import{b1 as a,b2 as n}from"./index-COio6Ejd.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]="fc8192c3-68bd-4fb9-a9ca-22da5f8a75d6",t._sentryDebugIdIdentifier="sentry-dbid-fc8192c3-68bd-4fb9-a9ca-22da5f8a75d6")}catch{}})();const o="https://wearable-preview.decentraland.zone",_="https://decentraland.zone/account",c="https://decentraland.zone/profile",d="https://decentraland.zone/marketplace",R="https://decentraland.zone/shop",s="https://decentraland.zone/builder",L="https://decentraland.zone/dao",r="https://decentraland.zone/governance",U="https://decentraland.zone/events",E="https://decentraland.zone/places",l="https://decentraland.org/create/",O="https://docs.decentraland.org/player/",A="https://decentraland.zone/download/creator-hub/",T="https://decentraland.zone/download/",p="https://decentraland.zone/download_success/",N="ea2ybdmmn1kv",S="master",C="18g1DzIyBxvu0steSwKyQr",h="https://cms-api.decentraland.org",I="https://decentraland.zone/marketplace/names/claim",D="https://decentraland.zone/marketplace/lands",g="https://decentraland.zone/marketplace/account",$="https://decentraland.zone/create/",i="https://studios.decentraland.zone/",P="https://decentraland.zone/builder/collections",m="https://decentraland.zone/builder/names",B="https://decentraland.zone/builder/worlds?tab=dcl",y="https://decentraland.zone/builder/land",M="https://decentraland.zone/events/me/",V="https://decentraland.zone/places/favorites/",b="https://docs.decentraland.org/player/",u="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",F="https://docs.decentraland.org/contributor/",f="https://decentraland.zone/governance/transparency/",K="https://decentraland.zone/governance/proposals/",v="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",z="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",w="https://decentraland.zone/marketplace/settings",H="https://dcl.gg/discord",W="https://reddit.com/r/decentraland",k="https://github.com/decentraland",x="https://x.com/decentraland",j="https://instagram.com/decentraland_foundation/",Q="https://youtube.com/@decentraland_foundation",J="https://tiktok.com/@decentraland_fdn",X="https://linkedin.com/company/decentralandorg",q="https://decentraland.zone/privacy",Z="https://decentraland.zone/terms",tt="https://decentraland.zone/content",nt="https://decentraland.zone/ethics",et="https://decentraland.org/help",at="mailto:hello@decentraland.org",ot="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",ct="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",dt="https://download-gateway.decentraland.zone",Rt="https://decentraland.zone/top-scenes",st="https://testflight.apple.com/join/KF4r3jlU",Lt="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",rt={WEARABLE_PREVIEW_URL:o,ACCOUNT_URL:_,PROFILE_URL:c,MARKETPLACE_URL:d,SHOP_URL:R,BUILDER_URL:s,DAO_URL:L,GOVERNANCE_URL:r,EVENTS_URL:U,PLACES_URL:E,CREATE_URL:l,LEARN_URL:O,CREATOR_HUB_URL:A,DOWNLOAD_URL:T,DOWNLOAD_SUCCESS_URL:p,CONTENTFUL_SPACE_ID:N,CONTENTFUL_ENV:S,CONTENTFUL_NAVBAR_ENTRY_ID:C,CONTENTFUL_CONTENTFUL_CDN_URL:h,MARKETPLACE_NAMES_URL:I,MARKETPLACE_LANDS_URL:D,MARKETPLACE_MY_ASSETS_URL:g,LANDING_CREATORS_URL:$,STUDIOS_URL:i,BUILDER_WEARABLE_EMOTES_URL:P,BUILDER_NAMES_URL:m,BUILDER_WORLDS_URL:B,BUILDER_LAND_URL:y,EVENTS_MY_EVENTS:M,PLACES_MY_FAVORITE_URL:V,DOCS_ABOUT_URL:b,DOCS_CREATORS_URL:u,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:F,GOVERNANCE_TRANSPARENCY_URL:f,GOVERNANCE_PROPOSALS_URL:K,DAO_GRANTS_URL:v,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:z,MARKETPLACE_SETTINGS_URL:w,DISCORD_URL:H,REDDIT_URL:W,GITHUB_URL:k,X_URL:x,INSTAGRAM_URL:j,YOUTUBE_URL:Q,TIKTOK_URL:J,LINKEDIN_URL:X,PRIVACY_POLICY_URL:q,TERMS_OF_USE_URL:Z,CONTENT_POLICY_URL:tt,CODE_OF_ETHICS_URL:nt,SUPPORT_URL:et,EMAIL_HELLO_URL:at,FAQ_URL:ot,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:ct,AUTO_SIGNING_BASE_URL:dt,TOP_SCENES_URL:Rt,IOS_STORE_URL:st,ANDROID_STORE_URL:Lt},Ut="https://wearable-preview.decentraland.org",Et="https://decentraland.org/account",lt="https://decentraland.org/profile",Ot="https://decentraland.org/marketplace",At="https://decentraland.org/shop",Tt="https://decentraland.org/builder",pt="https://decentraland.org/dao",Nt="https://decentraland.org/governance",St="https://decentraland.org/events",Ct="https://decentraland.org/places",ht="https://decentraland.org/create/",It="https://docs.decentraland.org/player/",Dt="https://decentraland.org/download/creator-hub/",gt="https://decentraland.org/download/",$t="https://decentraland.org/download_success/",it="ea2ybdmmn1kv",Pt="master",mt="18g1DzIyBxvu0steSwKyQr",Bt="https://cms-api.decentraland.org",yt="https://decentraland.org/marketplace/names/claim",Mt="https://decentraland.org/marketplace/lands",Vt="https://decentraland.org/marketplace/account",bt="https://decentraland.org/create/",ut="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",Ft="https://decentraland.org/builder/names",ft="https://decentraland.org/builder/worlds?tab=dcl",Kt="https://decentraland.org/builder/land",vt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",zt="https://docs.decentraland.org/player/",wt="https://docs.decentraland.org/creator/",Ht="https://decentraland.org/blog/",Wt="https://docs.decentraland.org/contributor/",kt="https://decentraland.org/governance/transparency/",xt="https://decentraland.org/governance/proposals/",jt="https://decentraland.org/dao/grants/",Qt="https://decentraland.org/governance/projects/",Jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xt="https://decentraland.org/marketplace/settings",qt="https://dcl.gg/discord",Zt="https://reddit.com/r/decentraland",tn="https://github.com/decentraland",nn="https://x.com/decentraland",en="https://instagram.com/decentraland_foundation/",an="https://youtube.com/@decentraland_foundation",on="https://tiktok.com/@decentraland_fdn",_n="https://linkedin.com/company/decentralandorg",cn="https://decentraland.org/privacy",dn="https://decentraland.org/terms",Rn="https://decentraland.org/content",sn="https://decentraland.org/ethics",Ln="https://decentraland.org/help",rn="mailto:hello@decentraland.org",Un="https://docs.decentraland.org/faqs/decentraland-101",En="https://docs.decentraland.org",ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",On="https://download-gateway.decentraland.org",An="https://decentraland.org/top-scenes",Tn="https://testflight.apple.com/join/KF4r3jlU",pn="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Nn={WEARABLE_PREVIEW_URL:Ut,ACCOUNT_URL:Et,PROFILE_URL:lt,MARKETPLACE_URL:Ot,SHOP_URL:At,BUILDER_URL:Tt,DAO_URL:pt,GOVERNANCE_URL:Nt,EVENTS_URL:St,PLACES_URL:Ct,CREATE_URL:ht,LEARN_URL:It,CREATOR_HUB_URL:Dt,DOWNLOAD_URL:gt,DOWNLOAD_SUCCESS_URL:$t,CONTENTFUL_SPACE_ID:it,CONTENTFUL_ENV:Pt,CONTENTFUL_NAVBAR_ENTRY_ID:mt,CONTENTFUL_CONTENTFUL_CDN_URL:Bt,MARKETPLACE_NAMES_URL:yt,MARKETPLACE_LANDS_URL:Mt,MARKETPLACE_MY_ASSETS_URL:Vt,LANDING_CREATORS_URL:bt,STUDIOS_URL:ut,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:Ft,BUILDER_WORLDS_URL:ft,BUILDER_LAND_URL:Kt,EVENTS_MY_EVENTS:vt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:zt,DOCS_CREATORS_URL:wt,BLOG_URL:Ht,DOCS_CONTRIBUTOR_URL:Wt,GOVERNANCE_TRANSPARENCY_URL:kt,GOVERNANCE_PROPOSALS_URL:xt,DAO_GRANTS_URL:jt,GOVERNANCE_PROJECTS_URL:Qt,DOCS_DAO_URL:Jt,MARKETPLACE_SETTINGS_URL:Xt,DISCORD_URL:qt,REDDIT_URL:Zt,GITHUB_URL:tn,X_URL:nn,INSTAGRAM_URL:en,YOUTUBE_URL:an,TIKTOK_URL:on,LINKEDIN_URL:_n,PRIVACY_POLICY_URL:cn,TERMS_OF_USE_URL:dn,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:sn,SUPPORT_URL:Ln,EMAIL_HELLO_URL:rn,FAQ_URL:Un,DOCS_URL:En,BEEHIV_SUBSCRIPTION_URL:ln,AUTO_SIGNING_BASE_URL:On,TOP_SCENES_URL:An,IOS_STORE_URL:Tn,ANDROID_STORE_URL:pn},Sn="https://wearable-preview.decentraland.today",Cn="https://decentraland.today/account",hn="https://decentraland.today/profile",In="https://decentraland.today/marketplace",Dn="https://decentraland.today/shop",gn="https://decentraland.today/builder",$n="https://decentraland.today/dao",Pn="https://decentraland.today/governance",mn="https://decentraland.today/events",Bn="https://decentraland.today/places",yn="https://decentraland.today/create/",Mn="https://docs.decentraland.org/player/",Vn="https://decentraland.today/download/creator-hub/",bn="https://decentraland.today/download/",un="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",Fn="master",fn="18g1DzIyBxvu0steSwKyQr",Kn="https://cms-api.decentraland.org",vn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",zn="https://decentraland.today/marketplace/account",wn="https://decentraland.today/create/",Hn="https://studios.decentraland.today/",Wn="https://decentraland.today/builder/collections",kn="https://decentraland.today/builder/names",xn="https://decentraland.today/builder/worlds?tab=dcl",jn="https://decentraland.today/builder/land",Qn="https://decentraland.today/events/me/",Jn="https://decentraland.today/places/favorites/",Xn="https://docs.decentraland.org/player/",qn="https://docs.decentraland.org/creator/",Zn="https://decentraland.today/blog/",te="https://docs.decentraland.org/contributor/",ne="https://decentraland.today/governance/transparency/",ee="https://decentraland.today/governance/proposals/",ae="https://decentraland.today/dao/grants/",oe="https://decentraland.today/governance/projects/",_e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ce="https://decentraland.today/marketplace/settings",de="https://dcl.gg/discord",Re="https://reddit.com/r/decentraland",se="https://github.com/decentraland",Le="https://x.com/decentraland",re="https://instagram.com/decentraland_foundation/",Ue="https://youtube.com/@decentraland_foundation",Ee="https://tiktok.com/@decentraland_fdn",le="https://linkedin.com/company/decentralandorg",Oe="https://decentraland.org/privacy",Ae="https://decentraland.org/terms",Te="https://decentraland.org/content",pe="https://decentraland.org/ethics",Ne="https://decentraland.org/help",Se="mailto:hello@decentraland.org",Ce="https://docs.decentraland.org/faqs/decentraland-101",he="https://docs.decentraland.org",Ie="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",De="https://download-gateway.decentraland.zone",ge="https://decentraland.zone/top-scenes",$e="https://testflight.apple.com/join/KF4r3jlU",ie="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Pe={WEARABLE_PREVIEW_URL:Sn,ACCOUNT_URL:Cn,PROFILE_URL:hn,MARKETPLACE_URL:In,SHOP_URL:Dn,BUILDER_URL:gn,DAO_URL:$n,GOVERNANCE_URL:Pn,EVENTS_URL:mn,PLACES_URL:Bn,CREATE_URL:yn,LEARN_URL:Mn,CREATOR_HUB_URL:Vn,DOWNLOAD_URL:bn,DOWNLOAD_SUCCESS_URL:un,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:Fn,CONTENTFUL_NAVBAR_ENTRY_ID:fn,CONTENTFUL_CONTENTFUL_CDN_URL:Kn,MARKETPLACE_NAMES_URL:vn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:zn,LANDING_CREATORS_URL:wn,STUDIOS_URL:Hn,BUILDER_WEARABLE_EMOTES_URL:Wn,BUILDER_NAMES_URL:kn,BUILDER_WORLDS_URL:xn,BUILDER_LAND_URL:jn,EVENTS_MY_EVENTS:Qn,PLACES_MY_FAVORITE_URL:Jn,DOCS_ABOUT_URL:Xn,DOCS_CREATORS_URL:qn,BLOG_URL:Zn,DOCS_CONTRIBUTOR_URL:te,GOVERNANCE_TRANSPARENCY_URL:ne,GOVERNANCE_PROPOSALS_URL:ee,DAO_GRANTS_URL:ae,GOVERNANCE_PROJECTS_URL:oe,DOCS_DAO_URL:_e,MARKETPLACE_SETTINGS_URL:ce,DISCORD_URL:de,REDDIT_URL:Re,GITHUB_URL:se,X_URL:Le,INSTAGRAM_URL:re,YOUTUBE_URL:Ue,TIKTOK_URL:Ee,LINKEDIN_URL:le,PRIVACY_POLICY_URL:Oe,TERMS_OF_USE_URL:Ae,CONTENT_POLICY_URL:Te,CODE_OF_ETHICS_URL:pe,SUPPORT_URL:Ne,EMAIL_HELLO_URL:Se,FAQ_URL:Ce,DOCS_URL:he,BEEHIV_SUBSCRIPTION_URL:Ie,AUTO_SIGNING_BASE_URL:De,TOP_SCENES_URL:ge,IOS_STORE_URL:$e,ANDROID_STORE_URL:ie},ye=a({[n.DEVELOPMENT]:rt,[n.STAGING]:Pe,[n.PRODUCTION]:Nn});export{ye as c};
|
|
2
|
+
//# sourceMappingURL=index-D-gigTjB.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./react-ChceODIJ.js";import{r as I}from"./index-mrYOkuEY.js";import{az as w}from"./sendRawTransaction--ZySriEz.js";import{c as k,e as v}from"./hashTypedData-lGvaI2cA.js";import"./NetworkUtil--zruk36r.js";import"./sentry-DoDOB8I2.js";import"./index-DRRXfH5T.js";import"./dcl-schemas-BrVwEqiU.js";import"./ethers-DCYs0L1t.js";import"./intl-AKLEHPeO.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]="310a5608-f3ba-47f1-9d2e-d69261fddeba",t._sentryDebugIdIdentifier="sentry-dbid-310a5608-f3ba-47f1-9d2e-d69261fddeba")}catch{}})();const q=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const _=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=I();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!_(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},d={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,d.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,d.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,d.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,d.blockNumberToHex,d.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,d.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[d.blockNumberToHex,d.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,d.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class h extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,h.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new h("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new h("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new h("Permissions rejected",p);return a.apply(this)},s};var D=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return v({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),_(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}D([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new S(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,q as getSDKVersion,_ as isObjectEIP712TypedData};
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import"./react-BmPeg6sG.js";import{r as I}from"./index-DDjkaD8J.js";import{az as w}from"./sendRawTransaction-BY7CWiPp.js";import{c as k,e as v}from"./hashTypedData-B72YO7bf.js";import"./NetworkUtil-Ciq8Tbsc.js";import"./sentry-CfKEockx.js";import"./index-COio6Ejd.js";import"./dcl-schemas-COntwfiV.js";import"./ethers-BIoA35Pn.js";import"./intl-AKLEHPeO.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]="310a5608-f3ba-47f1-9d2e-d69261fddeba",t._sentryDebugIdIdentifier="sentry-dbid-310a5608-f3ba-47f1-9d2e-d69261fddeba")}catch{}})();const q=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const _=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=I();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!_(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},d={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,d.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,d.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,d.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,d.blockNumberToHex,d.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,d.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[d.blockNumberToHex,d.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,d.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class h extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,h.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new h("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new h("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new h("Permissions rejected",p);return a.apply(this)},s};var D=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return v({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),_(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}D([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new S(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,q as getSDKVersion,_ as isObjectEIP712TypedData};
|
|
2
|
+
//# sourceMappingURL=index-D1h1jMQm.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as X}from"./sentry-DoDOB8I2.js";import{c as Tr}from"./react-ChceODIJ.js";import{r as Zr,a as Qr,b as ie,c as ae,d as fe,e as se,f as oe,g as ue}from"./index-BFEMM3r4.js";import{c as Xr,d as nr}from"./ethers-DCYs0L1t.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="48b10550-ea3d-4f57-8600-7e69832bd1b3",t._sentryDebugIdIdentifier="sentry-dbid-48b10550-ea3d-4f57-8600-7e69832bd1b3")}catch{}})();var or={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Fr;function rr(){return Fr||(Fr=1,(function(t,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?t.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 re(){if(jr)return hr;jr=1;var t=Zr();return hr=function(w){return!!t(w)},hr}var lr,Dr;function ce(){if(Dr)return lr;Dr=1;var t=ie(),g=Qr(),w=g("TypedArray.prototype.buffer",!0),h=re();return lr=w||function(s){if(!h(s))throw new t("Not a Typed Array");return s.buffer},lr}var dr,kr;function he(){if(kr)return dr;kr=1;var t=rr().Buffer,g=ae(),w=ce(),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&&(t.prototype instanceof Uint8Array||t.TYPED_ARRAY_SUPPORT);return dr=function(f,p){if(t.isBuffer(f))return f.constructor&&!("isBuffer"in f)?t.from(f):f;if(typeof f=="string")return t.from(f,p);if(s&&h(f)){if(f.byteLength===0)return t.alloc(0);if(l){var b=t.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=t.from(B);if(u.length===f.byteLength)return u}if(x&&f instanceof Uint8Array)return t.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||t.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return t.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 le(){if(Ur)return br;Ur=1;const t=(function*(){}).constructor;return br=()=>t,br}var _r,Nr;function de(){if(Nr)return _r;Nr=1;var t=Qr(),g=oe(),w=g(/^\s*(?:function)?\*/),h=fe()(),x=se(),s=t("Object.prototype.toString"),l=t("Function.prototype.toString"),y=le();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 ye(){return qr||(qr=1,(function(t){var g=ue(),w=de(),h=Zr(),x=re();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}}t.isArgumentsObject=g,t.isGeneratorFunction=w,t.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"}t.isPromise=d;function o(i){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(i):x(i)||e(i)}t.isArrayBufferView=o;function r(i){return h(i)==="Uint8Array"}t.isUint8Array=r;function c(i){return h(i)==="Uint8ClampedArray"}t.isUint8ClampedArray=c;function _(i){return h(i)==="Uint16Array"}t.isUint16Array=_;function F(i){return h(i)==="Uint32Array"}t.isUint32Array=F;function I(i){return h(i)==="Int8Array"}t.isInt8Array=I;function j(i){return h(i)==="Int16Array"}t.isInt16Array=j;function H(i){return h(i)==="Int32Array"}t.isInt32Array=H;function N(i){return h(i)==="Float32Array"}t.isFloat32Array=N;function k(i){return h(i)==="Float64Array"}t.isFloat64Array=k;function R(i){return h(i)==="BigInt64Array"}t.isBigInt64Array=R;function V(i){return h(i)==="BigUint64Array"}t.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}t.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}t.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}t.isWeakMap=D;function W(i){return f(i)==="[object WeakSet]"}W.working=typeof WeakSet<"u"&&W(new WeakSet);function J(i){return W(i)}t.isWeakSet=J;function z(i){return f(i)==="[object ArrayBuffer]"}z.working=typeof ArrayBuffer<"u"&&z(new ArrayBuffer);function er(i){return typeof ArrayBuffer>"u"?!1:z.working?z(i):i instanceof ArrayBuffer}t.isArrayBuffer=er;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 e(i){return typeof DataView>"u"?!1:Y.working?Y(i):i instanceof DataView}t.isDataView=e;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)}t.isSharedArrayBuffer=E;function O(i){return f(i)==="[object AsyncFunction]"}t.isAsyncFunction=O;function A(i){return f(i)==="[object Map Iterator]"}t.isMapIterator=A;function m(i){return f(i)==="[object Set Iterator]"}t.isSetIterator=m;function C(i){return f(i)==="[object Generator]"}t.isGeneratorObject=C;function T(i){return f(i)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=T;function U(i){return v(i,p)}t.isNumberObject=U;function K(i){return v(i,b)}t.isStringObject=K;function tr(i){return v(i,B)}t.isBooleanObject=tr;function Z(i){return l&&v(i,u)}t.isBigIntObject=Z;function ir(i){return y&&v(i,S)}t.isSymbolObject=ir;function cr(i){return U(i)||K(i)||tr(i)||Z(i)||ir(i)}t.isBoxedPrimitive=cr;function fr(i){return typeof Uint8Array<"u"&&(er(i)||E(i))}t.isAnyArrayBuffer=fr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(i){Object.defineProperty(t,i,{enumerable:!1,value:function(){throw new Error(i+" is not supported in userland")}})})})(pr)),pr}var vr,Pr;function pe(){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 Se(){return Rr||(Rr=1,(function(t){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;t.format=function(e){if(!j(e)){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(e).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},t.deprecate=function(e,n){if(typeof X<"u"&&X.noDeprecation===!0)return e;if(typeof X>"u")return function(){return t.deprecate(e,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 e.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")}t.debuglog=function(e){if(e=e.toUpperCase(),!x[e])if(s.test(e)){var n=X.pid;x[e]=function(){var a=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,a)}}else x[e]=function(){};return x[e]};function y(e,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&&t._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,e,a.depth)}t.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(e,n){var a=y.styles[n];return a?"\x1B["+y.colors[a][0]+"m"+e+"\x1B["+y.colors[a][1]+"m":e}function p(e,n){return e}function b(e){var n={};return e.forEach(function(a,E){n[a]=!0}),n}function B(e,n,a){if(e.customInspect&&n&&P(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var E=n.inspect(a,e);return j(E)||(E=B(e,E,a)),E}var O=u(e,n);if(O)return O;var A=Object.keys(n),m=b(A);if(e.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 e.stylize("[Function"+C+"]","special")}if(k(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(V(n))return e.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 tr=n.name?": "+n.name:"";T=" [Function"+tr+"]"}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)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var Z;return U?Z=v(e,n,a,m,A):Z=A.map(function(ir){return d(e,n,a,m,ir,U)}),e.seen.pop(),o(Z,T,K)}function u(e,n){if(N(n))return e.stylize("undefined","undefined");if(j(n)){var a="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(a,"string")}if(I(n))return e.stylize(""+n,"number");if(c(n))return e.stylize(""+n,"boolean");if(_(n))return e.stylize("null","null")}function S(e){return"["+Error.prototype.toString.call(e)+"]"}function v(e,n,a,E,O){for(var A=[],m=0,C=n.length;m<C;++m)J(n,String(m))?A.push(d(e,n,a,E,String(m),!0)):A.push("");return O.forEach(function(T){T.match(/^\d+$/)||A.push(d(e,n,a,E,T,!0))}),A}function d(e,n,a,E,O,A){var m,C,T;if(T=Object.getOwnPropertyDescriptor(n,O)||{value:n[O]},T.get?T.set?C=e.stylize("[Getter/Setter]","special"):C=e.stylize("[Getter]","special"):T.set&&(C=e.stylize("[Setter]","special")),J(E,O)||(m="["+O+"]"),C||(e.seen.indexOf(T.value)<0?(_(a)?C=B(e,T.value,null):C=B(e,T.value,a-1),C.indexOf(`
|
|
1
|
+
import{p as X}from"./sentry-CfKEockx.js";import{c as Tr}from"./react-BmPeg6sG.js";import{r as Zr,a as Qr,b as ie,c as ae,d as fe,e as se,f as oe,g as ue}from"./index-DdpXntwz.js";import{c as Xr,d as nr}from"./ethers-BIoA35Pn.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="48b10550-ea3d-4f57-8600-7e69832bd1b3",t._sentryDebugIdIdentifier="sentry-dbid-48b10550-ea3d-4f57-8600-7e69832bd1b3")}catch{}})();var or={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Fr;function rr(){return Fr||(Fr=1,(function(t,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?t.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 re(){if(jr)return hr;jr=1;var t=Zr();return hr=function(w){return!!t(w)},hr}var lr,Dr;function ce(){if(Dr)return lr;Dr=1;var t=ie(),g=Qr(),w=g("TypedArray.prototype.buffer",!0),h=re();return lr=w||function(s){if(!h(s))throw new t("Not a Typed Array");return s.buffer},lr}var dr,kr;function he(){if(kr)return dr;kr=1;var t=rr().Buffer,g=ae(),w=ce(),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&&(t.prototype instanceof Uint8Array||t.TYPED_ARRAY_SUPPORT);return dr=function(f,p){if(t.isBuffer(f))return f.constructor&&!("isBuffer"in f)?t.from(f):f;if(typeof f=="string")return t.from(f,p);if(s&&h(f)){if(f.byteLength===0)return t.alloc(0);if(l){var b=t.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=t.from(B);if(u.length===f.byteLength)return u}if(x&&f instanceof Uint8Array)return t.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||t.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return t.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 le(){if(Ur)return br;Ur=1;const t=(function*(){}).constructor;return br=()=>t,br}var _r,Nr;function de(){if(Nr)return _r;Nr=1;var t=Qr(),g=oe(),w=g(/^\s*(?:function)?\*/),h=fe()(),x=se(),s=t("Object.prototype.toString"),l=t("Function.prototype.toString"),y=le();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 ye(){return qr||(qr=1,(function(t){var g=ue(),w=de(),h=Zr(),x=re();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}}t.isArgumentsObject=g,t.isGeneratorFunction=w,t.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"}t.isPromise=d;function o(i){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(i):x(i)||e(i)}t.isArrayBufferView=o;function r(i){return h(i)==="Uint8Array"}t.isUint8Array=r;function c(i){return h(i)==="Uint8ClampedArray"}t.isUint8ClampedArray=c;function _(i){return h(i)==="Uint16Array"}t.isUint16Array=_;function F(i){return h(i)==="Uint32Array"}t.isUint32Array=F;function I(i){return h(i)==="Int8Array"}t.isInt8Array=I;function j(i){return h(i)==="Int16Array"}t.isInt16Array=j;function H(i){return h(i)==="Int32Array"}t.isInt32Array=H;function N(i){return h(i)==="Float32Array"}t.isFloat32Array=N;function k(i){return h(i)==="Float64Array"}t.isFloat64Array=k;function R(i){return h(i)==="BigInt64Array"}t.isBigInt64Array=R;function V(i){return h(i)==="BigUint64Array"}t.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}t.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}t.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}t.isWeakMap=D;function W(i){return f(i)==="[object WeakSet]"}W.working=typeof WeakSet<"u"&&W(new WeakSet);function J(i){return W(i)}t.isWeakSet=J;function z(i){return f(i)==="[object ArrayBuffer]"}z.working=typeof ArrayBuffer<"u"&&z(new ArrayBuffer);function er(i){return typeof ArrayBuffer>"u"?!1:z.working?z(i):i instanceof ArrayBuffer}t.isArrayBuffer=er;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 e(i){return typeof DataView>"u"?!1:Y.working?Y(i):i instanceof DataView}t.isDataView=e;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)}t.isSharedArrayBuffer=E;function O(i){return f(i)==="[object AsyncFunction]"}t.isAsyncFunction=O;function A(i){return f(i)==="[object Map Iterator]"}t.isMapIterator=A;function m(i){return f(i)==="[object Set Iterator]"}t.isSetIterator=m;function C(i){return f(i)==="[object Generator]"}t.isGeneratorObject=C;function T(i){return f(i)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=T;function U(i){return v(i,p)}t.isNumberObject=U;function K(i){return v(i,b)}t.isStringObject=K;function tr(i){return v(i,B)}t.isBooleanObject=tr;function Z(i){return l&&v(i,u)}t.isBigIntObject=Z;function ir(i){return y&&v(i,S)}t.isSymbolObject=ir;function cr(i){return U(i)||K(i)||tr(i)||Z(i)||ir(i)}t.isBoxedPrimitive=cr;function fr(i){return typeof Uint8Array<"u"&&(er(i)||E(i))}t.isAnyArrayBuffer=fr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(i){Object.defineProperty(t,i,{enumerable:!1,value:function(){throw new Error(i+" is not supported in userland")}})})})(pr)),pr}var vr,Pr;function pe(){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 Se(){return Rr||(Rr=1,(function(t){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;t.format=function(e){if(!j(e)){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(e).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},t.deprecate=function(e,n){if(typeof X<"u"&&X.noDeprecation===!0)return e;if(typeof X>"u")return function(){return t.deprecate(e,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 e.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")}t.debuglog=function(e){if(e=e.toUpperCase(),!x[e])if(s.test(e)){var n=X.pid;x[e]=function(){var a=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,a)}}else x[e]=function(){};return x[e]};function y(e,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&&t._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,e,a.depth)}t.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(e,n){var a=y.styles[n];return a?"\x1B["+y.colors[a][0]+"m"+e+"\x1B["+y.colors[a][1]+"m":e}function p(e,n){return e}function b(e){var n={};return e.forEach(function(a,E){n[a]=!0}),n}function B(e,n,a){if(e.customInspect&&n&&P(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var E=n.inspect(a,e);return j(E)||(E=B(e,E,a)),E}var O=u(e,n);if(O)return O;var A=Object.keys(n),m=b(A);if(e.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 e.stylize("[Function"+C+"]","special")}if(k(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(V(n))return e.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 tr=n.name?": "+n.name:"";T=" [Function"+tr+"]"}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)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var Z;return U?Z=v(e,n,a,m,A):Z=A.map(function(ir){return d(e,n,a,m,ir,U)}),e.seen.pop(),o(Z,T,K)}function u(e,n){if(N(n))return e.stylize("undefined","undefined");if(j(n)){var a="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(a,"string")}if(I(n))return e.stylize(""+n,"number");if(c(n))return e.stylize(""+n,"boolean");if(_(n))return e.stylize("null","null")}function S(e){return"["+Error.prototype.toString.call(e)+"]"}function v(e,n,a,E,O){for(var A=[],m=0,C=n.length;m<C;++m)J(n,String(m))?A.push(d(e,n,a,E,String(m),!0)):A.push("");return O.forEach(function(T){T.match(/^\d+$/)||A.push(d(e,n,a,E,T,!0))}),A}function d(e,n,a,E,O,A){var m,C,T;if(T=Object.getOwnPropertyDescriptor(n,O)||{value:n[O]},T.get?T.set?C=e.stylize("[Getter/Setter]","special"):C=e.stylize("[Getter]","special"):T.set&&(C=e.stylize("[Setter]","special")),J(E,O)||(m="["+O+"]"),C||(e.seen.indexOf(T.value)<0?(_(a)?C=B(e,T.value,null):C=B(e,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-DoDOB8I2.js";import{c as Tr}from"./react-ChceODIJ.js
|
|
|
8
8
|
`)>=0,O+A.replace(/\u001b\[\d\d?m/g,"").length+1},0);return E>60?a[0]+(n===""?"":n+`
|
|
9
9
|
`)+" "+e.join(`,
|
|
10
10
|
`)+" "+a[1]:a[0]+n+" "+e.join(", ")+" "+a[1]}t.types=ye();function r(e){return Array.isArray(e)}t.isArray=r;function c(e){return typeof e=="boolean"}t.isBoolean=c;function _(e){return e===null}t.isNull=_;function F(e){return e==null}t.isNullOrUndefined=F;function I(e){return typeof e=="number"}t.isNumber=I;function j(e){return typeof e=="string"}t.isString=j;function H(e){return typeof e=="symbol"}t.isSymbol=H;function N(e){return e===void 0}t.isUndefined=N;function k(e){return R(e)&&L(e)==="[object RegExp]"}t.isRegExp=k,t.types.isRegExp=k;function R(e){return typeof e=="object"&&e!==null}t.isObject=R;function V(e){return R(e)&&L(e)==="[object Date]"}t.isDate=V,t.types.isDate=V;function q(e){return R(e)&&(L(e)==="[object Error]"||e instanceof Error)}t.isError=q,t.types.isNativeError=q;function P(e){return typeof e=="function"}t.isFunction=P;function $(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}t.isPrimitive=$,t.isBuffer=pe();function L(e){return Object.prototype.toString.call(e)}function M(e){return e<10?"0"+e.toString(10):e.toString(10)}var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function W(){var e=new Date,n=[M(e.getHours()),M(e.getMinutes()),M(e.getSeconds())].join(":");return[e.getDate(),D[e.getMonth()],n].join(" ")}t.log=function(){console.log("%s - %s",W(),t.format.apply(t,arguments))},t.inherits=nr(),t._extend=function(e,n){if(!n||!R(n))return e;for(var a=Object.keys(n),E=a.length;E--;)e[a[E]]=n[a[E]];return e};function J(e,n){return Object.prototype.hasOwnProperty.call(e,n)}var z=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;t.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))},t.promisify.custom=z;function er(e,n){if(!e){var a=new Error("Promise was rejected with a falsy value");a.reason=e,e=a}return n(e)}function Y(e){if(typeof e!="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)};e.apply(this,a).then(function(C){X.nextTick(m.bind(null,null,C))},function(C){X.nextTick(er.bind(null,C,m))})}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,w(e)),n}t.callbackify=Y})(yr)),yr}var gr,Mr;function Ee(){if(Mr)return gr;Mr=1,gr=t;function t(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 be(){return zr||(zr=1,(function(t,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?t.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 Ce(){if(Gr)return xr;Gr=1;var t=be().Buffer,g=t.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"&&(t.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=t.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 t=rr().Buffer,g=he();function w(h,x){this._block=t.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 _e(){if(Vr)return mr;Vr=1;var t=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)}t(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 ve(){if($r)return Ar;$r=1;var t=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)}t(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 ee(){if(Lr)return Sr;Lr=1;var t=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)}t(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 ge(){if(Wr)return Er;Wr=1;var t=nr(),g=ee(),w=ar(),h=rr().Buffer,x=new Array(64);function s(){this.init(),this._w=x,w.call(this,64,56)}return t(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 te(){if(Jr)return Cr;Jr=1;var t=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)}t(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),er=B(J,W);W=o[D-4],J=o[D-4+1];var Y=u(W,J),e=S(J,W),n=o[D-14],a=o[D-14+1],E=o[D-32],O=o[D-32+1],A=er+a|0,m=z+n+v(A,er)|0;A=A+e|0,m=m+Y+v(A,e)|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),tr=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=tr+U|0,ne=K+T+v(Or,tr)|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+ne+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 xe(){if(Kr)return Ir;Kr=1;var t=nr(),g=te(),w=ar(),h=rr().Buffer,x=new Array(160);function s(){this.init(),this._w=x,w.call(this,128,112)}return t(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 Ie(){return Yr||(Yr=1,(function(t){t.exports=function(w){var h=w.toLowerCase(),x=t.exports[h];if(!x)throw new Error(h+" is not supported (we accept pull requests)");return new x},t.exports.sha=_e(),t.exports.sha1=ve(),t.exports.sha224=ge(),t.exports.sha256=ee(),t.exports.sha384=xe(),t.exports.sha512=te()})(wr)),wr.exports}export{he as a,Se as b,Ee as c,Ce as d,Ie as e,rr as r};
|
|
11
|
-
//# sourceMappingURL=index-
|
|
11
|
+
//# sourceMappingURL=index-D2gmXgfJ.js.map
|