import{aD as d,l as p,r as b,j as u,aE as g,a9 as a}from"./index-cc84e56a.js";const f=(o,e)=>a({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!o.vars&&{colorScheme:o.palette.mode}),y=o=>a({color:(o.vars||o).palette.text.primary},o.typography.body1,{backgroundColor:(o.vars||o).palette.background.default,"@media print":{backgroundColor:(o.vars||o).palette.common.white}}),S=(o,e=!1)=>{var s;const t={};e&&o.colorSchemes&&Object.entries(o.colorSchemes).forEach(([c,i])=>{var n;t[o.getColorSchemeSelector(c).replace(/\s*&/,"")]={colorScheme:(n=i.palette)==null?void 0:n.mode}});let r=a({html:f(o,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:o.typography.fontWeightBold},body:a({margin:0},y(o),{"&::backdrop":{backgroundColor:(o.vars||o).palette.background.default}})},t);const l=(s=o.components)==null||(s=s.MuiCssBaseline)==null?void 0:s.styleOverrides;return l&&(r=[r,l]),r};function v(o){const e=d({props:o,name:"MuiCssBaseline"}),{children:s,enableColorScheme:t=!1}=e;return p(b.Fragment,{children:[u(g,{styles:r=>S(r,t)}),s]})}export{v as C};
