@dcl/shop 0.1.1-30910936579.commit-bb58bbb → 0.2.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-BFxuJO2y.js → Activity-DEjmHBhk.js} +3 -3
- package/_assets/{AnimatedBackground-VQDTmdjQ.js → AnimatedBackground-CHvLpzUf.js} +2 -2
- package/_assets/{Assets-BikrL8IX.js → Assets-DEojVtHO.js} +7 -7
- package/_assets/{Assets.styles-Cxk14RF3.js → Assets.styles-B1LMem3Q.js} +1 -1
- package/_assets/{Authorizations-BtKTUS-9.js → Authorizations-CTaaCZXi.js} +1 -1
- package/_assets/{Cart-BTqp0FRv.js → Cart-AX3HGlh3.js} +2 -2
- package/_assets/{CircularProgress-17SCzKSq.js → CircularProgress-BZ7NQch9.js} +1 -1
- package/_assets/{Collection-CYIm3Htv.js → Collection-BcbP4dPg.js} +1 -1
- package/_assets/{CollectionCarousel-C0LgFQAu.js → CollectionCarousel-jmGi2U05.js} +1 -1
- package/_assets/{Creator-DVEvwEf2.js → Creator-CC2tlDlW.js} +1 -1
- package/_assets/{ErrorNotice-D6-7YD_C.js → ErrorNotice-BSIjN9FY.js} +1 -1
- package/_assets/{ExchangeController-DjKSc6Rd.js → ExchangeController-Yl7Xs6qB.js} +1 -1
- package/_assets/{GetCredits-B3XWTumM.js → GetCredits-Bq1y_1so.js} +1 -1
- package/_assets/{HelpersUtil-iIr5k8S3.js → HelpersUtil-1_9JDXYM.js} +1 -1
- package/_assets/{ImportListings-ZrRXROSR.js → ImportListings-BOHhSYaD.js} +1 -1
- package/_assets/{ItemDetail-KjO5zo9p.js → ItemDetail-CI8vL8MT.js} +3 -3
- package/_assets/{ItemPreview.styles-Cb0L-oUy.js → ItemPreview.styles-Ct9P1B-d.js} +1 -1
- package/_assets/{LoadMore-CUa0BsTv.js → LoadMore-DD6-EqBS.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-D8qXS7kM.js → ManaPricingBanner.styles-CW9IN_dA.js} +1 -1
- package/_assets/{MenuList-BrAB8iKy.js → MenuList-BccS2Xcz.js} +1 -1
- package/_assets/{MyAssets-BOrcLKie.js → MyAssets-8_cluEwM.js} +1 -1
- package/_assets/{MyFavorites-D9J7HO-j.js → MyFavorites-D2hqTVxj.js} +1 -1
- package/_assets/{NotFound-DOxwZxko.js → NotFound-DhsUg-9v.js} +1 -1
- package/_assets/{NotificationsBell-DRP3FzbO.js → NotificationsBell-DL2DHZkV.js} +1 -1
- package/_assets/{OutfitDetail-C5eyGpEA.js → OutfitDetail-CTE9Y2YI.js} +1 -1
- package/_assets/{OutfitPreview-BL8cCtEn.js → OutfitPreview-DTexJcaC.js} +1 -1
- package/_assets/{OutfitStudio-D_CB2QVA.js → OutfitStudio-IUKANtS4.js} +1 -1
- package/_assets/{StoreSettings-B6o_W0eW.js → StoreSettings-D8nBhr1U.js} +1 -1
- package/_assets/{Success-CXS2Dcqd.js → Success-R1I0qHV7.js} +1 -1
- package/_assets/{SwapController-B4ZfPAwx.js → SwapController-BaLokWQK.js} +1 -1
- package/_assets/{Tooltip-bl4-JEoI.js → Tooltip-8Rn2EQnm.js} +1 -1
- package/_assets/{TradeService-DDRO-auD.js → TradeService-DgaMlENs.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-CNMm9yRj.js → W3MFrameProviderSingleton-BefcEwHF.js} +3 -3
- package/_assets/{WebCryptoP256-B6pqCsYE.js → WebCryptoP256-CJnbpGC3.js} +1 -1
- package/_assets/authorizations-C1shI8qN.js +1 -0
- package/_assets/{basic-C44jT8B4.js → basic-B3K2S7qT.js} +1 -1
- package/_assets/{biconomy-eZih2UZJ.js → biconomy-DZYrYjn_.js} +1 -1
- package/_assets/{browseLayout.styles-CrLB3Lke.js → browseLayout.styles-CdBFJnD1.js} +1 -1
- package/_assets/{builder-WW8inl03.js → builder-CxQSxnbg.js} +1 -1
- package/_assets/{buy-D9SdPT0I.js → buy-7YNy1Ky6.js} +1 -1
- package/_assets/{buy-gasless-ByVYfkrv.js → buy-gasless-Bgmi9EE6.js} +1 -1
- package/_assets/{categories-koDpxIGQ.js → categories-fdqQ1jGj.js} +1 -1
- package/_assets/{ccip-BpZ0kBt9.js → ccip-B3flptay.js} +1 -1
- package/_assets/{ccip-DecJozf8.js → ccip-D_tGl3BV.js} +1 -1
- package/_assets/{clsx-_vaSICRo.js → clsx-DqDJX0Wu.js} +1 -1
- package/_assets/{controller-CiF4NSKd.js → controller-B_iikB1D.js} +2 -2
- package/_assets/{core-DH1NTGuy.js → core-BU7SnNlk.js} +4 -4
- package/_assets/{createSvgIcon-CUzS88Su.js → createSvgIcon-CtLGC3hn.js} +1 -1
- package/_assets/{custom-CuL2B_VD.js → custom-BEjNfCl9.js} +1 -1
- package/_assets/{data-capture-BbHnyf8W.js → data-capture-B1VhMeC7.js} +1 -1
- package/_assets/{email-D8w7eAFp.js → email-B57omyQe.js} +1 -1
- package/_assets/{embedded-wallet-DGxnQp0J.js → embedded-wallet-CQkZ1oq_.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-COxDrE1C.js → emotion-styled.browser.esm-D2394E6D.js} +1 -1
- package/_assets/{engine-B5M1X4Zk.js → engine-C2DdTaY7.js} +1 -1
- package/_assets/{errors-boW7-tfx.js → errors-D_opMycA.js} +1 -1
- package/_assets/{estimate-l1-fee-Zly2VYMS.js → estimate-l1-fee-D8xs9cx5.js} +1 -1
- package/_assets/{execute-BTxBSnXr.js → execute-CGo5AyiA.js} +2 -2
- package/_assets/{features-DqfGz-fi.js → features-D-9rXGGv.js} +1 -1
- package/_assets/{fetchTokenMetadata-CGRbolN0.js → fetchTokenMetadata-B7bmvVVs.js} +2 -2
- package/_assets/{field.styles-icpuqiLd.js → field.styles-CRXnbqs7.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-zJw2ag43.js → get-ecosystem-wallet-info-B_YL7NbP.js} +1 -1
- package/_assets/{getBalance-CykzuUJG.js → getBalance-DobpCh21.js} +1 -1
- package/_assets/{getNFT-DIQvefS-.js → getNFT-CE2BQKXd.js} +1 -1
- package/_assets/{getNFT-DvHzzPp2.js → getNFT-XA7-jTvL.js} +1 -1
- package/_assets/{getThemeProps-B3ytv_sA.js → getThemeProps-CtBrmvfh.js} +1 -1
- package/_assets/{grid.styles-DY-TUpQG.js → grid.styles-qz7ti9Zv.js} +1 -1
- package/_assets/{hashTypedData-KiRlt_KE.js → hashTypedData-CVAaL5pV.js} +1 -1
- package/_assets/{hashTypedData-hmAiNCzj.js → hashTypedData-DBdbd6qS.js} +1 -1
- package/_assets/{in-app-DwX-TQ4J.js → in-app-8uY3gq10.js} +1 -1
- package/_assets/{in-app-wallet-calls-CeJWzRpW.js → in-app-wallet-calls-DUYtkUWV.js} +1 -1
- package/_assets/{index-DrLsGQFY.js → index-0k_Ix9-y.js} +1 -1
- package/_assets/{index-Db8XAM6H.js → index-4yxKINQG.js} +1 -1
- package/_assets/{index-BeZANkpU.js → index-5BrpwK2E.js} +3 -3
- package/_assets/{index-ClhaoFwr.js → index-B3cBw-D7.js} +1 -1
- package/_assets/{index-CYA8v3ru.js → index-B52GuR9b.js} +1 -1
- package/_assets/{index-DM4q9M_E.js → index-B6UcUowD.js} +1 -1
- package/_assets/{index-CThPTHFI.js → index-BcLl5Pcj.js} +1 -1
- package/_assets/{index-Bg-QKz9Z.js → index-BdNZtyJQ.js} +1 -1
- package/_assets/{index-BGDkYZ9X.js → index-BeU8m41Y.js} +1 -1
- package/_assets/{index-2HjgvGE0.js → index-BfMJozQN.js} +1 -1
- package/_assets/{index-DQRRTksr.js → index-BfiiGRPB.js} +1 -1
- package/_assets/{index-BbJIcREt.js → index-BhjYUrg0.js} +1 -1
- package/_assets/{index-DRYUJJ5d.js → index-C1p-YzYG.js} +1 -1
- package/_assets/{index-kibPayQR.js → index-C2rfWYTU.js} +1 -1
- package/_assets/{index-CljY6PrF.js → index-C3OMForh.js} +1 -1
- package/_assets/{index-D5pWb9fn.js → index-C3Y7EEOn.js} +1 -1
- package/_assets/{index-CJDQqTIn.js → index-C6oNJ6-K.js} +1 -1
- package/_assets/{index-8kcK18dY.js → index-C9P3L7ig.js} +2 -2
- package/_assets/{index-RLaXeWRK.js → index-CCG1GoIN.js} +1 -1
- package/_assets/{index-CPEUTeuP.js → index-CQSjY0Du.js} +1 -1
- package/_assets/{index-CUAlYj50.js → index-Ce7FXMH6.js} +1 -1
- package/_assets/{index-5hmoUi31.js → index-CjXgzl0R.js} +3 -3
- package/_assets/{index-ocDIHs1j.js → index-ClWeiLd5.js} +1 -1
- package/_assets/{index-0hJ-EeUf.js → index-Cm0V-kfI.js} +1 -1
- package/_assets/{index-C_k6QnYS.js → index-CnJpbFSz.js} +1 -1
- package/_assets/{index-Cz8ctv2n.js → index-CnyZnOze.js} +1 -1
- package/_assets/{index-CSsIBkjj.js → index-D5CV5tma.js} +1 -1
- package/_assets/{index-8_Ez2ez1.js → index-D5sgkVGL.js} +1 -1
- package/_assets/{index-zgoTY9Mb.js → index-DTr5GHSv.js} +1 -1
- package/_assets/{index-BKiicFqW.js → index-DV0qYwPA.js} +1 -1
- package/_assets/{index-CXnd9PaX.js → index-DcYRP6nf.js} +1 -1
- package/_assets/{index-BxIPGFn3.js → index-DoSPE-Ha.js} +1 -1
- package/_assets/{index-lSNqSHBI.js → index-DsVYdq6J.js} +1 -1
- package/_assets/{index-_H6tRTcn.js → index-DvuYfHQP.js} +2 -2
- package/_assets/{index-CrudFoei.js → index-DyqgsK_t.js} +1 -1
- package/_assets/{index-BznO72_i.js → index-El7E7gyC.js} +1 -1
- package/_assets/{index-DhNBmPpe.js → index-HTR5wu9m.js} +2 -2
- package/_assets/index-I4EEqchH.js +3260 -0
- package/_assets/{index-PWgePIOy.js → index-LyvizffK.js} +1 -1
- package/_assets/{index-B8qNqBrK.js → index-Nm_gGcV-.js} +1 -1
- package/_assets/{index-dG4ogQCm.js → index-OkR1-K6e.js} +1 -1
- package/_assets/{index-DMpkdgJ2.js → index-RGElQJQM.js} +1 -1
- package/_assets/{index-BFGZVce1.js → index-SEqhKb6L.js} +1 -1
- package/_assets/{index-DdyXqr-l.js → index-bK2MzhZQ.js} +1 -1
- package/_assets/{index-DQvmiIO9.js → index-bxCEY1Kz.js} +1 -1
- package/_assets/{index-707cZyU3.js → index-eUea8kWn.js} +1 -1
- package/_assets/{index-BZDHc6sA.js → index-kK-ziiji.js} +1 -1
- package/_assets/{index-uNbynO8A.js → index-mT-oF00r.js} +1 -1
- package/_assets/{index-bMsIU7Dw.js → index-vju3bcbC.js} +1 -1
- package/_assets/{index-C_J3Tg-X.js → index-xBX71Czg.js} +1 -1
- package/_assets/{index-OzGvz8K0.js → index-y4_ULjVF.js} +3 -3
- package/_assets/{index.es-C_UXSWig.js → index.es-CKWyDo1q.js} +4 -4
- package/_assets/{index.es-zHc4Qg3k.js → index.es-ClPouKQg.js} +1 -1
- package/_assets/{index.es-DGFKmGxx.js → index.es-DF60f2Mp.js} +1 -1
- package/_assets/{localBatchGatewayRequest-CCfsw-I3.js → localBatchGatewayRequest-OBBcAlGv.js} +1 -1
- package/_assets/{mana-convert-C1xSiqqu.js → mana-convert-CmDEKake.js} +1 -1
- package/_assets/{mana-rate-BpHfe_iw.js → mana-rate-BjVix_kr.js} +1 -1
- package/_assets/{networks-BV-X4qTe.js → networks-wsAhf300.js} +1 -1
- package/_assets/{onramp-B_uKFllv.js → onramp-Dm1zvxjw.js} +1 -1
- package/_assets/{openzeppelin-Cls--iTO.js → openzeppelin-DBTB-nhA.js} +1 -1
- package/_assets/{parseNft-Bnklm1HN.js → parseNft-Be2Jf_xO.js} +2 -2
- package/_assets/{parseSignature-B03xBRZR.js → parseSignature-BgK0HNBL.js} +3 -3
- package/_assets/{parseSignature-CGE07wnH.js → parseSignature-DUi_JbiE.js} +1 -1
- package/_assets/{passkeys-uRKe3IGl.js → passkeys-Cn_zbnFu.js} +1 -1
- package/_assets/{pay-with-exchange-ClC7J5eZ.js → pay-with-exchange-BPDG4vuK.js} +1 -1
- package/_assets/{qr-overlay-B49rbQOU.js → qr-overlay-YaY3yjB-.js} +1 -1
- package/_assets/{receive-D5yoBmvW.js → receive-TvYb15EC.js} +1 -1
- package/_assets/{resolveImplementation-zUXnrfgu.js → resolveImplementation-CQV2GLf_.js} +1 -1
- package/_assets/{rpc-D5nQZP6e.js → rpc-CItoFNEp.js} +1 -1
- package/_assets/{secp256k1-dQSlTzqe.js → secp256k1-DRdrrq5M.js} +1 -1
- package/_assets/{secp256k1-C--Hpe6V.js → secp256k1-ivKnCo4o.js} +1 -1
- package/_assets/{secp256k1-CeWXTOjm.js → secp256k1-zoeEVUd9.js} +1 -1
- package/_assets/{send-DnOBdj_w.js → send-KyJXgfEP.js} +1 -1
- package/_assets/{send-batch-transaction-DcYpxyD8.js → send-batch-transaction-CMIoWgH_.js} +1 -1
- package/_assets/{send-eip712-transaction-DEyxEhYn.js → send-eip712-transaction-DFA_NvME.js} +2 -2
- package/_assets/{send-gasless-transaction-B0KoDSZI.js → send-gasless-transaction-rpDMTChs.js} +2 -2
- package/_assets/{send-transaction-DLrp33Ay.js → send-transaction-Bdxf4mR-.js} +2 -2
- package/_assets/{sendMetaTransaction-CgzqVu54.js → sendMetaTransaction-Bj0jdOFW.js} +1 -1
- package/_assets/{sendRawTransaction-B8yZxOzl.js → sendRawTransaction-BsxjE4-g.js} +3 -3
- package/_assets/{serializeTransaction-BoUYQ-jQ.js → serializeTransaction-1erxN0sJ.js} +1 -1
- package/_assets/{session-proposal-DMzEaWkq.js → session-proposal-B0iDzfRA.js} +1 -1
- package/_assets/{session-request-CtZEDQ6h.js → session-request-BjhyRLM9.js} +2 -2
- package/_assets/{signing-DTUoW6Aq.js → signing-CRKINztP.js} +3 -3
- package/_assets/{socials-B0V1ulX-.js → socials-1JjCJX93.js} +1 -1
- package/_assets/{swaps-CIG58tbY.js → swaps-xl0imKPc.js} +1 -1
- package/_assets/{thirdweb-CFdrUc0X.js → thirdweb-EjaBlMwG.js} +3 -3
- package/_assets/{to-serializable-transaction-BzLjLX_S.js → to-serializable-transaction-BJbueh8D.js} +2 -2
- package/_assets/{trade-encoding-BJEZpBsE.js → trade-encoding-BnDgi1QQ.js} +1 -1
- package/_assets/{transactionReceipt-BaDMkEKJ.js → transactionReceipt-BoDpuYqv.js} +1 -1
- package/_assets/{transactions-DbSW24RG.js → transactions-mUAXsl3e.js} +1 -1
- package/_assets/{useCreditPacks-B9dcdQRV.js → useCreditPacks--aSgsJ92.js} +1 -1
- package/_assets/{useInfiniteGrid-DY2zLmAX.js → useInfiniteGrid-Ct3kWony.js} +1 -1
- package/_assets/useManaRate-Cfp1rcnf.js +1 -0
- package/_assets/{useSecondarySales-T5w4v68V.js → useSecondarySales-CaN1WkpM.js} +1 -1
- package/_assets/{useStore-Br1E1f__.js → useStore-ChkmZ3qe.js} +1 -1
- package/_assets/{useTheme-CwpMDe-4.js → useTheme-DO90qBa1.js} +1 -1
- package/_assets/{verifyHash-B4t13z9H.js → verifyHash-B-yVKa3W.js} +1 -1
- package/_assets/{w3m-modal-BqfbNw0J.js → w3m-modal-BLrIcOlj.js} +1 -1
- package/_assets/{w3m-modal-BH1vdfAR.js → w3m-modal-CLMDYpCW.js} +1 -1
- package/_assets/{wait-for-tx-receipt-mlGWyLwH.js → wait-for-tx-receipt-D1H6U1pd.js} +1 -1
- package/_assets/{wallets-Ci88s6wU.js → wallets-BOa-d8wQ.js} +5 -5
- package/_assets/{web-connector-8oIz3OFz.js → web-connector-BqHFvU2z.js} +3 -3
- package/_assets/{writeContract-f90YYlnO.js → writeContract-BEWlchIW.js} +1 -1
- package/_assets/{zoraTestnet-IkEqWruQ.js → zoraTestnet-CKnxxXEw.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/authorizations-CYYNI-9S.js +0 -1
- package/_assets/index-DubLtINT.js +0 -3260
- package/_assets/useManaRate-GUe-CE9q.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-
|
|
1
|
+
import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-D5sgkVGL.js";import"./index-C1p-YzYG.js";import{d as b,r as x,e as z}from"./index-5BrpwK2E.js";import"./index-BfMJozQN.js";const S=f`<svg width="86" height="96" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
d="M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z"
|
|
4
4
|
/>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r}from"./parseSignature-CGE07wnH.js";import{B as y,E as f,a as v,b as A,F as S,W as I,d as F,e as R,f as x,g as C,p as B,l as N,n as P,p as D,h as U,s as w,z as L}from"./parseSignature-CGE07wnH.js";import{I as H,c as k,a as z,p as q,w as V}from"./custom-CuL2B_VD.js";import{h as s}from"./W3MFrameProviderSingleton-CNMm9yRj.js";import{U as G,c as j,f as W,s as K,w as Z,a as J}from"./W3MFrameProviderSingleton-CNMm9yRj.js";import{A as X,a as Y,B as _,b as $,C as aa,D as ra,E as oa,F as sa,c as ea,H as ta,I as ia,d as na,e as ca,f as da,g as Ea,h as pa,i as ua,j as la,k as ma,l as Ta,J as ga,L as ba,M as ha,m as ya,N as fa,n as va,o as Aa,P as Sa,p as Ia,q as Fa,R as Ra,r as xa,s as Ca,t as Ba,u as Na,S as Pa,v as Da,w as Ua,x as wa,T as La,y as Ma,z as Ha,G as ka,U as za,K as qa,O as Va,Q as Oa,V as Ga,W as ja,X as Wa,Y as Ka,Z as Za,_ as Ja,$ as Qa,a0 as Xa,a1 as Ya,a2 as _a,a3 as $a,a4 as ar,a5 as rr,a6 as or,a7 as sr,a8 as er,a9 as tr,aa as ir,ab as nr,ac as cr,ad as dr,ae as Er,af as pr,ag as ur,ah as lr,ai as mr,aj as Tr,ak as gr,al as br,am as hr,an as yr,ao as fr,ap as vr,a1 as Ar}from"./NetworkUtil-EoWQDMpU.js";import{A as Ir,a as Fr,b as Rr,c as xr,d as Cr,e as Br,f as Nr,g as Pr,h as Dr,i as Ur,j as wr,k as Lr,l as Mr,m as Hr,n as kr,o as zr,p as qr,B as Vr,q as Or,r as Gr,C as jr,s as Wr,t as Kr,u as Zr,v as Jr,w as Qr,x as Xr,y as Yr,z as _r,D as $r,E as ao,F as ro,G as oo,H as so,I as eo,J as to,K as io,L as no,M as co,N as Eo,O as po,P as uo,Q as lo,R as mo,S as To,T as go,U as bo,V as ho,W as yo,X as fo,Y as vo,Z as Ao,_ as So,$ as Io,a0 as Fo,a1 as Ro,a2 as xo,a3 as Co,a4 as Bo,a5 as No,a6 as Po,a7 as Do,a8 as Uo,a9 as wo,aa as Lo,ab as Mo,ac as Ho,ad as ko,ae as zo,af as qo,ag as Vo,ah as Oo,ai as Go,aj as jo,ak as Wo,al as Ko,am as Zo,an as Jo,ao as Qo,ap as Xo,aq as Yo,ar as _o,as as $o,at as as,au as rs,av as os,aw as ss,ax as es,ay as ts,az as is,aA as ns,aB as cs,aC as ds,aD as Es,aE as ps,aF as us,aG as ls,aH as ms,aI as Ts,aJ as gs,aK as bs,aL as hs,aM as ys,aN as fs,aM as vs,aO as As,aP as Ss,aQ as Is,aR as Fs,aS as Rs,aT as xs,aU as Cs,aV as Bs,aW as Ns,aX as Ps,aY as Ds,aZ as Us,a_ as ws,a$ as Ls,b0 as Ms,b1 as Hs,b2 as ks,b3 as zs,b4 as qs,aL as Vs,aM as Os,b4 as Gs,aN as js,aM as Ws,b5 as Ks,b6 as Zs,aA as Js}from"./sendRawTransaction-B8yZxOzl.js";import{I as Xs,a as Ys,b as _s,g as $s,h as ae,c as re,d as oe,e as se,p as ee,t as te,v as ie}from"./hashTypedData-hmAiNCzj.js";import{d as ce,e as de,a as Ee}from"./localBatchGatewayRequest-CCfsw-I3.js";import{ccipRequest as ue,ccipRequest as le,offchainLookup as me,offchainLookupAbiItem as Te,offchainLookupSignature as ge}from"./ccip-BpZ0kBt9.js";import{d as t}from"./verifyHash-B4t13z9H.js";import{e as he,p as ye,a as fe,s as ve,s as Ae}from"./verifyHash-B4t13z9H.js";import{a as Ie,b as Fe,c as Re,s as xe,d as Ce}from"./serializeTransaction-BoUYQ-jQ.js";import"./secp256k1-C--Hpe6V.js";import"./dcl-schemas-Dr9BTjb7.js";import"./index-DI-3MKLG.js";import"./react-DehiWSvs.js";import"./sentry-973sfbO9.js";import"./index-DhNBmPpe.js";import"./events-DQ172AOg.js";import"./index-DubLtINT.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";import"./browser-ponyfill-I5CKtKME.js";export{Ir as AbiConstructorNotFoundError,Fr as AbiConstructorParamsNotFoundError,Rr as AbiDecodingDataSizeTooSmallError,xr as AbiDecodingZeroDataError,Cr as AbiEncodingArrayLengthMismatchError,Br as AbiEncodingBytesSizeMismatchError,Nr as AbiEncodingLengthMismatchError,Pr as AbiErrorInputsNotFoundError,Dr as AbiErrorNotFoundError,Ur as AbiErrorSignatureNotFoundError,wr as AbiEventNotFoundError,Lr as AbiEventSignatureEmptyTopicsError,Mr as AbiEventSignatureNotFoundError,Hr as AbiFunctionNotFoundError,kr as AbiFunctionOutputsNotFoundError,zr as AbiFunctionSignatureNotFoundError,qr as AccountStateConflictError,X as AtomicReadyWalletRejectedUpgradeError,Y as AtomicityNotSupportedError,_ as BaseError,Vr as BaseFeeScalarError,Or as BlockNotFoundError,y as BundleFailedError,$ as BundleTooLargeError,Gr as BytesSizeMismatchError,jr as CallExecutionError,aa as ChainDisconnectedError,Wr as ChainDoesNotSupportContract,Kr as ChainMismatchError,Zr as ChainNotFoundError,Jr as CircularReferenceError,Qr as ClientChainNotConfiguredError,Xr as ContractFunctionExecutionError,Yr as ContractFunctionRevertedError,_r as ContractFunctionZeroDataError,$r as CounterfactualDeploymentFailedError,ao as DecodeLogDataMismatch,ro as DecodeLogTopicsMismatch,ra as DuplicateIdError,oo as Eip1559FeesNotSupportedError,f as EnsAvatarInvalidNftUriError,v as EnsAvatarUnsupportedNamespaceError,A as EnsAvatarUriResolutionError,so as EstimateGasExecutionError,oa as ExecutionRevertedError,sa as FeeCapTooHighError,ea as FeeCapTooLowError,S as FilterTypeNotSupportedError,ta as HttpRequestError,ia as InsufficientFundsError,na as IntegerOutOfRangeError,ca as InternalRpcError,da as IntrinsicGasTooHighError,Ea as IntrinsicGasTooLowError,eo as InvalidAbiDecodingTypeError,to as InvalidAbiEncodingTypeError,io as InvalidAbiItemError,no as InvalidAbiParametersError,co as InvalidAbiTypeParameterError,Eo as InvalidAddressError,po as InvalidArrayError,pa as InvalidBytesBooleanError,uo as InvalidChainIdError,H as InvalidDecimalNumberError,lo as InvalidDefinitionTypeError,Xs as InvalidDomainError,mo as InvalidFunctionModifierError,ua as InvalidHexBooleanError,la as InvalidInputRpcError,To as InvalidLegacyVError,go as InvalidModifierError,bo as InvalidParameterError,ma as InvalidParamsRpcError,ho as InvalidParenthesisError,Ys as InvalidPrimaryTypeError,Ta as InvalidRequestRpcError,yo as InvalidSerializableTransactionError,fo as InvalidSignatureError,vo as InvalidStorageKeySizeError,Ao as InvalidStructSignatureError,_s as InvalidStructTypeError,ga as JsonRpcVersionUnsupportedError,ba as LimitExceededRpcError,So as MaxFeePerGasTooLowError,ha as MethodNotFoundRpcError,ya as MethodNotSupportedRpcError,fa as NonceMaxValueError,va as NonceTooHighError,Aa as NonceTooLowError,Sa as ParseRpcError,Ia as ProviderDisconnectedError,Fa as ProviderRpcError,Io as RawContractError,Ra as ResourceNotFoundRpcError,xa as ResourceUnavailableRpcError,Ca as ResponseBodyTooLargeError,Ba as RpcError,Na as RpcRequestError,Pa as SizeExceedsPaddingSizeError,Da as SizeOverflowError,Ua as SliceOffsetOutOfBoundsError,Fo as SolidityProtectedKeywordError,Ro as StateAssignmentConflictError,wa as SwitchChainError,La as TimeoutError,Ma as TipAboveFeeCapError,xo as TransactionExecutionError,Co as TransactionNotFoundError,Bo as TransactionReceiptNotFoundError,Ha as TransactionRejectedRpcError,ka as TransactionTypeNotSupportedError,za as UnauthorizedProviderError,qa as UnknownBundleIdError,Va as UnknownNodeError,Oa as UnknownRpcError,No as UnknownSignatureError,Po as UnknownTypeError,Ga as UnsupportedChainIdError,ja as UnsupportedNonOptionalCapabilityError,Do as UnsupportedPackedAbiType,Wa as UnsupportedProviderMethodError,G as UrlRequiredError,Ka as UserRejectedRequestError,I as WaitForCallsStatusTimeoutError,Uo as WaitForTransactionReceiptTimeoutError,wo as assertCurrentChain,Lo as assertRequest,Ie as assertTransactionEIP1559,Fe as assertTransactionEIP2930,Re as assertTransactionLegacy,Mo as blobsToCommitments,Ho as blobsToProofs,Za as boolToBytes,Ja as boolToHex,ko as bytesToBigInt,zo as bytesToBool,Qa as bytesToHex,qo as bytesToNumber,Vo as bytesToString,ue as ccipFetch,le as ccipRequest,Oo as checksumAddress,Go as commitmentToVersionedHash,jo as commitmentsToVersionedHashes,Wo as concat,Ko as concatBytes,Zo as concatHex,k as createClient,F as createNonceManager,r as createPublicClient,j as createTransport,z as custom,Jo as decodeAbiParameters,Qo as decodeErrorResult,Xo as decodeEventLog,ce as decodeFunctionData,Yo as decodeFunctionResult,_o as defineBlock,t as defineChain,$o as defineTransaction,as as defineTransactionReceipt,rs as defineTransactionRequest,os as deploylessCallViaBytecodeBytecode,ss as deploylessCallViaFactoryBytecode,es as encodeAbiParameters,ts as encodeDeployData,de as encodeErrorResult,R as encodeEventTopics,is as encodeFunctionData,Ee as encodeFunctionResult,x as encodePacked,Xa as erc20Abi,Ya as erc6492SignatureValidatorAbi,ns as erc6492SignatureValidatorByteCode,C as ethAddress,_a as etherUnits,he as extendSchema,W as fallback,cs as formatBlock,ds as formatEther,$a as formatGwei,Es as formatLog,ps as formatTransaction,us as formatTransactionReceipt,ls as formatTransactionRequest,ar as formatUnits,rr as fromHex,ms as getAbiItem,Ts as getAddress,gs as getChainContractAddress,bs as getContractError,hs as getEventSelector,ys as getEventSignature,fs as getFunctionSelector,vs as getFunctionSignature,As as getTransactionType,$s as getTypesForEIP712Domain,or as gweiUnits,ae as hashDomain,re as hashMessage,oe as hashStruct,se as hashTypedData,sr as hexToBigInt,er as hexToBool,tr as hexToBytes,ir as hexToNumber,B as hexToSignature,nr as hexToString,s as http,Ss as isAddress,Is as isAddressEqual,cr as isHex,Fs as keccak256,N as labelhash,Rs as maxUint16,xs as maxUint256,dr as multicall3Abi,P as namehash,Er as numberToBytes,pr as numberToHex,me as offchainLookup,Te as offchainLookupAbiItem,ge as offchainLookupSignature,ur as pad,lr as padBytes,mr as padHex,Cs as parseAbi,ye as parseAbiItem,fe as parseAbiParameters,Bs as parseEventLogs,D as parseSignature,q as parseUnits,Ns as prepareEncodeFunctionData,ee as presignMessagePrefix,U as publicActions,Ps as recoverAddress,Ds as recoverPublicKey,Us as rpcTransactionType,xe as serializeAccessList,w as serializeErc6492Signature,ve as serializeSignature,Ce as serializeTransaction,ws as sha256,K as shouldThrow,Ae as signatureToHex,Tr as size,Ls as slice,Ms as sliceBytes,Hs as sliceHex,gr as stringToBytes,br as stringToHex,hr as stringify,ks as toBlobSidecars,zs as toBlobs,yr as toBytes,qs as toEventHash,Vs as toEventSelector,Os as toEventSignature,Gs as toFunctionHash,js as toFunctionSelector,Ws as toFunctionSignature,fr as toHex,te as toPrefixedMessage,Ks as toRlp,Zs as transactionType,vr as trim,Ar as universalSignatureValidatorAbi,Js as universalSignatureValidatorByteCode,ie as validateTypedData,V as withCache,Z as withRetry,J as withTimeout,L as zeroAddress};
|
|
1
|
+
import{c as r}from"./parseSignature-DUi_JbiE.js";import{B as y,E as f,a as v,b as A,F as S,W as I,d as F,e as R,f as x,g as C,p as B,l as N,n as P,p as D,h as U,s as w,z as L}from"./parseSignature-DUi_JbiE.js";import{I as H,c as k,a as z,p as q,w as V}from"./custom-BEjNfCl9.js";import{h as s}from"./W3MFrameProviderSingleton-BefcEwHF.js";import{U as G,c as j,f as W,s as K,w as Z,a as J}from"./W3MFrameProviderSingleton-BefcEwHF.js";import{A as X,a as Y,B as _,b as $,C as aa,D as ra,E as oa,F as sa,c as ea,H as ta,I as ia,d as na,e as ca,f as da,g as Ea,h as pa,i as ua,j as la,k as ma,l as Ta,J as ga,L as ba,M as ha,m as ya,N as fa,n as va,o as Aa,P as Sa,p as Ia,q as Fa,R as Ra,r as xa,s as Ca,t as Ba,u as Na,S as Pa,v as Da,w as Ua,x as wa,T as La,y as Ma,z as Ha,G as ka,U as za,K as qa,O as Va,Q as Oa,V as Ga,W as ja,X as Wa,Y as Ka,Z as Za,_ as Ja,$ as Qa,a0 as Xa,a1 as Ya,a2 as _a,a3 as $a,a4 as ar,a5 as rr,a6 as or,a7 as sr,a8 as er,a9 as tr,aa as ir,ab as nr,ac as cr,ad as dr,ae as Er,af as pr,ag as ur,ah as lr,ai as mr,aj as Tr,ak as gr,al as br,am as hr,an as yr,ao as fr,ap as vr,a1 as Ar}from"./NetworkUtil-EoWQDMpU.js";import{A as Ir,a as Fr,b as Rr,c as xr,d as Cr,e as Br,f as Nr,g as Pr,h as Dr,i as Ur,j as wr,k as Lr,l as Mr,m as Hr,n as kr,o as zr,p as qr,B as Vr,q as Or,r as Gr,C as jr,s as Wr,t as Kr,u as Zr,v as Jr,w as Qr,x as Xr,y as Yr,z as _r,D as $r,E as ao,F as ro,G as oo,H as so,I as eo,J as to,K as io,L as no,M as co,N as Eo,O as po,P as uo,Q as lo,R as mo,S as To,T as go,U as bo,V as ho,W as yo,X as fo,Y as vo,Z as Ao,_ as So,$ as Io,a0 as Fo,a1 as Ro,a2 as xo,a3 as Co,a4 as Bo,a5 as No,a6 as Po,a7 as Do,a8 as Uo,a9 as wo,aa as Lo,ab as Mo,ac as Ho,ad as ko,ae as zo,af as qo,ag as Vo,ah as Oo,ai as Go,aj as jo,ak as Wo,al as Ko,am as Zo,an as Jo,ao as Qo,ap as Xo,aq as Yo,ar as _o,as as $o,at as as,au as rs,av as os,aw as ss,ax as es,ay as ts,az as is,aA as ns,aB as cs,aC as ds,aD as Es,aE as ps,aF as us,aG as ls,aH as ms,aI as Ts,aJ as gs,aK as bs,aL as hs,aM as ys,aN as fs,aM as vs,aO as As,aP as Ss,aQ as Is,aR as Fs,aS as Rs,aT as xs,aU as Cs,aV as Bs,aW as Ns,aX as Ps,aY as Ds,aZ as Us,a_ as ws,a$ as Ls,b0 as Ms,b1 as Hs,b2 as ks,b3 as zs,b4 as qs,aL as Vs,aM as Os,b4 as Gs,aN as js,aM as Ws,b5 as Ks,b6 as Zs,aA as Js}from"./sendRawTransaction-BsxjE4-g.js";import{I as Xs,a as Ys,b as _s,g as $s,h as ae,c as re,d as oe,e as se,p as ee,t as te,v as ie}from"./hashTypedData-DBdbd6qS.js";import{d as ce,e as de,a as Ee}from"./localBatchGatewayRequest-OBBcAlGv.js";import{ccipRequest as ue,ccipRequest as le,offchainLookup as me,offchainLookupAbiItem as Te,offchainLookupSignature as ge}from"./ccip-B3flptay.js";import{d as t}from"./verifyHash-B-yVKa3W.js";import{e as he,p as ye,a as fe,s as ve,s as Ae}from"./verifyHash-B-yVKa3W.js";import{a as Ie,b as Fe,c as Re,s as xe,d as Ce}from"./serializeTransaction-1erxN0sJ.js";import"./secp256k1-ivKnCo4o.js";import"./dcl-schemas-Dr9BTjb7.js";import"./index-DI-3MKLG.js";import"./react-DehiWSvs.js";import"./sentry-973sfbO9.js";import"./index-HTR5wu9m.js";import"./events-DQ172AOg.js";import"./index-I4EEqchH.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";import"./browser-ponyfill-I5CKtKME.js";export{Ir as AbiConstructorNotFoundError,Fr as AbiConstructorParamsNotFoundError,Rr as AbiDecodingDataSizeTooSmallError,xr as AbiDecodingZeroDataError,Cr as AbiEncodingArrayLengthMismatchError,Br as AbiEncodingBytesSizeMismatchError,Nr as AbiEncodingLengthMismatchError,Pr as AbiErrorInputsNotFoundError,Dr as AbiErrorNotFoundError,Ur as AbiErrorSignatureNotFoundError,wr as AbiEventNotFoundError,Lr as AbiEventSignatureEmptyTopicsError,Mr as AbiEventSignatureNotFoundError,Hr as AbiFunctionNotFoundError,kr as AbiFunctionOutputsNotFoundError,zr as AbiFunctionSignatureNotFoundError,qr as AccountStateConflictError,X as AtomicReadyWalletRejectedUpgradeError,Y as AtomicityNotSupportedError,_ as BaseError,Vr as BaseFeeScalarError,Or as BlockNotFoundError,y as BundleFailedError,$ as BundleTooLargeError,Gr as BytesSizeMismatchError,jr as CallExecutionError,aa as ChainDisconnectedError,Wr as ChainDoesNotSupportContract,Kr as ChainMismatchError,Zr as ChainNotFoundError,Jr as CircularReferenceError,Qr as ClientChainNotConfiguredError,Xr as ContractFunctionExecutionError,Yr as ContractFunctionRevertedError,_r as ContractFunctionZeroDataError,$r as CounterfactualDeploymentFailedError,ao as DecodeLogDataMismatch,ro as DecodeLogTopicsMismatch,ra as DuplicateIdError,oo as Eip1559FeesNotSupportedError,f as EnsAvatarInvalidNftUriError,v as EnsAvatarUnsupportedNamespaceError,A as EnsAvatarUriResolutionError,so as EstimateGasExecutionError,oa as ExecutionRevertedError,sa as FeeCapTooHighError,ea as FeeCapTooLowError,S as FilterTypeNotSupportedError,ta as HttpRequestError,ia as InsufficientFundsError,na as IntegerOutOfRangeError,ca as InternalRpcError,da as IntrinsicGasTooHighError,Ea as IntrinsicGasTooLowError,eo as InvalidAbiDecodingTypeError,to as InvalidAbiEncodingTypeError,io as InvalidAbiItemError,no as InvalidAbiParametersError,co as InvalidAbiTypeParameterError,Eo as InvalidAddressError,po as InvalidArrayError,pa as InvalidBytesBooleanError,uo as InvalidChainIdError,H as InvalidDecimalNumberError,lo as InvalidDefinitionTypeError,Xs as InvalidDomainError,mo as InvalidFunctionModifierError,ua as InvalidHexBooleanError,la as InvalidInputRpcError,To as InvalidLegacyVError,go as InvalidModifierError,bo as InvalidParameterError,ma as InvalidParamsRpcError,ho as InvalidParenthesisError,Ys as InvalidPrimaryTypeError,Ta as InvalidRequestRpcError,yo as InvalidSerializableTransactionError,fo as InvalidSignatureError,vo as InvalidStorageKeySizeError,Ao as InvalidStructSignatureError,_s as InvalidStructTypeError,ga as JsonRpcVersionUnsupportedError,ba as LimitExceededRpcError,So as MaxFeePerGasTooLowError,ha as MethodNotFoundRpcError,ya as MethodNotSupportedRpcError,fa as NonceMaxValueError,va as NonceTooHighError,Aa as NonceTooLowError,Sa as ParseRpcError,Ia as ProviderDisconnectedError,Fa as ProviderRpcError,Io as RawContractError,Ra as ResourceNotFoundRpcError,xa as ResourceUnavailableRpcError,Ca as ResponseBodyTooLargeError,Ba as RpcError,Na as RpcRequestError,Pa as SizeExceedsPaddingSizeError,Da as SizeOverflowError,Ua as SliceOffsetOutOfBoundsError,Fo as SolidityProtectedKeywordError,Ro as StateAssignmentConflictError,wa as SwitchChainError,La as TimeoutError,Ma as TipAboveFeeCapError,xo as TransactionExecutionError,Co as TransactionNotFoundError,Bo as TransactionReceiptNotFoundError,Ha as TransactionRejectedRpcError,ka as TransactionTypeNotSupportedError,za as UnauthorizedProviderError,qa as UnknownBundleIdError,Va as UnknownNodeError,Oa as UnknownRpcError,No as UnknownSignatureError,Po as UnknownTypeError,Ga as UnsupportedChainIdError,ja as UnsupportedNonOptionalCapabilityError,Do as UnsupportedPackedAbiType,Wa as UnsupportedProviderMethodError,G as UrlRequiredError,Ka as UserRejectedRequestError,I as WaitForCallsStatusTimeoutError,Uo as WaitForTransactionReceiptTimeoutError,wo as assertCurrentChain,Lo as assertRequest,Ie as assertTransactionEIP1559,Fe as assertTransactionEIP2930,Re as assertTransactionLegacy,Mo as blobsToCommitments,Ho as blobsToProofs,Za as boolToBytes,Ja as boolToHex,ko as bytesToBigInt,zo as bytesToBool,Qa as bytesToHex,qo as bytesToNumber,Vo as bytesToString,ue as ccipFetch,le as ccipRequest,Oo as checksumAddress,Go as commitmentToVersionedHash,jo as commitmentsToVersionedHashes,Wo as concat,Ko as concatBytes,Zo as concatHex,k as createClient,F as createNonceManager,r as createPublicClient,j as createTransport,z as custom,Jo as decodeAbiParameters,Qo as decodeErrorResult,Xo as decodeEventLog,ce as decodeFunctionData,Yo as decodeFunctionResult,_o as defineBlock,t as defineChain,$o as defineTransaction,as as defineTransactionReceipt,rs as defineTransactionRequest,os as deploylessCallViaBytecodeBytecode,ss as deploylessCallViaFactoryBytecode,es as encodeAbiParameters,ts as encodeDeployData,de as encodeErrorResult,R as encodeEventTopics,is as encodeFunctionData,Ee as encodeFunctionResult,x as encodePacked,Xa as erc20Abi,Ya as erc6492SignatureValidatorAbi,ns as erc6492SignatureValidatorByteCode,C as ethAddress,_a as etherUnits,he as extendSchema,W as fallback,cs as formatBlock,ds as formatEther,$a as formatGwei,Es as formatLog,ps as formatTransaction,us as formatTransactionReceipt,ls as formatTransactionRequest,ar as formatUnits,rr as fromHex,ms as getAbiItem,Ts as getAddress,gs as getChainContractAddress,bs as getContractError,hs as getEventSelector,ys as getEventSignature,fs as getFunctionSelector,vs as getFunctionSignature,As as getTransactionType,$s as getTypesForEIP712Domain,or as gweiUnits,ae as hashDomain,re as hashMessage,oe as hashStruct,se as hashTypedData,sr as hexToBigInt,er as hexToBool,tr as hexToBytes,ir as hexToNumber,B as hexToSignature,nr as hexToString,s as http,Ss as isAddress,Is as isAddressEqual,cr as isHex,Fs as keccak256,N as labelhash,Rs as maxUint16,xs as maxUint256,dr as multicall3Abi,P as namehash,Er as numberToBytes,pr as numberToHex,me as offchainLookup,Te as offchainLookupAbiItem,ge as offchainLookupSignature,ur as pad,lr as padBytes,mr as padHex,Cs as parseAbi,ye as parseAbiItem,fe as parseAbiParameters,Bs as parseEventLogs,D as parseSignature,q as parseUnits,Ns as prepareEncodeFunctionData,ee as presignMessagePrefix,U as publicActions,Ps as recoverAddress,Ds as recoverPublicKey,Us as rpcTransactionType,xe as serializeAccessList,w as serializeErc6492Signature,ve as serializeSignature,Ce as serializeTransaction,ws as sha256,K as shouldThrow,Ae as signatureToHex,Tr as size,Ls as slice,Ms as sliceBytes,Hs as sliceHex,gr as stringToBytes,br as stringToHex,hr as stringify,ks as toBlobSidecars,zs as toBlobs,yr as toBytes,qs as toEventHash,Vs as toEventSelector,Os as toEventSignature,Gs as toFunctionHash,js as toFunctionSelector,Ws as toFunctionSignature,fr as toHex,te as toPrefixedMessage,Ks as toRlp,Zs as transactionType,vr as trim,Ar as universalSignatureValidatorAbi,Js as universalSignatureValidatorByteCode,ie as validateTypedData,V as withCache,Z as withRetry,J as withTimeout,L as zeroAddress};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/PhArrowCircleDown-B305t-Sh.js","_assets/property-C9JG5tag.js","_assets/PhArrowClockwise-CJPxQhr_.js","_assets/PhArrowDown-C4hT9BVu.js","_assets/PhArrowLeft-Way4Cu-r.js","_assets/PhArrowRight-Cp5ZME0F.js","_assets/PhArrowSquareOut-NnrK69c5.js","_assets/PhArrowsDownUp-BjBI4ckC.js","_assets/PhArrowsLeftRight-CuLpbKRk.js","_assets/PhArrowUp-Dph6j8rm.js","_assets/PhArrowUpRight-BpJjRRRh.js","_assets/PhArrowsClockwise-CFUT8X7R.js","_assets/PhBank-Dchr4XQJ.js","_assets/PhBrowser-dUu2TrC1.js","_assets/PhCaretDown-78IuKU3V.js","_assets/PhCaretLeft-_aiyH7n1.js","_assets/PhCaretRight-8zJQEuDX.js","_assets/PhCaretUp-CiCxKWwN.js","_assets/PhCheck-CcADx8br.js","_assets/PhCircleHalf-BYzSzd2h.js","_assets/PhClock-UItiXeJq.js","_assets/PhCompass-CUy3uA7t.js","_assets/PhCopy-C-PDgSlZ.js","_assets/PhCreditCard-CWRaUT6F.js","_assets/PhCurrencyDollar-Cqla3AXT.js","_assets/PhDesktop-BBIPrYLl.js","_assets/PhDeviceMobile-BdsPaATg.js","_assets/PhDotsThree-BMXCQl-0.js","_assets/PhVault-l2PHF38a.js","_assets/PhEnvelope-yUsis6yU.js","_assets/PhFunnelSimple-Ba7BbWTp.js","_assets/PhGlobe-DgLxBk5U.js","_assets/PhIdentificationCard-Czjmq9Z3.js","_assets/PhImage-BAJ_erz6.js","_assets/PhInfo-Cr4DhVUE.js","_assets/PhLightbulb-BX_7duTr.js","_assets/PhMagnifyingGlass-Mygfryvz.js","_assets/PhPaperPlaneRight-BeuCA660.js","_assets/PhPlus-BMjcHjsT.js","_assets/PhPower-CGffGmdb.js","_assets/PhPuzzlePiece-wm_GpVSi.js","_assets/PhQrCode-DRwRzXCH.js","_assets/PhQuestion-M09j2U0T.js","_assets/PhQuestionMark-BP9EMB6h.js","_assets/PhSealCheck-BfG80yKn.js","_assets/PhSignOut-C5YOWlPT.js","_assets/PhSpinner-BXooDYzU.js","_assets/PhTrash-Biq6rmmL.js","_assets/PhUser-CAgZSpGe.js","_assets/PhWallet-w25D16It.js","_assets/PhWarning-DPEydIPw.js","_assets/PhWarningCircle-BqjT745H.js","_assets/PhX-s-SmVExa.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{a as M,i as y,b as x,w as h}from"./lit-element-B3y9oplH.js";import{n as s,o as Z,a as A}from"./class-map-CxwNmq0D.js";import{r as E,v as c,d as I}from"./index-
|
|
2
|
+
import{a as M,i as y,b as x,w as h}from"./lit-element-B3y9oplH.js";import{n as s,o as Z,a as A}from"./class-map-CxwNmq0D.js";import{r as E,v as c,d as I}from"./index-5BrpwK2E.js";import{_ as r}from"./index-I4EEqchH.js";const L=".",C={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--apkt-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--apkt-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},formatCurrency(t=0,e={}){const i=Number(t);return isNaN(i)?"$0.00":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(i)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:o}){return t.length<=e+i?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n==null?void 0:n.replace("px","")),p=`${a}% ${a}% at 65% 40%`,d=[];for(let u=0;u<5;u+=1){const m=this.tintColor(o,.15*u);d.push(`rgb(${m[0]}, ${m[1]}, ${m[2]})`)}return`
|
|
3
3
|
--local-color-1: ${d[0]};
|
|
4
4
|
--local-color-2: ${d[1]};
|
|
5
5
|
--local-color-3: ${d[2]};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{P as t,A as i,a as u}from"./index-
|
|
1
|
+
import{P as t,A as i,a as u}from"./index-Nm_gGcV-.js";import{W as Ue,b as Ee,c as Te}from"./index-Nm_gGcV-.js";import"./lit-element-B3y9oplH.js";import"./class-map-CxwNmq0D.js";import"./index-5BrpwK2E.js";import"./index-I4EEqchH.js";import"./react-DehiWSvs.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";import"./W3MFrameProviderSingleton-BefcEwHF.js";import"./index-DI-3MKLG.js";import"./index-HTR5wu9m.js";import"./events-DQ172AOg.js";import"./browser-ponyfill-I5CKtKME.js";import"./NetworkUtil-EoWQDMpU.js";import"./index-CQSjY0Du.js";import"./index-nibyPLVP.js";import"./index-OkR1-K6e.js";import"./index.es-ClPouKQg.js";import"./index-D5sgkVGL.js";import"./index-vju3bcbC.js";import"./index-BeU8m41Y.js";import"./index-C6oNJ6-K.js";import"./index-C1p-YzYG.js";import"./index-B6UcUowD.js";import"./index-CnyZnOze.js";import"./index-BfMJozQN.js";import"./index-BfiiGRPB.js";import"./index-Ce7FXMH6.js";import"./MathUtil-BGCe3rZ3.js";const C=3e5;async function U(e){return t.handleOpenPay(e)}async function X(e,r=C){if(r<=0)throw new i(u.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await U(e)}catch(s){throw s instanceof i?s:new i(u.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,l)=>{let o=!1;const c=setTimeout(()=>{o||(o=!0,m(),l(new i(u.GENERIC_PAYMENT_ERROR,"Payment timeout")))},r);function n(){if(o)return;const a=t.state.currentPayment,p=t.state.error,D=t.state.isPaymentInProgress;if((a==null?void 0:a.status)==="SUCCESS"){o=!0,m(),clearTimeout(c),s({success:!0,result:a.result});return}if((a==null?void 0:a.status)==="FAILED"){o=!0,m(),clearTimeout(c),s({success:!1,error:p||"Payment failed"});return}p&&!D&&!a&&(o=!0,m(),clearTimeout(c),s({success:!1,error:p}))}const b=d("currentPayment",n),y=d("error",n),S=d("isPaymentInProgress",n),m=E([b,y,S]);n()})}function $(){return t.getExchanges()}function ee(){var e;return(e=t.state.currentPayment)==null?void 0:e.result}function te(){return t.state.error}function ae(){return t.state.isPaymentInProgress}function d(e,r){return t.subscribeKey(e,r)}function E(e){return()=>{e.forEach(r=>{try{r()}catch{}})}}const se={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},re={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},oe={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},ne={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},me={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ie={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ce={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},pe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ue={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},de={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},le={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},be={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ye={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},Se={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{t as PayController,Ue as W3mPayLoadingView,Ee as W3mPayQuoteView,Te as W3mPayView,ie as arbitrumUSDC,le as arbitrumUSDT,se as baseETH,oe as baseSepoliaETH,re as baseUSDC,ne as ethereumUSDC,ue as ethereumUSDT,$ as getExchanges,ae as getIsPaymentInProgress,te as getPayError,ee as getPayResult,U as openPay,me as optimismUSDC,de as optimismUSDT,X as pay,ce as polygonUSDC,be as polygonUSDT,Se as solanaSOL,pe as solanaUSDC,ye as solanaUSDT};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h,i as d,b as a}from"./lit-element-B3y9oplH.js";import{d as w,r as x,e as b}from"./index-
|
|
1
|
+
import{a as h,i as d,b as a}from"./lit-element-B3y9oplH.js";import{d as w,r as x,e as b}from"./index-5BrpwK2E.js";import{c as m}from"./index-D5sgkVGL.js";import"./index-SEqhKb6L.js";import{O as c,E as g,l as v,C,W as _,R as $}from"./W3MFrameProviderSingleton-BefcEwHF.js";import{r as R}from"./class-map-CxwNmq0D.js";const T=h``;var O=function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var l=n.length-1;l>=0;l--)(s=n[l])&&(t=(i<3?s(t):i>3?s(e,r,t):s(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let f=class extends d{render(){const{termsConditionsUrl:e,privacyPolicyUrl:r}=c.state;return!e&&!r?null:a`
|
|
2
2
|
<wui-flex
|
|
3
3
|
.padding=${["4","3","3","3"]}
|
|
4
4
|
flexDirection="column"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as p,b as m}from"./lit-element-B3y9oplH.js";import{n as i}from"./class-map-CxwNmq0D.js";import{c as f}from"./index-
|
|
1
|
+
import{i as p,b as m}from"./lit-element-B3y9oplH.js";import{n as i}from"./class-map-CxwNmq0D.js";import{c as f}from"./index-D5sgkVGL.js";import"./index-C1p-YzYG.js";import{d as h,r as b,e as w}from"./index-5BrpwK2E.js";import{N as d}from"./W3MFrameProviderSingleton-BefcEwHF.js";const g=h`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as f,b as l,a as ee}from"./lit-element-B3y9oplH.js";import{n as c,o as w,r as u,a as Ii}from"./class-map-CxwNmq0D.js";import{d as v,r as _,e as W}from"./index-
|
|
1
|
+
import{i as f,b as l,a as ee}from"./lit-element-B3y9oplH.js";import{n as c,o as w,r as u,a as Ii}from"./class-map-CxwNmq0D.js";import{d as v,r as _,e as W}from"./index-5BrpwK2E.js";import{c as p,U as F}from"./index-D5sgkVGL.js";import"./index-C1p-YzYG.js";import"./index-BeU8m41Y.js";import"./index-DyqgsK_t.js";import{O as m,C as d,L as Ee,q as E,b as y,M as P,E as C,t as me,o as b,R as h,d as D,S as A,k as x,l as ze,W as Fe,ak as Xt,aj as he,a3 as J,a1 as qi,z as I,am as tt,A as _i,F as Ki,D as Gi,y as Xi,T as ft,V as Yt,X as Qt,a9 as Yi,ao as Qi,Z as Bt,ap as Ji}from"./W3MFrameProviderSingleton-BefcEwHF.js";import"./index-BfMJozQN.js";import{W as zs,a as Fs}from"./index-0k_Ix9-y.js";import"./index-C6oNJ6-K.js";import"./index-B6UcUowD.js";import"./index-vju3bcbC.js";import{au as S}from"./NetworkUtil-EoWQDMpU.js";import{H as Jt}from"./HelpersUtil-1_9JDXYM.js";import{n as Zi}from"./index-CnyZnOze.js";import{E as Q}from"./ExchangeController-Yl7Xs6qB.js";import"./index-ClWeiLd5.js";import"./index-DcYRP6nf.js";import"./index-LyvizffK.js";import{M as mt}from"./MathUtil-BGCe3rZ3.js";import"./index-BfiiGRPB.js";import{e as Zt,n as ei}from"./ref-BsAZ42-h.js";import"./index-RGElQJQM.js";import"./index-Ce7FXMH6.js";import"./index-DV0qYwPA.js";import"./index-B3cBw-D7.js";import{O as bt}from"./index-BcLl5Pcj.js";import{e as en}from"./index-DsVYdq6J.js";import"./index-SEqhKb6L.js";import"./index-xBX71Czg.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-4yxKINQG.js";import"./index-I4EEqchH.js";import"./react-DehiWSvs.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";import"./index-HTR5wu9m.js";import"./events-DQ172AOg.js";import"./index-CQSjY0Du.js";import"./index-DI-3MKLG.js";import"./index-nibyPLVP.js";import"./index-OkR1-K6e.js";import"./index.es-ClPouKQg.js";import"./browser-ponyfill-I5CKtKME.js";import"./ConstantsUtil-Di3dRDAF.js";import"./async-directive-BRxn_Py3.js";import"./browser-CqsLPmeb.js";const nn=v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as l,E as g,R as h,o as m,S as w,b as c,r as E,t as _}from"./W3MFrameProviderSingleton-
|
|
1
|
+
import{C as l,E as g,R as h,o as m,S as w,b as c,r as E,t as _}from"./W3MFrameProviderSingleton-BefcEwHF.js";import{au as R}from"./NetworkUtil-EoWQDMpU.js";import{i as b,b as y}from"./lit-element-B3y9oplH.js";import{n as d,o as O}from"./class-map-CxwNmq0D.js";import{c as v}from"./index-D5sgkVGL.js";import{d as C,r as S,e as $}from"./index-5BrpwK2E.js";function I(){try{return c.returnOpenHref(`${R.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function L(){h.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=l.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();l.setAccountProp("farcasterUrl",t,l.state.activeChain)}catch(t){h.goBack(),w.showError(t)}}}async function T(e){h.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(c.isTelegram()||(t=I()),t)l.setAccountProp("socialWindow",E(t),l.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:e});if(!n)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=n),c.isTelegram()){_.setTelegramSocialProvider(e);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){t==null||t.close();const n=c.parseError(i);w.showError(n),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:n}})}}async function G(e){l.setAccountProp("socialProvider",e,l.state.activeChain),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await L():await T(e)}const U=C`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-
|
|
2
|
-
import{_ as b}from"./index-DubLtINT.js";import{c as T,C as O,a as G,P as k}from"./index-5hmoUi31.js";import{i as bt}from"./index-5hmoUi31.js";import{aI as D,aR as B,bh as F}from"./sendRawTransaction-B8yZxOzl.js";import{x as L,af as z,a5 as _,Y as f,u as x,al as H,r as Y}from"./NetworkUtil-EoWQDMpU.js";import{G as J,w as U,a as E}from"./W3MFrameProviderSingleton-CNMm9yRj.js";import{a as P}from"./custom-CuL2B_VD.js";import"./react-DehiWSvs.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";import"./index-DI-3MKLG.js";import"./index-DhNBmPpe.js";import"./events-DQ172AOg.js";import"./browser-ponyfill-I5CKtKME.js";import"./index-CcbRdBPP.js";import"./index-COjgItKg.js";import"./store-CraP4F4Y.js";import"./writeContract-f90YYlnO.js";function K(l,{body:p,onError:d,onResponse:M}){return l.request({body:p,onError:d,onResponse:M}),l}async function X(l,{body:p,timeout:d=1e4}){return l.requestAsync({body:p,timeout:d})}const m={http(l,p){return J(l).request(p)},webSocket:K,webSocketAsync:X};Q.type="mock";function Q(l){const p=new Map,d=l.features??{defaultConnected:!1};let M=d.defaultConnected,r;return T(o=>({id:"mock",name:"Mock Connector",type:Q.type,async setup(){r=o.chains[0].id},async connect({chainId:t,withCapabilities:e}={}){if(d.connectError)throw typeof d.connectError=="boolean"?new f(new Error("Failed to connect.")):d.connectError;const a=await(await this.getProvider()).request({method:"eth_requestAccounts"});let n=await this.getChainId();return t&&n!==t&&(n=(await this.switchChain({chainId:t})).id),M=!0,{accounts:e?a.map(i=>({address:D(i),capabilities:{foo:{bar:i}}})):a.map(i=>D(i)),chainId:n}},async disconnect(){M=!1},async getAccounts(){if(!M)throw new G;return(await(await this.getProvider()).request({method:"eth_accounts"})).map(c=>D(c))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return _(e,"number")},async isAuthorized(){return!d.reconnect||!M?!1:!!(await this.getAccounts()).length},async switchChain({chainId:t}){const e=await this.getProvider(),c=o.chains.find(a=>a.id===t);if(!c)throw new L(new O);return await e.request({method:"wallet_switchEthereumChain",params:[{chainId:z(t)}]}),c},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect"),M=!1},async getProvider({chainId:t}={}){const c=(o.chains.find(n=>n.id===t)??o.chains[0]).rpcUrls.default.http[0];return P({request:async({method:n,params:i})=>{if(n==="eth_chainId")return z(r);if(n==="eth_accounts"||n==="eth_requestAccounts")return l.accounts;if(n==="eth_signTypedData_v4"&&d.signTypedDataError)throw typeof d.signTypedDataError=="boolean"?new f(new Error("Failed to sign typed data.")):d.signTypedDataError;if(n==="wallet_switchEthereumChain"){if(d.switchChainError)throw typeof d.switchChainError=="boolean"?new f(new Error("Failed to switch chain.")):d.switchChainError;r=_(i[0].chainId,"number"),this.onChainChanged(r.toString());return}if(n==="wallet_watchAsset"){if(d.watchAssetError)throw typeof d.watchAssetError=="boolean"?new f(new Error("Failed to switch chain.")):d.watchAssetError;return M}if(n==="wallet_getCapabilities")return{"0x2105":{paymasterService:{supported:i[0]==="0x95132632579b073D12a6673e18Ab05777a6B86f8"},sessionKeys:{supported:!0}},"0x14A34":{paymasterService:{supported:i[0]==="0x95132632579b073D12a6673e18Ab05777a6B86f8"}}};if(n==="wallet_sendCalls"){const w=[],y=i[0].calls,h=i[0].from;for(const j of y){const{result:A,error:v}=await m.http(c,{body:{method:"eth_sendTransaction",params:[{...j,...typeof h<"u"?{from:h}:{}}]}});if(v)throw new x({body:{method:n,params:i},error:v,url:c});w.push(A)}const I=B(H(JSON.stringify(y)));return p.set(I,w),{id:I}}if(n==="wallet_getCallsStatus"){const w=p.get(i[0]);if(!w)return{atomic:!1,chainId:"0x1",id:i[0],status:100,receipts:[],version:"2.0.0"};const h=(await Promise.all(w.map(async I=>{const{result:j,error:A}=await m.http(c,{body:{method:"eth_getTransactionReceipt",params:[I],id:0}});if(A)throw new x({body:{method:n,params:i},error:A,url:c});return j?{blockHash:j.blockHash,blockNumber:j.blockNumber,gasUsed:j.gasUsed,logs:j.logs,status:j.status,transactionHash:j.transactionHash}:null}))).filter(I=>I!==null);return h.length===0?{atomic:!1,chainId:"0x1",id:i[0],status:100,receipts:[],version:"2.0.0"}:{atomic:!1,chainId:"0x1",id:i[0],status:200,receipts:h,version:"2.0.0"}}if(n==="wallet_showCallsStatus")return;if(n==="personal_sign"){if(d.signMessageError)throw typeof d.signMessageError=="boolean"?new f(new Error("Failed to sign message.")):d.signMessageError;n="eth_sign",i=[i[1],i[0]]}const s={method:n,params:i},{error:u,result:g}=await m.http(c,{body:s});if(u)throw new x({body:s,error:u,url:c});return g}})({retryCount:0})}}))}function $(l){var o,t,e;const{chain:p}=l,d=p.rpcUrls.default.http[0];if(!l.transports)return[d];const M=(t=(o=l.transports)==null?void 0:o[p.id])==null?void 0:t.call(o,{chain:p});return(((e=M==null?void 0:M.value)==null?void 0:e.transports)||[M]).map(({value:c})=>(c==null?void 0:c.url)||d)}const tt='data:image/svg+xml,<svg width="269" height="269" viewBox="0 0 269 269" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="269" height="269" fill="black"/><path d="M123.273 190.794H93.445L121.09 105.318H85.7334L93.445 80.2642H191.95L184.238 105.318H150.773L123.273 190.794Z" fill="white"/></svg>';function Nt(l={}){const{dialog:p,host:d,icon:M=tt,name:r,rdns:o,theme:t,...e}=l;return nt({createAdapter(c){return c.dialog({dialog:p,host:d,icon:M,name:r,rdns:o,theme:t})},icon:M,id:o??"xyz.tempo",name:r??"Tempo Wallet",providerParameters:e,rdns:o??"xyz.tempo",type:"injected"})}function nt(l){return T(p=>{const d=p.chains;let M,r,o,t,e;async function c(){return await b(()=>import("./core-BIHI7g3E.js"),[]).catch(()=>{throw new Error('dependency "accounts" not found')})}async function a(){return M??(M=(async()=>{const n=await c();return n.Provider.create({...l.providerParameters,adapter:l.createAdapter(n),chains:p.chains,transports:p.transports})})()),await M}return{icon:l.icon,id:l.id,name:l.name,rdns:l.rdns,type:l.type,async connect(n={}){const{chainId:i,isReconnecting:s,withCapabilities:u}=n,g="capabilities"in n?n.capabilities:void 0;let w=[],y;s&&(w=await this.getAccounts().then(h=>h.map(I=>({address:I,capabilities:{}}))).catch(()=>[]));try{if(!w.length&&!s&&(w=(await(await a()).request({method:"wallet_connect",params:[{...i?{chainId:i}:{},...g?{capabilities:g}:{}}]})).accounts),y??(y=await this.getChainId()),!y)throw new O;const h=await a();return t&&(h.removeListener("connect",t),t=void 0),r||(r=this.onAccountsChanged.bind(this),h.on("accountsChanged",r)),o||(o=this.onChainChanged.bind(this),h.on("chainChanged",o)),e||(e=this.onDisconnect.bind(this),h.on("disconnect",e)),{accounts:u?w:w.map(I=>I.address),chainId:y}}catch(h){const I=h;throw I.code===f.code?new f(I):I}},async disconnect(){var i;const n=await a();o&&(n.removeListener("chainChanged",o),o=void 0),e&&(n.removeListener("disconnect",e),e=void 0),t||(t=(i=this.onConnect)==null?void 0:i.bind(this),t&&n.on("connect",t)),await n.request({method:"wallet_disconnect"})},async getAccounts(){return await(await a()).request({method:"eth_accounts"})},async getChainId(){const n=await a();return Number(await n.request({method:"eth_chainId"}))},async getClient({chainId:n}={}){const i=await a(),{address:s}=i.getAccount({accessKey:!1});return Object.assign(i.getClient({chainId:n}),{account:F(s)})},async getProvider(){return await a()},async isAuthorized(){try{return!!(await U(()=>this.getAccounts())).length}catch{return!1}},onAccountsChanged(n){p.emitter.emit("change",{accounts:n})},onChainChanged(n){p.emitter.emit("change",{chainId:Number(n)})},async onConnect(n){const i=await this.getAccounts();if(i.length===0)return;const s=Number(n.chainId);p.emitter.emit("connect",{accounts:i,chainId:s});const u=await a();t&&(u.removeListener("connect",t),t=void 0),r||(r=this.onAccountsChanged.bind(this),u.on("accountsChanged",r)),o||(o=this.onChainChanged.bind(this),u.on("chainChanged",o)),e||(e=this.onDisconnect.bind(this),u.on("disconnect",e))},async onDisconnect(n){var s;const i=await a();p.emitter.emit("disconnect"),o&&(i.removeListener("chainChanged",o),o=void 0),e&&(i.removeListener("disconnect",e),e=void 0),t||(t=(s=this.onConnect)==null?void 0:s.bind(this),t&&i.on("connect",t))},async setup(){var n;if(!t){const i=await a();t=(n=this.onConnect)==null?void 0:n.bind(this),t&&i.on("connect",t)}},async switchChain({chainId:n}){const i=d.find(u=>u.id===n);if(!i)throw new L(new O);return await(await a()).request({method:"wallet_switchEthereumChain",params:[{chainId:z(n)}]}),i}}})}function jt(l={}){let p,d,M,r;return T(o=>({id:"baseAccount",name:"Base Account",rdns:"app.base.account",type:"baseAccount",async connect({chainId:t,withCapabilities:e,...c}={}){var a;try{const n=await this.getProvider(),i=t??((a=o.chains[0])==null?void 0:a.id);if(!i)throw new O;let{accounts:s,currentChainId:u}=await(async()=>{if(c.isReconnecting)return{accounts:(await n.request({method:"eth_accounts",params:[]})).map(h=>({address:D(h)})),currentChainId:await this.getChainId()};const g=await n.request({method:"wallet_connect",params:[{capabilities:"capabilities"in c&&c.capabilities?c.capabilities:{},chainIds:[z(i),...o.chains.filter(h=>h.id!==i).map(h=>z(h.id))]}]});return{accounts:(await n.request({method:"eth_accounts"})).map(h=>g.accounts.find(I=>I.address===h)??{address:h}).map(h=>({address:D(h.address),capabilities:h.capabilities??{}})),currentChainId:Number(g.chainIds[0])}})();if(d||(d=this.onAccountsChanged.bind(this),n.on("accountsChanged",d)),M||(M=this.onChainChanged.bind(this),n.on("chainChanged",M)),r||(r=this.onDisconnect.bind(this),n.on("disconnect",r)),t&&u!==t){const g=await this.switchChain({chainId:t}).catch(w=>{if(w.code===f.code)throw w;return{id:u}});u=(g==null?void 0:g.id)??u}return{accounts:e?s:s.map(g=>g.address),chainId:u}}catch(n){throw/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(n.message)?new f(n):n}},async disconnect(){const t=await this.getProvider();d&&(t.removeListener("accountsChanged",d),d=void 0),M&&(t.removeListener("chainChanged",M),M=void 0),r&&(t.removeListener("disconnect",r),r=void 0),t.disconnect()},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(e=>D(e))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return Number(e)},async getProvider(){if(!p){const t=(()=>{var a;return typeof l.preference=="string"?{options:l.preference}:{...l.preference,options:((a=l.preference)==null?void 0:a.options)??"all"}})(),{createBaseAccountSDK:e}=await(()=>{try{return b(()=>import("./index-C_k6QnYS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]))}catch{throw new Error('dependency "@base-org/account" not found')}})();p=e({...l,appChainIds:o.chains.map(a=>a.id),preference:t}).getProvider()}return p},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){var n,i,s,u;const c=o.chains.find(g=>g.id===e);if(!c)throw new L(new O);const a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:z(c.id)}]}),c}catch(g){if(g.code===4902)try{let w;t!=null&&t.blockExplorerUrls?w=t.blockExplorerUrls:w=(n=c.blockExplorers)!=null&&n.default.url?[(i=c.blockExplorers)==null?void 0:i.default.url]:[];let y;(s=t==null?void 0:t.rpcUrls)!=null&&s.length?y=t.rpcUrls:y=[((u=c.rpcUrls.default)==null?void 0:u.http[0])??""];const h={blockExplorerUrls:w,chainId:z(e),chainName:(t==null?void 0:t.chainName)??c.name,iconUrls:t==null?void 0:t.iconUrls,nativeCurrency:(t==null?void 0:t.nativeCurrency)??c.nativeCurrency,rpcUrls:y};return await a.request({method:"wallet_addEthereumChain",params:[h]}),c}catch(w){throw new f(w)}throw new L(g)}},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect");const e=await this.getProvider();d&&(e.removeListener("accountsChanged",d),d=void 0),M&&(e.removeListener("chainChanged",M),M=void 0),r&&(e.removeListener("disconnect",r),r=void 0)}}))}q.type="coinbaseWallet";function q(l={}){let p,d,M,r;return T(o=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:q.type,async connect({chainId:t,withCapabilities:e,...c}={}){try{const a=await this.getProvider(),n=(await a.request({method:"eth_requestAccounts",params:"instantOnboarding"in c&&c.instantOnboarding?[{onboarding:"instant"}]:[]})).map(s=>D(s));d||(d=this.onAccountsChanged.bind(this),a.on("accountsChanged",d)),M||(M=this.onChainChanged.bind(this),a.on("chainChanged",M)),r||(r=this.onDisconnect.bind(this),a.on("disconnect",r));let i=await this.getChainId();if(t&&i!==t){const s=await this.switchChain({chainId:t}).catch(u=>{if(u.code===f.code)throw u;return{id:i}});i=(s==null?void 0:s.id)??i}return{accounts:e?n.map(s=>({address:s,capabilities:{}})):n,chainId:i}}catch(a){throw/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(a.message)?new f(a):a}},async disconnect(){var e;const t=await this.getProvider();d&&(t.removeListener("accountsChanged",d),d=void 0),M&&(t.removeListener("chainChanged",M),M=void 0),r&&(t.removeListener("disconnect",r),r=void 0),t.disconnect(),(e=t.close)==null||e.call(t)},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(e=>D(e))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return Number(e)},async getProvider(){if(!p){const{createCoinbaseWalletSDK:t}=await(()=>{try{return b(()=>import("./index-CljY6PrF.js"),__vite__mapDeps([30,6,1,3,4,5,22,8,9,10,11,12,13,14,23,7,15,16,17,18,19,20,21,24,25,29]))}catch{throw new Error('dependency "@coinbase/wallet-sdk" not found')}})();p=t({...l,appChainIds:o.chains.map(c=>c.id),preference:{options:"all",...l.preference??{}}}).getProvider()}return p},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){var n,i,s,u;const c=o.chains.find(g=>g.id===e);if(!c)throw new L(new O);const a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:z(c.id)}]}),c}catch(g){if(g.code===4902)try{let w;t!=null&&t.blockExplorerUrls?w=t.blockExplorerUrls:w=(n=c.blockExplorers)!=null&&n.default.url?[(i=c.blockExplorers)==null?void 0:i.default.url]:[];let y;(s=t==null?void 0:t.rpcUrls)!=null&&s.length?y=t.rpcUrls:y=[((u=c.rpcUrls.default)==null?void 0:u.http[0])??""];const h={blockExplorerUrls:w,chainId:z(e),chainName:(t==null?void 0:t.chainName)??c.name,iconUrls:t==null?void 0:t.iconUrls,nativeCurrency:(t==null?void 0:t.nativeCurrency)??c.nativeCurrency,rpcUrls:y};return await a.request({method:"wallet_addEthereumChain",params:[h]}),c}catch(w){throw new f(w)}throw new L(g)}},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect");const e=await this.getProvider();d&&(e.removeListener("accountsChanged",d),d=void 0),M&&(e.removeListener("chainChanged",M),M=void 0),r&&(e.removeListener("disconnect",r),r=void 0)}}))}R.type="metaMask";function R(l={}){let p,d;return T(M=>({id:"metaMaskSDK",name:"MetaMask",rdns:["io.metamask","io.metamask.mobile"],type:R.type,async connect({chainId:r,isReconnecting:o,withCapabilities:t}={}){const e=await this.getInstance(),c=e.getProvider();let a=[];o&&(a=await this.getAccounts().catch(()=>[]));try{let n,i;if(!(a!=null&&a.length)){const u=M.chains.map(g=>z(g.id));l.connectAndSign||l.connectWith?(l.connectAndSign?n=(await e.connectAndSign({chainIds:u,message:l.connectAndSign})).signature:l.connectWith&&(i=(await e.connectWith({chainIds:u,method:l.connectWith.method,params:l.connectWith.params})).result),a=await this.getAccounts()):a=(await e.connect({chainIds:u})).accounts.map(w=>D(w))}let s=await this.getChainId();if(r&&s!==r){const u=await this.switchChain({chainId:r}).catch(g=>{if(g.code===f.code)throw g;return{id:s}});s=(u==null?void 0:u.id)??s}return n?c.emit("connectAndSign",{accounts:a,chainId:z(s),signResponse:n}):i&&c.emit("connectWith",{accounts:a,chainId:z(s),connectWithResponse:i}),{accounts:t?a.map(u=>({address:u,capabilities:{}})):a,chainId:s}}catch(n){const i=n;throw i.code===f.code?new f(i):i.code===Y.code?new Y(i):i}},async disconnect(){return(await this.getInstance()).disconnect()},async getAccounts(){var e;if(!p&&!d){const c=(e=M.providers[0])==null?void 0:e.provider;if(c)return(await c.request({method:"eth_accounts"})).map(n=>D(n))}const r=await this.getInstance();return r.accounts.length?r.accounts.map(c=>D(c)):(await r.getProvider().request({method:"eth_accounts"})).map(c=>D(c))},async getChainId(){var e;if(!p&&!d){const c=(e=M.providers[0])==null?void 0:e.provider;if(c){const a=await c.request({method:"eth_chainId"});return Number(a)}}const r=await this.getInstance();if(r.getChainId())return Number(r.getChainId());const t=await r.getProvider().request({method:"eth_chainId"});return Number(t)},async getProvider(){var o;if(!p&&!d){const t=(o=M.providers[0])==null?void 0:o.provider;if(t)return t}return(await this.getInstance()).getProvider()},async isAuthorized(){var r;try{if(!p&&!d){const e=(r=M.providers[0])==null?void 0:r.provider;if(e)return(await e.request({method:"eth_accounts"})).length>0}const o=10;return!!(await U(async()=>E(async()=>{const e=await this.getAccounts();if(!e.length)throw new Error("try again");return e},{timeout:o}),{delay:o+1,retryCount:3})).length}catch{return!1}},async switchChain({addEthereumChainParameter:r,chainId:o}){var c,a;const t=M.chains.find(({id:n})=>n===Number(o));if(!t)throw new L(new O);const e=z(o);try{return await(await this.getInstance()).switchChain({chainId:e,chainConfiguration:{blockExplorerUrls:r!=null&&r.blockExplorerUrls?[...r.blockExplorerUrls]:(c=t.blockExplorers)!=null&&c.default.url?[t.blockExplorers.default.url]:void 0,chainId:e,chainName:(r==null?void 0:r.chainName)??t.name,iconUrls:r==null?void 0:r.iconUrls,nativeCurrency:(r==null?void 0:r.nativeCurrency)??t.nativeCurrency,rpcUrls:r!=null&&r.rpcUrls?[...r.rpcUrls]:(a=t.rpcUrls.default)!=null&&a.http?[...t.rpcUrls.default.http]:void 0}}),t}catch(n){const i=n;throw i.code===f.code?new f(i):new L(i)}},async onAccountsChanged(r){M.emitter.emit("change",{accounts:r.map(o=>D(o))})},onChainChanged(r){const o=Number(r);M.emitter.emit("change",{chainId:o})},async onConnect(r){const o=await this.getAccounts();if(o.length===0)return;const t=Number(r.chainId);M.emitter.emit("connect",{accounts:o,chainId:t})},async onDisconnect(r){r&&r.code===1013&&await this.getProvider()&&(await this.getAccounts()).length||M.emitter.emit("disconnect")},onDisplayUri(r){M.emitter.emit("message",{type:"display_uri",data:r})},async getInstance(){var r;if(!p){if(!d){const{createEVMClient:o}=await(async()=>{try{return b(()=>import("./connectors-BkiAkXrA.js"),[])}catch{throw new Error('dependency "@metamask/connect-evm" not found')}})(),t=typeof window>"u"?{name:"wagmi"}:{name:window.location.hostname,url:window.location.href};d=o({...l,skipAutoAnnounce:!0,api:{supportedNetworks:Object.fromEntries(M.chains.map(e=>{var c;return[z(e.id),((c=e.rpcUrls.default)==null?void 0:c.http[0])??""]}))},dapp:l.dapp??{...t,...l.dappMetadata},debug:l.debug??((r=l.logging)==null?void 0:r.sdk),eventHandlers:{accountsChanged:this.onAccountsChanged.bind(this),chainChanged:this.onChainChanged.bind(this),connect:this.onConnect.bind(this),disconnect:this.onDisconnect.bind(this),displayUri:this.onDisplayUri.bind(this)},analytics:{integrationType:"wagmi"},ui:{...l.ui,...l.headless!=null&&{headless:l.headless}},...l.mobile&&{mobile:l.mobile}})}p=await d}return p}}))}function zt(l={}){const p=d=>typeof d.on=="function"&&typeof d.removeListener=="function";return T(d=>{const M=d.chains??l.chains??[],r=d.transports?d.transports:l.transports;let o,t,e,c,a;return{async connect({chainId:n=M[0].id,...i}={}){const s="isReconnecting"in i&&i.isReconnecting||!1,u="withCapabilities"in i&&i.withCapabilities||!1;let g=[],w;if(s&&([g,w]=await Promise.all([this.getAccounts().catch(()=>[]),this.getChainId().catch(()=>{})]),n&&w!==n)){const h=await this.switchChain({chainId:n}).catch(I=>{if(I.code===f.code)throw I;return{id:w}});w=(h==null?void 0:h.id)??w}const y=await this.getProvider();try{if(!(g!=null&&g.length)&&!s){const{RpcSchema:h}=await(()=>{try{return b(()=>import("./connectors-mXb62Iam.js"),[])}catch{throw new Error('dependency "porto" not found')}})(),{z:I}=await(()=>{try{return b(()=>import("./connectors-DAWtxdNk.js"),[])}catch{throw new Error('dependency "porto/internal" not found')}})(),j=await y.request({method:"wallet_connect",params:[{..."capabilities"in i?{capabilities:I.encode(h.wallet_connect.Capabilities,i.capabilities??{})}:{},chainIds:[z(n),...M.filter(A=>A.id!==n).map(A=>z(A.id))]}]});g=j.accounts,w=Number(j.chainIds[0])}if(!w)throw new O;return p(y)&&(c&&(y.removeListener("connect",c),c=void 0),t||(t=this.onAccountsChanged.bind(this),y.on("accountsChanged",t)),e||(e=this.onChainChanged.bind(this),y.on("chainChanged",e)),a||(a=this.onDisconnect.bind(this),y.on("disconnect",a))),{accounts:g.map(h=>typeof h=="object"?u?h:h.address:u?{address:h,capabilities:{}}:h),chainId:w}}catch(h){const I=h;throw I.code===f.code?new f(I):I}},async disconnect(){const n=await this.getProvider();p(n)&&(e&&(n.removeListener("chainChanged",e),e=void 0),a&&(n.removeListener("disconnect",a),a=void 0),c||(c=this.onConnect.bind(this),n.on("connect",c))),await n.request({method:"wallet_disconnect"})},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(s=>D(s))},async getChainId(){const i=await(await this.getProvider()).request({method:"eth_chainId"});return Number(i)},async getPortoInstance(){return o??(o=(async()=>{const{Porto:n}=await(()=>{try{return b(()=>import("./connectors-mXb62Iam.js"),[])}catch{throw new Error('dependency "porto" not found')}})();return n.create({...l,announceProvider:!1,chains:M,transports:r})})()),await o},async getProvider(){return(await this.getPortoInstance()).provider},icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIyIiBoZWlnaHQ9IjQyMiIgdmlld0JveD0iMCAwIDQyMiA0MjIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSI0MjIiIGhlaWdodD0iNDIyIiBmaWxsPSJibGFjayIvPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMV8xNSkiPgo8cGF0aCBkPSJNODEgMjg2LjM2NkM4MSAyODAuODkzIDg1LjQ1MDUgMjc2LjQ1NSA5MC45NDA0IDI3Ni40NTVIMzI5LjUxMUMzMzUuMDAxIDI3Ni40NTUgMzM5LjQ1MiAyODAuODkzIDMzOS40NTIgMjg2LjM2NlYzMDYuMTg4QzMzOS40NTIgMzExLjY2MiAzMzUuMDAxIDMxNi4wOTkgMzI5LjUxMSAzMTYuMDk5SDkwLjk0MDRDODUuNDUwNSAzMTYuMDk5IDgxIDMxMS42NjIgODEgMzA2LjE4OFYyODYuMzY2WiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC41Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9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42MTggMTcxLjM5NkgyNzkuODA4QzI3NC4zMTggMTcxLjM5NiAyNjkuODY4IDE2Ni45NTkgMjY5Ljg2OCAxNjEuNDg1VjEzMS43NTJaIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzFfMTUiPgo8cmVjdCB3aWR0aD0iMjU5IiBoZWlnaHQ9IjIxMyIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgxIDEwNCkiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K",id:"xyz.ithaca.porto",async isAuthorized(){try{return!!(await U(()=>this.getAccounts())).length}catch{return!1}},name:"Porto",async onAccountsChanged(n){d.emitter.emit("change",{accounts:n.map(i=>D(i))})},onChainChanged(n){const i=Number(n);d.emitter.emit("change",{chainId:i})},async onConnect(n){const i=await this.getAccounts();if(i.length===0)return;const s=Number(n.chainId);d.emitter.emit("connect",{accounts:i,chainId:s});const u=await this.getProvider();p(u)&&(c&&(u.removeListener("connect",c),c=void 0),t||(t=this.onAccountsChanged.bind(this),u.on("accountsChanged",t)),e||(e=this.onChainChanged.bind(this),u.on("chainChanged",e)),a||(a=this.onDisconnect.bind(this),u.on("disconnect",a)))},async onDisconnect(n){const i=await this.getProvider();d.emitter.emit("disconnect"),p(i)&&(e&&(i.removeListener("chainChanged",e),e=void 0),a&&(i.removeListener("disconnect",a),a=void 0),c||(c=this.onConnect.bind(this),i.on("connect",c)))},async setup(){if(!c){const n=await this.getProvider();if(!p(n))return;c=this.onConnect.bind(this),n.on("connect",c)}},async switchChain({chainId:n}){const i=M.find(u=>u.id===n);if(!i)throw new L(new O);return await(await this.getProvider()).request({method:"wallet_switchEthereumChain",params:[{chainId:z(n)}]}),i},type:"injected"}})}W.type="safe";function W(l={}){const{shimDisconnect:p=!1}=l;let d,M;return T(r=>({id:"safe",name:"Safe",type:W.type,async connect({withCapabilities:o}={}){var a;const t=await this.getProvider();if(!t)throw new k;const e=await this.getAccounts(),c=await this.getChainId();return M||(M=this.onDisconnect.bind(this),t.on("disconnect",M)),p&&await((a=r.storage)==null?void 0:a.removeItem("safe.disconnected")),{accounts:o?e.map(n=>({address:n,capabilities:{}})):e,chainId:c}},async disconnect(){var t;const o=await this.getProvider();if(!o)throw new k;M&&(o.removeListener("disconnect",M),M=void 0),p&&await((t=r.storage)==null?void 0:t.setItem("safe.disconnected",!0))},async getAccounts(){const o=await this.getProvider();if(!o)throw new k;return(await o.request({method:"eth_accounts"})).map(D)},async getProvider(){if(typeof window<"u"&&(window==null?void 0:window.parent)!==window){if(!d){const{default:t}=await(()=>{try{return b(()=>import("./index-BbJIcREt.js"),__vite__mapDeps([31,32,8,9,10,4,11,6,12,13,14,24]))}catch{throw new Error('dependency "@safe-global/safe-apps-sdk" not found')}})(),e=new t(l),c=await E(()=>e.safe.getInfo(),{timeout:l.unstable_getInfoTimeout??10});if(!c)throw new Error("Could not load Safe information");const a=await(async()=>{const n=await(()=>{try{return b(()=>import("./index-L36hhrTC.js").then(i=>i.i),__vite__mapDeps([33,4,32,34,10,19]))}catch{throw new Error('dependency "@safe-global/safe-apps-provider" not found')}})();return typeof n.SafeAppProvider!="function"&&typeof n.default.SafeAppProvider=="function"?n.default.SafeAppProvider:n.SafeAppProvider})();d=new a(c,e)}return d}},async getChainId(){const o=await this.getProvider();if(!o)throw new k;return Number(o.chainId)},async isAuthorized(){var o;try{return p&&await((o=r.storage)==null?void 0:o.getItem("safe.disconnected"))?!1:!!(await this.getAccounts()).length}catch{return!1}},onAccountsChanged(){},onChainChanged(){},onDisconnect(){r.emitter.emit("disconnect")}}))}const At="8.0.20";Z.type="walletConnect";function Z(l){const p=l.isNewChainsStale??!0;let d,M;const r="eip155";let o,t,e,c,a,n;return T(i=>({id:"walletConnect",name:"WalletConnect",type:Z.type,async setup(){const s=await this.getProvider().catch(()=>null);s&&(e||(e=this.onConnect.bind(this),s.on("connect",e)),a||(a=this.onSessionDelete.bind(this),s.on("session_delete",a)))},async connect({chainId:s,withCapabilities:u,...g}={}){var w,y;try{const h=await this.getProvider();if(!h)throw new k;c||(c=this.onDisplayUri,h.on("display_uri",c));let I=s;if(!I){const N=await((w=i.storage)==null?void 0:w.getItem("state"))??{};i.chains.some(S=>S.id===N.chainId)?I=N.chainId:I=(y=i.chains[0])==null?void 0:y.id}if(!I)throw new Error("No chains found on connector.");const j=await this.isChainsStale();if(h.session&&j&&await h.disconnect(),!h.session||j){const N=i.chains.filter(C=>C.id!==I).map(C=>C.id);await h.connect({optionalChains:[I,...N],..."pairingTopic"in g?{pairingTopic:g.pairingTopic}:{}}),this.setRequestedChainsIds(i.chains.map(C=>C.id))}const A=(await h.enable()).map(N=>D(N));let v=await this.getChainId();if(s&&v!==s){const N=await this.switchChain({chainId:s}).catch(C=>{var S;if(C.code===f.code&&((S=C.cause)==null?void 0:S.message)!=="Missing or invalid. request() method: wallet_addEthereumChain")throw C;return{id:v}});v=(N==null?void 0:N.id)??v}return c&&(h.removeListener("display_uri",c),c=void 0),e&&(h.removeListener("connect",e),e=void 0),o||(o=this.onAccountsChanged.bind(this),h.on("accountsChanged",o)),t||(t=this.onChainChanged.bind(this),h.on("chainChanged",t)),n||(n=this.onDisconnect.bind(this),h.on("disconnect",n)),a||(a=this.onSessionDelete.bind(this),h.on("session_delete",a)),{accounts:u?A.map(N=>({address:N,capabilities:{}})):A,chainId:v}}catch(h){throw/(user rejected|connection request reset)/i.test(h==null?void 0:h.message)?new f(h):h}},async disconnect(){const s=await this.getProvider();try{await(s==null?void 0:s.disconnect())}catch(u){if(!/No matching key/i.test(u.message))throw u}finally{t&&(s==null||s.removeListener("chainChanged",t),t=void 0),n&&(s==null||s.removeListener("disconnect",n),n=void 0),e||(e=this.onConnect.bind(this),s==null||s.on("connect",e)),o&&(s==null||s.removeListener("accountsChanged",o),o=void 0),a&&(s==null||s.removeListener("session_delete",a),a=void 0),this.setRequestedChainsIds([])}},async getAccounts(){return(await this.getProvider()).accounts.map(u=>D(u))},async getProvider({chainId:s}={}){var g;async function u(){const w=i.chains.map(h=>h.id);if(!w.length)return;const{EthereumProvider:y}=await(()=>{try{return b(()=>import("./index.es-C_UXSWig.js").then(h=>h.n),__vite__mapDeps([35,11,4,10,6,12,13,14,18,19,36,17,29,37,38,20]))}catch{throw new Error('dependency "@walletconnect/ethereum-provider" not found')}})();return await y.init({...l,disableProviderPing:!0,optionalChains:w,projectId:l.projectId,rpcMap:Object.fromEntries(i.chains.map(h=>{const[I]=$({chain:h,transports:i.transports});return[h.id,I]})),showQrModal:l.showQrModal??!0})}return d||(M||(M=u()),d=await M,d==null||d.events.setMaxListeners(Number.POSITIVE_INFINITY)),s&&await((g=this.switchChain)==null?void 0:g.call(this,{chainId:s})),d},async getChainId(){return(await this.getProvider()).chainId},async isAuthorized(){try{const[s,u]=await Promise.all([this.getAccounts(),this.getProvider()]);return s.length?await this.isChainsStale()&&u.session?(await u.disconnect().catch(()=>{}),!1):!0:!1}catch{return!1}},async switchChain({addEthereumChainParameter:s,chainId:u}){var h,I,j;const g=await this.getProvider();if(!g)throw new k;const w=i.chains.find(A=>A.id===u);if(!w)throw new L(new O);let y=()=>{};try{await Promise.all([new Promise(v=>{y=N=>{N.chainId===u&&(i.emitter.off("change",y),v())},i.emitter.on("change",y)}),g.request({method:"wallet_switchEthereumChain",params:[{chainId:z(u)}]})]);const A=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...A,u]),w}catch(A){i.emitter.off("change",y);const v=A;if(/(user rejected)/i.test(v.message))throw new f(v);try{let N;s!=null&&s.blockExplorerUrls?N=s.blockExplorerUrls:N=(h=w.blockExplorers)!=null&&h.default.url?[(I=w.blockExplorers)==null?void 0:I.default.url]:[];let C;(j=s==null?void 0:s.rpcUrls)!=null&&j.length?C=s.rpcUrls:C=[...w.rpcUrls.default.http];const S={blockExplorerUrls:N,chainId:z(u),chainName:(s==null?void 0:s.chainName)??w.name,iconUrls:s==null?void 0:s.iconUrls,nativeCurrency:(s==null?void 0:s.nativeCurrency)??w.nativeCurrency,rpcUrls:C};await g.request({method:"wallet_addEthereumChain",params:[S]});const V=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...V,u]),w}catch(N){throw new f(N)}}},onAccountsChanged(s){s.length===0?this.onDisconnect():i.emitter.emit("change",{accounts:s.map(u=>D(u))})},onChainChanged(s){const u=Number(s);i.emitter.emit("change",{chainId:u})},async onConnect(s){const u=Number(s.chainId),g=await this.getAccounts();i.emitter.emit("connect",{accounts:g,chainId:u})},async onDisconnect(s){this.setRequestedChainsIds([]),i.emitter.emit("disconnect");const u=await this.getProvider();o&&(u.removeListener("accountsChanged",o),o=void 0),t&&(u.removeListener("chainChanged",t),t=void 0),n&&(u.removeListener("disconnect",n),n=void 0),a&&(u.removeListener("session_delete",a),a=void 0),e||(e=this.onConnect.bind(this),u.on("connect",e))},onDisplayUri(s){i.emitter.emit("message",{type:"display_uri",data:s})},onSessionDelete(){this.onDisconnect()},getNamespaceChainsIds(){var u,g,w;return d?((w=(g=(u=d.session)==null?void 0:u.namespaces[r])==null?void 0:g.accounts)==null?void 0:w.map(y=>Number.parseInt(y.split(":")[1]||"",10)))??[]:[]},async getRequestedChainsIds(){var s;return await((s=i.storage)==null?void 0:s.getItem(this.requestedChainsStorageKey))??[]},async isChainsStale(){if(!p)return!1;const s=i.chains.map(w=>w.id),u=this.getNamespaceChainsIds();if(u.length&&!u.some(w=>s.includes(w)))return!1;const g=await this.getRequestedChainsIds();return!s.every(w=>g.includes(w))},async setRequestedChainsIds(s){var u;await((u=i.storage)==null?void 0:u.setItem(this.requestedChainsStorageKey,s))},get requestedChainsStorageKey(){return`${this.id}.requestedChains`}}))}export{jt as baseAccount,q as coinbaseWallet,bt as injected,R as metaMask,Q as mock,zt as porto,W as safe,Nt as tempoWallet,At as version,Z as walletConnect};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-CnJpbFSz.js","_assets/hooks.module-C4R15-Vr.js","_assets/jsxRuntime.module-wfFNtqye.js","_assets/index-CcbRdBPP.js","_assets/react-DehiWSvs.js","_assets/index-COjgItKg.js","_assets/dcl-schemas-Dr9BTjb7.js","_assets/parseSignature-DUi_JbiE.js","_assets/sendRawTransaction-BsxjE4-g.js","_assets/NetworkUtil-EoWQDMpU.js","_assets/sentry-973sfbO9.js","_assets/index-I4EEqchH.js","_assets/ethers-CtNGBird.js","_assets/intl-CBcMB1D2.js","_assets/index-BMzstP-8.css","_assets/custom-BEjNfCl9.js","_assets/W3MFrameProviderSingleton-BefcEwHF.js","_assets/index-DI-3MKLG.js","_assets/index-HTR5wu9m.js","_assets/events-DQ172AOg.js","_assets/browser-ponyfill-I5CKtKME.js","_assets/localBatchGatewayRequest-OBBcAlGv.js","_assets/verifyHash-B-yVKa3W.js","_assets/secp256k1-ivKnCo4o.js","_assets/hashTypedData-DBdbd6qS.js","_assets/WebCryptoP256-CJnbpGC3.js","_assets/zoraTestnet-CKnxxXEw.js","_assets/serializeTransaction-1erxN0sJ.js","_assets/writeContract-BEWlchIW.js","_assets/index-nibyPLVP.js","_assets/index-C3OMForh.js","_assets/index-BhjYUrg0.js","_assets/index-BV8s6ez1.js","_assets/index-L36hhrTC.js","_assets/native-DfrS-44q.js","_assets/index.es-CKWyDo1q.js","_assets/index-CQSjY0Du.js","_assets/index-CJdot1dH.js","_assets/index.es-ClPouKQg.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as b}from"./index-I4EEqchH.js";import{c as T,C as O,a as G,P as k}from"./index-CjXgzl0R.js";import{i as bt}from"./index-CjXgzl0R.js";import{aI as D,aR as B,bh as F}from"./sendRawTransaction-BsxjE4-g.js";import{x as L,af as z,a5 as _,Y as f,u as x,al as H,r as Y}from"./NetworkUtil-EoWQDMpU.js";import{G as J,w as U,a as E}from"./W3MFrameProviderSingleton-BefcEwHF.js";import{a as P}from"./custom-BEjNfCl9.js";import"./react-DehiWSvs.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";import"./index-DI-3MKLG.js";import"./index-HTR5wu9m.js";import"./events-DQ172AOg.js";import"./browser-ponyfill-I5CKtKME.js";import"./index-CcbRdBPP.js";import"./index-COjgItKg.js";import"./store-CraP4F4Y.js";import"./writeContract-BEWlchIW.js";function K(l,{body:p,onError:d,onResponse:M}){return l.request({body:p,onError:d,onResponse:M}),l}async function X(l,{body:p,timeout:d=1e4}){return l.requestAsync({body:p,timeout:d})}const m={http(l,p){return J(l).request(p)},webSocket:K,webSocketAsync:X};Q.type="mock";function Q(l){const p=new Map,d=l.features??{defaultConnected:!1};let M=d.defaultConnected,r;return T(o=>({id:"mock",name:"Mock Connector",type:Q.type,async setup(){r=o.chains[0].id},async connect({chainId:t,withCapabilities:e}={}){if(d.connectError)throw typeof d.connectError=="boolean"?new f(new Error("Failed to connect.")):d.connectError;const a=await(await this.getProvider()).request({method:"eth_requestAccounts"});let n=await this.getChainId();return t&&n!==t&&(n=(await this.switchChain({chainId:t})).id),M=!0,{accounts:e?a.map(i=>({address:D(i),capabilities:{foo:{bar:i}}})):a.map(i=>D(i)),chainId:n}},async disconnect(){M=!1},async getAccounts(){if(!M)throw new G;return(await(await this.getProvider()).request({method:"eth_accounts"})).map(c=>D(c))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return _(e,"number")},async isAuthorized(){return!d.reconnect||!M?!1:!!(await this.getAccounts()).length},async switchChain({chainId:t}){const e=await this.getProvider(),c=o.chains.find(a=>a.id===t);if(!c)throw new L(new O);return await e.request({method:"wallet_switchEthereumChain",params:[{chainId:z(t)}]}),c},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect"),M=!1},async getProvider({chainId:t}={}){const c=(o.chains.find(n=>n.id===t)??o.chains[0]).rpcUrls.default.http[0];return P({request:async({method:n,params:i})=>{if(n==="eth_chainId")return z(r);if(n==="eth_accounts"||n==="eth_requestAccounts")return l.accounts;if(n==="eth_signTypedData_v4"&&d.signTypedDataError)throw typeof d.signTypedDataError=="boolean"?new f(new Error("Failed to sign typed data.")):d.signTypedDataError;if(n==="wallet_switchEthereumChain"){if(d.switchChainError)throw typeof d.switchChainError=="boolean"?new f(new Error("Failed to switch chain.")):d.switchChainError;r=_(i[0].chainId,"number"),this.onChainChanged(r.toString());return}if(n==="wallet_watchAsset"){if(d.watchAssetError)throw typeof d.watchAssetError=="boolean"?new f(new Error("Failed to switch chain.")):d.watchAssetError;return M}if(n==="wallet_getCapabilities")return{"0x2105":{paymasterService:{supported:i[0]==="0x95132632579b073D12a6673e18Ab05777a6B86f8"},sessionKeys:{supported:!0}},"0x14A34":{paymasterService:{supported:i[0]==="0x95132632579b073D12a6673e18Ab05777a6B86f8"}}};if(n==="wallet_sendCalls"){const w=[],y=i[0].calls,h=i[0].from;for(const j of y){const{result:A,error:v}=await m.http(c,{body:{method:"eth_sendTransaction",params:[{...j,...typeof h<"u"?{from:h}:{}}]}});if(v)throw new x({body:{method:n,params:i},error:v,url:c});w.push(A)}const I=B(H(JSON.stringify(y)));return p.set(I,w),{id:I}}if(n==="wallet_getCallsStatus"){const w=p.get(i[0]);if(!w)return{atomic:!1,chainId:"0x1",id:i[0],status:100,receipts:[],version:"2.0.0"};const h=(await Promise.all(w.map(async I=>{const{result:j,error:A}=await m.http(c,{body:{method:"eth_getTransactionReceipt",params:[I],id:0}});if(A)throw new x({body:{method:n,params:i},error:A,url:c});return j?{blockHash:j.blockHash,blockNumber:j.blockNumber,gasUsed:j.gasUsed,logs:j.logs,status:j.status,transactionHash:j.transactionHash}:null}))).filter(I=>I!==null);return h.length===0?{atomic:!1,chainId:"0x1",id:i[0],status:100,receipts:[],version:"2.0.0"}:{atomic:!1,chainId:"0x1",id:i[0],status:200,receipts:h,version:"2.0.0"}}if(n==="wallet_showCallsStatus")return;if(n==="personal_sign"){if(d.signMessageError)throw typeof d.signMessageError=="boolean"?new f(new Error("Failed to sign message.")):d.signMessageError;n="eth_sign",i=[i[1],i[0]]}const s={method:n,params:i},{error:u,result:g}=await m.http(c,{body:s});if(u)throw new x({body:s,error:u,url:c});return g}})({retryCount:0})}}))}function $(l){var o,t,e;const{chain:p}=l,d=p.rpcUrls.default.http[0];if(!l.transports)return[d];const M=(t=(o=l.transports)==null?void 0:o[p.id])==null?void 0:t.call(o,{chain:p});return(((e=M==null?void 0:M.value)==null?void 0:e.transports)||[M]).map(({value:c})=>(c==null?void 0:c.url)||d)}const tt='data:image/svg+xml,<svg width="269" height="269" viewBox="0 0 269 269" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="269" height="269" fill="black"/><path d="M123.273 190.794H93.445L121.09 105.318H85.7334L93.445 80.2642H191.95L184.238 105.318H150.773L123.273 190.794Z" fill="white"/></svg>';function Nt(l={}){const{dialog:p,host:d,icon:M=tt,name:r,rdns:o,theme:t,...e}=l;return nt({createAdapter(c){return c.dialog({dialog:p,host:d,icon:M,name:r,rdns:o,theme:t})},icon:M,id:o??"xyz.tempo",name:r??"Tempo Wallet",providerParameters:e,rdns:o??"xyz.tempo",type:"injected"})}function nt(l){return T(p=>{const d=p.chains;let M,r,o,t,e;async function c(){return await b(()=>import("./core-BIHI7g3E.js"),[]).catch(()=>{throw new Error('dependency "accounts" not found')})}async function a(){return M??(M=(async()=>{const n=await c();return n.Provider.create({...l.providerParameters,adapter:l.createAdapter(n),chains:p.chains,transports:p.transports})})()),await M}return{icon:l.icon,id:l.id,name:l.name,rdns:l.rdns,type:l.type,async connect(n={}){const{chainId:i,isReconnecting:s,withCapabilities:u}=n,g="capabilities"in n?n.capabilities:void 0;let w=[],y;s&&(w=await this.getAccounts().then(h=>h.map(I=>({address:I,capabilities:{}}))).catch(()=>[]));try{if(!w.length&&!s&&(w=(await(await a()).request({method:"wallet_connect",params:[{...i?{chainId:i}:{},...g?{capabilities:g}:{}}]})).accounts),y??(y=await this.getChainId()),!y)throw new O;const h=await a();return t&&(h.removeListener("connect",t),t=void 0),r||(r=this.onAccountsChanged.bind(this),h.on("accountsChanged",r)),o||(o=this.onChainChanged.bind(this),h.on("chainChanged",o)),e||(e=this.onDisconnect.bind(this),h.on("disconnect",e)),{accounts:u?w:w.map(I=>I.address),chainId:y}}catch(h){const I=h;throw I.code===f.code?new f(I):I}},async disconnect(){var i;const n=await a();o&&(n.removeListener("chainChanged",o),o=void 0),e&&(n.removeListener("disconnect",e),e=void 0),t||(t=(i=this.onConnect)==null?void 0:i.bind(this),t&&n.on("connect",t)),await n.request({method:"wallet_disconnect"})},async getAccounts(){return await(await a()).request({method:"eth_accounts"})},async getChainId(){const n=await a();return Number(await n.request({method:"eth_chainId"}))},async getClient({chainId:n}={}){const i=await a(),{address:s}=i.getAccount({accessKey:!1});return Object.assign(i.getClient({chainId:n}),{account:F(s)})},async getProvider(){return await a()},async isAuthorized(){try{return!!(await U(()=>this.getAccounts())).length}catch{return!1}},onAccountsChanged(n){p.emitter.emit("change",{accounts:n})},onChainChanged(n){p.emitter.emit("change",{chainId:Number(n)})},async onConnect(n){const i=await this.getAccounts();if(i.length===0)return;const s=Number(n.chainId);p.emitter.emit("connect",{accounts:i,chainId:s});const u=await a();t&&(u.removeListener("connect",t),t=void 0),r||(r=this.onAccountsChanged.bind(this),u.on("accountsChanged",r)),o||(o=this.onChainChanged.bind(this),u.on("chainChanged",o)),e||(e=this.onDisconnect.bind(this),u.on("disconnect",e))},async onDisconnect(n){var s;const i=await a();p.emitter.emit("disconnect"),o&&(i.removeListener("chainChanged",o),o=void 0),e&&(i.removeListener("disconnect",e),e=void 0),t||(t=(s=this.onConnect)==null?void 0:s.bind(this),t&&i.on("connect",t))},async setup(){var n;if(!t){const i=await a();t=(n=this.onConnect)==null?void 0:n.bind(this),t&&i.on("connect",t)}},async switchChain({chainId:n}){const i=d.find(u=>u.id===n);if(!i)throw new L(new O);return await(await a()).request({method:"wallet_switchEthereumChain",params:[{chainId:z(n)}]}),i}}})}function jt(l={}){let p,d,M,r;return T(o=>({id:"baseAccount",name:"Base Account",rdns:"app.base.account",type:"baseAccount",async connect({chainId:t,withCapabilities:e,...c}={}){var a;try{const n=await this.getProvider(),i=t??((a=o.chains[0])==null?void 0:a.id);if(!i)throw new O;let{accounts:s,currentChainId:u}=await(async()=>{if(c.isReconnecting)return{accounts:(await n.request({method:"eth_accounts",params:[]})).map(h=>({address:D(h)})),currentChainId:await this.getChainId()};const g=await n.request({method:"wallet_connect",params:[{capabilities:"capabilities"in c&&c.capabilities?c.capabilities:{},chainIds:[z(i),...o.chains.filter(h=>h.id!==i).map(h=>z(h.id))]}]});return{accounts:(await n.request({method:"eth_accounts"})).map(h=>g.accounts.find(I=>I.address===h)??{address:h}).map(h=>({address:D(h.address),capabilities:h.capabilities??{}})),currentChainId:Number(g.chainIds[0])}})();if(d||(d=this.onAccountsChanged.bind(this),n.on("accountsChanged",d)),M||(M=this.onChainChanged.bind(this),n.on("chainChanged",M)),r||(r=this.onDisconnect.bind(this),n.on("disconnect",r)),t&&u!==t){const g=await this.switchChain({chainId:t}).catch(w=>{if(w.code===f.code)throw w;return{id:u}});u=(g==null?void 0:g.id)??u}return{accounts:e?s:s.map(g=>g.address),chainId:u}}catch(n){throw/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(n.message)?new f(n):n}},async disconnect(){const t=await this.getProvider();d&&(t.removeListener("accountsChanged",d),d=void 0),M&&(t.removeListener("chainChanged",M),M=void 0),r&&(t.removeListener("disconnect",r),r=void 0),t.disconnect()},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(e=>D(e))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return Number(e)},async getProvider(){if(!p){const t=(()=>{var a;return typeof l.preference=="string"?{options:l.preference}:{...l.preference,options:((a=l.preference)==null?void 0:a.options)??"all"}})(),{createBaseAccountSDK:e}=await(()=>{try{return b(()=>import("./index-CnJpbFSz.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]))}catch{throw new Error('dependency "@base-org/account" not found')}})();p=e({...l,appChainIds:o.chains.map(a=>a.id),preference:t}).getProvider()}return p},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){var n,i,s,u;const c=o.chains.find(g=>g.id===e);if(!c)throw new L(new O);const a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:z(c.id)}]}),c}catch(g){if(g.code===4902)try{let w;t!=null&&t.blockExplorerUrls?w=t.blockExplorerUrls:w=(n=c.blockExplorers)!=null&&n.default.url?[(i=c.blockExplorers)==null?void 0:i.default.url]:[];let y;(s=t==null?void 0:t.rpcUrls)!=null&&s.length?y=t.rpcUrls:y=[((u=c.rpcUrls.default)==null?void 0:u.http[0])??""];const h={blockExplorerUrls:w,chainId:z(e),chainName:(t==null?void 0:t.chainName)??c.name,iconUrls:t==null?void 0:t.iconUrls,nativeCurrency:(t==null?void 0:t.nativeCurrency)??c.nativeCurrency,rpcUrls:y};return await a.request({method:"wallet_addEthereumChain",params:[h]}),c}catch(w){throw new f(w)}throw new L(g)}},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect");const e=await this.getProvider();d&&(e.removeListener("accountsChanged",d),d=void 0),M&&(e.removeListener("chainChanged",M),M=void 0),r&&(e.removeListener("disconnect",r),r=void 0)}}))}q.type="coinbaseWallet";function q(l={}){let p,d,M,r;return T(o=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:q.type,async connect({chainId:t,withCapabilities:e,...c}={}){try{const a=await this.getProvider(),n=(await a.request({method:"eth_requestAccounts",params:"instantOnboarding"in c&&c.instantOnboarding?[{onboarding:"instant"}]:[]})).map(s=>D(s));d||(d=this.onAccountsChanged.bind(this),a.on("accountsChanged",d)),M||(M=this.onChainChanged.bind(this),a.on("chainChanged",M)),r||(r=this.onDisconnect.bind(this),a.on("disconnect",r));let i=await this.getChainId();if(t&&i!==t){const s=await this.switchChain({chainId:t}).catch(u=>{if(u.code===f.code)throw u;return{id:i}});i=(s==null?void 0:s.id)??i}return{accounts:e?n.map(s=>({address:s,capabilities:{}})):n,chainId:i}}catch(a){throw/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(a.message)?new f(a):a}},async disconnect(){var e;const t=await this.getProvider();d&&(t.removeListener("accountsChanged",d),d=void 0),M&&(t.removeListener("chainChanged",M),M=void 0),r&&(t.removeListener("disconnect",r),r=void 0),t.disconnect(),(e=t.close)==null||e.call(t)},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(e=>D(e))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return Number(e)},async getProvider(){if(!p){const{createCoinbaseWalletSDK:t}=await(()=>{try{return b(()=>import("./index-C3OMForh.js"),__vite__mapDeps([30,6,1,3,4,5,22,8,9,10,11,12,13,14,23,7,15,16,17,18,19,20,21,24,25,29]))}catch{throw new Error('dependency "@coinbase/wallet-sdk" not found')}})();p=t({...l,appChainIds:o.chains.map(c=>c.id),preference:{options:"all",...l.preference??{}}}).getProvider()}return p},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){var n,i,s,u;const c=o.chains.find(g=>g.id===e);if(!c)throw new L(new O);const a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:z(c.id)}]}),c}catch(g){if(g.code===4902)try{let w;t!=null&&t.blockExplorerUrls?w=t.blockExplorerUrls:w=(n=c.blockExplorers)!=null&&n.default.url?[(i=c.blockExplorers)==null?void 0:i.default.url]:[];let y;(s=t==null?void 0:t.rpcUrls)!=null&&s.length?y=t.rpcUrls:y=[((u=c.rpcUrls.default)==null?void 0:u.http[0])??""];const h={blockExplorerUrls:w,chainId:z(e),chainName:(t==null?void 0:t.chainName)??c.name,iconUrls:t==null?void 0:t.iconUrls,nativeCurrency:(t==null?void 0:t.nativeCurrency)??c.nativeCurrency,rpcUrls:y};return await a.request({method:"wallet_addEthereumChain",params:[h]}),c}catch(w){throw new f(w)}throw new L(g)}},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect");const e=await this.getProvider();d&&(e.removeListener("accountsChanged",d),d=void 0),M&&(e.removeListener("chainChanged",M),M=void 0),r&&(e.removeListener("disconnect",r),r=void 0)}}))}R.type="metaMask";function R(l={}){let p,d;return T(M=>({id:"metaMaskSDK",name:"MetaMask",rdns:["io.metamask","io.metamask.mobile"],type:R.type,async connect({chainId:r,isReconnecting:o,withCapabilities:t}={}){const e=await this.getInstance(),c=e.getProvider();let a=[];o&&(a=await this.getAccounts().catch(()=>[]));try{let n,i;if(!(a!=null&&a.length)){const u=M.chains.map(g=>z(g.id));l.connectAndSign||l.connectWith?(l.connectAndSign?n=(await e.connectAndSign({chainIds:u,message:l.connectAndSign})).signature:l.connectWith&&(i=(await e.connectWith({chainIds:u,method:l.connectWith.method,params:l.connectWith.params})).result),a=await this.getAccounts()):a=(await e.connect({chainIds:u})).accounts.map(w=>D(w))}let s=await this.getChainId();if(r&&s!==r){const u=await this.switchChain({chainId:r}).catch(g=>{if(g.code===f.code)throw g;return{id:s}});s=(u==null?void 0:u.id)??s}return n?c.emit("connectAndSign",{accounts:a,chainId:z(s),signResponse:n}):i&&c.emit("connectWith",{accounts:a,chainId:z(s),connectWithResponse:i}),{accounts:t?a.map(u=>({address:u,capabilities:{}})):a,chainId:s}}catch(n){const i=n;throw i.code===f.code?new f(i):i.code===Y.code?new Y(i):i}},async disconnect(){return(await this.getInstance()).disconnect()},async getAccounts(){var e;if(!p&&!d){const c=(e=M.providers[0])==null?void 0:e.provider;if(c)return(await c.request({method:"eth_accounts"})).map(n=>D(n))}const r=await this.getInstance();return r.accounts.length?r.accounts.map(c=>D(c)):(await r.getProvider().request({method:"eth_accounts"})).map(c=>D(c))},async getChainId(){var e;if(!p&&!d){const c=(e=M.providers[0])==null?void 0:e.provider;if(c){const a=await c.request({method:"eth_chainId"});return Number(a)}}const r=await this.getInstance();if(r.getChainId())return Number(r.getChainId());const t=await r.getProvider().request({method:"eth_chainId"});return Number(t)},async getProvider(){var o;if(!p&&!d){const t=(o=M.providers[0])==null?void 0:o.provider;if(t)return t}return(await this.getInstance()).getProvider()},async isAuthorized(){var r;try{if(!p&&!d){const e=(r=M.providers[0])==null?void 0:r.provider;if(e)return(await e.request({method:"eth_accounts"})).length>0}const o=10;return!!(await U(async()=>E(async()=>{const e=await this.getAccounts();if(!e.length)throw new Error("try again");return e},{timeout:o}),{delay:o+1,retryCount:3})).length}catch{return!1}},async switchChain({addEthereumChainParameter:r,chainId:o}){var c,a;const t=M.chains.find(({id:n})=>n===Number(o));if(!t)throw new L(new O);const e=z(o);try{return await(await this.getInstance()).switchChain({chainId:e,chainConfiguration:{blockExplorerUrls:r!=null&&r.blockExplorerUrls?[...r.blockExplorerUrls]:(c=t.blockExplorers)!=null&&c.default.url?[t.blockExplorers.default.url]:void 0,chainId:e,chainName:(r==null?void 0:r.chainName)??t.name,iconUrls:r==null?void 0:r.iconUrls,nativeCurrency:(r==null?void 0:r.nativeCurrency)??t.nativeCurrency,rpcUrls:r!=null&&r.rpcUrls?[...r.rpcUrls]:(a=t.rpcUrls.default)!=null&&a.http?[...t.rpcUrls.default.http]:void 0}}),t}catch(n){const i=n;throw i.code===f.code?new f(i):new L(i)}},async onAccountsChanged(r){M.emitter.emit("change",{accounts:r.map(o=>D(o))})},onChainChanged(r){const o=Number(r);M.emitter.emit("change",{chainId:o})},async onConnect(r){const o=await this.getAccounts();if(o.length===0)return;const t=Number(r.chainId);M.emitter.emit("connect",{accounts:o,chainId:t})},async onDisconnect(r){r&&r.code===1013&&await this.getProvider()&&(await this.getAccounts()).length||M.emitter.emit("disconnect")},onDisplayUri(r){M.emitter.emit("message",{type:"display_uri",data:r})},async getInstance(){var r;if(!p){if(!d){const{createEVMClient:o}=await(async()=>{try{return b(()=>import("./connectors-BkiAkXrA.js"),[])}catch{throw new Error('dependency "@metamask/connect-evm" not found')}})(),t=typeof window>"u"?{name:"wagmi"}:{name:window.location.hostname,url:window.location.href};d=o({...l,skipAutoAnnounce:!0,api:{supportedNetworks:Object.fromEntries(M.chains.map(e=>{var c;return[z(e.id),((c=e.rpcUrls.default)==null?void 0:c.http[0])??""]}))},dapp:l.dapp??{...t,...l.dappMetadata},debug:l.debug??((r=l.logging)==null?void 0:r.sdk),eventHandlers:{accountsChanged:this.onAccountsChanged.bind(this),chainChanged:this.onChainChanged.bind(this),connect:this.onConnect.bind(this),disconnect:this.onDisconnect.bind(this),displayUri:this.onDisplayUri.bind(this)},analytics:{integrationType:"wagmi"},ui:{...l.ui,...l.headless!=null&&{headless:l.headless}},...l.mobile&&{mobile:l.mobile}})}p=await d}return p}}))}function zt(l={}){const p=d=>typeof d.on=="function"&&typeof d.removeListener=="function";return T(d=>{const M=d.chains??l.chains??[],r=d.transports?d.transports:l.transports;let o,t,e,c,a;return{async connect({chainId:n=M[0].id,...i}={}){const s="isReconnecting"in i&&i.isReconnecting||!1,u="withCapabilities"in i&&i.withCapabilities||!1;let g=[],w;if(s&&([g,w]=await Promise.all([this.getAccounts().catch(()=>[]),this.getChainId().catch(()=>{})]),n&&w!==n)){const h=await this.switchChain({chainId:n}).catch(I=>{if(I.code===f.code)throw I;return{id:w}});w=(h==null?void 0:h.id)??w}const y=await this.getProvider();try{if(!(g!=null&&g.length)&&!s){const{RpcSchema:h}=await(()=>{try{return b(()=>import("./connectors-mXb62Iam.js"),[])}catch{throw new Error('dependency "porto" not found')}})(),{z:I}=await(()=>{try{return b(()=>import("./connectors-DAWtxdNk.js"),[])}catch{throw new Error('dependency "porto/internal" not found')}})(),j=await y.request({method:"wallet_connect",params:[{..."capabilities"in i?{capabilities:I.encode(h.wallet_connect.Capabilities,i.capabilities??{})}:{},chainIds:[z(n),...M.filter(A=>A.id!==n).map(A=>z(A.id))]}]});g=j.accounts,w=Number(j.chainIds[0])}if(!w)throw new O;return p(y)&&(c&&(y.removeListener("connect",c),c=void 0),t||(t=this.onAccountsChanged.bind(this),y.on("accountsChanged",t)),e||(e=this.onChainChanged.bind(this),y.on("chainChanged",e)),a||(a=this.onDisconnect.bind(this),y.on("disconnect",a))),{accounts:g.map(h=>typeof h=="object"?u?h:h.address:u?{address:h,capabilities:{}}:h),chainId:w}}catch(h){const I=h;throw I.code===f.code?new f(I):I}},async disconnect(){const n=await this.getProvider();p(n)&&(e&&(n.removeListener("chainChanged",e),e=void 0),a&&(n.removeListener("disconnect",a),a=void 0),c||(c=this.onConnect.bind(this),n.on("connect",c))),await n.request({method:"wallet_disconnect"})},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(s=>D(s))},async getChainId(){const i=await(await this.getProvider()).request({method:"eth_chainId"});return Number(i)},async getPortoInstance(){return o??(o=(async()=>{const{Porto:n}=await(()=>{try{return b(()=>import("./connectors-mXb62Iam.js"),[])}catch{throw new Error('dependency "porto" not found')}})();return n.create({...l,announceProvider:!1,chains:M,transports:r})})()),await o},async getProvider(){return(await this.getPortoInstance()).provider},icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIyIiBoZWlnaHQ9IjQyMiIgdmlld0JveD0iMCAwIDQyMiA0MjIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSI0MjIiIGhlaWdodD0iNDIyIiBmaWxsPSJibGFjayIvPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMV8xNSkiPgo8cGF0aCBkPSJNODEgMjg2LjM2NkM4MS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QgMzE2LjEwMUgzMjkuNTExQzMzNS4wMDEgMzE2LjEwMSAzMzkuNDUyIDMxMS42NjIgMzM5LjQ1MiAzMDYuMTg4VjI4Ni4zNjZaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMjY5Ljg2OCAxMzEuNzUyQzI2OS44NjggMTI2LjI3OCAyNzQuMzE4IDEyMS44NCAyNzkuODA4IDEyMS44NEgzMTEuNjE4QzMxNy4xMDggMTIxLjg0IDMyMS41NTggMTI2LjI3OCAzMjEuNTU4IDEzMS43NTJWMTYxLjQ4NUMzMjEuNTU4IDE2Ni45NTkgMzE3LjEwOCAxNzEuMzk2IDMxMS42MTggMTcxLjM5NkgyNzkuODA4QzI3NC4zMTggMTcxLjM5NiAyNjkuODY4IDE2Ni45NTkgMjY5Ljg2OCAxNjEuNDg1VjEzMS43NTJaIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzFfMTUiPgo8cmVjdCB3aWR0aD0iMjU5IiBoZWlnaHQ9IjIxMyIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgxIDEwNCkiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K",id:"xyz.ithaca.porto",async isAuthorized(){try{return!!(await U(()=>this.getAccounts())).length}catch{return!1}},name:"Porto",async onAccountsChanged(n){d.emitter.emit("change",{accounts:n.map(i=>D(i))})},onChainChanged(n){const i=Number(n);d.emitter.emit("change",{chainId:i})},async onConnect(n){const i=await this.getAccounts();if(i.length===0)return;const s=Number(n.chainId);d.emitter.emit("connect",{accounts:i,chainId:s});const u=await this.getProvider();p(u)&&(c&&(u.removeListener("connect",c),c=void 0),t||(t=this.onAccountsChanged.bind(this),u.on("accountsChanged",t)),e||(e=this.onChainChanged.bind(this),u.on("chainChanged",e)),a||(a=this.onDisconnect.bind(this),u.on("disconnect",a)))},async onDisconnect(n){const i=await this.getProvider();d.emitter.emit("disconnect"),p(i)&&(e&&(i.removeListener("chainChanged",e),e=void 0),a&&(i.removeListener("disconnect",a),a=void 0),c||(c=this.onConnect.bind(this),i.on("connect",c)))},async setup(){if(!c){const n=await this.getProvider();if(!p(n))return;c=this.onConnect.bind(this),n.on("connect",c)}},async switchChain({chainId:n}){const i=M.find(u=>u.id===n);if(!i)throw new L(new O);return await(await this.getProvider()).request({method:"wallet_switchEthereumChain",params:[{chainId:z(n)}]}),i},type:"injected"}})}W.type="safe";function W(l={}){const{shimDisconnect:p=!1}=l;let d,M;return T(r=>({id:"safe",name:"Safe",type:W.type,async connect({withCapabilities:o}={}){var a;const t=await this.getProvider();if(!t)throw new k;const e=await this.getAccounts(),c=await this.getChainId();return M||(M=this.onDisconnect.bind(this),t.on("disconnect",M)),p&&await((a=r.storage)==null?void 0:a.removeItem("safe.disconnected")),{accounts:o?e.map(n=>({address:n,capabilities:{}})):e,chainId:c}},async disconnect(){var t;const o=await this.getProvider();if(!o)throw new k;M&&(o.removeListener("disconnect",M),M=void 0),p&&await((t=r.storage)==null?void 0:t.setItem("safe.disconnected",!0))},async getAccounts(){const o=await this.getProvider();if(!o)throw new k;return(await o.request({method:"eth_accounts"})).map(D)},async getProvider(){if(typeof window<"u"&&(window==null?void 0:window.parent)!==window){if(!d){const{default:t}=await(()=>{try{return b(()=>import("./index-BhjYUrg0.js"),__vite__mapDeps([31,32,8,9,10,4,11,6,12,13,14,24]))}catch{throw new Error('dependency "@safe-global/safe-apps-sdk" not found')}})(),e=new t(l),c=await E(()=>e.safe.getInfo(),{timeout:l.unstable_getInfoTimeout??10});if(!c)throw new Error("Could not load Safe information");const a=await(async()=>{const n=await(()=>{try{return b(()=>import("./index-L36hhrTC.js").then(i=>i.i),__vite__mapDeps([33,4,32,34,10,19]))}catch{throw new Error('dependency "@safe-global/safe-apps-provider" not found')}})();return typeof n.SafeAppProvider!="function"&&typeof n.default.SafeAppProvider=="function"?n.default.SafeAppProvider:n.SafeAppProvider})();d=new a(c,e)}return d}},async getChainId(){const o=await this.getProvider();if(!o)throw new k;return Number(o.chainId)},async isAuthorized(){var o;try{return p&&await((o=r.storage)==null?void 0:o.getItem("safe.disconnected"))?!1:!!(await this.getAccounts()).length}catch{return!1}},onAccountsChanged(){},onChainChanged(){},onDisconnect(){r.emitter.emit("disconnect")}}))}const At="8.0.20";Z.type="walletConnect";function Z(l){const p=l.isNewChainsStale??!0;let d,M;const r="eip155";let o,t,e,c,a,n;return T(i=>({id:"walletConnect",name:"WalletConnect",type:Z.type,async setup(){const s=await this.getProvider().catch(()=>null);s&&(e||(e=this.onConnect.bind(this),s.on("connect",e)),a||(a=this.onSessionDelete.bind(this),s.on("session_delete",a)))},async connect({chainId:s,withCapabilities:u,...g}={}){var w,y;try{const h=await this.getProvider();if(!h)throw new k;c||(c=this.onDisplayUri,h.on("display_uri",c));let I=s;if(!I){const N=await((w=i.storage)==null?void 0:w.getItem("state"))??{};i.chains.some(S=>S.id===N.chainId)?I=N.chainId:I=(y=i.chains[0])==null?void 0:y.id}if(!I)throw new Error("No chains found on connector.");const j=await this.isChainsStale();if(h.session&&j&&await h.disconnect(),!h.session||j){const N=i.chains.filter(C=>C.id!==I).map(C=>C.id);await h.connect({optionalChains:[I,...N],..."pairingTopic"in g?{pairingTopic:g.pairingTopic}:{}}),this.setRequestedChainsIds(i.chains.map(C=>C.id))}const A=(await h.enable()).map(N=>D(N));let v=await this.getChainId();if(s&&v!==s){const N=await this.switchChain({chainId:s}).catch(C=>{var S;if(C.code===f.code&&((S=C.cause)==null?void 0:S.message)!=="Missing or invalid. request() method: wallet_addEthereumChain")throw C;return{id:v}});v=(N==null?void 0:N.id)??v}return c&&(h.removeListener("display_uri",c),c=void 0),e&&(h.removeListener("connect",e),e=void 0),o||(o=this.onAccountsChanged.bind(this),h.on("accountsChanged",o)),t||(t=this.onChainChanged.bind(this),h.on("chainChanged",t)),n||(n=this.onDisconnect.bind(this),h.on("disconnect",n)),a||(a=this.onSessionDelete.bind(this),h.on("session_delete",a)),{accounts:u?A.map(N=>({address:N,capabilities:{}})):A,chainId:v}}catch(h){throw/(user rejected|connection request reset)/i.test(h==null?void 0:h.message)?new f(h):h}},async disconnect(){const s=await this.getProvider();try{await(s==null?void 0:s.disconnect())}catch(u){if(!/No matching key/i.test(u.message))throw u}finally{t&&(s==null||s.removeListener("chainChanged",t),t=void 0),n&&(s==null||s.removeListener("disconnect",n),n=void 0),e||(e=this.onConnect.bind(this),s==null||s.on("connect",e)),o&&(s==null||s.removeListener("accountsChanged",o),o=void 0),a&&(s==null||s.removeListener("session_delete",a),a=void 0),this.setRequestedChainsIds([])}},async getAccounts(){return(await this.getProvider()).accounts.map(u=>D(u))},async getProvider({chainId:s}={}){var g;async function u(){const w=i.chains.map(h=>h.id);if(!w.length)return;const{EthereumProvider:y}=await(()=>{try{return b(()=>import("./index.es-CKWyDo1q.js").then(h=>h.n),__vite__mapDeps([35,11,4,10,6,12,13,14,18,19,36,17,29,37,38,20]))}catch{throw new Error('dependency "@walletconnect/ethereum-provider" not found')}})();return await y.init({...l,disableProviderPing:!0,optionalChains:w,projectId:l.projectId,rpcMap:Object.fromEntries(i.chains.map(h=>{const[I]=$({chain:h,transports:i.transports});return[h.id,I]})),showQrModal:l.showQrModal??!0})}return d||(M||(M=u()),d=await M,d==null||d.events.setMaxListeners(Number.POSITIVE_INFINITY)),s&&await((g=this.switchChain)==null?void 0:g.call(this,{chainId:s})),d},async getChainId(){return(await this.getProvider()).chainId},async isAuthorized(){try{const[s,u]=await Promise.all([this.getAccounts(),this.getProvider()]);return s.length?await this.isChainsStale()&&u.session?(await u.disconnect().catch(()=>{}),!1):!0:!1}catch{return!1}},async switchChain({addEthereumChainParameter:s,chainId:u}){var h,I,j;const g=await this.getProvider();if(!g)throw new k;const w=i.chains.find(A=>A.id===u);if(!w)throw new L(new O);let y=()=>{};try{await Promise.all([new Promise(v=>{y=N=>{N.chainId===u&&(i.emitter.off("change",y),v())},i.emitter.on("change",y)}),g.request({method:"wallet_switchEthereumChain",params:[{chainId:z(u)}]})]);const A=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...A,u]),w}catch(A){i.emitter.off("change",y);const v=A;if(/(user rejected)/i.test(v.message))throw new f(v);try{let N;s!=null&&s.blockExplorerUrls?N=s.blockExplorerUrls:N=(h=w.blockExplorers)!=null&&h.default.url?[(I=w.blockExplorers)==null?void 0:I.default.url]:[];let C;(j=s==null?void 0:s.rpcUrls)!=null&&j.length?C=s.rpcUrls:C=[...w.rpcUrls.default.http];const S={blockExplorerUrls:N,chainId:z(u),chainName:(s==null?void 0:s.chainName)??w.name,iconUrls:s==null?void 0:s.iconUrls,nativeCurrency:(s==null?void 0:s.nativeCurrency)??w.nativeCurrency,rpcUrls:C};await g.request({method:"wallet_addEthereumChain",params:[S]});const V=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...V,u]),w}catch(N){throw new f(N)}}},onAccountsChanged(s){s.length===0?this.onDisconnect():i.emitter.emit("change",{accounts:s.map(u=>D(u))})},onChainChanged(s){const u=Number(s);i.emitter.emit("change",{chainId:u})},async onConnect(s){const u=Number(s.chainId),g=await this.getAccounts();i.emitter.emit("connect",{accounts:g,chainId:u})},async onDisconnect(s){this.setRequestedChainsIds([]),i.emitter.emit("disconnect");const u=await this.getProvider();o&&(u.removeListener("accountsChanged",o),o=void 0),t&&(u.removeListener("chainChanged",t),t=void 0),n&&(u.removeListener("disconnect",n),n=void 0),a&&(u.removeListener("session_delete",a),a=void 0),e||(e=this.onConnect.bind(this),u.on("connect",e))},onDisplayUri(s){i.emitter.emit("message",{type:"display_uri",data:s})},onSessionDelete(){this.onDisconnect()},getNamespaceChainsIds(){var u,g,w;return d?((w=(g=(u=d.session)==null?void 0:u.namespaces[r])==null?void 0:g.accounts)==null?void 0:w.map(y=>Number.parseInt(y.split(":")[1]||"",10)))??[]:[]},async getRequestedChainsIds(){var s;return await((s=i.storage)==null?void 0:s.getItem(this.requestedChainsStorageKey))??[]},async isChainsStale(){if(!p)return!1;const s=i.chains.map(w=>w.id),u=this.getNamespaceChainsIds();if(u.length&&!u.some(w=>s.includes(w)))return!1;const g=await this.getRequestedChainsIds();return!s.every(w=>g.includes(w))},async setRequestedChainsIds(s){var u;await((u=i.storage)==null?void 0:u.setItem(this.requestedChainsStorageKey,s))},get requestedChainsStorageKey(){return`${this.id}.requestedChains`}}))}export{jt as baseAccount,q as coinbaseWallet,bt as injected,R as metaMask,Q as mock,zt as porto,W as safe,Nt as tempoWallet,At as version,Z as walletConnect};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as h,b as v}from"./lit-element-B3y9oplH.js";import{n as d}from"./class-map-CxwNmq0D.js";import"./index-
|
|
1
|
+
import{i as h,b as v}from"./lit-element-B3y9oplH.js";import{n as d}from"./class-map-CxwNmq0D.js";import"./index-C1p-YzYG.js";import{d as m,r as f}from"./index-5BrpwK2E.js";import{c as u,U as p}from"./index-D5sgkVGL.js";const g=m`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
width: var(--local-width);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as d,b as h}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{e as m,n as f}from"./ref-BsAZ42-h.js";import{d as c,r as v,e as y,v as b}from"./index-
|
|
1
|
+
import{i as d,b as h}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{e as m,n as f}from"./ref-BsAZ42-h.js";import{d as c,r as v,e as y,v as b}from"./index-5BrpwK2E.js";import{c as g,U as w}from"./index-D5sgkVGL.js";const x=c`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|