import e from "../../../d3-selection/src/selector.js";
import t, { get as n } from "./schedule.js";
import { Transition as r } from "./index.js";
//#region ../../node_modules/d3-transition/src/transition/select.js
function i(i) {
	var a = this._name, o = this._id;
	typeof i != "function" && (i = e(i));
	for (var s = this._groups, c = s.length, l = Array(c), u = 0; u < c; ++u) for (var d = s[u], f = d.length, p = l[u] = Array(f), m, h, g = 0; g < f; ++g) (m = d[g]) && (h = i.call(m, m.__data__, g, d)) && ("__data__" in m && (h.__data__ = m.__data__), p[g] = h, t(p[g], a, o, g, p, n(m, o)));
	return new r(l, this._parents, a, o);
}
//#endregion
export { i as default };
