PageSourceSearch

https://portal.djd.de/250.edea1bd98efd67e6.js

js djd.de collected 2026-10-09 05:10:42 UTC 124,045 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdjd_ui=self.webpackChunkdjd_ui||[]).push([[250],{2249:($,j,o)=>{o.d(j,{p:()=>pe});var l=o(5861),n=o(3075);class x{}class t{}var C=o(7461),s=o(4202),T=o(6435),A=o(8966),b=o(6457);var e=o(5e3),O=o(632),L=o(9189),Z=o(7423),Q=o(7238),X=o(5245),E=o(9808),w=o(7322),c=o(2368),y=o(2357);function B(I,V){if(1&I){const f=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div"),e.\u0275\u0275element(2,"mat-label"),e.\u0275\u0275elementStart(3,"mat-slide-toggle",10),e.\u0275\u0275listener("change",function(){const U=e.\u0275\u0275restoreView(f).$implicit;return e.\u0275\u0275nextContext().change(U)}),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&I){const f=V.$implicit,u=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275attribute("aria-label_3","userRoleLabel: "+f.id)("aria-label_2","userRoleLabel: "+f.name),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("checked",u.check(f.id)),e.\u0275\u0275property("color","primary")("disabled",3===f.id||u.loggenInUserIsAdmin&&u.userEditsHimself&&f.id===u.adminRoleId),e.\u0275\u0275attribute("aria-label_3","userRole: "+f.id)("aria-label_2","userRole: "+f.name),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(f.name)}}function v(I,V){1&I&&(e.\u0275\u0275elementStart(0,"mat-label",11),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"lang"),e.\u0275\u0275elementEnd()),2&I&&(e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(2,1,"user.lastUserInfo")))}let P=(()=>{class I{constructor(f,u,M,U){this.userService=f,this.matDialogRef=u,this.authenticationService=M,this.data=U}ngOnInit(){this.userEditsHimself=this.data.userEditsHimself,this.loggenInUserIsAdmin=this.authenticationService.isLoggedInWithRole(b.G.DJD_Admin)||this.authenticationService.isLoggedInWithRole(b.G.Customer_Admin),this.userRoles=this.data.userRoles,this.data.djdEmployee?this.userService.getDjdRoles().subscribe(f=>{this.roles=f;for(const u of this.roles)"djd-Administrator"==u.name&&(this.adminRoleId=u.id)}
1):(this.isCustomer=!0,this.userService.getCustomerRoles().subscribe(f=>{this.roles=f;for(const u of this.roles)"Kunden-Administrator"==u.name&&(this.adminRoleId=u.id)})),this.matDialogRef.backdropClick().subscribe(()=>this.close()),this.checkCustomerRoles()}close(){this.disableClose||this.matDialogRef.close(this.data)}check(f){for(let u of this.userRoles)if(u.role.id===f)return!0;return!1}change(f){let u=!1,M=0;for(let U=0;U<this.userRoles.length;U++)this.userRoles[U].role.id===f.id&&(u=!0,M=U);if(u)this.userRoles.splice(M,1);else{const U=new x;U.role=f,U.id=0,this.userRoles.push(U)}this.checkCustomerRoles()}checkCustomerRoles(){this.disableClose=this.isCustomer&&0==this.userRoles.length,this.matDialogRef.disableClose=this.disableClose}}return I.\u0275fac=function(f){return new(f||I)(e.\u0275\u0275directiveInject(O.K),e.\u0275\u0275directiveInject(A.so),e.\u0275\u0275directiveInject(L.$),e.\u0275\u0275directiveInject(A.WI))},I.\u0275cmp=e.\u0275\u0275defineComponent({type:I,selectors:[["app-user-role"]],decls:17,vars:15,consts:[[1,"modalContainer"],[1,"modalHeadline"],["mat-mini-fab","","color","'basic'",3,"matTooltip","click"],["svgIcon","close"],[1,"modalContent"],[1,"marginBottom"],[4,"ngFor","ngForOf"],["class","darkRed",4,"ngIf"],[1,"buttonlist-center"],["data-cy","buttonUserRole.close","mat-raised-button","",2,"margin-right","1rem",3,"disabled","matTooltip","click"],["data-cy","userRole",3,"color","disabled","checked","change"],[1,"darkRed"]],template:function(f,u){1&f&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"h2"),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"a",2),e.\u0275\u0275listener("click",function(){return u.close()}),e.\u0275\u0275pipe(6,"lang"),e.\u0275\u0275element(7,"mat-icon",3),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"div",4)(9,"div",5),e.\u0275\u0275template(10,B,5,8,"ng-container",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(11,v,3,3,"mat-label",7),e.\u0275\u0275elementStart(12,"div",8)(13,"a",9),e.\u0275\u0275listener("click",function(){return u.close()}),e.\u0275\u0275pipe(14,"lang"),e.\u0275\u0275text(15),e.\u0275\u0275pipe(16,"lang"),e.\u0275\u0275elementEnd()()()()),2&f&&(e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,7,"userroles.assignment")),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("matTooltip",e.\u0275\u0275pipeBind1(6,9,"action.close.tooltip")),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",u.roles),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",u.disableClose),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("matTooltip",e.\u0275\u0275pipeBind1(14,11,"action.takeOverRole.tooltip")),e.\u0275\u0275property("disabled",u.disableClose),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(16,13,"action.takeOverRole")))},directives:[Z.zs,Q.gM,X.Hw,E.NgForOf,w.hX,c.Rr,E.NgIf],pipes:[y.Z],encapsulation:2}),I})();var h=o(2497),m=o(4770),R=o(2393),N=o(2545);let S=(()=>{class I{constructor(){}getExtendedEmailValidatorPattern(){return"[a-zA-Z0-9\\-!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9\\-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?"}noWhitespaceValidator(f){return 0!==(f.value||"").trim().length?null:{whitespace:!0}}}return I.\u0275fac=function(f){return new(f||I)},I.\u0275prov=e.\u0275\u0275defineInjectable({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();var K=o(7531),g=o(4107),F=o(508),W=o(6173),Y=o(9100),te=o(2140);function J(I,V){1&I&&(e.\u0275\u0275elementStart(0,"h1"),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"lang"),e.\u0275\u0275elementEnd()),2&I&&(e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(2,1,"benutzerverwaltung.edit")))}function q(I,V){1&I&&(e.\u0275\u0275elementStart(0,"h1"),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"lang"),e.\u0275\u0275elementEnd()),2&I&&(e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(2,1,"benutzerverwaltung.djdCreate")))}
1function ce(I,V){if(1&I&&(e.\u0275\u0275elementStart(0,"mat-option",33),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&I){const f=V.$implicit;e.\u0275\u0275propertyInterpolate("value",f),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(f)}}function de(I,V){1&I&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"lang"),e.\u0275\u0275elementEnd()),2&I&&(e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(2,1,"error.invalidEmail")," "))}function he(I,V){if(1&I&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"mat-chip",34),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&I){const f=V.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("matTooltip",f.role.description),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(f.role.name)}}function be(I,V){if(1&I){const f=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",35),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(f),e.\u0275\u0275nextContext().addRole()}),e.\u0275\u0275pipe(1,"lang"),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"lang"),e.\u0275\u0275elementEnd()}2&I&&(e.\u0275\u0275propertyInterpolate("matTooltip",e.\u0275\u0275pipeBind1(1,2,"userroles.assignment.tooltip")),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(3,4,"userroles.assignment")))}function me(I,V){1&I&&(e.\u0275\u0275elementStart(0,"span",36),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"lang"),e.\u0275\u0275elementEnd()),2&I&&(e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(2,1,"error.noDjdAdminsLeft")))}function ue(I,V){1&I&&(e.\u0275\u0275elementStart(0,"span",36),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"lang"),e.\u0275\u0275elementEnd()),2&I&&(e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(2,1,"error.noCustomerAdminsLeft")))}function ne(I,V){if(1&I){const f=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",37),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(f),e.\u0275\u0275nextContext().resetPassword()}),e.\u0275\u0275pipe(1,"lang"),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"lang"),e.\u0275\u0275elementEnd()}2&I&&(e.\u0275\u0275propertyInterpolate("matTooltip",e.\u0275\u0275pipeBind1(1,2,"action.sendEmailForPwReset.tooltip")),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(3,4,"action.sendEmailForPwReset")," "))}function oe(I,V){if(1&I){const f=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",38),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(f);const M=e.\u0275\u0275nextContext();return M.delete(M.user.id)}),e.\u0275\u0275pipe(1,"lang"),e.\u0275\u0275element(2,"mat-icon",39),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"lang"),e.\u0275\u0275elementEnd()}2&I&&(e.\u0275\u0275propertyInterpolate("matTooltip",e.\u0275\u0275pipeBind1(1,2,"action.delete.tooltip")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(4,4,"action.delete")," "))}let pe=(()=>{class I extends C.g{constructor(f,u,M,U,ee,ie,ae,re,se,_e,le){super(),this.fb=f,this.route=u,this.userService=M,this.confirmDialog=U,this.notificationService=ee,this.lang=ie,this.location=ae,this.router=re,this.authenticationService=se,this.configurationService=_e,this.extendedValidatorService=le,this.loading=!0,this.saving=!1,this.valueSaved=!1,this.createNewUser=!1,this.canChangeRoles=!1,this.userEditsHimself=!1,this.noAdminsLeft=!1,this.salutationsListed=[],this.editForm=this.fb.group({id:[],username:[{value:"",disabled:!0}],active:[!0],firstname:["",[n.kI.maxLength(50),n.kI.required,this.extendedValidatorService.n
1oWhitespaceValidator]],lastname:["",[n.kI.maxLength(50),n.kI.required,this.extendedValidatorService.noWhitespaceValidator]],salutation:["",[n.kI.required]],title:[],email:["",[n.kI.required,n.kI.pattern(this.extendedValidatorService.getExtendedEmailValidatorPattern())]],note:[],telephone:[],mobile:[],userRoles:[],editDate:[],sendEmailNotification:[!1]}),this.userRoles=[]}get firstname(){return this.editForm.get("firstname")}get lastname(){return this.editForm.get("lastname")}get email(){return this.editForm.get("email")}get telephone(){return this.editForm.get("telephone")}get mobile(){return this.editForm.get("mobile")}get salutation(){return this.editForm.get("salutation")}get title(){return this.editForm.get("title")}get note(){return this.editForm.get("note")}get active(){var f;return null===(f=this.editForm.get("active"))||void 0===f?void 0:f.value}get sendEmailNotification(){var f;return null===(f=this.editForm.get("sendEmailNotification"))||void 0===f?void 0:f.value}ngOnInit(){this.saving=!1,this.configurationService.getSalutations().subscribe(f=>this.salutationsListed=f),this.loggedInUserId=this.authenticationService.getUserId(),this.route.data.subscribe(f=>{f.self?(this.loadUser(0),this.loading=!1,this.userEditsHimself=!0):f.create?(this.createNewUser=!0,this.user=new t,this.user.djdEmployee=!0,this.userService.getDjdRoles().subscribe(u=>{this.user.userRoles=[{id:0,role:u.filter(M=>3===M.id)[0]}],this.userRoles=this.user.userRoles}),this.user.id=0,this.editForm.patchValue(this.user),this.loading=!1):this.route.params.subscribe(({id:u})=>{this.userId=u,this.loadUser(this.userId),this.loading=!1})}),this.canChangeRoles=this.authenticationService.isLoggedInWithRoleAtLeastOneOf([b.G.DJD_Admin,b.G.Customer_Admin])}loadUser(f){0===f?this.userService.getOwnUser().subscribe(u=>{var M;u&&(this.user=u,this.isDjdEmployee=this.user.djdEmployee,this.updateForm(this.user),this.userRoles=this.user.userRoles,null===(M=this.editForm.get("active"))||void 0===M||M.disable())}):this.userService.getUser(f).subscribe(u=>{var M;u.body&&(this.user=u.body,this.isDjdEmployee=this.user.djdEmployee,this.updateForm(this.user),this.userRoles=this.user.userRoles,this.userId===this.loggedInUserId&&(null===(M=this.editForm.get("active"))||void 0===M||M.disable()))})}updateForm(f){this.editForm.patchValue(f)}save(f){var u=this;this.editForm.markAllAsTouched(),this.saving||(!this.editForm.disabled&&this.editForm.valid?(this.saving=!0,this.editForm.patchValue({userRoles:this.userRoles}),this.saveWithCheck(this.editForm,this.confirmDialog,this.lang,this.userService,this.notificationService,function(){var M=(0,l.Z)(function*(U){u.valueSaved=!0,u.canChangeRoles=yield u.loggedInUserIsAdmin(),f?u.close():(u.location.replaceState("administration/benutzer/"+U.id),u.createNewUser=!1,u.user=U)});return function(U){return M.apply(this,arguments)}}(),M=>{this.saving=!1,409===M.status?this.notificationService.error(this.lang.for("error.concurrency"),this.lang.for("error.concurrency.long")):this.notificationService.error(this.lang.for("error"),this.lang.for("error.saveFailed"))},()=>this.saving=!1)):this.notificationService.error(this.lang.for("error"),this.lang.for("action.saveOnlyIfValid")))}saveAndClose(){this.save(!0)}close(){this.closeWithCheck(this.editForm,this.confirmDialog,this.lang,this.location,new s.y(f=>{this.location.back(),f.complete()}))}delete(f){this.confirmDialog.open(T.X,{data:{title:this.lang.for("delete"),text:this.lang.for("user.delete"),options:[{text:this.lang.for("ok"),value:"ok"},{text:this.lang.for("cancel"),value:"cancel"}]}}).afterClosed().subscribe(M=>{"ok"===M&&this.userService.delete(f).subscribe(()=>{this.notificationService.success(this.lang.for("success.deleted"),this.lang.for("user.deleted")),this.location.back()})})}resetPassword(){this.confirmDialog.open(T.X,{data:{title:this.lang.for("login.password.reset"),text:this.lang.for("password.reset.question"),options:[{text:this.lang.for("ok"),value:"ok"},{text:this.lang.for("cancel"),value:"cancel"}]}}).afterClosed().subscribe(u=>{"ok"===u&&this.sendResetPassword()})}sendResetPassword(){this.authenticationService.requestPasswordReset(this.user.username).subscribe(()=>{this.confirmDialog.open(T.X,{data:{title:this.lang.for("login.password.reset"),text:this.lang.for("password.reset.otherUser")}})},()=>{this.notificationService.error(this.lang.for("error"),this.lang.for("error.password.reset"))})}addRole(){var f=this;this.confirmDialog.open(P,{data:{userId:this.userId,userRoles:this.userRoles,djdEmployee:this.user.djdEmployee,userEditsHimself:this.userEditsHimself}}).afterClosed().subscribe(()=>{this.editForm.markAsDirty(),this.userService.checkRoles(this.editForm.getRawValue()).subscribe(function(){var M=(0,l.Z)(function*(U){f.noAdminsLeft=!U});return function(U){return M.apply(this,arguments)}}())})}hasUnsavedChanges(){return this.editForm.dirty&&this.editForm.touched}loggedInUserIsAdmin(){var f=this;return(0,l.Z)(function*(){return new Promise(function(){var u=(0,l.Z)(function*(M){f.userService.getUser(f.authenticationService.getUserId()).subscribe(U=>{var ee;if(U.body&&(null===(ee=U.body)||void 0===ee?void 0:ee.userRoles.length)>0){let ie=0;for(const ae of U.body.userRoles)("djd-Administrator"===ae.role.name||"Kunden-Administrator"===ae.role.name)&&ie++;M(ie>0)}})});return function(M){return u.apply(this,arguments)}}())})()}}return I.\u0275fac=function(f){return new(f||I)(e.\u0275\u0275directiveInject(n.qu),e.\u0275\u0275directiveInject(h.gz),e.\u0275\u0275directiveInject(O.K),e.\u0275\u0275directiveInject(A.uw),e.\u0275\u0275directiveInject(m.g),e.\u0275\u0275directiveInject(R.T),e.\u0275\u0275directiveInject(E.Location),e.\u0275\u0275directiveInject(h.F0),e.\u0275\u0275directiveInject(L.$),e.\u0275\u0275directiveInject(N.e),e.\u0275\u0275directiveInject(S))},I.\u0275cmp=e.\u0275\u0275defineComponent({type:I,selectors:[["app-user-edit"]],features:[e.\u0275\u0275InheritDefinitionFeature],decls:95,vars:83,consts:[[4,"ngIf"],[1,"content"],["name","editUserForm","role","form",3,"formGroup","ngSubmit"],[1,"form-row"],[1,"fullwidth"],["data-cy","user.username"],["matInput","","formControlName","username","readonly","",3,"value"],["formControlName","active","color","primary",2,"margin-bottom","2rem",3,"checked"],["data-cy","labelSalutation"],["data-cy","user.salutation","formControlName","salutation","required","",3,"select"],[3,"value",4,"ngFor","ngForOf"],[3,"formField","fieldName"],["data-cy","user.title","matInput","","formControlName","title",3,"value"],["data-cy","user.firstname","matInput","","formControlName","firstname","required","",3,"value"],["data-cy","user.lastname","matInput","","formControlName","lastname","required","",3,"value"],["data-cy","user.email","matInput","","formControlName","email","required","",3,"value"],["data-cy","user.telephone","matInput","","formControlName","telephone",3,"value"],["data-cy","user.mobile","matInput","","formControlName","mobile",3,"value"],["data-cy","user.note","matInput","","formControlName","note",3,"value"],["formControlName","sendEmailNotification","color","primary",2,"margin-bottom","2rem",3,"checked"],[1,"flexCenter"],[2,"margin-left","1rem"],[4,"ngFor","ngForOf"],["style","margin-left: 1rem;","data-cy","buttonUserAdministration.userroles","mat-raised-button","",3,"matTooltip","color","click",4,"ngIf"],[1,"errorNoAdminLeft"],["class","darkRed",4,"ngIf"],["data-cy","buttonUserAdministration.save","mat-raised-button","","color","primary",3,"matTooltip","disabled","click"],["svgIcon","save"],["data-cy","buttonUserAdministration.saveAndClose","mat-raised-button","","color","'primary'",2,"margin","1rem",3,"disabled","matTooltip","click"],["data-cy","buttonUserAdministration.close","mat-raised-button","",3,"matTooltip","click"],["svgIcon","close"],["data-cy","buttonUserAdministration.resetPassword","mat-raised-button","",3,"matTooltip","click",4,"ngIf"],["data-cy","buttonUserAdministration.delete","mat-raised-button","","style","margin: 1rem;",3,"matTooltip","click",4,"ngIf"],[3,"value"],["color","primary","selected","","matTooltipPosition","above",3,"matTooltip"],["data-cy","buttonUserAdministration.userroles","mat-raised-button","",2,"margin-left","1rem",3,"matTooltip","color","click"],[1,"darkRed"],["data-cy","buttonUserAdministration.resetPassword","mat-raised-button","",3,"matTooltip","click"],["data-cy","buttonUserAdministration.delete","mat-raised-button","",2,"margin","1rem",3,"matTooltip","click"],["svgIcon","delete"]],template:function(f,u){if(1&f&&(e.\u0275\u0275template(0,J,3,3,"h1",0),e.\u0275\u0275template(1,q,3,3,"h1",0),e.\u0275\u0275elementStart(2,"div",1)(3,"form",2),e.\u0275\u0275listener("ngSubmit",function(){return u.save()}),e.\u0275\u0275elementStart(4,"div",3)(5,"mat-form-field",4)(6,"mat-label",5),e.\u0275\u0275text(7),e.\u0275\u0275pipe(8,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"input",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"mat-slide-toggle",7),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"mat-form-field",4)(14,"mat-label",8),e.\u0275\u0275text(15),e.\u0275\u0275pipe(16,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"mat-select",9),e.\u0275\u0275listener("select",function(){return u.salutation}),e.\u0275\u0275template(18,ce,2,2,"mat-option",10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(19,"app-input-error-required",11),e.\u0275\u0275elementStart(20,"mat-form-field",4)(21,"mat-label"),e.\u0275\u0275text(22),e.\u0275\u0275pipe(23,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(24,"input",12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"mat-form-field",4)(26,"mat-label"),e.\u0275\u0275text(27),e.\u0275\u0275pipe(28,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(29,"input",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(30,"app-input-error-required",11)(31,"app-input-error-no-whitespace",11),e.\u0275\u0275elementStart(32,"mat-form-field",4)(33,"mat-label"),e.\u0275\u0275text(34),e.\u0275\u0275pipe(35,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(36,"input",14),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(37,"app-input-error-required",11)(38,"app-input-error-no-whitespace",11),e.\u0275\u0275elementStart(39,"mat-form-field",4)(40,"mat-label"),e.\u0275\u0275text(41),e.\u0275\u0275pipe(42,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(43,"input",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(44,"app-input-error-required",11),e.\u0275\u0275template(45,de,3,3,"mat-error",0),e.\u0275\u0275elementStart(46,"mat-form-field",4)(47,"mat-label"),e.\u0275\u0275text(48),e.\u0275\u0275pipe(49,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(50,"input",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(51,"mat-form-field",4)(52,"mat-label"),e.\u0275\u0275text(53),e.\u0275\u0275pipe(54,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(55,"input",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(56,"mat-form-field",4)(57,"mat-label"),e.\u0275\u0275text(58),e.\u0275\u0275pipe(59,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(60,"input",18),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(61,"div")(62,"mat-slide-toggle",19),e.\u0275\u0275text(63),e.\u0275\u0275pipe(64,"lang"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(65,"div",20)(66,"mat-label"),e.\u0275\u0275text(67),e.\u0275\u0275pipe(68,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(69,"mat-chip-list",21),e.\u0275\u0275template(70,he,3,2,"ng-container",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(71,be,4,6,"a",23),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(72,"div",24),e.\u0275\u0275template(73,me,3,3,"span",25),e.\u0275\u0275template(74,ue,3,3,"span",25),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(75,"div")(76,"a",26),e.\u0275\u0275listener("click",function(){return u.save()}),e.\u0275\u0275pipe(77,"lang"),e.\u0275\u0275pipe(78,"lang"),e.\u0275\u0275element(79,"mat-icon",27),e.\u0275\u0275text(80),e.\u0275\u0275pipe(81,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(82,"a",28),e.\u0275\u0275listener("click",function(){return u.saveAndClose()}),e.\u0275\u0275pipe(83,"lang"),e.\u0275\u0275element(84,"mat-icon",27),e.\u0275\u0275text(85),e.\u0275\u0275pipe(86,"lang"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(87,"a",29),e.\u0275\u0275listener("click",function(){return u.close()}),e.\u0275\u0275pipe(88,"lang"),e.\u0275\u0275element(89,"mat-icon",30),e.\u0275\u0275text(90),e.\u0275\u0275pipe(91,"lang"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(92,"div"),e.\u0275\u0275template(93,ne,4,6,"a",31),e.\u0275\u0275template(94,oe,5,6,"a",32),e.\u0275\u0275elementEnd()()()),2&f){let M;e.\u0275\u0275property("ngIf",!u.createNewUser),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",u.createNewUser),e.\u0275\u0275advance(2),e.\u0275\u0275property("formGroup",u.editForm),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(8,45,"user.username")),e.\u0275\u0275advance(3),e.\u0275\u0275property("checked",u.active),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(12,47,u.active?"user.active":"user.deactive")),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(16,49,"user.salutation")),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",u.salutationsListed),e.\u0275\u0275advance(1),e.\u0275\u0275property("formField",u.salutation)("fieldName","user.salutation"),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(23,51,"user.title")),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(28,53,"user.firstname")),e.\u0275\u0275advance(3),e.\u0275\u0275property("formField",u.firstname)("fieldName","user.firstname"),e.\u0275\u0275advance(1),e.\u0275\u0275property("formField",u.firstname)("fieldName","user.firstname"),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(35,55,"user.lastname")),e.\u0275\u0275advance(3),e.\u0275\u0275property("formField",u.lastname)("fieldName","user.lastname"),e.\u0275\u0275advance(1),e.\u0275\u0275property("formField",u.lastname)("fieldName","user.lastname"),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(42,57,"user.email")),e.\u0275\u0275advance(3),e.\u0275\u0275property("formField",u.email)("fieldName","user.email"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",((null==(M=u.editForm.get("email"))?null:M.dirty)||(null==(M=u.editForm.get("email"))?null:M.touched))&&(null==(M=u.editForm.get("email"))?null:M.invalid)||(null==(M=u.editForm.get("email"))||null==M.errors?null:M.errors.email)),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(49,59,"user.telephone")),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(54,61,"user.mobile")),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(59,63,"user.note")),e.\u0275\u0275advance(4),e.\u0275\u0275property("checked",u.sendEmailNotification),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(64,65,u.sendEmailNotification?"sendEmailNotification.true":"sendEmailNotification.false")," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(68,67,"userroles")),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",u.userRoles),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",u.canChangeRoles),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",u.noAdminsLeft&&u.isDjdEmployee),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",u.noAdminsLeft&&!u.isDjdEmployee),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("matTooltip",u.editForm.dirty&&!u.saving&&u.editForm.valid?e.\u0275\u0275pipeBind1(78,71,"action.save.tooltip"):e.\u0275\u0275pipeBind1(77,69,"action.saveOnlyIfValid")),e.\u0275\u0275property("disabled",!u.editForm.dirty||u.saving||u.noAdminsLeft),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(81,73,"action.save")," "),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("matTooltip",e.\u0275\u0275pipeBind1(83,75,"action.saveAndClose.tooltip")),e.\u0275\u0275property("disabled",!u.editForm.dirty||u.saving||u.noAdmins
1Left),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(86,77,"action.saveAndClose")," "),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("matTooltip",e.\u0275\u0275pipeBind1(88,79,"action.close.tooltip")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(91,81,"action.close"),""),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!u.createNewUser),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",u.userId&&u.userId!==u.loggedInUserId)}},directives:[E.NgIf,n._Y,n.JL,n.sg,w.KE,w.hX,K.Nt,n.Fj,n.JJ,n.u,c.Rr,g.gD,n.Q7,E.NgForOf,F.ey,W.n,Y.K,w.TO,te.qn,te.HS,Q.gM,Z.zs,X.Hw],pipes:[y.Z],encapsulation:2}),I})()},1094:($,j,o)=>{o.d(j,{c:()=>p});var l=o(517),n=o(2340);class p extends l.a{constructor(t,C){super(t,n.N.backendBase,C)}}},632:($,j,o)=>{o.d(j,{K:()=>t});var l=o(2340),n=o(1094),p=o(5e3),x=o(520);let t=(()=>{class C extends n.c{constructor(T){super(T,"user"),this.httpClient=T,this.resourceUrl=l.N.backendBase+"user"}getUser(T){return this.httpClient.get(`${this.resourceUrl}/get/${T}`,{observe:"response"})}checkRoles(T){return this.httpClient.post(this.resourceUrl.concat("/checkRoles"),JSON.stringify(T))}save(T){return this.httpClient.post(this.resourceUrl.concat("/save"),JSON.stringify(T))}delete(T){return this.httpClient.delete(this.resourceUrl.concat("/delete/"+T))}getDjdRoles(){return this.httpClient.get(`${this.resourceUrl}/roles/djd`)}getCustomerRoles(){return this.httpClient.get(`${this.resourceUrl}/roles/customer`)}getOwnUser(){return this.httpClient.get(`${this.resourceUrl}/getOwn`)}getCustomerUserContractList(T){return this.httpClient.get(this.resourceUrl.concat("/getContractCustomerUser/"+T))}}return C.\u0275fac=function(T){return new(T||C)(p.\u0275\u0275inject(x.eN))},C.\u0275prov=p.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"}),C})()},1868:($,j,o)=>{o.d(j,{s:()=>s});var l=o(8929),n=o(6435),p=o(5e3),x=o(8966),t=o(9808),C=o(2393);let s=(()=>{class T{constructor(b,D,e){this.confirmDialog=b,this.location=D,this.langService=e}canDeactivate(b,D,e,O){const L=e.url,Z=O.url;if(!b.hasUnsavedChanges()||L===Z)return!0;this.location.go(L);const Q=new l.xQ;return this.confirmDialog.open(n.X,{data:{title:this.langService.for(this.customTitleOrDefault(b)),text:this.langService.for(this.customTextOrDefault(b)),options:[{text:this.langService.for("ok"),value:"ok"},{text:this.langService.for("cancel"),value:"cancel"}]}}).afterClosed().subscribe(E=>{Q.next("ok"===E)}),Q.asObservable()}customTitleOrDefault(b){return b.customChangeGuardTitle?b.customChangeGuardTitle:T.DEFAULT_TITLE_KEY}customTextOrDefault(b){return b.customChangeGuardText?b.customChangeGuardText:T.DEFAULT_TEXT_KEY}}return T.DEFAULT_TITLE_KEY="cancelUnsaved.title",T.DEFAULT_TEXT_KEY="cancelUnsaved.text",T.\u0275fac=function(b){return new(b||T)(p.\u0275\u0275inject(x.uw),p.\u0275\u0275inject(t.Location),p.\u0275\u0275inject(C.T))},T.\u0275prov=p.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},2545:($,j,o)=>{o.d(j,{e:()=>x});var l=o(1094),n=o(5e3),p=o(520);let x=(()=>{class t extends l.c{constructor(s){super(s,"configuration"),this.httpClient=s}getSalutations(){return this.httpClient.get(this.url.concat("/salutations"))}getMaxChangedCharsTextRelease(){return this.httpClient.get(this.url.concat("/textMaxChanges"))}getFileUploadConfiguration(){return this.httpClient.get(this.url.concat("/fileUpload"))}save(s){return this.httpClient.post(this.url.concat("/save"),JSON.stringify(s))}}return t.\u0275fac=function(s){return new(s||t)(n.\u0275\u0275inject(p.eN))},t.\u0275prov=n.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},1552:($,j,o)=>{o.d(j,{L:()=>T});var l=o(6787),n=o(1086),p=o(1059),x=o(7545),t=o(4850),C=o(7221),s=o(2075);class T{constructor(b,D="createdDate",e=25){this.pageIndex=0,this.sortDirection="",this.pageSizeOptions=[5,10,25,100],this.loading=!0,this.loadingError=!1,this.dataSource=new s.by,this.filterMap=new Map,this.service=b,this.defaultPageSize=e,this.pageSize=e,this.defaultSortActive=D,this.sortActive=this.defaultSortActive}loadPaging(b){const D=localStorage.getItem(b+".page.index");D&&(this.pageIndex=parseInt(D));const e=localStorage.getItem(b+".page.size");e&&(this.pageSize=parseInt(e));const O=localStorage.getItem(b+".sort.active");O&&(this.sortActive=O);const L=localStorage.getItem(b+".sort.direction");
1L&&(this.sortDirection="asc"===L||"desc"===L?L:"")}setReferences(b,D,e,O,L){this._sort=b,this._paginator=D,this._tableEvent=e,this._filterName=O,this._filterForm=L}abstractAfterViewInit(b){this._sort.sortChange.subscribe(()=>this._paginator.pageIndex=0),(0,l.T)(this._sort.sortChange,this._paginator.page,this._tableEvent).pipe((0,p.O)({}),(0,x.w)(()=>(this.loading=!0,localStorage.setItem(this._filterName+".page.index",this._paginator.pageIndex.toString()),localStorage.setItem(this._filterName+".page.size",this._paginator.pageSize.toString()),localStorage.setItem(this._filterName+".sort.active",this._sort.active),localStorage.setItem(this._filterName+".sort.direction",this._sort.direction),this.service.getListResultWithCount(this._sort.active,this._sort.direction,this._paginator.pageIndex*this._paginator.pageSize,this._paginator.pageSize,this.filterMap,b))),(0,t.U)(D=>(this.loading=!1,this.results=D?D.results:0,D.items)),(0,C.K)(()=>(this.loading=!1,(0,n.of)([])))).subscribe(D=>this.dataSource.data=D)}saveFilterMap(){for(const b of this.filterMap)null!=b[1]?localStorage.setItem(this._filterName+b[0],b[1]):localStorage.removeItem(this._filterName+b[0])}filterClear(){this.sortAndPagingClear(this._filterName),this._paginator.pageIndex=0;for(const b of this.filterMap)localStorage.removeItem(this._filterName+b[0]);this.filterMap.clear(),this._filterForm.reset(),this._tableEvent.emit()}filterApply(){this._paginator.pageIndex=0,this.updateFilterMap(),this.saveFilterMap(),this._tableEvent.emit()}sortAndPagingClear(b){console.log(b+".page.index"),localStorage.removeItem(b+".page.index"),localStorage.removeItem(b+".page.size"),localStorage.removeItem(b+".sort.direction"),localStorage.removeItem(b+".sort.direction"),this.pageSize=this.defaultPageSize,this.pageIndex=0,this.sortActive=this.defaultSortActive,this.sortDirection=""}}},7461:($,j,o)=>{o.d(j,{g:()=>n});var l=o(6435);class n{static trimSpace(x){Object.keys(x.controls).forEach(t=>{x.controls[t].value&&"string"==typeof x.controls[t].value&&x.controls[t].value!==x.controls[t].value.trim()&&x.controls[t].setValue(x.controls[t].value.trim())})}saveWithCheck(x,t,C,s,T,A,b,D){n.trimSpace(x),x.updateValueAndValidity(),x.valid?s.save(x.getRawValue()).subscribe(e=>{T.success(C.for("save.success"),C.for("save.success")),x.markAsPristine(),e&&x.patchValue(e),A&&A(e)},e=>{b&&b(e)},()=>{D&&D()}):(t.open(l.X,{data:{title:C.for("notValid.title"),text:C.for("notValid.message")}}).afterClosed().subscribe(D),x.markAllAsTouched(),b&&b("notValid"))}closeWithCheck(x,t,C,s,T){x.dirty?t.open(l.X,{data:{title:C.for("cancelUnsaved.title"),text:C.for("cancelUnsaved.text"),options:[{text:C.for("ok"),value:"ok"},{text:C.for("cancel"),value:"cancel"}]}}).afterClosed().subscribe(b=>{"ok"===b&&(T?T.subscribe():s.back())}):T?T.subscribe():s.back()}}},9100:($,j,o)=>{o.d(j,{K:()=>C});var l=o(5e3),n=o(9808),p=o(7322),x=o(2357);function t(s,T){if(1&s&&(l.\u0275\u0275elementStart(0,"mat-error"),l.\u0275\u0275text(1),l.\u0275\u0275pipe(2,"lang"),l.\u0275\u0275pipe(3,"lang"),l.\u0275\u0275elementEnd()),2&s){const A=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(l.\u0275\u0275pipeBind2(2,1,"error.noWhitespace",l.\u0275\u0275pipeBind1(3,4,A.fieldName)))}}let C=(()=>{class s{constructor(){}ngOnInit(){}}return s.\u0275fac=function(A){return new(A||s)},s.\u0275cmp=l.\u0275\u0275defineComponent({type:s,selectors:[["app-input-error-no-whitespace"]],inputs:{formField:"formField",fieldName:"fieldName"},decls:1,vars:1,consts:[[4,"ngIf"]],template:function(A,b){1&A&&l.\u0275\u0275template(0,t,4,6,"mat-error",0),2&A&&l.\u0275\u0275property("ngIf",b.formField&&b.formField.errors&&b.formField.invalid&&(b.formField.dirty||b.formField.touched)&&b.formField.errors.whitespace)},directives:[n.NgIf,p.TO],pipes:[x.Z],encapsulation:2}),s})()},6173:($,j,o)=>{o.d(j,{n:()=>C});var l=o(5e3),n=o(9808),p=o(7322),x=o(2357);function t(s,T){if(1&s&&(l.\u0275\u0275elementStart(0,"mat-error"),l.\u0275\u0275text(1),l.\u0275\u0275pipe(2,"lang"),l.\u0275\u0275pipe(3,"lang"),l.\u0275\u0275elementEnd()),2&s){const A=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(l.\u0275\u0275pipeBind2(2,1,"error.field",l.\u0275\u0275pipeBind1(3,4,A.fieldName)))}}let C=(()=>{class s{constructor(){}ngOnInit(){}}return s.\u0275fac=function(A){return new(A||s)},s.\u0275cmp=l.\u0275\u0275defineComponent({type:s,selectors:[["app-input-error-required"]],inputs:{formField:"formField",fieldName:"fieldName"},decls:1,vars:1,consts:[[4,"ngIf"]],template:function(A,b){1&A&&l.\u0275\u0275template(0,t,4,6,"mat-error",0),2&A&&l.\u0275\u0275property("ngIf",b.formField&&b.formField.errors&&b.formField.invalid&&(b.formField.dirty||b.formField.touched)&&b.formField.errors.required)},directives:[n.NgIf,p.TO],pipes:[x.Z],encapsulation:2}),s})()},9832:($,j,o)=>{o.d(j,{A9:()=>L,Yi:()=>Q,vV:()=>X});var l=o(3191),n=o(449),p=o(5e3),x=o(3075),t=o(508),C=o(5664);const s=["button"],T=["*"],A=new p.InjectionToken("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),b=new p.InjectionToken("MatButtonToggleGroup"),D={provide:x.JU,useExisting:(0,p.forwardRef)(()=>L),multi:!0};let e=0;class O{constructor(w,c){this.source=w,this.value=c}}let L=(()=>{class E{constructor(c,y){this._changeDetector=c,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+e++,this.valueChange=new p.EventEmitter,this.change=new p.EventEmitter,this.appearance=y&&y.appearance?y.appearance:"standard"}get name(){return this._name}set name(c){this._name=c,this._buttonToggles&&this._buttonToggles.forEac
1h(y=>{y.name=this._name,y._markForCheck()})}get vertical(){return this._vertical}set vertical(c){this._vertical=(0,l.Ig)(c)}get value(){const c=this._selectionModel?this._selectionModel.selected:[];return this.multiple?c.map(y=>y.value):c[0]?c[0].value:void 0}set value(c){this._setSelectionByValue(c),this.valueChange.emit(this.value)}get selected(){const c=this._selectionModel?this._selectionModel.selected:[];return this.multiple?c:c[0]||null}get multiple(){return this._multiple}set multiple(c){this._multiple=(0,l.Ig)(c)}get disabled(){return this._disabled}set disabled(c){this._disabled=(0,l.Ig)(c),this._buttonToggles&&this._buttonToggles.forEach(y=>y._markForCheck())}ngOnInit(){this._selectionModel=new n.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(c=>c.checked))}writeValue(c){this.value=c,this._changeDetector.markForCheck()}registerOnChange(c){this._controlValueAccessorChangeFn=c}registerOnTouched(c){this._onTouched=c}setDisabledState(c){this.disabled=c}_emitChangeEvent(){const c=this.selected,y=Array.isArray(c)?c[c.length-1]:c,B=new O(y,this.value);this._controlValueAccessorChangeFn(B.value),this.change.emit(B)}_syncButtonToggle(c,y,B=!1,v=!1){!this.multiple&&this.selected&&!c.checked&&(this.selected.checked=!1),this._selectionModel?y?this._selectionModel.select(c):this._selectionModel.deselect(c):v=!0,v?Promise.resolve().then(()=>this._updateModelValue(B)):this._updateModelValue(B)}_isSelected(c){return this._selectionModel&&this._selectionModel.isSelected(c)}_isPrechecked(c){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(y=>null!=c.value&&y===c.value):c.value===this._rawValue)}_setSelectionByValue(c){this._rawValue=c,this._buttonToggles&&(this.multiple&&c?(Array.isArray(c),this._clearSelection(),c.forEach(y=>this._selectValue(y))):(this._clearSelection(),this._selectValue(c)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(c=>c.checked=!1)}_selectValue(c){const y=this._buttonToggles.find(B=>null!=B.value&&B.value===c);y&&(y.checked=!0,this._selectionModel.select(y))}_updateModelValue(c){c&&this._emitChangeEvent(),this.valueChange.emit(this.value)}}return E.\u0275fac=function(c){return new(c||E)(p.\u0275\u0275directiveInject(p.ChangeDetectorRef),p.\u0275\u0275directiveInject(A,8))},E.\u0275dir=p.\u0275\u0275defineDirective({type:E,selectors:[["mat-button-toggle-group"]],contentQueries:function(c,y,B){if(1&c&&p.\u0275\u0275contentQuery(B,Q,5),2&c){let v;p.\u0275\u0275queryRefresh(v=p.\u0275\u0275loadQuery())&&(y._buttonToggles=v)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(c,y){2&c&&(p.\u0275\u0275attribute("aria-disabled",y.disabled),p.\u0275\u0275classProp("mat-button-toggle-vertical",y.vertical)("mat-button-toggle-group-appearance-standard","standard"===y.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[p.\u0275\u0275ProvidersFeature([D,{provide:b,useExisting:E}])]}),E})();const Z=(0,t.Kr)(class{});let Q=(()=>{class E extends Z{constructor(c,y,B,v,P,h){super(),this._changeDetectorRef=y,this._elementRef=B,this._focusMonitor=v,this._isSingleSelector=!1,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new p.EventEmitter;const m=Number(P);this.tabIndex=m||0===m?m:null,this.buttonToggleGroup=c,this.appearance=h&&h.appearance?h.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(c){this._appearance=c}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(c){const y=(0,l.Ig)(c);y!==this._checked&&(this._checked=y,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(c){this._disabled=(0,l.Ig)(c)}ngOnInit(){const c=this.buttonToggleGroup;this._isSingleSelector=c&&!c.multiple,this.id=this.id||"mat-button-toggle-"+e++,this._isSingleSelector&&(this.name=c.name),c&&(c._isPrechecked(this)?this.checked=!0:c._isSelected(this)!==this._checked&&c._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const c=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),c&&c._isSelected(this)&&c._syncButtonToggle(this,!1,
1!1,!0)}focus(c){this._buttonElement.nativeElement.focus(c)}_onButtonClick(){const c=!!this._isSingleSelector||!this._checked;c!==this._checked&&(this._checked=c,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new O(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}}return E.\u0275fac=function(c){return new(c||E)(p.\u0275\u0275directiveInject(b,8),p.\u0275\u0275directiveInject(p.ChangeDetectorRef),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(C.tE),p.\u0275\u0275injectAttribute("tabindex"),p.\u0275\u0275directiveInject(A,8))},E.\u0275cmp=p.\u0275\u0275defineComponent({type:E,selectors:[["mat-button-toggle"]],viewQuery:function(c,y){if(1&c&&p.\u0275\u0275viewQuery(s,5),2&c){let B;p.\u0275\u0275queryRefresh(B=p.\u0275\u0275loadQuery())&&(y._buttonElement=B.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(c,y){1&c&&p.\u0275\u0275listener("focus",function(){return y.focus()}),2&c&&(p.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("id",y.id)("name",null),p.\u0275\u0275classProp("mat-button-toggle-standalone",!y.buttonToggleGroup)("mat-button-toggle-checked",y.checked)("mat-button-toggle-disabled",y.disabled)("mat-button-toggle-appearance-standard","standard"===y.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[p.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:T,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(c,y){if(1&c&&(p.\u0275\u0275projectionDef(),p.\u0275\u0275elementStart(0,"button",0,1),p.\u0275\u0275listener("click",function(){return y._onButtonClick()}),p.\u0275\u0275elementStart(2,"span",2),p.\u0275\u0275projection(3),p.\u0275\u0275elementEnd()(),p.\u0275\u0275element(4,"span",3)(5,"span",4)),2&c){const B=p.\u0275\u0275reference(1);p.\u0275\u0275property("id",y.buttonId)("disabled",y.disabled||null),p.\u0275\u0275attribute("tabindex",y.disabled?-1:y.tabIndex)("aria-pressed",y.checked)("name",y.name||null)("aria-label",y.ariaLabel)("aria-labelledby",y.ariaLabelledby),p.\u0275\u0275advance(5),p.\u0275\u0275property("matRippleTrigger",B)("matRippleDisabled",y.disableRipple||y.disabled)}},directives:[t.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.cdk-high-contrast-active .mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}.cdk-high-contrast-active .mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .cdk-high-contrast-active .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}
1.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],encapsulation:2,changeDetection:0}),E})(),X=(()=>{class E{}return E.\u0275fac=function(c){return new(c||E)},E.\u0275mod=p.\u0275\u0275defineNgModule({type:E}),E.\u0275inj=p.\u0275\u0275defineInjector({imports:[[t.BQ,t.si],t.BQ]}),E})()},7446:($,j,o)=>{o.d(j,{oG:()=>E,p9:()=>B});var l=o(3191),n=o(5e3),p=o(3075),x=o(508),t=o(6360),C=o(5664),s=o(7144);const T=["input"],A=function(v){return{enterDuration:v}},b=["*"],D=new n.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:e});function e(){return{color:"accent",clickAction:"check-indeterminate"}}let O=0;const L=e(),Z={provide:p.JU,useExisting:(0,n.forwardRef)(()=>E),multi:!0};class Q{}const X=(0,x.sb)((0,x.pj)((0,x.Kr)((0,x.Id)(class{constructor(v){this._elementRef=v}}))));let E=(()=>{class v extends X{constructor(h,m,R,N,S,K,g){super(h),this._changeDetectorRef=m,this._focusMonitor=R,this._ngZone=N,this._animationMode=K,this._options=g,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++O,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new n.EventEmitter,this.indeterminateChange=new n.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||L,this.color=this.defaultColor=this._options.color||L.color,this.tabIndex=parseInt(S)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(h){this._required=(0,l.Ig)(h)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(h=>{h||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(h){h!=this.checked&&(this._checked=h,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(h){const m=(0,l.Ig)(h);m!==this.disabled&&(this._disabled=m,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(h){const m=h!=this._indeterminate;this._indeterminate=(0,l.Ig)(h),m&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(h){this.checked=!!h}registerOnChange(h){this._controlValueAccessorChangeFn=h}registerOnTouched(h){this._onTouched=h}setDisabledState(h){this.disabled=h}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(h){let m=this._currentCheckState,R=this._elementRef.nativeElement;if(m!==h&&(this._currentAnimationClass.length>0&&R.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(m,h),this._currentCheckState=h,this._currentAnimationClass.length>0)){R.classList.add(this._currentAnimationClass);const N=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{R.classList.remove(N)},1e3)})}}_emitChangeEvent(){const h=new Q;h.source=this,h.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(h),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(h){var m;const R=null===(m=this._options)||void 0===m?void 0:m.clickAction;h.stopPropagation(),this.disabled||"noop"===R?!this.disabled&&"noop"===R&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==R&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(h,m){h?this._focusMonitor.focusVia(this._inputElement,h,m):this._inputElement.nativeElement.focus(m)}_onInteractionEvent(h){h.stopPropagation()}_getAnimationClassForCheckStateTransition(h,m){if("NoopAnimations"===this._animationMode)return"";let R="";switch(h){case 0:if(1===m)R="unchecked-checked";else{if(3!=m)return"";R="unchecked-indeterminate"}break;case 2:R=1===m?"unchecked-checked":"unchecked-indeterminate";break;case 1:R=2===m?"checked-unchecked":"checked-indeterminate";break;case 3:R=1===m?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${R}`}_syncIndeterminate(h){const m=this._inputElement;m&&(m.nativeElement.indeterminate=h)}}return v.\u0275fac=function(h){return new(h||v)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(C.tE),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(t.Qb,8),n.\u0275\u0275directiveInject(D,8))},v.\u0275cmp=n.\u0275\u0275defineComponent({type:v,selectors:[["mat-checkbox"]],viewQuery:function(h,m){if(1&h&&(n.\u0275\u0275viewQuery(T,5),n.\u0275\u0275viewQuery(x.wG,5)),2&h){let R;n.\u0275\u0275queryRefresh(R=n.\u0275\u0275loadQuery())&&(m._inputElement=R.first),n.\u0275\u0275queryRefresh(R=n.\u0275\u0275loadQuery())&&(m.ripple=R.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(h,m){2&h&&(n.\u0275\u0275hostProperty("id",m.id),n.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),n.\u0275\u0275classProp("mat-checkbox-indeterminate",m.indeterminate)("mat-checkbox-checked",m.checked)("mat-checkbox-disabled",m.disabled)("mat-checkbox-label-before","before"==m.labelPosition)("_mat-animation-noopable","NoopAnimations"===m._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[n.\u0275\u0275ProvidersFeature([Z]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:b,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(h,m){if(1&h&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2)(3,"input",3,4),n.\u0275\u0275listener("change",function(N){return m._onInteractionEvent(N)})("click",function(N){return m._onInputClick(N)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(5,"span",5),n.\u0275\u0275element(6,"span",6),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(7,"span",7),n.\u0275\u0275elementStart(8,"span",8),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(9,"svg",9),n.\u0275\u0275element(10,"path",10),n.\u0275\u0275elementEnd(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275element(11,"span",11),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(12,"span",12,13),n.\u0275\u0275listener("cdkObserveContent",function(){return m._onLabelTextChange()}),n.\u0275\u0275elementStart(14,"span",14),n.\u0275\u0275text(15,"\xa0"),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(16),n.\u0275\u0275elementEnd()()),2&h){const R=n.\u0275\u0275reference(1),N=n.\u0275\u0275reference(13);n.\u0275\u0275attribute("for",m.inputId),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-checkbox-inner-container-no-side-margin",!N.textContent||!N.textContent.trim()),n.\u0275\u0275advance(1),n.\u0275\u0275property("id",m.inputId)("required",m.required)("checked",m.checked)("disabled",m.disabled)("tabIndex",m.tabIndex),n.\u0275\u0275attribute("value",m.value)("name",m.name)("aria-label",m.ariaLabel||null)("aria-labelledby",m.ariaLabelledby)("aria-checked",m._getAriaChecked())("aria-describedby",m.ariaDescribedby),n.\u0275\u0275advance(2),n.\u0275\u0275property("matRippleTrigger",R)("matRippleDisabled",m._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",n.\u0275\u0275pureFunction1(19,A,"NoopAnimations"===m._animationMode?0:150))}},directives:[x.wG,s.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}
150%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;
1transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),v})(),y=(()=>{class v{}return v.\u0275fac=function(h){return new(h||v)},v.\u0275mod=n.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=n.\u0275\u0275defineInjector({}),v})(),B=(()=>{class v{}return v.\u0275fac=function(h){return new(h||v)},v.\u0275mod=n.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=n.\u0275\u0275defineInjector({imports:[[x.si,x.BQ,s.Q8,y],x.BQ,y]}),v})()},2368:($,j,o)=>{o.d(j,{Rr:()=>E,rP:()=>B});var l=o(7144),n=o(5e3),p=o(508),x=o(3191),t=o(3075),C=o(6360),s=o(5664);const T=["thumbContainer"],A=["toggleBar"],b=["input"],D=function(v){return{enterDuration:v}},e=["*"],O=new n.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let L=0;const Z={provide:t.JU,useExisting:(0,n.forwardRef)(()=>E),multi:!0};class Q{constructor(P,h){this.source=P,this.checked=h}}const X=(0,p.sb)((0,p.pj)((0,p.Kr)((0,p.Id)(class{constructor(v){this._elementRef=v}}))));let E=(()=>{class v extends X{constructor(h,m,R,N,S,K){super(h),this._focusMonitor=m,this._changeDetectorRef=R,this.defaults=S,this._onChange=g=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++L,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new n.EventEmitter,this.toggleChange=new n.EventEmitter,this.tabIndex=parseInt(N)||0,this.color=this.defaultColor=S.color||"accent",this._noopAnimations="NoopAnimations"===K}get required(){return this._required}set required(h){this._required=(0,x.Ig)(h)}get checked(){return this._checked}set checked(h){this._checked=(0,x.Ig)(h),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(h=>{h||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(h){h.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(h){h.stopPropagation()}writeValue(h){this.checked=!!h}registerOnChange(h){this._onChange=h}registerOnTouched(h){this._onTouched=h}setDisabledState(h){this.disabled=h,this._changeDetectorRef.markForCheck()}focus(h,m){m?this._focusMonitor.focusVia(this._inputElement,m,h):this._inputElement.nativeElement.focus(h)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new Q(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return v.\u0275fac=function(h){return new(h||v)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(s.tE),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(O),n.\u0275\u0275directiveInject(C.Qb,8))},v.\u0275cmp=n.\u0275\u0275defineComponent({type:v,selectors:[["mat-slide-toggle"]],viewQuery:function(h,m){if(1&h&&(n.\u0275\u0275viewQuery(T,5),n.\u0275\u0275viewQuery(A,5),n.\u0275\u0275viewQuery(b,5)),2&h){let R;n.\u0275\u0275queryRefresh(R=n.\u0275\u0275loadQuery())&&(m._thumbEl=R.first),n.\u0275\u0275queryRefresh(R=n.\u0275\u0275loadQuery())&&(m._thumbBarEl=R.first),n.\u0275\u0275queryRefresh(R=n.\u0275\u0275loadQuery())&&(m._inputElement=R.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(h,m){2&h&&(n.\u0275\u0275hostProperty("id",m.id),n.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),n.\u0275\u0275classProp("mat-checked",m.checked)("mat-disabled",m.disabled)("mat-slide-toggle-label-before","before"==m.labelPosition)("_mat-animation-noopable",m._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[n.\u0275\u0275ProvidersFeature([Z]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:e,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(h,m){if(1&h&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2,3)(4,"input",4,5),n.\u0275\u0275listener("change",function(N){return m._onChangeEvent(N)})("click",function(N){return m._onInputClick(N)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(6,"span",6,7),n.\u0275\u0275element(8,"span",8),n.\u0275\u0275elementStart(9,"span",9),n.\u0275\u0275element(10,"span",10),n.\u0275\u0275elementEnd()()(),n.\u0275\u0275elementStart(11,"span",11,12),n.\u0275\u0275listener("cdkObserveContent",function(){return m._onLabelTextChange()}),n.\u0275\u0275elementStart(13,"span",13),n.\u0275\u0275text(14,"\xa0"),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(15),n.\u0275\u0275elementEnd()()),2&h){const R=n.\u0275\u0275reference(1),N=n.\u0275\u0275reference(12);n.\u0275\u0275attribute("for",m.inputId),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-slide-toggle-bar-no-side-margin",!N.textContent||!N.textContent.trim()),n.\u0275\u0275advance(2),n.\u0275\u0275property("id",m.inputId)("required",m.required)("tabIndex",m.tabIndex)("checked",m.checked)("disabled",m.disabled),n.\u0275\u0275attribute("name",m.name)("aria-checked",m.checked)("aria-label",m.ariaLabel)("aria-labelledby",m.ariaLabelledby)("aria-describedby",m.ariaDescribedby),n.\u0275\u0275advance(5),n.\u0275\u0275property("matRippleTrigger",R)("matRippleDisabled",m.disableRipple||m.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.\u0275\u0275pureFunction1(18,D,m._noopAnimations?0:150))}},directives:[p.wG,l.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}
1@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),v})(),y=(()=>{class v{}return v.\u0275fac=function(h){return new(h||v)},v.\u0275mod=n.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=n.\u0275\u0275defineInjector({}),v})(),B=(()=>{class v{}return v.\u0275fac=function(h){return new(h||v)},v.\u0275mod=n.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=n.\u0275\u0275defineInjector({imports:[[y,p.si,p.BQ,l.Q8],y,p.BQ]}),v})()},4847:($,j,o)=>{o.d(j,{JX:()=>N,YE:()=>P,nU:()=>R});var l=o(5e3),n=o(3191),p=o(1159),x=o(508),t=o(8929),C=o(6787),s=o(1777),T=o(5664),A=o(9808);const b=["mat-sort-header",""];function D(S,K){if(1&S){const g=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",3),l.\u0275\u0275listener("@arrowPosition.start",function(){return l.\u0275\u0275restoreView(g),l.\u0275\u0275nextContext()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return l.\u0275\u0275restoreView(g),l.\u0275\u0275nextContext()._disableViewStateAnimation=!1}),l.\u0275\u0275element(1,"div",4),l.\u0275\u0275elementStart(2,"div",5),l.\u0275\u0275element(3,"div",6)(4,"div",7)(5,"div",8),l.\u0275\u0275elementEnd()()}if(2&S){const g=l.\u0275\u0275nextContext();l.\u0275\u0275property("@arrowOpacity",g._getArrowViewState())("@arrowPosition",g._getArrowViewState())("@allowChildren",g._getArrowDirectionState()),l.\u0275\u0275advance(2),l.\u0275\u0275property("@indicator",g._getArrowDirectionState()),l.\u0275\u0275advance(1),l.\u0275\u0275property("@leftPointer",g._getArrowDirectionState()),l.\u0275\u0275advance(1),l.\u0275\u0275property("@rightPointer",g._getArrowDirectionState())}}const e=["*"],O=x.mZ.ENTERING+" "+x.yN.STANDARD_CURVE,L={indicator:(0,s.X$)("indicator",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"translateY(0px)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"translateY(10px)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(O))]),leftPointer:(0,s.X$)("leftPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(O))]),rightPointer:(0,s.X$)("rightPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(O))]),arrowOpacity:(0,s.X$)("arrowOpacity",[(0,s.SB)("desc-to-active, asc-to-active, active",(0,s.oB)({opacity:1})),(0,s.SB)("desc-to-hint, asc-to-hint, hint",(0,s.oB)({opacity:.54})),(0,s.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,s.oB)({opacity:0})),(0,s.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,s.jt)("0ms")),(0,s.eR)("* <=> *",(0,s.jt)(O))]),arrowPosition:(0,s.X$)("arrowPosition",[(0,s.eR)("* => desc-to-hint, * => desc-to-active",(0,s.jt)(O,(0,s.F4)([(0,s.oB)({transform:"translateY(-25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-desc, * => active-to-desc",(0,s.jt)(O,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(25%)"})]))),(0,s.eR)("* => asc-to-hint, * => asc-to-active",(0,s.jt)(O,(0,s.F4)([(0,s.oB)({transform:"translateY(25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-asc, * => active-to-asc",(0,s.jt)(O,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(-25%)"})]))),(0,s.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,s.oB)({transform:"translateY(0)"})),(0,s.SB)("hint-to-desc, active-to-desc, desc",(0,s.oB)({transform:"translateY(-25%)"})),(0,s.SB)("hint-to-asc, active-to-asc, asc",(0,s.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,s.X$)("allowChildren",[(0,s.eR)("* <=> *",[(0,s.IO)("@*",(0,s.pV)(),{optional:!0})])])};let w=(()=>{class S{constructor(){this.changes=new t.xQ}}return S.\u0275fac=function(g){return new(g||S)},S.\u0275prov=l.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();const y={provide:w,deps:[[new l.Optional,new l.SkipSelf,w]],useFactory:function c(S){return S||new w}},B=new l.InjectionToken("MAT_SORT_DEFAULT_OPTIONS"),v=(0,x.dB)((0,x.Id)(class{}));let P=(()=>{class S extends v{constructor(g){super(),this._defaultOptions=g,this.sortables=new Map,this._stateChanges=new t.xQ,this.start="asc",this._direction="",this.sortChange=new l.EventEmitter}get direction(){return this._direction}set direction(g){this._direction=g}get disableClear(){return this._disableClear}set disableClear(g){this._disableClear=(0,n.Ig)(g)}register(g){this.sortables.set(g.id,g)}deregister(g){this.sortables.delete(g.id)}sort(g){this.active!=g.id?(this.active=g.id,this.direction=g.start?g.start:this.start):this.direction=this.getNextSortDirection(g),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(g){var F,W,Y;if(!g)return"";const te=null!==(W=null!==(F=null==g?void 0:g.disableClear)&&void 0!==F?F:this.disableClear)&&void 0!==W?W:!!(null===(Y=this._defaultOptions)||void 0===Y?void 0:Y.disableClear);let J=function h(S,K){let g=["asc","desc"];return"desc"==S&&g.reverse(),K||g.push(""),g}(g.start||this.start,te),q=J.indexOf(this.direction)+1;return q>=J.length&&(q=0),J[q]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return S.\u0275fac=function(g){return new(g||S)(l.\u0275\u0275directiveInject(B,8))},S.\u0275dir=l.\u0275\u0275defineDirective({type:S,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[l.\u0275\u0275InheritDefinitionFeature,l.\u0275\u0275NgOnChangesFeature]}),S})();const m=(0,x.Id)(class{});let R=(()=>{class S extends m{constructor(g,F,W,Y,te,J,q){super(),this._intl=g,this._changeDetectorRef=F,this._sort=W,this._columnDef=Y,this._focusMonitor=te,this._elementRef=J,this._ariaDescriber=q,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(g){this._updateSortActionDescription(g)}get disableClear(){return this._disableClear}set disableClear(g){this._disableClear=(0,n.Ig)(g)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(g=>{const F=!!g;F!==this._showIndicatorHint&&(this._setIndicatorHintVisible(F),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(g){this._isDisabled()&&g||(this._showIndicatorHint=g,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(g){this._viewState=g||{},this._disableViewStateAnimation&&(this._viewState={toState:g.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(g){!this._isDisabled()&&(g.keyCode===p.L_||g.keyCode===p.K5)&&(g.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const g=this._viewState.fromState;return(g?`${g}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(g){var F,W;this._sortButton&&(null===(F=this._ariaDescriber)||void 0===F||F.removeDescription(this._sortButton,this._sortActionDescription),null===(W=this._ariaDescriber)||void 0===W||W.describe(this._sortButton,g)),this._sortActionDescription=g}_handleStateChanges(){this._rerenderSubscription=(0,C.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return S.\u0275fac=function(g){return new(g||S)(l.\u0275\u0275directiveInject(w),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(P,8),l.\u0275\u0275directiveInject("MAT_SORT_HEADER_COLUMN_DEF",8),l.\u0275\u0275directiveInject(T.tE),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(T.$s,8))},S.\u0275cmp=l.\u0275\u0275defineComponent({type:S,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(g,F){1&g&&l.\u0275\u0275listener("click",function(){return F._handleClick()})("keydown",function(Y){return F._handleKeydown(Y)})("mouseenter",function(){return F._setIndicatorHintVisible(!0)})("mouseleave",function(){return F._setIndicatorHintVisible(!1)}),2&g&&(l.\u0275\u0275attribute("aria-sort",F._getAriaSortAttribute()),l.\u0275\u0275classProp("mat-sort-header-disabled",F._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[l.\u0275\u0275InheritDefinitionFeature],attrs:b,ngContentSelectors:e,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(g,F){1&g&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"div",0)(1,"div",1),l.\u0275\u0275projection(2),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(3,D,6,6,"div",2),l.\u0275\u0275elementEnd()),2&g&&(l.\u0275\u0275classProp("mat-sort-header-sorted",F._isSorted())("mat-sort-header-position-before","before"==F.arrowPosition),l.\u0275\u0275attribute("tabindex",F._isDisabled()?null:0)("role",F._isDisabled()?null:"button"),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",F._renderArrow()))},directives:[A.NgIf],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}
1.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[L.indicator,L.leftPointer,L.rightPointer,L.arrowOpacity,L.arrowPosition,L.allowChildren]},changeDetection:0}),S})(),N=(()=>{class S{}return S.\u0275fac=function(g){return new(g||S)},S.\u0275mod=l.\u0275\u0275defineNgModule({type:S}),S.\u0275inj=l.\u0275\u0275defineInjector({providers:[y],imports:[[A.CommonModule,x.BQ]]}),S})()},3251:($,j,o)=>{o.d(j,{Nh:()=>Ae,SP:()=>Se,Vc:()=>pe,uX:()=>U});var l=o(5664),n=o(7144),p=o(7429),x=o(9808),t=o(5e3),C=o(508),s=o(6360),T=o(2986),A=o(1059),b=o(5778),D=o(7625),e=o(8929),O=o(4096),L=o(3753),Z=o(1086),Q=o(6787),X=o(8723),E=o(1777),w=o(226),c=o(3191),y=o(1159),B=o(925),v=o(5421);function P(d,k){1&d&&t.\u0275\u0275projection(0)}const h=["*"];function m(d,k){}const R=function(d){return{animationDuration:d}},N=function(d,k){return{value:d,params:k}},S=["tabListContainer"],K=["tabList"],g=["tabListInner"],F=["nextPaginator"],W=["previousPaginator"],Y=["tabBodyWrapper"],te=["tabHeader"];function J(d,k){}function q(d,k){if(1&d&&t.\u0275\u0275template(0,J,0,0,"ng-template",10),2&d){const i=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275property("cdkPortalOutlet",i.templateLabel)}}function ce(d,k){if(1&d&&t.\u0275\u0275text(0),2&d){const i=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275textInterpolate(i.textLabel)}}function de(d,k){if(1&d){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",6),t.\u0275\u0275listener("click",function(){const r=t.\u0275\u0275restoreView(i),_=r.$implicit,H=r.index,G=t.\u0275\u0275nextContext(),z=t.\u0275\u0275reference(1);return G._handleClick(_,z,H)})("cdkFocusChange",function(r){const H=t.\u0275\u0275restoreView(i).index;return t.\u0275\u0275nextContext()._tabFocusChanged(r,H)}),t.\u0275\u0275elementStart(1,"div",7),t.\u0275\u0275template(2,q,1,1,"ng-template",8),t.\u0275\u0275template(3,ce,1,1,"ng-template",null,9,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275elementEnd()()}if(2&d){const i=k.$implicit,a=k.index,r=t.\u0275\u0275reference(4),_=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mat-tab-label-active",_.selectedIndex===a),t.\u0275\u0275property("id",_._getTabLabelId(a))("ngClass",i.labelClass)("disabled",i.disabled)("matRippleDisabled",i.disabled||_.disableRipple),t.\u0275\u0275attribute("tabIndex",_._getTabIndex(i,a))("aria-posinset",a+1)("aria-setsize",_._tabs.length)("aria-controls",_._getTabContentId(a))("aria-selected",_.selectedIndex===a)("aria-label",i.ariaLabel||null)("aria-labelledby",!i.ariaLabel&&i.ariaLabelledby?i.ariaLabelledby:null),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.templateLabel)("ngIfElse",r)}}function he(d,k){if(1&d){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-tab-body",11),t.\u0275\u0275listener("_onCentered",function(){return t.\u0275\u0275restoreView(i),t.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(r){return t.\u0275\u0275restoreView(i),t.\u0275\u0275nextContext()._setTabBodyWrapperHeight(r)}),t.\u0275\u0275elementEnd()}if(2&d){const i=k.$implicit,a=k.index,r=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mat-tab-body-active",r.selectedIndex===a),t.\u0275\u0275property("id",r._getTabContentId(a))("ngClass",i.bodyClass)("content",i.content)("position",i.position)("origin",i.origin)("animationDuration",r.animationDuration),t.\u0275\u0275attribute("tabindex",null!=r.contentTabIndex&&r.selectedIndex===a?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(a))}}const me=new t.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function ue(){return k=>({left:k?(k.offsetLeft||0)+"px":"0",width:k?(k.offsetWidth||0)+"px":"0"})}});let ne=(()=>{class d{constructor(i,a,r,_){this._elementRef=i,this._ngZone=a,this._inkBarPositioner=r,this._animationMode=_}alignToElement(i){this.show(),this._ngZone.onStable.pipe((0,T.q)(1)).subscribe(()=>{const a=this._inkBarPositioner(i),r=this._elementRef.nativeElement;r.style.left=a.left,r.style.width=a.width})}
1show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(me),t.\u0275\u0275directiveInject(s.Qb,8))},d.\u0275dir=t.\u0275\u0275defineDirective({type:d,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(i,a){2&i&&t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===a._animationMode)}}),d})();const oe=new t.InjectionToken("MatTabContent");let pe=(()=>{class d{constructor(i){this.template=i}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.TemplateRef))},d.\u0275dir=t.\u0275\u0275defineDirective({type:d,selectors:[["","matTabContent",""]],features:[t.\u0275\u0275ProvidersFeature([{provide:oe,useExisting:d}])]}),d})();const I=new t.InjectionToken("MatTabLabel"),V=new t.InjectionToken("MAT_TAB"),u=(0,C.Id)(class{}),M=new t.InjectionToken("MAT_TAB_GROUP");let U=(()=>{class d extends u{constructor(i,a){super(),this._viewContainerRef=i,this._closestTabGroup=a,this.textLabel="",this._contentPortal=null,this._stateChanges=new e.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(i){this._setTemplateLabelInput(i)}get content(){return this._contentPortal}ngOnChanges(i){(i.hasOwnProperty("textLabel")||i.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new p.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(i){i&&i._closestTab===this&&(this._templateLabel=i)}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(M,8))},d.\u0275cmp=t.\u0275\u0275defineComponent({type:d,selectors:[["mat-tab"]],contentQueries:function(i,a,r){if(1&i&&(t.\u0275\u0275contentQuery(r,I,5),t.\u0275\u0275contentQuery(r,oe,7,t.TemplateRef)),2&i){let _;t.\u0275\u0275queryRefresh(_=t.\u0275\u0275loadQuery())&&(a.templateLabel=_.first),t.\u0275\u0275queryRefresh(_=t.\u0275\u0275loadQuery())&&(a._explicitContent=_.first)}},viewQuery:function(i,a){if(1&i&&t.\u0275\u0275viewQuery(t.TemplateRef,7),2&i){let r;t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._implicitContent=r.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[t.\u0275\u0275ProvidersFeature([{provide:V,useExisting:d}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature],ngContentSelectors:h,decls:1,vars:0,template:function(i,a){1&i&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,P,1,0,"ng-template"))},encapsulation:2}),d})();const ee={translateTab:(0,E.X$)("translateTab",[(0,E.SB)("center, void, left-origin-center, right-origin-center",(0,E.oB)({transform:"none"})),(0,E.SB)("left",(0,E.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,E.SB)("right",(0,E.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,E.eR)("* => left, * => right, left => center, right => center",(0,E.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,E.eR)("void => left-origin-center",[(0,E.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,E.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,E.eR)("void => right-origin-center",[(0,E.oB)({transform:"translate3d(100%, 0, 0)"}),(0,E.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ie=(()=>{class d extends p.Pl{constructor(i,a,r,_){super(i,a,_),this._host=r,this._centeringSub=O.w.EMPTY,this._leavingSub=O.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,A.O)(this._host._isCenterPosition(this._host._position))).subscribe(i=>{i&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject((0,t.forwardRef)(()=>re)),t.\u0275\u0275directiveInject(x.DOCUMENT))},d.\u0275dir=t.\u0275\u0275defineDirective({type:d,selectors:[["","matTabBodyHost",""]],features:[t.\u0275\u0275InheritDefinitionFeature]}),d})(),ae=(()=>{class d{constructor(i,a,r){this._elementRef=i,this._dir=a,this._dirChangeSubscription=O.w.EMPTY,this._translateTabComplete=new e.xQ,this._onCentering=new t.EventEmitter,this._beforeCentering=new t.EventEmitter,this._afterLeavingCenter=new t.EventEmitter,this._onCentered=new t.EventEmitter(!0),this.animationDuration="500ms",a&&(this._dirChangeSubscription=a.change.subscribe(_=>{this._computePositionAnimationState(_),r.markForCheck()})),this._translateTabComplete.pipe((0,b.x)((_,H)=>_.fromState===H.fromState&&_.toState===H.toState)).subscribe(_=>{this._isCenterPosition(_.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(_.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(i){this._positionIndex=i,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(i){const a=this._isCenterPosition(i.toState);this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(i){return"center"==i||"left-origin-center"==i||"right-origin-center"==i}_computePositionAnimationState(i=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==i?"left":"right":this._positionIndex>0?"ltr"==i?"right":"left":"center"}_computePositionFromOrigin(i){const a=this._getLayoutDirection();return"ltr"==a&&i<=0||"rtl"==a&&i>0?"left-origin-center":"right-origin-center"}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(w.Is,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},d.\u0275dir=t.\u0275\u0275defineDirective({type:d,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),d})(),re=(()=>{class d extends ae{constructor(i,a,r){super(i,a,r)}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(w.Is,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},d.\u0275cmp=t.\u0275\u0275defineComponent({type:d,selectors:[["mat-tab-body"]],viewQuery:function(i,a){if(1&i&&t.\u0275\u0275viewQuery(p.Pl,5),2&i){let r;t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._portalHost=r.first)}},hostAttrs:[1,"mat-tab-body"],features:[t.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(i,a){1&i&&(t.\u0275\u0275elementStart(0,"div",0,1),t.\u0275\u0275listener("@translateTab.start",function(_){return a._onTranslateTabStarted(_)})("@translateTab.done",function(_){return a._translateTabComplete.next(_)}),t.\u0275\u0275template(2,m,0,0,"ng-template",2),t.\u0275\u0275elementEnd()),2&i&&t.\u0275\u0275property("@translateTab",t.\u0275\u0275pureFunction2(3,N,a._position,t.\u0275\u0275pureFunction1(1,R,a.animationDuration)))},directives:[ie],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[ee.translateTab]}}),d})();const se=new t.InjectionToken("MAT_TABS_CONFIG"),_e=(0,C.Id)(class{});let le=(()=>
1{class d extends _e{constructor(i){super(),this.elementRef=i}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ElementRef))},d.\u0275dir=t.\u0275\u0275defineDirective({type:d,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,a){2&i&&(t.\u0275\u0275attribute("aria-disabled",!!a.disabled),t.\u0275\u0275classProp("mat-tab-disabled",a.disabled))},inputs:{disabled:"disabled"},features:[t.\u0275\u0275InheritDefinitionFeature]}),d})();const fe=(0,B.i$)({passive:!0});let Te=(()=>{class d{constructor(i,a,r,_,H,G,z){this._elementRef=i,this._changeDetectorRef=a,this._viewportRuler=r,this._dir=_,this._ngZone=H,this._platform=G,this._animationMode=z,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new e.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new e.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.EventEmitter,this.indexFocused=new t.EventEmitter,H.runOutsideAngular(()=>{(0,L.R)(i.nativeElement,"mouseleave").pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(i){i=(0,c.su)(i),this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}ngAfterViewInit(){(0,L.R)(this._previousPaginator.nativeElement,"touchstart",fe).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,L.R)(this._nextPaginator.nativeElement,"touchstart",fe).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const i=this._dir?this._dir.change:(0,Z.of)("ltr"),a=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new l.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,T.q)(1)).subscribe(r),(0,Q.T)(i,a,this._items.changes).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(r)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,D.R)(this._destroyed)).subscribe(_=>{this.indexFocused.emit(_),this._setTabFocus(_)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(i){if(!(0,y.Vb)(i))switch(i.keyCode){case y.K5:case y.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(i));break;default:this._keyManager.onKeydown(i)}}_onContentChanges(){const i=this._elementRef.nativeElement.textContent;i!==this._currentTextContent&&(this._currentTextContent=i||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(i){!this._isValidIndex(i)||this.focusIndex===i||!this._keyManager||this._keyManager.setActiveItem(i)}_isValidIndex(i){if(!this._items)return!0;const a=this._items?this._items.toArray()[i]:null;return!!a&&!a.disabled}_setTabFocus(i){if(this._showPaginationControls&&this._scrollToLabel(i),this._items&&this._items.length){this._items.toArray()[i].focus();const a=this._tabListContainer.nativeElement;a.scrollLeft="ltr"==this._getLayoutDirection()?0:a.scrollWidth-a.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const i=this.scrollDistance,a="ltr"===this._getLayoutDirection()?-i:i;this._tabList.nativeElement.style.transform=`translateX(${Math.round(a)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(i){this._scrollTo(i)}_scrollHeader(i){return this._scrollTo(this._scrollDistance+("before"==i?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(i){this._stopInterval(),this._scrollHeader(i)}_scrollToLabel(i){if(this.disablePagination)return;const a=this._items?this._items.toArray()[i]:null;if(!a)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:_,offsetWidth:H}=a.elementRef.nativeElement;let G,z;"ltr"==this._getLayoutDirection()?(G=_,z=G+H):(z=this._tabListInner.nativeElement.offsetWidth-_,G=z-H);const ge=this.scrollDistance,ke=this.scrollDistance+r;G<ge?this.scrollDistance-=ge-G+60:z>ke&&(this.scrollDistance+=z-ke+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const i=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;i||(this.scrollDistance=0),i!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=i}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const i=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,a=i?i.elementRef.nativeElement:null;a?this._inkBar.alignToElement(a):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(i,a){a&&null!=a.button&&0!==a.button||(this._stopInterval(),(0,X.H)(650,100).pipe((0,D.R)((0,Q.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:_}=this._scrollHeader(i);(0===_||_>=r)&&this._stopInterval()}))}_scrollTo(i){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const a=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(a,i)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:a,distance:this._scrollDistance}}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(v.rL),t.\u0275\u0275directiveInject(w.Is,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(B.t4),t.\u0275\u0275directiveInject(s.Qb,8))},d.\u0275dir=t.\u0275\u0275defineDirective({type:d,inputs:{disablePagination:"disablePagination"}}),d})(),Ie=(()=>{class d extends Te{constructor(i,a,r,_,H,G,z){super(i,a,r,_,H,G,z),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=(0,c.Ig)(i)}_itemSelected(i){i.preventDefault()}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(v.rL),t.\u0275\u0275directiveInject(w.Is,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(B.t4),t.\u0275\u0275directiveInject(s.Qb,8))},d.\u0275dir=t.\u0275\u0275defineDirective({type:d,inputs:{disableRipple:"disableRipple"},features:[t.\u0275\u0275InheritDefinitionFeature]}),d})(),Ce=(()=>{class d extends Ie{constructor(i,a,r,_,H,G,z){super(i,a,r,_,H,G,z)}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(v.rL),t.\u0275\u0275directiveInject(w.Is,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(B.t4),t.\u0275\u0275directiveInject(s.Qb,8))},d.\u0275cmp=t.\u0275\u0275defineComponent({type:d,selectors:[["mat-tab-header"]],contentQueries:function(i,a,r){if(1&i&&t.\u0275\u0275contentQuery(r,le,4),2&i){let _;t.\u0275\u0275queryRefresh(_=t.\u0275\u0275loadQuery())&&(a._items=_)}},viewQuery:function(i,a){if(1&i&&(t.\u0275\u0275viewQuery(ne,7),t.\u0275\u0275viewQuery(S,7),t.\u0275\u0275viewQuery(K,7),t.\u0275\u0275viewQuery(g,7),t.\u0275\u0275viewQuery(F,5),t.\u0275\u0275viewQuery(W,5)),2&i){let r;t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._inkBar=r.first),t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._tabListContainer=r.first),t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._tabList=r.first),t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._tabListInner=r.first),t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._nextPaginator=r.first),t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._previousPaginator=r.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(i,a){2&i&&t.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",a._showPaginationControls)("mat-tab-header-rtl","rtl"==a._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:h,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(i,a){1&i&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"button",0,1),t.\u0275\u0275listener("click",function(){return a._handlePaginatorClick("before")})("mousedown",function(_){return a._handlePaginatorPress("before",_)})("touchend",function(){return a._stopInterval()}),t.\u0275\u0275element(2,"div",2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"div",3,4),t.\u0275\u0275listener("keydown",function(_){return a._handleKeydown(_)}),t.\u0275\u0275elementStart(5,"div",5,6),t.\u0275\u0275listener("cdkObserveContent",function(){return a._onContentChanges()}),t.\u0275\u0275elementStart(7,"div",7,8),t.\u0275\u0275projection(9),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(10,"mat-ink-bar"),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(11,"button",9,10),t.\u0275\u0275listener("mousedown",function(_){return a._handlePaginatorPress("after",_)})("click",function(){return a._handlePaginatorClick("after")})("touchend",function(){return a._stopInterval()}),t.\u0275\u0275element(13,"div",2),t.\u0275\u0275elementEnd()),2&i&&(t.\u0275\u0275classProp("mat-tab-header-pagination-disabled",a._disableScrollBefore),t.\u0275\u0275property("matRippleDisabled",a._disableScrollBefore||a.disableRipple)("disabled",a._disableScrollBefore||null),t.\u0275\u0275advance(5),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===a._animationMode),t.\u0275\u0275advance(6),t.\u0275\u0275classProp("mat-tab-header-pagination-disabled",a._disableScrollAfter),t.\u0275\u0275property("matRippleDisabled",a._disableScrollAfter||a.disableRipple)("disabled",a._disableScrollAfter||null))},directives:[C.wG,n.wD,ne],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;
1cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;
1cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),d})(),Me=0;class Ee{}const De=(0,C.pj)((0,C.Kr)(class{constructor(d){this._elementRef=d}}),"primary");let Re=(()=>{class d extends De{constructor(i,a,r,_){var H;super(i),this._changeDetectorRef=a,this._animationMode=_,this._tabs=new t.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=O.w.EMPTY,this._tabLabelSubscription=O.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new t.EventEmitter,this.focusChange=new t.EventEmitter,this.animationDone=new t.EventEmitter,this.selectedTabChange=new t.EventEmitter(!0),this._groupId=Me++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=null!==(H=null==r?void 0:r.contentTabIndex)&&void 0!==H?H:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(i){this._dynamicHeight=(0,c.Ig)(i)}get selectedIndex(){return this._selectedIndex}set selectedIndex(i){this._indexToSelect=(0,c.su)(i,null)}get animationDuration(){return this._animationDuration}set animationDuration(i){this._animationDuration=/^\d+$/.test(i+"")?i+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(i){this._contentTabIndex=(0,c.su)(i,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(i){const a=this._elementRef.nativeElement;a.classList.remove(`mat-background-${this.backgroundColor}`),i&&a.classList.add(`mat-background-${i}`),this._backgroundColor=i}ngAfterContentChecked(){const i=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=i){const a=null==this._selectedIndex;if(!a){this.selectedTabChange.emit(this._createChangeEvent(i));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>
1{this._tabs.forEach((r,_)=>r.isActive=_===i),a||(this.selectedIndexChange.emit(i),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((a,r)=>{a.position=r-i,null!=this._selectedIndex&&0==a.position&&!a.origin&&(a.origin=i-this._selectedIndex)}),this._selectedIndex!==i&&(this._selectedIndex=i,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const i=this._clampTabIndex(this._indexToSelect);if(i===this._selectedIndex){const a=this._tabs.toArray();let r;for(let _=0;_<a.length;_++)if(a[_].isActive){this._indexToSelect=this._selectedIndex=_,this._lastFocusedTabIndex=null,r=a[_];break}!r&&a[i]&&Promise.resolve().then(()=>{a[i].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(i))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,A.O)(this._allTabs)).subscribe(i=>{this._tabs.reset(i.filter(a=>a._closestTabGroup===this||!a._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(i){const a=this._tabHeader;a&&(a.focusIndex=i)}_focusChanged(i){this._lastFocusedTabIndex=i,this.focusChange.emit(this._createChangeEvent(i))}_createChangeEvent(i){const a=new Ee;return a.index=i,this._tabs&&this._tabs.length&&(a.tab=this._tabs.toArray()[i]),a}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Q.T)(...this._tabs.map(i=>i._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(i){return Math.min(this._tabs.length-1,Math.max(i||0,0))}_getTabLabelId(i){return`mat-tab-label-${this._groupId}-${i}`}_getTabContentId(i){return`mat-tab-content-${this._groupId}-${i}`}_setTabBodyWrapperHeight(i){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const a=this._tabBodyWrapper.nativeElement;a.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(a.style.height=i+"px")}_removeTabBodyWrapperHeight(){const i=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=i.clientHeight,i.style.height="",this.animationDone.emit()}_handleClick(i,a,r){i.disabled||(this.selectedIndex=a.focusIndex=r)}_getTabIndex(i,a){var r;return i.disabled?null:a===(null!==(r=this._lastFocusedTabIndex)&&void 0!==r?r:this.selectedIndex)?0:-1}_tabFocusChanged(i,a){i&&"mouse"!==i&&"touch"!==i&&(this._tabHeader.focusIndex=a)}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(se,8),t.\u0275\u0275directiveInject(s.Qb,8))},d.\u0275dir=t.\u0275\u0275defineDirective({type:d,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[t.\u0275\u0275InheritDefinitionFeature]}),d})(),Se=(()=>{class d extends Re{constructor(i,a,r,_){super(i,a,r,_)}}return d.\u0275fac=function(i){return new(i||d)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(se,8),t.\u0275\u0275directiveInject(s.Qb,8))},d.\u0275cmp=t.\u0275\u0275defineComponent({type:d,selectors:[["mat-tab-group"]],contentQueries:function(i,a,r){if(1&i&&t.\u0275\u0275contentQuery(r,U,5),2&i){let _;t.\u0275\u0275queryRefresh(_=t.\u0275\u0275loadQuery())&&(a._allTabs=_)}},viewQuery:function(i,a){if(1&i&&(t.\u0275\u0275viewQuery(Y,5),t.\u0275\u0275viewQuery(te,5)),2&i){let r;t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._tabBodyWrapper=r.first),t.\u0275\u0275queryRefresh(r=t.\u0275\u0275loadQuery())&&(a._tabHeader=r.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(i,a){2&i&&t.\u0275\u0275classProp("mat-tab-group-dynamic-height",a.dynamicHeight)("mat-tab-group-inverted-header","below"===a.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[t.\u0275\u0275ProvidersFeature([{provide:M,useExisting:d}]),t.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(i,a){1&i&&(t.\u0275\u0275elementStart(0,"mat-tab-header",0,1),t.\u0275\u0275listener("indexFocused",function(_){return a._focusChanged(_)})("selectFocusedIndex",function(_){return a.selectedIndex=_}),t.\u0275\u0275template(2,de,5,15,"div",2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"div",3,4),t.\u0275\u0275template(5,he,1,10,"mat-tab-body",5),t.\u0275\u0275elementEnd()),2&i&&(t.\u0275\u0275property("selectedIndex",a.selectedIndex||0)("disableRipple",a.disableRipple)("disablePagination",a.disablePagination),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngForOf",a._tabs),t.\u0275\u0275advance(1),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===a._animationMode),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngForOf",a._tabs))},directives:[Ce,re,x.NgForOf,le,C.wG,l.kH,x.NgClass,x.NgIf,p.Pl],styles:[".mat-tab-group{dis
1play:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),d})(),Ae=(()=>{class d{}return d.\u0275fac=function(i){return new(i||d)},d.\u0275mod=t.\u0275\u0275defineNgModule({type:d}),d.\u0275inj=t.\u0275\u0275defineInjector({imports:[[x.CommonModule,C.BQ,p.eL,C.si,n.Q8,l.rt],C.BQ]}),d})()},5861:($,j,o)=>{function l(p,x,t,C,s,T,A){try{var b=p[T](A),D=b.value}catch(e){return void t(e)}b.done?x(D):Promise.resolve(D).then(C,s)}function n(p){return function(){var x=this,t=arguments;return new Promise(function(C,s){var T=p.apply(x,t);function A(D){l(T,C,s,A,b,"next",D)}function b(D){l(T,C,s,A,b,"throw",D)}A(void 0)})}}o.d(j,{Z:()=>n})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.