"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const createProjectionNode = require("./create-projection-node.js");
const useDomEvent = require("../../events/use-dom-event.js");
var DocumentProjectionNode = createProjectionNode.createProjectionNode({
  attachResizeListener: function(ref, notify) {
    return useDomEvent.addDomEvent(ref, "resize", notify);
  },
  measureScroll: function() {
    return {
      x: document.documentElement.scrollLeft || document.body.scrollLeft,
      y: document.documentElement.scrollTop || document.body.scrollTop
    };
  },
  checkIsScrollRoot: function() {
    return true;
  }
});
exports.DocumentProjectionNode = DocumentProjectionNode;
//# sourceMappingURL=DocumentProjectionNode.js.map
