{"version":3,"file":"exactProp.mjs","sources":["../../../../../../../../../node_modules/@mui/utils/esm/exactProp/exactProp.js"],"sourcesContent":["// This module is based on https://github.com/airbnb/prop-types-exact repository.\n// However, in order to reduce the number of dependencies and to remove some extra safe checks\n// the module was forked.\n\nconst specialProperty = 'exact-prop: \\u200b';\nexport default function exactProp(propTypes) {\n  if (process.env.NODE_ENV === 'production') {\n    return propTypes;\n  }\n  return {\n    ...propTypes,\n    [specialProperty]: props => {\n      const unsupportedProps = Object.keys(props).filter(prop => !propTypes.hasOwnProperty(prop));\n      if (unsupportedProps.length > 0) {\n        return new Error(`The following props are not supported: ${unsupportedProps.map(prop => `\\`${prop}\\``).join(', ')}. Please remove them.`);\n      }\n      return null;\n    }\n  };\n}"],"names":[],"mappings":"AAAA;AACA;AACA;;AAEA,MAAM,eAAe,GAAG,oBAAoB;AAC7B,SAAS,SAAS,CAAC,SAAS,EAAE;AAI7C,EAAE,OAAO;AACT,IAAI,GAAG,SAAS;AAChB,IAAI,CAAC,eAAe,GAAG,KAAK,IAAI;AAChC,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AACjG,MAAM,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE;AACvC,QAAQ,OAAO,IAAI,KAAK,CAAC,CAAC,uCAAuC,EAAE,gBAAgB,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,qBAAqB,CAAC,CAAC;AACjJ,MAAM;AACN,MAAM,OAAO,IAAI;AACjB,IAAI;AACJ,GAAG;AACH;;;;","x_google_ignoreList":[0]}