"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const index = require("./src-transition-index.cjs");
const schedule = require("./src-transition-schedule.cjs");
function transition_transition() {
  var name = this._name, id0 = this._id, id1 = index.newId();
  for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
    for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
      if (node = group[i]) {
        var inherit = schedule.get(node, id0);
        schedule.default(node, name, id1, i, group, {
          time: inherit.time + inherit.delay + inherit.duration,
          delay: 0,
          duration: inherit.duration,
          ease: inherit.ease
        });
      }
    }
  }
  return new index.Transition(groups, this._parents, name, id1);
}
exports.default = transition_transition;
//# sourceMappingURL=src-transition-transition.cjs.map
