"use strict";function getScroll(e,t){if("undefined"==typeof window)return 0;var o=t?"scrollTop":"scrollLeft",r=e===window,l=r?e[t?"pageYOffset":"pageXOffset"]:e[o];return r&&"number"!=typeof l&&(l=window.document.documentElement[o]),l}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=getScroll,module.exports=exports.default;