import { getNodeEntries as a } from "@udecode/slate";
import { setColumnBreaks as m } from "./setColumnBreaks.es.js";
const s = (t, e, o) => {
  m(t, { at: e, value: o });
}, f = (t, e) => {
  const o = Array.from(a(t, { at: [], match: (r) => !!r.breakAfterColumn }));
  for (const [r, [, n]] of o.entries())
    s(t, n, r < e - 1 ? "active" : "inactive");
};
export {
  s as updateColumnBreak,
  f as updateColumnBreaks
};
//# sourceMappingURL=updateColumnBreaks.es.js.map
