PageSourceSearch

https://courtyard.io/_next/static/chunks/30ccl1k1mx28b.js

js courtyard.io collected 2026-09-25 19:19:49 UTC 3,327 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="d443b569-3fc3-c470-f1a3-053e0376bed1")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,502673,e=>{"use strict";var t=e.i(225346),a=e.i(167574),r=e.i(400327),s=e.i(317136);class n extends r.BaseError{constructor({callbackSelector:e,cause:t,data:a,extraData:r,sender:n,urls:o}){super(t.shortMessage||"An error occurred while fetching for an offchain result.",{cause:t,metaMessages:[...t.metaMessages||[],t.metaMessages?.length?"":[],"Offchain Gateway Call:",o&&["  Gateway URL(s):",...o.map(e=>`    ${(0,s.getUrl)(e)}`)],`  Sender: ${n}`,`  Data: ${a}`,`  Callback selector: ${e}`,`  Extra data: ${r}`].flat(),name:"OffchainLookupError"})}}class o extends r.BaseError{constructor({result:e,url:t}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${(0,s.getUrl)(t)}`,`Response: ${(0,a.stringify)(e)}`],name:"OffchainLookupResponseMalformedError"})}}class c extends r.BaseError{constructor({sender:e,to:t}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${t}`,`OffchainLookup sender address: ${e}`],name:"OffchainLookupSenderMismatchError"})}}var i=e.i(735722),d=e.i(693131),l=e.i(680472),u=e.i(772909),f=e.i(938353),p=e.i(129943),h=e.i(451306);let y={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function m(e,{blockNumber:a,blockTag:r,data:s,to:o}){let{args:i}=(0,d.decodeErrorResult)({data:s,abi:[y]}),[p,g,b,E,O]=i,{ccipRead:R}=e,k=R&&"function"==typeof R?.request?R.request:w;try{if(!(0,u.isAddressEqual)(o,p))throw new c({sender:p,to:o});let s=g.includes(h.localBatchGatewayUrl)?await (0,h.localBatchGatewayRequest)({data:b,ccipRequest:k}):await k({data:b,sender:p,urls:g}),{data:n}=await (0,t.call)(e,{blockNumber:a,blockTag:r,data:(0,f.concat)([E,(0,l.encodeAbiParameters)([{type:"bytes"},{type:"bytes"}],[s,O])]),to:o});return n}catch(e){throw new n({callbackSelector:E,cause:e,data:s,extraData:O,sender:p,urls:g})}}async function w({data:e,sender:t,urls:r}){let s=Error("An unknown error occurred.");for(let n=0;n<r.length;n++){let c=r[n],d=c.includes("{data}")?"GET":"POST",l="POST"===d?{data:e,sender:t}:void 0,u="POST"===d?{"Content-Type":"application/json"}:{};try{let r,n=await fetch(c.replace("{sender}",t.toLowerCase()).replace("{data}",e),{body:JSON.stringify(l),headers:u,method:d});if(r=n.headers.get("Content-Type")?.startsWith("application/json")?(await n.json()).data:await n.text(),!n.ok){s=new i.HttpRequestError({body:l,details:r?.error?(0,a.stringify)(r.error):n.statusText,headers:n.headers,status:n.status,url:c});continue}if(!(0,p.isHex)(r)){s=new o({result:r,url:c});continue}return r}catch(e){s=new i.HttpRequestError({body:l,details:e.message,url:c})}}throw s}e.s(["offchainLookup",0,m,"offchainLookupSignature",0,"0x556f1830"],502673)}]);
3
4//# debugId=d443b569-3fc3-c470-f1a3-053e0376bed1

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.