import e from "../creator.js";
import t from "../selector.js";
//#region ../../node_modules/d3-selection/src/selection/insert.js
function n() {
	return null;
}
function r(r, i) {
	var a = typeof r == "function" ? r : e(r), o = i == null ? n : typeof i == "function" ? i : t(i);
	return this.select(function() {
		return this.insertBefore(a.apply(this, arguments), o.apply(this, arguments) || null);
	});
}
//#endregion
export { r as default };
