import"react";import{Box as a,Flex as s,Progress as c,Text as n}from"@chakra-ui/react";var o=e=>new Intl.NumberFormat("en-GB",{notation:"compact",compactDisplay:"short"}).format(e);import{jsx as r,jsxs as i}from"react/jsx-runtime";var f=({minters:e,totalSupply:t})=>i(a,{children:[i(s,{justifyContent:"center",children:[r(n,{fontSize:["14","14","14","11","14"],fontWeight:"medium",children:isNaN(e/t)||!isFinite(e/t)?"0%":`${(e/t*100).toPrecision(3)}%`}),r(n,{color:"mutedForeground",fontSize:"sm",fontWeight:"medium",ml:"2",children:`(${o(e)})`})]}),r(c,{h:2,w:"100%",minWidth:"20",borderRadius:"8",value:isNaN(e/t)?0:e/t*100,backgroundColor:"input"})]}),d=f;export{d as default};
