GoScrobble/web/node_modules/.cache/babel-loader/f52f54263a89b80ef470ddb5b260b7bc.json

1 line
3.1 KiB
JSON
Raw Normal View History

2022-04-25 02:47:15 +00:00
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nexport function isPlainObject(item) {\n return item && _typeof(item) === 'object' && item.constructor === Object;\n}\nexport default function deepmerge(target, source) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n clone: true\n };\n var output = options.clone ? _extends({}, target) : target;\n\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(function (key) {\n // Avoid prototype pollution\n if (key === '__proto__') {\n return;\n }\n\n if (isPlainObject(source[key]) && key in target) {\n output[key] = deepmerge(target[key], source[key], options);\n } else {\n output[key] = source[key];\n }\n });\n }\n\n return output;\n}","map":{"version":3,"sources":["/app/node_modules/@material-ui/utils/esm/deepmerge.js"],"names":["_extends","_typeof","isPlainObject","item","constructor","Object","deepmerge","target","source","options","arguments","length","undefined","clone","output","keys","forEach","key"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,oCAArB;AACA,OAAOC,OAAP,MAAoB,mCAApB;AACA,OAAO,SAASC,aAAT,CAAuBC,IAAvB,EAA6B;AAClC,SAAOA,IAAI,IAAIF,OAAO,CAACE,IAAD,CAAP,KAAkB,QAA1B,IAAsCA,IAAI,CAACC,WAAL,KAAqBC,MAAlE;AACD;AACD,eAAe,SAASC,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmC;AAChD,MAAIC,OAAO,GAAGC,SAAS,CAACC,MAAV,GAAmB,CAAnB,IAAwBD,SAAS,CAAC,CAAD,CAAT,KAAiBE,SAAzC,GAAqDF,SAAS,CAAC,CAAD,CAA9D,GAAoE;AAChFG,IAAAA,KAAK,EAAE;AADyE,GAAlF;AAGA,MAAIC,MAAM,GAAGL,OAAO,CAACI,KAAR,GAAgBb,QAAQ,CAAC,EAAD,EAAKO,MAAL,CAAxB,GAAuCA,MAApD;;AAEA,MAAIL,aAAa,CAACK,MAAD,CAAb,IAAyBL,aAAa,CAACM,MAAD,CAA1C,EAAoD;AAClDH,IAAAA,MAAM,CAACU,IAAP,CAAYP,MAAZ,EAAoBQ,OAApB,CAA4B,UAAUC,GAAV,EAAe;AACzC;AACA,UAAIA,GAAG,KAAK,WAAZ,EAAyB;AACvB;AACD;;AAED,UAAIf,aAAa,CAACM,MAAM,CAACS,GAAD,CAAP,CAAb,IAA8BA,GAAG,IAAIV,MAAzC,EAAiD;AAC/CO,QAAAA,MAAM,CAACG,GAAD,CAAN,GAAcX,SAAS,CAACC,MAAM,CAACU,GAAD,CAAP,EAAcT,MAAM,CAACS,GAAD,CAApB,EAA2BR,OAA3B,CAAvB;AACD,OAFD,MAEO;AACLK,QAAAA,MAAM,CAACG,GAAD,CAAN,GAAcT,MAAM,CAACS,GAAD,CAApB;AACD;AACF,KAXD;AAYD;;AAED,SAAOH,MAAP;AACD","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nexport function isPlainObject(item) {\n return item && _typeof(item) === 'object' && item.constructor === Object;\n}\nexport default function deepmerge(target, source) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n clone: true\n };\n var output = options.clone ? _extends({}, target) : target;\n\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(function (key) {\n // Avoid prototype pollution\n if (key === '__proto__') {\n return;\n }\n\n if (isPlainObject(source[key]) && key in target) {\n output[key] = deepmerge(target[key], source[key], options);\n } else {\n output[key] = source[key];\n }\n });\n }\n\n return output;\n}"]},"metadata":{},"sourceType":"module"}