import './polyfills.server.mjs';
import{Cb as a,G as o,M as n,W as m,_ as r,db as s}from"./chunk-I24PFG4Z.mjs";var l=class i{constructor(e){this.platformId=e}hasBodyToLimit=s.required();ngOnChanges(e){if(!a(this.platformId))return;let t=document.querySelector("body");this.hasBodyToLimit()?this.limitBodyElement(t):this.unlimitBodyElement(t)}limitBodyElement(e){e.style.overflow="hidden"}unlimitBodyElement(e){e.style.overflow="auto"}static \u0275fac=function(t){return new(t||i)(m(n))};static \u0275dir=r({type:i,selectors:[["","appBodyHeightLimiter",""]],inputs:{hasBodyToLimit:[1,"hasBodyToLimit"]},features:[o]})};export{l as a};
