@dcl/shop 0.1.0-28705608077.commit-ef6e952 → 0.1.0-28705659740.commit-2cebfbe
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/{Assets-BrB_JPW7.js → Assets-DM3NHvTG.js} +1 -1
- package/assets/{Cart-CfAaaM9Q.js → Cart-qsgyFN2N.js} +1 -1
- package/assets/{Collection-DPAYp7aw.js → Collection-0Q-OVkt1.js} +1 -1
- package/assets/{Creator-CQQr9sr9.js → Creator-Cg1iIZhw.js} +1 -1
- package/assets/{ExchangeController-D_HF_73o.js → ExchangeController-BhumqtlQ.js} +1 -1
- package/assets/{GetCredits-Cv1JIgRT.js → GetCredits-DWLoB4FX.js} +2 -2
- package/assets/{HelpersUtil-PpqjTrEW.js → HelpersUtil-DAPWXPm-.js} +1 -1
- package/assets/{ImportListings-CEsNh6T1.js → ImportListings-Bwxc8Mmb.js} +1 -1
- package/assets/ItemDetail-D2CedZlX.js +1 -0
- package/assets/{Market-vn4mV_Yb.js → Market-CEnnPAj2.js} +1 -1
- package/assets/{MyAssets-BCwflKyn.js → MyAssets-ZivUnVkG.js} +1 -1
- package/assets/{MyFavorites-BV44VtJf.js → MyFavorites-BFzQNbxY.js} +1 -1
- package/assets/{MyPurchases-g5MrMpiQ.js → MyPurchases-8Oel-AwP.js} +1 -1
- package/assets/{RealCheckout-jPtl2Hgc.js → RealCheckout-DqzchDLG.js} +1 -1
- package/assets/{Success-DSQgC7Vk.js → Success-D3OOlQnv.js} +1 -1
- package/assets/{SwapController-4V7Up8W4.js → SwapController-CHZGHDp-.js} +1 -1
- package/assets/{TradeService-BppPbwso.js → TradeService-DmUewLSI.js} +1 -1
- package/assets/{W3MFrameProviderSingleton-IE3ttpk4.js → W3MFrameProviderSingleton-8nOQYUFl.js} +3 -3
- package/assets/{WebCryptoP256-DsxkK8O7.js → WebCryptoP256-C7eow4Df.js} +1 -1
- package/assets/{basic-Dv-Vy43A.js → basic-CelCYHMb.js} +1 -1
- package/assets/{biconomy-CsMkxCXL.js → biconomy-BqVW-rsA.js} +1 -1
- package/assets/{buy-gN_dQ63l.js → buy-C15POIFV.js} +1 -1
- package/assets/{buy-gasless-BYIsTqE3.js → buy-gasless-Box0kob9.js} +1 -1
- package/assets/{ccip-DmFKxJMN.js → ccip-CLcImasK.js} +1 -1
- package/assets/{ccip-CotVklEV.js → ccip-DL59QCK1.js} +1 -1
- package/assets/{controller-pAT0J4tR.js → controller-CfjWMbVE.js} +2 -2
- package/assets/{core-CeU_ejv-.js → core-BDXYKhgA.js} +4 -4
- package/assets/{custom-D2GKcjuL.js → custom-CDDSYhU8.js} +1 -1
- package/assets/{data-capture-5FeruMKc.js → data-capture-Bkp-UhN7.js} +1 -1
- package/assets/{decimals-C1olXU12.js → decimals-CtEbpsEJ.js} +1 -1
- package/assets/decimals-CuBSJMXb.js +1 -0
- package/assets/{detectExtension-Uk-_peko.js → detectExtension-BIiGvA9o.js} +1 -1
- package/assets/{email-DjT_p4Op.js → email-aXh1ma2P.js} +1 -1
- package/assets/{embedded-wallet-Bj1HbSEw.js → embedded-wallet-DHtx2k0n.js} +1 -1
- package/assets/{engine-qJft_gdx.js → engine-DTNrERz7.js} +1 -1
- package/assets/{estimate-l1-fee-DTFOxJ5l.js → estimate-l1-fee-BGkkMBUf.js} +1 -1
- package/assets/{eth_estimateGas-B9u7ttU4.js → eth_estimateGas-Btb3MP3p.js} +1 -1
- package/assets/{eth_getStorageAt-DUCeSfJf.js → eth_getStorageAt-CpNlcQTF.js} +1 -1
- package/assets/{eth_getTransactionCount-6n2IR_Sq.js → eth_getTransactionCount-CRegXjS3.js} +1 -1
- package/assets/{extractIPFS-C7HpwEtu.js → extractIPFS-CxHSpUep.js} +1 -1
- package/assets/{features-TzQhgqwq.js → features-Dxfjhzpg.js} +1 -1
- package/assets/{fetchTokenMetadata-D8_gB--r.js → fetchTokenMetadata-DAoAv0LE.js} +2 -2
- package/assets/{get-ecosystem-wallet-info-BVwAZzyt.js → get-ecosystem-wallet-info-d2DzMnWL.js} +1 -1
- package/assets/{getBalance-BLCAcJLO.js → getBalance-BSheXeeM.js} +1 -1
- package/assets/{getInstalledModules-CK0KKFrl.js → getInstalledModules-DeN6a3ZH.js} +1 -1
- package/assets/{getNFT-f2-xhDr3.js → getNFT-BI25yrzD.js} +1 -1
- package/assets/{getNFT-CP1XfXMj.js → getNFT-D1S-LFvC.js} +2 -2
- package/assets/{hashTypedData-hsJu4-yQ.js → hashTypedData-CYuFZOJY.js} +1 -1
- package/assets/{hashTypedData-D8Hzcg2_.js → hashTypedData-DcFID7ts.js} +1 -1
- package/assets/{import-dQrEjaIt.js → import-Du99DOn3.js} +1 -1
- package/assets/{in-app-wallet-calls-CT5bDGsD.js → in-app-wallet-calls-NtKERckH.js} +1 -1
- package/assets/{index-FKOvcovU.js → index-7-ZZ9_Gr.js} +1 -1
- package/assets/{index-BPks9tyO.js → index-9N6Vz9JJ.js} +1 -1
- package/assets/{index-FihobJLG.js → index-B4ee4O3I.js} +1 -1
- package/assets/{index-n1GCW9g8.js → index-B6wMbha0.js} +1 -1
- package/assets/{index-D0Cdtb7t.js → index-B9TLT9cn.js} +2 -2
- package/assets/{index-JOJg0uwC.js → index-BAI1_GfY.js} +1 -1
- package/assets/{index-B8MBrX9i.js → index-BMyAB8ba.js} +1 -1
- package/assets/{index-DWowOp-_.js → index-BX9VHotQ.js} +1 -1
- package/assets/{index-BgQjovnw.js → index-BayKSaLv.js} +1 -1
- package/assets/{index-BBN5wT_v.js → index-BbqyUr8v.js} +1 -1
- package/assets/{index-BYez_Zlc.js → index-Bj8T-xg9.js} +1 -1
- package/assets/{index-ruNca7KW.js → index-BwxkgPV1.js} +1 -1
- package/assets/{index-BzEzUKoA.js → index-BzDco18P.js} +1 -1
- package/assets/{index-CbQ7roQZ.js → index-C-zCPWSP.js} +1 -1
- package/assets/{index-DmHJisKx.js → index-C1CCV2uB.js} +1 -1
- package/assets/{index-B5MmF9By.js → index-C9SgubrF.js} +1 -1
- package/assets/{index-7Ilob_oO.js → index-CCzuxvSh.js} +1 -1
- package/assets/{index-BBEJsmUK.js → index-CF5_zKOn.js} +1 -1
- package/assets/{index-IYjr57Gm.js → index-CGlNYcKT.js} +3 -3
- package/assets/{index-dATrKf2p.js → index-CPffpuyV.js} +1 -1
- package/assets/{index-CxYLwCGf.js → index-CXlRV1MY.js} +1 -1
- package/assets/{index-BMDBTR2c.js → index-CgMttnOM.js} +1 -1
- package/assets/{index-BkvtUMxV.js → index-CnmPuGxO.js} +1 -1
- package/assets/{index-DbS8zjb8.js → index-Cu4WAmtc.js} +1 -1
- package/assets/{index-Dfsw0wyG.js → index-CwH_CbRI.js} +1 -1
- package/assets/{index-Don-0MIT.js → index-CwVhVFpE.js} +1 -1
- package/assets/{index-CzGkBeLa.js → index-CzEqvsaZ.js} +1 -1
- package/assets/{index-D8ATZmwY.js → index-D5VEppxJ.js} +1 -1
- package/assets/{index-DSXe0d2S.js → index-D8VICbUE.js} +1 -1
- package/assets/{index-DMvGrm22.js → index-DRvvHEZB.js} +1 -1
- package/assets/{index-6IaYoWdV.js → index-DT6RahHj.js} +1 -1
- package/assets/{index-DtoO1T74.js → index-DYsleGM1.js} +1 -1
- package/assets/{index-BhsrgAah.js → index-DeUxKJX9.js} +2 -2
- package/assets/{index-q0CPpiDs.js → index-Df9Gh_0A.js} +1 -1
- package/assets/{index-KzQsPtYI.js → index-DiaV7Xnj.js} +1 -1
- package/assets/{index-DL_SFw8V.js → index-DjRaneFj.js} +1 -1
- package/assets/{index-BFjppxfH.js → index-DovlEefs.js} +1 -1
- package/assets/{index-YCQZy-od.js → index-DqX4doZc.js} +1 -1
- package/assets/{index-BBzCMZhs.js → index-Dqraov_6.js} +3 -3
- package/assets/{index-DrCs3EU5.js → index-Dvt1PbKM.js} +1 -1
- package/assets/{index-CvkAB3cx.js → index-EW5aTHZL.js} +1 -1
- package/assets/{index-h2d-LrfA.js → index-G_KYX4HF.js} +1 -1
- package/assets/index-WviPcgqv.js +2 -0
- package/assets/{index-DSPDLgPF.js → index-bOxT2TLM.js} +1 -1
- package/assets/{index-C4gUf5hB.js → index-fwX9_hYz.js} +14 -14
- package/assets/{index-DptMOTzD.js → index-jfsclK1c.js} +1 -1
- package/assets/{index-D7UmhFbh.js → index-lfVdBzEM.js} +1 -1
- package/assets/{index-BkmdibsO.js → index-nSj5oXfE.js} +1 -1
- package/assets/{index-FlDuW3Af.js → index-pyiHqEdT.js} +1 -1
- package/assets/{index-DBVpSKX5.js → index-qEoMlTEM.js} +1 -1
- package/assets/{index-K_N5Pp8I.js → index-vShxy5Ak.js} +1 -1
- package/assets/{index.es-DoSVMhnq.js → index.es-0svf3soC.js} +4 -4
- package/assets/{index.es-BmGgI9PE.js → index.es-CTNruN_b.js} +1 -1
- package/assets/{index.es-Demw3yyg.js → index.es-iPKbpugX.js} +1 -1
- package/assets/{localBatchGatewayRequest-DgvdQbHL.js → localBatchGatewayRequest-CTO_i3Dr.js} +1 -1
- package/assets/{mana-rate-B5MhGgI8.js → mana-rate-BbMVb7F-.js} +1 -1
- package/assets/network-6KrvOfIJ.js +1 -0
- package/assets/{networks-Co9USlgm.js → networks-DnGttac2.js} +1 -1
- package/assets/{onramp-52bN5Byd.js → onramp-THdAL_Er.js} +1 -1
- package/assets/{openzeppelin-CLtJleyR.js → openzeppelin-Fq6_rWoH.js} +1 -1
- package/assets/{ownerOf-C_ppAWti.js → ownerOf-Z20onMkc.js} +1 -1
- package/assets/{parseNft-DokM8OJG.js → parseNft-gP4B6iOB.js} +2 -2
- package/assets/{parseSignature-aZF6oVh-.js → parseSignature-BdtqsPta.js} +1 -1
- package/assets/{parseSignature-gmjW2LCL.js → parseSignature-DGDthF4Q.js} +3 -3
- package/assets/{pay-with-exchange-D4S9Wmf5.js → pay-with-exchange-CHsxAsOQ.js} +1 -1
- package/assets/{qr-overlay-DUhflwps.js → qr-overlay-D72wyOOO.js} +1 -1
- package/assets/{receive-DoMkPm86.js → receive-CfEyIRNT.js} +1 -1
- package/assets/{resolveImplementation-BigJnLLS.js → resolveImplementation-ByZ6aAsR.js} +1 -1
- package/assets/{rpc-CrqKmXAd.js → rpc-Ba9vojp-.js} +1 -1
- package/assets/{secp256k1-CRwM7nmK.js → secp256k1-BOgggVbv.js} +1 -1
- package/assets/{secp256k1-xtgJrVQ1.js → secp256k1-CTrgIgRO.js} +1 -1
- package/assets/{secp256k1-D3mwO0A_.js → secp256k1-Dv2AcO6I.js} +1 -1
- package/assets/{send--3g_Xld9.js → send-Dvf7cim2.js} +1 -1
- package/assets/{send-batch-transaction-Bp5WDq9j.js → send-batch-transaction-Du7dMQIj.js} +1 -1
- package/assets/{send-eip712-transaction-Rq51yM2D.js → send-eip712-transaction-COsgKdIg.js} +2 -2
- package/assets/{send-gasless-transaction-17CqVL4r.js → send-gasless-transaction-OrBMq_IW.js} +2 -2
- package/assets/{sendRawTransaction-Bq4wwLvo.js → sendRawTransaction-BFwhC1CW.js} +3 -3
- package/assets/{serializeTransaction-0_6cdils.js → serializeTransaction-BYG_Sf_9.js} +1 -1
- package/assets/{session-proposal-Dcjbs-Sk.js → session-proposal-B4vPzIrJ.js} +1 -1
- package/assets/{session-request-DJqVx1Vf.js → session-request-q9sdhHDe.js} +2 -2
- package/assets/{sha256-BOiGkQ-k.js → sha256-DXORZCoT.js} +1 -1
- package/assets/{signing-ViEkal5y.js → signing-DUKQER6N.js} +4 -4
- package/assets/{socials-omHiKtr3.js → socials-Bx7HctQO.js} +1 -1
- package/assets/{swaps-BEUP5uE6.js → swaps-CI-42_Yf.js} +1 -1
- package/assets/{thirdweb-CFLXE91Z.js → thirdweb-h1G-rly1.js} +3 -3
- package/assets/{totalSupply-Bk0d_rAO.js → totalSupply-BbOO_R3o.js} +1 -1
- package/assets/{transactionReceipt-BZCOl44B.js → transactionReceipt-CpVXwo1b.js} +1 -1
- package/assets/{transactions-BkCFX1zV.js → transactions-CKq6M4QY.js} +1 -1
- package/assets/{verifyHash-m7iC7_JY.js → verifyHash-Bt7GZqI2.js} +1 -1
- package/assets/{w3m-modal-DNEwvOPw.js → w3m-modal-CIN8ZRvw.js} +1 -1
- package/assets/{w3m-modal-BxgY4Tpa.js → w3m-modal-CifFtb0O.js} +1 -1
- package/assets/{wait-for-tx-receipt-BauhQAMN.js → wait-for-tx-receipt-CmkqIogk.js} +1 -1
- package/assets/{wallet-kind-gfXMYxyJ.js → wallet-kind-D3L7EkWx.js} +1 -1
- package/assets/{wallets-7TfWPN5l.js → wallets-Opxx6sfN.js} +6 -6
- package/assets/{web-connector-UbJn8_LJ.js → web-connector-6Zhvgl2A.js} +3 -3
- package/assets/{writeContract-BvcBH3tC.js → writeContract-BV7sfUmk.js} +1 -1
- package/assets/{zoraTestnet--lDrug2s.js → zoraTestnet-BiS-YFuH.js} +1 -1
- package/index.html +8 -8
- package/package.json +2 -2
- package/assets/ItemDetail-5faC-uF8.js +0 -1
- package/assets/decimals-Dup9E_dE.js +0 -1
- package/assets/index-4aprBRKs.js +0 -2
- package/assets/network-Dy8k_D5M.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as g,b as e}from"./lit-element-B3y9oplH.js";import{r as f,n as w,o as v}from"./class-map-CxwNmq0D.js";import{d as y,r as k,e as P}from"./index-
|
|
1
|
+
import{i as g,b as e}from"./lit-element-B3y9oplH.js";import{r as f,n as w,o as v}from"./class-map-CxwNmq0D.js";import{d as y,r as k,e as P}from"./index-CGlNYcKT.js";import{c as b}from"./index-Dvt1PbKM.js";import"./index-CzEqvsaZ.js";import{H as x}from"./HelpersUtil-DAPWXPm-.js";import{R as u,E as A}from"./W3MFrameProviderSingleton-8nOQYUFl.js";import"./index-lfVdBzEM.js";import"./index-pyiHqEdT.js";const I=y`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as m,i as c,b as d}from"./lit-element-B3y9oplH.js";import{n as u,o as f}from"./class-map-CxwNmq0D.js";import{c as b}from"./index-
|
|
1
|
+
import{a as m,i as c,b as d}from"./lit-element-B3y9oplH.js";import{n as u,o as f}from"./class-map-CxwNmq0D.js";import{c as b}from"./index-Dvt1PbKM.js";import{r as h}from"./index-CGlNYcKT.js";import"./index-bOxT2TLM.js";const v=m`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as l,b}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-
|
|
1
|
+
import{i as l,b}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-Dvt1PbKM.js";import{d as h,r as v,e as f}from"./index-CGlNYcKT.js";const m=h`
|
|
2
2
|
button {
|
|
3
3
|
background-color: transparent;
|
|
4
4
|
padding: ${({spacing:t})=>t[1]};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as b,b as l}from"./lit-element-B3y9oplH.js";import{n as s}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-
|
|
1
|
+
import{i as b,b as l}from"./lit-element-B3y9oplH.js";import{n as s}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-Dvt1PbKM.js";import{d as m,r as f,e as v}from"./index-CGlNYcKT.js";const h=m`
|
|
2
2
|
button {
|
|
3
3
|
border: none;
|
|
4
4
|
background: transparent;
|
|
@@ -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-C4gUf5hB.js";import{c as T,C as O,a as G,P as k}from"./index-BBzCMZhs.js";import{i as zt}from"./index-BBzCMZhs.js";import{aI as D,aR as B,bh as F}from"./sendRawTransaction-Bq4wwLvo.js";import{x as L,af as z,a5 as _,Y as f,u as x,al as H,r as Y}from"./NetworkUtil-DRBYr7tG.js";import{G as J,w as m,a as E}from"./W3MFrameProviderSingleton-IE3ttpk4.js";import{a as P}from"./custom-D2GKcjuL.js";import"./react-E8ng6RF2.js";import"./ethers-BxoDGoYp.js";import"./index-BwWuCRvy.js";import"./index-4aprBRKs.js";import"./browser-ponyfill-DgNUJw98.js";import"./index-ChPBLIHl.js";import"./index-COjgItKg.js";import"./store-CraP4F4Y.js";import"./writeContract-BvcBH3tC.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 U={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 U.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 U.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 U.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 It(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 m(()=>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 yt(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-BkmdibsO.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]))}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-K_N5Pp8I.js"),__vite__mapDeps([26,6,4,7,8,1,3,5,18,10,11,19,9,12,13,14,15,16,17,20,21,25]))}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 m(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 ft(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+CjxyZWN0IHdpZHRoPSI0MjIiIGhlaWdodD0iNDIyIiBmaWxsPSJibGFjayIvPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMV8xNSkiPgo8cGF0aCBkPSJNODEgMjg2LjM2NkM4MSAy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MzE2LjEwMUgzMjkuNTExQzMzNS4wMDEgMzE2LjEwMSAzMzkuNDUyIDMxMS42NjIgMzM5LjQ1MiAzMDYuMTg4VjI4Ni4zNjZaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMjY5Ljg2OCAxMzEuNzUyQzI2OS44NjggMTI2LjI3OCAyNzQuMzE4IDEyMS44NCAyNzkuODA4IDEyMS44NEgzMTEuNjE4QzMxNy4xMDggMTIxLjg0IDMyMS41NTggMTI2LjI3OCAzMjEuNTU4IDEzMS43NTJWMTYxLjQ4NUMzMjEuNTU4IDE2Ni45NTkgMzE3LjEwOCAxNzEuMzk2IDMxMS42MTggMTcxLjM5NkgyNzkuODA4QzI3NC4zMTggMTcxLjM5NiAyNjkuODY4IDE2Ni45NTkgMjY5Ljg2OCAxNjEuNDg1VjEzMS43NTJaIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzFfMTUiPgo8cmVjdCB3aWR0aD0iMjU5IiBoZWlnaHQ9IjIxMyIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgxIDEwNCkiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K",id:"xyz.ithaca.porto",async isAuthorized(){try{return!!(await m(()=>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-Don-0MIT.js"),__vite__mapDeps([27,28,10,11,7,4,6,8,20]))}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-DBVpSKX5.js").then(i=>i.i),__vite__mapDeps([29,4,28,30,7,15,6,8]))}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 Dt="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-DoSVMhnq.js").then(h=>h.n),__vite__mapDeps([31,6,4,7,8,15,32,14,25,33,34,16]))}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{yt as baseAccount,q as coinbaseWallet,zt as injected,R as metaMask,Q as mock,ft as porto,W as safe,It as tempoWallet,Dt as version,Z as walletConnect};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-nSj5oXfE.js","assets/hooks.module-C4R15-Vr.js","assets/jsxRuntime.module-wfFNtqye.js","assets/index-ChPBLIHl.js","assets/react-E8ng6RF2.js","assets/index-COjgItKg.js","assets/index-fwX9_hYz.js","assets/ethers-BxoDGoYp.js","assets/index-C--hbOLp.css","assets/parseSignature-BdtqsPta.js","assets/sendRawTransaction-BFwhC1CW.js","assets/NetworkUtil-DRBYr7tG.js","assets/custom-CDDSYhU8.js","assets/W3MFrameProviderSingleton-8nOQYUFl.js","assets/index-BwWuCRvy.js","assets/index-WviPcgqv.js","assets/browser-ponyfill-DgNUJw98.js","assets/localBatchGatewayRequest-CTO_i3Dr.js","assets/verifyHash-Bt7GZqI2.js","assets/secp256k1-CTrgIgRO.js","assets/hashTypedData-DcFID7ts.js","assets/WebCryptoP256-C7eow4Df.js","assets/zoraTestnet-BiS-YFuH.js","assets/serializeTransaction-BYG_Sf_9.js","assets/writeContract-BV7sfUmk.js","assets/index-nibyPLVP.js","assets/index-vShxy5Ak.js","assets/index-CwVhVFpE.js","assets/index-BV8s6ez1.js","assets/index-qEoMlTEM.js","assets/native-Df5jPT-i.js","assets/index.es-0svf3soC.js","assets/index-Bj8T-xg9.js","assets/index-CJdot1dH.js","assets/index.es-iPKbpugX.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as b}from"./index-fwX9_hYz.js";import{c as T,C as O,a as G,P as k}from"./index-Dqraov_6.js";import{i as zt}from"./index-Dqraov_6.js";import{aI as D,aR as B,bh as F}from"./sendRawTransaction-BFwhC1CW.js";import{x as L,af as z,a5 as _,Y as f,u as x,al as H,r as Y}from"./NetworkUtil-DRBYr7tG.js";import{G as J,w as m,a as E}from"./W3MFrameProviderSingleton-8nOQYUFl.js";import{a as P}from"./custom-CDDSYhU8.js";import"./react-E8ng6RF2.js";import"./ethers-BxoDGoYp.js";import"./index-BwWuCRvy.js";import"./index-WviPcgqv.js";import"./browser-ponyfill-DgNUJw98.js";import"./index-ChPBLIHl.js";import"./index-COjgItKg.js";import"./store-CraP4F4Y.js";import"./writeContract-BV7sfUmk.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 U={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 U.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 U.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 U.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 It(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 m(()=>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 yt(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-nSj5oXfE.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]))}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-vShxy5Ak.js"),__vite__mapDeps([26,6,4,7,8,1,3,5,18,10,11,19,9,12,13,14,15,16,17,20,21,25]))}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 m(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 ft(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,PHN2ZyB3aWR0aD0iNDIyIiBoZWlnaHQ9IjQyMiIgdmlld0JveD0iMCAwIDQyMiA0MjIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZ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NjI5IDI3Ni40NTUgMzI5LjUxMSAyNzYuNDU1SDkwLjk0MDRDODUuNDUwNSAyNzYuNDU1IDgxIDI4MC44OTMgODEgMjg2LjM2NlYzMDYuMTg4QzgxIDMxMS42NjIgODUuNDUwNSAzMTYuMTAxIDkwLjk0MDQgMzE2LjEwMUgzMjkuNTExQzMzNS4wMDEgMzE2LjEwMSAzMzkuNDUyIDMxMS42NjIgMzM5LjQ1MiAzMDYuMTg4VjI4Ni4zNjZaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMjY5Ljg2OCAxMzEuNzUyQzI2OS44NjggMTI2LjI3OCAyNzQuMzE4IDEyMS44NCAyNzkuODA4IDEyMS44NEgzMTEuNjE4QzMxNy4xMDggMTIxLjg0IDMyMS41NTggMTI2LjI3OCAzMjEuNTU4IDEzMS43NTJWMTYxLjQ4NUMzMjEuNTU4IDE2Ni45NTkgMzE3LjEwOCAxNzEuMzk2IDMxMS42MTggMTcxLjM5NkgyNzkuODA4QzI3NC4zMTggMTcxLjM5NiAyNjkuODY4IDE2Ni45NTkgMjY5Ljg2OCAxNjEuNDg1VjEzMS43NTJaIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzFfMTUiPgo8cmVjdCB3aWR0aD0iMjU5IiBoZWlnaHQ9IjIxMyIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgxIDEwNCkiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K",id:"xyz.ithaca.porto",async isAuthorized(){try{return!!(await m(()=>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-CwVhVFpE.js"),__vite__mapDeps([27,28,10,11,7,4,6,8,20]))}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-qEoMlTEM.js").then(i=>i.i),__vite__mapDeps([29,4,28,30,7,15,6,8]))}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 Dt="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-0svf3soC.js").then(h=>h.n),__vite__mapDeps([31,6,4,7,8,15,32,14,25,33,34,16]))}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{yt as baseAccount,q as coinbaseWallet,zt as injected,R as metaMask,Q as mock,ft as porto,W as safe,It as tempoWallet,Dt as version,Z as walletConnect};
|
|
@@ -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-Dvt1PbKM.js";import"./index-BMyAB8ba.js";import{d as h,r as b,e as w}from"./index-CGlNYcKT.js";import{N as d}from"./W3MFrameProviderSingleton-8nOQYUFl.js";const g=h`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r}from"./parseSignature-aZF6oVh-.js";import{B as T,E as g,a as b,b as h,F as y,W as f,d as v,e as A,f as S,g as I,p as F,l as R,n as x,p as C,h as B,s as N,z as P}from"./parseSignature-aZF6oVh-.js";import{I as U,c as w,a as L,p as M,w as H}from"./custom-D2GKcjuL.js";import{h as s}from"./W3MFrameProviderSingleton-IE3ttpk4.js";import{U as z,c as q,f as V,s as O,w as G,a as j}from"./W3MFrameProviderSingleton-IE3ttpk4.js";import{A as K,a as Z,B as J,b as Q,C as X,D as Y,E as _,F as $,c as aa,H as ra,I as oa,d as sa,e as ea,f as ta,g as na,h as ia,i as ca,j as da,k as Ea,l as ua,J as pa,L as la,M as ma,m as Ta,N as ga,n as ba,o as ha,P as ya,p as fa,q as va,R as Aa,r as Sa,s as Ia,t as Fa,u as Ra,S as xa,v as Ca,w as Ba,x as Na,T as Pa,y as Da,z as Ua,G as wa,U as La,K as Ma,O as Ha,Q as ka,V as za,W as qa,X as Va,Y as Oa,Z as Ga,_ as ja,$ as Wa,a0 as Ka,a1 as Za,a2 as Ja,a3 as Qa,a4 as Xa,a5 as Ya,a6 as _a,a7 as $a,a8 as ar,a9 as rr,aa as or,ab as sr,ac as er,ad as tr,ae as nr,af as ir,ag as cr,ah as dr,ai as Er,aj as ur,ak as pr,al as lr,am as mr,an as Tr,ao as gr,ap as br,a1 as hr}from"./NetworkUtil-DRBYr7tG.js";import{A as fr,a as vr,b as Ar,c as Sr,d as Ir,e as Fr,f as Rr,g as xr,h as Cr,i as Br,j as Nr,k as Pr,l as Dr,m as Ur,n as wr,o as Lr,p as Mr,B as Hr,q as kr,r as zr,C as qr,s as Vr,t as Or,u as Gr,v as jr,w as Wr,x as Kr,y as Zr,z as Jr,D as Qr,E as Xr,F as Yr,G as _r,H as $r,I as ao,J as ro,K as oo,L as so,M as eo,N as to,O as no,P as io,Q as co,R as Eo,S as uo,T as po,U as lo,V as mo,W as To,X as go,Y as bo,Z as ho,_ as yo,$ as fo,a0 as vo,a1 as Ao,a2 as So,a3 as Io,a4 as Fo,a5 as Ro,a6 as xo,a7 as Co,a8 as Bo,a9 as No,aa as Po,ab as Do,ac as Uo,ad as wo,ae as Lo,af as Mo,ag as Ho,ah as ko,ai as zo,aj as qo,ak as Vo,al as Oo,am as Go,an as jo,ao as Wo,ap as Ko,aq as Zo,ar as Jo,as as Qo,at as Xo,au as Yo,av as _o,aw as $o,ax as as,ay as rs,az as os,aA as ss,aB as es,aC as ts,aD as ns,aE as is,aF as cs,aG as ds,aH as Es,aI as us,aJ as ps,aK as ls,aL as ms,aM as Ts,aN as gs,aM as bs,aO as hs,aP as ys,aQ as fs,aR as vs,aS as As,aT as Ss,aU as Is,aV as Fs,aW as Rs,aX as xs,aY as Cs,aZ as Bs,a_ as Ns,a$ as Ps,b0 as Ds,b1 as Us,b2 as ws,b3 as Ls,b4 as Ms,aL as Hs,aM as ks,b4 as zs,aN as qs,aM as Vs,b5 as Os,b6 as Gs,aA as js}from"./sendRawTransaction-Bq4wwLvo.js";import{I as Ks,a as Zs,b as Js,g as Qs,h as Xs,c as Ys,d as _s,e as $s,p as ae,t as re,v as oe}from"./hashTypedData-D8Hzcg2_.js";import{d as ee,e as te,a as ne}from"./localBatchGatewayRequest-DgvdQbHL.js";import{ccipRequest as ce,ccipRequest as de,offchainLookup as Ee,offchainLookupAbiItem as ue,offchainLookupSignature as pe}from"./ccip-CotVklEV.js";import{d as t}from"./verifyHash-m7iC7_JY.js";import{e as me,p as Te,a as ge,s as be,s as he}from"./verifyHash-m7iC7_JY.js";import{a as fe,b as ve,c as Ae,s as Se,d as Ie}from"./serializeTransaction-0_6cdils.js";import"./secp256k1-xtgJrVQ1.js";import"./index-C4gUf5hB.js";import"./react-E8ng6RF2.js";import"./ethers-BxoDGoYp.js";import"./index-BwWuCRvy.js";import"./index-4aprBRKs.js";import"./browser-ponyfill-DgNUJw98.js";export{fr as AbiConstructorNotFoundError,vr as AbiConstructorParamsNotFoundError,Ar as AbiDecodingDataSizeTooSmallError,Sr as AbiDecodingZeroDataError,Ir as AbiEncodingArrayLengthMismatchError,Fr as AbiEncodingBytesSizeMismatchError,Rr as AbiEncodingLengthMismatchError,xr as AbiErrorInputsNotFoundError,Cr as AbiErrorNotFoundError,Br as AbiErrorSignatureNotFoundError,Nr as AbiEventNotFoundError,Pr as AbiEventSignatureEmptyTopicsError,Dr as AbiEventSignatureNotFoundError,Ur as AbiFunctionNotFoundError,wr as AbiFunctionOutputsNotFoundError,Lr as AbiFunctionSignatureNotFoundError,Mr as AccountStateConflictError,K as AtomicReadyWalletRejectedUpgradeError,Z as AtomicityNotSupportedError,J as BaseError,Hr as BaseFeeScalarError,kr as BlockNotFoundError,T as BundleFailedError,Q as BundleTooLargeError,zr as BytesSizeMismatchError,qr as CallExecutionError,X as ChainDisconnectedError,Vr as ChainDoesNotSupportContract,Or as ChainMismatchError,Gr as ChainNotFoundError,jr as CircularReferenceError,Wr as ClientChainNotConfiguredError,Kr as ContractFunctionExecutionError,Zr as ContractFunctionRevertedError,Jr as ContractFunctionZeroDataError,Qr as CounterfactualDeploymentFailedError,Xr as DecodeLogDataMismatch,Yr as DecodeLogTopicsMismatch,Y as DuplicateIdError,_r as Eip1559FeesNotSupportedError,g as EnsAvatarInvalidNftUriError,b as EnsAvatarUnsupportedNamespaceError,h as EnsAvatarUriResolutionError,$r as EstimateGasExecutionError,_ as ExecutionRevertedError,$ as FeeCapTooHighError,aa as FeeCapTooLowError,y as FilterTypeNotSupportedError,ra as HttpRequestError,oa as InsufficientFundsError,sa as IntegerOutOfRangeError,ea as InternalRpcError,ta as IntrinsicGasTooHighError,na as IntrinsicGasTooLowError,ao as InvalidAbiDecodingTypeError,ro as InvalidAbiEncodingTypeError,oo as InvalidAbiItemError,so as InvalidAbiParametersError,eo as InvalidAbiTypeParameterError,to as InvalidAddressError,no as InvalidArrayError,ia as InvalidBytesBooleanError,io as InvalidChainIdError,U as InvalidDecimalNumberError,co as InvalidDefinitionTypeError,Ks as InvalidDomainError,Eo as InvalidFunctionModifierError,ca as InvalidHexBooleanError,da as InvalidInputRpcError,uo as InvalidLegacyVError,po as InvalidModifierError,lo as InvalidParameterError,Ea as InvalidParamsRpcError,mo as InvalidParenthesisError,Zs as InvalidPrimaryTypeError,ua as InvalidRequestRpcError,To as InvalidSerializableTransactionError,go as InvalidSignatureError,bo as InvalidStorageKeySizeError,ho as InvalidStructSignatureError,Js as InvalidStructTypeError,pa as JsonRpcVersionUnsupportedError,la as LimitExceededRpcError,yo as MaxFeePerGasTooLowError,ma as MethodNotFoundRpcError,Ta as MethodNotSupportedRpcError,ga as NonceMaxValueError,ba as NonceTooHighError,ha as NonceTooLowError,ya as ParseRpcError,fa as ProviderDisconnectedError,va as ProviderRpcError,fo as RawContractError,Aa as ResourceNotFoundRpcError,Sa as ResourceUnavailableRpcError,Ia as ResponseBodyTooLargeError,Fa as RpcError,Ra as RpcRequestError,xa as SizeExceedsPaddingSizeError,Ca as SizeOverflowError,Ba as SliceOffsetOutOfBoundsError,vo as SolidityProtectedKeywordError,Ao as StateAssignmentConflictError,Na as SwitchChainError,Pa as TimeoutError,Da as TipAboveFeeCapError,So as TransactionExecutionError,Io as TransactionNotFoundError,Fo as TransactionReceiptNotFoundError,Ua as TransactionRejectedRpcError,wa as TransactionTypeNotSupportedError,La as UnauthorizedProviderError,Ma as UnknownBundleIdError,Ha as UnknownNodeError,ka as UnknownRpcError,Ro as UnknownSignatureError,xo as UnknownTypeError,za as UnsupportedChainIdError,qa as UnsupportedNonOptionalCapabilityError,Co as UnsupportedPackedAbiType,Va as UnsupportedProviderMethodError,z as UrlRequiredError,Oa as UserRejectedRequestError,f as WaitForCallsStatusTimeoutError,Bo as WaitForTransactionReceiptTimeoutError,No as assertCurrentChain,Po as assertRequest,fe as assertTransactionEIP1559,ve as assertTransactionEIP2930,Ae as assertTransactionLegacy,Do as blobsToCommitments,Uo as blobsToProofs,Ga as boolToBytes,ja as boolToHex,wo as bytesToBigInt,Lo as bytesToBool,Wa as bytesToHex,Mo as bytesToNumber,Ho as bytesToString,ce as ccipFetch,de as ccipRequest,ko as checksumAddress,zo as commitmentToVersionedHash,qo as commitmentsToVersionedHashes,Vo as concat,Oo as concatBytes,Go as concatHex,w as createClient,v as createNonceManager,r as createPublicClient,q as createTransport,L as custom,jo as decodeAbiParameters,Wo as decodeErrorResult,Ko as decodeEventLog,ee as decodeFunctionData,Zo as decodeFunctionResult,Jo as defineBlock,t as defineChain,Qo as defineTransaction,Xo as defineTransactionReceipt,Yo as defineTransactionRequest,_o as deploylessCallViaBytecodeBytecode,$o as deploylessCallViaFactoryBytecode,as as encodeAbiParameters,rs as encodeDeployData,te as encodeErrorResult,A as encodeEventTopics,os as encodeFunctionData,ne as encodeFunctionResult,S as encodePacked,Ka as erc20Abi,Za as erc6492SignatureValidatorAbi,ss as erc6492SignatureValidatorByteCode,I as ethAddress,Ja as etherUnits,me as extendSchema,V as fallback,es as formatBlock,ts as formatEther,Qa as formatGwei,ns as formatLog,is as formatTransaction,cs as formatTransactionReceipt,ds as formatTransactionRequest,Xa as formatUnits,Ya as fromHex,Es as getAbiItem,us as getAddress,ps as getChainContractAddress,ls as getContractError,ms as getEventSelector,Ts as getEventSignature,gs as getFunctionSelector,bs as getFunctionSignature,hs as getTransactionType,Qs as getTypesForEIP712Domain,_a as gweiUnits,Xs as hashDomain,Ys as hashMessage,_s as hashStruct,$s as hashTypedData,$a as hexToBigInt,ar as hexToBool,rr as hexToBytes,or as hexToNumber,F as hexToSignature,sr as hexToString,s as http,ys as isAddress,fs as isAddressEqual,er as isHex,vs as keccak256,R as labelhash,As as maxUint16,Ss as maxUint256,tr as multicall3Abi,x as namehash,nr as numberToBytes,ir as numberToHex,Ee as offchainLookup,ue as offchainLookupAbiItem,pe as offchainLookupSignature,cr as pad,dr as padBytes,Er as padHex,Is as parseAbi,Te as parseAbiItem,ge as parseAbiParameters,Fs as parseEventLogs,C as parseSignature,M as parseUnits,Rs as prepareEncodeFunctionData,ae as presignMessagePrefix,B as publicActions,xs as recoverAddress,Cs as recoverPublicKey,Bs as rpcTransactionType,Se as serializeAccessList,N as serializeErc6492Signature,be as serializeSignature,Ie as serializeTransaction,Ns as sha256,O as shouldThrow,he as signatureToHex,ur as size,Ps as slice,Ds as sliceBytes,Us as sliceHex,pr as stringToBytes,lr as stringToHex,mr as stringify,ws as toBlobSidecars,Ls as toBlobs,Tr as toBytes,Ms as toEventHash,Hs as toEventSelector,ks as toEventSignature,zs as toFunctionHash,qs as toFunctionSelector,Vs as toFunctionSignature,gr as toHex,re as toPrefixedMessage,Os as toRlp,Gs as transactionType,br as trim,hr as universalSignatureValidatorAbi,js as universalSignatureValidatorByteCode,oe as validateTypedData,H as withCache,G as withRetry,j as withTimeout,P as zeroAddress};
|
|
1
|
+
import{c as r}from"./parseSignature-BdtqsPta.js";import{B as T,E as g,a as b,b as h,F as y,W as f,d as v,e as A,f as S,g as I,p as F,l as R,n as x,p as C,h as B,s as N,z as P}from"./parseSignature-BdtqsPta.js";import{I as U,c as w,a as L,p as M,w as H}from"./custom-CDDSYhU8.js";import{h as s}from"./W3MFrameProviderSingleton-8nOQYUFl.js";import{U as z,c as q,f as V,s as O,w as G,a as j}from"./W3MFrameProviderSingleton-8nOQYUFl.js";import{A as K,a as Z,B as J,b as Q,C as X,D as Y,E as _,F as $,c as aa,H as ra,I as oa,d as sa,e as ea,f as ta,g as na,h as ia,i as ca,j as da,k as Ea,l as ua,J as pa,L as la,M as ma,m as Ta,N as ga,n as ba,o as ha,P as ya,p as fa,q as va,R as Aa,r as Sa,s as Ia,t as Fa,u as Ra,S as xa,v as Ca,w as Ba,x as Na,T as Pa,y as Da,z as Ua,G as wa,U as La,K as Ma,O as Ha,Q as ka,V as za,W as qa,X as Va,Y as Oa,Z as Ga,_ as ja,$ as Wa,a0 as Ka,a1 as Za,a2 as Ja,a3 as Qa,a4 as Xa,a5 as Ya,a6 as _a,a7 as $a,a8 as ar,a9 as rr,aa as or,ab as sr,ac as er,ad as tr,ae as nr,af as ir,ag as cr,ah as dr,ai as Er,aj as ur,ak as pr,al as lr,am as mr,an as Tr,ao as gr,ap as br,a1 as hr}from"./NetworkUtil-DRBYr7tG.js";import{A as fr,a as vr,b as Ar,c as Sr,d as Ir,e as Fr,f as Rr,g as xr,h as Cr,i as Br,j as Nr,k as Pr,l as Dr,m as Ur,n as wr,o as Lr,p as Mr,B as Hr,q as kr,r as zr,C as qr,s as Vr,t as Or,u as Gr,v as jr,w as Wr,x as Kr,y as Zr,z as Jr,D as Qr,E as Xr,F as Yr,G as _r,H as $r,I as ao,J as ro,K as oo,L as so,M as eo,N as to,O as no,P as io,Q as co,R as Eo,S as uo,T as po,U as lo,V as mo,W as To,X as go,Y as bo,Z as ho,_ as yo,$ as fo,a0 as vo,a1 as Ao,a2 as So,a3 as Io,a4 as Fo,a5 as Ro,a6 as xo,a7 as Co,a8 as Bo,a9 as No,aa as Po,ab as Do,ac as Uo,ad as wo,ae as Lo,af as Mo,ag as Ho,ah as ko,ai as zo,aj as qo,ak as Vo,al as Oo,am as Go,an as jo,ao as Wo,ap as Ko,aq as Zo,ar as Jo,as as Qo,at as Xo,au as Yo,av as _o,aw as $o,ax as as,ay as rs,az as os,aA as ss,aB as es,aC as ts,aD as ns,aE as is,aF as cs,aG as ds,aH as Es,aI as us,aJ as ps,aK as ls,aL as ms,aM as Ts,aN as gs,aM as bs,aO as hs,aP as ys,aQ as fs,aR as vs,aS as As,aT as Ss,aU as Is,aV as Fs,aW as Rs,aX as xs,aY as Cs,aZ as Bs,a_ as Ns,a$ as Ps,b0 as Ds,b1 as Us,b2 as ws,b3 as Ls,b4 as Ms,aL as Hs,aM as ks,b4 as zs,aN as qs,aM as Vs,b5 as Os,b6 as Gs,aA as js}from"./sendRawTransaction-BFwhC1CW.js";import{I as Ks,a as Zs,b as Js,g as Qs,h as Xs,c as Ys,d as _s,e as $s,p as ae,t as re,v as oe}from"./hashTypedData-DcFID7ts.js";import{d as ee,e as te,a as ne}from"./localBatchGatewayRequest-CTO_i3Dr.js";import{ccipRequest as ce,ccipRequest as de,offchainLookup as Ee,offchainLookupAbiItem as ue,offchainLookupSignature as pe}from"./ccip-DL59QCK1.js";import{d as t}from"./verifyHash-Bt7GZqI2.js";import{e as me,p as Te,a as ge,s as be,s as he}from"./verifyHash-Bt7GZqI2.js";import{a as fe,b as ve,c as Ae,s as Se,d as Ie}from"./serializeTransaction-BYG_Sf_9.js";import"./secp256k1-CTrgIgRO.js";import"./index-fwX9_hYz.js";import"./react-E8ng6RF2.js";import"./ethers-BxoDGoYp.js";import"./index-BwWuCRvy.js";import"./index-WviPcgqv.js";import"./browser-ponyfill-DgNUJw98.js";export{fr as AbiConstructorNotFoundError,vr as AbiConstructorParamsNotFoundError,Ar as AbiDecodingDataSizeTooSmallError,Sr as AbiDecodingZeroDataError,Ir as AbiEncodingArrayLengthMismatchError,Fr as AbiEncodingBytesSizeMismatchError,Rr as AbiEncodingLengthMismatchError,xr as AbiErrorInputsNotFoundError,Cr as AbiErrorNotFoundError,Br as AbiErrorSignatureNotFoundError,Nr as AbiEventNotFoundError,Pr as AbiEventSignatureEmptyTopicsError,Dr as AbiEventSignatureNotFoundError,Ur as AbiFunctionNotFoundError,wr as AbiFunctionOutputsNotFoundError,Lr as AbiFunctionSignatureNotFoundError,Mr as AccountStateConflictError,K as AtomicReadyWalletRejectedUpgradeError,Z as AtomicityNotSupportedError,J as BaseError,Hr as BaseFeeScalarError,kr as BlockNotFoundError,T as BundleFailedError,Q as BundleTooLargeError,zr as BytesSizeMismatchError,qr as CallExecutionError,X as ChainDisconnectedError,Vr as ChainDoesNotSupportContract,Or as ChainMismatchError,Gr as ChainNotFoundError,jr as CircularReferenceError,Wr as ClientChainNotConfiguredError,Kr as ContractFunctionExecutionError,Zr as ContractFunctionRevertedError,Jr as ContractFunctionZeroDataError,Qr as CounterfactualDeploymentFailedError,Xr as DecodeLogDataMismatch,Yr as DecodeLogTopicsMismatch,Y as DuplicateIdError,_r as Eip1559FeesNotSupportedError,g as EnsAvatarInvalidNftUriError,b as EnsAvatarUnsupportedNamespaceError,h as EnsAvatarUriResolutionError,$r as EstimateGasExecutionError,_ as ExecutionRevertedError,$ as FeeCapTooHighError,aa as FeeCapTooLowError,y as FilterTypeNotSupportedError,ra as HttpRequestError,oa as InsufficientFundsError,sa as IntegerOutOfRangeError,ea as InternalRpcError,ta as IntrinsicGasTooHighError,na as IntrinsicGasTooLowError,ao as InvalidAbiDecodingTypeError,ro as InvalidAbiEncodingTypeError,oo as InvalidAbiItemError,so as InvalidAbiParametersError,eo as InvalidAbiTypeParameterError,to as InvalidAddressError,no as InvalidArrayError,ia as InvalidBytesBooleanError,io as InvalidChainIdError,U as InvalidDecimalNumberError,co as InvalidDefinitionTypeError,Ks as InvalidDomainError,Eo as InvalidFunctionModifierError,ca as InvalidHexBooleanError,da as InvalidInputRpcError,uo as InvalidLegacyVError,po as InvalidModifierError,lo as InvalidParameterError,Ea as InvalidParamsRpcError,mo as InvalidParenthesisError,Zs as InvalidPrimaryTypeError,ua as InvalidRequestRpcError,To as InvalidSerializableTransactionError,go as InvalidSignatureError,bo as InvalidStorageKeySizeError,ho as InvalidStructSignatureError,Js as InvalidStructTypeError,pa as JsonRpcVersionUnsupportedError,la as LimitExceededRpcError,yo as MaxFeePerGasTooLowError,ma as MethodNotFoundRpcError,Ta as MethodNotSupportedRpcError,ga as NonceMaxValueError,ba as NonceTooHighError,ha as NonceTooLowError,ya as ParseRpcError,fa as ProviderDisconnectedError,va as ProviderRpcError,fo as RawContractError,Aa as ResourceNotFoundRpcError,Sa as ResourceUnavailableRpcError,Ia as ResponseBodyTooLargeError,Fa as RpcError,Ra as RpcRequestError,xa as SizeExceedsPaddingSizeError,Ca as SizeOverflowError,Ba as SliceOffsetOutOfBoundsError,vo as SolidityProtectedKeywordError,Ao as StateAssignmentConflictError,Na as SwitchChainError,Pa as TimeoutError,Da as TipAboveFeeCapError,So as TransactionExecutionError,Io as TransactionNotFoundError,Fo as TransactionReceiptNotFoundError,Ua as TransactionRejectedRpcError,wa as TransactionTypeNotSupportedError,La as UnauthorizedProviderError,Ma as UnknownBundleIdError,Ha as UnknownNodeError,ka as UnknownRpcError,Ro as UnknownSignatureError,xo as UnknownTypeError,za as UnsupportedChainIdError,qa as UnsupportedNonOptionalCapabilityError,Co as UnsupportedPackedAbiType,Va as UnsupportedProviderMethodError,z as UrlRequiredError,Oa as UserRejectedRequestError,f as WaitForCallsStatusTimeoutError,Bo as WaitForTransactionReceiptTimeoutError,No as assertCurrentChain,Po as assertRequest,fe as assertTransactionEIP1559,ve as assertTransactionEIP2930,Ae as assertTransactionLegacy,Do as blobsToCommitments,Uo as blobsToProofs,Ga as boolToBytes,ja as boolToHex,wo as bytesToBigInt,Lo as bytesToBool,Wa as bytesToHex,Mo as bytesToNumber,Ho as bytesToString,ce as ccipFetch,de as ccipRequest,ko as checksumAddress,zo as commitmentToVersionedHash,qo as commitmentsToVersionedHashes,Vo as concat,Oo as concatBytes,Go as concatHex,w as createClient,v as createNonceManager,r as createPublicClient,q as createTransport,L as custom,jo as decodeAbiParameters,Wo as decodeErrorResult,Ko as decodeEventLog,ee as decodeFunctionData,Zo as decodeFunctionResult,Jo as defineBlock,t as defineChain,Qo as defineTransaction,Xo as defineTransactionReceipt,Yo as defineTransactionRequest,_o as deploylessCallViaBytecodeBytecode,$o as deploylessCallViaFactoryBytecode,as as encodeAbiParameters,rs as encodeDeployData,te as encodeErrorResult,A as encodeEventTopics,os as encodeFunctionData,ne as encodeFunctionResult,S as encodePacked,Ka as erc20Abi,Za as erc6492SignatureValidatorAbi,ss as erc6492SignatureValidatorByteCode,I as ethAddress,Ja as etherUnits,me as extendSchema,V as fallback,es as formatBlock,ts as formatEther,Qa as formatGwei,ns as formatLog,is as formatTransaction,cs as formatTransactionReceipt,ds as formatTransactionRequest,Xa as formatUnits,Ya as fromHex,Es as getAbiItem,us as getAddress,ps as getChainContractAddress,ls as getContractError,ms as getEventSelector,Ts as getEventSignature,gs as getFunctionSelector,bs as getFunctionSignature,hs as getTransactionType,Qs as getTypesForEIP712Domain,_a as gweiUnits,Xs as hashDomain,Ys as hashMessage,_s as hashStruct,$s as hashTypedData,$a as hexToBigInt,ar as hexToBool,rr as hexToBytes,or as hexToNumber,F as hexToSignature,sr as hexToString,s as http,ys as isAddress,fs as isAddressEqual,er as isHex,vs as keccak256,R as labelhash,As as maxUint16,Ss as maxUint256,tr as multicall3Abi,x as namehash,nr as numberToBytes,ir as numberToHex,Ee as offchainLookup,ue as offchainLookupAbiItem,pe as offchainLookupSignature,cr as pad,dr as padBytes,Er as padHex,Is as parseAbi,Te as parseAbiItem,ge as parseAbiParameters,Fs as parseEventLogs,C as parseSignature,M as parseUnits,Rs as prepareEncodeFunctionData,ae as presignMessagePrefix,B as publicActions,xs as recoverAddress,Cs as recoverPublicKey,Bs as rpcTransactionType,Se as serializeAccessList,N as serializeErc6492Signature,be as serializeSignature,Ie as serializeTransaction,Ns as sha256,O as shouldThrow,he as signatureToHex,ur as size,Ps as slice,Ds as sliceBytes,Us as sliceHex,pr as stringToBytes,lr as stringToHex,mr as stringify,ws as toBlobSidecars,Ls as toBlobs,Tr as toBytes,Ms as toEventHash,Hs as toEventSelector,ks as toEventSignature,zs as toFunctionHash,qs as toFunctionSelector,Vs as toFunctionSignature,gr as toHex,re as toPrefixedMessage,Os as toRlp,Gs as transactionType,br as trim,hr as universalSignatureValidatorAbi,js as universalSignatureValidatorByteCode,oe as validateTypedData,H as withCache,G as withRetry,j as withTimeout,P as zeroAddress};
|
|
@@ -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-BMyAB8ba.js";import{d as m,r as f}from"./index-CGlNYcKT.js";import{c as u,U as p}from"./index-Dvt1PbKM.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 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-CGlNYcKT.js";import{c as p,U as F}from"./index-Dvt1PbKM.js";import"./index-BMyAB8ba.js";import"./index-BzDco18P.js";import"./index-DjRaneFj.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-8nOQYUFl.js";import"./index-lfVdBzEM.js";import{W as Ls,a as js}from"./index-D8VICbUE.js";import"./index-DT6RahHj.js";import"./index-CF5_zKOn.js";import"./index-9N6Vz9JJ.js";import{au as S}from"./NetworkUtil-DRBYr7tG.js";import{H as Jt}from"./HelpersUtil-DAPWXPm-.js";import{n as Zi}from"./index-pyiHqEdT.js";import{E as Q}from"./ExchangeController-BhumqtlQ.js";import"./index-Cu4WAmtc.js";import"./index-Df9Gh_0A.js";import"./index-CPffpuyV.js";import{M as mt}from"./MathUtil-BGCe3rZ3.js";import"./index-jfsclK1c.js";import{e as Zt,n as ei}from"./ref-BsAZ42-h.js";import"./index-bOxT2TLM.js";import"./index-CnmPuGxO.js";import"./index-CzEqvsaZ.js";import"./index-DRvvHEZB.js";import{O as bt}from"./index-C1CCV2uB.js";import{e as en}from"./index-EW5aTHZL.js";import"./index-DYsleGM1.js";import"./index-7-ZZ9_Gr.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-CgMttnOM.js";import"./index-fwX9_hYz.js";import"./react-E8ng6RF2.js";import"./ethers-BxoDGoYp.js";import"./index-WviPcgqv.js";import"./index-Bj8T-xg9.js";import"./index-BwWuCRvy.js";import"./index-nibyPLVP.js";import"./index-BbqyUr8v.js";import"./index.es-iPKbpugX.js";import"./browser-ponyfill-DgNUJw98.js";import"./ConstantsUtil-CkFCQ14z.js";import"./async-directive-BRxn_Py3.js";import"./browser-tNtPL9tA.js";const nn=v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/add-gtH78Af8.js","assets/lit-element-B3y9oplH.js","assets/all-wallets-Bu4MasoZ.js","assets/arrow-bottom-circle-Bm7U8Xm5.js","assets/app-store-geBbzx8r.js","assets/apple-DbX-KO3Q.js","assets/arrow-bottom-NgyJiryy.js","assets/arrow-left-Bx8XJo4p.js","assets/arrow-right-CpmwAcz3.js","assets/arrow-top-CXuApiRq.js","assets/bank-B-AtGavB.js","assets/browser-GaKxoKgI.js","assets/card-DY_lirot.js","assets/checkmark-B_Gn6_T7.js","assets/checkmark-bold-B4Vhr71f.js","assets/chevron-bottom-DkjlNWaH.js","assets/chevron-left-t2d7IYla.js","assets/chevron-right-BpvBfQlF.js","assets/chevron-top-DaNUAgN3.js","assets/chrome-store-BrYSyOan.js","assets/clock-CM52yIf5.js","assets/close-CcVztAR5.js","assets/compass-Dnpz_bMX.js","assets/coinPlaceholder-A0d_T23w.js","assets/copy-OgObxpD0.js","assets/cursor-TGA47xsa.js","assets/cursor-transparent-ChuRXHZT.js","assets/desktop-DSYLUYtr.js","assets/disconnect-DOu0l9hw.js","assets/discord-DSagmLDU.js","assets/etherscan-BQWJnhdU.js","assets/extension-BCceciJ0.js","assets/external-link-nniZ8T-z.js","assets/facebook-C8cFHJmd.js","assets/farcaster-VVYMNsPV.js","assets/filters-IQcwAHNQ.js","assets/github-CUGKA0gF.js","assets/google-ICSz-zKJ.js","assets/help-circle-DUmb3lur.js","assets/image-CcAGLSqv.js","assets/id-CcMBGK0y.js","assets/info-circle-BRf2hsXl.js","assets/lightbulb-DxzqU2aA.js","assets/mail-GTcep6d_.js","assets/mobile-CxfewOOf.js","assets/more-B1GNyGbD.js","assets/network-placeholder-CaAIn0go.js","assets/nftPlaceholder-CcKWs410.js","assets/off-AGLeyIW1.js","assets/play-store-DauY6Xkj.js","assets/plus-C1iVend5.js","assets/qr-code-D9x4W1o0.js","assets/recycle-horizontal-BZndf3A8.js","assets/refresh-BVUyDU7W.js","assets/search-CmKy7FIM.js","assets/send-1nI1S_8r.js","assets/swapHorizontal-DtPyG-1F.js","assets/swapHorizontalMedium-BF57TL40.js","assets/swapHorizontalBold-iZFfQZST.js","assets/swapHorizontalRoundedBold-KJaF8iLR.js","assets/swapVertical-BPHOH9K5.js","assets/telegram-DZ8t7D__.js","assets/three-dots-RSAQzvrm.js","assets/twitch-ClCm-_yi.js","assets/x-CJLl3cK1.js","assets/twitterIcon-CFdE9cDK.js","assets/verify-DBW23CTN.js","assets/verify-filled-hMsYvnXR.js","assets/wallet-B1K8se3b.js","assets/walletconnect-BTykUwcd.js","assets/wallet-placeholder-rTto8m3y.js","assets/warning-circle-CR5Zi2hc.js","assets/info-DxBb29bi.js","assets/exclamation-triangle-DlfV2WT2.js","assets/reown-logo-oGjjPiPA.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-
|
|
2
|
+
import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-BDXYKhgA.js";import{_ as i}from"./index-fwX9_hYz.js";import{f as G,n as M}from"./async-directive-BRxn_Py3.js";const h={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:a}){return t.length<=e+r?t:a==="end"?`${t.substring(0,e)}...`:a==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),a=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let p=0;p<5;p+=1){const v=this.tintColor(a,.15*p);u.push(`rgb(${v[0]}, ${v[1]}, ${v[2]})`)}return`
|
|
3
3
|
--local-color-1: ${u[0]};
|
|
4
4
|
--local-color-2: ${u[1]};
|
|
5
5
|
--local-color-3: ${u[2]};
|