1 line
3.3 KiB
JSON
1 line
3.3 KiB
JSON
{"ast":null,"code":"var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n var index = -1,\n length = props.length;\n while (++index < length) {\n var key = props[index];\n var newValue = customizer ? customizer(object[key], source[key], key, object, source) : undefined;\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\nmodule.exports = copyObject;","map":{"version":3,"names":["assignValue","require","baseAssignValue","copyObject","source","props","object","customizer","isNew","index","length","key","newValue","undefined","module","exports"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/lodash/_copyObject.js"],"sourcesContent":["var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n"],"mappings":"AAAA,IAAIA,WAAW,GAAGC,OAAO,CAAC,gBAAgB,CAAC;EACvCC,eAAe,GAAGD,OAAO,CAAC,oBAAoB,CAAC;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASE,UAAUA,CAACC,MAAM,EAAEC,KAAK,EAAEC,MAAM,EAAEC,UAAU,EAAE;EACrD,IAAIC,KAAK,GAAG,CAACF,MAAM;EACnBA,MAAM,KAAKA,MAAM,GAAG,CAAC,CAAC,CAAC;EAEvB,IAAIG,KAAK,GAAG,CAAC,CAAC;IACVC,MAAM,GAAGL,KAAK,CAACK,MAAM;EAEzB,OAAO,EAAED,KAAK,GAAGC,MAAM,EAAE;IACvB,IAAIC,GAAG,GAAGN,KAAK,CAACI,KAAK,CAAC;IAEtB,IAAIG,QAAQ,GAAGL,UAAU,GACrBA,UAAU,CAACD,MAAM,CAACK,GAAG,CAAC,EAAEP,MAAM,CAACO,GAAG,CAAC,EAAEA,GAAG,EAAEL,MAAM,EAAEF,MAAM,CAAC,GACzDS,SAAS;IAEb,IAAID,QAAQ,KAAKC,SAAS,EAAE;MAC1BD,QAAQ,GAAGR,MAAM,CAACO,GAAG,CAAC;IACxB;IACA,IAAIH,KAAK,EAAE;MACTN,eAAe,CAACI,MAAM,EAAEK,GAAG,EAAEC,QAAQ,CAAC;IACxC,CAAC,MAAM;MACLZ,WAAW,CAACM,MAAM,EAAEK,GAAG,EAAEC,QAAQ,CAAC;IACpC;EACF;EACA,OAAON,MAAM;AACf;AAEAQ,MAAM,CAACC,OAAO,GAAGZ,UAAU","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]} |