1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8214],{6909:(e,t,n)=>{n.d(t,{E:()=>i});var r=n(35649);function i(e){return(0,r.q)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}},10461:(e,t,n)=>{n.d(t,{$u:()=>u,Af:()=>p,WG:()=>g,ZJ:()=>a,aT:()=>d});var r=n(45858),i=n(35649),o=n(15693),s=n(65076),l=n(99443);let c=new TextEncoder;function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"number"==typeof e||"bigint"==typeof e?g(e,t):"boolean"==typeof e?u(e,t):(0,i.q)(e)?d(e,t):p(e,t)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new Uint8Array(1);return(n[0]=Number(e),"number"==typeof t.size)?((0,s.Sl)(n,{size:t.size}),(0,o.eV)(n,{size:t.size})):n}let h={zero:48,nine:57,A:65,F:70,a:97,f:102};function f(e){return e>=h.zero&&e<=h.nine?e-h.zero:e>=h.A&&e<=h.F?e-(h.A-10):e>=h.a&&e<=h.f?e-(h.a-10):void 0}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;t.size&&((0,s.Sl)(n,{size:t.size}),n=(0,o.eV)(n,{dir:"right",size:t.size}));let i=n.slice(2);i.length%2&&(i="0".concat(i));let l=i.length/2,c=new Uint8Array(l);for(let e=0,t=0;e<l;e++){let n=f(i.charCodeAt(t++)),o=f(i.charCodeAt(t++));if(void 0===n||void 0===o)throw new r.C('Invalid byte sequence ("'.concat(i[t-2]).concat(i[t-1],'" in "').concat(i,'").'));c[e]=16*n+o}return c}function g(e,t){return d((0,l.cK)(e,t))}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=c.encode(e);return"number"==typeof t.size?((0,s.Sl)(n,{size:t.size}),(0,o.eV)(n,{dir:"right",size:t.size})):n}},15693:(e,t,n)=>{n.d(t,{$5:()=>s,db:()=>o,eV:()=>i});var r=n(45403);function i(e){let{dir:t,size:n=32}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e?o(e,{dir:t,size:n}):s(e,{dir:t,size:n})}function o(e){let{dir:t,size:n=32}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===n)return e;let i=e.replace("0x","");if(i.length>2*n)throw new r.Fl({size:Math.ceil(i.length/2),targetSize:n,type:"hex"});return"0x".concat(i["right"===t?"padEnd":"padStart"](2*n,"0"))}function s(e){let{dir:t,size:n=32}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===n)return e;if(e.length>n)throw new r.Fl({size:e.length,targetSize:n,type:"bytes"});let i=new Uint8Array(n);for(let r=0;r<n;r++){let o="right"===t;i[o?r:n-r-1]=e[o?r:e.length-r-1]}return i}},18618:(e,t,n)=>{n.d(t,{lY:()=>x});var r=n(88273);let i=BigInt(0x100000000-1),o=BigInt(32);var s=n(97767);let l=[],c=[],a=[],u=BigInt(0),h=BigInt(1),f=BigInt(2),d=BigInt(7),g=BigInt(256),p=BigInt(113);for(let e=0,t=h,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],l.push(2*(5*r+n)),c.push((e+1)*(e+2)/2%64);let i=u;for(let e=0;e<7;e++)(t=(t<<h^(t>>d)*p)%g)&f&&(i^=h<<(h<<BigInt(e))-h);a.push(i)}let[v,b]=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Uint32Array(e.length),r=new
1Uint32Array(e.length);for(let s=0;s<e.length;s++){let{h:l,l:c}=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?{h:Number(e&i),l:Number(e>>o&i)}:{h:0|Number(e>>o&i),l:0|Number(e&i)}}(e[s],t);[n[s],r[s]]=[l,c]}return[n,r]}(a,!0),y=(e,t,n)=>n>32?((e,t,n)=>t<<n-32|e>>>64-n)(e,t,n):((e,t,n)=>e<<n|t>>>32-n)(e,t,n),m=(e,t,n)=>n>32?((e,t,n)=>e<<n-32|t>>>64-n)(e,t,n):((e,t,n)=>t<<n|e>>>32-n)(e,t,n);class w extends s.Vw{keccak(){s.qv||(0,s.Fc)(this.state32),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10,i=(t+2)%10,o=n[i],s=n[i+1],l=y(o,s,1)^n[r],c=m(o,s,1)^n[r+1];for(let n=0;n<50;n+=10)e[t+n]^=l,e[t+n+1]^=c}let t=e[2],i=e[3];for(let n=0;n<24;n++){let r=c[n],o=y(t,i,r),s=m(t,i,r),a=l[n];t=e[a],i=e[a+1],e[a]=o,e[a+1]=s}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=v[r],e[1]^=b[r]}n.fill(0)}(this.state32,this.rounds),s.qv||(0,s.Fc)(this.state32),this.posOut=0,this.pos=0}update(e){(0,r.CC)(this);let{blockLen:t,state:n}=this,i=(e=(0,s.ZJ)(e)).length;for(let r=0;r<i;){let o=Math.min(t-this.pos,i-r);for(let t=0;t<o;t++)n[this.pos++]^=e[r++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:n,blockLen:r}=this;e[n]^=t,(128&t)!=0&&n===r-1&&this.keccak(),e[r-1]^=128,this.keccak()}writeInto(e){(0,r.CC)(this,!1),(0,r.DO)(e),this.finish();let t=this.state,{blockLen:n}=this;for(let r=0,i=e.length;r<i;){this.posOut>=n&&this.keccak();let o=Math.min(n-this.posOut,i-r);e.set(t.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,r.Fe)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,r.Ht)(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){let{blockLen:t,suffix:n,outputLen:r,rounds:i,enableXOF:o}=this;return e||(e=new w(t,n,r,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=n,e.outputLen=r,e.enableXOF=o,e.destroyed=this.destroyed,e}constructor(e,t,n,i=!1,o=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=i,this.rounds=o,(0,r.Fe)(n),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,s.DH)(this.state)}}let x=(0,s.ld)(()=>new w(136,1,32))},35649:(e,t,n)=>{n.d(t,{q:()=>r});function r(e){let{strict:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}},35672:(e,t,n)=>{n.d(t,{B:()=>r});function r(e){let{dir:t="left"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="string"==typeof e?e.replace("0x",""):e,r=0;for(let e=0;e<n.length-1;e++)if("0"===n["left"===t?e:n.length-e-1].toString())r++;else break;return(n="left"===t?n.slice(r):n.slice(0,n.length-r),"string"==typeof e)?(1===n.length&&"right"===t&&(n="".concat(n,"0")),"0x".concat(n.length%2==1?"0".concat(n):n)):n}},43324:(e,t,n)=>{n.d(t,{S:()=>s});var r=n(18618),i=n(53360),o=n(23471);function s(e,t){let n=(0,r.lY)((0,i.q)(e,{strict:!1})?(0,o.AS)(e):e);return"bytes"===t?n:(0,o.EY)(n)}},45403:(e,t,n)=>{n.d(t,{Fl:()=>o,NV:()=>s,ii:()=>i});var r=n(45858);class i extends r.C{constructor({offset:e,position:t,size:n}){super("Slice ".concat("start"===t?"starting":"ending",' at offset "').concat(e,'" is out-of-bounds (size: ').concat(n,")."),{name:"SliceOffsetOutOfBoundsError"})}}class o extends r.C{constructor({size:e,targetSize:t,type:n}){super("".concat(n.charAt(0).toUpperCase()).concat(n.slice(1).toLowerCase()," size (").concat(e,") exceeds padding size (").concat(t,")."),{name:"SizeExceedsPaddingSizeError"})}}class s extends r.C{constructor({size:e,targetSize:t,type:n}){super("".concat(n.charAt(0).toUpperCase()).concat(n.slice(1).toLowerCase()," is expected to be ").concat(t," ").concat(n," long, but is ").concat(e," ").concat(n," long."),{name:"InvalidBytesLengthError"})}}},45858:(e,t,n)=>{n.d(t,{C:()=>s,b:()=>o});let r="2.39.0",i={getDocsUrl:e=>{let{docsBaseUrl:t,docsPath:n="",docsSlug:r}=e;return n?"".concat(null!=t?t:"https://viem.sh").concat(n).concat(r?"#".concat(r):""):void 0},version:"viem@".concat(r)};function o(e){i=e}
1class s extends Error{walk(e){return function e(t,n){return(null==n?void 0:n(t))?t:t&&"object"==typeof t&&"cause"in t&&void 0!==t.cause?e(t.cause,n):n?null:t}(this,e)}constructor(e,t={}){var n,o;let l=(()=>{var e;return t.cause instanceof s?t.cause.details:(null==(e=t.cause)?void 0:e.message)?t.cause.message:t.details})(),c=t.cause instanceof s&&t.cause.docsPath||t.docsPath,a=null==(n=i.getDocsUrl)?void 0:n.call(i,{...t,docsPath:c});super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...a?["Docs: ".concat(a)]:[],...l?["Details: ".concat(l)]:[],...i.version?["Version: ".concat(i.version)]:[]].join("\n"),t.cause?{cause:t.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=l,this.docsPath=c,this.metaMessages=t.metaMessages,this.name=null!=(o=t.name)?o:this.name,this.shortMessage=e,this.version=r}}},65076:(e,t,n)=>{n.d(t,{IQ:()=>f,ME:()=>h,Nx:()=>u,Sl:()=>l,aD:()=>c,uU:()=>a});var r=n(68994),i=n(6909),o=n(35672),s=n(10461);function l(e,t){let{size:n}=t;if((0,i.E)(e)>n)throw new r.u({givenSize:(0,i.E)(e),maxSize:n})}function c(e,t){let n="string"==typeof t?{to:t}:t,r=n.to;return"number"===r?h(e,n):"bigint"===r?a(e,n):"string"===r?f(e,n):"boolean"===r?u(e,n):(0,s.aT)(e,n)}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{signed:n}=t;t.size&&l(e,{size:t.size});let r=BigInt(e);if(!n)return r;let i=(e.length-2)/2;return r<=(1n<<8n*BigInt(i)-1n)-1n?r:r-BigInt("0x".concat("f".padStart(2*i,"f")))-1n}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;if(t.size&&(l(n,{size:t.size}),n=(0,o.B)(n)),"0x00"===(0,o.B)(n))return!1;if("0x01"===(0,o.B)(n))return!0;throw new r.H2(n)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Number(a(e,t))}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,s.aT)(e);return t.size&&(l(n,{size:t.size}),n=(0,o.B)(n,{dir:"right"})),new TextDecoder().decode(n)}},68994:(e,t,n)=>{n.d(t,{G6:()=>l,H2:()=>s,Ty:()=>i,u:()=>c,xO:()=>o});var r=n(45858);class i extends r.C{constructor({max:e,min:t,signed:n,size:r,value:i}){super('Number "'.concat(i,'" is not in safe ').concat(r?"".concat(8*r,"-bit ").concat(n?"signed":"unsigned"," "):"","integer range ").concat(e?"(".concat(t," to ").concat(e,")"):"(above ".concat(t,")")),{name:"IntegerOutOfRangeError"})}}class o extends r.C{constructor(e){super('Bytes value "'.concat(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.C{constructor(e){super('Hex value "'.concat(e,'" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).'),{name:"InvalidHexBooleanError"})}}class l extends r.C{constructor(e){super('Hex value "'.concat(e,'" is an odd length (').concat(e.length,"). It must be an even length."),{name:"InvalidHexValueError"})}}class c extends r.C{constructor({givenSize:e,maxSize:t}){super("Size cannot exceed ".concat(t," bytes. Given size: ").concat(e," bytes."),{name:"SizeOverflowError"})}}},92942:(e,t,n)=>{n.r(t),n.d(t,{getRpcClient:()=>a});var r=n(23802),i=n(8118),o=n(98864);async function s(e,t,n){var r,s,l,c,a,u,h,f,d,g;let p=await (0,o.getClientFetch)(t)(e,{body:(0,i.stringify)(n.requests),headers:{...null==(l=t.config)||null==(s=l.rpc)||null==(r=s.fetch)?void 0:r.headers,"Content-Type":"application/json"},keepalive:null==(u=t.config)||null==(a=u.rpc)||null==(c=a.fetch)?void 0:c.keepalive,method:"POST",requestTimeoutMs:null!=(g=n.requestTimeoutMs)?g:null==(d=t.config)||null==(f=d.rpc)||null==(h=f.fetch)?void 0:h.requestTimeoutMs});if(!p.ok){let e=await p.text().catch(()=>null);throw Error("RPC request failed with status ".concat(p.status," - ").concat(p.statusText,": ").concat(e||"unknown error"))}return await p.json()}async function l(e,t,n){var r,s,l,c,a,u,h,f,d,g;let p=await (0,o.getClientFetch)(t)(e,{body:(0,i.stringify)(n.request),headers:{...(null==(l=t.config)||null==(s=l.rpc)||null==(r=s.fetch)?void 0:r.headers)||{},"Content-Type":"application/json"},keepalive:null==(u=t.config)||null==(a=u.rpc)||null==(c=a.fetch)?void 0:c.keepalive,method:"POST",requestTimeoutMs:null!=(g=n.requestTimeoutMs)?g:null==(d=t.config)||null==(f=d.rpc)||null==(h=f.fetch)?void 0:h.requestTimeoutMs});if(!p.ok){let e=await p.text().catch(()=>null);throw Error("RPC request failed with status ".concat(p.status," - ").concat(p.statusText,": ").concat(e||"unknown error"))}return await p.json()}let c=new WeakMap;function a(e){let t=function(e){if(c.has(e))return c.get(e);let t=new Map;return c.set(e,t),t}(e.client),n=e.chain.rpc;if(t.has(n))return t.get(n);let o=(()=>{var t,n,o,c,a,u,h,f,d,g;let p=(0,r.r8)({chain:e.chain,client:e.client}),v=null!=(f=null!=(h=null==(t=e.config)?void 0:t.maxBatchSize)?h:null==(o=e.client.config)||null==(n=o.rpc)?void 0:n.maxBatchSize)?f:100,b=null!=(g=null!=(d=null==(c=e.config)?void 0:c.batchTimeoutMs)?d:null==(u=e.client.config)||null==(a=u.rpc)?void 0:a.batchTimeoutMs)?g:0,y=new Map,m=[],w=null;function x(){var t;w&&(clearTimeout(w),w=null);let n=Array(m.length),r=m.slice().map((e,t)=>(e.request.id=t,e.request.jsonrpc="2.0",n[t]=e.request,e));m=[],s(p,e.client,{requests:n,requestTimeoutMs:null==(t=e.config)?void 0:t.requestTimeoutMs}).then(e=>{r.forEach((t,r)=>{let o=e[r];o?o instanceof Error?t.reject(o):"error"in o?t.reject(o.error):"string"==typeof o?t.reject(Error(o)):"eth_subscription"===o.method?t.reject("Subscriptions not supported yet"):t.resolve(o.result):t.reject(Error("RPC Error from ".concat(p,":\nrequests: ").concat((0,i.stringify)(n),"\nresponses: ").concat((0,i.stringify)(e))))})}).catch(e=>{for(let t of r)t.reject(e)}).finally(()=>{y.clear()})}return 1===v?async t=>{var n;t.id=1,t.jsonrpc="2.0";let r=await l(p,e.client,{request:t,requestTimeoutMs:null==(n=e.config)?void 0:n.requestTimeoutMs});if(!r)throw Error("No response");if("error"in r)throw r.error;return r.result}:async e=>{let t,n,r="".concat(e.method,":").concat((0,i.stringify)(e.params));if(y.has(r))return y.get(r);let o=new Promise((e,r)=>{t=e,n=r});return y.set(r,o),m.push({reject:n,request:e,requestKey:r,resolve:t}),v>1?(w||(w=setTimeout(x,b)),m.length>=v&&x()):x(),o}})();return t.set(n,o),o}},99232:(e,t,n)=>{n.d(t,{PW:()=>c,Wr:()=>h,bv:()=>u,f2:()=>f,o4:()=>a});var r=n(74103),i=n(95821),o=n(43324);let s=/^0x[a-fA-F0-9]{40}$/,l=new r.A(4096);function c(e){if(l.has(e))return l.get(e);let t=s.test(e)&&(e.toLowerCase()===e||a(e)===e);return l.set(e,t),t}function a(e){let t=e.substring(2).toLowerCase(),n=(0,o.S)((0,i.Af)(t),"bytes"),r=t.split("");for(let t=0;t<40;t+=2)n[t>>1]>>4>=8&&e[t]&&(r[t]=r[t].toUpperCase()),(15&n[t>>1])>=8&&e[t+1]&&(r[t+1]=r[t+1].toUpperCase());return"0x".concat(r.join(""))}function u(e){if(!c(e))throw Error("Invalid address: ".concat(e));return a(e)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;return f(u(e),t)}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;return"".concat(e.slice(0,t+2),"...").concat(e.slice(-t))}}
vendor: 1,459 bytes, line 1
1,99443:(e,t,n)=>{n.d(t,{$P:()=>c,My:()=>a,cK:()=>u,i3:()=>f,nj:()=>l});var r=n(68994),i=n(15693),o=n(65076);let s=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"number"==typeof e||"bigint"==typeof e?u(e,t):"string"==typeof e?f(e,t):"boolean"==typeof e?c(e,t):a(e,t)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="0x".concat(Number(e));return"number"==typeof t.size?((0,o.Sl)(n,{size:t.size}),(0,i.eV)(n,{size:t.size})):n}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="";for(let t=0;t<e.length;t++)n+=s[e[t]];let r="0x".concat(n);return"number"==typeof t.size?((0,o.Sl)(r,{size:t.size}),(0,i.eV)(r,{dir:"right",size:t.size})):r}function u(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{signed:o,size:s}=n,l=BigInt(e);s?t=o?(1n<<8n*BigInt(s)-1n)-1n:2n**(8n*BigInt(s))-1n:"number"==typeof e&&(t=BigInt(Number.MAX_SAFE_INTEGER));let c="bigint"==typeof t&&o?-t-1n:0;if(t&&l>t||l<c){let n="bigint"==typeof e?"n":"";throw new r.Ty({max:t?"".concat(t).concat(n):void 0,min:"".concat(c).concat(n),signed:o,size:s,value:"".concat(e).concat(n)})}let a="0x".concat((o&&l<0?(1n<<BigInt(8*s))+BigInt(l):l).toString(16));return s?(0,i.eV)(a,{size:s}):a}let h=new TextEncoder;function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(h.encode(e),t)}}}]);
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.