import e from "./_baseRest.js";
import t from "./_isIterateeCall.js";
//#region ../../node_modules/lodash-es/_createAssigner.js
function n(n) {
	return e(function(e, r) {
		var i = -1, a = r.length, o = a > 1 ? r[a - 1] : void 0, s = a > 2 ? r[2] : void 0;
		for (o = n.length > 3 && typeof o == "function" ? (a--, o) : void 0, s && t(r[0], r[1], s) && (o = a < 3 ? void 0 : o, a = 1), e = Object(e); ++i < a;) {
			var c = r[i];
			c && n(e, c, i, o);
		}
		return e;
	});
}
//#endregion
export { n as default };
