import{bG as f,bH as S,r as y,bI as b,bs as v,bt as c,e as x,aH as z,bd as g,bv as e,bJ as I}from"./index-_6SmYgWK.js";function C(o){return f("MuiIcon",o)}S("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const R=["baseClassName","className","color","component","fontSize"],w=o=>{const{color:s,fontSize:a,classes:r}=o,n={root:["root",s!=="inherit"&&`color${e(s)}`,`fontSize${e(a)}`]};return I(n,C,r)},N=z("span",{name:"MuiIcon",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:a}=o;return[s.root,a.color!=="inherit"&&s[`color${e(a.color)}`],s[`fontSize${e(a.fontSize)}`]]}})(({theme:o,ownerState:s})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:o.typography.pxToRem(20),medium:o.typography.pxToRem(24),large:o.typography.pxToRem(36)}[s.fontSize],color:{primary:(o.vars||o).palette.primary.main,secondary:(o.vars||o).palette.secondary.main,info:(o.vars||o).palette.info.main,success:(o.vars||o).palette.success.main,warning:(o.vars||o).palette.warning.main,action:(o.vars||o).palette.action.active,error:(o.vars||o).palette.error.main,disabled:(o.vars||o).palette.action.disabled,inherit:void 0}[s.color]})),M=y.forwardRef(function(s,a){const r=b({props:s,name:"MuiIcon"}),{baseClassName:n="material-icons",className:l,color:p="inherit",component:t="span",fontSize:d="medium"}=r,u=v(r,R),i=c({},r,{baseClassName:n,color:p,component:t,fontSize:d}),m=w(i);return x.jsx(N,c({as:t,className:g(n,"notranslate",m.root,l),ownerState:i,"aria-hidden":!0,ref:a},u))});M.muiName="Icon";export{M as I};
