PageSourceSearch

https://thesyndicate.games/_next/static/chunks/6662.bca9bcab67462216.js

js thesyndicate.games collected 2026-10-06 19:55:11 UTC 9,441 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b40e8e95-5549-46c3-9880-8b0865d414fa",e._sentryDebugIdIdentifier="sentry-dbid-b40e8e95-5549-46c3-9880-8b0865d414fa")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6662],{36436:(e,t,a)=>{a.d(t,{h:()=>c});var n=a(43751),r=a(58325),o=a(72837),i=a(14806),s=a(28076),d=a(79175);async function c(e,t){let{account:a=e.account,chainId:c,nonce:u}=t;if(!a)throw new r.T({docsPath:"/docs/eip7702/prepareAuthorization"});let l=(0,n.J)(a),f=(()=>{if(t.executor)return"self"===t.executor?t.executor:(0,n.J)(t.executor)})(),p={address:t.contractAddress??t.address,chainId:c,nonce:u};return void 0===p.chainId&&(p.chainId=e.chain?.id??await (0,i.T)(e,s.T,"getChainId")({})),void 0===p.nonce&&(p.nonce=await (0,i.T)(e,d.y,"getTransactionCount")({address:l.address,blockTag:"pending"}),("self"===f||f?.address&&(0,o.h)(f.address,l.address))&&(p.nonce+=1)),p}},46018:(e,t,a)=>{a.d(t,{v:()=>r});var n=a(29195);function r({chain:e,currentChainId:t}){if(!e)throw new n.jF;if(t!==e.id)throw new n.EH({chain:e,currentChainId:t})}},47134:(e,t,a)=>{a.d(t,{v:()=>y});var n=a(43751),r=a(58325),o=a(53778),i=a(30095),s=a(46018),d=a(30385),c=a(72058),u=a(40589),l=a(16609),f=a(14806),p=a(26769),h=a(73104),w=a(28076),m=a(19753),v=a(20012);let g=new p.A(128);async function y(e,t){let{account:a=e.account,assertChainId:p=!0,chain:y=e.chain,accessList:b,authorizationList:C,blobs:T,data:x,dataSuffix:S="string"==typeof e.dataSuffix?e.dataSuffix:e.dataSuffix?.value,gas:E,gasPrice:I,maxFeePerBlobGas:N,maxFeePerGas:_,maxPriorityFeePerGas:M,nonce:R,type:k,value:A,...q}=t;if(void 0===a)throw new r.T({docsPath:"/docs/actions/wallet/sendTransaction"});let L=a?(0,n.J)(a):null;try{(0,h.c)(t);let a=await (async()=>t.to?t.to:null!==t.to&&C&&C.length>0?await (0,i.g)({authorization:C[0]}).catch(()=>{throw new o.C("`to` is required. Could not infer from `authorizationList`.")}):void 0)();if(L?.type==="json-rpc"||null===L){let t;null!==y&&(t=await (0,f.T)(e,w.T,"getChainId")({}),p&&(0,s.v)({currentChainId:t,chain:y}));let n=e.chain?.formatters?.transactionRequest?.format,r=(n||l.Bv)({...(0,u.o)(q,{format:n}),accessList:b,account:L,authorizationList:C,blobs:T,chainId:t,data:S?(0,d.xW)([x??"0x",S]):x,gas:E,gasPrice:I,maxFeePerBlobGas:N,maxFeePerGas:_,maxPriorityFeePerGas:M,nonce:R,to:a,type:k,value:A},"sendTransaction"),o=g.get(e.uid);try{return await e.request({method:o?"wallet_sendTransaction":"eth_sendTransaction",params:[r]},{retryCount:0})}catch(t){if(!1===o)throw t;if("InvalidInputRpcError"===t.name||"InvalidParamsRpcError"===t.name||"MethodNotFoundRpcError"===t.name||"MethodNotSupportedRpcError"===t.name)return await e.request({method:"wallet_sendTransaction",params:[r]},{retryCount:0}).then(t=>(g.set(e.uid,!0),t)).catch(a=>{if("MethodNotFoundRpcError"===a.name||"MethodNotSupportedRpcError"===a.name)throw g.set(e.uid,!1),t;throw a});throw t}}if(L?.type==="local"){let t=await (0,f.T)(e,m.ft,"prepareTransactionRequest")({account:L,accessList:b,authorizationList:C,blobs:T,chain:y,data:S?(0,d.xW)([x??"0x",S]):x,gas:E,gasPrice:I,maxFeePerBlobGas:N,maxFeePerGas:_,maxPriorityFeePerGas:M,nonce:R,nonceManager:L.nonceManager,parameters:[...m.MM,"sidecars"],type:k,value:A,...q,to:a}),n=y?.serializers?.transaction,r=await L.signTransaction(t,{serializer:n});return await (0,f.T)(e,v.L,"sendRawTransaction")({serializedTransaction:r})}if(L?.type==="smart")throw new r.Z({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"});throw new r.Z({docsPath:"/docs/actions/wallet/sendTransaction",type:L?.type})}catch(e){if(e instanceof r.Z)throw e;throw(0,c.p)(e,{...t,account:L,chain:t.chain||void 0})}}},54501:(e,t,a)=>{a.d(t,{c:()=>f});var n=a(53778);class r extends n.C{constructor(e){super(`Call bundle failed with status: ${e.statusCode}`,{name:"BundleFailedError"}),Object.defineProperty(this,"result",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.result=e}}var o=a(14806),i=a(58756),s=a(40765),d=a(54985),c=a(57820),u=a(69469),l=a(89743);async function f(e,t){let a,{id:n,pollingInterval:f=e.pollingInterval,status:h=({statusCode:e})=>200===e||e>=300,retryCount:w=4,retryDelay:m=({count:e})=>200*~~(1<<e),timeout:v=6e4,throwOnFailure:g=!1}=t,y=(0,u.A)(["waitForCallsStatus",e.uid,n]),{promise:b,resolve:C,reject:T}=(0,d.Y)(),x=(0,i.lB)(y,{resolve:C,reject:T},t=>{let i=(0,s.w)(async()=>{let s=e=>{clearTimeout(a),i(),e(),x()};try{let a=await (0,c.b)(async()=>{let t=await (0,o.T)(e,l.k,"getCallsStatus")({id:n});if(g&&"failure"===t.status)throw new r(t);return t},{retryCount:w,delay:m});if(!h(a))return;s(()=>t.resolve(a))}catch(e){s(()=>t.reject(e))}},{interval:f,emitOnBegin:!0});return i});return a=v?setTimeout(()=>{x(),clearTimeout(a),T(new p({id:n}))},v):void 0,await b}class p extends n.C{constructor({id:e}){super(`Timed out while waiting for call bundle with id "${e}" to be confirmed.`,{name:"WaitForCallsStatusTimeoutError"})}}},58325:(e,t,a)=>{a.d(t,{T:()=>r,Z:()=>o});var n=a(53778);class r extends n.C{constructor({docsPath:e}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:e,docsSlug:"account",name:"AccountNotFoundError"})}}class o extends n.C{constructor({docsPath:e,metaMessages:t,type:a}){super(`Account type "${a}" is not supported.`,{docsPath:e,metaMessages:t,name:"AccountTypeNotSupportedError"})}}},70363:(e,t,a)=>{a.d(t,{BH:()=>p,vB:()=>f,yM:()=>h});var n=a(43751),r=a(53778),o=a(71889),i=a(47015),s=a(30385),d=a(53695),c=a(73592),u=a(72058),l=a(47134);let f="0x5792579257925792579257925792579257925792579257925792579257925792",p=(0,c.cK)(0,{size:32});async function h(e,t){let{account:a=e.account,chain:h=e.chain,experimental_fallback:w,experimental_fallbackDelay:m=32,forceAtomic:v=!1,id:g,version:y="2.0.0"}=t,b=a?(0,n.J)(a):null,C=t.capabilities;
1e.dataSuffix&&!t.capabilities?.dataSuffix&&(C="string"==typeof e.dataSuffix?{...t.capabilities,dataSuffix:{value:e.dataSuffix,optional:!0}}:{...t.capabilities,dataSuffix:{value:e.dataSuffix.value,...e.dataSuffix.required?{}:{optional:!0}}});let T=t.calls.map(e=>{let t=e.abi?(0,i.p)({abi:e.abi,functionName:e.functionName,args:e.args}):e.data;return{data:e.dataSuffix&&t?(0,s.xW)([t,e.dataSuffix]):t,to:e.to,value:e.value?(0,c.cK)(e.value):void 0}});try{let t=await e.request({method:"wallet_sendCalls",params:[{atomicRequired:v,calls:T,capabilities:C,chainId:(0,c.cK)(h.id),from:b?.address,id:g,version:y}]},{retryCount:0});if("string"==typeof t)return{id:t};return t}catch(a){if(w&&("MethodNotFoundRpcError"===a.name||"MethodNotSupportedRpcError"===a.name||"UnknownRpcError"===a.name||a.details.toLowerCase().includes("does not exist / is not available")||a.details.toLowerCase().includes("missing or invalid. request()")||a.details.toLowerCase().includes("did not match any variant of untagged enum")||a.details.toLowerCase().includes("account upgraded to unsupported contract")||a.details.toLowerCase().includes("eip-7702 not supported")||a.details.toLowerCase().includes("unsupported wc_ method")||a.details.toLowerCase().includes("feature toggled misconfigured")||a.details.toLowerCase().includes("jsonrpcengine: response has no error or result for request"))){if(C&&Object.values(C).some(e=>!e.optional)){let e="non-optional `capabilities` are not supported on fallback to `eth_sendTransaction`.";throw new o.L5(new r.C(e,{details:e}))}if(v&&T.length>1){let e="`forceAtomic` is not supported on fallback to `eth_sendTransaction`.";throw new o.jz(new r.C(e,{details:e}))}let t=[];for(let a of T){let n=(0,l.v)(e,{account:b,chain:h,data:a.data,to:a.to,value:a.value?(0,d.uU)(a.value):void 0});t.push(n),m>0&&await new Promise(e=>setTimeout(e,m))}let a=await Promise.allSettled(t);if(a.every(e=>"rejected"===e.status))throw a[0].reason;let n=a.map(e=>"fulfilled"===e.status?e.value:p);return{id:(0,s.xW)([...n,(0,c.cK)(h.id,{size:32}),f])}}throw(0,u.p)(a,{...t,account:b,chain:t.chain})}}},89743:(e,t,a)=>{a.d(t,{k:()=>d});var n=a(1537),r=a(1121),o=a(53695),i=a(49096),s=a(70363);async function d(e,t){async function a(t){if(t.endsWith(s.vB.slice(2))){let a=(0,r.B)((0,n.iN)(t,-64,-32)),i=(0,n.iN)(t,0,-64).slice(2).match(/.{1,64}/g),d=await Promise.all(i.map(t=>s.BH.slice(2)!==t?e.request({method:"eth_getTransactionReceipt",params:[`0x${t}`]},{dedupe:!0}):void 0)),c=d.some(e=>null===e)?100:d.every(e=>e?.status==="0x1")?200:d.every(e=>e?.status==="0x0")?500:600;return{atomic:!1,chainId:(0,o.ME)(a),receipts:d.filter(Boolean),status:c,version:"2.0.0"}}return e.request({method:"wallet_getCallsStatus",params:[t]})}let{atomic:d=!1,chainId:c,receipts:u,version:l="2.0.0",...f}=await a(t.id),[p,h]=(()=>{let e=f.status;return e>=100&&e<200?["pending",e]:e>=200&&e<300?["success",e]:e>=300&&e<700?["failure",e]:"CONFIRMED"===e?["success",200]:"PENDING"===e?["pending",100]:[void 0,e]})();return{...f,atomic:d,chainId:c?(0,o.ME)(c):void 0,receipts:u?.map(e=>({...e,blockNumber:(0,o.uU)(e.blockNumber),gasUsed:(0,o.uU)(e.gasUsed),status:i.Lj[e.status]}))??[],statusCode:h,status:p,version:l}}}}]);
2//# sourceMappingURL=6662.bca9bcab67462216.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.