import{a as o,b as A}from"./chunk-ZSRIVSRB.js";import{a as C}from"./chunk-FAZDIGO2.js";import{b as f,f as T}from"./chunk-WCATVOSP.js";import"./chunk-MBWGH23P.js";import"./chunk-PXZK5TXJ.js";import"./chunk-5MWKR34Y.js";import{g as k}from"./chunk-344FMKSW.js";import"./chunk-EUBQAFPM.js";import"./chunk-L2UWPUYF.js";import"./chunk-JBSAI7OD.js";import{B as v,C as M,n as a,o as w}from"./chunk-PKG2ZGKG.js";import"./chunk-4S6OU26F.js";import"./chunk-4TDNJBFX.js";import{p as h}from"./chunk-SNUDA6WI.js";import"./chunk-LVEUCBCY.js";import{Bb as s,Bd as d,Cb as p,Fb as m,Hb as l,Sb as c,bc as u,ia as n,pb as r}from"./chunk-NDNQDXRJ.js";function g(e,S){e&1&&u(0,"paw-main-module-view")}var F=(()=>{class e extends C{constructor(t,i){super(),this.helpService=t,this.userAuthService=i}ngOnInit(){this.setHelp()}ngOnDestroy(){this.helpService.clearHelp()}setHelp(){this.helpService.setHelpUrls(this.getHelpForLicence(this.userAuthService.licence.licence))}getHelpForLicence(t){switch(t){case a.CM:return{help:o.TasksLicenseCM,example:o.ExampleTasks,video:""};case a.WP:return{help:o.Tasks,example:o.ExampleTasks,video:""}}return{help:o.Tasks,example:o.ExampleTasks,video:""}}static{this.\u0275fac=function(i){return new(i||e)(r(A),r(w))}}static{this.\u0275cmp=s({type:e,selectors:[["paw-task"]],standalone:!1,features:[m],decls:1,vars:2,consts:[[4,"pawAuthFeature","pawAuthFeatureShowNotAllowed"]],template:function(i,H){i&1&&l(0,g,1,0,"paw-main-module-view",0),i&2&&c("pawAuthFeature","Tasks.Access")("pawAuthFeatureShowNotAllowed",!0)},dependencies:[f,v],encapsulation:2})}}return e})();var W=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=p({type:e})}static{this.\u0275inj=n({imports:[d,T,k,M,h.forChild([{path:"",component:F,children:[{path:"",redirectTo:"task-main",pathMatch:"full"},{path:"task-main",loadChildren:()=>import("./chunk-AQIM6I2A.js").then(t=>t.TaskMainModule)},{path:"task-form",loadChildren:()=>import("./chunk-YX6OHHO5.js").then(t=>t.TaskFormModule)}]}])]})}}return e})();export{W as TaskModule};
