PageSourceSearch

https://dynamic-lebkuchen-0238db.netlify.app/static/js/2187.e0a72e10.chunk.js

js dynamic-lebkuchen-0238db.netlify.app collected 2026-10-03 10:41:38 UTC 3,018 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkico_react=self.webpackChunkico_react||[]).push([[2187],{62187:(e,a,t)=>{t.d(a,{offchainLookup:()=>k,offchainLookupSignature:()=>w});var s=t(36122),r=t(73251),n=t(51659),o=t(31479);class c extends n.C{constructor(e){var a;let{callbackSelector:t,cause:s,data:r,extraData:n,sender:c,urls:d}=e;super(s.shortMessage||"An error occurred while fetching for an offchain result.",{cause:s,metaMessages:[...s.metaMessages||[],null!==(a=s.metaMessages)&&void 0!==a&&a.length?"":[],"Offchain Gateway Call:",d&&["  Gateway URL(s):",...d.map(e=>"    ".concat((0,o.I)(e)))],"  Sender: ".concat(c),"  Data: ".concat(r),"  Callback selector: ".concat(t),"  Extra data: ".concat(n)].flat(),name:"OffchainLookupError"})}}class d extends n.C{constructor(e){let{result:a,url:t}=e;super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:["Gateway URL: ".concat((0,o.I)(t)),"Response: ".concat((0,r.A)(a))],name:"OffchainLookupResponseMalformedError"})}}class l extends n.C{constructor(e){let{sender:a,to:t}=e;super("Reverted sender address does not match target contract address (`to`).",{metaMessages:["Contract address: ".concat(t),"OffchainLookup sender address: ".concat(a)],name:"OffchainLookupSenderMismatchError"})}}var u=t(65015),i=t(58922),f=t(70759),p=t(93401),h=t(73183),y=t(6806),m=t(4564);const w="0x556f1830",b={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 k(e,a){let{blockNumber:t,blockTag:r,data:n,to:o}=a;const{args:d}=(0,i.W)({data:n,abi:[b]}),[u,y,w,k,v]=d,{ccipRead:C}=e,x=C&&"function"===typeof(null===C||void 0===C?void 0:C.request)?C.request:g;try{if(!(0,p.h)(o,u))throw new l({sender:u,to:o});const a=y.includes(m.J)?await(0,m.X)({data:w,ccipRequest:x}):await x({data:w,sender:u,urls:y}),{data:n}=await(0,s.T)(e,{blockNumber:t,blockTag:r,data:(0,h.xW)([k,(0,f.h)([{type:"bytes"},{type:"bytes"}],[a,v])]),to:o});return n}catch(O){throw new c({callbackSelector:k,cause:O,data:n,extraData:v,sender:u,urls:y})}}async function g(e){let{data:a,sender:t,urls:s}=e,n=new Error("An unknown error occurred.");for(let i=0;i<s.length;i++){const e=s[i],f=e.includes("{data}")?"GET":"POST",p="POST"===f?{data:a,sender:t}:void 0,h="POST"===f?{"Content-Type":"application/json"}:{};try{var o;const s=await fetch(e.replace("{sender}",t.toLowerCase()).replace("{data}",a),{body:JSON.stringify(p),headers:h,method:f});let l;if(l=null!==(o=s.headers.get("Content-Type"))&&void 0!==o&&o.startsWith("application/json")?(await s.json()).data:await s.text(),!s.ok){var c;n=new u.Ci({body:p,details:null!==(c=l)&&void 0!==c&&c.error?(0,r.A)(l.error):s.statusText,headers:s.headers,status:s.status,url:e});continue}if(!(0,y.q)(l)){n=new d({result:l,url:e});continue}return l}catch(l){n=new u.Ci({body:p,details:l.message,url:e})}}throw n}}}]);
2//# sourceMappingURL=2187.e0a72e10.chunk.js.map

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.