import{s as e}from"./rolldown-runtime-C5c2KzVm.js";import{$P as t}from"./lucide-C4oWPzu4.js";import{p as n,t as r}from"./utils-Bs-0X7qI.js";import{r as i}from"./bundle-mjs-C4g7ASB5.js";var a=n();e(t(),1);var o=i();function s(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`w-full caption-bottom text-sm`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`div`,{"data-slot":`table-container`,className:`relative w-full overflow-x-auto`,children:(0,o.jsx)(`table`,{"data-slot":`table`,className:s,...i})}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}function c(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`[&_tr]:border-b`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`thead`,{"data-slot":`table-header`,className:s,...i}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}function l(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`[&_tr:last-child]:border-0`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`tbody`,{"data-slot":`table-body`,className:s,...i}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}function u(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`tr`,{"data-slot":`table-row`,className:s,...i}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}function d(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`th`,{"data-slot":`table-head`,className:s,...i}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}function f(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`td`,{"data-slot":`table-cell`,className:s,...i}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}export{c as a,d as i,l as n,u as o,f as r,s as t};