import{a as F}from"./chunk-FAZDIGO2.js";import{b as w,d as A}from"./chunk-Z22WDHN3.js";import"./chunk-AOU5D3JH.js";import"./chunk-IOFE2J5D.js";import"./chunk-GKU5CIP4.js";import"./chunk-JJCKSZBX.js";import"./chunk-JWVEGNOJ.js";import{b as o,c as C}from"./chunk-C2SZ3PMY.js";import"./chunk-FIGHW4X4.js";import{n as T}from"./chunk-SLEL2KZA.js";import"./chunk-S6D4NUPV.js";import"./chunk-6IEN3EM2.js";import"./chunk-4ELGM4O4.js";import{e as M,f as k}from"./chunk-RZMFU7JP.js";import"./chunk-2GJEG7TM.js";import{C as v,D as H,y as a,z as S}from"./chunk-GTAUKNDY.js";import"./chunk-H2CU6EEU.js";import"./chunk-GK2ZGAUD.js";import"./chunk-4TDNJBFX.js";import"./chunk-NUAVJ2U7.js";import"./chunk-MYO3G6ZR.js";import"./chunk-Q5GYSH7Z.js";import"./chunk-PBM4LEG7.js";import{p as f}from"./chunk-QVLAHW2O.js";import"./chunk-TI6NUUOB.js";import"./chunk-LYCHGZAM.js";import{$b as c,Kb as s,Lb as p,Md as h,Ob as m,Qb as l,Sd as g,jc as u,nd as d,ra as n,yb as r}from"./chunk-PGS4AHIT.js";g();S();d();H();function D(e,I){e&1&&u(0,"paw-main-module-view")}var x=(()=>{class e extends F{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(C),r(v))}}static{this.\u0275cmp=s({type:e,selectors:[["paw-task"]],standalone:!1,features:[m],decls:1,vars:2,consts:[[4,"pawAuthFeature","pawAuthFeatureShowNotAllowed"]],template:function(i,_){i&1&&l(0,D,1,0,"paw-main-module-view",0),i&2&&c("pawAuthFeature","Tasks.Access")("pawAuthFeatureShowNotAllowed",!0)},dependencies:[w,M],encapsulation:2})}}return e})();d();var G=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=p({type:e})}static{this.\u0275inj=n({imports:[h,A,T,k,f.forChild([{path:"",component:x,children:[{path:"",redirectTo:"task-main",pathMatch:"full"},{path:"task-main",loadChildren:()=>import("./chunk-4OMEMG2I.js").then(t=>t.TaskMainModule)},{path:"task-form",loadChildren:()=>import("./chunk-5RLLVYEK.js").then(t=>t.TaskFormModule)}]}])]})}}return e})();export{G as TaskModule};
