1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,606624,e=>{"use strict";let r;e.s(["uid",()=>o]);let t=256;function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]: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)}},588233,e=>{"use strict";async function r(e){return new Promise(r=>setTimeout(r,e))}e.s(["wait",()=>r])},204202,e=>{"use strict";e.s(["withRetry",()=>t]);var r=e.i(588233);function t(e){let{delay:t=100,retryCount:o=2,shouldRetry:n=()=>!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((i,s)=>{let a=async function(){let{count:c=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=async e=>{let{error:o}=e,n="function"==typeof t?t({count:c,error:o}):t;n&&await (0,r.wait)(n),a({count:c+1})};try{let r=await e();i(r)}catch(e){if(c<o&&await n({count:c,error:e}))return u({error:e});s(e)}};a()})}},588134,984534,468368,e=>{"use strict";e.s(["UrlRequiredError",()=>t],588134);var r=e.i(569934);class t extends r.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(["getHttpRpcClient",()=>a],468368);var o=e.i(1299);function n(e,r){let{errorInstance:t=Error("timed out"),timeout:o,signal:n}=r;return new Promise((r,i)=>{(async()=>{let s;try{let a=new AbortController;o>0&&(s=setTimeout(()=>{n?a.abort():i(t)},o)),r(await e({signal:(null==a?void 0:a.signal)||null}))}catch(e){(null==e?void 0:e.name)==="AbortError"&&i(t),i(e)}finally{clearTimeout(s)}})()})}e.s(["withTimeout",()=>n],984534);var i=e.i(34888);let s={current:0,take(){return this.current++},reset(){this.current=0}};function a(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{async request(t){var a,c,u,l,f;let{body:h,fetchFn:d=null!=(a=r.fetchFn)?a:fetch,onRequest:p=r.onRequest,onResponse:g=r.onResponse,timeout:b=null!=(c=r.timeout)?c:1e4}=t,y={...null!=(u=r.fetchOptions)?u:{},...null!=(l=t.fetchOptions)?l:{}},{headers:v,method:m,signal:w}=y;try{let r,t=await n(async r=>{var t,o,n;let{signal:a}=r,c={...y,body:Array.isArray(h)?(0,i.stringify)(h.map(e=>{var r;return{jsonrpc:"2.0",id:null!=(r=e.id)?r:s.take(),...e}})):(0,i.stringify)({jsonrpc:"2.0",id:null!=(t=h.id)?t:s.take(),...h}),headers:{"Content-Type":"application/json",...v},method:m||"POST",signal:w||(b>0?a:null)},u=new Request(e,c),l=null!=(o=await (null==p?void 0:p(u,c)))?o:{...c,url:e};return await d(null!=(n=l.url)?n:e,l)},{errorInstance:new o.TimeoutError({body:h,url:e}),timeout:b,signal:!0});if(g&&await g(t),null==(f=t.headers.get("Content-Type"))?void 0:f.startsWith("application/json"))r=await t.json();else{r=await t.text();try{r=JSON.parse(r||"{}")}catch(e){if(t.ok)throw e;r={error:r}}}if(!t.ok)throw new o.HttpRequestError({body:h,details:(0,i.stringify)(r.error)||t.statusText,headers:t.headers,status:t.status,url:e});return r}catch(r){if(r instanceof o.HttpRequestError||r instanceof o.TimeoutError)throw r;throw new o.HttpRequestError({body:h,cause:r,url:e})}}}}},533580,e=>{"use strict";e.s(["withDedupe",()=>t]);let r=new(e.i(976677)).LruMap(8192);function t(e,t){let{enabled:o=!0,id:n}=t;if(!o||!n)return e();if(r.get(n))return r.get(n);let i=e().finally(()=>r.delete(n));return r.set(n,i),i}},557265,e=>{"use strict";e.s(["buildRequest",()=>c]);var r=e.i(569934),t=e.i(1299),o=e.i(383856),n=e.i(675107),i=e.i(533580),s=e.i(204202),a=e.i(34888);function c(e){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return async function(u){var l;let f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{dedupe:h=!1,methods:d,retryDelay:p=150,retryCount:g=3,uid:b}={...c,...f},{method:y}=u;if((null==d||null==(l=d.exclude)?void 0:l.includes(y))||(null==d?void 0:d.include)&&!d.include.includes(y))throw new o.MethodNotSupportedRpcError(Error("method not supported"),{method:y});let v=h?(0,n.stringToHex)("".concat(b,".").concat((0,a.stringify)(u))):void 0;return(0,i.withDedupe)(()=>(0,s.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);default:if(e instanceof r.BaseError)throw e;throw new o.UnknownRpcError(e)}}},{delay:e=>{let{count:r,error:o}=e;if(o&&o instanceof t.HttpRequestError){var n;let e=null==o||null==(n=o.headers)?void 0:n.get("Retry-After");if(null==e?void 0:e.match(/\d/))return 1e3*Number.parseInt(e,10)}return~~(1<<r)*p},retryCount:g,shouldRetry:e=>{var r;let{error:n}=e;return"code"in(r=n)&&"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:h,id:v})}}},695331,e=>{"use strict";e.s(["createTransport",()=>o]);var r=e.i(557265),t=e.i(606624);function o(e,o){let{key:n,methods:i,name:s,request:a,retryCount:c=3,retryDelay:u=150,timeout:l,type:f}=e,h=(0,t.uid)();return{config:{key:n,methods:i,name:s,request:a,retryCount:c,retryDelay:u,timeout:l,type:f},request:(0,r.buildRequest)(a,{methods:i,retryCount:c,retryDelay:u,uid:h}),value:o}}},110163,e=>{"use strict";e.s(["http",()=>s]);var r=e.i(1299),t=e.i(588134),o=e.i(871706),n=e.i(468368),i=e.i(695331);function s(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{batch:a,fetchFn:c,fetchOptions:u,key:l="http",methods:f,name:h="HTTP JSON-RPC",onFetchRequest:d,onFetchResponse:p,retryDelay:g,raw:b}=s;return y=>{var v,m;let{chain:w,retryCount:E,timeout:x}=y,{batchSize:R=1e3,wait:B=0}="object"==typeof a?a:{},T=null!=(v=s.retryCount)?v:E,P=null!=(m=null!=x?x:s.timeout)?m:1e4,O=e||(null==w?void 0:w.rpcUrls.default.http[0]);if(!O)throw new t.UrlRequiredError;let U=(0,n.getHttpRpcClient)(O,{fetchFn:c,fetchOptions:u,onRequest:d,onResponse:p,timeout:P});return(0,i.createTransport)({key:l,methods:f,name:h,async request(e){let{method:t,params:n}=e,i={method:t,params:n},{schedule:s}=(0,o.createBatchScheduler)({id:O,wait:B,shouldSplitBatch:e=>e.length>R,fn:e=>U.request({body:e}),sort:(e,r)=>e.id-r.id}),c=async e=>a?s(e):[await U.request({body:e})],[{error:u,result:l}]=await c(i);if(b)return{error:u,result:l};if(u)throw new r.RpcRequestError({body:i,error:u,url:O});return l},retryCount:T,retryDelay:g,timeout:P,type:"http"},{fetchOptions:u,url:O})}}},644616,e=>{"use strict";function r(e,r){let t=e.toString(),o=t.startsWith("-");
1o&&(t=t.slice(1));let[n,i]=[(t=t.padStart(r,"0")).slice(0,t.length-r),t.slice(t.length-r)];return i=i.replace(/(0+)$/,""),"".concat(o?"-":"").concat(n||"0").concat(i?".".concat(i):"")}e.s(["formatUnits",()=>r])},467034,(e,r,t)=>{!function(){var e={675:function(e,r){"use strict";r.byteLength=function(e){var r=c(e),t=r[0],o=r[1];return(t+o)*3/4-o},r.toByteArray=function(e){var r,t,i=c(e),s=i[0],a=i[1],u=new n((s+a)*3/4-a),l=0,f=a>0?s-4:s;for(t=0;t<f;t+=4)r=o[e.charCodeAt(t)]<<18|o[e.charCodeAt(t+1)]<<12|o[e.charCodeAt(t+2)]<<6|o[e.charCodeAt(t+3)],u[l++]=r>>16&255,u[l++]=r>>8&255,u[l++]=255&r;return 2===a&&(r=o[e.charCodeAt(t)]<<2|o[e.charCodeAt(t+1)]>>4,u[l++]=255&r),1===a&&(r=o[e.charCodeAt(t)]<<10|o[e.charCodeAt(t+1)]<<4|o[e.charCodeAt(t+2)]>>2,u[l++]=r>>8&255,u[l++]=255&r),u},r.fromByteArray=function(e){for(var r,o=e.length,n=o%3,i=[],s=0,a=o-n;s<a;s+=16383)i.push(function(e,r,o){for(var n,i=[],s=r;s<o;s+=3)n=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(t[n>>18&63]+t[n>>12&63]+t[n>>6&63]+t[63&n]);return i.join("")}(e,s,s+16383>a?a:s+16383));return 1===n?i.push(t[(r=e[o-1])>>2]+t[r<<4&63]+"=="):2===n&&i.push(t[(r=(e[o-2]<<8)+e[o-1])>>10]+t[r>>4&63]+t[r<<2&63]+"="),i.join("")};for(var t=[],o=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s<a;++s)t[s]=i[s],o[i.charCodeAt(s)]=s;function c(e){var r=e.length;if(r%4>0)throw Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");-1===t&&(t=r);var o=t===r?0:4-t%4;return[t,o]}o[45]=62,o[95]=63},72:function(e,r,t){"use strict";var o=t(675),n=t(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if("number"==typeof e){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return c(e,r,t)}function c(e,r,t){if("string"==typeof e){var o=e,n=r;if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);var i=0|d(o,n),c=s(i),u=c.write(o,n);return u!==i&&(c=c.slice(0,u)),c}if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return function(e,r,t){var o;if(r<0||e.byteLength<r)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(o=void 0===r&&void 0===t?new Uint8Array(e):void 0===t?new Uint8Array(e,r):new Uint8Array(e,r,t),a.prototype),o}(e,r,t);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return a.from(l,r,t);var p=function(e){if(a.isBuffer(e)){var r=0|h(e.length),t=s(r);return 0===t.length||e.copy(t,0,0,r),t}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(p)return p;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),r,t);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),s(e<0?0:0|h(e))}function f(e){for(var r=e.length<0?0:0|h(e.length),t=s(r),o=0;o<r;o+=1)t[o]=255&e[o];return t}r.Buffer=a,r.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},r.INSPECT_MAX_BYTES=50,r.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,r,t){return c(e,r,t)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,r,t){return(u(e),e<=0)?s(e):void 0!==r?"string"==typeof t?s(e).fill(r,t):s(e).fill(r):s(e)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)};function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===t)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return T(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return O(e).length;default:if(n)return o?-1:T(e).length;r=(""+r).toLowerCase(),n=!0}}function p(e,r,t){var n,i,s,a=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===t||t>this.length)&&(t=this.length),t<=0||(t>>>=0)<=(r>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,r,t){var o=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>o)&&(t=o);for(var n="",i=r;i<t;++i)n+=I[e[i]];return n}(this,r,t);case"utf8":case"utf-8":return v(this,r,t);case"ascii":return function(e,r,t){var o="";t=Math.min(e.length,t);for(var n=r;n<t;++n)o+=String.fromCharCode(127&e[n]);return o}(this,r,t);case"latin1":case"binary":return function(e,r,t){var o="";t=Math.min(e.length,t);for(var n=r;n<t;++n)o+=String.fromCharCode(e[n]);return o}(this,r,t);case"base64":return n=this,i=r,s=t,0===i&&s===n.length?o.fromByteArray(n):o.fromByteArray(n.slice(i,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,r,t){for(var o=e.slice(r,t),n="",i=0;i<o.length;i+=2)n+=String.fromCharCode(o[i]+256*o[i+1]);return n}(this,r,t);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,r,t){var o=e[r];e[r]=e[t],e[t]=o}function b(e,r,t,o,n){var i;if(0===e.length)return -1;if("string"==typeof t?(o=t,t=0):t>0x7fffffff?t=0x7fffffff:t<-0x80000000&&(t=-0x80000000),(i=t*=1)!=i&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length)if(n)return -1;else t=e.length-1;else if(t<0)if(!n)return -1;else t=0;if("string"==typeof r&&(r=a.from(r,o)),a.isBuffer(r))return 0===r.length?-1:y(e,r,t,o,n);if("number"==typeof r){if(r&=255,"function"==typeof Uint8Array.prototype.indexOf)if(n)return Uint8Array.prototype.indexOf.call(e,r,t);else return Uint8Array.prototype.lastIndexOf.call(e,r,t);return y(e,[r],t,o,n)}throw TypeError("val must be string, number or Buffer")}function y(e,r,t,o,n){var i,s=1,a=e.length,c=r.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)
vendor: 12,545 bytes, line 1
1){if(e.length<2||r.length<2)return -1;s=2,a/=2,c/=2,t/=2}function u(e,r){return 1===s?e[r]:e.readUInt16BE(r*s)}if(n){var l=-1;for(i=t;i<a;i++)if(u(e,i)===u(r,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===c)return l*s}else -1!==l&&(i-=i-l),l=-1}else for(t+c>a&&(t=a-c),i=t;i>=0;i--){for(var f=!0,h=0;h<c;h++)if(u(e,i+h)!==u(r,h)){f=!1;break}if(f)return i}return -1}a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,r){if(A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(e)||!a.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var t=e.length,o=r.length,n=0,i=Math.min(t,o);n<i;++n)if(e[n]!==r[n]){t=e[n],o=r[n];break}return t<o?-1:+(o<t)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,r){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===r)for(t=0,r=0;t<e.length;++t)r+=e[t].length;var t,o=a.allocUnsafe(r),n=0;for(t=0;t<e.length;++t){var i=e[t];if(A(i,Uint8Array)&&(i=a.from(i)),!a.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(o,n),n+=i.length}return o},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)g(this,r,r+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)g(this,r,r+3),g(this,r+1,r+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)g(this,r,r+7),g(this,r+1,r+6),g(this,r+2,r+5),g(this,r+3,r+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(e,r,t,o,n){if(A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===r&&(r=0),void 0===t&&(t=e?e.length:0),void 0===o&&(o=0),void 0===n&&(n=this.length),r<0||t>e.length||o<0||n>this.length)throw RangeError("out of range index");if(o>=n&&r>=t)return 0;if(o>=n)return -1;if(r>=t)return 1;if(r>>>=0,t>>>=0,o>>>=0,n>>>=0,this===e)return 0;for(var i=n-o,s=t-r,c=Math.min(i,s),u=this.slice(o,n),l=e.slice(r,t),f=0;f<c;++f)if(u[f]!==l[f]){i=u[f],s=l[f];break}return i<s?-1:+(s<i)},a.prototype.includes=function(e,r,t){return -1!==this.indexOf(e,r,t)},a.prototype.indexOf=function(e,r,t){return b(this,e,r,t,!0)},a.prototype.lastIndexOf=function(e,r,t){return b(this,e,r,t,!1)};function v(e,r,t){t=Math.min(e.length,t);for(var o=[],n=r;n<t;){var i,s,a,c,u=e[n],l=null,f=u>239?4:u>223?3:u>191?2:1;if(n+f<=t)switch(f){case 1:u<128&&(l=u);break;case 2:(192&(i=e[n+1]))==128&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[n+1],s=e[n+2],(192&i)==128&&(192&s)==128&&(c=(15&u)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[n+1],s=e[n+2],a=e[n+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(c=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|1023&l),o.push(l),n+=f}var h=o,d=h.length;if(d<=4096)return String.fromCharCode.apply(String,h);for(var p="",g=0;g<d;)p+=String.fromCharCode.apply(String,h.slice(g,g+=4096));return p}function m(e,r,t){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+r>t)throw RangeError("Trying to access beyond buffer length")}function w(e,r,t,o,n,i){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<i)throw RangeError('"value" argument is out of bounds');if(t+o>e.length)throw RangeError("Index out of range")}function E(e,r,t,o,n,i){if(t+o>e.length||t<0)throw RangeError("Index out of range")}function x(e,r,t,o,i){return r*=1,t>>>=0,i||E(e,r,t,4,34028234663852886e22,-34028234663852886e22),n.write(e,r,t,o,23,4),t+4}function R(e,r,t,o,i){return r*=1,t>>>=0,i||E(e,r,t,8,17976931348623157e292,-17976931348623157e292),n.write(e,r,t,o,52,8),t+8}a.prototype.write=function(e,r,t,o){if(void 0===r)o="utf8",t=this.length,r=0;else if(void 0===t&&"string"==typeof r)o=r,t=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(t)?(t>>>=0,void 0===o&&(o="utf8")):(o=t,t=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,i,s,a,c,u,l,f,h=this.length-r;if((void 0===t||t>h)&&(t=h),e.length>0&&(t<0||r<0)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var d=!1;;)switch(o){case"hex":return function(e,r,t,o){t=Number(t)||0;var n=e.length-t;o?(o=Number(o))>n&&(o=n):o=n;var i=r.length;o>i/2&&(o=i/2);for(var s=0;s<o;++s){var a,c=parseInt(r.substr(2*s,2),16);if((a=c)!=a)break;e[t+s]=c}return s}(this,e,r,t);case"utf8":case"utf-8":return n=r,i=t,U(T(e,this.length-n),this,n,i);case"ascii":return s=r,a=t,U(P(e),this,s,a);case"latin1":case"binary":return function(e,r,t,o){return U(P(r),e,t,o)}(this,e,r,t);case"base64":return c=r,u=t,U(O(e),this,c,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=r,f=t,U(function(e,r){for(var t,o,n=[],i=0;i<e.length&&!((r-=2)<0);++i)o=(t=e.charCodeAt(i))>>8,n.push(t%256),n.push(o);return n}(e,this.length-l),this,l,f);default:if(d)throw TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),d=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,r){var t=this.length;e=~~e,r=void 0===r?t:~~r,e<0?(e+=t)<0&&(e=0):e>t&&(e=t),r<0?(r+=t)<0&&(r=0):r>t&&(r=t),r<e&&(r=e);var o=this.subarray(e,r);return Object.setPrototypeOf(o,a.prototype),o},a.prototype.readUIntLE=function(e,r,t){e>>>=0,r>>>=0,t||m(e,r,this.length);for(var o=this[e],n=1,i=0;++i<r&&(n*=256);)o+=this[e+i]*n;return o},a.prototype.readUIntBE=function(e,r,t){e>>>=0,r>>>=0,t||m(e,r,this.length);for(var o=this[e+--r],n=1;r>0&&(n*=256);)o+=this[e+--r]*n;return o},a.prototype.readUInt8=function(e,r){return e>>>=0,r||m(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,r){return e>>>=0,r||m(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,r){return e>>>=0,r||m(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,r){return e>>>=0,r||m(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUInt32BE=function(e,r){return e>>>=0,r||m(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,r,t){e>>>=0,r>>>=0,t||m(e,r,this.length);for(var o=this[e],n=1,i=0;++i<r&&(n*=256);)o+=this[e+i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*r)),o},a.prototype.readIntBE=function(e,r,t){e>>>=0,r>>>=0,t||m(e,r,this.length);for(var o=r,n=1,i=this[e+--o];o>0&&(n*=256);)i+=this[e+--o]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*r)),i},a.prototype.readInt8=function(e,r){return(e>>>=0,r||m(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,r){e>>>=0,r||m(e,2,this.length);var t=this[e]|this[e+1]<<8;return 32768&t?0xffff0000|t:t},a.prototype.readInt16BE=function(e,r){e>>>=0,r||m(e,2,this.length);var t=this[e+1]|this[e]<<8;return 32768&t?0xffff0000|t:t},a.prototype.readInt32LE=function(e,r){return e>>>=0,r||m(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,r){return e>>>=0,r||m(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,r){return e>>>=0,r||m(e,4,this.length),n.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,r){return e>>>=0,r||m(e,4,this.length),n.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,r){return e>>>=0,r||m(e,8,this.length),n.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,r){return e>>>=0,r||m(e,8,this.length),n.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,r,t,o){if(e*=1,r>>>=0,t>>>=0,!o){var n=Math.pow(2,8*t)-1;w(this,e,r,t,n,0)}var i=1,s=0;for(this[r]=255&e;++s<t&&(i*=256);)this[r+s]=e/i&255;return r+t},a.prototype.writeUIntBE=function(e,r,t,o){if(e*=1,r>>>=0,t>>>=0,!o){var n=Math.pow(2,8*t)-1;w(this,e,r,t,n,0)}var i=t-1,s=1;for(this[r+i]=255&e;--i>=0&&(s*=256);)this[r+i]=e/s&255;return r+t},a.prototype.writeUInt8=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,1,255,0),this[r]=255&e,r+1},a.prototype.writeUInt16LE=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,2,65535,0),this[r]=255&e,this[r+1]=e>>>8,r+2},a.prototype.writeUInt16BE=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=255&e,r+2},a.prototype.writeUInt32LE=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,4,0xffffffff,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=255&e,r+4},a.prototype.writeUInt32BE=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,4,0xffffffff,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=255&e,r+4},a.prototype.writeIntLE=function(e,r,t,o){if(e*=1,r>>>=0,!o){var n=Math.pow(2,8*t-1);w(this,e,r,t,n-1,-n)}var i=0,s=1,a=0;for(this[r]=255&e;++i<t&&(s*=256);)e<0&&0===a&&0!==this[r+i-1]&&(a=1),this[r+i]=(e/s|0)-a&255;return r+t},a.prototype.writeIntBE=function(e,r,t,o){if(e*=1,r>>>=0,!o){var n=Math.pow(2,8*t-1);w(this,e,r,t,n-1,-n)}var i=t-1,s=1,a=0;for(this[r+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[r+i+1]&&(a=1),this[r+i]=(e/s|0)-a&255;return r+t},a.prototype.writeInt8=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=255&e,r+1},a.prototype.writeInt16LE=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,2,32767,-32768),this[r]=255&e,this[r+1]=e>>>8,r+2},a.prototype.writeInt16BE=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=255&e,r+2},a.prototype.writeInt32LE=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,4,0x7fffffff,-0x80000000),this[r]=255&e,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4},a.prototype.writeInt32BE=function(e,r,t){return e*=1,r>>>=0,t||w(this,e,r,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=255&e,r+4},a.prototype.writeFloatLE=function(e,r,t){return x(this,e,r,!0,t)},a.prototype.writeFloatBE=function(e,r,t){return x(this,e,r,!1,t)},a.prototype.writeDoubleLE=function(e,r,t){return R(this,e,r,!0,t)},a.prototype.writeDoubleBE=function(e,r,t){return R(this,e,r,!1,t)},a.prototype.copy=function(e,r,t,o){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(t||(t=0),o||0===o||(o=this.length),r>=e.length&&(r=e.length),r||(r=0),o>0&&o<t&&(o=t),o===t||0===e.length||0===this.length)return 0;if(r<0)throw RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw RangeError("Index out of range");if(o<0)throw RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-r<o-t&&(o=e.length-r+t);var n=o-t;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,t,o);else if(this===e&&t<r&&r<o)for(var i=n-1;i>=0;--i)e[i+r]=this[i+t];else Uint8Array.prototype.set.call(e,this.subarray(t,o),r);return n},a.prototype.fill=function(e,r,t,o){if("string"==typeof e){if("string"==typeof r?(o=r,r=0,t=this.length):"string"==typeof t&&(o=t,t=this.length),void 0!==o&&"string"!=typeof o)throw TypeError("encoding must be a string");if("string"==typeof o&&!a.isEncoding(o))throw TypeError("Unknown encoding: "+o);if(1===e.length){var n,i=e.charCodeAt(0);("utf8"===o&&i<128||"latin1"===o)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(r<0||this.length<r||this.length<t)throw RangeError("Out of range index");if(t<=r)return this;if(r>>>=0,t=void 0===t?this.length:t>>>0,e||(e=0),"number"==typeof e)for(n=r;n<t;++n)this[n]=e;else{var s=a.isBuffer(e)?e:a.from(e,o),c=s.length;
1if(0===c)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<t-r;++n)this[n+r]=s[n%c]}return this};var B=/[^+/0-9A-Za-z-_]/g;function T(e,r){r=r||1/0;for(var t,o=e.length,n=null,i=[],s=0;s<o;++s){if((t=e.charCodeAt(s))>55295&&t<57344){if(!n){if(t>56319||s+1===o){(r-=3)>-1&&i.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&i.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&i.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;i.push(t)}else if(t<2048){if((r-=2)<0)break;i.push(t>>6|192,63&t|128)}else if(t<65536){if((r-=3)<0)break;i.push(t>>12|224,t>>6&63|128,63&t|128)}else if(t<1114112){if((r-=4)<0)break;i.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}else throw Error("Invalid code point")}return i}function P(e){for(var r=[],t=0;t<e.length;++t)r.push(255&e.charCodeAt(t));return r}function O(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,r,t,o){for(var n=0;n<o&&!(n+t>=r.length)&&!(n>=e.length);++n)r[n+t]=e[n];return n}function A(e,r){return e instanceof r||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===r.name}var I=function(){for(var e="0123456789abcdef",r=Array(256),t=0;t<16;++t)for(var o=16*t,n=0;n<16;++n)r[o+n]=e[t]+e[n];return r}()},783:function(e,r){r.read=function(e,r,t,o,n){var i,s,a=8*n-o-1,c=(1<<a)-1,u=c>>1,l=-7,f=t?n-1:0,h=t?-1:1,d=e[r+f];for(f+=h,i=d&(1<<-l)-1,d>>=-l,l+=a;l>0;i=256*i+e[r+f],f+=h,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=o;l>0;s=256*s+e[r+f],f+=h,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,o),i-=u}return(d?-1:1)*s*Math.pow(2,i-o)},r.write=function(e,r,t,o,n,i){var s,a,c,u=8*i-n-1,l=(1<<u)-1,f=l>>1,h=5960464477539062e-23*(23===n),d=o?0:i-1,p=o?1:-1,g=+(r<0||0===r&&1/r<0);for(isNaN(r=Math.abs(r))||r===1/0?(a=+!!isNaN(r),s=l):(s=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-s))<1&&(s--,c*=2),s+f>=1?r+=h/c:r+=h*Math.pow(2,1-f),r*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(r*c-1)*Math.pow(2,n),s+=f):(a=r*Math.pow(2,f-1)*Math.pow(2,n),s=0));n>=8;e[t+d]=255&a,d+=p,a/=256,n-=8);for(s=s<<n|a,u+=n;u>0;e[t+d]=255&s,d+=p,s/=256,u-=8);e[t+d-p]|=128*g}}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}},s=!0;try{e[r](i,i.exports,o),s=!1}finally{s&&delete t[r]}return i.exports}o.ab="/ROOT/node_modules/next/dist/compiled/buffer/",r.exports=o(72)}()},569934,e=>{"use strict";e.s(["BaseError",()=>o],569934);let r="2.38.4",t={getDocsUrl:e=>{let{docsBaseUrl:r,docsPath:t="",docsSlug:o}=e;return t?"".concat(null!=r?r:"https://viem.sh").concat(t).concat(o?"#".concat(o):""):void 0},version:"viem@".concat(r)};class o extends Error{walk(e){return function e(r,t){return(null==t?void 0:t(r))?r:r&&"object"==typeof r&&"cause"in r&&void 0!==r.cause?e(r.cause,t):t?null:r}(this,e)}constructor(e,n={}){var i,s;let a=(()=>{var e;return n.cause instanceof o?n.cause.details:(null==(e=n.cause)?void 0:e.message)?n.cause.message:n.details})(),c=n.cause instanceof o&&n.cause.docsPath||n.docsPath,u=null==(i=t.getDocsUrl)?void 0:i.call(t,{...n,docsPath:c});super([e||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...u?["Docs: ".concat(u)]:[],...a?["Details: ".concat(a)]:[],...t.version?["Version: ".concat(t.version)]:[]].join("\n"),n.cause?{cause:n.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=a,this.docsPath=c,this.metaMessages=n.metaMessages,this.name=null!=(s=n.name)?s:this.name,this.shortMessage=e,this.version=r}}},400564,e=>{"use strict";e.s(["IntegerOutOfRangeError",()=>t,"InvalidBytesBooleanError",()=>o,"InvalidHexBooleanError",()=>n,"SizeOverflowError",()=>i]);var r=e.i(569934);class t extends r.BaseError{constructor({max:e,min:r,signed:t,size:o,value:n}){super('Number "'.concat(n,'" is not in safe ').concat(o?"".concat(8*o,"-bit ").concat(t?"signed":"unsigned"," "):"","integer range ").concat(e?"(".concat(r," to ").concat(e,")"):"(above ".concat(r,")")),{name:"IntegerOutOfRangeError"})}}class o extends r.BaseError{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 n extends r.BaseError{constructor(e){super('Hex value "'.concat(e,'" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).'),{name:"InvalidHexBooleanError"})}}r.BaseError;class i extends r.BaseError{constructor({givenSize:e,maxSize:r}){super("Size cannot exceed ".concat(r," bytes. Given size: ").concat(e," bytes."),{name:"SizeOverflowError"})}}},22411,587286,e=>{"use strict";e.s(["pad",()=>i,"padHex",()=>s],22411),e.s(["InvalidBytesLengthError",()=>n,"SizeExceedsPaddingSizeError",()=>o,"SliceOffsetOutOfBoundsError",()=>t],587286);var r=e.i(569934);class t extends r.BaseError{constructor({offset:e,position:r,size:t}){super("Slice ".concat("start"===r?"starting":"ending",' at offset "').concat(e,'" is out-of-bounds (size: ').concat(t,")."),{name:"SliceOffsetOutOfBoundsError"})}}class o extends r.BaseError{constructor({size:e,targetSize:r,type:t}){super("".concat(t.charAt(0).toUpperCase()).concat(t.slice(1).toLowerCase()," size (").concat(e,") exceeds padding size (").concat(r,")."),{name:"SizeExceedsPaddingSizeError"})}}class n extends r.BaseError{constructor({size:e,targetSize:r,type:t}){super("".concat(t.charAt(0).toUpperCase()).concat(t.slice(1).toLowerCase()," is expected to be ").concat(r," ").concat(t," long, but is ").concat(e," ").concat(t," long."),{name:"InvalidBytesLengthError"})}}function i(e){let{dir:r,size:t=32}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e?s(e,{dir:r,size:t}):function(e){let{dir:r,size:t=32}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===t)return e;if(e.length>t)throw new o({size:e.length,targetSize:t,type:"bytes"});let n=new Uint8Array(t);for(let o=0;o<t;o++){let i="right"===r;n[i?o:t-o-1]=e[i?o:e.length-o-1]}return n}(e,{dir:r,size:t})}function s(e){let{dir:r,size:t=32}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===t)return e;let n=e.replace("0x","");if(n.length>2*t)throw new o({size:Math.ceil(n.length/2),targetSize:t,type:"hex"});return"0x".concat(n["right"===r?"padEnd":"padStart"](2*t,"0"))}},880841,e=>{"use strict";function r(e){let{strict:r=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!e&&"string"==typeof e&&(r?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}e.s(["isHex",()=>r])},401319,e=>{"use strict";e.s(["size",()=>t]);var r=e.i(880841);function t(e){return(0,r.isHex)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}},8406,e=>{"use strict";function r(e){let{dir:r="left"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},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="".concat(t,"0")),"0x".concat(t.length%2==1?"0".concat(t):t)):t}e.s(["trim",()=>r])},769936,e=>{"use strict";e.s(["hexToBytes",()=>l,"stringToBytes",()=>f,"toBytes",()=>a]);var r=e.i(569934),t=e.i(880841),o=e.i(22411),n=e.i(450323),i=e.i(675107);let s=new TextEncoder;function a(e){var r,s;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"number"==typeof e||"bigint"==typeof e?(r=e,s=a,l((0,i.numberToHex)(r,s))):"boolean"==typeof e?function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=new Uint8Array(1);return(t[0]=Number(e),"number"==typeof r.size)?((0,n.assertSize)(t,{size:r.size}),(0,o.pad)(t,{size:r.size})):t}(e,a):(0,t.isHex)(e)?l(e,a):f(e,a)}let c={zero:48,nine:57,A:65,F:70,a:97,f:102};function u(e){return e>=c.zero&&e<=c.nine?e-c.zero:e>=c.A&&e<=c.F?e-(c.A-10):e>=c.a&&e<=c.f?e-(c.a-10):void 0}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e;t.size&&((0,n.assertSize)(i,{size:t.size}),i=(0,o.pad)(i,{dir:"right",size:t.size}));let s=i.slice(2);s.length%2&&(s="0".concat(s));let a=s.length/2,c=new Uint8Array(a);for(let e=0,t=0;e<a;e++){let o=u(s.charCodeAt(t++)),n=u(s.charCodeAt(t++));if(void 0===o||void 0===n)throw new r.BaseError('Invalid byte sequence ("'.concat(s[t-2]).concat(s[t-1],'" in "').concat(s,'").'));c[e]=16*o+n}return c}function f(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=s.encode(e);return"number"==typeof r.size?((0,n.assertSize)(t,{size:r.size}),(0,o.pad)(t,{dir:"right",size:r.size})):t}},675107,450323,e=>{"use strict";e.s(["boolToHex",()=>d,"bytesToHex",()=>p,"numberToHex",()=>g,"stringToHex",()=>y,"toHex",()=>h],675107);var r=e.i(400564),t=e.i(22411);e.s(["assertSize",()=>s,"hexToBigInt",()=>a,"hexToBool",()=>c,"hexToNumber",()=>u,"hexToString",()=>l],450323);var o=e.i(401319),n=e.i(8406),i=e.i(769936);function s(e,t){let{size:n}=t;if((0,o.size)(e)>n)throw new r.SizeOverflowError({givenSize:(0,o.size)(e),maxSize:n})}function a(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{signed:t}=r;r.size&&s(e,{size:r.size});let o=BigInt(e);if(!t)return o;let n=(e.length-2)/2;return o<=(1n<<8n*BigInt(n)-1n)-1n?o:o-BigInt("0x".concat("f".padStart(2*n,"f")))-1n}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e;if(t.size&&(s(o,{size:t.size}),o=(0,n.trim)(o)),"0x00"===(0,n.trim)(o))return!1;if("0x01"===(0,n.trim)(o))return!0;throw new r.InvalidHexBooleanError(o)}function u(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Number(a(e,r))}function l(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=(0,i.hexToBytes)(e);return r.size&&(s(t,{size:r.size}),t=(0,n.trim)(t,{dir:"right"})),new TextDecoder().decode(t)}let f=Array.from({length:256},(e,r)=>r.toString(16).padStart(2,"0"));function h(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"number"==typeof e||"bigint"==typeof e?g(e,r):"string"==typeof e?y(e,r):"boolean"==typeof e?d(e,r):p(e,r)}function d(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="0x".concat(Number(e));return"number"==typeof r.size?(s(o,{size:r.size}),(0,t.pad)(o,{size:r.size})):o}function p(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="";for(let r=0;r<e.length;r++)o+=f[e[r]];let n="0x".concat(o);return"number"==typeof r.size?(s(n,{size:r.size}),(0,t.pad)(n,{dir:"right",size:r.size})):n}function g(e){let o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{signed:i,size:s}=n,a=BigInt(e);s?o=i?(1n<<8n*BigInt(s)-1n)-1n:2n**(8n*BigInt(s))-1n:"number"==typeof e&&(o=BigInt(Number.MAX_SAFE_INTEGER));let c="bigint"==typeof o&&i?-o-1n:0;if(o&&a>o||a<c){let t="bigint"==typeof e?"n":"";throw new r.IntegerOutOfRangeError({max:o?"".concat(o).concat(t):void 0,min:"".concat(c).concat(t),signed:i,size:s,value:"".concat(e).concat(t)})}let u="0x".concat((i&&a<0?(1n<<BigInt(8*s))+BigInt(a):a).toString(16));return s?(0,t.pad)(u,{size:s}):u}let b=new TextEncoder;function y(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p(b.encode(e),r)}},976677,e=>{"use strict";e.s(["LruMap",()=>r]);class r extends Map{get(e){let r=super.get(e);return super.has(e)&&void 0!==r&&(this.delete(e),super.set(e,r)),r}set(e,r){if(super.set(e,r),this.maxSize&&this.size>this.maxSize){let e=this.keys().next().value;e&&this.delete(e)}return this}constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}}},34888,e=>{"use strict";e.s(["stringify",()=>r]);let r=(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)},976486,855723,e=>{"use strict";e.s(["formatGwei",()=>n],976486),e.s(["etherUnits",()=>r,"gweiUnits",()=>t],855723);let r={gwei:9,wei:18},t={ether:-9,wei:9};var o=e.i(644616);function n(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wei";return(0,o.formatUnits)(e,t[r])}},363710,e=>{"use strict";e.s(["getContractAddress",()=>r,"getUrl",()=>t]);let r=e=>e,t=e=>e},383856,1299,e=>{"use strict";e.s(["AtomicReadyWalletRejectedUpgradeError",()=>j,"AtomicityNotSupportedError",()=>z,"BundleTooLargeError",()=>S,"ChainDisconnectedError",()=>P,"DuplicateIdError",()=>I,"InternalRpcError",()=>p,"InvalidInputRpcError",()=>g,"InvalidParamsRpcError",()=>d,"InvalidRequestRpcError",()=>f,"JsonRpcVersionUnsupportedError",()=>E,"LimitExceededRpcError",()=>w,"MethodNotFoundRpcError",()=>h,"MethodNotSupportedRpcError",()=>m,"ParseRpcError",()=>l,"ProviderDisconnectedError",()=>T,"ResourceNotFoundRpcError",()=>b,"ResourceUnavailableRpcError",()=>y,"SwitchChainError",()=>O,"TransactionRejectedRpcError",()=>v,"UnauthorizedProviderError",()=>R,"UnknownBundleIdError",()=>M,"UnknownRpcError",()=>C,"UnsupportedChainIdError",()=>A,"UnsupportedNonOptionalCapabilityError",()=>U,"UnsupportedProviderMethodError",()=>B,"UserRejectedRequestError",()=>x],383856);var r=e.i(569934);e.s(["HttpRequestError",()=>i,"RpcRequestError",()=>s,"TimeoutError",()=>
vendor: 7,854 bytes, line 1
1a],1299);var t=e.i(34888),o=r,n=e.i(363710);class i extends o.BaseError{constructor({body:e,cause:r,details:o,headers:i,status:s,url:a}){super("HTTP request failed.",{cause:r,details:o,metaMessages:[s&&"Status: ".concat(s),"URL: ".concat((0,n.getUrl)(a)),e&&"Request body: ".concat((0,t.stringify)(e))].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=i,this.status=s,this.url=a}}o.BaseError;class s extends o.BaseError{constructor({body:e,error:r,url:o}){super("RPC Request failed.",{cause:r,details:r.message,metaMessages:["URL: ".concat((0,n.getUrl)(o)),"Request body: ".concat((0,t.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}),this.code=r.code,this.data=r.data}}o.BaseError;class a extends o.BaseError{constructor({body:e,url:r}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:["URL: ".concat((0,n.getUrl)(r)),"Request body: ".concat((0,t.stringify)(e))],name:"TimeoutError"})}}class c extends r.BaseError{constructor(e,{code:r,docsPath:t,metaMessages:o,name:n,shortMessage:i}){super(i,{cause:e,docsPath:t,metaMessages:o||(null==e?void 0: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 s?e.code:null!=r?r:-1}}class u extends c{constructor(e,r){super(e,r),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=r.data}}class l extends c{constructor(e){super(e,{code:l.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class f extends c{constructor(e){super(e,{code:f.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class h extends c{constructor(e,{method:r}={}){super(e,{code:h.code,name:"MethodNotFoundRpcError",shortMessage:"The method".concat(r?' "'.concat(r,'"'):""," does not exist / is not available.")})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class d extends c{constructor(e){super(e,{code:d.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class p extends c{constructor(e){super(e,{code:p.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class g extends c{constructor(e){super(e,{code:g.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class b extends c{constructor(e){super(e,{code:b.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class y extends c{constructor(e){super(e,{code:y.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class v extends c{constructor(e){super(e,{code:v.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class m extends c{constructor(e,{method:r}={}){super(e,{code:m.code,name:"MethodNotSupportedRpcError",shortMessage:"Method".concat(r?' "'.concat(r,'"'):""," is not supported.")})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class w extends c{constructor(e){super(e,{code:w.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class E extends c{constructor(e){super(e,{code:E.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class x extends u{constructor(e){super(e,{code:x.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class R extends u{constructor(e){super(e,{code:R.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(R,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class B extends u{constructor(e,{method:r}={}){super(e,{code:B.code,name:"UnsupportedProviderMethodError",shortMessage:"The Provider does not support the requested method".concat(r?' " '.concat(r,'"'):"",".")})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class T extends u{constructor(e){super(e,{code:T.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class P extends u{constructor(e){super(e,{code:P.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class O extends u{constructor(e){super(e,{code:O.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class U extends u{constructor(e){super(e,{code:U.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(U,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class A extends u{constructor(e){super(e,{code:A.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class I extends u{constructor(e){super(e,{code:I.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(I,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class M extends u{constructor(e){super(e,{code:M.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(M,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class S extends u{constructor(e){super(e,{code:S.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(S,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});
1class j extends u{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 z extends u{constructor(e){super(e,{code:z.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(z,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class C extends c{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}},853532,e=>{"use strict";e.s(["ExecutionRevertedError",()=>o,"FeeCapTooHighError",()=>n,"FeeCapTooLowError",()=>i,"InsufficientFundsError",()=>u,"IntrinsicGasTooHighError",()=>l,"IntrinsicGasTooLowError",()=>f,"NonceMaxValueError",()=>c,"NonceTooHighError",()=>s,"NonceTooLowError",()=>a,"TipAboveFeeCapError",()=>d,"TransactionTypeNotSupportedError",()=>h,"UnknownNodeError",()=>p]);var r=e.i(976486),t=e.i(569934);class o extends t.BaseError{constructor({cause:e,message:r}={}){var t;let o=null==r||null==(t=r.replace("execution reverted: ",""))?void 0:t.replace("execution reverted","");super("Execution reverted ".concat(o?"with reason: ".concat(o):"for an unknown reason","."),{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(o,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(o,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class n extends t.BaseError{constructor({cause:e,maxFeePerGas:t}={}){super("The fee cap (`maxFeePerGas`".concat(t?" = ".concat((0,r.formatGwei)(t)," gwei"):"",") cannot be higher than the maximum allowed value (2^256-1)."),{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(n,"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 t.BaseError{constructor({cause:e,maxFeePerGas:t}={}){super("The fee cap (`maxFeePerGas`".concat(t?" = ".concat((0,r.formatGwei)(t)):""," 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 s extends t.BaseError{constructor({cause:e,nonce:r}={}){super("Nonce provided for the transaction ".concat(r?"(".concat(r,") "):"","is higher than the next one expected."),{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(s,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class a extends t.BaseError{constructor({cause:e,nonce:r}={}){super(["Nonce provided for the transaction ".concat(r?"(".concat(r,") "):"","is lower than the current nonce of the account."),"Try increasing the nonce or find the latest nonce with `getTransactionCount`."].join("\n"),{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class c extends t.BaseError{constructor({cause:e,nonce:r}={}){super("Nonce provided for the transaction ".concat(r?"(".concat(r,") "):"","exceeds the maximum allowed nonce."),{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class u extends t.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(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class l extends t.BaseError{constructor({cause:e,gas:r}={}){super("The amount of gas ".concat(r?"(".concat(r,") "):"","provided for the transaction exceeds the limit allowed for the block."),{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class f extends t.BaseError{constructor({cause:e,gas:r}={}){super("The amount of gas ".concat(r?"(".concat(r,") "):"","provided for the transaction is too low."),{cause:e,name:"IntrinsicGasTooLowError"})}}
1Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class h extends t.BaseError{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class d extends t.BaseError{constructor({cause:e,maxPriorityFeePerGas:t,maxFeePerGas:o}={}){super(["The provided tip (`maxPriorityFeePerGas`".concat(t?" = ".concat((0,r.formatGwei)(t)," gwei"):"",") cannot be higher than the fee cap (`maxFeePerGas`").concat(o?" = ".concat((0,r.formatGwei)(o)," gwei"):"",").")].join("\n"),{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(d,"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 p extends t.BaseError{constructor({cause:e}){super("An error occurred while executing: ".concat(null==e?void 0:e.shortMessage),{cause:e,name:"UnknownNodeError"})}}},871706,509486,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(["createBatchScheduler",()=>o],871706),e.s(["withResolvers",()=>r],509486);let t=new Map;function o(e){let{fn:o,id:n,shouldSplitBatch:i,wait:s=0,sort:a}=e,c=async()=>{let e=l();u();let r=e.map(e=>{let{args:r}=e;return r});0!==r.length&&o(r).then(r=>{a&&Array.isArray(r)&&r.sort(a);for(let t=0;t<e.length;t++){let{resolve:o}=e[t];null==o||o([r[t],r])}}).catch(r=>{for(let t=0;t<e.length;t++){let{reject:o}=e[t];null==o||o(r)}})},u=()=>t.delete(n),l=()=>t.get(n)||[],f=e=>t.set(n,[...l(),e]);return{flush:u,async schedule(e){let{promise:t,resolve:o,reject:n}=r();return((null==i?void 0:i([...l().map(e=>{let{args:r}=e;return r}),e]))&&c(),l().length>0)?f({args:e,resolve:o,reject:n}):(f({args:e,resolve:o,reject:n}),setTimeout(c,s)),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.