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