import e from "../window.js";
//#region ../../node_modules/d3-selection/src/selection/style.js
function t(e) {
	return function() {
		this.style.removeProperty(e);
	};
}
function n(e, t, n) {
	return function() {
		this.style.setProperty(e, t, n);
	};
}
function r(e, t, n) {
	return function() {
		var r = t.apply(this, arguments);
		r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
	};
}
function i(e, i, o) {
	return arguments.length > 1 ? this.each((i == null ? t : typeof i == "function" ? r : n)(e, i, o ?? "")) : a(this.node(), e);
}
function a(t, n) {
	return t.style.getPropertyValue(n) || e(t).getComputedStyle(t, null).getPropertyValue(n);
}
//#endregion
export { i as default, a as styleValue };
