PageSourceSearch

https://bloomprotocol.ai/_next/static/chunks/72721-71ef84c554c8c897.js

js bloomprotocol.ai collected 2026-10-05 12:22:17 UTC 19,025 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[68217,72721],{4172:(e,r,t)=>{t.d(r,{Y:()=>o});function o(){let e=()=>void 0,r=()=>void 0;return{promise:new Promise((t,o)=>{e=t,r=o}),resolve:e,reject:r}}},13135:(e,r,t)=>{t.d(r,{A7:()=>a,BG:()=>s,Fo:()=>b,K0:()=>i,Oh:()=>u,RM:()=>g,jj:()=>c,k5:()=>d,lN:()=>p,lY:()=>f,uC:()=>h,vW:()=>l});var o=t(75297),n=t(79089);class a extends n.C{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(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class s extends n.C{constructor({cause:e,maxFeePerGas:r}={}){super(`The fee cap (\`maxFeePerGas\`${r?` = ${(0,o.Q)(r)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(s,"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 c extends n.C{constructor({cause:e,maxFeePerGas:r}={}){super(`The fee cap (\`maxFeePerGas\`${r?` = ${(0,o.Q)(r)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(c,"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 i extends n.C{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(i,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class u extends n.C{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(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class l extends n.C{constructor({cause:e,nonce:r}={}){super(`Nonce provided for the transaction ${r?`(${r}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class d extends n.C{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(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class f extends n.C{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(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class b extends n.C{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(b,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class h extends n.C{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class p extends n.C{constructor({cause:e,maxPriorityFeePerGas:r,maxFeePerGas:t}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${r?` = ${(0,o.Q)(r)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${t?` = ${(0,o.Q)(t)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(p,"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 g extends n.C{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}},19380:(e,r,t)=>{t.d(r,{Ci:()=>s,J8:()=>c,MU:()=>i});var o=t(70744),n=t(79089),a=t(46104);class s extends n.C{constructor({body:e,cause:r,details:t,headers:n,status:s,url:c}){super("HTTP request failed.",{cause:r,details:t,metaMessages:[s&&`Status: ${s}`,`URL: ${(0,a.I)(c)}`,e&&`Request body: ${(0,o.A)(e)}
2`].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=n,this.status=s,this.url=c}}n.C;class c extends n.C{constructor({body:e,error:r,url:t}){super("RPC Request failed.",{cause:r,details:r.message,metaMessages:[`URL: ${(0,a.I)(t)}`,`Request body: ${(0,o.A)(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=r.code,this.data=r.data,this.url=t}}n.C;class i extends n.C{constructor({body:e,url:r}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,a.I)(r)}`,`Request body: ${(0,o.A)(e)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=r}}},28884:(e,r,t)=>{t.d(r,{u:()=>a});var o=t(4172);let n=new Map;function a({fn:e,id:r,shouldSplitBatch:t,wait:a=0,sort:s}){let c=async()=>{let r=u();i();let t=r.map(({args:e})=>e);0!==t.length&&e(t).then(e=>{s&&Array.isArray(e)&&e.sort(s);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)}})},i=()=>n.delete(r),u=()=>n.get(r)||[],l=e=>n.set(r,[...u(),e]);return{flush:i,async schedule(e){let{promise:r,resolve:n,reject:s}=(0,o.Y)();return(t?.([...u().map(({args:e})=>e),e])&&c(),u().length>0)?l({args:e,resolve:n,reject:s}):(l({args:e,resolve:n,reject:s}),setTimeout(c,a)),r}}}},46104:(e,r,t)=>{t.d(r,{I:()=>n,R:()=>o});let o=e=>e,n=e=>e},62890:(e,r,t)=>{t.d(r,{CL:()=>i,D5:()=>l,Di:()=>f,G1:()=>A,Gi:()=>u,L5:()=>O,MI:()=>q,RV:()=>P,Sf:()=>x,WT:()=>M,XU:()=>c,YW:()=>p,ab:()=>g,bq:()=>d,cg:()=>T,ch:()=>j,hA:()=>b,hl:()=>R,jz:()=>$,nR:()=>U,qZ:()=>h,s0:()=>m,sV:()=>w,uL:()=>C,vx:()=>y,xQ:()=>v,xq:()=>E});var o=t(79089),n=t(19380);class a extends o.C{constructor(e,{code:r,docsPath:t,metaMessages:o,name:a,shortMessage:s}){super(s,{cause:e,docsPath:t,metaMessages:o||e?.metaMessages,name:a||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=a||e.name,this.code=e instanceof n.J8?e.code:r??-1}}class s extends a{constructor(e,r){super(e,r),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=r.data}}class c extends a{constructor(e){super(e,{code:c.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class i extends a{constructor(e){super(e,{code:i.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(i,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class u extends a{constructor(e,{method:r}={}){super(e,{code:u.code,name:"MethodNotFoundRpcError",shortMessage:`The method${r?` "${r}"`:""} does not exist / is not available.`})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class l extends a{constructor(e){super(e,{code:l.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class d extends a{constructor(e){super(e,{code:d.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class f extends a{constructor(e){super(e,{code:f.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class b extends a{constructor(e){super(e,{code:b.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});
2class h extends a{constructor(e){super(e,{code:h.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class p extends a{constructor(e){super(e,{code:p.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class g extends a{constructor(e,{method:r}={}){super(e,{code:g.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${r?` "${r}"`:""} is not supported.`})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class m extends a{constructor(e){super(e,{code:m.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class v extends a{constructor(e){super(e,{code:v.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class y extends s{constructor(e){super(e,{code:y.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class w extends s{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 x extends s{constructor(e,{method:r}={}){super(e,{code:x.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${r?` " ${r}"`:""}.`})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class P extends s{constructor(e){super(e,{code:P.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class E extends s{constructor(e){super(e,{code:E.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});
vendor: 6,057 bytes, line 2
2class j extends s{constructor(e){super(e,{code:j.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(j,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class O extends s{constructor(e){super(e,{code:O.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class M extends s{constructor(e){super(e,{code:M.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(M,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class R extends s{constructor(e){super(e,{code:R.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(R,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class T extends s{constructor(e){super(e,{code:T.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class C extends s{constructor(e){super(e,{code:C.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class A extends s{constructor(e){super(e,{code:A.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750});class $ extends s{constructor(e){super(e,{code:$.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty($,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class U extends s{constructor(e){super(e,{code:U.code,name:"WalletConnectSessionSettlementError",shortMessage:"WalletConnect session settlement failed."})}}Object.defineProperty(U,"code",{enumerable:!0,configurable:!0,writable:!0,value:7e3});class q extends a{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}},68217:(e,r,t)=>{t.d(r,{Id:()=>w,My:()=>f,OG:()=>M,Ph:()=>p,Q5:()=>A,aK:()=>j,aT:()=>h,aY:()=>a,dJ:()=>O,e8:()=>c,ex:()=>x,fg:()=>T,lX:()=>g,lq:()=>m,qj:()=>y,r4:()=>E,x:()=>$,z:()=>v,zW:()=>i});let o=BigInt(0),n=BigInt(1);function a(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function s(e){if(!a(e))throw Error("Uint8Array expected")}function c(e,r){if("boolean"!=typeof r)throw Error(e+" boolean expected, got "+r)}function i(e){let r=e.toString(16);return 1&r.length?"0"+r:r}function u(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);return""===e?o:BigInt("0x"+e)}let l="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,d=Array.from({length:256},(e,r)=>r.toString(16).padStart(2,"0"));function f(e){if(s(e),l)return e.toHex();let r="";for(let t=0;t<e.length;t++)r+=d[e[t]];return r}function b(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function h(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(l)return Uint8Array.fromHex(e);let r=e.length,t=r/2;if(r%2)throw Error("hex string expected, got unpadded hex of length "+r);let o=new Uint8Array(t);for(let r=0,n=0;r<t;r++,n+=2){let t=b(e.charCodeAt(n)),a=b(e.charCodeAt(n+1));if(void 0===t||void 0===a)throw Error('hex string expected, got non-hex character "'+(e[n]+e[n+1])+'" at index '+n);o[r]=16*t+a}return o}function p(e){return u(f(e))}function g(e){return s(e),u(f(Uint8Array.from(e).reverse()))}function m(e,r){return h(e.toString(16).padStart(2*r,"0"))}function v(e,r){return m(e,r).reverse()}function y(e,r,t){let o;if("string"==typeof r)try{o=h(r)}catch(r){throw Error(e+" must be hex string or Uint8Array, cause: "+r)}else if(a(r))o=Uint8Array.from(r);else throw Error(e+" must be hex string or Uint8Array");let n=o.length;if("number"==typeof t&&n!==t)throw Error(e+" of length "+t+" expected, got "+n);return o}function w(...e){let r=0;for(let t=0;t<e.length;t++){let o=e[t];s(o),r+=o.length}let t=new Uint8Array(r);for(let r=0,o=0;r<e.length;r++){let n=e[r];t.set(n,o),o+=n.length}return t}function x(e,r){if(e.length!==r.length)return!1;let t=0;for(let o=0;o<e.length;o++)t|=e[o]^r[o];return 0===t}let P=e=>"bigint"==typeof e&&o<=e;function E(e,r,t){return P(e)&&P(r)&&P(t)&&r<=e&&e<t}function j(e,r,t,o){if(!E(r,t,o))throw Error("expected valid "+e+": "+t+" <= n < "+o+", got "+r)}function O(e){let r;for(r=0;e>o;e>>=n,r+=1);return r}let M=e=>(n<<BigInt(e))-n,R=e=>new Uint8Array(e);function T(e,r,t){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof r||r<2)throw Error("qByteLen must be a number");if("function"!=typeof t)throw Error("hmacFn must be a function");let o=R(e),n=R(e),a=0,s=()=>{o.fill(1),n.fill(0),a=0},c=(...e)=>t(n,o,...e),i=(e=R(0))=>{let r;if(n=c((r=[0],Uint8Array.from(r)),e),o=c(),0!==e.length){let r;n=c((r=[1],Uint8Array.from(r)),e),o=c()}},u=()=>{if(a++>=1e3)throw Error("drbg: tried 1000 values");let e=0,t=[];for(;e<r;){let r=(o=c()).slice();t.push(r),e+=o.length}return w(...t)};return(e,r)=>{let t;for(s(),i(e);!(t=r(u()));)i();return s(),t}}let C={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||a(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,r)=>r.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};function A(e,r,t={}){let o=(r,t,o)=>{let n=C[t];if("function"!=typeof n)throw Error("invalid validator function");let a=e[r];if((!o||void 0!==a)&&!n(a,e))throw Error("param "+String(r)+" is invali
2d. Expected "+t+", got "+a)};for(let[e,t]of Object.entries(r))o(e,t,!1);for(let[e,r]of Object.entries(t))o(e,r,!0);return e}function $(e){let r=new WeakMap;return(t,...o)=>{let n=r.get(t);if(void 0!==n)return n;let a=e(t,...o);return r.set(t,a),a}}},70744:(e,r,t)=>{t.d(r,{A:()=>o});let o=(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)},75297:(e,r,t)=>{t.d(r,{Q:()=>a});var o=t(88537),n=t(27220);function a(e,r="wei"){return(0,n.J)(e,o.sz[r])}},88537:(e,r,t)=>{t.d(r,{eL:()=>o,sz:()=>n});let o={gwei:9,wei:18},n={ether:-9,wei:9}}}]);

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.