PageSourceSearch

https://daybyday.io/_next/static/chunks/2420-8f1a07bb3d440eb9.js

js daybyday.io collected 2026-09-26 10:31:47 UTC 8,731 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e4465446-1dd6-4fbe-b767-8912921676c0",t._sentryDebugIdIdentifier="sentry-dbid-e4465446-1dd6-4fbe-b767-8912921676c0")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2420],{2631:(t,e,a)=>{a.d(e,{F:()=>s});var n=a(97152),r=a(34561);async function s(t,e={}){let{account:a=t.account,chainId:i}=e,o=a?(0,n.J)(a):void 0,c=i?[o?.address,[(0,r.cK)(i)]]:[o?.address],u=await t.request({method:"wallet_getCapabilities",params:c}),d={};for(let[t,e]of Object.entries(u))for(let[a,n]of(d[Number(t)]={},Object.entries(e)))"addSubAccount"===a&&(a="unstable_addSubAccount"),d[Number(t)][a]=n;return"number"==typeof i?d[i]:d}},9706:(t,e,a)=>{a.d(e,{W:()=>l});var n=a(97152),r=a(64664),s=a(26767),i=a(34561),o=a(74750),c=a(72757),u=a(58623),d=a(35471);async function l(t,e){let{account:a=t.account,chain:l=t.chain,...h}=e;if(!a)throw new r.T({docsPath:"/docs/actions/wallet/signTransaction"});let w=(0,n.J)(a);(0,u.c)({account:w,...e});let f=await (0,c.T)(t,d.T,"getChainId")({});null!==l&&(0,s.v)({currentChainId:f,chain:l});let p=l?.formatters||t.chain?.formatters,y=p?.transactionRequest?.format||o.Bv;return w.signTransaction?w.signTransaction({...h,chainId:f},{serializer:t.chain?.serializers?.transaction}):await t.request({method:"eth_signTransaction",params:[{...y({...h,account:w},"signTransaction"),chainId:(0,i.cK)(f),from:w.address}]},{retryCount:0})}},9821:(t,e,a)=>{a.d(e,{B:()=>i});var n=a(72757),r=a(55794),s=a(34192);async function i(t,e){let{chain:a=t.chain}=e,i=e.timeout??Math.max((a?.blockTime??0)*3,5e3),o=await (0,n.T)(t,r.yM,"sendCalls")(e);return await (0,n.T)(t,s.c,"waitForCallsStatus")({...e,id:o.id,timeout:i})}},12478:(t,e,a)=>{a.d(e,{w:()=>n});async function n(t,e){return await t.request({method:"wallet_watchAsset",params:e},{retryCount:0})}},12768:(t,e,a)=>{a.d(e,{D:()=>k});var n=a(47666),r=a(35471),s=a(34561);async function i(t,{chain:e}){let{id:a,name:n,nativeCurrency:r,rpcUrls:i,blockExplorers:o}=e;await t.request({method:"wallet_addEthereumChain",params:[{chainId:(0,s.cK)(a),chainName:n,nativeCurrency:r,rpcUrls:i.default.http,blockExplorerUrls:o?Object.values(o).map(({url:t})=>t):void 0}]},{dedupe:!0,retryCount:0})}var o=a(95994),c=a(77608);async function u(t){return t.account?.type==="local"?[t.account.address]:(await t.request({method:"eth_accounts"},{dedupe:!0})).map(t=>(0,c.o)(t))}var d=a(81128),l=a(2631);async function h(t){return await t.request({method:"wallet_getPermissions"},{dedupe:!0})}var w=a(7799),f=a(31063);async function p(t){return(await t.request({method:"eth_requestAccounts"},{dedupe:!0,retryCount:0})).map(t=>(0,c.b)(t))}async function y(t,e){return t.request({method:"wallet_requestPermissions",params:[e]},{retryCount:0})}var m=a(55794),T=a(9821),g=a(72707),C=a(96176),v=a(37219),b=a(53072),_=a(95418),q=a(97152),S=a(64664);async function A(t,e){let{account:a=t.account}=e;if(!a)throw new S.T({docsPath:"/docs/eip7702/signAuthorization"});let n=(0,q.J)(a);if(!n.signAuthorization)throw new S.Z({docsPath:"/docs/eip7702/signAuthorization",metaMessages:["The `signAuthorization` Action does not support JSON-RPC Accounts."],type:n.type});let r=await (0,w.h)(t,e);return n.signAuthorization(r)}var I=a(36369),R=a(9706),E=a(81958);async function M(t,{id:e}){await t.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.cK)(e)}]},{retryCount:0})}var P=a(34192),z=a(12478),D=a(66576);async function x(t,e){return D.E.internal(t,b.U,"sendTransactionSync",e)}function k(t){return{addChain:e=>i(t,e),deployContract:e=>(0,o.c)(t,e),fillTransaction:e=>(0,n.a)(t,e),getAddresses:()=>u(t),getCallsStatus:e=>(0,d.k)(t,e),getCapabilities:e=>(0,l.F)(t,e),getChainId:()=>(0,r.T)(t),getPermissions:()=>h(t),prepareAuthorization:e=>(0,w.h)(t,e),prepareTransactionRequest:e=>(0,f.ft)(t,e),requestAddresses:()=>p(t),requestPermissions:e=>y(t,e),sendCalls:e=>(0,m.yM)(t,e),sendCallsSync:e=>(0,T.B)(t,e),sendRawTransaction:e=>(0,g.L)(t,e),sendRawTransactionSync:e=>(0,C.s)(t,e),sendTransaction:e=>(0,v.v)(t,e),sendTransactionSync:e=>(0,b.U)(t,e),showCallsStatus:e=>(0,_.J)(t,e),signAuthorization:e=>A(t,e),signMessage:e=>(0,I.l)(t,e),signTransaction:e=>(0,R.W)(t,e),signTypedData:e=>(0,E.C)(t,e),switchChain:e=>M(t,e),waitForCallsStatus:e=>(0,P.c)(t,e),watchAsset:e=>(0,z.w)(t,e),writeContract:e=>(0,D.E)(t,e),writeContractSync:e=>x(t,e)}}},53072:(t,e,a)=>{a.d(e,{U:()=>v});var n=a(97152),r=a(64664),s=a(13933),i=a(50879),o=a(13414),c=a(26767),u=a(40290),d=a(60655),l=a(44332),h=a(74750),w=a(72757),f=a(20390),p=a(58623),y=a(35471),m=a(52497),T=a(31063),g=a(96176);let C=new f.A(128);async function v(t,e){let{account:a=t.account,assertChainId:f=!0,chain:v=t.chain,accessList:b,authorizationList:_,blobs:q,data:S,dataSuffix:A="string"==typeof t.dataSuffix?t.dataSuffix:t.dataSuffix?.value,gas:I,gasPrice:R,maxFeePerBlobGas:E,maxFeePerGas:M,maxPriorityFeePerGas:P,nonce:z,pollingInterval:D,throwOnReceiptRevert:x,type:k,value:N,...F}=e,J=e.timeout??Math.max((v?.blockTime??0)*3,5e3);if(void 0===a)throw new r.T({docsPath:"/docs/actions/wallet/sendTransactionSync"});let U=a?(0,n.J)(a):null;try{(0,p.c)(e);let a=await (async()=>e.to?e.to:null!==e.to&&_&&_.length>0?await (0,o.g)({authorization:_[0]}).catch(()=>{throw new s.C("`to` is required. Could not infer from `authorizationList`.")}):void 0)();if(U?.type==="json-rpc"||null===U){let e;null!==v&&(e=await (0,w.T)(t,y.T,"getChainId")({}),f&&(0,c.v)({currentChainId:e,chain:v}));let n=t.chain?.formatters?.transactionRequest?.format,r=(n||h.Bv)({...(0,l.o)(F,{format:n}),accessList:b,account:U,authorizationList:_,blobs:q,chainId:e,data:S?(0,u.xW)([S,A??"0x"]):S,gas:I,gasPrice:R,maxFeePerBlobGas:E,maxFeePerGas:M,maxPriorityFeePerGas:P,nonce:z,to:a,type:k,value:N},"sendTransaction"),s=C.get(t.uid),o=s?"wallet_sendTransaction":"eth_sendTransaction",d=await (async()=>{try{return await t.request({method:o,params:[r]},{retryCount:0})}catch(e){if(!1===s)throw e;if("InvalidInputRpcError"===e.name||"InvalidParamsRpcError"===e.name||"MethodNotFoundRpcError"===e.name||"MethodNotSupportedRpcError"===e.name)return await t.request({method:"wallet_sendTransaction",params:[r]},{retryCount:0}).then(e=>(C.set(t.uid,!0),e)).catch(a=>{if("MethodNotFoundRpcError"===a.name||"MethodNotSupportedRpcError"===a.name)throw C.set(t.uid,!1),e;throw a});throw e}})(),p=await (0,w.T)(t,m.n,"waitForTransactionReceipt")({checkReplacement:!1,hash:d,pollingInterval:D,timeout:J});if(x&&"reverted"===p.status)throw new i.Sq({receipt:p});return p}if(U?.type==="local"){let n=await (0,w.T)(t,T.ft,"prepareTransactionRequest")({account:U,accessList:b,authorizationList:_,blobs:q,chain:v,data:S?(0,u.xW)([S,A??"0x"]):S,gas:I,gasPrice:R,maxFeePerBlobGas:E,maxFeePerGas:M,maxPriorityFeePerGas:P,nonce:z,nonceManager:U.nonceManager,parameters:[...T.MM,"sidecars"],type:k,value:N,...F,to:a}
1),r=v?.serializers?.transaction,s=await U.signTransaction(n,{serializer:r});return await (0,w.T)(t,g.s,"sendRawTransactionSync")({serializedTransaction:s,throwOnReceiptRevert:x,timeout:e.timeout})}if(U?.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/sendTransactionSync",type:U?.type})}catch(t){if(t instanceof r.Z)throw t;throw(0,d.p)(t,{...e,account:U,chain:e.chain||void 0})}}},62420:(t,e,a)=>{a.d(e,{F:()=>s});var n=a(95089),r=a(12768);function s(t){let{key:e="wallet",name:a="Wallet Client",transport:s}=t;return(0,n.U)({...t,key:e,name:a,transport:s,type:"walletClient"}).extend(r.D)}},81958:(t,e,a)=>{a.d(e,{C:()=>i});var n=a(97152),r=a(64664),s=a(70575);async function i(t,e){let{account:a=t.account,domain:i,message:o,primaryType:c}=e;if(!a)throw new r.T({docsPath:"/docs/actions/wallet/signTypedData"});let u=(0,n.J)(a),d={EIP712Domain:(0,s.H4)({domain:i}),...e.types};if((0,s.$$)({domain:i,message:o,primaryType:c,types:d}),u.signTypedData)return u.signTypedData({domain:i,message:o,primaryType:c,types:d});let l=(0,s.v8)({domain:i,message:o,primaryType:c,types:d});return t.request({method:"eth_signTypedData_v4",params:[u.address,l]},{retryCount:0})}},95418:(t,e,a)=>{a.d(e,{J:()=>n});async function n(t,e){let{id:a}=e;await t.request({method:"wallet_showCallsStatus",params:[a]})}},95994:(t,e,a)=>{a.d(e,{c:()=>s});var n=a(6867),r=a(37219);function s(t,e){let{abi:a,args:s,bytecode:i,...o}=e,c=(0,n.m)({abi:a,args:s,bytecode:i});return(0,r.v)(t,{...o,...o.authorizationList?{to:null}:{},data:c})}}}]);

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.