Files
kapp/8663.a4929b941a0df400.js
2026-05-21 11:19:10 -03:00

1 line
52 KiB
JavaScript

(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8663],{68663:(Lt,S,_)=>{_.r(S),_.d(S,{ViewEventPageModule:()=>Mt});var m=_(61380),M=_(15861),V=_(47423),f=_(24889),I=_(64633),N=_(15439),x=_.n(N),t=_(45449),C=_(47898),h=_(90603),b=_(14690),A=_(21284),R=_(80698),E=_(90944),D=_(87871),w=_(58517),k=_(36290),G=_(96893),L=_(99826);function B(o,a){if(1&o){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"button",6),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const s=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(s.shareEvent())}),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()}2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(2,1,"PG_VIEW_EVENT_BTN_LINK_SHARE")," "))}function j(o,a){if(1&o){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",31)(1,"button",32),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const s=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(s.onFixEventErrors())}),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd()()}2&o&&(t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,1,"PG_VIEW_EVENT_BTN_EDIT")," "))}function W(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",33)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(4,"app-list-recurrence-dates",34),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,3,"TEXT_RECURRENCES_DATES")),t.\u0275\u0275advance(2),t.\u0275\u0275property("showShortDateList",!0)("recurrenceDates",n.recurrenceDates)}}function X(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",35)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",13),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd()()),2&o){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_TEXT_FLOOR")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(n.floor.description)}}function F(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",35)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",13),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd()()),2&o){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_TEXT_GROUP")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(n.group.description)}}function H(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",43),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(n.department)}}function U(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",38),t.\u0275\u0275element(1,"app-avatar",39),t.\u0275\u0275elementStart(2,"div",40)(3,"div",41),t.\u0275\u0275text(4),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(5,H,2,1,"div",42),t.\u0275\u0275elementEnd()()),2&o){const n=a.$implicit,i=t.\u0275\u0275nextContext(2);let s;t.\u0275\u0275advance(1),t.\u0275\u0275property("firstName",n.firstName)("lastName",n.lastName)("thumbnailImage",null!==(s=n.thumbnailImage)&&void 0!==s?s:null)("size","md"),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate1(" ",i.helperService.normalizeName(n.firstName,n.lastName)," "),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.department)}}function Y(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",36),t.\u0275\u0275template(1,U,6,6,"div",37),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(1),t.\u0275\u0275property("ngForOf",n.hosts)}}function K(o,a){1&o&&(t.\u0275\u0275elementStart(0,"div",44),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(2,1,"PG_VIEW_EVENT_TEXT_NOT_HOST_SELECTED")," "))}function $(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",53),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(n.company)}}function Z(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",57),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext(2).$implicit,i=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",i.momentService.formatAsEventAt(n.checkinDate)," ")}}function Q(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",54)(1,"div",55),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,Z,2,1,"div",56),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_TEXT_CHECK_PERFORMED_AT")," "),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.checkinDate)}}function J(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",58),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(n.phone)}}function q(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",47),t.\u0275\u0275element(1,"app-avatar",39),t.\u0275\u0275elementStart(2,"div",48)(3,"div",41),t.\u0275\u0275text(4),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(5,$,2,1,"div",49),t.\u0275\u0275template(6,Q,5,4,"div",50),t.\u0275\u0275template(7,J,2,1,"div",51),t.\u0275\u0275element(8,"app-status-invite",52),t.\u0275\u0275elementEnd()()),2&o){const n=a.$implicit,i=t.\u0275\u0275nextContext(2);let s;t.\u0275\u0275advance(1),t.\u0275\u0275property("firstName",n.firstName)("lastName",n.lastName)("thumbnailImage",null!==(s=n.thumbnailImage)&&void 0!==s?s:null)("size","md"),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate1(" ",i.helperService.normalizeName(n.firstName,n.lastName)," "),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.company),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf","CHECKIN_DONE"===n.status||"MULTI_CHECKIN"===n.status||"QRCODE_PRINTED"===n.status),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.phone&&!n.escort),t.\u0275\u0275advance(1),t.\u0275\u0275property("status",n.status)}}function tt(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",45),t.\u0275\u0275template(1,q,9,9,"div",46),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(1),t.\u0275\u0275property("ngForOf",n.guests)}}function nt(o,a){1&o&&(t.\u0275\u0275elementStart(0,"div",59),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(2,1,"PG_VIEW_EVENT_TEXT_NOT_GUEST_SELECTED")," "))}function et(o,a){1&o&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_YES")))}function ot(o,a){1&o&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_NOT")))}function it(o,a){1&o&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_YES")))}function ct(o,a){1&o&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_NOT")))}function st(o,a){1&o&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_YES")))}function at(o,a){1&o&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_NOT")))}function rt(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate2(" ",n.checkInStartAt," ",t.\u0275\u0275pipeBind1(2,2,"PG_VIEW_EVENT_TEXT_MINUTES")," ")}}function gt(o,a){1&o&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_NOT")))}function lt(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&o){const n=a.$implicit;t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(null==n?null:n.assetName)}}function dt(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",28)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,lt,2,1,"div",60),t.\u0275\u0275elementEnd()),2&o){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_TEXT_ROOM_RESERVATIONS")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngForOf",n.bookeis)}}function _t(o,a){if(1&o){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",31)(1,"button",62),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const s=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(s.onDeleteEvent())}),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd()()}if(2&o){const n=t.\u0275\u0275nextContext().ngIf;t.\u0275\u0275advance(1),t.\u0275\u0275property("disabled","Offline"===n.status),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,2,"BTN_CLOSET")," ")}}function Ct(o,a){if(1&o&&(t.\u0275\u0275elementStart(0,"div",61)(1,"div",9),t.\u0275\u0275template(2,_t,4,4,"div",10),t.\u0275\u0275elementEnd()()),2&o){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.canBeDeleted())}}let Pt=(()=>{class o{constructor(n,i,s,g,u,v,T,pt,ht,vt,mt,ft,Et,Tt,St,It,xt,yt,zt,Vt,Nt,bt,At,Rt,Dt,wt){var d=this;this.createEventService=n,this.navigationService=i,this.loadingService=s,this.notificatorService=g,this.momentService=u,this.activatedRoute=v,this.router=T,this.companyService=pt,this.helperService=ht,this.modalController=vt,this.logService=mt,this.profileManagerService=ft,this.authService=Et,this.apiService=Tt,this.geolocationService=St,this.portalLoginManagerService=It,this.permissionsAndroidService=xt,this.modalPermissionService=yt,this.platform=zt,this.androidPermissions=Vt,this.bookeiService=Nt,this.translateConfigService=bt,this.socialSharingService=At,this.stateService=Rt,this.sessionAddFlowService=Dt,this.userPhotoService=wt,this.existPendings=!1,this.bookeis=[],this.navigateToQRCode=()=>{this.navigationService.root(["/home"])},this.navigateToPendingLiberations=()=>{this.navigationService.forward(["/push-notifications"])},this.loadData=()=>{this.loadingService.show(this.translateConfigService.translate("PG_VIEW_EVENT_LOADING_EVENT_DATA"),"loading-event-data"),this.getVoProfiles().then(e=>(this.profiles=e,this.getEvent(this.eventId,this.companyInstanceName))).then(e=>{const c=e;c.date=this.momentService.formatAsEventFromTo(c.startAt,c.endAt),this.event=c;const r=c.invites,l=r.filter(P=>!P.host),O=r.filter(P=>P.host);if(this.event.guests=l,this.event.hosts=O,this.bookeiService.selectService("bookeisInEventDetail",this.eventId).then(P=>{c.bookeis=P||[],this.bookeis=P||[]}),this.setEventValues(this.event),this.loadPhotos(),null!==c?.id||void 0!==c?.id){const P=this.createEventService.getGuests();P.length&&(this.disableBtnEdit=P.filter(p=>"CHECKIN_DONE"===p.status||"QRCODE_PRINTED"===p.status||"FINISHED"===p.status).length>0)}}).catch(e=>{console.log("processGetEventErrorResponse"),console.log("error:",e),this.logService.logError("http::processGetEventErrorResponse","",e),this.loadingService.hide(null,"loading-event-data");const c=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_TITLE_ERROR"),r=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_MESSAGE_ERROR");this.notificatorService.notify({title:c,message:r,type:"error"})})},this.getEvent=(e,c)=>this.companyService.getEvent(e,{},c),this.setEventValues=e=>{this.loadingService.hide(null,"loading-event-data"),e&&(this.isNew=!e.id,this.title=e.title,this.recurrenceDates=e.recurrenceDates?e.recurrenceDates:[],this.recurrent=!!e?.recurrent&&e.recurrent,this.startAt=this.momentService.formatAsEventAt(e.startAt),this.formatDateEntAt(e,e?.recurrenceDates?e?.recurrenceDates[e?.recurrenceDates?.length-1]:null),this.hosts=e.hosts,this.guests=e.guests,this.multiCheckin=e.multiCheckin,this.allowCompanion=e.allowCompanion,this.needAuthorization=!e.autoRelease,this.checkInStartAt=e.checkinStartAt,this.bookeis=e.bookeis?e.bookeis:[],this.locator=e.locator,this.floor=e.floor?{description:e.floor,code:e.floorCode}:null,this.group=e?.group?{code:e.groupCode,description:e.group}:null)},this.getVoProfiles=()=>new Promise((e,c)=>{this.authService.getToken().then(r=>{this.apiService.getUserProfiles("VO",r).subscribe(e,c)})}),this.getSelectedEventRelatedProfile=(e,c)=>e.find(r=>r.company.instanceName===c),this.isLimitedProfile=e=>e.authorities&&e.authorities.includes("ROLE_COMPANY_LIMITED"),this.onFixEventErrors=()=>{this.sessionAddFlowService.clearSessionId();const e=this.event,c=this.getSelectedEventRelatedProfile(this.profiles,e.company.instanceName);this.profileManagerService.setProfile(c);const r=this.isLimitedProfile(c);e?.id&&e?.periods?.length>0&&(this.createEventService.setPeriods(e?.periods),this.createEventService.setRecurrenceDates(e?.recurrenceDates),this.createEventService.setRecurrent(e?.recurrent)),this.createEventService.setLocator(e?.locator);const O={state:{event:{...e,floor:this.floor,group:this.group},isLimitedProfile:r,action:"edit"}};this.navigationService.back(["/create-event-event-name-step"],O)},this.verifyIsAllGuestsHaveEmail=e=>{const c=this.event.guests;c.find(l=>!l.email)?this.openUpdateUserEmailModal(c,e):this.addToCalendar()},this.openUpdateUserEmailModal=function(){var e=(0,M.Z)(function*(c,r){c=c.filter(p=>!p.email);const l=yield d.modalController.create({component:f.I1,componentProps:{guests:c,componentSharing:r}});yield l.present();const{role:O,data:P}=yield l.onDidDismiss();P&&d.onModalDismissCallback(P,r,O)});return function(c,r){return e.apply(this,arguments)}}(),this.updateGuestsData=e=>{let c=this.event.guests;c=c.map(r=>e.find(O=>O.id===r.id)||r),this.event.guests=c},this.addToCalendar=(0,M.Z)(function*(){(yield d.haspermissionCalendar())?d.addToCalendarComponsed():d.modalPermissionService.openModal({permission:"CALENDAR"}).then(c=>{c?d.requestPermissionCalendarAndContact().then(function(){var r=(0,M.Z)(function*(l){console.log(l),d.addToCalendarComponsed()});return function(l){return r.apply(this,arguments)}}()):d.logService.logError("permissionModal::addToCalendarPageEvent","","modal-permission-rejected")})}),this.getCompanyAddress=e=>e.company&&e.company.address?e.company.address:"",this.addToCalendarSuccessResponse=e=>{console.log("addToCalendarSuccessResponse:",e)},this.addToCalendarErrorResponse=e=>{console.log("addToCalendarErrorResponse:",e),this.logService.logError("calendar::addToCalendarErrorResponse","",e)},this.onBack=()=>{this.navigationService.back(["/events"])},this.isLogisticEvent=e=>e&&e.target&&"LOGISTIC"===e.target,this.shouldShowEditButton=e=>!this.isLogisticEvent(e),this.shouldShowEventFloor=e=>!this.isLogisticEvent(e),this.shouldShowEventGroup=e=>!!this.group,this.getEventTitleToTheView=e=>{if(e)return this.isLogisticEvent(e)?e.title+this.translateConfigService.translate("PG_EVENTS_TEXT_LOGISTIC"):e.title},this.canBeDeleted=()=>{let e=!1;if(this.event&&this.event.company){const c=this.getSelectedEventRelatedProfile(this.profiles,this.event.company.instanceName);e=this.isLimitedProfile(c)}return!e},this.onDeleteEvent=(0,M.Z)(function*(){const l={actionsButton:[{label:d.translateConfigService.translate("BTN_BACK"),enabled:!0,size:"default",action:()=>{d.modalController.dismiss({close:!0},"cancel")},classCss:""},{label:d.translateConfigService.translate("BTN_CLOSET"),size:"default",enabled:!0,action:()=>{d.modalController.dismiss({confirm:!0})},classCss:"delete"}],description:d.translateConfigService.translate("MODAL_GENERIC.DELETE_EVENT_VO.DESCRIPTION"),title:"",type:"info",typename:f.sX.deleteEventVO},O=yield d.modalController.create({component:f.rD,cssClass:"modal-generic-component-delete-event",componentProps:{props:l}});yield O.present();const{data:P,role:p}=yield O.onDidDismiss();if(!p&&P){d.sessionAddFlowService.clearSessionId();const z=d.event;z.status="CANCELED";const Gt=d.getSelectedEventRelatedProfile(d.profiles,d.event.company.instanceName);d.profileManagerService.setProfile(Gt),d.loadingService.show(d.translateConfigService.translate("PG_VIEW_EVENT_LOADING_REMOVE"),"on-delete-event"),d.createEventService.deleteEventAsync(z).then(d.handleOnDeleteEventSuccessResponse).catch(d.handleOnDeleteEventErrorResponse)}}),this.getProfileRelatedAccessToken=e=>new Promise((c,r)=>{this.authService.getToken().then(l=>this.portalLoginManagerService.getAccessToken(e.login,e.portal,l)).then(l=>{c(l.access_token)}).catch(r)}),this.handleGetAccessTokenError=e=>{this.loadingService.hide(null,"on-delete-event");const c=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_TITLE_ERROR_GET_TOKEN"),r=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_MESSAGE_ERROR_GET_TOKEN");this.logService.logError("http::onDeleteEvent::getAccessToken","",e),this.notificatorService.notify({title:c,message:r,type:"error",timeout:5e3})},this.handleOnDeleteEventSuccessResponse=e=>{this.loadingService.hide(null,"on-delete-event");const c=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_TITLE_DELETE"),r=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_MESSAGE_DELETE");this.notificatorService.notify({title:c,message:r,type:"success",timeout:5e3}),this.onBack()},this.handleOnDeleteEventErrorResponse=e=>{console.log("handleOnDeleteEventErrorResponse"),console.log(e),this.loadingService.hide(null,"on-delete-event"),this.logService.logError("http::handleOnDeleteEventErrorResponse","",e);const c=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_TITLE_DELETE_REQUEST"),r=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_MESSAGE_DELETE_REQUEST");this.notificatorService.notify({title:c,message:r,type:"error",timeout:5e3})},this.handleGetLocationError=(e,c,r)=>{this.loadingService.hide(null,e),this.logService.logError(c,"",r),this.toastErrorLocation()},this.title="",this.startAt="",this.endAt="",this.hosts=[],this.guests=[],this.floor={description:""},this.group={description:""},this.sessionAddFlowService.clearSessionId();const y=this.activatedRoute.snapshot.params?.eventId;this.activatedRoute.queryParams.subscribe(e=>{this.router.getCurrentNavigation().extras.state&&(this.eventId=y||this.router.getCurrentNavigation().extras.state.eventId,this.companyInstanceName=this.router.getCurrentNavigation().extras.state.companyInstanceName,this.loadData())})}ionViewDidEnter(){}ionViewDidLeave(){}loadPhotos(){var n=this;return(0,M.Z)(function*(){const i=n.event?.company?.instanceName??n.companyInstanceName;if(!n.userPhotoService.canShowPhoto(i))return;let s;try{s=yield n.userPhotoService.getCompanyAccessToken(i)}catch{return}for(const g of[...n.hosts??[],...n.guests??[]])if(g.refId)try{const u=yield n.apiService.getUserThumbnailPhotoOfPendingRelease(i,s,g.refId).toPromise();g.thumbnailImage=u?.faceImageThumbnail??null}catch{}})()}shareEvent(n){var i=this;return(0,M.Z)(function*(){const s=i.event.guests;if(s.find(u=>!u.email)&&"cancel"!==n)i.openUpdateUserEmailModal(s,"others");else{const u=yield i.modalController.create({component:I.sq,componentProps:{event:i.event,page:"view-event"},cssClass:"modal-share"});yield u.present(),yield u.onDidDismiss()}})()}onModalDismissCallback(n,i,s){console.log("onModalDismissCallback detail:",n),n&&(this.updateGuestsData(n.guests),n.share&&"calendar"===i?this.addToCalendar():this.shareEvent(s))}addToCalendarComponsed(){var n=this;return(0,M.Z)(function*(){if(!n.event)return;if("android"===V.dV.getPlatform())return void n.socialSharingService.shareEvent(n.event,"CALENDAR","view-event");const s=yield n.modalController.create({component:I.sq,componentProps:{event:n.event,page:"event-share-step",calendar:!0},cssClass:"modal-share"});yield s.present();const{role:g,data:u}=yield s.onDidDismiss();console.log(u),console.log(g)})()}haspermissionCalendar(){var n=this;return(0,M.Z)(function*(){const i=n.platform.is("cordova")?yield n.permissionsAndroidService.hasPermission("READ_CALENDAR"):{hasPermission:!0},s=n.platform.is("cordova")?yield n.permissionsAndroidService.hasPermission("WRITE_CALENDAR"):{hasPermission:!0};return!(!i.hasPermission||!s.hasPermission)})()}requestPermissionCalendarAndContact(){var n=this;return(0,M.Z)(function*(){const i=[n.androidPermissions.PERMISSION.READ_CALENDAR,n.androidPermissions.PERMISSION.WRITE_CALENDAR];return!!(yield n.permissionsAndroidService.multRequestPermissions(i)).hasPermission})()}geoCoordinates(n,i){var s=this;return(0,M.Z)(function*(){try{const g=yield s.geolocationService.getCurrentPositionAndRequestPermission();return{lat:g&&g.coords&&g.coords.latitude?g.coords.latitude:null,lng:g&&g.coords&&g.coords.longitude?g.coords.longitude:null}}catch(g){return void s.handleGetLocationError(i,n,g)}})()}toastErrorLocation(){const n=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_TITLE_GETTING_LOCATION"),i=this.translateConfigService.translate("PG_VIEW_EVENT_TOAST_MESSAGE_GETTING_LOCATION");this.notificatorService.notify({title:n,message:i,type:"error",timeout:5e3})}formatDateHourEndAt(n,i){return x()(n).format("DD/MM/YYYY")+" \xe1s "+x()(i).format("HH[h]mm[min]")}formatDateEntAt(n,i){const s=new Date(n.endAt),g=i?.happensAt;this.endAt=n?.id&&n?.recurrent&&g?this.formatDateHourEndAt(g,n.endAt):n?.id&&!g?this.formatDateHourEndAt(s,n.endAt):this.momentService.formatAsEventAt(n.endAt)}}return o.\u0275fac=function(n){return new(n||o)(t.\u0275\u0275directiveInject(C.jc),t.\u0275\u0275directiveInject(C.f5),t.\u0275\u0275directiveInject(C.bz),t.\u0275\u0275directiveInject(C.V6),t.\u0275\u0275directiveInject(C.EM),t.\u0275\u0275directiveInject(m.ActivatedRoute),t.\u0275\u0275directiveInject(m.Router),t.\u0275\u0275directiveInject(C.JN),t.\u0275\u0275directiveInject(C.W_),t.\u0275\u0275directiveInject(h.ModalController),t.\u0275\u0275directiveInject(C.$V),t.\u0275\u0275directiveInject(C.v4),t.\u0275\u0275directiveInject(C.e8),t.\u0275\u0275directiveInject(C.sM),t.\u0275\u0275directiveInject(C._1),t.\u0275\u0275directiveInject(C.dj),t.\u0275\u0275directiveInject(C.YY),t.\u0275\u0275directiveInject(C.JQ),t.\u0275\u0275directiveInject(h.Platform),t.\u0275\u0275directiveInject(b.r),t.\u0275\u0275directiveInject(C.lV),t.\u0275\u0275directiveInject(C.wK),t.\u0275\u0275directiveInject(C.iX),t.\u0275\u0275directiveInject(A.b),t.\u0275\u0275directiveInject(R.t),t.\u0275\u0275directiveInject(C.IR))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["app-view-event"]],decls:75,vars:56,consts:[["defaultHref","events",3,"title","showBadge","refresh"],[1,"centralized-content"],[1,"actions"],[1,"button-holder"],[1,"button-holder-group","share-group"],[1,"add-to-calendar-button-holder"],["type","submit",3,"click"],[1,"share-event"],["type","submit",3,"click",4,"ngIf"],[1,"button-holder-group"],["class","button-holder-group-item",4,"ngIf"],[1,"event"],[1,"section","title"],[1,"value"],[1,"section","date"],[1,"start-at"],[1,"label"],[1,"end-at"],["class","recurrence",4,"ngIf"],["class","floor",4,"ngIf"],[1,"section","hosts"],["class","hosts-holder",4,"ngIf"],["class","hosts-empty",4,"ngIf"],[1,"section","guests"],["class","guests-holder",4,"ngIf"],["class","guests-empty",4,"ngIf"],[1,"section","option","multi-check-in"],["class","value",4,"ngIf"],[1,"section","option","add-companion"],["class","section option add-companion",4,"ngIf"],["class","button-holder bottom",4,"ngIf"],[1,"button-holder-group-item"],["type","button",1,"back",3,"click"],[1,"recurrence"],[3,"showShortDateList","recurrenceDates"],[1,"floor"],[1,"hosts-holder"],["class","host",4,"ngFor","ngForOf"],[1,"host"],[3,"firstName","lastName","thumbnailImage","size"],[1,"host-info"],[1,"full-name"],["class","department",4,"ngIf"],[1,"department"],[1,"hosts-empty"],[1,"guests-holder"],["class","guest",4,"ngFor","ngForOf"],[1,"guest"],[1,"guest-info"],["class","company",4,"ngIf"],["class","check-in-done-at",4,"ngIf"],["class","phone",4,"ngIf"],[3,"status"],[1,"company"],[1,"check-in-done-at"],[1,"guest-attribute"],["class","guest-value",4,"ngIf"],[1,"guest-value"],[1,"phone"],[1,"guests-empty"],["class","value",4,"ngFor","ngForOf"],[1,"button-holder","bottom"],["type","button",1,"delete",3,"disabled","click"]],template:function(n,i){1&n&&(t.\u0275\u0275element(0,"app-header",0),t.\u0275\u0275pipe(1,"translate"),t.\u0275\u0275elementStart(2,"ion-content")(3,"div",1)(4,"div",2)(5,"div",3)(6,"div",4)(7,"div",5)(8,"button",6),t.\u0275\u0275listener("click",function(){return i.verifyIsAllGuestsHaveEmail("calendar")}),t.\u0275\u0275text(9),t.\u0275\u0275pipe(10,"translate"),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(11,"div",7),t.\u0275\u0275template(12,B,3,3,"button",8),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(13,"div",9),t.\u0275\u0275template(14,j,4,3,"div",10),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"div",11)(18,"div",12)(19,"div",13),t.\u0275\u0275text(20),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(21,"div",14)(22,"div",15)(23,"div",16),t.\u0275\u0275text(24),t.\u0275\u0275pipe(25,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(26,"div",13),t.\u0275\u0275text(27),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(28,"div",17)(29,"div",16),t.\u0275\u0275text(30),t.\u0275\u0275pipe(31,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(32,"div",13),t.\u0275\u0275text(33),t.\u0275\u0275elementEnd()(),t.\u0275\u0275template(34,W,5,5,"div",18),t.\u0275\u0275template(35,X,6,4,"div",19),t.\u0275\u0275template(36,F,6,4,"div",19),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(37,"div",20)(38,"div",16),t.\u0275\u0275text(39),t.\u0275\u0275pipe(40,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(41,Y,2,1,"div",21),t.\u0275\u0275template(42,K,3,3,"div",22),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(43,"div",23)(44,"div",16),t.\u0275\u0275text(45),t.\u0275\u0275pipe(46,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(47,tt,2,1,"div",24),t.\u0275\u0275template(48,nt,3,3,"div",25),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(49,"div",26)(50,"div",16),t.\u0275\u0275text(51),t.\u0275\u0275pipe(52,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(53,et,3,3,"div",27),t.\u0275\u0275template(54,ot,3,3,"div",27),t.\u0275\u0275elementStart(55,"div",16),t.\u0275\u0275text(56),t.\u0275\u0275pipe(57,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(58,it,3,3,"div",27),t.\u0275\u0275template(59,ct,3,3,"div",27),t.\u0275\u0275elementStart(60,"div",16),t.\u0275\u0275text(61),t.\u0275\u0275pipe(62,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(63,st,3,3,"div",27),t.\u0275\u0275template(64,at,3,3,"div",27),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(65,"div",28)(66,"div",16),t.\u0275\u0275text(67),t.\u0275\u0275pipe(68,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(69,rt,3,4,"div",27),t.\u0275\u0275template(70,gt,3,3,"div",27),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(71,dt,5,4,"div",29),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(72,"div",2),t.\u0275\u0275template(73,Ct,3,1,"div",30),t.\u0275\u0275pipe(74,"async"),t.\u0275\u0275elementEnd()()()),2&n&&(t.\u0275\u0275property("title",t.\u0275\u0275pipeBind1(1,34,"PG_VIEW_EVENT_HEADER_TITLE"))("showBadge",!0)("refresh",!1),t.\u0275\u0275advance(9),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(10,36,"PG_VIEW_EVENT_BTN_CALENDAR_INVITATION")," "),t.\u0275\u0275advance(3),t.\u0275\u0275property("ngIf",!i.isNew),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.shouldShowEditButton(i.event)),t.\u0275\u0275advance(6),t.\u0275\u0275textInterpolate(i.getEventTitleToTheView(i.event)),t.\u0275\u0275advance(4),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(25,38,"PG_VIEW_EVENT_TEXT_STARTS_AT")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(i.startAt),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(31,40,"PG_VIEW_EVENT_TEXT_ENDS_AT")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(i.endAt),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i.recurrent),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i.shouldShowEventFloor(i.event)),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i.shouldShowEventGroup(i.event)),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(40,42,"PG_VIEW_EVENT_TEXT_HOSTS")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.hosts.length),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!i.hosts.length),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(46,44,"PG_VIEW_EVENT_TEXT_GUESTS")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.guests.length),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!i.guests.length),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(52,46,"PG_VIEW_EVENT_TEXT_MULTI_CHECKIN")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.multiCheckin),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!i.multiCheckin),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(57,48,"PG_VIEW_EVENT_TEXT_ENTRY_PERMIT_REQUIRED")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.needAuthorization),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!i.needAuthorization),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(62,50,"PG_VIEW_EVENT_TEXT_CAN_ESCORTS")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.allowCompanion),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!i.allowCompanion),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(68,52,"PG_VIEW_EVENT_TEXT_EARLY_CHECKIN")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.checkInStartAt),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!i.checkInStartAt),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i.bookeis.length>0),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",t.\u0275\u0275pipeBind1(74,54,null==i.stateService?null:i.stateService.getState())))},dependencies:[E.NgForOf,E.NgIf,h.IonCol,h.IonContent,h.IonRow,D.A,w.x,k.G,G._,E.AsyncPipe,L.X$],styles:["ion-toolbar[_ngcontent-%COMP%]{font-family:Nunito,sans-serif}ion-toolbar[_ngcontent-%COMP%] ion-img[_ngcontent-%COMP%]{height:25px;width:25px}ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%]{letter-spacing:1px}ion-toolbar[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:24px;padding:0;width:24px;margin:0;font-size:19px;color:#656768}ion-toolbar[_ngcontent-%COMP%] ion-button.hover[_ngcontent-%COMP%]{background:#fff}ion-content[_ngcontent-%COMP%]{--background: #f1f1f1}.centralized-content[_ngcontent-%COMP%]{background-color:#f1f1f1;width:100%;height:calc(100vh - 56px);display:flex;justify-content:flex-start;flex-direction:column}.centralized-content[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:26px}.centralized-content[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:initial!important;font-weight:700!important;text-align:center!important}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;align-content:center;justify-content:center;flex-direction:column;min-height:200px}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%]{width:100%;flex-direction:column}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%]{display:flex;justify-content:center}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group.share-group[_ngcontent-%COMP%]{flex-direction:column}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group.share-group[_ngcontent-%COMP%] .share-event[_ngcontent-%COMP%]{margin-top:16px}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] button[type=submit][_ngcontent-%COMP%]{padding:.75em 1.5em;border-radius:50px;background-color:#0ec254;color:#fff;font-size:1em;transition:background-color .1s ease-out}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] button[type=submit][_ngcontent-%COMP%]:active{background-color:#fff;color:#0ec254;transition:background-color .1s ease-out}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] button[type=submit][_ngcontent-%COMP%]:focus{outline:none}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%]:nth-of-type(2){margin-top:24px}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder.bottom[_ngcontent-%COMP%]{margin:56px 0}.centralized-content[_ngcontent-%COMP%] .event[_ngcontent-%COMP%]{background-color:#fff;margin:1em;padding:1em;border:1px solid #eee;box-shadow:2px 2px 8px rgba(67,60,98,.1);border-radius:8px}.centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%]{margin-top:16px}.centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-weight:700;margin-bottom:2px}.centralized-content[_ngcontent-%COMP%] .section.title[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-weight:700;color:#333;font-size:1.2em;text-align:center}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;margin-bottom:4px;border:1px solid #eee;border-radius:4px;padding:6px 8px}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%]{flex-shrink:0}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%]{flex:1;min-width:0}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%]{color:#333}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%]{color:#aaa}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%]{color:#333}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%]{font-size:.8em;color:#aaa}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .phone[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .phone[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .phone[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .phone[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .phone[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .phone[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .phone[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .phone[_ngcontent-%COMP%]{font-size:.85em;color:#666}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%]{margin-top:2px}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%]{color:#aaa;font-size:.8em}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%]{color:#333;font-size:.85em}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%]{display:block;margin-top:4px}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .hosts-empty[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guests-empty[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .hosts-empty[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guests-empty[_ngcontent-%COMP%]{color:#aaa}.pulsate-fwd[_ngcontent-%COMP%]{animation:pulsate-fwd .5s ease-in-out infinite both;outline:none}@keyframes pulsate-fwd{0%{transform:scale(1)}50%{transform:scale(1.5)}to{transform:scale(1)}}"]}),o})();var Ot=_(69270);const ut=[{path:"",component:Pt}];let Mt=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=t.\u0275\u0275defineInjector({imports:[Ot.I,m.RouterModule.forChild(ut)]}),o})()}}]);