import{s as n}from"./chunk-DZLz74EQ.js";import{n as c,t as e}from"./jsx-runtime-DvsdsEjx.js";import{t as l}from"./cn-C5VTNYKf.js";var d=n(c(),1),i=n(e(),1);const m=a=>{let t=(0,d.c)(6),r=a.dataTestId,s;t[0]===a.className?s=t[1]:(s=l("text-xs font-semibold text-accent-foreground",a.className),t[0]=a.className,t[1]=s);let o;return t[2]!==a.dataTestId||t[3]!==a.onClick||t[4]!==s?(o=(0,i.jsx)("button",{type:"button","data-testid":r,className:s,onClick:a.onClick,children:"Clear"}),t[2]=a.dataTestId,t[3]=a.onClick,t[4]=s,t[5]=o):o=t[5],o};export{m as t};
