var x=Object.defineProperty;var c=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;var i=(e,t,a)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,r=(e,t)=>{for(var a in t||(t={}))f.call(t,a)&&i(e,a,t[a]);if(c)for(var a of c(t))n.call(t,a)&&i(e,a,t[a]);return e};var l=(e,t)=>{var a={};for(var s in e)f.call(e,s)&&t.indexOf(s)<0&&(a[s]=e[s]);if(e!=null&&c)for(var s of c(e))t.indexOf(s)<0&&n.call(e,s)&&(a[s]=e[s]);return a};import{j as d}from"./radixui-DBNNXUn7.js";import{r as m}from"./router-ZPDjRWWZ.js";import{c as b}from"./index-C1-9bQes.js";const p=m.forwardRef((s,a)=>{var o=s,{className:e}=o,t=l(o,["className"]);return d.jsx("div",{className:"relative w-full overflow-auto",children:d.jsx("table",r({ref:a,className:b("w-full caption-bottom text-sm",e)},t))})});p.displayName="Table";const N=m.forwardRef((s,a)=>{var o=s,{className:e}=o,t=l(o,["className"]);return d.jsx("thead",r({ref:a,className:b("[&_tr]:border-b",e)},t))});N.displayName="TableHeader";const T=m.forwardRef((s,a)=>{var o=s,{className:e}=o,t=l(o,["className"]);return d.jsx("tbody",r({ref:a,className:b("[&_tr:last-child]:border-0",e)},t))});T.displayName="TableBody";const w=m.forwardRef((s,a)=>{var o=s,{className:e}=o,t=l(o,["className"]);return d.jsx("tfoot",r({ref:a,className:b("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e)},t))});w.displayName="TableFooter";const h=m.forwardRef((s,a)=>{var o=s,{className:e}=o,t=l(o,["className"]);return d.jsx("tr",r({ref:a,className:b("border-b transition-colors odd:bg-white even:bg-accent hover:bg-muted/50 data-[state=selected]:bg-muted",e)},t))});h.displayName="TableRow";const u=m.forwardRef((s,a)=>{var o=s,{className:e}=o,t=l(o,["className"]);return d.jsx("th",r({ref:a,className:b("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e)},t))});u.displayName="TableHead";const y=m.forwardRef((s,a)=>{var o=s,{className:e}=o,t=l(o,["className"]);return d.jsx("td",r({ref:a,className:b("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e)},t))});y.displayName="TableCell";const j=m.forwardRef((s,a)=>{var o=s,{className:e}=o,t=l(o,["className"]);return d.jsx("caption",r({ref:a,className:b("mt-4 text-sm text-muted-foreground",e)},t))});j.displayName="TableCaption";export{p as T,N as a,h as b,u as c,T as d,y as e};
