import { Transition as o } from "./index.js";
import h from "../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js";
function v(t) {
  typeof t != "function" && (t = h(t));
  for (var a = this._groups, e = a.length, _ = new Array(e), r = 0; r < e; ++r)
    for (var f = a[r], s = f.length, l = _[r] = [], i, n = 0; n < s; ++n)
      (i = f[n]) && t.call(i, i.__data__, n, f) && l.push(i);
  return new o(_, this._parents, this._name, this._id);
}
export {
  v as default
};
