//#region ../../node_modules/d3-selection/src/selection/text.js
function e() {
	this.textContent = "";
}
function t(e) {
	return function() {
		this.textContent = e;
	};
}
function n(e) {
	return function() {
		this.textContent = e.apply(this, arguments) ?? "";
	};
}
function r(r) {
	return arguments.length ? this.each(r == null ? e : (typeof r == "function" ? n : t)(r)) : this.node().textContent;
}
//#endregion
export { r as default };
