(window.webpackJsonp=window.webpackJsonp||[]).push([[326],{BHhg:function(e,t,n){"use strict";n.r(t),n.d(t,"CavAccessDeniedModule",(function(){return c}));var s=n("ofXK"),o=n("fXoL"),i=n("RskC");let r=(()=>{class e{constructor(e){this.sessionService=e}ngOnInit(){var e,t,n;console.log("HISTORY",history.state),this.feature=this.sessionService.getLabelForFeature(null===(e=history.state)||void 0===e?void 0:e.feature),this.subFeature=this.sessionService.getLabelForSubFeature(null===(t=history.state)||void 0===t?void 0:t.feature,null===(n=history.state)||void 0===n?void 0:n.subFeature),this.username=this.sessionService.session.cctx.u,this.userRoles=this.sessionService.session.capabilityList,this.userRole=this.userRoles.join(",")}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](i.b))},e.\u0275cmp=o["\u0275\u0275defineComponent"]({type:e,selectors:[["app-cav-access-denied"]],decls:19,vars:4,consts:[[1,"p-grid","p-align-center","p-justify-center","h-100vh-100"],[1,"p-grid","p-align-center","w-40-p"],[1,"p-col-fixed"],[1,"icons8","icons8-lock","font-100","text-secondary-1100"],[1,"p-col"],[1,"line-height23","font-weight-500","my-0"],[1,"font-14","line-height18"],[1,"my-8","font-14","line-height18"]],template:function(e,t){1&e&&(o["\u0275\u0275elementStart"](0,"div",0),o["\u0275\u0275elementStart"](1,"div",1),o["\u0275\u0275elementStart"](2,"div",2),o["\u0275\u0275element"](3,"i",3),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementStart"](4,"div",4),o["\u0275\u0275elementStart"](5,"h2",5),o["\u0275\u0275text"](6,"You do not have permission to access this module : "),o["\u0275\u0275elementStart"](7,"strong"),o["\u0275\u0275text"](8),o["\u0275\u0275elementEnd"](),o["\u0275\u0275text"](9,". "),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementStart"](10,"p",6),o["\u0275\u0275text"](11,"Contact your administrator to grant access to this module or switch to an account having access."),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementStart"](12,"p",7),o["\u0275\u0275text"](13,"You are currently signed in as: "),o["\u0275\u0275elementStart"](14,"strong"),o["\u0275\u0275text"](15),o["\u0275\u0275elementEnd"](),o["\u0275\u0275text"](16," having the following roles: "),o["\u0275\u0275elementStart"](17,"strong"),o["\u0275\u0275text"](18),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"]()),2&e&&(o["\u0275\u0275advance"](8),o["\u0275\u0275textInterpolate2"]("",t.feature," > ",t.subFeature,""),o["\u0275\u0275advance"](7),o["\u0275\u0275textInterpolate"](t.username),o["\u0275\u0275advance"](3),o["\u0275\u0275textInterpolate"](t.userRole))},styles:[".text-color[_ngcontent-%COMP%]{background:-webkit-linear-gradient(#4797f5,#0e2d4d);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background:linear-gradient(180deg,#4797f5,#0e2d4d);background-clip:text;color:transparent}"]}),e})();var a=n("tyNb");const l=[{path:"",component:r}];let c=(()=>{class e{}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[s.c,a.m.forChild(l)]]}),e})()}}]);