{"size": 12545, "ext": "js", "max_stars_repo_path": "build/46.js", "max_stars_repo_name": "OrbisTerrarumProLiberi/trimexoed", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "build/46.js", "max_issues_repo_name": "OrbisTerrarumProLiberi/trimexoed", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "build/46.js", "max_forks_repo_name": "OrbisTerrarumProLiberi/trimexoed", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 12545.0, "max_line_length": 12545, "alphanum_fraction": 0.6349940215}
webpackJsonp([46],{2144:function(n,l,t){"use strict";function e(n){return b._42(0,[b._37(402653184,1,{_vp:0}),(n()(),b._16(1,16777216,[[1,3],["viewport",1]],null,0,"div",[],null,null,null,null,null)),(n()(),b._16(2,0,null,null,0,"div",[["class","nav-decor"]],null,null,null,null,null))],null,null)}function a(n){return b._42(0,[(n()(),b._16(0,0,null,null,1,"ion-icon",[["class","tab-button-icon"],["role","img"]],[[1,"aria-hidden",0],[2,"hide",null]],null,null,null,null)),b._15(1,147456,null,0,Q.a,[N.a,b.p,b.K],{name:[0,"name"],isActive:[1,"isActive"]},null)],function(n,l){var t=l.component;n(l,1,0,t.tab.tabIcon,t.tab.isSelected)},function(n,l){n(l,0,0,l.component.hasTitle?"true":null,b._29(l,1)._hidden)})}function i(n){return b._42(0,[(n()(),b._16(0,0,null,null,1,"span",[["class","tab-button-text"]],null,null,null,null,null)),(n()(),b._40(1,null,["",""]))],null,function(n,l){n(l,1,0,l.component.tab.tabTitle)})}function u(n){return b._42(0,[(n()(),b._16(0,0,null,null,2,"ion-badge",[["class","tab-badge"]],null,null,null,null,null)),b._15(1,16384,null,0,X.a,[N.a,b.p,b.K],{color:[0,"color"]},null),(n()(),b._40(2,null,["",""]))],function(n,l){n(l,1,0,l.component.tab.tabBadgeStyle)},function(n,l){n(l,2,0,l.component.tab.tabBadge)})}function o(n){return b._42(0,[(n()(),b._11(16777216,null,null,1,null,a)),b._15(1,16384,null,0,Y.k,[b.W,b.T],{ngIf:[0,"ngIf"]},null),(n()(),b._11(16777216,null,null,1,null,i)),b._15(3,16384,null,0,Y.k,[b.W,b.T],{ngIf:[0,"ngIf"]},null),(n()(),b._11(16777216,null,null,1,null,u)),b._15(5,16384,null,0,Y.k,[b.W,b.T],{ngIf:[0,"ngIf"]},null),(n()(),b._16(6,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],function(n,l){var t=l.component;n(l,1,0,t.tab.tabIcon);n(l,3,0,t.tab.tabTitle);n(l,5,0,t.tab.tabBadge)},null)}function r(n){return b._42(0,[(n()(),b._16(0,0,null,null,1,"a",[["class","tab-button"],["href","#"],["role","tab"]],[[8,"hidden",0],[1,"aria-hidden",0],[1,"aria-label",0],[8,"title",0],[1,"id",0],[1,"aria-controls",0],[1,"aria-selected",0],[2,"has-title",null],[2,"has-icon",null],[2,"has-title-only",null],[2,"icon-only",null],[2,"has-badge",null],[2,"disable-hover",null],[2,"tab-disabled",null],[2,"tab-hidden",null]],[[null,"ionSelect"],[null,"click"]],function(n,l,t){var e=!0,a=n.component;if("click"===l){e=!1!==b._29(n,1).onClick()&&e}if("ionSelect"===l){e=!1!==a.select(n.context.$implicit,void 0,void 0,!0)&&e}return e},o,nn)),b._15(1,114688,null,0,Z.a,[N.a,b.p,b.K],{tab:[0,"tab"]},{ionSelect:"ionSelect"})],function(n,l){n(l,1,0,l.context.$implicit)},function(n,l){n(l,0,1,[!1===l.component._loaded,!l.context.$implicit.show,l.context.$implicit.tabTitle||"",l.context.$implicit.tabTitle||"",b._29(l,1).tab._btnId,b._29(l,1).tab._tabId,b._29(l,1).tab.isSelected,b._29(l,1).hasTitle,b._29(l,1).hasIcon,b._29(l,1).hasTitleOnly,b._29(l,1).hasIconOnly,b._29(l,1).hasBadge,b._29(l,1).disHover,!b._29(l,1).tab.enabled,!b._29(l,1).tab.show])})}function s(n){return b._42(0,[(n()(),b._16(0,0,null,null,7,"div",[["class","core-ion-tabs-loading"]],null,null,null,null,null)),(n()(),b._40(-1,null,["\n        "])),(n()(),b._16(2,0,null,null,4,"span",[["class","core-ion-tabs-loading-spinner"]],null,null,null,null,null)),(n()(),b._40(-1,null,["\n            "])),(n()(),b._16(4,0,null,null,1,"ion-spinner",[],[[2,"spinner-paused",null]],null,null,ln.b,ln.a)),b._15(5,114688,null,0,tn.a,[N.a,b.p,b.K],null,null),(n()(),b._40(-1,null,["\n        "])),(n()(),b._40(-1,null,["\n    "]))],function(n,l){n(l,5,0)},function(n,l){n(l,4,0,b._29(l,5)._paused)})}function c(n){return b._42(0,[b._37(402653184,1,{_highlight:0}),b._37(402653184,2,{_tabbar:0}),b._37(402653184,3,{portal:0}),b._37(402653184,4,{originalTabsRef:0}),(n()(),b._16(4,0,[[2,0],["tabbar",1]],null,10,"div",[["class","tabbar"],["role","tablist"]],[[8,"hidden",0]],null,null,null,null)),(n()(),b._40(-1,null,["\n    "])),(n()(),b._11(16777216,null,null,1,null,r)),b._15(7,802816,null,0,Y.j,[b.W,b.T,b.v],{ngForOf:[0,"ngForOf"]},null),(n()(),b._40(-1,null,["\n    "])),(n()(),b._16(9,0,null,null,1,"div",[["class","tab-highlight"]],null,null,null,null,null)),b._15(10,16384,[[1,4]],0,en.a,[b.p,V.a],null,null),(n()(),b._40(-1,null,["\n    "])),(n()(),b._11(16777216,null,null,1,null,s)),b._15(13,16384,null,0,Y.k,[b.W,b.T],{ngIf:[0,"ngIf"]},null),(n()(),b._40(-1,null,["\n"])),(n()(),b._40(-1,null,["\n"])),(n()(),b._16(16,0,[[4,0],["originalTabs",1]],null,3,"div",[["class","tabcontent"]],null,null,null,null,null)),(n()(),b._40(-1,null,["\n    "])),b._28(null,0),(n()(),b._40(-1,null,["\n"])),(n()(),b._40(-1,null,["\n"])),(n()(),b._16(21,16777216,[[3,3],["portal",1]],null,0,"div",[["tab-portal",""]],null,null,null,null,null)),(n()(),b._40(-1,null,["\n"]))],function(n,l){var t=l.component;n(l,7,0,t._tabs);n(l,13,0,!1===t._loaded)},function(n,l){n(l,4,0,l.component.hidden)})}function d(n){return b._42(0,[(n()(),b._16(0,0,null,null,2,"core-ion-tab",[["role","tabpanel"]],[[8,"className",0],[1,"id",0],[1,"aria-labelledby",0]],null,null,e,G)),b._15(1,245760,null,0,F.a,[v.a,W.a,N.a,j.a,b.p,b.D,b.K,b.n,b.i,E.l,q.a,[2,z.a],V.a,b.q],{root:[0,"root"],rootParams:[1,"rootParams"],tabTitle:[2,"tabTitle"],tabIcon:[3,"tabIcon"],tabBadge:[4,"tabBadge"],enabled:[5,"enabled"],show:[6,"show"]},null),b._32(131072,J.a,[U.a,b.i])],function(n,l){n(l,1,0,l.context.$implicit.page,l.context.$implicit.pageParams,b._41(l,1,2,b._29(l,2).transform(l.context.$implicit.title)),l.context.$implicit.icon,l.context.$implicit.badge,!l.context.$implicit.hide,!l.context.$implicit.hide)},function(n,l){n(l,0,0,b._19(1,"",l.context.$implicit.class,""),b._29(l,1)._tabId,b._29(l,1)._btnId)})}function _(n){return b._42(0,[b._37(402653184,1,{mainTabs:0}),(n()(),b._16(1,0,null,null,13,"core-ion-tabs",[["tabsLayout","title-hide"]],[[8,"hidden",0],[1,"tabsPlacement",0]],null,null,c,dn)),b._35(6144,null,an.a,null,[v.a]),b._15(3,4374528,[[1,4],["mainTabs",4]],0,v.a,[un.a,f.a,[2,on.a],[2,rn.a],W.a,N.a,b.p,j.a,b.K,z.a,sn.a,U.a,cn.a],{tabsLayout:[0,"tabsLayout"],loaded:[1,"loaded"]},null),(n()(),b._40(-1,0,["\n    "])),(n()(),b._16(5,0,null,0,1,"core-ion-tab",[["role","tabpanel"]],[[1,"id",0],[1,"aria-labelledby",0]],null,null,e,G)),b._15(6,245760,null,0,F.a,[v.a,W.a,N.a,j.a,b.p,b.D,b.K,b.n,b.i,E.l,q.a,[2,z.a],V.a,b.q],{root:[0,"root"],rootParams:[1,"rootParams"],enabled:[2,"enabled"],show:[3,"show"]},null),(n()(),b._40(-1,0,["\n    "])),(n()(),b._11(16777216,null,0,1,null,d)),b._15(9,802816,null,0,Y.j,[b.W,b.T,b.v],{ngForOf:[0,"ngForOf"]},null),(n()(),b._40(-1,0,["\n    "])),(n()(),b._16(11,0,null,0,2,"core-ion-tab",[["role","tabpanel"],["root","CoreMainMenuMorePage"],["tabIcon","menu"]],[[1,"id",0],[1,"aria-labelledby",0]],null,null,e,G)),b._15(12,245760,null,0,F.a,[v.a,W.a,N.a,j.a,b.p,b.D,b.K,b.n,b.i,E.l,q.a,[2,z.a],V.a,b.q],{root:[0,"root"],tabTitle:[1,"tabTitle"],tabIcon:[2,"tabIcon"]},null),b._32(131072,J.a,[U.a,b.i]),(n()(),b._40(-1,0,["\n"])),(n()(),b._40(-1,null,["\n"])),(n()(),b._16(16,0,null,null,9,"div",[["class","core-network-message"]],[[8,"hidden",0]],null,null,null,null)),(n()(),b._40(-1,null,["\n    "])),(n()(),b._16(18,0,null,null,2,"div",[["class","core-online-message"]],null,null,null,null,null)),(n()(),b._40(19,null,["\n        ","\n    "])),b._32(131072,J.a,[U.a,b.i]),(n()(),b._40(-1,null,["\n    "])),(n()(),b._16(22,0,null,null,2,"div",[["class","core-offline-message"]],null,null,null,null,null)),(n()(),b._40(23,null,["\n        ","\n    "])),b._32(131072,J.a,[U.a,b.i]),(n()(),b._40(-1,null,["\n"])),(n()(),b._40(-1,null,["\n"]))],function(n,l){var t=l.component;n(l,3,0,"title-hide",t.loaded);n(l,6,0,t.redirectPage,t.redirectParams,!1,!1);n(l,9,0,t.tabs);n(l,12,0,"CoreMainMenuMorePage",b._41(l,12,1,b._29(l,13).transform("core.more")),"menu")},function(n,l){var t=l.component;n(l,1,0,!t.showTabs,t.tabsPlacement);n(l,5,0,b._29(l,6)._tabId,b._29(l,6)._btnId);n(l,11,0,b._29(l,12)._tabId,b._29(l,12)._btnId);n(l,16,0,!t.showTabs);n(l,19,0,b._41(l,19,0,b._29(l,20).transform("core.youreonline")));n(l,23,0,b._41(l,23,0,b._29(l,24).transform("core.youreoffline")))})}Object.defineProperty(l,"__esModule",{value:!0});var b=t(1),h=(t(0),t(6),t(4)),p=t(29),f=t(10),g=t(2),m=t(11),v=t(735),P=t(491),I=t(174),T=t(63),y=t(16),M=function(){function n(n,l,t,e,a,i,u,o,r,s){this.menuDelegate=n,this.sitesProvider=l,this.navCtrl=e,this.eventsProvider=a,this.cdr=i,this.mainMenuProvider=u,this.linksDelegate=o,this.linksHelper=r,this.appProvider=s,this.tabs=[],this.loaded=!1,this.showTabs=!1,this.tabsPlacement="bottom",this.mainMenuId=this.appProvider.getMainMenuId();var c=t.get("redirectPage");c&&(this.pendingRedirect={redirectPage:c,redirectParams:t.get("redirectParams")}),this.urlToOpen=t.get("urlToOpen")}return n.prototype.ionViewDidLoad=function(){var n=this;this.sitesProvider.isLoggedIn()?(this.showTabs=!0,this.redirectObs=this.eventsProvider.on(m.a.LOAD_PAGE_MAIN_MENU,function(l){n.loaded?(delete n.pendingRedirect,n.handleRedirect(l)):n.pendingRedirect=l}),this.subscription=this.menuDelegate.getHandlers().subscribe(function(l){n.allHandlers=l.filter(function(n){return!n.onlyInMore}),n.initHandlers(),n.loaded&&n.pendingRedirect&&setTimeout(function(){n.pendingRedirect&&(n.handleRedirect(n.pendingRedirect),delete n.pendingRedirect)})}),window.addEventListener("resize",this.initHandlers.bind(this)),this.appProvider.setMainMenuOpen(this.mainMenuId,!0)):this.navCtrl.setRoot("CoreLoginInitPage")},n.prototype.initHandlers=function(){var n=this;if(this.allHandlers){this.tabsPlacement=this.mainMenuProvider.getTabPlacement(this.navCtrl);for(var l=this.allHandlers.slice(0,this.mainMenuProvider.getNumItems()),t=[],e=function(n){var e=l[n],i=a.tabs.find(function(n){return n.title==e.title&&n.icon==e.icon});i&&(i.hide=!1),e.hide=!1,t.push(i||e)},a=this,i=0;i<l.length;i++)e(i);var u=this.mainTabs.getSelected();if(u){var o=this.tabs.find(function(n){return n.page==u.root&&n.icon==u.tabIcon});if(o){t.some(function(n){return o.title==n.title&&o.icon==n.icon})||(o.hide=!0,t.push(o))}}this.tabs=t,this.tabs.sort(function(n,l){return l.priority-n.priority}),this.loaded=this.menuDelegate.areHandlersLoaded()}if(this.urlToOpen){var r=this.urlToOpen;delete this.urlToOpen,this.linksDelegate.getActionsFor(r,void 0).then(function(l){var t=n.linksHelper.getFirstValidAction(l);t&&t.sites.length&&t.action(t.sites[0])})}},n.prototype.handleRedirect=function(n){var l=this,t=this.tabs.findIndex(function(l,t){return l.page==n.redirectPage});t>=0?this.tabs[t].pageParams=Object.assign({},n.redirectParams):(this.redirectPage=n.redirectPage,this.redirectParams=n.redirectParams),this.cdr.detectChanges(),setTimeout(function(){l.mainTabs.selectTabRootByIndex(t+1)})},n.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.redirectObs&&this.redirectObs.off(),window.removeEventListener("resize",this.initHandlers.bind(this)),this.appProvider.setMainMenuOpen(this.mainMenuId,!1)},n}(),O=function(){return function(){}}(),w=t(1524),x=t(1525),k=t(1526),R=t(1527),$=t(1528),H=t(1529),D=t(1530),L=t(1531),C=t(1532),B=t(1533),K=t(1534),S=t(1535),A=t(1536),F=t(1585),W=t(36),N=t(9),j=t(17),E=t(45),q=t(208),z=t(60),V=t(35),G=b._14({encapsulation:2,styles:[],data:{}}),J=t(26),U=t(18),Q=t(48),X=t(146),Y=t(8),Z=t(752),nn=b._14({encapsulation:2,styles:[],data:{}}),ln=t(124),tn=t(104),en=t(526),an=t(221),un=t(3),on=t(22),rn=t(40),sn=t(5),cn=t(110),dn=b._14({encapsulation:2,styles:[],data:{}}),_n=t(71),bn=b._14({encapsulation:2,styles:[],data:{}}),hn=b._12("page-core-mainmenu",M,function(n){return b._42(0,[(n()(),b._16(0,0,null,null,1,"page-core-mainmenu",[],null,null,null,_,bn)),b._15(1,180224,null,0,M,[I.a,g.a,_n.a,on.a,m.a,b.i,P.a,T.a,y.a,f.a],null,null)],null,null)},{},{},[]),pn=t(24),fn=t(371),gn=t(372),mn=t(374),vn=t(373),Pn=t(477),In=t(724),Tn=t(33),yn=t(109),Mn=t(274);t.d(l,"CoreMainMenuPageModuleNgFactory",function(){return On});var On=b._13(O,[],function(n){return b._25([b._26(512,b.n,b._6,[[8,[w.a,x.a,k.a,R.a,$.a,H.a,D.a,L.a,C.a,B.a,K.a,S.a,A.a,hn]],[3,b.n],b.B]),b._26(4608,Y.m,Y.l,[b.x,[2,Y.w]]),b._26(4608,pn.x,pn.x,[]),b._26(4608,pn.d,pn.d,[]),b._26(4608,fn.b,fn.a,[]),b._26(4608,gn.a,gn.b,[]),b._26(4608,mn.b,mn.a,[]),b._26(4608,vn.b,vn.a,[]),b._26(4608,U.a,U.a,[Pn.a,fn.b,gn.a,mn.b,vn.b,U.b,U.c]),b._26(512,Y.b,Y.b,[]),b._26(512,pn.v,pn.v,[]),b._26(512,pn.i,pn.i,[]),b._26(512,pn.s,pn.s,[]),b._26(512,In.a,In.a,[]),b._26(512,h.a,h.a,[]),b._26(512,Tn.a,Tn.a,[]),b._26(512,yn.a,yn.a,[]),b._26(512,p.a,p.a,[]),b._26(512,In.b,In.b,[]),b._26(512,O,O,[]),b._26(256,U.c,void 0,[]),b._26(256,U.b,void 0,[]),b._26(256,Mn.a,M,[])])})}});