import{au as p,ax as u,r as o,aw as y,bv as N,ay as f,bu as g,a$ as x}from"./index-09tpYl64.js";var _=function(e){return{root:{display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":u({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},stickyHeader:{borderCollapse:"separate"}}},$="table",k=o.forwardRef(function(e,n){var a=e.classes,c=e.className,t=e.component,l=t===void 0?$:t,s=e.padding,v=s===void 0?"normal":s,d=e.size,m=d===void 0?"medium":d,b=e.stickyHeader,r=b===void 0?!1:b,w=y(e,["classes","className","component","padding","size","stickyHeader"]),C=o.useMemo(function(){return{padding:v,size:m,stickyHeader:r}},[v,m,r]);return o.createElement(N.Provider,{value:C},o.createElement(l,u({role:l===$?null:"table",ref:n,className:f(a.root,c,r&&a.stickyHeader)},w)))});const P=p(_,{name:"MuiTable"})(k);var R={root:{display:"table-row-group"}},E={variant:"body"},h="tbody",H=o.forwardRef(function(e,n){var a=e.classes,c=e.className,t=e.component,l=t===void 0?h:t,s=y(e,["classes","className","component"]);return o.createElement(g.Provider,{value:E},o.createElement(l,u({className:f(a.root,c),ref:n,role:l===h?null:"rowgroup"},s)))});const S=p(R,{name:"MuiTableBody"})(H);var z=function(e){return{root:{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,"&$hover:hover":{backgroundColor:e.palette.action.hover},"&$selected, &$selected:hover":{backgroundColor:x(e.palette.secondary.main,e.palette.action.selectedOpacity)}},selected:{},hover:{},head:{},footer:{}}},T="tr",B=o.forwardRef(function(e,n){var a=e.classes,c=e.className,t=e.component,l=t===void 0?T:t,s=e.hover,v=s===void 0?!1:s,d=e.selected,m=d===void 0?!1:d,b=y(e,["classes","className","component","hover","selected"]),r=o.useContext(g);return o.createElement(l,u({ref:n,className:f(a.root,c,r&&{head:a.head,footer:a.footer}[r.variant],v&&a.hover,m&&a.selected),role:l===T?null:"row"},b))});const A=p(z,{name:"MuiTableRow"})(B);export{A as T,P as a,S as b};
//# sourceMappingURL=TableRow-CDjskHei.js.map
