{"ast":null,"code":"export default function formControlState(_ref) {\n var props = _ref.props,\n states = _ref.states,\n muiFormControl = _ref.muiFormControl;\n return states.reduce(function (acc, state) {\n acc[state] = props[state];\n\n if (muiFormControl) {\n if (typeof props[state] === 'undefined') {\n acc[state] = muiFormControl[state];\n }\n }\n\n return acc;\n }, {});\n}","map":{"version":3,"sources":["/app/node_modules/@material-ui/core/esm/FormControl/formControlState.js"],"names":["formControlState","_ref","props","states","muiFormControl","reduce","acc","state"],"mappings":"AAAA,eAAe,SAASA,gBAAT,CAA0BC,IAA1B,EAAgC;AAC7C,MAAIC,KAAK,GAAGD,IAAI,CAACC,KAAjB;AAAA,MACIC,MAAM,GAAGF,IAAI,CAACE,MADlB;AAAA,MAEIC,cAAc,GAAGH,IAAI,CAACG,cAF1B;AAGA,SAAOD,MAAM,CAACE,MAAP,CAAc,UAAUC,GAAV,EAAeC,KAAf,EAAsB;AACzCD,IAAAA,GAAG,CAACC,KAAD,CAAH,GAAaL,KAAK,CAACK,KAAD,CAAlB;;AAEA,QAAIH,cAAJ,EAAoB;AAClB,UAAI,OAAOF,KAAK,CAACK,KAAD,CAAZ,KAAwB,WAA5B,EAAyC;AACvCD,QAAAA,GAAG,CAACC,KAAD,CAAH,GAAaH,cAAc,CAACG,KAAD,CAA3B;AACD;AACF;;AAED,WAAOD,GAAP;AACD,GAVM,EAUJ,EAVI,CAAP;AAWD","sourcesContent":["export default function formControlState(_ref) {\n var props = _ref.props,\n states = _ref.states,\n muiFormControl = _ref.muiFormControl;\n return states.reduce(function (acc, state) {\n acc[state] = props[state];\n\n if (muiFormControl) {\n if (typeof props[state] === 'undefined') {\n acc[state] = muiFormControl[state];\n }\n }\n\n return acc;\n }, {});\n}"]},"metadata":{},"sourceType":"module"}