import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{Dvt as t,Ilt as n,Mvt as r,Rlt as i,gut as a,hut as o}from"./app-initial-BHB6SClA.js";function s(e){let t=(0,c.c)(11),{children:r,disabled:i,label:a,onClick:s,color:u,pressed:d,shortcut:f}=e,p=i===void 0?!1:i,m=u===`outline`?d?`outlineActive`:`outline`:d?`secondary`:`ghost`,h;t[0]!==r||t[1]!==p||t[2]!==a||t[3]!==s||t[4]!==d||t[5]!==m?(h=(0,l.jsx)(o,{size:`toolbar`,color:m,"aria-label":a,"aria-pressed":d,disabled:p,onClick:s,uniform:!0,children:r}),t[0]=r,t[1]=p,t[2]=a,t[3]=s,t[4]=d,t[5]=m,t[6]=h):h=t[6];let g;return t[7]!==a||t[8]!==f||t[9]!==h?(g=(0,l.jsx)(n,{tooltipContent:a,shortcut:f,delayOpen:!0,children:h}),t[7]=a,t[8]=f,t[9]=h,t[10]=g):g=t[10],g}var c,l,u=e((()=>{c=r(),a(),i(),l=t()}));export{u as n,s as t};
//# sourceMappingURL=thread-panel-toggle-button-CFhH1XBM.js.map