import e from "./_baseAssignValue.js";
import t from "./_assignValue.js";
//#region ../../node_modules/lodash-es/_copyObject.js
function n(n, r, i, a) {
	var o = !i;
	i ||= {};
	for (var s = -1, c = r.length; ++s < c;) {
		var l = r[s], u = a ? a(i[l], n[l], l, i, n) : void 0;
		u === void 0 && (u = n[l]), o ? e(i, l, u) : t(i, l, u);
	}
	return i;
}
//#endregion
export { n as default };
