import { phrasing } from "../mdast-util-phrasing/lib-index.js";
function root(node, _, state, info) {
  const hasPhrasing = node.children.some(function(d) {
    return phrasing(d);
  });
  const container = hasPhrasing ? state.containerPhrasing : state.containerFlow;
  return container.call(state, node, info);
}
export {
  root
};
//# sourceMappingURL=lib-handle-root.js.map
