1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70077,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return c},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,s(e));else t.set(r,s(n));return t}function c(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},48911,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return E},NormalizeError:function(){return g},PageNotFoundError:function(){return m},SP:function(){return b},ST:function(){return x},WEB_VITALS:function(){return a},execOnce:function(){return s},getDisplayName:function(){return l},getLocationOrigin:function(){return u},getURL:function(){return f},isAbsoluteUrl:function(){return c},isResSent:function(){return d},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return A}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,c=e=>i.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function f(){let{href:e}=window.location,t=u();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${l(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let b="u">typeof performance,x=b&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class g extends Error{}class m extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class E extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function A(e){return JSON.stringify({message:e.message,stack:e.stack})}},86051,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},80380,e=>{"use strict";let t=(0,e.i(35884).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],80380)},62724,33117,e=>{"use strict";let t;var r,n=e.i(30668);let o=e=>{let t,r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,a={setState:n,getState:o,getInitialState:()=>s,subscribe:e=>(r.add(e),()=>r.delete(e))},s=t=e(n,o,a);return a},a=e=>{let t=e?o(e):o,r=e=>(function(e,t=e=>e){let r=n.default.useSyncExternalStore(e.subscribe,n.default.useCallback(()=>t(e.getState()),[e,t]),n.default.useCallback(()=>t(e.getInitialState()),[e,t]));return n.default.useDebugValue(r),r})(t,e);return Object.assign(r,t),r};var s=((r={})[r.IDLE=0]="IDLE",r[r.FEEDING=1]="FEEDING",r[r.HARVESTING=2]="HARVESTING",r[r.EVOLVING=3]="EVOLVING",r[r.ALLOCATING=4]="ALLOCATING",r);e.s(["CHAIN_NAMES",0,{0:"Asset Hub",1:"Moonbeam",2:"Acala",3:"Astar",4:"HydraDX",5:"Bifrost"},"POOL_TYPE_COLORS",0,{0:"#6EE7B7",1:"#60A5FA",2:"#A855F7",3:"#F59E0B",4:"#EC4899",5:"#EF4444"},"POOL_TYPE_NAMES",0,{0:"AMM LP",1:"Lending",2:"Staking",3:"Vault",4:"Stable Swap",5:"Restaking"},"Phase",()=>s],33117);let i={totalDeposits:0,currentEpoch:0,creatureCount:0,yieldGenerated:0,phase:s.IDLE},c={address:"",deposited:0,shares:0,shareValue:0},u=(t=e=>({ecosystem:i,creatures:[],epochs:[],user:c,selectedCreature:null,isInspectorOpen:!1,isLoading:!0,setEcosystem:t=>e({ecosystem:t,isLoading:!1}),setCreatures:t=>e({creatures:t}),setUser:t=>e(e=>({user:{...e.user,...t}}
1)),setLoading:t=>e({isLoading:t}),addEpochRecord:t=>e(e=>{let r=e.epochs.findIndex(e=>e.epoch===t.epoch);if(r>=0){let n=e.epochs[r];if(t.topFitness>n.topFitness){let o=[...e.epochs];return o[r]={...n,topFitness:t.topFitness,avgYield:t.avgYield},{epochs:o}}return e}return{epochs:[...e.epochs,t].sort((e,t)=>e.epoch-t.epoch)}}),selectCreature:t=>e({selectedCreature:t}),openInspector:t=>e({selectedCreature:t,isInspectorOpen:!0}),closeInspector:()=>e({selectedCreature:null,isInspectorOpen:!1}),deposit:t=>e(e=>({ecosystem:{...e.ecosystem,totalDeposits:e.ecosystem.totalDeposits+t}})),withdraw:t=>e(e=>({ecosystem:{...e.ecosystem,totalDeposits:Math.max(0,e.ecosystem.totalDeposits-t)}}))}))?a(t):a;e.s(["useEcosystemStore",0,u],62724)},43938,e=>{"use strict";let t=(0,e.i(35884).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,t],43938)},69316,e=>{"use strict";let t=BigInt(0x100000000-1),r=BigInt(32);e.s(["add",0,function(e,t,r,n){let o=(t>>>0)+(n>>>0);return{h:e+r+(o/0x100000000|0)|0,l:0|o}},"add3H",0,(e,t,r,n)=>t+r+n+(e/0x100000000|0)|0,"add3L",0,(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),"add4H",0,(e,t,r,n,o)=>t+r+n+o+(e/0x100000000|0)|0,"add4L",0,(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),"add5H",0,(e,t,r,n,o,a)=>t+r+n+o+a+(e/0x100000000|0)|0,"add5L",0,(e,t,r,n,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(o>>>0),"rotlBH",0,(e,t,r)=>t<<r-32|e>>>64-r,"rotlBL",0,(e,t,r)=>e<<r-32|t>>>64-r,"rotlSH",0,(e,t,r)=>e<<r|t>>>32-r,"rotlSL",0,(e,t,r)=>t<<r|e>>>32-r,"rotrBH",0,(e,t,r)=>e<<64-r|t>>>r-32,"rotrBL",0,(e,t,r)=>e>>>r-32|t<<64-r,"rotrSH",0,(e,t,r)=>e>>>r|t<<32-r,"rotrSL",0,(e,t,r)=>e<<32-r|t>>>r,"shrSH",0,(e,t,r)=>e>>>r,"shrSL",0,(e,t,r)=>e<<32-r|t>>>r,"split",0,function(e,n=!1){let o=e.length,a=new Uint32Array(o),s=new Uint32Array(o);for(let i=0;i<o;i++){let{h:o,l:c}=function(e,n=!1){return n?{h:Number(e&t),l:Number(e>>r&t)}:{h:0|Number(e>>r&t),l:0|Number(e&t)}}(e[i],n);[a[i],s[i]]=[o,c]}return[a,s]}])},41459,e=>{"use strict";let t="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function r(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function n(e,...t){if(!(e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error("Uint8Array expected of length "+t+", got length="+e.length)}let o=68===new Uint8Array(new Uint32Array([0x11223344]).buffer)[0]?e=>e:function(e){for(let r=0;r<e.length;r++){var t;e[r]=(t=e[r])<<24&0xff000000|t<<8&0xff0000|t>>>8&65280|t>>>24&255}return e};function a(e){return"string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}(e)),n(e),e}e.s(["Hash",0,class{},"abytes",0,n,"aexists",0,function(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")},"ahash",0,function(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.createHasher");r(e.outputLen),r(e.blockLen)},"anumber",0,r,"aoutput",0,function(e,t){n(e);let r=t.outputLen;if(e.length<r)throw Error("digestInto() expects output buffer of length at least "+r)},"clean",0,function(...e){for(let t=0;t<e.length;t++)e[t].fill(0)},"concatBytes",0,function(...e){let t=0;for(let r=0;r<e.length;r++){let o=e[r];n(o),t+=o.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let o=e[t];r.set(o,n),n+=o.length}return r},"createHasher",0,function(e){let t=t=>e().update(a(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t},"createView",0,function(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)},"createXOFer",0,function(e){let t=(t,r)=>e(r).update(a(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},"randomBytes",0,function(e=32){if(t&&"function"==typeof t.getRandomValues)return t.getRandomValues(new Uint8Array(e));if(t&&"function"==typeof t.randomBytes)return Uint8Array.from(t.randomBytes(e));throw Error("crypto.getRandomValues must be defined")},"rotr",0,function(e,t){return e<<32-t|e>>>t},"swap32IfBE",0,o,"toBytes",0,a,"u32",0,function(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}],41459)},26423,e=>{"use strict";var t=e.i(41459);class r extends t.Hash{constructor(e,r,n,o){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=r,this.padOffset=n,this.isLE=o,this.buffer=new Uint8Array(e),this.view=(0,t.createView)(this.buffer)}update(e){(0,t.aexists)(this),e=(0,t.toBytes)(e),(0,t.abytes)(e);let{view:r,buffer:n,blockLen:o}=this,a=e.length;for(let s=0;s<a;){let i=Math.min(o-this.pos,a-s);if(i===o){let r=(0,t.createView)(e);for(;o<=a-s;s+=o)this.process(r,s);continue}n.set(e.subarray(s,s+i),this.pos),this.pos+=i,s+=i,this.pos===o&&(this.process(r,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,t.aexists)(this),(0,t.aoutput)(e,this),this.finished=!0;let{buffer:r,view:n,blockLen:o,isLE:a}=this,{pos:s}=this;r[s++]=128,(0,t.clean)(this.buffer.subarray(s)),this.padOffset>o-s&&(this.process(n,0),s=0);for(let e=s;e<o;e++)r[e]=0;!function(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);let o=BigInt(32),a=BigInt(0xffffffff),s=Number(r>>o&a),i=Number(r&a),c=4*!!n,u=4*!n;e.setUint32(t+c,s,n),e.setUint32(t+u,i,n)}(n,o-8,BigInt(8*this.length),a),this.process(n,0);let i=(0,t.createView)(e),c=this.outputLen;if(c%4)throw Error("_sha2: outputLen should be aligned to 32bit");let u=c/4,f=this.get();if(u>f.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e<u;e++)i.setUint32(4*e,f[e],a)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:r,length:n,finished:o,destroyed:a,pos:s}=this;return e.destroyed=a,e.finished=o,e.length=n,e.pos=s,n%t&&e.buffer.set(r),e}clone(){return this._cloneInto()}}
1let n=Uint32Array.from([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),o=Uint32Array.from([0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]),a=Uint32Array.from([0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]),s=Uint32Array.from([0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179]);var i=e.i(69316);let c=Uint32Array.from([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),u=new Uint32Array(64);class f extends r{constructor(e=32){super(64,e,8,!1),this.A=0|n[0],this.B=0|n[1],this.C=0|n[2],this.D=0|n[3],this.E=0|n[4],this.F=0|n[5],this.G=0|n[6],this.H=0|n[7]}get(){let{A:e,B:t,C:r,D:n,E:o,F:a,G:s,H:i}=this;return[e,t,r,n,o,a,s,i]}set(e,t,r,n,o,a,s,i){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|o,this.F=0|a,this.G=0|s,this.H=0|i}process(e,r){for(let t=0;t<16;t++,r+=4)u[t]=e.getUint32(r,!1);for(let e=16;e<64;e++){let r=u[e-15],n=u[e-2],o=(0,t.rotr)(r,7)^(0,t.rotr)(r,18)^r>>>3,a=(0,t.rotr)(n,17)^(0,t.rotr)(n,19)^n>>>10;u[e]=a+u[e-7]+o+u[e-16]|0}let{A:n,B:o,C:a,D:s,E:i,F:f,G:l,H:d}=this;for(let e=0;e<64;e++){var h,p,b,x;let r=d+((0,t.rotr)(i,6)^(0,t.rotr)(i,11)^(0,t.rotr)(i,25))+((h=i)&f^~h&l)+c[e]+u[e]|0,y=((0,t.rotr)(n,2)^(0,t.rotr)(n,13)^(0,t.rotr)(n,22))+((p=n)&(b=o)^p&(x=a)^b&x)|0;d=l,l=f,f=i,i=s+r|0,s=a,a=o,o=n,n=r+y|0}n=n+this.A|0,o=o+this.B|0,a=a+this.C|0,s=s+this.D|0,i=i+this.E|0,f=f+this.F|0,l=l+this.G|0,d=d+this.H|0,this.set(n,o,a,s,i,f,l,d)}roundClean(){(0,t.clean)(u)}destroy(){this.set(0,0,0,0,0,0,0,0),(0,t.clean)(this.buffer)}}class l extends f{constructor(){super(28),this.A=0|o[0],this.B=0|o[1],this.C=0|o[2],this.D=0|o[3],this.E=0|o[4],this.F=0|o[5],this.G=0|o[6],this.H=0|o[7]}}let d=i.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e3585
15771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),h=d[0],p=d[1],b=new Uint32Array(80),x=new Uint32Array(80);let y=(0,t.createHasher)(()=>new f),g=(0,t.createHasher)(()=>new l);e.s(["SHA224",0,l,"SHA256",0,f,"sha224",0,g,"sha256",0,y],26423)},18979,e=>{"use strict";let t=(0,e.i(35884).default)("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]);e.s(["Trophy",0,t],18979)},8733,e=>{"use strict";var t=e.i(38575),r=e.i(54459),n=e.i(43091),o=e.i(38155),a=e.i(34974),s=e.i(65887),i=e.i(84120),c=e.i(31081),u=e.i(60179),f=e.i(2868);let l="/docs/contract/encodeErrorResult";function d(e){let{abi:t,errorName:r,args:o}=e,s=t[0];if(r){let e=(0,f.getAbiItem)({abi:t,args:o,name:r});if(!e)throw new n.AbiErrorNotFoundError(r,{docsPath:l});s=e}if("error"!==s.type)throw new n.AbiErrorNotFoundError(void 0,{docsPath:l});let d=(0,i.formatAbiItem)(s),h=(0,a.toFunctionSelector)(d),p="0x";if(o&&o.length>0){if(!s.inputs)throw new n.AbiErrorInputsNotFoundError(s.name,{docsPath:l});p=(0,u.encodeAbiParameters)(s.inputs,o)}return(0,c.concatHex)([h,p])}let h="/docs/contract/encodeFunctionResult",p="x-batch-gateway:true";async function b(e){let{data:c,ccipRequest:l}=e,{args:[x]}=function(e){let{abi:t,data:r}=e,c=(0,o.slice)(r,0,4),u=t.find(e=>"function"===e.type&&c===(0,a.toFunctionSelector)((0,i.formatAbiItem)(e)));if(!u)throw new n.AbiFunctionSignatureNotFoundError(c,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:u.name,args:"inputs"in u&&u.inputs&&u.inputs.length>0?(0,s.decodeAbiParameters)(u.inputs,(0,o.slice)(r,4)):void 0}}({abi:t.batchGatewayAbi,data:c}),y=[],g=[];return await Promise.all(x.map(async(e,n)=>{try{g[n]=e.urls.includes(p)?await b({data:e.data,ccipRequest:l}):await l(e),y[n]=!1}catch(e){var o;y[n]=!0,g[n]="HttpRequestError"===(o=e).name&&o.status?d({abi:t.batchGatewayAbi,errorName:"HttpError",args:[o.status,o.shortMessage]}):d({abi:[r.solidityError],errorName:"Error",args:["shortMessage"in o?o.shortMessage:o.message]})}})),function(e){let{abi:t,functionName:r,result:o}=e,a=t[0];if(r){let e=(0,f.getAbiItem)({abi:t,name:r});if(!e)throw new n.AbiFunctionNotFoundError(r,{docsPath:h});a=e}if("function"!==a.type)throw new n.AbiFunctionNotFoundError(void 0,{docsPath:h});if(!a.outputs)throw new n.AbiFunctionOutputsNotFoundError(a.name,{docsPath:h});let s=(()=>{if(0===a.outputs.length)return[];if(1===a.outputs.length)return[o];if(Array.isArray(o))return o;throw new n.InvalidArrayError(o)})();return(0,u.encodeAbiParameters)(a.outputs,s)}({abi:t.batchGatewayAbi,functionName:"query",result:[y,g]})}e.s(["localBatchGatewayRequest",0,b,"localBatchGatewayUrl",0,p],8733)},12644,e=>{"use strict";var t=e.i(1620),r=e.i(25835);e.s(["isAddressEqual",0,function(e,n){if(!(0,r.isAddress)(e,{strict:!1}))throw new t.InvalidAddressError({address:e});if(!(0,r.isAddress)(n,{strict:!1}))throw new t.InvalidAddressError({address:n});return e.toLowerCase()===n.toLowerCase()}])},45296,e=>{"use strict";let t=(0,e.i(35884).default)("dna",[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}
1],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]]);e.s(["Dna",0,t],45296)},37630,e=>{"use strict";let t=(0,e.i(35884).default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);e.s(["GitBranch",0,t],37630)},30704,e=>{"use strict";let t=(0,e.i(35884).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",0,t],30704)},34485,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return u},urlObjectKeys:function(){return c}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(61909)._(e.r(70077)),s=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",c=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),c&&"object"==typeof c&&(c=String(a.urlQueryToSearchParams(c)));let f=e.search||c&&`?${c}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||s.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),i&&"#"!==i[0]&&(i="#"+i),f&&"?"!==f[0]&&(f="?"+f),o=o.replace(/[?#]/g,encodeURIComponent),f=f.replace("#","%23"),`${n}${u}${o}${f}${i}`}let c=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},40067,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(30668);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},23450,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(48911),o=e.r(37023);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},15553,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},16506,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return m}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(61909),s=e.r(48277),i=a._(e.r(30668)),c=e.r(34485),u=e.r(45243),f=e.r(40067),l=e.r(48911),d=e.r(39940);e.r(86051);let h=e.r(98165),p=e.r(79111),b=e.r(23450),x=e.r(24994);function y(t){var r,n;let o,a,y,[m,E]=(0,i.useOptimistic)(p.IDLE_LINK_STATUS),w=(0,i.useRef)(null),{href:A,as:v,children:L,prefetch:P=null,passHref:C,replace:S,shallow:k,scroll:I,onClick:O,onMouseEnter:M,onTouchStart:N,legacyBehavior:U=!1,onNavigate:_,transitionTypes:j,ref:R,unstable_dynamicOnHover:F,...T}=t;o=L,U&&("string"==typeof o||"number"==typeof o)&&(o=(0,s.jsx)("a",{children:o}));let B=i.default.useContext(u.AppRouterContext),H=!1!==P,D=!1!==P?null===(n=P)||"auto"===n?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,$="string"==typeof(r=v||A)?r:(0,c.formatUrl)(r);if(U){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=i.default.Children.only(o)}let V=U?a&&"object"==typeof a&&a.ref:R,G=i.default.useCallback(e=>(null!==B&&(w.current=(0,p.mountLinkInstance)(e,$,B,D,H,E)),()=>{w.current&&((0,p.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,p.unmountPrefetchableInstance)(e)}),[H,$,B,D,E]),z={ref:(0,f.useMergedRef)(G,V),onClick(t){U||"function"!=typeof O||O(t),U&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!B||t.defaultPrevented||function(t,r,n,o,a,s,c){if("u">typeof window){let u,{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,b.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:l}=e.r(19998);i.default.startTransition(()=>{l(r,o?"replace":"push",!1===a?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,c)})}}(t,$,w,S,I,_,j)},onMouseEnter(e){U||"function"!=typeof M||M(e),U&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),B&&H&&(0,p.onNavigationIntent)(e.currentTarget,!0===F)},onTouchStart:function(e){U||"function"!=typeof N||N(e),U&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),B&&H&&(0,p.onNavigationIntent)(e.currentTarget,!0===F)}};return(0,l.isAbsoluteUrl)($)?z.href=$:U&&!C&&("a"!==a.type||"href"in a.props)||(z.href=(0,d.addBasePath)($)),y=U?i.default.cloneElement(a,z):(0,s.jsx)("a",{...T,...z,children:o}),(0,s.jsx)(g.Provider,{value:m,children:y})}e.r(15553);let g=(0,i.createContext)(p.IDLE_LINK_STATUS),m=()=>(0,i.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},42944,e=>{"use strict";let t=(0,e.i(35884).default)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);e.s(["BarChart3",0,t],42944)},53938,e=>{"use strict";e.i(39057);var t=e.i(48277),r=e.i(30668),n=e.i(56298),o=e.i(50772),a=e.i(53899),s=e.i(8812),i=e.i(21216),c=r,u=e.i(43533);function f(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class l extends c.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,i.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,i.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,i.isHTMLElement)(e)&&e.offsetHeight||0,o=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(o.height),a.width=parseFloat(o.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=r-a.width-a.left,a.bottom=n-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:n,anchorX:o,anchorY:a,root:s,pop:i}){let h=(0,c.useId)(),p=(0,c.useRef)(null),b=(0,c.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:x}=(0,c.useContext)(u.MotionConfigContext),y=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=f(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():f(e[t],null)}}}}(...e),e)}(p,e.props?.ref??e?.ref);return(0,c.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:c,right:u,bottom:f}=b.current;if(n||!1===i||!p.current||!e||!t)return;let l="left"===o?`left: ${c}`:`right: ${u}`,d="bottom"===a?`bottom: ${f}`:`top: ${r}`;p.current.dataset.motionPopId=h;let y=document.createElement("style");x&&(y.nonce=x);let g=s??document.head;return g.appendChild(y),y.sheet&&y.sheet.insertRule(` 2 [data-motion-pop-id="${h}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${l}px !important; 7 ${d}px !important; 8 } 9 `),()=>{p.current?.removeAttribute("data-motion-pop-id"),g.contains(y)&&g.removeChild(y)}},[n]),(0,t.jsx)(l,{isPresent:n,childRef:p,sizeRef:b,pop:i,children:!1===i?e:c.cloneElement(e,{ref:y})})}let h=({children:e,initial:n,isPresent:a,onExitComplete:i,custom:c,presenceAffectsLayout:u,mode:f,anchorX:l,anchorY:h,root:b})=>
9{let x=(0,o.useConstant)(p),y=(0,r.useId)(),g=!0,m=(0,r.useMemo)(()=>(g=!1,{id:y,initial:n,isPresent:a,custom:c,onExitComplete:e=>{for(let t of(x.set(e,!0),x.values()))if(!t)return;i&&i()},register:e=>(x.set(e,!1),()=>x.delete(e))}),[a,x,i]);return u&&g&&(m={...m}),(0,r.useMemo)(()=>{x.forEach((e,t)=>x.set(t,!1))},[a]),r.useEffect(()=>{a||x.size||!i||i()},[a]),e=(0,t.jsx)(d,{pop:"popLayout"===f,isPresent:a,anchorX:l,anchorY:h,root:b,children:e}),(0,t.jsx)(s.PresenceContext.Provider,{value:m,children:e})};function p(){return new Map}var b=e.i(3363);let x=e=>e.key||"";function y(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:s,initial:i=!0,onExitComplete:c,presenceAffectsLayout:u=!0,mode:f="sync",propagate:l=!1,anchorX:d="left",anchorY:p="top",root:g})=>{let[m,E]=(0,b.usePresence)(l),w=(0,r.useMemo)(()=>y(e),[e]),A=l&&!m?[]:w.map(x),v=(0,r.useRef)(!0),L=(0,r.useRef)(w),P=(0,o.useConstant)(()=>new Map),C=(0,r.useRef)(new Set),[S,k]=(0,r.useState)(w),[I,O]=(0,r.useState)(w);(0,a.useIsomorphicLayoutEffect)(()=>{v.current=!1,L.current=w;for(let e=0;e<I.length;e++){let t=x(I[e]);A.includes(t)?(P.delete(t),C.current.delete(t)):!0!==P.get(t)&&P.set(t,!1)}},[I,A.length,A.join("-")]);let M=[];if(w!==S){let e=[...w];for(let t=0;t<I.length;t++){let r=I[t],n=x(r);A.includes(n)||(e.splice(t,0,r),M.push(r))}return"wait"===f&&M.length&&(e=M),O(y(e)),k(w),null}let{forceRender:N}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:I.map(e=>{let r=x(e),n=(!l||!!m)&&(w===I||A.includes(r));return(0,t.jsx)(h,{isPresent:n,initial:(!v.current||!!i)&&void 0,custom:s,presenceAffectsLayout:u,mode:f,root:g,onExitComplete:n?void 0:()=>{if(C.current.has(r)||!P.has(r))return;C.current.add(r),P.set(r,!0);let e=!0;P.forEach(t=>{t||(e=!1)}),e&&(N?.(),O(L.current),l&&E?.(),c&&c())},anchorX:d,anchorY:p,children:e},r)})})}],53938)},94059,e=>{e.v(t=>Promise.all(["static/chunks/0s2s2jcopgq0l.js"].map(t=>e.l(t))).then(()=>t(31279)))},91795,e=>{e.v(e=>Promise.resolve().then(()=>e(18006)))}]);
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.