PageSourceSearch

https://dogtv.ai/_next/static/chunks/02rk2d~4wxsl4.js?dpl=7deb4a07-f440-4018-a496-d23600b16071

js dogtv.ai collected 2026-10-05 15:14:20 UTC 36,066 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,644616,e=>{"use strict";e.s(["formatUnits",0,function(e,r){let t=e.toString(),o=t.startsWith("-");o&&(t=t.slice(1));let[n,s]=[(t=t.padStart(r,"0")).slice(0,t.length-r),t.slice(t.length-r)];return s=s.replace(/(0+)$/,""),`${o?"-":""}${n||"0"}${s?`.${s}`:""}`}])},569934,e=>{"use strict";let r="2.55.1",t={getDocsUrl:({docsBaseUrl:e,docsPath:r="",docsSlug:t})=>r?`${e??"https://viem.sh"}${r}${t?`#${t}`:""}`:void 0,version:`viem@${r}`};class o extends Error{constructor(e,n={}){const s=n.cause instanceof o?n.cause.details:n.cause?.message?n.cause.message:n.details,a=n.cause instanceof o&&n.cause.docsPath||n.docsPath,i=t.getDocsUrl?.({...n,docsPath:a});super([e||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...i?[`Docs: ${i}`]:[],...s?[`Details: ${s}`]:[],...t.version?[`Version: ${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=s,this.docsPath=a,this.metaMessages=n.metaMessages,this.name=n.name??this.name,this.shortMessage=e,this.version=r}walk(e){return function e(r,t){return t?.(r)?r:r&&"object"==typeof r&&"cause"in r&&void 0!==r.cause?e(r.cause,t):t?null:r}(this,e)}}e.s(["BaseError",0,o],569934)},400564,e=>{"use strict";var r=e.i(569934);class t extends r.BaseError{constructor({max:e,min:r,signed:t,size:o,value:n}){super(`Number "${n}" is not in safe ${o?`${8*o}-bit ${t?"signed":"unsigned"} `:""}integer range ${e?`(${r} to ${e})`:`(above ${r})`}`,{name:"IntegerOutOfRangeError"})}}class o extends r.BaseError{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class n extends r.BaseError{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}r.BaseError,r.BaseError,r.BaseError,r.BaseError;class s extends r.BaseError{constructor({givenSize:e,maxSize:r}){super(`Size cannot exceed ${r} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}e.s(["IntegerOutOfRangeError",0,t,"InvalidBytesBooleanError",0,o,"InvalidHexBooleanError",0,n,"SizeOverflowError",0,s])},401319,880841,e=>{"use strict";function r(e,{strict:t=!0}={}){return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}e.s(["isHex",0,r],880841),e.s(["size",0,function(e){return r(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}],401319)},8406,e=>{"use strict";e.s(["trim",0,function(e,{dir:r="left"}={}){let t="string"==typeof e?e.replace("0x",""):e,o=0;for(let e=0;e<t.length-1;e++)if("0"===t["left"===r?e:t.length-e-1].toString())o++;else break;return(t="left"===r?t.slice(o):t.slice(0,t.length-o),"string"==typeof e)?(1===t.length&&"right"===r&&(t=`${t}0`),`0x${t.length%2==1?`0${t}`:t}`):t}])},22411,587286,e=>{"use strict";var r=e.i(569934);class t extends r.BaseError{constructor({offset:e,position:r,size:t}){super(`Slice ${"start"===r?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${t}).`,{name:"SliceOffsetOutOfBoundsError"})}}class o extends r.BaseError{constructor({size:e,targetSize:r,type:t}){super(`${t.charAt(0).toUpperCase()}${t.slice(1).toLowerCase()} size (${e}) exceeds padding size (${r}).`,{name:"SizeExceedsPaddingSizeError"})}}class n extends r.BaseError{constructor({size:e,targetSize:r,type:t}){super(`${t.charAt(0).toUpperCase()}${t.slice(1).toLowerCase()} is expected to be ${r} ${t} long, but is ${e} ${t} long.`,{name:"InvalidBytesLengthError"})}}function s(e,{dir:r,size:t=32}={}){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${n["right"===r?"padEnd":"padStart"](2*t,"0")}`}e.s(["InvalidBytesLengthError",0,n,"SizeExceedsPaddingSizeError",0,o,"SliceOffsetOutOfBoundsError",0,t],587286),e.s(["pad",0,function(e,{dir:r,size:t=32}={}){return"string"==typeof e?s(e,{dir:r,size:t}):function(e,{dir:r,size:t=32}={}){if(null===t)return e;if(e.length>t)throw new o({size:e.length,targetSize:t,type:"bytes"});let n=new Uint8Array(t);for(let o=0;o<t;o++){let s="right"===r;n[s?o:t-o-1]=e[s?o:e.length-o-1]}return n}(e,{dir:r,size:t})},"padHex",0,s],22411)},675107,e=>{"use strict";e.s(["boolToHex",()=>a,"bytesToHex",()=>i,"numberToHex",()=>c,"stringToHex",()=>d,"toHex",()=>s]);var r=e.i(400564),t=e.i(22411),o=e.i(450323);let n=Array.from({length:256},(e,r)=>r.toString(16).padStart(2,"0"));function s(e,r={}
1){return"number"==typeof e||"bigint"==typeof e?c(e,r):"string"==typeof e?d(e,r):"boolean"==typeof e?a(e,r):i(e,r)}function a(e,r={}){let n=`0x${Number(e)}`;return"number"==typeof r.size?((0,o.assertSize)(n,{size:r.size}),(0,t.pad)(n,{size:r.size})):n}function i(e,r={}){let s="";for(let r=0;r<e.length;r++)s+=n[e[r]];let a=`0x${s}`;return"number"==typeof r.size?((0,o.assertSize)(a,{size:r.size}),(0,t.pad)(a,{dir:"right",size:r.size})):a}function c(e,o={}){let n,{signed:s,size:a}=o,i=BigInt(e);a?n=s?(1n<<8n*BigInt(a)-1n)-1n:2n**(8n*BigInt(a))-1n:"number"==typeof e&&(n=BigInt(Number.MAX_SAFE_INTEGER));let u="bigint"==typeof n&&s?-n-1n:0;if(n&&i>n||i<u){let t="bigint"==typeof e?"n":"";throw new r.IntegerOutOfRangeError({max:n?`${n}${t}`:void 0,min:`${u}${t}`,signed:s,size:a,value:`${e}${t}`})}let d=`0x${(s&&i<0?(1n<<BigInt(8*a))+BigInt(i):i).toString(16)}`;return a?(0,t.pad)(d,{size:a}):d}let u=new TextEncoder;function d(e,r={}){return i(u.encode(e),r)}},769936,e=>{"use strict";e.s(["hexToBytes",()=>u,"stringToBytes",()=>d,"toBytes",()=>i]);var r=e.i(569934),t=e.i(880841),o=e.i(22411),n=e.i(450323),s=e.i(675107);let a=new TextEncoder;function i(e,r={}){var a,c;return"number"==typeof e||"bigint"==typeof e?(a=e,c=r,u((0,s.numberToHex)(a,c))):"boolean"==typeof e?function(e,r={}){let 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,r):(0,t.isHex)(e)?u(e,r):d(e,r)}function c(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function u(e,t={}){let s=e;t.size&&((0,n.assertSize)(s,{size:t.size}),s=(0,o.pad)(s,{dir:"right",size:t.size}));let a=s.slice(2);a.length%2&&(a=`0${a}`);let i=a.length/2,d=new Uint8Array(i);for(let e=0,t=0;e<i;e++){let o=c(a.charCodeAt(t++)),n=c(a.charCodeAt(t++));if(void 0===o||void 0===n)throw new r.BaseError(`Invalid byte sequence ("${a[t-2]}${a[t-1]}" in "${a}").`);d[e]=16*o+n}return d}function d(e,r={}){let t=a.encode(e);return"number"==typeof r.size?((0,n.assertSize)(t,{size:r.size}),(0,o.pad)(t,{dir:"right",size:r.size})):t}},450323,e=>{"use strict";e.s(["assertSize",()=>s,"fromHex",()=>a,"hexToBigInt",()=>i,"hexToBool",()=>c,"hexToNumber",()=>u,"hexToString",()=>d]);var r=e.i(400564),t=e.i(401319),o=e.i(8406),n=e.i(769936);function s(e,{size:o}){if((0,t.size)(e)>o)throw new r.SizeOverflowError({givenSize:(0,t.size)(e),maxSize:o})}function a(e,r){let t="string"==typeof r?{to:r}:r,o=t.to;return"number"===o?u(e,t):"bigint"===o?i(e,t):"string"===o?d(e,t):"boolean"===o?c(e,t):(0,n.hexToBytes)(e,t)}function i(e,r={}){let{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${"f".padStart(2*n,"f")}`)-1n}function c(e,t={}){let n=e;if(t.size&&(s(n,{size:t.size}),n=(0,o.trim)(n)),"0x00"===(0,o.trim)(n))return!1;if("0x01"===(0,o.trim)(n))return!0;throw new r.InvalidHexBooleanError(n)}function u(e,t={}){let o=i(e,t),n=Number(o);if(!Number.isSafeInteger(n))throw new r.IntegerOutOfRangeError({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:t.signed,size:t.size,value:`${o}n`});return n}function d(e,r={}){let t=(0,n.hexToBytes)(e);return r.size&&(s(t,{size:r.size}),t=(0,o.trim)(t,{dir:"right"})),new TextDecoder().decode(t)}},976677,e=>{"use strict";class r extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let r=super.get(e);return super.has(e)&&(super.delete(e),super.set(e,r)),r}set(e,r){if(super.has(e)&&super.delete(e),super.set(e,r),this.maxSize&&this.size>this.maxSize){let e=super.keys().next().value;void 0!==e&&super.delete(e)}return this}}e.s(["LruMap",0,r])},34888,e=>{"use strict";e.s(["stringify",0,(e,r,t)=>JSON.stringify(e,(e,t)=>{let o="bigint"==typeof t?t.toString():t;return"function"==typeof r?r(e,o):o},t)])},976486,855723,e=>{"use strict";let r={ether:-9,wei:9};e.s(["etherUnits",0,{gwei:9,wei:18},"gweiUnits",0,r,"weiUnits",0,{ether:-18,gwei:-9}],855723);var t=e.i(644616);e.s(["formatGwei",0,function(e,o="wei"){return(0,t.formatUnits)(e,r[o])}],976486)},363710,e=>{"use strict";e.s(["getAbortError",0,function(e){if(e?.reason)return e.reason;if("function"==typeof DOMException)return new DOMException("This operation was aborted","AbortError");let r=Error("This operation was aborted");return r.name="AbortError",r},"getContractAddress",0,e=>e,"getUrl",0,e=>{try{let r=new URL(e);if(!r.username&&!r.password)return e;return r.username="",r.password="",r.toString()}catch{return e}},"isAbortError",0,function(e){return"object"==typeof e&&null!==e&&"name"in e&&"AbortError"===e.name}])},853532,e=>{"use strict";var r=e.i(976486),t=e.i(569934);class o extends t.BaseError{constructor({cause:e,message:r}={}){const t=r?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${t?`with reason: ${t}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(o,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(o,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});
1class n extends t.BaseError{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(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 s extends t.BaseError{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,r.formatGwei)(t)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(s,"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 a extends t.BaseError{constructor({cause:e,nonce:r}={}){super(`Nonce provided for the transaction ${r?`(${r}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class i extends t.BaseError{constructor({cause:e,nonce:r}={}){super(`Nonce provided for the transaction ${r?`(${r}) `:""}is lower than the current nonce of the account.
2Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(i,"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 ${r?`(${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 d extends t.BaseError{constructor({cause:e,gas:r}={}){super(`The amount of gas ${r?`(${r}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class l extends t.BaseError{constructor({cause:e,gas:r}={}){super(`The amount of gas ${r?`(${r}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class p extends t.BaseError{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class h extends t.BaseError{constructor({cause:e,maxPriorityFeePerGas:t,maxFeePerGas:o}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${t?` = ${(0,r.formatGwei)(t)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${o?` = ${(0,r.formatGwei)(o)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(h,"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 b extends t.BaseError{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}e.s(["ExecutionRevertedError",0,o,"FeeCapTooHighError",0,n,"FeeCapTooLowError",0,s,"InsufficientFundsError",0,u,"IntrinsicGasTooHighError",0,d,"IntrinsicGasTooLowError",0,l,"NonceMaxValueError",0,c,"NonceTooHighError",0,a,"NonceTooLowError",0,i,"TipAboveFeeCapError",0,h,"TransactionTypeNotSupportedError",0,p,"UnknownNodeError",0,b])},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(["withResolvers",0,r],509486);let t=new Map;e.s(["createBatchScheduler",0,function({fn:e,id:o,shouldSplitBatch:n,wait:s=0,sort:
vendor: 5,447 bytes, line 2
2a}){let i=async()=>{let r=u();c();let t=r.map(({args:e})=>e);0!==t.length&&e(t).then(e=>{a&&Array.isArray(e)&&e.sort(a);for(let t=0;t<r.length;t++){let{resolve:o}=r[t];o?.([e[t],e])}}).catch(e=>{for(let t=0;t<r.length;t++){let{reject:o}=r[t];o?.(e)}})},c=()=>t.delete(o),u=()=>t.get(o)||[],d=e=>t.set(o,[...u(),e]);return{flush:c,async schedule(e){let{promise:t,resolve:o,reject:a}=r();return(n?.([...u().map(({args:e})=>e),e])&&i(),u().length>0)?d({args:e,resolve:o,reject:a}):(d({args:e,resolve:o,reject:a}),setTimeout(i,s)),t}}}],871706)},1299,e=>{"use strict";var r=e.i(34888),t=e.i(569934),o=e.i(363710);class n extends t.BaseError{constructor({body:e,cause:t,details:n,headers:s,status:a,url:i}){super("HTTP request failed.",{cause:t,details:n,metaMessages:[a&&`Status: ${a}`,`URL: ${(0,o.getUrl)(i)}`,e&&`Request body: ${(0,r.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=s,this.status=a,this.url=i}}class s extends t.BaseError{constructor({maxSize:e,size:r}){super("HTTP response body exceeded the size limit.",{metaMessages:[`Max: ${e} bytes`,`Received: ${r} bytes`],name:"ResponseBodyTooLargeError"}),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e,this.size=r}}t.BaseError;class a extends t.BaseError{constructor({body:e,error:t,url:n}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,o.getUrl)(n)}`,`Request body: ${(0,r.stringify)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code,this.data=t.data,this.url=n}}t.BaseError;class i extends t.BaseError{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,o.getUrl)(t)}`,`Request body: ${(0,r.stringify)(e)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=t}}e.s(["HttpRequestError",0,n,"ResponseBodyTooLargeError",0,s,"RpcRequestError",0,a,"TimeoutError",0,i])},383856,588233,e=>{"use strict";var r=e.i(569934),t=e.i(1299);class o extends r.BaseError{constructor(e,{code:r,docsPath:o,metaMessages:n,name:s,shortMessage:a}){super(a,{cause:e,docsPath:o,metaMessages:n||e?.metaMessages,name:s||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=s||e.name,this.code=e instanceof t.RpcRequestError?e.code:r??-1}}class n 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 s extends o{constructor(e){super(e,{code:s.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class a extends o{constructor(e){super(e,{code:a.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class i extends o{constructor(e,{method:r}={}){super(e,{code:i.code,name:"MethodNotFoundRpcError",shortMessage:`The method${r?` "${r}"`:""} does not exist / is not available.`})}}Object.defineProperty(i,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class c extends o{constructor(e){super(e,{code:c.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class u extends o{constructor(e){super(e,{code:u.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class d extends o{constructor(e){super(e,{code:d.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class l extends o{constructor(e){super(e,{code:l.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class p extends o{constructor(e){super(e,{code:p.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});
2class h extends o{constructor(e){super(e,{code:h.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class b extends o{constructor(e,{method:r}={}){super(e,{code:b.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${r?` "${r}"`:""} is not supported.`})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class f extends o{constructor(e){super(e,{code:f.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class g extends o{constructor(e){super(e,{code:g.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class m extends n{constructor(e){super(e,{code:m.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class w extends n{constructor(e){super(e,{code:w.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class E extends n{constructor(e,{method:r}={}){super(e,{code:E.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${r?` " ${r}"`:""}.`})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class v extends n{constructor(e){super(e,{code:v.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class y extends n{constructor(e){super(e,{code:y.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class x extends n{constructor(e){super(e,{code:x.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class R extends n{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 T extends n{constructor(e){super(e,{code:T.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class P extends n{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 $ extends n{constructor(e){super(e,{code:$.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty($,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class O extends n{constructor(e){super(e,{code:O.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class M extends n{constructor(e){super(e,{code:M.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(M,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750});class S extends n{constructor(e){super(e,{code:S.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(S,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class B extends n{constructor(e){super(e,{code:B.code,name:"WalletConnectSessionSettlementError",shortMessage:"WalletConnect session settlement failed."})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:7e3}),e.s(["AtomicReadyWalletRejectedUpgradeError",0,M,"AtomicityNotSupportedError",0,S,"BundleTooLargeError",0,O,"ChainDisconnectedError",0,y,"DuplicateIdError",0,P,"InternalRpcError",0,u,"InvalidInputRpcError",0,d,"InvalidParamsRpcError",0,c,"InvalidRequestRpcError",0,a,"JsonRpcVersionUnsupportedError",0,g,"LimitExceededRpcError",0,f,"MethodNotFoundRpcError",0,i,"MethodNotSupportedRpcError",0,b,"ParseRpcError",0,s,"ProviderDisconnectedError",0,v,"ResourceNotFoundRpcError",0,l,"ResourceUnavailableRpcError",0,p,"SwitchChainError",0,x,"TransactionRejectedRpcError",0,h,"UnauthorizedProviderError",0,w,"UnknownBundleIdError",0,$,"UnknownRpcError",0,class extends o{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}},"UnsupportedChainIdError",0,T,"UnsupportedNonOptionalCapabilityError",0,R,"UnsupportedProviderMethodError",0,E,"UserRejectedRequestError",0,m,"WalletConnectSessionSettlementError",0,B],383856);var j=e.i(363710);async function z(e,{signal:r}={}){return new Promise((t,o)=>{if(r?.aborted)return void o((0,j.getAbortError)(r));let n=()=>r?.removeEventListener("abort",a),s=setTimeout(()=>{n(),t()},e),a=()=>{clearTimeout(s),n(),o((0,j.getAbortError)(r))};r?.addEventListener("abort",a,{once:!0})})}e.s(["wait",0,z],588233)},204202,e=>{"use strict";var r=e.i(363710),t=e.i(588233);
2e.s(["withRetry",0,function(e,{delay:o=100,retryCount:n=2,shouldRetry:s=()=>!0,signal:a}={}){return new Promise((i,c)=>{let u=async({count:d=0}={})=>{if(a?.aborted)return void c((0,r.getAbortError)(a));let l=async({error:e})=>{let r="function"==typeof o?o({count:d,error:e}):o;if(r)try{await (0,t.wait)(r,{signal:a})}catch(e){c(e);return}u({count:d+1})};try{let r=await e();i(r)}catch(e){if(a?.aborted)return void c((0,r.getAbortError)(a));if((0,r.isAbortError)(e))return void c(e);if(d<n&&await s({count:d,error:e}))return l({error:e});c(e)}};u()})}])},606624,e=>{"use strict";let r,t=256;e.s(["uid",0,function(e=11){if(!r||t+e>512){r="",t=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(t,t+++e)}])},533580,e=>{"use strict";let r=new(e.i(976677)).LruMap(8192);e.s(["withDedupe",0,function(e,{enabled:t=!0,id:o}){if(!t||!o)return e();if(r.get(o))return r.get(o);let n=e().finally(()=>r.delete(o));return r.set(o,n),n}])},557265,e=>{"use strict";var r=e.i(569934),t=e.i(1299),o=e.i(383856),n=e.i(363710),s=e.i(533580),a=e.i(204202),i=e.i(34888);e.s(["buildRequest",0,function(e,c={}){return async(u,d={})=>{let{dedupe:l=!1,methods:p,retryDelay:h=150,retryCount:b=3,signal:f,uid:g}={...c,...d},{method:m}=u;if(p?.exclude?.includes(m)||p?.include&&!p.include.includes(m))throw new o.MethodNotSupportedRpcError(Error("method not supported"),{method:m});if(f?.aborted)throw(0,n.getAbortError)(f);let w=l?function(e,r=0){let t=0xdeadbeef^r,o=0x41c6ce57^r;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);t=Math.imul(t^n,0x9e3779b1),o=Math.imul(o^n,0x5f356495)}return t=Math.imul(t^t>>>16,0x85ebca6b)^Math.imul(o^o>>>16,0xc2b2ae35),(0x100000000*(2097151&(o=Math.imul(o^o>>>16,0x85ebca6b)^Math.imul(t^t>>>16,0xc2b2ae35)))+(t>>>0)).toString(36)}(`${g}.${(0,i.stringify)(u)}`):void 0;return(0,s.withDedupe)(()=>(0,a.withRetry)(async()=>{try{return await e(u,f?{signal:f}:void 0)}catch(e){if(f?.aborted)throw(0,n.getAbortError)(f);if((0,n.isAbortError)(e))throw e;switch(e.code){case o.ParseRpcError.code:throw new o.ParseRpcError(e);case o.InvalidRequestRpcError.code:throw new o.InvalidRequestRpcError(e);case o.MethodNotFoundRpcError.code:throw new o.MethodNotFoundRpcError(e,{method:u.method});case o.InvalidParamsRpcError.code:throw new o.InvalidParamsRpcError(e);case o.InternalRpcError.code:throw new o.InternalRpcError(e);case o.InvalidInputRpcError.code:throw new o.InvalidInputRpcError(e);case o.ResourceNotFoundRpcError.code:throw new o.ResourceNotFoundRpcError(e);case o.ResourceUnavailableRpcError.code:throw new o.ResourceUnavailableRpcError(e);case o.TransactionRejectedRpcError.code:throw new o.TransactionRejectedRpcError(e);case o.MethodNotSupportedRpcError.code:throw new o.MethodNotSupportedRpcError(e,{method:u.method});case o.LimitExceededRpcError.code:throw new o.LimitExceededRpcError(e);case o.JsonRpcVersionUnsupportedError.code:throw new o.JsonRpcVersionUnsupportedError(e);case o.UserRejectedRequestError.code:throw new o.UserRejectedRequestError(e);case o.UnauthorizedProviderError.code:throw new o.UnauthorizedProviderError(e);case o.UnsupportedProviderMethodError.code:throw new o.UnsupportedProviderMethodError(e);case o.ProviderDisconnectedError.code:throw new o.ProviderDisconnectedError(e);case o.ChainDisconnectedError.code:throw new o.ChainDisconnectedError(e);case o.SwitchChainError.code:throw new o.SwitchChainError(e);case o.UnsupportedNonOptionalCapabilityError.code:throw new o.UnsupportedNonOptionalCapabilityError(e);case o.UnsupportedChainIdError.code:throw new o.UnsupportedChainIdError(e);case o.DuplicateIdError.code:throw new o.DuplicateIdError(e);case o.UnknownBundleIdError.code:throw new o.UnknownBundleIdError(e);case o.BundleTooLargeError.code:throw new o.BundleTooLargeError(e);case o.AtomicReadyWalletRejectedUpgradeError.code:throw new o.AtomicReadyWalletRejectedUpgradeError(e);case o.AtomicityNotSupportedError.code:throw new o.AtomicityNotSupportedError(e);case 5e3:throw new o.UserRejectedRequestError(e);case o.WalletConnectSessionSettlementError.code:throw new o.WalletConnectSessionSettlementError(e);default:if(e instanceof r.BaseError)throw e;throw new o.UnknownRpcError(e)}}},{delay:({count:e,error:r})=>{if(r&&r instanceof t.HttpRequestError){let e=r?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e,10)}return~~(1<<e)*h},retryCount:b,signal:f,shouldRetry:({error:e})=>{var r;return r=e,!(0,n.isAbortError)(r)&&("code"in r&&"number"==typeof r.code?-1===r.code||r.code===o.LimitExceededRpcError.code||r.code===o.InternalRpcError.code||429===r.code:!(r instanceof t.HttpRequestError)||!r.status||403===r.status||408===r.status||413===r.status||429===r.status||500===r.status||502===r.status||503===r.status||504===r.status||!1)}}),{enabled:l,id:w})}}])},695331,e=>{"use strict";var r=e.i(557265),t=e.i(606624);e.s(["createTransport",0,function({key:e,methods:o,name:n,request:s,retryCount:a=3,retryDelay:i=150,timeout:c,type:u},d){let l=(0,t.uid)();return{config:{key:e,methods:o,name:n,request:s,retryCount:a,retryDelay:i,timeout:c,type:u},request:(0,r.buildRequest)(s,{methods:o,retryCount:a,retryDelay:i,uid:l}),value:d}}])},984534,e=>{"use strict";var r=e.i(363710);e.s(["withTimeout",0,function(e,{errorInstance:t=Error("timed out"),timeout:o,signal:n}){return new Promise((s,a)=>{(async()=>{let i,c=new AbortController;try{o>0&&(i=setTimeout(()=>{n?c.abort():a(t)},o)),s(await e({signal:c?.signal||null}))}catch(e){if(c?.signal.aborted&&(0,r.isAbortError)(e))return void a(t);a(e)}finally{clearTimeout(i)}})()})}])}
2,588134,e=>{"use strict";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(["UrlRequiredError",0,t])},468368,e=>{"use strict";var r=e.i(1299),t=e.i(363710),o=e.i(984534),n=e.i(34888);let s={current:0,take(){return this.current++},reset(){this.current=0}};async function a(e,{maxResponseBodySize:t}){if(!1===t)return e.text();let o=e.headers.get("Content-Length");if(o){let e=Number(o);if(e>t)throw new r.ResponseBodyTooLargeError({maxSize:t,size:e})}if(!e.body){let o=await e.text(),n=new TextEncoder().encode(o).length;if(n>t)throw new r.ResponseBodyTooLargeError({maxSize:t,size:n});return o}let n=e.body.getReader(),s=new TextDecoder,i="",c=0;try{for(;;){let{done:e,value:o}=await n.read();if(e)break;if((c+=o.byteLength)>t)throw await n.cancel(),new r.ResponseBodyTooLargeError({maxSize:t,size:c});i+=s.decode(o,{stream:!0})}return i+=s.decode()}finally{n.releaseLock()}}e.s(["getHttpRpcClient",0,function(e,i={}){let{url:c,headers:u}=function(e){try{let r=new URL(e),t=(()=>{if(r.username){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;return r.username="",r.password="",{url:r.toString(),headers:{Authorization:`Basic ${btoa(e)}`}}}})();return{url:r.toString(),...t}}catch{return{url:e}}}(e);return{async request(e){let{body:d,fetchFn:l=i.fetchFn??fetch,maxResponseBodySize:p=i.maxResponseBodySize??0xa00000,onRequest:h=i.onRequest,onResponse:b=i.onResponse,timeout:f=i.timeout??1e4}=e,g={...i.fetchOptions??{},...e.fetchOptions??{}},{headers:m,method:w,signal:E}=g;try{let e,t=await (0,o.withTimeout)(async({signal:e})=>{let r={...g,body:Array.isArray(d)?(0,n.stringify)(d.map(e=>({jsonrpc:"2.0",id:e.id??s.take(),...e}))):(0,n.stringify)({jsonrpc:"2.0",id:d.id??s.take(),...d}),headers:{...u,"Content-Type":"application/json",...m},method:w||"POST",signal:E||(f>0?e:null)},t=new Request(c,r),o=await h?.(t,r)??{...r,url:c};return await l(o.url??c,o)},{errorInstance:new r.TimeoutError({body:d,url:c}),timeout:f,signal:!0});b&&await b(t);let i=await a(t,{maxResponseBodySize:p});if(t.headers.get("Content-Type")?.startsWith("application/json"))e=JSON.parse(i);else{e=i;try{e=JSON.parse(e||"{}")}catch(r){if(t.ok)throw r;e={error:e}}}if(!t.ok){if("number"==typeof e.error?.code&&"string"==typeof e.error?.message)return e;throw new r.HttpRequestError({body:d,details:(0,n.stringify)(e.error)||t.statusText,headers:t.headers,status:t.status,url:c})}return e}catch(e){if(E?.aborted)throw(0,t.getAbortError)(E);if((0,t.isAbortError)(e)||e instanceof r.HttpRequestError||e instanceof r.ResponseBodyTooLargeError||e instanceof r.TimeoutError)throw e;throw new r.HttpRequestError({body:d,cause:e,url:c})}}}}],468368)},110163,e=>{"use strict";var r=e.i(1299),t=e.i(588134),o=e.i(871706),n=e.i(468368),s=e.i(695331);let a=0,i=new WeakMap;e.s(["http",0,function(e,c={}){let{batch:u,fetchFn:d,fetchOptions:l,key:p="http",maxResponseBodySize:h,methods:b,name:f="HTTP JSON-RPC",onFetchRequest:g,onFetchResponse:m,retryDelay:w,raw:E}=c;return({chain:v,retryCount:y,timeout:x})=>{let{batchSize:R=1e3,wait:T=0}="object"==typeof u?u:{},P=c.retryCount??y,$=x??c.timeout??1e4,O=e||v?.rpcUrls.default.http[0];if(!O)throw new t.UrlRequiredError;let M=(0,n.getHttpRpcClient)(O,{fetchFn:d,fetchOptions:l,maxResponseBodySize:h,onRequest:g,onResponse:m,timeout:$});return(0,s.createTransport)({key:p,methods:b,name:f,async request({method:e,params:t},n){let s={method:e,params:t},c=n?.signal?{signal:n.signal}:void 0,{schedule:d}=(0,o.createBatchScheduler)({id:`${O}.${function(e){if(!e)return"default";let r=i.get(e);if(void 0!==r)return r;let t=a++;return i.set(e,t),t}(n?.signal)}`,wait:T,shouldSplitBatch:e=>e.length>R,fn:e=>M.request({body:e,fetchOptions:c}),sort:(e,r)=>e.id-r.id}),l=async e=>u?d(e):[await M.request({body:e,fetchOptions:c})],[{error:p,result:h}]=await l(s);if(E)return{error:p,result:h};if(p)throw new r.RpcRequestError({body:s,error:p,url:O});return h},retryCount:P,retryDelay:w,timeout:$,type:"http"},{fetchOptions:l,url:O})}}])}]);

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.