import { childMatcher as e } from "../matcher.js";
//#region ../../node_modules/d3-selection/src/selection/selectChild.js
var t = Array.prototype.find;
function n(e) {
	return function() {
		return t.call(this.children, e);
	};
}
function r() {
	return this.firstElementChild;
}
function i(t) {
	return this.select(t == null ? r : n(typeof t == "function" ? t : e(t)));
}
//#endregion
export { i as default };
