import{r as h,a2 as j,x as y,y as T,j as r,T as f,w as o}from"./index-B1H8BCL7.js";import{C as g}from"./Card-Dkp4tDNB.js";import{C as w}from"./CardHeader-iZgIgLbQ.js";import{C as S}from"./CardContent-uvNuWwEy.js";const k={"& .MuiCardHeader-action":{mr:0}},v=h.forwardRef(({border:M=!0,boxShadow:E,children:s,content:n=!0,contentClass:t="",contentSX:d={},darkTitle:c,secondary:i,shadow:R,sx:b={},title:e,cardIndex:p=0,...x},l)=>{j();const a=y(T),m=(a==null?void 0:a.navType)==="ultra-dark",C=p%2===0,u=m?C?"#1a1a1a":"#000000":void 0;return r.jsxs(g,{ref:l,...x,sx:{border:"none",backgroundColor:u,boxShadow:"none",borderRadius:0,transition:"background-color 0.3s ease",...b},children:[e&&r.jsx(w,{sx:k,title:c?r.jsx(f,{variant:"h3",children:e}):e,action:i}),n&&r.jsx(S,{sx:d,className:t,children:s}),!n&&s]})});v.propTypes={border:o.bool,boxShadow:o.bool,cardIndex:o.number,children:o.node,content:o.bool,contentClass:o.string,contentSX:o.object,darkTitle:o.bool,secondary:o.oneOfType([o.node,o.string,o.object]),shadow:o.string,sx:o.object,title:o.oneOfType([o.node,o.string,o.object])};export{v as M};
