mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[6379,6527,5763,2417,3756,6055,5457,1087,4413,5183,8176,5802,9391,1485,9074,4176,9406],{56343:function(t,n,e){"use strict";e.d(n,{i:function(){return _}});var i=e(64762),o=e(18119),a=e(45896),s=e(55199),c=e(37716),r=e(35957),d=e(39895),l=e(28621),g=e(20985),p=e(80106),h=e(25970),u=e(84465),f=e(38583),m=e(3679),v=e(17352);function Z(t,n){1&t&&(c.TgZ(0,"ion-label",30),c._uU(1,"Adicionar intervenientes"),c.qZA())}function x(t,n){if(1&t&&(c.TgZ(0,"ion-label"),c._uU(1),c.qZA()),2&t){const t=n.$implicit;c.xp6(1),c.Oqu(t.Name)}}function b(t,n){if(1&t&&(c.TgZ(0,"ion-item"),c.TgZ(1,"ion-label"),c.TgZ(2,"h4",31),c._uU(3),c.qZA(),c.TgZ(4,"p"),c.TgZ(5,"span",32),c._uU(6),c.qZA(),c.TgZ(7,"span",33),c._uU(8),c.ALo(9,"date"),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&t){const t=n.$implicit;c.xp6(3),c.Oqu(t.Description),c.xp6(3),c.Oqu(t.Stakeholders),c.xp6(2),c.hij(" ",c.xi3(9,3,t.CreateDate,"dd/MM/yyyy"),"")}}function C(t,n){if(1&t&&(c.TgZ(0,"div"),c.TgZ(1,"ion-item"),c.TgZ(2,"ion-label"),c._uU(3,"Documentos Anexados"),c.qZA(),c.qZA(),c.TgZ(4,"ion-list"),c.YNc(5,b,10,6,"ion-item",13),c.qZA(),c.qZA()),2&t){const t=c.oxw();c.xp6(5),c.Q6J("ngForOf",t.loadedAttachments)}}function P(t,n){if(1&t){const t=c.EpF();c.TgZ(0,"app-attendee-modal",34),c.NdJ("dynamicSetIntervenient",function(n){return c.CHM(t),c.oxw().dynamicSetIntervenient(n)}),c.qZA()}if(2&t){const t=c.oxw();c.Q6J("footer",!1)("taskParticipants",t.taskParticipants)("taskParticipantsCc",t.taskParticipantsCc)("adding",t.adding)}}let _=(()=>{class t{constructor(t,n,e,i,a,s,c,r,d,l){this.modalController=t,this.router=n,this.navParams=e,this.processes=i,this.attachmentsService=a,this.calendarService=s,this.alertController=c,this.alertService=r,this.animationController=d,this.toastService=l,this.taskParticipants=[],this.taskParticipantsCc=[],this.adding="intervenient",this.formLocationSatus=!1,this.showAttendees=!1,this.task=this.navParams.get("task"),this.postData=new o.j,this.eventBody={BodyType:"1",Text:""},this.postData.Body=this.eventBody,this.postData.Subject=this.task.Folio,this.postData.CalendarName="Oficial",new Date}ngOnInit(){this.adding="intervenient",console.log(this.task)}close(){this.modalController.dismiss(null)}cancelTask(){this.modalController.dismiss(null)}saveTask(){return(0,i.mG)(this,void 0,void 0,function*(){if(this.taskParticipants.length<1)this.toastService.badRequest("Selecione um destinat\xe1rio");else if(this.taskParticipants.length>1)this.toastService.badRequest("Selecione apenas um destinat\xe1rio");else{let t={SerialNumber:this.task.SerialNumber,DispatchDocId:this.task.DocId,FolderID:this.task.FolderId,Subject:this.task.Folio,Comment:this.note,DelegatedUserEmail:this.taskParticipants[0].EmailAddress};console.log(t),this.processes.DelegateTask(t).subscribe(t=>{console.log(t),this.toastService.successMessage("Processo delegado"),this.close()},t=>{this.toastService.badRequest("Processo n\xe3o delegado")})}})}addParticipants(){return(0,i.mG)(this,void 0,void 0,function*(){if(this.adding="intervenient",window.innerWidth<=800){this.showAttendees=!1;const t=yield this.modalController.create({component:s.V,componentProps:{adding:this.adding,taskParticipants:this.taskParticipants,taskParticipantsCc:this.taskParticipantsCc},cssClass:"modal attendee",backdropDismiss:!1});yield t.present(),t.onDidDismiss().then(t=>{if(t){const n=(t=t.data).taskParticipantsCc;this.setIntervenient(t.taskParticipants),this.setIntervenientCC(n)}})}else this.showAttendees=!0})}setContact(t){return(0,i.mG)(this,void 0,void 0,function*(){"intervenient"==this.adding?this.taskParticipants=t:"CC"==this.adding&&(this.taskParticipantsCc=t)})}setIntervenient(t){return(0,i.mG)(this,void 0,void 0,function*(){this.taskParticipants=t})}setIntervenientCC(t){return(0,i.mG)(this,void 0,void 0,function*(){this.taskParticipantsCc=t})}closeComponent(){return(0,i.mG)(this,void 0,void 0,function*(){this.showAttendees=!1})}distartExpedientModal(){return(0,i.mG)(this,void 0,void 0,function*(){const t=yield this.modalController.create({component:a.Q,componentProps:{serialNumber:this.task.SerialNumber},cssClass:"discart-expedient-modal",backdropDismiss:!1});yield t.present(),t.onDidDismiss()})}validateFormInputs(){let t=this.postData.Location.trim();!this.postData.Location&&t.length<=0&&(this.formLocationSatus=!0)}dynamicSetIntervenient({taskParticipants:t}){this.taskParticipants=t}}return t.\u0275fac=function(n){return new(n||t)(c.Y36(r.IN),c.Y36(d.F0),c.Y36(r.X1),c.Y36(l.$),c.Y36(g.o),c.Y36(p.n),c.Y36(r.Br),c.Y36(h.c),c.Y36(r.vB),c.Y36(u.k))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-delegar"]],decls:42,vars:5,consts:[[1,"main-content","d-flex","height-100"],[1,"content","d-flex","flex-column","width-100"],[1,"header-content","pb-20"],[1,"header-title"],[1,"overflow-y-auto"],[1,"container-div"],[1,"ion-item-class-2"],[1,"ion-icon-class"],["slot","start","src","assets/images/icons-person.svg"],[1,"ion-input-class-no-height"],[1,"list-people"],["lines","none"],["class","list-people-title",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"add-people",3,"click"],["slot","start","src","assets/images/icons-arrow-forward.svg"],[1,"ion-item-class-2","d-flex"],["slot","start","src","assets/images/icons-description.svg"],[1,"ion-input-class-no-height","width-100"],["placeholder","Detalhes","rows","6","cols","20",3,"ngModel","ngModelChange"],["hidden","",1,"ion-item-container-no-border"],[1,"attach-icon"],["src","assets/images/icons-attach-doc.svg"],[1,"attach-document"],[4,"ngIf"],[1,"aside-righ","flex-grow-1"],["class"," d-flex flex-column height-100",3,"footer","taskParticipants","taskParticipantsCc","adding","dynamicSetIntervenient",4,"ngIf"],[1,"buttons"],["shape","round",1,"btn-cancel",3,"click"],["shape","round",1,"btn-ok",3,"click"],[1,"list-people-title"],[1,"attach-title-item"],[1,"span-left"],[1,"span-right"],[1,"d-flex","flex-column","height-100",3,"footer","taskParticipants","taskParticipantsCc","adding","dynamicSetIntervenient"]],template:function(t,n){1&t&&(c.TgZ(0,"ion-content"),c.TgZ(1,"div",0),c.TgZ(2,"div",1),c.TgZ(3,"div",2),c.TgZ(4,"div",3),c.TgZ(5,"label"),c._uU(6,"Delegar"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(7,"div",4),c.TgZ(8,"div",5),c.TgZ(9,"div",6),c.TgZ(10,"div",7),c._UZ(11,"ion-icon",8),c.qZA(),c.TgZ(12,"div",9),c.TgZ(13,"div",10),c.TgZ(14,"ion-item",11),c.TgZ(15,"ion-list"),c.YNc(16,Z,2,0,"ion-label",12),c.YNc(17,x,2,1,"ion-label",13),c.qZA(),c.qZA(),c.qZA(),c.TgZ(18,"div",14),c.NdJ("click",function(){return n.addParticipants()}),c._UZ(19,"ion-icon",15),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(20,"div",5),c.TgZ(21,"div",16),c.TgZ(22,"div",7),c._UZ(23,"ion-icon",17),c.qZA(),c.TgZ(24,"div",18),c.TgZ(25,"ion-textarea",19),c.NdJ("ngModelChange",function(t){return n.note=t}),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(26,"div",20),c.TgZ(27,"ion-label"),c.TgZ(28,"div",21),c._UZ(29,"ion-icon",22),c.qZA(),c.TgZ(30,"div",23),c.TgZ(31,"ion-label"),c._uU(32,"Anexar Documentos"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.YNc(33,C,6,1,"div",24),c.qZA(),c.qZA(),c.TgZ(34,"div",25),c.YNc(35,P,1,4,"app-attendee-modal",26),c.qZA(),c.qZA(),c.qZA(),c.TgZ(36,"ion-footer"),c.TgZ(37,"div",27),c.TgZ(38,"button",28),c.NdJ("click",function(){return n.cancelTask()}),c._uU(39,"Cancelar"),c.qZA(),c.TgZ(40,"button",29),c.NdJ("click",function(){return n.saveTask()}),c._uU(41,"Gravar"),c.qZA(),c.qZA(),c.qZA()),2&t&&(c.xp6(16),c.Q6J("ngIf",(null==n.taskParticipants?null:n.taskParticipants.length)<1),c.xp6(1),c.Q6J("ngForOf",n.taskParticipants),c.xp6(8),c.Q6J("ngModel",n.note),c.xp6(8),c.Q6J("ngIf",n.loadedAttachments),c.xp6(2),c.Q6J("ngIf",n.showAttendees))},directives:[r.W2,r.gu,r.Ie,r.q_,f.O5,f.sg,r.g2,r.j9,m.JJ,m.On,r.Q$,r.fr,v.Y],pipes:[f.uU],styles:[".content[_ngcontent-%COMP%]{padding:30px 20px 0!important;margin:0;float:left}.content[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%]{margin-bottom:20px!important}.content[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-family:Roboto;font-size:25px;padding:0;color:#000;float:left}.content[_ngcontent-%COMP%] .ion-item-container[_ngcontent-%COMP%]{margin:15px auto;border:1px solid #ebebeb;border-radius:5px;padding-left:10px}.content[_ngcontent-%COMP%] .ion-item-container-no-border[_ngcontent-%COMP%]{margin:0 auto;padding:0!important;overflow:auto}.content[_ngcontent-%COMP%] .container-div[_ngcontent-%COMP%]{margin-bottom:15px;overflow:hidden}.content[_ngcontent-%COMP%] .ion-item-class-2[_ngcontent-%COMP%]{margin:0 auto}.content[_ngcontent-%COMP%] .ion-icon-class[_ngcontent-%COMP%]{width:45px;height:45px;float:left;padding:10px;font-size:25px}.content[_ngcontent-%COMP%] ion-select[_ngcontent-%COMP%]{padding-left:5px;margin-left:0}.content[_ngcontent-%COMP%] .ion-input-class[_ngcontent-%COMP%]{width:calc(100% - 45px);height:45px;border:1px solid #ebebeb;border-radius:5px;padding-left:5px;padding-right:10px;float:left}.content[_ngcontent-%COMP%] .ion-input-class-no-height[_ngcontent-%COMP%]{border:1px solid #ebebeb;border-radius:5px;overflow:auto}.content[_ngcontent-%COMP%] .list-people[_ngcontent-%COMP%]{width:256px;float:left}.content[_ngcontent-%COMP%] .add-people[_ngcontent-%COMP%]{width:45px;float:right;overflow:auto;font-size:25px;padding:10px}.content[_ngcontent-%COMP%] .list-people-title[_ngcontent-%COMP%]{color:#797979}.content[_ngcontent-%COMP%] .attach-document[_ngcontent-%COMP%]{font-size:15px;color:#0d89d1;margin:5px 5px 5px 10px;padding:5px;float:left}.content[_ngcontent-%COMP%] .attach-icon[_ngcontent-%COMP%]{width:37px;font-size:35px;float:left}.content[_ngcontent-%COMP%] .attach-title-item[_ngcontent-%COMP%]{width:100%;font-size:15px;color:#0d89d1}.content[_ngcontent-%COMP%] .span-left[_ngcontent-%COMP%]{float:left;font-size:15x}.content[_ngcontent-%COMP%] .span-right[_ngcontent-%COMP%]{text-align:right;float:right;font-size:13px}.container-footer[_ngcontent-%COMP%]{margin:0 auto;overflow:auto}.button-cancel[_ngcontent-%COMP%]{--background:#e0e9ee;--color:#061b52}.button-cancel[_ngcontent-%COMP%], .button-save[_ngcontent-%COMP%]{width:170px;height:44px;border-radius:22.5px;margin:10px}.button-save[_ngcontent-%COMP%]{--background:#42b9fe;--color:#fff}.text-input[_ngcontent-%COMP%]{width:100%;border:1px solid #ebebeb;margin:0 15px 15px 0;padding:0!important;border-radius:5px}.error[_ngcontent-%COMP%]{font-size:12px;font-weight:700;padding-bottom:20px}.error[_ngcontent-%COMP%], .span-color[_ngcontent-%COMP%]{color:red}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:20px;overflow:auto}"]}),t})()},6527:function(t,n,e){"use strict";e.d(n,{a:function(){return g}});var i=e(38583),o=e(3679),a=e(35957),s=e(39895),c=e(962),r=e(37716);const d=[{path:"",component:c.E}];let l=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.Bz.forChild(d)],s.Bz]}),t})(),g=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez,o.u5,a.Pc,l]]}),t})()},962:function(t,n,e){"use strict";e.d(n,{E:function(){return Z}});var i=e(64762),o=e(4528),a=e(33559),s=e(37716),c=e(39895),r=e(35957),d=e(37556),l=e(38583),g=e(3679);function p(t,n){if(1&t){const t=s.EpF();s.TgZ(0,"div",21),s.TgZ(1,"div",22),s.NdJ("click",function(){return s.CHM(t),s.oxw().openSearch()}),s._UZ(2,"ion-icon",23),s.qZA(),s.qZA()}}function h(t,n){if(1&t){const t=s.EpF();s.TgZ(0,"div",28),s.NdJ("click",function(){s.CHM(t);const n=s.oxw(2);return n.openSearch(),n.showSearch=!0}),s._UZ(1,"ion-icon",23),s.qZA()}}function u(t,n){if(1&t){const t=s.EpF();s.TgZ(0,"button",29),s.NdJ("click",function(){s.CHM(t);const n=s.oxw(2);return n.closeSearch(),n.showSearch=!1,n.searchSubject=""}),s._UZ(1,"ion-icon",30),s.qZA()}}function f(t,n){if(1&t){const t=s.EpF();s.TgZ(0,"div",32),s.TgZ(1,"div",33),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).basicSearch()}),s._UZ(2,"ion-icon",34),s.qZA(),s.TgZ(3,"div",35),s.TgZ(4,"ion-input",36),s.NdJ("keyup.enter",function(){return s.CHM(t),s.oxw(3).basicSearch()})("ngModelChange",function(n){return s.CHM(t),s.oxw(3).searchSubject=n})("ngModelChange",function(){return s.CHM(t),s.oxw(3).dynamicSearch()}),s.qZA(),s.qZA(),s.TgZ(5,"div",33),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).clearSearchInput()}),s._UZ(6,"ion-icon",37),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(3);s.xp6(4),s.Q6J("ngModel",t.searchSubject)}}function m(t,n){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,f,7,1,"div",31),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",t.showSearch)}}function v(t,n){if(1&t&&(s.TgZ(0,"div",24),s.YNc(1,h,2,0,"div",25),s.YNc(2,u,2,0,"button",26),s.YNc(3,m,2,1,"div",27),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf",!t.showSearch),s.xp6(1),s.Q6J("ngIf",t.showSearch),s.xp6(1),s.Q6J("ngIf",t.showSearch)}}let Z=(()=>{class t{constructor(t,n,e,i){this.router=t,this.modalController=n,this.animationController=e,this.searchSubject="",this.showSearch=!1,this.hideSearchBtn=!1,this.loggeduser=i.ValidatedUser,t.events.subscribe(t=>{this.showSearch=!1})}ngOnInit(){this.hideSearch()}hideSearch(){"/home/events"!=this.router.url&&"/home/chat"!=this.router.url||(this.hideSearchBtn=!0)}locationPathname(){return window.location.pathname}openSearch(){return(0,i.mG)(this,void 0,void 0,function*(){let t,n,e;window.innerWidth<1366?(t="modal modal-width-100",n=!0):(t="modal modal-desktop desktop-search",n=!1),window.location.pathname.startsWith("/home/agenda")?e="Agenda":window.location.pathname.startsWith("/home/gabinete-digital")?e="AccoesPresidenciais & ArquivoDespachoElect":window.location.pathname.startsWith("/home/publications")&&(e="AccoesPresidenciais");const i=yield this.modalController.create({component:o.Z,cssClass:t,componentProps:{type:e,showSearchInput:n,select:!1}});return yield i.present()})}changeRoute(t){this.router.navigateByUrl(t)}openProfile(){return(0,i.mG)(this,void 0,void 0,function*(){const t=t=>{const n=this.animationController.create().addElement(t.querySelector("ion-backdrop")).fromTo("opacity","0.01","var(--backdrop-opacity)"),e=this.animationController.create().addElement(t.querySelector(".modal-wrapper")).keyframes([{offset:0,opacity:"1",right:"-100%"},{offset:1,opacity:"1",right:"0px"}]);return this.animationController.create().addElement(t).easing("ease-out").duration(500).addAnimation([n,e])},n=yield this.modalController.create({enterAnimation:t,leaveAnimation:n=>t(n).direction("reverse"),component:a.G,cssClass:"model profile-modal search-submodal",componentProps:{}});return yield n.present()})}dynamicSearch(){return(0,i.mG)(this,void 0,void 0,function*(){window.dynamicSearch(this.searchSubject)})}closeSearch(){return(0,i.mG)(this,void 0,void 0,function*(){this.modalController.dismiss()})}clearSearchInput(){this.searchSubject="",window.dynamicSearch(this.searchSubject)}basicSearch(){return(0,i.mG)(this,void 0,void 0,function*(){window.searchTriger()})}profileLabel(t){return"MDGPR"==t?"MD":"PR"==t?t:"UN"}}return t.\u0275fac=function(n){return new(n||t)(s.Y36(c.F0),s.Y36(r.IN),s.Y36(r.vB),s.Y36(d.e))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-header"]],decls:40,vars:14,consts:[[1,"pb-10","ion-toolbar","text-white"],[1,"mobile","d-flex","div-top-header","justify-space-between"],["class","div-search",4,"ngIf"],[1,"div-logo","height-fit-content"],["src","assets/images/logo-no-bg.png","alt","logo"],[1,"div-profile","cursor-pointer",3,"click"],["src","assets/images/icons-profile.svg",1,"icon"],[1,"profile-text"],[1,"desktop","mx-20"],[1,"d-flex","justify-space-between","align-center"],["tab","events",1,"div-logo","height-fit-content"],[1,"d-flex","flex-1","pr-20","pl-50"],[1,"tab","mr-20","d-flex","align-center","cursor-pointer",3,"click"],["src","assets/images/icons-nav-home-active.svg",1,"font-40"],["src","assets/images/icons-nav-agenda-inactive.svg",1,"font-40"],["src","assets/images/icons-nav-home-dk.svg",1,"font-40"],["src","assets/images/icons-nav-a-es-inactive.svg",1,"font-40"],["src","assets/images/icons-nav-grupos-inactive-dk-white.svg",1,"font-40"],[1,"header-btns","d-flex"],["class","mr-10 d-flex align-center cursor-pointer",4,"ngIf"],[1,"div-profile","d-flex","cursor-pointer",3,"click"],[1,"div-search"],[3,"click"],["src","assets/images/icons-search.svg",1,"font-45"],[1,"mr-10","d-flex","align-center","cursor-pointer"],["style","padding-top: 5px;",3,"click",4,"ngIf"],["class","btn-no-color",3,"click",4,"ngIf"],[4,"ngIf"],[2,"padding-top","5px",3,"click"],[1,"btn-no-color",3,"click"],["name","restaurant-outline","src","assets/images/icons-search-close.svg",1,"font-40"],["class","d-flex search-input-container ml-10 justify-between",4,"ngIf"],[1,"d-flex","search-input-container","ml-10","justify-between"],[1,"icon",3,"click"],["slot","end","name","search",1,"icon-z"],[1,"input-text","d-flex","ion-align-items-center"],["type","search","placeholder","Pesquisar",1,"search-input","text-black",3,"ngModel","keyup.enter","ngModelChange"],["name","restaurant-outline","src","assets/images/icons-search-close.svg"]],template:function(t,n){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,p,3,0,"div",2),s.TgZ(3,"div",3),s._UZ(4,"img",4),s.qZA(),s.TgZ(5,"div",5),s.NdJ("click",function(){return n.openProfile()}),s._UZ(6,"ion-icon",6),s.TgZ(7,"ion-label",7),s._uU(8),s.qZA(),s.qZA(),s.qZA(),s.TgZ(9,"div",8),s.TgZ(10,"div",9),s.TgZ(11,"div",10),s._UZ(12,"img",4),s.qZA(),s.TgZ(13,"div",11),s.TgZ(14,"div",12),s.NdJ("click",function(){return n.changeRoute("/home/events")}),s._UZ(15,"ion-icon",13),s.TgZ(16,"span"),s._uU(17,"In\xedcio"),s.qZA(),s.qZA(),s.TgZ(18,"div",12),s.NdJ("click",function(){return n.changeRoute("/home/agenda")}),s._UZ(19,"ion-icon",14),s.TgZ(20,"span"),s._uU(21,"Agenda"),s.qZA(),s.qZA(),s.TgZ(22,"div",12),s.NdJ("click",function(){return n.changeRoute("/home/gabinete-digital")}),s._UZ(23,"ion-icon",15),s.TgZ(24,"span"),s._uU(25,"Gabinete"),s.qZA(),s.qZA(),s.TgZ(26,"div",12),s.NdJ("click",function(){return n.changeRoute("/home/publications")}),s._UZ(27,"ion-icon",16),s.TgZ(28,"span"),s._uU(29,"Ac\xe7\xf5es"),s.qZA(),s.qZA(),s.TgZ(30,"div",12),s.NdJ("click",function(){return n.changeRoute("/home/chat")}),s._UZ(31,"ion-icon",17),s.TgZ(32,"span"),s._uU(33,"Chat"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(34,"div",18),s.YNc(35,v,4,3,"div",19),s.TgZ(36,"div",20),s.NdJ("click",function(){return n.openProfile()}),s._UZ(37,"ion-icon",6),s.TgZ(38,"ion-label",7),s._uU(39),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",!n.hideSearchBtn),s.xp6(6),s.Oqu(n.loggeduser.Profile),s.xp6(6),s.ekj("active","/home/events"==n.locationPathname()),s.xp6(4),s.ekj("active","/home/agenda"==n.locationPathname()),s.xp6(4),s.ekj("active","/home/gabinete-digital"==n.locationPathname()),s.xp6(4),s.ekj("active","/home/publications"==n.locationPathname()),s.xp6(4),s.ekj("active","/home/chat"==n.locationPathname()),s.xp6(5),s.Q6J("ngIf",!n.hideSearchBtn),s.xp6(4),s.Oqu(n.profileLabel(n.loggeduser.Profile)))},directives:[l.O5,r.gu,r.Q$,r.pK,r.j9,g.JJ,g.On],styles:[".div-top-header[_ngcontent-%COMP%]{margin:0 1.25em;padding-top:.9375em;border:0!important}.div-logo[_ngcontent-%COMP%]{background:transparent;width:8.75em;justify-content:center;display:flex}.div-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;margin:0 auto}.header-btns[_ngcontent-%COMP%]{justify-content:center;align-items:center}.div-profile[_ngcontent-%COMP%]{width:90px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;font-size:45px;justify-content:flex-end;display:flex;background-color:transparent;justify-content:center;align-items:center;overflow:auto}.div-profile[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:relative;border:none!important}.div-profile[_ngcontent-%COMP%] .profile-text[_ngcontent-%COMP%]{font-size:20px;font-weight:300;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:absolute}.desktop[_ngcontent-%COMP%]{display:none}@media only screen and (min-width: 1366px){.mobile[_ngcontent-%COMP%]{display:none!important}.desktop[_ngcontent-%COMP%]{display:block}}.tab[_ngcontent-%COMP%]{height:65px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.active[_ngcontent-%COMP%]{border-top:7px solid #fff}.search-input-container[_ngcontent-%COMP%]{background-color:#fff;border-radius:27.5px;border:1px solid #ebebeb}.search-input-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#797979;width:45px;height:45px;display:flex;justify-content:center;font-size:25px;align-items:center}.search-input-container[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%]{width:100%}.search-input-container[_ngcontent-%COMP%] .icon-z[_ngcontent-%COMP%]{width:20px}"]}),t})()}}]); |