"use strict";(self["webpackJsonpother-root"]=self["webpackJsonpother-root"]||[]).push([["src_app_components_features-disabled_features-disabled_module_ts"],{75917:(e,t,n)=>{n.r(t),n.d(t,{FeaturesDisabledModule:()=>M});var o=n(60136),r=n(14633),a=n(48810),s=n(52191),i=n(53850),c=n(38699);let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["features-disabled"]],decls:6,vars:0,consts:[["svgIcon","logo-grey",1,"logo-grey"],["translate",""]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"mat-icon",0),i["\u0275\u0275elementStart"](2,"h3",1),i["\u0275\u0275text"](3,"featuresDisabled.noFeatures"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p",1),i["\u0275\u0275text"](5,"featuresDisabled.contactProvider"),i["\u0275\u0275elementEnd"]()())},dependencies:[r.MatIcon,c.Pi],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}\n\ndiv[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%] {\n  font-size: 22px;\n  margin: 0;\n  line-height: 2.44;\n}\n\ndiv[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  color: #616161;\n  font-size: 16px;\n  margin-bottom: 27px;\n}\n\ndiv[_ngcontent-%COMP%]   .logo-grey[_ngcontent-%COMP%] {\n  margin: 0 auto;\n  width: 80px;\n  height: 80px;\n}']}),e})();var u=n(91792),d=n(72986),p=n(6009),f=n(28838);let m=(()=>{class e{constructor(e,t,n,o){this.authState=e,this.requestsState=t,this.userFeaturesStatusService=n,this.router=o}canActivate(e,t){return this.requestsState.hasEnabledFeatures.pipe((0,u.filter)(e=>null!=e),(0,u.take)(1),(0,u.tap)(e=>{e&&this.router.navigate(this.authState.featuresDisabledRedirectCommands)}),(0,u.map)(e=>!e))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](d.j),i["\u0275\u0275inject"](p.x),i["\u0275\u0275inject"](f.j),i["\u0275\u0275inject"](s.Router))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const g=[{path:"",component:l,canActivate:[m]}];let h=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[s.RouterModule.forChild(g),s.RouterModule]}),e})(),M=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[m],imports:[o.CommonModule,h,r.MatIconModule,a.l]}),e})()}}]);
//# sourceMappingURL=src_app_components_features-disabled_features-disabled_module_ts.aa4a304e10134c31.js.map