const l = (r) => r.reduce((e, t, n) => n === 0 && t.label ? [0] : t.tokens && n < r.length - 1 ? [...e, (e[e.length - 1] ?? 0) + t.tokens.length + 1] : e, []);
export {
  l as getGroupHeadersTotalIndexes
};
//# sourceMappingURL=getGroupHeadersTotalIndexes.js.map
