mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
1 line
2.0 KiB
JSON
1 line
2.0 KiB
JSON
|
{"ast":null,"code":"export default function HTMLElementType(props, propName, componentName, location, propFullName) {\n if (process.env.NODE_ENV === 'production') {\n return null;\n }\n\n var propValue = props[propName];\n var safePropName = propFullName || propName;\n\n if (propValue == null) {\n return null;\n }\n\n if (propValue && propValue.nodeType !== 1) {\n return new Error(\"Invalid \".concat(location, \" `\").concat(safePropName, \"` supplied to `\").concat(componentName, \"`. \") + \"Expected an HTMLElement.\");\n }\n\n return null;\n}","map":{"version":3,"sources":["/app/node_modules/@material-ui/utils/esm/HTMLElementType.js"],"names":["HTMLElementType","props","propName","componentName","location","propFullName","process","env","NODE_ENV","propValue","safePropName","nodeType","Error","concat"],"mappings":"AAAA,eAAe,SAASA,eAAT,CAAyBC,KAAzB,EAAgCC,QAAhC,EAA0CC,aAA1C,EAAyDC,QAAzD,EAAmEC,YAAnE,EAAiF;AAC9F,MAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,YAA7B,EAA2C;AACzC,WAAO,IAAP;AACD;;AAED,MAAIC,SAAS,GAAGR,KAAK,CAACC,QAAD,CAArB;AACA,MAAIQ,YAAY,GAAGL,YAAY,IAAIH,QAAnC;;AAEA,MAAIO,SAAS,IAAI,IAAjB,EAAuB;AACrB,WAAO,IAAP;AACD;;AAED,MAAIA,SAAS,IAAIA,SAAS,CAACE,QAAV,KAAuB,CAAxC,EAA2C;AACzC,WAAO,IAAIC,KAAJ,CAAU,WAAWC,MAAX,CAAkBT,QAAlB,EAA4B,IAA5B,EAAkCS,MAAlC,CAAyCH,YAAzC,EAAuD,iBAAvD,EAA0EG,MAA1E,CAAiFV,aAAjF,EAAgG,KAAhG,IAAyG,0BAAnH,CAAP;AACD;;AAED,SAAO,IAAP;AACD","sourcesContent":["export default function HTMLElementType(props, propName, componentName, location, propFullName) {\n if (process.env.NODE_ENV === 'production') {\n return null;\n }\n\n var propValue = props[propName];\n var safePropName = propFullName || propName;\n\n if (propValue == null) {\n return null;\n }\n\n if (propValue && propValue.nodeType !== 1) {\n return new Error(\"Invalid \".concat(location, \" `\").concat(safePropName, \"` supplied to `\").concat(componentName, \"`. \") + \"Expected an HTMLElement.\");\n }\n\n return null;\n}"]},"metadata":{},"sourceType":"module"}
|