import baseClone from './_baseClone.js';import baseUnset from './_baseUnset.js';import copyObject from './_copyObject.js';import flatRest from './_flatRest.js';import getAllKeysIn from './_getAllKeysIn.js';
var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;
var omit = flatRest(function(object, paths) { var result = {}; if (object == null) { return result; } copyObject(object, getAllKeysIn(object), result); result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG);
var length = paths.length; while (length--) { baseUnset(result, paths[length]); } return result;});
export default omit;