PageSourceSearch

https://www.solclaw.ai/_next/static/chunks/1cc93b5f514d569d.js?dpl=dpl_Eidrt9cRDfRHH93kjw6h5tHniNiq

js solclaw.ai collected 2026-10-05 14:15:16 UTC 23,622 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},18581,(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(71645);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=l(e,n)),t&&(o.current=l(t,n))},[e,t])}function l(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)},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return i},searchParamsToUrlQuery:function(){return l},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function l(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 a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(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,a(e));else t.set(r,a(n));return t}function i(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}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=e.r(90809)._(e.r(98183)),a=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",i=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)),i&&"object"==typeof i&&(i=String(l.urlQueryToSearchParams(i)));let c=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${s}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return j},NormalizeError:function(){return b},PageNotFoundError:function(){return y},SP:function(){return x},ST:function(){return h},WEB_VITALS:function(){return l},execOnce:function(){return a},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return i},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return w}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>s.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let x="u">typeof performance,h=x&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class b extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class j extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return l}});let n=e.r(18967),o=e.r(52817);function l(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}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return y}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=e.r(90809),a=e.r(18050),s=l._(e.r(71645)),i=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let p=e.r(91949),m=e.r(73668),x=e.r(9396);function h(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}function g(t){var r;let n,o,l,[i,g]=(0,s.useOptimistic)(p.IDLE_LINK_STATUS),y=(0,s.useRef)(null),{href:j,as:v,children:w,prefetch:N=null,passHref:k,replace:C,shallow:P,scroll:A,onClick:_,onMouseEnter:E,onTouchStart:$,legacyBehavior:F=!1,onNavigate:S,ref:L,unstable_dynamicOnHover:O,...M}=t;n=w,F&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let T=s.default.useContext(u.AppRouterContext),R=!1!==N,D=!1!==N?null===(r=N)||"auto"===r?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,{href:U,as:B}=s.default.useMemo(()=>{let e=h(j);return{href:e,as:v?h(v):e}},[j,v]);if(F){if(n?.$$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>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(n)}let I=F?o&&"object"==typeof o&&o.ref:L,K=s.default.useCallback(e=>(null!==T&&(y.current=(0,p.mountLinkInstance)(e,U,T,D,R,g)),()=>{y.current&&((0,p.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,p.unmountPrefetchableInstance)(e)}),[R,U,T,D,g]),z={ref:(0,c.useMergedRef)(K,I),onClick(t){F||"function"!=typeof _||_(t),F&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!T||t.defaultPrevented||function(t,r,n,o,l,a,i){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.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,m.isLocalURL)(r)){l&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);s.default.startTransition(()=>{d(n||r,l?"replace":"push",a??!0,o.current)})}}(t,U,B,y,C,A,S)},onMouseEnter(e){F||"function"!=typeof E||E(e),F&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),T&&R&&(0,p.onNavigationIntent)(e.currentTarget,!0===O)},onTouchStart:function(e){F||"function"!=typeof $||$(e),F&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),T&&R&&(0,p.onNavigationIntent)(e.currentTarget,!0===O)}};return(0,d.isAbsoluteUrl)(B)?z.href=B:F&&!k&&("a"!==o.type||"href"in o.props)||(z.href=(0,f.addBasePath)(B)),l=F?s.default.cloneElement(o,z):(0,a.jsx)("a",{...M,...z,children:n}),(0,a.jsx)(b.Provider,{value:i,children:l})}e.r(84508);let b=(0,s.createContext)(p.IDLE_LINK_STATUS),y=()=>(0,s.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},47962,79063,e=>{"use strict";let t={jupiter:"#24AE8F",kamino:"#9945FF",drift:"#E44FD0",raydium:"#7C3AED",meteora:"#F59E0B",marinade:"#4ADE80",orca:"#FFD700",jito:"#38BDF8",marginfi:"#14F195",tensor:"#F43F5E","magic eden":"#A855F7",triton:"#3B82F6",crossmint:"#60A5FA",dflow:"#34D399"},r=["#B57BFF","#4DFFC3","#6366F1","#F472B6","#FBBF24","#22D3EE","#A78BFA","#FB7185"];function n(e){let n=e.toLowerCase(),o=t[n];return o||r[function(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r)|0;return Math.abs(t)}(n)%r.length]}e.s(["getProtocolColor",()=>n],47962);let o={jupiter:"Jupiter",kamino:"Kamino",drift:"Drift",raydium:"Raydium",meteora:"Meteora",marinade:"Marinade",orca:"Orca",jito:"Jito",marginfi:"Project 0",tensor:"Tensor","magic eden":"Magic Eden",triton:"Triton",crossmint:"Crossmint",dflow:"DFlow",pumpfun:"Pumpfun"};function l(e){let t=e.toLowerCase(),r=o[t];return r||t.charAt(0).toUpperCase()+t.slice(1)}e.s(["getProtocolDisplayName",()=>l],79063)},98407,e=>{"use strict";var t=e.i(18050),r=e.i(71645);function n({value:e,prefix:n="",decimals:o=0}){let[l,a]=(0,r.useState)(e),s=(0,r.useRef)(0),i=(0,r.useRef)(null),u=(0,r.useRef)(e),c=(0,r.useRef)(!0);(0,r.useEffect)(()=>{if(c.current){c.current=!1,u.current=e,a(e);return}u.current=l,i.current=null;let t=r=>{null===i.current&&(i.current=r);let n=Math.min((r-i.current)/1200,1),o=1-Math.pow(1-n,3);a(u.current+(e-u.current)*o),n<1&&(s.current=requestAnimationFrame(t))};return s.current=requestAnimationFrame(t),()=>cancelAnimationFrame(s.current)},[e]);let d=o>0?l.toLocaleString(void 0,{minimumFractionDigits:o,maximumFractionDigits:o}):Math.round(l).toLocaleString();return(0,t.jsxs)("span",{children:[n,d]})}e.s(["AnimatedCounter",()=>n])},47581,e=>{"use strict";var t=e.i(18050),r=e.i(22016),n=e.i(71645),o=e.i(98407);let l={1:{label:"1st",order:"order-1 sm:order-2",border:"border-yellow-500/25",glow:"shadow-[0_0_24px_rgba(234,179,8,0.10)]",accent:"text-yellow-400/80"},2:{label:"2nd",order:"order-2 sm:order-1",border:"border-slate-400/20",glow:"shadow-[0_0_20px_rgba(148,163,184,0.08)]",accent:"text-slate-400/70"},3:{label:"3rd",order:"order-3",border:"border-amber-700/20",glow:"shadow-[0_0_20px_rgba(180,83,9,0.08)]",accent:"text-amber-600/70"}};function a({entry:e}){var n;let a=l[e.rank];return a?(0,t.jsx)("div",{className:`${a.order} flex-1`,children:(0,t.jsxs)(r.default,{href:`/stats/agents/${e.walletAddress}
1`,className:`flex flex-col items-center gap-4 rounded-2xl border ${a.border} ${a.glow} bg-white/[0.02] px-6 py-8 transition-all duration-300 hover:bg-white/[0.04]`,children:[(0,t.jsx)("span",{className:`text-[11px] font-medium uppercase tracking-wider ${a.accent}`,children:a.label}),(0,t.jsx)("p",{className:"text-lg font-semibold text-foreground",children:e.name??((n=e.walletAddress).length<=12?n:`${n.slice(0,4)}...${n.slice(-4)}`)}),(0,t.jsxs)("div",{className:"flex items-baseline gap-6",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"font-mono text-xl font-bold text-foreground tabular-nums",children:(0,t.jsx)(o.AnimatedCounter,{value:e.txCount})}),(0,t.jsx)("p",{className:"mt-0.5 text-[10px] text-muted/40",children:"txns"})]}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"font-mono text-sm font-medium text-foreground/60 tabular-nums",children:(0,t.jsx)(o.AnimatedCounter,{value:e.volumeUsd,prefix:"$",decimals:2})}),(0,t.jsx)("p",{className:"mt-0.5 text-[10px] text-muted/40",children:"volume"})]})]})]})}):null}function s({entries:e}){let r=e.slice(0,3);return 0===r.length?null:(0,t.jsx)("div",{className:"flex flex-col items-center gap-4 sm:flex-row sm:items-stretch sm:gap-4",children:r.map(e=>(0,t.jsx)(a,{entry:e},e.walletAddress))})}function i({totals:e,topProtocol:r}){return(0,t.jsx)("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-4",children:[{label:"Ranked Agents",el:(0,t.jsx)(o.AnimatedCounter,{value:e.agents})},{label:"Total Transactions",el:(0,t.jsx)(o.AnimatedCounter,{value:e.transactions})},{label:"Total Volume",el:(0,t.jsx)(o.AnimatedCounter,{value:e.volumeUsd,prefix:"$",decimals:2})},{label:"Top Protocol",el:r?(0,t.jsx)("span",{className:"text-foreground/80",children:r}):(0,t.jsx)("span",{className:"text-muted/30",children:"—"})}].map(e=>(0,t.jsxs)("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] px-4 py-3 backdrop-blur-sm",children:[(0,t.jsx)("p",{className:"text-[10px] uppercase tracking-wider text-muted/40",children:e.label}),(0,t.jsx)("p",{className:"mt-1 font-mono text-lg font-bold leading-none tracking-tight text-foreground tabular-nums",children:e.el})]},e.label))})}var u=e.i(47962),c=e.i(79063);let d={1:"text-yellow-400",2:"text-slate-300",3:"text-amber-600"};function f({rank:e}){let r=d[e];return r?(0,t.jsx)("span",{className:`font-mono text-[13px] font-semibold tabular-nums ${r}`,children:e}):(0,t.jsx)("span",{className:"font-mono text-[13px] text-muted/40 tabular-nums",children:e})}function p({protocols:e}){if(0===e.length)return null;let r=100/e.length;return(0,t.jsxs)("div",{className:"group/bar relative flex w-full items-center gap-2",children:[(0,t.jsx)("div",{className:"flex h-2 w-full overflow-hidden rounded-full bg-white/[0.03]",children:e.map(e=>(0,t.jsx)("div",{className:"h-full transition-all duration-300",style:{width:`${r}%`,backgroundColor:(0,u.getProtocolColor)(e),opacity:.7}},e))}),(0,t.jsx)("div",{className:"pointer-events-none absolute -top-8 left-1/2 z-10 hidden -translate-x-1/2 whitespace-nowrap rounded-md border border-white/[0.08] bg-[#0a0a0f]/95 px-2 py-1 text-[10px] text-foreground/60 shadow-lg backdrop-blur-sm group-hover/bar:block",children:e.map(e=>(0,c.getProtocolDisplayName)(e)).join(", ")})]})}function m(e){return e.length<=12?e:`${e.slice(0,4)}...${e.slice(-4)}`}let x={};function h({entries:e,previousRanks:o}){let[l,a]=(0,n.useState)("rank"),[s,i]=(0,n.useState)("asc"),[d,h]=(0,n.useState)(null),[g,b]=(0,n.useState)(""),y=Array.from(new Set(e.flatMap(e=>e.protocols))).sort(),j=g.toLowerCase(),v=[...e.filter(e=>(!d||!!e.protocols.includes(d))&&(!g||!!(e.walletAddress.toLowerCase().includes(j)||e.name&&e.name.toLowerCase().includes(j))))].sort((e,t)=>{let r="asc"===s?1:-1;return"rank"===l?r*(e.rank-t.rank):"txCount"===l?r*(e.txCount-t.txCount):"protocolCount"===l?r*(e.protocolCount-t.protocolCount):r*(e.volumeUsd-t.volumeUsd)}),[w]=(0,n.useState)(()=>Date.now());return(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted/30",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,t.jsx)("path",{d:"m21 21-4.3-4.3"})]}),(0,t.jsx)("input",{type:"text",value:g,onChange:e=>b(e.target.value),placeholder:"Search by name or wallet address...",className:"w-full rounded-lg border border-white/[0.06] bg-white/[0.02] py-2 pl-9 pr-3 text-[13px] text-foreground placeholder:text-muted/30 outline-none transition-colors duration-200 focus:border-white/[0.12] focus:bg-white/[0.03]"})]}),y.length>0&&(0,t.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[(0,t.jsx)("button",{onClick:()=>
1h(null),className:`cursor-pointer rounded-full px-3 py-1 text-[11px] font-medium transition-all duration-200 ${null===d?"bg-white/[0.1] text-foreground border border-white/[0.15]":"bg-white/[0.02] text-muted/40 border border-white/[0.06] hover:bg-white/[0.06] hover:text-muted/70 hover:border-white/[0.10]"}`,children:"All"}),y.map(e=>{let r=(0,u.getProtocolColor)(e),n=d===e;return(0,t.jsx)("button",{onClick:()=>h(n?null:e),className:`cursor-pointer rounded-full px-3 py-1 text-[11px] font-medium transition-all duration-200 ${n?"":"hover:bg-white/[0.06] hover:text-white/50 hover:border-white/[0.12]"}`,style:{backgroundColor:n?`${r}20`:void 0,color:n?`${r}dd`:void 0,border:n?`1px solid ${r}40`:"1px solid rgba(255,255,255,0.06)"},children:(0,c.getProtocolDisplayName)(e)},e)})]}),(0,t.jsx)("div",{className:"overflow-x-auto rounded-xl border border-white/[0.06] bg-white/[0.01]",children:(0,t.jsxs)("table",{className:"w-full min-w-[640px]",children:[(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{className:"border-b border-white/[0.06]",children:[{key:"rank",label:"#",align:"text-left"},{key:null,label:"Agent",align:"text-left"},{key:null,label:"Protocols",align:"text-left"},{key:"txCount",label:"Transactions",align:"text-right"},{key:"protocolCount",label:"# Protocols",align:"text-right"},{key:"volumeUsd",label:"Est. Volume",align:"text-right"}].map(e=>(0,t.jsx)("th",{className:`px-4 py-3 text-[10px] font-medium uppercase tracking-wider text-muted/40 ${e.align} ${e.key?"cursor-pointer select-none hover:text-muted/60 transition-colors":""}`,onClick:e.key?()=>{var t;l===(t=e.key)?i(e=>"asc"===e?"desc":"asc"):(a(t),i("rank"===t?"asc":"desc"))}:void 0,children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[e.label,e.key&&l===e.key&&(0,t.jsx)("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"currentColor",className:`transition-transform ${"desc"===s?"rotate-180":""}`,children:(0,t.jsx)("path",{d:"M4 1L7 5.5H1L4 1Z"})})]})},e.label))})}),(0,t.jsx)("tbody",{children:0===v.length?(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:6,className:"px-4 py-8 text-center text-[13px] text-muted/40",children:d?"No agents using this protocol":"No agent activity yet"})}):v.map(e=>{let n=o.get(e.walletAddress),l=null!=n?n-e.rank:0,a=x[e.rank]??"border-l-transparent";return(0,t.jsxs)("tr",{className:`group border-b border-white/[0.03] border-l-2 transition-colors duration-200 hover:bg-white/[0.02] ${a}`,children:[(0,t.jsx)("td",{className:"px-4 py-3",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(f,{rank:e.rank}),0!==l&&(0,t.jsx)("span",{className:`text-[10px] font-medium ${l>0?"text-sol-green":"text-red-400"}`,children:l>0?`↑${l}`:`↓${Math.abs(l)}`})]})}),(0,t.jsx)("td",{className:"px-4 py-3",children:(0,t.jsxs)(r.default,{href:`/stats/agents/${e.walletAddress}`,className:"group/name inline-flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-[13px] font-medium text-foreground/80 transition-colors group-hover/name:text-foreground",children:e.name??m(e.walletAddress)}),e.name&&(0,t.jsx)("span",{className:"hidden font-mono text-[10px] text-muted/25 sm:inline",children:m(e.walletAddress)}),!!e.createdAt&&w-new Date(e.createdAt).getTime()<864e5&&(0,t.jsx)("span",{className:"rounded bg-sol-green/15 px-1.5 py-0.5 text-[9px] font-semibold uppercase tracking-wider text-sol-green",children:"New"})]})}),(0,t.jsx)("td",{className:"px-4 py-3",children:(0,t.jsx)("div",{className:"w-24",children:(0,t.jsx)(p,{protocols:e.protocols})})}),(0,t.jsx)("td",{className:"px-4 py-3 text-right font-mono text-[13px] font-medium text-foreground/70 tabular-nums",children:e.txCount.toLocaleString()}),(0,t.jsx)("td",{className:"px-4 py-3 text-right font-mono text-[13px] text-muted/50 tabular-nums",children:e.protocolCount}),(0,t.jsxs)("td",{className:"px-4 py-3 text-right font-mono text-[13px] text-foreground/60 tabular-nums",children:["$",e.volumeUsd.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})]})]},e.walletAddress)})})]})})]})}function g({initialData:e,initialError:o=!1}){let l=!!o&&"initial",a=(0,n.useMemo)(()=>{let t=new Map;for(let r of e.entries)t.set(r.walletAddress,r.rank);return t},[e.entries]);return(0,t.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,t.jsxs)("div",{className:"flex w-full items-start gap-4",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)(r.default,{href:"/stats",className:"group mb-4 inline-flex items-center gap-2 text-[12px] text-muted/50 transition-colors duration-300 hover:text-muted",children:[(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"transition-transform duration-300 group-hover:-translate-x-0.5",children:(0,t.jsx)("path",{d:"M19 12H5M12 19l-7-7 7-7"})}),"Stats"]}),(0,t.jsx)("h1",{className:"text-[clamp(1.75rem,4vw,2.5rem)] font-semibold tracking-tight text-foreground leading-[1.1]",children:"Leaderboard"})]}),(0,t.jsxs)("div",{className:"mt-0.5 ml-auto flex shrink-0 items-center gap-2 self
1-start",children:[(0,t.jsxs)(r.default,{href:"/dashboard",className:"cta-glow flex h-9 items-center gap-2 rounded-full border border-sol-purple/30 bg-sol-purple/[0.1] px-5 text-[13px] font-medium text-foreground/90 backdrop-blur-xl transition-all duration-500 hover:border-sol-purple/50 hover:bg-sol-purple/[0.18] hover:text-foreground",children:[(0,t.jsxs)("span",{className:"relative flex h-1.5 w-1.5",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-sol-purple opacity-75",style:{animationDuration:"2s"}}),(0,t.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-sol-purple"})]}),"Open dashboard"]}),(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-white/[0.08] bg-white/[0.02] px-3 py-1 text-[11px] text-foreground/45 backdrop-blur-sm",children:[(0,t.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-sol-green opacity-75",style:{animationDuration:"2s"}}),(0,t.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-sol-green"})]}),"Live"]})]})]}),l&&(0,t.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border border-yellow-500/20 bg-yellow-500/[0.06] px-4 py-3",children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:"shrink-0 text-yellow-500/80",children:[(0,t.jsx)("path",{d:"M8 1.5L14.5 13H1.5L8 1.5z",stroke:"currentColor",strokeWidth:"1.2",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M8 6.5v3M8 11v.5",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]}),(0,t.jsx)("p",{className:"text-[12px] text-yellow-200/70",children:"initial"===l?"Unable to reach the metrics API — data will appear automatically once the connection is restored":"Having trouble fetching updated data — showing the latest available metrics"})]}),(0,t.jsx)(i,{totals:e.totals,topProtocol:e.topProtocol}),(0,t.jsx)(s,{entries:e.entries}),(0,t.jsx)(h,{entries:e.entries,previousRanks:a})]})}e.s(["LeaderboardDashboard",()=>g],47581)}]);

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.