"use strict";Liferay.Loader.define("change-tracking-web$dom-helpers@5.2.0/cjs/scrollParent",["module","exports","require","@change-tracking-web$babel/runtime/helpers/interopRequireDefault","./css","./height","./isDocument"],(function(e,t,r){window;var o=r("@change-tracking-web$babel/runtime/helpers/interopRequireDefault");t.__esModule=!0,t.default=function(e,t){var r=(0,u.default)(e,"position"),o=e.ownerDocument;if("fixed"===r)return o||document;for(;(e=e.parentNode)&&!(0,i.default)(e);){var n="absolute"===r&&"static"===(0,u.default)(e,"position"),l=((0,u.default)(e,"overflow")||"")+((0,u.default)(e,"overflow-y")||"")+(0,u.default)(e,"overflow-x");if(!n&&/(auto|scroll)/.test(l)&&(t||(0,a.default)(e)<e.scrollHeight))return e}return o||document};var u=o(r("./css")),a=o(r("./height")),i=o(r("./isDocument"));e.exports=t.default}));
//# sourceMappingURL=scrollParent.js.map