PageSourceSearch

https://www.xstable.ai/_next/static/chunks/3534.7576d5f7ef686ba3.js

js xstable.ai collected 2026-10-05 14:38:37 UTC 763 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3534],{53534:(e,t,i)=>{i.d(t,{interceptEip155Requests:()=>n});var r=i(22024),s=i(43127),u=i(11147);async function n(e,t){let{client:i,session:n,currentChainId:c,currentAddress:a,supportedChains:h}=e,l=t.request.method,p=t.request.params;switch(l){case"wallet_switchEthereumChain":{let e=p[0].chainId,t=Number(e);if(!Number.isFinite(t))throw new r.A(e,"eip155");let i=`eip155:${t}`;if(!h.includes(i))throw new s.$(e,h);return null}case"eth_accounts":case"eth_requestAccounts":return a?[a]:[];case"eth_chainId":{let e=c.split(":")[1];return`0x${Number(e).toString(16)}`}default:if(!a)throw new u.T("","eip155");return await i.request({topic:n.topic,chainId:c,request:{method:l,params:p}})}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.