//#region ../../node_modules/d3-hierarchy/src/hierarchy/eachBefore.js
function e(e, t) {
	for (var n = this, r = [n], i, a, o = -1; n = r.pop();) if (e.call(t, n, ++o, this), i = n.children) for (a = i.length - 1; a >= 0; --a) r.push(i[a]);
	return this;
}
//#endregion
export { e as default };
