"use strict";(self["webpackJsonpother-root"]=self["webpackJsonpother-root"]||[]).push([["src_app_components_features-disabled_features-disabled_module_ts"],{9362:(t,e,n)=>{n.r(e),n.d(e,{FeaturesDisabledModule:()=>M});var s=n(40007),i=n(40865),a=n(75605),o=n(73523),r=n(64241),c=n(597);let l=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=r["\u0275\u0275defineComponent"]({type:t,selectors:[["features-disabled"]],decls:6,vars:0,consts:[["svgIcon","logo-grey",1,"logo-grey"],["translate",""]],template:function(t,e){1&t&&(r["\u0275\u0275elementStart"](0,"div"),r["\u0275\u0275element"](1,"mat-icon",0),r["\u0275\u0275elementStart"](2,"h3",1),r["\u0275\u0275text"](3,"featuresDisabled.noFeatures"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](4,"p",1),r["\u0275\u0275text"](5,"featuresDisabled.contactProvider"),r["\u0275\u0275elementEnd"]()())},dependencies:[i.MatIcon,c.Mm],styles:['[_nghost-%COMP%] {\n  display: flex;\n  margin: 100px auto;\n  align-items: center;\n  justify-content: center;\n  text-align: center;\n  font-family: "Open Sans", sans-serif;\n}\n\ndiv[_ngcontent-%COMP%] {\n  max-width: 100%;\n}\ndiv[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%] {\n  font-size: 22px;\n  margin: 0;\n  line-height: 2.44;\n}\ndiv[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  color: #616161;\n  font-size: 16px;\n  margin-bottom: 27px;\n}\ndiv[_ngcontent-%COMP%]   .logo-grey[_ngcontent-%COMP%] {\n  margin: 0 auto;\n  width: 80px;\n  height: 80px;\n}']})}}return t})();var u=n(59734),d=n(88429),p=n(21449),f=n(53125);let h=(()=>{class t{constructor(t,e,n,s){this.authState=t,this.requestsState=e,this.userFeaturesStatusService=n,this.router=s}canActivate(t,e){return this.requestsState.hasEnabledFeatures.pipe((0,u.filter)(t=>null!=t),(0,u.take)(1),(0,u.tap)(t=>{t&&this.router.navigate(this.authState.featuresDisabledRedirectCommands)}),(0,u.map)(t=>!t))}static{this.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](d.k),r["\u0275\u0275inject"](p.g),r["\u0275\u0275inject"](f.U),r["\u0275\u0275inject"](o.Router))}}static{this.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac})}}return t})();const m=[{path:"",component:l,canActivate:[h]}];let g=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t})}static{this.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[o.RouterModule.forChild(m),o.RouterModule]})}}return t})(),M=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t})}static{this.\u0275inj=r["\u0275\u0275defineInjector"]({providers:[h],imports:[s.CommonModule,g,i.MatIconModule,a.L]})}}return t})()}}]);
//# sourceMappingURL=src_app_components_features-disabled_features-disabled_module_ts.2dcf41cdf0ddc297.js.map