PageSourceSearch

https://hypestatsxyz.vercel.app/_next/static/chunks/ea115d237ef77663.js?dpl=dpl_ALHigeopeuUStNzePc7DUgGn9PrS

js hypestatsxyz.vercel.app collected 2026-10-03 07:06:28 UTC 27,007 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,271490,e=>{"use strict";var t=e.i(154105);let n={nfts:[],totalValueHype:0,totalValueUsd:0,collectionsOwned:0,collections:[]},r="nft_cache_";function a(e,n){try{let a=r+(0,t.canonAddr)(e);localStorage.setItem(a,JSON.stringify({data:n,timestamp:Date.now(),version:6}))}catch{}}function i(e){try{let n=r+(0,t.canonAddr)(e),a=localStorage.getItem(n);if(!a)return null;let i=JSON.parse(a);if(!i||6!==i.version)return null;return{data:i.data,timestamp:Number(i.timestamp)||0}}catch{return null}}function s(e){return i(e)?.data??null}let o=async e=>{let t=await fetch(e);if(!t.ok)throw Error(`NFT request failed (${t.status})`);return t.json()};async function l(e,t={}){let{concurrency:r=3,staggerMs:s=120,fetcher:c=o,loadFallback:u=i,saveGood:d=a}=t,m=Array(e.length),f=!1,p=0,h=async t=>{let r=e[t],a=function(e){try{return new URL(e,"http://local").searchParams.get("address")}catch{return null}}(r),i=a?u(a):null,s=()=>i?{...i.data,stale:!0,fetchedAt:i.timestamp||void 0}:null;try{let e=await c(r);if(e&&!e.unavailable){m[t]=e,f=!0,a&&!e.stale&&d(a,e);return}let i=s();if(i){m[t]=i,f=!0;return}m[t]={...n,unavailable:!0}}catch{let e=s();if(e){m[t]=e,f=!0;return}m[t]={...n,unavailable:!0}}},b=Array.from({length:Math.max(1,Math.min(r,e.length))},async(t,n)=>{let r;for(n>0&&s>0&&await (r=n*s,new Promise(e=>setTimeout(e,r)));p<e.length;){let e=p++;await h(e)}});if(await Promise.all(b),!f&&e.length>0)throw Error("NFT batch failed for all addresses");return m}e.s(["fetchNftBatch",()=>l,"loadNFTFromLocalStorage",()=>s])},286536,e=>{"use strict";let t=(0,e.i(475254).default)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",()=>t],286536)},295240,e=>{"use strict";let t="0x9125E2d6827a00B0F8330D6ef7BEF07730Bac685",n="0x63eb9d77D083cA10C304E28d5191321977fd0Bfb",r="0xCC3D60fF11a268606C6a57bD6Db74b4208f1D30c",a=new Set([{contract:t,route:"/hypurrs"},{contract:n,route:"/hypio"},{contract:r,route:"/tinycats"}].map(e=>e.contract.toLowerCase()));function i(e){return a.has(e.toLowerCase())}e.s(["HYPIO_CONTRACT",0,n,"HYPURR_CONTRACT",0,t,"TINYCATS_CONTRACT",0,r,"isCuratedCollection",()=>i])},62998,e=>{"use strict";let t="(bafy[a-z2-7]{20,}|Qm[1-9A-HJ-NP-Za-km-z]{44})((?:\\/[A-Za-z0-9._-]{1,64})?)",n=RegExp(`^ipfs:\\/\\/(?:ipfs\\/)?${t}$`),r=RegExp(`^https?:\\/\\/[^\\/]+\\/ipfs\\/${t}(?:[?#].*)?$`),a=/^https?:\/\/(bafy[a-z2-7]{20,})\.ipfs\.[^/]+(\/[A-Za-z0-9._-]{1,64})?\/?(?:[?#].*)?$/;function i(e){let t=(e||"").trim();if(!t||t.startsWith("data:"))return;let i=t.match(n)||t.match(r)||t.match(a);if(i){let e=i[1],t=(i[2]||"").replace(/^\//,"");return`/api/nft-image/${encodeURIComponent(t?`${e}/${t}`:e)}`}return t}e.s(["resolveNftImageUrl",()=>i])},270756,e=>{"use strict";let t=(0,e.i(475254).default)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",()=>t],270756)},852008,e=>{"use strict";let t=(0,e.i(475254).default)("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);e.s(["Layers",()=>t],852008)},575822,e=>{"use strict";let t=(0,e.i(475254).default)("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);e.s(["Coins",()=>t],575822)},793144,e=>{"use strict";function t(e){let t=e=>("string"==typeof e?parseFloat(e):"number"==typeof e?e:0)||0,n=new Map,r=new Map;for(let a of e){if(!a.coin)continue;let e=`${a.venue??"hl"}|${a.coin}`,i=t(a.szi??a.size),s=t(a.entryPx??a.entryPrice),o=t(a.positionValue),l=t(a.unrealizedPnl),c=a.cumFunding,u="object"==typeof c&&c?c:void 0,d=t(u?u.sinceOpen??u.allTime:c),m=t(u?u.allTime:c),f=null!=c,p=r.get(e);p?(p.size+=i,p.entryAbs+=s*Math.abs(i),p.absSize+=Math.abs(i),p.posVal+=o,p.pnl+=l,p.fund+=d,p.fundAll+=m,p.hasFund=p.hasFund||f,Math.abs(o)>p.domAbs&&(p.domAbs=Math.abs(o),n.set(e,a))):(r.set(e,{size:i,entryAbs:s*Math.abs(i),absSize:Math.abs(i),posVal:o,pnl:l,fund:d,fundAll:m,hasFund:f,domAbs:Math.abs(o)}),n.set(e,a))}return[...n.entries()].map(([e,t])=>{let n=r.get(e),a=n.absSize>0?n.entryAbs/n.absSize:0;return{...t,szi:String(n.size),entryPx:String(a),positionValue:String(n.posVal),unrealizedPnl:String(n.pnl),...n.hasFund?{cumFunding:{allTime:String(n.fundAll),sinceOpen:String(n.fund)}}:{},liquidationPx:void 0,returnOnEquity:void 0}})}function n(e){if(null==e)return null;if("number"==typeof e)return isNaN(e)?null:e;if("object"==typeof e){let t=parseFloat(e.sinceOpen||e.allTime||"0");return isNaN(t)?null:t}return null}function r(e){let t="string"==typeof e.szi?parseFloat(e.szi):e.size||0,r=e.side?"long"===e.side:t>0,a="string"==typeof e.entryPx?parseFloat(e.entryPx):e.entryPrice||0,i="string"==typeof e.positionValue?parseFloat(e.positionValue):e.positionValue||0,s="string"==typeof e.unrealizedPnl?parseFloat(e.unrealizedPnl):e.unrealizedPnl||0,o="string"==typeof e.returnOnEquity?100*parseFloat(e.returnOnEquity):"number"==typeof e.returnOnEquity?100*e.returnOnEquity:0,l="object"==typeof e.leverage?e.leverage.value:e.leverage||0;0===o&&0!==s&&0!==i&&l>0&&(o=s/(Math.abs(i)/l)*100);let c="object"==typeof e.leverage?"isolated"===e.leverage.type?"isolated":"cross":"isolated"===e.leverageType?"isolated":"cross",u="string"==typeof e.liquidationPx?parseFloat(e.liquidationPx):e.liquidationPrice??null,d=-(n(e.cumFunding)??0),m=0!==t?Math.abs(i)/Math.abs(t):0;return{coin:e.coin,size:Math.abs(t),isLong:r,entry:a,posValue:i,pnl:s,roe:o,lev:l,levType:c,liqPx:u,funding:d,markPrice:m}}function a(e,t){if(null==t||!(t>0)||0===e.size)return e;let n=t*e.size,r=(e.isLong?t-e.entry:e.entry-t)*e.size,a=e.lev>0?n/e.lev:0,i=a>0?r/a*100:e.roe;return{...e,markPrice:t,posValue:n,pnl:r,roe:i}}let i=e=>("string"==typeof e?parseFloat(e):"number"==typeof e?e:0)||0;function s(e){return null==e||!Number.isFinite(e)||e<=0?"—":`${e>=10?Math.round(e):Math.round(10*e)/10}\xd7`}function o(e,t){return"pnl"===t?i(e.unrealizedPnl):Math.abs(i(e.positionValue))}function l(e,t,n,r=o){let a="desc"===n?1:-1;return e.map((e,t)=>[e,t]).sort((e,n)=>
1{let i=a*(r(n[0],t)-r(e[0],t));return 0!==i?i:e[1]-n[1]}).map(([e])=>e)}function c(e){let t=null,n=-1;for(let a of e){let e=Math.abs(r(a).posValue);e>n&&(n=e,t=a.coin)}return t}function u(e){let t=[];return e.entry>0&&t.push({price:e.entry,kind:"entry"}),null!=e.liqPx&&Number.isFinite(e.liqPx)&&e.liqPx>0&&t.push({price:e.liqPx,kind:"liq"}),t}function d(e){let t=[];for(let n of e||[]){let e=parseFloat(n.o),r=parseFloat(n.h),a=parseFloat(n.l),i=parseFloat(n.c);Number.isFinite(e)&&Number.isFinite(r)&&Number.isFinite(a)&&Number.isFinite(i)&&t.push({time:Math.floor(n.t/1e3),open:e,high:r,low:a,close:i})}t.sort((e,t)=>e.time-t.time);let n=[];for(let e of t)n.length>0&&n[n.length-1].time===e.time?n[n.length-1]=e:n.push(e);return n}e.s(["applyLiveMid",()=>a,"buildPriceLines",()=>u,"formatLeverage",()=>s,"getPositionView",()=>r,"mergePerpsByCoin",()=>t,"parseFunding",()=>n,"pickDefaultChartCoin",()=>c,"sortPositions",()=>l,"toOhlcBars",()=>d])},931549,e=>{"use strict";var t=e.i(843476),n=e.i(243553),r=e.i(621724),a=e.i(372428),i=e.i(597228),s=e.i(271645),o=e.i(602048);function l({feature:e,children:l,preview:c,requirePaid:u,signInOnly:d}){let{t:m}=(0,o.useTranslation)(),{isSignedIn:f,isPro:p,isLoading:h,subscriptionStatus:b}=(0,a.useSubscription)(),{openSignIn:g}=(0,i.useSignInModal)(),[y,x]=(0,s.useState)(!1);if(h||(d?f:u?p&&"active"===b:p))return(0,t.jsx)(t.Fragment,{children:l});let v=async()=>{x(!0);try{let t=await fetch("/api/stripe/checkout",{method:"POST"}),n=await t.json();n.url&&((0,r.track)("pro_gate_checkout",{feature:e}),window.location.href=n.url)}catch{}finally{x(!1)}};if(c){let a=m(d?"pro.bannerSignIn":u?"pro.bannerUpgrade":"pro.bannerUpgradeTrial");return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:`mb-4 flex items-center justify-between gap-4 rounded-lg border ${d?"border-primary/30 bg-primary/10":"border-amber-500/30 bg-amber-500/10"} px-4 py-3`,children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(n.Crown,{className:`h-4 w-4 ${d?"text-primary":"text-amber-400"} shrink-0`}),(0,t.jsxs)("p",{className:"text-sm text-foreground",children:[(0,t.jsx)("span",{className:"font-semibold",children:m("pro.featurePreview")}),(0,t.jsxs)("span",{className:"text-muted-foreground",children:[" — ",a]})]})]}),f?(0,t.jsxs)("button",{onClick:v,disabled:y,className:"shrink-0 inline-flex items-center gap-2 px-3 py-1.5 rounded-lg bg-amber-500 text-black text-xs font-bold hover:bg-amber-400 transition-colors disabled:opacity-50",children:[(0,t.jsx)(n.Crown,{className:"h-3 w-3"}),m(y?"common.loading":"common.upgradeToPro")]}):(0,t.jsx)("button",{onClick:()=>{g(),(0,r.track)("pro_gate_sign_in",{feature:e})},className:"shrink-0 inline-flex items-center gap-2 px-3 py-1.5 rounded-lg bg-primary text-primary-foreground text-xs font-medium hover:bg-primary/90 transition-colors",children:m("auth.signIn")})]}),c]})}return d?(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none select-none blur-sm opacity-50",children:(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("div",{className:"h-10 bg-muted/50 rounded-lg w-2/3"}),(0,t.jsx)("div",{className:"h-64 bg-muted/30 rounded-lg"}),(0,t.jsx)("div",{className:"h-48 bg-muted/20 rounded-lg"})]})}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-background/60 backdrop-blur-[2px] rounded-lg",children:(0,t.jsxs)("div",{className:"text-center max-w-sm px-4 py-6",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-1",children:m("pro.signInRequired")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:m("auth.signInSubtitle")}),(0,t.jsx)("button",{onClick:()=>{g(),(0,r.track)("pro_gate_sign_in",{feature:e})},className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-primary text-primary-foreground text-sm font-medium hover:bg-primary/90 transition-colors",children:m("auth.signIn")})]})})]}):(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none select-none blur-sm opacity-50",children:(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("div",{className:"h-10 bg-muted/50 rounded-lg w-2/3"}),(0,t.jsx)("div",{className:"h-64 bg-muted/30 rounded-lg"}),(0,t.jsx)("div",{className:"h-48 bg-muted/20 rounded-lg"})]})}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-background/60 backdrop-blur-[2px] rounded-lg",children:(0,t.jsxs)("div",{className:"text-center max-w-sm px-4 py-6",children:[(0,t.jsx)("div",{className:"inline-flex items-center justify-center h-10 w-10 rounded-xl bg-amber-500/20 mb-3",children:(0,t.jsx)(n.Crown,{className:"h-5 w-5 text-amber-400"})}),(0,t.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-1",children:m("pro.title")}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground mb-4",children:[m("common.upgradeToPro"),". ",m("pro.priceMonthly"),"."]}
1),f?(0,t.jsxs)("button",{onClick:v,disabled:y,className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-amber-500 text-black text-sm font-bold hover:bg-amber-400 transition-colors disabled:opacity-50",children:[(0,t.jsx)(n.Crown,{className:"h-3.5 w-3.5"}),y?m("common.loading"):m("common.upgradeToPro")+" — $15"+m("pro.perMonth")]}):(0,t.jsx)("button",{onClick:()=>{g(),(0,r.track)("pro_gate_sign_in",{feature:e})},className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-primary text-primary-foreground text-sm font-medium hover:bg-primary/90 transition-colors",children:m("auth.signIn")})]})})]})}e.s(["ProGate",()=>l])},730267,e=>{"use strict";let t=(0,e.i(475254).default)("ChartLine",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);e.s(["LineChart",()=>t],730267)},78995,859825,e=>{"use strict";let t=(0,e.i(475254).default)("ChartCandlestick",[["path",{d:"M9 5v4",key:"14uxtq"}],["rect",{width:"4",height:"6",x:"7",y:"9",rx:"1",key:"f4fvz0"}],["path",{d:"M9 15v2",key:"r5rk32"}],["path",{d:"M17 3v2",key:"1l2re6"}],["rect",{width:"4",height:"8",x:"15",y:"5",rx:"1",key:"z38je5"}],["path",{d:"M17 13v3",key:"5l0wba"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}]]);e.s(["CandlestickChart",()=>t],78995);var n=e.i(843476),r=e.i(367240),a=e.i(975157),i=e.i(602048);function s({onClick:e,className:t}){let{t:s}=(0,i.useTranslation)();return(0,n.jsx)("button",{type:"button",onClick:e,title:s("markets.chartRecenter"),"aria-label":s("markets.chartRecenter"),className:(0,a.cn)("absolute bottom-2 right-2 z-10 p-1.5 rounded-md border border-border bg-card/80 backdrop-blur text-muted-foreground hover:text-foreground transition-colors",t),children:(0,n.jsx)(r.RotateCcw,{className:"h-3.5 w-3.5"})})}e.s(["ChartRecenterButton",()=>s],859825)},473708,e=>{"use strict";let t=(0,e.i(475254).default)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);e.s(["Image",()=>t],473708)},823197,e=>{"use strict";class t{constructor(e){var{x:t,y:n}=e;this.xAxisScale=t,this.yAxisScale=n}map(e,t){var n,r,{position:a}=t;return{x:null!=(n=this.xAxisScale.map(e.x,{position:a}))?n:0,y:null!=(r=this.yAxisScale.map(e.y,{position:a}))?r:0}}mapWithFallback(e,t){var n,r,a,i,{position:s,fallback:o}=t;return a="rangeMin"===o?this.yAxisScale.rangeMin():"rangeMax"===o?this.yAxisScale.rangeMax():0,i="rangeMin"===o?this.xAxisScale.rangeMin():"rangeMax"===o?this.xAxisScale.rangeMax():0,{x:null!=(n=this.xAxisScale.map(e.x,{position:s}))?n:i,y:null!=(r=this.yAxisScale.map(e.y,{position:s}))?r:a}}isInRange(e){var{x:t,y:n}=e,r=null==t||this.xAxisScale.isInRange(t),a=null==n||this.yAxisScale.isInRange(n);return r&&a}}e.s(["CartesianScaleHelperImpl",()=>t])},227516,e=>{"use strict";let t=(0,e.i(475254).default)("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);e.s(["History",()=>t],227516)},968553,e=>{"use strict";let t=(0,e.i(475254).default)("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);e.s(["Camera",()=>t],968553)},335729,e=>{"use strict";var t=e.i(843476),n=e.i(975157);function r({isLong:e,longLabel:r="LONG",shortLabel:a="SHORT",compact:i,className:s}){return i?(0,t.jsx)("span",{className:(0,n.cn)("text-[10px] font-bold tracking-wide",e?"text-positive":"text-negative",s),children:e?r:a}):(0,t.jsxs)("span",{className:(0,n.cn)("inline-flex items-center gap-0.5 rounded px-1.5 py-0.5 text-[10px] font-bold tracking-wide border",e?"border-positive/25 bg-positive/10 text-positive":"border-negative/25 bg-negative/10 text-negative",s),children:[(0,t.jsx)("span",{"aria-hidden":!0,children:e?"↑":"↓"}),e?r:a]})}e.s(["SideBadge",()=>r])},566346,e=>{"use strict";let t={OIL:"CL",WTI:"CL",USOIL:"CL",US500:"USA500",SP500:"USA500",USTECH:"XYZ100",SEMI:"SEMIS"};function n(e){return t[e]||e}
1let r={"solana:epjfwdd5aufqssqem2qn1xzybapc8g4weggkzwytdt1v":"USDC","solana:es9vmfrzacermjfrf4h2fyd4kconky11mcce8benwnyb":"USDT","solana:so11111111111111111111111111111111111111112":"SOL","robinhood:0x0bd7d308f8e1639fab988df18a8011f41eacad73":"ETH","ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48":"USDC","ethereum:0xdac17f958d2ee523a2206206994597c13d831ec7":"USDT","ethereum:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"ETH","ethereum:0x2260fac5e5542a773aa44fbcfedf7c193bc2c599":"BTC","arbitrum:0xaf88d065e77c8cc2239327c5edb3a432268e5831":"USDC","arbitrum:0xff970a61a04b1ca14834a43f5de4533ebddb5cc8":"USDC","arbitrum:0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9":"USDT","arbitrum:0x82af49447d8a07e3bd95bd0d56f35241523fbab1":"ETH","arbitrum:0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f":"BTC","base:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913":"USDC","base:0x4200000000000000000000000000000000000006":"ETH"};function a(e){if(e.chain){let t=e.chainAddress?.toLowerCase();return(t?r[`${e.chain}:${t}`]:void 0)??e.coin}return n(e.symbol)}function i(e){if(e.chain)return null;let t=(e.symbol||"").trim(),r=(e.name||"").trim().toLowerCase();return!(t.length<2)&&/^u/i.test(t)&&r.startsWith("unit ")?n(t.slice(1).toUpperCase()):null}function s(e){let t=new Set;for(let n of e){let e=i(n);e&&t.add(e)}if(0===t.size)return e;let a=new Map;for(let r of e){if(!r.chain||!r.name)continue;let e=n((r.symbol||"").toUpperCase());t.has(e)&&a.set(e,r.name)}return e.flatMap(e=>{if(e.chain){let a=e.chainAddress?.toLowerCase();return a&&r[`${e.chain}:${a}`]?[e]:t.has(n((e.symbol||"").toUpperCase()))?[]:[e]}let s=i(e);return s?[{...e,symbol:s,name:a.get(s)??(e.name||"").replace(/^unit\s+/i,"")}]:[e]})}function o(e){return e.chain?2:+!!(e.coin||"").includes(":")}function l(e){return e.chain?`chain:${e.chain}`:`hl:${e.deployer||""}`}function c(e){let t=new Map;for(let n of e){let e=`${l(n)}|${a(n)}`,r=t.get(e);if(!r){t.set(e,{face:n,volume:n.volume24h||0,mcap:n.marketCap||0,fdv:n.fdv||0,size:1});continue}r.size++,r.volume+=n.volume24h||0,(n.marketCap||0)>r.mcap&&(r.mcap=n.marketCap||0),(n.fdv||0)>r.fdv&&(r.fdv=n.fdv||0);let i=o(n),s=o(r.face);(i<s||i===s&&(n.volume24h||0)>(r.face.volume24h||0))&&(r.face=n)}let n=!1;for(let e of t.values())if(e.size>1){n=!0;break}return n?e.flatMap(e=>{let n=t.get(`${l(e)}|${a(e)}`);return n&&n.face===e?1===n.size?[e]:[{...e,volume24h:n.volume,marketCap:n.mcap||e.marketCap,fdv:n.fdv||e.fdv}]:[]}):e}e.s(["CROSS_CHAIN_MAJORS",0,r,"canonicalSymbol",()=>n,"canonicalizeUnitListings",()=>s,"collapseVenueVariants",()=>c,"dedupKeyOf",()=>a,"representativeRank",()=>o,"unitSpotUnderlying",()=>i],566346)},332391,e=>{"use strict";var t=e.i(271645);function n(e,t){let n=Math.max(0,e);return Math.round(null!=t?Math.min(n,t):n)}let r=t.useLayoutEffect;function a(e,a,{width:i,align:s,gap:o,margin:l,minHeight:c,maxHeightCap:u}){let[d,m]=(0,t.useState)(null),f=(0,t.useCallback)(()=>{let e=a.current;if(!e)return;let t=e.getBoundingClientRect(),r=function({anchor:e,viewport:t,width:r,height:a,align:i="end",gap:s=8,margin:o=8,minHeight:l=160,maxHeightCap:c}){let u=Math.max(0,Math.min(r,Math.max(0,t.width-2*o))),d=e.right-e.left,m=Math.max(o,Math.min("start"===i?e.left:"center"===i?e.left+d/2-u/2:e.right-u,t.width-o-u)),f=t.height-e.bottom-s-o,p=e.top-s-o;return f<Math.max(a??0,l)&&p>f?{left:Math.round(m),width:Math.round(u),maxHeight:n(p,c),placement:"top",bottom:Math.round(t.height-e.top+s)}:{left:Math.round(m),width:Math.round(u),maxHeight:n(f,c),placement:"bottom",top:Math.round(e.bottom+s)}}({anchor:{top:t.top,bottom:t.bottom,left:t.left,right:t.right},viewport:{width:window.innerWidth,height:window.innerHeight},width:i,align:s,gap:o,margin:l,minHeight:c,maxHeightCap:u});m(e=>e===r||e&&r&&e.left===r.left&&e.width===r.width&&e.maxHeight===r.maxHeight&&e.placement===r.placement&&e.top===r.top&&e.bottom===r.bottom?e:r)},[a,i,s,o,l,c,u]);return r(()=>{if(e)return f(),window.addEventListener("scroll",f,!0),window.addEventListener("resize",f),()=>{window.removeEventListener("scroll",f,!0),window.removeEventListener("resize",f)}},[e,f]),d}e.s(["useAnchoredPosition",()=>a],332391)},77705,e=>{"use strict";let t=(0,e.i(475254).default)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);e.s(["EyeOff",()=>t],77705)},981140,30030,e=>{"use strict";
1function t(e,n,{checkForDefaultPrevented:r=!0}={}){return function(t){if(e?.(t),!1===r||!t.defaultPrevented)return n?.(t)}}"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",()=>t],981140);var n=e.i(271645),r=e.i(843476);function a(e,t=[]){let i=[],s=()=>{let t=i.map(e=>n.createContext(e));return function(r){let a=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:a}}),[r,a])}};return s.scopeName=e,[function(t,a){let s=n.createContext(a),o=i.length;i=[...i,a];let l=t=>{let{scope:a,children:i,...l}=t,c=a?.[e]?.[o]||s,u=n.useMemo(()=>l,Object.values(l));return(0,r.jsx)(c.Provider,{value:u,children:i})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[o]||s,c=n.useContext(l);if(c)return c;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let a=r.reduce((t,{useScope:n,scopeName:r})=>{let a=n(e)[`__scope${r}`];return{...t,...a}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}(s,...t)]}e.s(["createContextScope",()=>a],30030)},610772,934620,e=>{"use strict";var t=e.i(271645),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>n],934620);var r=t[" useId ".trim().toString()]||(()=>void 0),a=0;function i(e){let[i,s]=t.useState(r());return n(()=>{e||s(e=>e??String(a++))},[e]),e||(i?`radix-${i}`:"")}e.s(["useId",()=>i],610772)},248425,30207,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(820783),a=e.i(843476),i=Symbol("radix.slottable");function s(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}var o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var i,o;let l,c,u,d=(o=i=`Primitive.${n}`,(l=t.forwardRef((e,n)=>{let{children:a,...i}=e;if(t.isValidElement(a)){var s;let e,o,l=(s=a,(o=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(o=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),c=function(e,t){let n={...t};for(let r in t){let a=e[r],i=t[r];/^on[A-Z]/.test(r)?a&&i?n[r]=(...e)=>{let t=i(...e);return a(...e),t}:a&&(n[r]=a):"style"===r?n[r]={...a,...i}:"className"===r&&(n[r]=[a,i].filter(Boolean).join(" "))}return{...e,...n}}(i,a.props);return a.type!==t.Fragment&&(c.ref=n?(0,r.composeRefs)(n,l):l),t.cloneElement(a,c)}return t.Children.count(a)>1?t.Children.only(null):null})).displayName=`${o}.SlotClone`,c=l,(u=t.forwardRef((e,n)=>{let{children:r,...i}=e,o=t.Children.toArray(r),l=o.find(s);if(l){let e=l.props.children,r=o.map(n=>n!==l?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,a.jsx)(c,{...i,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return(0,a.jsx)(c,{...i,ref:n,children:r})})).displayName=`${i}.Slot`,u),m=t.forwardRef((e,t)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(r?d:n,{...i,ref:t})});return m.displayName=`Primitive.${n}`,{...e,[n]:m}},{});function l(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}function c(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}e.s(["Primitive",()=>o,"dispatchDiscreteCustomEvent",()=>l],248425),e.s(["useCallbackRef",()=>c],30207)},369340,e=>{"use strict";var t=e.i(271645),n=e.i(934620);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var r=t[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;function a({prop:e,defaultProp:n,onChange:a=()=>{},caller:i}){let[s,o,l]=function({defaultProp:e,onChange:n}){let[a,i]=t.useState(e),s=t.useRef(a),o=t.useRef(n);return r(()=>{o.current=n},[n]),t.useEffect(()=>{s.current!==a&&(o.current?.(a),s.current=a)},[a,s]),[a,i,o]}({defaultProp:n,onChange:a}),c=void 0!==e,u=c?e:s;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=c},[c,i])}return[u,t.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else o(t)},[c,e,o,l])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>a],369340)},296626,e=>{"use strict";var t=e.i(271645),n=e.i(820783),r=e.i(934620),a=e=>{var a;let s,o,{present:l,children:c}=e,u=function(e){var n,a;let[s,o]=t.useState(),l=t.useRef(null),c=t.useRef(e),u=t.useRef("none"),[d,m]=(n=e?"mounted":"unmounted",a={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>
1a[e][t]??e,n));return t.useEffect(()=>{let e=i(l.current);u.current="mounted"===d?e:"none"},[d]),(0,r.useLayoutEffect)(()=>{let t=l.current,n=c.current;if(n!==e){let r=u.current,a=i(t);e?m("MOUNT"):"none"===a||t?.display==="none"?m("UNMOUNT"):n&&r!==a?m("ANIMATION_OUT"):m("UNMOUNT"),c.current=e}},[e,m]),(0,r.useLayoutEffect)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,n=n=>{let r=i(l.current).includes(CSS.escape(n.animationName));if(n.target===s&&r&&(m("ANIMATION_END"),!c.current)){let n=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=n)})}},r=e=>{e.target===s&&(u.current=i(l.current))};return s.addEventListener("animationstart",r),s.addEventListener("animationcancel",n),s.addEventListener("animationend",n),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",r),s.removeEventListener("animationcancel",n),s.removeEventListener("animationend",n)}}m("ANIMATION_END")},[s,m]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(l),d="function"==typeof c?c({present:u.isPresent}):t.Children.only(c),m=(0,n.useComposedRefs)(u.ref,(a=d,(o=(s=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?a.ref:(o=(s=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?a.props.ref:a.props.ref||a.ref));return"function"==typeof c||u.isPresent?t.cloneElement(d,{ref:m}):null};function i(e){return e?.animationName||"none"}a.displayName="Presence",e.s(["Presence",()=>a])}]);

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.