function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}function _toPrimitive(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(window.webpackJsonp=window.webpackJsonp||[]).push([[326],{BHhg:function(e,t,n){"use strict";n.r(t),n.d(t,"CavAccessDeniedModule",(function(){return d}));var r,i,o=n("ofXK"),s=n("fXoL"),a=n("RskC"),l=((r=function(){return _createClass((function e(t){_classCallCheck(this,e),this.sessionService=t}),[{key:"ngOnInit",value:function(){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(",")}}])}()).\u0275fac=function(e){return new(e||r)(s["\u0275\u0275directiveInject"](a.b))},r.\u0275cmp=s["\u0275\u0275defineComponent"]({type:r,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&&(s["\u0275\u0275elementStart"](0,"div",0),s["\u0275\u0275elementStart"](1,"div",1),s["\u0275\u0275elementStart"](2,"div",2),s["\u0275\u0275element"](3,"i",3),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementStart"](4,"div",4),s["\u0275\u0275elementStart"](5,"h2",5),s["\u0275\u0275text"](6,"You do not have permission to access this module : "),s["\u0275\u0275elementStart"](7,"strong"),s["\u0275\u0275text"](8),s["\u0275\u0275elementEnd"](),s["\u0275\u0275text"](9,". "),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementStart"](10,"p",6),s["\u0275\u0275text"](11,"Contact your administrator to grant access to this module or switch to an account having access."),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementStart"](12,"p",7),s["\u0275\u0275text"](13,"You are currently signed in as: "),s["\u0275\u0275elementStart"](14,"strong"),s["\u0275\u0275text"](15),s["\u0275\u0275elementEnd"](),s["\u0275\u0275text"](16," having the following roles: "),s["\u0275\u0275elementStart"](17,"strong"),s["\u0275\u0275text"](18),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"]()),2&e&&(s["\u0275\u0275advance"](8),s["\u0275\u0275textInterpolate2"]("",t.feature," > ",t.subFeature,""),s["\u0275\u0275advance"](7),s["\u0275\u0275textInterpolate"](t.username),s["\u0275\u0275advance"](3),s["\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}"]}),r),c=n("tyNb"),u=[{path:"",component:l}],d=((i=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=s["\u0275\u0275defineNgModule"]({type:i}),i.\u0275inj=s["\u0275\u0275defineInjector"]({factory:function(e){return new(e||i)},imports:[[o.c,c.m.forChild(u)]]}),i)}}]);