text: shadow$provide.module$node_modules$$mui$system$styleFunctionSx$extendSxProp=function(global,require,module,exports){global=require("module$node_modules$$babel$runtime$helpers$interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0});exports.default=function(props){const {sx:inSx}=props;props=(0,_objectWithoutPropertiesLoose2.default)(props,_excluded);const {systemProps,otherProps}=splitProps(props);props=Array.isArray(inSx)?[systemProps,...inSx]:"function"===typeof inSx?(...args)=>
  {args=inSx(...args);return(0,_utils.isPlainObject)(args)?(0,_extends2.default)({},systemProps,args):systemProps}:(0,_extends2.default)({},systemProps,inSx);return(0,_extends2.default)({},otherProps,{sx:props})};var _extends2=global(require("module$node_modules$$babel$runtime$helpers$extends")),_objectWithoutPropertiesLoose2=global(require("module$node_modules$$babel$runtime$helpers$objectWithoutPropertiesLoose")),_utils=require("module$node_modules$$mui$utils$index"),_getThemeValue=require("module$node_modules$$mui$system$getThemeValue");
  const _excluded=["sx"],splitProps=props=>{const result={systemProps:{},otherProps:{}};Object.keys(props).forEach(prop=>{_getThemeValue.propToStyleFunction[prop]?result.systemProps[prop]=props[prop]:result.otherProps[prop]=props[prop]});return result}}
  //# sourceMappingURL=module$node_modules$$mui$system$styleFunctionSx$extendSxProp.js.map
  