import{j as t,c as s}from"./index-CUDottTv.js";function d({tabs:n,activeTab:r,onTabChange:o,className:x}){return t.jsx("div",{className:s("flex items-center gap-1 border-b border-border-default px-3",x),children:n.map(e=>t.jsxs("button",{onClick:()=>o(e.id),className:s("relative h-9 px-3 text-[13px] font-medium transition-colors cursor-pointer",r===e.id?"text-text-primary":"text-text-tertiary hover:text-text-secondary"),children:[t.jsxs("span",{className:"flex items-center gap-1.5",children:[e.label,e.count!==void 0&&t.jsx("span",{className:s("text-[11px] tabular-nums",r===e.id?"text-text-secondary":"text-text-muted"),children:e.count})]}),r===e.id&&t.jsx("div",{className:"absolute bottom-0 left-3 right-3 h-0.5 bg-accent rounded-full"})]},e.id))})}export{d as T};
