import{a as L}from"./chunk-QJECG27R.js";import{a as be,b as Re,c as Se}from"./chunk-G5BCCBVF.js";import{J as P}from"./chunk-CWWVHRJU.js";import{a as ye}from"./chunk-6JC3FZFK.js";import{a as D}from"./chunk-Y7IP5WLG.js";import{b as he}from"./chunk-ISDPQX42.js";import{a as Te}from"./chunk-RA7MFYIS.js";import{K as ve,a as ge,m as Ce,n as Fe,o as xe}from"./chunk-SLGBXDUF.js";import{a as fe}from"./chunk-LY6HB4BL.js";import{_d as de,rl as _e}from"./chunk-RQDYBYBM.js";import{W as _}from"./chunk-FBI7JGZC.js";import{a as ue}from"./chunk-ILYMG6ZI.js";import{b as O}from"./chunk-CREVD7YA.js";import{f as le,r as me,t as pe,x as N}from"./chunk-MXUIPT66.js";import{A as B,I as ce,b as ee,c as te,e as j,f as ne,g as ie,j as oe,m as re,q as se,t as ae}from"./chunk-DX7LHTFF.js";import{Aa as T,Ab as l,Ba as y,Bb as v,Cb as F,Db as x,Dc as k,E as W,Eb as G,Fb as S,Gd as w,Jd as A,Kb as R,Lb as c,Ua as r,Va as b,Wc as K,Xb as E,Xc as z,Yb as f,_b as h,ad as H,bd as Z,fc as J,gb as Y,ib as p,jc as X,kc as M,ob as s,qb as U,rc as u,sc as g,ta as $,tc as q,wc as V,yh as Q,zb as m}from"./chunk-N6B2OJOY.js";var Ue=function(i,n,e,t){var o=arguments.length,a=o<3?n:t===null?t=Object.getOwnPropertyDescriptor(n,e):t,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(i,n,e,t);else for(var C=i.length-1;C>=0;C--)(d=i[C])&&(a=(o<3?d(a):o>3?d(n,e,a):d(n,e))||a);return o>3&&a&&Object.defineProperty(n,e,a),a},Ge=function(i,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(i,n)},Ve=i=>({name:i}),ke=(i,n)=>({node:i,depth:0,hasAnyVisibleChild:n,isActive:!0}),we=(i,n)=>({node:i,depth:n});function Ae(i,n){i&1&&(m(0,"div",14),f(1),u(2,"cxTranslate"),l()),i&2&&(r(),h(" ",g(2,1,"userGroups.role.createNewRole")," "))}function Be(i,n){if(i&1&&(m(0,"div",14),f(1),u(2,"cxTranslate"),l()),i&2){let e=c();r(),h(" ",q(2,1,"userGroups.role.editRole",X(4,Ve,e.userGroup==null?null:e.userGroup.name))," ")}}function Ne(i,n){i&1&&G(0)}function Oe(i,n){if(i&1&&(F(0),m(1,"div",15),p(2,Ne,1,0,"ng-container",13),l(),x()),i&2){c();let e=E(17);r(2),s("ngTemplateOutlet",e)}}function De(i,n){if(i&1){let e=S();m(0,"div",26)(1,"ng-select",27),u(2,"cxTranslate"),R("change",function(o){T(e);let a=c(2);return y(a.setRoleValues(o,!0))}),l()()}if(i&2){let e=c(2);r(),s("clearable",!1)("items",e.userGroups)("placeholder",g(2,3,"userGroups.role.selectFromTemplate"))}}function Pe(i,n){if(i&1&&(F(0),v(1,"cx-icon",8),x()),i&2){let e=c(2);r(),s("type",e.icons.ARROW_UP)}}function Le(i,n){if(i&1&&v(0,"cx-icon",8),i&2){let e=c(2);s("type",e.icons.ARROW_DOWN)}}function Me(i,n){i&1&&G(0)}function je(i,n){if(i&1&&(F(0),p(1,Me,1,0,"ng-container",29),x()),i&2){let e=n.$implicit;c();let t=E(3),o=c(2);r(),s("ngTemplateOutlet",t)("ngTemplateOutletContext",M(2,ke,e,o.hasAnyVisibleChild(e)))}}function We(i,n){if(i&1){let e=S();F(0),m(1,"div",34)(2,"input",35),R("change",function(){T(e);let o=c(3),a=o.depth,d=o.node,C=c(3);return y(C.toggleChildren(d,a))}),l(),m(3,"label",36),f(4),l()(),x()}if(i&2){let e=c(3),t=e.depth,o=e.node;r(),U("foerchUserRoleFormSection-headline",t===0),r(),s("formControlName",o.permissionType.code)("id",o.permissionType.code),r(),s("for",o.permissionType.code),r(),h(" ",o.permissionType.name," ")}}function $e(i,n){if(i&1&&(m(0,"div",37)(1,"div",38),f(2),l(),v(3,"foerch-input",39),l()),i&2){let e=c(3).node;r(2),h(" ",e.permissionType.name," "),r(),s("formControlName",e.permissionType.code)("inputId",e.permissionType.code)}}function Ye(i,n){if(i&1){let e=S();m(0,"div",40)(1,"div",41),f(2),l(),m(3,"div",42)(4,"div",43)(5,"div",44)(6,"div",45)(7,"cx-icon",46),R("click",function(){T(e);let o=E(9);return y(o.toggle())}),l()(),v(8,"input",47,4),l()()()()}if(i&2){let e=c(3).node,t=c(3);r(2),h(" ",e.permissionType.name," "),r(5),s("type",t.iconTypes.CALENDAR),r(),s("formControlName",e.permissionType.code)}}function Je(i,n){if(i&1&&(m(0,"div",51),f(1),l()),i&2){let e=c(4).node;r(),h(" ",e.permissionType.name," ")}}function Xe(i,n){if(i&1&&(m(0,"div",48),p(1,Je,2,1,"div",49),v(2,"ng-select",50),u(3,"async"),u(4,"cxTranslate"),l()),i&2){let e=c(3),t=e.depth,o=e.node,a=c(3);U("foerchUserRoleForm-b2bcostcenterslist-intend",t>1),r(),s("ngIf",t===1),r(),s("clearable",!1)("formControlName",o.permissionType.code)("items",g(3,8,a.costCenters$))("multiple",!0)("placeholder",g(4,10,"userGroups.role.chooseCostCenters"))}}function qe(i,n){if(i&1&&(m(0,"div",52)(1,"div",53),f(2),l(),v(3,"ng-select",50),u(4,"cxTranslate"),l()),i&2){let e=c(3).node,t=c(3);r(2),h(" ",e.permissionType.name," "),r(),s("clearable",!1)("formControlName",e.permissionType.code)("items",t.allActiveCustomers)("multiple",!0)("placeholder",g(4,6,"userGroups.role.choosePersons"))}}function Ke(i,n){if(i&1&&(F(0),p(1,We,5,6,"ng-container",10)(2,$e,4,3,"div",30)(3,Ye,10,3,"div",31)(4,Xe,5,12,"div",32)(5,qe,5,8,"div",33),x()),i&2){let e=c(2).node,t=c(3);r(),s("ngIf",e.valueFieldType.code===t.fieldType.FLAG),r(),s("ngIf",e.valueFieldType.code===t.fieldType.TEXT),r(),s("ngIf",e.valueFieldType.code===t.fieldType.DATE),r(),s("ngIf",e.valueFieldType.code===t.fieldType.B2BCOSTCENTERSLIST),r(),s("ngIf",e.valueFieldType.code===t.fieldType.B2BCUSTOMERSLIST)}}function ze(i,n){i&1&&G(0)}function He(i,n){if(i&1&&(F(0),p(1,ze,1,0,"ng-container",29),x()),i&2){let e=c().$implicit,t=c(2).depth;c();let o=E(3);r(),s("ngTemplateOutlet",o)("ngTemplateOutletContext",M(2,we,e,t+1))}}function Ze(i,n){if(i&1&&(F(0),p(1,He,2,5,"ng-container",10),x()),i&2){let e=c(2).node;r(),s("ngIf",!(e.showfrontend===!1&&e.flag===!1))}}function Qe(i,n){if(i&1&&(F(0),m(1,"div"),p(2,Ke,6,5,"ng-container",10)(3,Ze,2,1,"ng-container",28),l(),x()),i&2){let e=c(),t=e.depth,o=e.hasAnyVisibleChild,a=e.node,d=c(3);r(),U("foerchUserRoleFormSection",t===0),r(),s("ngIf",a.showfrontend||t===0&&o),r(),s("ngForOf",a.nodes)("ngForTrackBy",d.trackByIndex)}}function et(i,n){if(i&1&&p(0,Qe,4,5,"ng-container",10),i&2){let e=n.hasAnyVisibleChild,t=n.node;s("ngIf",t.showfrontend||e)}}function tt(i,n){if(i&1&&(F(0),p(1,je,2,5,"ng-container",28)(2,et,1,1,"ng-template",null,3,V),x()),i&2){let e=c(2);r(),s("ngForOf",e.nodes)("ngForTrackBy",e.trackByIndex)}}function nt(i,n){if(i&1){let e=S();F(0),m(1,"form",16)(2,"div",17)(3,"div",18),v(4,"foerch-input",19),u(5,"cxTranslate"),l(),p(6,De,3,5,"div",20),l(),m(7,"div",21)(8,"div",22)(9,"div",23),f(10),u(11,"cxTranslate"),l(),m(12,"button",24),R("click",function(){T(e);let o=c();return y(o.togglePermissions())}),p(13,Pe,2,1,"ng-container",11)(14,Le,1,1,"ng-template",null,2,V),l()(),m(16,"div",25),p(17,tt,4,2,"ng-container",10),l()()(),x()}if(i&2){let e=E(15),t=c();r(),s("formGroup",t.roleForm),r(3),s("autofocus",!0)("errorMsg",t.isFieldInvalid("name")?"userGroups.role.errorMessageName":"")("labelAndPlaceholder",g(5,10,"userGroups.role.name")),r(2),s("ngIf",!t.isAdminGroup),r(4),h(" ",g(11,12,"userGroups.role.permissions")," "),r(3),s("ngIf",t.isExpandedPermission)("ngIfElse",e),r(3),s("ngbCollapse",t.isExpandedPermission),r(),s("ngIf",t.nodes&&t.nodes.length>0)}}function it(i,n){i&1&&(m(0,"div"),v(1,"cx-spinner",54),l())}function ot(i,n){i&1&&G(0)}function rt(i,n){i&1&&(m(0,"div",56)(1,"div",57)(2,"div",58),f(3),u(4,"cxTranslate"),l()()()),i&2&&(r(3),h(" ",g(4,1,"userGroups.role.noRole")," "))}function st(i,n){if(i&1&&p(0,rt,5,3,"div",55),i&2){let e=c();s("ngIf",e.isLoaded)}}function at(i,n){if(i&1){let e=S();m(0,"div",65)(1,"button",66),R("click",function(){T(e);let o=c(2);return y(o.deleteDialog())}),f(2),u(3,"cxTranslate"),l()()}i&2&&(r(2),h(" ",g(3,1,"userGroups.role.delete")," "))}function ct(i,n){if(i&1){let e=S();m(0,"div",59),p(1,at,4,3,"div",60),m(2,"div",61)(3,"button",62),R("click",function(){T(e);let o=c();return y(o.cancel())}),f(4),u(5,"cxTranslate"),l()(),m(6,"div",63)(7,"button",64),R("click",function(){T(e);let o=c();return y(o.save())}),f(8),u(9,"cxTranslate"),l()()()}if(i&2){let e=c();r(),s("ngIf",e.userGroup==null?null:e.userGroup.deletable),r(),U("ms-auto",!(e.userGroup!=null&&e.userGroup.deletable)),r(2),h(" ",g(5,5,"common.cancel")," "),r(4),h(" ",g(9,7,e.isNew?"common.create":"common.save")," ")}}var I,Ee=(I=class extends Te{constructor(n,e,t,o,a,d,C,Ie){super(n),this.activatedRoute=n,this.modalService=e,this.userGroupsService=t,this.activeCartService=o,this._router=a,this._breakPointService=d,this._fb=C,this._cd=Ie,this.userGroup={},this.nodes=[],this.costCenters$=this.activeCartService.getAllCostCentersAndOrderReasons(),this.isMobile$=this._breakPointService.isEqual(le.xs),this.isLoaded=!1,this.isLoading=!1,this.iconTypes=ue,this.isExpandedPermission=!1,this.fieldType=_,this.isAdminGroup=!1}ngOnInit(){this.userGroupsService.load(),this.initForm(),this.userGroupsSub$=this.userGroupsService.get().pipe(W(n=>!!n&&n.loaded)).subscribe(n=>{n.userGroups&&(this.handleResult(n),this._cd.detectChanges())})}ngOnDestroy(){}trackByIndex(n){return n}handleResult(n){this.userGroups=n.userGroups;let e=this.userGroups.map(t=>t.customers?t.customers:[]).flat();if(this.allActiveCustomers=de(e.filter(t=>t.active),"name"),this.isNew){let t=this.userGroups.find(o=>this.checkIsAdminGroup(o));this.nodes=t?t.foerchPermission.nodes:[],this.addDynamicControlsAndSetDefaultValues(this.nodes)}else this.userGroup=this.userGroups.find(t=>t.uid===this.uid),this.isAdminGroup=this.checkIsAdminGroup(this.userGroup),this.isLoaded=n.loaded,this.isLoading=n.loading,this.userGroup?(this.nodes=this.userGroup.foerchPermission.nodes,this.addDynamicControlsAndSetDefaultValues(this.nodes),this.setRoleValues(this.userGroup)):this.cancel()}togglePermissions(){this.isExpandedPermission=!this.isExpandedPermission}cancel(){this.navigateToUserGroups()}deleteDialog(){this.groupContainsCustomer()?this.userGroupsService.showDeletionImpossibleModal(this.userGroup.name):this.deleteRole()}deleteRole(){let n={centered:!0},e=this.modalService.open(ye,n);if(e){let t=e.componentInstance;t.name=this.userGroup.name,t.description="userGroups.role.deleteConfirmation",t.title="userGroups.role.delete",e.result.then(o=>{o&&(this.userGroupsService.delete(this.userGroup.uid),this.navigateToUserGroups()),this._cd.detectChanges()}).catch(()=>{})}}isFieldInvalid(n){return this.roleForm.get(n).invalid&&this.roleForm.get(n).touched}save(){if(this.roleForm.markAsTouched(),Object.values(this.roleForm.controls).forEach(n=>{n.markAsTouched()}),this.roleForm.valid){let n=this.buildFoerchUserGroup(this.roleForm.value);this.isNew?this.userGroupsService.create(n):this.userGroupsService.update(n),this.navigateToUserGroups()}}setRoleValues(n,e=!1){let t=n;this.nodes=t.foerchPermission.nodes,e||this.roleForm.get("name").setValue(t.name),t.foerchPermission&&this.setValuesForDynamicControls(t.foerchPermission.nodes)}toggleChildren(n,e){let t=n.nodes;if(t&&t.length>0){let o=this.roleForm.get(n.permissionType.code).value;e===0?o===!1?t.forEach(a=>{let d=this.roleForm.get(a.permissionType.code);d.setValue(this.isFieldTypeWithMultipleValues(a.valueFieldType.code)?[]:!1),[_.B2BCOSTCENTERSLIST,_.B2BCUSTOMERSLIST].indexOf(a.valueFieldType.code)!==-1&&d.disable(),this.toggleChildren(a,1)}):t.forEach(a=>{this.roleForm.get(a.permissionType.code).enable()}):o?t.forEach(a=>{this.roleForm.get(a.permissionType.code).enable()}):t.forEach(a=>{let d=this.roleForm.get(a.permissionType.code);d.disable(),a.valueFieldType.code===_.FLAG&&d.setValue(!1),this.toggleChildren(a,e+1)})}}hasAnyVisibleChild(n){return n.nodes&&n.nodes.length>0&&this.checkChildNodes(n.nodes)}checkChildNodes(n){let e=!1;return n.forEach(t=>{t.showfrontend&&(e=!0),!e&&t.nodes&&t.nodes.length>0&&this.checkChildNodes(t.nodes)}),e}extractDate(n){let e=new Date;return n&&typeof n=="string"&&(e=_e(n)),O(e.getDate())+"."+O(e.getMonth()+1)+"."+O(e.getFullYear())}setDate(n){let e=n.split(".");return new Date(parseInt(e[2],10),parseInt(e[1],10)-1,parseInt(e[0],10)).toISOString()}setValuesForDynamicControls(n,e=!0){n.forEach(t=>{let o=this.roleForm.get(t.permissionType.code);switch(t.valueFieldType.code){case _.FLAG:{o.setValue(t.flag);break}case _.TEXT:{o.setValue(t.text);break}case _.DATE:{o.setValue(this.extractDate(t.date));break}case _.B2BCOSTCENTERSLIST:{o.setValue(t.b2bCostCenters);break}case _.B2BCUSTOMERSLIST:{o.setValue(t.b2bCustomers);break}default:console.error("unimplemented valueFieldType code:",t.valueFieldType.code)}t.valueFieldType.code!==_.FLAG&&(e?o.enable():o.disable()),this.isAdminGroup&&o.disable(),t.nodes&&t.nodes.length>0&&this.setValuesForDynamicControls(t.nodes,t.flag||!1)})}initForm(){this.roleForm=this._fb.group({name:["",[j.required,j.pattern("[A-Za-z0-9\xF6\xE4\xFC\xD6\xDC\xC4\xDF@_.\\-\\s]*")]]})}addDynamicControlsAndSetDefaultValues(n,e=!0){n.forEach(t=>{let o=t.permissionType.code,a=t.valueFieldType.code,d=a===_.FLAG;this.roleForm.addControl(o,new oe(this.isFieldTypeWithMultipleValues(a)?[]:"",[]));let C=this.roleForm.get(o);t.standard===!0&&C.setValue(!0),!e&&!d&&t.showfrontend&&C.disable(),d&&t.nodes&&t.nodes.length>0&&this.addDynamicControlsAndSetDefaultValues(t.nodes,!!C.value)})}navigateToUserGroups(){this._router.navigate(["my-account","user-groups"])}buildFoerchUserGroup(n){let e=JSON.parse(JSON.stringify(this.userGroup)),t=JSON.parse(JSON.stringify(this.nodes));return e.name=n.name,this.isNew?(e.deletable=!0,e.uid=n.name,e.foerchPermission={code:n.name+"_root",nodes:t}):e.foerchPermission.nodes=t,this.extractValuesFromForm(t),e}extractValuesFromForm(n){n.forEach(e=>{if(this.roleForm.get(e.permissionType.code)){let t=this.roleForm.get(e.permissionType.code).value;switch(e.valueFieldType.code){case _.FLAG:{e.flag=t;break}case _.TEXT:{e.text=t;break}case _.DATE:{t&&(e.date=this.setDate(t));break}case _.B2BCOSTCENTERSLIST:{e.b2bCostCenters=t;break}case _.B2BCUSTOMERSLIST:{e.b2bCustomers=t;break}default:console.error("unimplemented code:",e.valueFieldType.code)}}e.nodes&&e.nodes.length>0&&this.extractValuesFromForm(e.nodes)})}groupContainsCustomer(){return this.userGroup.customers&&this.userGroup.customers.length>0}isFieldTypeWithMultipleValues(n){return[_.B2BCOSTCENTERSLIST,_.B2BCUSTOMERSLIST].indexOf(n)!==-1}checkIsAdminGroup(n){return n&&n.uid.endsWith("_admin")&&n.deletable===!1}},I.\u0275fac=function(e){return new(e||I)(b(w),b(D),b(L),b(P),b(A),b(N),b(B),b(k))},I.\u0275cmp=$({type:I,selectors:[["foerch-user-role-form"]],features:[J([{provide:Ce,useClass:Re},{provide:Fe,useClass:be},{provide:ve,useClass:Se}]),Y],decls:18,vars:13,consts:[["noUserGroup",""],["actionButtons",""],["notExpandedPermissions",""],["permission",""],["d","ngbDatepicker"],[1,"row","flex-nowrap","mb-3","mb-md-4","g-0"],[1,"col-auto","flex-fill"],[1,"btn","btn-tertiary","btn-back",3,"click"],[3,"type"],["class","h3 mb-0",4,"ngIf"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"foerchUserRoleForm-actions","mt-2","mt-sm-4"],[4,"ngTemplateOutlet"],[1,"h3","mb-0"],[1,"col-auto","ms-auto"],[3,"formGroup"],[1,"row","justify-content-between"],[1,"col-sm-6","col-md-5"],["formControlName","name","inputId","name",3,"autofocus","errorMsg","labelAndPlaceholder"],["class","col-sm-6 col-md-4 mb-2",4,"ngIf"],[1,"foerchUserRoleForm","mt-1","mt-md-2"],[1,"foerchUserRoleForm-head"],[1,"foerchUserRoleForm-head-text"],[1,"btn-icon","ms-auto",3,"click"],[1,"foerchUserRoleForm-body",3,"ngbCollapse"],[1,"col-sm-6","col-md-4","mb-2"],["bindLabel","name",3,"change","clearable","items","placeholder"],[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","foerchUserRoleForm-text",4,"ngIf"],["class","foerchUserRoleForm-date",4,"ngIf"],["class","foerchUserRoleForm-b2bcostcenterslist",3,"foerchUserRoleForm-b2bcostcenterslist-intend",4,"ngIf"],["class","foerchUserRoleForm-b2bcustomerslist",4,"ngIf"],[1,"form-check","form-switch"],["type","checkbox",1,"form-check-input",3,"change","formControlName","id"],[1,"form-check-label",3,"for"],[1,"foerchUserRoleForm-text"],[1,"foerchUserRoleForm-text-text"],[3,"formControlName","inputId"],[1,"foerchUserRoleForm-date"],[1,"foerchUserRoleForm-date-text"],[1,"row"],[1,"col-auto"],[1,"form-group","form-group_simple","has-appendix"],[1,"form-group-append"],[3,"click","type"],["name","dp","ngbDatepicker","","placeholder","DD.MM.YYYY",1,"form-control",3,"formControlName"],[1,"foerchUserRoleForm-b2bcostcenterslist"],["class","foerchUserRoleForm-b2bcostcenterslist-text",4,"ngIf"],["bindLabel","name",3,"clearable","formControlName","items","multiple","placeholder"],[1,"foerchUserRoleForm-b2bcostcenterslist-text"],[1,"foerchUserRoleForm-b2bcustomerslist"],[1,"foerchUserRoleForm-b2bcustomerslist-text"],[1,"mb-5"],["class","row emptyState",4,"ngIf"],[1,"row","emptyState"],[1,"col-12"],[1,"emptyState-text"],[1,"row","g-0"],["class","col-sm-auto mt-1 mt-sm-0 ms-auto me-sm-3 order-last order-sm-first",4,"ngIf"],[1,"col-sm-auto","mt-2","mt-sm-0","me-sm-2"],["type","button",1,"btn","btn-secondary","btn-block",3,"click"],[1,"col-sm-auto","mt-1","mt-sm-0","order-first","order-sm-last"],["type","button",1,"btn","btn-primary","btn-block",3,"click"],[1,"col-sm-auto","mt-1","mt-sm-0","ms-auto","me-sm-3","order-last","order-sm-first"],["type","button",1,"btn","btn-link_secondary","btn-block",3,"click"]],template:function(e,t){if(e&1){let o=S();m(0,"div",5)(1,"div",6)(2,"a",7),R("click",function(){return T(o),y(t.cancel())}),v(3,"cx-icon",8),f(4),u(5,"cxTranslate"),l(),p(6,Ae,3,3,"div",9)(7,Be,3,6,"div",9),l(),p(8,Oe,3,1,"ng-container",10),u(9,"async"),l(),p(10,nt,18,14,"ng-container",11)(11,it,2,0,"div",10),m(12,"div",12),p(13,ot,1,0,"ng-container",13),l(),p(14,st,1,1,"ng-template",null,0,V)(16,ct,10,9,"ng-template",null,1,V)}if(e&2){let o=E(15),a=E(17);r(3),s("type",t.iconTypes.ARROW_LEFT),r(),h(" ",g(5,9,"common.back")," "),r(2),s("ngIf",t.isNew),r(),s("ngIf",t.isLoaded&&!t.isNew),r(),s("ngIf",g(9,11,t.isMobile$)!==!0&&!t.isNew),r(2),s("ngIf",t.isNew||t.isLoaded)("ngIfElse",o),r(),s("ngIf",t.isLoading&&!t.isNew),r(2),s("ngTemplateOutlet",a)}},dependencies:[K,z,H,me,ge,xe,ce,re,te,ee,ne,ie,se,ae,he,pe,Z,Q],encapsulation:2,changeDetection:0}),I);Ee=Ue([fe(),Ge("design:paramtypes",[w,D,L,P,A,N,B,k])],Ee);export{Ee as a};