import{c,j as e,L as s}from"./index-D4ZMoJFe.js";function h({basePath:r,items:n}){const a=c();return e.jsx("div",{className:"flex flex-wrap gap-2",children:n.map(t=>{const o=t.path===r?a.pathname===t.path:a.pathname===t.path||a.pathname.startsWith(`${t.path}/`);return e.jsx(s,{to:t.path,className:`rounded-xl border px-4 py-2 text-sm font-medium transition ${o?"border-accent/30 bg-accent/10 text-accent":"border-border bg-surface text-textMuted hover:border-accent/20 hover:bg-accent/5 hover:text-text"}`,children:t.label},t.path)})})}export{h as T};
