Files
doneit-web/_platforms/browser/www/8052-es5.df965e8e3daf4100be9c.js
T
tiago.kayaya 24e2a8f518 save
2021-08-18 18:58:02 +01:00

1 line
24 KiB
JavaScript

!function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[8052,6527,5763,2417,3756,6055,5457,1087,4413,5183,5802,9391,1485,9074,4176,9406],{28232:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var o=function t(){n(this,t)}},3861:function(t,i,o){"use strict";o.d(i,{F:function(){return _}});var r=o(64762),a=o(28232),c=o(42199),s=o(54601),u=o(55749),d=o(29777),l=o(51230),g=o(37716),p=o(35957),f=o(86704),h=o(39895),m=o(962),v=o(38583);function Z(t,e){1&t&&g._UZ(0,"ion-progress-bar",17)}function b(t,e){if(1&t&&(g.TgZ(0,"div",25),g._UZ(1,"img",26),g.qZA()),2&t){var n=g.oxw().$implicit;g.xp6(1),g.s9C("src",n.FileBase64,g.LSH)}}function x(t,e){1&t&&(g.TgZ(0,"div",25),g._UZ(1,"img",27),g.qZA())}function k(t,e){if(1&t){var n=g.EpF();g.TgZ(0,"div",18),g.NdJ("click",function(){var t=g.CHM(n).$implicit;return g.oxw().goToPublicationDetail(t.DocumentId)}),g.YNc(1,b,2,1,"div",19),g.YNc(2,x,2,0,"div",19),g.TgZ(3,"div",20),g.TgZ(4,"div",21),g.TgZ(5,"div",22),g.TgZ(6,"ion-label"),g._uU(7),g.qZA(),g.qZA(),g.TgZ(8,"div",23),g._uU(9),g.ALo(10,"date"),g.qZA(),g.qZA(),g.TgZ(11,"div",24),g.TgZ(12,"p"),g._uU(13),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&t){var i=e.$implicit;g.xp6(1),g.Q6J("ngIf",i.FileBase64.length>30),g.xp6(1),g.Q6J("ngIf",i.FileBase64.length<30),g.xp6(5),g.Oqu(i.Title),g.xp6(2),g.Oqu(g.xi3(10,5,i.DatePublication,"dd-MM-yy | HH:mm")),g.xp6(4),g.Oqu(i.Message)}}function w(t,e){1&t&&(g.TgZ(0,"div",28),g.TgZ(1,"div",25),g._UZ(2,"img",27),g.qZA(),g.TgZ(3,"div",20),g.TgZ(4,"div",21),g.TgZ(5,"div",22),g.TgZ(6,"ion-label"),g._UZ(7,"ion-skeleton-text",29),g.qZA(),g.qZA(),g.TgZ(8,"div",23),g._UZ(9,"ion-skeleton-text",30),g.qZA(),g.qZA(),g.TgZ(10,"div",24),g.TgZ(11,"p"),g._UZ(12,"ion-skeleton-text",31),g.qZA(),g.TgZ(13,"p"),g._UZ(14,"ion-skeleton-text",31),g.qZA(),g.qZA(),g.qZA(),g.TgZ(15,"div",25),g._UZ(16,"img",27),g.qZA(),g.TgZ(17,"div",20),g.TgZ(18,"div",21),g.TgZ(19,"div",22),g.TgZ(20,"ion-label"),g._UZ(21,"ion-skeleton-text",29),g.qZA(),g.qZA(),g.TgZ(22,"div",23),g._UZ(23,"ion-skeleton-text",30),g.qZA(),g.qZA(),g.TgZ(24,"div",24),g.TgZ(25,"p"),g._UZ(26,"ion-skeleton-text",31),g.qZA(),g.TgZ(27,"p"),g._UZ(28,"ion-skeleton-text",31),g.qZA(),g.qZA(),g.qZA(),g.qZA())}var _=function(){var t=function(){function t(e,i,o,r){var d=this;n(this,t),this.modalController=e,this.publications=i,this.activatedRoute=o,this.router=r,this.showLoader=!0,this.publicationList=new Array,this.publicationListStorage=s.B,this.publicationEventFolderStorage=c.t,this.publicationTravelFolderService=u.e,this.item=new a.Z,this.activatedRoute.paramMap.subscribe(function(t){console.log(t),t.params&&(d.folderId=t.params.folderId,console.log(t.params))})}return e(t,[{key:"ngOnInit",value:function(){var t=this;"object"==typeof this.folderId&&(this.folderId=this.folderId.ProcessId),this.getPublicationDetail(),setTimeout(function(){t.getPublications()},3e3)}},{key:"ngOnChanges",value:function(){"object"==typeof this.folderId&&(this.folderId=this.folderId.ProcessId),this.getPublicationDetail(),this.getPublications()}},{key:"doRefresh",value:function(t){var e=this;setTimeout(function(){e.getPublicationDetail(),e.getPublications(),t.target.complete()},3e3)}},{key:"close",value:function(){this.modalController.dismiss(),this.router.navigate(["/home/publications"])}},{key:"goBack",value:function(){this.router.navigate(["/home/publications"])}},{key:"getPublicationDetail",value:function(){var t=this;setTimeout(function(){var e=t.publicationEventFolderStorage.list.concat(t.publicationTravelFolderService.list);t.item=e.find(function(e){return e.ProcessId==t.folderId})},100)}},{key:"getPublications",value:function(){var t=this;this.showLoader=!0;var e=this.folderId;this.publications.GetPublications(this.folderId).subscribe(function(n){console.log(n);var i=[];n.forEach(function(e){var n={DateIndex:e.DateIndex,DocumentId:e.DocumentId,ProcessId:e.ProcessId,Title:e.Title,Message:e.Message,DatePublication:e.DatePublication,FileBase64:"data:image/jpg;base64,"+e.FileBase64,OriginalFileName:"",FileExtension:""};t.publicationList.push(n),i.push(n)}),console.log(e),t.publicationListStorage.add(e,t.publicationList),t.showLoader=!1},function(e){"404"==e.status&&(t.error="Sem publica\xe7\xf5es dispon\xedveis!",t.publicationList=[]),t.showLoader=!1})}},{key:"AddPublication",value:function(t,e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function n(){var i,o=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.modalController.create({component:d.i,componentProps:{publicationType:t,folderId:e},cssClass:"new-publication modal modal-desktop",backdropDismiss:!1});case 2:return i=n.sent,n.next=5,i.present();case 5:i.onDidDismiss().then(function(){o.doRefresh(event)});case 6:case"end":return n.stop()}},n,this)}))}},{key:"goToPublicationDetail",value:function(t){this.router.navigate(["/home/publications/view-publications",this.folderId,t])}},{key:"viewPublicationDetail",value:function(t){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var n,i=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:l.e,componentProps:{publicationId:t,folderId:this.folderId},cssClass:"publication-detail modal modal-desktop"});case 2:return n=e.sent,e.next=5,n.present();case 5:n.onDidDismiss().then(function(){i.getPublications()});case 6:case"end":return e.stop()}},e,this)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(g.Y36(p.IN),g.Y36(f.H),g.Y36(h.gz),g.Y36(h.F0))},t.\u0275cmp=g.Xpm({type:t,selectors:[["app-view-publications"]],features:[g.TTD],decls:25,vars:9,consts:[[1,"ion-no-border"],[1,"main-header"],[1,"title-content","d-flex","width-100"],[1,"back-icon",3,"click"],["slot","end","src","assets/images/icons-arrow-arrow-left.svg"],[1,"div-title","flex-grow-1"],[1,"title"],[1,"item-content-detail"],[1,"item-content-date"],[1,"actions-icon",3,"click"],["slot","end","src","assets/images/icons-add.svg"],[1,"background-white"],["name","refresher","slot","fixed",3,"ionRefresh"],["type","indeterminate",4,"ngIf"],[1,"main-container","background-white"],["class","post-item",3,"click",4,"ngFor","ngForOf"],["class","post-item",4,"ngIf"],["type","indeterminate"],[1,"post-item",3,"click"],["class","post-img",4,"ngIf"],[1,"post-content","px-20"],[1,"post-title-time"],[1,"post-title"],[1,"post-data"],[1,"post-description"],[1,"post-img"],["alt","image",3,"src"],["src","/assets/icon/icon-no-image.svg","alt","image"],[1,"post-item"],["animated","","animated","",2,"width","60%"],["animated","",2,"width","25%","float","right"],["animated",""]],template:function(t,e){1&t&&(g.TgZ(0,"ion-header",0),g._UZ(1,"app-header"),g.qZA(),g.TgZ(2,"ion-header",0),g.TgZ(3,"div",1),g.TgZ(4,"div",2),g.TgZ(5,"div",3),g.NdJ("click",function(){return e.goBack()}),g._UZ(6,"ion-icon",4),g.qZA(),g.TgZ(7,"div",5),g.TgZ(8,"ion-label",6),g._uU(9),g.qZA(),g.TgZ(10,"p",7),g._uU(11),g.qZA(),g.TgZ(12,"p",8),g._uU(13),g.ALo(14,"date"),g.qZA(),g.qZA(),g.TgZ(15,"div",9),g.NdJ("click",function(){return e.AddPublication("2",e.item.ProcessId)}),g._UZ(16,"ion-icon",10),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.TgZ(17,"ion-content",11),g.TgZ(18,"ion-refresher",12),g.NdJ("ionRefresh",function(t){return e.doRefresh(t)}),g.YNc(19,Z,1,0,"ion-progress-bar",13),g._UZ(20,"ion-refresher-content"),g.qZA(),g.TgZ(21,"div",14),g.TgZ(22,"ion-list"),g.YNc(23,k,14,8,"div",15),g.YNc(24,w,29,0,"div",16),g.qZA(),g.qZA(),g.qZA()),2&t&&(g.xp6(9),g.Oqu(e.item.Description),g.xp6(2),g.Oqu(e.item.Detail),g.xp6(2),g.Oqu(g.xi3(14,6,e.item.DateBegin,"dd-MM-yy | HH:mm")),g.xp6(6),g.Q6J("ngIf",e.showLoader),g.xp6(4),g.Q6J("ngForOf",e.publicationListStorage.documents[e.folderId]),g.xp6(1),g.Q6J("ngIf",e.showLoader))},directives:[p.Gu,m.E,p.gu,p.Q$,p.W2,p.nJ,v.O5,p.Wo,p.q_,v.sg,p.X7,p.CK],pipes:[v.uU],styles:["[_nghost-%COMP%]{background:transparent;padding:0!important}ion-content[_ngcontent-%COMP%]{--background:transparent;--border-radius:30px}ion-toolbar[_ngcontent-%COMP%]{--border-width:0!important;--border-style:none;--padding-top:0px!important;--padding-start:0px!important;--padding-right:0px!important;--padding-end:0px!important}.div-top-header[_ngcontent-%COMP%]{width:400px;margin:0 auto;background-color:#0782c9;padding-top:15px;border:0!important}.div-search[_ngcontent-%COMP%]{font-size:45px;float:left;margin:0 0 0 10px}.div-logo[_ngcontent-%COMP%]{background:transparent;width:140px;margin:5px 0 0 71px;float:left}.div-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.div-profile[_ngcontent-%COMP%]{font-size:45px;float:right;margin-right:10px}.main-header[_ngcontent-%COMP%]{border-top-left-radius:25px;border-top-right-radius:25px;overflow:hidden;padding:25px 20px 0;color:#000}.main-content[_ngcontent-%COMP%], .main-header[_ngcontent-%COMP%]{width:100%;height:100%;font-family:Roboto;background-color:#fff}.main-content[_ngcontent-%COMP%]{margin:0 auto;padding:15px 20px 0}.content-top[_ngcontent-%COMP%]{background:#f3f2f2;height:20px;transform:translate3d(0,1px,0)}.content-container[_ngcontent-%COMP%], .content-top[_ngcontent-%COMP%]{margin:0 auto;border-top-left-radius:25px;border-top-right-radius:25px}.content-container[_ngcontent-%COMP%]{width:100%;background:#fff;height:100%;box-shadow:0 0 18px rgba(0,0,0,.6);padding:25px 0 0;overflow:auto}.title-content[_ngcontent-%COMP%]{margin:0 auto;overflow:auto;padding:0!important}.back-icon[_ngcontent-%COMP%]{float:left;font-size:35px}.div-title[_ngcontent-%COMP%]{float:left;margin:2.5px 0 0 5px}.title[_ngcontent-%COMP%]{font-size:25px}.actions-icon[_ngcontent-%COMP%]{float:right}.actions-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{margin-left:10px;font-size:35px;float:right}.item-content-date[_ngcontent-%COMP%]{color:#797979;font-size:13px}.item-content-detail[_ngcontent-%COMP%]{color:#000;font-size:13px}.post-item[_ngcontent-%COMP%]{overflow:auto;border-radius:0;padding:0!important}.post-img[_ngcontent-%COMP%], .post-item[_ngcontent-%COMP%]{width:100%;margin:0 auto}.post-img[_ngcontent-%COMP%]{border-radius:0!important;overflow:hidden}.post-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.post-content[_ngcontent-%COMP%]{margin:0 auto 35px}.post-title-time[_ngcontent-%COMP%]{width:100%;overflow:auto;margin-top:10px}.post-title[_ngcontent-%COMP%]{width:60%;float:left;font-size:15px;color:#0d89d1}.post-data[_ngcontent-%COMP%]{width:40%;float:left;font-size:13px;color:#797979;text-align:right}.post-description[_ngcontent-%COMP%]{font-size:13px;color:#000}"]}),t}()},6527:function(t,e,i){"use strict";i.d(e,{a:function(){return g}});var o=i(38583),r=i(3679),a=i(35957),c=i(39895),s=i(962),u=i(37716),d=[{path:"",component:s.E}],l=function(){var t=function t(){n(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[[c.Bz.forChild(d)],c.Bz]}),t}(),g=function(){var t=function t(){n(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[[o.ez,r.u5,a.Pc,l]]}),t}()},962:function(t,i,o){"use strict";o.d(i,{E:function(){return x}});var r=o(64762),a=o(4528),c=o(33559),s=o(37716),u=o(39895),d=o(35957),l=o(37556),g=o(38583),p=o(3679);function f(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"div",21),s.TgZ(1,"div",22),s.NdJ("click",function(){return s.CHM(n),s.oxw().openSearch()}),s._UZ(2,"ion-icon",23),s.qZA(),s.qZA()}}function h(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"div",28),s.NdJ("click",function(){s.CHM(n);var t=s.oxw(2);return t.openSearch(),t.showSearch=!0}),s._UZ(1,"ion-icon",23),s.qZA()}}function m(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"button",29),s.NdJ("click",function(){s.CHM(n);var t=s.oxw(2);return t.closeSearch(),t.showSearch=!1,t.searchSubject=""}),s._UZ(1,"ion-icon",30),s.qZA()}}function v(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"div",32),s.TgZ(1,"div",33),s.NdJ("click",function(){return s.CHM(n),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(n),s.oxw(3).basicSearch()})("ngModelChange",function(t){return s.CHM(n),s.oxw(3).searchSubject=t})("ngModelChange",function(){return s.CHM(n),s.oxw(3).dynamicSearch()}),s.qZA(),s.qZA(),s.TgZ(5,"div",33),s.NdJ("click",function(){return s.CHM(n),s.oxw(3).clearSearchInput()}),s._UZ(6,"ion-icon",37),s.qZA(),s.qZA()}if(2&t){var i=s.oxw(3);s.xp6(4),s.Q6J("ngModel",i.searchSubject)}}function Z(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,v,7,1,"div",31),s.qZA()),2&t){var n=s.oxw(2);s.xp6(1),s.Q6J("ngIf",n.showSearch)}}function b(t,e){if(1&t&&(s.TgZ(0,"div",24),s.YNc(1,h,2,0,"div",25),s.YNc(2,m,2,0,"button",26),s.YNc(3,Z,2,1,"div",27),s.qZA()),2&t){var n=s.oxw();s.xp6(1),s.Q6J("ngIf",!n.showSearch),s.xp6(1),s.Q6J("ngIf",n.showSearch),s.xp6(1),s.Q6J("ngIf",n.showSearch)}}var x=function(){var t=function(){function t(e,i,o,r){var a=this;n(this,t),this.router=e,this.modalController=i,this.animationController=o,this.searchSubject="",this.showSearch=!1,this.hideSearchBtn=!1,this.loggeduser=r.ValidatedUser,e.events.subscribe(function(t){a.showSearch=!1})}return e(t,[{key:"ngOnInit",value:function(){this.hideSearch()}},{key:"hideSearch",value:function(){"/home/events"!=this.router.url&&"/home/chat"!=this.router.url||(this.hideSearchBtn=!0)}},{key:"locationPathname",value:function(){return window.location.pathname}},{key:"openSearch",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n,i,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return window.innerWidth<1366?(e="modal modal-width-100",n=!0):(e="modal modal-desktop desktop-search",n=!1),window.location.pathname.startsWith("/home/agenda")?i="Agenda":window.location.pathname.startsWith("/home/gabinete-digital")?i="AccoesPresidenciais & ArquivoDespachoElect":window.location.pathname.startsWith("/home/publications")&&(i="AccoesPresidenciais"),t.next=3,this.modalController.create({component:a.Z,cssClass:e,componentProps:{type:i,showSearchInput:n,select:!1}});case 3:return o=t.sent,t.next=6,o.present();case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}},t,this)}))}},{key:"changeRoute",value:function(t){this.router.navigateByUrl(t)}},{key:"openProfile",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=function(t){var e=i.animationController.create().addElement(t.querySelector("ion-backdrop")).fromTo("opacity","0.01","var(--backdrop-opacity)"),n=i.animationController.create().addElement(t.querySelector(".modal-wrapper")).keyframes([{offset:0,opacity:"1",right:"-100%"},{offset:1,opacity:"1",right:"0px"}]);return i.animationController.create().addElement(t).easing("ease-out").duration(500).addAnimation([e,n])},t.next=3,this.modalController.create({enterAnimation:e,leaveAnimation:function(t){return e(t).direction("reverse")},component:c.G,cssClass:"model profile-modal search-submodal",componentProps:{}});case 3:return n=t.sent,t.next=6,n.present();case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}},t,this)}))}},{key:"dynamicSearch",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:window.dynamicSearch(this.searchSubject);case 1:case"end":return t.stop()}},t,this)}))}},{key:"closeSearch",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.modalController.dismiss();case 1:case"end":return t.stop()}},t,this)}))}},{key:"clearSearchInput",value:function(){this.searchSubject="",window.dynamicSearch(this.searchSubject)}},{key:"basicSearch",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:window.searchTriger();case 1:case"end":return t.stop()}},t)}))}},{key:"profileLabel",value:function(t){return"MDGPR"==t?"MD":"PR"==t?t:"UN"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(u.F0),s.Y36(d.IN),s.Y36(d.vB),s.Y36(l.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,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,f,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 e.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 e.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 e.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 e.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 e.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 e.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,b,4,3,"div",19),s.TgZ(36,"div",20),s.NdJ("click",function(){return e.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",!e.hideSearchBtn),s.xp6(6),s.Oqu(e.loggeduser.Profile),s.xp6(6),s.ekj("active","/home/events"==e.locationPathname()),s.xp6(4),s.ekj("active","/home/agenda"==e.locationPathname()),s.xp6(4),s.ekj("active","/home/gabinete-digital"==e.locationPathname()),s.xp6(4),s.ekj("active","/home/publications"==e.locationPathname()),s.xp6(4),s.ekj("active","/home/chat"==e.locationPathname()),s.xp6(5),s.Q6J("ngIf",!e.hideSearchBtn),s.xp6(4),s.Oqu(e.profileLabel(e.loggeduser.Profile)))},directives:[g.O5,d.gu,d.Q$,d.pK,d.j9,p.JJ,p.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}()},42199:function(t,i,o){"use strict";o.d(i,{t:function(){return u}});var r,a=o(66096),c=o(2527),s=o(37716),u=new((r=function(){function t(){var e=this;n(this,t),this._list=[],this.keyName=(0,c.SHA1)(this.constructor.name+"PublicationEventFolder/local").toString(),setTimeout(function(){var t=a.I.get(e.keyName,[]);e._list=t.list},10)}return e(t,[{key:"list",get:function(){return this._list}},{key:"reset",value:function(t){this._list=t,this.save()}},{key:"save",value:function(){var t=this;setTimeout(function(){a.I.set(t.keyName,{list:t._list})},10)}}]),t}()).\u0275fac=function(t){return new(t||r)},r.\u0275prov=s.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r)},54601:function(t,i,o){"use strict";o.d(i,{B:function(){return u}});var r,a=o(66096),c=o(2527),s=o(37716),u=new((r=function(){function t(){var e=this;n(this,t),this._document={},this.keyName=(0,c.SHA1)(this.constructor.name+"view-publication-list/local").toString(),setTimeout(function(){var t=a.I.get(e.keyName,{});e._document=t.document||{}},10)}return e(t,[{key:"documents",get:function(){return this._document}},{key:"getDocument",value:function(t){return this._document[t]}},{key:"add",value:function(t,e){var n=this;this._document[t]=e,setTimeout(function(){a.I.set(n.keyName,{document:n._document})},100)}}]),t}()).\u0275fac=function(t){return new(t||r)},r.\u0275prov=s.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r)},55749:function(t,i,o){"use strict";o.d(i,{e:function(){return u}});var r,a=o(66096),c=o(2527),s=o(37716),u=new((r=function(){function t(){var e=this;n(this,t),this._list=[],this.keyName=(0,c.SHA1)(this.constructor.name+" PublicationTravelFolder/local").toString(),setTimeout(function(){var t=a.I.get(e.keyName,[]);e._list=t.list},10)}return e(t,[{key:"list",get:function(){return this._list}},{key:"reset",value:function(t){this._list=t,this.save(this._list)}},{key:"save",value:function(t){var e=this;setTimeout(function(){a.I.set(e.keyName,{list:e._list})},10)}}]),t}()).\u0275fac=function(t){return new(t||r)},r.\u0275prov=s.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r)}}])}();