// and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54
console.error(["MUI: The contrast ratio of ".concat(contrast,":1 for ").concat(contrastText," on ").concat(background),'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.','https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\n'));
thrownewError(process.env.NODE_ENV!=="production"?"MUI: The color".concat(name?" (".concat(name,")"):''," provided to augmentColor(color) is invalid.\nThe color object needs to have a `main` property or a `").concat(mainShade,"` property."):_formatMuiErrorMessage(11,name?" (".concat(name,")"):'',mainShade));
}
if(typeofcolor.main!=='string'){
thrownewError(process.env.NODE_ENV!=="production"?"MUI: The color".concat(name?" (".concat(name,")"):''," provided to augmentColor(color) is invalid.\n`color.main` should be a string, but `").concat(JSON.stringify(color.main),"` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from \"@mui/material/colors\";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });"):_formatMuiErrorMessage(12,name?" (".concat(name,")"):'',JSON.stringify(color.main)));