import{c as e,bm as a,bn as s}from"./index-nE6cslhy.js";import{r as t,j as r}from"./vendor-react-Co0R0q1H.js";import{A as o}from"./index-CjfJc1Om.js";const i=e("ear-off",[["path",{d:"M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46",key:"1qngmn"}],["path",{d:"M6 8.5c0-.75.13-1.47.36-2.14",key:"b06bma"}],["path",{d:"M8.8 3.15A6.5 6.5 0 0 1 19 8.5c0 1.63-.44 2.81-1.09 3.76",key:"g10hsz"}],["path",{d:"M12.5 6A2.5 2.5 0 0 1 15 8.5M10 13a2 2 0 0 0 1.82-1.18",key:"ygzou7"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]),n=t.memo(function({value:e,format:i,prefix:n,suffix:f,className:m,priority:c="medium"}){const[d,p]=t.useState(!1),[u,x]=t.useState(e);t.useEffect(()=>a(()=>{p(!0),x(0)},c),[c]),t.useEffect(()=>{d&&x(e)},[d,e]);const l=`${n??""}${e.toLocaleString(void 0,i)}${f??""}`;return d?r.jsx(o,{className:`${m??""} overflow-hidden`,format:i,prefix:n,suffix:f,transition:s.numberTicker,children:u}):r.jsx("span",{className:m,children:l})});export{n as A,i as E};
