"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./document-overflow/use-document-overflow.js"),o=require("./use-is-top-layer.js");exports.useScrollLock=function(r,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body],u=o.useIsTopLayer(r,"scroll-lock");e.useDocumentOverflowLockedEffect(u,t,(e=>{var o;return{containers:[...null!=(o=e.containers)?o:[],s]}}))};
//# sourceMappingURL=use-scroll-lock.js.map
