import { addDomEvent as t } from "../../events/add-dom-event.es.js";
import { createProjectionNode as c } from "./create-projection-node.es.js";
const l = c({
  attachResizeListener: (o, e) => t(o, "resize", e),
  measureScroll: () => {
    var o, e;
    return {
      x: document.documentElement.scrollLeft || ((o = document.body) == null ? void 0 : o.scrollLeft) || 0,
      y: document.documentElement.scrollTop || ((e = document.body) == null ? void 0 : e.scrollTop) || 0
    };
  },
  checkIsScrollRoot: () => !0
});
export {
  l as DocumentProjectionNode
};
//# sourceMappingURL=DocumentProjectionNode.es.js.map
