import { createProjectionNode as e } from "./create-projection-node.es.js";
import { DocumentProjectionNode as n } from "./DocumentProjectionNode.es.js";
var t = {
  current: void 0
}, u = e({
  measureScroll: function(o) {
    return {
      x: o.scrollLeft,
      y: o.scrollTop
    };
  },
  defaultParent: function() {
    if (!t.current) {
      var o = new n(0, {});
      o.mount(window), o.setOptions({ layoutScroll: !0 }), t.current = o;
    }
    return t.current;
  },
  resetTransform: function(o, r) {
    o.style.transform = r != null ? r : "none";
  },
  checkIsScrollRoot: function(o) {
    return Boolean(window.getComputedStyle(o).position === "fixed");
  }
});
export {
  u as HTMLProjectionNode,
  t as rootProjectionNode
};
//# sourceMappingURL=HTMLProjectionNode.es.js.map
