PageSourceSearch

https://aerodrome.finance/assets/execution-worker-Dc4cyUX5.js

js aerodrome.finance collected 2026-10-02 06:14:57 UTC 5,250 bytes, 1 lines download raw bytes

vendor: 4,427 bytes, line 1
1var z=(e,t,r)=>{const a=e[t];return a?typeof a=="function"?a():Promise.resolve(a):new Promise((n,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};const S=Symbol("Comlink.proxy"),N=Symbol("Comlink.endpoint"),_=Symbol("Comlink.releaseProxy"),E=Symbol("Comlink.finalizer"),d=Symbol("Comlink.thrown"),T=e=>typeof e=="object"&&e!==null||typeof e=="function",H={canHandle:e=>T(e)&&e[S],serialize(e){const{port1:t,port2:r}=new MessageChannel;return x(e,t),[r,[r]]},deserialize(e){return e.start(),I(e)}},v={canHandle:e=>T(e)&&d in e,serialize({value:e}){let t;return e instanceof Error?t={isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:t={isError:!1,value:e},[t,[]]},deserialize(e){throw e.isError?Object.assign(new Error(e.value.message),e.value):e.value}},O=new Map([["proxy",H],["throw",v]]);function L(e,t){for(const r of e)if(t===r||r==="*"||r instanceof RegExp&&r.test(t))return!0;return!1}function x(e,t=globalThis,r=["*"]){t.addEventListener("message",function a(n){if(!n||!n.data)return;if(!L(r,n.origin)){console.warn(`Invalid origin '${n.origin}' for comlink proxy`);return}const{id:o,type:m,path:l}=Object.assign({path:[]},n.data),u=(n.data.argumentList||[]).map(g);let s;try{const i=l.slice(0,-1).reduce((c,y)=>c[y],e),f=l.reduce((c,y)=>c[y],e);switch(m){case"GET":s=f;break;case"SET":i[l.slice(-1)[0]]=g(n.data.value),s=!0;break;case"APPLY":s=f.apply(i,u);break;case"CONSTRUCT":{const c=new f(...u);s=W(c)}break;case"ENDPOINT":{const{port1:c,port2:y}=new MessageChannel;x(e,y),s=U(c,[c])}break;case"RELEASE":s=void 0;break;default:return}}catch(i){s={value:i,[d]:0}}Promise.resolve(s).catch(i=>({value:i,[d]:0})).then(i=>{const[f,c]=b(i);t.postMessage(Object.assign(Object.assign({},f),{id:o}),c),m==="RELEASE"&&(t.removeEventListener("message",a),R(t),E in e&&typeof e[E]=="function"&&e[E]())}).catch(i=>{const[f,c]=b({value:new TypeError("Unserializable return value"),[d]:0});t.postMessage(Object.assign(Object.assign({},f),{id:o}),c)})}),t.start&&t.start()}function F(e){return e.constructor.name==="MessagePort"}function R(e){F(e)&&e.close()}function I(e,t){const r=new Map;return e.addEventListener("message",function(n){const{data:o}=n;if(!o||!o.id)return;const m=r.get(o.id);if(m)try{m(o)}finally{r.delete(o.id)}}),P(e,r,[],t)}function h(e){if(e)throw new Error("Proxy has been released and is not useable")}function A(e){return w(e,new Map,{type:"RELEASE"}).then(()=>{R(e)})}const p=new WeakMap,k="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{const t=(p.get(e)||0)-1;p.set(e,t),t===0&&A(e)});function V(e,t){const r=(p.get(t)||0)+1;p.set(t,r),k&&k.register(e,t,e)}function j(e){k&&k.unregister(e)}function P(e,t,r=[],a=function(){}){let n=!1;const o=new Proxy(a,{get(m,l){if(h(n),l===_)return()=>{j(o),A(e),t.clear(),n=!0};if(l==="then"){if(r.length===0)return{then:()=>o};const u=w(e,t,{type:"GET",path:r.map(s=>s.toString())}).then(g);return u.then.bind(u)}return P(e,t,[...r,l])},set(m,l,u){h(n);const[s,i]=b(u);return w(e,t,{type:"SET",path:[...r,l].map(f=>f.toString()),value:s},i).then(g)},apply(m,l,u){h(n);const s=r[r.length-1];if(s===N)return w(e,t,{type:"ENDPOINT"}).then(g);if(s==="bind")return P(e,t,r.slice(0,-1));const[i,f]=M(u);return w(e,t,{type:"APPLY",path:r.map(c=>c.toString()),argumentList:i},f).then(g)},construct(m,l){h(n);const[u,s]=M(l);return w(e,t,{type:"CONSTRUCT",path:r.map(i=>i.toString()),argumentList:u},s).then(g)}});return V(o,e),o}function D(e){return Array.prototype.concat.apply([],e)}function M(e){const t=e.map(b);return[t.map(r=>r[0]),D(t.map(r=>r[1]))]}const C=new WeakMap;function U(e,t){return C.set(e,t),e}function W(e){return Object.assign(e,{[S]:!0})}function b(e){for(const[t,r]of O)if(r.canHandle(e)){const[a,n]=r.serialize(e);return[{type:"HANDLER",name:t,value:a},n]}return[{type:"RAW",value:e},C.get(e)||[]]}function g(e){switch(e.type){case"HANDLER":return O.get(e.name).deserialize(e.value);case"RAW":return e.value}}function w(e,t,r,a){return new Promise(n=>{const o=q();t.set(o,n),e.start&&e.start(),e.postMessage(Object.assign({id:o},r),a)})}function q(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}async function G(e,t){const[r,a,n]=e.split(":"),o=await z(Object.assign({
1"../hooks/epochs.worker.ts":()=>import("./epochs.worker-5_cNFdew.js"),
1"../hooks/pair.worker.ts":()=>import("./pair.worker-cOW5yCGz.js"),
1"../hooks/quote.worker.ts":()=>import("./quote.worker-BBKpCt7C.js"),
1"../hooks/token.worker.ts":()=>import("./token.worker-BjyJN4s_.js"),
1"../hooks/useOnchainToken.worker.ts":()=>import("./useOnchainToken.worker-CZszg8nx.js"),
1"../hooks/usePoolsForSwaps.worker.ts":()=>import("./usePoolsForSwaps.worker-Bi9C9g22.js"),
1"../hooks/usePositions.worker.ts":()=>import("./usePositions.worker-pBGRUvKC.js"),
1"../hooks/ve.worker.ts":()=>import("./ve.worker-D5jE1D9c.js")
1}),`../${r}/${a}.worker.ts`,3);if(!o?.[n])throw new Error(`Function ${n} not found in ../${r}/${a}.worker.ts`);return await o[n](...t)}function $(e,t){self[e]=t}globalThis.window||x({setGlobal:$,execute:G});export{x as e,I as w};

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.