import{La as r,eb as o,kb as s}from"./chunk-GJDGQISV.js";var n=class i{constructor(e){this.el=e}observer;ngAfterViewInit(){let e=this.el.nativeElement;this.observer=new MutationObserver(t=>{for(let c of t)c.type==="childList"&&e.scroll({top:e.scrollHeight,behavior:"smooth"})}),this.observer.observe(e,{childList:!0,subtree:!0})}ngOnDestroy(){this.observer&&this.observer.disconnect()}static \u0275fac=function(t){return new(t||i)(o(r))};static \u0275dir=s({type:i,selectors:[["","PinScrollingBottom",""]]})};export{n as a};
