import{_ as g}from"./emotion-use-insertion-effect-with-fallbacks.browser.esm-e1338cfd.js";import{r as f}from"./index-8ee6c85d.js";import{b as I,g as C,s as w,c as v,f as R,_ as b,a as N,j as x,h as A,i as B}from"./styled-6f3628cf.js";function M(o){return I("MuiSvgIcon",o)}C("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const T=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],j=o=>{const{color:e,fontSize:t,classes:i}=o,n={root:["root",e!=="inherit"&&`color${v(e)}`,`fontSize${v(t)}`]};return B(n,M,i)},U=w("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:t}=o;return[e.root,t.color!=="inherit"&&e[`color${v(t.color)}`],e[`fontSize${v(t.fontSize)}`]]}})(({theme:o,ownerState:e})=>{var t,i,n,u,m,a,h,p,d,l,s,c,r;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(t=o.transitions)==null||(i=t.create)==null?void 0:i.call(t,"fill",{duration:(n=o.transitions)==null||(n=n.duration)==null?void 0:n.shorter}),fontSize:{inherit:"inherit",small:((u=o.typography)==null||(m=u.pxToRem)==null?void 0:m.call(u,20))||"1.25rem",medium:((a=o.typography)==null||(h=a.pxToRem)==null?void 0:h.call(a,24))||"1.5rem",large:((p=o.typography)==null||(d=p.pxToRem)==null?void 0:d.call(p,35))||"2.1875rem"}[e.fontSize],color:(l=(s=(o.vars||o).palette)==null||(s=s[e.color])==null?void 0:s.main)!=null?l:{action:(c=(o.vars||o).palette)==null||(c=c.action)==null?void 0:c.active,disabled:(r=(o.vars||o).palette)==null||(r=r.action)==null?void 0:r.disabled,inherit:void 0}[e.color]}}),_=f.forwardRef(function(e,t){const i=R({props:e,name:"MuiSvgIcon"}),{children:n,className:u,color:m="inherit",component:a="svg",fontSize:h="medium",htmlColor:p,inheritViewBox:d=!1,titleAccess:l,viewBox:s="0 0 24 24"}=i,c=b(i,T),r=f.isValidElement(n)&&n.type==="svg",S=g({},i,{color:m,component:a,fontSize:h,instanceFontSize:e.fontSize,inheritViewBox:d,viewBox:s,hasSvgAsChild:r}),y={};d||(y.viewBox=s);const z=j(S);return N(U,g({as:a,className:A(z.root,u),focusable:"false",color:p,"aria-hidden":l?void 0:!0,role:l?"img":void 0,ref:t},y,c,r&&n.props,{ownerState:S,children:[r?n.props.children:n,l?x("title",{children:l}):null]}))});_.muiName="SvgIcon";const $=_;function L(o,e){function t(i,n){return x($,g({"data-testid":`${e}Icon`,ref:n},i,{children:o}))}return t.muiName=$.muiName,f.memo(f.forwardRef(t))}export{L as c};
