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

1 line
5.9 KiB
JSON

{"ast":null,"code":"'use strict';\n\nvar keys = require('object-keys');\n\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\n\nvar isFunction = function (fn) {\n return typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar arePropertyDescriptorsSupported = function () {\n var obj = {};\n\n try {\n origDefineProperty(obj, 'x', {\n enumerable: false,\n value: obj\n }); // eslint-disable-next-line no-unused-vars, no-restricted-syntax\n\n for (var _ in obj) {\n // jscs:ignore disallowUnusedVariables\n return false;\n }\n\n return obj.x === obj;\n } catch (e) {\n /* this is IE 8. */\n return false;\n }\n};\n\nvar supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();\n\nvar defineProperty = function (object, name, value, predicate) {\n if (name in object && (!isFunction(predicate) || !predicate())) {\n return;\n }\n\n if (supportsDescriptors) {\n origDefineProperty(object, name, {\n configurable: true,\n enumerable: false,\n value: value,\n writable: true\n });\n } else {\n object[name] = value;\n }\n};\n\nvar defineProperties = function (object, map) {\n var predicates = arguments.length > 2 ? arguments[2] : {};\n var props = keys(map);\n\n if (hasSymbols) {\n props = concat.call(props, Object.getOwnPropertySymbols(map));\n }\n\n for (var i = 0; i < props.length; i += 1) {\n defineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n }\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\nmodule.exports = defineProperties;","map":{"version":3,"sources":["/app/node_modules/define-properties/index.js"],"names":["keys","require","hasSymbols","Symbol","toStr","Object","prototype","toString","concat","Array","origDefineProperty","defineProperty","isFunction","fn","call","arePropertyDescriptorsSupported","obj","enumerable","value","_","x","e","supportsDescriptors","object","name","predicate","configurable","writable","defineProperties","map","predicates","arguments","length","props","getOwnPropertySymbols","i","module","exports"],"mappings":"AAAA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a,MAAD,EAASC,IAAT,EAAe;AAChCE,MAAAA,YAAY,EAAE,IADkB;AAEhCT,MAAAA,UAAU,EAAE,KAFoB;AAGhCC,MAAAA,KAAK,EAAEA,KAHyB;AAIhCS,MAAAA,QAAQ,EAAE;AAJsB,KAAf,CAAlB;AAMA,GAPD,MAOO;AACNJ,IAAAA,MAAM,CAACC,IAAD,CAAN,GAAeN,KAAf;AACA;AACD,CAdD;;AAgBA,IAAIU,gBAAgB,GAAG,UAAUL,MAAV,EAAkBM,GAAlB,EAAuB;AAC7C,MAAIC,UAAU,GAAGC,SAAS,CAACC,MAAV,GAAmB,CAAnB,GAAuBD,SAAS,CAAC,CAAD,CAAhC,GAAsC,EAAvD;AACA,MAAIE,KAAK,GAAGjC,IAAI,CAAC6B,GAAD,CAAhB;;AACA,MAAI3B,UAAJ,EAAgB;AACf+B,IAAAA,KAAK,GAAGzB,MAAM,CAACM,IAAP,CAAYmB,KAAZ,EAAmB5B,MAAM,CAAC6B,qBAAP,CAA6BL,GAA7B,CAAnB,CAAR;AACA;;AACD,OAAK,IAAIM,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,KAAK,CAACD,MAA1B,EAAkCG,CAAC,IAAI,CAAvC,EAA0C;AACzCxB,IAAAA,cAAc,CAACY,MAAD,EAASU,KAAK,CAACE,CAAD,CAAd,EAAmBN,GAAG,CAACI,KAAK,CAACE,CAAD,CAAN,CAAtB,EAAkCL,UAAU,CAACG,KAAK,CAACE,CAAD,CAAN,CAA5C,CAAd;AACA;AACD,CATD;;AAWAP,gBAAgB,CAACN,mBAAjB,GAAuC,CAAC,CAACA,mBAAzC;AAEAc,MAAM,CAACC,OAAP,GAAiBT,gBAAjB","sourcesContent":["'use strict';\n\nvar keys = require('object-keys');\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar arePropertyDescriptorsSupported = function () {\n\tvar obj = {};\n\ttry {\n\t\torigDefineProperty(obj, 'x', { enumerable: false, value: obj });\n\t\t// eslint-disable-next-line no-unused-vars, no-restricted-syntax\n\t\tfor (var _ in obj) { // jscs:ignore disallowUnusedVariables\n\t\t\treturn false;\n\t\t}\n\t\treturn obj.x === obj;\n\t} catch (e) { /* this is IE 8. */\n\t\treturn false;\n\t}\n};\nvar supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object && (!isFunction(predicate) || !predicate())) {\n\t\treturn;\n\t}\n\tif (supportsDescriptors) {\n\t\torigDefineProperty(object, name, {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: value,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\tobject[name] = value;\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n"]},"metadata":{},"sourceType":"script"}