import{ca as i}from"./chunk-OE6O4GF6.js";var r=class{constructor(){this._subs=[]}add(...t){this._subs=this._subs.concat(t)}set sink(t){this._subs.push(t)}unsubscribe(){this._subs.forEach(t=>t&&t.unsubscribe()),this._subs=[]}};var b=(()=>{class s{constructor(){this.subs=new r}ngOnDestroy(){this.subs.unsubscribe()}static{this.\u0275fac=function(c){return new(c||s)}}static{this.\u0275prov=i({token:s,factory:s.\u0275fac})}}return s})();export{b as a};
