/** * interact.js 1.10.27 * * Copyright (c) 2012-present Taye Adeyemi * Released under the MIT License. * https://raw.github.com/taye/interact.js/main/LICENSE */ function shallowEqual(left, right) { if (left === right) { return true; } if (!left || !right) { return false; } const leftKeys = Object.keys(left); if (leftKeys.length !== Object.keys(right).length) { return false; } for (const key of leftKeys) { if (left[key] !== right[key]) { return false; } } return true; } export { shallowEqual as default }; //# sourceMappingURL=shallowEqual.js.map