1import {g}from'./chunk-BSRtSVf5.js';import {M,s}from'./chunk-1WHGOmmo.js';import {f as f$1,U}from'./chunk-pSdslE2v.js';import {k as n,l as L}from'./chunk-sloV_gFh.js';import'./main-KAAHWV4Z.js';import {x as my,O as Oc,b3 as ii,bl as Ga,ak as aa,bn as ne,bo as Mf,L as Do,d as E,E as E$1,P as qT,br as Te,bN as Qs,a2 as ye,a3 as Ms,a4 as ky,a6 as mC,a5 as rd,aa as mb,ab as gC,ad as c_,aM as N_,aL as RC,a8 as Ry,aN as cd,bv as R_,$ as $N,J as da,p as pi,v as vM,W,N,h as he}from'./chunk-BVUwsCyn.js';import'./chunk-CaMqlIz2.js';import'./chunk-DfNmovlP.js';import'./chunk-yM6K_b1X.js';import'./chunk-fRit9228.js';import'./chunk-BqddkA6a.js';import'./chunk-Bc6lGfIQ.js';import'./chunk-z6N8SU4d.js';import'./chunk-Dc8hmKl9.js';import'./chunk-DiaplhgR.js';import'./chunk-4lR12NlP.js';$N();da();pi();vM();U();W();N();he();$N();function z(t,i){if(t&1&&(Ms(0,"h2",1),c_(1,"PAGE.ONLINE_MEETING.INFO.PAGE_SUB_TITLE"),rd(),Ms(2,"div",2),c_(3),rd(),Ms(4,"div",3),c_(5),rd()),t&2){let e=RC();mb(3),cd(" ",e.getMeetingTime(e.meeting)," "),mb(2),cd(" ",e.meeting.onlineMeeting.summary," ");}}function K(t,i){if(t&1&&(Ms(0,"h2",1),c_(1,"PAGE.ONLINE_MEETING.INFO.NO_MEETING.PAGE_SUB_TITLE"),rd(),Ms(2,"p",4),c_(3,"PAGE.ONLINE_MEETING.INFO.NO_MEETING.PAGE_DESCRIPTION"),rd(),Ms(4,"div",5)(5,"ebank-link",6),c_(6),N_(7,"translate"),rd()()),t&2){let e=RC();mb(5),Ry("href",e.requestMeetingUrl),mb(),cd(" ",R_(7,2,"PAGE.ONLINE_MEETING.REQUEST_MEETING")," ");}}var p=class t{constructor(i,e,I,Y,Z,$){this.dataMessages=i;this.onlineMeetingService=e;this.sbLinkService=I;this.onlineMeetingConfig=Y;this.log=Z;this.alert=$;this.componentDestroy=new ne;}get requestMeetingUrl(){return this.sbLinkService.getUrl("URL.PAGE.DIALOGUE.NEW",{subject:"MODULE.ONLINE_MEETING.SUBJECT",to:this.onlineMeetingConfig.config.requestMeetingRecipientId}).url}ngOnInit(){this.dataMessages.get({bypassCache:true},void 0).pipe(Mf(this.componentDestroy)).subscribe(i=>{if(i){let e=this.onlineMeetingService.getOnlineMeetings(i);e?.length>0&&(this.meeting=this.onlineMeetingService.sortMeetings(e)[0]);}},i=>{this.log.error("something wrong happened while fetching messages in online meeting widget",i),this.alert.serverError(i,"ERROR.ONLINE_MEETING.SERVERERROR");});}getMeetingTime(i){return this.onlineMeetingService.getMeetingTime(i)}ngOnDestroy(){this.componentDestroy.next(true),this.componentDestroy.complete();}static{this.\u0275fac=function(e){return new(e||t)(Do(g),Do(M),Do(f$1),Do(s),Do(E),Do(E$1))};}
1static{this.\u0275cmp=qT({type:t,selectors:[["ng-component"]],standalone:false,decls:4,vars:1,consts:[["main","'PAGE.ONLINE_MEETING_INFORMATION'"],["translate","",1,"page-sub-title"],[1,"meeting-time"],[1,"meeting-summary"],["translate",""],[1,"ebank-link-container"],["linkStyle","secondary",3,"href"]],template:function(e,I){e&1&&(Ms(0,"section"),ky(1,"page-info-ngx",0),mC(2,z,6,2)(3,K,8,4),rd()),e&2&&(mb(2),gC(I.meeting?2:3));},dependencies:[Te,Qs,L,ye],encapsulation:2,changeDetection:1});}};vM();var X=[{path:"",component:p,data:{name:"online-meeting-information",title:"PAGE.ONLINE_MEETING_INFORMATION.HEADING"}}],f=class t{static{this.\u0275fac=function(e){return new(e||t)};}static{this.\u0275mod=my({type:t});}static{this.\u0275inj=Oc({imports:[aa.forChild(X),aa]});}};vM();var B=class t{static{this.\u0275fac=function(e){return new(e||t)};}static{this.\u0275mod=my({type:t});}static{this.\u0275inj=Oc({providers:[M],imports:[f,ii,Ga,n]});}};export{B as OnlineMeetingInformationModule};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.