import{E as e,H as t,It as n,Mt as r,Q as i,V as a,W as o,Z as s,_t as c,at as l,d as u,ft as d,ht as f,jt as p,mt as m,ot as h,s as g,st as _}from"./BA99CCI5.js";import"./xihTtKlq.js";import"./DGo8yE5j.js";var v=o(`<span class="inline-flex items-center gap-1.5 rounded-xl border border-neutral-300 bg-white px-2 py-1 text-xs dark:border-neutral-700/60 dark:bg-neutral-800/50"><span class="text-neutral-500 dark:text-neutral-400"> </span> <span> </span></span>`);function y(o,y){r(y,!1);let b=f(),x=f(),S=g(y,`name`,8),C=g(y,`score`,8);l(()=>s(C()),()=>{c(b,C()>0?`text-emerald-600 dark:text-emerald-400`:C()<0?`text-red-600 dark:text-red-400`:`text-neutral-500`)}),l(()=>s(C()),()=>{c(x,C()>0?`+${C().toLocaleString()}`:C().toLocaleString())}),h(),u();var w=v(),T=d(w),E=d(T,!0);n(T);var D=m(T,2),O=d(D,!0);n(D),n(w),_(()=>{a(E,S()),e(D,1,`font-mono font-medium ${i(b)??``}`),a(O,i(x))}),t(o,w),p()}export{y as t};