import {J,c as tS,a_ as Oo,fR as n,l as Qt,H as ul,cI as p,a5 as fh,a7 as si,cN as g,L as w,ac as Dr,fS as r$1,b7 as Po,p as Jt,bE as ff,aq as Sr,N as Sr$1,bW as JT,bu as dy}from'./main-WUGO6e7n.js';var x,C=J(()=>{tS();Oo();n();Qt();ul();p();fh();si();tS();x=(()=>{class r extends g{constructor(){super(),this.defaultPageSize=w(Dr).webSettingsSnapshot?.defaultPageSize??20,this.errorSummaryMessages=[],this.dateFormatToDisplay="",this.timeFormatToDisplay="",this.dateTimeFormatToDisplay="",this.BASE_TITLE="Devolutions Server - ",this.titleService=r$1.injector.get(Po),this.storageService=r$1.injector.get(Jt);}ngOnInit(){r$1.injector.get(Dr).webSettingsChanged.pipe(ff(this.destroyed$),Sr(o=>!!o)).subscribe(o=>this.onWebSettingsChanged(o));let t=r$1.injector.get(Sr$1).translate(this.getComponentTitle());this.setTitle(t);}initErrorSummary(){this.errorSummaryMessages=[];}onWebSettingsChanged(i){let t=r$1.injector.get(Dr);this.defaultPageSize=i.defaultPageSize,this.dateFormatToDisplay=t.displayDateFormat,this.timeFormatToDisplay=t.displayTimeFormat,this.dateTimeFormatToDisplay=t.displayDateTimeFormat;}setTitle(i){this.titleService.setTitle(this.BASE_TITLE+i);}static{this.\u0275fac=function(t){return new(t||r)};}static{this.\u0275dir=JT({type:r,features:[dy]});}}return r})();});export{C,x};