PageSourceSearch

https://app.rubicon.finance/assets/index.16024229.js

js rubicon.finance collected 2026-10-04 14:13:01 UTC 76,920 bytes, 67 lines download raw bytes

1import{e6 as Ie,_ as t,dy as Ve,aS as F,k as ct,b9 as pt,ay as Ge,v as Ke,cF as mt,dt as ut,ao as gt,dK as ht,du as vt,dM as Ee,dN as Be,fs as Ye,o as Xe,ab as Se,eb as _e,h as Ze,A as ft,at as yt,ex as De,e9 as re,ec as Re,eu as Pe,eI as Qe,eH as ce,es as Je,ft as bt,ev as et,eC as Fe,eE as wt,eF as xt,fu as St,eW as _t,aw as kt,l as Ct,n as Tt,w as $t,c1 as Dt,fv as Lt,fw as It,av as Rt,f as zt,y as At,ei as Wt,el as Et,z as Bt,fx as Pt,ce as Ft,fy as Ce,a1 as Ne,aA as Nt,dF as Mt,cn as Ut,cb as Ht,c5 as tt,x as Ot}from"./index.b623fa29.js";import{r as s,R as ye,j as r,d as o,F as ie}from"./framer-motion.dfb2f9a2.js";import{S as qt}from"./SwapWidget.819c0a88.js";import{S as jt}from"./index.329f01ba.js";import{u as Vt,C as Gt,r as be,a as Kt,p as Yt,R as Me}from"./rows.44255c8c.js";import{C as Xt}from"./widgets.ed7eb5f6.js";import{E as Zt,C as Qt}from"./coingecko.9f55e8ea.js";import{K as Jt,A as E,Z as ze,ae as er,a7 as tr,s as rr,af as ir,ag as or,X as nr,U as ar,a0 as lr,R as dr,ah as sr,h as cr}from"./form.90f2aaab.js";import{c as pr,u as mr,f as le,C as ur}from"./useCandles.b698ea7d.js";import{C as gr}from"./ethers.fcdd5a3f.js";import"./react-tippy.ba4d17fb.js";import"./@sentry/react.2f9bd17f.js";import"./twin.macro.f22fa0e4.js";import"./supabase.32e90563.js";import"./@sentry/tracing.b285901a.js";import"./zeroEx.4f52f278.js";import"./decodeSwapReceipt.cc33ef5d.js";import"./gas.54dc063a.js";import"./encodePacked.5e5a4f5b.js";import"./formatAmount.103fb201.js";import"./approval.5e0fe88d.js";import"./UniswapV3Staker.3b533875.js";import"./base.4e25bbee.js";import"./triangle-alert.149a72de.js";import"./chevron-down.c539e228.js";import"./getContractAddress.041aa714.js";/**
2 * @license lucide-react v0.451.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const hr=Ie("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/**
7 * @license lucide-react v0.451.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const Ae=Ie("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
12 * @license lucide-react v0.451.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const rt=Ie("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]),vr={aquila:"Aquila",clmm:"CLMM",vault:"Vault",farm:"Farm"},fr={background:"rgba(34,197,94,0.16)",color:"#86efac"};function yr(){return r(Sr,{style:fr,title:"Community farm \u2014 stake this pair's LP token to earn rewards posted by its creator",children:"Farm"})}function br(e){return e.paused?{label:"Paused",color:"#fbbf24"}:e.periodFinish&&e.periodFinish*1e3<Date.now()?{label:"Ended",color:"#9ca3af"}:e.rewardTokens?.length?{label:"Active",color:"#4ade80"}:null}const wr=/^\?+$/;function Te(...e){return e.find(i=>!!i&&!wr.test(i)&&i.toLowerCase()!=="unknown")}function Ue(e){return e?`${e.slice(0,6)}\u2026${e.slice(-4)}`:"?"}const He=8;function Oe({label:e,sortKey:i,activeKey:a,dir:c,align:u,onSort:m}){const y=i===a;return o(_r,{onClick:()=>m(i),style:{justifyContent:u==="center"?"center":"flex-start"},children:[r("span",{style:{color:y?"#d1d5db":void 0},children:e}),r(kr,{style:{opacity:y?1:.3},children:y?c==="desc"?"\u25BC":"\u25B2":"\u25BC"})]})}const xr=({token:e,chainId:i})=>{const a=Ge(),[c,u]=s.exports.useState("tvl"),[m,y]=s.exports.useState("desc"),[h,S]=s.exports.useState("all"),[w,x]=s.exports.useState(!1),{tokens:R,arenaTokens:_,pricesByChainAndAddress:z}=Ke(),{enrichedPairs:n,isLoading:T}=mt(),{farms:$,isLoading:B}=ut(),{pools:k,loading:L}=gt(i),{vaults:K,loading:N}=ht(i),P=e.address.toLowerCase(),j=e.symbol.toUpperCase(),C=s.exports.useMemo(()=>[...R??[],..._??[]],[R,_]),Y=ye.useCallback(l=>{const d=C.find(g=>g?.chainId===i&&g?.address?.toLowerCase()===l.toLowerCase());
16return{address:l,symbol:Te(d?.symbol)??Ue(l),decimals:d?.decimals??18,logoURI:d?.logoURI||void 0}},[C,i]),M=ye.useCallback(l=>{const d=C.find(g=>g?.chainId===i&&g?.symbol?.toUpperCase()===l?.toUpperCase());return{symbol:Te(l)??"?",logoURI:d?.logoURI||void 0}},[C,i]),oe=ye.useCallback(l=>{const d=l?.address??l?.id,g=d?C.find(b=>b?.chainId===i&&b?.address?.toLowerCase()===d.toLowerCase()):void 0;return{...l,symbol:Te(l?.symbol,g?.symbol)??Ue(d),logoURI:l?.logoURI||g?.logoURI||void 0}},[C,i]),he=s.exports.useMemo(()=>n?n.filter(l=>l.token0?.chainId!==i&&l.token1?.chainId!==i?!1:l.token0?.address?.toLowerCase()===P||l.token1?.address?.toLowerCase()===P).map(l=>({...l,token0:oe(l.token0),token1:oe(l.token1)})):[],[n,i,P,oe]),A=s.exports.useMemo(()=>k.filter(l=>l.chainId===i&&(l.token0.toLowerCase()===P||l.token1.toLowerCase()===P)),[k,i,P]),I=s.exports.useMemo(()=>Math.floor(Date.now()/1e3/3600)*3600-7*86400,[]),X=s.exports.useMemo(()=>A.map(l=>({chainId:l.chainId,address:l.address})),[A]),{volumesByPool:V}=Vt(X,{sinceSec:I}),W=s.exports.useMemo(()=>K.filter(l=>l.chainId===i&&(l.token0.toLowerCase()===P||l.token1.toLowerCase()===P)),[K,i,P]),U=s.exports.useMemo(()=>$?$.filter(l=>l.chainId!==i||!(l.token0Symbol?.toUpperCase()===j||l.token1Symbol?.toUpperCase()===j)?!1:!Object.values(vt[i]??{}).some(b=>b?.stakingContract?.toLowerCase()===l.stakingContract?.toLowerCase())):[],[$,i,j]),ee=z?.[i],D=s.exports.useMemo(()=>{const l=[];for(const d of he)l.push({key:`aquila-${d.id}`,rail:"aquila",pairLabel:`${d.token0?.symbol??"?"}/${d.token1?.symbol??"?"}`,tvlUsd:Number(d.tvlUSD)||0,node:r(Gt,{pair:d})});for(const d of A){const g=Y(d.token0),b=Y(d.token1),{price0:G,price1:Z}=Ee({chainPrices:ee,token0:d.token0,token1:d.token1,symbol0:g.symbol,symbol1:b.symbol,dec0:g.decimals,dec1:b.decimals,currentTick:d.tick}),p=Be(be(d.reserve0,g.decimals),be(d.reserve1,b.decimals),G,Z).tvl??0;l.push({key:`clmm-${d.address}`,rail:"clmm",pairLabel:`${g.symbol}/${b.symbol}`,tvlUsd:p,node:r(Kt,{pool:d,volumeStats:V.get(Yt(d.chainId,d.address)),onAddLiquidity:f=>a(`/liquidity/clmm/${d.chainId}/${f}`)})})}for(const d of W){const g=Y(d.token0),b=Y(d.token1),{price0:G,price1:Z}=Ee({chainPrices:ee,token0:d.token0,token1:d.token1,symbol0:g.symbol,symbol1:b.symbol,dec0:g.decimals,dec1:b.decimals,currentTick:d.currentTick}),p=be(d.totalAmount0,g.decimals),f=be(d.totalAmount1,b.decimals),v=Be(p,f,G,Z).tvl??0,ne=`/pools/cl/vaults/${d.chainId}/${d.address}`;l.push({key:`vault-${d.address}`,rail:"vault",pairLabel:`${g.symbol}/${b.symbol}`,tvlUsd:v,node:r(Me,{kind:"vault",chainId:d.chainId,address:d.address,token0:g,token1:b,onOpen:()=>a(ne),tvl:{value:v>0?v:null,isEstimate:!1,amount0:p,amount1:f},apr:null,actions:o(Cr,{onClick:()=>a(ne),children:[r(Tr,{}),"Deposit"]})})})}for(const d of U){const g=M(d.token0Symbol),b=M(d.token1Symbol),G=d.stakingTVLUSD??0,Z=(d.aprInfo?.simpleAPR??0)/100,p=br(d),f=d.rewardTokens?.map(v=>v.symbol).filter(Boolean)??[];l.push({key:`farm-${d.id}`,rail:"farm",pairLabel:`${g.symbol}/${b.symbol}`,tvlUsd:G,node:r(Me,{kind:"aquila",badge:o(ie,{children:[r(yr,{}),p&&r($r,{style:{background:"rgba(255,255,255,0.06)",color:p.color},children:p.label})]}),chainId:d.chainId,address:d.pairAddress||d.stakingContract,token0:g,token1:b,onOpen:()=>a("/liquidity/all-farms"),tvl:{value:G>0?G:null,isEstimate:!1},apr:{totalFraction:Z,feeFraction:0,rewardFraction:Z,rewardSubtitle:f.length?`${f.join(" + ")} rewards`:void 0},actions:r(Dr,{onClick:()=>a("/liquidity/all-farms"),children:"Stake"})})})}return l},[he,A,W,U,ee,Y,M,V,a]),O=s.exports.useMemo(()=>["aquila","clmm","vault","farm"].filter(d=>D.some(g=>g.rail===d)),[D]);s.exports.useEffect(()=>{h!=="all"&&!O.includes(h)&&S("all")},[O,h]);const te=s.exports.useMemo(()=>{const l=h==="all"?D:D.filter(g=>g.rail===h),d=m==="desc"?-1:1;return[...l].sort((g,b)=>c==="pair"?d*g.pairLabel.localeCompare(b.pairLabel):d*(g.tvlUsd-b.tvlUsd))},[D,h,c,m]),q=w?te:te.slice(0,He),pe=T||B||L||N,H=s.exports.useRef(!1);s.exports.useEffect(()=>{pe||(H.current=!0)},[pe]);const ve=pe&&!H.current;function me(l){l===c?y(m==="desc"?"asc":"desc"):(u(l),y("desc"))}return o(Lr,{children:[o(Ir,{children:[o(Rr,{children:[r(zr,{size:"lg",weight:"bold",children:"Liquidity"}),!ve&&D.length>0&&o(Ar,{size:"sm",children:[D.length," ",D.length===1?"pool":"pools"]})]}),O.length>1&&r(Wr,{children:["all",...O].map(l=>r(Er,{onClick:()=>S(l),style:{background:h===l?"rgba(99,102,241,0.18)":"transparent",color:h===l?"#a5b4fc":"#9ca3af"},children:l==="all"?"All":vr[l]},l))})]}
16),o(Br,{children:[o(Pr,{children:[r(Oe,{label:"Pool",sortKey:"pair",activeKey:c,dir:m,align:"left",onSort:me}),r(Fr,{children:"Chain"}),r(Oe,{label:"TVL",sortKey:"tvl",activeKey:c,dir:m,align:"center",onSort:me}),r(Nr,{children:"Fee APR"}),r(Mr,{children:"Rewards"}),r("div",{})]}),r(Ur,{children:ve?r(Hr,{children:[1,2,3].map(l=>r(Or,{},l))}):q.length===0?r(Xt,{emoji:"\u{1F3CA}",title:`No liquidity pools for ${e.symbol} yet`,subtitle:"Be the first to provide liquidity for this token and start earning trading fees.",children:o(qr,{onClick:()=>a("/liquidity"),children:[r(jr,{}),"New Position"]})}):q.map(l=>r(ye.Fragment,{children:l.node},l.key))}),te.length>He&&o(Vr,{onClick:()=>x(l=>!l),children:[w?"Show less":`Show all ${te.length} pools`,r(Gr,{style:{transform:w?"rotate(180deg)":"none"}})]})]}),U.length>0&&o(Kr,{href:"/liquidity/all-farms",onClick:l=>{l.preventDefault(),a("/liquidity/all-farms")},children:["Browse all community farms",r(Yr,{})]})]})};var Sr=t("span")({borderRadius:"0.25rem",paddingLeft:"0.375rem",paddingRight:"0.375rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500"}),_r=t("button")({display:"flex",alignItems:"center",gap:"0.25rem",fontSize:"0.75rem",lineHeight:"1rem",textTransform:"uppercase",letterSpacing:"0.025em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{"--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))"}}),kr=t("span")({fontSize:"10px"}),Cr=t("button")({display:"flex",alignItems:"center",gap:"0.25rem",borderRadius:"0.5rem",backgroundColor:"rgb(37 99 235 / 0.2)",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{backgroundColor:"rgb(37 99 235 / 0.4)"}}),Tr=t(Ve)({height:"0.75rem",width:"0.75rem"}),$r=t("span")({borderRadius:"0.25rem",paddingLeft:"0.375rem",paddingRight:"0.375rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500"}),Dr=t("button")({display:"flex",alignItems:"center",gap:"0.25rem",borderRadius:"0.5rem",backgroundColor:"rgb(37 99 235 / 0.2)",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{backgroundColor:"rgb(37 99 235 / 0.4)"}}),Lr=t("section")({width:"100%"}),Ir=t("div")({marginBottom:"0.75rem",display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between",gap:"0.75rem"}),Rr=t("div")({display:"flex",alignItems:"baseline",gap:"0.5rem"}),zr=t(F)({"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}),Ar=t(F)({"--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Wr=t("div")({display:"flex",flexWrap:"wrap",gap:"0.25rem",borderRadius:"0.5rem",borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(31 41 55 / var(--tw-border-opacity, 1))","--tw-bg-opacity":"1",backgroundColor:"rgb(17 24 39 / var(--tw-bg-opacity, 1))",padding:"0.25rem"}),Er=t("button")({whiteSpace:"nowrap",borderRadius:"0.375rem",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","@media (min-width: 768px)":{paddingLeft:"0.75rem",paddingRight:"0.75rem",fontSize:"0.875rem",lineHeight:"1.25rem"}}),Br=t("div")({overflow:"hidden",borderRadius:"0.75rem",borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(31 41 55 / var(--tw-border-opacity, 1))"}),Pr=t("div")({display:"none",gridTemplateColumns:"minmax(0,1.9fr) minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.1fr) 140px",alignItems:"center",gap:"1rem",borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(31 41 55 / var(--tw-border-opacity, 1))","--tw-bg-opacity":"1",backgroundColor:"rgb(17 24 39 / var(--tw-bg-opacity, 1))",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.75rem",paddingBottom:"0.75rem","@media (min-width: 768px)":{display:"grid"}}),Fr=t("div")({textAlign:"left",fontSize:"0.75rem",lineHeight:"1rem",textTransform:"uppercase",letterSpacing:"0.025em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Nr=t("div")({textAlign:"center",fontSize:"0.75rem",lineHeight:"1rem",textTransform:"uppercase",letterSpacing:"0.025em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Mr=t("div")({textAlign:"center",fontSize:"0.75rem",lineHeight:"1rem",textTransform:"uppercase",letterSpacing:"0.025em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Ur=t("div")({"--tw-bg-opacity":"1",backgroundColor:"rgb(17 24 39 / var(--tw-bg-opacity, 1))"}),Hr=t("div")({"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.75rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.75rem * var(--tw-space-y-reverse))"},padding:"1rem"}),Or=t(jt)({height:"4rem",width:"100%",borderRadius:"0.5rem"}
16),qr=t("button")({display:"flex",alignItems:"center",gap:"0.375rem",borderRadius:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgb(37 99 235 / var(--tw-bg-opacity, 1))",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(59 130 246 / var(--tw-bg-opacity, 1))"}}),jr=t(Ve)({height:"1rem",width:"1rem"}),Vr=t("button")({display:"flex",width:"100%",alignItems:"center",justifyContent:"center",gap:"0.375rem",borderTopWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(31 41 55 / var(--tw-border-opacity, 1))","--tw-bg-opacity":"1",backgroundColor:"rgb(17 24 39 / var(--tw-bg-opacity, 1))",paddingTop:"0.625rem",paddingBottom:"0.625rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}}),Gr=t(ct)({height:"1rem",width:"1rem",transitionProperty:"transform",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),Kr=t("a")({marginTop:"0.75rem",display:"inline-flex",alignItems:"center",gap:"0.375rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{"--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))"}}),Yr=t(pt).withConfig({displayName:"TokenPools___StyledExternalLinkIcon",componentId:"sc-1e4ntva-0"})({height:"0.75rem",width:"0.75rem"});const Xr={1:"Etherscan",10:"Optimistic Etherscan",137:"PolygonScan",8453:"BaseScan",42161:"Arbiscan",4663:"Blockscout"};function it(e){return Xr[e]??"Explorer"}const Zr=new Set([1,10,137,8453,42161]),ot={display:"flex",height:"1.5rem",width:"1.5rem",alignItems:"center",justifyContent:"center",borderRadius:"0.375rem",borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(31 41 55 / var(--tw-border-opacity, 1))",backgroundColor:"rgb(31 41 55 / 0.6)",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(55 65 81 / var(--tw-bg-opacity, 1))"},"@media (min-width: 640px)":{height:"2.25rem",width:"2.25rem",borderRadius:"0.5rem"}},Qr=t.a`
17  ${ot}
18`,Jr=t.button`
19  ${ot}
20`;function ue({href:e,label:i,children:a}){return r(Qr,{href:e,target:"_blank",rel:"noopener noreferrer",title:i,"aria-label":i,children:a})}const ei=({chainId:e,address:i,geckoId:a,homepage:c,twitter:u,telegram:m})=>{const y=Xe(e,i,"token"),h=it(e);async function S(){try{await navigator.clipboard.writeText(window.location.href),Se("Page URL copied to clipboard!")}catch{const w=document.createElement("textarea");w.value=window.location.href,document.body.appendChild(w),w.select(),document.execCommand("copy"),document.body.removeChild(w),Se("Page URL copied to clipboard!")}}return o(ti,{children:[r(ue,{href:y,label:`View on ${h}`,children:Zr.has(e)?r(ri,{src:Zt,alt:""}):r(ii,{"aria-hidden":!0})}),a&&r(ue,{href:`https://www.coingecko.com/en/coins/${a}`,label:"View on CoinGecko",children:r(oi,{src:Qt,alt:""})}),c&&r(ue,{href:c,label:"Project website",children:r(ni,{"aria-hidden":!0})}),u&&r(ue,{href:/^https?:\/\//i.test(u)?u:`https://x.com/${u.replace(/^@/,"")}`,label:`${/^https?:\/\//i.test(u)?u.replace(/^https?:\/\/(www\.)?(x|twitter)\.com\//i,"@"):`@${u}`} on X`,children:r(ai,{"aria-hidden":!0})}),m&&r(ue,{href:/^https?:\/\//i.test(m)?m:`https://t.me/${m.replace(/^@/,"")}`,label:"Telegram",children:r(li,{"aria-hidden":!0})}),r(Jr,{onClick:S,title:"Copy page URL","aria-label":"Copy page URL",children:r(di,{})})]})};var ti=t("div")({display:"grid",flexShrink:"0",gridTemplateColumns:"repeat(3, minmax(0, 1fr))",gap:"0.375rem","@media (min-width: 640px)":{display:"flex",alignItems:"center",gap:"0.5rem"}}),ri=t("img")({height:"1rem",width:"1rem",objectFit:"contain","@media (min-width: 640px)":{height:"18px",width:"18px"}}),ii=t(Ae)({height:"1rem",width:"1rem","--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))","@media (min-width: 640px)":{height:"18px",width:"18px"}}),oi=t("img")({height:"1rem",width:"1rem",objectFit:"contain","@media (min-width: 640px)":{height:"18px",width:"18px"}}),ni=t(Ae)({height:"1rem",width:"1rem","--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))","@media (min-width: 640px)":{height:"18px",width:"18px"}}),ai=t(Jt)({height:"1rem",width:"1rem","--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))","@media (min-width: 640px)":{height:"18px",width:"18px"}}),li=t(rt)({height:"1rem",width:"1rem","--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))","@media (min-width: 640px)":{height:"18px",width:"18px"}}),di=t(Ye).withConfig({displayName:"TokenLinks___StyledDocumentDuplicateIcon",componentId:"sc-19q5e1z-0"}
20)({height:"1rem",width:"1rem","--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))","@media (min-width: 640px)":{height:"18px",width:"18px"}});function $e(e){return isFinite(e)?e>=1e9?`$${(e/1e9).toFixed(2)}B`:e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(1)}K`:`$${e.toFixed(2)}`:"\u2014"}function xe(e){if(!isFinite(e))return"\u2014";if(e>=1)return`$${e.toLocaleString(void 0,{maximumFractionDigits:2})}`;if(e>=.01)return`$${e.toFixed(4)}`;if(e<=0)return"$0";const i=Math.max(0,Math.ceil(-Math.log10(e))-1),a=Math.min(20,i+4);return`$${e.toFixed(a).replace(/0+$/,"")}`}function si(e){return isFinite(e)?e>=1e9?`${(e/1e9).toFixed(2)}B`:e>=1e6?`${(e/1e6).toFixed(2)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toLocaleString(void 0,{maximumFractionDigits:2}):"\u2014"}function de({label:e,value:i,sub:a}){return o(ci,{style:{background:"linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.028)), rgba(255,255,255,0.035)",border:"1px solid rgba(255,255,255,0.07)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.04)"},children:[r(pi,{children:e}),r(mi,{children:i}),a]})}const qe=({marketData:e,symbol:i,layout:a="strip"})=>{if(!e||e.price_usd==null)return null;const c=e.price_change_24h,u=(c??0)>=0,m=[];return m.push(r(de,{label:"Price",value:xe(e.price_usd),sub:c!=null?o(ui,{style:{color:u?"#4ade80":"#f87171",backgroundColor:u?"rgba(34,197,94,0.1)":"rgba(239,68,68,0.1)"},children:[r("span",{children:u?"\u25B2":"\u25BC"}),Math.abs(c).toFixed(2),"%",r(gi,{children:"24h"})]}):void 0},"price")),e.market_cap!=null&&e.market_cap>0&&m.push(r(de,{label:"Market Cap",value:$e(e.market_cap),sub:e.market_cap_rank!=null?o(hi,{children:["Rank #",e.market_cap_rank]}):void 0},"mcap")),e.volume_24h!=null&&e.volume_24h>0&&m.push(r(de,{label:"24h Volume",value:$e(e.volume_24h)},"vol")),e.fully_diluted_valuation!=null&&e.fully_diluted_valuation>0&&m.push(r(de,{label:"FDV",value:$e(e.fully_diluted_valuation)},"fdv")),e.high_24h!=null&&e.low_24h!=null&&m.push(r(de,{label:"24h Range",value:xe(e.low_24h),sub:o(vi,{children:["to ",xe(e.high_24h)]})},"range")),e.circulating_supply!=null&&e.circulating_supply>0&&m.push(r(de,{label:"Circulating Supply",value:si(e.circulating_supply),sub:r(fi,{children:i})},"supply")),a==="rail"?r(yi,{children:m}):r(bi,{children:m})};var ci=t("div")({minWidth:"0px",borderRadius:"0.75rem",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.75rem",paddingBottom:"0.75rem"}),pi=t("div")({marginBottom:"0.25rem",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"600","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity, 1))"}),mi=t("div")({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))","@media (min-width: 768px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}}),ui=t("div")({marginTop:"0.25rem",display:"inline-flex",alignItems:"center",gap:"0.25rem",borderRadius:"0.25rem",paddingLeft:"0.375rem",paddingRight:"0.375rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500"}),gi=t("span")({marginLeft:"0.125rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),hi=t("div")({marginTop:"0.25rem",display:"inline-flex",borderRadius:"0.25rem",backgroundColor:"rgb(59 130 246 / 0.1)",paddingLeft:"0.375rem",paddingRight:"0.375rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity, 1))"}),vi=t("div")({marginTop:"0.25rem",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),fi=t("div")({marginTop:"0.25rem",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),yi=t("div")({display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:"0.75rem"}),bi=t("div").withConfig({displayName:"TokenStats___StyledDiv9",componentId:"sc-jkraw1-0"})({display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:"0.75rem","@media (min-width: 768px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"},"@media (min-width: 1024px)":{gridTemplateColumns:"repeat(6, minmax(0, 1fr))"}});const wi=t.div`
21  ${{position:"relative",display:"flex",flexDirection:"column",overflow:"hidden",borderRadius:"24px"}}
22  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 100%),
23    linear-gradient(145deg, #171028 0%, #0b0718 58%, #080d17 100%);
24  border: 1px solid rgba(255, 255, 255, 0.11);
25  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.46), 0 0 90px rgba(186, 47, 42, 0.14),
26    inset 0 1px 0 rgba(255, 255, 255, 0.08);
27
28  &::after {
29    ${{pointerEvents:"none",position:"absolute",left:"1.5rem",right:"1.5rem",top:"0px",height:"1px"}}
30    content: '';
31    background: linear-gradient(90deg, transparent, rgba(226, 74, 66, 0.95), rgba(255, 255, 255, 0.4), transparent);
32    z-index: 2;
33  }
34`;
34var xi=t(wi)({height:"100%"});const Si=({chartUrl:e,resolving:i,chainId:a,symbol:c,priceUsd:u,priceChange24h:m,isMobile:y,fallback:h})=>{const[S,w]=s.exports.useState(!0),x=s.exports.useRef();s.exports.useEffect(()=>{if(!e){w(!1);return}return w(!0),x.current=setTimeout(()=>w(!1),8e3),()=>clearTimeout(x.current)},[e]);const R=(m??0)>=0,n=i||!!e||!i&&!e&&!!h?y?{height:420}:{flex:"1 1 auto",minHeight:520}:{height:y?240:280};return o(xi,{children:[o(_i,{children:[o(ki,{children:[o(Ci,{size:"sm",weight:"bold",children:[c,"/USD"]}),r(Ti,{size:"xs",children:"Price chart"})]}),u!=null&&o($i,{children:[r(Di,{size:"sm",weight:"bold",children:xe(u)}),m!=null&&o(Li,{style:{color:R?"#4ade80":"#f87171",backgroundColor:R?"rgba(34,197,94,0.1)":"rgba(239,68,68,0.1)"},children:[r("span",{children:R?"\u25B2":"\u25BC"}),Math.abs(m).toFixed(2),"%"]})]})]}),r(Ii,{style:n,children:i?o(Ri,{children:[r(zi,{}),r(Ai,{}),r(Wi,{})]}):e?o(ie,{children:[r("iframe",{id:"geckoterminal-embed",title:`${c} price chart`,src:e,frameBorder:"0",allow:"clipboard-write",allowFullScreen:!0,style:{position:"absolute",inset:0,width:"100%",height:"100%",display:"block"},onLoad:()=>w(!1)},e),S&&r(Ei,{children:o(Bi,{children:[r(Pi,{}),r(Fi,{}),r(Ni,{})]})})]}):h?r(Mi,{children:h}):r(pr,{chainId:a,symbol:c})})]})};var _i=t("div")({position:"relative",zIndex:"1",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"0.75rem",borderBottomWidth:"1px",borderColor:"rgb(255 255 255 / 0.06)",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.75rem",paddingBottom:"0.75rem","@media (min-width: 768px)":{paddingLeft:"1.25rem",paddingRight:"1.25rem"}}),ki=t("div")({display:"flex",minWidth:"0px",alignItems:"baseline",gap:"0.5rem"}),Ci=t(F)({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}),Ti=t(F)({display:"none","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))","@media (min-width: 640px)":{display:"inline"}}),$i=t("div")({display:"flex",flexShrink:"0",alignItems:"center",gap:"0.5rem"}),Di=t(F)({"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}),Li=t("span")({display:"inline-flex",alignItems:"center",gap:"0.25rem",borderRadius:"0.25rem",paddingLeft:"0.375rem",paddingRight:"0.375rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500"}),Ii=t("div")({position:"relative",width:"100%",overflow:"hidden"}),Ri=t("div")({position:"absolute",inset:"0px",display:"flex",flexDirection:"column",gap:"0.75rem",padding:"1rem","@media (min-width: 768px)":{padding:"1.5rem"}}),zi=t("div")({height:"0.75rem",width:"8rem","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"0.25rem",backgroundColor:"rgb(255 255 255 / 0.06)"}),Ai=t("div")({flex:"1 1 0%","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"0.5rem",backgroundColor:"rgb(255 255 255 / 0.04)"}),Wi=t("div")({height:"0.625rem",width:"100%","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"0.25rem",backgroundColor:"rgb(255 255 255 / 0.05)"}),Ei=t("div")({position:"absolute",inset:"0px",display:"flex",alignItems:"center",justifyContent:"center","--tw-bg-opacity":"1",backgroundColor:"rgb(11 7 24 / var(--tw-bg-opacity, 1))"}),Bi=t("div")({display:"flex",height:"100%",width:"100%",flexDirection:"column",gap:"0.75rem",padding:"1rem","@media (min-width: 768px)":{padding:"1.5rem"}}),Pi=t("div")({height:"0.75rem",width:"8rem","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"0.25rem",backgroundColor:"rgb(255 255 255 / 0.06)"}),Fi=t("div")({flex:"1 1 0%","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"0.5rem",backgroundColor:"rgb(255 255 255 / 0.04)"}),Ni=t("div")({height:"0.625rem",width:"100%","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"0.25rem",backgroundColor:"rgb(255 255 255 / 0.05)"}),Mi=t("div").withConfig({displayName:"ChartPanel___StyledDiv12",componentId:"sc-1lcda3e-0"})({position:"absolute",inset:"0px"});const Ui=["5m","15m","1h","4h","1d"],Hi=t.button`
35  ${{height:"1.5rem",cursor:"pointer",borderRadius:"0.375rem",borderWidth:"0px",paddingLeft:"0.5rem",paddingRight:"0.5rem",fontSize:"11px",fontWeight:"600",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}}
36  color: ${({$active:e})=>e?"#fff":"rgba(255,255,255,0.45)"};
37  background: ${({$active:e})=>e?"rgba(255,255,255,0.12)":"transparent"};
38`,J=({label:e,value:i,tone:a})=>o(qi,{children:[r(ji,{children:e}),r(Vi,{style:{color:a==="up"?"#4ade80":a==="down"?"#f87171":"rgba(255,255,255,0.8)"},children:i})]});function Oi({base:e,quote:i,chainId:a,quotePriceUsd:c,feePips:u=1e4}){const[m,y]=s.exports.useState("15m"),{candles:h,source:S,isLoading:w,isUnavailable:x}
38=mr({base:e,quote:i,chainId:a,interval:m,feePips:u}),[R,_]=s.exports.useState(void 0),z=s.exports.useMemo(()=>{const k=c>0?c:1;return h.map(L=>({...L,open:L.open*k,high:L.high*k,low:L.low*k,close:L.close*k}))},[h,c]),n=z[z.length-1],T=R??n,$=s.exports.useMemo(()=>{if(!n)return null;const k=n.time-86400;let L=n.high,K=n.low,N=0,P;for(const C of z){if(C.time<=k){P=C.close;continue}L=Math.max(L,C.high),K=Math.min(K,C.low),N+=C.volume}const j=P??z[0].open;return{high:L,low:K,volume:N,change:j>0?(n.close-j)/j*100:void 0}},[z,n]),B=s.exports.useCallback(k=>_(k),[]);return o(Gi,{children:[o(Ki,{children:[o(Yi,{children:[T?o(ie,{children:[r(J,{label:"O",value:le(T.open,n?.close)}),r(J,{label:"H",value:le(T.high,n?.close)}),r(J,{label:"L",value:le(T.low,n?.close)}),r(J,{label:"C",value:le(T.close,n?.close),tone:T.close>=T.open?"up":"down"})]}):null,$?o(ie,{children:[$.change!=null?r(J,{label:"24h",value:`${$.change>=0?"+":""}${$.change.toFixed(2)}%`,tone:$.change>=0?"up":"down"}):null,r(J,{label:"24h H",value:le($.high,n?.close)}),r(J,{label:"24h L",value:le($.low,n?.close)}),r(J,{label:"Vol",value:_e($.volume)})]}):null]}),o(Xi,{children:[r(Zi,{children:S==="rubicon-takes"?"Rubicon fills":S==="geckoterminal"?"GeckoTerminal":""}),r(Qi,{children:Ui.map(k=>r(Hi,{type:"button",$active:k===m,onClick:()=>y(k),children:k},k))})]})]}),r(Ji,{children:z.length>0?r(ur,{candles:z,chartType:"candles",overlays:{priceLines:[],markers:[]},onCrosshair:B}):r(eo,{children:w?"Loading fills\u2026":x?"No trades yet. The chart draws from the first swap.":"No trades in this window."})})]})}var qi=t("span")({display:"inline-flex",alignItems:"baseline",gap:"0.25rem",whiteSpace:"nowrap"}),ji=t("span")({fontSize:"10px",fontWeight:"600",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Vi=t("span")({fontSize:"11px",fontWeight:"600","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"}),Gi=t("div")({display:"flex",height:"100%",minHeight:"0px",width:"100%",flexDirection:"column"}),Ki=t("div")({display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between",columnGap:"0.75rem",rowGap:"0.25rem",borderBottomWidth:"1px",borderColor:"rgb(255 255 255 / 0.06)",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem"}),Yi=t("div")({display:"flex",minWidth:"0px",flexWrap:"wrap",alignItems:"center",columnGap:"0.75rem",rowGap:"0.25rem"}),Xi=t("div")({display:"flex",flexShrink:"0",alignItems:"center",gap:"0.5rem"}),Zi=t("span")({whiteSpace:"nowrap",fontSize:"10px",fontWeight:"600","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Qi=t("div")({display:"flex",alignItems:"center",gap:"0.125rem"}),Ji=t("div")({position:"relative",minHeight:"0px",flex:"1 1 0%"}),eo=t("div").withConfig({displayName:"TakesChart___StyledDiv7",componentId:"sc-9dnu1f-0"})({position:"absolute",inset:"0px",display:"flex",alignItems:"center",justifyContent:"center",paddingLeft:"1.5rem",paddingRight:"1.5rem",textAlign:"center",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"});const nt=new Map,to=60*60*1e3,Le=2*60*1e3,ro=45*1e3;function je(e){const i=nt.get(e);if(!i)return null;const a=i.pool?to:Le;return Date.now()-i.at>a?null:{status:i.pool?"found":"none",poolAddress:i.pool}}function io(e,i){const a=e!==void 0?Ze(e):null,c=i?.toLowerCase(),u=a&&c?`${a}:${c}`:null,[m,y]=s.exports.useState(()=>!a||!c||!u?{status:"unsupported",poolAddress:null}:je(u)??{status:"resolving",poolAddress:null}),[h,S]=s.exports.useState(0);return s.exports.useEffect(()=>{if(!a||!c||!u){y({status:"unsupported",poolAddress:null});return}const w=je(u);if(w){if(y(w),w.status==="none"){const _=setTimeout(()=>S(z=>z+1),Le);return()=>clearTimeout(_)}return}y(_=>_.status==="found"?_:{status:"resolving",poolAddress:null});let x=!1,R=null;return fetch(`https://api.geckoterminal.com/api/v2/networks/${a}/tokens/${c}/pools?page=1`).then(_=>{if(_.status===404)return{data:[]};if(!_.ok)throw new Error(`geckoterminal ${_.status}`);return _.json()}).then(_=>{const T=[..._?.data??[]].sort(($,B)=>Number(B.attributes?.reserve_in_usd??0)-Number($.attributes?.reserve_in_usd??0))[0]?.attributes?.address??null;nt.set(u,{pool:T,at:Date.now()}),!x&&(y({status:T?"found":"none",poolAddress:T}),T||(R=setTimeout(()=>S($=>$+1),Le)))}).catch(()=>{x||(y({status:"error",poolAddress:null}),R=setTimeout(()=>S(_=>_+1),ro))}),()=>{x=!0,R&&clearTimeout(R)}},[a,c,u,h]),m}const oo="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",no=t.p.withConfig({displayName:"TokenSEOContent__Prose",componentId:"sc-1dsopwf-0"})([""," ",""],{margin:"0px"},({$clamped:e})=>e&&ft`
39      display: -webkit-box;
40      -webkit-box-orient: vertical;
41      overflow: hidden;
42      -webkit-line-clamp: 5;
43      @media (min-width: 768px) {
44        -webkit-line-clamp: 8;
45      }
46    `);function ge({label:e,value:i}){return o(lo,{children:[r(so,{size:"sm",children:e}),r(co,{children:i})]})}const ao=({token:e,chainName:i,descData:a})=>{const[c,u]=s.exports.useState(!1),m=a?.description??"",y=m.length>320,h=Xe(e.chainId,e.address,"token"),S=it(e.chainId);async function w(){try{await navigator.clipboard.writeText(e.address),Se("Contract address copied!")}catch{const x=document.createElement("textarea");x.value=e.address,document.body.appendChild(x),x.select(),document.execCommand("copy"),document.body.removeChild(x),Se("Contract address copied!")}}return o(po,{children:[o(mo,{size:"lg",weight:"bold",children:["About ",e.name]}),o(uo,{style:{background:"linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)), rgba(255,255,255,0.025)",border:"1px solid rgba(255,255,255,0.07)"},children:[o(go,{children:[m?o(ie,{children:[r(no,{$clamped:y&&!c,children:m}),y&&r(ho,{onClick:()=>u(x=>!x),"aria-expanded":c,children:c?"Show less":"Show more"}),a.categories?.length>0&&r(vo,{children:a.categories.slice(0,6).map(x=>r(fo,{children:x},x))})]}):o(yo,{children:["Trade ",e.name," (",e.symbol,") on the ",i," network using Rubicon, a decentralized exchange."]}),o("div",{children:[o(bo,{size:"sm",weight:"semibold",children:["How to buy ",e.symbol]}),o(wo,{children:["Connect your wallet to Rubicon and swap ETH for ",e.symbol," on ",i,". Rubicon aggregates liquidity from on-chain order books and automated market makers to find the best price for your"," ",e.symbol," trade."]})]})]}),o(xo,{children:[r(ge,{label:"Name",value:e.name}),r(ge,{label:"Symbol",value:e.symbol}),r(ge,{label:"Network",value:i}),r(ge,{label:"Decimals",value:e.decimals}),r(ge,{label:"Explorer",value:r(So,{href:h,target:"_blank",rel:"noopener noreferrer",children:S})}),o(_o,{children:[r(ko,{size:"sm",children:"Contract"}),o(Co,{onClick:w,title:"Click to copy",style:{fontFamily:oo},children:[r(To,{children:e.address}),r($o,{})]})]})]})]})]})};var lo=t("div").withConfig({displayName:"TokenSEOContent___StyledDiv",componentId:"sc-1dsopwf-1"})({display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem",borderBottomWidth:"1px",borderColor:"rgb(255 255 255 / 0.05)",paddingTop:"0.625rem",paddingBottom:"0.625rem","&:last-child":{borderWidth:"0px"}}),so=t(F).withConfig({displayName:"TokenSEOContent___StyledText",componentId:"sc-1dsopwf-2"})({flexShrink:"0","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),co=t("div").withConfig({displayName:"TokenSEOContent___StyledDiv2",componentId:"sc-1dsopwf-3"})({minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",textAlign:"right",fontSize:"0.875rem",lineHeight:"1.25rem","--tw-text-opacity":"1",color:"rgb(229 231 235 / var(--tw-text-opacity, 1))"}),po=t("section").withConfig({displayName:"TokenSEOContent___StyledSection",componentId:"sc-1dsopwf-4"})({width:"100%"}),mo=t(F).withConfig({displayName:"TokenSEOContent___StyledText2",componentId:"sc-1dsopwf-5"})({marginBottom:"0.75rem",display:"block","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}),uo=t("div").withConfig({displayName:"TokenSEOContent___StyledDiv3",componentId:"sc-1dsopwf-6"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"1.5rem",borderRadius:"0.75rem",padding:"1.25rem","@media (min-width: 768px)":{padding:"1.5rem"},"@media (min-width: 1024px)":{gridTemplateColumns:"minmax(0,1.6fr) minmax(0,1fr)",gap:"2.5rem"}}),go=t("div").withConfig({displayName:"TokenSEOContent___StyledDiv4",componentId:"sc-1dsopwf-7"})({minWidth:"0px","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(1rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(1rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.625","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity, 1))"}),ho=t("button").withConfig({displayName:"TokenSEOContent___StyledButton",componentId:"sc-1dsopwf-8"})({fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity, 1))"}}),vo=t("div").withConfig({displayName:"TokenSEOContent___StyledDiv5",componentId:"sc-1dsopwf-9"})({display:"flex",flexWrap:"wrap",gap:"0.375rem"}),fo=t("span").withConfig({displayName:"TokenSEOContent___StyledSpan",componentId:"sc-1dsopwf-10"})({borderRadius:"9999px",backgroundColor:"rgb(255 255 255 / 0.06)",paddingLeft:"0.5rem",paddingRight:"0.5rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity, 1))"}),yo=t("p").withConfig({displayName:"TokenSEOContent___StyledP",componentId:"sc-1dsopwf-11"})({margin:"0px"}),bo=t(F).withConfig({displayName:"TokenSEOContent___StyledText3",componentId:"sc-1dsopwf-12"})({marginBottom:"0.375rem",display:"block","--tw-text-opacity":"1",color:"rgb(229 231 235 / var(--tw-text-opacity, 1))"}),wo=t("p").withConfig({displayName:"TokenSEOContent___StyledP2",componentId:"sc-1dsopwf-13"})({margin:"0px"}),xo=t("div").withConfig({displayName:"TokenSEOContent___StyledDiv6",componentId:"sc-1dsopwf-14"})({minWidth:"0px"}),So=t("a").withConfig({displayName:"TokenSEOContent___StyledA",componentId:"sc-1dsopwf-15"})({"--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity, 1))"}}),_o=t("div").withConfig({displayName:"TokenSEOContent___StyledDiv7",componentId:"sc-1dsopwf-16"})({paddingTop:"0.75rem"}),ko=t(F).withConfig({displayName:"TokenSEOContent___StyledText4",componentId:"sc-1dsopwf-17"})({marginBottom:"0.375rem",display:"block","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Co=t("button").withConfig({displayName:"TokenSEOContent___StyledButton2",componentId:"sc-1dsopwf-18"})({display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between",gap:"0.5rem",wordBreak:"break-all",borderRadius:"0.5rem",borderWidth:"1px",borderColor:"rgb(255 255 255 / 0.05)",backgroundColor:"rgb(255 255 255 / 0.04)",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",textAlign:"left",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{backgroundColor:"rgb(255 255 255 / 0.07)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}}),To=t("span").withConfig({displayName:"TokenSEOContent___StyledSpan2",componentId:"sc-1dsopwf-19"})({minWidth:"0px",wordBreak:"break-all"}),$o=t(Ye).withConfig({displayName:"TokenSEOContent___StyledDocumentDuplicateIcon",componentId:"sc-1dsopwf-20"})({height:"1rem",width:"1rem",flexShrink:"0"});const ke=t.div`
47  ${{fontSize:"10px",fontWeight:"700",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}}
48`,Do=t.div`
49  ${{minWidth:"0px",borderRadius:"0.75rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.75rem",paddingBottom:"0.75rem"}}
50  background: ${E.well};
51  border: 1px solid ${E.border};
52`;function se({label:e,value:i,hint:a}){return o(Fo,{children:[o(No,{children:[r(Mo,{children:e}),a?r(Uo,{children:a}):null]}),r(Ho,{children:i})]})}function we(e){if(!e)return null;const i=e.trim();return/^https?:\/\/[^\s]+$/i.test(i)?i:null}function Lo({token:e}){const i=[{href:we(e.links.website),label:"Website",icon:r(Ae,{size:11,strokeWidth:2.4,"aria-hidden":"true"})},{href:we(e.links.x),label:"X",icon:r(Oo,{children:"\u{1D54F}"})},{href:we(e.links.telegram),label:"Telegram",icon:r(rt,{size:11,strokeWidth:2.4,"aria-hidden":"true"})},{href:we(e.links.farcaster),label:"Farcaster",icon:null}].filter(a=>!!a.href);return i.length===0?null:r(ie,{children:i.map(a=>o(qo,{href:a.href,target:"_blank",rel:"noopener noreferrer nofollow",title:a.href,style:{color:E.textMuted,background:"rgba(255,255,255,0.05)"},children:[a.icon,a.label]},a.label))})}function Io({href:e,children:i}){return o(jo,{href:e,target:"_blank",rel:"noopener noreferrer",style:{color:E.textMuted,background:"rgba(255,255,255,0.05)"},children:[i,r(Vo,{"aria-hidden":"true",children:r(ze,{size:10,strokeWidth:2.6,"aria-hidden":"true"})})]})}function at(e){const i=Fe(e.chainId)?(e.launchPriceUsd??ir(or,e.quote.decimals)*e.quote.priceUsd)*re:e.isDegen?wt:xt,a=Math.max(0,Math.min(100,e.wallProgressPct))/100*re;return{startingMarketCapUsd:i,launchPriceUsd:i/re,multiple:i>0&&(!Fe(e.chainId)||e.launchPriceUsd!=null)?e.marketCapUsd/i:0,circulating:a,remaining:re-a,creatorFeePct:St(e.quote)}}function Ro({multiple:e}){if(!isFinite(e)||e<=0)return null;const i=e>=1,a=i?`\xD7${e>=10?e.toFixed(0):e.toFixed(1)} since launch`:`${((e-1)*100).toFixed(0)}% from launch`;return r(Go,{style:{color:i?E.positive:E.negative},children:a})}function zo({token:e}){const{circulating:i}=at(e);return o(Ko,{children:[r(ke,{children:"Supply in circulation"}),o(Yo,{children:[r(Xo,{children:De(i)}),o(Zo,{children:["of ",De(re)," ",e.symbol]})]}),r(er,{pct:e.wallProgressPct,label:"Range consumed",height:8,quoteSymbol:e.quote.symbol})]})}function Ao({token:e}){const i=Re(e.chainId),a=at(e);return o(Qo,{children:[r(ke,{children:"Launch parameters"}),o(Jo,{children:[r(se,{label:"Total supply",value:o(en,{children:[re.toLocaleStr
52ing()," ",r(tn,{children:e.symbol})]})}),r(se,{label:"Into the pool",value:o(rn,{style:{color:E.positive},children:["100% \xB7 all ",De(re)]})}),r(se,{label:"Creator allocation",value:r(on,{style:{color:E.positive},children:"0%"})}),r(se,{label:"Launch market cap",hint:e.isDegen?"Degen mode \u2014 started low for maximum volatility.":void 0,value:o(nn,{children:[r(an,{children:_e(a.startingMarketCapUsd)}),r(Ro,{multiple:a.multiple})]})}),r(se,{label:"Minimum price",value:o(ln,{children:[r("span",{children:Pe(a.launchPriceUsd)}),o(dn,{children:["now ",Pe(e.priceUsd)]})]})}),r(se,{label:"Liquidity",value:o(sn,{children:[r(cn,{style:{color:E.lock},children:"Locked"}),o(pn,{href:Qe(i,ce(i.id)),target:"_blank",rel:"noopener noreferrer",title:`Locked in ${ce(i.id)}`,children:["to ",Je(ce(i.id)),r(mn,{size:11,strokeWidth:2.4,"aria-hidden":"true"})]})]})})]})]})}function Wo({label:e,pct:i,note:a,color:c}){return o(un,{children:[r(gn,{children:e}),o(hn,{style:{color:c},children:[i,"%"]}),r(vn,{children:a})]})}function Eo({token:e}){const i=[E.positive,E.rubi];return o(fn,{children:[o(yn,{children:[r(ke,{children:"Where the 1% swap fee goes"}),r(bn,{style:{color:E.positive},children:"Creator takes 100% of LP fees"})]}),r(wn,{children:bt.map((a,c)=>r(Wo,{label:a.label,pct:a.pct,note:a.note,color:i[c]??"#D1D5DB"},a.label))})]})}function Bo({token:e}){const{creator:i}=e;return o(Do,{children:[o(xn,{children:[r(ke,{children:"Creator"}),r(Sn,{to:tr(i),style:{color:E.textMuted},children:"View profile \u2192"})]}),r(rr,{creator:i,size:"md",showEarnings:!1}),o(_n,{children:[o(kn,{children:[r(Cn,{children:"From this token"}),r(Tn,{style:{color:E.positive},children:_e(e.creatorEarningsUsd)})]}),o($n,{children:[o(Dn,{children:["Lifetime \xB7 ",i.tokensLaunched," ",i.tokensLaunched===1?"token":"tokens"]}),r(Ln,{children:_e(i.totalEarningsUsd)})]})]})]})}function Po({token:e}){const i=Re(e.chainId);return r(In,{children:o(Rn,{style:{background:"rgba(251,146,60,0.07)",border:"1px solid rgba(251,146,60,0.18)"},children:[o(zn,{children:[o(An,{children:[r(hr,{size:13,strokeWidth:2.4,"aria-hidden":"true"}),r(Wn,{style:{color:E.lock},children:"LP locked forever"})]}),o(En,{href:et(i,e.lpLockTxHash),target:"_blank",rel:"noopener noreferrer",style:{color:E.lock},children:["Lock tx",r(ze,{size:11,strokeWidth:2.4,"aria-hidden":"true"})]})]}),o(Bn,{children:["Locked in"," ",r(Pn,{href:Qe(i,ce(i.id)),target:"_blank",rel:"noopener noreferrer",title:ce(i.id),children:Je(ce(i.id))})," ","\xB7 verifiable on ",i.explorerName]})]})})}var Fo=t("div")({display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"1rem",borderBottomWidth:"1px",borderColor:"rgb(255 255 255 / 0.05)",paddingTop:"0.625rem",paddingBottom:"0.625rem","&:last-child":{borderWidth:"0px"}}),No=t("div")({minWidth:"0px",flex:"1 1 0%"}),Mo=t("div")({fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"600","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Uo=t("div")({marginTop:"0.125rem",fontSize:"11px",lineHeight:"1.375","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Ho=t("div")({minWidth:"0px",maxWidth:"58%",flexShrink:"0",textAlign:"right",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"600","--tw-text-opacity":"1",color:"rgb(229 231 235 / var(--tw-text-opacity, 1))"}),Oo=t("span")({fontSize:"10px",fontWeight:"900",lineHeight:"1"}),qo=t("a")({display:"inline-flex",height:"22px",alignItems:"center",gap:"0.25rem",whiteSpace:"nowrap",borderRadius:"0.375rem",paddingLeft:"0.375rem",paddingRight:"0.375rem",fontSize:"11px",fontWeight:"700",textDecorationLine:"none",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{backgroundColor:"rgb(255 255 255 / 0.09)"}}),jo=t("a")({display:"inline-flex",height:"22px",alignItems:"center",gap:"0.25rem",whiteSpace:"nowrap",borderRadius:"0.375rem",paddingLeft:"0.375rem",paddingRight:"0.375rem",fontSize:"11px",fontWeight:"700",textDecorationLine:"none",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{backgroundColor:"rgb(255 255 255 / 0.09)"}}),Vo=t("span")({opacity:"0.6"}),Go=t("span")({whiteSpace:"nowrap",fontSize:"11px",fontWeight:"600","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"}),Ko=t("div")({minWidth:"0px"}),Yo=t("div")({marginBottom:"0.75rem",marginTop:"0.25rem",display:"flex",alignItems:"baseline",gap:"0.5rem"}),Xo=t("span")({fontSize:"1.25rem",lineHeight:"1.75rem",fontWeight:"700","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))","@media (min-width: 768px)":{fontSize:"1.5rem",lineHeight:"2rem"}}),Zo=t("span")({fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"600","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))",opacity:"0.38"}),Qo=t("div")({minWidth:"0px"}),Jo=t("div")({marginTop:"0.375rem"}),en=t("span")({"--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"}),tn=t("span")({"--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),rn=t("span")({fontWeight:"700","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"}),on=t("span")({fontWeight:"700","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"}
52),nn=t("span")({display:"flex",flexWrap:"wrap",alignItems:"baseline",justifyContent:"flex-end",columnGap:"0.5rem",rowGap:"0.125rem"}),an=t("span")({"--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"}),ln=t("span")({display:"flex",flexWrap:"wrap",alignItems:"baseline",justifyContent:"flex-end",columnGap:"0.5rem",rowGap:"0.125rem","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"}),dn=t("span")({"--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),sn=t("span")({display:"flex",flexWrap:"wrap",alignItems:"baseline",justifyContent:"flex-end",columnGap:"0.5rem",rowGap:"0.125rem"}),cn=t("span")({fontWeight:"700"}),pn=t("a")({"--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))",textDecorationLine:"none","&:hover":{"--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))"}}),mn=t(ze)({marginLeft:"0.125rem",display:"inline-block",verticalAlign:"-1px"}),un=t("div")({minWidth:"0px",borderRadius:"0.5rem",borderWidth:"1px",borderColor:"rgb(255 255 255 / 0.06)",backgroundColor:"rgb(255 255 255 / 0.035)",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.5rem",paddingBottom:"0.5rem"}),gn=t("div")({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:"9px",fontWeight:"700",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),hn=t("div")({marginTop:"0.125rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"700","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"}),vn=t("div")({fontSize:"10px",lineHeight:"1.375","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),fn=t("div")({minWidth:"0px"}),yn=t("div")({display:"flex",flexWrap:"wrap",alignItems:"baseline",justifyContent:"space-between",gap:"0.5rem"}),bn=t("span")({fontSize:"10px",fontWeight:"700"}),wn=t("div")({marginTop:"0.375rem",display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:"0.5rem"}),xn=t("div")({marginBottom:"0.5rem",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"0.5rem"}),Sn=t(yt)({fontSize:"11px",fontWeight:"600",textDecorationLine:"none",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}}),_n=t("div")({marginTop:"0.625rem",display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:"0.5rem"}),kn=t("div")({minWidth:"0px"}),Cn=t("div")({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:"9px",fontWeight:"700",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Tn=t("div")({fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"700","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"}),$n=t("div")({minWidth:"0px"}),Dn=t("div")({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:"9px",fontWeight:"700",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Ln=t("div")({fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"700","--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}),In=t("div")({display:"flex",minWidth:"0px",flexDirection:"column",gap:"0.5rem"}),Rn=t("div")({display:"flex",flexDirection:"column",gap:"0.5rem",borderRadius:"0.75rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.75rem",paddingBottom:"0.75rem"}),zn=t("div")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:"0.5rem"}
52),An=t("span")({display:"inline-flex",alignItems:"center",gap:"0.5rem"}),Wn=t("span")({fontSize:"13px",fontWeight:"700"}),En=t("a")({whiteSpace:"nowrap",fontSize:"11px",fontWeight:"700",textDecorationLine:"none"}),Bn=t("div")({fontSize:"11px",fontWeight:"600","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Pn=t("a").withConfig({displayName:"sections___StyledA5",componentId:"sc-1jjz4bd-0"})({"--tw-numeric-spacing":"tabular-nums",fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)","--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity, 1))",textDecorationLine:"none","&:hover":{"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}});const Fn=t.div`
53  ${{position:"relative",overflow:"hidden",borderRadius:"24px",padding:"1rem","@media (min-width: 768px)":{padding:"1.25rem"},"@media (min-width: 1024px)":{padding:"1.5rem"}}}
54  /* The token page's own card ground — opaque, so the page glows never bleed
55     through the module the way they did on the old translucent surface. */
56  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 100%),
57    linear-gradient(145deg, #171028 0%, #0b0718 58%, #080d17 100%);
58  border: 1px solid rgba(255, 255, 255, 0.11);
59  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08);
60
61  &::after {
62    content: '';
63    ${{pointerEvents:"none",position:"absolute",left:"0px",right:"0px",top:"0px"}}
64    height: 1px;
65    background: linear-gradient(90deg, transparent, rgba(226, 60, 60, 0.75), transparent);
66  }
67`;function Nn(e){const i=new Date(e*1e3);return isFinite(i.getTime())?i.toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"}):"an unknown date"}function Mn({token:e,showRisk:i=!0,className:a}){const c=Re(e.chainId);return o(Un,{className:a,"aria-label":`${e.symbol} \u2014 launched on Arena`,children:[o(Hn,{children:[o(On,{children:[o(qn,{children:[r(jn,{children:"Launched on Arena"}),r(nr,{chainId:e.chainId,size:"xs"})]}),o(Vn,{children:["Fair launch ",_t(e.createdAt)," on ",Nn(e.createdAt),"."]})]}),o(Gn,{children:[r(Lo,{token:e}),r(Io,{href:et(c,e.launchTxHash),children:"Launch tx"})]})]}),o(Fn,{children:[o(Kn,{children:[o(Yn,{children:[r(zo,{token:e}),r(Ao,{token:e})]}),o(Xn,{children:[r(Bo,{token:e}),r(Po,{token:e}),r(Eo,{token:e})]})]}),i?o(ie,{children:[r(Zn,{children:r(ar,{})}),o(Qn,{children:[r(lr,{quote:e.quote}),r(dr,{variant:"panel",quoteKind:e.quote.kind,chainId:e.chainId})]})]}):null]})]})}var Un=t("section")({width:"100%"}),Hn=t("header")({marginBottom:"0.75rem",display:"flex",flexWrap:"wrap",alignItems:"flex-start",justifyContent:"space-between",columnGap:"1rem",rowGap:"0.5rem"}),On=t("div")({minWidth:"0px"}),qn=t("div")({display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.5rem"}),jn=t("h2")({margin:"0px",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))","@media (min-width: 768px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}}),Vn=t("p")({margin:"0px",marginTop:"0.25rem",maxWidth:"68ch",fontSize:"0.75rem",lineHeight:"1.625","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity, 1))"}),Gn=t("div")({display:"flex",flexShrink:"0",flexWrap:"wrap",alignItems:"center",gap:"0.5rem"}),Kn=t("div")({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"1.25rem","@media (min-width: 1024px)":{gridTemplateColumns:"minmax(0,1.55fr) minmax(0,1fr)",gap:"2rem"}}),Yn=t("div")({display:"flex",minWidth:"0px",flexDirection:"column",gap:"1.25rem"}),Xn=t("div")({display:"flex",minWidth:"0px",flexDirection:"column",gap:"0.75rem"}),Zn=t("div")({marginTop:"1rem",marginBottom:"1rem","@media (min-width: 768px)":{marginTop:"1.25rem",marginBottom:"1.25rem"}}),Qn=t("div").withConfig({displayName:"ArenaTokenModule___StyledDiv8",componentId:"sc-1ld1tmq-0"})({display:"flex",flexDirection:"column",gap:"0.75rem"});const Jn=e=>!!e.extensions?.arena,ea=e=>({chainId:e.chainId,name:e.name,symbol:e.symbol,decimals:18,address:e.address,logoURI:Ht(e)||tt,extensions:{arena:!0}}),ta=new Set(Ot);function ra({token:e}){const{tokens:i,creators:a}=cr(),c=s.exports.useMemo(()=>{const u=e.address.toLowerCase(),m=e.creator.address.toLowerCase(),y=i.find(S=>S.chainId===e.chainId&&S.address.toLowerCase()===u),h=a.find(S=>S.address.toLowerCase()===m);return{...e,creatorEarningsUsd:y?.creatorEarningsUsd??e.creatorEarningsUsd,creator:h?{...e.creator,totalEarningsUsd:h.totalEarningsUsd,unclaimedUsd:h.unclaimedUsd,tokensLaunched:h.tokensLaunched}:e.creator}},[e,i,a]);return r(Mn,{token:c})}const yl=()=>{const{chainId:e,address:i}=kt(),a=Ge(),{chainId:c,setChainId:u}=Ct(),{tokens:m,arenaTokens:y,addPermissionlessToken:h,geckoIdMap:S,marketDataMap:w}=Ke(),{isConnected:x,chain:R}=Tt(),{switchChain:_}=$t(),z=Dt(),[n,T]=s.exports.useState(null),[$,B]=s.exports.useState(!0),[k,L]=s.exports.useState(!1),[K,N]=s.exports.useState(!1),[P,j]=s.exports.useState(!1),C=s.exports.useRef(!1),Y=s.exports.useRef(null),[M,oe]=s.exports.useState(null),he=parseInt(e??"0",10),A=Lt(he,i),I=A;s.exports.useEffect(()=>{I&&It({chainId:I.chainId,token:I.address,symbol:I.symbol})},[I?.address]);const X=s.exports.useMemo(()=>I?ea(I):null,[I]),V=n?S.get(`${n.chainId}-${n.address.toLowerCase()}`)||n.extensions?.underlyingAssetGeckoID:void 0,W=V?w.get(V):void 0,{priceUsd:U}=Rt(n?.chainId,n?.address),ee=sr(A),D=s.exports.useMemo(()=>
67{if(ee)return ee;if(!W)return U!=null?{price_usd:U,price_change_24h:null}:void 0;if(U==null)return W;const p=W.price_change_24h,f=p!=null?W.price_usd/(1+p/100):null,v=W.price_usd,ne=v!=null&&v>0?U/v:null,ae=fe=>ne!=null&&fe!=null?fe*ne:fe;return{...W,price_usd:U,price_change_24h:f!=null&&Number.isFinite(f)&&f>0?(U/f-1)*100:p,market_cap:ae(W.market_cap),fully_diluted_valuation:ae(W.fully_diluted_valuation),high_24h:W.high_24h!=null?Math.max(W.high_24h,U):null,low_24h:W.low_24h!=null?Math.min(W.low_24h,U):null}},[W,U,ee]);s.exports.useEffect(()=>{if(oe(null),!V)return;let p=!1;return zt.from("cg_descriptions").select("description,categories,homepage,twitter,telegram").eq("gecko_id",V).single().then(({data:f,error:v})=>{!p&&f&&!v&&oe(f)}),()=>{p=!0}},[V]);const O=n?At[n.chainId]?.tokenInfo:void 0,te=s.exports.useMemo(()=>{const p=A?.quote;if(!p||!n)return;const f=Wt(n.chainId)?.weth.toLowerCase(),v=p.address.toLowerCase();return v===Et||v===f?O:{chainId:n.chainId,address:p.address,symbol:p.symbol,name:p.name,decimals:p.decimals}},[A?.quote,n,O]);s.exports.useEffect(()=>{if(!e)return;const p=parseInt(e);if(!Number.isFinite(p)||!ta.has(p))return;if(!x){p!==c&&u(p);return}if(!R||R.id===p)return;const f=`${p}:${i?.toLowerCase()}`;Y.current!==f&&(Y.current=f,_?.({chainId:p}))},[e,i,c,u,x,R,_]),s.exports.useEffect(()=>{T(null),B(!0),L(!1),N(!1),C.current=!1},[e,i]),s.exports.useEffect(()=>{if(!e||!i)return;const p=parseInt(e);if(I&&X){T(v=>v&&v.address.toLowerCase()===X.address.toLowerCase()&&v.chainId===X.chainId&&v.logoURI===X.logoURI?v:X),N(!1),B(!1),L(!1),C.current=!1;return}const f=m.find(v=>v.chainId===p&&v.address.toLowerCase()===i.toLowerCase());if(f){T(f),N(!1),B(!1),L(!1),C.current=!1;return}if(!C.current&&m.length>0&&z){const v=setTimeout(()=>{if(!!m.find(Q=>Q.chainId===p&&Q.address.toLowerCase()===i.toLowerCase()))return;const ae=Bt(i);if(!ae){B(!1),N(!0),C.current=!0;return}if(p!==c){B(!1),N(!0),C.current=!0;return}C.current=!0,L(!0),(async()=>{try{const Q=new gr(ae,["function name() view returns (string)","function symbol() view returns (string)","function decimals() view returns (uint8)"],z),[lt,dt,st]=await Promise.all([Q.name(),Q.symbol(),Q.decimals()]),We={chainId:p,address:ae,name:lt,symbol:dt,decimals:st,logoURI:tt,extensions:{permissionless:!0}};h(We),T(We),N(!1),B(!1),L(!1)}catch(Q){console.error("TokenPage - Failed to add permissionless token:",Q),B(!1),L(!1),N(!0)}})()},1e3);return()=>clearTimeout(v)}else if(m.length>0&&!k&&C.current){const v=setTimeout(()=>{n||(B(!1),N(!0))},500);return()=>clearTimeout(v)}},[e,i,m,z,c,h,n,k,I,X]),s.exports.useEffect(()=>{const p=()=>{j(window.innerWidth<1024)};return p(),window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)},[]);const q=io(n?.chainId,n?.address),pe=s.exports.useMemo(()=>{if(!n)return Pt;const p=Ze(n.chainId);if(!p)return null;const f=A?Ft(n.chainId,n.address)?.pool:void 0;return f?Ce(p,f.toLowerCase(),n.address):q.status==="error"?A?null:Ce(p,n.address.toLowerCase()):q.status!=="found"||!q.poolAddress?null:Ce(p,q.poolAddress.toLowerCase(),n.address)},[n,q.status,q.poolAddress,A]);if($||k)return r(ia,{children:o(oa,{children:[o(na,{children:[r(aa,{}),o(la,{children:[r(da,{}),r(sa,{})]})]}),o(ca,{children:[r(pa,{}),r(ma,{})]}),r(ua,{size:"sm",children:k?"Reading token contract\u2026":"Loading token\u2026"})]})});if(!n&&!$&&K)return r(ga,{children:o(ha,{style:{background:"linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)), rgba(255,255,255,0.025)",border:"1px solid rgba(255,255,255,0.07)"},children:[r(va,{children:"\u{1F50D}"}),r(fa,{size:"xl",weight:"bold",children:"Token not found"}),o(ya,{size:"sm",children:["We couldn't find a token at this address on"," ",Ne[Number(e)]??"this network",". It may be on a different chain, or the address may be mistyped."]}),r(ba,{style:{fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"},children:i}),o(wa,{children:[r(xa,{onClick:()=>a("/markets"),children:"Browse markets"}),r(Sa,{onClick:()=>a("/swap"),children:"Go to swap"})]})]})});const H=n?Ne[n.chainId]||"Unknown Network":"",ve=n?M?.description?`${M.description.slice(0,155).trim()}${M.description.length>155?"...":""}`:`Trade ${n.symbol} (${n.name}) on ${H}. Swap ${n.symbol} instantly on Rubicon DEX, a decentralized exchange.`:"",me=D?.price_usd!=null?D.price_usd>
67=1?`$${D.price_usd.toLocaleString(void 0,{maximumFractionDigits:2})}`:`$${D.price_usd.toPrecision(4)}`:null,l=n?me?`${n.symbol} (${me}) | Buy ${n.name} on ${H}`:`Buy ${n.symbol} on ${H} | Swap ${n.name}`:"",d=n?{"@context":"https://schema.org","@graph":[{"@type":"WebPage",name:`Buy ${n.symbol} on ${H}`,description:M?.description?M.description.slice(0,300):`Trade ${n.symbol} (${n.name}) on ${H} using Rubicon DEX.`,url:`https://app.rubicon.finance/tokens/${n.chainId}/${n.address}`,isPartOf:{"@type":"WebSite",name:"Rubicon DEX",url:"https://app.rubicon.finance"}},{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Markets",item:"https://app.rubicon.finance/markets"},{"@type":"ListItem",position:2,name:`${n.symbol} on ${H}`,item:`https://app.rubicon.finance/tokens/${n.chainId}/${n.address}`}]},...D?.price_usd!=null?[{"@type":"ExchangeRateSpecification",currency:n.symbol,currentExchangeRate:{"@type":"UnitPriceSpecification",price:D.price_usd,priceCurrency:"USD"}}]:[]]}:void 0,g=O&&n.address.toLowerCase()===O.address.toLowerCase(),b="0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",G=()=>{a(`/swap/${n.chainId}/${n.address}-${b}`)},Z=()=>{a(`/swap/${n.chainId}/${b}-${n.address}`)};return o(_a,{children:[n&&r(Nt,{title:l,description:ve,canonicalPath:`/tokens/${n.chainId}/${n.address}`,jsonLd:d}),o(ka,{children:[o(Ca,{children:[o(Ta,{children:[r($a,{token:n,size:"xl"}),o(Da,{children:[o(La,{children:[r(Ia,{children:n.name}),Jn(n)&&!I&&r(Mt,{size:"sm"})]}),o(Ra,{children:[r(za,{size:"sm",children:n.symbol}),r(Aa,{children:"\xB7"}),r(Wa,{size:"sm",children:H})]})]})]}),r(Ea,{children:r(ei,{chainId:n.chainId,address:n.address,geckoId:V,homepage:M?.homepage??A?.links.website??null,twitter:M?.twitter??A?.links.x??null,telegram:M?.telegram??A?.links.telegram??null})})]}),o(Ba,{children:[o(Pa,{children:[r(Si,{chartUrl:pe,resolving:q.status==="resolving"&&!A,chainId:n.chainId,symbol:n.symbol,priceUsd:D?.price_usd,priceChange24h:D?.price_change_24h,isMobile:P,fallback:I&&te?r(Oi,{base:n,quote:te,chainId:n.chainId,quotePriceUsd:I.quote.priceUsd}):void 0}),!g&&o(Fa,{children:[o(Na,{onClick:G,style:{background:"linear-gradient(135deg, #15803d 0%, #22c55e 100%)",boxShadow:"0 12px 32px rgba(34,197,94,0.22)"},children:["Buy ",n.symbol]}),o(Ma,{onClick:Z,style:{background:"linear-gradient(135deg, #BA2F2A 0%, #E24A42 100%)",boxShadow:"0 12px 32px rgba(186,47,42,0.22)"},children:["Sell ",n.symbol]})]})]}),o(Ua,{children:[r(qt,{preSelectedBuyToken:n,preSelectedPayToken:O,chainId:n.chainId}),r(qe,{marketData:D,symbol:n.symbol,layout:"rail"})]})]}),r(Ha,{children:r(qe,{marketData:D,symbol:n.symbol})}),I?r(Oa,{children:r(ra,{token:I})}):null,r(qa,{children:r(xr,{token:n,chainId:n.chainId})}),I?null:r(ja,{children:r(ao,{token:n,chainName:H,descData:M})})]})]})};var ia=t("div")({height:"100%",overflowY:"auto",paddingLeft:"1rem",paddingRight:"1rem",paddingBottom:"4rem","@media (min-width: 768px)":{paddingLeft:"1.5rem",paddingRight:"1.5rem"},"@media (min-width: 1024px)":{paddingLeft:"2rem",paddingRight:"2rem"}}),oa=t("div")({marginLeft:"auto",marginRight:"auto",maxWidth:"1600px",paddingTop:"1.25rem"}),na=t("div")({marginBottom:"1.25rem",display:"flex",alignItems:"center",gap:"1rem"}),aa=t("div")({height:"3.5rem",width:"3.5rem","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"9999px",backgroundColor:"rgb(255 255 255 / 0.05)"}),la=t("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),da=t("div")({height:"1.25rem",width:"10rem","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"0.25rem",backgroundColor:"rgb(255 255 255 / 0.05)"}),sa=t("div")({height:"0.75rem",width:"6rem","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"0.25rem",backgroundColor:"rgb(255 255 255 / 0.04)"}),ca=t("div")({display:"flex",flexDirection:"column",gap:"1.5rem","@media (min-width: 1024px)":{flexDirection:"row"}}),pa=t("div")({height:"440px",minWidth:"0px",flex:"1 1 0%","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"24px",backgroundColor:"rgb(255 255 255 / 0.04)","@media (min-width: 1024px)":{height:"620px"}}),ma=t("div")({height:"420px",width:"100%",flexShrink:"0","@keyframes pulse":{"50%":{opacity:".5"}},animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",borderRadius:"40px",backgroundColor:"rgb(255 255 255 / 0.04)","@media (min-width: 1024px)":{width:"400px"}}),ua=t(F)({marginTop:"1.5rem",display:"block",textAlign:"center","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),ga=t("div")({display:"flex",height:"100%",alignItems:"center",justifyContent:"center",paddingLeft:"1.5rem",paddingRight:"1.5rem"}),ha=t("div")({width:"100%",maxWidth:"28rem",borderRadius:"1rem",padding:"2rem",textAlign:"center"}),va=t("div")({marginBottom:"1rem",fontSize:"2.25rem",lineHeight:"2.5rem"}),fa=t(F)({marginBottom:"0.5rem",display:"block","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))"}),ya=t(F)({marginBottom:"1.25rem",display:"block","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity, 1))"}),ba=t("div")({marginBottom:"1.5rem",wordBreak:"break-all",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity, 1))"}),wa=t("div")({display:"flex",alignItems:"center",justifyContent:"center",gap:"0.5rem"}),xa=t("button")({borderRadius:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgb(37 99 235 / var(--tw-bg-opacity, 1))",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(59 130 246 / var(--tw-bg-opacity, 1))"}}),Sa=t("button")({borderRadius:"0.5rem",backgroundColor:"rgb(255 255 255 / 0.06)",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(229 231 235 / var(--tw-text-opacity, 1))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{backgroundColor:"rgb(255 255 255 / 0.1)"}}),_a=t("div")({height:"100%",overflowY:"auto",paddingLeft:"1rem",paddingRight:"1rem",paddingBottom:"5rem","@media (min-width: 768px)":{paddingLeft:"1.5rem",paddingRight:"1.5rem"},"@media (min-width: 1024px)":{paddingLeft:"2rem",paddingRight:"2rem",paddingBottom:"3rem"}}),ka=t("div")({marginLeft:"auto",marginRight:"auto",maxWidth:"1600px"}),Ca=t("header")({display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"0.75rem",paddingBottom:"1rem",paddingTop:"1.25rem","@media (min-width: 640px)":{gap:"1rem"}}),Ta=t("div")({display:"flex",minWidth:"0px",alignItems:"center",gap:"0.75rem","@media (min-width: 768px)":{gap:"1rem"}}),$a=t(Ut)({flexShrink:"0"}),Da=t("div")({minWidth:"0px"}),La=t("div")({display:"flex",minWidth:"0px",alignItems:"center",gap:"0.5rem"}),Ia=t("h1")({margin:"0px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:"1.25rem",lineHeight:"1.75rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))","@media (min-width: 768px)":{fontSize:"1.5rem",lineHeight:"2rem"}}),Ra=t("div")({marginTop:"0.125rem",display:"flex",alignItems:"center",gap:"0.5rem"}),za=t(F)({"--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity, 1))"}),Aa=t("span")({"--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity, 1))"}),Wa=t(F)({"--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity, 1))"}),Ea=t("div")({flexShrink:"0"}),Ba=t("div")({display:"flex",flexDirection:"column",alignItems:"stretch",gap:"1.25rem","@media (min-width: 1024px)":{flexDirection:"row"},"@media (min-width: 1280px)":{gap:"1.5rem"}}),Pa=t("div")({display:"flex",width:"100%",minWidth:"0px",flex:"1 1 0%",flexDirection:"column"}),Fa=t("div")({marginTop:"1rem",display:"flex",gap:"0.75rem","@media (min-width: 1024px)":{display:"none"}}),Na=t("button")({flex:"1 1 0%",borderRadius:"1rem",paddingTop:"0.875rem",paddingBottom:"0.875rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"700",textTransform:"uppercase","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))",transitionProperty:"transform",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:active":{"--tw-scale-x":"0.99","--tw-scale-y":"0.99",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}}),Ma=t("button")({flex:"1 1 0%",borderRadius:"1rem",paddingTop:"0.875rem",paddingBottom:"0.875rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"700",textTransform:"uppercase","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity, 1))",transitionProperty:"transform",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:active":{"--tw-scale-x":"0.99","--tw-scale-y":"0.99",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}}),Ua=t("div")({display:"none",width:"400px",flexShrink:"0",flexDirection:"column",gap:"1rem","@media (min-width: 1024px)":{display:"flex"}}),Ha=t("div")({marginTop:"1.25rem","@media (min-width: 768px)":{marginTop:"1.5rem"},"@media (min-width: 1024px)":{display:"none"}}),Oa=t("div")({marginTop:"2rem","@media (min-width: 768px)":{marginTop:"2.5rem"}}),qa=t("div")({marginTop:"2rem","@media (min-width: 768px)":{marginTop:"2.5rem"}}),ja=t("div").withConfig({displayName:"TokenPage___StyledDiv28",componentId:"sc-10do1j4-0"})({marginTop:"2rem","@media (min-width: 768px)":{marginTop:"2.5rem"}});export{yl as default};

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.