import"react";import{Flex as i,Text as r}from"@chakra-ui/react";var t=e=>new Intl.NumberFormat("en-GB",{notation:"compact",compactDisplay:"short"}).format(e);import{jsx as s,jsxs as o}from"react/jsx-runtime";var a=({maxSupply:e,totalSupply:n})=>o(i,{children:[s(r,{fontSize:["xs","sm"],fontWeight:"medium",children:t(Number(n)).toLocaleString()}),e!==0&&o(r,{color:"mutedForeground",fontSize:["xs","sm"],fontWeight:"medium",title:e,children:["/",t(e).toLocaleString()]})]}),u=a;export{u as default};
