1 line
3.6 KiB
JSON
1 line
3.6 KiB
JSON
{"ast":null,"code":"var isCallable = require('../internals/is-callable');\n\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar makeBuiltIn = require('../internals/make-built-in');\n\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n\n if (options.global) {\n if (simple) O[key] = value;else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];else if (O[key]) simple = true;\n } catch (error) {\n /* empty */\n }\n\n if (simple) O[key] = value;else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n }\n\n return O;\n};","map":{"version":3,"names":["isCallable","require","definePropertyModule","makeBuiltIn","defineGlobalProperty","module","exports","O","key","value","options","simple","enumerable","name","undefined","global","unsafe","error","f","configurable","nonConfigurable","writable","nonWritable"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/core-js/internals/define-built-in.js"],"sourcesContent":["var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n"],"mappings":"AAAA,IAAIA,UAAU,GAAGC,OAAO,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