{"version":3,"sources":["jsdelivr-header.js","/npm/deep-diff-object@1.1.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,OAAS,QAAQ,YACjB,QAAU,QAAQ,aAElB,OAAS,CACb,IAAK,GACL,IAAK,IAGD,SAAW,SAAS,EAAK,EAAK,GAIlC,MAAM,EAAgB,OAAO,KAAK,GAC5B,EAAgB,OAAO,KAAK,GAElC,IAAK,IAAI,EAAI,EAAG,EAAI,EAAc,OAAQ,IAEnC,OAAO,EAAK,EAAc,IAS5B,QAAQ,EAAI,EAAc,IAAK,EAAI,EAAc,IAAK,SAAU,EAAc,MAE/E,QAAQ,IAAI,wCACZ,QAAQ,IAAI,aAAc,EAAc,IACxC,QAAQ,IAAI,wCAGR,GACF,OAAO,IAAI,KAAK,CAAE,CAAC,GAAM,CAAE,CAAC,EAAc,IAAK,EAAI,EAAc,OACjE,OAAO,IAAI,KAAK,CAAE,CAAC,GAAM,CAAE,CAAC,EAAc,IAAK,EAAI,EAAc,SAEjE,OAAO,IAAI,KAAK,CAAE,CAAC,EAAc,IAAK,EAAI,EAAc,MACxD,OAAO,IAAI,KAAK,CAAE,CAAC,EAAc,IAAK,EAAI,EAAc,SApB1D,QAAQ,IAAI,wCACZ,QAAQ,IAAI,YAAa,EAAc,IACvC,QAAQ,IAAI,wCACZ,OAAO,IAAI,KAAK,CAAE,CAAC,EAAc,IAAK,EAAI,EAAc,MACxD,OAAO,IAAI,KAAK,CAAE,CAAC,EAAc,IAAK,EAAI,EAAc,OAqB5D,OAAO,MACT,EAEA,OAAO,QAAU","file":"/npm/deep-diff-object@1.1.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/deep-diff-object@1.1.0/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","const hasOwn = require('./hasOwn');\nconst isEqual = require('./isEqual');\n\nconst result = {\n  one: [],\n  two: []\n};\n\nconst deepDiff = function(One, Two, key) {\n  // Get all the keys from the first object\n  // We will only compare the the same keys on the second object because all\n  // the other keys that are not present on both objects are differences\n  const ObjectOneKeys = Object.keys(One);\n  const ObjectTwoKeys = Object.keys(Two);\n\n  for (let i = 0; i < ObjectOneKeys.length; i++) {\n    // If the key only exists on one of the objects they are automatically different\n    if (!hasOwn(Two, ObjectOneKeys[i])) {\n      console.log('====================================');\n      console.log('!hasOwn: ', ObjectOneKeys[i]);\n      console.log('====================================');\n      result.one.push({ [ObjectOneKeys[i]]: One[ObjectOneKeys[i]] });\n      result.two.push({ [ObjectTwoKeys[i]]: Two[ObjectTwoKeys[i]] });\n    }\n\n    else if (\n      !isEqual(One[ObjectOneKeys[i]], Two[ObjectOneKeys[i]], deepDiff, ObjectOneKeys[i])\n    ) {\n      console.log('====================================');\n      console.log('!isEqual: ', ObjectOneKeys[i]);\n      console.log('====================================');\n      // If `key` is set it means it's a recursive call so we append the result\n      // of the comparison to that `key`\n      if (key) {\n        result.one.push({ [key]: { [ObjectOneKeys[i]]: One[ObjectOneKeys[i]] }});\n        result.two.push({ [key]: { [ObjectOneKeys[i]]: Two[ObjectOneKeys[i]] }});\n      } else {\n        result.one.push({ [ObjectOneKeys[i]]: One[ObjectOneKeys[i]] });\n        result.two.push({ [ObjectOneKeys[i]]: Two[ObjectOneKeys[i]] });\n      }\n    }\n  }\n\n  return result;\n}\n\nmodule.exports = deepDiff;\n"]}