import{s as n}from"./chunk-LvLJmgfZ.js";import{t as c}from"./compiler-runtime-B3qBwwSJ.js";import{t as e}from"./jsx-runtime-CP2fAiZX.js";import{t as l}from"./cn-d_A4rA-x.js";var m=c(),i=n(e(),1);const d=a=>{let t=(0,m.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};
