import o from"./getParentNode.js";import t from"./isScrollParent.js";import e from"./getNodeName.js";import{isHTMLElement as r}from"./instanceOf.js";function m(n){return["html","body","#document"].indexOf(e(n))>=0?n.ownerDocument.body:r(n)&&t(n)?n:m(o(n))}export default m;
//# sourceMappingURL=getScrollParent.js.map
