1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,71197,e=>{"use strict";let r=BigInt(0x100000000-1),t=BigInt(32);function o(e,s=!1){let n=e.length,a=new Uint32Array(n),c=new Uint32Array(n);for(let o=0;o<n;o++){let{h:n,l:i}=function(e,o=!1){return o?{h:Number(e&r),l:Number(e>>t&r)}:{h:0|Number(e>>t&r),l:0|Number(e&r)}}(e[o],s);[a[o],c[o]]=[n,i]}return[a,c]}let s=(e,r,t)=>e>>>t,n=(e,r,t)=>e<<32-t|r>>>t,a=(e,r,t)=>e>>>t|r<<32-t,c=(e,r,t)=>e<<32-t|r>>>t,i=(e,r,t)=>e<<64-t|r>>>t-32,d=(e,r,t)=>e>>>t-32|r<<64-t,l=(e,r,t)=>e<<t|r>>>32-t,u=(e,r,t)=>r<<t|e>>>32-t,b=(e,r,t)=>r<<t-32|e>>>64-t,f=(e,r,t)=>e<<t-32|r>>>64-t;function h(e,r,t,o){let s=(r>>>0)+(o>>>0);return{h:e+t+(s/0x100000000|0)|0,l:0|s}}let p=(e,r,t)=>(e>>>0)+(r>>>0)+(t>>>0),x=(e,r,t,o)=>r+t+o+(e/0x100000000|0)|0,m=(e,r,t,o)=>(e>>>0)+(r>>>0)+(t>>>0)+(o>>>0),g=(e,r,t,o,s)=>r+t+o+s+(e/0x100000000|0)|0,y=(e,r,t,o,s)=>(e>>>0)+(r>>>0)+(t>>>0)+(o>>>0)+(s>>>0),w=(e,r,t,o,s,n)=>r+t+o+s+n+(e/0x100000000|0)|0;e.s(["add",()=>h,"add3H",()=>x,"add3L",()=>p,"add4H",()=>g,"add4L",()=>m,"add5H",()=>w,"add5L",()=>y,"rotlBH",()=>b,"rotlBL",()=>f,"rotlSH",()=>l,"rotlSL",()=>u,"rotrBH",()=>i,"rotrBL",()=>d,"rotrSH",()=>a,"rotrSL",()=>c,"shrSH",()=>s,"shrSL",()=>n,"split",()=>o])},8682,e=>{"use strict";let r="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function t(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function o(e,...r){if(!(e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(r.length>0&&!r.includes(e.length))throw Error("Uint8Array expected of length "+r+", got length="+e.length)}function s(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.createHasher");t(e.outputLen),t(e.blockLen)}function n(e,r=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(r&&e.finished)throw Error("Hash#digest() has already been called")}function a(e,r){o(e);let t=r.outputLen;if(e.length<t)throw Error("digestInto() expects output buffer of length at least "+t)}function c(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function i(...e){for(let r=0;r<e.length;r++)e[r].fill(0)}function d(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function l(e,r){return e<<32-r|e>>>r}function u(e,r){return e<<r|e>>>32-r>>>0}let b=68===new Uint8Array(new Uint32Array([0x11223344]).buffer)[0]?e=>e:function(e){for(let t=0;t<e.length;t++){var r;e[t]=(r=e[t])<<24&0xff000000|r<<8&0xff0000|r>>>8&65280|r>>>24&255}return e};function f(e){return"string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}(e)),o(e),e}function h(...e){let r=0;for(let t=0;t<e.length;t++){let s=e[t];o(s),r+=s.length}let t=new Uint8Array(r);for(let r=0,o=0;r<e.length;r++){let s=e[r];t.set(s,o),o+=s.length}return t}class p{}function x(e){let r=r=>e().update(f(r)).digest(),t=e();return r.outputLen=t.outputLen,r.blockLen=t.blockLen,r.create=()=>e(),r}function m(e){let r=(r,t)=>e(t).update(f(r)).digest(),t=e({});return r.outputLen=t.outputLen,r.blockLen=t.blockLen,r.create=r=>e(r),r}function g(e=32){if(r&&"function"==typeof r.getRandomValues)return r.getRandomValues(new Uint8Array(e));if(r&&"function"==typeof r.randomBytes)return Uint8Array.from(r.randomBytes(e));throw Error("crypto.getRandomValues must be defined")}e.s(["Hash",()=>p,"abytes",()=>o,"aexists",()=>n,"ahash",()=>s,"anumber",()=>t,"aoutput",()=>a,"clean",()=>i,"concatBytes",()=>h,"createHasher",()=>x,"createView",()=>d,"createXOFer",()=>m,"randomBytes",()=>g,"rotl",()=>u,"rotr",()=>l,"swap32IfBE",0,b,"toBytes",()=>f,"u32",()=>c],8682)},38973,89139,e=>{"use strict";var r=e.i(8682);function t(e,r,t){return e&r^~e&t}function o(e,r,t){return e&r^e&t^r&t}class s extends r.Hash{constructor(e,t,o,s){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=t,this.padOffset=o,this.isLE=s,this.buffer=new Uint8Array(e),this.view=(0,r.createView)(this.buffer)}update(e){(0,r.aexists)(this),e=(0,r.toBytes)(e),(0,r.abytes)(e);let{view:t,buffer:o,blockLen:s}=this,n=e.length;for(let a=0;a<n;){let c=Math.min(s-this.pos,n-a);if(c===s){let t=(0,r.createView)(e);for(;s<=n-a;a+=s)this.process(t,a);continue}o.set(e.subarray(a,a+c),this.pos),this.pos+=c,a+=c,this.pos===s&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,r.aexists)(this),(0,r.aoutput)(e,this),this.finished=!0;let{buffer:t,view:o,blockLen:s,isLE:n}=this,{pos:a}=this;t[a++]=128,(0,r.clean)(this.buffer.subarray(a)),this.padOffset>s-a&&(this.process(o,0),a=0);for(let e=a;
1e<s;e++)t[e]=0;!function(e,r,t,o){if("function"==typeof e.setBigUint64)return e.setBigUint64(r,t,o);let s=BigInt(32),n=BigInt(0xffffffff),a=Number(t>>s&n),c=Number(t&n),i=4*!!o,d=4*!o;e.setUint32(r+i,a,o),e.setUint32(r+d,c,o)}(o,s-8,BigInt(8*this.length),n),this.process(o,0);let c=(0,r.createView)(e),i=this.outputLen;if(i%4)throw Error("_sha2: outputLen should be aligned to 32bit");let d=i/4,l=this.get();if(d>l.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e<d;e++)c.setUint32(4*e,l[e],n)}digest(){let{buffer:e,outputLen:r}=this;this.digestInto(e);let t=e.slice(0,r);return this.destroy(),t}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:r,buffer:t,length:o,finished:s,destroyed:n,pos:a}=this;return e.destroyed=n,e.finished=s,e.length=o,e.pos=a,o%r&&e.buffer.set(t),e}clone(){return this._cloneInto()}}let n=Uint32Array.from([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),a=Uint32Array.from([0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]),c=Uint32Array.from([0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]),i=Uint32Array.from([0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179]);e.s(["Chi",()=>t,"HashMD",()=>s,"Maj",()=>o,"SHA224_IV",0,a,"SHA256_IV",0,n,"SHA384_IV",0,c,"SHA512_IV",0,i],89139);var d=e.i(71197);let l=Uint32Array.from([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),u=new Uint32Array(64);class b extends s{constructor(e=32){super(64,e,8,!1),this.A=0|n[0],this.B=0|n[1],this.C=0|n[2],this.D=0|n[3],this.E=0|n[4],this.F=0|n[5],this.G=0|n[6],this.H=0|n[7]}get(){let{A:e,B:r,C:t,D:o,E:s,F:n,G:a,H:c}=this;return[e,r,t,o,s,n,a,c]}set(e,r,t,o,s,n,a,c){this.A=0|e,this.B=0|r,this.C=0|t,this.D=0|o,this.E=0|s,this.F=0|n,this.G=0|a,this.H=0|c}process(e,t){for(let r=0;r<16;r++,t+=4)u[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=u[e-15],o=u[e-2],s=(0,r.rotr)(t,7)^(0,r.rotr)(t,18)^t>>>3,n=(0,r.rotr)(o,17)^(0,r.rotr)(o,19)^o>>>10;u[e]=n+u[e-7]+s+u[e-16]|0}let{A:s,B:n,C:a,D:c,E:i,F:d,G:b,H:f}=this;for(let e=0;e<64;e++){var h;let t=f+((0,r.rotr)(i,6)^(0,r.rotr)(i,11)^(0,r.rotr)(i,25))+((h=i)&d^~h&b)+l[e]+u[e]|0,p=((0,r.rotr)(s,2)^(0,r.rotr)(s,13)^(0,r.rotr)(s,22))+o(s,n,a)|0;f=b,b=d,d=i,i=c+t|0,c=a,a=n,n=s,s=t+p|0}s=s+this.A|0,n=n+this.B|0,a=a+this.C|0,c=c+this.D|0,i=i+this.E|0,d=d+this.F|0,b=b+this.G|0,f=f+this.H|0,this.set(s,n,a,c,i,d,b,f)}roundClean(){(0,r.clean)(u)}destroy(){this.set(0,0,0,0,0,0,0,0),(0,r.clean)(this.buffer)}}class f extends b{constructor(){super(28),this.A=0|a[0],this.B=0|a[1],this.C=0|a[2],this.D=0|a[3],this.E=0|a[4],this.F=0|a[5],this.G=0|a[6],this.H=0|a[7]}}let h=d.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0
1xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),p=h[0],x=h[1],m=new Uint32Array(80),g=new Uint32Array(80);let y=(0,r.createHasher)(()=>new b),w=(0,r.createHasher)(()=>new f);e.s(["SHA224",()=>f,"SHA256",()=>b,"sha224",0,w,"sha256",0,y],38973)},77190,21029,e=>{"use strict";let r;var t=e.i(12858);let o=256;function s(e=11){if(!r||o+e>512){r="",o=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(o,o+++e)}function n(e){let{batch:r,chain:o,ccipRead:n,dataSuffix:a,key:c="base",name:i="Base Client",type:d="base"}=e,l=e.experimental_blockTag??("number"==typeof o?.experimental_preconfirmationTime?"pending":void 0),u=Math.min(Math.max(Math.floor((o?.blockTime??12e3)/2),500),4e3),b=e.pollingInterval??u,f=e.cacheTime??b,h=e.account?(0,t.parseAccount)(e.account):void 0,{config:p,request:x,value:m}=e.transport({account:h,chain:o,pollingInterval:b}),g={account:h,batch:r,cacheTime:f,ccipRead:n,chain:o,dataSuffix:a,key:c,name:i,pollingInterval:b,request:x,transport:{...p,...m},type:d,uid:s(),...l?{experimental_blockTag:l}:{}};return Object.assign(g,{extend:function e(r){return t=>{let o=t(r);for(let e in g)delete o[e];let s={...r,...o};return Object.assign(s,{extend:e(s)})}}(g)})}function a(){return null}e.s(["uid",()=>s],21029),e.s(["createClient",()=>n,"rpcSchema",()=>a],77190)},19581,e=>{"use strict";var r=e.i(75214),t=e.i(61991);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 c extends o{constructor(e,{method:r}={}){super(e,{code:c.code,name:"MethodNotFoundRpcError",shortMessage:`The method${r?` "${r}"`:""} does not exist / is not available.`})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class i extends o{constructor(e){super(e,{code:i.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(i,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class d extends o{constructor(e){super(e,{code:d.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(d,"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 u extends o{constructor(e){super(e,{code:u.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class b extends o{constructor(e){super(e,{code:b.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class f extends o{constructor(e){super(e,{code:f.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class h extends o{constructor(e,{method:r}={}
1){super(e,{code:h.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${r?` "${r}"`:""} is not supported.`})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class p extends o{constructor(e){super(e,{code:p.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class x extends o{constructor(e){super(e,{code:x.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(x,"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 g extends s{constructor(e){super(e,{code:g.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class y extends s{constructor(e,{method:r}={}){super(e,{code:y.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${r?` " ${r}"`:""}.`})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class w extends s{constructor(e){super(e,{code:w.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class v extends s{constructor(e){super(e,{code:v.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class E extends s{constructor(e){super(e,{code:E.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class R extends s{constructor(e){super(e,{code:R.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(R,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class B extends s{constructor(e){super(e,{code:B.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class P extends s{constructor(e){super(e,{code:P.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class I extends s{constructor(e){super(e,{code:I.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(I,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class U extends s{constructor(e){super(e,{code:U.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(U,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class T extends s{constructor(e){super(e,{code:T.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750});class A extends s{constructor(e){super(e,{code:A.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class H extends o{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}e.s(["AtomicReadyWalletRejectedUpgradeError",()=>T,"AtomicityNotSupportedError",()=>A,"BundleTooLargeError",()=>U,"ChainDisconnectedError",()=>v,"DuplicateIdError",()=>P,"InternalRpcError",()=>d,"InvalidInputRpcError",()=>l,"InvalidParamsRpcError",()=>i,"InvalidRequestRpcError",()=>
1a,"JsonRpcVersionUnsupportedError",()=>x,"LimitExceededRpcError",()=>p,"MethodNotFoundRpcError",()=>c,"MethodNotSupportedRpcError",()=>h,"ParseRpcError",()=>n,"ProviderDisconnectedError",()=>w,"ProviderRpcError",()=>s,"ResourceNotFoundRpcError",()=>u,"ResourceUnavailableRpcError",()=>b,"RpcError",()=>o,"SwitchChainError",()=>E,"TransactionRejectedRpcError",()=>f,"UnauthorizedProviderError",()=>g,"UnknownBundleIdError",()=>I,"UnknownRpcError",()=>H,"UnsupportedChainIdError",()=>B,"UnsupportedNonOptionalCapabilityError",()=>R,"UnsupportedProviderMethodError",()=>y,"UserRejectedRequestError",()=>m])},98384,9098,e=>{"use strict";async function r(e){return new Promise(r=>setTimeout(r,e))}function t(e,{delay:o=100,retryCount:s=2,shouldRetry:n=()=>!0}={}){return new Promise((t,a)=>{let c=async({count:i=0}={})=>{let d=async({error:e})=>{let t="function"==typeof o?o({count:i,error:e}):o;t&&await r(t),c({count:i+1})};try{let r=await e();t(r)}catch(e){if(i<s&&await n({count:i,error:e}))return d({error:e});a(e)}};c()})}e.s(["wait",()=>r],9098),e.s(["withRetry",()=>t],98384)},46287,e=>{"use strict";let r=new(e.i(87414)).LruMap(8192);function t(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}e.s(["withDedupe",()=>t])},59067,e=>{"use strict";var r=e.i(75214),t=e.i(61991),o=e.i(19581),s=e.i(89742),n=e.i(46287),a=e.i(98384),c=e.i(8624),i=e.i(21029);function d({key:e,methods:d,name:l,request:u,retryCount:b=3,retryDelay:f=150,timeout:h,type:p},x){return{config:{key:e,methods:d,name:l,request:u,retryCount:b,retryDelay:f,timeout:h,type:p},request:function(e,i={}){return async(d,l={})=>{let{dedupe:u=!1,methods:b,retryDelay:f=150,retryCount:h=3,uid:p}={...i,...l},{method:x}=d;if(b?.exclude?.includes(x)||b?.include&&!b.include.includes(x))throw new o.MethodNotSupportedRpcError(Error("method not supported"),{method:x});let m=u?(0,s.stringToHex)(`${p}.${(0,c.stringify)(d)}`):void 0;return(0,n.withDedupe)(()=>(0,a.withRetry)(async()=>{try{return await e(d)}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:d.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:d.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);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)*f},retryCount:h,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:!(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:u,id:m})}}(u,{methods:d,retryCount:b,retryDelay:f,uid:(0,i.uid)()}),value:x}}e.s(["createTransport",()=>d],59067)},83050,98708,e=>{"use strict";var r=e.i(58896),t=e.i(88418);let o={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function s(e,r){let s={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?(0,t.hexToNumber)(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?(0,t.hexToNumber)(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?o[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(s.authorizationList=e.authorizationList.map(e=>({address:e.address,chainId:Number(e.chainId),nonce:Number(e.nonce),r:e.r,s:e.s,yParity:Number(e.yParity)}))),s.yParity=(()=>
1{if(e.yParity)return Number(e.yParity);if("bigint"==typeof s.v){if(0n===s.v||27n===s.v)return 0;if(1n===s.v||28n===s.v)return 1;if(s.v>=35n)return+(s.v%2n===0n)}})(),"legacy"===s.type&&(delete s.accessList,delete s.maxFeePerBlobGas,delete s.maxFeePerGas,delete s.maxPriorityFeePerGas,delete s.yParity),"eip2930"===s.type&&(delete s.maxFeePerBlobGas,delete s.maxFeePerGas,delete s.maxPriorityFeePerGas),"eip1559"===s.type&&delete s.maxFeePerBlobGas,s}let n=(0,r.defineFormatter)("transaction",s);function a(e,r){let t=(e.transactions??[]).map(e=>"string"==typeof e?e:s(e));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:t,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}e.s(["defineTransaction",0,n,"formatTransaction",()=>s,"transactionType",0,o],98708);let c=(0,r.defineFormatter)("block",a);e.s(["defineBlock",0,c,"formatBlock",()=>a],83050)},51557,e=>{"use strict";function r(e,{args:t,eventName:o}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,blockTimestamp:e.blockTimestamp?BigInt(e.blockTimestamp):null===e.blockTimestamp?null:void 0,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...o?{args:t,eventName:o}:{}}}e.s(["formatLog",()=>r])},80706,e=>{"use strict";var r=e.i(88418),t=e.i(58896),o=e.i(51557),s=e.i(98708);let n={"0x0":"reverted","0x1":"success"};function a(e,t){let a={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(e=>(0,o.formatLog)(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,r.hexToNumber)(e.transactionIndex):null,status:e.status?n[e.status]:null,type:e.type?s.transactionType[e.type]||e.type:null};return e.blobGasPrice&&(a.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(a.blobGasUsed=BigInt(e.blobGasUsed)),a}let c=(0,t.defineFormatter)("transactionReceipt",a);e.s(["defineTransactionReceipt",0,c,"formatTransactionReceipt",()=>a,"receiptStatuses",0,n])},39625,e=>{"use strict";var r=e.i(75214),t=e.i(22692),o=e.i(86573),s=e.i(89742);function n(e,r="hex"){let a=function e(r){var t,s;let n,a,c,d;return Array.isArray(r)?(a=i(n=(t=r.map(r=>e(r))).reduce((e,r)=>e+r.length,0)),{length:n<=55?1+n:1+a+n,encode(e){for(let{encode:r}of(n<=55?e.pushByte(192+n):(e.pushByte(247+a),1===a?e.pushUint8(n):2===a?e.pushUint16(n):3===a?e.pushUint24(n):e.pushUint32(n)),t))r(e)}}):(d=i((c="string"==typeof(s=r)?(0,o.hexToBytes)(s):s).length),{length:1===c.length&&c[0]<128?1:c.length<=55?1+c.length:1+d+c.length,encode(e){1===c.length&&c[0]<128||(c.length<=55?e.pushByte(128+c.length):(e.pushByte(183+d),1===d?e.pushUint8(c.length):2===d?e.pushUint16(c.length):3===d?e.pushUint24(c.length):e.pushUint32(c.length))),e.pushBytes(c)}})}(e),c=(0,t.createCursor)(new Uint8Array(a.length));return(a.encode(c),"hex"===r)?(0,s.bytesToHex)(c.bytes):c.bytes}function a(e,r="bytes"){return n(e,r)}function c(e,r="hex"){return n(e,r)}function i(e){if(e<256)return 1;if(e<65536)return 2;if(e<0x1000000)return 3;if(e<0x100000000)return 4;throw new r.BaseError("Length is too large.")}e.s(["bytesToRlp",()=>a,"hexToRlp",()=>c,"toRlp",()=>n])},88871,38303,90335,35865,60912,18827,8752,38537,11663,50853,e=>{"use strict";var r=e.i(86573),t=e.i(89742);function o(e){let{kzg:o}=e,s=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),n="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,r.hexToBytes)(e)):e.blobs,a=[];for(let e of n)a.push(Uint8Array.from(o.blobToKzgCommitment(e)));return"bytes"===s?a:a.map(e=>(0,t.bytesToHex)(e))}function s(e){let{kzg:o}=e,s=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),n="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,r.hexToBytes)(e)):e.blobs,a="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,r.hexToBytes)(e)):e.commitments,c=[];for(let e=0;e<n.length;e++){let r=n[e],t=a[e];c.push(Uint8Array.from(o.computeBlobKzgProof(r,t)))}return"bytes"===s?c:c.map(e=>(0,t.bytesToHex)(e))}e.s(["blobsToCommitments",()=>o],88871),e.s(["blobsToProofs",()=>s],38303);var n=e.i(38973);n.SHA256;let a=n.sha256;n.SHA224,n.sha224;var c=e.i(93376);function i(e,o){let s=a((0,c.isHex)(e,{strict:!1})?(0,r.toBytes)(e):e);return"bytes"===(o||"hex")?s:(0,t.toHex)(s)}
1function d(e){let{commitment:r,version:o=1}=e,s=e.to??("string"==typeof r?"hex":"bytes"),n=i(r,"bytes");return n.set([o],0),"bytes"===s?n:(0,t.bytesToHex)(n)}function l(e){let{commitments:r,version:t}=e,o=e.to??("string"==typeof r[0]?"hex":"bytes"),s=[];for(let e of r)s.push(d({commitment:e,to:o,version:t}));return s}e.s(["sha256",()=>i],90335),e.s(["commitmentToVersionedHash",()=>d],35865),e.s(["commitmentsToVersionedHashes",()=>l],60912);e.s(["versionedHashVersionKzg",0,1],18827);var u=e.i(75214);class b extends u.BaseError{constructor({maxSize:e,size:r}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${r} bytes`],name:"BlobSizeTooLargeError"})}}class f extends u.BaseError{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class h extends u.BaseError{constructor({hash:e,size:r}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${r}`],name:"InvalidVersionedHashSizeError"})}}class p extends u.BaseError{constructor({hash:e,version:r}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:["Expected: 1",`Received: ${r}`],name:"InvalidVersionedHashVersionError"})}}e.s(["BlobSizeTooLargeError",()=>b,"EmptyBlobError",()=>f,"InvalidVersionedHashSizeError",()=>h,"InvalidVersionedHashVersionError",()=>p],8752);var x=e.i(22692),m=e.i(85967);function g(e){let o=e.to??("string"==typeof e.data?"hex":"bytes"),s="string"==typeof e.data?(0,r.hexToBytes)(e.data):e.data,n=(0,m.size)(s);if(!n)throw new f;if(n>761855)throw new b({maxSize:761855,size:n});let a=[],c=!0,i=0;for(;c;){let e=(0,x.createCursor)(new Uint8Array(131072)),r=0;for(;r<4096;){let t=s.slice(i,i+31);if(e.pushByte(0),e.pushBytes(t),t.length<31){e.pushByte(128),c=!1;break}r++,i+=31}a.push(e)}return"bytes"===o?a.map(e=>e.bytes):a.map(e=>(0,t.bytesToHex)(e.bytes))}function y(e){let{data:r,kzg:t,to:n}=e,a=e.blobs??g({data:r,to:n}),c=e.commitments??o({blobs:a,kzg:t,to:n}),i=e.proofs??s({blobs:a,commitments:c,kzg:t,to:n}),d=[];for(let e=0;e<a.length;e++)d.push({blob:a[e],commitment:c[e],proof:i[e]});return d}e.s(["toBlobs",()=>g],38537),e.s(["toBlobSidecars",()=>y],11663);var w=e.i(96668);function v(e){if(e.type)return e.type;if(void 0!==e.authorizationList)return"eip7702";if(void 0!==e.blobs||void 0!==e.blobVersionedHashes||void 0!==e.maxFeePerBlobGas||void 0!==e.sidecars)return"eip4844";if(void 0!==e.maxFeePerGas||void 0!==e.maxPriorityFeePerGas)return"eip1559";if(void 0!==e.gasPrice)return void 0!==e.accessList?"eip2930":"legacy";throw new w.InvalidSerializableTransactionError({transaction:e})}e.s(["getTransactionType",()=>v],50853)}]);
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.