import{c1 as g,c0 as f,r as S,c2 as h,j as m,b9 as x,c4 as L,ch as c,c5 as k,b_ as R}from"./index-CCv_8omK.js";function v(t){return g("MuiListSubheader",t)}f("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const C=t=>{const{classes:s,color:o,disableGutters:e,inset:i,disableSticky:a}=t,r={root:["root",o!=="default"&&`color${c(o)}`,!e&&"gutters",i&&"inset",!a&&"sticky"]};return k(r,v,s)},M=x("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,s)=>{const{ownerState:o}=t;return[s.root,o.color!=="default"&&s[`color${c(o.color)}`],!o.disableGutters&&s.gutters,o.inset&&s.inset,!o.disableSticky&&s.sticky]}})(R(({theme:t})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(t.vars||t).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:s})=>!s.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:s})=>s.inset,style:{paddingLeft:72}},{props:({ownerState:s})=>!s.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper}}]}))),n=S.forwardRef(function(s,o){const e=h({props:s,name:"MuiListSubheader"}),{className:i,color:a="default",component:r="li",disableGutters:p=!1,disableSticky:u=!1,inset:d=!1,...y}=e,l={...e,color:a,component:r,disableGutters:p,disableSticky:u,inset:d},b=C(l);return m.jsx(M,{as:r,className:L(b.root,i),ref:o,ownerState:l,...y})});n&&(n.muiSkipListHighlight=!0);export{n as L};
