import e from"../../../../@babel/runtime/helpers/esm/defineProperty.js";import r from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import t from"./createBreakpoints.js";import o from"./createMixins.js";import i from"./createPalette.js";import s from"./createTypography.js";import n from"./shadows.js";import a from"./shape.js";import p from"./createSpacing.js";import c from"./transitions.js";import m from"./zIndex.js";import d from"../../../utils/esm/deepmerge.js";function l(){for(var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=l.breakpoints,u=void 0===f?{}:f,h=l.mixins,g=void 0===h?{}:h,y=l.palette,j=void 0===y?{}:y,v=l.spacing,b=l.typography,x=void 0===b?{}:b,k=r(l,["breakpoints","mixins","palette","spacing","typography"]),N=i(j),O=t(u),S=p(v),E=d({breakpoints:O,direction:"ltr",mixins:o(O,S,g),overrides:{},palette:N,props:{},shadows:n,typography:s(N,x),spacing:S,shape:a,transitions:c,zIndex:m},k),I=arguments.length,w=new Array(I>1?I-1:0),M=1;M<I;M++)w[M-1]=arguments[M];if(E=w.reduce((function(e,r){return d(e,r)}),E),"production"!==process.env.NODE_ENV){var P=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],V=function r(t,o){var i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;for(i in t){var n=t[i];1===s?0===i.indexOf("Mui")&&n&&r(n,i,s+1):-1!==P.indexOf(i)&&Object.keys(n).length>0&&("production"!==process.env.NODE_ENV&&console.error(["Material-UI: The `".concat(o,"` component increases ")+"the CSS specificity of the `".concat(i,"` internal state."),"You can not override it like this: ",JSON.stringify(t,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:e({},"&$".concat(i),n)},null,2),"","https://material-ui.com/r/pseudo-classes-guide"].join("\n")),t[i]={})}};V(E.overrides)}return E}export default l;
//# sourceMappingURL=createMuiTheme.js.map
