import{r as m}from"./index-BP8_t0zE.js";import{aE as z,L as w,K as C,s as I,V as v,O as N,_ as R,c as b,P as E}from"./defaultI18nProvider-C_r1y4tu.js";import{_ as y,j as g}from"./assertThisInitialized-ClXgY4BW.js";function D(...o){return o.reduce((e,t)=>t==null?e:function(...i){e.apply(this,i),t.apply(this,i)},()=>{})}function F(o,e=166){let t;function n(...i){const r=()=>{o.apply(this,i)};clearTimeout(t),t=setTimeout(r,e)}return n.clear=()=>{clearTimeout(t)},n}function L(o,e){var t,n;return m.isValidElement(o)&&e.indexOf((t=o.type.muiName)!=null?t:(n=o.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function P(o){return z(o).defaultView||window}function T(o){return w("MuiSvgIcon",o)}C("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const j=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],M=o=>{const{color:e,fontSize:t,classes:n}=o,i={root:["root",e!=="inherit"&&`color${v(e)}`,`fontSize${v(t)}`]};return E(i,T,n)},V=I("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,n,i,r,h,c,f,p,d,a,s,u,l;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(t=o.transitions)==null||(n=t.create)==null?void 0:n.call(t,"fill",{duration:(i=o.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((r=o.typography)==null||(h=r.pxToRem)==null?void 0:h.call(r,20))||"1.25rem",medium:((c=o.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,24))||"1.5rem",large:((p=o.typography)==null||(d=p.pxToRem)==null?void 0:d.call(p,35))||"2.1875rem"}[e.fontSize],color:(a=(s=(o.vars||o).palette)==null||(s=s[e.color])==null?void 0:s.main)!=null?a:{action:(u=(o.vars||o).palette)==null||(u=u.action)==null?void 0:u.active,disabled:(l=(o.vars||o).palette)==null||(l=l.action)==null?void 0:l.disabled,inherit:void 0}[e.color]}}),S=m.forwardRef(function(e,t){const n=N({props:e,name:"MuiSvgIcon"}),{children:i,className:r,color:h="inherit",component:c="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:d=!1,titleAccess:a,viewBox:s="0 0 24 24"}=n,u=R(n,j),l=m.isValidElement(i)&&i.type==="svg",x=y({},n,{color:h,component:c,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:d,viewBox:s,hasSvgAsChild:l}),_={};d||(_.viewBox=s);const $=M(x);return g.jsxs(V,y({as:c,className:b($.root,r),focusable:"false",color:p,"aria-hidden":a?void 0:!0,role:a?"img":void 0,ref:t},_,u,l&&i.props,{ownerState:x,children:[l?i.props.children:i,a?g.jsx("title",{children:a}):null]}))});S.muiName="SvgIcon";function k(o,e){function t(n,i){return g.jsx(S,y({"data-testid":`${e}Icon`,ref:i},n,{children:o}))}return t.muiName=S.muiName,m.memo(m.forwardRef(t))}export{D as a,k as c,F as d,L as i,P as o};
