PageSourceSearch

https://www.ora.io/_next/static/chunks/0dh-o.mszin3t.js

js ora.io collected 2026-10-03 23:38:47 UTC 33,740 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,932568,e=>{"use strict";var r=e.i(191645),t=e.i(675618);class o extends r.BaseError{constructor(e,{code:r,docsPath:o,metaMessages:s,name:n,shortMessage:a}){super(a,{cause:e,docsPath:o,metaMessages:s||e?.metaMessages,name:n||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=n||e.name,this.code=e instanceof t.RpcRequestError?e.code:r??-1}}class s extends o{constructor(e,r){super(e,r),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=r.data}}class n extends o{constructor(e){super(e,{code:n.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(n,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class a extends o{constructor(e){super(e,{code:a.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class i extends o{constructor(e,{method:r}={}){super(e,{code:i.code,name:"MethodNotFoundRpcError",shortMessage:`The method${r?` "${r}"`:""} does not exist / is not available.`})}}Object.defineProperty(i,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class c extends o{constructor(e){super(e,{code:c.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class u extends o{constructor(e){super(e,{code:u.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class l extends o{constructor(e){super(e,{code:l.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class d extends o{constructor(e){super(e,{code:d.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class p extends o{constructor(e){super(e,{code:p.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class h extends o{constructor(e){super(e,{code:h.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class b extends o{constructor(e,{method:r}={}){super(e,{code:b.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${r?` "${r}"`:""} is not supported.`})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class f extends o{constructor(e){super(e,{code:f.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class g extends o{constructor(e){super(e,{code:g.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class m extends s{constructor(e){super(e,{code:m.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class w extends s{constructor(e){super(e,{code:w.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class E extends s{constructor(e,{method:r}={}){super(e,{code:E.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${r?` " ${r}"`:""}.`})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class v extends s{constructor(e){super(e,{code:v.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class y extends s{constructor(e){super(e,{code:y.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class R extends s{constructor(e){super(e,{code:R.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(R,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class x extends s{constructor(e){super(e,{code:x.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class P extends s{constructor(e){super(e,{code:P.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class T extends s{constructor(e){super(e,{code:T.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class $ extends s{constructor(e){super(e,{code:$.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty($,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class O extends s{constructor(e){super(e,{code:O.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});
1class j extends s{constructor(e){super(e,{code:j.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(j,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750});class M extends s{constructor(e){super(e,{code:M.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(M,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class S extends s{constructor(e){super(e,{code:S.code,name:"WalletConnectSessionSettlementError",shortMessage:"WalletConnect session settlement failed."})}}Object.defineProperty(S,"code",{enumerable:!0,configurable:!0,writable:!0,value:7e3}),e.s(["AtomicReadyWalletRejectedUpgradeError",0,j,"AtomicityNotSupportedError",0,M,"BundleTooLargeError",0,O,"ChainDisconnectedError",0,y,"DuplicateIdError",0,T,"InternalRpcError",0,u,"InvalidInputRpcError",0,l,"InvalidParamsRpcError",0,c,"InvalidRequestRpcError",0,a,"JsonRpcVersionUnsupportedError",0,g,"LimitExceededRpcError",0,f,"MethodNotFoundRpcError",0,i,"MethodNotSupportedRpcError",0,b,"ParseRpcError",0,n,"ProviderDisconnectedError",0,v,"ProviderRpcError",0,s,"ResourceNotFoundRpcError",0,d,"ResourceUnavailableRpcError",0,p,"RpcError",0,o,"SwitchChainError",0,R,"TransactionRejectedRpcError",0,h,"UnauthorizedProviderError",0,w,"UnknownBundleIdError",0,$,"UnknownRpcError",0,class extends o{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}},"UnsupportedChainIdError",0,P,"UnsupportedNonOptionalCapabilityError",0,x,"UnsupportedProviderMethodError",0,E,"UserRejectedRequestError",0,m,"WalletConnectSessionSettlementError",0,S])},347389,e=>{"use strict";async function r(e){return new Promise(r=>setTimeout(r,e))}e.s(["wait",0,r])},823984,e=>{"use strict";let r=new(e.i(114050)).LruMap(8192);e.s(["withDedupe",0,function(e,{enabled:t=!0,id:o}){if(!t||!o)return e();if(r.get(o))return r.get(o);let s=e().finally(()=>r.delete(o));return r.set(o,s),s}])},495169,e=>{"use strict";var r=e.i(347389);e.s(["withRetry",0,function(e,{delay:t=100,retryCount:o=2,shouldRetry:s=()=>!0}={}){return new Promise((n,a)=>{let i=async({count:c=0}={})=>{let u=async({error:e})=>{let o="function"==typeof t?t({count:c,error:e}):t;o&&await (0,r.wait)(o),i({count:c+1})};try{let r=await e();n(r)}catch(e){if(c<o&&await s({count:c,error:e}))return u({error:e});a(e)}};i()})}])},308759,e=>{"use strict";var r=e.i(191645),t=e.i(675618),o=e.i(932568),s=e.i(435463),n=e.i(823984),a=e.i(495169),i=e.i(315131);e.s(["buildRequest",0,function(e,c={}){return async(u,l={})=>{let{dedupe:d=!1,methods:p,retryDelay:h=150,retryCount:b=3,uid:f}={...c,...l},{method:g}=u;if(p?.exclude?.includes(g)||p?.include&&!p.include.includes(g))throw new o.MethodNotSupportedRpcError(Error("method not supported"),{method:g});let m=d?(0,s.stringToHex)(`${f}.${(0,i.stringify)(u)}`):void 0;return(0,n.withDedupe)(()=>(0,a.withRetry)(async()=>{try{return await e(u)}catch(e){switch(e.code){case o.ParseRpcError.code:throw new o.ParseRpcError(e);case o.InvalidRequestRpcError.code:throw new o.InvalidRequestRpcError(e);case o.MethodNotFoundRpcError.code:throw new o.MethodNotFoundRpcError(e,{method:u.method});case o.InvalidParamsRpcError.code:throw new o.InvalidParamsRpcError(e);case o.InternalRpcError.code:throw new o.InternalRpcError(e);case o.InvalidInputRpcError.code:throw new o.InvalidInputRpcError(e);case o.ResourceNotFoundRpcError.code:throw new o.ResourceNotFoundRpcError(e);case o.ResourceUnavailableRpcError.code:throw new o.ResourceUnavailableRpcError(e);case o.TransactionRejectedRpcError.code:throw new o.TransactionRejectedRpcError(e);case o.MethodNotSupportedRpcError.code:throw new o.MethodNotSupportedRpcError(e,{method:u.method});case o.LimitExceededRpcError.code:throw new o.LimitExceededRpcError(e);case o.JsonRpcVersionUnsupportedError.code:throw new o.JsonRpcVersionUnsupportedError(e);case o.UserRejectedRequestError.code:throw new o.UserRejectedRequestError(e);case o.UnauthorizedProviderError.code:throw new o.UnauthorizedProviderError(e);case o.UnsupportedProviderMethodError.code:throw new o.UnsupportedProviderMethodError(e);case o.ProviderDisconnectedError.code:throw new o.ProviderDisconnectedError(e);case o.ChainDisconnectedError.code:throw new o.ChainDisconnectedError(e);case o.SwitchChainError.code:throw new o.SwitchChainError(e);case o.UnsupportedNonOptionalCapabilityError.code:throw new o.UnsupportedNonOptionalCapabilityError(e);case o.UnsupportedChainIdError.code:throw new o.UnsupportedChainIdError(e);case o.DuplicateIdError.code:throw new o.DuplicateIdError(e);case o.UnknownBundleIdError.code:throw new o.UnknownBundleIdError(e);case o.BundleTooLargeError.code:throw new o.BundleTooLargeError(e);case o.AtomicReadyWalletRejectedUpgradeError.code:throw new o.AtomicReadyWalletRejectedUpgradeError(e);case o.AtomicityNotSupportedError.code:throw new o.AtomicityNotSupportedError(e);case 5e3:throw new o.UserRejectedRequestError(e);case o.WalletConnectSessionSettlementError.code:throw new o.WalletConnectSessionSettlementError(e);default:if(e instanceof r.BaseError)throw e;throw new o.UnknownRpcError(e)}}},{delay:({count:e,error:r})=>{if(r&&r instanceof t.HttpRequestError){let e=r?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e,10)}return~~(1<<e)*h},retryCount:b,shouldRetry:({error:e})=>{var r;return"code"in(r=e)&&"number"==typeof r.code?-1===r.code||r.code===o.LimitExceededRpcError.code||r.code===o.InternalRpcError.code||429===r.code:!(r instanceof t.HttpRequestError)||!r.status||403===r.status||408===r.status||413===r.status||429===r.status||500===r.status||502===r.status||503===r.status||504===r.status||!1}}),{enabled:d,id:m})}}])},874477,e=>{"use strict";let r,t=256;
1e.s(["uid",0,function(e=11){if(!r||t+e>512){r="",t=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(t,t+++e)}])},350385,e=>{"use strict";var r=e.i(308759),t=e.i(874477);e.s(["createTransport",0,function({key:e,methods:o,name:s,request:n,retryCount:a=3,retryDelay:i=150,timeout:c,type:u},l){let d=(0,t.uid)();return{config:{key:e,methods:o,name:s,request:n,retryCount:a,retryDelay:i,timeout:c,type:u},request:(0,r.buildRequest)(n,{methods:o,retryCount:a,retryDelay:i,uid:d}),value:l}}])},782157,e=>{"use strict";e.s(["withTimeout",0,function(e,{errorInstance:r=Error("timed out"),timeout:t,signal:o}){return new Promise((s,n)=>{(async()=>{let a;try{let i=new AbortController;t>0&&(a=setTimeout(()=>{o?i.abort():n(r)},t)),s(await e({signal:i?.signal||null}))}catch(e){e?.name==="AbortError"&&n(r),n(e)}finally{clearTimeout(a)}})()})}])},201124,169003,e=>{"use strict";var r=e.i(675618),t=e.i(782157),o=e.i(315131);let s={current:0,take(){return this.current++},reset(){this.current=0}};e.s(["idCache",0,s],169003),e.s(["getHttpRpcClient",0,function(e,n={}){let{url:a,headers:i}=function(e){try{let r=new URL(e),t=(()=>{if(r.username){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;return r.username="",r.password="",{url:r.toString(),headers:{Authorization:`Basic ${btoa(e)}`}}}})();return{url:r.toString(),...t}}catch{return{url:e}}}(e);return{async request(e){let{body:c,fetchFn:u=n.fetchFn??fetch,onRequest:l=n.onRequest,onResponse:d=n.onResponse,timeout:p=n.timeout??1e4}=e,h={...n.fetchOptions??{},...e.fetchOptions??{}},{headers:b,method:f,signal:g}=h;try{let e,n=await (0,t.withTimeout)(async({signal:e})=>{let r={...h,body:Array.isArray(c)?(0,o.stringify)(c.map(e=>({jsonrpc:"2.0",id:e.id??s.take(),...e}))):(0,o.stringify)({jsonrpc:"2.0",id:c.id??s.take(),...c}),headers:{...i,"Content-Type":"application/json",...b},method:f||"POST",signal:g||(p>0?e:null)},t=new Request(a,r),n=await l?.(t,r)??{...r,url:a};return await u(n.url??a,n)},{errorInstance:new r.TimeoutError({body:c,url:a}),timeout:p,signal:!0});if(d&&await d(n),n.headers.get("Content-Type")?.startsWith("application/json"))e=await n.json();else{e=await n.text();try{e=JSON.parse(e||"{}")}catch(r){if(n.ok)throw r;e={error:e}}}if(!n.ok){if("number"==typeof e.error?.code&&"string"==typeof e.error?.message)return e;throw new r.HttpRequestError({body:c,details:(0,o.stringify)(e.error)||n.statusText,headers:n.headers,status:n.status,url:a})}return e}catch(e){if(e instanceof r.HttpRequestError||e instanceof r.TimeoutError)throw e;throw new r.HttpRequestError({body:c,cause:e,url:a})}}}}],201124)},191645,e=>{"use strict";let r="2.47.12",t={getDocsUrl:({docsBaseUrl:e,docsPath:r="",docsSlug:t})=>r?`${e??"https://viem.sh"}${r}${t?`#${t}`:""}`:void 0,version:`viem@${r}`};class o extends Error{constructor(e,s={}
1){const n=s.cause instanceof o?s.cause.details:s.cause?.message?s.cause.message:s.details,a=s.cause instanceof o&&s.cause.docsPath||s.docsPath,i=t.getDocsUrl?.({...s,docsPath:a});super([e||"An error occurred.","",...s.metaMessages?[...s.metaMessages,""]:[],...i?[`Docs: ${i}`]:[],...n?[`Details: ${n}`]:[],...t.version?[`Version: ${t.version}`]:[]].join("\n"),s.cause?{cause:s.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=n,this.docsPath=a,this.metaMessages=s.metaMessages,this.name=s.name??this.name,this.shortMessage=e,this.version=r}walk(e){return function e(r,t){return t?.(r)?r:r&&"object"==typeof r&&"cause"in r&&void 0!==r.cause?e(r.cause,t):t?null:r}(this,e)}}e.s(["BaseError",0,o,"setErrorConfig",0,function(e){t=e}],191645)},315131,e=>{"use strict";e.s(["stringify",0,(e,r,t)=>JSON.stringify(e,(e,t)=>{let o="bigint"==typeof t?t.toString():t;return"function"==typeof r?r(e,o):o},t)])},197517,e=>{"use strict";var r=e.i(191645);class t extends r.BaseError{constructor({max:e,min:r,signed:t,size:o,value:s}){super(`Number "${s}" is not in safe ${o?`${8*o}-bit ${t?"signed":"unsigned"} `:""}integer range ${e?`(${r} to ${e})`:`(above ${r})`}`,{name:"IntegerOutOfRangeError"})}}class o extends r.BaseError{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class s extends r.BaseError{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}class n extends r.BaseError{constructor(e){super(`Hex value "${e}" is an odd length (${e.length}). It must be an even length.`,{name:"InvalidHexValueError"})}}class a extends r.BaseError{constructor({givenSize:e,maxSize:r}){super(`Size cannot exceed ${r} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}e.s(["IntegerOutOfRangeError",0,t,"InvalidBytesBooleanError",0,o,"InvalidHexBooleanError",0,s,"InvalidHexValueError",0,n,"SizeOverflowError",0,a])},518991,258668,e=>{"use strict";var r=e.i(191645);class t extends r.BaseError{constructor({offset:e,position:r,size:t}){super(`Slice ${"start"===r?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${t}).`,{name:"SliceOffsetOutOfBoundsError"})}}class o extends r.BaseError{constructor({size:e,targetSize:r,type:t}){super(`${t.charAt(0).toUpperCase()}${t.slice(1).toLowerCase()} size (${e}) exceeds padding size (${r}).`,{name:"SizeExceedsPaddingSizeError"})}}class s extends r.BaseError{constructor({size:e,targetSize:r,type:t}){super(`${t.charAt(0).toUpperCase()}${t.slice(1).toLowerCase()} is expected to be ${r} ${t} long, but is ${e} ${t} long.`,{name:"InvalidBytesLengthError"})}}function n(e,{dir:r,size:t=32}={}){if(null===t)return e;let s=e.replace("0x","");if(s.length>2*t)throw new o({size:Math.ceil(s.length/2),targetSize:t,type:"hex"});return`0x${s["right"===r?"padEnd":"padStart"](2*t,"0")}`}function a(e,{dir:r,size:t=32}={}){if(null===t)return e;if(e.length>t)throw new o({size:e.length,targetSize:t,type:"bytes"});let s=new Uint8Array(t);for(let o=0;o<t;o++){let n="right"===r;s[n?o:t-o-1]=e[n?o:e.length-o-1]}return s}e.s(["InvalidBytesLengthError",0,s,"SizeExceedsPaddingSizeError",0,o,"SliceOffsetOutOfBoundsError",0,t],258668),e.s(["pad",0,function(e,{dir:r,size:t=32}={}){return"string"==typeof e?n(e,{dir:r,size:t}):a(e,{dir:r,size:t})},"padBytes",0,a,"padHex",0,n],518991)},40011,e=>{"use strict";e.s(["isHex",0,function(e,{strict:r=!0}={}){return!!e&&"string"==typeof e&&(r?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}])},742975,e=>{"use strict";var r=e.i(40011);e.s(["size",0,function(e){return(0,r.isHex)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}])},608086,e=>{"use strict";e.s(["trim",0,function(e,{dir:r="left"}={}){let t="string"==typeof e?e.replace("0x",""):e,o=0;for(let e=0;e<t.length-1;e++)if("0"===t["left"===r?e:t.length-e-1].toString())o++;else break;
1return(t="left"===r?t.slice(o):t.slice(0,t.length-o),"string"==typeof e)?(1===t.length&&"right"===r&&(t=`${t}0`),`0x${t.length%2==1?`0${t}`:t}`):t}])},209742,e=>{"use strict";e.s(["boolToBytes",()=>c,"hexToBytes",()=>l,"numberToBytes",()=>d,"stringToBytes",()=>p,"toBytes",()=>i]);var r=e.i(191645),t=e.i(40011),o=e.i(518991),s=e.i(702895),n=e.i(435463);let a=new TextEncoder;function i(e,r={}){return"number"==typeof e||"bigint"==typeof e?d(e,r):"boolean"==typeof e?c(e,r):(0,t.isHex)(e)?l(e,r):p(e,r)}function c(e,r={}){let t=new Uint8Array(1);return(t[0]=Number(e),"number"==typeof r.size)?((0,s.assertSize)(t,{size:r.size}),(0,o.pad)(t,{size:r.size})):t}function u(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function l(e,t={}){let n=e;t.size&&((0,s.assertSize)(n,{size:t.size}),n=(0,o.pad)(n,{dir:"right",size:t.size}));let a=n.slice(2);a.length%2&&(a=`0${a}`);let i=a.length/2,c=new Uint8Array(i);for(let e=0,t=0;e<i;e++){let o=u(a.charCodeAt(t++)),s=u(a.charCodeAt(t++));if(void 0===o||void 0===s)throw new r.BaseError(`Invalid byte sequence ("${a[t-2]}${a[t-1]}" in "${a}").`);c[e]=16*o+s}return c}function d(e,r){return l((0,n.numberToHex)(e,r))}function p(e,r={}){let t=a.encode(e);return"number"==typeof r.size?((0,s.assertSize)(t,{size:r.size}),(0,o.pad)(t,{dir:"right",size:r.size})):t}},702895,e=>{"use strict";e.s(["assertSize",()=>n,"fromHex",()=>a,"hexToBigInt",()=>i,"hexToBool",()=>c,"hexToNumber",()=>u,"hexToString",()=>l]);var r=e.i(197517),t=e.i(742975),o=e.i(608086),s=e.i(209742);function n(e,{size:o}){if((0,t.size)(e)>o)throw new r.SizeOverflowError({givenSize:(0,t.size)(e),maxSize:o})}function a(e,r){let t="string"==typeof r?{to:r}:r,o=t.to;return"number"===o?u(e,t):"bigint"===o?i(e,t):"string"===o?l(e,t):"boolean"===o?c(e,t):(0,s.hexToBytes)(e,t)}function i(e,r={}){let{signed:t}=r;r.size&&n(e,{size:r.size});let o=BigInt(e);if(!t)return o;let s=(e.length-2)/2;return o<=(1n<<8n*BigInt(s)-1n)-1n?o:o-BigInt(`0x${"f".padStart(2*s,"f")}`)-1n}function c(e,t={}){let s=e;if(t.size&&(n(s,{size:t.size}),s=(0,o.trim)(s)),"0x00"===(0,o.trim)(s))return!1;if("0x01"===(0,o.trim)(s))return!0;throw new r.InvalidHexBooleanError(s)}function u(e,t={}){let o=i(e,t),s=Number(o);if(!Number.isSafeInteger(s))throw new r.IntegerOutOfRangeError({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:t.signed,size:t.size,value:`${o}n`});return s}function l(e,r={}){let t=(0,s.hexToBytes)(e);return r.size&&(n(t,{size:r.size}),t=(0,o.trim)(t,{dir:"right"})),new TextDecoder().decode(t)}},435463,e=>{"use strict";e.s(["boolToHex",()=>a,"bytesToHex",()=>i,"numberToHex",()=>c,"stringToHex",()=>l,"toHex",()=>n]);var r=e.i(197517),t=e.i(518991),o=e.i(702895);let s=Array.from({length:256},(e,r)=>r.toString(16).padStart(2,"0"));function n(e,r={}){return"number"==typeof e||"bigint"==typeof e?c(e,r):"string"==typeof e?l(e,r):"boolean"==typeof e?a(e,r):i(e,r)}function a(e,r={}){let s=`0x${Number(e)}`;return"number"==typeof r.size?((0,o.assertSize)(s,{size:r.size}),(0,t.pad)(s,{size:r.size})):s}function i(e,r={}){let n="";for(let r=0;r<e.length;r++)n+=s[e[r]];let a=`0x${n}`;return"number"==typeof r.size?((0,o.assertSize)(a,{size:r.size}),(0,t.pad)(a,{dir:"right",size:r.size})):a}function c(e,o={}){let s,{signed:n,size:a}=o,i=BigInt(e);a?s=n?(1n<<8n*BigInt(a)-1n)-1n:2n**(8n*BigInt(a))-1n:"number"==typeof e&&(s=BigInt(Number.MAX_SAFE_INTEGER));let u="bigint"==typeof s&&n?-s-1n:0;if(s&&i>s||i<u){let t="bigint"==typeof e?"n":"";throw new r.IntegerOutOfRangeError({max:s?`${s}${t}`:void 0,min:`${u}${t}`,signed:n,size:a,value:`${e}${t}`})}let l=`0x${(n&&i<0?(1n<<BigInt(8*a))+BigInt(i):i).toString(16)}`;return a?(0,t.pad)(l,{size:a}):l}let u=new TextEncoder;function l(e,r={}){return i(u.encode(e),r)}},114050,e=>{"use strict";class r extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let r=super.get(e);return super.has(e)&&(super.delete(e),super.set(e,r)),r}set(e,r){if(super.has(e)&&super.delete(e),super.set(e,r),this.maxSize&&this.size>this.maxSize){let e=super.keys().next().value;void 0!==e&&super.delete(e)}return this}}e.s(["LruMap",0,r])},626160,e=>{"use strict";e.s(["getContractAddress",0,e=>e,"getUrl",0,e=>e])},675618,e=>{"use strict";var r=e.i(315131),t=e.i(191645),o=e.i(626160);class s extends t.BaseError{constructor({body:e,cause:t,details:s,headers:n,status:a,url:i}){super("HTTP request failed.",{cause:t,details:s,metaMessages:[a&&`Status: ${a}`,`URL: ${(0,o.getUrl)(i)}`,e&&`Request body: ${(0,r.stringify)(e)}
1`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=e,this.headers=n,this.status=a,this.url=i}}class n extends t.BaseError{constructor({body:e,cause:t,details:s,url:n}){super("WebSocket request failed.",{cause:t,details:s,metaMessages:[`URL: ${(0,o.getUrl)(n)}`,e&&`Request body: ${(0,r.stringify)(e)}`].filter(Boolean),name:"WebSocketRequestError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=n}}class a extends t.BaseError{constructor({body:e,error:t,url:s}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,o.getUrl)(s)}`,`Request body: ${(0,r.stringify)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code,this.data=t.data,this.url=s}}class i extends t.BaseError{constructor({url:e}={}){super("The socket has been closed.",{metaMessages:[e&&`URL: ${(0,o.getUrl)(e)}`].filter(Boolean),name:"SocketClosedError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=e}}class c extends t.BaseError{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,o.getUrl)(t)}`,`Request body: ${(0,r.stringify)(e)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=t}}e.s(["HttpRequestError",0,s,"RpcRequestError",0,a,"SocketClosedError",0,i,"TimeoutError",0,c,"WebSocketRequestError",0,n])},437045,251282,e=>{"use strict";function r(){let e=()=>void 0,r=()=>void 0;return{promise:new Promise((t,o)=>{e=t,r=o}),resolve:e,reject:r}}e.s(["withResolvers",0,r],251282);let t=new Map;e.s(["createBatchScheduler",0,function({fn:e,id:o,shouldSplitBatch:s,wait:n=0,sort:a}){let i=async()=>{let r=u();c();let t=r.map(({args:e})=>e);0!==t.length&&e(t).then(e=>{a&&Array.isArray(e)&&e.sort(a);for(let t=0;t<r.length;t++){let{resolve:o}=r[t];o?.([e[t],e])}}).catch(e=>{for(let t=0;t<r.length;t++){let{reject:o}=r[t];o?.(e)}})},c=()=>t.delete(o),u=()=>t.get(o)||[],l=e=>t.set(o,[...u(),e]);return{flush:c,async schedule(e){let{promise:t,resolve:o,reject:a}=r();return(s?.([...u().map(({args:e})=>e),e])&&i(),u().length>0)?l({args:e,resolve:o,reject:a}):(l({args:e,resolve:o,reject:a}),setTimeout(i,n)),t}}}],437045)},448533,863073,67788,e=>{"use strict";let r={ether:-9,wei:9};e.s(["etherUnits",0,{gwei:9,wei:18},"gweiUnits",0,r,"weiUnits",0,{ether:-18,gwei:-9}],863073);var t=e.i(815024);function o(e,s="wei"){return(0,t.formatUnits)(e,r[s])}e.s(["formatGwei",0,o],67788);var s=e.i(191645);class n extends s.BaseError{constructor({cause:e,message:r}={}){const t=r?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${t?`with reason: ${t}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(n,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(n,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class a extends s.BaseError{constructor({cause:e,maxFeePerGas:r}={}){super(`The fee cap (\`maxFeePerGas\`${r?` = ${o(r)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/});class i extends s.BaseError{constructor({cause:e,maxFeePerGas:r}={}){super(`The fee cap (\`maxFeePerGas\`${r?` = ${o(r)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(i,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class c extends s.BaseError{constructor({cause:e,nonce:r}={}){super(`Nonce provided for the transaction ${r?`(${r}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class u extends s.BaseError{constructor({cause:e,nonce:r}={}){super(`Nonce provided for the transaction ${r?`(${r}) `:""}is lower than the current nonce of the account.
2Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class l extends s.BaseError{constructor({cause:e,nonce:r}={}){super(`Nonce provided for the transaction ${r?`(${r}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class d extends s.BaseError{constructor({cause:e}={}){super("The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.",{cause:e,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class p extends s.BaseError{constructor({cause:e,gas:r}={}){super(`The amount of gas ${r?`(${r}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class h extends s.BaseError{constructor({cause:e,gas:r}={}){super(`The amount of gas ${r?`(${r}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class b extends s.BaseError{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(b,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class f extends s.BaseError{constructor({cause:e,maxPriorityFeePerGas:r,maxFeePerGas:t}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${r?` = ${o(r)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${t?` = ${o(t)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class g extends s.BaseError{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}e.s(["ExecutionRevertedError",0,n,"FeeCapTooHighError",0,a,"FeeCapTooLowError",0,i,"InsufficientFundsError",0,d,"IntrinsicGasTooHighError",0,p,"IntrinsicGasTooLowError",0,h,"NonceMaxValueError",0,l,"NonceTooHighError",0,c,"NonceTooLowError",0,u,"TipAboveFeeCapError",0,f,"TransactionTypeNotSupportedError",0,b,"UnknownNodeError",0,g],448533)},395471,427031,e=>{"use strict";var r=e.i(675618),t=e.i(191645);class o extends t.BaseError{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}e.s(["UrlRequiredError",0,o],427031);var s=e.i(437045),n=e.i(201124),a=e.i(350385);e.s(["http",0,function(e,t={}){let{batch:i,fetchFn:c,fetchOptions:u,key:l="http",methods:d,name:p="HTTP JSON-RPC",onFetchRequest:h,onFetchResponse:b,retryDelay:f,raw:g}=t;return({chain:m,retryCount:w,timeout:E})=>{let{batchSize:v=1e3,wait:y=0}="object"==typeof i?i:{},R=t.retryCount??w,x=E??t.timeout??1e4,P=e||m?.rpcUrls.default.http[0];if(!P)throw new o;let T=(0,n.getHttpRpcClient)(P,{fetchFn:c,fetchOptions:u,onRequest:h,onResponse:b,timeout:x});return(0,a.createTransport)({key:l,methods:d,name:p,async request({method:e,params:t}){let o={method:e,params:t},{schedule:n}=(0,s.createBatchScheduler)({id:P,wait:y,shouldSplitBatch:e=>e.length>v,fn:e=>T.request({body:e}),sort:(e,r)=>e.id-r.id}),a=async e=>i?n(e):[await T.request({body:e})],[{error:c,result:u}]=await a(o);if(g)return{error:c,result:u};if(c)throw new r.RpcRequestError({body:o,error:c,url:P});return u},retryCount:R,retryDelay:f,timeout:x,type:"http"},{fetchOptions:u,url:P})}}],395471)}]);

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.